removed jquery and jqueryUI from webinterface
Bernd Wurst

Bernd Wurst commited on 2023-04-29 11:47:42
Zeige 33 geänderte Dateien mit 23 Einfügungen und 21749 Löschungen.

... ...
@@ -35,6 +35,5 @@ $config['mime_type'] = 'text/html';
35 35
 
36 36
 $config['session_name'] = 'CONFIG_SCHOKOKEKS_ORG';
37 37
 $config['theme'] = 'default';
38
-$config['jquery_ui_path'] = '/external/jquery';
39 38
 
40 39
 ini_set('display_errors', 'On');
... ...
@@ -1,2 +0,0 @@
1
-/*! jQuery v3.6.4 | (c) OpenJS Foundation and other contributors | jquery.org/license */
2
-!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,y=n.hasOwnProperty,a=y.toString,l=a.call(Object),v={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.4",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}S.fn=S.prototype={jquery:f,constructor:S,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=S.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return S.each(this,e)},map:function(n){return this.pushStack(S.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(S.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(S.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:t.sort,splice:t.splice},S.extend=S.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||m(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(S.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||S.isPlainObject(n)?n:{},i=!1,a[t]=S.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},S.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==o.call(e))&&(!(t=r(e))||"function"==typeof(n=y.call(t,"constructor")&&t.constructor)&&a.call(n)===l)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){b(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(p(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(p(Object(e))?S.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:i.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(p(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return g(a)},guid:1,support:v}),"function"==typeof Symbol&&(S.fn[Symbol.iterator]=t[Symbol.iterator]),S.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var d=function(n){var e,d,b,o,i,h,f,g,w,u,l,T,C,a,E,y,s,c,v,S="sizzle"+1*new Date,p=n.document,k=0,r=0,m=ue(),x=ue(),A=ue(),N=ue(),j=function(e,t){return e===t&&(l=!0),0},D={}.hasOwnProperty,t=[],q=t.pop,L=t.push,H=t.push,O=t.slice,P=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",I="(?:\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",W="\\["+M+"*("+I+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+I+"))|)"+M+"*\\]",F=":("+I+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+W+")*)|.*)\\)|)",$=new RegExp(M+"+","g"),B=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),_=new RegExp("^"+M+"*,"+M+"*"),z=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&v(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!y||!y.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ve(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ye(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ve(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.cssHas=ce(function(){try{return C.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],y=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="<a id='"+S+"'></a><select id='"+S+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||y.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||y.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||y.push(".#.+[+~]"),e.querySelectorAll("\\\f"),y.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&y.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),d.cssHas||y.push(":has"),y=y.length&&new RegExp(y.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),v=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType&&e.documentElement||e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&v(p,e)?-1:t==C||t.ownerDocument==p&&v(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!y||!y.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0<se(t,C,null,[e]).length},se.contains=function(e,t){return(e.ownerDocument||e)!=C&&T(e),v(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=C&&T(e);var n=b.attrHandle[t.toLowerCase()],r=n&&D.call(b.attrHandle,t.toLowerCase())?n(e,t,!E):void 0;return void 0!==r?r:d.attributes||!E?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},se.escape=function(e){return(e+"").replace(re,ie)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,n=[],r=0,i=0;if(l=!d.detectDuplicates,u=!d.sortStable&&e.slice(0),e.sort(j),l){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)e.splice(n[r],1)}return u=null,e},o=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else while(t=e[r++])n+=o(t);return n},(b=se.selectors={cacheLength:50,createPseudo:le,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace($," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(h,e,t,g,y){var v="nth"!==h.slice(0,3),m="last"!==h.slice(-4),x="of-type"===e;return 1===g&&0===y?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u,l=v!==m?"nextSibling":"previousSibling",c=e.parentNode,f=x&&e.nodeName.toLowerCase(),p=!n&&!x,d=!1;if(c){if(v){while(l){a=e;while(a=a[l])if(x?a.nodeName.toLowerCase()===f:1===a.nodeType)return!1;u=l="only"===h&&!u&&"nextSibling"}return!0}if(u=[m?c.firstChild:c.lastChild],m&&p){d=(s=(r=(i=(o=(a=c)[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===k&&r[1])&&r[2],a=s&&c.childNodes[s];while(a=++s&&a&&a[l]||(d=s=0)||u.pop())if(1===a.nodeType&&++d&&a===e){i[h]=[k,s,d];break}}else if(p&&(d=s=(r=(i=(o=(a=e)[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===k&&r[1]),!1===d)while(a=++s&&a&&a[l]||(d=s=0)||u.pop())if((x?a.nodeName.toLowerCase()===f:1===a.nodeType)&&++d&&(p&&((i=(o=a[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]=[k,d]),a===e))break;return(d-=y)===g||d%g==0&&0<=d/g}}},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return a[S]?a(o):1<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?le(function(e,t){var n,r=a(e,o),i=r.length;while(i--)e[n=P(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:le(function(e){var r=[],i=[],s=f(e.replace(B,"$1"));return s[S]?le(function(e,t,n,r){var i,o=s(e,null,r,[]),a=e.length;while(a--)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:le(function(t){return function(e){return 0<se(t,e).length}}),contains:le(function(t){return t=t.replace(te,ne),function(e){return-1<(e.textContent||o(e)).indexOf(t)}}),lang:le(function(n){return V.test(n||"")||se.error("unsupported lang: "+n),n=n.replace(te,ne).toLowerCase(),function(e){var t;do{if(t=E?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===a},focus:function(e){return e===C.activeElement&&(!C.hasFocus||C.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ye(function(){return[0]}),last:ye(function(e,t){return[t-1]}),eq:ye(function(e,t,n){return[n<0?n+t:n]}),even:ye(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:ye(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:ye(function(e,t,n){for(var r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:ye(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=de(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=he(e);function me(){}function xe(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function be(s,e,t){var u=e.dir,l=e.next,c=l||u,f=t&&"parentNode"===c,p=r++;return e.first?function(e,t,n){while(e=e[u])if(1===e.nodeType||f)return s(e,t,n);return!1}:function(e,t,n){var r,i,o,a=[k,p];if(n){while(e=e[u])if((1===e.nodeType||f)&&s(e,t,n))return!0}else while(e=e[u])if(1===e.nodeType||f)if(i=(o=e[S]||(e[S]={}))[e.uniqueID]||(o[e.uniqueID]={}),l&&l===e.nodeName.toLowerCase())e=e[u]||e;else{if((r=i[c])&&r[0]===k&&r[1]===p)return a[2]=r[2];if((i[c]=a)[2]=s(e,t,n))return!0}return!1}}function we(i){return 1<i.length?function(e,t,n){var r=i.length;while(r--)if(!i[r](e,t,n))return!1;return!0}:i[0]}function Te(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function Ce(d,h,g,y,v,e){return y&&!y[S]&&(y=Ce(y)),v&&!v[S]&&(v=Ce(v,e)),le(function(e,t,n,r){var i,o,a,s=[],u=[],l=t.length,c=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)se(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),f=!d||!e&&h?c:Te(c,s,d,n,r),p=g?v||(e?d:l||y)?[]:t:f;if(g&&g(f,p,n,r),y){i=Te(p,u),y(i,[],n,r),o=i.length;while(o--)(a=i[o])&&(p[u[o]]=!(f[u[o]]=a))}if(e){if(v||d){if(v){i=[],o=p.length;while(o--)(a=p[o])&&i.push(f[o]=a);v(null,p=[],i,r)}o=p.length;while(o--)(a=p[o])&&-1<(i=v?P(e,a):s[o])&&(e[i]=!(t[i]=a))}}else p=Te(p===t?p.splice(l,p.length):p),v?v(null,t,p,r):H.apply(t,p)})}function Ee(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,u=be(function(e){return e===i},a,!0),l=be(function(e){return-1<P(i,e)},a,!0),c=[function(e,t,n){var r=!o&&(n||t!==w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=b.relative[e[s].type])c=[be(we(c),t)];else{if((t=b.filter[e[s].type].apply(null,e[s].matches))[S]){for(n=++s;n<r;n++)if(b.relative[e[n].type])break;return Ce(1<s&&we(c),1<s&&xe(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(B,"$1"),t,s<n&&Ee(e.slice(s,n)),n<r&&Ee(e=e.slice(n)),n<r&&xe(e))}c.push(t)}return we(c)}return me.prototype=b.filters=b.pseudos,b.setFilters=new me,h=se.tokenize=function(e,t){var n,r,i,o,a,s,u,l=x[e+" "];if(l)return t?0:l.slice(0);a=e,s=[],u=b.preFilter;while(a){for(o in n&&!(r=_.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=z.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(B," ")}),a=a.slice(n.length)),b.filter)!(r=G[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?se.error(e):x(e,s).slice(0)},f=se.compile=function(e,t){var n,y,v,m,x,r,i=[],o=[],a=A[e+" "];if(!a){t||(t=h(e)),n=t.length;while(n--)(a=Ee(t[n]))[S]?i.push(a):o.push(a);(a=A(e,(y=o,m=0<(v=i).length,x=0<y.length,r=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=k+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t==C||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){a=0,t||o.ownerDocument==C||(T(o),n=!E);while(s=y[a++])if(s(o,t||C,n)){r.push(o);break}i&&(k=h)}m&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,m&&l!==u){a=0;while(s=v[a++])s(c,f,t,n);if(e){if(0<u)while(l--)c[l]||f[l]||(f[l]=q.call(r));f=Te(f)}H.apply(r,f),i&&!e&&0<f.length&&1<u+v.length&&se.uniqueSort(r)}return i&&(k=h,w=p),c},m?le(r):r))).selector=e}return a},g=se.select=function(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&h(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&E&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(te,ne),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}i=G.needsContext.test(e)?0:o.length;while(i--){if(a=o[i],b.relative[s=a.type])break;if((u=b.find[s])&&(r=u(a.matches[0].replace(te,ne),ee.test(o[0].type)&&ve(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&xe(o)))return H.apply(n,r),n;break}}}return(l||f(e,c))(r,t,!E,n,!t||ee.test(e)&&ve(t.parentNode)||t),n},d.sortStable=S.split("").sort(j).join("")===S,d.detectDuplicates=!!l,T(),d.sortDetached=ce(function(e){return 1&e.compareDocumentPosition(C.createElement("fieldset"))}),ce(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||fe("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),d.attributes&&ce(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||fe("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ce(function(e){return null==e.getAttribute("disabled")})||fe(R,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),se}(C);S.find=d,S.expr=d.selectors,S.expr[":"]=S.expr.pseudos,S.uniqueSort=S.unique=d.uniqueSort,S.text=d.getText,S.isXMLDoc=d.isXML,S.contains=d.contains,S.escapeSelector=d.escape;var h=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&S(e).is(n))break;r.push(e)}return r},T=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},k=S.expr.match.needsContext;function A(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var N=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1<i.call(n,e)!==r}):S.filter(n,e,r)}S.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?S.find.matchesSelector(r,e)?[r]:[]:S.find.matches(e,S.grep(t,function(e){return 1===e.nodeType}))},S.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(S(e).filter(function(){for(t=0;t<r;t++)if(S.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)S.find(e,i[t],n);return 1<r?S.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&&k.test(e)?S(e):e||[],!1).length}});var D,q=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(S.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&S(e);if(!k.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&S.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?S.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?i.call(S(e),this[0]):i.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),S.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return h(e,"parentNode")},parentsUntil:function(e,t,n){return h(e,"parentNode",n)},next:function(e){return O(e,"nextSibling")},prev:function(e){return O(e,"previousSibling")},nextAll:function(e){return h(e,"nextSibling")},prevAll:function(e){return h(e,"previousSibling")},nextUntil:function(e,t,n){return h(e,"nextSibling",n)},prevUntil:function(e,t,n){return h(e,"previousSibling",n)},siblings:function(e){return T((e.parentNode||{}).firstChild,e)},children:function(e){return T(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(A(e,"template")&&(e=e.content||e),S.merge([],e.childNodes))}},function(r,i){S.fn[r]=function(e,t){var n=S.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=S.filter(t,n)),1<this.length&&(H[r]||S.uniqueSort(n),L.test(r)&&n.reverse()),this.pushStack(n)}});var P=/[^\x20\t\r\n\f]+/g;function R(e){return e}function M(e){throw e}function I(e,t,n,r){var i;try{e&&m(i=e.promise)?i.call(e).done(t).fail(n):e&&m(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}S.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},S.each(e.match(P)||[],function(e,t){n[t]=!0}),n):S.extend({},r);var i,t,o,a,s=[],u=[],l=-1,c=function(){for(a=a||r.once,o=i=!0;u.length;l=-1){t=u.shift();while(++l<s.length)!1===s[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=s.length,t=!1)}r.memory||(t=!1),i=!1,a&&(s=t?[]:"")},f={add:function(){return s&&(t&&!i&&(l=s.length-1,u.push(t)),function n(e){S.each(e,function(e,t){m(t)?r.unique&&f.has(t)||s.push(t):t&&t.length&&"string"!==w(t)&&n(t)})}(arguments),t&&!i&&c()),this},remove:function(){return S.each(arguments,function(e,t){var n;while(-1<(n=S.inArray(t,s,n)))s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<S.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=u=[],s=t="",this},disabled:function(){return!s},lock:function(){return a=u=[],t||i||(s=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),i||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},S.extend({Deferred:function(e){var o=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return S.Deferred(function(r){S.each(o,function(e,t){var n=m(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&m(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function l(i,o,a,s){return function(){var n=this,r=arguments,e=function(){var e,t;if(!(i<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,m(t)?s?t.call(e,l(u,o,R,s),l(u,o,M,s)):(u++,t.call(e,l(u,o,R,s),l(u,o,M,s),l(u,o,R,o.notifyWith))):(a!==R&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}},t=s?e:function(){try{e()}catch(e){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(e,t.stackTrace),u<=i+1&&(a!==M&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(S.Deferred.getStackHook&&(t.stackTrace=S.Deferred.getStackHook()),C.setTimeout(t))}}return S.Deferred(function(e){o[0][3].add(l(0,e,m(r)?r:R,e.notifyWith)),o[1][3].add(l(0,e,m(t)?t:R)),o[2][3].add(l(0,e,m(n)?n:M))}).promise()},promise:function(e){return null!=e?S.extend(e,a):a}},s={};return S.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,r=Array(t),i=s.call(arguments),o=S.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?s.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(I(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||m(i[t]&&i[t].then)))return o.then();while(t--)I(i[t],a(t),o.reject);return o.promise()}});var W=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(e,t){C.console&&C.console.warn&&e&&W.test(e.name)&&C.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},S.readyException=function(e){C.setTimeout(function(){throw e})};var F=S.Deferred();function $(){E.removeEventListener("DOMContentLoaded",$),C.removeEventListener("load",$),S.ready()}S.fn.ready=function(e){return F.then(e)["catch"](function(e){S.readyException(e)}),this},S.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--S.readyWait:S.isReady)||(S.isReady=!0)!==e&&0<--S.readyWait||F.resolveWith(E,[S])}}),S.ready.then=F.then,"complete"===E.readyState||"loading"!==E.readyState&&!E.documentElement.doScroll?C.setTimeout(S.ready):(E.addEventListener("DOMContentLoaded",$),C.addEventListener("load",$));var B=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===w(n))for(s in i=!0,n)B(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,m(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(S(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},_=/^-ms-/,z=/-([a-z])/g;function U(e,t){return t.toUpperCase()}function X(e){return e.replace(_,"ms-").replace(z,U)}var V=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function G(){this.expando=S.expando+G.uid++}G.uid=1,G.prototype={cache:function(e){var t=e[this.expando];return t||(t={},V(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[X(t)]=n;else for(r in t)i[X(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][X(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(X):(t=X(t))in r?[t]:t.match(P)||[]).length;while(n--)delete r[t[n]]}(void 0===t||S.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!S.isEmptyObject(t)}};var Y=new G,Q=new G,J=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,K=/[A-Z]/g;function Z(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(K,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:J.test(i)?JSON.parse(i):i)}catch(e){}Q.set(e,t,n)}else n=void 0;return n}S.extend({hasData:function(e){return Q.hasData(e)||Y.hasData(e)},data:function(e,t,n){return Q.access(e,t,n)},removeData:function(e,t){Q.remove(e,t)},_data:function(e,t,n){return Y.access(e,t,n)},_removeData:function(e,t){Y.remove(e,t)}}),S.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(void 0===n){if(this.length&&(i=Q.get(o),1===o.nodeType&&!Y.get(o,"hasDataAttrs"))){t=a.length;while(t--)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=X(r.slice(5)),Z(o,r,i[r]));Y.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof n?this.each(function(){Q.set(this,n)}):B(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=Q.get(o,n))?t:void 0!==(t=Z(o,n))?t:void 0;this.each(function(){Q.set(this,n,e)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){Q.remove(this,e)})}}),S.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Y.get(e,t),n&&(!r||Array.isArray(n)?r=Y.access(e,t,S.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=S.queue(e,t),r=n.length,i=n.shift(),o=S._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){S.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Y.get(e,n)||Y.access(e,n,{empty:S.Callbacks("once memory").add(function(){Y.remove(e,[t+"queue",n])})})}}),S.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?S.queue(this[0],t):void 0===n?this:this.each(function(){var e=S.queue(this,t,n);S._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&S.dequeue(this,t)})},dequeue:function(e){return this.each(function(){S.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=S.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=Y.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var ee=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,te=new RegExp("^(?:([+-])=|)("+ee+")([a-z%]*)$","i"),ne=["Top","Right","Bottom","Left"],re=E.documentElement,ie=function(e){return S.contains(e.ownerDocument,e)},oe={composed:!0};re.getRootNode&&(ie=function(e){return S.contains(e.ownerDocument,e)||e.getRootNode(oe)===e.ownerDocument});var ae=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ie(e)&&"none"===S.css(e,"display")};function se(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return S.css(e,t,"")},u=s(),l=n&&n[3]||(S.cssNumber[t]?"":"px"),c=e.nodeType&&(S.cssNumber[t]||"px"!==l&&+u)&&te.exec(S.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)S.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,S.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ue={};function le(e,t){for(var n,r,i,o,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=Y.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&ae(r)&&(l[c]=(u=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(u=ue[s])||(o=a.body.appendChild(a.createElement(s)),u=S.css(o,"display"),o.parentNode.removeChild(o),"none"===u&&(u="block"),ue[s]=u)))):"none"!==n&&(l[c]="none",Y.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}S.fn.extend({show:function(){return le(this,!0)},hide:function(){return le(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ae(this)?S(this).show():S(this).hide()})}});var ce,fe,pe=/^(?:checkbox|radio)$/i,de=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),v.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="<option></option>",v.option=!!ce.lastChild;var ge={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ye(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;n<r;n++)Y.set(e[n],"globalEval",!t||Y.get(t[n],"globalEval"))}ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td,v.option||(ge.optgroup=ge.option=[1,"<select multiple='multiple'>","</select>"]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===w(o))S.merge(p,o.nodeType?[o]:o);else if(me.test(o)){a=a||f.appendChild(t.createElement("div")),s=(de.exec(o)||["",""])[1].toLowerCase(),u=ge[s]||ge._default,a.innerHTML=u[1]+S.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;S.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&-1<S.inArray(o,r))i&&i.push(o);else if(l=ie(o),a=ye(f.appendChild(o),"script"),l&&ve(a),n){c=0;while(o=a[c++])he.test(o.type||"")&&n.push(o)}return f}var be=/^([^.]*)(?:\.(.+)|)/;function we(){return!0}function Te(){return!1}function Ce(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ee(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ee(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Te;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return S().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=S.guid++)),e.each(function(){S.event.add(this,t,i,r,n)})}function Se(e,i,o){o?(Y.set(e,i,!1),S.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Y.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(S.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Y.set(this,i,r),t=o(this,i),this[i](),r!==(n=Y.get(this,i))||t?Y.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n&&n.value}else r.length&&(Y.set(this,i,{value:S.event.trigger(S.extend(r[0],S.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Y.get(e,i)&&S.event.add(e,i,we)}S.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=Y.get(t);if(V(t)){n.handler&&(n=(o=n).handler,i=o.selector),i&&S.find.matchesSelector(re,i),n.guid||(n.guid=S.guid++),(u=y.events)||(u=y.events=Object.create(null)),(a=y.handle)||(a=y.handle=function(e){return"undefined"!=typeof S&&S.event.triggered!==e.type?S.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(P)||[""]).length;while(l--)d=g=(s=be.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=S.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=S.event.special[d]||{},c=S.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&S.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),S.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=Y.hasData(e)&&Y.get(e);if(y&&(u=y.events)){l=(t=(t||"").match(P)||[""]).length;while(l--)if(d=g=(s=be.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=S.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,y.handle)||S.removeEvent(e,d,y.handle),delete u[d])}else for(d in u)S.event.remove(e,d+t[l],n,r,!0);S.isEmptyObject(u)&&Y.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=S.event.fix(e),l=(Y.get(this,"events")||Object.create(null))[u.type]||[],c=S.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){a=S.event.handlers.call(this,u,l),t=0;while((i=a[t++])&&!u.isPropagationStopped()){u.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!u.isImmediatePropagationStopped())u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((S.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<S(i,this).index(l):S.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(S.Event.prototype,t,{enumerable:!0,configurable:!0,get:m(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[S.expando]?e:new S.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return pe.test(t.type)&&t.click&&A(t,"input")&&Se(t,"click",we),!1},trigger:function(e){var t=this||e;return pe.test(t.type)&&t.click&&A(t,"input")&&Se(t,"click"),!0},_default:function(e){var t=e.target;return pe.test(t.type)&&t.click&&A(t,"input")&&Y.get(t,"click")||A(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},S.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},S.Event=function(e,t){if(!(this instanceof S.Event))return new S.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?we:Te,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&S.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[S.expando]=!0},S.Event.prototype={constructor:S.Event,isDefaultPrevented:Te,isPropagationStopped:Te,isImmediatePropagationStopped:Te,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=we,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=we,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=we,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},S.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},S.event.addProp),S.each({focus:"focusin",blur:"focusout"},function(t,e){S.event.special[t]={setup:function(){return Se(this,t,Ce),!1},trigger:function(){return Se(this,t),!0},_default:function(e){return Y.get(e.target,t)},delegateType:e}}),S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){S.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||S.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),S.fn.extend({on:function(e,t,n,r){return Ee(this,e,t,n,r)},one:function(e,t,n,r){return Ee(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,S(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Te),this.each(function(){S.event.remove(this,e,n,t)})}});var ke=/<script|<style|<link/i,Ae=/checked\s*(?:[^=]|=\s*.checked.)/i,Ne=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)S.event.add(t,i,s[i][n]);Q.hasData(e)&&(o=Q.access(e),a=S.extend({},o),Q.set(t,a))}}function He(n,r,i,o){r=g(r);var e,t,a,s,u,l,c=0,f=n.length,p=f-1,d=r[0],h=m(d);if(h||1<f&&"string"==typeof d&&!v.checkClone&&Ae.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),He(t,r,i,o)});if(f&&(t=(e=xe(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=S.map(ye(e,"script"),De)).length;c<f;c++)u=e,c!==p&&(u=S.clone(u,!0,!0),s&&S.merge(a,ye(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,S.map(a,qe),c=0;c<s;c++)u=a[c],he.test(u.type||"")&&!Y.access(u,"globalEval")&&S.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?S._evalUrl&&!u.noModule&&S._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):b(u.textContent.replace(Ne,""),u,l))}return n}function Oe(e,t,n){for(var r,i=t?S.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||S.cleanData(ye(r)),r.parentNode&&(n&&ie(r)&&ve(ye(r,"script")),r.parentNode.removeChild(r));return e}S.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=ie(e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||S.isXMLDoc(e)))for(a=ye(c),r=0,i=(o=ye(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&pe.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||ye(e),a=a||ye(c),r=0,i=o.length;r<i;r++)Le(o[r],a[r]);else Le(e,c);return 0<(a=ye(c,"script")).length&&ve(a,!f&&ye(e,"script")),c},cleanData:function(e){for(var t,n,r,i=S.event.special,o=0;void 0!==(n=e[o]);o++)if(V(n)){if(t=n[Y.expando]){if(t.events)for(r in t.events)i[r]?S.event.remove(n,r):S.removeEvent(n,r,t.handle);n[Y.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),S.fn.extend({detach:function(e){return Oe(this,e,!0)},remove:function(e){return Oe(this,e)},text:function(e){return B(this,function(e){return void 0===e?S.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return He(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||je(this,e).appendChild(e)})},prepend:function(){return He(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=je(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return He(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return He(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(S.cleanData(ye(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return S.clone(this,e,t)})},html:function(e){return B(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ke.test(e)&&!ge[(de.exec(e)||["",""])[1].toLowerCase()]){e=S.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(S.cleanData(ye(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return He(this,arguments,function(e){var t=this.parentNode;S.inArray(this,n)<0&&(S.cleanData(ye(this)),t&&t.replaceChild(e,this))},n)}}),S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){S.fn[e]=function(e){for(var t,n=[],r=S(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),S(r[o])[a](t),u.apply(n,t.get());return this.pushStack(n)}});var Pe=new RegExp("^("+ee+")(?!px)[a-z%]+$","i"),Re=/^--/,Me=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=C),t.getComputedStyle(e)},Ie=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},We=new RegExp(ne.join("|"),"i"),Fe="[\\x20\\t\\r\\n\\f]",$e=new RegExp("^"+Fe+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Fe+"+$","g");function Be(e,t,n){var r,i,o,a,s=Re.test(t),u=e.style;return(n=n||Me(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace($e,"$1")||void 0),""!==a||ie(e)||(a=S.style(e,t)),!v.pixelBoxStyles()&&Pe.test(a)&&We.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=r,u.minWidth=i,u.maxWidth=o)),void 0!==a?a+"":a}function _e(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",re.appendChild(u).appendChild(l);var e=C.getComputedStyle(l);n="1%"!==e.top,s=12===t(e.marginLeft),l.style.right="60%",o=36===t(e.right),r=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),re.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,o,a,s,u=E.createElement("div"),l=E.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===l.style.backgroundClip,S.extend(v,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,r;return null==a&&(e=E.createElement("table"),t=E.createElement("tr"),n=E.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",re.appendChild(e).appendChild(t).appendChild(n),r=C.getComputedStyle(t),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,re.removeChild(e)),a}}))}();var ze=["Webkit","Moz","ms"],Ue=E.createElement("div").style,Xe={};function Ve(e){var t=S.cssProps[e]||Xe[e];return t||(e in Ue?e:Xe[e]=function(e){var t=e[0].toUpperCase()+e.slice(1),n=ze.length;while(n--)if((e=ze[n]+t)in Ue)return e}(e)||e)}var Ge=/^(none|table(?!-c[ea]).+)/,Ye={position:"absolute",visibility:"hidden",display:"block"},Qe={letterSpacing:"0",fontWeight:"400"};function Je(e,t,n){var r=te.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Ke(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=S.css(e,n+ne[a],!0,i)),r?("content"===n&&(u-=S.css(e,"padding"+ne[a],!0,i)),"margin"!==n&&(u-=S.css(e,"border"+ne[a]+"Width",!0,i))):(u+=S.css(e,"padding"+ne[a],!0,i),"padding"!==n?u+=S.css(e,"border"+ne[a]+"Width",!0,i):s+=S.css(e,"border"+ne[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u}function Ze(e,t,n){var r=Me(e),i=(!v.boxSizingReliable()||n)&&"border-box"===S.css(e,"boxSizing",!1,r),o=i,a=Be(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Pe.test(a)){if(!n)return a;a="auto"}return(!v.boxSizingReliable()&&i||!v.reliableTrDimensions()&&A(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===S.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===S.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+Ke(e,t,n||(i?"border":"content"),o,r,a)+"px"}function et(e,t,n,r,i){return new et.prototype.init(e,t,n,r,i)}S.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Be(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=X(t),u=Re.test(t),l=e.style;if(u||(t=Ve(s)),a=S.cssHooks[t]||S.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=te.exec(n))&&i[1]&&(n=se(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(S.cssNumber[s]?"":"px")),v.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=X(t);return Re.test(t)||(t=Ve(s)),(a=S.cssHooks[t]||S.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Be(e,t,r)),"normal"===i&&t in Qe&&(i=Qe[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),S.each(["height","width"],function(e,u){S.cssHooks[u]={get:function(e,t,n){if(t)return!Ge.test(S.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Ze(e,u,n):Ie(e,Ye,function(){return Ze(e,u,n)})},set:function(e,t,n){var r,i=Me(e),o=!v.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===S.css(e,"boxSizing",!1,i),s=n?Ke(e,u,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-Ke(e,u,"border",!1,i)-.5)),s&&(r=te.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=S.css(e,u)),Je(0,t,s)}}}),S.cssHooks.marginLeft=_e(v.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Be(e,"marginLeft"))||e.getBoundingClientRect().left-Ie(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),S.each({margin:"",padding:"",border:"Width"},function(i,o){S.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+ne[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(S.cssHooks[i+o].set=Je)}),S.fn.extend({css:function(e,t){return B(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Me(e),i=t.length;a<i;a++)o[t[a]]=S.css(e,t[a],!1,r);return o}return void 0!==n?S.style(e,t,n):S.css(e,t)},e,t,1<arguments.length)}}),((S.Tween=et).prototype={constructor:et,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||S.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(S.cssNumber[n]?"":"px")},cur:function(){var e=et.propHooks[this.prop];return e&&e.get?e.get(this):et.propHooks._default.get(this)},run:function(e){var t,n=et.propHooks[this.prop];return this.options.duration?this.pos=t=S.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):et.propHooks._default.set(this),this}}).init.prototype=et.prototype,(et.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=S.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){S.fx.step[e.prop]?S.fx.step[e.prop](e):1!==e.elem.nodeType||!S.cssHooks[e.prop]&&null==e.elem.style[Ve(e.prop)]?e.elem[e.prop]=e.now:S.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=et.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},S.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},S.fx=et.prototype.init,S.fx.step={};var tt,nt,rt,it,ot=/^(?:toggle|show|hide)$/,at=/queueHooks$/;function st(){nt&&(!1===E.hidden&&C.requestAnimationFrame?C.requestAnimationFrame(st):C.setTimeout(st,S.fx.interval),S.fx.tick())}function ut(){return C.setTimeout(function(){tt=void 0}),tt=Date.now()}function lt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=ne[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function ct(e,t,n){for(var r,i=(ft.tweeners[t]||[]).concat(ft.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function ft(o,e,t){var n,a,r=0,i=ft.prefilters.length,s=S.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var e=tt||ut(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,t]),n<1&&i?t:(i||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:S.extend({},e),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},t),originalProperties:e,originalOptions:t,startTime:tt||ut(),duration:t.duration,tweens:[],createTween:function(e,t){var n=S.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,e])):s.rejectWith(o,[l,e]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=X(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=S.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<i;r++)if(n=ft.prefilters[r].call(l,o,c,l.opts))return m(n.stop)&&(S._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return S.map(c,ct,l),m(l.opts.start)&&l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),S.fx.timer(S.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l}S.Animation=S.extend(ft,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return se(n.elem,e,te.exec(t),n),n}]},tweener:function(e,t){m(e)?(t=e,e=["*"]):e=e.match(P);for(var n,r=0,i=e.length;r<i;r++)n=e[r],ft.tweeners[n]=ft.tweeners[n]||[],ft.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ae(e),y=Y.get(e,"fxshow");for(r in n.queue||(null==(a=S._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,S.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],ot.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!y||void 0===y[r])continue;g=!0}d[r]=y&&y[r]||S.style(e,r)}if((u=!S.isEmptyObject(t))||!S.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=y&&y.display)&&(l=Y.get(e,"display")),"none"===(c=S.css(e,"display"))&&(l?c=l:(le([e],!0),l=e.style.display||l,c=S.css(e,"display"),le([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===S.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(y?"hidden"in y&&(g=y.hidden):y=Y.access(e,"fxshow",{display:l}),o&&(y.hidden=!g),g&&le([e],!0),p.done(function(){for(r in g||le([e]),Y.remove(e,"fxshow"),d)S.style(e,r,d[r])})),u=ct(g?y[r]:0,r,p),r in y||(y[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?ft.prefilters.unshift(e):ft.prefilters.push(e)}}),S.speed=function(e,t,n){var r=e&&"object"==typeof e?S.extend({},e):{complete:n||!n&&t||m(e)&&e,duration:e,easing:n&&t||t&&!m(t)&&t};return S.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in S.fx.speeds?r.duration=S.fx.speeds[r.duration]:r.duration=S.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){m(r.old)&&r.old.call(this),r.queue&&S.dequeue(this,r.queue)},r},S.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=S.isEmptyObject(t),o=S.speed(e,n,r),a=function(){var e=ft(this,S.extend({},t),o);(i||Y.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=S.timers,r=Y.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&at.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||S.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=Y.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=S.timers,o=n?n.length:0;for(t.finish=!0,S.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),S.each(["toggle","show","hide"],function(e,r){var i=S.fn[r];S.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(lt(r,!0),e,t,n)}}),S.each({slideDown:lt("show"),slideUp:lt("hide"),slideToggle:lt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){S.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),S.timers=[],S.fx.tick=function(){var e,t=0,n=S.timers;for(tt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||S.fx.stop(),tt=void 0},S.fx.timer=function(e){S.timers.push(e),S.fx.start()},S.fx.interval=13,S.fx.start=function(){nt||(nt=!0,st())},S.fx.stop=function(){nt=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(r,e){return r=S.fx&&S.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=C.setTimeout(e,r);t.stop=function(){C.clearTimeout(n)}})},rt=E.createElement("input"),it=E.createElement("select").appendChild(E.createElement("option")),rt.type="checkbox",v.checkOn=""!==rt.value,v.optSelected=it.selected,(rt=E.createElement("input")).value="t",rt.type="radio",v.radioValue="t"===rt.value;var pt,dt=S.expr.attrHandle;S.fn.extend({attr:function(e,t){return B(this,S.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){S.removeAttr(this,e)})}}),S.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?S.prop(e,t,n):(1===o&&S.isXMLDoc(e)||(i=S.attrHooks[t.toLowerCase()]||(S.expr.match.bool.test(t)?pt:void 0)),void 0!==n?null===n?void S.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=S.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&A(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(P);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),pt={set:function(e,t,n){return!1===t?S.removeAttr(e,n):e.setAttribute(n,n),n}},S.each(S.expr.match.bool.source.match(/\w+/g),function(e,t){var a=dt[t]||S.find.attr;dt[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=dt[o],dt[o]=r,r=null!=a(e,t,n)?o:null,dt[o]=i),r}});var ht=/^(?:input|select|textarea|button)$/i,gt=/^(?:a|area)$/i;function yt(e){return(e.match(P)||[]).join(" ")}function vt(e){return e.getAttribute&&e.getAttribute("class")||""}function mt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(P)||[]}S.fn.extend({prop:function(e,t){return B(this,S.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[S.propFix[e]||e]})}}),S.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&S.isXMLDoc(e)||(t=S.propFix[t]||t,i=S.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=S.find.attr(e,"tabindex");return t?parseInt(t,10):ht.test(e.nodeName)||gt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),v.optSelected||(S.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),S.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){S.propFix[this.toLowerCase()]=this}),S.fn.extend({addClass:function(t){var e,n,r,i,o,a;return m(t)?this.each(function(e){S(this).addClass(t.call(this,e,vt(this)))}):(e=mt(t)).length?this.each(function(){if(r=vt(this),n=1===this.nodeType&&" "+yt(r)+" "){for(o=0;o<e.length;o++)i=e[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=yt(n),r!==a&&this.setAttribute("class",a)}}):this},removeClass:function(t){var e,n,r,i,o,a;return m(t)?this.each(function(e){S(this).removeClass(t.call(this,e,vt(this)))}):arguments.length?(e=mt(t)).length?this.each(function(){if(r=vt(this),n=1===this.nodeType&&" "+yt(r)+" "){for(o=0;o<e.length;o++){i=e[o];while(-1<n.indexOf(" "+i+" "))n=n.replace(" "+i+" "," ")}a=yt(n),r!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(t,n){var e,r,i,o,a=typeof t,s="string"===a||Array.isArray(t);return m(t)?this.each(function(e){S(this).toggleClass(t.call(this,e,vt(this),n),n)}):"boolean"==typeof n&&s?n?this.addClass(t):this.removeClass(t):(e=mt(t),this.each(function(){if(s)for(o=S(this),i=0;i<e.length;i++)r=e[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==t&&"boolean"!==a||((r=vt(this))&&Y.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===t?"":Y.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&-1<(" "+yt(vt(n))+" ").indexOf(t))return!0;return!1}});var xt=/\r/g;S.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=m(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,S(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=S.map(t,function(e){return null==e?"":e+""})),(r=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=S.valHooks[t.type]||S.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(xt,""):null==e?"":e:void 0}}),S.extend({valHooks:{option:{get:function(e){var t=S.find.attr(e,"value");return null!=t?t:yt(S.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!A(n.parentNode,"optgroup"))){if(t=S(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=S.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=-1<S.inArray(S.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),S.each(["radio","checkbox"],function(){S.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<S.inArray(S(e).val(),t)}},v.checkOn||(S.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),v.focusin="onfocusin"in C;var bt=/^(?:focusinfocus|focusoutblur)$/,wt=function(e){e.stopPropagation()};S.extend(S.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,f,p=[n||E],d=y.call(e,"type")?e.type:e,h=y.call(e,"namespace")?e.namespace.split("."):[];if(o=f=a=n=n||E,3!==n.nodeType&&8!==n.nodeType&&!bt.test(d+S.event.triggered)&&(-1<d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),u=d.indexOf(":")<0&&"on"+d,(e=e[S.expando]?e:new S.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:S.makeArray(t,[e]),c=S.event.special[d]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!x(n)){for(s=c.delegateType||d,bt.test(s+d)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(n.ownerDocument||E)&&p.push(a.defaultView||a.parentWindow||C)}i=0;while((o=p[i++])&&!e.isPropagationStopped())f=o,e.type=1<i?s:c.bindType||d,(l=(Y.get(o,"events")||Object.create(null))[e.type]&&Y.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&V(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(p.pop(),t)||!V(n)||u&&m(n[d])&&!x(n)&&((a=n[u])&&(n[u]=null),S.event.triggered=d,e.isPropagationStopped()&&f.addEventListener(d,wt),n[d](),e.isPropagationStopped()&&f.removeEventListener(d,wt),S.event.triggered=void 0,a&&(n[u]=a)),e.result}},simulate:function(e,t,n){var r=S.extend(new S.Event,n,{type:e,isSimulated:!0});S.event.trigger(r,null,t)}}),S.fn.extend({trigger:function(e,t){return this.each(function(){S.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return S.event.trigger(e,t,n,!0)}}),v.focusin||S.each({focus:"focusin",blur:"focusout"},function(n,r){var i=function(e){S.event.simulate(r,e.target,S.event.fix(e))};S.event.special[r]={setup:function(){var e=this.ownerDocument||this.document||this,t=Y.access(e,r);t||e.addEventListener(n,i,!0),Y.access(e,r,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=Y.access(e,r)-1;t?Y.access(e,r,t):(e.removeEventListener(n,i,!0),Y.remove(e,r))}}});var Tt=C.location,Ct={guid:Date.now()},Et=/\?/;S.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new C.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||S.error("Invalid XML: "+(n?S.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var St=/\[\]$/,kt=/\r?\n/g,At=/^(?:submit|button|image|reset|file)$/i,Nt=/^(?:input|select|textarea|keygen)/i;function jt(n,e,r,i){var t;if(Array.isArray(e))S.each(e,function(e,t){r||St.test(n)?i(n,t):jt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==w(e))i(n,e);else for(t in e)jt(n+"["+t+"]",e[t],r,i)}S.param=function(e,t){var n,r=[],i=function(e,t){var n=m(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!S.isPlainObject(e))S.each(e,function(){i(this.name,this.value)});else for(n in e)jt(n,e[n],t,i);return r.join("&")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=S.prop(this,"elements");return e?S.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!S(this).is(":disabled")&&Nt.test(this.nodeName)&&!At.test(e)&&(this.checked||!pe.test(e))}).map(function(e,t){var n=S(this).val();return null==n?null:Array.isArray(n)?S.map(n,function(e){return{name:t.name,value:e.replace(kt,"\r\n")}}):{name:t.name,value:n.replace(kt,"\r\n")}}).get()}});var Dt=/%20/g,qt=/#.*$/,Lt=/([?&])_=[^&]*/,Ht=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ot=/^(?:GET|HEAD)$/,Pt=/^\/\//,Rt={},Mt={},It="*/".concat("*"),Wt=E.createElement("a");function Ft(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(P)||[];if(m(t))while(n=i[r++])"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function $t(t,i,o,a){var s={},u=t===Mt;function l(e){var r;return s[e]=!0,S.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||u||s[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!s["*"]&&l("*")}function Bt(e,t){var n,r,i=S.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&S.extend(!0,e,r),e}Wt.href=Tt.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Tt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Tt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":It,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Bt(Bt(e,S.ajaxSettings),t):Bt(S.ajaxSettings,e)},ajaxPrefilter:Ft(Rt),ajaxTransport:Ft(Mt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,f,p,n,d,r,h,g,i,o,y=S.ajaxSetup({},t),v=y.context||y,m=y.context&&(v.nodeType||v.jquery)?S(v):S.event,x=S.Deferred(),b=S.Callbacks("once memory"),w=y.statusCode||{},a={},s={},u="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n){n={};while(t=Ht.exec(p))n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?p:null},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==h&&(y.mimeType=e),this},statusCode:function(e){var t;if(e)if(h)T.always(e[T.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||u;return c&&c.abort(t),l(0,t),this}};if(x.promise(T),y.url=((e||y.url||Tt.href)+"").replace(Pt,Tt.protocol+"//"),y.type=t.method||t.type||y.method||y.type,y.dataTypes=(y.dataType||"*").toLowerCase().match(P)||[""],null==y.crossDomain){r=E.createElement("a");try{r.href=y.url,r.href=r.href,y.crossDomain=Wt.protocol+"//"+Wt.host!=r.protocol+"//"+r.host}catch(e){y.crossDomain=!0}}if(y.data&&y.processData&&"string"!=typeof y.data&&(y.data=S.param(y.data,y.traditional)),$t(Rt,y,t,T),h)return T;for(i in(g=S.event&&y.global)&&0==S.active++&&S.event.trigger("ajaxStart"),y.type=y.type.toUpperCase(),y.hasContent=!Ot.test(y.type),f=y.url.replace(qt,""),y.hasContent?y.data&&y.processData&&0===(y.contentType||"").indexOf("application/x-www-form-urlencoded")&&(y.data=y.data.replace(Dt,"+")):(o=y.url.slice(f.length),y.data&&(y.processData||"string"==typeof y.data)&&(f+=(Et.test(f)?"&":"?")+y.data,delete y.data),!1===y.cache&&(f=f.replace(Lt,"$1"),o=(Et.test(f)?"&":"?")+"_="+Ct.guid+++o),y.url=f+o),y.ifModified&&(S.lastModified[f]&&T.setRequestHeader("If-Modified-Since",S.lastModified[f]),S.etag[f]&&T.setRequestHeader("If-None-Match",S.etag[f])),(y.data&&y.hasContent&&!1!==y.contentType||t.contentType)&&T.setRequestHeader("Content-Type",y.contentType),T.setRequestHeader("Accept",y.dataTypes[0]&&y.accepts[y.dataTypes[0]]?y.accepts[y.dataTypes[0]]+("*"!==y.dataTypes[0]?", "+It+"; q=0.01":""):y.accepts["*"]),y.headers)T.setRequestHeader(i,y.headers[i]);if(y.beforeSend&&(!1===y.beforeSend.call(v,T,y)||h))return T.abort();if(u="abort",b.add(y.complete),T.done(y.success),T.fail(y.error),c=$t(Mt,y,t,T)){if(T.readyState=1,g&&m.trigger("ajaxSend",[T,y]),h)return T;y.async&&0<y.timeout&&(d=C.setTimeout(function(){T.abort("timeout")},y.timeout));try{h=!1,c.send(a,l)}catch(e){if(h)throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,n,r){var i,o,a,s,u,l=t;h||(h=!0,d&&C.clearTimeout(d),c=void 0,p=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(y,T,n)),!i&&-1<S.inArray("script",y.dataTypes)&&S.inArray("json",y.dataTypes)<0&&(y.converters["text script"]=function(){}),s=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(y,s,T,i),i?(y.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&(S.lastModified[f]=u),(u=T.getResponseHeader("etag"))&&(S.etag[f]=u)),204===e||"HEAD"===y.type?l="nocontent":304===e?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!e&&l||(l="error",e<0&&(e=0))),T.status=e,T.statusText=(t||l)+"",i?x.resolveWith(v,[o,l,T]):x.rejectWith(v,[T,l,a]),T.statusCode(w),w=void 0,g&&m.trigger(i?"ajaxSuccess":"ajaxError",[T,y,i?o:a]),b.fireWith(v,[T,l]),g&&(m.trigger("ajaxComplete",[T,y]),--S.active||S.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return S.get(e,t,n,"json")},getScript:function(e,t){return S.get(e,void 0,t,"script")}}),S.each(["get","post"],function(e,i){S[i]=function(e,t,n,r){return m(t)&&(r=r||n,n=t,t=void 0),S.ajax(S.extend({url:e,type:i,dataType:r,data:t,success:n},S.isPlainObject(e)&&e))}}),S.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),S._evalUrl=function(e,t,n){return S.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){S.globalEval(e,t,n)}})},S.fn.extend({wrapAll:function(e){var t;return this[0]&&(m(e)&&(e=e.call(this[0])),t=S(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return m(n)?this.each(function(e){S(this).wrapInner(n.call(this,e))}):this.each(function(){var e=S(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=m(t);return this.each(function(e){S(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){S(this).replaceWith(this.childNodes)}),this}}),S.expr.pseudos.hidden=function(e){return!S.expr.pseudos.visible(e)},S.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},S.ajaxSettings.xhr=function(){try{return new C.XMLHttpRequest}catch(e){}};var _t={0:200,1223:204},zt=S.ajaxSettings.xhr();v.cors=!!zt&&"withCredentials"in zt,v.ajax=zt=!!zt,S.ajaxTransport(function(i){var o,a;if(v.cors||zt&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=a=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(_t[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),a=r.onerror=r.ontimeout=o("error"),void 0!==r.onabort?r.onabort=a:r.onreadystatechange=function(){4===r.readyState&&C.setTimeout(function(){o&&a()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),S.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),S.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return S.globalEval(e),e}}}),S.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),S.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=S("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Ut,Xt=[],Vt=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Xt.pop()||S.expando+"_"+Ct.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Vt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Vt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Vt,"$1"+r):!1!==e.jsonp&&(e.url+=(Et.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Xt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),v.createHTMLDocument=((Ut=E.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Ut.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(v.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=yt(e.slice(s)),e=e.slice(0,s)),m(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&S.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?S("<div>").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return B(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=_e(v.pixelPosition,function(e,t){if(t)return t=Be(e,n),Pe.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return B(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var Gt=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;S.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),m(e))return r=s.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(s.call(arguments)))}).guid=e.guid=e.guid||S.guid++,i},S.holdReady=function(e){e?S.readyWait++:S.ready(!0)},S.isArray=Array.isArray,S.parseJSON=JSON.parse,S.nodeName=A,S.isFunction=m,S.isWindow=x,S.camelCase=X,S.type=w,S.now=Date.now,S.isNumeric=function(e){var t=S.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},S.trim=function(e){return null==e?"":(e+"").replace(Gt,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return S});var Yt=C.jQuery,Qt=C.$;return S.noConflict=function(e){return C.$===S&&(C.$=Qt),e&&C.jQuery===S&&(C.jQuery=Yt),S},"undefined"==typeof e&&(C.jQuery=C.$=S),S});
... ...
@@ -1,1315 +0,0 @@
1
-/*! jQuery UI - v1.13.2 - 2022-07-14
2
-* http://jqueryui.com
3
-* Includes: core.css, accordion.css, autocomplete.css, menu.css, button.css, controlgroup.css, checkboxradio.css, datepicker.css, dialog.css, draggable.css, resizable.css, progressbar.css, selectable.css, selectmenu.css, slider.css, sortable.css, spinner.css, tabs.css, tooltip.css, theme.css
4
-* To view and modify this theme, visit http://jqueryui.com/themeroller/?bgShadowXPos=&bgOverlayXPos=&bgErrorXPos=&bgHighlightXPos=&bgContentXPos=&bgHeaderXPos=&bgActiveXPos=&bgHoverXPos=&bgDefaultXPos=&bgShadowYPos=&bgOverlayYPos=&bgErrorYPos=&bgHighlightYPos=&bgContentYPos=&bgHeaderYPos=&bgActiveYPos=&bgHoverYPos=&bgDefaultYPos=&bgShadowRepeat=&bgOverlayRepeat=&bgErrorRepeat=&bgHighlightRepeat=&bgContentRepeat=&bgHeaderRepeat=&bgActiveRepeat=&bgHoverRepeat=&bgDefaultRepeat=&iconsHover=url(%22images%2Fui-icons_555555_256x240.png%22)&iconsHighlight=url(%22images%2Fui-icons_777620_256x240.png%22)&iconsHeader=url(%22images%2Fui-icons_444444_256x240.png%22)&iconsError=url(%22images%2Fui-icons_cc0000_256x240.png%22)&iconsDefault=url(%22images%2Fui-icons_777777_256x240.png%22)&iconsContent=url(%22images%2Fui-icons_444444_256x240.png%22)&iconsActive=url(%22images%2Fui-icons_ffffff_256x240.png%22)&bgImgUrlShadow=&bgImgUrlOverlay=&bgImgUrlHover=&bgImgUrlHighlight=&bgImgUrlHeader=&bgImgUrlError=&bgImgUrlDefault=&bgImgUrlContent=&bgImgUrlActive=&opacityFilterShadow=Alpha(Opacity%3D30)&opacityFilterOverlay=Alpha(Opacity%3D30)&opacityShadowPerc=30&opacityOverlayPerc=30&iconColorHover=%23555555&iconColorHighlight=%23777620&iconColorHeader=%23444444&iconColorError=%23cc0000&iconColorDefault=%23777777&iconColorContent=%23444444&iconColorActive=%23ffffff&bgImgOpacityShadow=0&bgImgOpacityOverlay=0&bgImgOpacityError=95&bgImgOpacityHighlight=55&bgImgOpacityContent=75&bgImgOpacityHeader=75&bgImgOpacityActive=65&bgImgOpacityHover=75&bgImgOpacityDefault=75&bgTextureShadow=flat&bgTextureOverlay=flat&bgTextureError=flat&bgTextureHighlight=flat&bgTextureContent=flat&bgTextureHeader=flat&bgTextureActive=flat&bgTextureHover=flat&bgTextureDefault=flat&cornerRadius=3px&fwDefault=normal&ffDefault=Arial%2CHelvetica%2Csans-serif&fsDefault=1em&cornerRadiusShadow=8px&thicknessShadow=5px&offsetLeftShadow=0px&offsetTopShadow=0px&opacityShadow=.3&bgColorShadow=%23666666&opacityOverlay=.3&bgColorOverlay=%23aaaaaa&fcError=%235f3f3f&borderColorError=%23f1a899&bgColorError=%23fddfdf&fcHighlight=%23777620&borderColorHighlight=%23dad55e&bgColorHighlight=%23fffa90&fcContent=%23333333&borderColorContent=%23dddddd&bgColorContent=%23ffffff&fcHeader=%23333333&borderColorHeader=%23dddddd&bgColorHeader=%23e9e9e9&fcActive=%23ffffff&borderColorActive=%23003eff&bgColorActive=%23007fff&fcHover=%232b2b2b&borderColorHover=%23cccccc&bgColorHover=%23ededed&fcDefault=%23454545&borderColorDefault=%23c5c5c5&bgColorDefault=%23f6f6f6
5
-* Copyright jQuery Foundation and other contributors; Licensed MIT */
6
-
7
-/* Layout helpers
8
-----------------------------------*/
9
-.ui-helper-hidden {
10
-	display: none;
11
-}
12
-.ui-helper-hidden-accessible {
13
-	border: 0;
14
-	clip: rect(0 0 0 0);
15
-	height: 1px;
16
-	margin: -1px;
17
-	overflow: hidden;
18
-	padding: 0;
19
-	position: absolute;
20
-	width: 1px;
21
-}
22
-.ui-helper-reset {
23
-	margin: 0;
24
-	padding: 0;
25
-	border: 0;
26
-	outline: 0;
27
-	line-height: 1.3;
28
-	text-decoration: none;
29
-	font-size: 100%;
30
-	list-style: none;
31
-}
32
-.ui-helper-clearfix:before,
33
-.ui-helper-clearfix:after {
34
-	content: "";
35
-	display: table;
36
-	border-collapse: collapse;
37
-}
38
-.ui-helper-clearfix:after {
39
-	clear: both;
40
-}
41
-.ui-helper-zfix {
42
-	width: 100%;
43
-	height: 100%;
44
-	top: 0;
45
-	left: 0;
46
-	position: absolute;
47
-	opacity: 0;
48
-	-ms-filter: "alpha(opacity=0)"; /* support: IE8 */
49
-}
50
-
51
-.ui-front {
52
-	z-index: 100;
53
-}
54
-
55
-
56
-/* Interaction Cues
57
-----------------------------------*/
58
-.ui-state-disabled {
59
-	cursor: default !important;
60
-	pointer-events: none;
61
-}
62
-
63
-
64
-/* Icons
65
-----------------------------------*/
66
-.ui-icon {
67
-	display: inline-block;
68
-	vertical-align: middle;
69
-	margin-top: -.25em;
70
-	position: relative;
71
-	text-indent: -99999px;
72
-	overflow: hidden;
73
-	background-repeat: no-repeat;
74
-}
75
-
76
-.ui-widget-icon-block {
77
-	left: 50%;
78
-	margin-left: -8px;
79
-	display: block;
80
-}
81
-
82
-/* Misc visuals
83
-----------------------------------*/
84
-
85
-/* Overlays */
86
-.ui-widget-overlay {
87
-	position: fixed;
88
-	top: 0;
89
-	left: 0;
90
-	width: 100%;
91
-	height: 100%;
92
-}
93
-.ui-accordion .ui-accordion-header {
94
-	display: block;
95
-	cursor: pointer;
96
-	position: relative;
97
-	margin: 2px 0 0 0;
98
-	padding: .5em .5em .5em .7em;
99
-	font-size: 100%;
100
-}
101
-.ui-accordion .ui-accordion-content {
102
-	padding: 1em 2.2em;
103
-	border-top: 0;
104
-	overflow: auto;
105
-}
106
-.ui-autocomplete {
107
-	position: absolute;
108
-	top: 0;
109
-	left: 0;
110
-	cursor: default;
111
-}
112
-.ui-menu {
113
-	list-style: none;
114
-	padding: 0;
115
-	margin: 0;
116
-	display: block;
117
-	outline: 0;
118
-}
119
-.ui-menu .ui-menu {
120
-	position: absolute;
121
-}
122
-.ui-menu .ui-menu-item {
123
-	margin: 0;
124
-	cursor: pointer;
125
-	/* support: IE10, see #8844 */
126
-	list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
127
-}
128
-.ui-menu .ui-menu-item-wrapper {
129
-	position: relative;
130
-	padding: 3px 1em 3px .4em;
131
-}
132
-.ui-menu .ui-menu-divider {
133
-	margin: 5px 0;
134
-	height: 0;
135
-	font-size: 0;
136
-	line-height: 0;
137
-	border-width: 1px 0 0 0;
138
-}
139
-.ui-menu .ui-state-focus,
140
-.ui-menu .ui-state-active {
141
-	margin: -1px;
142
-}
143
-
144
-/* icon support */
145
-.ui-menu-icons {
146
-	position: relative;
147
-}
148
-.ui-menu-icons .ui-menu-item-wrapper {
149
-	padding-left: 2em;
150
-}
151
-
152
-/* left-aligned */
153
-.ui-menu .ui-icon {
154
-	position: absolute;
155
-	top: 0;
156
-	bottom: 0;
157
-	left: .2em;
158
-	margin: auto 0;
159
-}
160
-
161
-/* right-aligned */
162
-.ui-menu .ui-menu-icon {
163
-	left: auto;
164
-	right: 0;
165
-}
166
-.ui-button {
167
-	padding: .4em 1em;
168
-	display: inline-block;
169
-	position: relative;
170
-	line-height: normal;
171
-	margin-right: .1em;
172
-	cursor: pointer;
173
-	vertical-align: middle;
174
-	text-align: center;
175
-	-webkit-user-select: none;
176
-	-moz-user-select: none;
177
-	-ms-user-select: none;
178
-	user-select: none;
179
-
180
-	/* Support: IE <= 11 */
181
-	overflow: visible;
182
-}
183
-
184
-.ui-button,
185
-.ui-button:link,
186
-.ui-button:visited,
187
-.ui-button:hover,
188
-.ui-button:active {
189
-	text-decoration: none;
190
-}
191
-
192
-/* to make room for the icon, a width needs to be set here */
193
-.ui-button-icon-only {
194
-	width: 2em;
195
-	box-sizing: border-box;
196
-	text-indent: -9999px;
197
-	white-space: nowrap;
198
-}
199
-
200
-/* no icon support for input elements */
201
-input.ui-button.ui-button-icon-only {
202
-	text-indent: 0;
203
-}
204
-
205
-/* button icon element(s) */
206
-.ui-button-icon-only .ui-icon {
207
-	position: absolute;
208
-	top: 50%;
209
-	left: 50%;
210
-	margin-top: -8px;
211
-	margin-left: -8px;
212
-}
213
-
214
-.ui-button.ui-icon-notext .ui-icon {
215
-	padding: 0;
216
-	width: 2.1em;
217
-	height: 2.1em;
218
-	text-indent: -9999px;
219
-	white-space: nowrap;
220
-
221
-}
222
-
223
-input.ui-button.ui-icon-notext .ui-icon {
224
-	width: auto;
225
-	height: auto;
226
-	text-indent: 0;
227
-	white-space: normal;
228
-	padding: .4em 1em;
229
-}
230
-
231
-/* workarounds */
232
-/* Support: Firefox 5 - 40 */
233
-input.ui-button::-moz-focus-inner,
234
-button.ui-button::-moz-focus-inner {
235
-	border: 0;
236
-	padding: 0;
237
-}
238
-.ui-controlgroup {
239
-	vertical-align: middle;
240
-	display: inline-block;
241
-}
242
-.ui-controlgroup > .ui-controlgroup-item {
243
-	float: left;
244
-	margin-left: 0;
245
-	margin-right: 0;
246
-}
247
-.ui-controlgroup > .ui-controlgroup-item:focus,
248
-.ui-controlgroup > .ui-controlgroup-item.ui-visual-focus {
249
-	z-index: 9999;
250
-}
251
-.ui-controlgroup-vertical > .ui-controlgroup-item {
252
-	display: block;
253
-	float: none;
254
-	width: 100%;
255
-	margin-top: 0;
256
-	margin-bottom: 0;
257
-	text-align: left;
258
-}
259
-.ui-controlgroup-vertical .ui-controlgroup-item {
260
-	box-sizing: border-box;
261
-}
262
-.ui-controlgroup .ui-controlgroup-label {
263
-	padding: .4em 1em;
264
-}
265
-.ui-controlgroup .ui-controlgroup-label span {
266
-	font-size: 80%;
267
-}
268
-.ui-controlgroup-horizontal .ui-controlgroup-label + .ui-controlgroup-item {
269
-	border-left: none;
270
-}
271
-.ui-controlgroup-vertical .ui-controlgroup-label + .ui-controlgroup-item {
272
-	border-top: none;
273
-}
274
-.ui-controlgroup-horizontal .ui-controlgroup-label.ui-widget-content {
275
-	border-right: none;
276
-}
277
-.ui-controlgroup-vertical .ui-controlgroup-label.ui-widget-content {
278
-	border-bottom: none;
279
-}
280
-
281
-/* Spinner specific style fixes */
282
-.ui-controlgroup-vertical .ui-spinner-input {
283
-
284
-	/* Support: IE8 only, Android < 4.4 only */
285
-	width: 75%;
286
-	width: calc( 100% - 2.4em );
287
-}
288
-.ui-controlgroup-vertical .ui-spinner .ui-spinner-up {
289
-	border-top-style: solid;
290
-}
291
-
292
-.ui-checkboxradio-label .ui-icon-background {
293
-	box-shadow: inset 1px 1px 1px #ccc;
294
-	border-radius: .12em;
295
-	border: none;
296
-}
297
-.ui-checkboxradio-radio-label .ui-icon-background {
298
-	width: 16px;
299
-	height: 16px;
300
-	border-radius: 1em;
301
-	overflow: visible;
302
-	border: none;
303
-}
304
-.ui-checkboxradio-radio-label.ui-checkboxradio-checked .ui-icon,
305
-.ui-checkboxradio-radio-label.ui-checkboxradio-checked:hover .ui-icon {
306
-	background-image: none;
307
-	width: 8px;
308
-	height: 8px;
309
-	border-width: 4px;
310
-	border-style: solid;
311
-}
312
-.ui-checkboxradio-disabled {
313
-	pointer-events: none;
314
-}
315
-.ui-datepicker {
316
-	width: 17em;
317
-	padding: .2em .2em 0;
318
-	display: none;
319
-}
320
-.ui-datepicker .ui-datepicker-header {
321
-	position: relative;
322
-	padding: .2em 0;
323
-}
324
-.ui-datepicker .ui-datepicker-prev,
325
-.ui-datepicker .ui-datepicker-next {
326
-	position: absolute;
327
-	top: 2px;
328
-	width: 1.8em;
329
-	height: 1.8em;
330
-}
331
-.ui-datepicker .ui-datepicker-prev-hover,
332
-.ui-datepicker .ui-datepicker-next-hover {
333
-	top: 1px;
334
-}
335
-.ui-datepicker .ui-datepicker-prev {
336
-	left: 2px;
337
-}
338
-.ui-datepicker .ui-datepicker-next {
339
-	right: 2px;
340
-}
341
-.ui-datepicker .ui-datepicker-prev-hover {
342
-	left: 1px;
343
-}
344
-.ui-datepicker .ui-datepicker-next-hover {
345
-	right: 1px;
346
-}
347
-.ui-datepicker .ui-datepicker-prev span,
348
-.ui-datepicker .ui-datepicker-next span {
349
-	display: block;
350
-	position: absolute;
351
-	left: 50%;
352
-	margin-left: -8px;
353
-	top: 50%;
354
-	margin-top: -8px;
355
-}
356
-.ui-datepicker .ui-datepicker-title {
357
-	margin: 0 2.3em;
358
-	line-height: 1.8em;
359
-	text-align: center;
360
-}
361
-.ui-datepicker .ui-datepicker-title select {
362
-	font-size: 1em;
363
-	margin: 1px 0;
364
-}
365
-.ui-datepicker select.ui-datepicker-month,
366
-.ui-datepicker select.ui-datepicker-year {
367
-	width: 45%;
368
-}
369
-.ui-datepicker table {
370
-	width: 100%;
371
-	font-size: .9em;
372
-	border-collapse: collapse;
373
-	margin: 0 0 .4em;
374
-}
375
-.ui-datepicker th {
376
-	padding: .7em .3em;
377
-	text-align: center;
378
-	font-weight: bold;
379
-	border: 0;
380
-}
381
-.ui-datepicker td {
382
-	border: 0;
383
-	padding: 1px;
384
-}
385
-.ui-datepicker td span,
386
-.ui-datepicker td a {
387
-	display: block;
388
-	padding: .2em;
389
-	text-align: right;
390
-	text-decoration: none;
391
-}
392
-.ui-datepicker .ui-datepicker-buttonpane {
393
-	background-image: none;
394
-	margin: .7em 0 0 0;
395
-	padding: 0 .2em;
396
-	border-left: 0;
397
-	border-right: 0;
398
-	border-bottom: 0;
399
-}
400
-.ui-datepicker .ui-datepicker-buttonpane button {
401
-	float: right;
402
-	margin: .5em .2em .4em;
403
-	cursor: pointer;
404
-	padding: .2em .6em .3em .6em;
405
-	width: auto;
406
-	overflow: visible;
407
-}
408
-.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
409
-	float: left;
410
-}
411
-
412
-/* with multiple calendars */
413
-.ui-datepicker.ui-datepicker-multi {
414
-	width: auto;
415
-}
416
-.ui-datepicker-multi .ui-datepicker-group {
417
-	float: left;
418
-}
419
-.ui-datepicker-multi .ui-datepicker-group table {
420
-	width: 95%;
421
-	margin: 0 auto .4em;
422
-}
423
-.ui-datepicker-multi-2 .ui-datepicker-group {
424
-	width: 50%;
425
-}
426
-.ui-datepicker-multi-3 .ui-datepicker-group {
427
-	width: 33.3%;
428
-}
429
-.ui-datepicker-multi-4 .ui-datepicker-group {
430
-	width: 25%;
431
-}
432
-.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,
433
-.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
434
-	border-left-width: 0;
435
-}
436
-.ui-datepicker-multi .ui-datepicker-buttonpane {
437
-	clear: left;
438
-}
439
-.ui-datepicker-row-break {
440
-	clear: both;
441
-	width: 100%;
442
-	font-size: 0;
443
-}
444
-
445
-/* RTL support */
446
-.ui-datepicker-rtl {
447
-	direction: rtl;
448
-}
449
-.ui-datepicker-rtl .ui-datepicker-prev {
450
-	right: 2px;
451
-	left: auto;
452
-}
453
-.ui-datepicker-rtl .ui-datepicker-next {
454
-	left: 2px;
455
-	right: auto;
456
-}
457
-.ui-datepicker-rtl .ui-datepicker-prev:hover {
458
-	right: 1px;
459
-	left: auto;
460
-}
461
-.ui-datepicker-rtl .ui-datepicker-next:hover {
462
-	left: 1px;
463
-	right: auto;
464
-}
465
-.ui-datepicker-rtl .ui-datepicker-buttonpane {
466
-	clear: right;
467
-}
468
-.ui-datepicker-rtl .ui-datepicker-buttonpane button {
469
-	float: left;
470
-}
471
-.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,
472
-.ui-datepicker-rtl .ui-datepicker-group {
473
-	float: right;
474
-}
475
-.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,
476
-.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
477
-	border-right-width: 0;
478
-	border-left-width: 1px;
479
-}
480
-
481
-/* Icons */
482
-.ui-datepicker .ui-icon {
483
-	display: block;
484
-	text-indent: -99999px;
485
-	overflow: hidden;
486
-	background-repeat: no-repeat;
487
-	left: .5em;
488
-	top: .3em;
489
-}
490
-.ui-dialog {
491
-	position: absolute;
492
-	top: 0;
493
-	left: 0;
494
-	padding: .2em;
495
-	outline: 0;
496
-}
497
-.ui-dialog .ui-dialog-titlebar {
498
-	padding: .4em 1em;
499
-	position: relative;
500
-}
501
-.ui-dialog .ui-dialog-title {
502
-	float: left;
503
-	margin: .1em 0;
504
-	white-space: nowrap;
505
-	width: 90%;
506
-	overflow: hidden;
507
-	text-overflow: ellipsis;
508
-}
509
-.ui-dialog .ui-dialog-titlebar-close {
510
-	position: absolute;
511
-	right: .3em;
512
-	top: 50%;
513
-	width: 20px;
514
-	margin: -10px 0 0 0;
515
-	padding: 1px;
516
-	height: 20px;
517
-}
518
-.ui-dialog .ui-dialog-content {
519
-	position: relative;
520
-	border: 0;
521
-	padding: .5em 1em;
522
-	background: none;
523
-	overflow: auto;
524
-}
525
-.ui-dialog .ui-dialog-buttonpane {
526
-	text-align: left;
527
-	border-width: 1px 0 0 0;
528
-	background-image: none;
529
-	margin-top: .5em;
530
-	padding: .3em 1em .5em .4em;
531
-}
532
-.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
533
-	float: right;
534
-}
535
-.ui-dialog .ui-dialog-buttonpane button {
536
-	margin: .5em .4em .5em 0;
537
-	cursor: pointer;
538
-}
539
-.ui-dialog .ui-resizable-n {
540
-	height: 2px;
541
-	top: 0;
542
-}
543
-.ui-dialog .ui-resizable-e {
544
-	width: 2px;
545
-	right: 0;
546
-}
547
-.ui-dialog .ui-resizable-s {
548
-	height: 2px;
549
-	bottom: 0;
550
-}
551
-.ui-dialog .ui-resizable-w {
552
-	width: 2px;
553
-	left: 0;
554
-}
555
-.ui-dialog .ui-resizable-se,
556
-.ui-dialog .ui-resizable-sw,
557
-.ui-dialog .ui-resizable-ne,
558
-.ui-dialog .ui-resizable-nw {
559
-	width: 7px;
560
-	height: 7px;
561
-}
562
-.ui-dialog .ui-resizable-se {
563
-	right: 0;
564
-	bottom: 0;
565
-}
566
-.ui-dialog .ui-resizable-sw {
567
-	left: 0;
568
-	bottom: 0;
569
-}
570
-.ui-dialog .ui-resizable-ne {
571
-	right: 0;
572
-	top: 0;
573
-}
574
-.ui-dialog .ui-resizable-nw {
575
-	left: 0;
576
-	top: 0;
577
-}
578
-.ui-draggable .ui-dialog-titlebar {
579
-	cursor: move;
580
-}
581
-.ui-draggable-handle {
582
-	-ms-touch-action: none;
583
-	touch-action: none;
584
-}
585
-.ui-resizable {
586
-	position: relative;
587
-}
588
-.ui-resizable-handle {
589
-	position: absolute;
590
-	font-size: 0.1px;
591
-	display: block;
592
-	-ms-touch-action: none;
593
-	touch-action: none;
594
-}
595
-.ui-resizable-disabled .ui-resizable-handle,
596
-.ui-resizable-autohide .ui-resizable-handle {
597
-	display: none;
598
-}
599
-.ui-resizable-n {
600
-	cursor: n-resize;
601
-	height: 7px;
602
-	width: 100%;
603
-	top: -5px;
604
-	left: 0;
605
-}
606
-.ui-resizable-s {
607
-	cursor: s-resize;
608
-	height: 7px;
609
-	width: 100%;
610
-	bottom: -5px;
611
-	left: 0;
612
-}
613
-.ui-resizable-e {
614
-	cursor: e-resize;
615
-	width: 7px;
616
-	right: -5px;
617
-	top: 0;
618
-	height: 100%;
619
-}
620
-.ui-resizable-w {
621
-	cursor: w-resize;
622
-	width: 7px;
623
-	left: -5px;
624
-	top: 0;
625
-	height: 100%;
626
-}
627
-.ui-resizable-se {
628
-	cursor: se-resize;
629
-	width: 12px;
630
-	height: 12px;
631
-	right: 1px;
632
-	bottom: 1px;
633
-}
634
-.ui-resizable-sw {
635
-	cursor: sw-resize;
636
-	width: 9px;
637
-	height: 9px;
638
-	left: -5px;
639
-	bottom: -5px;
640
-}
641
-.ui-resizable-nw {
642
-	cursor: nw-resize;
643
-	width: 9px;
644
-	height: 9px;
645
-	left: -5px;
646
-	top: -5px;
647
-}
648
-.ui-resizable-ne {
649
-	cursor: ne-resize;
650
-	width: 9px;
651
-	height: 9px;
652
-	right: -5px;
653
-	top: -5px;
654
-}
655
-.ui-progressbar {
656
-	height: 2em;
657
-	text-align: left;
658
-	overflow: hidden;
659
-}
660
-.ui-progressbar .ui-progressbar-value {
661
-	margin: -1px;
662
-	height: 100%;
663
-}
664
-.ui-progressbar .ui-progressbar-overlay {
665
-	background: url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJah4N0lYCMlJOXipGRr5qdgoSTrqWSq6WFl2ypoaUAAAIfkECQEAAQAsAAAAACgAKAAAApaEb6HLgd/iO7FNWtcFWe+ufODGjRfoiJ2akShbueb0wtI50zm02pbvwfWEMWBQ1zKGlLIhskiEPm9R6vRXxV4ZzWT2yHOGpWMyorblKlNp8HmHEb/lCXjcW7bmtXP8Xt229OVWR1fod2eWqNfHuMjXCPkIGNileOiImVmCOEmoSfn3yXlJWmoHGhqp6ilYuWYpmTqKUgAAIfkECQEAAQAsAAAAACgAKAAAApiEH6kb58biQ3FNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/X02pKe8zFwP6EFWOT1lDFk8rGERh1TTNOocQ61Hm4Xm2VexUHpzjymViHrFbiELsefVrn6XKfnt2Q9G/+Xdie499XHd2g4h7ioOGhXGJboGAnXSBnoBwKYyfioubZJ2Hn0RuRZaflZOil56Zp6iioKSXpUAAAh+QQJAQABACwAAAAAKAAoAAACkoQRqRvnxuI7kU1a1UU5bd5tnSeOZXhmn5lWK3qNTWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==");
666
-	height: 100%;
667
-	-ms-filter: "alpha(opacity=25)"; /* support: IE8 */
668
-	opacity: 0.25;
669
-}
670
-.ui-progressbar-indeterminate .ui-progressbar-value {
671
-	background-image: none;
672
-}
673
-.ui-selectable {
674
-	-ms-touch-action: none;
675
-	touch-action: none;
676
-}
677
-.ui-selectable-helper {
678
-	position: absolute;
679
-	z-index: 100;
680
-	border: 1px dotted black;
681
-}
682
-.ui-selectmenu-menu {
683
-	padding: 0;
684
-	margin: 0;
685
-	position: absolute;
686
-	top: 0;
687
-	left: 0;
688
-	display: none;
689
-}
690
-.ui-selectmenu-menu .ui-menu {
691
-	overflow: auto;
692
-	overflow-x: hidden;
693
-	padding-bottom: 1px;
694
-}
695
-.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup {
696
-	font-size: 1em;
697
-	font-weight: bold;
698
-	line-height: 1.5;
699
-	padding: 2px 0.4em;
700
-	margin: 0.5em 0 0 0;
701
-	height: auto;
702
-	border: 0;
703
-}
704
-.ui-selectmenu-open {
705
-	display: block;
706
-}
707
-.ui-selectmenu-text {
708
-	display: block;
709
-	margin-right: 20px;
710
-	overflow: hidden;
711
-	text-overflow: ellipsis;
712
-}
713
-.ui-selectmenu-button.ui-button {
714
-	text-align: left;
715
-	white-space: nowrap;
716
-	width: 14em;
717
-}
718
-.ui-selectmenu-icon.ui-icon {
719
-	float: right;
720
-	margin-top: 0;
721
-}
722
-.ui-slider {
723
-	position: relative;
724
-	text-align: left;
725
-}
726
-.ui-slider .ui-slider-handle {
727
-	position: absolute;
728
-	z-index: 2;
729
-	width: 1.2em;
730
-	height: 1.2em;
731
-	cursor: pointer;
732
-	-ms-touch-action: none;
733
-	touch-action: none;
734
-}
735
-.ui-slider .ui-slider-range {
736
-	position: absolute;
737
-	z-index: 1;
738
-	font-size: .7em;
739
-	display: block;
740
-	border: 0;
741
-	background-position: 0 0;
742
-}
743
-
744
-/* support: IE8 - See #6727 */
745
-.ui-slider.ui-state-disabled .ui-slider-handle,
746
-.ui-slider.ui-state-disabled .ui-slider-range {
747
-	filter: inherit;
748
-}
749
-
750
-.ui-slider-horizontal {
751
-	height: .8em;
752
-}
753
-.ui-slider-horizontal .ui-slider-handle {
754
-	top: -.3em;
755
-	margin-left: -.6em;
756
-}
757
-.ui-slider-horizontal .ui-slider-range {
758
-	top: 0;
759
-	height: 100%;
760
-}
761
-.ui-slider-horizontal .ui-slider-range-min {
762
-	left: 0;
763
-}
764
-.ui-slider-horizontal .ui-slider-range-max {
765
-	right: 0;
766
-}
767
-
768
-.ui-slider-vertical {
769
-	width: .8em;
770
-	height: 100px;
771
-}
772
-.ui-slider-vertical .ui-slider-handle {
773
-	left: -.3em;
774
-	margin-left: 0;
775
-	margin-bottom: -.6em;
776
-}
777
-.ui-slider-vertical .ui-slider-range {
778
-	left: 0;
779
-	width: 100%;
780
-}
781
-.ui-slider-vertical .ui-slider-range-min {
782
-	bottom: 0;
783
-}
784
-.ui-slider-vertical .ui-slider-range-max {
785
-	top: 0;
786
-}
787
-.ui-sortable-handle {
788
-	-ms-touch-action: none;
789
-	touch-action: none;
790
-}
791
-.ui-spinner {
792
-	position: relative;
793
-	display: inline-block;
794
-	overflow: hidden;
795
-	padding: 0;
796
-	vertical-align: middle;
797
-}
798
-.ui-spinner-input {
799
-	border: none;
800
-	background: none;
801
-	color: inherit;
802
-	padding: .222em 0;
803
-	margin: .2em 0;
804
-	vertical-align: middle;
805
-	margin-left: .4em;
806
-	margin-right: 2em;
807
-}
808
-.ui-spinner-button {
809
-	width: 1.6em;
810
-	height: 50%;
811
-	font-size: .5em;
812
-	padding: 0;
813
-	margin: 0;
814
-	text-align: center;
815
-	position: absolute;
816
-	cursor: default;
817
-	display: block;
818
-	overflow: hidden;
819
-	right: 0;
820
-}
821
-/* more specificity required here to override default borders */
822
-.ui-spinner a.ui-spinner-button {
823
-	border-top-style: none;
824
-	border-bottom-style: none;
825
-	border-right-style: none;
826
-}
827
-.ui-spinner-up {
828
-	top: 0;
829
-}
830
-.ui-spinner-down {
831
-	bottom: 0;
832
-}
833
-.ui-tabs {
834
-	position: relative;/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
835
-	padding: .2em;
836
-}
837
-.ui-tabs .ui-tabs-nav {
838
-	margin: 0;
839
-	padding: .2em .2em 0;
840
-}
841
-.ui-tabs .ui-tabs-nav li {
842
-	list-style: none;
843
-	float: left;
844
-	position: relative;
845
-	top: 0;
846
-	margin: 1px .2em 0 0;
847
-	border-bottom-width: 0;
848
-	padding: 0;
849
-	white-space: nowrap;
850
-}
851
-.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
852
-	float: left;
853
-	padding: .5em 1em;
854
-	text-decoration: none;
855
-}
856
-.ui-tabs .ui-tabs-nav li.ui-tabs-active {
857
-	margin-bottom: -1px;
858
-	padding-bottom: 1px;
859
-}
860
-.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,
861
-.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,
862
-.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor {
863
-	cursor: text;
864
-}
865
-.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor {
866
-	cursor: pointer;
867
-}
868
-.ui-tabs .ui-tabs-panel {
869
-	display: block;
870
-	border-width: 0;
871
-	padding: 1em 1.4em;
872
-	background: none;
873
-}
874
-.ui-tooltip {
875
-	padding: 8px;
876
-	position: absolute;
877
-	z-index: 9999;
878
-	max-width: 300px;
879
-}
880
-body .ui-tooltip {
881
-	border-width: 2px;
882
-}
883
-
884
-/* Component containers
885
-----------------------------------*/
886
-.ui-widget {
887
-	font-family: Arial,Helvetica,sans-serif;
888
-	font-size: 1em;
889
-}
890
-.ui-widget .ui-widget {
891
-	font-size: 1em;
892
-}
893
-.ui-widget input,
894
-.ui-widget select,
895
-.ui-widget textarea,
896
-.ui-widget button {
897
-	font-family: Arial,Helvetica,sans-serif;
898
-	font-size: 1em;
899
-}
900
-.ui-widget.ui-widget-content {
901
-	border: 1px solid #c5c5c5;
902
-}
903
-.ui-widget-content {
904
-	border: 1px solid #dddddd;
905
-	background: #ffffff;
906
-	color: #333333;
907
-}
908
-.ui-widget-content a {
909
-	color: #333333;
910
-}
911
-.ui-widget-header {
912
-	border: 1px solid #dddddd;
913
-	background: #e9e9e9;
914
-	color: #333333;
915
-	font-weight: bold;
916
-}
917
-.ui-widget-header a {
918
-	color: #333333;
919
-}
920
-
921
-/* Interaction states
922
-----------------------------------*/
923
-.ui-state-default,
924
-.ui-widget-content .ui-state-default,
925
-.ui-widget-header .ui-state-default,
926
-.ui-button,
927
-
928
-/* We use html here because we need a greater specificity to make sure disabled
929
-works properly when clicked or hovered */
930
-html .ui-button.ui-state-disabled:hover,
931
-html .ui-button.ui-state-disabled:active {
932
-	border: 1px solid #c5c5c5;
933
-	background: #f6f6f6;
934
-	font-weight: normal;
935
-	color: #454545;
936
-}
937
-.ui-state-default a,
938
-.ui-state-default a:link,
939
-.ui-state-default a:visited,
940
-a.ui-button,
941
-a:link.ui-button,
942
-a:visited.ui-button,
943
-.ui-button {
944
-	color: #454545;
945
-	text-decoration: none;
946
-}
947
-.ui-state-hover,
948
-.ui-widget-content .ui-state-hover,
949
-.ui-widget-header .ui-state-hover,
950
-.ui-state-focus,
951
-.ui-widget-content .ui-state-focus,
952
-.ui-widget-header .ui-state-focus,
953
-.ui-button:hover,
954
-.ui-button:focus {
955
-	border: 1px solid #cccccc;
956
-	background: #ededed;
957
-	font-weight: normal;
958
-	color: #2b2b2b;
959
-}
960
-.ui-state-hover a,
961
-.ui-state-hover a:hover,
962
-.ui-state-hover a:link,
963
-.ui-state-hover a:visited,
964
-.ui-state-focus a,
965
-.ui-state-focus a:hover,
966
-.ui-state-focus a:link,
967
-.ui-state-focus a:visited,
968
-a.ui-button:hover,
969
-a.ui-button:focus {
970
-	color: #2b2b2b;
971
-	text-decoration: none;
972
-}
973
-
974
-.ui-visual-focus {
975
-	box-shadow: 0 0 3px 1px rgb(94, 158, 214);
976
-}
977
-.ui-state-active,
978
-.ui-widget-content .ui-state-active,
979
-.ui-widget-header .ui-state-active,
980
-a.ui-button:active,
981
-.ui-button:active,
982
-.ui-button.ui-state-active:hover {
983
-	border: 1px solid #003eff;
984
-	background: #007fff;
985
-	font-weight: normal;
986
-	color: #ffffff;
987
-}
988
-.ui-icon-background,
989
-.ui-state-active .ui-icon-background {
990
-	border: #003eff;
991
-	background-color: #ffffff;
992
-}
993
-.ui-state-active a,
994
-.ui-state-active a:link,
995
-.ui-state-active a:visited {
996
-	color: #ffffff;
997
-	text-decoration: none;
998
-}
999
-
1000
-/* Interaction Cues
1001
-----------------------------------*/
1002
-.ui-state-highlight,
1003
-.ui-widget-content .ui-state-highlight,
1004
-.ui-widget-header .ui-state-highlight {
1005
-	border: 1px solid #dad55e;
1006
-	background: #fffa90;
1007
-	color: #777620;
1008
-}
1009
-.ui-state-checked {
1010
-	border: 1px solid #dad55e;
1011
-	background: #fffa90;
1012
-}
1013
-.ui-state-highlight a,
1014
-.ui-widget-content .ui-state-highlight a,
1015
-.ui-widget-header .ui-state-highlight a {
1016
-	color: #777620;
1017
-}
1018
-.ui-state-error,
1019
-.ui-widget-content .ui-state-error,
1020
-.ui-widget-header .ui-state-error {
1021
-	border: 1px solid #f1a899;
1022
-	background: #fddfdf;
1023
-	color: #5f3f3f;
1024
-}
1025
-.ui-state-error a,
1026
-.ui-widget-content .ui-state-error a,
1027
-.ui-widget-header .ui-state-error a {
1028
-	color: #5f3f3f;
1029
-}
1030
-.ui-state-error-text,
1031
-.ui-widget-content .ui-state-error-text,
1032
-.ui-widget-header .ui-state-error-text {
1033
-	color: #5f3f3f;
1034
-}
1035
-.ui-priority-primary,
1036
-.ui-widget-content .ui-priority-primary,
1037
-.ui-widget-header .ui-priority-primary {
1038
-	font-weight: bold;
1039
-}
1040
-.ui-priority-secondary,
1041
-.ui-widget-content .ui-priority-secondary,
1042
-.ui-widget-header .ui-priority-secondary {
1043
-	opacity: .7;
1044
-	-ms-filter: "alpha(opacity=70)"; /* support: IE8 */
1045
-	font-weight: normal;
1046
-}
1047
-.ui-state-disabled,
1048
-.ui-widget-content .ui-state-disabled,
1049
-.ui-widget-header .ui-state-disabled {
1050
-	opacity: .35;
1051
-	-ms-filter: "alpha(opacity=35)"; /* support: IE8 */
1052
-	background-image: none;
1053
-}
1054
-.ui-state-disabled .ui-icon {
1055
-	-ms-filter: "alpha(opacity=35)"; /* support: IE8 - See #6059 */
1056
-}
1057
-
1058
-/* Icons
1059
-----------------------------------*/
1060
-
1061
-/* states and images */
1062
-.ui-icon {
1063
-	width: 16px;
1064
-	height: 16px;
1065
-}
1066
-.ui-icon,
1067
-.ui-widget-content .ui-icon {
1068
-	background-image: url("images/ui-icons_444444_256x240.png");
1069
-}
1070
-.ui-widget-header .ui-icon {
1071
-	background-image: url("images/ui-icons_444444_256x240.png");
1072
-}
1073
-.ui-state-hover .ui-icon,
1074
-.ui-state-focus .ui-icon,
1075
-.ui-button:hover .ui-icon,
1076
-.ui-button:focus .ui-icon {
1077
-	background-image: url("images/ui-icons_555555_256x240.png");
1078
-}
1079
-.ui-state-active .ui-icon,
1080
-.ui-button:active .ui-icon {
1081
-	background-image: url("images/ui-icons_ffffff_256x240.png");
1082
-}
1083
-.ui-state-highlight .ui-icon,
1084
-.ui-button .ui-state-highlight.ui-icon {
1085
-	background-image: url("images/ui-icons_777620_256x240.png");
1086
-}
1087
-.ui-state-error .ui-icon,
1088
-.ui-state-error-text .ui-icon {
1089
-	background-image: url("images/ui-icons_cc0000_256x240.png");
1090
-}
1091
-.ui-button .ui-icon {
1092
-	background-image: url("images/ui-icons_777777_256x240.png");
1093
-}
1094
-
1095
-/* positioning */
1096
-/* Three classes needed to override `.ui-button:hover .ui-icon` */
1097
-.ui-icon-blank.ui-icon-blank.ui-icon-blank {
1098
-	background-image: none;
1099
-}
1100
-.ui-icon-caret-1-n { background-position: 0 0; }
1101
-.ui-icon-caret-1-ne { background-position: -16px 0; }
1102
-.ui-icon-caret-1-e { background-position: -32px 0; }
1103
-.ui-icon-caret-1-se { background-position: -48px 0; }
1104
-.ui-icon-caret-1-s { background-position: -65px 0; }
1105
-.ui-icon-caret-1-sw { background-position: -80px 0; }
1106
-.ui-icon-caret-1-w { background-position: -96px 0; }
1107
-.ui-icon-caret-1-nw { background-position: -112px 0; }
1108
-.ui-icon-caret-2-n-s { background-position: -128px 0; }
1109
-.ui-icon-caret-2-e-w { background-position: -144px 0; }
1110
-.ui-icon-triangle-1-n { background-position: 0 -16px; }
1111
-.ui-icon-triangle-1-ne { background-position: -16px -16px; }
1112
-.ui-icon-triangle-1-e { background-position: -32px -16px; }
1113
-.ui-icon-triangle-1-se { background-position: -48px -16px; }
1114
-.ui-icon-triangle-1-s { background-position: -65px -16px; }
1115
-.ui-icon-triangle-1-sw { background-position: -80px -16px; }
1116
-.ui-icon-triangle-1-w { background-position: -96px -16px; }
1117
-.ui-icon-triangle-1-nw { background-position: -112px -16px; }
1118
-.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
1119
-.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
1120
-.ui-icon-arrow-1-n { background-position: 0 -32px; }
1121
-.ui-icon-arrow-1-ne { background-position: -16px -32px; }
1122
-.ui-icon-arrow-1-e { background-position: -32px -32px; }
1123
-.ui-icon-arrow-1-se { background-position: -48px -32px; }
1124
-.ui-icon-arrow-1-s { background-position: -65px -32px; }
1125
-.ui-icon-arrow-1-sw { background-position: -80px -32px; }
1126
-.ui-icon-arrow-1-w { background-position: -96px -32px; }
1127
-.ui-icon-arrow-1-nw { background-position: -112px -32px; }
1128
-.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
1129
-.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
1130
-.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
1131
-.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
1132
-.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
1133
-.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
1134
-.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
1135
-.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
1136
-.ui-icon-arrowthick-1-n { background-position: 1px -48px; }
1137
-.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
1138
-.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
1139
-.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
1140
-.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
1141
-.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
1142
-.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
1143
-.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
1144
-.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
1145
-.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
1146
-.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
1147
-.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
1148
-.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
1149
-.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
1150
-.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
1151
-.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
1152
-.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
1153
-.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
1154
-.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
1155
-.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
1156
-.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
1157
-.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
1158
-.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
1159
-.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
1160
-.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
1161
-.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
1162
-.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
1163
-.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
1164
-.ui-icon-arrow-4 { background-position: 0 -80px; }
1165
-.ui-icon-arrow-4-diag { background-position: -16px -80px; }
1166
-.ui-icon-extlink { background-position: -32px -80px; }
1167
-.ui-icon-newwin { background-position: -48px -80px; }
1168
-.ui-icon-refresh { background-position: -64px -80px; }
1169
-.ui-icon-shuffle { background-position: -80px -80px; }
1170
-.ui-icon-transfer-e-w { background-position: -96px -80px; }
1171
-.ui-icon-transferthick-e-w { background-position: -112px -80px; }
1172
-.ui-icon-folder-collapsed { background-position: 0 -96px; }
1173
-.ui-icon-folder-open { background-position: -16px -96px; }
1174
-.ui-icon-document { background-position: -32px -96px; }
1175
-.ui-icon-document-b { background-position: -48px -96px; }
1176
-.ui-icon-note { background-position: -64px -96px; }
1177
-.ui-icon-mail-closed { background-position: -80px -96px; }
1178
-.ui-icon-mail-open { background-position: -96px -96px; }
1179
-.ui-icon-suitcase { background-position: -112px -96px; }
1180
-.ui-icon-comment { background-position: -128px -96px; }
1181
-.ui-icon-person { background-position: -144px -96px; }
1182
-.ui-icon-print { background-position: -160px -96px; }
1183
-.ui-icon-trash { background-position: -176px -96px; }
1184
-.ui-icon-locked { background-position: -192px -96px; }
1185
-.ui-icon-unlocked { background-position: -208px -96px; }
1186
-.ui-icon-bookmark { background-position: -224px -96px; }
1187
-.ui-icon-tag { background-position: -240px -96px; }
1188
-.ui-icon-home { background-position: 0 -112px; }
1189
-.ui-icon-flag { background-position: -16px -112px; }
1190
-.ui-icon-calendar { background-position: -32px -112px; }
1191
-.ui-icon-cart { background-position: -48px -112px; }
1192
-.ui-icon-pencil { background-position: -64px -112px; }
1193
-.ui-icon-clock { background-position: -80px -112px; }
1194
-.ui-icon-disk { background-position: -96px -112px; }
1195
-.ui-icon-calculator { background-position: -112px -112px; }
1196
-.ui-icon-zoomin { background-position: -128px -112px; }
1197
-.ui-icon-zoomout { background-position: -144px -112px; }
1198
-.ui-icon-search { background-position: -160px -112px; }
1199
-.ui-icon-wrench { background-position: -176px -112px; }
1200
-.ui-icon-gear { background-position: -192px -112px; }
1201
-.ui-icon-heart { background-position: -208px -112px; }
1202
-.ui-icon-star { background-position: -224px -112px; }
1203
-.ui-icon-link { background-position: -240px -112px; }
1204
-.ui-icon-cancel { background-position: 0 -128px; }
1205
-.ui-icon-plus { background-position: -16px -128px; }
1206
-.ui-icon-plusthick { background-position: -32px -128px; }
1207
-.ui-icon-minus { background-position: -48px -128px; }
1208
-.ui-icon-minusthick { background-position: -64px -128px; }
1209
-.ui-icon-close { background-position: -80px -128px; }
1210
-.ui-icon-closethick { background-position: -96px -128px; }
1211
-.ui-icon-key { background-position: -112px -128px; }
1212
-.ui-icon-lightbulb { background-position: -128px -128px; }
1213
-.ui-icon-scissors { background-position: -144px -128px; }
1214
-.ui-icon-clipboard { background-position: -160px -128px; }
1215
-.ui-icon-copy { background-position: -176px -128px; }
1216
-.ui-icon-contact { background-position: -192px -128px; }
1217
-.ui-icon-image { background-position: -208px -128px; }
1218
-.ui-icon-video { background-position: -224px -128px; }
1219
-.ui-icon-script { background-position: -240px -128px; }
1220
-.ui-icon-alert { background-position: 0 -144px; }
1221
-.ui-icon-info { background-position: -16px -144px; }
1222
-.ui-icon-notice { background-position: -32px -144px; }
1223
-.ui-icon-help { background-position: -48px -144px; }
1224
-.ui-icon-check { background-position: -64px -144px; }
1225
-.ui-icon-bullet { background-position: -80px -144px; }
1226
-.ui-icon-radio-on { background-position: -96px -144px; }
1227
-.ui-icon-radio-off { background-position: -112px -144px; }
1228
-.ui-icon-pin-w { background-position: -128px -144px; }
1229
-.ui-icon-pin-s { background-position: -144px -144px; }
1230
-.ui-icon-play { background-position: 0 -160px; }
1231
-.ui-icon-pause { background-position: -16px -160px; }
1232
-.ui-icon-seek-next { background-position: -32px -160px; }
1233
-.ui-icon-seek-prev { background-position: -48px -160px; }
1234
-.ui-icon-seek-end { background-position: -64px -160px; }
1235
-.ui-icon-seek-start { background-position: -80px -160px; }
1236
-/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
1237
-.ui-icon-seek-first { background-position: -80px -160px; }
1238
-.ui-icon-stop { background-position: -96px -160px; }
1239
-.ui-icon-eject { background-position: -112px -160px; }
1240
-.ui-icon-volume-off { background-position: -128px -160px; }
1241
-.ui-icon-volume-on { background-position: -144px -160px; }
1242
-.ui-icon-power { background-position: 0 -176px; }
1243
-.ui-icon-signal-diag { background-position: -16px -176px; }
1244
-.ui-icon-signal { background-position: -32px -176px; }
1245
-.ui-icon-battery-0 { background-position: -48px -176px; }
1246
-.ui-icon-battery-1 { background-position: -64px -176px; }
1247
-.ui-icon-battery-2 { background-position: -80px -176px; }
1248
-.ui-icon-battery-3 { background-position: -96px -176px; }
1249
-.ui-icon-circle-plus { background-position: 0 -192px; }
1250
-.ui-icon-circle-minus { background-position: -16px -192px; }
1251
-.ui-icon-circle-close { background-position: -32px -192px; }
1252
-.ui-icon-circle-triangle-e { background-position: -48px -192px; }
1253
-.ui-icon-circle-triangle-s { background-position: -64px -192px; }
1254
-.ui-icon-circle-triangle-w { background-position: -80px -192px; }
1255
-.ui-icon-circle-triangle-n { background-position: -96px -192px; }
1256
-.ui-icon-circle-arrow-e { background-position: -112px -192px; }
1257
-.ui-icon-circle-arrow-s { background-position: -128px -192px; }
1258
-.ui-icon-circle-arrow-w { background-position: -144px -192px; }
1259
-.ui-icon-circle-arrow-n { background-position: -160px -192px; }
1260
-.ui-icon-circle-zoomin { background-position: -176px -192px; }
1261
-.ui-icon-circle-zoomout { background-position: -192px -192px; }
1262
-.ui-icon-circle-check { background-position: -208px -192px; }
1263
-.ui-icon-circlesmall-plus { background-position: 0 -208px; }
1264
-.ui-icon-circlesmall-minus { background-position: -16px -208px; }
1265
-.ui-icon-circlesmall-close { background-position: -32px -208px; }
1266
-.ui-icon-squaresmall-plus { background-position: -48px -208px; }
1267
-.ui-icon-squaresmall-minus { background-position: -64px -208px; }
1268
-.ui-icon-squaresmall-close { background-position: -80px -208px; }
1269
-.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
1270
-.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
1271
-.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
1272
-.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
1273
-.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
1274
-.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
1275
-
1276
-
1277
-/* Misc visuals
1278
-----------------------------------*/
1279
-
1280
-/* Corner radius */
1281
-.ui-corner-all,
1282
-.ui-corner-top,
1283
-.ui-corner-left,
1284
-.ui-corner-tl {
1285
-	border-top-left-radius: 3px;
1286
-}
1287
-.ui-corner-all,
1288
-.ui-corner-top,
1289
-.ui-corner-right,
1290
-.ui-corner-tr {
1291
-	border-top-right-radius: 3px;
1292
-}
1293
-.ui-corner-all,
1294
-.ui-corner-bottom,
1295
-.ui-corner-left,
1296
-.ui-corner-bl {
1297
-	border-bottom-left-radius: 3px;
1298
-}
1299
-.ui-corner-all,
1300
-.ui-corner-bottom,
1301
-.ui-corner-right,
1302
-.ui-corner-br {
1303
-	border-bottom-right-radius: 3px;
1304
-}
1305
-
1306
-/* Overlays */
1307
-.ui-widget-overlay {
1308
-	background: #aaaaaa;
1309
-	opacity: .003;
1310
-	-ms-filter: Alpha(Opacity=.3); /* support: IE8 */
1311
-}
1312
-.ui-widget-shadow {
1313
-	-webkit-box-shadow: 0px 0px 5px #666666;
1314
-	box-shadow: 0px 0px 5px #666666;
1315
-}
... ...
@@ -1,19062 +0,0 @@
1
-/*! jQuery UI - v1.13.2 - 2022-07-14
2
-* http://jqueryui.com
3
-* Includes: widget.js, position.js, data.js, disable-selection.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/effect-pulsate.js, effects/effect-scale.js, effects/effect-shake.js, effects/effect-size.js, effects/effect-slide.js, effects/effect-transfer.js, focusable.js, form-reset-mixin.js, jquery-patch.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/accordion.js, widgets/autocomplete.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/datepicker.js, widgets/dialog.js, widgets/draggable.js, widgets/droppable.js, widgets/menu.js, widgets/mouse.js, widgets/progressbar.js, widgets/resizable.js, widgets/selectable.js, widgets/selectmenu.js, widgets/slider.js, widgets/sortable.js, widgets/spinner.js, widgets/tabs.js, widgets/tooltip.js
4
-* Copyright jQuery Foundation and other contributors; Licensed MIT */
5
-
6
-( function( factory ) {
7
-	"use strict";
8
-	
9
-	if ( typeof define === "function" && define.amd ) {
10
-
11
-		// AMD. Register as an anonymous module.
12
-		define( [ "jquery" ], factory );
13
-	} else {
14
-
15
-		// Browser globals
16
-		factory( jQuery );
17
-	}
18
-} )( function( $ ) {
19
-"use strict";
20
-
21
-$.ui = $.ui || {};
22
-
23
-var version = $.ui.version = "1.13.2";
24
-
25
-
26
-/*!
27
- * jQuery UI Widget 1.13.2
28
- * http://jqueryui.com
29
- *
30
- * Copyright jQuery Foundation and other contributors
31
- * Released under the MIT license.
32
- * http://jquery.org/license
33
- */
34
-
35
-//>>label: Widget
36
-//>>group: Core
37
-//>>description: Provides a factory for creating stateful widgets with a common API.
38
-//>>docs: http://api.jqueryui.com/jQuery.widget/
39
-//>>demos: http://jqueryui.com/widget/
40
-
41
-
42
-var widgetUuid = 0;
43
-var widgetHasOwnProperty = Array.prototype.hasOwnProperty;
44
-var widgetSlice = Array.prototype.slice;
45
-
46
-$.cleanData = ( function( orig ) {
47
-	return function( elems ) {
48
-		var events, elem, i;
49
-		for ( i = 0; ( elem = elems[ i ] ) != null; i++ ) {
50
-
51
-			// Only trigger remove when necessary to save time
52
-			events = $._data( elem, "events" );
53
-			if ( events && events.remove ) {
54
-				$( elem ).triggerHandler( "remove" );
55
-			}
56
-		}
57
-		orig( elems );
58
-	};
59
-} )( $.cleanData );
60
-
61
-$.widget = function( name, base, prototype ) {
62
-	var existingConstructor, constructor, basePrototype;
63
-
64
-	// ProxiedPrototype allows the provided prototype to remain unmodified
65
-	// so that it can be used as a mixin for multiple widgets (#8876)
66
-	var proxiedPrototype = {};
67
-
68
-	var namespace = name.split( "." )[ 0 ];
69
-	name = name.split( "." )[ 1 ];
70
-	var fullName = namespace + "-" + name;
71
-
72
-	if ( !prototype ) {
73
-		prototype = base;
74
-		base = $.Widget;
75
-	}
76
-
77
-	if ( Array.isArray( prototype ) ) {
78
-		prototype = $.extend.apply( null, [ {} ].concat( prototype ) );
79
-	}
80
-
81
-	// Create selector for plugin
82
-	$.expr.pseudos[ fullName.toLowerCase() ] = function( elem ) {
83
-		return !!$.data( elem, fullName );
84
-	};
85
-
86
-	$[ namespace ] = $[ namespace ] || {};
87
-	existingConstructor = $[ namespace ][ name ];
88
-	constructor = $[ namespace ][ name ] = function( options, element ) {
89
-
90
-		// Allow instantiation without "new" keyword
91
-		if ( !this || !this._createWidget ) {
92
-			return new constructor( options, element );
93
-		}
94
-
95
-		// Allow instantiation without initializing for simple inheritance
96
-		// must use "new" keyword (the code above always passes args)
97
-		if ( arguments.length ) {
98
-			this._createWidget( options, element );
99
-		}
100
-	};
101
-
102
-	// Extend with the existing constructor to carry over any static properties
103
-	$.extend( constructor, existingConstructor, {
104
-		version: prototype.version,
105
-
106
-		// Copy the object used to create the prototype in case we need to
107
-		// redefine the widget later
108
-		_proto: $.extend( {}, prototype ),
109
-
110
-		// Track widgets that inherit from this widget in case this widget is
111
-		// redefined after a widget inherits from it
112
-		_childConstructors: []
113
-	} );
114
-
115
-	basePrototype = new base();
116
-
117
-	// We need to make the options hash a property directly on the new instance
118
-	// otherwise we'll modify the options hash on the prototype that we're
119
-	// inheriting from
120
-	basePrototype.options = $.widget.extend( {}, basePrototype.options );
121
-	$.each( prototype, function( prop, value ) {
122
-		if ( typeof value !== "function" ) {
123
-			proxiedPrototype[ prop ] = value;
124
-			return;
125
-		}
126
-		proxiedPrototype[ prop ] = ( function() {
127
-			function _super() {
128
-				return base.prototype[ prop ].apply( this, arguments );
129
-			}
130
-
131
-			function _superApply( args ) {
132
-				return base.prototype[ prop ].apply( this, args );
133
-			}
134
-
135
-			return function() {
136
-				var __super = this._super;
137
-				var __superApply = this._superApply;
138
-				var returnValue;
139
-
140
-				this._super = _super;
141
-				this._superApply = _superApply;
142
-
143
-				returnValue = value.apply( this, arguments );
144
-
145
-				this._super = __super;
146
-				this._superApply = __superApply;
147
-
148
-				return returnValue;
149
-			};
150
-		} )();
151
-	} );
152
-	constructor.prototype = $.widget.extend( basePrototype, {
153
-
154
-		// TODO: remove support for widgetEventPrefix
155
-		// always use the name + a colon as the prefix, e.g., draggable:start
156
-		// don't prefix for widgets that aren't DOM-based
157
-		widgetEventPrefix: existingConstructor ? ( basePrototype.widgetEventPrefix || name ) : name
158
-	}, proxiedPrototype, {
159
-		constructor: constructor,
160
-		namespace: namespace,
161
-		widgetName: name,
162
-		widgetFullName: fullName
163
-	} );
164
-
165
-	// If this widget is being redefined then we need to find all widgets that
166
-	// are inheriting from it and redefine all of them so that they inherit from
167
-	// the new version of this widget. We're essentially trying to replace one
168
-	// level in the prototype chain.
169
-	if ( existingConstructor ) {
170
-		$.each( existingConstructor._childConstructors, function( i, child ) {
171
-			var childPrototype = child.prototype;
172
-
173
-			// Redefine the child widget using the same prototype that was
174
-			// originally used, but inherit from the new version of the base
175
-			$.widget( childPrototype.namespace + "." + childPrototype.widgetName, constructor,
176
-				child._proto );
177
-		} );
178
-
179
-		// Remove the list of existing child constructors from the old constructor
180
-		// so the old child constructors can be garbage collected
181
-		delete existingConstructor._childConstructors;
182
-	} else {
183
-		base._childConstructors.push( constructor );
184
-	}
185
-
186
-	$.widget.bridge( name, constructor );
187
-
188
-	return constructor;
189
-};
190
-
191
-$.widget.extend = function( target ) {
192
-	var input = widgetSlice.call( arguments, 1 );
193
-	var inputIndex = 0;
194
-	var inputLength = input.length;
195
-	var key;
196
-	var value;
197
-
198
-	for ( ; inputIndex < inputLength; inputIndex++ ) {
199
-		for ( key in input[ inputIndex ] ) {
200
-			value = input[ inputIndex ][ key ];
201
-			if ( widgetHasOwnProperty.call( input[ inputIndex ], key ) && value !== undefined ) {
202
-
203
-				// Clone objects
204
-				if ( $.isPlainObject( value ) ) {
205
-					target[ key ] = $.isPlainObject( target[ key ] ) ?
206
-						$.widget.extend( {}, target[ key ], value ) :
207
-
208
-						// Don't extend strings, arrays, etc. with objects
209
-						$.widget.extend( {}, value );
210
-
211
-				// Copy everything else by reference
212
-				} else {
213
-					target[ key ] = value;
214
-				}
215
-			}
216
-		}
217
-	}
218
-	return target;
219
-};
220
-
221
-$.widget.bridge = function( name, object ) {
222
-	var fullName = object.prototype.widgetFullName || name;
223
-	$.fn[ name ] = function( options ) {
224
-		var isMethodCall = typeof options === "string";
225
-		var args = widgetSlice.call( arguments, 1 );
226
-		var returnValue = this;
227
-
228
-		if ( isMethodCall ) {
229
-
230
-			// If this is an empty collection, we need to have the instance method
231
-			// return undefined instead of the jQuery instance
232
-			if ( !this.length && options === "instance" ) {
233
-				returnValue = undefined;
234
-			} else {
235
-				this.each( function() {
236
-					var methodValue;
237
-					var instance = $.data( this, fullName );
238
-
239
-					if ( options === "instance" ) {
240
-						returnValue = instance;
241
-						return false;
242
-					}
243
-
244
-					if ( !instance ) {
245
-						return $.error( "cannot call methods on " + name +
246
-							" prior to initialization; " +
247
-							"attempted to call method '" + options + "'" );
248
-					}
249
-
250
-					if ( typeof instance[ options ] !== "function" ||
251
-						options.charAt( 0 ) === "_" ) {
252
-						return $.error( "no such method '" + options + "' for " + name +
253
-							" widget instance" );
254
-					}
255
-
256
-					methodValue = instance[ options ].apply( instance, args );
257
-
258
-					if ( methodValue !== instance && methodValue !== undefined ) {
259
-						returnValue = methodValue && methodValue.jquery ?
260
-							returnValue.pushStack( methodValue.get() ) :
261
-							methodValue;
262
-						return false;
263
-					}
264
-				} );
265
-			}
266
-		} else {
267
-
268
-			// Allow multiple hashes to be passed on init
269
-			if ( args.length ) {
270
-				options = $.widget.extend.apply( null, [ options ].concat( args ) );
271
-			}
272
-
273
-			this.each( function() {
274
-				var instance = $.data( this, fullName );
275
-				if ( instance ) {
276
-					instance.option( options || {} );
277
-					if ( instance._init ) {
278
-						instance._init();
279
-					}
280
-				} else {
281
-					$.data( this, fullName, new object( options, this ) );
282
-				}
283
-			} );
284
-		}
285
-
286
-		return returnValue;
287
-	};
288
-};
289
-
290
-$.Widget = function( /* options, element */ ) {};
291
-$.Widget._childConstructors = [];
292
-
293
-$.Widget.prototype = {
294
-	widgetName: "widget",
295
-	widgetEventPrefix: "",
296
-	defaultElement: "<div>",
297
-
298
-	options: {
299
-		classes: {},
300
-		disabled: false,
301
-
302
-		// Callbacks
303
-		create: null
304
-	},
305
-
306
-	_createWidget: function( options, element ) {
307
-		element = $( element || this.defaultElement || this )[ 0 ];
308
-		this.element = $( element );
309
-		this.uuid = widgetUuid++;
310
-		this.eventNamespace = "." + this.widgetName + this.uuid;
311
-
312
-		this.bindings = $();
313
-		this.hoverable = $();
314
-		this.focusable = $();
315
-		this.classesElementLookup = {};
316
-
317
-		if ( element !== this ) {
318
-			$.data( element, this.widgetFullName, this );
319
-			this._on( true, this.element, {
320
-				remove: function( event ) {
321
-					if ( event.target === element ) {
322
-						this.destroy();
323
-					}
324
-				}
325
-			} );
326
-			this.document = $( element.style ?
327
-
328
-				// Element within the document
329
-				element.ownerDocument :
330
-
331
-				// Element is window or document
332
-				element.document || element );
333
-			this.window = $( this.document[ 0 ].defaultView || this.document[ 0 ].parentWindow );
334
-		}
335
-
336
-		this.options = $.widget.extend( {},
337
-			this.options,
338
-			this._getCreateOptions(),
339
-			options );
340
-
341
-		this._create();
342
-
343
-		if ( this.options.disabled ) {
344
-			this._setOptionDisabled( this.options.disabled );
345
-		}
346
-
347
-		this._trigger( "create", null, this._getCreateEventData() );
348
-		this._init();
349
-	},
350
-
351
-	_getCreateOptions: function() {
352
-		return {};
353
-	},
354
-
355
-	_getCreateEventData: $.noop,
356
-
357
-	_create: $.noop,
358
-
359
-	_init: $.noop,
360
-
361
-	destroy: function() {
362
-		var that = this;
363
-
364
-		this._destroy();
365
-		$.each( this.classesElementLookup, function( key, value ) {
366
-			that._removeClass( value, key );
367
-		} );
368
-
369
-		// We can probably remove the unbind calls in 2.0
370
-		// all event bindings should go through this._on()
371
-		this.element
372
-			.off( this.eventNamespace )
373
-			.removeData( this.widgetFullName );
374
-		this.widget()
375
-			.off( this.eventNamespace )
376
-			.removeAttr( "aria-disabled" );
377
-
378
-		// Clean up events and states
379
-		this.bindings.off( this.eventNamespace );
380
-	},
381
-
382
-	_destroy: $.noop,
383
-
384
-	widget: function() {
385
-		return this.element;
386
-	},
387
-
388
-	option: function( key, value ) {
389
-		var options = key;
390
-		var parts;
391
-		var curOption;
392
-		var i;
393
-
394
-		if ( arguments.length === 0 ) {
395
-
396
-			// Don't return a reference to the internal hash
397
-			return $.widget.extend( {}, this.options );
398
-		}
399
-
400
-		if ( typeof key === "string" ) {
401
-
402
-			// Handle nested keys, e.g., "foo.bar" => { foo: { bar: ___ } }
403
-			options = {};
404
-			parts = key.split( "." );
405
-			key = parts.shift();
406
-			if ( parts.length ) {
407
-				curOption = options[ key ] = $.widget.extend( {}, this.options[ key ] );
408
-				for ( i = 0; i < parts.length - 1; i++ ) {
409
-					curOption[ parts[ i ] ] = curOption[ parts[ i ] ] || {};
410
-					curOption = curOption[ parts[ i ] ];
411
-				}
412
-				key = parts.pop();
413
-				if ( arguments.length === 1 ) {
414
-					return curOption[ key ] === undefined ? null : curOption[ key ];
415
-				}
416
-				curOption[ key ] = value;
417
-			} else {
418
-				if ( arguments.length === 1 ) {
419
-					return this.options[ key ] === undefined ? null : this.options[ key ];
420
-				}
421
-				options[ key ] = value;
422
-			}
423
-		}
424
-
425
-		this._setOptions( options );
426
-
427
-		return this;
428
-	},
429
-
430
-	_setOptions: function( options ) {
431
-		var key;
432
-
433
-		for ( key in options ) {
434
-			this._setOption( key, options[ key ] );
435
-		}
436
-
437
-		return this;
438
-	},
439
-
440
-	_setOption: function( key, value ) {
441
-		if ( key === "classes" ) {
442
-			this._setOptionClasses( value );
443
-		}
444
-
445
-		this.options[ key ] = value;
446
-
447
-		if ( key === "disabled" ) {
448
-			this._setOptionDisabled( value );
449
-		}
450
-
451
-		return this;
452
-	},
453
-
454
-	_setOptionClasses: function( value ) {
455
-		var classKey, elements, currentElements;
456
-
457
-		for ( classKey in value ) {
458
-			currentElements = this.classesElementLookup[ classKey ];
459
-			if ( value[ classKey ] === this.options.classes[ classKey ] ||
460
-					!currentElements ||
461
-					!currentElements.length ) {
462
-				continue;
463
-			}
464
-
465
-			// We are doing this to create a new jQuery object because the _removeClass() call
466
-			// on the next line is going to destroy the reference to the current elements being
467
-			// tracked. We need to save a copy of this collection so that we can add the new classes
468
-			// below.
469
-			elements = $( currentElements.get() );
470
-			this._removeClass( currentElements, classKey );
471
-
472
-			// We don't use _addClass() here, because that uses this.options.classes
473
-			// for generating the string of classes. We want to use the value passed in from
474
-			// _setOption(), this is the new value of the classes option which was passed to
475
-			// _setOption(). We pass this value directly to _classes().
476
-			elements.addClass( this._classes( {
477
-				element: elements,
478
-				keys: classKey,
479
-				classes: value,
480
-				add: true
481
-			} ) );
482
-		}
483
-	},
484
-
485
-	_setOptionDisabled: function( value ) {
486
-		this._toggleClass( this.widget(), this.widgetFullName + "-disabled", null, !!value );
487
-
488
-		// If the widget is becoming disabled, then nothing is interactive
489
-		if ( value ) {
490
-			this._removeClass( this.hoverable, null, "ui-state-hover" );
491
-			this._removeClass( this.focusable, null, "ui-state-focus" );
492
-		}
493
-	},
494
-
495
-	enable: function() {
496
-		return this._setOptions( { disabled: false } );
497
-	},
498
-
499
-	disable: function() {
500
-		return this._setOptions( { disabled: true } );
501
-	},
502
-
503
-	_classes: function( options ) {
504
-		var full = [];
505
-		var that = this;
506
-
507
-		options = $.extend( {
508
-			element: this.element,
509
-			classes: this.options.classes || {}
510
-		}, options );
511
-
512
-		function bindRemoveEvent() {
513
-			var nodesToBind = [];
514
-
515
-			options.element.each( function( _, element ) {
516
-				var isTracked = $.map( that.classesElementLookup, function( elements ) {
517
-					return elements;
518
-				} )
519
-					.some( function( elements ) {
520
-						return elements.is( element );
521
-					} );
522
-
523
-				if ( !isTracked ) {
524
-					nodesToBind.push( element );
525
-				}
526
-			} );
527
-
528
-			that._on( $( nodesToBind ), {
529
-				remove: "_untrackClassesElement"
530
-			} );
531
-		}
532
-
533
-		function processClassString( classes, checkOption ) {
534
-			var current, i;
535
-			for ( i = 0; i < classes.length; i++ ) {
536
-				current = that.classesElementLookup[ classes[ i ] ] || $();
537
-				if ( options.add ) {
538
-					bindRemoveEvent();
539
-					current = $( $.uniqueSort( current.get().concat( options.element.get() ) ) );
540
-				} else {
541
-					current = $( current.not( options.element ).get() );
542
-				}
543
-				that.classesElementLookup[ classes[ i ] ] = current;
544
-				full.push( classes[ i ] );
545
-				if ( checkOption && options.classes[ classes[ i ] ] ) {
546
-					full.push( options.classes[ classes[ i ] ] );
547
-				}
548
-			}
549
-		}
550
-
551
-		if ( options.keys ) {
552
-			processClassString( options.keys.match( /\S+/g ) || [], true );
553
-		}
554
-		if ( options.extra ) {
555
-			processClassString( options.extra.match( /\S+/g ) || [] );
556
-		}
557
-
558
-		return full.join( " " );
559
-	},
560
-
561
-	_untrackClassesElement: function( event ) {
562
-		var that = this;
563
-		$.each( that.classesElementLookup, function( key, value ) {
564
-			if ( $.inArray( event.target, value ) !== -1 ) {
565
-				that.classesElementLookup[ key ] = $( value.not( event.target ).get() );
566
-			}
567
-		} );
568
-
569
-		this._off( $( event.target ) );
570
-	},
571
-
572
-	_removeClass: function( element, keys, extra ) {
573
-		return this._toggleClass( element, keys, extra, false );
574
-	},
575
-
576
-	_addClass: function( element, keys, extra ) {
577
-		return this._toggleClass( element, keys, extra, true );
578
-	},
579
-
580
-	_toggleClass: function( element, keys, extra, add ) {
581
-		add = ( typeof add === "boolean" ) ? add : extra;
582
-		var shift = ( typeof element === "string" || element === null ),
583
-			options = {
584
-				extra: shift ? keys : extra,
585
-				keys: shift ? element : keys,
586
-				element: shift ? this.element : element,
587
-				add: add
588
-			};
589
-		options.element.toggleClass( this._classes( options ), add );
590
-		return this;
591
-	},
592
-
593
-	_on: function( suppressDisabledCheck, element, handlers ) {
594
-		var delegateElement;
595
-		var instance = this;
596
-
597
-		// No suppressDisabledCheck flag, shuffle arguments
598
-		if ( typeof suppressDisabledCheck !== "boolean" ) {
599
-			handlers = element;
600
-			element = suppressDisabledCheck;
601
-			suppressDisabledCheck = false;
602
-		}
603
-
604
-		// No element argument, shuffle and use this.element
605
-		if ( !handlers ) {
606
-			handlers = element;
607
-			element = this.element;
608
-			delegateElement = this.widget();
609
-		} else {
610
-			element = delegateElement = $( element );
611
-			this.bindings = this.bindings.add( element );
612
-		}
613
-
614
-		$.each( handlers, function( event, handler ) {
615
-			function handlerProxy() {
616
-
617
-				// Allow widgets to customize the disabled handling
618
-				// - disabled as an array instead of boolean
619
-				// - disabled class as method for disabling individual parts
620
-				if ( !suppressDisabledCheck &&
621
-						( instance.options.disabled === true ||
622
-						$( this ).hasClass( "ui-state-disabled" ) ) ) {
623
-					return;
624
-				}
625
-				return ( typeof handler === "string" ? instance[ handler ] : handler )
626
-					.apply( instance, arguments );
627
-			}
628
-
629
-			// Copy the guid so direct unbinding works
630
-			if ( typeof handler !== "string" ) {
631
-				handlerProxy.guid = handler.guid =
632
-					handler.guid || handlerProxy.guid || $.guid++;
633
-			}
634
-
635
-			var match = event.match( /^([\w:-]*)\s*(.*)$/ );
636
-			var eventName = match[ 1 ] + instance.eventNamespace;
637
-			var selector = match[ 2 ];
638
-
639
-			if ( selector ) {
640
-				delegateElement.on( eventName, selector, handlerProxy );
641
-			} else {
642
-				element.on( eventName, handlerProxy );
643
-			}
644
-		} );
645
-	},
646
-
647
-	_off: function( element, eventName ) {
648
-		eventName = ( eventName || "" ).split( " " ).join( this.eventNamespace + " " ) +
649
-			this.eventNamespace;
650
-		element.off( eventName );
651
-
652
-		// Clear the stack to avoid memory leaks (#10056)
653
-		this.bindings = $( this.bindings.not( element ).get() );
654
-		this.focusable = $( this.focusable.not( element ).get() );
655
-		this.hoverable = $( this.hoverable.not( element ).get() );
656
-	},
657
-
658
-	_delay: function( handler, delay ) {
659
-		function handlerProxy() {
660
-			return ( typeof handler === "string" ? instance[ handler ] : handler )
661
-				.apply( instance, arguments );
662
-		}
663
-		var instance = this;
664
-		return setTimeout( handlerProxy, delay || 0 );
665
-	},
666
-
667
-	_hoverable: function( element ) {
668
-		this.hoverable = this.hoverable.add( element );
669
-		this._on( element, {
670
-			mouseenter: function( event ) {
671
-				this._addClass( $( event.currentTarget ), null, "ui-state-hover" );
672
-			},
673
-			mouseleave: function( event ) {
674
-				this._removeClass( $( event.currentTarget ), null, "ui-state-hover" );
675
-			}
676
-		} );
677
-	},
678
-
679
-	_focusable: function( element ) {
680
-		this.focusable = this.focusable.add( element );
681
-		this._on( element, {
682
-			focusin: function( event ) {
683
-				this._addClass( $( event.currentTarget ), null, "ui-state-focus" );
684
-			},
685
-			focusout: function( event ) {
686
-				this._removeClass( $( event.currentTarget ), null, "ui-state-focus" );
687
-			}
688
-		} );
689
-	},
690
-
691
-	_trigger: function( type, event, data ) {
692
-		var prop, orig;
693
-		var callback = this.options[ type ];
694
-
695
-		data = data || {};
696
-		event = $.Event( event );
697
-		event.type = ( type === this.widgetEventPrefix ?
698
-			type :
699
-			this.widgetEventPrefix + type ).toLowerCase();
700
-
701
-		// The original event may come from any element
702
-		// so we need to reset the target on the new event
703
-		event.target = this.element[ 0 ];
704
-
705
-		// Copy original event properties over to the new event
706
-		orig = event.originalEvent;
707
-		if ( orig ) {
708
-			for ( prop in orig ) {
709
-				if ( !( prop in event ) ) {
710
-					event[ prop ] = orig[ prop ];
711
-				}
712
-			}
713
-		}
714
-
715
-		this.element.trigger( event, data );
716
-		return !( typeof callback === "function" &&
717
-			callback.apply( this.element[ 0 ], [ event ].concat( data ) ) === false ||
718
-			event.isDefaultPrevented() );
719
-	}
720
-};
721
-
722
-$.each( { show: "fadeIn", hide: "fadeOut" }, function( method, defaultEffect ) {
723
-	$.Widget.prototype[ "_" + method ] = function( element, options, callback ) {
724
-		if ( typeof options === "string" ) {
725
-			options = { effect: options };
726
-		}
727
-
728
-		var hasOptions;
729
-		var effectName = !options ?
730
-			method :
731
-			options === true || typeof options === "number" ?
732
-				defaultEffect :
733
-				options.effect || defaultEffect;
734
-
735
-		options = options || {};
736
-		if ( typeof options === "number" ) {
737
-			options = { duration: options };
738
-		} else if ( options === true ) {
739
-			options = {};
740
-		}
741
-
742
-		hasOptions = !$.isEmptyObject( options );
743
-		options.complete = callback;
744
-
745
-		if ( options.delay ) {
746
-			element.delay( options.delay );
747
-		}
748
-
749
-		if ( hasOptions && $.effects && $.effects.effect[ effectName ] ) {
750
-			element[ method ]( options );
751
-		} else if ( effectName !== method && element[ effectName ] ) {
752
-			element[ effectName ]( options.duration, options.easing, callback );
753
-		} else {
754
-			element.queue( function( next ) {
755
-				$( this )[ method ]();
756
-				if ( callback ) {
757
-					callback.call( element[ 0 ] );
758
-				}
759
-				next();
760
-			} );
761
-		}
762
-	};
763
-} );
764
-
765
-var widget = $.widget;
766
-
767
-
768
-/*!
769
- * jQuery UI Position 1.13.2
770
- * http://jqueryui.com
771
- *
772
- * Copyright jQuery Foundation and other contributors
773
- * Released under the MIT license.
774
- * http://jquery.org/license
775
- *
776
- * http://api.jqueryui.com/position/
777
- */
778
-
779
-//>>label: Position
780
-//>>group: Core
781
-//>>description: Positions elements relative to other elements.
782
-//>>docs: http://api.jqueryui.com/position/
783
-//>>demos: http://jqueryui.com/position/
784
-
785
-
786
-( function() {
787
-var cachedScrollbarWidth,
788
-	max = Math.max,
789
-	abs = Math.abs,
790
-	rhorizontal = /left|center|right/,
791
-	rvertical = /top|center|bottom/,
792
-	roffset = /[\+\-]\d+(\.[\d]+)?%?/,
793
-	rposition = /^\w+/,
794
-	rpercent = /%$/,
795
-	_position = $.fn.position;
796
-
797
-function getOffsets( offsets, width, height ) {
798
-	return [
799
-		parseFloat( offsets[ 0 ] ) * ( rpercent.test( offsets[ 0 ] ) ? width / 100 : 1 ),
800
-		parseFloat( offsets[ 1 ] ) * ( rpercent.test( offsets[ 1 ] ) ? height / 100 : 1 )
801
-	];
802
-}
803
-
804
-function parseCss( element, property ) {
805
-	return parseInt( $.css( element, property ), 10 ) || 0;
806
-}
807
-
808
-function isWindow( obj ) {
809
-	return obj != null && obj === obj.window;
810
-}
811
-
812
-function getDimensions( elem ) {
813
-	var raw = elem[ 0 ];
814
-	if ( raw.nodeType === 9 ) {
815
-		return {
816
-			width: elem.width(),
817
-			height: elem.height(),
818
-			offset: { top: 0, left: 0 }
819
-		};
820
-	}
821
-	if ( isWindow( raw ) ) {
822
-		return {
823
-			width: elem.width(),
824
-			height: elem.height(),
825
-			offset: { top: elem.scrollTop(), left: elem.scrollLeft() }
826
-		};
827
-	}
828
-	if ( raw.preventDefault ) {
829
-		return {
830
-			width: 0,
831
-			height: 0,
832
-			offset: { top: raw.pageY, left: raw.pageX }
833
-		};
834
-	}
835
-	return {
836
-		width: elem.outerWidth(),
837
-		height: elem.outerHeight(),
838
-		offset: elem.offset()
839
-	};
840
-}
841
-
842
-$.position = {
843
-	scrollbarWidth: function() {
844
-		if ( cachedScrollbarWidth !== undefined ) {
845
-			return cachedScrollbarWidth;
846
-		}
847
-		var w1, w2,
848
-			div = $( "<div style=" +
849
-				"'display:block;position:absolute;width:200px;height:200px;overflow:hidden;'>" +
850
-				"<div style='height:300px;width:auto;'></div></div>" ),
851
-			innerDiv = div.children()[ 0 ];
852
-
853
-		$( "body" ).append( div );
854
-		w1 = innerDiv.offsetWidth;
855
-		div.css( "overflow", "scroll" );
856
-
857
-		w2 = innerDiv.offsetWidth;
858
-
859
-		if ( w1 === w2 ) {
860
-			w2 = div[ 0 ].clientWidth;
861
-		}
862
-
863
-		div.remove();
864
-
865
-		return ( cachedScrollbarWidth = w1 - w2 );
866
-	},
867
-	getScrollInfo: function( within ) {
868
-		var overflowX = within.isWindow || within.isDocument ? "" :
869
-				within.element.css( "overflow-x" ),
870
-			overflowY = within.isWindow || within.isDocument ? "" :
871
-				within.element.css( "overflow-y" ),
872
-			hasOverflowX = overflowX === "scroll" ||
873
-				( overflowX === "auto" && within.width < within.element[ 0 ].scrollWidth ),
874
-			hasOverflowY = overflowY === "scroll" ||
875
-				( overflowY === "auto" && within.height < within.element[ 0 ].scrollHeight );
876
-		return {
877
-			width: hasOverflowY ? $.position.scrollbarWidth() : 0,
878
-			height: hasOverflowX ? $.position.scrollbarWidth() : 0
879
-		};
880
-	},
881
-	getWithinInfo: function( element ) {
882
-		var withinElement = $( element || window ),
883
-			isElemWindow = isWindow( withinElement[ 0 ] ),
884
-			isDocument = !!withinElement[ 0 ] && withinElement[ 0 ].nodeType === 9,
885
-			hasOffset = !isElemWindow && !isDocument;
886
-		return {
887
-			element: withinElement,
888
-			isWindow: isElemWindow,
889
-			isDocument: isDocument,
890
-			offset: hasOffset ? $( element ).offset() : { left: 0, top: 0 },
891
-			scrollLeft: withinElement.scrollLeft(),
892
-			scrollTop: withinElement.scrollTop(),
893
-			width: withinElement.outerWidth(),
894
-			height: withinElement.outerHeight()
895
-		};
896
-	}
897
-};
898
-
899
-$.fn.position = function( options ) {
900
-	if ( !options || !options.of ) {
901
-		return _position.apply( this, arguments );
902
-	}
903
-
904
-	// Make a copy, we don't want to modify arguments
905
-	options = $.extend( {}, options );
906
-
907
-	var atOffset, targetWidth, targetHeight, targetOffset, basePosition, dimensions,
908
-
909
-		// Make sure string options are treated as CSS selectors
910
-		target = typeof options.of === "string" ?
911
-			$( document ).find( options.of ) :
912
-			$( options.of ),
913
-
914
-		within = $.position.getWithinInfo( options.within ),
915
-		scrollInfo = $.position.getScrollInfo( within ),
916
-		collision = ( options.collision || "flip" ).split( " " ),
917
-		offsets = {};
918
-
919
-	dimensions = getDimensions( target );
920
-	if ( target[ 0 ].preventDefault ) {
921
-
922
-		// Force left top to allow flipping
923
-		options.at = "left top";
924
-	}
925
-	targetWidth = dimensions.width;
926
-	targetHeight = dimensions.height;
927
-	targetOffset = dimensions.offset;
928
-
929
-	// Clone to reuse original targetOffset later
930
-	basePosition = $.extend( {}, targetOffset );
931
-
932
-	// Force my and at to have valid horizontal and vertical positions
933
-	// if a value is missing or invalid, it will be converted to center
934
-	$.each( [ "my", "at" ], function() {
935
-		var pos = ( options[ this ] || "" ).split( " " ),
936
-			horizontalOffset,
937
-			verticalOffset;
938
-
939
-		if ( pos.length === 1 ) {
940
-			pos = rhorizontal.test( pos[ 0 ] ) ?
941
-				pos.concat( [ "center" ] ) :
942
-				rvertical.test( pos[ 0 ] ) ?
943
-					[ "center" ].concat( pos ) :
944
-					[ "center", "center" ];
945
-		}
946
-		pos[ 0 ] = rhorizontal.test( pos[ 0 ] ) ? pos[ 0 ] : "center";
947
-		pos[ 1 ] = rvertical.test( pos[ 1 ] ) ? pos[ 1 ] : "center";
948
-
949
-		// Calculate offsets
950
-		horizontalOffset = roffset.exec( pos[ 0 ] );
951
-		verticalOffset = roffset.exec( pos[ 1 ] );
952
-		offsets[ this ] = [
953
-			horizontalOffset ? horizontalOffset[ 0 ] : 0,
954
-			verticalOffset ? verticalOffset[ 0 ] : 0
955
-		];
956
-
957
-		// Reduce to just the positions without the offsets
958
-		options[ this ] = [
959
-			rposition.exec( pos[ 0 ] )[ 0 ],
960
-			rposition.exec( pos[ 1 ] )[ 0 ]
961
-		];
962
-	} );
963
-
964
-	// Normalize collision option
965
-	if ( collision.length === 1 ) {
966
-		collision[ 1 ] = collision[ 0 ];
967
-	}
968
-
969
-	if ( options.at[ 0 ] === "right" ) {
970
-		basePosition.left += targetWidth;
971
-	} else if ( options.at[ 0 ] === "center" ) {
972
-		basePosition.left += targetWidth / 2;
973
-	}
974
-
975
-	if ( options.at[ 1 ] === "bottom" ) {
976
-		basePosition.top += targetHeight;
977
-	} else if ( options.at[ 1 ] === "center" ) {
978
-		basePosition.top += targetHeight / 2;
979
-	}
980
-
981
-	atOffset = getOffsets( offsets.at, targetWidth, targetHeight );
982
-	basePosition.left += atOffset[ 0 ];
983
-	basePosition.top += atOffset[ 1 ];
984
-
985
-	return this.each( function() {
986
-		var collisionPosition, using,
987
-			elem = $( this ),
988
-			elemWidth = elem.outerWidth(),
989
-			elemHeight = elem.outerHeight(),
990
-			marginLeft = parseCss( this, "marginLeft" ),
991
-			marginTop = parseCss( this, "marginTop" ),
992
-			collisionWidth = elemWidth + marginLeft + parseCss( this, "marginRight" ) +
993
-				scrollInfo.width,
994
-			collisionHeight = elemHeight + marginTop + parseCss( this, "marginBottom" ) +
995
-				scrollInfo.height,
996
-			position = $.extend( {}, basePosition ),
997
-			myOffset = getOffsets( offsets.my, elem.outerWidth(), elem.outerHeight() );
998
-
999
-		if ( options.my[ 0 ] === "right" ) {
1000
-			position.left -= elemWidth;
1001
-		} else if ( options.my[ 0 ] === "center" ) {
1002
-			position.left -= elemWidth / 2;
1003
-		}
1004
-
1005
-		if ( options.my[ 1 ] === "bottom" ) {
1006
-			position.top -= elemHeight;
1007
-		} else if ( options.my[ 1 ] === "center" ) {
1008
-			position.top -= elemHeight / 2;
1009
-		}
1010
-
1011
-		position.left += myOffset[ 0 ];
1012
-		position.top += myOffset[ 1 ];
1013
-
1014
-		collisionPosition = {
1015
-			marginLeft: marginLeft,
1016
-			marginTop: marginTop
1017
-		};
1018
-
1019
-		$.each( [ "left", "top" ], function( i, dir ) {
1020
-			if ( $.ui.position[ collision[ i ] ] ) {
1021
-				$.ui.position[ collision[ i ] ][ dir ]( position, {
1022
-					targetWidth: targetWidth,
1023
-					targetHeight: targetHeight,
1024
-					elemWidth: elemWidth,
1025
-					elemHeight: elemHeight,
1026
-					collisionPosition: collisionPosition,
1027
-					collisionWidth: collisionWidth,
1028
-					collisionHeight: collisionHeight,
1029
-					offset: [ atOffset[ 0 ] + myOffset[ 0 ], atOffset [ 1 ] + myOffset[ 1 ] ],
1030
-					my: options.my,
1031
-					at: options.at,
1032
-					within: within,
1033
-					elem: elem
1034
-				} );
1035
-			}
1036
-		} );
1037
-
1038
-		if ( options.using ) {
1039
-
1040
-			// Adds feedback as second argument to using callback, if present
1041
-			using = function( props ) {
1042
-				var left = targetOffset.left - position.left,
1043
-					right = left + targetWidth - elemWidth,
1044
-					top = targetOffset.top - position.top,
1045
-					bottom = top + targetHeight - elemHeight,
1046
-					feedback = {
1047
-						target: {
1048
-							element: target,
1049
-							left: targetOffset.left,
1050
-							top: targetOffset.top,
1051
-							width: targetWidth,
1052
-							height: targetHeight
1053
-						},
1054
-						element: {
1055
-							element: elem,
1056
-							left: position.left,
1057
-							top: position.top,
1058
-							width: elemWidth,
1059
-							height: elemHeight
1060
-						},
1061
-						horizontal: right < 0 ? "left" : left > 0 ? "right" : "center",
1062
-						vertical: bottom < 0 ? "top" : top > 0 ? "bottom" : "middle"
1063
-					};
1064
-				if ( targetWidth < elemWidth && abs( left + right ) < targetWidth ) {
1065
-					feedback.horizontal = "center";
1066
-				}
1067
-				if ( targetHeight < elemHeight && abs( top + bottom ) < targetHeight ) {
1068
-					feedback.vertical = "middle";
1069
-				}
1070
-				if ( max( abs( left ), abs( right ) ) > max( abs( top ), abs( bottom ) ) ) {
1071
-					feedback.important = "horizontal";
1072
-				} else {
1073
-					feedback.important = "vertical";
1074
-				}
1075
-				options.using.call( this, props, feedback );
1076
-			};
1077
-		}
1078
-
1079
-		elem.offset( $.extend( position, { using: using } ) );
1080
-	} );
1081
-};
1082
-
1083
-$.ui.position = {
1084
-	fit: {
1085
-		left: function( position, data ) {
1086
-			var within = data.within,
1087
-				withinOffset = within.isWindow ? within.scrollLeft : within.offset.left,
1088
-				outerWidth = within.width,
1089
-				collisionPosLeft = position.left - data.collisionPosition.marginLeft,
1090
-				overLeft = withinOffset - collisionPosLeft,
1091
-				overRight = collisionPosLeft + data.collisionWidth - outerWidth - withinOffset,
1092
-				newOverRight;
1093
-
1094
-			// Element is wider than within
1095
-			if ( data.collisionWidth > outerWidth ) {
1096
-
1097
-				// Element is initially over the left side of within
1098
-				if ( overLeft > 0 && overRight <= 0 ) {
1099
-					newOverRight = position.left + overLeft + data.collisionWidth - outerWidth -
1100
-						withinOffset;
1101
-					position.left += overLeft - newOverRight;
1102
-
1103
-				// Element is initially over right side of within
1104
-				} else if ( overRight > 0 && overLeft <= 0 ) {
1105
-					position.left = withinOffset;
1106
-
1107
-				// Element is initially over both left and right sides of within
1108
-				} else {
1109
-					if ( overLeft > overRight ) {
1110
-						position.left = withinOffset + outerWidth - data.collisionWidth;
1111
-					} else {
1112
-						position.left = withinOffset;
1113
-					}
1114
-				}
1115
-
1116
-			// Too far left -> align with left edge
1117
-			} else if ( overLeft > 0 ) {
1118
-				position.left += overLeft;
1119
-
1120
-			// Too far right -> align with right edge
1121
-			} else if ( overRight > 0 ) {
1122
-				position.left -= overRight;
1123
-
1124
-			// Adjust based on position and margin
1125
-			} else {
1126
-				position.left = max( position.left - collisionPosLeft, position.left );
1127
-			}
1128
-		},
1129
-		top: function( position, data ) {
1130
-			var within = data.within,
1131
-				withinOffset = within.isWindow ? within.scrollTop : within.offset.top,
1132
-				outerHeight = data.within.height,
1133
-				collisionPosTop = position.top - data.collisionPosition.marginTop,
1134
-				overTop = withinOffset - collisionPosTop,
1135
-				overBottom = collisionPosTop + data.collisionHeight - outerHeight - withinOffset,
1136
-				newOverBottom;
1137
-
1138
-			// Element is taller than within
1139
-			if ( data.collisionHeight > outerHeight ) {
1140
-
1141
-				// Element is initially over the top of within
1142
-				if ( overTop > 0 && overBottom <= 0 ) {
1143
-					newOverBottom = position.top + overTop + data.collisionHeight - outerHeight -
1144
-						withinOffset;
1145
-					position.top += overTop - newOverBottom;
1146
-
1147
-				// Element is initially over bottom of within
1148
-				} else if ( overBottom > 0 && overTop <= 0 ) {
1149
-					position.top = withinOffset;
1150
-
1151
-				// Element is initially over both top and bottom of within
1152
-				} else {
1153
-					if ( overTop > overBottom ) {
1154
-						position.top = withinOffset + outerHeight - data.collisionHeight;
1155
-					} else {
1156
-						position.top = withinOffset;
1157
-					}
1158
-				}
1159
-
1160
-			// Too far up -> align with top
1161
-			} else if ( overTop > 0 ) {
1162
-				position.top += overTop;
1163
-
1164
-			// Too far down -> align with bottom edge
1165
-			} else if ( overBottom > 0 ) {
1166
-				position.top -= overBottom;
1167
-
1168
-			// Adjust based on position and margin
1169
-			} else {
1170
-				position.top = max( position.top - collisionPosTop, position.top );
1171
-			}
1172
-		}
1173
-	},
1174
-	flip: {
1175
-		left: function( position, data ) {
1176
-			var within = data.within,
1177
-				withinOffset = within.offset.left + within.scrollLeft,
1178
-				outerWidth = within.width,
1179
-				offsetLeft = within.isWindow ? within.scrollLeft : within.offset.left,
1180
-				collisionPosLeft = position.left - data.collisionPosition.marginLeft,
1181
-				overLeft = collisionPosLeft - offsetLeft,
1182
-				overRight = collisionPosLeft + data.collisionWidth - outerWidth - offsetLeft,
1183
-				myOffset = data.my[ 0 ] === "left" ?
1184
-					-data.elemWidth :
1185
-					data.my[ 0 ] === "right" ?
1186
-						data.elemWidth :
1187
-						0,
1188
-				atOffset = data.at[ 0 ] === "left" ?
1189
-					data.targetWidth :
1190
-					data.at[ 0 ] === "right" ?
1191
-						-data.targetWidth :
1192
-						0,
1193
-				offset = -2 * data.offset[ 0 ],
1194
-				newOverRight,
1195
-				newOverLeft;
1196
-
1197
-			if ( overLeft < 0 ) {
1198
-				newOverRight = position.left + myOffset + atOffset + offset + data.collisionWidth -
1199
-					outerWidth - withinOffset;
1200
-				if ( newOverRight < 0 || newOverRight < abs( overLeft ) ) {
1201
-					position.left += myOffset + atOffset + offset;
1202
-				}
1203
-			} else if ( overRight > 0 ) {
1204
-				newOverLeft = position.left - data.collisionPosition.marginLeft + myOffset +
1205
-					atOffset + offset - offsetLeft;
1206
-				if ( newOverLeft > 0 || abs( newOverLeft ) < overRight ) {
1207
-					position.left += myOffset + atOffset + offset;
1208
-				}
1209
-			}
1210
-		},
1211
-		top: function( position, data ) {
1212
-			var within = data.within,
1213
-				withinOffset = within.offset.top + within.scrollTop,
1214
-				outerHeight = within.height,
1215
-				offsetTop = within.isWindow ? within.scrollTop : within.offset.top,
1216
-				collisionPosTop = position.top - data.collisionPosition.marginTop,
1217
-				overTop = collisionPosTop - offsetTop,
1218
-				overBottom = collisionPosTop + data.collisionHeight - outerHeight - offsetTop,
1219
-				top = data.my[ 1 ] === "top",
1220
-				myOffset = top ?
1221
-					-data.elemHeight :
1222
-					data.my[ 1 ] === "bottom" ?
1223
-						data.elemHeight :
1224
-						0,
1225
-				atOffset = data.at[ 1 ] === "top" ?
1226
-					data.targetHeight :
1227
-					data.at[ 1 ] === "bottom" ?
1228
-						-data.targetHeight :
1229
-						0,
1230
-				offset = -2 * data.offset[ 1 ],
1231
-				newOverTop,
1232
-				newOverBottom;
1233
-			if ( overTop < 0 ) {
1234
-				newOverBottom = position.top + myOffset + atOffset + offset + data.collisionHeight -
1235
-					outerHeight - withinOffset;
1236
-				if ( newOverBottom < 0 || newOverBottom < abs( overTop ) ) {
1237
-					position.top += myOffset + atOffset + offset;
1238
-				}
1239
-			} else if ( overBottom > 0 ) {
1240
-				newOverTop = position.top - data.collisionPosition.marginTop + myOffset + atOffset +
1241
-					offset - offsetTop;
1242
-				if ( newOverTop > 0 || abs( newOverTop ) < overBottom ) {
1243
-					position.top += myOffset + atOffset + offset;
1244
-				}
1245
-			}
1246
-		}
1247
-	},
1248
-	flipfit: {
1249
-		left: function() {
1250
-			$.ui.position.flip.left.apply( this, arguments );
1251
-			$.ui.position.fit.left.apply( this, arguments );
1252
-		},
1253
-		top: function() {
1254
-			$.ui.position.flip.top.apply( this, arguments );
1255
-			$.ui.position.fit.top.apply( this, arguments );
1256
-		}
1257
-	}
1258
-};
1259
-
1260
-} )();
1261
-
1262
-var position = $.ui.position;
1263
-
1264
-
1265
-/*!
1266
- * jQuery UI :data 1.13.2
1267
- * http://jqueryui.com
1268
- *
1269
- * Copyright jQuery Foundation and other contributors
1270
- * Released under the MIT license.
1271
- * http://jquery.org/license
1272
- */
1273
-
1274
-//>>label: :data Selector
1275
-//>>group: Core
1276
-//>>description: Selects elements which have data stored under the specified key.
1277
-//>>docs: http://api.jqueryui.com/data-selector/
1278
-
1279
-
1280
-var data = $.extend( $.expr.pseudos, {
1281
-	data: $.expr.createPseudo ?
1282
-		$.expr.createPseudo( function( dataName ) {
1283
-			return function( elem ) {
1284
-				return !!$.data( elem, dataName );
1285
-			};
1286
-		} ) :
1287
-
1288
-		// Support: jQuery <1.8
1289
-		function( elem, i, match ) {
1290
-			return !!$.data( elem, match[ 3 ] );
1291
-		}
1292
-} );
1293
-
1294
-/*!
1295
- * jQuery UI Disable Selection 1.13.2
1296
- * http://jqueryui.com
1297
- *
1298
- * Copyright jQuery Foundation and other contributors
1299
- * Released under the MIT license.
1300
- * http://jquery.org/license
1301
- */
1302
-
1303
-//>>label: disableSelection
1304
-//>>group: Core
1305
-//>>description: Disable selection of text content within the set of matched elements.
1306
-//>>docs: http://api.jqueryui.com/disableSelection/
1307
-
1308
-// This file is deprecated
1309
-
1310
-var disableSelection = $.fn.extend( {
1311
-	disableSelection: ( function() {
1312
-		var eventType = "onselectstart" in document.createElement( "div" ) ?
1313
-			"selectstart" :
1314
-			"mousedown";
1315
-
1316
-		return function() {
1317
-			return this.on( eventType + ".ui-disableSelection", function( event ) {
1318
-				event.preventDefault();
1319
-			} );
1320
-		};
1321
-	} )(),
1322
-
1323
-	enableSelection: function() {
1324
-		return this.off( ".ui-disableSelection" );
1325
-	}
1326
-} );
1327
-
1328
-
1329
-
1330
-// Create a local jQuery because jQuery Color relies on it and the
1331
-// global may not exist with AMD and a custom build (#10199).
1332
-// This module is a noop if used as a regular AMD module.
1333
-// eslint-disable-next-line no-unused-vars
1334
-var jQuery = $;
1335
-
1336
-
1337
-/*!
1338
- * jQuery Color Animations v2.2.0
1339
- * https://github.com/jquery/jquery-color
1340
- *
1341
- * Copyright OpenJS Foundation and other contributors
1342
- * Released under the MIT license.
1343
- * http://jquery.org/license
1344
- *
1345
- * Date: Sun May 10 09:02:36 2020 +0200
1346
- */
1347
-
1348
-
1349
-
1350
-	var stepHooks = "backgroundColor borderBottomColor borderLeftColor borderRightColor " +
1351
-		"borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",
1352
-
1353
-	class2type = {},
1354
-	toString = class2type.toString,
1355
-
1356
-	// plusequals test for += 100 -= 100
1357
-	rplusequals = /^([\-+])=\s*(\d+\.?\d*)/,
1358
-
1359
-	// a set of RE's that can match strings and generate color tuples.
1360
-	stringParsers = [ {
1361
-			re: /rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,
1362
-			parse: function( execResult ) {
1363
-				return [
1364
-					execResult[ 1 ],
1365
-					execResult[ 2 ],
1366
-					execResult[ 3 ],
1367
-					execResult[ 4 ]
1368
-				];
1369
-			}
1370
-		}, {
1371
-			re: /rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,
1372
-			parse: function( execResult ) {
1373
-				return [
1374
-					execResult[ 1 ] * 2.55,
1375
-					execResult[ 2 ] * 2.55,
1376
-					execResult[ 3 ] * 2.55,
1377
-					execResult[ 4 ]
1378
-				];
1379
-			}
1380
-		}, {
1381
-
1382
-			// this regex ignores A-F because it's compared against an already lowercased string
1383
-			re: /#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?/,
1384
-			parse: function( execResult ) {
1385
-				return [
1386
-					parseInt( execResult[ 1 ], 16 ),
1387
-					parseInt( execResult[ 2 ], 16 ),
1388
-					parseInt( execResult[ 3 ], 16 ),
1389
-					execResult[ 4 ] ?
1390
-						( parseInt( execResult[ 4 ], 16 ) / 255 ).toFixed( 2 ) :
1391
-						1
1392
-				];
1393
-			}
1394
-		}, {
1395
-
1396
-			// this regex ignores A-F because it's compared against an already lowercased string
1397
-			re: /#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?/,
1398
-			parse: function( execResult ) {
1399
-				return [
1400
-					parseInt( execResult[ 1 ] + execResult[ 1 ], 16 ),
1401
-					parseInt( execResult[ 2 ] + execResult[ 2 ], 16 ),
1402
-					parseInt( execResult[ 3 ] + execResult[ 3 ], 16 ),
1403
-					execResult[ 4 ] ?
1404
-						( parseInt( execResult[ 4 ] + execResult[ 4 ], 16 ) / 255 )
1405
-							.toFixed( 2 ) :
1406
-						1
1407
-				];
1408
-			}
1409
-		}, {
1410
-			re: /hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,
1411
-			space: "hsla",
1412
-			parse: function( execResult ) {
1413
-				return [
1414
-					execResult[ 1 ],
1415
-					execResult[ 2 ] / 100,
1416
-					execResult[ 3 ] / 100,
1417
-					execResult[ 4 ]
1418
-				];
1419
-			}
1420
-		} ],
1421
-
1422
-	// jQuery.Color( )
1423
-	color = jQuery.Color = function( color, green, blue, alpha ) {
1424
-		return new jQuery.Color.fn.parse( color, green, blue, alpha );
1425
-	},
1426
-	spaces = {
1427
-		rgba: {
1428
-			props: {
1429
-				red: {
1430
-					idx: 0,
1431
-					type: "byte"
1432
-				},
1433
-				green: {
1434
-					idx: 1,
1435
-					type: "byte"
1436
-				},
1437
-				blue: {
1438
-					idx: 2,
1439
-					type: "byte"
1440
-				}
1441
-			}
1442
-		},
1443
-
1444
-		hsla: {
1445
-			props: {
1446
-				hue: {
1447
-					idx: 0,
1448
-					type: "degrees"
1449
-				},
1450
-				saturation: {
1451
-					idx: 1,
1452
-					type: "percent"
1453
-				},
1454
-				lightness: {
1455
-					idx: 2,
1456
-					type: "percent"
1457
-				}
1458
-			}
1459
-		}
1460
-	},
1461
-	propTypes = {
1462
-		"byte": {
1463
-			floor: true,
1464
-			max: 255
1465
-		},
1466
-		"percent": {
1467
-			max: 1
1468
-		},
1469
-		"degrees": {
1470
-			mod: 360,
1471
-			floor: true
1472
-		}
1473
-	},
1474
-	support = color.support = {},
1475
-
1476
-	// element for support tests
1477
-	supportElem = jQuery( "<p>" )[ 0 ],
1478
-
1479
-	// colors = jQuery.Color.names
1480
-	colors,
1481
-
1482
-	// local aliases of functions called often
1483
-	each = jQuery.each;
1484
-
1485
-// determine rgba support immediately
1486
-supportElem.style.cssText = "background-color:rgba(1,1,1,.5)";
1487
-support.rgba = supportElem.style.backgroundColor.indexOf( "rgba" ) > -1;
1488
-
1489
-// define cache name and alpha properties
1490
-// for rgba and hsla spaces
1491
-each( spaces, function( spaceName, space ) {
1492
-	space.cache = "_" + spaceName;
1493
-	space.props.alpha = {
1494
-		idx: 3,
1495
-		type: "percent",
1496
-		def: 1
1497
-	};
1498
-} );
1499
-
1500
-// Populate the class2type map
1501
-jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ),
1502
-	function( _i, name ) {
1503
-		class2type[ "[object " + name + "]" ] = name.toLowerCase();
1504
-	} );
1505
-
1506
-function getType( obj ) {
1507
-	if ( obj == null ) {
1508
-		return obj + "";
1509
-	}
1510
-
1511
-	return typeof obj === "object" ?
1512
-		class2type[ toString.call( obj ) ] || "object" :
1513
-		typeof obj;
1514
-}
1515
-
1516
-function clamp( value, prop, allowEmpty ) {
1517
-	var type = propTypes[ prop.type ] || {};
1518
-
1519
-	if ( value == null ) {
1520
-		return ( allowEmpty || !prop.def ) ? null : prop.def;
1521
-	}
1522
-
1523
-	// ~~ is an short way of doing floor for positive numbers
1524
-	value = type.floor ? ~~value : parseFloat( value );
1525
-
1526
-	// IE will pass in empty strings as value for alpha,
1527
-	// which will hit this case
1528
-	if ( isNaN( value ) ) {
1529
-		return prop.def;
1530
-	}
1531
-
1532
-	if ( type.mod ) {
1533
-
1534
-		// we add mod before modding to make sure that negatives values
1535
-		// get converted properly: -10 -> 350
1536
-		return ( value + type.mod ) % type.mod;
1537
-	}
1538
-
1539
-	// for now all property types without mod have min and max
1540
-	return Math.min( type.max, Math.max( 0, value ) );
1541
-}
1542
-
1543
-function stringParse( string ) {
1544
-	var inst = color(),
1545
-		rgba = inst._rgba = [];
1546
-
1547
-	string = string.toLowerCase();
1548
-
1549
-	each( stringParsers, function( _i, parser ) {
1550
-		var parsed,
1551
-			match = parser.re.exec( string ),
1552
-			values = match && parser.parse( match ),
1553
-			spaceName = parser.space || "rgba";
1554
-
1555
-		if ( values ) {
1556
-			parsed = inst[ spaceName ]( values );
1557
-
1558
-			// if this was an rgba parse the assignment might happen twice
1559
-			// oh well....
1560
-			inst[ spaces[ spaceName ].cache ] = parsed[ spaces[ spaceName ].cache ];
1561
-			rgba = inst._rgba = parsed._rgba;
1562
-
1563
-			// exit each( stringParsers ) here because we matched
1564
-			return false;
1565
-		}
1566
-	} );
1567
-
1568
-	// Found a stringParser that handled it
1569
-	if ( rgba.length ) {
1570
-
1571
-		// if this came from a parsed string, force "transparent" when alpha is 0
1572
-		// chrome, (and maybe others) return "transparent" as rgba(0,0,0,0)
1573
-		if ( rgba.join() === "0,0,0,0" ) {
1574
-			jQuery.extend( rgba, colors.transparent );
1575
-		}
1576
-		return inst;
1577
-	}
1578
-
1579
-	// named colors
1580
-	return colors[ string ];
1581
-}
1582
-
1583
-color.fn = jQuery.extend( color.prototype, {
1584
-	parse: function( red, green, blue, alpha ) {
1585
-		if ( red === undefined ) {
1586
-			this._rgba = [ null, null, null, null ];
1587
-			return this;
1588
-		}
1589
-		if ( red.jquery || red.nodeType ) {
1590
-			red = jQuery( red ).css( green );
1591
-			green = undefined;
1592
-		}
1593
-
1594
-		var inst = this,
1595
-			type = getType( red ),
1596
-			rgba = this._rgba = [];
1597
-
1598
-		// more than 1 argument specified - assume ( red, green, blue, alpha )
1599
-		if ( green !== undefined ) {
1600
-			red = [ red, green, blue, alpha ];
1601
-			type = "array";
1602
-		}
1603
-
1604
-		if ( type === "string" ) {
1605
-			return this.parse( stringParse( red ) || colors._default );
1606
-		}
1607
-
1608
-		if ( type === "array" ) {
1609
-			each( spaces.rgba.props, function( _key, prop ) {
1610
-				rgba[ prop.idx ] = clamp( red[ prop.idx ], prop );
1611
-			} );
1612
-			return this;
1613
-		}
1614
-
1615
-		if ( type === "object" ) {
1616
-			if ( red instanceof color ) {
1617
-				each( spaces, function( _spaceName, space ) {
1618
-					if ( red[ space.cache ] ) {
1619
-						inst[ space.cache ] = red[ space.cache ].slice();
1620
-					}
1621
-				} );
1622
-			} else {
1623
-				each( spaces, function( _spaceName, space ) {
1624
-					var cache = space.cache;
1625
-					each( space.props, function( key, prop ) {
1626
-
1627
-						// if the cache doesn't exist, and we know how to convert
1628
-						if ( !inst[ cache ] && space.to ) {
1629
-
1630
-							// if the value was null, we don't need to copy it
1631
-							// if the key was alpha, we don't need to copy it either
1632
-							if ( key === "alpha" || red[ key ] == null ) {
1633
-								return;
1634
-							}
1635
-							inst[ cache ] = space.to( inst._rgba );
1636
-						}
1637
-
1638
-						// this is the only case where we allow nulls for ALL properties.
1639
-						// call clamp with alwaysAllowEmpty
1640
-						inst[ cache ][ prop.idx ] = clamp( red[ key ], prop, true );
1641
-					} );
1642
-
1643
-					// everything defined but alpha?
1644
-					if ( inst[ cache ] && jQuery.inArray( null, inst[ cache ].slice( 0, 3 ) ) < 0 ) {
1645
-
1646
-						// use the default of 1
1647
-						if ( inst[ cache ][ 3 ] == null ) {
1648
-							inst[ cache ][ 3 ] = 1;
1649
-						}
1650
-
1651
-						if ( space.from ) {
1652
-							inst._rgba = space.from( inst[ cache ] );
1653
-						}
1654
-					}
1655
-				} );
1656
-			}
1657
-			return this;
1658
-		}
1659
-	},
1660
-	is: function( compare ) {
1661
-		var is = color( compare ),
1662
-			same = true,
1663
-			inst = this;
1664
-
1665
-		each( spaces, function( _, space ) {
1666
-			var localCache,
1667
-				isCache = is[ space.cache ];
1668
-			if ( isCache ) {
1669
-				localCache = inst[ space.cache ] || space.to && space.to( inst._rgba ) || [];
1670
-				each( space.props, function( _, prop ) {
1671
-					if ( isCache[ prop.idx ] != null ) {
1672
-						same = ( isCache[ prop.idx ] === localCache[ prop.idx ] );
1673
-						return same;
1674
-					}
1675
-				} );
1676
-			}
1677
-			return same;
1678
-		} );
1679
-		return same;
1680
-	},
1681
-	_space: function() {
1682
-		var used = [],
1683
-			inst = this;
1684
-		each( spaces, function( spaceName, space ) {
1685
-			if ( inst[ space.cache ] ) {
1686
-				used.push( spaceName );
1687
-			}
1688
-		} );
1689
-		return used.pop();
1690
-	},
1691
-	transition: function( other, distance ) {
1692
-		var end = color( other ),
1693
-			spaceName = end._space(),
1694
-			space = spaces[ spaceName ],
1695
-			startColor = this.alpha() === 0 ? color( "transparent" ) : this,
1696
-			start = startColor[ space.cache ] || space.to( startColor._rgba ),
1697
-			result = start.slice();
1698
-
1699
-		end = end[ space.cache ];
1700
-		each( space.props, function( _key, prop ) {
1701
-			var index = prop.idx,
1702
-				startValue = start[ index ],
1703
-				endValue = end[ index ],
1704
-				type = propTypes[ prop.type ] || {};
1705
-
1706
-			// if null, don't override start value
1707
-			if ( endValue === null ) {
1708
-				return;
1709
-			}
1710
-
1711
-			// if null - use end
1712
-			if ( startValue === null ) {
1713
-				result[ index ] = endValue;
1714
-			} else {
1715
-				if ( type.mod ) {
1716
-					if ( endValue - startValue > type.mod / 2 ) {
1717
-						startValue += type.mod;
1718
-					} else if ( startValue - endValue > type.mod / 2 ) {
1719
-						startValue -= type.mod;
1720
-					}
1721
-				}
1722
-				result[ index ] = clamp( ( endValue - startValue ) * distance + startValue, prop );
1723
-			}
1724
-		} );
1725
-		return this[ spaceName ]( result );
1726
-	},
1727
-	blend: function( opaque ) {
1728
-
1729
-		// if we are already opaque - return ourself
1730
-		if ( this._rgba[ 3 ] === 1 ) {
1731
-			return this;
1732
-		}
1733
-
1734
-		var rgb = this._rgba.slice(),
1735
-			a = rgb.pop(),
1736
-			blend = color( opaque )._rgba;
1737
-
1738
-		return color( jQuery.map( rgb, function( v, i ) {
1739
-			return ( 1 - a ) * blend[ i ] + a * v;
1740
-		} ) );
1741
-	},
1742
-	toRgbaString: function() {
1743
-		var prefix = "rgba(",
1744
-			rgba = jQuery.map( this._rgba, function( v, i ) {
1745
-				if ( v != null ) {
1746
-					return v;
1747
-				}
1748
-				return i > 2 ? 1 : 0;
1749
-			} );
1750
-
1751
-		if ( rgba[ 3 ] === 1 ) {
1752
-			rgba.pop();
1753
-			prefix = "rgb(";
1754
-		}
1755
-
1756
-		return prefix + rgba.join() + ")";
1757
-	},
1758
-	toHslaString: function() {
1759
-		var prefix = "hsla(",
1760
-			hsla = jQuery.map( this.hsla(), function( v, i ) {
1761
-				if ( v == null ) {
1762
-					v = i > 2 ? 1 : 0;
1763
-				}
1764
-
1765
-				// catch 1 and 2
1766
-				if ( i && i < 3 ) {
1767
-					v = Math.round( v * 100 ) + "%";
1768
-				}
1769
-				return v;
1770
-			} );
1771
-
1772
-		if ( hsla[ 3 ] === 1 ) {
1773
-			hsla.pop();
1774
-			prefix = "hsl(";
1775
-		}
1776
-		return prefix + hsla.join() + ")";
1777
-	},
1778
-	toHexString: function( includeAlpha ) {
1779
-		var rgba = this._rgba.slice(),
1780
-			alpha = rgba.pop();
1781
-
1782
-		if ( includeAlpha ) {
1783
-			rgba.push( ~~( alpha * 255 ) );
1784
-		}
1785
-
1786
-		return "#" + jQuery.map( rgba, function( v ) {
1787
-
1788
-			// default to 0 when nulls exist
1789
-			v = ( v || 0 ).toString( 16 );
1790
-			return v.length === 1 ? "0" + v : v;
1791
-		} ).join( "" );
1792
-	},
1793
-	toString: function() {
1794
-		return this._rgba[ 3 ] === 0 ? "transparent" : this.toRgbaString();
1795
-	}
1796
-} );
1797
-color.fn.parse.prototype = color.fn;
1798
-
1799
-// hsla conversions adapted from:
1800
-// https://code.google.com/p/maashaack/source/browse/packages/graphics/trunk/src/graphics/colors/HUE2RGB.as?r=5021
1801
-
1802
-function hue2rgb( p, q, h ) {
1803
-	h = ( h + 1 ) % 1;
1804
-	if ( h * 6 < 1 ) {
1805
-		return p + ( q - p ) * h * 6;
1806
-	}
1807
-	if ( h * 2 < 1 ) {
1808
-		return q;
1809
-	}
1810
-	if ( h * 3 < 2 ) {
1811
-		return p + ( q - p ) * ( ( 2 / 3 ) - h ) * 6;
1812
-	}
1813
-	return p;
1814
-}
1815
-
1816
-spaces.hsla.to = function( rgba ) {
1817
-	if ( rgba[ 0 ] == null || rgba[ 1 ] == null || rgba[ 2 ] == null ) {
1818
-		return [ null, null, null, rgba[ 3 ] ];
1819
-	}
1820
-	var r = rgba[ 0 ] / 255,
1821
-		g = rgba[ 1 ] / 255,
1822
-		b = rgba[ 2 ] / 255,
1823
-		a = rgba[ 3 ],
1824
-		max = Math.max( r, g, b ),
1825
-		min = Math.min( r, g, b ),
1826
-		diff = max - min,
1827
-		add = max + min,
1828
-		l = add * 0.5,
1829
-		h, s;
1830
-
1831
-	if ( min === max ) {
1832
-		h = 0;
1833
-	} else if ( r === max ) {
1834
-		h = ( 60 * ( g - b ) / diff ) + 360;
1835
-	} else if ( g === max ) {
1836
-		h = ( 60 * ( b - r ) / diff ) + 120;
1837
-	} else {
1838
-		h = ( 60 * ( r - g ) / diff ) + 240;
1839
-	}
1840
-
1841
-	// chroma (diff) == 0 means greyscale which, by definition, saturation = 0%
1842
-	// otherwise, saturation is based on the ratio of chroma (diff) to lightness (add)
1843
-	if ( diff === 0 ) {
1844
-		s = 0;
1845
-	} else if ( l <= 0.5 ) {
1846
-		s = diff / add;
1847
-	} else {
1848
-		s = diff / ( 2 - add );
1849
-	}
1850
-	return [ Math.round( h ) % 360, s, l, a == null ? 1 : a ];
1851
-};
1852
-
1853
-spaces.hsla.from = function( hsla ) {
1854
-	if ( hsla[ 0 ] == null || hsla[ 1 ] == null || hsla[ 2 ] == null ) {
1855
-		return [ null, null, null, hsla[ 3 ] ];
1856
-	}
1857
-	var h = hsla[ 0 ] / 360,
1858
-		s = hsla[ 1 ],
1859
-		l = hsla[ 2 ],
1860
-		a = hsla[ 3 ],
1861
-		q = l <= 0.5 ? l * ( 1 + s ) : l + s - l * s,
1862
-		p = 2 * l - q;
1863
-
1864
-	return [
1865
-		Math.round( hue2rgb( p, q, h + ( 1 / 3 ) ) * 255 ),
1866
-		Math.round( hue2rgb( p, q, h ) * 255 ),
1867
-		Math.round( hue2rgb( p, q, h - ( 1 / 3 ) ) * 255 ),
1868
-		a
1869
-	];
1870
-};
1871
-
1872
-
1873
-each( spaces, function( spaceName, space ) {
1874
-	var props = space.props,
1875
-		cache = space.cache,
1876
-		to = space.to,
1877
-		from = space.from;
1878
-
1879
-	// makes rgba() and hsla()
1880
-	color.fn[ spaceName ] = function( value ) {
1881
-
1882
-		// generate a cache for this space if it doesn't exist
1883
-		if ( to && !this[ cache ] ) {
1884
-			this[ cache ] = to( this._rgba );
1885
-		}
1886
-		if ( value === undefined ) {
1887
-			return this[ cache ].slice();
1888
-		}
1889
-
1890
-		var ret,
1891
-			type = getType( value ),
1892
-			arr = ( type === "array" || type === "object" ) ? value : arguments,
1893
-			local = this[ cache ].slice();
1894
-
1895
-		each( props, function( key, prop ) {
1896
-			var val = arr[ type === "object" ? key : prop.idx ];
1897
-			if ( val == null ) {
1898
-				val = local[ prop.idx ];
1899
-			}
1900
-			local[ prop.idx ] = clamp( val, prop );
1901
-		} );
1902
-
1903
-		if ( from ) {
1904
-			ret = color( from( local ) );
1905
-			ret[ cache ] = local;
1906
-			return ret;
1907
-		} else {
1908
-			return color( local );
1909
-		}
1910
-	};
1911
-
1912
-	// makes red() green() blue() alpha() hue() saturation() lightness()
1913
-	each( props, function( key, prop ) {
1914
-
1915
-		// alpha is included in more than one space
1916
-		if ( color.fn[ key ] ) {
1917
-			return;
1918
-		}
1919
-		color.fn[ key ] = function( value ) {
1920
-			var local, cur, match, fn,
1921
-				vtype = getType( value );
1922
-
1923
-			if ( key === "alpha" ) {
1924
-				fn = this._hsla ? "hsla" : "rgba";
1925
-			} else {
1926
-				fn = spaceName;
1927
-			}
1928
-			local = this[ fn ]();
1929
-			cur = local[ prop.idx ];
1930
-
1931
-			if ( vtype === "undefined" ) {
1932
-				return cur;
1933
-			}
1934
-
1935
-			if ( vtype === "function" ) {
1936
-				value = value.call( this, cur );
1937
-				vtype = getType( value );
1938
-			}
1939
-			if ( value == null && prop.empty ) {
1940
-				return this;
1941
-			}
1942
-			if ( vtype === "string" ) {
1943
-				match = rplusequals.exec( value );
1944
-				if ( match ) {
1945
-					value = cur + parseFloat( match[ 2 ] ) * ( match[ 1 ] === "+" ? 1 : -1 );
1946
-				}
1947
-			}
1948
-			local[ prop.idx ] = value;
1949
-			return this[ fn ]( local );
1950
-		};
1951
-	} );
1952
-} );
1953
-
1954
-// add cssHook and .fx.step function for each named hook.
1955
-// accept a space separated string of properties
1956
-color.hook = function( hook ) {
1957
-	var hooks = hook.split( " " );
1958
-	each( hooks, function( _i, hook ) {
1959
-		jQuery.cssHooks[ hook ] = {
1960
-			set: function( elem, value ) {
1961
-				var parsed, curElem,
1962
-					backgroundColor = "";
1963
-
1964
-				if ( value !== "transparent" && ( getType( value ) !== "string" || ( parsed = stringParse( value ) ) ) ) {
1965
-					value = color( parsed || value );
1966
-					if ( !support.rgba && value._rgba[ 3 ] !== 1 ) {
1967
-						curElem = hook === "backgroundColor" ? elem.parentNode : elem;
1968
-						while (
1969
-							( backgroundColor === "" || backgroundColor === "transparent" ) &&
1970
-							curElem && curElem.style
1971
-						) {
1972
-							try {
1973
-								backgroundColor = jQuery.css( curElem, "backgroundColor" );
1974
-								curElem = curElem.parentNode;
1975
-							} catch ( e ) {
1976
-							}
1977
-						}
1978
-
1979
-						value = value.blend( backgroundColor && backgroundColor !== "transparent" ?
1980
-							backgroundColor :
1981
-							"_default" );
1982
-					}
1983
-
1984
-					value = value.toRgbaString();
1985
-				}
1986
-				try {
1987
-					elem.style[ hook ] = value;
1988
-				} catch ( e ) {
1989
-
1990
-					// wrapped to prevent IE from throwing errors on "invalid" values like 'auto' or 'inherit'
1991
-				}
1992
-			}
1993
-		};
1994
-		jQuery.fx.step[ hook ] = function( fx ) {
1995
-			if ( !fx.colorInit ) {
1996
-				fx.start = color( fx.elem, hook );
1997
-				fx.end = color( fx.end );
1998
-				fx.colorInit = true;
1999
-			}
2000
-			jQuery.cssHooks[ hook ].set( fx.elem, fx.start.transition( fx.end, fx.pos ) );
2001
-		};
2002
-	} );
2003
-
2004
-};
2005
-
2006
-color.hook( stepHooks );
2007
-
2008
-jQuery.cssHooks.borderColor = {
2009
-	expand: function( value ) {
2010
-		var expanded = {};
2011
-
2012
-		each( [ "Top", "Right", "Bottom", "Left" ], function( _i, part ) {
2013
-			expanded[ "border" + part + "Color" ] = value;
2014
-		} );
2015
-		return expanded;
2016
-	}
2017
-};
2018
-
2019
-// Basic color names only.
2020
-// Usage of any of the other color names requires adding yourself or including
2021
-// jquery.color.svg-names.js.
2022
-colors = jQuery.Color.names = {
2023
-
2024
-	// 4.1. Basic color keywords
2025
-	aqua: "#00ffff",
2026
-	black: "#000000",
2027
-	blue: "#0000ff",
2028
-	fuchsia: "#ff00ff",
2029
-	gray: "#808080",
2030
-	green: "#008000",
2031
-	lime: "#00ff00",
2032
-	maroon: "#800000",
2033
-	navy: "#000080",
2034
-	olive: "#808000",
2035
-	purple: "#800080",
2036
-	red: "#ff0000",
2037
-	silver: "#c0c0c0",
2038
-	teal: "#008080",
2039
-	white: "#ffffff",
2040
-	yellow: "#ffff00",
2041
-
2042
-	// 4.2.3. "transparent" color keyword
2043
-	transparent: [ null, null, null, 0 ],
2044
-
2045
-	_default: "#ffffff"
2046
-};
2047
-
2048
-
2049
-/*!
2050
- * jQuery UI Effects 1.13.2
2051
- * http://jqueryui.com
2052
- *
2053
- * Copyright jQuery Foundation and other contributors
2054
- * Released under the MIT license.
2055
- * http://jquery.org/license
2056
- */
2057
-
2058
-//>>label: Effects Core
2059
-//>>group: Effects
2060
-/* eslint-disable max-len */
2061
-//>>description: Extends the internal jQuery effects. Includes morphing and easing. Required by all other effects.
2062
-/* eslint-enable max-len */
2063
-//>>docs: http://api.jqueryui.com/category/effects-core/
2064
-//>>demos: http://jqueryui.com/effect/
2065
-
2066
-
2067
-var dataSpace = "ui-effects-",
2068
-	dataSpaceStyle = "ui-effects-style",
2069
-	dataSpaceAnimated = "ui-effects-animated";
2070
-
2071
-$.effects = {
2072
-	effect: {}
2073
-};
2074
-
2075
-/******************************************************************************/
2076
-/****************************** CLASS ANIMATIONS ******************************/
2077
-/******************************************************************************/
2078
-( function() {
2079
-
2080
-var classAnimationActions = [ "add", "remove", "toggle" ],
2081
-	shorthandStyles = {
2082
-		border: 1,
2083
-		borderBottom: 1,
2084
-		borderColor: 1,
2085
-		borderLeft: 1,
2086
-		borderRight: 1,
2087
-		borderTop: 1,
2088
-		borderWidth: 1,
2089
-		margin: 1,
2090
-		padding: 1
2091
-	};
2092
-
2093
-$.each(
2094
-	[ "borderLeftStyle", "borderRightStyle", "borderBottomStyle", "borderTopStyle" ],
2095
-	function( _, prop ) {
2096
-		$.fx.step[ prop ] = function( fx ) {
2097
-			if ( fx.end !== "none" && !fx.setAttr || fx.pos === 1 && !fx.setAttr ) {
2098
-				jQuery.style( fx.elem, prop, fx.end );
2099
-				fx.setAttr = true;
2100
-			}
2101
-		};
2102
-	}
2103
-);
2104
-
2105
-function camelCase( string ) {
2106
-	return string.replace( /-([\da-z])/gi, function( all, letter ) {
2107
-		return letter.toUpperCase();
2108
-	} );
2109
-}
2110
-
2111
-function getElementStyles( elem ) {
2112
-	var key, len,
2113
-		style = elem.ownerDocument.defaultView ?
2114
-			elem.ownerDocument.defaultView.getComputedStyle( elem, null ) :
2115
-			elem.currentStyle,
2116
-		styles = {};
2117
-
2118
-	if ( style && style.length && style[ 0 ] && style[ style[ 0 ] ] ) {
2119
-		len = style.length;
2120
-		while ( len-- ) {
2121
-			key = style[ len ];
2122
-			if ( typeof style[ key ] === "string" ) {
2123
-				styles[ camelCase( key ) ] = style[ key ];
2124
-			}
2125
-		}
2126
-
2127
-	// Support: Opera, IE <9
2128
-	} else {
2129
-		for ( key in style ) {
2130
-			if ( typeof style[ key ] === "string" ) {
2131
-				styles[ key ] = style[ key ];
2132
-			}
2133
-		}
2134
-	}
2135
-
2136
-	return styles;
2137
-}
2138
-
2139
-function styleDifference( oldStyle, newStyle ) {
2140
-	var diff = {},
2141
-		name, value;
2142
-
2143
-	for ( name in newStyle ) {
2144
-		value = newStyle[ name ];
2145
-		if ( oldStyle[ name ] !== value ) {
2146
-			if ( !shorthandStyles[ name ] ) {
2147
-				if ( $.fx.step[ name ] || !isNaN( parseFloat( value ) ) ) {
2148
-					diff[ name ] = value;
2149
-				}
2150
-			}
2151
-		}
2152
-	}
2153
-
2154
-	return diff;
2155
-}
2156
-
2157
-// Support: jQuery <1.8
2158
-if ( !$.fn.addBack ) {
2159
-	$.fn.addBack = function( selector ) {
2160
-		return this.add( selector == null ?
2161
-			this.prevObject : this.prevObject.filter( selector )
2162
-		);
2163
-	};
2164
-}
2165
-
2166
-$.effects.animateClass = function( value, duration, easing, callback ) {
2167
-	var o = $.speed( duration, easing, callback );
2168
-
2169
-	return this.queue( function() {
2170
-		var animated = $( this ),
2171
-			baseClass = animated.attr( "class" ) || "",
2172
-			applyClassChange,
2173
-			allAnimations = o.children ? animated.find( "*" ).addBack() : animated;
2174
-
2175
-		// Map the animated objects to store the original styles.
2176
-		allAnimations = allAnimations.map( function() {
2177
-			var el = $( this );
2178
-			return {
2179
-				el: el,
2180
-				start: getElementStyles( this )
2181
-			};
2182
-		} );
2183
-
2184
-		// Apply class change
2185
-		applyClassChange = function() {
2186
-			$.each( classAnimationActions, function( i, action ) {
2187
-				if ( value[ action ] ) {
2188
-					animated[ action + "Class" ]( value[ action ] );
2189
-				}
2190
-			} );
2191
-		};
2192
-		applyClassChange();
2193
-
2194
-		// Map all animated objects again - calculate new styles and diff
2195
-		allAnimations = allAnimations.map( function() {
2196
-			this.end = getElementStyles( this.el[ 0 ] );
2197
-			this.diff = styleDifference( this.start, this.end );
2198
-			return this;
2199
-		} );
2200
-
2201
-		// Apply original class
2202
-		animated.attr( "class", baseClass );
2203
-
2204
-		// Map all animated objects again - this time collecting a promise
2205
-		allAnimations = allAnimations.map( function() {
2206
-			var styleInfo = this,
2207
-				dfd = $.Deferred(),
2208
-				opts = $.extend( {}, o, {
2209
-					queue: false,
2210
-					complete: function() {
2211
-						dfd.resolve( styleInfo );
2212
-					}
2213
-				} );
2214
-
2215
-			this.el.animate( this.diff, opts );
2216
-			return dfd.promise();
2217
-		} );
2218
-
2219
-		// Once all animations have completed:
2220
-		$.when.apply( $, allAnimations.get() ).done( function() {
2221
-
2222
-			// Set the final class
2223
-			applyClassChange();
2224
-
2225
-			// For each animated element,
2226
-			// clear all css properties that were animated
2227
-			$.each( arguments, function() {
2228
-				var el = this.el;
2229
-				$.each( this.diff, function( key ) {
2230
-					el.css( key, "" );
2231
-				} );
2232
-			} );
2233
-
2234
-			// This is guarnteed to be there if you use jQuery.speed()
2235
-			// it also handles dequeuing the next anim...
2236
-			o.complete.call( animated[ 0 ] );
2237
-		} );
2238
-	} );
2239
-};
2240
-
2241
-$.fn.extend( {
2242
-	addClass: ( function( orig ) {
2243
-		return function( classNames, speed, easing, callback ) {
2244
-			return speed ?
2245
-				$.effects.animateClass.call( this,
2246
-					{ add: classNames }, speed, easing, callback ) :
2247
-				orig.apply( this, arguments );
2248
-		};
2249
-	} )( $.fn.addClass ),
2250
-
2251
-	removeClass: ( function( orig ) {
2252
-		return function( classNames, speed, easing, callback ) {
2253
-			return arguments.length > 1 ?
2254
-				$.effects.animateClass.call( this,
2255
-					{ remove: classNames }, speed, easing, callback ) :
2256
-				orig.apply( this, arguments );
2257
-		};
2258
-	} )( $.fn.removeClass ),
2259
-
2260
-	toggleClass: ( function( orig ) {
2261
-		return function( classNames, force, speed, easing, callback ) {
2262
-			if ( typeof force === "boolean" || force === undefined ) {
2263
-				if ( !speed ) {
2264
-
2265
-					// Without speed parameter
2266
-					return orig.apply( this, arguments );
2267
-				} else {
2268
-					return $.effects.animateClass.call( this,
2269
-						( force ? { add: classNames } : { remove: classNames } ),
2270
-						speed, easing, callback );
2271
-				}
2272
-			} else {
2273
-
2274
-				// Without force parameter
2275
-				return $.effects.animateClass.call( this,
2276
-					{ toggle: classNames }, force, speed, easing );
2277
-			}
2278
-		};
2279
-	} )( $.fn.toggleClass ),
2280
-
2281
-	switchClass: function( remove, add, speed, easing, callback ) {
2282
-		return $.effects.animateClass.call( this, {
2283
-			add: add,
2284
-			remove: remove
2285
-		}, speed, easing, callback );
2286
-	}
2287
-} );
2288
-
2289
-} )();
2290
-
2291
-/******************************************************************************/
2292
-/*********************************** EFFECTS **********************************/
2293
-/******************************************************************************/
2294
-
2295
-( function() {
2296
-
2297
-if ( $.expr && $.expr.pseudos && $.expr.pseudos.animated ) {
2298
-	$.expr.pseudos.animated = ( function( orig ) {
2299
-		return function( elem ) {
2300
-			return !!$( elem ).data( dataSpaceAnimated ) || orig( elem );
2301
-		};
2302
-	} )( $.expr.pseudos.animated );
2303
-}
2304
-
2305
-if ( $.uiBackCompat !== false ) {
2306
-	$.extend( $.effects, {
2307
-
2308
-		// Saves a set of properties in a data storage
2309
-		save: function( element, set ) {
2310
-			var i = 0, length = set.length;
2311
-			for ( ; i < length; i++ ) {
2312
-				if ( set[ i ] !== null ) {
2313
-					element.data( dataSpace + set[ i ], element[ 0 ].style[ set[ i ] ] );
2314
-				}
2315
-			}
2316
-		},
2317
-
2318
-		// Restores a set of previously saved properties from a data storage
2319
-		restore: function( element, set ) {
2320
-			var val, i = 0, length = set.length;
2321
-			for ( ; i < length; i++ ) {
2322
-				if ( set[ i ] !== null ) {
2323
-					val = element.data( dataSpace + set[ i ] );
2324
-					element.css( set[ i ], val );
2325
-				}
2326
-			}
2327
-		},
2328
-
2329
-		setMode: function( el, mode ) {
2330
-			if ( mode === "toggle" ) {
2331
-				mode = el.is( ":hidden" ) ? "show" : "hide";
2332
-			}
2333
-			return mode;
2334
-		},
2335
-
2336
-		// Wraps the element around a wrapper that copies position properties
2337
-		createWrapper: function( element ) {
2338
-
2339
-			// If the element is already wrapped, return it
2340
-			if ( element.parent().is( ".ui-effects-wrapper" ) ) {
2341
-				return element.parent();
2342
-			}
2343
-
2344
-			// Wrap the element
2345
-			var props = {
2346
-					width: element.outerWidth( true ),
2347
-					height: element.outerHeight( true ),
2348
-					"float": element.css( "float" )
2349
-				},
2350
-				wrapper = $( "<div></div>" )
2351
-					.addClass( "ui-effects-wrapper" )
2352
-					.css( {
2353
-						fontSize: "100%",
2354
-						background: "transparent",
2355
-						border: "none",
2356
-						margin: 0,
2357
-						padding: 0
2358
-					} ),
2359
-
2360
-				// Store the size in case width/height are defined in % - Fixes #5245
2361
-				size = {
2362
-					width: element.width(),
2363
-					height: element.height()
2364
-				},
2365
-				active = document.activeElement;
2366
-
2367
-			// Support: Firefox
2368
-			// Firefox incorrectly exposes anonymous content
2369
-			// https://bugzilla.mozilla.org/show_bug.cgi?id=561664
2370
-			try {
2371
-				// eslint-disable-next-line no-unused-expressions
2372
-				active.id;
2373
-			} catch ( e ) {
2374
-				active = document.body;
2375
-			}
2376
-
2377
-			element.wrap( wrapper );
2378
-
2379
-			// Fixes #7595 - Elements lose focus when wrapped.
2380
-			if ( element[ 0 ] === active || $.contains( element[ 0 ], active ) ) {
2381
-				$( active ).trigger( "focus" );
2382
-			}
2383
-
2384
-			// Hotfix for jQuery 1.4 since some change in wrap() seems to actually
2385
-			// lose the reference to the wrapped element
2386
-			wrapper = element.parent();
2387
-
2388
-			// Transfer positioning properties to the wrapper
2389
-			if ( element.css( "position" ) === "static" ) {
2390
-				wrapper.css( { position: "relative" } );
2391
-				element.css( { position: "relative" } );
2392
-			} else {
2393
-				$.extend( props, {
2394
-					position: element.css( "position" ),
2395
-					zIndex: element.css( "z-index" )
2396
-				} );
2397
-				$.each( [ "top", "left", "bottom", "right" ], function( i, pos ) {
2398
-					props[ pos ] = element.css( pos );
2399
-					if ( isNaN( parseInt( props[ pos ], 10 ) ) ) {
2400
-						props[ pos ] = "auto";
2401
-					}
2402
-				} );
2403
-				element.css( {
2404
-					position: "relative",
2405
-					top: 0,
2406
-					left: 0,
2407
-					right: "auto",
2408
-					bottom: "auto"
2409
-				} );
2410
-			}
2411
-			element.css( size );
2412
-
2413
-			return wrapper.css( props ).show();
2414
-		},
2415
-
2416
-		removeWrapper: function( element ) {
2417
-			var active = document.activeElement;
2418
-
2419
-			if ( element.parent().is( ".ui-effects-wrapper" ) ) {
2420
-				element.parent().replaceWith( element );
2421
-
2422
-				// Fixes #7595 - Elements lose focus when wrapped.
2423
-				if ( element[ 0 ] === active || $.contains( element[ 0 ], active ) ) {
2424
-					$( active ).trigger( "focus" );
2425
-				}
2426
-			}
2427
-
2428
-			return element;
2429
-		}
2430
-	} );
2431
-}
2432
-
2433
-$.extend( $.effects, {
2434
-	version: "1.13.2",
2435
-
2436
-	define: function( name, mode, effect ) {
2437
-		if ( !effect ) {
2438
-			effect = mode;
2439
-			mode = "effect";
2440
-		}
2441
-
2442
-		$.effects.effect[ name ] = effect;
2443
-		$.effects.effect[ name ].mode = mode;
2444
-
2445
-		return effect;
2446
-	},
2447
-
2448
-	scaledDimensions: function( element, percent, direction ) {
2449
-		if ( percent === 0 ) {
2450
-			return {
2451
-				height: 0,
2452
-				width: 0,
2453
-				outerHeight: 0,
2454
-				outerWidth: 0
2455
-			};
2456
-		}
2457
-
2458
-		var x = direction !== "horizontal" ? ( ( percent || 100 ) / 100 ) : 1,
2459
-			y = direction !== "vertical" ? ( ( percent || 100 ) / 100 ) : 1;
2460
-
2461
-		return {
2462
-			height: element.height() * y,
2463
-			width: element.width() * x,
2464
-			outerHeight: element.outerHeight() * y,
2465
-			outerWidth: element.outerWidth() * x
2466
-		};
2467
-
2468
-	},
2469
-
2470
-	clipToBox: function( animation ) {
2471
-		return {
2472
-			width: animation.clip.right - animation.clip.left,
2473
-			height: animation.clip.bottom - animation.clip.top,
2474
-			left: animation.clip.left,
2475
-			top: animation.clip.top
2476
-		};
2477
-	},
2478
-
2479
-	// Injects recently queued functions to be first in line (after "inprogress")
2480
-	unshift: function( element, queueLength, count ) {
2481
-		var queue = element.queue();
2482
-
2483
-		if ( queueLength > 1 ) {
2484
-			queue.splice.apply( queue,
2485
-				[ 1, 0 ].concat( queue.splice( queueLength, count ) ) );
2486
-		}
2487
-		element.dequeue();
2488
-	},
2489
-
2490
-	saveStyle: function( element ) {
2491
-		element.data( dataSpaceStyle, element[ 0 ].style.cssText );
2492
-	},
2493
-
2494
-	restoreStyle: function( element ) {
2495
-		element[ 0 ].style.cssText = element.data( dataSpaceStyle ) || "";
2496
-		element.removeData( dataSpaceStyle );
2497
-	},
2498
-
2499
-	mode: function( element, mode ) {
2500
-		var hidden = element.is( ":hidden" );
2501
-
2502
-		if ( mode === "toggle" ) {
2503
-			mode = hidden ? "show" : "hide";
2504
-		}
2505
-		if ( hidden ? mode === "hide" : mode === "show" ) {
2506
-			mode = "none";
2507
-		}
2508
-		return mode;
2509
-	},
2510
-
2511
-	// Translates a [top,left] array into a baseline value
2512
-	getBaseline: function( origin, original ) {
2513
-		var y, x;
2514
-
2515
-		switch ( origin[ 0 ] ) {
2516
-		case "top":
2517
-			y = 0;
2518
-			break;
2519
-		case "middle":
2520
-			y = 0.5;
2521
-			break;
2522
-		case "bottom":
2523
-			y = 1;
2524
-			break;
2525
-		default:
2526
-			y = origin[ 0 ] / original.height;
2527
-		}
2528
-
2529
-		switch ( origin[ 1 ] ) {
2530
-		case "left":
2531
-			x = 0;
2532
-			break;
2533
-		case "center":
2534
-			x = 0.5;
2535
-			break;
2536
-		case "right":
2537
-			x = 1;
2538
-			break;
2539
-		default:
2540
-			x = origin[ 1 ] / original.width;
2541
-		}
2542
-
2543
-		return {
2544
-			x: x,
2545
-			y: y
2546
-		};
2547
-	},
2548
-
2549
-	// Creates a placeholder element so that the original element can be made absolute
2550
-	createPlaceholder: function( element ) {
2551
-		var placeholder,
2552
-			cssPosition = element.css( "position" ),
2553
-			position = element.position();
2554
-
2555
-		// Lock in margins first to account for form elements, which
2556
-		// will change margin if you explicitly set height
2557
-		// see: http://jsfiddle.net/JZSMt/3/ https://bugs.webkit.org/show_bug.cgi?id=107380
2558
-		// Support: Safari
2559
-		element.css( {
2560
-			marginTop: element.css( "marginTop" ),
2561
-			marginBottom: element.css( "marginBottom" ),
2562
-			marginLeft: element.css( "marginLeft" ),
2563
-			marginRight: element.css( "marginRight" )
2564
-		} )
2565
-		.outerWidth( element.outerWidth() )
2566
-		.outerHeight( element.outerHeight() );
2567
-
2568
-		if ( /^(static|relative)/.test( cssPosition ) ) {
2569
-			cssPosition = "absolute";
2570
-
2571
-			placeholder = $( "<" + element[ 0 ].nodeName + ">" ).insertAfter( element ).css( {
2572
-
2573
-				// Convert inline to inline block to account for inline elements
2574
-				// that turn to inline block based on content (like img)
2575
-				display: /^(inline|ruby)/.test( element.css( "display" ) ) ?
2576
-					"inline-block" :
2577
-					"block",
2578
-				visibility: "hidden",
2579
-
2580
-				// Margins need to be set to account for margin collapse
2581
-				marginTop: element.css( "marginTop" ),
2582
-				marginBottom: element.css( "marginBottom" ),
2583
-				marginLeft: element.css( "marginLeft" ),
2584
-				marginRight: element.css( "marginRight" ),
2585
-				"float": element.css( "float" )
2586
-			} )
2587
-			.outerWidth( element.outerWidth() )
2588
-			.outerHeight( element.outerHeight() )
2589
-			.addClass( "ui-effects-placeholder" );
2590
-
2591
-			element.data( dataSpace + "placeholder", placeholder );
2592
-		}
2593
-
2594
-		element.css( {
2595
-			position: cssPosition,
2596
-			left: position.left,
2597
-			top: position.top
2598
-		} );
2599
-
2600
-		return placeholder;
2601
-	},
2602
-
2603
-	removePlaceholder: function( element ) {
2604
-		var dataKey = dataSpace + "placeholder",
2605
-				placeholder = element.data( dataKey );
2606
-
2607
-		if ( placeholder ) {
2608
-			placeholder.remove();
2609
-			element.removeData( dataKey );
2610
-		}
2611
-	},
2612
-
2613
-	// Removes a placeholder if it exists and restores
2614
-	// properties that were modified during placeholder creation
2615
-	cleanUp: function( element ) {
2616
-		$.effects.restoreStyle( element );
2617
-		$.effects.removePlaceholder( element );
2618
-	},
2619
-
2620
-	setTransition: function( element, list, factor, value ) {
2621
-		value = value || {};
2622
-		$.each( list, function( i, x ) {
2623
-			var unit = element.cssUnit( x );
2624
-			if ( unit[ 0 ] > 0 ) {
2625
-				value[ x ] = unit[ 0 ] * factor + unit[ 1 ];
2626
-			}
2627
-		} );
2628
-		return value;
2629
-	}
2630
-} );
2631
-
2632
-// Return an effect options object for the given parameters:
2633
-function _normalizeArguments( effect, options, speed, callback ) {
2634
-
2635
-	// Allow passing all options as the first parameter
2636
-	if ( $.isPlainObject( effect ) ) {
2637
-		options = effect;
2638
-		effect = effect.effect;
2639
-	}
2640
-
2641
-	// Convert to an object
2642
-	effect = { effect: effect };
2643
-
2644
-	// Catch (effect, null, ...)
2645
-	if ( options == null ) {
2646
-		options = {};
2647
-	}
2648
-
2649
-	// Catch (effect, callback)
2650
-	if ( typeof options === "function" ) {
2651
-		callback = options;
2652
-		speed = null;
2653
-		options = {};
2654
-	}
2655
-
2656
-	// Catch (effect, speed, ?)
2657
-	if ( typeof options === "number" || $.fx.speeds[ options ] ) {
2658
-		callback = speed;
2659
-		speed = options;
2660
-		options = {};
2661
-	}
2662
-
2663
-	// Catch (effect, options, callback)
2664
-	if ( typeof speed === "function" ) {
2665
-		callback = speed;
2666
-		speed = null;
2667
-	}
2668
-
2669
-	// Add options to effect
2670
-	if ( options ) {
2671
-		$.extend( effect, options );
2672
-	}
2673
-
2674
-	speed = speed || options.duration;
2675
-	effect.duration = $.fx.off ? 0 :
2676
-		typeof speed === "number" ? speed :
2677
-		speed in $.fx.speeds ? $.fx.speeds[ speed ] :
2678
-		$.fx.speeds._default;
2679
-
2680
-	effect.complete = callback || options.complete;
2681
-
2682
-	return effect;
2683
-}
2684
-
2685
-function standardAnimationOption( option ) {
2686
-
2687
-	// Valid standard speeds (nothing, number, named speed)
2688
-	if ( !option || typeof option === "number" || $.fx.speeds[ option ] ) {
2689
-		return true;
2690
-	}
2691
-
2692
-	// Invalid strings - treat as "normal" speed
2693
-	if ( typeof option === "string" && !$.effects.effect[ option ] ) {
2694
-		return true;
2695
-	}
2696
-
2697
-	// Complete callback
2698
-	if ( typeof option === "function" ) {
2699
-		return true;
2700
-	}
2701
-
2702
-	// Options hash (but not naming an effect)
2703
-	if ( typeof option === "object" && !option.effect ) {
2704
-		return true;
2705
-	}
2706
-
2707
-	// Didn't match any standard API
2708
-	return false;
2709
-}
2710
-
2711
-$.fn.extend( {
2712
-	effect: function( /* effect, options, speed, callback */ ) {
2713
-		var args = _normalizeArguments.apply( this, arguments ),
2714
-			effectMethod = $.effects.effect[ args.effect ],
2715
-			defaultMode = effectMethod.mode,
2716
-			queue = args.queue,
2717
-			queueName = queue || "fx",
2718
-			complete = args.complete,
2719
-			mode = args.mode,
2720
-			modes = [],
2721
-			prefilter = function( next ) {
2722
-				var el = $( this ),
2723
-					normalizedMode = $.effects.mode( el, mode ) || defaultMode;
2724
-
2725
-				// Sentinel for duck-punching the :animated pseudo-selector
2726
-				el.data( dataSpaceAnimated, true );
2727
-
2728
-				// Save effect mode for later use,
2729
-				// we can't just call $.effects.mode again later,
2730
-				// as the .show() below destroys the initial state
2731
-				modes.push( normalizedMode );
2732
-
2733
-				// See $.uiBackCompat inside of run() for removal of defaultMode in 1.14
2734
-				if ( defaultMode && ( normalizedMode === "show" ||
2735
-						( normalizedMode === defaultMode && normalizedMode === "hide" ) ) ) {
2736
-					el.show();
2737
-				}
2738
-
2739
-				if ( !defaultMode || normalizedMode !== "none" ) {
2740
-					$.effects.saveStyle( el );
2741
-				}
2742
-
2743
-				if ( typeof next === "function" ) {
2744
-					next();
2745
-				}
2746
-			};
2747
-
2748
-		if ( $.fx.off || !effectMethod ) {
2749
-
2750
-			// Delegate to the original method (e.g., .show()) if possible
2751
-			if ( mode ) {
2752
-				return this[ mode ]( args.duration, complete );
2753
-			} else {
2754
-				return this.each( function() {
2755
-					if ( complete ) {
2756
-						complete.call( this );
2757
-					}
2758
-				} );
2759
-			}
2760
-		}
2761
-
2762
-		function run( next ) {
2763
-			var elem = $( this );
2764
-
2765
-			function cleanup() {
2766
-				elem.removeData( dataSpaceAnimated );
2767
-
2768
-				$.effects.cleanUp( elem );
2769
-
2770
-				if ( args.mode === "hide" ) {
2771
-					elem.hide();
2772
-				}
2773
-
2774
-				done();
2775
-			}
2776
-
2777
-			function done() {
2778
-				if ( typeof complete === "function" ) {
2779
-					complete.call( elem[ 0 ] );
2780
-				}
2781
-
2782
-				if ( typeof next === "function" ) {
2783
-					next();
2784
-				}
2785
-			}
2786
-
2787
-			// Override mode option on a per element basis,
2788
-			// as toggle can be either show or hide depending on element state
2789
-			args.mode = modes.shift();
2790
-
2791
-			if ( $.uiBackCompat !== false && !defaultMode ) {
2792
-				if ( elem.is( ":hidden" ) ? mode === "hide" : mode === "show" ) {
2793
-
2794
-					// Call the core method to track "olddisplay" properly
2795
-					elem[ mode ]();
2796
-					done();
2797
-				} else {
2798
-					effectMethod.call( elem[ 0 ], args, done );
2799
-				}
2800
-			} else {
2801
-				if ( args.mode === "none" ) {
2802
-
2803
-					// Call the core method to track "olddisplay" properly
2804
-					elem[ mode ]();
2805
-					done();
2806
-				} else {
2807
-					effectMethod.call( elem[ 0 ], args, cleanup );
2808
-				}
2809
-			}
2810
-		}
2811
-
2812
-		// Run prefilter on all elements first to ensure that
2813
-		// any showing or hiding happens before placeholder creation,
2814
-		// which ensures that any layout changes are correctly captured.
2815
-		return queue === false ?
2816
-			this.each( prefilter ).each( run ) :
2817
-			this.queue( queueName, prefilter ).queue( queueName, run );
2818
-	},
2819
-
2820
-	show: ( function( orig ) {
2821
-		return function( option ) {
2822
-			if ( standardAnimationOption( option ) ) {
2823
-				return orig.apply( this, arguments );
2824
-			} else {
2825
-				var args = _normalizeArguments.apply( this, arguments );
2826
-				args.mode = "show";
2827
-				return this.effect.call( this, args );
2828
-			}
2829
-		};
2830
-	} )( $.fn.show ),
2831
-
2832
-	hide: ( function( orig ) {
2833
-		return function( option ) {
2834
-			if ( standardAnimationOption( option ) ) {
2835
-				return orig.apply( this, arguments );
2836
-			} else {
2837
-				var args = _normalizeArguments.apply( this, arguments );
2838
-				args.mode = "hide";
2839
-				return this.effect.call( this, args );
2840
-			}
2841
-		};
2842
-	} )( $.fn.hide ),
2843
-
2844
-	toggle: ( function( orig ) {
2845
-		return function( option ) {
2846
-			if ( standardAnimationOption( option ) || typeof option === "boolean" ) {
2847
-				return orig.apply( this, arguments );
2848
-			} else {
2849
-				var args = _normalizeArguments.apply( this, arguments );
2850
-				args.mode = "toggle";
2851
-				return this.effect.call( this, args );
2852
-			}
2853
-		};
2854
-	} )( $.fn.toggle ),
2855
-
2856
-	cssUnit: function( key ) {
2857
-		var style = this.css( key ),
2858
-			val = [];
2859
-
2860
-		$.each( [ "em", "px", "%", "pt" ], function( i, unit ) {
2861
-			if ( style.indexOf( unit ) > 0 ) {
2862
-				val = [ parseFloat( style ), unit ];
2863
-			}
2864
-		} );
2865
-		return val;
2866
-	},
2867
-
2868
-	cssClip: function( clipObj ) {
2869
-		if ( clipObj ) {
2870
-			return this.css( "clip", "rect(" + clipObj.top + "px " + clipObj.right + "px " +
2871
-				clipObj.bottom + "px " + clipObj.left + "px)" );
2872
-		}
2873
-		return parseClip( this.css( "clip" ), this );
2874
-	},
2875
-
2876
-	transfer: function( options, done ) {
2877
-		var element = $( this ),
2878
-			target = $( options.to ),
2879
-			targetFixed = target.css( "position" ) === "fixed",
2880
-			body = $( "body" ),
2881
-			fixTop = targetFixed ? body.scrollTop() : 0,
2882
-			fixLeft = targetFixed ? body.scrollLeft() : 0,
2883
-			endPosition = target.offset(),
2884
-			animation = {
2885
-				top: endPosition.top - fixTop,
2886
-				left: endPosition.left - fixLeft,
2887
-				height: target.innerHeight(),
2888
-				width: target.innerWidth()
2889
-			},
2890
-			startPosition = element.offset(),
2891
-			transfer = $( "<div class='ui-effects-transfer'></div>" );
2892
-
2893
-		transfer
2894
-			.appendTo( "body" )
2895
-			.addClass( options.className )
2896
-			.css( {
2897
-				top: startPosition.top - fixTop,
2898
-				left: startPosition.left - fixLeft,
2899
-				height: element.innerHeight(),
2900
-				width: element.innerWidth(),
2901
-				position: targetFixed ? "fixed" : "absolute"
2902
-			} )
2903
-			.animate( animation, options.duration, options.easing, function() {
2904
-				transfer.remove();
2905
-				if ( typeof done === "function" ) {
2906
-					done();
2907
-				}
2908
-			} );
2909
-	}
2910
-} );
2911
-
2912
-function parseClip( str, element ) {
2913
-		var outerWidth = element.outerWidth(),
2914
-			outerHeight = element.outerHeight(),
2915
-			clipRegex = /^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/,
2916
-			values = clipRegex.exec( str ) || [ "", 0, outerWidth, outerHeight, 0 ];
2917
-
2918
-		return {
2919
-			top: parseFloat( values[ 1 ] ) || 0,
2920
-			right: values[ 2 ] === "auto" ? outerWidth : parseFloat( values[ 2 ] ),
2921
-			bottom: values[ 3 ] === "auto" ? outerHeight : parseFloat( values[ 3 ] ),
2922
-			left: parseFloat( values[ 4 ] ) || 0
2923
-		};
2924
-}
2925
-
2926
-$.fx.step.clip = function( fx ) {
2927
-	if ( !fx.clipInit ) {
2928
-		fx.start = $( fx.elem ).cssClip();
2929
-		if ( typeof fx.end === "string" ) {
2930
-			fx.end = parseClip( fx.end, fx.elem );
2931
-		}
2932
-		fx.clipInit = true;
2933
-	}
2934
-
2935
-	$( fx.elem ).cssClip( {
2936
-		top: fx.pos * ( fx.end.top - fx.start.top ) + fx.start.top,
2937
-		right: fx.pos * ( fx.end.right - fx.start.right ) + fx.start.right,
2938
-		bottom: fx.pos * ( fx.end.bottom - fx.start.bottom ) + fx.start.bottom,
2939
-		left: fx.pos * ( fx.end.left - fx.start.left ) + fx.start.left
2940
-	} );
2941
-};
2942
-
2943
-} )();
2944
-
2945
-/******************************************************************************/
2946
-/*********************************** EASING ***********************************/
2947
-/******************************************************************************/
2948
-
2949
-( function() {
2950
-
2951
-// Based on easing equations from Robert Penner (http://www.robertpenner.com/easing)
2952
-
2953
-var baseEasings = {};
2954
-
2955
-$.each( [ "Quad", "Cubic", "Quart", "Quint", "Expo" ], function( i, name ) {
2956
-	baseEasings[ name ] = function( p ) {
2957
-		return Math.pow( p, i + 2 );
2958
-	};
2959
-} );
2960
-
2961
-$.extend( baseEasings, {
2962
-	Sine: function( p ) {
2963
-		return 1 - Math.cos( p * Math.PI / 2 );
2964
-	},
2965
-	Circ: function( p ) {
2966
-		return 1 - Math.sqrt( 1 - p * p );
2967
-	},
2968
-	Elastic: function( p ) {
2969
-		return p === 0 || p === 1 ? p :
2970
-			-Math.pow( 2, 8 * ( p - 1 ) ) * Math.sin( ( ( p - 1 ) * 80 - 7.5 ) * Math.PI / 15 );
2971
-	},
2972
-	Back: function( p ) {
2973
-		return p * p * ( 3 * p - 2 );
2974
-	},
2975
-	Bounce: function( p ) {
2976
-		var pow2,
2977
-			bounce = 4;
2978
-
2979
-		while ( p < ( ( pow2 = Math.pow( 2, --bounce ) ) - 1 ) / 11 ) {}
2980
-		return 1 / Math.pow( 4, 3 - bounce ) - 7.5625 * Math.pow( ( pow2 * 3 - 2 ) / 22 - p, 2 );
2981
-	}
2982
-} );
2983
-
2984
-$.each( baseEasings, function( name, easeIn ) {
2985
-	$.easing[ "easeIn" + name ] = easeIn;
2986
-	$.easing[ "easeOut" + name ] = function( p ) {
2987
-		return 1 - easeIn( 1 - p );
2988
-	};
2989
-	$.easing[ "easeInOut" + name ] = function( p ) {
2990
-		return p < 0.5 ?
2991
-			easeIn( p * 2 ) / 2 :
2992
-			1 - easeIn( p * -2 + 2 ) / 2;
2993
-	};
2994
-} );
2995
-
2996
-} )();
2997
-
2998
-var effect = $.effects;
2999
-
3000
-
3001
-/*!
3002
- * jQuery UI Effects Blind 1.13.2
3003
- * http://jqueryui.com
3004
- *
3005
- * Copyright jQuery Foundation and other contributors
3006
- * Released under the MIT license.
3007
- * http://jquery.org/license
3008
- */
3009
-
3010
-//>>label: Blind Effect
3011
-//>>group: Effects
3012
-//>>description: Blinds the element.
3013
-//>>docs: http://api.jqueryui.com/blind-effect/
3014
-//>>demos: http://jqueryui.com/effect/
3015
-
3016
-
3017
-var effectsEffectBlind = $.effects.define( "blind", "hide", function( options, done ) {
3018
-	var map = {
3019
-			up: [ "bottom", "top" ],
3020
-			vertical: [ "bottom", "top" ],
3021
-			down: [ "top", "bottom" ],
3022
-			left: [ "right", "left" ],
3023
-			horizontal: [ "right", "left" ],
3024
-			right: [ "left", "right" ]
3025
-		},
3026
-		element = $( this ),
3027
-		direction = options.direction || "up",
3028
-		start = element.cssClip(),
3029
-		animate = { clip: $.extend( {}, start ) },
3030
-		placeholder = $.effects.createPlaceholder( element );
3031
-
3032
-	animate.clip[ map[ direction ][ 0 ] ] = animate.clip[ map[ direction ][ 1 ] ];
3033
-
3034
-	if ( options.mode === "show" ) {
3035
-		element.cssClip( animate.clip );
3036
-		if ( placeholder ) {
3037
-			placeholder.css( $.effects.clipToBox( animate ) );
3038
-		}
3039
-
3040
-		animate.clip = start;
3041
-	}
3042
-
3043
-	if ( placeholder ) {
3044
-		placeholder.animate( $.effects.clipToBox( animate ), options.duration, options.easing );
3045
-	}
3046
-
3047
-	element.animate( animate, {
3048
-		queue: false,
3049
-		duration: options.duration,
3050
-		easing: options.easing,
3051
-		complete: done
3052
-	} );
3053
-} );
3054
-
3055
-
3056
-/*!
3057
- * jQuery UI Effects Bounce 1.13.2
3058
- * http://jqueryui.com
3059
- *
3060
- * Copyright jQuery Foundation and other contributors
3061
- * Released under the MIT license.
3062
- * http://jquery.org/license
3063
- */
3064
-
3065
-//>>label: Bounce Effect
3066
-//>>group: Effects
3067
-//>>description: Bounces an element horizontally or vertically n times.
3068
-//>>docs: http://api.jqueryui.com/bounce-effect/
3069
-//>>demos: http://jqueryui.com/effect/
3070
-
3071
-
3072
-var effectsEffectBounce = $.effects.define( "bounce", function( options, done ) {
3073
-	var upAnim, downAnim, refValue,
3074
-		element = $( this ),
3075
-
3076
-		// Defaults:
3077
-		mode = options.mode,
3078
-		hide = mode === "hide",
3079
-		show = mode === "show",
3080
-		direction = options.direction || "up",
3081
-		distance = options.distance,
3082
-		times = options.times || 5,
3083
-
3084
-		// Number of internal animations
3085
-		anims = times * 2 + ( show || hide ? 1 : 0 ),
3086
-		speed = options.duration / anims,
3087
-		easing = options.easing,
3088
-
3089
-		// Utility:
3090
-		ref = ( direction === "up" || direction === "down" ) ? "top" : "left",
3091
-		motion = ( direction === "up" || direction === "left" ),
3092
-		i = 0,
3093
-
3094
-		queuelen = element.queue().length;
3095
-
3096
-	$.effects.createPlaceholder( element );
3097
-
3098
-	refValue = element.css( ref );
3099
-
3100
-	// Default distance for the BIGGEST bounce is the outer Distance / 3
3101
-	if ( !distance ) {
3102
-		distance = element[ ref === "top" ? "outerHeight" : "outerWidth" ]() / 3;
3103
-	}
3104
-
3105
-	if ( show ) {
3106
-		downAnim = { opacity: 1 };
3107
-		downAnim[ ref ] = refValue;
3108
-
3109
-		// If we are showing, force opacity 0 and set the initial position
3110
-		// then do the "first" animation
3111
-		element
3112
-			.css( "opacity", 0 )
3113
-			.css( ref, motion ? -distance * 2 : distance * 2 )
3114
-			.animate( downAnim, speed, easing );
3115
-	}
3116
-
3117
-	// Start at the smallest distance if we are hiding
3118
-	if ( hide ) {
3119
-		distance = distance / Math.pow( 2, times - 1 );
3120
-	}
3121
-
3122
-	downAnim = {};
3123
-	downAnim[ ref ] = refValue;
3124
-
3125
-	// Bounces up/down/left/right then back to 0 -- times * 2 animations happen here
3126
-	for ( ; i < times; i++ ) {
3127
-		upAnim = {};
3128
-		upAnim[ ref ] = ( motion ? "-=" : "+=" ) + distance;
3129
-
3130
-		element
3131
-			.animate( upAnim, speed, easing )
3132
-			.animate( downAnim, speed, easing );
3133
-
3134
-		distance = hide ? distance * 2 : distance / 2;
3135
-	}
3136
-
3137
-	// Last Bounce when Hiding
3138
-	if ( hide ) {
3139
-		upAnim = { opacity: 0 };
3140
-		upAnim[ ref ] = ( motion ? "-=" : "+=" ) + distance;
3141
-
3142
-		element.animate( upAnim, speed, easing );
3143
-	}
3144
-
3145
-	element.queue( done );
3146
-
3147
-	$.effects.unshift( element, queuelen, anims + 1 );
3148
-} );
3149
-
3150
-
3151
-/*!
3152
- * jQuery UI Effects Clip 1.13.2
3153
- * http://jqueryui.com
3154
- *
3155
- * Copyright jQuery Foundation and other contributors
3156
- * Released under the MIT license.
3157
- * http://jquery.org/license
3158
- */
3159
-
3160
-//>>label: Clip Effect
3161
-//>>group: Effects
3162
-//>>description: Clips the element on and off like an old TV.
3163
-//>>docs: http://api.jqueryui.com/clip-effect/
3164
-//>>demos: http://jqueryui.com/effect/
3165
-
3166
-
3167
-var effectsEffectClip = $.effects.define( "clip", "hide", function( options, done ) {
3168
-	var start,
3169
-		animate = {},
3170
-		element = $( this ),
3171
-		direction = options.direction || "vertical",
3172
-		both = direction === "both",
3173
-		horizontal = both || direction === "horizontal",
3174
-		vertical = both || direction === "vertical";
3175
-
3176
-	start = element.cssClip();
3177
-	animate.clip = {
3178
-		top: vertical ? ( start.bottom - start.top ) / 2 : start.top,
3179
-		right: horizontal ? ( start.right - start.left ) / 2 : start.right,
3180
-		bottom: vertical ? ( start.bottom - start.top ) / 2 : start.bottom,
3181
-		left: horizontal ? ( start.right - start.left ) / 2 : start.left
3182
-	};
3183
-
3184
-	$.effects.createPlaceholder( element );
3185
-
3186
-	if ( options.mode === "show" ) {
3187
-		element.cssClip( animate.clip );
3188
-		animate.clip = start;
3189
-	}
3190
-
3191
-	element.animate( animate, {
3192
-		queue: false,
3193
-		duration: options.duration,
3194
-		easing: options.easing,
3195
-		complete: done
3196
-	} );
3197
-
3198
-} );
3199
-
3200
-
3201
-/*!
3202
- * jQuery UI Effects Drop 1.13.2
3203
- * http://jqueryui.com
3204
- *
3205
- * Copyright jQuery Foundation and other contributors
3206
- * Released under the MIT license.
3207
- * http://jquery.org/license
3208
- */
3209
-
3210
-//>>label: Drop Effect
3211
-//>>group: Effects
3212
-//>>description: Moves an element in one direction and hides it at the same time.
3213
-//>>docs: http://api.jqueryui.com/drop-effect/
3214
-//>>demos: http://jqueryui.com/effect/
3215
-
3216
-
3217
-var effectsEffectDrop = $.effects.define( "drop", "hide", function( options, done ) {
3218
-
3219
-	var distance,
3220
-		element = $( this ),
3221
-		mode = options.mode,
3222
-		show = mode === "show",
3223
-		direction = options.direction || "left",
3224
-		ref = ( direction === "up" || direction === "down" ) ? "top" : "left",
3225
-		motion = ( direction === "up" || direction === "left" ) ? "-=" : "+=",
3226
-		oppositeMotion = ( motion === "+=" ) ? "-=" : "+=",
3227
-		animation = {
3228
-			opacity: 0
3229
-		};
3230
-
3231
-	$.effects.createPlaceholder( element );
3232
-
3233
-	distance = options.distance ||
3234
-		element[ ref === "top" ? "outerHeight" : "outerWidth" ]( true ) / 2;
3235
-
3236
-	animation[ ref ] = motion + distance;
3237
-
3238
-	if ( show ) {
3239
-		element.css( animation );
3240
-
3241
-		animation[ ref ] = oppositeMotion + distance;
3242
-		animation.opacity = 1;
3243
-	}
3244
-
3245
-	// Animate
3246
-	element.animate( animation, {
3247
-		queue: false,
3248
-		duration: options.duration,
3249
-		easing: options.easing,
3250
-		complete: done
3251
-	} );
3252
-} );
3253
-
3254
-
3255
-/*!
3256
- * jQuery UI Effects Explode 1.13.2
3257
- * http://jqueryui.com
3258
- *
3259
- * Copyright jQuery Foundation and other contributors
3260
- * Released under the MIT license.
3261
- * http://jquery.org/license
3262
- */
3263
-
3264
-//>>label: Explode Effect
3265
-//>>group: Effects
3266
-/* eslint-disable max-len */
3267
-//>>description: Explodes an element in all directions into n pieces. Implodes an element to its original wholeness.
3268
-/* eslint-enable max-len */
3269
-//>>docs: http://api.jqueryui.com/explode-effect/
3270
-//>>demos: http://jqueryui.com/effect/
3271
-
3272
-
3273
-var effectsEffectExplode = $.effects.define( "explode", "hide", function( options, done ) {
3274
-
3275
-	var i, j, left, top, mx, my,
3276
-		rows = options.pieces ? Math.round( Math.sqrt( options.pieces ) ) : 3,
3277
-		cells = rows,
3278
-		element = $( this ),
3279
-		mode = options.mode,
3280
-		show = mode === "show",
3281
-
3282
-		// Show and then visibility:hidden the element before calculating offset
3283
-		offset = element.show().css( "visibility", "hidden" ).offset(),
3284
-
3285
-		// Width and height of a piece
3286
-		width = Math.ceil( element.outerWidth() / cells ),
3287
-		height = Math.ceil( element.outerHeight() / rows ),
3288
-		pieces = [];
3289
-
3290
-	// Children animate complete:
3291
-	function childComplete() {
3292
-		pieces.push( this );
3293
-		if ( pieces.length === rows * cells ) {
3294
-			animComplete();
3295
-		}
3296
-	}
3297
-
3298
-	// Clone the element for each row and cell.
3299
-	for ( i = 0; i < rows; i++ ) { // ===>
3300
-		top = offset.top + i * height;
3301
-		my = i - ( rows - 1 ) / 2;
3302
-
3303
-		for ( j = 0; j < cells; j++ ) { // |||
3304
-			left = offset.left + j * width;
3305
-			mx = j - ( cells - 1 ) / 2;
3306
-
3307
-			// Create a clone of the now hidden main element that will be absolute positioned
3308
-			// within a wrapper div off the -left and -top equal to size of our pieces
3309
-			element
3310
-				.clone()
3311
-				.appendTo( "body" )
3312
-				.wrap( "<div></div>" )
3313
-				.css( {
3314
-					position: "absolute",
3315
-					visibility: "visible",
3316
-					left: -j * width,
3317
-					top: -i * height
3318
-				} )
3319
-
3320
-				// Select the wrapper - make it overflow: hidden and absolute positioned based on
3321
-				// where the original was located +left and +top equal to the size of pieces
3322
-				.parent()
3323
-					.addClass( "ui-effects-explode" )
3324
-					.css( {
3325
-						position: "absolute",
3326
-						overflow: "hidden",
3327
-						width: width,
3328
-						height: height,
3329
-						left: left + ( show ? mx * width : 0 ),
3330
-						top: top + ( show ? my * height : 0 ),
3331
-						opacity: show ? 0 : 1
3332
-					} )
3333
-					.animate( {
3334
-						left: left + ( show ? 0 : mx * width ),
3335
-						top: top + ( show ? 0 : my * height ),
3336
-						opacity: show ? 1 : 0
3337
-					}, options.duration || 500, options.easing, childComplete );
3338
-		}
3339
-	}
3340
-
3341
-	function animComplete() {
3342
-		element.css( {
3343
-			visibility: "visible"
3344
-		} );
3345
-		$( pieces ).remove();
3346
-		done();
3347
-	}
3348
-} );
3349
-
3350
-
3351
-/*!
3352
- * jQuery UI Effects Fade 1.13.2
3353
- * http://jqueryui.com
3354
- *
3355
- * Copyright jQuery Foundation and other contributors
3356
- * Released under the MIT license.
3357
- * http://jquery.org/license
3358
- */
3359
-
3360
-//>>label: Fade Effect
3361
-//>>group: Effects
3362
-//>>description: Fades the element.
3363
-//>>docs: http://api.jqueryui.com/fade-effect/
3364
-//>>demos: http://jqueryui.com/effect/
3365
-
3366
-
3367
-var effectsEffectFade = $.effects.define( "fade", "toggle", function( options, done ) {
3368
-	var show = options.mode === "show";
3369
-
3370
-	$( this )
3371
-		.css( "opacity", show ? 0 : 1 )
3372
-		.animate( {
3373
-			opacity: show ? 1 : 0
3374
-		}, {
3375
-			queue: false,
3376
-			duration: options.duration,
3377
-			easing: options.easing,
3378
-			complete: done
3379
-		} );
3380
-} );
3381
-
3382
-
3383
-/*!
3384
- * jQuery UI Effects Fold 1.13.2
3385
- * http://jqueryui.com
3386
- *
3387
- * Copyright jQuery Foundation and other contributors
3388
- * Released under the MIT license.
3389
- * http://jquery.org/license
3390
- */
3391
-
3392
-//>>label: Fold Effect
3393
-//>>group: Effects
3394
-//>>description: Folds an element first horizontally and then vertically.
3395
-//>>docs: http://api.jqueryui.com/fold-effect/
3396
-//>>demos: http://jqueryui.com/effect/
3397
-
3398
-
3399
-var effectsEffectFold = $.effects.define( "fold", "hide", function( options, done ) {
3400
-
3401
-	// Create element
3402
-	var element = $( this ),
3403
-		mode = options.mode,
3404
-		show = mode === "show",
3405
-		hide = mode === "hide",
3406
-		size = options.size || 15,
3407
-		percent = /([0-9]+)%/.exec( size ),
3408
-		horizFirst = !!options.horizFirst,
3409
-		ref = horizFirst ? [ "right", "bottom" ] : [ "bottom", "right" ],
3410
-		duration = options.duration / 2,
3411
-
3412
-		placeholder = $.effects.createPlaceholder( element ),
3413
-
3414
-		start = element.cssClip(),
3415
-		animation1 = { clip: $.extend( {}, start ) },
3416
-		animation2 = { clip: $.extend( {}, start ) },
3417
-
3418
-		distance = [ start[ ref[ 0 ] ], start[ ref[ 1 ] ] ],
3419
-
3420
-		queuelen = element.queue().length;
3421
-
3422
-	if ( percent ) {
3423
-		size = parseInt( percent[ 1 ], 10 ) / 100 * distance[ hide ? 0 : 1 ];
3424
-	}
3425
-	animation1.clip[ ref[ 0 ] ] = size;
3426
-	animation2.clip[ ref[ 0 ] ] = size;
3427
-	animation2.clip[ ref[ 1 ] ] = 0;
3428
-
3429
-	if ( show ) {
3430
-		element.cssClip( animation2.clip );
3431
-		if ( placeholder ) {
3432
-			placeholder.css( $.effects.clipToBox( animation2 ) );
3433
-		}
3434
-
3435
-		animation2.clip = start;
3436
-	}
3437
-
3438
-	// Animate
3439
-	element
3440
-		.queue( function( next ) {
3441
-			if ( placeholder ) {
3442
-				placeholder
3443
-					.animate( $.effects.clipToBox( animation1 ), duration, options.easing )
3444
-					.animate( $.effects.clipToBox( animation2 ), duration, options.easing );
3445
-			}
3446
-
3447
-			next();
3448
-		} )
3449
-		.animate( animation1, duration, options.easing )
3450
-		.animate( animation2, duration, options.easing )
3451
-		.queue( done );
3452
-
3453
-	$.effects.unshift( element, queuelen, 4 );
3454
-} );
3455
-
3456
-
3457
-/*!
3458
- * jQuery UI Effects Highlight 1.13.2
3459
- * http://jqueryui.com
3460
- *
3461
- * Copyright jQuery Foundation and other contributors
3462
- * Released under the MIT license.
3463
- * http://jquery.org/license
3464
- */
3465
-
3466
-//>>label: Highlight Effect
3467
-//>>group: Effects
3468
-//>>description: Highlights the background of an element in a defined color for a custom duration.
3469
-//>>docs: http://api.jqueryui.com/highlight-effect/
3470
-//>>demos: http://jqueryui.com/effect/
3471
-
3472
-
3473
-var effectsEffectHighlight = $.effects.define( "highlight", "show", function( options, done ) {
3474
-	var element = $( this ),
3475
-		animation = {
3476
-			backgroundColor: element.css( "backgroundColor" )
3477
-		};
3478
-
3479
-	if ( options.mode === "hide" ) {
3480
-		animation.opacity = 0;
3481
-	}
3482
-
3483
-	$.effects.saveStyle( element );
3484
-
3485
-	element
3486
-		.css( {
3487
-			backgroundImage: "none",
3488
-			backgroundColor: options.color || "#ffff99"
3489
-		} )
3490
-		.animate( animation, {
3491
-			queue: false,
3492
-			duration: options.duration,
3493
-			easing: options.easing,
3494
-			complete: done
3495
-		} );
3496
-} );
3497
-
3498
-
3499
-/*!
3500
- * jQuery UI Effects Size 1.13.2
3501
- * http://jqueryui.com
3502
- *
3503
- * Copyright jQuery Foundation and other contributors
3504
- * Released under the MIT license.
3505
- * http://jquery.org/license
3506
- */
3507
-
3508
-//>>label: Size Effect
3509
-//>>group: Effects
3510
-//>>description: Resize an element to a specified width and height.
3511
-//>>docs: http://api.jqueryui.com/size-effect/
3512
-//>>demos: http://jqueryui.com/effect/
3513
-
3514
-
3515
-var effectsEffectSize = $.effects.define( "size", function( options, done ) {
3516
-
3517
-	// Create element
3518
-	var baseline, factor, temp,
3519
-		element = $( this ),
3520
-
3521
-		// Copy for children
3522
-		cProps = [ "fontSize" ],
3523
-		vProps = [ "borderTopWidth", "borderBottomWidth", "paddingTop", "paddingBottom" ],
3524
-		hProps = [ "borderLeftWidth", "borderRightWidth", "paddingLeft", "paddingRight" ],
3525
-
3526
-		// Set options
3527
-		mode = options.mode,
3528
-		restore = mode !== "effect",
3529
-		scale = options.scale || "both",
3530
-		origin = options.origin || [ "middle", "center" ],
3531
-		position = element.css( "position" ),
3532
-		pos = element.position(),
3533
-		original = $.effects.scaledDimensions( element ),
3534
-		from = options.from || original,
3535
-		to = options.to || $.effects.scaledDimensions( element, 0 );
3536
-
3537
-	$.effects.createPlaceholder( element );
3538
-
3539
-	if ( mode === "show" ) {
3540
-		temp = from;
3541
-		from = to;
3542
-		to = temp;
3543
-	}
3544
-
3545
-	// Set scaling factor
3546
-	factor = {
3547
-		from: {
3548
-			y: from.height / original.height,
3549
-			x: from.width / original.width
3550
-		},
3551
-		to: {
3552
-			y: to.height / original.height,
3553
-			x: to.width / original.width
3554
-		}
3555
-	};
3556
-
3557
-	// Scale the css box
3558
-	if ( scale === "box" || scale === "both" ) {
3559
-
3560
-		// Vertical props scaling
3561
-		if ( factor.from.y !== factor.to.y ) {
3562
-			from = $.effects.setTransition( element, vProps, factor.from.y, from );
3563
-			to = $.effects.setTransition( element, vProps, factor.to.y, to );
3564
-		}
3565
-
3566
-		// Horizontal props scaling
3567
-		if ( factor.from.x !== factor.to.x ) {
3568
-			from = $.effects.setTransition( element, hProps, factor.from.x, from );
3569
-			to = $.effects.setTransition( element, hProps, factor.to.x, to );
3570
-		}
3571
-	}
3572
-
3573
-	// Scale the content
3574
-	if ( scale === "content" || scale === "both" ) {
3575
-
3576
-		// Vertical props scaling
3577
-		if ( factor.from.y !== factor.to.y ) {
3578
-			from = $.effects.setTransition( element, cProps, factor.from.y, from );
3579
-			to = $.effects.setTransition( element, cProps, factor.to.y, to );
3580
-		}
3581
-	}
3582
-
3583
-	// Adjust the position properties based on the provided origin points
3584
-	if ( origin ) {
3585
-		baseline = $.effects.getBaseline( origin, original );
3586
-		from.top = ( original.outerHeight - from.outerHeight ) * baseline.y + pos.top;
3587
-		from.left = ( original.outerWidth - from.outerWidth ) * baseline.x + pos.left;
3588
-		to.top = ( original.outerHeight - to.outerHeight ) * baseline.y + pos.top;
3589
-		to.left = ( original.outerWidth - to.outerWidth ) * baseline.x + pos.left;
3590
-	}
3591
-	delete from.outerHeight;
3592
-	delete from.outerWidth;
3593
-	element.css( from );
3594
-
3595
-	// Animate the children if desired
3596
-	if ( scale === "content" || scale === "both" ) {
3597
-
3598
-		vProps = vProps.concat( [ "marginTop", "marginBottom" ] ).concat( cProps );
3599
-		hProps = hProps.concat( [ "marginLeft", "marginRight" ] );
3600
-
3601
-		// Only animate children with width attributes specified
3602
-		// TODO: is this right? should we include anything with css width specified as well
3603
-		element.find( "*[width]" ).each( function() {
3604
-			var child = $( this ),
3605
-				childOriginal = $.effects.scaledDimensions( child ),
3606
-				childFrom = {
3607
-					height: childOriginal.height * factor.from.y,
3608
-					width: childOriginal.width * factor.from.x,
3609
-					outerHeight: childOriginal.outerHeight * factor.from.y,
3610
-					outerWidth: childOriginal.outerWidth * factor.from.x
3611
-				},
3612
-				childTo = {
3613
-					height: childOriginal.height * factor.to.y,
3614
-					width: childOriginal.width * factor.to.x,
3615
-					outerHeight: childOriginal.height * factor.to.y,
3616
-					outerWidth: childOriginal.width * factor.to.x
3617
-				};
3618
-
3619
-			// Vertical props scaling
3620
-			if ( factor.from.y !== factor.to.y ) {
3621
-				childFrom = $.effects.setTransition( child, vProps, factor.from.y, childFrom );
3622
-				childTo = $.effects.setTransition( child, vProps, factor.to.y, childTo );
3623
-			}
3624
-
3625
-			// Horizontal props scaling
3626
-			if ( factor.from.x !== factor.to.x ) {
3627
-				childFrom = $.effects.setTransition( child, hProps, factor.from.x, childFrom );
3628
-				childTo = $.effects.setTransition( child, hProps, factor.to.x, childTo );
3629
-			}
3630
-
3631
-			if ( restore ) {
3632
-				$.effects.saveStyle( child );
3633
-			}
3634
-
3635
-			// Animate children
3636
-			child.css( childFrom );
3637
-			child.animate( childTo, options.duration, options.easing, function() {
3638
-
3639
-				// Restore children
3640
-				if ( restore ) {
3641
-					$.effects.restoreStyle( child );
3642
-				}
3643
-			} );
3644
-		} );
3645
-	}
3646
-
3647
-	// Animate
3648
-	element.animate( to, {
3649
-		queue: false,
3650
-		duration: options.duration,
3651
-		easing: options.easing,
3652
-		complete: function() {
3653
-
3654
-			var offset = element.offset();
3655
-
3656
-			if ( to.opacity === 0 ) {
3657
-				element.css( "opacity", from.opacity );
3658
-			}
3659
-
3660
-			if ( !restore ) {
3661
-				element
3662
-					.css( "position", position === "static" ? "relative" : position )
3663
-					.offset( offset );
3664
-
3665
-				// Need to save style here so that automatic style restoration
3666
-				// doesn't restore to the original styles from before the animation.
3667
-				$.effects.saveStyle( element );
3668
-			}
3669
-
3670
-			done();
3671
-		}
3672
-	} );
3673
-
3674
-} );
3675
-
3676
-
3677
-/*!
3678
- * jQuery UI Effects Scale 1.13.2
3679
- * http://jqueryui.com
3680
- *
3681
- * Copyright jQuery Foundation and other contributors
3682
- * Released under the MIT license.
3683
- * http://jquery.org/license
3684
- */
3685
-
3686
-//>>label: Scale Effect
3687
-//>>group: Effects
3688
-//>>description: Grows or shrinks an element and its content.
3689
-//>>docs: http://api.jqueryui.com/scale-effect/
3690
-//>>demos: http://jqueryui.com/effect/
3691
-
3692
-
3693
-var effectsEffectScale = $.effects.define( "scale", function( options, done ) {
3694
-
3695
-	// Create element
3696
-	var el = $( this ),
3697
-		mode = options.mode,
3698
-		percent = parseInt( options.percent, 10 ) ||
3699
-			( parseInt( options.percent, 10 ) === 0 ? 0 : ( mode !== "effect" ? 0 : 100 ) ),
3700
-
3701
-		newOptions = $.extend( true, {
3702
-			from: $.effects.scaledDimensions( el ),
3703
-			to: $.effects.scaledDimensions( el, percent, options.direction || "both" ),
3704
-			origin: options.origin || [ "middle", "center" ]
3705
-		}, options );
3706
-
3707
-	// Fade option to support puff
3708
-	if ( options.fade ) {
3709
-		newOptions.from.opacity = 1;
3710
-		newOptions.to.opacity = 0;
3711
-	}
3712
-
3713
-	$.effects.effect.size.call( this, newOptions, done );
3714
-} );
3715
-
3716
-
3717
-/*!
3718
- * jQuery UI Effects Puff 1.13.2
3719
- * http://jqueryui.com
3720
- *
3721
- * Copyright jQuery Foundation and other contributors
3722
- * Released under the MIT license.
3723
- * http://jquery.org/license
3724
- */
3725
-
3726
-//>>label: Puff Effect
3727
-//>>group: Effects
3728
-//>>description: Creates a puff effect by scaling the element up and hiding it at the same time.
3729
-//>>docs: http://api.jqueryui.com/puff-effect/
3730
-//>>demos: http://jqueryui.com/effect/
3731
-
3732
-
3733
-var effectsEffectPuff = $.effects.define( "puff", "hide", function( options, done ) {
3734
-	var newOptions = $.extend( true, {}, options, {
3735
-		fade: true,
3736
-		percent: parseInt( options.percent, 10 ) || 150
3737
-	} );
3738
-
3739
-	$.effects.effect.scale.call( this, newOptions, done );
3740
-} );
3741
-
3742
-
3743
-/*!
3744
- * jQuery UI Effects Pulsate 1.13.2
3745
- * http://jqueryui.com
3746
- *
3747
- * Copyright jQuery Foundation and other contributors
3748
- * Released under the MIT license.
3749
- * http://jquery.org/license
3750
- */
3751
-
3752
-//>>label: Pulsate Effect
3753
-//>>group: Effects
3754
-//>>description: Pulsates an element n times by changing the opacity to zero and back.
3755
-//>>docs: http://api.jqueryui.com/pulsate-effect/
3756
-//>>demos: http://jqueryui.com/effect/
3757
-
3758
-
3759
-var effectsEffectPulsate = $.effects.define( "pulsate", "show", function( options, done ) {
3760
-	var element = $( this ),
3761
-		mode = options.mode,
3762
-		show = mode === "show",
3763
-		hide = mode === "hide",
3764
-		showhide = show || hide,
3765
-
3766
-		// Showing or hiding leaves off the "last" animation
3767
-		anims = ( ( options.times || 5 ) * 2 ) + ( showhide ? 1 : 0 ),
3768
-		duration = options.duration / anims,
3769
-		animateTo = 0,
3770
-		i = 1,
3771
-		queuelen = element.queue().length;
3772
-
3773
-	if ( show || !element.is( ":visible" ) ) {
3774
-		element.css( "opacity", 0 ).show();
3775
-		animateTo = 1;
3776
-	}
3777
-
3778
-	// Anims - 1 opacity "toggles"
3779
-	for ( ; i < anims; i++ ) {
3780
-		element.animate( { opacity: animateTo }, duration, options.easing );
3781
-		animateTo = 1 - animateTo;
3782
-	}
3783
-
3784
-	element.animate( { opacity: animateTo }, duration, options.easing );
3785
-
3786
-	element.queue( done );
3787
-
3788
-	$.effects.unshift( element, queuelen, anims + 1 );
3789
-} );
3790
-
3791
-
3792
-/*!
3793
- * jQuery UI Effects Shake 1.13.2
3794
- * http://jqueryui.com
3795
- *
3796
- * Copyright jQuery Foundation and other contributors
3797
- * Released under the MIT license.
3798
- * http://jquery.org/license
3799
- */
3800
-
3801
-//>>label: Shake Effect
3802
-//>>group: Effects
3803
-//>>description: Shakes an element horizontally or vertically n times.
3804
-//>>docs: http://api.jqueryui.com/shake-effect/
3805
-//>>demos: http://jqueryui.com/effect/
3806
-
3807
-
3808
-var effectsEffectShake = $.effects.define( "shake", function( options, done ) {
3809
-
3810
-	var i = 1,
3811
-		element = $( this ),
3812
-		direction = options.direction || "left",
3813
-		distance = options.distance || 20,
3814
-		times = options.times || 3,
3815
-		anims = times * 2 + 1,
3816
-		speed = Math.round( options.duration / anims ),
3817
-		ref = ( direction === "up" || direction === "down" ) ? "top" : "left",
3818
-		positiveMotion = ( direction === "up" || direction === "left" ),
3819
-		animation = {},
3820
-		animation1 = {},
3821
-		animation2 = {},
3822
-
3823
-		queuelen = element.queue().length;
3824
-
3825
-	$.effects.createPlaceholder( element );
3826
-
3827
-	// Animation
3828
-	animation[ ref ] = ( positiveMotion ? "-=" : "+=" ) + distance;
3829
-	animation1[ ref ] = ( positiveMotion ? "+=" : "-=" ) + distance * 2;
3830
-	animation2[ ref ] = ( positiveMotion ? "-=" : "+=" ) + distance * 2;
3831
-
3832
-	// Animate
3833
-	element.animate( animation, speed, options.easing );
3834
-
3835
-	// Shakes
3836
-	for ( ; i < times; i++ ) {
3837
-		element
3838
-			.animate( animation1, speed, options.easing )
3839
-			.animate( animation2, speed, options.easing );
3840
-	}
3841
-
3842
-	element
3843
-		.animate( animation1, speed, options.easing )
3844
-		.animate( animation, speed / 2, options.easing )
3845
-		.queue( done );
3846
-
3847
-	$.effects.unshift( element, queuelen, anims + 1 );
3848
-} );
3849
-
3850
-
3851
-/*!
3852
- * jQuery UI Effects Slide 1.13.2
3853
- * http://jqueryui.com
3854
- *
3855
- * Copyright jQuery Foundation and other contributors
3856
- * Released under the MIT license.
3857
- * http://jquery.org/license
3858
- */
3859
-
3860
-//>>label: Slide Effect
3861
-//>>group: Effects
3862
-//>>description: Slides an element in and out of the viewport.
3863
-//>>docs: http://api.jqueryui.com/slide-effect/
3864
-//>>demos: http://jqueryui.com/effect/
3865
-
3866
-
3867
-var effectsEffectSlide = $.effects.define( "slide", "show", function( options, done ) {
3868
-	var startClip, startRef,
3869
-		element = $( this ),
3870
-		map = {
3871
-			up: [ "bottom", "top" ],
3872
-			down: [ "top", "bottom" ],
3873
-			left: [ "right", "left" ],
3874
-			right: [ "left", "right" ]
3875
-		},
3876
-		mode = options.mode,
3877
-		direction = options.direction || "left",
3878
-		ref = ( direction === "up" || direction === "down" ) ? "top" : "left",
3879
-		positiveMotion = ( direction === "up" || direction === "left" ),
3880
-		distance = options.distance ||
3881
-			element[ ref === "top" ? "outerHeight" : "outerWidth" ]( true ),
3882
-		animation = {};
3883
-
3884
-	$.effects.createPlaceholder( element );
3885
-
3886
-	startClip = element.cssClip();
3887
-	startRef = element.position()[ ref ];
3888
-
3889
-	// Define hide animation
3890
-	animation[ ref ] = ( positiveMotion ? -1 : 1 ) * distance + startRef;
3891
-	animation.clip = element.cssClip();
3892
-	animation.clip[ map[ direction ][ 1 ] ] = animation.clip[ map[ direction ][ 0 ] ];
3893
-
3894
-	// Reverse the animation if we're showing
3895
-	if ( mode === "show" ) {
3896
-		element.cssClip( animation.clip );
3897
-		element.css( ref, animation[ ref ] );
3898
-		animation.clip = startClip;
3899
-		animation[ ref ] = startRef;
3900
-	}
3901
-
3902
-	// Actually animate
3903
-	element.animate( animation, {
3904
-		queue: false,
3905
-		duration: options.duration,
3906
-		easing: options.easing,
3907
-		complete: done
3908
-	} );
3909
-} );
3910
-
3911
-
3912
-/*!
3913
- * jQuery UI Effects Transfer 1.13.2
3914
- * http://jqueryui.com
3915
- *
3916
- * Copyright jQuery Foundation and other contributors
3917
- * Released under the MIT license.
3918
- * http://jquery.org/license
3919
- */
3920
-
3921
-//>>label: Transfer Effect
3922
-//>>group: Effects
3923
-//>>description: Displays a transfer effect from one element to another.
3924
-//>>docs: http://api.jqueryui.com/transfer-effect/
3925
-//>>demos: http://jqueryui.com/effect/
3926
-
3927
-
3928
-var effect;
3929
-if ( $.uiBackCompat !== false ) {
3930
-	effect = $.effects.define( "transfer", function( options, done ) {
3931
-		$( this ).transfer( options, done );
3932
-	} );
3933
-}
3934
-var effectsEffectTransfer = effect;
3935
-
3936
-
3937
-/*!
3938
- * jQuery UI Focusable 1.13.2
3939
- * http://jqueryui.com
3940
- *
3941
- * Copyright jQuery Foundation and other contributors
3942
- * Released under the MIT license.
3943
- * http://jquery.org/license
3944
- */
3945
-
3946
-//>>label: :focusable Selector
3947
-//>>group: Core
3948
-//>>description: Selects elements which can be focused.
3949
-//>>docs: http://api.jqueryui.com/focusable-selector/
3950
-
3951
-
3952
-// Selectors
3953
-$.ui.focusable = function( element, hasTabindex ) {
3954
-	var map, mapName, img, focusableIfVisible, fieldset,
3955
-		nodeName = element.nodeName.toLowerCase();
3956
-
3957
-	if ( "area" === nodeName ) {
3958
-		map = element.parentNode;
3959
-		mapName = map.name;
3960
-		if ( !element.href || !mapName || map.nodeName.toLowerCase() !== "map" ) {
3961
-			return false;
3962
-		}
3963
-		img = $( "img[usemap='#" + mapName + "']" );
3964
-		return img.length > 0 && img.is( ":visible" );
3965
-	}
3966
-
3967
-	if ( /^(input|select|textarea|button|object)$/.test( nodeName ) ) {
3968
-		focusableIfVisible = !element.disabled;
3969
-
3970
-		if ( focusableIfVisible ) {
3971
-
3972
-			// Form controls within a disabled fieldset are disabled.
3973
-			// However, controls within the fieldset's legend do not get disabled.
3974
-			// Since controls generally aren't placed inside legends, we skip
3975
-			// this portion of the check.
3976
-			fieldset = $( element ).closest( "fieldset" )[ 0 ];
3977
-			if ( fieldset ) {
3978
-				focusableIfVisible = !fieldset.disabled;
3979
-			}
3980
-		}
3981
-	} else if ( "a" === nodeName ) {
3982
-		focusableIfVisible = element.href || hasTabindex;
3983
-	} else {
3984
-		focusableIfVisible = hasTabindex;
3985
-	}
3986
-
3987
-	return focusableIfVisible && $( element ).is( ":visible" ) && visible( $( element ) );
3988
-};
3989
-
3990
-// Support: IE 8 only
3991
-// IE 8 doesn't resolve inherit to visible/hidden for computed values
3992
-function visible( element ) {
3993
-	var visibility = element.css( "visibility" );
3994
-	while ( visibility === "inherit" ) {
3995
-		element = element.parent();
3996
-		visibility = element.css( "visibility" );
3997
-	}
3998
-	return visibility === "visible";
3999
-}
4000
-
4001
-$.extend( $.expr.pseudos, {
4002
-	focusable: function( element ) {
4003
-		return $.ui.focusable( element, $.attr( element, "tabindex" ) != null );
4004
-	}
4005
-} );
4006
-
4007
-var focusable = $.ui.focusable;
4008
-
4009
-
4010
-
4011
-// Support: IE8 Only
4012
-// IE8 does not support the form attribute and when it is supplied. It overwrites the form prop
4013
-// with a string, so we need to find the proper form.
4014
-var form = $.fn._form = function() {
4015
-	return typeof this[ 0 ].form === "string" ? this.closest( "form" ) : $( this[ 0 ].form );
4016
-};
4017
-
4018
-
4019
-/*!
4020
- * jQuery UI Form Reset Mixin 1.13.2
4021
- * http://jqueryui.com
4022
- *
4023
- * Copyright jQuery Foundation and other contributors
4024
- * Released under the MIT license.
4025
- * http://jquery.org/license
4026
- */
4027
-
4028
-//>>label: Form Reset Mixin
4029
-//>>group: Core
4030
-//>>description: Refresh input widgets when their form is reset
4031
-//>>docs: http://api.jqueryui.com/form-reset-mixin/
4032
-
4033
-
4034
-var formResetMixin = $.ui.formResetMixin = {
4035
-	_formResetHandler: function() {
4036
-		var form = $( this );
4037
-
4038
-		// Wait for the form reset to actually happen before refreshing
4039
-		setTimeout( function() {
4040
-			var instances = form.data( "ui-form-reset-instances" );
4041
-			$.each( instances, function() {
4042
-				this.refresh();
4043
-			} );
4044
-		} );
4045
-	},
4046
-
4047
-	_bindFormResetHandler: function() {
4048
-		this.form = this.element._form();
4049
-		if ( !this.form.length ) {
4050
-			return;
4051
-		}
4052
-
4053
-		var instances = this.form.data( "ui-form-reset-instances" ) || [];
4054
-		if ( !instances.length ) {
4055
-
4056
-			// We don't use _on() here because we use a single event handler per form
4057
-			this.form.on( "reset.ui-form-reset", this._formResetHandler );
4058
-		}
4059
-		instances.push( this );
4060
-		this.form.data( "ui-form-reset-instances", instances );
4061
-	},
4062
-
4063
-	_unbindFormResetHandler: function() {
4064
-		if ( !this.form.length ) {
4065
-			return;
4066
-		}
4067
-
4068
-		var instances = this.form.data( "ui-form-reset-instances" );
4069
-		instances.splice( $.inArray( this, instances ), 1 );
4070
-		if ( instances.length ) {
4071
-			this.form.data( "ui-form-reset-instances", instances );
4072
-		} else {
4073
-			this.form
4074
-				.removeData( "ui-form-reset-instances" )
4075
-				.off( "reset.ui-form-reset" );
4076
-		}
4077
-	}
4078
-};
4079
-
4080
-
4081
-/*!
4082
- * jQuery UI Support for jQuery core 1.8.x and newer 1.13.2
4083
- * http://jqueryui.com
4084
- *
4085
- * Copyright jQuery Foundation and other contributors
4086
- * Released under the MIT license.
4087
- * http://jquery.org/license
4088
- *
4089
- */
4090
-
4091
-//>>label: jQuery 1.8+ Support
4092
-//>>group: Core
4093
-//>>description: Support version 1.8.x and newer of jQuery core
4094
-
4095
-
4096
-// Support: jQuery 1.9.x or older
4097
-// $.expr[ ":" ] is deprecated.
4098
-if ( !$.expr.pseudos ) {
4099
-	$.expr.pseudos = $.expr[ ":" ];
4100
-}
4101
-
4102
-// Support: jQuery 1.11.x or older
4103
-// $.unique has been renamed to $.uniqueSort
4104
-if ( !$.uniqueSort ) {
4105
-	$.uniqueSort = $.unique;
4106
-}
4107
-
4108
-// Support: jQuery 2.2.x or older.
4109
-// This method has been defined in jQuery 3.0.0.
4110
-// Code from https://github.com/jquery/jquery/blob/e539bac79e666bba95bba86d690b4e609dca2286/src/selector/escapeSelector.js
4111
-if ( !$.escapeSelector ) {
4112
-
4113
-	// CSS string/identifier serialization
4114
-	// https://drafts.csswg.org/cssom/#common-serializing-idioms
4115
-	var rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;
4116
-
4117
-	var fcssescape = function( ch, asCodePoint ) {
4118
-		if ( asCodePoint ) {
4119
-
4120
-			// U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER
4121
-			if ( ch === "\0" ) {
4122
-				return "\uFFFD";
4123
-			}
4124
-
4125
-			// Control characters and (dependent upon position) numbers get escaped as code points
4126
-			return ch.slice( 0, -1 ) + "\\" + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " ";
4127
-		}
4128
-
4129
-		// Other potentially-special ASCII characters get backslash-escaped
4130
-		return "\\" + ch;
4131
-	};
4132
-
4133
-	$.escapeSelector = function( sel ) {
4134
-		return ( sel + "" ).replace( rcssescape, fcssescape );
4135
-	};
4136
-}
4137
-
4138
-// Support: jQuery 3.4.x or older
4139
-// These methods have been defined in jQuery 3.5.0.
4140
-if ( !$.fn.even || !$.fn.odd ) {
4141
-	$.fn.extend( {
4142
-		even: function() {
4143
-			return this.filter( function( i ) {
4144
-				return i % 2 === 0;
4145
-			} );
4146
-		},
4147
-		odd: function() {
4148
-			return this.filter( function( i ) {
4149
-				return i % 2 === 1;
4150
-			} );
4151
-		}
4152
-	} );
4153
-}
4154
-
4155
-;
4156
-/*!
4157
- * jQuery UI Keycode 1.13.2
4158
- * http://jqueryui.com
4159
- *
4160
- * Copyright jQuery Foundation and other contributors
4161
- * Released under the MIT license.
4162
- * http://jquery.org/license
4163
- */
4164
-
4165
-//>>label: Keycode
4166
-//>>group: Core
4167
-//>>description: Provide keycodes as keynames
4168
-//>>docs: http://api.jqueryui.com/jQuery.ui.keyCode/
4169
-
4170
-
4171
-var keycode = $.ui.keyCode = {
4172
-	BACKSPACE: 8,
4173
-	COMMA: 188,
4174
-	DELETE: 46,
4175
-	DOWN: 40,
4176
-	END: 35,
4177
-	ENTER: 13,
4178
-	ESCAPE: 27,
4179
-	HOME: 36,
4180
-	LEFT: 37,
4181
-	PAGE_DOWN: 34,
4182
-	PAGE_UP: 33,
4183
-	PERIOD: 190,
4184
-	RIGHT: 39,
4185
-	SPACE: 32,
4186
-	TAB: 9,
4187
-	UP: 38
4188
-};
4189
-
4190
-
4191
-/*!
4192
- * jQuery UI Labels 1.13.2
4193
- * http://jqueryui.com
4194
- *
4195
- * Copyright jQuery Foundation and other contributors
4196
- * Released under the MIT license.
4197
- * http://jquery.org/license
4198
- */
4199
-
4200
-//>>label: labels
4201
-//>>group: Core
4202
-//>>description: Find all the labels associated with a given input
4203
-//>>docs: http://api.jqueryui.com/labels/
4204
-
4205
-
4206
-var labels = $.fn.labels = function() {
4207
-	var ancestor, selector, id, labels, ancestors;
4208
-
4209
-	if ( !this.length ) {
4210
-		return this.pushStack( [] );
4211
-	}
4212
-
4213
-	// Check control.labels first
4214
-	if ( this[ 0 ].labels && this[ 0 ].labels.length ) {
4215
-		return this.pushStack( this[ 0 ].labels );
4216
-	}
4217
-
4218
-	// Support: IE <= 11, FF <= 37, Android <= 2.3 only
4219
-	// Above browsers do not support control.labels. Everything below is to support them
4220
-	// as well as document fragments. control.labels does not work on document fragments
4221
-	labels = this.eq( 0 ).parents( "label" );
4222
-
4223
-	// Look for the label based on the id
4224
-	id = this.attr( "id" );
4225
-	if ( id ) {
4226
-
4227
-		// We don't search against the document in case the element
4228
-		// is disconnected from the DOM
4229
-		ancestor = this.eq( 0 ).parents().last();
4230
-
4231
-		// Get a full set of top level ancestors
4232
-		ancestors = ancestor.add( ancestor.length ? ancestor.siblings() : this.siblings() );
4233
-
4234
-		// Create a selector for the label based on the id
4235
-		selector = "label[for='" + $.escapeSelector( id ) + "']";
4236
-
4237
-		labels = labels.add( ancestors.find( selector ).addBack( selector ) );
4238
-
4239
-	}
4240
-
4241
-	// Return whatever we have found for labels
4242
-	return this.pushStack( labels );
4243
-};
4244
-
4245
-
4246
-/*!
4247
- * jQuery UI Scroll Parent 1.13.2
4248
- * http://jqueryui.com
4249
- *
4250
- * Copyright jQuery Foundation and other contributors
4251
- * Released under the MIT license.
4252
- * http://jquery.org/license
4253
- */
4254
-
4255
-//>>label: scrollParent
4256
-//>>group: Core
4257
-//>>description: Get the closest ancestor element that is scrollable.
4258
-//>>docs: http://api.jqueryui.com/scrollParent/
4259
-
4260
-
4261
-var scrollParent = $.fn.scrollParent = function( includeHidden ) {
4262
-	var position = this.css( "position" ),
4263
-		excludeStaticParent = position === "absolute",
4264
-		overflowRegex = includeHidden ? /(auto|scroll|hidden)/ : /(auto|scroll)/,
4265
-		scrollParent = this.parents().filter( function() {
4266
-			var parent = $( this );
4267
-			if ( excludeStaticParent && parent.css( "position" ) === "static" ) {
4268
-				return false;
4269
-			}
4270
-			return overflowRegex.test( parent.css( "overflow" ) + parent.css( "overflow-y" ) +
4271
-				parent.css( "overflow-x" ) );
4272
-		} ).eq( 0 );
4273
-
4274
-	return position === "fixed" || !scrollParent.length ?
4275
-		$( this[ 0 ].ownerDocument || document ) :
4276
-		scrollParent;
4277
-};
4278
-
4279
-
4280
-/*!
4281
- * jQuery UI Tabbable 1.13.2
4282
- * http://jqueryui.com
4283
- *
4284
- * Copyright jQuery Foundation and other contributors
4285
- * Released under the MIT license.
4286
- * http://jquery.org/license
4287
- */
4288
-
4289
-//>>label: :tabbable Selector
4290
-//>>group: Core
4291
-//>>description: Selects elements which can be tabbed to.
4292
-//>>docs: http://api.jqueryui.com/tabbable-selector/
4293
-
4294
-
4295
-var tabbable = $.extend( $.expr.pseudos, {
4296
-	tabbable: function( element ) {
4297
-		var tabIndex = $.attr( element, "tabindex" ),
4298
-			hasTabindex = tabIndex != null;
4299
-		return ( !hasTabindex || tabIndex >= 0 ) && $.ui.focusable( element, hasTabindex );
4300
-	}
4301
-} );
4302
-
4303
-
4304
-/*!
4305
- * jQuery UI Unique ID 1.13.2
4306
- * http://jqueryui.com
4307
- *
4308
- * Copyright jQuery Foundation and other contributors
4309
- * Released under the MIT license.
4310
- * http://jquery.org/license
4311
- */
4312
-
4313
-//>>label: uniqueId
4314
-//>>group: Core
4315
-//>>description: Functions to generate and remove uniqueId's
4316
-//>>docs: http://api.jqueryui.com/uniqueId/
4317
-
4318
-
4319
-var uniqueId = $.fn.extend( {
4320
-	uniqueId: ( function() {
4321
-		var uuid = 0;
4322
-
4323
-		return function() {
4324
-			return this.each( function() {
4325
-				if ( !this.id ) {
4326
-					this.id = "ui-id-" + ( ++uuid );
4327
-				}
4328
-			} );
4329
-		};
4330
-	} )(),
4331
-
4332
-	removeUniqueId: function() {
4333
-		return this.each( function() {
4334
-			if ( /^ui-id-\d+$/.test( this.id ) ) {
4335
-				$( this ).removeAttr( "id" );
4336
-			}
4337
-		} );
4338
-	}
4339
-} );
4340
-
4341
-
4342
-/*!
4343
- * jQuery UI Accordion 1.13.2
4344
- * http://jqueryui.com
4345
- *
4346
- * Copyright jQuery Foundation and other contributors
4347
- * Released under the MIT license.
4348
- * http://jquery.org/license
4349
- */
4350
-
4351
-//>>label: Accordion
4352
-//>>group: Widgets
4353
-/* eslint-disable max-len */
4354
-//>>description: Displays collapsible content panels for presenting information in a limited amount of space.
4355
-/* eslint-enable max-len */
4356
-//>>docs: http://api.jqueryui.com/accordion/
4357
-//>>demos: http://jqueryui.com/accordion/
4358
-//>>css.structure: ../../themes/base/core.css
4359
-//>>css.structure: ../../themes/base/accordion.css
4360
-//>>css.theme: ../../themes/base/theme.css
4361
-
4362
-
4363
-var widgetsAccordion = $.widget( "ui.accordion", {
4364
-	version: "1.13.2",
4365
-	options: {
4366
-		active: 0,
4367
-		animate: {},
4368
-		classes: {
4369
-			"ui-accordion-header": "ui-corner-top",
4370
-			"ui-accordion-header-collapsed": "ui-corner-all",
4371
-			"ui-accordion-content": "ui-corner-bottom"
4372
-		},
4373
-		collapsible: false,
4374
-		event: "click",
4375
-		header: function( elem ) {
4376
-			return elem.find( "> li > :first-child" ).add( elem.find( "> :not(li)" ).even() );
4377
-		},
4378
-		heightStyle: "auto",
4379
-		icons: {
4380
-			activeHeader: "ui-icon-triangle-1-s",
4381
-			header: "ui-icon-triangle-1-e"
4382
-		},
4383
-
4384
-		// Callbacks
4385
-		activate: null,
4386
-		beforeActivate: null
4387
-	},
4388
-
4389
-	hideProps: {
4390
-		borderTopWidth: "hide",
4391
-		borderBottomWidth: "hide",
4392
-		paddingTop: "hide",
4393
-		paddingBottom: "hide",
4394
-		height: "hide"
4395
-	},
4396
-
4397
-	showProps: {
4398
-		borderTopWidth: "show",
4399
-		borderBottomWidth: "show",
4400
-		paddingTop: "show",
4401
-		paddingBottom: "show",
4402
-		height: "show"
4403
-	},
4404
-
4405
-	_create: function() {
4406
-		var options = this.options;
4407
-
4408
-		this.prevShow = this.prevHide = $();
4409
-		this._addClass( "ui-accordion", "ui-widget ui-helper-reset" );
4410
-		this.element.attr( "role", "tablist" );
4411
-
4412
-		// Don't allow collapsible: false and active: false / null
4413
-		if ( !options.collapsible && ( options.active === false || options.active == null ) ) {
4414
-			options.active = 0;
4415
-		}
4416
-
4417
-		this._processPanels();
4418
-
4419
-		// handle negative values
4420
-		if ( options.active < 0 ) {
4421
-			options.active += this.headers.length;
4422
-		}
4423
-		this._refresh();
4424
-	},
4425
-
4426
-	_getCreateEventData: function() {
4427
-		return {
4428
-			header: this.active,
4429
-			panel: !this.active.length ? $() : this.active.next()
4430
-		};
4431
-	},
4432
-
4433
-	_createIcons: function() {
4434
-		var icon, children,
4435
-			icons = this.options.icons;
4436
-
4437
-		if ( icons ) {
4438
-			icon = $( "<span>" );
4439
-			this._addClass( icon, "ui-accordion-header-icon", "ui-icon " + icons.header );
4440
-			icon.prependTo( this.headers );
4441
-			children = this.active.children( ".ui-accordion-header-icon" );
4442
-			this._removeClass( children, icons.header )
4443
-				._addClass( children, null, icons.activeHeader )
4444
-				._addClass( this.headers, "ui-accordion-icons" );
4445
-		}
4446
-	},
4447
-
4448
-	_destroyIcons: function() {
4449
-		this._removeClass( this.headers, "ui-accordion-icons" );
4450
-		this.headers.children( ".ui-accordion-header-icon" ).remove();
4451
-	},
4452
-
4453
-	_destroy: function() {
4454
-		var contents;
4455
-
4456
-		// Clean up main element
4457
-		this.element.removeAttr( "role" );
4458
-
4459
-		// Clean up headers
4460
-		this.headers
4461
-			.removeAttr( "role aria-expanded aria-selected aria-controls tabIndex" )
4462
-			.removeUniqueId();
4463
-
4464
-		this._destroyIcons();
4465
-
4466
-		// Clean up content panels
4467
-		contents = this.headers.next()
4468
-			.css( "display", "" )
4469
-			.removeAttr( "role aria-hidden aria-labelledby" )
4470
-			.removeUniqueId();
4471
-
4472
-		if ( this.options.heightStyle !== "content" ) {
4473
-			contents.css( "height", "" );
4474
-		}
4475
-	},
4476
-
4477
-	_setOption: function( key, value ) {
4478
-		if ( key === "active" ) {
4479
-
4480
-			// _activate() will handle invalid values and update this.options
4481
-			this._activate( value );
4482
-			return;
4483
-		}
4484
-
4485
-		if ( key === "event" ) {
4486
-			if ( this.options.event ) {
4487
-				this._off( this.headers, this.options.event );
4488
-			}
4489
-			this._setupEvents( value );
4490
-		}
4491
-
4492
-		this._super( key, value );
4493
-
4494
-		// Setting collapsible: false while collapsed; open first panel
4495
-		if ( key === "collapsible" && !value && this.options.active === false ) {
4496
-			this._activate( 0 );
4497
-		}
4498
-
4499
-		if ( key === "icons" ) {
4500
-			this._destroyIcons();
4501
-			if ( value ) {
4502
-				this._createIcons();
4503
-			}
4504
-		}
4505
-	},
4506
-
4507
-	_setOptionDisabled: function( value ) {
4508
-		this._super( value );
4509
-
4510
-		this.element.attr( "aria-disabled", value );
4511
-
4512
-		// Support: IE8 Only
4513
-		// #5332 / #6059 - opacity doesn't cascade to positioned elements in IE
4514
-		// so we need to add the disabled class to the headers and panels
4515
-		this._toggleClass( null, "ui-state-disabled", !!value );
4516
-		this._toggleClass( this.headers.add( this.headers.next() ), null, "ui-state-disabled",
4517
-			!!value );
4518
-	},
4519
-
4520
-	_keydown: function( event ) {
4521
-		if ( event.altKey || event.ctrlKey ) {
4522
-			return;
4523
-		}
4524
-
4525
-		var keyCode = $.ui.keyCode,
4526
-			length = this.headers.length,
4527
-			currentIndex = this.headers.index( event.target ),
4528
-			toFocus = false;
4529
-
4530
-		switch ( event.keyCode ) {
4531
-		case keyCode.RIGHT:
4532
-		case keyCode.DOWN:
4533
-			toFocus = this.headers[ ( currentIndex + 1 ) % length ];
4534
-			break;
4535
-		case keyCode.LEFT:
4536
-		case keyCode.UP:
4537
-			toFocus = this.headers[ ( currentIndex - 1 + length ) % length ];
4538
-			break;
4539
-		case keyCode.SPACE:
4540
-		case keyCode.ENTER:
4541
-			this._eventHandler( event );
4542
-			break;
4543
-		case keyCode.HOME:
4544
-			toFocus = this.headers[ 0 ];
4545
-			break;
4546
-		case keyCode.END:
4547
-			toFocus = this.headers[ length - 1 ];
4548
-			break;
4549
-		}
4550
-
4551
-		if ( toFocus ) {
4552
-			$( event.target ).attr( "tabIndex", -1 );
4553
-			$( toFocus ).attr( "tabIndex", 0 );
4554
-			$( toFocus ).trigger( "focus" );
4555
-			event.preventDefault();
4556
-		}
4557
-	},
4558
-
4559
-	_panelKeyDown: function( event ) {
4560
-		if ( event.keyCode === $.ui.keyCode.UP && event.ctrlKey ) {
4561
-			$( event.currentTarget ).prev().trigger( "focus" );
4562
-		}
4563
-	},
4564
-
4565
-	refresh: function() {
4566
-		var options = this.options;
4567
-		this._processPanels();
4568
-
4569
-		// Was collapsed or no panel
4570
-		if ( ( options.active === false && options.collapsible === true ) ||
4571
-				!this.headers.length ) {
4572
-			options.active = false;
4573
-			this.active = $();
4574
-
4575
-		// active false only when collapsible is true
4576
-		} else if ( options.active === false ) {
4577
-			this._activate( 0 );
4578
-
4579
-		// was active, but active panel is gone
4580
-		} else if ( this.active.length && !$.contains( this.element[ 0 ], this.active[ 0 ] ) ) {
4581
-
4582
-			// all remaining panel are disabled
4583
-			if ( this.headers.length === this.headers.find( ".ui-state-disabled" ).length ) {
4584
-				options.active = false;
4585
-				this.active = $();
4586
-
4587
-			// activate previous panel
4588
-			} else {
4589
-				this._activate( Math.max( 0, options.active - 1 ) );
4590
-			}
4591
-
4592
-		// was active, active panel still exists
4593
-		} else {
4594
-
4595
-			// make sure active index is correct
4596
-			options.active = this.headers.index( this.active );
4597
-		}
4598
-
4599
-		this._destroyIcons();
4600
-
4601
-		this._refresh();
4602
-	},
4603
-
4604
-	_processPanels: function() {
4605
-		var prevHeaders = this.headers,
4606
-			prevPanels = this.panels;
4607
-
4608
-		if ( typeof this.options.header === "function" ) {
4609
-			this.headers = this.options.header( this.element );
4610
-		} else {
4611
-			this.headers = this.element.find( this.options.header );
4612
-		}
4613
-		this._addClass( this.headers, "ui-accordion-header ui-accordion-header-collapsed",
4614
-			"ui-state-default" );
4615
-
4616
-		this.panels = this.headers.next().filter( ":not(.ui-accordion-content-active)" ).hide();
4617
-		this._addClass( this.panels, "ui-accordion-content", "ui-helper-reset ui-widget-content" );
4618
-
4619
-		// Avoid memory leaks (#10056)
4620
-		if ( prevPanels ) {
4621
-			this._off( prevHeaders.not( this.headers ) );
4622
-			this._off( prevPanels.not( this.panels ) );
4623
-		}
4624
-	},
4625
-
4626
-	_refresh: function() {
4627
-		var maxHeight,
4628
-			options = this.options,
4629
-			heightStyle = options.heightStyle,
4630
-			parent = this.element.parent();
4631
-
4632
-		this.active = this._findActive( options.active );
4633
-		this._addClass( this.active, "ui-accordion-header-active", "ui-state-active" )
4634
-			._removeClass( this.active, "ui-accordion-header-collapsed" );
4635
-		this._addClass( this.active.next(), "ui-accordion-content-active" );
4636
-		this.active.next().show();
4637
-
4638
-		this.headers
4639
-			.attr( "role", "tab" )
4640
-			.each( function() {
4641
-				var header = $( this ),
4642
-					headerId = header.uniqueId().attr( "id" ),
4643
-					panel = header.next(),
4644
-					panelId = panel.uniqueId().attr( "id" );
4645
-				header.attr( "aria-controls", panelId );
4646
-				panel.attr( "aria-labelledby", headerId );
4647
-			} )
4648
-			.next()
4649
-				.attr( "role", "tabpanel" );
4650
-
4651
-		this.headers
4652
-			.not( this.active )
4653
-				.attr( {
4654
-					"aria-selected": "false",
4655
-					"aria-expanded": "false",
4656
-					tabIndex: -1
4657
-				} )
4658
-				.next()
4659
-					.attr( {
4660
-						"aria-hidden": "true"
4661
-					} )
4662
-					.hide();
4663
-
4664
-		// Make sure at least one header is in the tab order
4665
-		if ( !this.active.length ) {
4666
-			this.headers.eq( 0 ).attr( "tabIndex", 0 );
4667
-		} else {
4668
-			this.active.attr( {
4669
-				"aria-selected": "true",
4670
-				"aria-expanded": "true",
4671
-				tabIndex: 0
4672
-			} )
4673
-				.next()
4674
-					.attr( {
4675
-						"aria-hidden": "false"
4676
-					} );
4677
-		}
4678
-
4679
-		this._createIcons();
4680
-
4681
-		this._setupEvents( options.event );
4682
-
4683
-		if ( heightStyle === "fill" ) {
4684
-			maxHeight = parent.height();
4685
-			this.element.siblings( ":visible" ).each( function() {
4686
-				var elem = $( this ),
4687
-					position = elem.css( "position" );
4688
-
4689
-				if ( position === "absolute" || position === "fixed" ) {
4690
-					return;
4691
-				}
4692
-				maxHeight -= elem.outerHeight( true );
4693
-			} );
4694
-
4695
-			this.headers.each( function() {
4696
-				maxHeight -= $( this ).outerHeight( true );
4697
-			} );
4698
-
4699
-			this.headers.next()
4700
-				.each( function() {
4701
-					$( this ).height( Math.max( 0, maxHeight -
4702
-						$( this ).innerHeight() + $( this ).height() ) );
4703
-				} )
4704
-				.css( "overflow", "auto" );
4705
-		} else if ( heightStyle === "auto" ) {
4706
-			maxHeight = 0;
4707
-			this.headers.next()
4708
-				.each( function() {
4709
-					var isVisible = $( this ).is( ":visible" );
4710
-					if ( !isVisible ) {
4711
-						$( this ).show();
4712
-					}
4713
-					maxHeight = Math.max( maxHeight, $( this ).css( "height", "" ).height() );
4714
-					if ( !isVisible ) {
4715
-						$( this ).hide();
4716
-					}
4717
-				} )
4718
-				.height( maxHeight );
4719
-		}
4720
-	},
4721
-
4722
-	_activate: function( index ) {
4723
-		var active = this._findActive( index )[ 0 ];
4724
-
4725
-		// Trying to activate the already active panel
4726
-		if ( active === this.active[ 0 ] ) {
4727
-			return;
4728
-		}
4729
-
4730
-		// Trying to collapse, simulate a click on the currently active header
4731
-		active = active || this.active[ 0 ];
4732
-
4733
-		this._eventHandler( {
4734
-			target: active,
4735
-			currentTarget: active,
4736
-			preventDefault: $.noop
4737
-		} );
4738
-	},
4739
-
4740
-	_findActive: function( selector ) {
4741
-		return typeof selector === "number" ? this.headers.eq( selector ) : $();
4742
-	},
4743
-
4744
-	_setupEvents: function( event ) {
4745
-		var events = {
4746
-			keydown: "_keydown"
4747
-		};
4748
-		if ( event ) {
4749
-			$.each( event.split( " " ), function( index, eventName ) {
4750
-				events[ eventName ] = "_eventHandler";
4751
-			} );
4752
-		}
4753
-
4754
-		this._off( this.headers.add( this.headers.next() ) );
4755
-		this._on( this.headers, events );
4756
-		this._on( this.headers.next(), { keydown: "_panelKeyDown" } );
4757
-		this._hoverable( this.headers );
4758
-		this._focusable( this.headers );
4759
-	},
4760
-
4761
-	_eventHandler: function( event ) {
4762
-		var activeChildren, clickedChildren,
4763
-			options = this.options,
4764
-			active = this.active,
4765
-			clicked = $( event.currentTarget ),
4766
-			clickedIsActive = clicked[ 0 ] === active[ 0 ],
4767
-			collapsing = clickedIsActive && options.collapsible,
4768
-			toShow = collapsing ? $() : clicked.next(),
4769
-			toHide = active.next(),
4770
-			eventData = {
4771
-				oldHeader: active,
4772
-				oldPanel: toHide,
4773
-				newHeader: collapsing ? $() : clicked,
4774
-				newPanel: toShow
4775
-			};
4776
-
4777
-		event.preventDefault();
4778
-
4779
-		if (
4780
-
4781
-				// click on active header, but not collapsible
4782
-				( clickedIsActive && !options.collapsible ) ||
4783
-
4784
-				// allow canceling activation
4785
-				( this._trigger( "beforeActivate", event, eventData ) === false ) ) {
4786
-			return;
4787
-		}
4788
-
4789
-		options.active = collapsing ? false : this.headers.index( clicked );
4790
-
4791
-		// When the call to ._toggle() comes after the class changes
4792
-		// it causes a very odd bug in IE 8 (see #6720)
4793
-		this.active = clickedIsActive ? $() : clicked;
4794
-		this._toggle( eventData );
4795
-
4796
-		// Switch classes
4797
-		// corner classes on the previously active header stay after the animation
4798
-		this._removeClass( active, "ui-accordion-header-active", "ui-state-active" );
4799
-		if ( options.icons ) {
4800
-			activeChildren = active.children( ".ui-accordion-header-icon" );
4801
-			this._removeClass( activeChildren, null, options.icons.activeHeader )
4802
-				._addClass( activeChildren, null, options.icons.header );
4803
-		}
4804
-
4805
-		if ( !clickedIsActive ) {
4806
-			this._removeClass( clicked, "ui-accordion-header-collapsed" )
4807
-				._addClass( clicked, "ui-accordion-header-active", "ui-state-active" );
4808
-			if ( options.icons ) {
4809
-				clickedChildren = clicked.children( ".ui-accordion-header-icon" );
4810
-				this._removeClass( clickedChildren, null, options.icons.header )
4811
-					._addClass( clickedChildren, null, options.icons.activeHeader );
4812
-			}
4813
-
4814
-			this._addClass( clicked.next(), "ui-accordion-content-active" );
4815
-		}
4816
-	},
4817
-
4818
-	_toggle: function( data ) {
4819
-		var toShow = data.newPanel,
4820
-			toHide = this.prevShow.length ? this.prevShow : data.oldPanel;
4821
-
4822
-		// Handle activating a panel during the animation for another activation
4823
-		this.prevShow.add( this.prevHide ).stop( true, true );
4824
-		this.prevShow = toShow;
4825
-		this.prevHide = toHide;
4826
-
4827
-		if ( this.options.animate ) {
4828
-			this._animate( toShow, toHide, data );
4829
-		} else {
4830
-			toHide.hide();
4831
-			toShow.show();
4832
-			this._toggleComplete( data );
4833
-		}
4834
-
4835
-		toHide.attr( {
4836
-			"aria-hidden": "true"
4837
-		} );
4838
-		toHide.prev().attr( {
4839
-			"aria-selected": "false",
4840
-			"aria-expanded": "false"
4841
-		} );
4842
-
4843
-		// if we're switching panels, remove the old header from the tab order
4844
-		// if we're opening from collapsed state, remove the previous header from the tab order
4845
-		// if we're collapsing, then keep the collapsing header in the tab order
4846
-		if ( toShow.length && toHide.length ) {
4847
-			toHide.prev().attr( {
4848
-				"tabIndex": -1,
4849
-				"aria-expanded": "false"
4850
-			} );
4851
-		} else if ( toShow.length ) {
4852
-			this.headers.filter( function() {
4853
-				return parseInt( $( this ).attr( "tabIndex" ), 10 ) === 0;
4854
-			} )
4855
-				.attr( "tabIndex", -1 );
4856
-		}
4857
-
4858
-		toShow
4859
-			.attr( "aria-hidden", "false" )
4860
-			.prev()
4861
-				.attr( {
4862
-					"aria-selected": "true",
4863
-					"aria-expanded": "true",
4864
-					tabIndex: 0
4865
-				} );
4866
-	},
4867
-
4868
-	_animate: function( toShow, toHide, data ) {
4869
-		var total, easing, duration,
4870
-			that = this,
4871
-			adjust = 0,
4872
-			boxSizing = toShow.css( "box-sizing" ),
4873
-			down = toShow.length &&
4874
-				( !toHide.length || ( toShow.index() < toHide.index() ) ),
4875
-			animate = this.options.animate || {},
4876
-			options = down && animate.down || animate,
4877
-			complete = function() {
4878
-				that._toggleComplete( data );
4879
-			};
4880
-
4881
-		if ( typeof options === "number" ) {
4882
-			duration = options;
4883
-		}
4884
-		if ( typeof options === "string" ) {
4885
-			easing = options;
4886
-		}
4887
-
4888
-		// fall back from options to animation in case of partial down settings
4889
-		easing = easing || options.easing || animate.easing;
4890
-		duration = duration || options.duration || animate.duration;
4891
-
4892
-		if ( !toHide.length ) {
4893
-			return toShow.animate( this.showProps, duration, easing, complete );
4894
-		}
4895
-		if ( !toShow.length ) {
4896
-			return toHide.animate( this.hideProps, duration, easing, complete );
4897
-		}
4898
-
4899
-		total = toShow.show().outerHeight();
4900
-		toHide.animate( this.hideProps, {
4901
-			duration: duration,
4902
-			easing: easing,
4903
-			step: function( now, fx ) {
4904
-				fx.now = Math.round( now );
4905
-			}
4906
-		} );
4907
-		toShow
4908
-			.hide()
4909
-			.animate( this.showProps, {
4910
-				duration: duration,
4911
-				easing: easing,
4912
-				complete: complete,
4913
-				step: function( now, fx ) {
4914
-					fx.now = Math.round( now );
4915
-					if ( fx.prop !== "height" ) {
4916
-						if ( boxSizing === "content-box" ) {
4917
-							adjust += fx.now;
4918
-						}
4919
-					} else if ( that.options.heightStyle !== "content" ) {
4920
-						fx.now = Math.round( total - toHide.outerHeight() - adjust );
4921
-						adjust = 0;
4922
-					}
4923
-				}
4924
-			} );
4925
-	},
4926
-
4927
-	_toggleComplete: function( data ) {
4928
-		var toHide = data.oldPanel,
4929
-			prev = toHide.prev();
4930
-
4931
-		this._removeClass( toHide, "ui-accordion-content-active" );
4932
-		this._removeClass( prev, "ui-accordion-header-active" )
4933
-			._addClass( prev, "ui-accordion-header-collapsed" );
4934
-
4935
-		// Work around for rendering bug in IE (#5421)
4936
-		if ( toHide.length ) {
4937
-			toHide.parent()[ 0 ].className = toHide.parent()[ 0 ].className;
4938
-		}
4939
-		this._trigger( "activate", null, data );
4940
-	}
4941
-} );
4942
-
4943
-
4944
-
4945
-var safeActiveElement = $.ui.safeActiveElement = function( document ) {
4946
-	var activeElement;
4947
-
4948
-	// Support: IE 9 only
4949
-	// IE9 throws an "Unspecified error" accessing document.activeElement from an <iframe>
4950
-	try {
4951
-		activeElement = document.activeElement;
4952
-	} catch ( error ) {
4953
-		activeElement = document.body;
4954
-	}
4955
-
4956
-	// Support: IE 9 - 11 only
4957
-	// IE may return null instead of an element
4958
-	// Interestingly, this only seems to occur when NOT in an iframe
4959
-	if ( !activeElement ) {
4960
-		activeElement = document.body;
4961
-	}
4962
-
4963
-	// Support: IE 11 only
4964
-	// IE11 returns a seemingly empty object in some cases when accessing
4965
-	// document.activeElement from an <iframe>
4966
-	if ( !activeElement.nodeName ) {
4967
-		activeElement = document.body;
4968
-	}
4969
-
4970
-	return activeElement;
4971
-};
4972
-
4973
-
4974
-/*!
4975
- * jQuery UI Menu 1.13.2
4976
- * http://jqueryui.com
4977
- *
4978
- * Copyright jQuery Foundation and other contributors
4979
- * Released under the MIT license.
4980
- * http://jquery.org/license
4981
- */
4982
-
4983
-//>>label: Menu
4984
-//>>group: Widgets
4985
-//>>description: Creates nestable menus.
4986
-//>>docs: http://api.jqueryui.com/menu/
4987
-//>>demos: http://jqueryui.com/menu/
4988
-//>>css.structure: ../../themes/base/core.css
4989
-//>>css.structure: ../../themes/base/menu.css
4990
-//>>css.theme: ../../themes/base/theme.css
4991
-
4992
-
4993
-var widgetsMenu = $.widget( "ui.menu", {
4994
-	version: "1.13.2",
4995
-	defaultElement: "<ul>",
4996
-	delay: 300,
4997
-	options: {
4998
-		icons: {
4999
-			submenu: "ui-icon-caret-1-e"
5000
-		},
5001
-		items: "> *",
5002
-		menus: "ul",
5003
-		position: {
5004
-			my: "left top",
5005
-			at: "right top"
5006
-		},
5007
-		role: "menu",
5008
-
5009
-		// Callbacks
5010
-		blur: null,
5011
-		focus: null,
5012
-		select: null
5013
-	},
5014
-
5015
-	_create: function() {
5016
-		this.activeMenu = this.element;
5017
-
5018
-		// Flag used to prevent firing of the click handler
5019
-		// as the event bubbles up through nested menus
5020
-		this.mouseHandled = false;
5021
-		this.lastMousePosition = { x: null, y: null };
5022
-		this.element
5023
-			.uniqueId()
5024
-			.attr( {
5025
-				role: this.options.role,
5026
-				tabIndex: 0
5027
-			} );
5028
-
5029
-		this._addClass( "ui-menu", "ui-widget ui-widget-content" );
5030
-		this._on( {
5031
-
5032
-			// Prevent focus from sticking to links inside menu after clicking
5033
-			// them (focus should always stay on UL during navigation).
5034
-			"mousedown .ui-menu-item": function( event ) {
5035
-				event.preventDefault();
5036
-
5037
-				this._activateItem( event );
5038
-			},
5039
-			"click .ui-menu-item": function( event ) {
5040
-				var target = $( event.target );
5041
-				var active = $( $.ui.safeActiveElement( this.document[ 0 ] ) );
5042
-				if ( !this.mouseHandled && target.not( ".ui-state-disabled" ).length ) {
5043
-					this.select( event );
5044
-
5045
-					// Only set the mouseHandled flag if the event will bubble, see #9469.
5046
-					if ( !event.isPropagationStopped() ) {
5047
-						this.mouseHandled = true;
5048
-					}
5049
-
5050
-					// Open submenu on click
5051
-					if ( target.has( ".ui-menu" ).length ) {
5052
-						this.expand( event );
5053
-					} else if ( !this.element.is( ":focus" ) &&
5054
-							active.closest( ".ui-menu" ).length ) {
5055
-
5056
-						// Redirect focus to the menu
5057
-						this.element.trigger( "focus", [ true ] );
5058
-
5059
-						// If the active item is on the top level, let it stay active.
5060
-						// Otherwise, blur the active item since it is no longer visible.
5061
-						if ( this.active && this.active.parents( ".ui-menu" ).length === 1 ) {
5062
-							clearTimeout( this.timer );
5063
-						}
5064
-					}
5065
-				}
5066
-			},
5067
-			"mouseenter .ui-menu-item": "_activateItem",
5068
-			"mousemove .ui-menu-item": "_activateItem",
5069
-			mouseleave: "collapseAll",
5070
-			"mouseleave .ui-menu": "collapseAll",
5071
-			focus: function( event, keepActiveItem ) {
5072
-
5073
-				// If there's already an active item, keep it active
5074
-				// If not, activate the first item
5075
-				var item = this.active || this._menuItems().first();
5076
-
5077
-				if ( !keepActiveItem ) {
5078
-					this.focus( event, item );
5079
-				}
5080
-			},
5081
-			blur: function( event ) {
5082
-				this._delay( function() {
5083
-					var notContained = !$.contains(
5084
-						this.element[ 0 ],
5085
-						$.ui.safeActiveElement( this.document[ 0 ] )
5086
-					);
5087
-					if ( notContained ) {
5088
-						this.collapseAll( event );
5089
-					}
5090
-				} );
5091
-			},
5092
-			keydown: "_keydown"
5093
-		} );
5094
-
5095
-		this.refresh();
5096
-
5097
-		// Clicks outside of a menu collapse any open menus
5098
-		this._on( this.document, {
5099
-			click: function( event ) {
5100
-				if ( this._closeOnDocumentClick( event ) ) {
5101
-					this.collapseAll( event, true );
5102
-				}
5103
-
5104
-				// Reset the mouseHandled flag
5105
-				this.mouseHandled = false;
5106
-			}
5107
-		} );
5108
-	},
5109
-
5110
-	_activateItem: function( event ) {
5111
-
5112
-		// Ignore mouse events while typeahead is active, see #10458.
5113
-		// Prevents focusing the wrong item when typeahead causes a scroll while the mouse
5114
-		// is over an item in the menu
5115
-		if ( this.previousFilter ) {
5116
-			return;
5117
-		}
5118
-
5119
-		// If the mouse didn't actually move, but the page was scrolled, ignore the event (#9356)
5120
-		if ( event.clientX === this.lastMousePosition.x &&
5121
-				event.clientY === this.lastMousePosition.y ) {
5122
-			return;
5123
-		}
5124
-
5125
-		this.lastMousePosition = {
5126
-			x: event.clientX,
5127
-			y: event.clientY
5128
-		};
5129
-
5130
-		var actualTarget = $( event.target ).closest( ".ui-menu-item" ),
5131
-			target = $( event.currentTarget );
5132
-
5133
-		// Ignore bubbled events on parent items, see #11641
5134
-		if ( actualTarget[ 0 ] !== target[ 0 ] ) {
5135
-			return;
5136
-		}
5137
-
5138
-		// If the item is already active, there's nothing to do
5139
-		if ( target.is( ".ui-state-active" ) ) {
5140
-			return;
5141
-		}
5142
-
5143
-		// Remove ui-state-active class from siblings of the newly focused menu item
5144
-		// to avoid a jump caused by adjacent elements both having a class with a border
5145
-		this._removeClass( target.siblings().children( ".ui-state-active" ),
5146
-			null, "ui-state-active" );
5147
-		this.focus( event, target );
5148
-	},
5149
-
5150
-	_destroy: function() {
5151
-		var items = this.element.find( ".ui-menu-item" )
5152
-				.removeAttr( "role aria-disabled" ),
5153
-			submenus = items.children( ".ui-menu-item-wrapper" )
5154
-				.removeUniqueId()
5155
-				.removeAttr( "tabIndex role aria-haspopup" );
5156
-
5157
-		// Destroy (sub)menus
5158
-		this.element
5159
-			.removeAttr( "aria-activedescendant" )
5160
-			.find( ".ui-menu" ).addBack()
5161
-				.removeAttr( "role aria-labelledby aria-expanded aria-hidden aria-disabled " +
5162
-					"tabIndex" )
5163
-				.removeUniqueId()
5164
-				.show();
5165
-
5166
-		submenus.children().each( function() {
5167
-			var elem = $( this );
5168
-			if ( elem.data( "ui-menu-submenu-caret" ) ) {
5169
-				elem.remove();
5170
-			}
5171
-		} );
5172
-	},
5173
-
5174
-	_keydown: function( event ) {
5175
-		var match, prev, character, skip,
5176
-			preventDefault = true;
5177
-
5178
-		switch ( event.keyCode ) {
5179
-		case $.ui.keyCode.PAGE_UP:
5180
-			this.previousPage( event );
5181
-			break;
5182
-		case $.ui.keyCode.PAGE_DOWN:
5183
-			this.nextPage( event );
5184
-			break;
5185
-		case $.ui.keyCode.HOME:
5186
-			this._move( "first", "first", event );
5187
-			break;
5188
-		case $.ui.keyCode.END:
5189
-			this._move( "last", "last", event );
5190
-			break;
5191
-		case $.ui.keyCode.UP:
5192
-			this.previous( event );
5193
-			break;
5194
-		case $.ui.keyCode.DOWN:
5195
-			this.next( event );
5196
-			break;
5197
-		case $.ui.keyCode.LEFT:
5198
-			this.collapse( event );
5199
-			break;
5200
-		case $.ui.keyCode.RIGHT:
5201
-			if ( this.active && !this.active.is( ".ui-state-disabled" ) ) {
5202
-				this.expand( event );
5203
-			}
5204
-			break;
5205
-		case $.ui.keyCode.ENTER:
5206
-		case $.ui.keyCode.SPACE:
5207
-			this._activate( event );
5208
-			break;
5209
-		case $.ui.keyCode.ESCAPE:
5210
-			this.collapse( event );
5211
-			break;
5212
-		default:
5213
-			preventDefault = false;
5214
-			prev = this.previousFilter || "";
5215
-			skip = false;
5216
-
5217
-			// Support number pad values
5218
-			character = event.keyCode >= 96 && event.keyCode <= 105 ?
5219
-				( event.keyCode - 96 ).toString() : String.fromCharCode( event.keyCode );
5220
-
5221
-			clearTimeout( this.filterTimer );
5222
-
5223
-			if ( character === prev ) {
5224
-				skip = true;
5225
-			} else {
5226
-				character = prev + character;
5227
-			}
5228
-
5229
-			match = this._filterMenuItems( character );
5230
-			match = skip && match.index( this.active.next() ) !== -1 ?
5231
-				this.active.nextAll( ".ui-menu-item" ) :
5232
-				match;
5233
-
5234
-			// If no matches on the current filter, reset to the last character pressed
5235
-			// to move down the menu to the first item that starts with that character
5236
-			if ( !match.length ) {
5237
-				character = String.fromCharCode( event.keyCode );
5238
-				match = this._filterMenuItems( character );
5239
-			}
5240
-
5241
-			if ( match.length ) {
5242
-				this.focus( event, match );
5243
-				this.previousFilter = character;
5244
-				this.filterTimer = this._delay( function() {
5245
-					delete this.previousFilter;
5246
-				}, 1000 );
5247
-			} else {
5248
-				delete this.previousFilter;
5249
-			}
5250
-		}
5251
-
5252
-		if ( preventDefault ) {
5253
-			event.preventDefault();
5254
-		}
5255
-	},
5256
-
5257
-	_activate: function( event ) {
5258
-		if ( this.active && !this.active.is( ".ui-state-disabled" ) ) {
5259
-			if ( this.active.children( "[aria-haspopup='true']" ).length ) {
5260
-				this.expand( event );
5261
-			} else {
5262
-				this.select( event );
5263
-			}
5264
-		}
5265
-	},
5266
-
5267
-	refresh: function() {
5268
-		var menus, items, newSubmenus, newItems, newWrappers,
5269
-			that = this,
5270
-			icon = this.options.icons.submenu,
5271
-			submenus = this.element.find( this.options.menus );
5272
-
5273
-		this._toggleClass( "ui-menu-icons", null, !!this.element.find( ".ui-icon" ).length );
5274
-
5275
-		// Initialize nested menus
5276
-		newSubmenus = submenus.filter( ":not(.ui-menu)" )
5277
-			.hide()
5278
-			.attr( {
5279
-				role: this.options.role,
5280
-				"aria-hidden": "true",
5281
-				"aria-expanded": "false"
5282
-			} )
5283
-			.each( function() {
5284
-				var menu = $( this ),
5285
-					item = menu.prev(),
5286
-					submenuCaret = $( "<span>" ).data( "ui-menu-submenu-caret", true );
5287
-
5288
-				that._addClass( submenuCaret, "ui-menu-icon", "ui-icon " + icon );
5289
-				item
5290
-					.attr( "aria-haspopup", "true" )
5291
-					.prepend( submenuCaret );
5292
-				menu.attr( "aria-labelledby", item.attr( "id" ) );
5293
-			} );
5294
-
5295
-		this._addClass( newSubmenus, "ui-menu", "ui-widget ui-widget-content ui-front" );
5296
-
5297
-		menus = submenus.add( this.element );
5298
-		items = menus.find( this.options.items );
5299
-
5300
-		// Initialize menu-items containing spaces and/or dashes only as dividers
5301
-		items.not( ".ui-menu-item" ).each( function() {
5302
-			var item = $( this );
5303
-			if ( that._isDivider( item ) ) {
5304
-				that._addClass( item, "ui-menu-divider", "ui-widget-content" );
5305
-			}
5306
-		} );
5307
-
5308
-		// Don't refresh list items that are already adapted
5309
-		newItems = items.not( ".ui-menu-item, .ui-menu-divider" );
5310
-		newWrappers = newItems.children()
5311
-			.not( ".ui-menu" )
5312
-				.uniqueId()
5313
-				.attr( {
5314
-					tabIndex: -1,
5315
-					role: this._itemRole()
5316
-				} );
5317
-		this._addClass( newItems, "ui-menu-item" )
5318
-			._addClass( newWrappers, "ui-menu-item-wrapper" );
5319
-
5320
-		// Add aria-disabled attribute to any disabled menu item
5321
-		items.filter( ".ui-state-disabled" ).attr( "aria-disabled", "true" );
5322
-
5323
-		// If the active item has been removed, blur the menu
5324
-		if ( this.active && !$.contains( this.element[ 0 ], this.active[ 0 ] ) ) {
5325
-			this.blur();
5326
-		}
5327
-	},
5328
-
5329
-	_itemRole: function() {
5330
-		return {
5331
-			menu: "menuitem",
5332
-			listbox: "option"
5333
-		}[ this.options.role ];
5334
-	},
5335
-
5336
-	_setOption: function( key, value ) {
5337
-		if ( key === "icons" ) {
5338
-			var icons = this.element.find( ".ui-menu-icon" );
5339
-			this._removeClass( icons, null, this.options.icons.submenu )
5340
-				._addClass( icons, null, value.submenu );
5341
-		}
5342
-		this._super( key, value );
5343
-	},
5344
-
5345
-	_setOptionDisabled: function( value ) {
5346
-		this._super( value );
5347
-
5348
-		this.element.attr( "aria-disabled", String( value ) );
5349
-		this._toggleClass( null, "ui-state-disabled", !!value );
5350
-	},
5351
-
5352
-	focus: function( event, item ) {
5353
-		var nested, focused, activeParent;
5354
-		this.blur( event, event && event.type === "focus" );
5355
-
5356
-		this._scrollIntoView( item );
5357
-
5358
-		this.active = item.first();
5359
-
5360
-		focused = this.active.children( ".ui-menu-item-wrapper" );
5361
-		this._addClass( focused, null, "ui-state-active" );
5362
-
5363
-		// Only update aria-activedescendant if there's a role
5364
-		// otherwise we assume focus is managed elsewhere
5365
-		if ( this.options.role ) {
5366
-			this.element.attr( "aria-activedescendant", focused.attr( "id" ) );
5367
-		}
5368
-
5369
-		// Highlight active parent menu item, if any
5370
-		activeParent = this.active
5371
-			.parent()
5372
-				.closest( ".ui-menu-item" )
5373
-					.children( ".ui-menu-item-wrapper" );
5374
-		this._addClass( activeParent, null, "ui-state-active" );
5375
-
5376
-		if ( event && event.type === "keydown" ) {
5377
-			this._close();
5378
-		} else {
5379
-			this.timer = this._delay( function() {
5380
-				this._close();
5381
-			}, this.delay );
5382
-		}
5383
-
5384
-		nested = item.children( ".ui-menu" );
5385
-		if ( nested.length && event && ( /^mouse/.test( event.type ) ) ) {
5386
-			this._startOpening( nested );
5387
-		}
5388
-		this.activeMenu = item.parent();
5389
-
5390
-		this._trigger( "focus", event, { item: item } );
5391
-	},
5392
-
5393
-	_scrollIntoView: function( item ) {
5394
-		var borderTop, paddingTop, offset, scroll, elementHeight, itemHeight;
5395
-		if ( this._hasScroll() ) {
5396
-			borderTop = parseFloat( $.css( this.activeMenu[ 0 ], "borderTopWidth" ) ) || 0;
5397
-			paddingTop = parseFloat( $.css( this.activeMenu[ 0 ], "paddingTop" ) ) || 0;
5398
-			offset = item.offset().top - this.activeMenu.offset().top - borderTop - paddingTop;
5399
-			scroll = this.activeMenu.scrollTop();
5400
-			elementHeight = this.activeMenu.height();
5401
-			itemHeight = item.outerHeight();
5402
-
5403
-			if ( offset < 0 ) {
5404
-				this.activeMenu.scrollTop( scroll + offset );
5405
-			} else if ( offset + itemHeight > elementHeight ) {
5406
-				this.activeMenu.scrollTop( scroll + offset - elementHeight + itemHeight );
5407
-			}
5408
-		}
5409
-	},
5410
-
5411
-	blur: function( event, fromFocus ) {
5412
-		if ( !fromFocus ) {
5413
-			clearTimeout( this.timer );
5414
-		}
5415
-
5416
-		if ( !this.active ) {
5417
-			return;
5418
-		}
5419
-
5420
-		this._removeClass( this.active.children( ".ui-menu-item-wrapper" ),
5421
-			null, "ui-state-active" );
5422
-
5423
-		this._trigger( "blur", event, { item: this.active } );
5424
-		this.active = null;
5425
-	},
5426
-
5427
-	_startOpening: function( submenu ) {
5428
-		clearTimeout( this.timer );
5429
-
5430
-		// Don't open if already open fixes a Firefox bug that caused a .5 pixel
5431
-		// shift in the submenu position when mousing over the caret icon
5432
-		if ( submenu.attr( "aria-hidden" ) !== "true" ) {
5433
-			return;
5434
-		}
5435
-
5436
-		this.timer = this._delay( function() {
5437
-			this._close();
5438
-			this._open( submenu );
5439
-		}, this.delay );
5440
-	},
5441
-
5442
-	_open: function( submenu ) {
5443
-		var position = $.extend( {
5444
-			of: this.active
5445
-		}, this.options.position );
5446
-
5447
-		clearTimeout( this.timer );
5448
-		this.element.find( ".ui-menu" ).not( submenu.parents( ".ui-menu" ) )
5449
-			.hide()
5450
-			.attr( "aria-hidden", "true" );
5451
-
5452
-		submenu
5453
-			.show()
5454
-			.removeAttr( "aria-hidden" )
5455
-			.attr( "aria-expanded", "true" )
5456
-			.position( position );
5457
-	},
5458
-
5459
-	collapseAll: function( event, all ) {
5460
-		clearTimeout( this.timer );
5461
-		this.timer = this._delay( function() {
5462
-
5463
-			// If we were passed an event, look for the submenu that contains the event
5464
-			var currentMenu = all ? this.element :
5465
-				$( event && event.target ).closest( this.element.find( ".ui-menu" ) );
5466
-
5467
-			// If we found no valid submenu ancestor, use the main menu to close all
5468
-			// sub menus anyway
5469
-			if ( !currentMenu.length ) {
5470
-				currentMenu = this.element;
5471
-			}
5472
-
5473
-			this._close( currentMenu );
5474
-
5475
-			this.blur( event );
5476
-
5477
-			// Work around active item staying active after menu is blurred
5478
-			this._removeClass( currentMenu.find( ".ui-state-active" ), null, "ui-state-active" );
5479
-
5480
-			this.activeMenu = currentMenu;
5481
-		}, all ? 0 : this.delay );
5482
-	},
5483
-
5484
-	// With no arguments, closes the currently active menu - if nothing is active
5485
-	// it closes all menus.  If passed an argument, it will search for menus BELOW
5486
-	_close: function( startMenu ) {
5487
-		if ( !startMenu ) {
5488
-			startMenu = this.active ? this.active.parent() : this.element;
5489
-		}
5490
-
5491
-		startMenu.find( ".ui-menu" )
5492
-			.hide()
5493
-			.attr( "aria-hidden", "true" )
5494
-			.attr( "aria-expanded", "false" );
5495
-	},
5496
-
5497
-	_closeOnDocumentClick: function( event ) {
5498
-		return !$( event.target ).closest( ".ui-menu" ).length;
5499
-	},
5500
-
5501
-	_isDivider: function( item ) {
5502
-
5503
-		// Match hyphen, em dash, en dash
5504
-		return !/[^\-\u2014\u2013\s]/.test( item.text() );
5505
-	},
5506
-
5507
-	collapse: function( event ) {
5508
-		var newItem = this.active &&
5509
-			this.active.parent().closest( ".ui-menu-item", this.element );
5510
-		if ( newItem && newItem.length ) {
5511
-			this._close();
5512
-			this.focus( event, newItem );
5513
-		}
5514
-	},
5515
-
5516
-	expand: function( event ) {
5517
-		var newItem = this.active && this._menuItems( this.active.children( ".ui-menu" ) ).first();
5518
-
5519
-		if ( newItem && newItem.length ) {
5520
-			this._open( newItem.parent() );
5521
-
5522
-			// Delay so Firefox will not hide activedescendant change in expanding submenu from AT
5523
-			this._delay( function() {
5524
-				this.focus( event, newItem );
5525
-			} );
5526
-		}
5527
-	},
5528
-
5529
-	next: function( event ) {
5530
-		this._move( "next", "first", event );
5531
-	},
5532
-
5533
-	previous: function( event ) {
5534
-		this._move( "prev", "last", event );
5535
-	},
5536
-
5537
-	isFirstItem: function() {
5538
-		return this.active && !this.active.prevAll( ".ui-menu-item" ).length;
5539
-	},
5540
-
5541
-	isLastItem: function() {
5542
-		return this.active && !this.active.nextAll( ".ui-menu-item" ).length;
5543
-	},
5544
-
5545
-	_menuItems: function( menu ) {
5546
-		return ( menu || this.element )
5547
-			.find( this.options.items )
5548
-			.filter( ".ui-menu-item" );
5549
-	},
5550
-
5551
-	_move: function( direction, filter, event ) {
5552
-		var next;
5553
-		if ( this.active ) {
5554
-			if ( direction === "first" || direction === "last" ) {
5555
-				next = this.active
5556
-					[ direction === "first" ? "prevAll" : "nextAll" ]( ".ui-menu-item" )
5557
-					.last();
5558
-			} else {
5559
-				next = this.active
5560
-					[ direction + "All" ]( ".ui-menu-item" )
5561
-					.first();
5562
-			}
5563
-		}
5564
-		if ( !next || !next.length || !this.active ) {
5565
-			next = this._menuItems( this.activeMenu )[ filter ]();
5566
-		}
5567
-
5568
-		this.focus( event, next );
5569
-	},
5570
-
5571
-	nextPage: function( event ) {
5572
-		var item, base, height;
5573
-
5574
-		if ( !this.active ) {
5575
-			this.next( event );
5576
-			return;
5577
-		}
5578
-		if ( this.isLastItem() ) {
5579
-			return;
5580
-		}
5581
-		if ( this._hasScroll() ) {
5582
-			base = this.active.offset().top;
5583
-			height = this.element.innerHeight();
5584
-
5585
-			// jQuery 3.2 doesn't include scrollbars in innerHeight, add it back.
5586
-			if ( $.fn.jquery.indexOf( "3.2." ) === 0 ) {
5587
-				height += this.element[ 0 ].offsetHeight - this.element.outerHeight();
5588
-			}
5589
-
5590
-			this.active.nextAll( ".ui-menu-item" ).each( function() {
5591
-				item = $( this );
5592
-				return item.offset().top - base - height < 0;
5593
-			} );
5594
-
5595
-			this.focus( event, item );
5596
-		} else {
5597
-			this.focus( event, this._menuItems( this.activeMenu )
5598
-				[ !this.active ? "first" : "last" ]() );
5599
-		}
5600
-	},
5601
-
5602
-	previousPage: function( event ) {
5603
-		var item, base, height;
5604
-		if ( !this.active ) {
5605
-			this.next( event );
5606
-			return;
5607
-		}
5608
-		if ( this.isFirstItem() ) {
5609
-			return;
5610
-		}
5611
-		if ( this._hasScroll() ) {
5612
-			base = this.active.offset().top;
5613
-			height = this.element.innerHeight();
5614
-
5615
-			// jQuery 3.2 doesn't include scrollbars in innerHeight, add it back.
5616
-			if ( $.fn.jquery.indexOf( "3.2." ) === 0 ) {
5617
-				height += this.element[ 0 ].offsetHeight - this.element.outerHeight();
5618
-			}
5619
-
5620
-			this.active.prevAll( ".ui-menu-item" ).each( function() {
5621
-				item = $( this );
5622
-				return item.offset().top - base + height > 0;
5623
-			} );
5624
-
5625
-			this.focus( event, item );
5626
-		} else {
5627
-			this.focus( event, this._menuItems( this.activeMenu ).first() );
5628
-		}
5629
-	},
5630
-
5631
-	_hasScroll: function() {
5632
-		return this.element.outerHeight() < this.element.prop( "scrollHeight" );
5633
-	},
5634
-
5635
-	select: function( event ) {
5636
-
5637
-		// TODO: It should never be possible to not have an active item at this
5638
-		// point, but the tests don't trigger mouseenter before click.
5639
-		this.active = this.active || $( event.target ).closest( ".ui-menu-item" );
5640
-		var ui = { item: this.active };
5641
-		if ( !this.active.has( ".ui-menu" ).length ) {
5642
-			this.collapseAll( event, true );
5643
-		}
5644
-		this._trigger( "select", event, ui );
5645
-	},
5646
-
5647
-	_filterMenuItems: function( character ) {
5648
-		var escapedCharacter = character.replace( /[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&" ),
5649
-			regex = new RegExp( "^" + escapedCharacter, "i" );
5650
-
5651
-		return this.activeMenu
5652
-			.find( this.options.items )
5653
-
5654
-				// Only match on items, not dividers or other content (#10571)
5655
-				.filter( ".ui-menu-item" )
5656
-					.filter( function() {
5657
-						return regex.test(
5658
-							String.prototype.trim.call(
5659
-								$( this ).children( ".ui-menu-item-wrapper" ).text() ) );
5660
-					} );
5661
-	}
5662
-} );
5663
-
5664
-
5665
-/*!
5666
- * jQuery UI Autocomplete 1.13.2
5667
- * http://jqueryui.com
5668
- *
5669
- * Copyright jQuery Foundation and other contributors
5670
- * Released under the MIT license.
5671
- * http://jquery.org/license
5672
- */
5673
-
5674
-//>>label: Autocomplete
5675
-//>>group: Widgets
5676
-//>>description: Lists suggested words as the user is typing.
5677
-//>>docs: http://api.jqueryui.com/autocomplete/
5678
-//>>demos: http://jqueryui.com/autocomplete/
5679
-//>>css.structure: ../../themes/base/core.css
5680
-//>>css.structure: ../../themes/base/autocomplete.css
5681
-//>>css.theme: ../../themes/base/theme.css
5682
-
5683
-
5684
-$.widget( "ui.autocomplete", {
5685
-	version: "1.13.2",
5686
-	defaultElement: "<input>",
5687
-	options: {
5688
-		appendTo: null,
5689
-		autoFocus: false,
5690
-		delay: 300,
5691
-		minLength: 1,
5692
-		position: {
5693
-			my: "left top",
5694
-			at: "left bottom",
5695
-			collision: "none"
5696
-		},
5697
-		source: null,
5698
-
5699
-		// Callbacks
5700
-		change: null,
5701
-		close: null,
5702
-		focus: null,
5703
-		open: null,
5704
-		response: null,
5705
-		search: null,
5706
-		select: null
5707
-	},
5708
-
5709
-	requestIndex: 0,
5710
-	pending: 0,
5711
-	liveRegionTimer: null,
5712
-
5713
-	_create: function() {
5714
-
5715
-		// Some browsers only repeat keydown events, not keypress events,
5716
-		// so we use the suppressKeyPress flag to determine if we've already
5717
-		// handled the keydown event. #7269
5718
-		// Unfortunately the code for & in keypress is the same as the up arrow,
5719
-		// so we use the suppressKeyPressRepeat flag to avoid handling keypress
5720
-		// events when we know the keydown event was used to modify the
5721
-		// search term. #7799
5722
-		var suppressKeyPress, suppressKeyPressRepeat, suppressInput,
5723
-			nodeName = this.element[ 0 ].nodeName.toLowerCase(),
5724
-			isTextarea = nodeName === "textarea",
5725
-			isInput = nodeName === "input";
5726
-
5727
-		// Textareas are always multi-line
5728
-		// Inputs are always single-line, even if inside a contentEditable element
5729
-		// IE also treats inputs as contentEditable
5730
-		// All other element types are determined by whether or not they're contentEditable
5731
-		this.isMultiLine = isTextarea || !isInput && this._isContentEditable( this.element );
5732
-
5733
-		this.valueMethod = this.element[ isTextarea || isInput ? "val" : "text" ];
5734
-		this.isNewMenu = true;
5735
-
5736
-		this._addClass( "ui-autocomplete-input" );
5737
-		this.element.attr( "autocomplete", "off" );
5738
-
5739
-		this._on( this.element, {
5740
-			keydown: function( event ) {
5741
-				if ( this.element.prop( "readOnly" ) ) {
5742
-					suppressKeyPress = true;
5743
-					suppressInput = true;
5744
-					suppressKeyPressRepeat = true;
5745
-					return;
5746
-				}
5747
-
5748
-				suppressKeyPress = false;
5749
-				suppressInput = false;
5750
-				suppressKeyPressRepeat = false;
5751
-				var keyCode = $.ui.keyCode;
5752
-				switch ( event.keyCode ) {
5753
-				case keyCode.PAGE_UP:
5754
-					suppressKeyPress = true;
5755
-					this._move( "previousPage", event );
5756
-					break;
5757
-				case keyCode.PAGE_DOWN:
5758
-					suppressKeyPress = true;
5759
-					this._move( "nextPage", event );
5760
-					break;
5761
-				case keyCode.UP:
5762
-					suppressKeyPress = true;
5763
-					this._keyEvent( "previous", event );
5764
-					break;
5765
-				case keyCode.DOWN:
5766
-					suppressKeyPress = true;
5767
-					this._keyEvent( "next", event );
5768
-					break;
5769
-				case keyCode.ENTER:
5770
-
5771
-					// when menu is open and has focus
5772
-					if ( this.menu.active ) {
5773
-
5774
-						// #6055 - Opera still allows the keypress to occur
5775
-						// which causes forms to submit
5776
-						suppressKeyPress = true;
5777
-						event.preventDefault();
5778
-						this.menu.select( event );
5779
-					}
5780
-					break;
5781
-				case keyCode.TAB:
5782
-					if ( this.menu.active ) {
5783
-						this.menu.select( event );
5784
-					}
5785
-					break;
5786
-				case keyCode.ESCAPE:
5787
-					if ( this.menu.element.is( ":visible" ) ) {
5788
-						if ( !this.isMultiLine ) {
5789
-							this._value( this.term );
5790
-						}
5791
-						this.close( event );
5792
-
5793
-						// Different browsers have different default behavior for escape
5794
-						// Single press can mean undo or clear
5795
-						// Double press in IE means clear the whole form
5796
-						event.preventDefault();
5797
-					}
5798
-					break;
5799
-				default:
5800
-					suppressKeyPressRepeat = true;
5801
-
5802
-					// search timeout should be triggered before the input value is changed
5803
-					this._searchTimeout( event );
5804
-					break;
5805
-				}
5806
-			},
5807
-			keypress: function( event ) {
5808
-				if ( suppressKeyPress ) {
5809
-					suppressKeyPress = false;
5810
-					if ( !this.isMultiLine || this.menu.element.is( ":visible" ) ) {
5811
-						event.preventDefault();
5812
-					}
5813
-					return;
5814
-				}
5815
-				if ( suppressKeyPressRepeat ) {
5816
-					return;
5817
-				}
5818
-
5819
-				// Replicate some key handlers to allow them to repeat in Firefox and Opera
5820
-				var keyCode = $.ui.keyCode;
5821
-				switch ( event.keyCode ) {
5822
-				case keyCode.PAGE_UP:
5823
-					this._move( "previousPage", event );
5824
-					break;
5825
-				case keyCode.PAGE_DOWN:
5826
-					this._move( "nextPage", event );
5827
-					break;
5828
-				case keyCode.UP:
5829
-					this._keyEvent( "previous", event );
5830
-					break;
5831
-				case keyCode.DOWN:
5832
-					this._keyEvent( "next", event );
5833
-					break;
5834
-				}
5835
-			},
5836
-			input: function( event ) {
5837
-				if ( suppressInput ) {
5838
-					suppressInput = false;
5839
-					event.preventDefault();
5840
-					return;
5841
-				}
5842
-				this._searchTimeout( event );
5843
-			},
5844
-			focus: function() {
5845
-				this.selectedItem = null;
5846
-				this.previous = this._value();
5847
-			},
5848
-			blur: function( event ) {
5849
-				clearTimeout( this.searching );
5850
-				this.close( event );
5851
-				this._change( event );
5852
-			}
5853
-		} );
5854
-
5855
-		this._initSource();
5856
-		this.menu = $( "<ul>" )
5857
-			.appendTo( this._appendTo() )
5858
-			.menu( {
5859
-
5860
-				// disable ARIA support, the live region takes care of that
5861
-				role: null
5862
-			} )
5863
-			.hide()
5864
-
5865
-			// Support: IE 11 only, Edge <= 14
5866
-			// For other browsers, we preventDefault() on the mousedown event
5867
-			// to keep the dropdown from taking focus from the input. This doesn't
5868
-			// work for IE/Edge, causing problems with selection and scrolling (#9638)
5869
-			// Happily, IE and Edge support an "unselectable" attribute that
5870
-			// prevents an element from receiving focus, exactly what we want here.
5871
-			.attr( {
5872
-				"unselectable": "on"
5873
-			} )
5874
-			.menu( "instance" );
5875
-
5876
-		this._addClass( this.menu.element, "ui-autocomplete", "ui-front" );
5877
-		this._on( this.menu.element, {
5878
-			mousedown: function( event ) {
5879
-
5880
-				// Prevent moving focus out of the text field
5881
-				event.preventDefault();
5882
-			},
5883
-			menufocus: function( event, ui ) {
5884
-				var label, item;
5885
-
5886
-				// support: Firefox
5887
-				// Prevent accidental activation of menu items in Firefox (#7024 #9118)
5888
-				if ( this.isNewMenu ) {
5889
-					this.isNewMenu = false;
5890
-					if ( event.originalEvent && /^mouse/.test( event.originalEvent.type ) ) {
5891
-						this.menu.blur();
5892
-
5893
-						this.document.one( "mousemove", function() {
5894
-							$( event.target ).trigger( event.originalEvent );
5895
-						} );
5896
-
5897
-						return;
5898
-					}
5899
-				}
5900
-
5901
-				item = ui.item.data( "ui-autocomplete-item" );
5902
-				if ( false !== this._trigger( "focus", event, { item: item } ) ) {
5903
-
5904
-					// use value to match what will end up in the input, if it was a key event
5905
-					if ( event.originalEvent && /^key/.test( event.originalEvent.type ) ) {
5906
-						this._value( item.value );
5907
-					}
5908
-				}
5909
-
5910
-				// Announce the value in the liveRegion
5911
-				label = ui.item.attr( "aria-label" ) || item.value;
5912
-				if ( label && String.prototype.trim.call( label ).length ) {
5913
-					clearTimeout( this.liveRegionTimer );
5914
-					this.liveRegionTimer = this._delay( function() {
5915
-						this.liveRegion.html( $( "<div>" ).text( label ) );
5916
-					}, 100 );
5917
-				}
5918
-			},
5919
-			menuselect: function( event, ui ) {
5920
-				var item = ui.item.data( "ui-autocomplete-item" ),
5921
-					previous = this.previous;
5922
-
5923
-				// Only trigger when focus was lost (click on menu)
5924
-				if ( this.element[ 0 ] !== $.ui.safeActiveElement( this.document[ 0 ] ) ) {
5925
-					this.element.trigger( "focus" );
5926
-					this.previous = previous;
5927
-
5928
-					// #6109 - IE triggers two focus events and the second
5929
-					// is asynchronous, so we need to reset the previous
5930
-					// term synchronously and asynchronously :-(
5931
-					this._delay( function() {
5932
-						this.previous = previous;
5933
-						this.selectedItem = item;
5934
-					} );
5935
-				}
5936
-
5937
-				if ( false !== this._trigger( "select", event, { item: item } ) ) {
5938
-					this._value( item.value );
5939
-				}
5940
-
5941
-				// reset the term after the select event
5942
-				// this allows custom select handling to work properly
5943
-				this.term = this._value();
5944
-
5945
-				this.close( event );
5946
-				this.selectedItem = item;
5947
-			}
5948
-		} );
5949
-
5950
-		this.liveRegion = $( "<div>", {
5951
-			role: "status",
5952
-			"aria-live": "assertive",
5953
-			"aria-relevant": "additions"
5954
-		} )
5955
-			.appendTo( this.document[ 0 ].body );
5956
-
5957
-		this._addClass( this.liveRegion, null, "ui-helper-hidden-accessible" );
5958
-
5959
-		// Turning off autocomplete prevents the browser from remembering the
5960
-		// value when navigating through history, so we re-enable autocomplete
5961
-		// if the page is unloaded before the widget is destroyed. #7790
5962
-		this._on( this.window, {
5963
-			beforeunload: function() {
5964
-				this.element.removeAttr( "autocomplete" );
5965
-			}
5966
-		} );
5967
-	},
5968
-
5969
-	_destroy: function() {
5970
-		clearTimeout( this.searching );
5971
-		this.element.removeAttr( "autocomplete" );
5972
-		this.menu.element.remove();
5973
-		this.liveRegion.remove();
5974
-	},
5975
-
5976
-	_setOption: function( key, value ) {
5977
-		this._super( key, value );
5978
-		if ( key === "source" ) {
5979
-			this._initSource();
5980
-		}
5981
-		if ( key === "appendTo" ) {
5982
-			this.menu.element.appendTo( this._appendTo() );
5983
-		}
5984
-		if ( key === "disabled" && value && this.xhr ) {
5985
-			this.xhr.abort();
5986
-		}
5987
-	},
5988
-
5989
-	_isEventTargetInWidget: function( event ) {
5990
-		var menuElement = this.menu.element[ 0 ];
5991
-
5992
-		return event.target === this.element[ 0 ] ||
5993
-			event.target === menuElement ||
5994
-			$.contains( menuElement, event.target );
5995
-	},
5996
-
5997
-	_closeOnClickOutside: function( event ) {
5998
-		if ( !this._isEventTargetInWidget( event ) ) {
5999
-			this.close();
6000
-		}
6001
-	},
6002
-
6003
-	_appendTo: function() {
6004
-		var element = this.options.appendTo;
6005
-
6006
-		if ( element ) {
6007
-			element = element.jquery || element.nodeType ?
6008
-				$( element ) :
6009
-				this.document.find( element ).eq( 0 );
6010
-		}
6011
-
6012
-		if ( !element || !element[ 0 ] ) {
6013
-			element = this.element.closest( ".ui-front, dialog" );
6014
-		}
6015
-
6016
-		if ( !element.length ) {
6017
-			element = this.document[ 0 ].body;
6018
-		}
6019
-
6020
-		return element;
6021
-	},
6022
-
6023
-	_initSource: function() {
6024
-		var array, url,
6025
-			that = this;
6026
-		if ( Array.isArray( this.options.source ) ) {
6027
-			array = this.options.source;
6028
-			this.source = function( request, response ) {
6029
-				response( $.ui.autocomplete.filter( array, request.term ) );
6030
-			};
6031
-		} else if ( typeof this.options.source === "string" ) {
6032
-			url = this.options.source;
6033
-			this.source = function( request, response ) {
6034
-				if ( that.xhr ) {
6035
-					that.xhr.abort();
6036
-				}
6037
-				that.xhr = $.ajax( {
6038
-					url: url,
6039
-					data: request,
6040
-					dataType: "json",
6041
-					success: function( data ) {
6042
-						response( data );
6043
-					},
6044
-					error: function() {
6045
-						response( [] );
6046
-					}
6047
-				} );
6048
-			};
6049
-		} else {
6050
-			this.source = this.options.source;
6051
-		}
6052
-	},
6053
-
6054
-	_searchTimeout: function( event ) {
6055
-		clearTimeout( this.searching );
6056
-		this.searching = this._delay( function() {
6057
-
6058
-			// Search if the value has changed, or if the user retypes the same value (see #7434)
6059
-			var equalValues = this.term === this._value(),
6060
-				menuVisible = this.menu.element.is( ":visible" ),
6061
-				modifierKey = event.altKey || event.ctrlKey || event.metaKey || event.shiftKey;
6062
-
6063
-			if ( !equalValues || ( equalValues && !menuVisible && !modifierKey ) ) {
6064
-				this.selectedItem = null;
6065
-				this.search( null, event );
6066
-			}
6067
-		}, this.options.delay );
6068
-	},
6069
-
6070
-	search: function( value, event ) {
6071
-		value = value != null ? value : this._value();
6072
-
6073
-		// Always save the actual value, not the one passed as an argument
6074
-		this.term = this._value();
6075
-
6076
-		if ( value.length < this.options.minLength ) {
6077
-			return this.close( event );
6078
-		}
6079
-
6080
-		if ( this._trigger( "search", event ) === false ) {
6081
-			return;
6082
-		}
6083
-
6084
-		return this._search( value );
6085
-	},
6086
-
6087
-	_search: function( value ) {
6088
-		this.pending++;
6089
-		this._addClass( "ui-autocomplete-loading" );
6090
-		this.cancelSearch = false;
6091
-
6092
-		this.source( { term: value }, this._response() );
6093
-	},
6094
-
6095
-	_response: function() {
6096
-		var index = ++this.requestIndex;
6097
-
6098
-		return function( content ) {
6099
-			if ( index === this.requestIndex ) {
6100
-				this.__response( content );
6101
-			}
6102
-
6103
-			this.pending--;
6104
-			if ( !this.pending ) {
6105
-				this._removeClass( "ui-autocomplete-loading" );
6106
-			}
6107
-		}.bind( this );
6108
-	},
6109
-
6110
-	__response: function( content ) {
6111
-		if ( content ) {
6112
-			content = this._normalize( content );
6113
-		}
6114
-		this._trigger( "response", null, { content: content } );
6115
-		if ( !this.options.disabled && content && content.length && !this.cancelSearch ) {
6116
-			this._suggest( content );
6117
-			this._trigger( "open" );
6118
-		} else {
6119
-
6120
-			// use ._close() instead of .close() so we don't cancel future searches
6121
-			this._close();
6122
-		}
6123
-	},
6124
-
6125
-	close: function( event ) {
6126
-		this.cancelSearch = true;
6127
-		this._close( event );
6128
-	},
6129
-
6130
-	_close: function( event ) {
6131
-
6132
-		// Remove the handler that closes the menu on outside clicks
6133
-		this._off( this.document, "mousedown" );
6134
-
6135
-		if ( this.menu.element.is( ":visible" ) ) {
6136
-			this.menu.element.hide();
6137
-			this.menu.blur();
6138
-			this.isNewMenu = true;
6139
-			this._trigger( "close", event );
6140
-		}
6141
-	},
6142
-
6143
-	_change: function( event ) {
6144
-		if ( this.previous !== this._value() ) {
6145
-			this._trigger( "change", event, { item: this.selectedItem } );
6146
-		}
6147
-	},
6148
-
6149
-	_normalize: function( items ) {
6150
-
6151
-		// assume all items have the right format when the first item is complete
6152
-		if ( items.length && items[ 0 ].label && items[ 0 ].value ) {
6153
-			return items;
6154
-		}
6155
-		return $.map( items, function( item ) {
6156
-			if ( typeof item === "string" ) {
6157
-				return {
6158
-					label: item,
6159
-					value: item
6160
-				};
6161
-			}
6162
-			return $.extend( {}, item, {
6163
-				label: item.label || item.value,
6164
-				value: item.value || item.label
6165
-			} );
6166
-		} );
6167
-	},
6168
-
6169
-	_suggest: function( items ) {
6170
-		var ul = this.menu.element.empty();
6171
-		this._renderMenu( ul, items );
6172
-		this.isNewMenu = true;
6173
-		this.menu.refresh();
6174
-
6175
-		// Size and position menu
6176
-		ul.show();
6177
-		this._resizeMenu();
6178
-		ul.position( $.extend( {
6179
-			of: this.element
6180
-		}, this.options.position ) );
6181
-
6182
-		if ( this.options.autoFocus ) {
6183
-			this.menu.next();
6184
-		}
6185
-
6186
-		// Listen for interactions outside of the widget (#6642)
6187
-		this._on( this.document, {
6188
-			mousedown: "_closeOnClickOutside"
6189
-		} );
6190
-	},
6191
-
6192
-	_resizeMenu: function() {
6193
-		var ul = this.menu.element;
6194
-		ul.outerWidth( Math.max(
6195
-
6196
-			// Firefox wraps long text (possibly a rounding bug)
6197
-			// so we add 1px to avoid the wrapping (#7513)
6198
-			ul.width( "" ).outerWidth() + 1,
6199
-			this.element.outerWidth()
6200
-		) );
6201
-	},
6202
-
6203
-	_renderMenu: function( ul, items ) {
6204
-		var that = this;
6205
-		$.each( items, function( index, item ) {
6206
-			that._renderItemData( ul, item );
6207
-		} );
6208
-	},
6209
-
6210
-	_renderItemData: function( ul, item ) {
6211
-		return this._renderItem( ul, item ).data( "ui-autocomplete-item", item );
6212
-	},
6213
-
6214
-	_renderItem: function( ul, item ) {
6215
-		return $( "<li>" )
6216
-			.append( $( "<div>" ).text( item.label ) )
6217
-			.appendTo( ul );
6218
-	},
6219
-
6220
-	_move: function( direction, event ) {
6221
-		if ( !this.menu.element.is( ":visible" ) ) {
6222
-			this.search( null, event );
6223
-			return;
6224
-		}
6225
-		if ( this.menu.isFirstItem() && /^previous/.test( direction ) ||
6226
-				this.menu.isLastItem() && /^next/.test( direction ) ) {
6227
-
6228
-			if ( !this.isMultiLine ) {
6229
-				this._value( this.term );
6230
-			}
6231
-
6232
-			this.menu.blur();
6233
-			return;
6234
-		}
6235
-		this.menu[ direction ]( event );
6236
-	},
6237
-
6238
-	widget: function() {
6239
-		return this.menu.element;
6240
-	},
6241
-
6242
-	_value: function() {
6243
-		return this.valueMethod.apply( this.element, arguments );
6244
-	},
6245
-
6246
-	_keyEvent: function( keyEvent, event ) {
6247
-		if ( !this.isMultiLine || this.menu.element.is( ":visible" ) ) {
6248
-			this._move( keyEvent, event );
6249
-
6250
-			// Prevents moving cursor to beginning/end of the text field in some browsers
6251
-			event.preventDefault();
6252
-		}
6253
-	},
6254
-
6255
-	// Support: Chrome <=50
6256
-	// We should be able to just use this.element.prop( "isContentEditable" )
6257
-	// but hidden elements always report false in Chrome.
6258
-	// https://code.google.com/p/chromium/issues/detail?id=313082
6259
-	_isContentEditable: function( element ) {
6260
-		if ( !element.length ) {
6261
-			return false;
6262
-		}
6263
-
6264
-		var editable = element.prop( "contentEditable" );
6265
-
6266
-		if ( editable === "inherit" ) {
6267
-			return this._isContentEditable( element.parent() );
6268
-		}
6269
-
6270
-		return editable === "true";
6271
-	}
6272
-} );
6273
-
6274
-$.extend( $.ui.autocomplete, {
6275
-	escapeRegex: function( value ) {
6276
-		return value.replace( /[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&" );
6277
-	},
6278
-	filter: function( array, term ) {
6279
-		var matcher = new RegExp( $.ui.autocomplete.escapeRegex( term ), "i" );
6280
-		return $.grep( array, function( value ) {
6281
-			return matcher.test( value.label || value.value || value );
6282
-		} );
6283
-	}
6284
-} );
6285
-
6286
-// Live region extension, adding a `messages` option
6287
-// NOTE: This is an experimental API. We are still investigating
6288
-// a full solution for string manipulation and internationalization.
6289
-$.widget( "ui.autocomplete", $.ui.autocomplete, {
6290
-	options: {
6291
-		messages: {
6292
-			noResults: "No search results.",
6293
-			results: function( amount ) {
6294
-				return amount + ( amount > 1 ? " results are" : " result is" ) +
6295
-					" available, use up and down arrow keys to navigate.";
6296
-			}
6297
-		}
6298
-	},
6299
-
6300
-	__response: function( content ) {
6301
-		var message;
6302
-		this._superApply( arguments );
6303
-		if ( this.options.disabled || this.cancelSearch ) {
6304
-			return;
6305
-		}
6306
-		if ( content && content.length ) {
6307
-			message = this.options.messages.results( content.length );
6308
-		} else {
6309
-			message = this.options.messages.noResults;
6310
-		}
6311
-		clearTimeout( this.liveRegionTimer );
6312
-		this.liveRegionTimer = this._delay( function() {
6313
-			this.liveRegion.html( $( "<div>" ).text( message ) );
6314
-		}, 100 );
6315
-	}
6316
-} );
6317
-
6318
-var widgetsAutocomplete = $.ui.autocomplete;
6319
-
6320
-
6321
-/*!
6322
- * jQuery UI Controlgroup 1.13.2
6323
- * http://jqueryui.com
6324
- *
6325
- * Copyright jQuery Foundation and other contributors
6326
- * Released under the MIT license.
6327
- * http://jquery.org/license
6328
- */
6329
-
6330
-//>>label: Controlgroup
6331
-//>>group: Widgets
6332
-//>>description: Visually groups form control widgets
6333
-//>>docs: http://api.jqueryui.com/controlgroup/
6334
-//>>demos: http://jqueryui.com/controlgroup/
6335
-//>>css.structure: ../../themes/base/core.css
6336
-//>>css.structure: ../../themes/base/controlgroup.css
6337
-//>>css.theme: ../../themes/base/theme.css
6338
-
6339
-
6340
-var controlgroupCornerRegex = /ui-corner-([a-z]){2,6}/g;
6341
-
6342
-var widgetsControlgroup = $.widget( "ui.controlgroup", {
6343
-	version: "1.13.2",
6344
-	defaultElement: "<div>",
6345
-	options: {
6346
-		direction: "horizontal",
6347
-		disabled: null,
6348
-		onlyVisible: true,
6349
-		items: {
6350
-			"button": "input[type=button], input[type=submit], input[type=reset], button, a",
6351
-			"controlgroupLabel": ".ui-controlgroup-label",
6352
-			"checkboxradio": "input[type='checkbox'], input[type='radio']",
6353
-			"selectmenu": "select",
6354
-			"spinner": ".ui-spinner-input"
6355
-		}
6356
-	},
6357
-
6358
-	_create: function() {
6359
-		this._enhance();
6360
-	},
6361
-
6362
-	// To support the enhanced option in jQuery Mobile, we isolate DOM manipulation
6363
-	_enhance: function() {
6364
-		this.element.attr( "role", "toolbar" );
6365
-		this.refresh();
6366
-	},
6367
-
6368
-	_destroy: function() {
6369
-		this._callChildMethod( "destroy" );
6370
-		this.childWidgets.removeData( "ui-controlgroup-data" );
6371
-		this.element.removeAttr( "role" );
6372
-		if ( this.options.items.controlgroupLabel ) {
6373
-			this.element
6374
-				.find( this.options.items.controlgroupLabel )
6375
-				.find( ".ui-controlgroup-label-contents" )
6376
-				.contents().unwrap();
6377
-		}
6378
-	},
6379
-
6380
-	_initWidgets: function() {
6381
-		var that = this,
6382
-			childWidgets = [];
6383
-
6384
-		// First we iterate over each of the items options
6385
-		$.each( this.options.items, function( widget, selector ) {
6386
-			var labels;
6387
-			var options = {};
6388
-
6389
-			// Make sure the widget has a selector set
6390
-			if ( !selector ) {
6391
-				return;
6392
-			}
6393
-
6394
-			if ( widget === "controlgroupLabel" ) {
6395
-				labels = that.element.find( selector );
6396
-				labels.each( function() {
6397
-					var element = $( this );
6398
-
6399
-					if ( element.children( ".ui-controlgroup-label-contents" ).length ) {
6400
-						return;
6401
-					}
6402
-					element.contents()
6403
-						.wrapAll( "<span class='ui-controlgroup-label-contents'></span>" );
6404
-				} );
6405
-				that._addClass( labels, null, "ui-widget ui-widget-content ui-state-default" );
6406
-				childWidgets = childWidgets.concat( labels.get() );
6407
-				return;
6408
-			}
6409
-
6410
-			// Make sure the widget actually exists
6411
-			if ( !$.fn[ widget ] ) {
6412
-				return;
6413
-			}
6414
-
6415
-			// We assume everything is in the middle to start because we can't determine
6416
-			// first / last elements until all enhancments are done.
6417
-			if ( that[ "_" + widget + "Options" ] ) {
6418
-				options = that[ "_" + widget + "Options" ]( "middle" );
6419
-			} else {
6420
-				options = { classes: {} };
6421
-			}
6422
-
6423
-			// Find instances of this widget inside controlgroup and init them
6424
-			that.element
6425
-				.find( selector )
6426
-				.each( function() {
6427
-					var element = $( this );
6428
-					var instance = element[ widget ]( "instance" );
6429
-
6430
-					// We need to clone the default options for this type of widget to avoid
6431
-					// polluting the variable options which has a wider scope than a single widget.
6432
-					var instanceOptions = $.widget.extend( {}, options );
6433
-
6434
-					// If the button is the child of a spinner ignore it
6435
-					// TODO: Find a more generic solution
6436
-					if ( widget === "button" && element.parent( ".ui-spinner" ).length ) {
6437
-						return;
6438
-					}
6439
-
6440
-					// Create the widget if it doesn't exist
6441
-					if ( !instance ) {
6442
-						instance = element[ widget ]()[ widget ]( "instance" );
6443
-					}
6444
-					if ( instance ) {
6445
-						instanceOptions.classes =
6446
-							that._resolveClassesValues( instanceOptions.classes, instance );
6447
-					}
6448
-					element[ widget ]( instanceOptions );
6449
-
6450
-					// Store an instance of the controlgroup to be able to reference
6451
-					// from the outermost element for changing options and refresh
6452
-					var widgetElement = element[ widget ]( "widget" );
6453
-					$.data( widgetElement[ 0 ], "ui-controlgroup-data",
6454
-						instance ? instance : element[ widget ]( "instance" ) );
6455
-
6456
-					childWidgets.push( widgetElement[ 0 ] );
6457
-				} );
6458
-		} );
6459
-
6460
-		this.childWidgets = $( $.uniqueSort( childWidgets ) );
6461
-		this._addClass( this.childWidgets, "ui-controlgroup-item" );
6462
-	},
6463
-
6464
-	_callChildMethod: function( method ) {
6465
-		this.childWidgets.each( function() {
6466
-			var element = $( this ),
6467
-				data = element.data( "ui-controlgroup-data" );
6468
-			if ( data && data[ method ] ) {
6469
-				data[ method ]();
6470
-			}
6471
-		} );
6472
-	},
6473
-
6474
-	_updateCornerClass: function( element, position ) {
6475
-		var remove = "ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all";
6476
-		var add = this._buildSimpleOptions( position, "label" ).classes.label;
6477
-
6478
-		this._removeClass( element, null, remove );
6479
-		this._addClass( element, null, add );
6480
-	},
6481
-
6482
-	_buildSimpleOptions: function( position, key ) {
6483
-		var direction = this.options.direction === "vertical";
6484
-		var result = {
6485
-			classes: {}
6486
-		};
6487
-		result.classes[ key ] = {
6488
-			"middle": "",
6489
-			"first": "ui-corner-" + ( direction ? "top" : "left" ),
6490
-			"last": "ui-corner-" + ( direction ? "bottom" : "right" ),
6491
-			"only": "ui-corner-all"
6492
-		}[ position ];
6493
-
6494
-		return result;
6495
-	},
6496
-
6497
-	_spinnerOptions: function( position ) {
6498
-		var options = this._buildSimpleOptions( position, "ui-spinner" );
6499
-
6500
-		options.classes[ "ui-spinner-up" ] = "";
6501
-		options.classes[ "ui-spinner-down" ] = "";
6502
-
6503
-		return options;
6504
-	},
6505
-
6506
-	_buttonOptions: function( position ) {
6507
-		return this._buildSimpleOptions( position, "ui-button" );
6508
-	},
6509
-
6510
-	_checkboxradioOptions: function( position ) {
6511
-		return this._buildSimpleOptions( position, "ui-checkboxradio-label" );
6512
-	},
6513
-
6514
-	_selectmenuOptions: function( position ) {
6515
-		var direction = this.options.direction === "vertical";
6516
-		return {
6517
-			width: direction ? "auto" : false,
6518
-			classes: {
6519
-				middle: {
6520
-					"ui-selectmenu-button-open": "",
6521
-					"ui-selectmenu-button-closed": ""
6522
-				},
6523
-				first: {
6524
-					"ui-selectmenu-button-open": "ui-corner-" + ( direction ? "top" : "tl" ),
6525
-					"ui-selectmenu-button-closed": "ui-corner-" + ( direction ? "top" : "left" )
6526
-				},
6527
-				last: {
6528
-					"ui-selectmenu-button-open": direction ? "" : "ui-corner-tr",
6529
-					"ui-selectmenu-button-closed": "ui-corner-" + ( direction ? "bottom" : "right" )
6530
-				},
6531
-				only: {
6532
-					"ui-selectmenu-button-open": "ui-corner-top",
6533
-					"ui-selectmenu-button-closed": "ui-corner-all"
6534
-				}
6535
-
6536
-			}[ position ]
6537
-		};
6538
-	},
6539
-
6540
-	_resolveClassesValues: function( classes, instance ) {
6541
-		var result = {};
6542
-		$.each( classes, function( key ) {
6543
-			var current = instance.options.classes[ key ] || "";
6544
-			current = String.prototype.trim.call( current.replace( controlgroupCornerRegex, "" ) );
6545
-			result[ key ] = ( current + " " + classes[ key ] ).replace( /\s+/g, " " );
6546
-		} );
6547
-		return result;
6548
-	},
6549
-
6550
-	_setOption: function( key, value ) {
6551
-		if ( key === "direction" ) {
6552
-			this._removeClass( "ui-controlgroup-" + this.options.direction );
6553
-		}
6554
-
6555
-		this._super( key, value );
6556
-		if ( key === "disabled" ) {
6557
-			this._callChildMethod( value ? "disable" : "enable" );
6558
-			return;
6559
-		}
6560
-
6561
-		this.refresh();
6562
-	},
6563
-
6564
-	refresh: function() {
6565
-		var children,
6566
-			that = this;
6567
-
6568
-		this._addClass( "ui-controlgroup ui-controlgroup-" + this.options.direction );
6569
-
6570
-		if ( this.options.direction === "horizontal" ) {
6571
-			this._addClass( null, "ui-helper-clearfix" );
6572
-		}
6573
-		this._initWidgets();
6574
-
6575
-		children = this.childWidgets;
6576
-
6577
-		// We filter here because we need to track all childWidgets not just the visible ones
6578
-		if ( this.options.onlyVisible ) {
6579
-			children = children.filter( ":visible" );
6580
-		}
6581
-
6582
-		if ( children.length ) {
6583
-
6584
-			// We do this last because we need to make sure all enhancment is done
6585
-			// before determining first and last
6586
-			$.each( [ "first", "last" ], function( index, value ) {
6587
-				var instance = children[ value ]().data( "ui-controlgroup-data" );
6588
-
6589
-				if ( instance && that[ "_" + instance.widgetName + "Options" ] ) {
6590
-					var options = that[ "_" + instance.widgetName + "Options" ](
6591
-						children.length === 1 ? "only" : value
6592
-					);
6593
-					options.classes = that._resolveClassesValues( options.classes, instance );
6594
-					instance.element[ instance.widgetName ]( options );
6595
-				} else {
6596
-					that._updateCornerClass( children[ value ](), value );
6597
-				}
6598
-			} );
6599
-
6600
-			// Finally call the refresh method on each of the child widgets.
6601
-			this._callChildMethod( "refresh" );
6602
-		}
6603
-	}
6604
-} );
6605
-
6606
-/*!
6607
- * jQuery UI Checkboxradio 1.13.2
6608
- * http://jqueryui.com
6609
- *
6610
- * Copyright jQuery Foundation and other contributors
6611
- * Released under the MIT license.
6612
- * http://jquery.org/license
6613
- */
6614
-
6615
-//>>label: Checkboxradio
6616
-//>>group: Widgets
6617
-//>>description: Enhances a form with multiple themeable checkboxes or radio buttons.
6618
-//>>docs: http://api.jqueryui.com/checkboxradio/
6619
-//>>demos: http://jqueryui.com/checkboxradio/
6620
-//>>css.structure: ../../themes/base/core.css
6621
-//>>css.structure: ../../themes/base/button.css
6622
-//>>css.structure: ../../themes/base/checkboxradio.css
6623
-//>>css.theme: ../../themes/base/theme.css
6624
-
6625
-
6626
-$.widget( "ui.checkboxradio", [ $.ui.formResetMixin, {
6627
-	version: "1.13.2",
6628
-	options: {
6629
-		disabled: null,
6630
-		label: null,
6631
-		icon: true,
6632
-		classes: {
6633
-			"ui-checkboxradio-label": "ui-corner-all",
6634
-			"ui-checkboxradio-icon": "ui-corner-all"
6635
-		}
6636
-	},
6637
-
6638
-	_getCreateOptions: function() {
6639
-		var disabled, labels, labelContents;
6640
-		var options = this._super() || {};
6641
-
6642
-		// We read the type here, because it makes more sense to throw a element type error first,
6643
-		// rather then the error for lack of a label. Often if its the wrong type, it
6644
-		// won't have a label (e.g. calling on a div, btn, etc)
6645
-		this._readType();
6646
-
6647
-		labels = this.element.labels();
6648
-
6649
-		// If there are multiple labels, use the last one
6650
-		this.label = $( labels[ labels.length - 1 ] );
6651
-		if ( !this.label.length ) {
6652
-			$.error( "No label found for checkboxradio widget" );
6653
-		}
6654
-
6655
-		this.originalLabel = "";
6656
-
6657
-		// We need to get the label text but this may also need to make sure it does not contain the
6658
-		// input itself.
6659
-		// The label contents could be text, html, or a mix. We wrap all elements
6660
-		// and read the wrapper's `innerHTML` to get a string representation of
6661
-		// the label, without the input as part of it.
6662
-		labelContents = this.label.contents().not( this.element[ 0 ] );
6663
-
6664
-		if ( labelContents.length ) {
6665
-			this.originalLabel += labelContents
6666
-				.clone()
6667
-				.wrapAll( "<div></div>" )
6668
-				.parent()
6669
-				.html();
6670
-		}
6671
-
6672
-		// Set the label option if we found label text
6673
-		if ( this.originalLabel ) {
6674
-			options.label = this.originalLabel;
6675
-		}
6676
-
6677
-		disabled = this.element[ 0 ].disabled;
6678
-		if ( disabled != null ) {
6679
-			options.disabled = disabled;
6680
-		}
6681
-		return options;
6682
-	},
6683
-
6684
-	_create: function() {
6685
-		var checked = this.element[ 0 ].checked;
6686
-
6687
-		this._bindFormResetHandler();
6688
-
6689
-		if ( this.options.disabled == null ) {
6690
-			this.options.disabled = this.element[ 0 ].disabled;
6691
-		}
6692
-
6693
-		this._setOption( "disabled", this.options.disabled );
6694
-		this._addClass( "ui-checkboxradio", "ui-helper-hidden-accessible" );
6695
-		this._addClass( this.label, "ui-checkboxradio-label", "ui-button ui-widget" );
6696
-
6697
-		if ( this.type === "radio" ) {
6698
-			this._addClass( this.label, "ui-checkboxradio-radio-label" );
6699
-		}
6700
-
6701
-		if ( this.options.label && this.options.label !== this.originalLabel ) {
6702
-			this._updateLabel();
6703
-		} else if ( this.originalLabel ) {
6704
-			this.options.label = this.originalLabel;
6705
-		}
6706
-
6707
-		this._enhance();
6708
-
6709
-		if ( checked ) {
6710
-			this._addClass( this.label, "ui-checkboxradio-checked", "ui-state-active" );
6711
-		}
6712
-
6713
-		this._on( {
6714
-			change: "_toggleClasses",
6715
-			focus: function() {
6716
-				this._addClass( this.label, null, "ui-state-focus ui-visual-focus" );
6717
-			},
6718
-			blur: function() {
6719
-				this._removeClass( this.label, null, "ui-state-focus ui-visual-focus" );
6720
-			}
6721
-		} );
6722
-	},
6723
-
6724
-	_readType: function() {
6725
-		var nodeName = this.element[ 0 ].nodeName.toLowerCase();
6726
-		this.type = this.element[ 0 ].type;
6727
-		if ( nodeName !== "input" || !/radio|checkbox/.test( this.type ) ) {
6728
-			$.error( "Can't create checkboxradio on element.nodeName=" + nodeName +
6729
-				" and element.type=" + this.type );
6730
-		}
6731
-	},
6732
-
6733
-	// Support jQuery Mobile enhanced option
6734
-	_enhance: function() {
6735
-		this._updateIcon( this.element[ 0 ].checked );
6736
-	},
6737
-
6738
-	widget: function() {
6739
-		return this.label;
6740
-	},
6741
-
6742
-	_getRadioGroup: function() {
6743
-		var group;
6744
-		var name = this.element[ 0 ].name;
6745
-		var nameSelector = "input[name='" + $.escapeSelector( name ) + "']";
6746
-
6747
-		if ( !name ) {
6748
-			return $( [] );
6749
-		}
6750
-
6751
-		if ( this.form.length ) {
6752
-			group = $( this.form[ 0 ].elements ).filter( nameSelector );
6753
-		} else {
6754
-
6755
-			// Not inside a form, check all inputs that also are not inside a form
6756
-			group = $( nameSelector ).filter( function() {
6757
-				return $( this )._form().length === 0;
6758
-			} );
6759
-		}
6760
-
6761
-		return group.not( this.element );
6762
-	},
6763
-
6764
-	_toggleClasses: function() {
6765
-		var checked = this.element[ 0 ].checked;
6766
-		this._toggleClass( this.label, "ui-checkboxradio-checked", "ui-state-active", checked );
6767
-
6768
-		if ( this.options.icon && this.type === "checkbox" ) {
6769
-			this._toggleClass( this.icon, null, "ui-icon-check ui-state-checked", checked )
6770
-				._toggleClass( this.icon, null, "ui-icon-blank", !checked );
6771
-		}
6772
-
6773
-		if ( this.type === "radio" ) {
6774
-			this._getRadioGroup()
6775
-				.each( function() {
6776
-					var instance = $( this ).checkboxradio( "instance" );
6777
-
6778
-					if ( instance ) {
6779
-						instance._removeClass( instance.label,
6780
-							"ui-checkboxradio-checked", "ui-state-active" );
6781
-					}
6782
-				} );
6783
-		}
6784
-	},
6785
-
6786
-	_destroy: function() {
6787
-		this._unbindFormResetHandler();
6788
-
6789
-		if ( this.icon ) {
6790
-			this.icon.remove();
6791
-			this.iconSpace.remove();
6792
-		}
6793
-	},
6794
-
6795
-	_setOption: function( key, value ) {
6796
-
6797
-		// We don't allow the value to be set to nothing
6798
-		if ( key === "label" && !value ) {
6799
-			return;
6800
-		}
6801
-
6802
-		this._super( key, value );
6803
-
6804
-		if ( key === "disabled" ) {
6805
-			this._toggleClass( this.label, null, "ui-state-disabled", value );
6806
-			this.element[ 0 ].disabled = value;
6807
-
6808
-			// Don't refresh when setting disabled
6809
-			return;
6810
-		}
6811
-		this.refresh();
6812
-	},
6813
-
6814
-	_updateIcon: function( checked ) {
6815
-		var toAdd = "ui-icon ui-icon-background ";
6816
-
6817
-		if ( this.options.icon ) {
6818
-			if ( !this.icon ) {
6819
-				this.icon = $( "<span>" );
6820
-				this.iconSpace = $( "<span> </span>" );
6821
-				this._addClass( this.iconSpace, "ui-checkboxradio-icon-space" );
6822
-			}
6823
-
6824
-			if ( this.type === "checkbox" ) {
6825
-				toAdd += checked ? "ui-icon-check ui-state-checked" : "ui-icon-blank";
6826
-				this._removeClass( this.icon, null, checked ? "ui-icon-blank" : "ui-icon-check" );
6827
-			} else {
6828
-				toAdd += "ui-icon-blank";
6829
-			}
6830
-			this._addClass( this.icon, "ui-checkboxradio-icon", toAdd );
6831
-			if ( !checked ) {
6832
-				this._removeClass( this.icon, null, "ui-icon-check ui-state-checked" );
6833
-			}
6834
-			this.icon.prependTo( this.label ).after( this.iconSpace );
6835
-		} else if ( this.icon !== undefined ) {
6836
-			this.icon.remove();
6837
-			this.iconSpace.remove();
6838
-			delete this.icon;
6839
-		}
6840
-	},
6841
-
6842
-	_updateLabel: function() {
6843
-
6844
-		// Remove the contents of the label ( minus the icon, icon space, and input )
6845
-		var contents = this.label.contents().not( this.element[ 0 ] );
6846
-		if ( this.icon ) {
6847
-			contents = contents.not( this.icon[ 0 ] );
6848
-		}
6849
-		if ( this.iconSpace ) {
6850
-			contents = contents.not( this.iconSpace[ 0 ] );
6851
-		}
6852
-		contents.remove();
6853
-
6854
-		this.label.append( this.options.label );
6855
-	},
6856
-
6857
-	refresh: function() {
6858
-		var checked = this.element[ 0 ].checked,
6859
-			isDisabled = this.element[ 0 ].disabled;
6860
-
6861
-		this._updateIcon( checked );
6862
-		this._toggleClass( this.label, "ui-checkboxradio-checked", "ui-state-active", checked );
6863
-		if ( this.options.label !== null ) {
6864
-			this._updateLabel();
6865
-		}
6866
-
6867
-		if ( isDisabled !== this.options.disabled ) {
6868
-			this._setOptions( { "disabled": isDisabled } );
6869
-		}
6870
-	}
6871
-
6872
-} ] );
6873
-
6874
-var widgetsCheckboxradio = $.ui.checkboxradio;
6875
-
6876
-
6877
-/*!
6878
- * jQuery UI Button 1.13.2
6879
- * http://jqueryui.com
6880
- *
6881
- * Copyright jQuery Foundation and other contributors
6882
- * Released under the MIT license.
6883
- * http://jquery.org/license
6884
- */
6885
-
6886
-//>>label: Button
6887
-//>>group: Widgets
6888
-//>>description: Enhances a form with themeable buttons.
6889
-//>>docs: http://api.jqueryui.com/button/
6890
-//>>demos: http://jqueryui.com/button/
6891
-//>>css.structure: ../../themes/base/core.css
6892
-//>>css.structure: ../../themes/base/button.css
6893
-//>>css.theme: ../../themes/base/theme.css
6894
-
6895
-
6896
-$.widget( "ui.button", {
6897
-	version: "1.13.2",
6898
-	defaultElement: "<button>",
6899
-	options: {
6900
-		classes: {
6901
-			"ui-button": "ui-corner-all"
6902
-		},
6903
-		disabled: null,
6904
-		icon: null,
6905
-		iconPosition: "beginning",
6906
-		label: null,
6907
-		showLabel: true
6908
-	},
6909
-
6910
-	_getCreateOptions: function() {
6911
-		var disabled,
6912
-
6913
-			// This is to support cases like in jQuery Mobile where the base widget does have
6914
-			// an implementation of _getCreateOptions
6915
-			options = this._super() || {};
6916
-
6917
-		this.isInput = this.element.is( "input" );
6918
-
6919
-		disabled = this.element[ 0 ].disabled;
6920
-		if ( disabled != null ) {
6921
-			options.disabled = disabled;
6922
-		}
6923
-
6924
-		this.originalLabel = this.isInput ? this.element.val() : this.element.html();
6925
-		if ( this.originalLabel ) {
6926
-			options.label = this.originalLabel;
6927
-		}
6928
-
6929
-		return options;
6930
-	},
6931
-
6932
-	_create: function() {
6933
-		if ( !this.option.showLabel & !this.options.icon ) {
6934
-			this.options.showLabel = true;
6935
-		}
6936
-
6937
-		// We have to check the option again here even though we did in _getCreateOptions,
6938
-		// because null may have been passed on init which would override what was set in
6939
-		// _getCreateOptions
6940
-		if ( this.options.disabled == null ) {
6941
-			this.options.disabled = this.element[ 0 ].disabled || false;
6942
-		}
6943
-
6944
-		this.hasTitle = !!this.element.attr( "title" );
6945
-
6946
-		// Check to see if the label needs to be set or if its already correct
6947
-		if ( this.options.label && this.options.label !== this.originalLabel ) {
6948
-			if ( this.isInput ) {
6949
-				this.element.val( this.options.label );
6950
-			} else {
6951
-				this.element.html( this.options.label );
6952
-			}
6953
-		}
6954
-		this._addClass( "ui-button", "ui-widget" );
6955
-		this._setOption( "disabled", this.options.disabled );
6956
-		this._enhance();
6957
-
6958
-		if ( this.element.is( "a" ) ) {
6959
-			this._on( {
6960
-				"keyup": function( event ) {
6961
-					if ( event.keyCode === $.ui.keyCode.SPACE ) {
6962
-						event.preventDefault();
6963
-
6964
-						// Support: PhantomJS <= 1.9, IE 8 Only
6965
-						// If a native click is available use it so we actually cause navigation
6966
-						// otherwise just trigger a click event
6967
-						if ( this.element[ 0 ].click ) {
6968
-							this.element[ 0 ].click();
6969
-						} else {
6970
-							this.element.trigger( "click" );
6971
-						}
6972
-					}
6973
-				}
6974
-			} );
6975
-		}
6976
-	},
6977
-
6978
-	_enhance: function() {
6979
-		if ( !this.element.is( "button" ) ) {
6980
-			this.element.attr( "role", "button" );
6981
-		}
6982
-
6983
-		if ( this.options.icon ) {
6984
-			this._updateIcon( "icon", this.options.icon );
6985
-			this._updateTooltip();
6986
-		}
6987
-	},
6988
-
6989
-	_updateTooltip: function() {
6990
-		this.title = this.element.attr( "title" );
6991
-
6992
-		if ( !this.options.showLabel && !this.title ) {
6993
-			this.element.attr( "title", this.options.label );
6994
-		}
6995
-	},
6996
-
6997
-	_updateIcon: function( option, value ) {
6998
-		var icon = option !== "iconPosition",
6999
-			position = icon ? this.options.iconPosition : value,
7000
-			displayBlock = position === "top" || position === "bottom";
7001
-
7002
-		// Create icon
7003
-		if ( !this.icon ) {
7004
-			this.icon = $( "<span>" );
7005
-
7006
-			this._addClass( this.icon, "ui-button-icon", "ui-icon" );
7007
-
7008
-			if ( !this.options.showLabel ) {
7009
-				this._addClass( "ui-button-icon-only" );
7010
-			}
7011
-		} else if ( icon ) {
7012
-
7013
-			// If we are updating the icon remove the old icon class
7014
-			this._removeClass( this.icon, null, this.options.icon );
7015
-		}
7016
-
7017
-		// If we are updating the icon add the new icon class
7018
-		if ( icon ) {
7019
-			this._addClass( this.icon, null, value );
7020
-		}
7021
-
7022
-		this._attachIcon( position );
7023
-
7024
-		// If the icon is on top or bottom we need to add the ui-widget-icon-block class and remove
7025
-		// the iconSpace if there is one.
7026
-		if ( displayBlock ) {
7027
-			this._addClass( this.icon, null, "ui-widget-icon-block" );
7028
-			if ( this.iconSpace ) {
7029
-				this.iconSpace.remove();
7030
-			}
7031
-		} else {
7032
-
7033
-			// Position is beginning or end so remove the ui-widget-icon-block class and add the
7034
-			// space if it does not exist
7035
-			if ( !this.iconSpace ) {
7036
-				this.iconSpace = $( "<span> </span>" );
7037
-				this._addClass( this.iconSpace, "ui-button-icon-space" );
7038
-			}
7039
-			this._removeClass( this.icon, null, "ui-wiget-icon-block" );
7040
-			this._attachIconSpace( position );
7041
-		}
7042
-	},
7043
-
7044
-	_destroy: function() {
7045
-		this.element.removeAttr( "role" );
7046
-
7047
-		if ( this.icon ) {
7048
-			this.icon.remove();
7049
-		}
7050
-		if ( this.iconSpace ) {
7051
-			this.iconSpace.remove();
7052
-		}
7053
-		if ( !this.hasTitle ) {
7054
-			this.element.removeAttr( "title" );
7055
-		}
7056
-	},
7057
-
7058
-	_attachIconSpace: function( iconPosition ) {
7059
-		this.icon[ /^(?:end|bottom)/.test( iconPosition ) ? "before" : "after" ]( this.iconSpace );
7060
-	},
7061
-
7062
-	_attachIcon: function( iconPosition ) {
7063
-		this.element[ /^(?:end|bottom)/.test( iconPosition ) ? "append" : "prepend" ]( this.icon );
7064
-	},
7065
-
7066
-	_setOptions: function( options ) {
7067
-		var newShowLabel = options.showLabel === undefined ?
7068
-				this.options.showLabel :
7069
-				options.showLabel,
7070
-			newIcon = options.icon === undefined ? this.options.icon : options.icon;
7071
-
7072
-		if ( !newShowLabel && !newIcon ) {
7073
-			options.showLabel = true;
7074
-		}
7075
-		this._super( options );
7076
-	},
7077
-
7078
-	_setOption: function( key, value ) {
7079
-		if ( key === "icon" ) {
7080
-			if ( value ) {
7081
-				this._updateIcon( key, value );
7082
-			} else if ( this.icon ) {
7083
-				this.icon.remove();
7084
-				if ( this.iconSpace ) {
7085
-					this.iconSpace.remove();
7086
-				}
7087
-			}
7088
-		}
7089
-
7090
-		if ( key === "iconPosition" ) {
7091
-			this._updateIcon( key, value );
7092
-		}
7093
-
7094
-		// Make sure we can't end up with a button that has neither text nor icon
7095
-		if ( key === "showLabel" ) {
7096
-				this._toggleClass( "ui-button-icon-only", null, !value );
7097
-				this._updateTooltip();
7098
-		}
7099
-
7100
-		if ( key === "label" ) {
7101
-			if ( this.isInput ) {
7102
-				this.element.val( value );
7103
-			} else {
7104
-
7105
-				// If there is an icon, append it, else nothing then append the value
7106
-				// this avoids removal of the icon when setting label text
7107
-				this.element.html( value );
7108
-				if ( this.icon ) {
7109
-					this._attachIcon( this.options.iconPosition );
7110
-					this._attachIconSpace( this.options.iconPosition );
7111
-				}
7112
-			}
7113
-		}
7114
-
7115
-		this._super( key, value );
7116
-
7117
-		if ( key === "disabled" ) {
7118
-			this._toggleClass( null, "ui-state-disabled", value );
7119
-			this.element[ 0 ].disabled = value;
7120
-			if ( value ) {
7121
-				this.element.trigger( "blur" );
7122
-			}
7123
-		}
7124
-	},
7125
-
7126
-	refresh: function() {
7127
-
7128
-		// Make sure to only check disabled if its an element that supports this otherwise
7129
-		// check for the disabled class to determine state
7130
-		var isDisabled = this.element.is( "input, button" ) ?
7131
-			this.element[ 0 ].disabled : this.element.hasClass( "ui-button-disabled" );
7132
-
7133
-		if ( isDisabled !== this.options.disabled ) {
7134
-			this._setOptions( { disabled: isDisabled } );
7135
-		}
7136
-
7137
-		this._updateTooltip();
7138
-	}
7139
-} );
7140
-
7141
-// DEPRECATED
7142
-if ( $.uiBackCompat !== false ) {
7143
-
7144
-	// Text and Icons options
7145
-	$.widget( "ui.button", $.ui.button, {
7146
-		options: {
7147
-			text: true,
7148
-			icons: {
7149
-				primary: null,
7150
-				secondary: null
7151
-			}
7152
-		},
7153
-
7154
-		_create: function() {
7155
-			if ( this.options.showLabel && !this.options.text ) {
7156
-				this.options.showLabel = this.options.text;
7157
-			}
7158
-			if ( !this.options.showLabel && this.options.text ) {
7159
-				this.options.text = this.options.showLabel;
7160
-			}
7161
-			if ( !this.options.icon && ( this.options.icons.primary ||
7162
-					this.options.icons.secondary ) ) {
7163
-				if ( this.options.icons.primary ) {
7164
-					this.options.icon = this.options.icons.primary;
7165
-				} else {
7166
-					this.options.icon = this.options.icons.secondary;
7167
-					this.options.iconPosition = "end";
7168
-				}
7169
-			} else if ( this.options.icon ) {
7170
-				this.options.icons.primary = this.options.icon;
7171
-			}
7172
-			this._super();
7173
-		},
7174
-
7175
-		_setOption: function( key, value ) {
7176
-			if ( key === "text" ) {
7177
-				this._super( "showLabel", value );
7178
-				return;
7179
-			}
7180
-			if ( key === "showLabel" ) {
7181
-				this.options.text = value;
7182
-			}
7183
-			if ( key === "icon" ) {
7184
-				this.options.icons.primary = value;
7185
-			}
7186
-			if ( key === "icons" ) {
7187
-				if ( value.primary ) {
7188
-					this._super( "icon", value.primary );
7189
-					this._super( "iconPosition", "beginning" );
7190
-				} else if ( value.secondary ) {
7191
-					this._super( "icon", value.secondary );
7192
-					this._super( "iconPosition", "end" );
7193
-				}
7194
-			}
7195
-			this._superApply( arguments );
7196
-		}
7197
-	} );
7198
-
7199
-	$.fn.button = ( function( orig ) {
7200
-		return function( options ) {
7201
-			var isMethodCall = typeof options === "string";
7202
-			var args = Array.prototype.slice.call( arguments, 1 );
7203
-			var returnValue = this;
7204
-
7205
-			if ( isMethodCall ) {
7206
-
7207
-				// If this is an empty collection, we need to have the instance method
7208
-				// return undefined instead of the jQuery instance
7209
-				if ( !this.length && options === "instance" ) {
7210
-					returnValue = undefined;
7211
-				} else {
7212
-					this.each( function() {
7213
-						var methodValue;
7214
-						var type = $( this ).attr( "type" );
7215
-						var name = type !== "checkbox" && type !== "radio" ?
7216
-							"button" :
7217
-							"checkboxradio";
7218
-						var instance = $.data( this, "ui-" + name );
7219
-
7220
-						if ( options === "instance" ) {
7221
-							returnValue = instance;
7222
-							return false;
7223
-						}
7224
-
7225
-						if ( !instance ) {
7226
-							return $.error( "cannot call methods on button" +
7227
-								" prior to initialization; " +
7228
-								"attempted to call method '" + options + "'" );
7229
-						}
7230
-
7231
-						if ( typeof instance[ options ] !== "function" ||
7232
-							options.charAt( 0 ) === "_" ) {
7233
-							return $.error( "no such method '" + options + "' for button" +
7234
-								" widget instance" );
7235
-						}
7236
-
7237
-						methodValue = instance[ options ].apply( instance, args );
7238
-
7239
-						if ( methodValue !== instance && methodValue !== undefined ) {
7240
-							returnValue = methodValue && methodValue.jquery ?
7241
-								returnValue.pushStack( methodValue.get() ) :
7242
-								methodValue;
7243
-							return false;
7244
-						}
7245
-					} );
7246
-				}
7247
-			} else {
7248
-
7249
-				// Allow multiple hashes to be passed on init
7250
-				if ( args.length ) {
7251
-					options = $.widget.extend.apply( null, [ options ].concat( args ) );
7252
-				}
7253
-
7254
-				this.each( function() {
7255
-					var type = $( this ).attr( "type" );
7256
-					var name = type !== "checkbox" && type !== "radio" ? "button" : "checkboxradio";
7257
-					var instance = $.data( this, "ui-" + name );
7258
-
7259
-					if ( instance ) {
7260
-						instance.option( options || {} );
7261
-						if ( instance._init ) {
7262
-							instance._init();
7263
-						}
7264
-					} else {
7265
-						if ( name === "button" ) {
7266
-							orig.call( $( this ), options );
7267
-							return;
7268
-						}
7269
-
7270
-						$( this ).checkboxradio( $.extend( { icon: false }, options ) );
7271
-					}
7272
-				} );
7273
-			}
7274
-
7275
-			return returnValue;
7276
-		};
7277
-	} )( $.fn.button );
7278
-
7279
-	$.fn.buttonset = function() {
7280
-		if ( !$.ui.controlgroup ) {
7281
-			$.error( "Controlgroup widget missing" );
7282
-		}
7283
-		if ( arguments[ 0 ] === "option" && arguments[ 1 ] === "items" && arguments[ 2 ] ) {
7284
-			return this.controlgroup.apply( this,
7285
-				[ arguments[ 0 ], "items.button", arguments[ 2 ] ] );
7286
-		}
7287
-		if ( arguments[ 0 ] === "option" && arguments[ 1 ] === "items" ) {
7288
-			return this.controlgroup.apply( this, [ arguments[ 0 ], "items.button" ] );
7289
-		}
7290
-		if ( typeof arguments[ 0 ] === "object" && arguments[ 0 ].items ) {
7291
-			arguments[ 0 ].items = {
7292
-				button: arguments[ 0 ].items
7293
-			};
7294
-		}
7295
-		return this.controlgroup.apply( this, arguments );
7296
-	};
7297
-}
7298
-
7299
-var widgetsButton = $.ui.button;
7300
-
7301
-
7302
-/* eslint-disable max-len, camelcase */
7303
-/*!
7304
- * jQuery UI Datepicker 1.13.2
7305
- * http://jqueryui.com
7306
- *
7307
- * Copyright jQuery Foundation and other contributors
7308
- * Released under the MIT license.
7309
- * http://jquery.org/license
7310
- */
7311
-
7312
-//>>label: Datepicker
7313
-//>>group: Widgets
7314
-//>>description: Displays a calendar from an input or inline for selecting dates.
7315
-//>>docs: http://api.jqueryui.com/datepicker/
7316
-//>>demos: http://jqueryui.com/datepicker/
7317
-//>>css.structure: ../../themes/base/core.css
7318
-//>>css.structure: ../../themes/base/datepicker.css
7319
-//>>css.theme: ../../themes/base/theme.css
7320
-
7321
-
7322
-$.extend( $.ui, { datepicker: { version: "1.13.2" } } );
7323
-
7324
-var datepicker_instActive;
7325
-
7326
-function datepicker_getZindex( elem ) {
7327
-	var position, value;
7328
-	while ( elem.length && elem[ 0 ] !== document ) {
7329
-
7330
-		// Ignore z-index if position is set to a value where z-index is ignored by the browser
7331
-		// This makes behavior of this function consistent across browsers
7332
-		// WebKit always returns auto if the element is positioned
7333
-		position = elem.css( "position" );
7334
-		if ( position === "absolute" || position === "relative" || position === "fixed" ) {
7335
-
7336
-			// IE returns 0 when zIndex is not specified
7337
-			// other browsers return a string
7338
-			// we ignore the case of nested elements with an explicit value of 0
7339
-			// <div style="z-index: -10;"><div style="z-index: 0;"></div></div>
7340
-			value = parseInt( elem.css( "zIndex" ), 10 );
7341
-			if ( !isNaN( value ) && value !== 0 ) {
7342
-				return value;
7343
-			}
7344
-		}
7345
-		elem = elem.parent();
7346
-	}
7347
-
7348
-	return 0;
7349
-}
7350
-
7351
-/* Date picker manager.
7352
-   Use the singleton instance of this class, $.datepicker, to interact with the date picker.
7353
-   Settings for (groups of) date pickers are maintained in an instance object,
7354
-   allowing multiple different settings on the same page. */
7355
-
7356
-function Datepicker() {
7357
-	this._curInst = null; // The current instance in use
7358
-	this._keyEvent = false; // If the last event was a key event
7359
-	this._disabledInputs = []; // List of date picker inputs that have been disabled
7360
-	this._datepickerShowing = false; // True if the popup picker is showing , false if not
7361
-	this._inDialog = false; // True if showing within a "dialog", false if not
7362
-	this._mainDivId = "ui-datepicker-div"; // The ID of the main datepicker division
7363
-	this._inlineClass = "ui-datepicker-inline"; // The name of the inline marker class
7364
-	this._appendClass = "ui-datepicker-append"; // The name of the append marker class
7365
-	this._triggerClass = "ui-datepicker-trigger"; // The name of the trigger marker class
7366
-	this._dialogClass = "ui-datepicker-dialog"; // The name of the dialog marker class
7367
-	this._disableClass = "ui-datepicker-disabled"; // The name of the disabled covering marker class
7368
-	this._unselectableClass = "ui-datepicker-unselectable"; // The name of the unselectable cell marker class
7369
-	this._currentClass = "ui-datepicker-current-day"; // The name of the current day marker class
7370
-	this._dayOverClass = "ui-datepicker-days-cell-over"; // The name of the day hover marker class
7371
-	this.regional = []; // Available regional settings, indexed by language code
7372
-	this.regional[ "" ] = { // Default regional settings
7373
-		closeText: "Done", // Display text for close link
7374
-		prevText: "Prev", // Display text for previous month link
7375
-		nextText: "Next", // Display text for next month link
7376
-		currentText: "Today", // Display text for current month link
7377
-		monthNames: [ "January", "February", "March", "April", "May", "June",
7378
-			"July", "August", "September", "October", "November", "December" ], // Names of months for drop-down and formatting
7379
-		monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ], // For formatting
7380
-		dayNames: [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ], // For formatting
7381
-		dayNamesShort: [ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ], // For formatting
7382
-		dayNamesMin: [ "Su", "Mo", "Tu", "We", "Th", "Fr", "Sa" ], // Column headings for days starting at Sunday
7383
-		weekHeader: "Wk", // Column header for week of the year
7384
-		dateFormat: "mm/dd/yy", // See format options on parseDate
7385
-		firstDay: 0, // The first day of the week, Sun = 0, Mon = 1, ...
7386
-		isRTL: false, // True if right-to-left language, false if left-to-right
7387
-		showMonthAfterYear: false, // True if the year select precedes month, false for month then year
7388
-		yearSuffix: "", // Additional text to append to the year in the month headers,
7389
-		selectMonthLabel: "Select month", // Invisible label for month selector
7390
-		selectYearLabel: "Select year" // Invisible label for year selector
7391
-	};
7392
-	this._defaults = { // Global defaults for all the date picker instances
7393
-		showOn: "focus", // "focus" for popup on focus,
7394
-			// "button" for trigger button, or "both" for either
7395
-		showAnim: "fadeIn", // Name of jQuery animation for popup
7396
-		showOptions: {}, // Options for enhanced animations
7397
-		defaultDate: null, // Used when field is blank: actual date,
7398
-			// +/-number for offset from today, null for today
7399
-		appendText: "", // Display text following the input box, e.g. showing the format
7400
-		buttonText: "...", // Text for trigger button
7401
-		buttonImage: "", // URL for trigger button image
7402
-		buttonImageOnly: false, // True if the image appears alone, false if it appears on a button
7403
-		hideIfNoPrevNext: false, // True to hide next/previous month links
7404
-			// if not applicable, false to just disable them
7405
-		navigationAsDateFormat: false, // True if date formatting applied to prev/today/next links
7406
-		gotoCurrent: false, // True if today link goes back to current selection instead
7407
-		changeMonth: false, // True if month can be selected directly, false if only prev/next
7408
-		changeYear: false, // True if year can be selected directly, false if only prev/next
7409
-		yearRange: "c-10:c+10", // Range of years to display in drop-down,
7410
-			// either relative to today's year (-nn:+nn), relative to currently displayed year
7411
-			// (c-nn:c+nn), absolute (nnnn:nnnn), or a combination of the above (nnnn:-n)
7412
-		showOtherMonths: false, // True to show dates in other months, false to leave blank
7413
-		selectOtherMonths: false, // True to allow selection of dates in other months, false for unselectable
7414
-		showWeek: false, // True to show week of the year, false to not show it
7415
-		calculateWeek: this.iso8601Week, // How to calculate the week of the year,
7416
-			// takes a Date and returns the number of the week for it
7417
-		shortYearCutoff: "+10", // Short year values < this are in the current century,
7418
-			// > this are in the previous century,
7419
-			// string value starting with "+" for current year + value
7420
-		minDate: null, // The earliest selectable date, or null for no limit
7421
-		maxDate: null, // The latest selectable date, or null for no limit
7422
-		duration: "fast", // Duration of display/closure
7423
-		beforeShowDay: null, // Function that takes a date and returns an array with
7424
-			// [0] = true if selectable, false if not, [1] = custom CSS class name(s) or "",
7425
-			// [2] = cell title (optional), e.g. $.datepicker.noWeekends
7426
-		beforeShow: null, // Function that takes an input field and
7427
-			// returns a set of custom settings for the date picker
7428
-		onSelect: null, // Define a callback function when a date is selected
7429
-		onChangeMonthYear: null, // Define a callback function when the month or year is changed
7430
-		onClose: null, // Define a callback function when the datepicker is closed
7431
-		onUpdateDatepicker: null, // Define a callback function when the datepicker is updated
7432
-		numberOfMonths: 1, // Number of months to show at a time
7433
-		showCurrentAtPos: 0, // The position in multipe months at which to show the current month (starting at 0)
7434
-		stepMonths: 1, // Number of months to step back/forward
7435
-		stepBigMonths: 12, // Number of months to step back/forward for the big links
7436
-		altField: "", // Selector for an alternate field to store selected dates into
7437
-		altFormat: "", // The date format to use for the alternate field
7438
-		constrainInput: true, // The input is constrained by the current date format
7439
-		showButtonPanel: false, // True to show button panel, false to not show it
7440
-		autoSize: false, // True to size the input for the date format, false to leave as is
7441
-		disabled: false // The initial disabled state
7442
-	};
7443
-	$.extend( this._defaults, this.regional[ "" ] );
7444
-	this.regional.en = $.extend( true, {}, this.regional[ "" ] );
7445
-	this.regional[ "en-US" ] = $.extend( true, {}, this.regional.en );
7446
-	this.dpDiv = datepicker_bindHover( $( "<div id='" + this._mainDivId + "' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>" ) );
7447
-}
7448
-
7449
-$.extend( Datepicker.prototype, {
7450
-
7451
-	/* Class name added to elements to indicate already configured with a date picker. */
7452
-	markerClassName: "hasDatepicker",
7453
-
7454
-	//Keep track of the maximum number of rows displayed (see #7043)
7455
-	maxRows: 4,
7456
-
7457
-	// TODO rename to "widget" when switching to widget factory
7458
-	_widgetDatepicker: function() {
7459
-		return this.dpDiv;
7460
-	},
7461
-
7462
-	/* Override the default settings for all instances of the date picker.
7463
-	 * @param  settings  object - the new settings to use as defaults (anonymous object)
7464
-	 * @return the manager object
7465
-	 */
7466
-	setDefaults: function( settings ) {
7467
-		datepicker_extendRemove( this._defaults, settings || {} );
7468
-		return this;
7469
-	},
7470
-
7471
-	/* Attach the date picker to a jQuery selection.
7472
-	 * @param  target	element - the target input field or division or span
7473
-	 * @param  settings  object - the new settings to use for this date picker instance (anonymous)
7474
-	 */
7475
-	_attachDatepicker: function( target, settings ) {
7476
-		var nodeName, inline, inst;
7477
-		nodeName = target.nodeName.toLowerCase();
7478
-		inline = ( nodeName === "div" || nodeName === "span" );
7479
-		if ( !target.id ) {
7480
-			this.uuid += 1;
7481
-			target.id = "dp" + this.uuid;
7482
-		}
7483
-		inst = this._newInst( $( target ), inline );
7484
-		inst.settings = $.extend( {}, settings || {} );
7485
-		if ( nodeName === "input" ) {
7486
-			this._connectDatepicker( target, inst );
7487
-		} else if ( inline ) {
7488
-			this._inlineDatepicker( target, inst );
7489
-		}
7490
-	},
7491
-
7492
-	/* Create a new instance object. */
7493
-	_newInst: function( target, inline ) {
7494
-		var id = target[ 0 ].id.replace( /([^A-Za-z0-9_\-])/g, "\\\\$1" ); // escape jQuery meta chars
7495
-		return { id: id, input: target, // associated target
7496
-			selectedDay: 0, selectedMonth: 0, selectedYear: 0, // current selection
7497
-			drawMonth: 0, drawYear: 0, // month being drawn
7498
-			inline: inline, // is datepicker inline or not
7499
-			dpDiv: ( !inline ? this.dpDiv : // presentation div
7500
-			datepicker_bindHover( $( "<div class='" + this._inlineClass + " ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>" ) ) ) };
7501
-	},
7502
-
7503
-	/* Attach the date picker to an input field. */
7504
-	_connectDatepicker: function( target, inst ) {
7505
-		var input = $( target );
7506
-		inst.append = $( [] );
7507
-		inst.trigger = $( [] );
7508
-		if ( input.hasClass( this.markerClassName ) ) {
7509
-			return;
7510
-		}
7511
-		this._attachments( input, inst );
7512
-		input.addClass( this.markerClassName ).on( "keydown", this._doKeyDown ).
7513
-			on( "keypress", this._doKeyPress ).on( "keyup", this._doKeyUp );
7514
-		this._autoSize( inst );
7515
-		$.data( target, "datepicker", inst );
7516
-
7517
-		//If disabled option is true, disable the datepicker once it has been attached to the input (see ticket #5665)
7518
-		if ( inst.settings.disabled ) {
7519
-			this._disableDatepicker( target );
7520
-		}
7521
-	},
7522
-
7523
-	/* Make attachments based on settings. */
7524
-	_attachments: function( input, inst ) {
7525
-		var showOn, buttonText, buttonImage,
7526
-			appendText = this._get( inst, "appendText" ),
7527
-			isRTL = this._get( inst, "isRTL" );
7528
-
7529
-		if ( inst.append ) {
7530
-			inst.append.remove();
7531
-		}
7532
-		if ( appendText ) {
7533
-			inst.append = $( "<span>" )
7534
-				.addClass( this._appendClass )
7535
-				.text( appendText );
7536
-			input[ isRTL ? "before" : "after" ]( inst.append );
7537
-		}
7538
-
7539
-		input.off( "focus", this._showDatepicker );
7540
-
7541
-		if ( inst.trigger ) {
7542
-			inst.trigger.remove();
7543
-		}
7544
-
7545
-		showOn = this._get( inst, "showOn" );
7546
-		if ( showOn === "focus" || showOn === "both" ) { // pop-up date picker when in the marked field
7547
-			input.on( "focus", this._showDatepicker );
7548
-		}
7549
-		if ( showOn === "button" || showOn === "both" ) { // pop-up date picker when button clicked
7550
-			buttonText = this._get( inst, "buttonText" );
7551
-			buttonImage = this._get( inst, "buttonImage" );
7552
-
7553
-			if ( this._get( inst, "buttonImageOnly" ) ) {
7554
-				inst.trigger = $( "<img>" )
7555
-					.addClass( this._triggerClass )
7556
-					.attr( {
7557
-						src: buttonImage,
7558
-						alt: buttonText,
7559
-						title: buttonText
7560
-					} );
7561
-			} else {
7562
-				inst.trigger = $( "<button type='button'>" )
7563
-					.addClass( this._triggerClass );
7564
-				if ( buttonImage ) {
7565
-					inst.trigger.html(
7566
-						$( "<img>" )
7567
-							.attr( {
7568
-								src: buttonImage,
7569
-								alt: buttonText,
7570
-								title: buttonText
7571
-							} )
7572
-					);
7573
-				} else {
7574
-					inst.trigger.text( buttonText );
7575
-				}
7576
-			}
7577
-
7578
-			input[ isRTL ? "before" : "after" ]( inst.trigger );
7579
-			inst.trigger.on( "click", function() {
7580
-				if ( $.datepicker._datepickerShowing && $.datepicker._lastInput === input[ 0 ] ) {
7581
-					$.datepicker._hideDatepicker();
7582
-				} else if ( $.datepicker._datepickerShowing && $.datepicker._lastInput !== input[ 0 ] ) {
7583
-					$.datepicker._hideDatepicker();
7584
-					$.datepicker._showDatepicker( input[ 0 ] );
7585
-				} else {
7586
-					$.datepicker._showDatepicker( input[ 0 ] );
7587
-				}
7588
-				return false;
7589
-			} );
7590
-		}
7591
-	},
7592
-
7593
-	/* Apply the maximum length for the date format. */
7594
-	_autoSize: function( inst ) {
7595
-		if ( this._get( inst, "autoSize" ) && !inst.inline ) {
7596
-			var findMax, max, maxI, i,
7597
-				date = new Date( 2009, 12 - 1, 20 ), // Ensure double digits
7598
-				dateFormat = this._get( inst, "dateFormat" );
7599
-
7600
-			if ( dateFormat.match( /[DM]/ ) ) {
7601
-				findMax = function( names ) {
7602
-					max = 0;
7603
-					maxI = 0;
7604
-					for ( i = 0; i < names.length; i++ ) {
7605
-						if ( names[ i ].length > max ) {
7606
-							max = names[ i ].length;
7607
-							maxI = i;
7608
-						}
7609
-					}
7610
-					return maxI;
7611
-				};
7612
-				date.setMonth( findMax( this._get( inst, ( dateFormat.match( /MM/ ) ?
7613
-					"monthNames" : "monthNamesShort" ) ) ) );
7614
-				date.setDate( findMax( this._get( inst, ( dateFormat.match( /DD/ ) ?
7615
-					"dayNames" : "dayNamesShort" ) ) ) + 20 - date.getDay() );
7616
-			}
7617
-			inst.input.attr( "size", this._formatDate( inst, date ).length );
7618
-		}
7619
-	},
7620
-
7621
-	/* Attach an inline date picker to a div. */
7622
-	_inlineDatepicker: function( target, inst ) {
7623
-		var divSpan = $( target );
7624
-		if ( divSpan.hasClass( this.markerClassName ) ) {
7625
-			return;
7626
-		}
7627
-		divSpan.addClass( this.markerClassName ).append( inst.dpDiv );
7628
-		$.data( target, "datepicker", inst );
7629
-		this._setDate( inst, this._getDefaultDate( inst ), true );
7630
-		this._updateDatepicker( inst );
7631
-		this._updateAlternate( inst );
7632
-
7633
-		//If disabled option is true, disable the datepicker before showing it (see ticket #5665)
7634
-		if ( inst.settings.disabled ) {
7635
-			this._disableDatepicker( target );
7636
-		}
7637
-
7638
-		// Set display:block in place of inst.dpDiv.show() which won't work on disconnected elements
7639
-		// http://bugs.jqueryui.com/ticket/7552 - A Datepicker created on a detached div has zero height
7640
-		inst.dpDiv.css( "display", "block" );
7641
-	},
7642
-
7643
-	/* Pop-up the date picker in a "dialog" box.
7644
-	 * @param  input element - ignored
7645
-	 * @param  date	string or Date - the initial date to display
7646
-	 * @param  onSelect  function - the function to call when a date is selected
7647
-	 * @param  settings  object - update the dialog date picker instance's settings (anonymous object)
7648
-	 * @param  pos int[2] - coordinates for the dialog's position within the screen or
7649
-	 *					event - with x/y coordinates or
7650
-	 *					leave empty for default (screen centre)
7651
-	 * @return the manager object
7652
-	 */
7653
-	_dialogDatepicker: function( input, date, onSelect, settings, pos ) {
7654
-		var id, browserWidth, browserHeight, scrollX, scrollY,
7655
-			inst = this._dialogInst; // internal instance
7656
-
7657
-		if ( !inst ) {
7658
-			this.uuid += 1;
7659
-			id = "dp" + this.uuid;
7660
-			this._dialogInput = $( "<input type='text' id='" + id +
7661
-				"' style='position: absolute; top: -100px; width: 0px;'/>" );
7662
-			this._dialogInput.on( "keydown", this._doKeyDown );
7663
-			$( "body" ).append( this._dialogInput );
7664
-			inst = this._dialogInst = this._newInst( this._dialogInput, false );
7665
-			inst.settings = {};
7666
-			$.data( this._dialogInput[ 0 ], "datepicker", inst );
7667
-		}
7668
-		datepicker_extendRemove( inst.settings, settings || {} );
7669
-		date = ( date && date.constructor === Date ? this._formatDate( inst, date ) : date );
7670
-		this._dialogInput.val( date );
7671
-
7672
-		this._pos = ( pos ? ( pos.length ? pos : [ pos.pageX, pos.pageY ] ) : null );
7673
-		if ( !this._pos ) {
7674
-			browserWidth = document.documentElement.clientWidth;
7675
-			browserHeight = document.documentElement.clientHeight;
7676
-			scrollX = document.documentElement.scrollLeft || document.body.scrollLeft;
7677
-			scrollY = document.documentElement.scrollTop || document.body.scrollTop;
7678
-			this._pos = // should use actual width/height below
7679
-				[ ( browserWidth / 2 ) - 100 + scrollX, ( browserHeight / 2 ) - 150 + scrollY ];
7680
-		}
7681
-
7682
-		// Move input on screen for focus, but hidden behind dialog
7683
-		this._dialogInput.css( "left", ( this._pos[ 0 ] + 20 ) + "px" ).css( "top", this._pos[ 1 ] + "px" );
7684
-		inst.settings.onSelect = onSelect;
7685
-		this._inDialog = true;
7686
-		this.dpDiv.addClass( this._dialogClass );
7687
-		this._showDatepicker( this._dialogInput[ 0 ] );
7688
-		if ( $.blockUI ) {
7689
-			$.blockUI( this.dpDiv );
7690
-		}
7691
-		$.data( this._dialogInput[ 0 ], "datepicker", inst );
7692
-		return this;
7693
-	},
7694
-
7695
-	/* Detach a datepicker from its control.
7696
-	 * @param  target	element - the target input field or division or span
7697
-	 */
7698
-	_destroyDatepicker: function( target ) {
7699
-		var nodeName,
7700
-			$target = $( target ),
7701
-			inst = $.data( target, "datepicker" );
7702
-
7703
-		if ( !$target.hasClass( this.markerClassName ) ) {
7704
-			return;
7705
-		}
7706
-
7707
-		nodeName = target.nodeName.toLowerCase();
7708
-		$.removeData( target, "datepicker" );
7709
-		if ( nodeName === "input" ) {
7710
-			inst.append.remove();
7711
-			inst.trigger.remove();
7712
-			$target.removeClass( this.markerClassName ).
7713
-				off( "focus", this._showDatepicker ).
7714
-				off( "keydown", this._doKeyDown ).
7715
-				off( "keypress", this._doKeyPress ).
7716
-				off( "keyup", this._doKeyUp );
7717
-		} else if ( nodeName === "div" || nodeName === "span" ) {
7718
-			$target.removeClass( this.markerClassName ).empty();
7719
-		}
7720
-
7721
-		if ( datepicker_instActive === inst ) {
7722
-			datepicker_instActive = null;
7723
-			this._curInst = null;
7724
-		}
7725
-	},
7726
-
7727
-	/* Enable the date picker to a jQuery selection.
7728
-	 * @param  target	element - the target input field or division or span
7729
-	 */
7730
-	_enableDatepicker: function( target ) {
7731
-		var nodeName, inline,
7732
-			$target = $( target ),
7733
-			inst = $.data( target, "datepicker" );
7734
-
7735
-		if ( !$target.hasClass( this.markerClassName ) ) {
7736
-			return;
7737
-		}
7738
-
7739
-		nodeName = target.nodeName.toLowerCase();
7740
-		if ( nodeName === "input" ) {
7741
-			target.disabled = false;
7742
-			inst.trigger.filter( "button" ).
7743
-				each( function() {
7744
-					this.disabled = false;
7745
-				} ).end().
7746
-				filter( "img" ).css( { opacity: "1.0", cursor: "" } );
7747
-		} else if ( nodeName === "div" || nodeName === "span" ) {
7748
-			inline = $target.children( "." + this._inlineClass );
7749
-			inline.children().removeClass( "ui-state-disabled" );
7750
-			inline.find( "select.ui-datepicker-month, select.ui-datepicker-year" ).
7751
-				prop( "disabled", false );
7752
-		}
7753
-		this._disabledInputs = $.map( this._disabledInputs,
7754
-
7755
-			// Delete entry
7756
-			function( value ) {
7757
-				return ( value === target ? null : value );
7758
-			} );
7759
-	},
7760
-
7761
-	/* Disable the date picker to a jQuery selection.
7762