text: /*
   jQuery JavaScript Library v3.5.1
   https://jquery.com/
  
   Includes Sizzle.js
   https://sizzlejs.com/
  
   Copyright JS Foundation and other contributors
   Released under the MIT license
   https://jquery.org/license
  
   Date: 2020-05-04T22:49Z
   Sizzle CSS Selector Engine v2.3.5
   https://sizzlejs.com/
  
   Copyright JS Foundation and other contributors
   Released under the MIT license
   https://js.foundation/
  
   Date: 2020-03-14
  */
  (function(e,ob){"object"===typeof module&&"object"===typeof module.exports?module.exports=e.document?ob(e,!0):function(ib){if(!ib.document)throw Error("jQuery requires a window with a document");return ob(ib)}:ob(e)})("undefined"!==typeof window?window:this,function(e,ob){function ib(d,g,k){k=k||ma;var l,p=k.createElement("script");p.text=d;if(g)for(l in Qc)(d=g[l]||g.getAttribute&&g.getAttribute(l))&&p.setAttribute(l,d);k.head.appendChild(p).parentNode.removeChild(p)}function Za(d){return null==
  d?d+"":"object"===typeof d||"function"===typeof d?Kb[ic.call(d)]||"object":typeof d}function wb(d){var g=!!d&&"length"in d&&d.length,k=Za(d);return ia(d)||xb(d)?!1:"array"===k||0===g||"number"===typeof g&&0<g&&g-1 in d}function Ka(d,g){return d.nodeName&&d.nodeName.toLowerCase()===g.toLowerCase()}function Wa(d,g,k){return ia(g)?n.grep(d,function(l,p){return!!g.call(l,p,l)!==k}):g.nodeType?n.grep(d,function(l){return l===g!==k}):"string"!==typeof g?n.grep(d,function(l){return-1<Lb.call(g,l)!==k}):
  n.filter(g,d,k)}function Mb(d,g){for(;(d=d[g])&&1!==d.nodeType;);return d}function Nb(d){var g={};n.each(d.match(Xa)||[],function(k,l){g[l]=!0});return g}function jb(d){return d}function Ra(d){throw d;}function pb(d,g,k,l){var p;try{d&&ia(p=d.promise)?p.call(d).done(g).fail(k):d&&ia(p=d.then)?p.call(d,g,k):g.apply(void 0,[d].slice(l))}catch(r){k.apply(void 0,[r])}}function kb(){ma.removeEventListener("DOMContentLoaded",kb);e.removeEventListener("load",kb);n.ready()}function a(d,g){return g.toUpperCase()}
  function b(d){return d.replace(Rc,"ms-").replace(Sc,a)}function c(){this.expando=n.expando+c.uid++}function f(d,g,k){if(void 0===k&&1===d.nodeType)if(k="data-"+g.replace(Tc,"-$\x26").toLowerCase(),k=d.getAttribute(k),"string"===typeof k){try{var l=k;k="true"===l?!0:"false"===l?!1:"null"===l?null:l===+l+""?+l:Uc.test(l)?JSON.parse(l):l}catch(p){}Na.set(d,g,k)}else k=void 0;return k}function h(d,g,k,l){var p,r=20,u=l?function(){return l.cur()}:function(){return n.css(d,g,"")},B=u(),y=k&&k[3]||(n.cssNumber[g]?
  "":"px"),A=d.nodeType&&(n.cssNumber[g]||"px"!==y&&+B)&&Cb.exec(n.css(d,g));if(A&&A[3]!==y){B/=2;y=y||A[3];for(A=+B||1;r--;)n.style(d,g,A+y),0>=(1-p)*(1-(p=u()/B||.5))&&(r=0),A/=p;A*=2;n.style(d,g,A+y);k=k||[]}if(k){A=+A||+B||0;var M=k[1]?A+(k[1]+1)*k[2]:+k[2];l&&(l.unit=y,l.start=A,l.end=M)}return M}function m(d,g){for(var k,l,p=[],r=0,u=d.length;r<u;r++)if(l=d[r],l.style)if(k=l.style.display,g){if("none"===k&&(p[r]=Z.get(l,"display")||null,p[r]||(l.style.display="")),""===l.style.display&&Ob(l)){k=
  r;var B=l.ownerDocument;l=l.nodeName;var y=jc[l];y||(B=B.body.appendChild(B.createElement(l)),y=n.css(B,"display"),B.parentNode.removeChild(B),"none"===y&&(y="block"),jc[l]=y);B=y;p[k]=B}}else"none"!==k&&(p[r]="none",Z.set(l,"display",k));for(r=0;r<u;r++)null!=p[r]&&(d[r].style.display=p[r]);return d}function q(d,g){var k="undefined"!==typeof d.getElementsByTagName?d.getElementsByTagName(g||"*"):"undefined"!==typeof d.querySelectorAll?d.querySelectorAll(g||"*"):[];return void 0===g||g&&Ka(d,g)?n.merge([d],
  k):k}function v(d,g){for(var k=0,l=d.length;k<l;k++)Z.set(d[k],"globalEval",!g||Z.get(g[k],"globalEval"))}function x(d,g,k,l,p){for(var r,u,B,y=g.createDocumentFragment(),A=[],M=0,S=d.length;M<S;M++)if((r=d[M])||0===r)if("object"===Za(r))n.merge(A,r.nodeType?[r]:r);else if(Vc.test(r)){u=u||y.appendChild(g.createElement("div"));B=(kc.exec(r)||["",""])[1].toLowerCase();B=Pa[B]||Pa._default;u.innerHTML=B[1]+n.htmlPrefilter(r)+B[2];for(B=B[0];B--;)u=u.lastChild;n.merge(A,u.childNodes);u=y.firstChild;
  u.textContent=""}else A.push(g.createTextNode(r));y.textContent="";for(M=0;r=A[M++];)if(l&&-1<n.inArray(r,l))p&&p.push(r);else if(d=yb(r),u=q(y.appendChild(r),"script"),d&&v(u),k)for(B=0;r=u[B++];)lc.test(r.type||"")&&k.push(r);return y}function F(){return!0}function G(){return!1}function C(d,g){a:{try{var k=ma.activeElement;break a}catch(l){}k=void 0}return d===k===("focus"===g)}function E(d,g,k,l,p,r){var u;if("object"===typeof g){"string"!==typeof k&&(l=l||k,k=void 0);for(u in g)E(d,u,k,l,g[u],
  r);return d}null==l&&null==p?(p=k,l=k=void 0):null==p&&("string"===typeof k?(p=l,l=void 0):(p=l,l=k,k=void 0));if(!1===p)p=G;else if(!p)return d;if(1===r){var B=p;p=function(y){n().off(y);return B.apply(this,arguments)};p.guid=B.guid||(B.guid=n.guid++)}return d.each(function(){n.event.add(this,g,p,l,k)})}function H(d,g,k){k?(Z.set(d,g,!1),n.event.add(d,g,{namespace:!1,handler:function(l){var p=Z.get(this,g);if(l.isTrigger&1&&this[g])if(p.length)(n.event.special[g]||{}).delegateType&&l.stopPropagation();
  else{p=lb.call(arguments);Z.set(this,g,p);var r=k(this,g);this[g]();var u=Z.get(this,g);p!==u||r?Z.set(this,g,!1):u={};if(p!==u)return l.stopImmediatePropagation(),l.preventDefault(),u.value}else p.length&&(Z.set(this,g,{value:n.event.trigger(n.extend(p[0],n.Event.prototype),p.slice(1),this)}),l.stopImmediatePropagation())}})):void 0===Z.get(d,g)&&n.event.add(d,g,F)}function D(d,g){return Ka(d,"table")&&Ka(11!==g.nodeType?g:g.firstChild,"tr")?n(d).children("tbody")[0]||d:d}function K(d){d.type=(null!==
  d.getAttribute("type"))+"/"+d.type;return d}function L(d){"true/"===(d.type||"").slice(0,5)?d.type=d.type.slice(5):d.removeAttribute("type");return d}function J(d,g){var k,l,p;if(1===g.nodeType){if(Z.hasData(d)){var r=Z.get(d);if(p=r.events)for(l in Z.remove(g,"handle events"),p)for(r=0,k=p[l].length;r<k;r++)n.event.add(g,l,p[l][r])}Na.hasData(d)&&(d=Na.access(d),d=n.extend({},d),Na.set(g,d))}}function O(d,g,k,l){g=mc(g);var p,r=0,u=d.length,B=u-1,y=g[0],A=ia(y);if(A||1<u&&"string"===typeof y&&!sa.checkClone&&
  Wc.test(y))return d.each(function(ta){var ea=d.eq(ta);A&&(g[0]=y.call(this,ta,ea.html()));O(ea,g,k,l)});if(u){var M=x(g,d[0].ownerDocument,!1,d,l);var S=M.firstChild;1===M.childNodes.length&&(M=S);if(S||l){S=n.map(q(M,"script"),K);for(p=S.length;r<u;r++){var V=M;r!==B&&(V=n.clone(V,!0,!0),p&&n.merge(S,q(V,"script")));k.call(d[r],V,r)}if(p)for(M=S[S.length-1].ownerDocument,n.map(S,L),r=0;r<p;r++)V=S[r],lc.test(V.type||"")&&!Z.access(V,"globalEval")&&n.contains(M,V)&&(V.src&&"module"!==(V.type||"").toLowerCase()?
  n._evalUrl&&!V.noModule&&n._evalUrl(V.src,{nonce:V.nonce||V.getAttribute("nonce")},M):ib(V.textContent.replace(Xc,""),V,M))}}return d}function P(d,g,k){for(var l=g?n.filter(g,d):d,p=0;null!=(g=l[p]);p++)k||1!==g.nodeType||n.cleanData(q(g)),g.parentNode&&(k&&yb(g)&&v(q(g,"script")),g.parentNode.removeChild(g));return d}function T(d,g,k){var l=d.style;if(k=k||Pb(d)){var p=k.getPropertyValue(g)||k[g];""!==p||yb(d)||(p=n.style(d,g));if(!sa.pixelBoxStyles()&&Yb.test(p)&&Yc.test(g)){d=l.width;g=l.minWidth;
  var r=l.maxWidth;l.minWidth=l.maxWidth=l.width=p;p=k.width;l.width=d;l.minWidth=g;l.maxWidth=r}}return void 0!==p?p+"":p}function Y(d,g){return{get:function(){if(d())delete this.get;else return(this.get=g).apply(this,arguments)}}}function da(d){var g=n.cssProps[d]||nc[d];if(g)return g;if(d in oc)return d;a:{g=d;for(var k=g[0].toUpperCase()+g.slice(1),l=pc.length;l--;)if(g=pc[l]+k,g in oc)break a;g=void 0}return nc[d]=g||d}function W(d,g,k){return(d=Cb.exec(g))?Math.max(0,d[2]-(k||0))+(d[3]||"px"):
  g}function ja(d,g,k,l,p,r){var u="width"===g?1:0,B=0,y=0;if(k===(l?"border":"content"))return 0;for(;4>u;u+=2)"margin"===k&&(y+=n.css(d,k+$a[u],!0,p)),l?("content"===k&&(y-=n.css(d,"padding"+$a[u],!0,p)),"margin"!==k&&(y-=n.css(d,"border"+$a[u]+"Width",!0,p))):(y+=n.css(d,"padding"+$a[u],!0,p),"padding"!==k?y+=n.css(d,"border"+$a[u]+"Width",!0,p):B+=n.css(d,"border"+$a[u]+"Width",!0,p));!l&&0<=r&&(y+=Math.max(0,Math.ceil(d["offset"+g[0].toUpperCase()+g.slice(1)]-r-y-B-.5))||0);return y}function na(d,
  g,k){var l=Pb(d),p=(!sa.boxSizingReliable()||k)&&"border-box"===n.css(d,"boxSizing",!1,l),r=p,u=T(d,g,l),B="offset"+g[0].toUpperCase()+g.slice(1);if(Yb.test(u)){if(!k)return u;u="auto"}(!sa.boxSizingReliable()&&p||!sa.reliableTrDimensions()&&Ka(d,"tr")||"auto"===u||!parseFloat(u)&&"inline"===n.css(d,"display",!1,l))&&d.getClientRects().length&&(p="border-box"===n.css(d,"boxSizing",!1,l),(r=B in d)&&(u=d[B]));u=parseFloat(u)||0;return u+ja(d,g,k||(p?"border":"content"),r,l,u)+"px"}function oa(d,g,
  k,l,p){return new oa.prototype.init(d,g,k,l,p)}function ab(){Qb&&(!1===ma.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(ab):e.setTimeout(ab,n.fx.interval),n.fx.tick())}function mb(){e.setTimeout(function(){zb=void 0});return zb=Date.now()}function bb(d,g){var k=0,l={height:d};for(g=g?1:0;4>k;k+=2-g){var p=$a[k];l["margin"+p]=l["padding"+p]=d}g&&(l.opacity=l.width=d);return l}function Aa(d,g,k){for(var l,p=(ua.tweeners[g]||[]).concat(ua.tweeners["*"]),r=0,u=p.length;r<u;r++)if(l=p[r].call(k,
  g,d))return l}function qa(d,g){var k,l;for(k in d){var p=b(k);var r=g[p];var u=d[k];Array.isArray(u)&&(r=u[1],u=d[k]=u[0]);k!==p&&(d[p]=u,delete d[k]);if((l=n.cssHooks[p])&&"expand"in l)for(k in u=l.expand(u),delete d[p],u)k in d||(d[k]=u[k],g[k]=r);else g[p]=r}}function ua(d,g,k){var l,p=0,r=ua.prefilters.length,u=n.Deferred().always(function(){delete B.elem}),B=function(){if(l)return!1;var A=zb||mb();A=Math.max(0,y.startTime+y.duration-A);for(var M=1-(A/y.duration||0),S=0,V=y.tweens.length;S<V;S++)y.tweens[S].run(M);
  u.notifyWith(d,[y,M,A]);if(1>M&&V)return A;V||u.notifyWith(d,[y,1,0]);u.resolveWith(d,[y]);return!1},y=u.promise({elem:d,props:n.extend({},g),opts:n.extend(!0,{specialEasing:{},easing:n.easing._default},k),originalProperties:g,originalOptions:k,startTime:zb||mb(),duration:k.duration,tweens:[],createTween:function(A,M){A=n.Tween(d,y.opts,A,M,y.opts.specialEasing[A]||y.opts.easing);y.tweens.push(A);return A},stop:function(A){var M=0,S=A?y.tweens.length:0;if(l)return this;for(l=!0;M<S;M++)y.tweens[M].run(1);
  A?(u.notifyWith(d,[y,1,0]),u.resolveWith(d,[y,A])):u.rejectWith(d,[y,A]);return this}});k=y.props;for(qa(k,y.opts.specialEasing);p<r;p++)if(g=ua.prefilters[p].call(y,d,k,y.opts))return ia(g.stop)&&(n._queueHooks(y.elem,y.opts.queue).stop=g.stop.bind(g)),g;n.map(k,Aa,y);ia(y.opts.start)&&y.opts.start.call(d,y);y.progress(y.opts.progress).done(y.opts.done,y.opts.complete).fail(y.opts.fail).always(y.opts.always);n.fx.timer(n.extend(B,{elem:d,anim:y,queue:y.opts.queue}));return y}function ra(d){return(d.match(Xa)||
  []).join(" ")}function La(d){return d.getAttribute&&d.getAttribute("class")||""}function Ma(d){return Array.isArray(d)?d:"string"===typeof d?d.match(Xa)||[]:[]}function Sa(d,g,k,l){var p;if(Array.isArray(g))n.each(g,function(r,u){k||Zc.test(d)?l(d,u):Sa(d+"["+("object"===typeof u&&null!=u?r:"")+"]",u,k,l)});else if(k||"object"!==Za(g))l(d,g);else for(p in g)Sa(d+"["+p+"]",g[p],k,l)}function qb(d){return function(g,k){"string"!==typeof g&&(k=g,g="*");var l=0,p=g.toLowerCase().match(Xa)||[];if(ia(k))for(;g=
  p[l++];)"+"===g[0]?(g=g.slice(1)||"*",(d[g]=d[g]||[]).unshift(k)):(d[g]=d[g]||[]).push(k)}}function Ab(d,g,k,l){function p(B){var y;r[B]=!0;n.each(d[B]||[],function(A,M){A=M(g,k,l);if("string"===typeof A&&!u&&!r[A])return g.dataTypes.unshift(A),p(A),!1;if(u)return!(y=A)});return y}var r={},u=d===Zb;return p(g.dataTypes[0])||!r["*"]&&p("*")}function cb(d,g){var k,l,p=n.ajaxSettings.flatOptions||{};for(k in g)void 0!==g[k]&&((p[k]?d:l||(l={}))[k]=g[k]);l&&n.extend(!0,d,l);return d}function $c(d,g,k){for(var l,
  p,r,u,B=d.contents,y=d.dataTypes;"*"===y[0];)y.shift(),void 0===l&&(l=d.mimeType||g.getResponseHeader("Content-Type"));if(l)for(p in B)if(B[p]&&B[p].test(l)){y.unshift(p);break}if(y[0]in k)r=y[0];else{for(p in k){if(!y[0]||d.converters[p+" "+y[0]]){r=p;break}u||(u=p)}r=r||u}if(r)return r!==y[0]&&y.unshift(r),k[r]}function ad(d,g,k,l){var p,r,u={},B=d.dataTypes.slice();if(B[1])for(A in d.converters)u[A.toLowerCase()]=d.converters[A];for(r=B.shift();r;){d.responseFields[r]&&(k[d.responseFields[r]]=
  g);!y&&l&&d.dataFilter&&(g=d.dataFilter(g,d.dataType));var y=r;if(r=B.shift())if("*"===r)r=y;else if("*"!==y&&y!==r){var A=u[y+" "+r]||u["* "+r];if(!A)for(p in u){var M=p.split(" ");if(M[1]===r&&(A=u[y+" "+M[0]]||u["* "+M[0]])){!0===A?A=u[p]:!0!==u[p]&&(r=M[0],B.unshift(M[1]));break}}if(!0!==A)if(A&&d.throws)g=A(g);else try{g=A(g)}catch(S){return{state:"parsererror",error:A?S:"No conversion from "+y+" to "+r}}}}return{state:"success",data:g}}var db=[],qc=Object.getPrototypeOf,lb=db.slice,mc=db.flat?
  function(d){return db.flat.call(d)}:function(d){return db.concat.apply([],d)},$b=db.push,Lb=db.indexOf,Kb={},ic=Kb.toString,Rb=Kb.hasOwnProperty,rc=Rb.toString,bd=rc.call(Object),sa={},ia=function(d){return"function"===typeof d&&"number"!==typeof d.nodeType},xb=function(d){return null!=d&&d===d.window},ma=e.document,Qc={type:!0,src:!0,nonce:!0,noModule:!0},n=function(d,g){return new n.fn.init(d,g)};n.fn=n.prototype={jquery:"3.5.1",constructor:n,length:0,toArray:function(){return lb.call(this)},get:function(d){return null==
  d?lb.call(this):0>d?this[d+this.length]:this[d]},pushStack:function(d){d=n.merge(this.constructor(),d);d.prevObject=this;return d},each:function(d){return n.each(this,d)},map:function(d){return this.pushStack(n.map(this,function(g,k){return d.call(g,k,g)}))},slice:function(){return this.pushStack(lb.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(n.grep(this,function(d,g){return(g+1)%2}))},odd:function(){return this.pushStack(n.grep(this,
  function(d,g){return g%2}))},eq:function(d){var g=this.length;d=+d+(0>d?g:0);return this.pushStack(0<=d&&d<g?[this[d]]:[])},end:function(){return this.prevObject||this.constructor()},push:$b,sort:db.sort,splice:db.splice};n.extend=n.fn.extend=function(){var d,g,k,l=arguments[0]||{},p=1,r=arguments.length,u=!1;"boolean"===typeof l&&(u=l,l=arguments[p]||{},p++);"object"===typeof l||ia(l)||(l={});p===r&&(l=this,p--);for(;p<r;p++)if(null!=(d=arguments[p]))for(g in d){var B=d[g];if("__proto__"!==g&&l!==
  B)if(u&&B&&(n.isPlainObject(B)||(k=Array.isArray(B)))){var y=l[g];y=k&&!Array.isArray(y)?[]:k||n.isPlainObject(y)?y:{};k=!1;l[g]=n.extend(u,y,B)}else void 0!==B&&(l[g]=B)}return l};n.extend({expando:"jQuery"+("3.5.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(d){throw Error(d);},noop:function(){},isPlainObject:function(d){if(!d||"[object Object]"!==ic.call(d))return!1;d=qc(d);if(!d)return!0;d=Rb.call(d,"constructor")&&d.constructor;return"function"===typeof d&&rc.call(d)===bd},isEmptyObject:function(d){for(var g in d)return!1;
  return!0},globalEval:function(d,g,k){ib(d,{nonce:g&&g.nonce},k)},each:function(d,g){var k,l=0;if(wb(d))for(k=d.length;l<k&&!1!==g.call(d[l],l,d[l]);l++);else for(l in d)if(!1===g.call(d[l],l,d[l]))break;return d},makeArray:function(d,g){g=g||[];null!=d&&(wb(Object(d))?n.merge(g,"string"===typeof d?[d]:d):$b.call(g,d));return g},inArray:function(d,g,k){return null==g?-1:Lb.call(g,d,k)},merge:function(d,g){for(var k=+g.length,l=0,p=d.length;l<k;l++)d[p++]=g[l];d.length=p;return d},grep:function(d,g,
  k){for(var l=[],p=0,r=d.length,u=!k;p<r;p++)k=!g(d[p],p),k!==u&&l.push(d[p]);return l},map:function(d,g,k){var l,p=0,r=[];if(wb(d))for(l=d.length;p<l;p++){var u=g(d[p],p,k);null!=u&&r.push(u)}else for(p in d)u=g(d[p],p,k),null!=u&&r.push(u);return mc(r)},guid:1,support:sa});"function"===typeof Symbol&&(n.fn[Symbol.iterator]=db[Symbol.iterator]);n.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(d,g){Kb["[object "+g+"]"]=g.toLowerCase()});var ub=function(d){function g(t,
  z,w,I){var N,R,U,aa,Q=z&&z.ownerDocument;var X=z?z.nodeType:9;w=w||[];if("string"!==typeof t||!t||1!==X&&9!==X&&11!==X)return w;if(!I&&(rb(z),z=z||ha,Ba)){if(11!==X&&(aa=cd.exec(t)))if(N=aa[1])if(9===X)if(R=z.getElementById(N)){if(R.id===N)return w.push(R),w}else return w;else{if(Q&&(R=Q.getElementById(N))&&Db(z,R)&&R.id===N)return w.push(R),w}else{if(aa[2])return nb.apply(w,z.getElementsByTagName(t)),w;if((N=aa[3])&&xa.getElementsByClassName&&z.getElementsByClassName)return nb.apply(w,z.getElementsByClassName(N)),
  w}if(!(!xa.qsa||Sb[t+" "]||Ca&&Ca.test(t)||1===X&&"object"===z.nodeName.toLowerCase())){N=t;Q=z;if(1===X&&(dd.test(t)||sc.test(t))){Q=ac.test(t)&&S(z.parentNode)||z;Q===z&&xa.scope||((U=z.getAttribute("id"))?U=U.replace(tc,uc):z.setAttribute("id",U=ya));N=Tb(t);for(X=N.length;X--;)N[X]=(U?"#"+U:":scope")+" "+ta(N[X]);N=N.join(",")}try{return nb.apply(w,Q.querySelectorAll(N)),w}catch(ka){Sb(t,!0)}finally{U===ya&&z.removeAttribute("id")}}}return ed(t.replace(Ub,"$1"),z,w,I)}function k(){function t(w,
  I){z.push(w+" ")>pa.cacheLength&&delete t[z.shift()];return t[w+" "]=I}var z=[];return t}function l(t){t[ya]=!0;return t}function p(t){var z=ha.createElement("fieldset");try{return!!t(z)}catch(w){return!1}finally{z.parentNode&&z.parentNode.removeChild(z)}}function r(t,z){t=t.split("|");for(var w=t.length;w--;)pa.attrHandle[t[w]]=z}function u(t,z){var w=z&&t,I=w&&1===t.nodeType&&1===z.nodeType&&t.sourceIndex-z.sourceIndex;if(I)return I;if(w)for(;w=w.nextSibling;)if(w===z)return-1;return t?1:-1}function B(t){return function(z){return"input"===
  z.nodeName.toLowerCase()&&z.type===t}}function y(t){return function(z){var w=z.nodeName.toLowerCase();return("input"===w||"button"===w)&&z.type===t}}function A(t){return function(z){return"form"in z?z.parentNode&&!1===z.disabled?"label"in z?"label"in z.parentNode?z.parentNode.disabled===t:z.disabled===t:z.isDisabled===t||z.isDisabled!==!t&&fd(z)===t:z.disabled===t:"label"in z?z.disabled===t:!1}}function M(t){return l(function(z){z=+z;return l(function(w,I){for(var N,R=t([],w.length,z),U=R.length;U--;)w[N=
  R[U]]&&(w[N]=!(I[N]=w[N]))})})}function S(t){return t&&"undefined"!==typeof t.getElementsByTagName&&t}function V(){}function ta(t){for(var z=0,w=t.length,I="";z<w;z++)I+=t[z].value;return I}function ea(t,z,w){var I=z.dir,N=z.next,R=N||I,U=w&&"parentNode"===R,aa=gd++;return z.first?function(Q,X,ka){for(;Q=Q[I];)if(1===Q.nodeType||U)return t(Q,X,ka);return!1}:function(Q,X,ka){var ba,va=[eb,aa];if(ka)for(;Q=Q[I];){if((1===Q.nodeType||U)&&t(Q,X,ka))return!0}else for(;Q=Q[I];)if(1===Q.nodeType||U){var za=
  Q[ya]||(Q[ya]={});za=za[Q.uniqueID]||(za[Q.uniqueID]={});if(N&&N===Q.nodeName.toLowerCase())Q=Q[I]||Q;else{if((ba=za[R])&&ba[0]===eb&&ba[1]===aa)return va[2]=ba[2];za[R]=va;if(va[2]=t(Q,X,ka))return!0}}return!1}}function Ha(t){return 1<t.length?function(z,w,I){for(var N=t.length;N--;)if(!t[N](z,w,I))return!1;return!0}:t[0]}function Ia(t,z,w,I,N){for(var R,U=[],aa=0,Q=t.length,X=null!=z;aa<Q;aa++)if(R=t[aa])if(!w||w(R,I,N))U.push(R),X&&z.push(aa);return U}function Ta(t,z,w,I,N,R){I&&!I[ya]&&(I=Ta(I));
  N&&!N[ya]&&(N=Ta(N,R));return l(function(U,aa,Q,X){var ka,ba=[],va=[],za=aa.length,Fa;if(!(Fa=U)){Fa=z||"*";for(var fa=Q.nodeType?[Q]:Q,Ya=[],Da=0,Vb=fa.length;Da<Vb;Da++)g(Fa,fa[Da],Ya);Fa=Ya}Fa=!t||!U&&z?Fa:Ia(Fa,ba,t,Q,X);fa=w?N||(U?t:za||I)?[]:aa:Fa;w&&w(Fa,fa,Q,X);if(I){var Ua=Ia(fa,va);I(Ua,[],Q,X);for(Q=Ua.length;Q--;)if(ka=Ua[Q])fa[va[Q]]=!(Fa[va[Q]]=ka)}if(U){if(N||t){if(N){Ua=[];for(Q=fa.length;Q--;)(ka=fa[Q])&&Ua.push(Fa[Q]=ka);N(null,fa=[],Ua,X)}for(Q=fa.length;Q--;)(ka=fa[Q])&&-1<(Ua=
  N?sb(U,ka):ba[Q])&&(U[Ua]=!(aa[Ua]=ka))}}else fa=Ia(fa===aa?fa.splice(za,fa.length):fa),N?N(null,aa,fa,X):nb.apply(aa,fa)})}function ca(t){var z,w,I=t.length,N=pa.relative[t[0].type];var R=N||pa.relative[" "];for(var U=N?1:0,aa=ea(function(ka){return ka===z},R,!0),Q=ea(function(ka){return-1<sb(z,ka)},R,!0),X=[function(ka,ba,va){ka=!N&&(va||ba!==la)||((z=ba).nodeType?aa(ka,ba,va):Q(ka,ba,va));z=null;return ka}];U<I;U++)if(R=pa.relative[t[U].type])X=[ea(Ha(X),R)];else{R=pa.filter[t[U].type].apply(null,
  t[U].matches);if(R[ya]){for(w=++U;w<I&&!pa.relative[t[w].type];w++);return Ta(1<U&&Ha(X),1<U&&ta(t.slice(0,U-1).concat({value:" "===t[U-2].type?"*":""})).replace(Ub,"$1"),R,U<w&&ca(t.slice(U,w)),w<I&&ca(t=t.slice(w)),w<I&&ta(t))}X.push(R)}return Ha(X)}function Ga(t,z){var w=0<z.length,I=0<t.length,N=function(R,U,aa,Q,X){var ka,ba,va=0,za="0",Fa=R&&[],fa=[],Ya=la,Da=R||I&&pa.find.TAG("*",X),Vb=eb+=null==Ya?1:Math.random()||.1,Ua=Da.length;for(X&&(la=U==ha||U||X);za!==Ua&&null!=(ka=Da[za]);za++){if(I&&
  ka){var bc=0;U||ka.ownerDocument==ha||(rb(ka),aa=!Ba);for(;ba=t[bc++];)if(ba(ka,U||ha,aa)){Q.push(ka);break}X&&(eb=Vb)}w&&((ka=!ba&&ka)&&va--,R&&Fa.push(ka))}va+=za;if(w&&za!==va){for(bc=0;ba=z[bc++];)ba(Fa,fa,U,aa);if(R){if(0<va)for(;za--;)Fa[za]||fa[za]||(fa[za]=hd.call(Q));fa=Ia(fa)}nb.apply(Q,fa);X&&!R&&0<fa.length&&1<va+z.length&&g.uniqueSort(Q)}X&&(eb=Vb,la=Ya);return Fa};return w?l(N):N}var Ja,la,wa,Oa,ha,Ea,Ba,Ca,Qa,Wb,Db,ya="sizzle"+1*new Date,Va=d.document,eb=0,gd=0,vc=k(),wc=k(),xc=k(),
  Sb=k(),cc=function(t,z){t===z&&(Oa=!0);return 0},id={}.hasOwnProperty,tb=[],hd=tb.pop,jd=tb.push,nb=tb.push,yc=tb.slice,sb=function(t,z){for(var w=0,I=t.length;w<I;w++)if(t[w]===z)return w;return-1},kd=/[\x20\t\r\n\f]+/g,Ub=/^[\x20\t\r\n\f]+|((?:^|[^\\])(?:\\.)*)[\x20\t\r\n\f]+$/g,ld=/^[\x20\t\r\n\f]*,[\x20\t\r\n\f]*/,sc=/^[\x20\t\r\n\f]*([>+~]|[\x20\t\r\n\f])[\x20\t\r\n\f]*/,dd=/[\x20\t\r\n\f]|>/,md=/:((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)(?:\((('((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)")|((?:\\.|[^\\()[\]]|\[[\x20\t\r\n\f]*((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+))|)[\x20\t\r\n\f]*\])*)|.*)\)|)/,
  nd=/^(?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+$/,Xb={ID:/^#((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)/,CLASS:/^\.((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)/,TAG:/^((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+|[*])/,ATTR:/^\[[\x20\t\r\n\f]*((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+))|)[\x20\t\r\n\f]*\]/,
  PSEUDO:/^:((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)(?:\((('((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)")|((?:\\.|[^\\()[\]]|\[[\x20\t\r\n\f]*((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+))|)[\x20\t\r\n\f]*\])*)|.*)\)|)/,CHILD:/^:(only|first|last|nth|nth-last)-(child|of-type)(?:\([\x20\t\r\n\f]*(even|odd|(([+-]|)(\d*)n|)[\x20\t\r\n\f]*(?:([+-]|)[\x20\t\r\n\f]*(\d+)|))[\x20\t\r\n\f]*\)|)/i,
  bool:/^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$/i,needsContext:/^[\x20\t\r\n\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\([\x20\t\r\n\f]*((?:-\d)?\d*)[\x20\t\r\n\f]*\)|)(?=[^-]|$)/i},od=/HTML$/i,pd=/^(?:input|select|textarea|button)$/i,qd=/^h\d$/i,Eb=/^[^{]+\{\s*\[native \w/,cd=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ac=/[+~]/,fb=/\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\([^\r\n\f])/g,gb=function(t,z){t="0x"+t.slice(1)-
  65536;return z?z:0>t?String.fromCharCode(t+65536):String.fromCharCode(t>>10|55296,t&1023|56320)},tc=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,uc=function(t,z){return z?"\x00"===t?"\ufffd":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},zc=function(){rb()},fd=ea(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{nb.apply(tb=yc.call(Va.childNodes),Va.childNodes),tb[Va.childNodes.length].nodeType}catch(t){nb=
  {apply:tb.length?function(z,w){jd.apply(z,yc.call(w))}:function(z,w){for(var I=z.length,N=0;z[I++]=w[N++];);z.length=I-1}}}var xa=g.support={};var rd=g.isXML=function(t){var z=(t.ownerDocument||t).documentElement;return!od.test(t.namespaceURI||z&&z.nodeName||"HTML")};var rb=g.setDocument=function(t){var z;t=t?t.ownerDocument||t:Va;if(t==ha||9!==t.nodeType||!t.documentElement)return ha;ha=t;Ea=ha.documentElement;Ba=!rd(ha);Va!=ha&&(z=ha.defaultView)&&z.top!==z&&(z.addEventListener?z.addEventListener("unload",
  zc,!1):z.attachEvent&&z.attachEvent("onunload",zc));xa.scope=p(function(w){Ea.appendChild(w).appendChild(ha.createElement("div"));return"undefined"!==typeof w.querySelectorAll&&!w.querySelectorAll(":scope fieldset div").length});xa.attributes=p(function(w){w.className="i";return!w.getAttribute("className")});xa.getElementsByTagName=p(function(w){w.appendChild(ha.createComment(""));return!w.getElementsByTagName("*").length});xa.getElementsByClassName=Eb.test(ha.getElementsByClassName);xa.getById=p(function(w){Ea.appendChild(w).id=
  ya;return!ha.getElementsByName||!ha.getElementsByName(ya).length});xa.getById?(pa.filter.ID=function(w){var I=w.replace(fb,gb);return function(N){return N.getAttribute("id")===I}},pa.find.ID=function(w,I){if("undefined"!==typeof I.getElementById&&Ba)return(w=I.getElementById(w))?[w]:[]}):(pa.filter.ID=function(w){var I=w.replace(fb,gb);return function(N){return(N="undefined"!==typeof N.getAttributeNode&&N.getAttributeNode("id"))&&N.value===I}},pa.find.ID=function(w,I){if("undefined"!==typeof I.getElementById&&
  Ba){var N,R=I.getElementById(w);if(R){if((N=R.getAttributeNode("id"))&&N.value===w)return[R];var U=I.getElementsByName(w);for(I=0;R=U[I++];)if((N=R.getAttributeNode("id"))&&N.value===w)return[R]}return[]}});pa.find.TAG=xa.getElementsByTagName?function(w,I){if("undefined"!==typeof I.getElementsByTagName)return I.getElementsByTagName(w);if(xa.qsa)return I.querySelectorAll(w)}:function(w,I){var N=[],R=0;I=I.getElementsByTagName(w);if("*"===w){for(;w=I[R++];)1===w.nodeType&&N.push(w);return N}return I};
  pa.find.CLASS=xa.getElementsByClassName&&function(w,I){if("undefined"!==typeof I.getElementsByClassName&&Ba)return I.getElementsByClassName(w)};Qa=[];Ca=[];if(xa.qsa=Eb.test(ha.querySelectorAll))p(function(w){Ea.appendChild(w).innerHTML="\x3ca id\x3d'"+ya+"'\x3e\x3c/a\x3e\x3cselect id\x3d'"+ya+"-\r\\' msallowcapture\x3d''\x3e\x3coption selected\x3d''\x3e\x3c/option\x3e\x3c/select\x3e";w.querySelectorAll("[msallowcapture^\x3d'']").length&&Ca.push("[*^$]\x3d[\\x20\\t\\r\\n\\f]*(?:''|\"\")");w.querySelectorAll("[selected]").length||
  Ca.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)");w.querySelectorAll("[id~\x3d"+ya+"-]").length||Ca.push("~\x3d");var I=ha.createElement("input");I.setAttribute("name","");w.appendChild(I);w.querySelectorAll("[name\x3d'']").length||Ca.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*\x3d[\\x20\\t\\r\\n\\f]*(?:''|\"\")");w.querySelectorAll(":checked").length||Ca.push(":checked");
  w.querySelectorAll("a#"+ya+"+*").length||Ca.push(".#.+[+~]");w.querySelectorAll("\\\f");Ca.push("[\\r\\n\\f]")}),p(function(w){w.innerHTML="\x3ca href\x3d'' disabled\x3d'disabled'\x3e\x3c/a\x3e\x3cselect disabled\x3d'disabled'\x3e\x3coption/\x3e\x3c/select\x3e";var I=ha.createElement("input");I.setAttribute("type","hidden");w.appendChild(I).setAttribute("name","D");w.querySelectorAll("[name\x3dd]").length&&Ca.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?\x3d");2!==w.querySelectorAll(":enabled").length&&
  Ca.push(":enabled",":disabled");Ea.appendChild(w).disabled=!0;2!==w.querySelectorAll(":disabled").length&&Ca.push(":enabled",":disabled");w.querySelectorAll("*,:x");Ca.push(",.*:")});(xa.matchesSelector=Eb.test(Wb=Ea.matches||Ea.webkitMatchesSelector||Ea.mozMatchesSelector||Ea.oMatchesSelector||Ea.msMatchesSelector))&&p(function(w){xa.disconnectedMatch=Wb.call(w,"*");Wb.call(w,"[s!\x3d'']:x");Qa.push("!\x3d",":((?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\x00-\\x7f])+)(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|\\[[\\x20\\t\\r\\n\\f]*((?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\x00-\\x7f])+)(?:[\\x20\\t\\r\\n\\f]*([*^$|!~]?\x3d)[\\x20\\t\\r\\n\\f]*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|((?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\x00-\\x7f])+))|)[\\x20\\t\\r\\n\\f]*\\])*)|.*)\\)|)")});
  Ca=Ca.length&&new RegExp(Ca.join("|"));Qa=Qa.length&&new RegExp(Qa.join("|"));Db=(z=Eb.test(Ea.compareDocumentPosition))||Eb.test(Ea.contains)?function(w,I){var N=9===w.nodeType?w.documentElement:w;I=I&&I.parentNode;return w===I||!!(I&&1===I.nodeType&&(N.contains?N.contains(I):w.compareDocumentPosition&&w.compareDocumentPosition(I)&16))}:function(w,I){if(I)for(;I=I.parentNode;)if(I===w)return!0;return!1};cc=z?function(w,I){if(w===I)return Oa=!0,0;var N=!w.compareDocumentPosition-!I.compareDocumentPosition;
  if(N)return N;N=(w.ownerDocument||w)==(I.ownerDocument||I)?w.compareDocumentPosition(I):1;return N&1||!xa.sortDetached&&I.compareDocumentPosition(w)===N?w==ha||w.ownerDocument==Va&&Db(Va,w)?-1:I==ha||I.ownerDocument==Va&&Db(Va,I)?1:wa?sb(wa,w)-sb(wa,I):0:N&4?-1:1}:function(w,I){if(w===I)return Oa=!0,0;var N=0,R=w.parentNode,U=I.parentNode,aa=[w],Q=[I];if(!R||!U)return w==ha?-1:I==ha?1:R?-1:U?1:wa?sb(wa,w)-sb(wa,I):0;if(R===U)return u(w,I);for(;w=w.parentNode;)aa.unshift(w);for(w=I;w=w.parentNode;)Q.unshift(w);
  for(;aa[N]===Q[N];)N++;return N?u(aa[N],Q[N]):aa[N]==Va?-1:Q[N]==Va?1:0};return ha};g.matches=function(t,z){return g(t,null,null,z)};g.matchesSelector=function(t,z){rb(t);if(!(!xa.matchesSelector||!Ba||Sb[z+" "]||Qa&&Qa.test(z)||Ca&&Ca.test(z)))try{var w=Wb.call(t,z);if(w||xa.disconnectedMatch||t.document&&11!==t.document.nodeType)return w}catch(I){Sb(z,!0)}return 0<g(z,ha,null,[t]).length};g.contains=function(t,z){(t.ownerDocument||t)!=ha&&rb(t);return Db(t,z)};g.attr=function(t,z){(t.ownerDocument||
  t)!=ha&&rb(t);var w=pa.attrHandle[z.toLowerCase()];w=w&&id.call(pa.attrHandle,z.toLowerCase())?w(t,z,!Ba):void 0;return void 0!==w?w:xa.attributes||!Ba?t.getAttribute(z):(w=t.getAttributeNode(z))&&w.specified?w.value:null};g.escape=function(t){return(t+"").replace(tc,uc)};g.error=function(t){throw Error("Syntax error, unrecognized expression: "+t);};g.uniqueSort=function(t){var z,w=[],I=0,N=0;Oa=!xa.detectDuplicates;wa=!xa.sortStable&&t.slice(0);t.sort(cc);if(Oa){for(;z=t[N++];)z===t[N]&&(I=w.push(N));
  for(;I--;)t.splice(w[I],1)}wa=null;return t};var dc=g.getText=function(t){var z="",w=0;var I=t.nodeType;if(!I)for(;I=t[w++];)z+=dc(I);else if(1===I||9===I||11===I){if("string"===typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)z+=dc(t)}else if(3===I||4===I)return t.nodeValue;return z};var pa=g.selectors={cacheLength:50,createPseudo:l,match:Xb,attrHandle:{},find:{},relative:{"\x3e":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},
  "~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){t[1]=t[1].replace(fb,gb);t[3]=(t[3]||t[4]||t[5]||"").replace(fb,gb);"~\x3d"===t[2]&&(t[3]=" "+t[3]+" ");return t.slice(0,4)},CHILD:function(t){t[1]=t[1].toLowerCase();"nth"===t[1].slice(0,3)?(t[3]||g.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&g.error(t[0]);return t},PSEUDO:function(t){var z,w=!t[6]&&t[2];if(Xb.CHILD.test(t[0]))return null;t[3]?t[2]=t[4]||t[5]||"":w&&md.test(w)&&
  (z=Tb(w,!0))&&(z=w.indexOf(")",w.length-z)-w.length)&&(t[0]=t[0].slice(0,z),t[2]=w.slice(0,z));return t.slice(0,3)}},filter:{TAG:function(t){var z=t.replace(fb,gb).toLowerCase();return"*"===t?function(){return!0}:function(w){return w.nodeName&&w.nodeName.toLowerCase()===z}},CLASS:function(t){var z=vc[t+" "];return z||(z=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+t+"([\\x20\\t\\r\\n\\f]|$)"),vc(t,function(w){return z.test("string"===typeof w.className&&w.className||"undefined"!==typeof w.getAttribute&&w.getAttribute("class")||
  "")}))},ATTR:function(t,z,w){return function(I){I=g.attr(I,t);if(null==I)return"!\x3d"===z;if(!z)return!0;I+="";return"\x3d"===z?I===w:"!\x3d"===z?I!==w:"^\x3d"===z?w&&0===I.indexOf(w):"*\x3d"===z?w&&-1<I.indexOf(w):"$\x3d"===z?w&&I.slice(-w.length)===w:"~\x3d"===z?-1<(" "+I.replace(kd," ")+" ").indexOf(w):"|\x3d"===z?I===w||I.slice(0,w.length+1)===w+"-":!1}},CHILD:function(t,z,w,I,N){var R="nth"!==t.slice(0,3),U="last"!==t.slice(-4),aa="of-type"===z;return 1===I&&0===N?function(Q){return!!Q.parentNode}:
  function(Q,X,ka){var ba,va;X=R!==U?"nextSibling":"previousSibling";var za=Q.parentNode,Fa=aa&&Q.nodeName.toLowerCase();ka=!ka&&!aa;var fa=!1;if(za){if(R){for(;X;){for(ba=Q;ba=ba[X];)if(aa?ba.nodeName.toLowerCase()===Fa:1===ba.nodeType)return!1;var Ya=X="only"===t&&!Ya&&"nextSibling"}return!0}Ya=[U?za.firstChild:za.lastChild];if(U&&ka){ba=za;var Da=ba[ya]||(ba[ya]={});Da=Da[ba.uniqueID]||(Da[ba.uniqueID]={});fa=Da[t]||[];fa=(va=fa[0]===eb&&fa[1])&&fa[2];for(ba=va&&za.childNodes[va];ba=++va&&ba&&ba[X]||
  (fa=va=0)||Ya.pop();)if(1===ba.nodeType&&++fa&&ba===Q){Da[t]=[eb,va,fa];break}}else if(ka&&(ba=Q,Da=ba[ya]||(ba[ya]={}),Da=Da[ba.uniqueID]||(Da[ba.uniqueID]={}),fa=Da[t]||[],fa=va=fa[0]===eb&&fa[1]),!1===fa)for(;(ba=++va&&ba&&ba[X]||(fa=va=0)||Ya.pop())&&((aa?ba.nodeName.toLowerCase()!==Fa:1!==ba.nodeType)||!++fa||(ka&&(Da=ba[ya]||(ba[ya]={}),Da=Da[ba.uniqueID]||(Da[ba.uniqueID]={}),Da[t]=[eb,fa]),ba!==Q)););fa-=N;return fa===I||0===fa%I&&0<=fa/I}}},PSEUDO:function(t,z){var w=pa.pseudos[t]||pa.setFilters[t.toLowerCase()]||
  g.error("unsupported pseudo: "+t);if(w[ya])return w(z);if(1<w.length){var I=[t,t,"",z];return pa.setFilters.hasOwnProperty(t.toLowerCase())?l(function(N,R){for(var U,aa=w(N,z),Q=aa.length;Q--;)U=sb(N,aa[Q]),N[U]=!(R[U]=aa[Q])}):function(N){return w(N,0,I)}}return w}},pseudos:{not:l(function(t){var z=[],w=[],I=Ac(t.replace(Ub,"$1"));return I[ya]?l(function(N,R,U,aa){aa=I(N,null,aa,[]);for(var Q=N.length;Q--;)if(U=aa[Q])N[Q]=!(R[Q]=U)}):function(N,R,U){z[0]=N;I(z,null,U,w);z[0]=null;return!w.pop()}}),
  has:l(function(t){return function(z){return 0<g(t,z).length}}),contains:l(function(t){t=t.replace(fb,gb);return function(z){return-1<(z.textContent||dc(z)).indexOf(t)}}),lang:l(function(t){nd.test(t||"")||g.error("unsupported lang: "+t);t=t.replace(fb,gb).toLowerCase();return function(z){var w;do if(w=Ba?z.lang:z.getAttribute("xml:lang")||z.getAttribute("lang"))return w=w.toLowerCase(),w===t||0===w.indexOf(t+"-");while((z=z.parentNode)&&1===z.nodeType);return!1}}),target:function(t){var z=d.location&&
  d.location.hash;return z&&z.slice(1)===t.id},root:function(t){return t===Ea},focus:function(t){return t===ha.activeElement&&(!ha.hasFocus||ha.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:A(!1),disabled:A(!0),checked:function(t){var z=t.nodeName.toLowerCase();return"input"===z&&!!t.checked||"option"===z&&!!t.selected},selected:function(t){t.parentNode&&t.parentNode.selectedIndex;return!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(6>t.nodeType)return!1;return!0},
  parent:function(t){return!pa.pseudos.empty(t)},header:function(t){return qd.test(t.nodeName)},input:function(t){return pd.test(t.nodeName)},button:function(t){var z=t.nodeName.toLowerCase();return"input"===z&&"button"===t.type||"button"===z},text:function(t){var z;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(z=t.getAttribute("type"))||"text"===z.toLowerCase())},first:M(function(){return[0]}),last:M(function(t,z){return[z-1]}),eq:M(function(t,z,w){return[0>w?w+z:w]}),even:M(function(t,
  z){for(var w=0;w<z;w+=2)t.push(w);return t}),odd:M(function(t,z){for(var w=1;w<z;w+=2)t.push(w);return t}),lt:M(function(t,z,w){for(z=0>w?w+z:w>z?z:w;0<=--z;)t.push(z);return t}),gt:M(function(t,z,w){for(w=0>w?w+z:w;++w<z;)t.push(w);return t})}};pa.pseudos.nth=pa.pseudos.eq;for(Ja in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})pa.pseudos[Ja]=B(Ja);for(Ja in{submit:!0,reset:!0})pa.pseudos[Ja]=y(Ja);V.prototype=pa.filters=pa.pseudos;pa.setFilters=new V;var Tb=g.tokenize=function(t,z){var w,I,
  N,R,U;if(R=wc[t+" "])return z?0:R.slice(0);R=t;var aa=[];for(U=pa.preFilter;R;){if(!Q||(w=ld.exec(R)))w&&(R=R.slice(w[0].length)||R),aa.push(I=[]);var Q=!1;if(w=sc.exec(R))Q=w.shift(),I.push({value:Q,type:w[0].replace(Ub," ")}),R=R.slice(Q.length);for(N in pa.filter)!(w=Xb[N].exec(R))||U[N]&&!(w=U[N](w))||(Q=w.shift(),I.push({value:Q,type:N,matches:w}),R=R.slice(Q.length));if(!Q)break}return z?R.length:R?g.error(t):wc(t,aa).slice(0)};var Ac=g.compile=function(t,z){var w,I=[],N=[],R=xc[t+" "];if(!R){z||
  (z=Tb(t));for(w=z.length;w--;)R=ca(z[w]),R[ya]?I.push(R):N.push(R);R=xc(t,Ga(N,I));R.selector=t}return R};var ed=g.select=function(t,z,w,I){var N,R,U,aa="function"===typeof t&&t,Q=!I&&Tb(t=aa.selector||t);w=w||[];if(1===Q.length){var X=Q[0]=Q[0].slice(0);if(2<X.length&&"ID"===(R=X[0]).type&&9===z.nodeType&&Ba&&pa.relative[X[1].type]){z=(pa.find.ID(R.matches[0].replace(fb,gb),z)||[])[0];if(!z)return w;aa&&(z=z.parentNode);t=t.slice(X.shift().value.length)}for(N=Xb.needsContext.test(t)?0:X.length;N--;){R=
  X[N];if(pa.relative[U=R.type])break;if(U=pa.find[U])if(I=U(R.matches[0].replace(fb,gb),ac.test(X[0].type)&&S(z.parentNode)||z)){X.splice(N,1);t=I.length&&ta(X);if(!t)return nb.apply(w,I),w;break}}}(aa||Ac(t,Q))(I,z,!Ba,w,!z||ac.test(t)&&S(z.parentNode)||z);return w};xa.sortStable=ya.split("").sort(cc).join("")===ya;xa.detectDuplicates=!!Oa;rb();xa.sortDetached=p(function(t){return t.compareDocumentPosition(ha.createElement("fieldset"))&1});p(function(t){t.innerHTML="\x3ca href\x3d'#'\x3e\x3c/a\x3e";
  return"#"===t.firstChild.getAttribute("href")})||r("type|href|height|width",function(t,z,w){if(!w)return t.getAttribute(z,"type"===z.toLowerCase()?1:2)});xa.attributes&&p(function(t){t.innerHTML="\x3cinput/\x3e";t.firstChild.setAttribute("value","");return""===t.firstChild.getAttribute("value")})||r("value",function(t,z,w){if(!w&&"input"===t.nodeName.toLowerCase())return t.defaultValue});p(function(t){return null==t.getAttribute("disabled")})||r("checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",
  function(t,z,w){var I;if(!w)return!0===t[z]?z.toLowerCase():(I=t.getAttributeNode(z))&&I.specified?I.value:null});return g}(e);n.find=ub;n.expr=ub.selectors;n.expr[":"]=n.expr.pseudos;n.uniqueSort=n.unique=ub.uniqueSort;n.text=ub.getText;n.isXMLDoc=ub.isXML;n.contains=ub.contains;n.escapeSelector=ub.escape;var Bb=function(d,g,k){for(var l=[],p=void 0!==k;(d=d[g])&&9!==d.nodeType;)if(1===d.nodeType){if(p&&n(d).is(k))break;l.push(d)}return l},Bc=function(d,g){for(var k=[];d;d=d.nextSibling)1===d.nodeType&&
  d!==g&&k.push(d);return k},Cc=n.expr.match.needsContext,Dc=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;n.filter=function(d,g,k){var l=g[0];k&&(d=":not("+d+")");return 1===g.length&&1===l.nodeType?n.find.matchesSelector(l,d)?[l]:[]:n.find.matches(d,n.grep(g,function(p){return 1===p.nodeType}))};n.fn.extend({find:function(d){var g,k=this.length,l=this;if("string"!==typeof d)return this.pushStack(n(d).filter(function(){for(g=0;g<k;g++)if(n.contains(l[g],this))return!0}));var p=
  this.pushStack([]);for(g=0;g<k;g++)n.find(d,l[g],p);return 1<k?n.uniqueSort(p):p},filter:function(d){return this.pushStack(Wa(this,d||[],!1))},not:function(d){return this.pushStack(Wa(this,d||[],!0))},is:function(d){return!!Wa(this,"string"===typeof d&&Cc.test(d)?n(d):d||[],!1).length}});var sd=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(n.fn.init=function(d,g,k){if(!d)return this;k=k||td;if("string"===typeof d){var l="\x3c"===d[0]&&"\x3e"===d[d.length-1]&&3<=d.length?[null,d,null]:sd.exec(d);if(!l||!l[1]&&
  g)return!g||g.jquery?(g||k).find(d):this.constructor(g).find(d);if(l[1]){if(g=g instanceof n?g[0]:g,n.merge(this,n.parseHTML(l[1],g&&g.nodeType?g.ownerDocument||g:ma,!0)),Dc.test(l[1])&&n.isPlainObject(g))for(l in g)if(ia(this[l]))this[l](g[l]);else this.attr(l,g[l])}else if(d=ma.getElementById(l[2]))this[0]=d,this.length=1;return this}return d.nodeType?(this[0]=d,this.length=1,this):ia(d)?void 0!==k.ready?k.ready(d):d(n):n.makeArray(d,this)}).prototype=n.fn;var td=n(ma);var ud=/^(?:parents|prev(?:Until|All))/,
  vd={children:!0,contents:!0,next:!0,prev:!0};n.fn.extend({has:function(d){var g=n(d,this),k=g.length;return this.filter(function(){for(var l=0;l<k;l++)if(n.contains(this,g[l]))return!0})},closest:function(d,g){var k,l=0,p=this.length,r=[],u="string"!==typeof d&&n(d);if(!Cc.test(d))for(;l<p;l++)for(k=this[l];k&&k!==g;k=k.parentNode)if(11>k.nodeType&&(u?-1<u.index(k):1===k.nodeType&&n.find.matchesSelector(k,d))){r.push(k);break}return this.pushStack(1<r.length?n.uniqueSort(r):r)},index:function(d){return d?
  "string"===typeof d?Lb.call(n(d),this[0]):Lb.call(this,d.jquery?d[0]:d):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(d,g){return this.pushStack(n.uniqueSort(n.merge(this.get(),n(d,g))))},addBack:function(d){return this.add(null==d?this.prevObject:this.prevObject.filter(d))}});n.each({parent:function(d){return(d=d.parentNode)&&11!==d.nodeType?d:null},parents:function(d){return Bb(d,"parentNode")},parentsUntil:function(d,g,k){return Bb(d,"parentNode",k)},next:function(d){return Mb(d,
  "nextSibling")},prev:function(d){return Mb(d,"previousSibling")},nextAll:function(d){return Bb(d,"nextSibling")},prevAll:function(d){return Bb(d,"previousSibling")},nextUntil:function(d,g,k){return Bb(d,"nextSibling",k)},prevUntil:function(d,g,k){return Bb(d,"previousSibling",k)},siblings:function(d){return Bc((d.parentNode||{}).firstChild,d)},children:function(d){return Bc(d.firstChild)},contents:function(d){if(null!=d.contentDocument&&qc(d.contentDocument))return d.contentDocument;Ka(d,"template")&&
  (d=d.content||d);return n.merge([],d.childNodes)}},function(d,g){n.fn[d]=function(k,l){var p=n.map(this,g,k);"Until"!==d.slice(-5)&&(l=k);l&&"string"===typeof l&&(p=n.filter(l,p));1<this.length&&(vd[d]||n.uniqueSort(p),ud.test(d)&&p.reverse());return this.pushStack(p)}});var Xa=/[^\x20\t\r\n\f]+/g;n.Callbacks=function(d){d="string"===typeof d?Nb(d):n.extend({},d);var g,k,l,p,r=[],u=[],B=-1,y=function(){p=p||d.once;for(l=g=!0;u.length;B=-1)for(k=u.shift();++B<r.length;)!1===r[B].apply(k[0],k[1])&&
  d.stopOnFalse&&(B=r.length,k=!1);d.memory||(k=!1);g=!1;p&&(r=k?[]:"")},A={add:function(){r&&(k&&!g&&(B=r.length-1,u.push(k)),function V(S){n.each(S,function(ta,ea){ia(ea)?d.unique&&A.has(ea)||r.push(ea):ea&&ea.length&&"string"!==Za(ea)&&V(ea)})}(arguments),k&&!g&&y());return this},remove:function(){n.each(arguments,function(M,S){for(var V;-1<(V=n.inArray(S,r,V));)r.splice(V,1),V<=B&&B--});return this},has:function(M){return M?-1<n.inArray(M,r):0<r.length},empty:function(){r&&(r=[]);return this},disable:function(){p=
  u=[];r=k="";return this},disabled:function(){return!r},lock:function(){p=u=[];k||g||(r=k="");return this},locked:function(){return!!p},fireWith:function(M,S){p||(S=S||[],S=[M,S.slice?S.slice():S],u.push(S),g||y());return this},fire:function(){A.fireWith(this,arguments);return this},fired:function(){return!!l}};return A};n.extend({Deferred:function(d){var g=[["notify","progress",n.Callbacks("memory"),n.Callbacks("memory"),2],["resolve","done",n.Callbacks("once memory"),n.Callbacks("once memory"),0,
  "resolved"],["reject","fail",n.Callbacks("once memory"),n.Callbacks("once memory"),1,"rejected"]],k="pending",l={state:function(){return k},always:function(){p.done(arguments).fail(arguments);return this},"catch":function(r){return l.then(null,r)},pipe:function(){var r=arguments;return n.Deferred(function(u){n.each(g,function(B,y){var A=ia(r[y[4]])&&r[y[4]];p[y[1]](function(){var M=A&&A.apply(this,arguments);if(M&&ia(M.promise))M.promise().progress(u.notify).done(u.resolve).fail(u.reject);else u[y[0]+
  "With"](this,A?[M]:arguments)})});r=null}).promise()},then:function(r,u,B){function y(M,S,V,ta){return function(){var ea=this,Ha=arguments,Ia=function(){if(!(M<A)){var ca=V.apply(ea,Ha);if(ca===S.promise())throw new TypeError("Thenable self-resolution");var Ga=ca&&("object"===typeof ca||"function"===typeof ca)&&ca.then;ia(Ga)?ta?Ga.call(ca,y(A,S,jb,ta),y(A,S,Ra,ta)):(A++,Ga.call(ca,y(A,S,jb,ta),y(A,S,Ra,ta),y(A,S,jb,S.notifyWith))):(V!==jb&&(ea=void 0,Ha=[ca]),(ta||S.resolveWith)(ea,Ha))}},Ta=ta?
  Ia:function(){try{Ia()}catch(ca){n.Deferred.exceptionHook&&n.Deferred.exceptionHook(ca,Ta.stackTrace),M+1>=A&&(V!==Ra&&(ea=void 0,Ha=[ca]),S.rejectWith(ea,Ha))}};M?Ta():(n.Deferred.getStackHook&&(Ta.stackTrace=n.Deferred.getStackHook()),e.setTimeout(Ta))}}var A=0;return n.Deferred(function(M){g[0][3].add(y(0,M,ia(B)?B:jb,M.notifyWith));g[1][3].add(y(0,M,ia(r)?r:jb));g[2][3].add(y(0,M,ia(u)?u:Ra))}).promise()},promise:function(r){return null!=r?n.extend(r,l):l}},p={};n.each(g,function(r,u){var B=u[2],
  y=u[5];l[u[1]]=B.add;y&&B.add(function(){k=y},g[3-r][2].disable,g[3-r][3].disable,g[0][2].lock,g[0][3].lock);B.add(u[3].fire);p[u[0]]=function(){p[u[0]+"With"](this===p?void 0:this,arguments);return this};p[u[0]+"With"]=B.fireWith});l.promise(p);d&&d.call(p,p);return p},when:function(d){var g=arguments.length,k=g,l=Array(k),p=lb.call(arguments),r=n.Deferred(),u=function(B){return function(y){l[B]=this;p[B]=1<arguments.length?lb.call(arguments):y;--g||r.resolveWith(l,p)}};if(1>=g&&(pb(d,r.done(u(k)).resolve,
  r.reject,!g),"pending"===r.state()||ia(p[k]&&p[k].then)))return r.then();for(;k--;)pb(p[k],u(k),r.reject);return r.promise()}});var wd=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;n.Deferred.exceptionHook=function(d,g){e.console&&e.console.warn&&d&&wd.test(d.name)&&e.console.warn("jQuery.Deferred exception: "+d.message,d.stack,g)};n.readyException=function(d){e.setTimeout(function(){throw d;})};var ec=n.Deferred();n.fn.ready=function(d){ec.then(d).catch(function(g){n.readyException(g)});
  return this};n.extend({isReady:!1,readyWait:1,ready:function(d){(!0===d?--n.readyWait:n.isReady)||(n.isReady=!0,!0!==d&&0<--n.readyWait||ec.resolveWith(ma,[n]))}});n.ready.then=ec.then;"complete"===ma.readyState||"loading"!==ma.readyState&&!ma.documentElement.doScroll?e.setTimeout(n.ready):(ma.addEventListener("DOMContentLoaded",kb),e.addEventListener("load",kb));var hb=function(d,g,k,l,p,r,u){var B=0,y=d.length,A=null==k;if("object"===Za(k))for(B in p=!0,k)hb(d,g,B,k[B],!0,r,u);else if(void 0!==
  l&&(p=!0,ia(l)||(u=!0),A&&(u?(g.call(d,l),g=null):(A=g,g=function(M,S,V){return A.call(n(M),V)})),g))for(;B<y;B++)g(d[B],k,u?l:l.call(d[B],B,g(d[B],k)));return p?d:A?g.call(d):y?g(d[0],k):r},Rc=/^-ms-/,Sc=/-([a-z])/g,Fb=function(d){return 1===d.nodeType||9===d.nodeType||!+d.nodeType};c.uid=1;c.prototype={cache:function(d){var g=d[this.expando];g||(g={},Fb(d)&&(d.nodeType?d[this.expando]=g:Object.defineProperty(d,this.expando,{value:g,configurable:!0})));return g},set:function(d,g,k){var l;d=this.cache(d);
  if("string"===typeof g)d[b(g)]=k;else for(l in g)d[b(l)]=g[l];return d},get:function(d,g){return void 0===g?this.cache(d):d[this.expando]&&d[this.expando][b(g)]},access:function(d,g,k){if(void 0===g||g&&"string"===typeof g&&void 0===k)return this.get(d,g);this.set(d,g,k);return void 0!==k?k:g},remove:function(d,g){var k,l=d[this.expando];if(void 0!==l){if(void 0!==g)for(Array.isArray(g)?g=g.map(b):(g=b(g),g=g in l?[g]:g.match(Xa)||[]),k=g.length;k--;)delete l[g[k]];if(void 0===g||n.isEmptyObject(l))d.nodeType?
  d[this.expando]=void 0:delete d[this.expando]}},hasData:function(d){d=d[this.expando];return void 0!==d&&!n.isEmptyObject(d)}};var Z=new c,Na=new c,Uc=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Tc=/[A-Z]/g;n.extend({hasData:function(d){return Na.hasData(d)||Z.hasData(d)},data:function(d,g,k){return Na.access(d,g,k)},removeData:function(d,g){Na.remove(d,g)},_data:function(d,g,k){return Z.access(d,g,k)},_removeData:function(d,g){Z.remove(d,g)}});n.fn.extend({data:function(d,g){var k,l=this[0],p=l&&l.attributes;
  if(void 0===d){if(this.length){var r=Na.get(l);if(1===l.nodeType&&!Z.get(l,"hasDataAttrs")){for(k=p.length;k--;)if(p[k]){var u=p[k].name;0===u.indexOf("data-")&&(u=b(u.slice(5)),f(l,u,r[u]))}Z.set(l,"hasDataAttrs",!0)}}return r}return"object"===typeof d?this.each(function(){Na.set(this,d)}):hb(this,function(B){if(l&&void 0===B){var y=Na.get(l,d);if(void 0!==y)return y;y=f(l,d);if(void 0!==y)return y}else this.each(function(){Na.set(this,d,B)})},null,g,1<arguments.length,null,!0)},removeData:function(d){return this.each(function(){Na.remove(this,
  d)})}});n.extend({queue:function(d,g,k){if(d){g=(g||"fx")+"queue";var l=Z.get(d,g);k&&(!l||Array.isArray(k)?l=Z.access(d,g,n.makeArray(k)):l.push(k));return l||[]}},dequeue:function(d,g){g=g||"fx";var k=n.queue(d,g),l=k.length,p=k.shift(),r=n._queueHooks(d,g),u=function(){n.dequeue(d,g)};"inprogress"===p&&(p=k.shift(),l--);p&&("fx"===g&&k.unshift("inprogress"),delete r.stop,p.call(d,u,r));!l&&r&&r.empty.fire()},_queueHooks:function(d,g){var k=g+"queueHooks";return Z.get(d,k)||Z.access(d,k,{empty:n.Callbacks("once memory").add(function(){Z.remove(d,
  [g+"queue",k])})})}});n.fn.extend({queue:function(d,g){var k=2;"string"!==typeof d&&(g=d,d="fx",k--);return arguments.length<k?n.queue(this[0],d):void 0===g?this:this.each(function(){var l=n.queue(this,d,g);n._queueHooks(this,d);"fx"===d&&"inprogress"!==l[0]&&n.dequeue(this,d)})},dequeue:function(d){return this.each(function(){n.dequeue(this,d)})},clearQueue:function(d){return this.queue(d||"fx",[])},promise:function(d,g){var k,l=1,p=n.Deferred(),r=this,u=this.length,B=function(){--l||p.resolveWith(r,
  [r])};"string"!==typeof d&&(g=d,d=void 0);for(d=d||"fx";u--;)(k=Z.get(r[u],d+"queueHooks"))&&k.empty&&(l++,k.empty.add(B));B();return p.promise(g)}});var Ec=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Cb=new RegExp("^(?:([+-])\x3d|)("+Ec+")([a-z%]*)$","i"),$a=["Top","Right","Bottom","Left"],vb=ma.documentElement,yb=function(d){return n.contains(d.ownerDocument,d)},xd={composed:!0};vb.getRootNode&&(yb=function(d){return n.contains(d.ownerDocument,d)||d.getRootNode(xd)===d.ownerDocument});var Ob=function(d,
  g){d=g||d;return"none"===d.style.display||""===d.style.display&&yb(d)&&"none"===n.css(d,"display")},jc={};n.fn.extend({show:function(){return m(this,!0)},hide:function(){return m(this)},toggle:function(d){return"boolean"===typeof d?d?this.show():this.hide():this.each(function(){Ob(this)?n(this).show():n(this).hide()})}});var Gb=/^(?:checkbox|radio)$/i,kc=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,lc=/^$|^module$|\/(?:java|ecma)script/i;(function(){var d=ma.createDocumentFragment().appendChild(ma.createElement("div")),
  g=ma.createElement("input");g.setAttribute("type","radio");g.setAttribute("checked","checked");g.setAttribute("name","t");d.appendChild(g);sa.checkClone=d.cloneNode(!0).cloneNode(!0).lastChild.checked;d.innerHTML="\x3ctextarea\x3ex\x3c/textarea\x3e";sa.noCloneChecked=!!d.cloneNode(!0).lastChild.defaultValue;d.innerHTML="\x3coption\x3e\x3c/option\x3e";sa.option=!!d.lastChild})();var Pa={thead:[1,"\x3ctable\x3e","\x3c/table\x3e"],col:[2,"\x3ctable\x3e\x3ccolgroup\x3e","\x3c/colgroup\x3e\x3c/table\x3e"],
  tr:[2,"\x3ctable\x3e\x3ctbody\x3e","\x3c/tbody\x3e\x3c/table\x3e"],td:[3,"\x3ctable\x3e\x3ctbody\x3e\x3ctr\x3e","\x3c/tr\x3e\x3c/tbody\x3e\x3c/table\x3e"],_default:[0,"",""]};Pa.tbody=Pa.tfoot=Pa.colgroup=Pa.caption=Pa.thead;Pa.th=Pa.td;sa.option||(Pa.optgroup=Pa.option=[1,"\x3cselect multiple\x3d'multiple'\x3e","\x3c/select\x3e"]);var Vc=/<|&#?\w+;/,yd=/^key/,zd=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Fc=/^([^.]*)(?:\.(.+)|)/;n.event={global:{},add:function(d,g,k,l,p){var r,u,B,y;var A=
  Z.get(d);if(Fb(d)){if(k.handler){var M=k;k=M.handler;p=M.selector}p&&n.find.matchesSelector(vb,p);k.guid||(k.guid=n.guid++);(u=A.events)||(u=A.events=Object.create(null));(r=A.handle)||(r=A.handle=function(ea){return"undefined"!==typeof n&&n.event.triggered!==ea.type?n.event.dispatch.apply(d,arguments):void 0});g=(g||"").match(Xa)||[""];for(A=g.length;A--;){var S=Fc.exec(g[A])||[];var V=B=S[1];var ta=(S[2]||"").split(".").sort();V&&(S=n.event.special[V]||{},V=(p?S.delegateType:S.bindType)||V,S=n.event.special[V]||
  {},B=n.extend({type:V,origType:B,data:l,handler:k,guid:k.guid,selector:p,needsContext:p&&n.expr.match.needsContext.test(p),namespace:ta.join(".")},M),(y=u[V])||(y=u[V]=[],y.delegateCount=0,S.setup&&!1!==S.setup.call(d,l,ta,r)||d.addEventListener&&d.addEventListener(V,r)),S.add&&(S.add.call(d,B),B.handler.guid||(B.handler.guid=k.guid)),p?y.splice(y.delegateCount++,0,B):y.push(B),n.event.global[V]=!0)}}},remove:function(d,g,k,l,p){var r,u,B,y,A,M=Z.hasData(d)&&Z.get(d);if(M&&(B=M.events)){g=(g||"").match(Xa)||
  [""];for(y=g.length;y--;){var S=Fc.exec(g[y])||[];var V=A=S[1];var ta=(S[2]||"").split(".").sort();if(V){var ea=n.event.special[V]||{};V=(l?ea.delegateType:ea.bindType)||V;var Ha=B[V]||[];S=S[2]&&new RegExp("(^|\\.)"+ta.join("\\.(?:.*\\.|)")+"(\\.|$)");for(u=r=Ha.length;r--;){var Ia=Ha[r];!p&&A!==Ia.origType||k&&k.guid!==Ia.guid||S&&!S.test(Ia.namespace)||l&&l!==Ia.selector&&("**"!==l||!Ia.selector)||(Ha.splice(r,1),Ia.selector&&Ha.delegateCount--,ea.remove&&ea.remove.call(d,Ia))}u&&!Ha.length&&(ea.teardown&&
  !1!==ea.teardown.call(d,ta,M.handle)||n.removeEvent(d,V,M.handle),delete B[V])}else for(V in B)n.event.remove(d,V+g[y],k,l,!0)}n.isEmptyObject(B)&&Z.remove(d,"handle events")}},dispatch:function(d){var g,k,l,p=Array(arguments.length),r=n.event.fix(d);var u=(Z.get(this,"events")||Object.create(null))[r.type]||[];var B=n.event.special[r.type]||{};p[0]=r;for(g=1;g<arguments.length;g++)p[g]=arguments[g];r.delegateTarget=this;if(!B.preDispatch||!1!==B.preDispatch.call(this,r)){var y=n.event.handlers.call(this,
  r,u);for(g=0;(l=y[g++])&&!r.isPropagationStopped();)for(r.currentTarget=l.elem,u=0;(k=l.handlers[u++])&&!r.isImmediatePropagationStopped();)if(!r.rnamespace||!1===k.namespace||r.rnamespace.test(k.namespace))r.handleObj=k,r.data=k.data,k=((n.event.special[k.origType]||{}).handle||k.handler).apply(l.elem,p),void 0!==k&&!1===(r.result=k)&&(r.preventDefault(),r.stopPropagation());B.postDispatch&&B.postDispatch.call(this,r);return r.result}},handlers:function(d,g){var k,l=[],p=g.delegateCount,r=d.target;
  if(p&&r.nodeType&&!("click"===d.type&&1<=d.button))for(;r!==this;r=r.parentNode||this)if(1===r.nodeType&&("click"!==d.type||!0!==r.disabled)){var u=[];var B={};for(k=0;k<p;k++){var y=g[k];var A=y.selector+" ";void 0===B[A]&&(B[A]=y.needsContext?-1<n(A,this).index(r):n.find(A,this,null,[r]).length);B[A]&&u.push(y)}u.length&&l.push({elem:r,handlers:u})}p<g.length&&l.push({elem:this,handlers:g.slice(p)});return l},addProp:function(d,g){Object.defineProperty(n.Event.prototype,d,{enumerable:!0,configurable:!0,
  get:ia(g)?function(){if(this.originalEvent)return g(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[d]},set:function(k){Object.defineProperty(this,d,{enumerable:!0,configurable:!0,writable:!0,value:k})}})},fix:function(d){return d[n.expando]?d:new n.Event(d)},special:{load:{noBubble:!0},click:{setup:function(d){d=this||d;Gb.test(d.type)&&d.click&&Ka(d,"input")&&H(d,"click",F);return!1},trigger:function(d){d=this||d;Gb.test(d.type)&&d.click&&Ka(d,"input")&&H(d,"click");
  return!0},_default:function(d){d=d.target;return Gb.test(d.type)&&d.click&&Ka(d,"input")&&Z.get(d,"click")||Ka(d,"a")}},beforeunload:{postDispatch:function(d){void 0!==d.result&&d.originalEvent&&(d.originalEvent.returnValue=d.result)}}}};n.removeEvent=function(d,g,k){d.removeEventListener&&d.removeEventListener(g,k)};n.Event=function(d,g){if(!(this instanceof n.Event))return new n.Event(d,g);d&&d.type?(this.originalEvent=d,this.type=d.type,this.isDefaultPrevented=d.defaultPrevented||void 0===d.defaultPrevented&&
  !1===d.returnValue?F:G,this.target=d.target&&3===d.target.nodeType?d.target.parentNode:d.target,this.currentTarget=d.currentTarget,this.relatedTarget=d.relatedTarget):this.type=d;g&&n.extend(this,g);this.timeStamp=d&&d.timeStamp||Date.now();this[n.expando]=!0};n.Event.prototype={constructor:n.Event,isDefaultPrevented:G,isPropagationStopped:G,isImmediatePropagationStopped:G,isSimulated:!1,preventDefault:function(){var d=this.originalEvent;this.isDefaultPrevented=F;d&&!this.isSimulated&&d.preventDefault()},
  stopPropagation:function(){var d=this.originalEvent;this.isPropagationStopped=F;d&&!this.isSimulated&&d.stopPropagation()},stopImmediatePropagation:function(){var d=this.originalEvent;this.isImmediatePropagationStopped=F;d&&!this.isSimulated&&d.stopImmediatePropagation();this.stopPropagation()}};n.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:function(d){var g=d.button;return null==d.which&&yd.test(d.type)?null!=d.charCode?d.charCode:d.keyCode:!d.which&&void 0!==g&&zd.test(d.type)?g&1?1:g&2?3:g&4?2:0:d.which}},n.event.addProp);n.each({focus:"focusin",blur:"focusout"},function(d,g){n.event.special[d]={setup:function(){H(this,d,C);return!1},trigger:function(){H(this,d);return!0},delegateType:g}});n.each({mouseenter:"mouseover",
  mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(d,g){n.event.special[d]={delegateType:g,bindType:g,handle:function(k){var l=k.relatedTarget,p=k.handleObj;if(!l||l!==this&&!n.contains(this,l)){k.type=p.origType;var r=p.handler.apply(this,arguments);k.type=g}return r}}});n.fn.extend({on:function(d,g,k,l){return E(this,d,g,k,l)},one:function(d,g,k,l){return E(this,d,g,k,l,1)},off:function(d,g,k){if(d&&d.preventDefault&&d.handleObj){var l=d.handleObj;n(d.delegateTarget).off(l.namespace?
  l.origType+"."+l.namespace:l.origType,l.selector,l.handler);return this}if("object"===typeof d){for(l in d)this.off(l,g,d[l]);return this}if(!1===g||"function"===typeof g)k=g,g=void 0;!1===k&&(k=G);return this.each(function(){n.event.remove(this,d,k,g)})}});var Ad=/<script|<style|<link/i,Wc=/checked\s*(?:[^=]|=\s*.checked.)/i,Xc=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;n.extend({htmlPrefilter:function(d){return d},clone:function(d,g,k){var l,p=d.cloneNode(!0),r=yb(d);if(!(sa.noCloneChecked||1!==
  d.nodeType&&11!==d.nodeType||n.isXMLDoc(d))){var u=q(p);var B=q(d);var y=0;for(l=B.length;y<l;y++){var A=B[y],M=u[y],S=M.nodeName.toLowerCase();if("input"===S&&Gb.test(A.type))M.checked=A.checked;else if("input"===S||"textarea"===S)M.defaultValue=A.defaultValue}}if(g)if(k)for(B=B||q(d),u=u||q(p),y=0,l=B.length;y<l;y++)J(B[y],u[y]);else J(d,p);u=q(p,"script");0<u.length&&v(u,!r&&q(d,"script"));return p},cleanData:function(d){for(var g,k,l,p=n.event.special,r=0;void 0!==(k=d[r]);r++)if(Fb(k)){if(g=
  k[Z.expando]){if(g.events)for(l in g.events)p[l]?n.event.remove(k,l):n.removeEvent(k,l,g.handle);k[Z.expando]=void 0}k[Na.expando]&&(k[Na.expando]=void 0)}}});n.fn.extend({detach:function(d){return P(this,d,!0)},remove:function(d){return P(this,d)},text:function(d){return hb(this,function(g){return void 0===g?n.text(this):this.empty().each(function(){if(1===this.nodeType||11===this.nodeType||9===this.nodeType)this.textContent=g})},null,d,arguments.length)},append:function(){return O(this,arguments,
  function(d){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||D(this,d).appendChild(d)})},prepend:function(){return O(this,arguments,function(d){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var g=D(this,d);g.insertBefore(d,g.firstChild)}})},before:function(){return O(this,arguments,function(d){this.parentNode&&this.parentNode.insertBefore(d,this)})},after:function(){return O(this,arguments,function(d){this.parentNode&&this.parentNode.insertBefore(d,this.nextSibling)})},empty:function(){for(var d,
  g=0;null!=(d=this[g]);g++)1===d.nodeType&&(n.cleanData(q(d,!1)),d.textContent="");return this},clone:function(d,g){d=null==d?!1:d;g=null==g?d:g;return this.map(function(){return n.clone(this,d,g)})},html:function(d){return hb(this,function(g){var k=this[0]||{},l=0,p=this.length;if(void 0===g&&1===k.nodeType)return k.innerHTML;if("string"===typeof g&&!Ad.test(g)&&!Pa[(kc.exec(g)||["",""])[1].toLowerCase()]){g=n.htmlPrefilter(g);try{for(;l<p;l++)k=this[l]||{},1===k.nodeType&&(n.cleanData(q(k,!1)),k.innerHTML=
  g);k=0}catch(r){}}k&&this.empty().append(g)},null,d,arguments.length)},replaceWith:function(){var d=[];return O(this,arguments,function(g){var k=this.parentNode;0>n.inArray(this,d)&&(n.cleanData(q(this)),k&&k.replaceChild(g,this))},d)}});n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(d,g){n.fn[d]=function(k){for(var l=[],p=n(k),r=p.length-1,u=0;u<=r;u++)k=u===r?this:this.clone(!0),n(p[u])[g](k),$b.apply(l,k.get());return this.pushStack(l)}});
  var Yb=new RegExp("^("+Ec+")(?!px)[a-z%]+$","i"),Pb=function(d){var g=d.ownerDocument.defaultView;g&&g.opener||(g=e);return g.getComputedStyle(d)},Gc=function(d,g,k){var l,p={};for(l in g)p[l]=d.style[l],d.style[l]=g[l];k=k.call(d);for(l in g)d.style[l]=p[l];return k},Yc=new RegExp($a.join("|"),"i");(function(){function d(){if(y){B.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0";y.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%";
  vb.appendChild(B).appendChild(y);var A=e.getComputedStyle(y);g="1%"!==A.top;u=12===Math.round(parseFloat(A.marginLeft));y.style.right="60%";p=36===Math.round(parseFloat(A.right));k=36===Math.round(parseFloat(A.width));y.style.position="absolute";l=12===Math.round(parseFloat(y.offsetWidth/3));vb.removeChild(B);y=null}}var g,k,l,p,r,u,B=ma.createElement("div"),y=ma.createElement("div");y.style&&(y.style.backgroundClip="content-box",y.cloneNode(!0).style.backgroundClip="",sa.clearCloneStyle="content-box"===
  y.style.backgroundClip,n.extend(sa,{boxSizingReliable:function(){d();return k},pixelBoxStyles:function(){d();return p},pixelPosition:function(){d();return g},reliableMarginLeft:function(){d();return u},scrollboxSize:function(){d();return l},reliableTrDimensions:function(){if(null==r){var A=ma.createElement("table");var M=ma.createElement("tr");var S=ma.createElement("div");A.style.cssText="position:absolute;left:-11111px";M.style.height="1px";S.style.height="9px";vb.appendChild(A).appendChild(M).appendChild(S);
  M=e.getComputedStyle(M);r=3<parseInt(M.height);vb.removeChild(A)}return r}}))})();var pc=["Webkit","Moz","ms"],oc=ma.createElement("div").style,nc={},Bd=/^(none|table(?!-c[ea]).+)/,Hc=/^--/,Cd={position:"absolute",visibility:"hidden",display:"block"},Ic={letterSpacing:"0",fontWeight:"400"};n.extend({cssHooks:{opacity:{get:function(d,g){if(g)return d=T(d,"opacity"),""===d?"1":d}}},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(d,g,k,l){if(d&&3!==d.nodeType&&8!==d.nodeType&&d.style){var p,r=b(g),u=Hc.test(g),B=d.style;u||(g=da(r));var y=n.cssHooks[g]||n.cssHooks[r];if(void 0!==k){var A=typeof k;"string"===A&&(p=Cb.exec(k))&&p[1]&&(k=h(d,g,p),A="number");null!=k&&k===k&&("number"!==A||u||(k+=p&&p[3]||(n.cssNumber[r]?"":"px")),sa.clearCloneStyle||
  ""!==k||0!==g.indexOf("background")||(B[g]="inherit"),y&&"set"in y&&void 0===(k=y.set(d,k,l))||(u?B.setProperty(g,k):B[g]=k))}else return y&&"get"in y&&void 0!==(p=y.get(d,!1,l))?p:B[g]}},css:function(d,g,k,l){var p;var r=b(g);Hc.test(g)||(g=da(r));(r=n.cssHooks[g]||n.cssHooks[r])&&"get"in r&&(p=r.get(d,!0,k));void 0===p&&(p=T(d,g,l));"normal"===p&&g in Ic&&(p=Ic[g]);return""===k||k?(d=parseFloat(p),!0===k||isFinite(d)?d||0:p):p}});n.each(["height","width"],function(d,g){n.cssHooks[g]={get:function(k,
  l,p){if(l)return!Bd.test(n.css(k,"display"))||k.getClientRects().length&&k.getBoundingClientRect().width?na(k,g,p):Gc(k,Cd,function(){return na(k,g,p)})},set:function(k,l,p){var r,u=Pb(k),B=!sa.scrollboxSize()&&"absolute"===u.position,y=(B||p)&&"border-box"===n.css(k,"boxSizing",!1,u);p=p?ja(k,g,p,y,u):0;y&&B&&(p-=Math.ceil(k["offset"+g[0].toUpperCase()+g.slice(1)]-parseFloat(u[g])-ja(k,g,"border",!1,u)-.5));p&&(r=Cb.exec(l))&&"px"!==(r[3]||"px")&&(k.style[g]=l,l=n.css(k,g));return W(k,l,p)}}});n.cssHooks.marginLeft=
  Y(sa.reliableMarginLeft,function(d,g){if(g)return(parseFloat(T(d,"marginLeft"))||d.getBoundingClientRect().left-Gc(d,{marginLeft:0},function(){return d.getBoundingClientRect().left}))+"px"});n.each({margin:"",padding:"",border:"Width"},function(d,g){n.cssHooks[d+g]={expand:function(k){var l=0,p={};for(k="string"===typeof k?k.split(" "):[k];4>l;l++)p[d+$a[l]+g]=k[l]||k[l-2]||k[0];return p}};"margin"!==d&&(n.cssHooks[d+g].set=W)});n.fn.extend({css:function(d,g){return hb(this,function(k,l,p){var r,
  u={},B=0;if(Array.isArray(l)){p=Pb(k);for(r=l.length;B<r;B++)u[l[B]]=n.css(k,l[B],!1,p);return u}return void 0!==p?n.style(k,l,p):n.css(k,l)},d,g,1<arguments.length)}});n.Tween=oa;oa.prototype={constructor:oa,init:function(d,g,k,l,p,r){this.elem=d;this.prop=k;this.easing=p||n.easing._default;this.options=g;this.start=this.now=this.cur();this.end=l;this.unit=r||(n.cssNumber[k]?"":"px")},cur:function(){var d=oa.propHooks[this.prop];return d&&d.get?d.get(this):oa.propHooks._default.get(this)},run:function(d){var g,
  k=oa.propHooks[this.prop];this.pos=this.options.duration?g=n.easing[this.easing](d,this.options.duration*d,0,1,this.options.duration):g=d;this.now=(this.end-this.start)*g+this.start;this.options.step&&this.options.step.call(this.elem,this.now,this);k&&k.set?k.set(this):oa.propHooks._default.set(this);return this}};oa.prototype.init.prototype=oa.prototype;oa.propHooks={_default:{get:function(d){return 1!==d.elem.nodeType||null!=d.elem[d.prop]&&null==d.elem.style[d.prop]?d.elem[d.prop]:(d=n.css(d.elem,
  d.prop,""))&&"auto"!==d?d:0},set:function(d){if(n.fx.step[d.prop])n.fx.step[d.prop](d);else 1!==d.elem.nodeType||!n.cssHooks[d.prop]&&null==d.elem.style[da(d.prop)]?d.elem[d.prop]=d.now:n.style(d.elem,d.prop,d.now+d.unit)}}};oa.propHooks.scrollTop=oa.propHooks.scrollLeft={set:function(d){d.elem.nodeType&&d.elem.parentNode&&(d.elem[d.prop]=d.now)}};n.easing={linear:function(d){return d},swing:function(d){return.5-Math.cos(d*Math.PI)/2},_default:"swing"};n.fx=oa.prototype.init;n.fx.step={};var zb,Qb,
  Dd=/^(?:toggle|show|hide)$/,Ed=/queueHooks$/;n.Animation=n.extend(ua,{tweeners:{"*":[function(d,g){var k=this.createTween(d,g);h(k.elem,d,Cb.exec(g),k);return k}]},tweener:function(d,g){ia(d)?(g=d,d=["*"]):d=d.match(Xa);for(var k,l=0,p=d.length;l<p;l++)k=d[l],ua.tweeners[k]=ua.tweeners[k]||[],ua.tweeners[k].unshift(g)},prefilters:[function(d,g,k){var l;var p="width"in g||"height"in g;var r=this,u={},B=d.style,y=d.nodeType&&Ob(d),A=Z.get(d,"fxshow");if(!k.queue){var M=n._queueHooks(d,"fx");if(null==
  M.unqueued){M.unqueued=0;var S=M.empty.fire;M.empty.fire=function(){M.unqueued||S()}}M.unqueued++;r.always(function(){r.always(function(){M.unqueued--;n.queue(d,"fx").length||M.empty.fire()})})}for(l in g){var V=g[l];if(Dd.test(V)){delete g[l];var ta=ta||"toggle"===V;if(V===(y?"hide":"show"))if("show"===V&&A&&void 0!==A[l])y=!0;else continue;u[l]=A&&A[l]||n.style(d,l)}}if((g=!n.isEmptyObject(g))||!n.isEmptyObject(u)){if(p&&1===d.nodeType){k.overflow=[B.overflow,B.overflowX,B.overflowY];var ea=A&&
  A.display;null==ea&&(ea=Z.get(d,"display"));p=n.css(d,"display");"none"===p&&(ea?p=ea:(m([d],!0),ea=d.style.display||ea,p=n.css(d,"display"),m([d])));("inline"===p||"inline-block"===p&&null!=ea)&&"none"===n.css(d,"float")&&(g||(r.done(function(){B.display=ea}),null==ea&&(p=B.display,ea="none"===p?"":p)),B.display="inline-block")}k.overflow&&(B.overflow="hidden",r.always(function(){B.overflow=k.overflow[0];B.overflowX=k.overflow[1];B.overflowY=k.overflow[2]}));g=!1;for(l in u)g||(A?"hidden"in A&&(y=
  A.hidden):A=Z.access(d,"fxshow",{display:ea}),ta&&(A.hidden=!y),y&&m([d],!0),r.done(function(){y||m([d]);Z.remove(d,"fxshow");for(l in u)n.style(d,l,u[l])})),g=Aa(y?A[l]:0,l,r),l in A||(A[l]=g.start,y&&(g.end=g.start,g.start=0))}}],prefilter:function(d,g){g?ua.prefilters.unshift(d):ua.prefilters.push(d)}});n.speed=function(d,g,k){var l=d&&"object"===typeof d?n.extend({},d):{complete:k||!k&&g||ia(d)&&d,duration:d,easing:k&&g||g&&!ia(g)&&g};n.fx.off?l.duration=0:"number"!==typeof l.duration&&(l.duration=
  l.duration in n.fx.speeds?n.fx.speeds[l.duration]:n.fx.speeds._default);if(null==l.queue||!0===l.queue)l.queue="fx";l.old=l.complete;l.complete=function(){ia(l.old)&&l.old.call(this);l.queue&&n.dequeue(this,l.queue)};return l};n.fn.extend({fadeTo:function(d,g,k,l){return this.filter(Ob).css("opacity",0).show().end().animate({opacity:g},d,k,l)},animate:function(d,g,k,l){var p=n.isEmptyObject(d),r=n.speed(g,k,l);g=function(){var u=ua(this,n.extend({},d),r);(p||Z.get(this,"finish"))&&u.stop(!0)};g.finish=
  g;return p||!1===r.queue?this.each(g):this.queue(r.queue,g)},stop:function(d,g,k){var l=function(p){var r=p.stop;delete p.stop;r(k)};"string"!==typeof d&&(k=g,g=d,d=void 0);g&&this.queue(d||"fx",[]);return this.each(function(){var p=!0,r=null!=d&&d+"queueHooks",u=n.timers,B=Z.get(this);if(r)B[r]&&B[r].stop&&l(B[r]);else for(r in B)B[r]&&B[r].stop&&Ed.test(r)&&l(B[r]);for(r=u.length;r--;)u[r].elem!==this||null!=d&&u[r].queue!==d||(u[r].anim.stop(k),p=!1,u.splice(r,1));!p&&k||n.dequeue(this,d)})},finish:function(d){!1!==
  d&&(d=d||"fx");return this.each(function(){var g=Z.get(this),k=g[d+"queue"];var l=g[d+"queueHooks"];var p=n.timers,r=k?k.length:0;g.finish=!0;n.queue(this,d,[]);l&&l.stop&&l.stop.call(this,!0);for(l=p.length;l--;)p[l].elem===this&&p[l].queue===d&&(p[l].anim.stop(!0),p.splice(l,1));for(l=0;l<r;l++)k[l]&&k[l].finish&&k[l].finish.call(this);delete g.finish})}});n.each(["toggle","show","hide"],function(d,g){var k=n.fn[g];n.fn[g]=function(l,p,r){return null==l||"boolean"===typeof l?k.apply(this,arguments):
  this.animate(bb(g,!0),l,p,r)}});n.each({slideDown:bb("show"),slideUp:bb("hide"),slideToggle:bb("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(d,g){n.fn[d]=function(k,l,p){return this.animate(g,k,l,p)}});n.timers=[];n.fx.tick=function(){var d=0,g=n.timers;for(zb=Date.now();d<g.length;d++){var k=g[d];k()||g[d]!==k||g.splice(d--,1)}g.length||n.fx.stop();zb=void 0};n.fx.timer=function(d){n.timers.push(d);n.fx.start()};n.fx.interval=13;n.fx.start=function(){Qb||
  (Qb=!0,ab())};n.fx.stop=function(){Qb=null};n.fx.speeds={slow:600,fast:200,_default:400};n.fn.delay=function(d,g){d=n.fx?n.fx.speeds[d]||d:d;return this.queue(g||"fx",function(k,l){var p=e.setTimeout(k,d);l.stop=function(){e.clearTimeout(p)}})};(function(){var d=ma.createElement("input"),g=ma.createElement("select").appendChild(ma.createElement("option"));d.type="checkbox";sa.checkOn=""!==d.value;sa.optSelected=g.selected;d=ma.createElement("input");d.value="t";d.type="radio";sa.radioValue="t"===
  d.value})();var Hb=n.expr.attrHandle;n.fn.extend({attr:function(d,g){return hb(this,n.attr,d,g,1<arguments.length)},removeAttr:function(d){return this.each(function(){n.removeAttr(this,d)})}});n.extend({attr:function(d,g,k){var l,p,r=d.nodeType;if(3!==r&&8!==r&&2!==r){if("undefined"===typeof d.getAttribute)return n.prop(d,g,k);1===r&&n.isXMLDoc(d)||(p=n.attrHooks[g.toLowerCase()]||(n.expr.match.bool.test(g)?Fd:void 0));if(void 0!==k){if(null===k){n.removeAttr(d,g);return}if(p&&"set"in p&&void 0!==
  (l=p.set(d,k,g)))return l;d.setAttribute(g,k+"");return k}if(p&&"get"in p&&null!==(l=p.get(d,g)))return l;l=n.find.attr(d,g);return null==l?void 0:l}},attrHooks:{type:{set:function(d,g){if(!sa.radioValue&&"radio"===g&&Ka(d,"input")){var k=d.value;d.setAttribute("type",g);k&&(d.value=k);return g}}}},removeAttr:function(d,g){var k=0,l=g&&g.match(Xa);if(l&&1===d.nodeType)for(;g=l[k++];)d.removeAttribute(g)}});var Fd={set:function(d,g,k){!1===g?n.removeAttr(d,k):d.setAttribute(k,k);return k}};n.each(n.expr.match.bool.source.match(/\w+/g),
  function(d,g){var k=Hb[g]||n.find.attr;Hb[g]=function(l,p,r){var u=p.toLowerCase();if(!r){var B=Hb[u];Hb[u]=y;var y=null!=k(l,p,r)?u:null;Hb[u]=B}return y}});var Gd=/^(?:input|select|textarea|button)$/i,Hd=/^(?:a|area)$/i;n.fn.extend({prop:function(d,g){return hb(this,n.prop,d,g,1<arguments.length)},removeProp:function(d){return this.each(function(){delete this[n.propFix[d]||d]})}});n.extend({prop:function(d,g,k){var l,p=d.nodeType;if(3!==p&&8!==p&&2!==p){if(1!==p||!n.isXMLDoc(d)){g=n.propFix[g]||
  g;var r=n.propHooks[g]}return void 0!==k?r&&"set"in r&&void 0!==(l=r.set(d,k,g))?l:d[g]=k:r&&"get"in r&&null!==(l=r.get(d,g))?l:d[g]}},propHooks:{tabIndex:{get:function(d){var g=n.find.attr(d,"tabindex");return g?parseInt(g,10):Gd.test(d.nodeName)||Hd.test(d.nodeName)&&d.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}});sa.optSelected||(n.propHooks.selected={get:function(d){(d=d.parentNode)&&d.parentNode&&d.parentNode.selectedIndex;return null},set:function(d){if(d=d.parentNode)d.selectedIndex,
  d.parentNode&&d.parentNode.selectedIndex}});n.each("tabIndex readOnly maxLength cellSpacing cellPadding rowSpan colSpan useMap frameBorder contentEditable".split(" "),function(){n.propFix[this.toLowerCase()]=this});n.fn.extend({addClass:function(d){var g,k,l,p,r=0;if(ia(d))return this.each(function(y){n(this).addClass(d.call(this,y,La(this)))});var u=Ma(d);if(u.length)for(;g=this[r++];){var B=La(g);if(k=1===g.nodeType&&" "+ra(B)+" "){for(p=0;l=u[p++];)0>k.indexOf(" "+l+" ")&&(k+=l+" ");k=ra(k);B!==
  k&&g.setAttribute("class",k)}}return this},removeClass:function(d){var g,k,l,p,r=0;if(ia(d))return this.each(function(y){n(this).removeClass(d.call(this,y,La(this)))});if(!arguments.length)return this.attr("class","");var u=Ma(d);if(u.length)for(;g=this[r++];){var B=La(g);if(k=1===g.nodeType&&" "+ra(B)+" "){for(p=0;l=u[p++];)for(;-1<k.indexOf(" "+l+" ");)k=k.replace(" "+l+" "," ");k=ra(k);B!==k&&g.setAttribute("class",k)}}return this},toggleClass:function(d,g){var k=typeof d,l="string"===k||Array.isArray(d);
  return"boolean"===typeof g&&l?g?this.addClass(d):this.removeClass(d):ia(d)?this.each(function(p){n(this).toggleClass(d.call(this,p,La(this),g),g)}):this.each(function(){var p,r;if(l){var u=0;var B=n(this);for(r=Ma(d);p=r[u++];)B.hasClass(p)?B.removeClass(p):B.addClass(p)}else if(void 0===d||"boolean"===k)(p=La(this))&&Z.set(this,"__className__",p),this.setAttribute&&this.setAttribute("class",p||!1===d?"":Z.get(this,"__className__")||"")})},hasClass:function(d){var g,k=0;for(d=" "+d+" ";g=this[k++];)if(1===
  g.nodeType&&-1<(" "+ra(La(g))+" ").indexOf(d))return!0;return!1}});var Id=/\r/g;n.fn.extend({val:function(d){var g,k,l=this[0];if(arguments.length){var p=ia(d);return this.each(function(r){1===this.nodeType&&(r=p?d.call(this,r,n(this).val()):d,null==r?r="":"number"===typeof r?r+="":Array.isArray(r)&&(r=n.map(r,function(u){return null==u?"":u+""})),g=n.valHooks[this.type]||n.valHooks[this.nodeName.toLowerCase()],g&&"set"in g&&void 0!==g.set(this,r,"value")||(this.value=r))})}if(l){if((g=n.valHooks[l.type]||
  n.valHooks[l.nodeName.toLowerCase()])&&"get"in g&&void 0!==(k=g.get(l,"value")))return k;k=l.value;return"string"===typeof k?k.replace(Id,""):null==k?"":k}}});n.extend({valHooks:{option:{get:function(d){var g=n.find.attr(d,"value");return null!=g?g:ra(n.text(d))}},select:{get:function(d){var g=d.options,k=d.selectedIndex,l="select-one"===d.type,p=l?null:[],r=l?k+1:g.length;for(d=0>k?r:l?k:0;d<r;d++){var u=g[d];if(!(!u.selected&&d!==k||u.disabled||u.parentNode.disabled&&Ka(u.parentNode,"optgroup"))){u=
  n(u).val();if(l)return u;p.push(u)}}return p},set:function(d,g){for(var k,l=d.options,p=n.makeArray(g),r=l.length;r--;)if(g=l[r],g.selected=-1<n.inArray(n.valHooks.option.get(g),p))k=!0;k||(d.selectedIndex=-1);return p}}}});n.each(["radio","checkbox"],function(){n.valHooks[this]={set:function(d,g){if(Array.isArray(g))return d.checked=-1<n.inArray(n(d).val(),g)}};sa.checkOn||(n.valHooks[this].get=function(d){return null===d.getAttribute("value")?"on":d.value})});sa.focusin="onfocusin"in e;var Jc=/^(?:focusinfocus|focusoutblur)$/,
  Kc=function(d){d.stopPropagation()};n.extend(n.event,{trigger:function(d,g,k,l){var p,r,u,B=[k||ma],y=Rb.call(d,"type")?d.type:d;var A=Rb.call(d,"namespace")?d.namespace.split("."):[];var M=u=p=k=k||ma;if(3!==k.nodeType&&8!==k.nodeType&&!Jc.test(y+n.event.triggered)){-1<y.indexOf(".")&&(A=y.split("."),y=A.shift(),A.sort());var S=0>y.indexOf(":")&&"on"+y;d=d[n.expando]?d:new n.Event(y,"object"===typeof d&&d);d.isTrigger=l?2:3;d.namespace=A.join(".");d.rnamespace=d.namespace?new RegExp("(^|\\.)"+A.join("\\.(?:.*\\.|)")+
  "(\\.|$)"):null;d.result=void 0;d.target||(d.target=k);g=null==g?[d]:n.makeArray(g,[d]);A=n.event.special[y]||{};if(l||!A.trigger||!1!==A.trigger.apply(k,g)){if(!l&&!A.noBubble&&!xb(k)){var V=A.delegateType||y;Jc.test(V+y)||(M=M.parentNode);for(;M;M=M.parentNode)B.push(M),p=M;p===(k.ownerDocument||ma)&&B.push(p.defaultView||p.parentWindow||e)}for(p=0;(M=B[p++])&&!d.isPropagationStopped();)u=M,d.type=1<p?V:A.bindType||y,(r=(Z.get(M,"events")||Object.create(null))[d.type]&&Z.get(M,"handle"))&&r.apply(M,
  g),(r=S&&M[S])&&r.apply&&Fb(M)&&(d.result=r.apply(M,g),!1===d.result&&d.preventDefault());d.type=y;l||d.isDefaultPrevented()||A._default&&!1!==A._default.apply(B.pop(),g)||!Fb(k)||!S||!ia(k[y])||xb(k)||((p=k[S])&&(k[S]=null),n.event.triggered=y,d.isPropagationStopped()&&u.addEventListener(y,Kc),k[y](),d.isPropagationStopped()&&u.removeEventListener(y,Kc),n.event.triggered=void 0,p&&(k[S]=p));return d.result}}},simulate:function(d,g,k){d=n.extend(new n.Event,k,{type:d,isSimulated:!0});n.event.trigger(d,
  null,g)}});n.fn.extend({trigger:function(d,g){return this.each(function(){n.event.trigger(d,g,this)})},triggerHandler:function(d,g){var k=this[0];if(k)return n.event.trigger(d,g,k,!0)}});sa.focusin||n.each({focus:"focusin",blur:"focusout"},function(d,g){var k=function(l){n.event.simulate(g,l.target,n.event.fix(l))};n.event.special[g]={setup:function(){var l=this.ownerDocument||this.document||this,p=Z.access(l,g);p||l.addEventListener(d,k,!0);Z.access(l,g,(p||0)+1)},teardown:function(){var l=this.ownerDocument||
  this.document||this,p=Z.access(l,g)-1;p?Z.access(l,g,p):(l.removeEventListener(d,k,!0),Z.remove(l,g))}}});var Ib=e.location,Lc=Date.now(),fc=/\?/;n.parseXML=function(d){if(!d||"string"!==typeof d)return null;try{var g=(new e.DOMParser).parseFromString(d,"text/xml")}catch(k){g=void 0}g&&!g.getElementsByTagName("parsererror").length||n.error("Invalid XML: "+d);return g};var Zc=/\[\]$/,Mc=/\r?\n/g,Jd=/^(?:submit|button|image|reset|file)$/i,Kd=/^(?:input|select|textarea|keygen)/i;n.param=function(d,g){var k,
  l=[],p=function(r,u){u=ia(u)?u():u;l[l.length]=encodeURIComponent(r)+"\x3d"+encodeURIComponent(null==u?"":u)};if(null==d)return"";if(Array.isArray(d)||d.jquery&&!n.isPlainObject(d))n.each(d,function(){p(this.name,this.value)});else for(k in d)Sa(k,d[k],g,p);return l.join("\x26")};n.fn.extend({serialize:function(){return n.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var d=n.prop(this,"elements");return d?n.makeArray(d):this}).filter(function(){var d=this.type;
  return this.name&&!n(this).is(":disabled")&&Kd.test(this.nodeName)&&!Jd.test(d)&&(this.checked||!Gb.test(d))}).map(function(d,g){d=n(this).val();return null==d?null:Array.isArray(d)?n.map(d,function(k){return{name:g.name,value:k.replace(Mc,"\r\n")}}):{name:g.name,value:d.replace(Mc,"\r\n")}}).get()}});var Ld=/%20/g,Md=/#.*$/,Nd=/([?&])_=[^&]*/,Od=/^(.*?):[ \t]*([^\r\n]*)$/mg,Pd=/^(?:GET|HEAD)$/,Qd=/^\/\//,Nc={},Zb={},Oc="*/".concat("*"),gc=ma.createElement("a");gc.href=Ib.href;n.extend({active:0,
  lastModified:{},etag:{},ajaxSettings:{url:Ib.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ib.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset\x3dUTF-8",accepts:{"*":Oc,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":n.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(d,g){return g?cb(cb(d,n.ajaxSettings),g):cb(n.ajaxSettings,d)},ajaxPrefilter:qb(Nc),ajaxTransport:qb(Zb),ajax:function(d,g){function k(la,wa,Oa,ha){var Ea,Ba=wa;if(!Ja){Ja=!0;u&&e.clearTimeout(u);l=void 0;p=ha||"";ca.readyState=0<la?4:0;ha=200<=la&&300>la||304===la;Oa&&(Ea=$c(A,ca,Oa));!ha&&-1<n.inArray("script",A.dataTypes)&&(A.converters["text script"]=function(){});
  Ea=ad(A,Ea,ca,ha);if(ha)if(A.ifModified&&((Oa=ca.getResponseHeader("Last-Modified"))&&(n.lastModified[Ga]=Oa),(Oa=ca.getResponseHeader("etag"))&&(n.etag[Ga]=Oa)),204===la||"HEAD"===A.type)Ba="nocontent";else if(304===la)Ba="notmodified";else{Ba=Ea.state;var Ca=Ea.data;var Qa=Ea.error;ha=!Qa}else if(Qa=Ba,la||!Ba)Ba="error",0>la&&(la=0);ca.status=la;ca.statusText=(wa||Ba)+"";ha?V.resolveWith(M,[Ca,Ba,ca]):V.rejectWith(M,[ca,Ba,Qa]);ca.statusCode(ea);ea=void 0;B&&S.trigger(ha?"ajaxSuccess":"ajaxError",
  [ca,A,ha?Ca:Qa]);ta.fireWith(M,[ca,Ba]);B&&(S.trigger("ajaxComplete",[ca,A]),--n.active||n.event.trigger("ajaxStop"))}}"object"===typeof d&&(g=d,d=void 0);g=g||{};var l,p,r,u,B,y,A=n.ajaxSetup({},g),M=A.context||A,S=A.context&&(M.nodeType||M.jquery)?n(M):n.event,V=n.Deferred(),ta=n.Callbacks("once memory"),ea=A.statusCode||{},Ha={},Ia={},Ta="canceled",ca={readyState:0,getResponseHeader:function(la){var wa;if(Ja){if(!r)for(r={};wa=Od.exec(p);)r[wa[1].toLowerCase()+" "]=(r[wa[1].toLowerCase()+" "]||
  []).concat(wa[2]);wa=r[la.toLowerCase()+" "]}return null==wa?null:wa.join(", ")},getAllResponseHeaders:function(){return Ja?p:null},setRequestHeader:function(la,wa){null==Ja&&(la=Ia[la.toLowerCase()]=Ia[la.toLowerCase()]||la,Ha[la]=wa);return this},overrideMimeType:function(la){null==Ja&&(A.mimeType=la);return this},statusCode:function(la){var wa;if(la)if(Ja)ca.always(la[ca.status]);else for(wa in la)ea[wa]=[ea[wa],la[wa]];return this},abort:function(la){la=la||Ta;l&&l.abort(la);k(0,la);return this}};
  V.promise(ca);A.url=((d||A.url||Ib.href)+"").replace(Qd,Ib.protocol+"//");A.type=g.method||g.type||A.method||A.type;A.dataTypes=(A.dataType||"*").toLowerCase().match(Xa)||[""];if(null==A.crossDomain){d=ma.createElement("a");try{d.href=A.url,d.href=d.href,A.crossDomain=gc.protocol+"//"+gc.host!==d.protocol+"//"+d.host}catch(la){A.crossDomain=!0}}A.data&&A.processData&&"string"!==typeof A.data&&(A.data=n.param(A.data,A.traditional));Ab(Nc,A,g,ca);if(Ja)return ca;(B=n.event&&A.global)&&0===n.active++&&
  n.event.trigger("ajaxStart");A.type=A.type.toUpperCase();A.hasContent=!Pd.test(A.type);var Ga=A.url.replace(Md,"");A.hasContent?A.data&&A.processData&&0===(A.contentType||"").indexOf("application/x-www-form-urlencoded")&&(A.data=A.data.replace(Ld,"+")):(d=A.url.slice(Ga.length),A.data&&(A.processData||"string"===typeof A.data)&&(Ga+=(fc.test(Ga)?"\x26":"?")+A.data,delete A.data),!1===A.cache&&(Ga=Ga.replace(Nd,"$1"),d=(fc.test(Ga)?"\x26":"?")+"_\x3d"+Lc++ +d),A.url=Ga+d);A.ifModified&&(n.lastModified[Ga]&&
  ca.setRequestHeader("If-Modified-Since",n.lastModified[Ga]),n.etag[Ga]&&ca.setRequestHeader("If-None-Match",n.etag[Ga]));(A.data&&A.hasContent&&!1!==A.contentType||g.contentType)&&ca.setRequestHeader("Content-Type",A.contentType);ca.setRequestHeader("Accept",A.dataTypes[0]&&A.accepts[A.dataTypes[0]]?A.accepts[A.dataTypes[0]]+("*"!==A.dataTypes[0]?", "+Oc+"; q\x3d0.01":""):A.accepts["*"]);for(y in A.headers)ca.setRequestHeader(y,A.headers[y]);if(A.beforeSend&&(!1===A.beforeSend.call(M,ca,A)||Ja))return ca.abort();
  Ta="abort";ta.add(A.complete);ca.done(A.success);ca.fail(A.error);if(l=Ab(Zb,A,g,ca)){ca.readyState=1;B&&S.trigger("ajaxSend",[ca,A]);if(Ja)return ca;A.async&&0<A.timeout&&(u=e.setTimeout(function(){ca.abort("timeout")},A.timeout));try{var Ja=!1;l.send(Ha,k)}catch(la){if(Ja)throw la;k(-1,la)}}else k(-1,"No Transport");return ca},getJSON:function(d,g,k){return n.get(d,g,k,"json")},getScript:function(d,g){return n.get(d,void 0,g,"script")}});n.each(["get","post"],function(d,g){n[g]=function(k,l,p,r){ia(l)&&
  (r=r||p,p=l,l=void 0);return n.ajax(n.extend({url:k,type:g,dataType:r,data:l,success:p},n.isPlainObject(k)&&k))}});n.ajaxPrefilter(function(d){for(var g in d.headers)"content-type"===g.toLowerCase()&&(d.contentType=d.headers[g]||"")});n._evalUrl=function(d,g,k){return n.ajax({url:d,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(l){n.globalEval(l,g,k)}})};n.fn.extend({wrapAll:function(d){this[0]&&(ia(d)&&(d=d.call(this[0])),d=n(d,
  this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&d.insertBefore(this[0]),d.map(function(){for(var g=this;g.firstElementChild;)g=g.firstElementChild;return g}).append(this));return this},wrapInner:function(d){return ia(d)?this.each(function(g){n(this).wrapInner(d.call(this,g))}):this.each(function(){var g=n(this),k=g.contents();k.length?k.wrapAll(d):g.append(d)})},wrap:function(d){var g=ia(d);return this.each(function(k){n(this).wrapAll(g?d.call(this,k):d)})},unwrap:function(d){this.parent(d).not("body").each(function(){n(this).replaceWith(this.childNodes)});
  return this}});n.expr.pseudos.hidden=function(d){return!n.expr.pseudos.visible(d)};n.expr.pseudos.visible=function(d){return!!(d.offsetWidth||d.offsetHeight||d.getClientRects().length)};n.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(d){}};var Rd={0:200,1223:204},Jb=n.ajaxSettings.xhr();sa.cors=!!Jb&&"withCredentials"in Jb;sa.ajax=Jb=!!Jb;n.ajaxTransport(function(d){var g,k;if(sa.cors||Jb&&!d.crossDomain)return{send:function(l,p){var r,u=d.xhr();u.open(d.type,d.url,d.async,d.username,
  d.password);if(d.xhrFields)for(r in d.xhrFields)u[r]=d.xhrFields[r];d.mimeType&&u.overrideMimeType&&u.overrideMimeType(d.mimeType);d.crossDomain||l["X-Requested-With"]||(l["X-Requested-With"]="XMLHttpRequest");for(r in l)u.setRequestHeader(r,l[r]);g=function(B){return function(){g&&(g=k=u.onload=u.onerror=u.onabort=u.ontimeout=u.onreadystatechange=null,"abort"===B?u.abort():"error"===B?"number"!==typeof u.status?p(0,"error"):p(u.status,u.statusText):p(Rd[u.status]||u.status,u.statusText,"text"!==
  (u.responseType||"text")||"string"!==typeof u.responseText?{binary:u.response}:{text:u.responseText},u.getAllResponseHeaders()))}};u.onload=g();k=u.onerror=u.ontimeout=g("error");void 0!==u.onabort?u.onabort=k:u.onreadystatechange=function(){4===u.readyState&&e.setTimeout(function(){g&&k()})};g=g("abort");try{u.send(d.hasContent&&d.data||null)}catch(B){if(g)throw B;}},abort:function(){g&&g()}}});n.ajaxPrefilter(function(d){d.crossDomain&&(d.contents.script=!1)});n.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},
  contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(d){n.globalEval(d);return d}}});n.ajaxPrefilter("script",function(d){void 0===d.cache&&(d.cache=!1);d.crossDomain&&(d.type="GET")});n.ajaxTransport("script",function(d){if(d.crossDomain||d.scriptAttrs){var g,k;return{send:function(l,p){g=n("\x3cscript\x3e").attr(d.scriptAttrs||{}).prop({charset:d.scriptCharset,src:d.url}).on("load error",k=function(r){g.remove();k=null;r&&p("error"===r.type?404:200,r.type)});ma.head.appendChild(g[0])},
  abort:function(){k&&k()}}}});var Pc=[],hc=/(=)\?(?=&|$)|\?\?/;n.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var d=Pc.pop()||n.expando+"_"+Lc++;this[d]=!0;return d}});n.ajaxPrefilter("json jsonp",function(d,g,k){var l,p=!1!==d.jsonp&&(hc.test(d.url)?"url":"string"===typeof d.data&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&hc.test(d.data)&&"data");if(p||"jsonp"===d.dataTypes[0]){var r=d.jsonpCallback=ia(d.jsonpCallback)?d.jsonpCallback():d.jsonpCallback;p?d[p]=d[p].replace(hc,
  "$1"+r):!1!==d.jsonp&&(d.url+=(fc.test(d.url)?"\x26":"?")+d.jsonp+"\x3d"+r);d.converters["script json"]=function(){l||n.error(r+" was not called");return l[0]};d.dataTypes[0]="json";var u=e[r];e[r]=function(){l=arguments};k.always(function(){void 0===u?n(e).removeProp(r):e[r]=u;d[r]&&(d.jsonpCallback=g.jsonpCallback,Pc.push(r));l&&ia(u)&&u(l[0]);l=u=void 0});return"script"}});sa.createHTMLDocument=function(){var d=ma.implementation.createHTMLDocument("").body;d.innerHTML="\x3cform\x3e\x3c/form\x3e\x3cform\x3e\x3c/form\x3e";
  return 2===d.childNodes.length}();n.parseHTML=function(d,g,k){if("string"!==typeof d)return[];"boolean"===typeof g&&(k=g,g=!1);if(!g)if(sa.createHTMLDocument){g=ma.implementation.createHTMLDocument("");var l=g.createElement("base");l.href=ma.location.href;g.head.appendChild(l)}else g=ma;l=Dc.exec(d);k=!k&&[];if(l)return[g.createElement(l[1])];l=x([d],g,k);k&&k.length&&n(k).remove();return n.merge([],l.childNodes)};n.fn.load=function(d,g,k){var l,p,r=this,u=d.indexOf(" ");if(-1<u){var B=ra(d.slice(u));
  d=d.slice(0,u)}ia(g)?(k=g,g=void 0):g&&"object"===typeof g&&(l="POST");0<r.length&&n.ajax({url:d,type:l||"GET",dataType:"html",data:g}).done(function(y){p=arguments;r.html(B?n("\x3cdiv\x3e").append(n.parseHTML(y)).find(B):y)}).always(k&&function(y,A){r.each(function(){k.apply(this,p||[y.responseText,A,y])})});return this};n.expr.pseudos.animated=function(d){return n.grep(n.timers,function(g){return d===g.elem}).length};n.offset={setOffset:function(d,g,k){var l=n.css(d,"position"),p=n(d),r={};"static"===
  l&&(d.style.position="relative");var u=p.offset();var B=n.css(d,"top");var y=n.css(d,"left");("absolute"===l||"fixed"===l)&&-1<(B+y).indexOf("auto")?(y=p.position(),B=y.top,y=y.left):(B=parseFloat(B)||0,y=parseFloat(y)||0);ia(g)&&(g=g.call(d,k,n.extend({},u)));null!=g.top&&(r.top=g.top-u.top+B);null!=g.left&&(r.left=g.left-u.left+y);"using"in g?g.using.call(d,r):("number"===typeof r.top&&(r.top+="px"),"number"===typeof r.left&&(r.left+="px"),p.css(r))}};n.fn.extend({offset:function(d){if(arguments.length)return void 0===
  d?this:this.each(function(l){n.offset.setOffset(this,d,l)});var g;if(g=this[0]){if(!g.getClientRects().length)return{top:0,left:0};var k=g.getBoundingClientRect();g=g.ownerDocument.defaultView;return{top:k.top+g.pageYOffset,left:k.left+g.pageXOffset}}},position:function(){if(this[0]){var d,g=this[0],k={top:0,left:0};if("fixed"===n.css(g,"position"))var l=g.getBoundingClientRect();else{l=this.offset();var p=g.ownerDocument;for(d=g.offsetParent||p.documentElement;d&&(d===p.body||d===p.documentElement)&&
  "static"===n.css(d,"position");)d=d.parentNode;d&&d!==g&&1===d.nodeType&&(k=n(d).offset(),k.top+=n.css(d,"borderTopWidth",!0),k.left+=n.css(d,"borderLeftWidth",!0))}return{top:l.top-k.top-n.css(g,"marginTop",!0),left:l.left-k.left-n.css(g,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var d=this.offsetParent;d&&"static"===n.css(d,"position");)d=d.offsetParent;return d||vb})}});n.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(d,g){var k="pageYOffset"===
  g;n.fn[d]=function(l){return hb(this,function(p,r,u){if(xb(p))var B=p;else 9===p.nodeType&&(B=p.defaultView);if(void 0===u)return B?B[g]:p[r];B?B.scrollTo(k?B.pageXOffset:u,k?u:B.pageYOffset):p[r]=u},d,l,arguments.length)}});n.each(["top","left"],function(d,g){n.cssHooks[g]=Y(sa.pixelPosition,function(k,l){if(l)return l=T(k,g),Yb.test(l)?n(k).position()[g]+"px":l})});n.each({Height:"height",Width:"width"},function(d,g){n.each({padding:"inner"+d,content:g,"":"outer"+d},function(k,l){n.fn[l]=function(p,
  r){var u=arguments.length&&(k||"boolean"!==typeof p),B=k||(!0===p||!0===r?"margin":"border");return hb(this,function(y,A,M){return xb(y)?0===l.indexOf("outer")?y["inner"+d]:y.document.documentElement["client"+d]:9===y.nodeType?(A=y.documentElement,Math.max(y.body["scroll"+d],A["scroll"+d],y.body["offset"+d],A["offset"+d],A["client"+d])):void 0===M?n.css(y,A,B):n.style(y,A,M,B)},g,u?p:void 0,u)}})});n.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(d,g){n.fn[g]=
  function(k){return this.on(g,k)}});n.fn.extend({bind:function(d,g,k){return this.on(d,null,g,k)},unbind:function(d,g){return this.off(d,null,g)},delegate:function(d,g,k,l){return this.on(g,d,k,l)},undelegate:function(d,g,k){return 1===arguments.length?this.off(d,"**"):this.off(g,d||"**",k)},hover:function(d,g){return this.mouseenter(d).mouseleave(g||d)}});n.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(d,g){n.fn[g]=function(k,l){return 0<arguments.length?this.on(g,null,k,l):this.trigger(g)}});var Sd=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;n.proxy=function(d,g){if("string"===typeof g){var k=d[g];g=d;d=k}if(ia(d)){var l=lb.call(arguments,2);k=function(){return d.apply(g||this,l.concat(lb.call(arguments)))};k.guid=d.guid=d.guid||n.guid++;return k}};n.holdReady=function(d){d?n.readyWait++:n.ready(!0)};n.isArray=Array.isArray;n.parseJSON=JSON.parse;n.nodeName=Ka;n.isFunction=ia;n.isWindow=xb;n.camelCase=
  b;n.type=Za;n.now=Date.now;n.isNumeric=function(d){var g=n.type(d);return("number"===g||"string"===g)&&!isNaN(d-parseFloat(d))};n.trim=function(d){return null==d?"":(d+"").replace(Sd,"")};"function"===typeof define&&define.amd&&define("jquery",[],function(){return n});var Td=e.jQuery,Ud=e.$;n.noConflict=function(d){e.$===n&&(e.$=Ud);d&&e.jQuery===n&&(e.jQuery=Td);return n};"undefined"===typeof ob&&(e.jQuery=e.$=n);return n});/*
   jQuery UI - v1.12.1 - 2016-09-14
   http://jqueryui.com
   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-1-7.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
   Copyright jQuery Foundation and other contributors; Licensed MIT  jQuery UI Widget 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Position 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
  
   http://api.jqueryui.com/position/
   jQuery UI :data 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Disable Selection 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Effects 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery Color Animations v2.1.2
   https://github.com/jquery/jquery-color
  
   Copyright 2014 jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
  
   Date: Wed Jan 16 08:47:09 2013 -0600
   jQuery UI Effects Blind 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Effects Bounce 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Effects Clip 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Effects Drop 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Effects Explode 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Effects Fade 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Effects Fold 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Effects Highlight 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Effects Size 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Effects Scale 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Effects Puff 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Effects Pulsate 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Effects Shake 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Effects Slide 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Effects Transfer 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Focusable 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Form Reset Mixin 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Support for jQuery core 1.7.x 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
  
   jQuery UI Keycode 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Labels 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Scroll Parent 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Tabbable 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Unique ID 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Accordion 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Menu 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Autocomplete 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Controlgroup 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Checkboxradio 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Button 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Datepicker 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Mouse 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Draggable 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Resizable 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Dialog 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Droppable 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Progressbar 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Selectable 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Selectmenu 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Slider 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Sortable 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Spinner 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Tabs 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
   jQuery UI Tooltip 1.12.1
   http://jqueryui.com
  
   Copyright jQuery Foundation and other contributors
   Released under the MIT license.
   http://jquery.org/license
  */
  (function(e){"function"===typeof define&&define.amd?define(["jquery"],e):e(jQuery)})(function(e){function ob(a){for(var b;a.length&&a[0]!==document;){b=a.css("position");if("absolute"===b||"relative"===b||"fixed"===b)if(b=parseInt(a.css("zIndex"),10),!isNaN(b)&&0!==b)return b;a=a.parent()}return 0}function ib(){this._curInst=null;this._keyEvent=!1;this._disabledInputs=[];this._inDialog=this._datepickerShowing=!1;this._mainDivId="ui-datepicker-div";this._inlineClass="ui-datepicker-inline";this._appendClass=
  "ui-datepicker-append";this._triggerClass="ui-datepicker-trigger";this._dialogClass="ui-datepicker-dialog";this._disableClass="ui-datepicker-disabled";this._unselectableClass="ui-datepicker-unselectable";this._currentClass="ui-datepicker-current-day";this._dayOverClass="ui-datepicker-days-cell-over";this.regional=[];this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:"January February March April May June July August September October November December".split(" "),
  monthNamesShort:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),dayNames:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),dayNamesShort:"Sun Mon Tue Wed Thu Fri Sat".split(" "),dayNamesMin:"Su Mo Tu We Th Fr Sa".split(" "),weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""};this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,
  navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1};e.extend(this._defaults,
  this.regional[""]);this.regional.en=e.extend(!0,{},this.regional[""]);this.regional["en-US"]=e.extend(!0,{},this.regional.en);this.dpDiv=Za(e("\x3cdiv id\x3d'"+this._mainDivId+"' class\x3d'ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'\x3e\x3c/div\x3e"))}function Za(a){return a.on("mouseout","button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a",function(){e(this).removeClass("ui-state-hover");-1!==this.className.indexOf("ui-datepicker-prev")&&
  e(this).removeClass("ui-datepicker-prev-hover");-1!==this.className.indexOf("ui-datepicker-next")&&e(this).removeClass("ui-datepicker-next-hover")}).on("mouseover","button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a",wb)}function wb(){e.datepicker._isDisabledDatepicker(Ra.inline?Ra.dpDiv.parent()[0]:Ra.input[0])||(e(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),e(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&
  e(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&e(this).addClass("ui-datepicker-next-hover"))}function Ka(a,b){e.extend(a,b);for(var c in b)null==b[c]&&(a[c]=b[c]);return a}function Wa(a){return function(){var b=this.element.val();a.apply(this,arguments);this._refresh();b!==this.element.val()&&this._trigger("change")}}e.ui=e.ui||{};e.ui.version="1.12.1";var Mb=0,Nb=Array.prototype.slice;e.cleanData=function(a){return function(b){var c,f,h;for(h=0;null!=
  (f=b[h]);h++)try{(c=e._data(f,"events"))&&c.remove&&e(f).triggerHandler("remove")}catch(m){}a(b)}}(e.cleanData);e.widget=function(a,b,c){var f={},h=a.split(".")[0];a=a.split(".")[1];var m=h+"-"+a;c||(c=b,b=e.Widget);e.isArray(c)&&(c=e.extend.apply(null,[{}].concat(c)));e.expr[":"][m.toLowerCase()]=function(F){return!!e.data(F,m)};e[h]=e[h]||{};var q=e[h][a];var v=e[h][a]=function(F,G){if(!this._createWidget)return new v(F,G);arguments.length&&this._createWidget(F,G)};e.extend(v,q,{version:c.version,
  _proto:e.extend({},c),_childConstructors:[]});var x=new b;x.options=e.widget.extend({},x.options);e.each(c,function(F,G){e.isFunction(G)?f[F]=function(){function C(){return b.prototype[F].apply(this,arguments)}function E(H){return b.prototype[F].apply(this,H)}return function(){var H=this._super,D=this._superApply;this._super=C;this._superApply=E;var K=G.apply(this,arguments);this._super=H;this._superApply=D;return K}}():f[F]=G});v.prototype=e.widget.extend(x,{widgetEventPrefix:q?x.widgetEventPrefix||
  a:a},f,{constructor:v,namespace:h,widgetName:a,widgetFullName:m});q?(e.each(q._childConstructors,function(F,G){F=G.prototype;e.widget(F.namespace+"."+F.widgetName,v,G._proto)}),delete q._childConstructors):b._childConstructors.push(v);e.widget.bridge(a,v);return v};e.widget.extend=function(a){for(var b=Nb.call(arguments,1),c=0,f=b.length,h,m;c<f;c++)for(h in b[c])m=b[c][h],b[c].hasOwnProperty(h)&&void 0!==m&&(e.isPlainObject(m)?a[h]=e.isPlainObject(a[h])?e.widget.extend({},a[h],m):e.widget.extend({},
  m):a[h]=m);return a};e.widget.bridge=function(a,b){var c=b.prototype.widgetFullName||a;e.fn[a]=function(f){var h="string"===typeof f,m=Nb.call(arguments,1),q=this;h?this.length||"instance"!==f?this.each(function(){var v=e.data(this,c);if("instance"===f)return q=v,!1;if(!v)return e.error("cannot call methods on "+a+" prior to initialization; attempted to call method '"+f+"'");if(!e.isFunction(v[f])||"_"===f.charAt(0))return e.error("no such method '"+f+"' for "+a+" widget instance");var x=v[f].apply(v,
  m);if(x!==v&&void 0!==x)return q=x&&x.jquery?q.pushStack(x.get()):x,!1}):q=void 0:(m.length&&(f=e.widget.extend.apply(null,[f].concat(m))),this.each(function(){var v=e.data(this,c);v?(v.option(f||{}),v._init&&v._init()):e.data(this,c,new b(f,this))}));return q}};e.Widget=function(){};e.Widget._childConstructors=[];e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"\x3cdiv\x3e",options:{classes:{},disabled:!1,create:null},_createWidget:function(a,b){b=e(b||this.defaultElement||
  this)[0];this.element=e(b);this.uuid=Mb++;this.eventNamespace="."+this.widgetName+this.uuid;this.bindings=e();this.hoverable=e();this.focusable=e();this.classesElementLookup={};b!==this&&(e.data(b,this.widgetFullName,this),this._on(!0,this.element,{remove:function(c){c.target===b&&this.destroy()}}),this.document=e(b.style?b.ownerDocument:b.document||b),this.window=e(this.document[0].defaultView||this.document[0].parentWindow));this.options=e.widget.extend({},this.options,this._getCreateOptions(),
  a);this._create();this.options.disabled&&this._setOptionDisabled(this.options.disabled);this._trigger("create",null,this._getCreateEventData());this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){var a=this;this._destroy();e.each(this.classesElementLookup,function(b,c){a._removeClass(c,b)});this.element.off(this.eventNamespace).removeData(this.widgetFullName);this.widget().off(this.eventNamespace).removeAttr("aria-disabled");
  this.bindings.off(this.eventNamespace)},_destroy:e.noop,widget:function(){return this.element},option:function(a,b){var c=a,f;if(0===arguments.length)return e.widget.extend({},this.options);if("string"===typeof a){c={};var h=a.split(".");a=h.shift();if(h.length){var m=c[a]=e.widget.extend({},this.options[a]);for(f=0;f<h.length-1;f++)m[h[f]]=m[h[f]]||{},m=m[h[f]];a=h.pop();if(1===arguments.length)return void 0===m[a]?null:m[a];m[a]=b}else{if(1===arguments.length)return void 0===this.options[a]?null:
  this.options[a];c[a]=b}}this._setOptions(c);return this},_setOptions:function(a){for(var b in a)this._setOption(b,a[b]);return this},_setOption:function(a,b){"classes"===a&&this._setOptionClasses(b);this.options[a]=b;"disabled"===a&&this._setOptionDisabled(b);return this},_setOptionClasses:function(a){var b;for(b in a){var c=this.classesElementLookup[b];if(a[b]!==this.options.classes[b]&&c&&c.length){var f=e(c.get());this._removeClass(c,b);f.addClass(this._classes({element:f,keys:b,classes:a,add:!0}))}}},
  _setOptionDisabled:function(a){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!a);a&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(a){function b(h,m){var q;for(q=0;q<h.length;q++){var v=f.classesElementLookup[h[q]]||e();v=a.add?e(e.unique(v.get().concat(a.element.get()))):e(v.not(a.element).get());
  f.classesElementLookup[h[q]]=v;c.push(h[q]);m&&a.classes[h[q]]&&c.push(a.classes[h[q]])}}var c=[],f=this;a=e.extend({element:this.element,classes:this.options.classes||{}},a);this._on(a.element,{remove:"_untrackClassesElement"});a.keys&&b(a.keys.match(/\S+/g)||[],!0);a.extra&&b(a.extra.match(/\S+/g)||[]);return c.join(" ")},_untrackClassesElement:function(a){var b=this;e.each(b.classesElementLookup,function(c,f){-1!==e.inArray(a.target,f)&&(b.classesElementLookup[c]=e(f.not(a.target).get()))})},_removeClass:function(a,
  b,c){return this._toggleClass(a,b,c,!1)},_addClass:function(a,b,c){return this._toggleClass(a,b,c,!0)},_toggleClass:function(a,b,c,f){f="boolean"===typeof f?f:c;var h="string"===typeof a||null===a;a={extra:h?b:c,keys:h?a:b,element:h?this.element:a,add:f};a.element.toggleClass(this._classes(a),f);return this},_on:function(a,b,c){var f,h=this;"boolean"!==typeof a&&(c=b,b=a,a=!1);c?(b=f=e(b),this.bindings=this.bindings.add(b)):(c=b,b=this.element,f=this.widget());e.each(c,function(m,q){function v(){if(a||
  !0!==h.options.disabled&&!e(this).hasClass("ui-state-disabled"))return("string"===typeof q?h[q]:q).apply(h,arguments)}"string"!==typeof q&&(v.guid=q.guid=q.guid||v.guid||e.guid++);var x=m.match(/^([\w:-]*)\s*(.*)$/);m=x[1]+h.eventNamespace;if(x=x[2])f.on(m,x,v);else b.on(m,v)})},_off:function(a,b){b=(b||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace;a.off(b).off(b);this.bindings=e(this.bindings.not(a).get());this.focusable=e(this.focusable.not(a).get());this.hoverable=e(this.hoverable.not(a).get())},
  _delay:function(a,b){var c=this;return setTimeout(function(){return("string"===typeof a?c[a]:a).apply(c,arguments)},b||0)},_hoverable:function(a){this.hoverable=this.hoverable.add(a);this._on(a,{mouseenter:function(b){this._addClass(e(b.currentTarget),null,"ui-state-hover")},mouseleave:function(b){this._removeClass(e(b.currentTarget),null,"ui-state-hover")}})},_focusable:function(a){this.focusable=this.focusable.add(a);this._on(a,{focusin:function(b){this._addClass(e(b.currentTarget),null,"ui-state-focus")},
  focusout:function(b){this._removeClass(e(b.currentTarget),null,"ui-state-focus")}})},_trigger:function(a,b,c){var f,h=this.options[a];c=c||{};b=e.Event(b);b.type=(a===this.widgetEventPrefix?a:this.widgetEventPrefix+a).toLowerCase();b.target=this.element[0];if(a=b.originalEvent)for(f in a)f in b||(b[f]=a[f]);this.element.trigger(b,c);return!(e.isFunction(h)&&!1===h.apply(this.element[0],[b].concat(c))||b.isDefaultPrevented())}};e.each({show:"fadeIn",hide:"fadeOut"},function(a,b){e.Widget.prototype["_"+
  a]=function(c,f,h){"string"===typeof f&&(f={effect:f});var m=f?!0===f||"number"===typeof f?b:f.effect||b:a;f=f||{};"number"===typeof f&&(f={duration:f});var q=!e.isEmptyObject(f);f.complete=h;f.delay&&c.delay(f.delay);if(q&&e.effects&&e.effects.effect[m])c[a](f);else if(m!==a&&c[m])c[m](f.duration,f.easing,h);else c.queue(function(v){e(this)[a]();h&&h.call(c[0]);v()})}});(function(){function a(C,E,H){return[parseFloat(C[0])*(F.test(C[0])?E/100:1),parseFloat(C[1])*(F.test(C[1])?H/100:1)]}function b(C){var E=
  C[0];return 9===E.nodeType?{width:C.width(),height:C.height(),offset:{top:0,left:0}}:e.isWindow(E)?{width:C.width(),height:C.height(),offset:{top:C.scrollTop(),left:C.scrollLeft()}}:E.preventDefault?{width:0,height:0,offset:{top:E.pageY,left:E.pageX}}:{width:C.outerWidth(),height:C.outerHeight(),offset:C.offset()}}var c,f=Math.max,h=Math.abs,m=/left|center|right/,q=/top|center|bottom/,v=/[\+\-]\d+(\.[\d]+)?%?/,x=/^\w+/,F=/%$/,G=e.fn.position;e.position={scrollbarWidth:function(){if(void 0!==c)return c;
  var C=e("\x3cdiv style\x3d'display:block;position:absolute;width:50px;height:50px;overflow:hidden;'\x3e\x3cdiv style\x3d'height:100px;width:auto;'\x3e\x3c/div\x3e\x3c/div\x3e");var E=C.children()[0];e("body").append(C);var H=E.offsetWidth;C.css("overflow","scroll");E=E.offsetWidth;H===E&&(E=C[0].clientWidth);C.remove();return c=H-E},getScrollInfo:function(C){var E=C.isWindow||C.isDocument?"":C.element.css("overflow-x"),H=C.isWindow||C.isDocument?"":C.element.css("overflow-y");E="scroll"===E||"auto"===
  E&&C.width<C.element[0].scrollWidth;return{width:"scroll"===H||"auto"===H&&C.height<C.element[0].scrollHeight?e.position.scrollbarWidth():0,height:E?e.position.scrollbarWidth():0}},getWithinInfo:function(C){var E=e(C||window),H=e.isWindow(E[0]),D=!!E[0]&&9===E[0].nodeType;return{element:E,isWindow:H,isDocument:D,offset:H||D?{left:0,top:0}:e(C).offset(),scrollLeft:E.scrollLeft(),scrollTop:E.scrollTop(),width:E.outerWidth(),height:E.outerHeight()}}};e.fn.position=function(C){if(!C||!C.of)return G.apply(this,
  arguments);C=e.extend({},C);var E=e(C.of),H=e.position.getWithinInfo(C.within),D=e.position.getScrollInfo(H),K=(C.collision||"flip").split(" "),L={};var J=b(E);E[0].preventDefault&&(C.at="left top");var O=J.width;var P=J.height;var T=J.offset;var Y=e.extend({},T);e.each(["my","at"],function(){var W=(C[this]||"").split(" ");1===W.length&&(W=m.test(W[0])?W.concat(["center"]):q.test(W[0])?["center"].concat(W):["center","center"]);W[0]=m.test(W[0])?W[0]:"center";W[1]=q.test(W[1])?W[1]:"center";var ja=
  v.exec(W[0]);var na=v.exec(W[1]);L[this]=[ja?ja[0]:0,na?na[0]:0];C[this]=[x.exec(W[0])[0],x.exec(W[1])[0]]});1===K.length&&(K[1]=K[0]);"right"===C.at[0]?Y.left+=O:"center"===C.at[0]&&(Y.left+=O/2);"bottom"===C.at[1]?Y.top+=P:"center"===C.at[1]&&(Y.top+=P/2);var da=a(L.at,O,P);Y.left+=da[0];Y.top+=da[1];return this.each(function(){var W,ja=e(this),na=ja.outerWidth(),oa=ja.outerHeight(),ab=parseInt(e.css(this,"marginLeft"),10)||0,mb=parseInt(e.css(this,"marginTop"),10)||0,bb=na+ab+(parseInt(e.css(this,
  "marginRight"),10)||0)+D.width,Aa=oa+mb+(parseInt(e.css(this,"marginBottom"),10)||0)+D.height,qa=e.extend({},Y),ua=a(L.my,ja.outerWidth(),ja.outerHeight());"right"===C.my[0]?qa.left-=na:"center"===C.my[0]&&(qa.left-=na/2);"bottom"===C.my[1]?qa.top-=oa:"center"===C.my[1]&&(qa.top-=oa/2);qa.left+=ua[0];qa.top+=ua[1];var ra={marginLeft:ab,marginTop:mb};e.each(["left","top"],function(La,Ma){if(e.ui.position[K[La]])e.ui.position[K[La]][Ma](qa,{targetWidth:O,targetHeight:P,elemWidth:na,elemHeight:oa,collisionPosition:ra,
  collisionWidth:bb,collisionHeight:Aa,offset:[da[0]+ua[0],da[1]+ua[1]],my:C.my,at:C.at,within:H,elem:ja})});C.using&&(W=function(La){var Ma=T.left-qa.left,Sa=Ma+O-na,qb=T.top-qa.top,Ab=qb+P-oa,cb={target:{element:E,left:T.left,top:T.top,width:O,height:P},element:{element:ja,left:qa.left,top:qa.top,width:na,height:oa},horizontal:0>Sa?"left":0<Ma?"right":"center",vertical:0>Ab?"top":0<qb?"bottom":"middle"};O<na&&h(Ma+Sa)<O&&(cb.horizontal="center");P<oa&&h(qb+Ab)<P&&(cb.vertical="middle");f(h(Ma),h(Sa))>
  f(h(qb),h(Ab))?cb.important="horizontal":cb.important="vertical";C.using.call(this,La,cb)});ja.offset(e.extend(qa,{using:W}))})};e.ui.position={fit:{left:function(C,E){var H=E.within,D=H.isWindow?H.scrollLeft:H.offset.left,K=H.width,L=C.left-E.collisionPosition.marginLeft;H=D-L;var J=L+E.collisionWidth-K-D;E.collisionWidth>K?0<H&&0>=J?(E=C.left+H+E.collisionWidth-K-D,C.left+=H-E):C.left=0<J&&0>=H?D:H>J?D+K-E.collisionWidth:D:C.left=0<H?C.left+H:0<J?C.left-J:f(C.left-L,C.left)},top:function(C,E){var H=
  E.within,D=H.isWindow?H.scrollTop:H.offset.top,K=E.within.height,L=C.top-E.collisionPosition.marginTop;H=D-L;var J=L+E.collisionHeight-K-D;E.collisionHeight>K?0<H&&0>=J?(E=C.top+H+E.collisionHeight-K-D,C.top+=H-E):C.top=0<J&&0>=H?D:H>J?D+K-E.collisionHeight:D:C.top=0<H?C.top+H:0<J?C.top-J:f(C.top-L,C.top)}},flip:{left:function(C,E){var H=E.within,D=H.offset.left+H.scrollLeft,K=H.width,L=H.isWindow?H.scrollLeft:H.offset.left,J=C.left-E.collisionPosition.marginLeft;H=J-L;var O=J+E.collisionWidth-K-
  L;J="left"===E.my[0]?-E.elemWidth:"right"===E.my[0]?E.elemWidth:0;var P="left"===E.at[0]?E.targetWidth:"right"===E.at[0]?-E.targetWidth:0,T=-2*E.offset[0];if(0>H){if(E=C.left+J+P+T+E.collisionWidth-K-D,0>E||E<h(H))C.left+=J+P+T}else 0<O&&(E=C.left-E.collisionPosition.marginLeft+J+P+T-L,0<E||h(E)<O)&&(C.left+=J+P+T)},top:function(C,E){var H=E.within,D=H.offset.top+H.scrollTop,K=H.height,L=H.isWindow?H.scrollTop:H.offset.top,J=C.top-E.collisionPosition.marginTop;H=J-L;var O=J+E.collisionHeight-K-L;
  J="top"===E.my[1]?-E.elemHeight:"bottom"===E.my[1]?E.elemHeight:0;var P="top"===E.at[1]?E.targetHeight:"bottom"===E.at[1]?-E.targetHeight:0,T=-2*E.offset[1];if(0>H){if(E=C.top+J+P+T+E.collisionHeight-K-D,0>E||E<h(H))C.top+=J+P+T}else 0<O&&(E=C.top-E.collisionPosition.marginTop+J+P+T-L,0<E||h(E)<O)&&(C.top+=J+P+T)}},flipfit:{left:function(){e.ui.position.flip.left.apply(this,arguments);e.ui.position.fit.left.apply(this,arguments)},top:function(){e.ui.position.flip.top.apply(this,arguments);e.ui.position.fit.top.apply(this,
  arguments)}}}})();e.extend(e.expr[":"],{data:e.expr.createPseudo?e.expr.createPseudo(function(a){return function(b){return!!e.data(b,a)}}):function(a,b,c){return!!e.data(a,c[3])}});e.fn.extend({disableSelection:function(){var a="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.on(a+".ui-disableSelection",function(b){b.preventDefault()})}}(),enableSelection:function(){return this.off(".ui-disableSelection")}});e.effects={effect:{}};(function(a,
  b){function c(D,K,L){var J=F[K.type]||{};if(null==D)return L||!K.def?null:K.def;D=J.floor?~~D:parseFloat(D);return isNaN(D)?K.def:J.mod?(D+J.mod)%J.mod:0>D?0:J.max<D?J.max:D}function f(D){var K=v(),L=K._rgba=[];D=D.toLowerCase();E(q,function(J,O){J=(J=O.re.exec(D))&&O.parse(J);O=O.space||"rgba";if(J)return J=K[O](J),K[x[O].cache]=J[x[O].cache],L=K._rgba=J._rgba,!1});return L.length?("0,0,0,0"===L.join()&&a.extend(L,H.transparent),K):H[D]}function h(D,K,L){L=(L+1)%1;return 1>6*L?D+(K-D)*L*6:1>2*L?
  K:2>3*L?D+(K-D)*(2/3-L)*6:D}var m=/^([\-+])=\s*(\d+\.?\d*)/,q=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(D){return[D[1],D[2],D[3],D[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)%\s*,\s*(\d+(?:\.\d+)?)%\s*,\s*(\d+(?:\.\d+)?)%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(D){return[2.55*D[1],2.55*D[2],2.55*D[3],D[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(D){return[parseInt(D[1],16),parseInt(D[2],16),parseInt(D[3],16)]}},
  {re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(D){return[parseInt(D[1]+D[1],16),parseInt(D[2]+D[2],16),parseInt(D[3]+D[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)%\s*,\s*(\d+(?:\.\d+)?)%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(D){return[D[1],D[2]/100,D[3]/100,D[4]]}}],v=a.Color=function(D,K,L,J){return new a.Color.fn.parse(D,K,L,J)},x={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},
  saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},F={"byte":{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},G=v.support={},C=a("\x3cp\x3e")[0],E=a.each;C.style.cssText="background-color:rgba(1,1,1,.5)";G.rgba=-1<C.style.backgroundColor.indexOf("rgba");E(x,function(D,K){K.cache="_"+D;K.props.alpha={idx:3,type:"percent",def:1}});v.fn=a.extend(v.prototype,{parse:function(D,K,L,J){if(D===b)return this._rgba=[null,null,null,null],this;if(D.jquery||D.nodeType)D=a(D).css(K),
  K=b;var O=this,P=a.type(D),T=this._rgba=[];K!==b&&(D=[D,K,L,J],P="array");if("string"===P)return this.parse(f(D)||H._default);if("array"===P)return E(x.rgba.props,function(Y,da){T[da.idx]=c(D[da.idx],da)}),this;if("object"===P)return D instanceof v?E(x,function(Y,da){D[da.cache]&&(O[da.cache]=D[da.cache].slice())}):E(x,function(Y,da){var W=da.cache;E(da.props,function(ja,na){if(!O[W]&&da.to){if("alpha"===ja||null==D[ja])return;O[W]=da.to(O._rgba)}O[W][na.idx]=c(D[ja],na,!0)});O[W]&&0>a.inArray(null,
  O[W].slice(0,3))&&(O[W][3]=1,da.from&&(O._rgba=da.from(O[W])))}),this},is:function(D){var K=v(D),L=!0,J=this;E(x,function(O,P){var T=K[P.cache];if(T){var Y=J[P.cache]||P.to&&P.to(J._rgba)||[];E(P.props,function(da,W){if(null!=T[W.idx])return L=T[W.idx]===Y[W.idx]})}return L});return L},_space:function(){var D=[],K=this;E(x,function(L,J){K[J.cache]&&D.push(L)});return D.pop()},transition:function(D,K){var L=v(D);D=L._space();var J=x[D],O=0===this.alpha()?v("transparent"):this,P=O[J.cache]||J.to(O._rgba),
  T=P.slice();L=L[J.cache];E(J.props,function(Y,da){Y=da.idx;var W=P[Y],ja=L[Y],na=F[da.type]||{};null!==ja&&(null===W?T[Y]=ja:(na.mod&&(ja-W>na.mod/2?W+=na.mod:W-ja>na.mod/2&&(W-=na.mod)),T[Y]=c((ja-W)*K+W,da)))});return this[D](T)},blend:function(D){if(1===this._rgba[3])return this;var K=this._rgba.slice(),L=K.pop(),J=v(D)._rgba;return v(a.map(K,function(O,P){return(1-L)*J[P]+L*O}))},toRgbaString:function(){var D="rgba(",K=a.map(this._rgba,function(L,J){return null==L?2<J?1:0:L});1===K[3]&&(K.pop(),
  D="rgb(");return D+K.join()+")"},toHslaString:function(){var D="hsla(",K=a.map(this.hsla(),function(L,J){null==L&&(L=2<J?1:0);J&&3>J&&(L=Math.round(100*L)+"%");return L});1===K[3]&&(K.pop(),D="hsl(");return D+K.join()+")"},toHexString:function(D){var K=this._rgba.slice(),L=K.pop();D&&K.push(~~(255*L));return"#"+a.map(K,function(J){J=(J||0).toString(16);return 1===J.length?"0"+J:J}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}});v.fn.parse.prototype=v.fn;
  x.hsla.to=function(D){if(null==D[0]||null==D[1]||null==D[2])return[null,null,null,D[3]];var K=D[0]/255,L=D[1]/255,J=D[2]/255;D=D[3];var O=Math.max(K,L,J),P=Math.min(K,L,J),T=O-P,Y=O+P,da=.5*Y;return[Math.round(P===O?0:K===O?60*(L-J)/T+360:L===O?60*(J-K)/T+120:60*(K-L)/T+240)%360,0===T?0:.5>=da?T/Y:T/(2-Y),da,null==D?1:D]};x.hsla.from=function(D){if(null==D[0]||null==D[1]||null==D[2])return[null,null,null,D[3]];var K=D[0]/360,L=D[1],J=D[2];D=D[3];L=.5>=J?J*(1+L):J+L-J*L;J=2*J-L;return[Math.round(255*
  h(J,L,K+1/3)),Math.round(255*h(J,L,K)),Math.round(255*h(J,L,K-1/3)),D]};E(x,function(D,K){var L=K.props,J=K.cache,O=K.to,P=K.from;v.fn[D]=function(T){O&&!this[J]&&(this[J]=O(this._rgba));if(T===b)return this[J].slice();var Y=a.type(T),da="array"===Y||"object"===Y?T:arguments,W=this[J].slice();E(L,function(na,oa){na=da["object"===Y?na:oa.idx];null==na&&(na=W[oa.idx]);W[oa.idx]=c(na,oa)});if(P){var ja=v(P(W));ja[J]=W;return ja}return v(W)};E(L,function(T,Y){v.fn[T]||(v.fn[T]=function(da){var W=a.type(da),
  ja="alpha"===T?this._hsla?"hsla":"rgba":D,na=this[ja](),oa=na[Y.idx];if("undefined"===W)return oa;"function"===W&&(da=da.call(this,oa),W=a.type(da));if(null==da&&Y.empty)return this;"string"===W&&(W=m.exec(da))&&(da=oa+parseFloat(W[2])*("+"===W[1]?1:-1));na[Y.idx]=da;return this[ja](na)})})});v.hook=function(D){D=D.split(" ");E(D,function(K,L){a.cssHooks[L]={set:function(J,O){var P,T="";if("transparent"!==O&&("string"!==a.type(O)||(P=f(O)))){O=v(P||O);if(!G.rgba&&1!==O._rgba[3]){for(P="backgroundColor"===
  L?J.parentNode:J;(""===T||"transparent"===T)&&P&&P.style;)try{T=a.css(P,"backgroundColor"),P=P.parentNode}catch(Y){}O=O.blend(T&&"transparent"!==T?T:"_default")}O=O.toRgbaString()}try{J.style[L]=O}catch(Y){}}};a.fx.step[L]=function(J){J.colorInit||(J.start=v(J.elem,L),J.end=v(J.end),J.colorInit=!0);a.cssHooks[L].set(J.elem,J.start.transition(J.end,J.pos))}})};v.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor");
  a.cssHooks.borderColor={expand:function(D){var K={};E(["Top","Right","Bottom","Left"],function(L,J){K["border"+J+"Color"]=D});return K}};var H=a.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}})(e);(function(){function a(f){var h=f.ownerDocument.defaultView?
  f.ownerDocument.defaultView.getComputedStyle(f,null):f.currentStyle,m={};if(h&&h.length&&h[0]&&h[h[0]])for(f=h.length;f--;){var q=h[f];"string"===typeof h[q]&&(m[e.camelCase(q)]=h[q])}else for(q in h)"string"===typeof h[q]&&(m[q]=h[q]);return m}var b=["add","remove","toggle"],c={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};e.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(f,h){e.fx.step[h]=
  function(m){if("none"!==m.end&&!m.setAttr||1===m.pos&&!m.setAttr)e.style(m.elem,h,m.end),m.setAttr=!0}});e.fn.addBack||(e.fn.addBack=function(f){return this.add(null==f?this.prevObject:this.prevObject.filter(f))});e.effects.animateClass=function(f,h,m,q){var v=e.speed(h,m,q);return this.queue(function(){var x=e(this),F=x.attr("class")||"",G=v.children?x.find("*").addBack():x;G=G.map(function(){return{el:e(this),start:a(this)}});var C=function(){e.each(b,function(E,H){if(f[H])x[H+"Class"](f[H])})};
  C();G=G.map(function(){this.end=a(this.el[0]);var E=this.start,H=this.end,D={},K;for(K in H){var L=H[K];E[K]===L||c[K]||!e.fx.step[K]&&isNaN(parseFloat(L))||(D[K]=L)}this.diff=D;return this});x.attr("class",F);G=G.map(function(){var E=this,H=e.Deferred(),D=e.extend({},v,{queue:!1,complete:function(){H.resolve(E)}});this.el.animate(this.diff,D);return H.promise()});e.when.apply(e,G.get()).done(function(){C();e.each(arguments,function(){var E=this.el;e.each(this.diff,function(H){E.css(H,"")})});v.complete.call(x[0])})})};
  e.fn.extend({addClass:function(f){return function(h,m,q,v){return m?e.effects.animateClass.call(this,{add:h},m,q,v):f.apply(this,arguments)}}(e.fn.addClass),removeClass:function(f){return function(h,m,q,v){return 1<arguments.length?e.effects.animateClass.call(this,{remove:h},m,q,v):f.apply(this,arguments)}}(e.fn.removeClass),toggleClass:function(f){return function(h,m,q,v,x){return"boolean"===typeof m||void 0===m?q?e.effects.animateClass.call(this,m?{add:h}:{remove:h},q,v,x):f.apply(this,arguments):
  e.effects.animateClass.call(this,{toggle:h},m,q,v)}}(e.fn.toggleClass),switchClass:function(f,h,m,q,v){return e.effects.animateClass.call(this,{add:h,remove:f},m,q,v)}})})();(function(){function a(f,h,m,q){e.isPlainObject(f)&&(h=f,f=f.effect);f={effect:f};null==h&&(h={});e.isFunction(h)&&(q=h,m=null,h={});if("number"===typeof h||e.fx.speeds[h])q=m,m=h,h={};e.isFunction(m)&&(q=m,m=null);h&&e.extend(f,h);m=m||h.duration;f.duration=e.fx.off?0:"number"===typeof m?m:m in e.fx.speeds?e.fx.speeds[m]:e.fx.speeds._default;
  f.complete=q||h.complete;return f}function b(f){return!f||"number"===typeof f||e.fx.speeds[f]||"string"===typeof f&&!e.effects.effect[f]||e.isFunction(f)||"object"===typeof f&&!f.effect?!0:!1}function c(f,h){var m=h.outerWidth();h=h.outerHeight();f=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/.exec(f)||["",0,m,h,0];return{top:parseFloat(f[1])||0,right:"auto"===f[2]?m:parseFloat(f[2]),bottom:"auto"===f[3]?h:parseFloat(f[3]),
  left:parseFloat(f[4])||0}}e.expr&&e.expr.filters&&e.expr.filters.animated&&(e.expr.filters.animated=function(f){return function(h){return!!e(h).data("ui-effects-animated")||f(h)}}(e.expr.filters.animated));!1!==e.uiBackCompat&&e.extend(e.effects,{save:function(f,h){for(var m=0,q=h.length;m<q;m++)null!==h[m]&&f.data("ui-effects-"+h[m],f[0].style[h[m]])},restore:function(f,h){for(var m,q=0,v=h.length;q<v;q++)null!==h[q]&&(m=f.data("ui-effects-"+h[q]),f.css(h[q],m))},setMode:function(f,h){"toggle"===
  h&&(h=f.is(":hidden")?"show":"hide");return h},createWrapper:function(f){if(f.parent().is(".ui-effects-wrapper"))return f.parent();var h={width:f.outerWidth(!0),height:f.outerHeight(!0),"float":f.css("float")},m=e("\x3cdiv\x3e\x3c/div\x3e").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),q={width:f.width(),height:f.height()},v=document.activeElement;try{v.id}catch(x){v=document.body}f.wrap(m);(f[0]===v||e.contains(f[0],v))&&e(v).trigger("focus");
  m=f.parent();"static"===f.css("position")?(m.css({position:"relative"}),f.css({position:"relative"})):(e.extend(h,{position:f.css("position"),zIndex:f.css("z-index")}),e.each(["top","left","bottom","right"],function(x,F){h[F]=f.css(F);isNaN(parseInt(h[F],10))&&(h[F]="auto")}),f.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"}));f.css(q);return m.css(h).show()},removeWrapper:function(f){var h=document.activeElement;f.parent().is(".ui-effects-wrapper")&&(f.parent().replaceWith(f),(f[0]===
  h||e.contains(f[0],h))&&e(h).trigger("focus"));return f}});e.extend(e.effects,{version:"1.12.1",define:function(f,h,m){m||(m=h,h="effect");e.effects.effect[f]=m;e.effects.effect[f].mode=h;return m},scaledDimensions:function(f,h,m){if(0===h)return{height:0,width:0,outerHeight:0,outerWidth:0};var q="horizontal"!==m?(h||100)/100:1;h="vertical"!==m?(h||100)/100:1;return{height:f.height()*h,width:f.width()*q,outerHeight:f.outerHeight()*h,outerWidth:f.outerWidth()*q}},clipToBox:function(f){return{width:f.clip.right-
  f.clip.left,height:f.clip.bottom-f.clip.top,left:f.clip.left,top:f.clip.top}},unshift:function(f,h,m){var q=f.queue();1<h&&q.splice.apply(q,[1,0].concat(q.splice(h,m)));f.dequeue()},saveStyle:function(f){f.data("ui-effects-style",f[0].style.cssText)},restoreStyle:function(f){f[0].style.cssText=f.data("ui-effects-style")||"";f.removeData("ui-effects-style")},mode:function(f,h){f=f.is(":hidden");"toggle"===h&&(h=f?"show":"hide");if(f?"hide"===h:"show"===h)h="none";return h},getBaseline:function(f,h){switch(f[0]){case "top":var m=
  0;break;case "middle":m=.5;break;case "bottom":m=1;break;default:m=f[0]/h.height}switch(f[1]){case "left":f=0;break;case "center":f=.5;break;case "right":f=1;break;default:f=f[1]/h.width}return{x:f,y:m}},createPlaceholder:function(f){var h=f.css("position"),m=f.position();f.css({marginTop:f.css("marginTop"),marginBottom:f.css("marginBottom"),marginLeft:f.css("marginLeft"),marginRight:f.css("marginRight")}).outerWidth(f.outerWidth()).outerHeight(f.outerHeight());if(/^(static|relative)/.test(h)){h=
  "absolute";var q=e("\x3c"+f[0].nodeName+"\x3e").insertAfter(f).css({display:/^(inline|ruby)/.test(f.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:f.css("marginTop"),marginBottom:f.css("marginBottom"),marginLeft:f.css("marginLeft"),marginRight:f.css("marginRight"),"float":f.css("float")}).outerWidth(f.outerWidth()).outerHeight(f.outerHeight()).addClass("ui-effects-placeholder");f.data("ui-effects-placeholder",q)}f.css({position:h,left:m.left,top:m.top});return q},removePlaceholder:function(f){var h=
  f.data("ui-effects-placeholder");h&&(h.remove(),f.removeData("ui-effects-placeholder"))},cleanUp:function(f){e.effects.restoreStyle(f);e.effects.removePlaceholder(f)},setTransition:function(f,h,m,q){q=q||{};e.each(h,function(v,x){v=f.cssUnit(x);0<v[0]&&(q[x]=v[0]*m+v[1])});return q}});e.fn.extend({effect:function(){function f(H){function D(){L.removeData("ui-effects-animated");e.effects.cleanUp(L);"hide"===h.mode&&L.hide();K()}function K(){e.isFunction(F)&&F.call(L[0]);e.isFunction(H)&&H()}var L=
  e(this);h.mode=C.shift();!1===e.uiBackCompat||q?"none"===h.mode?(L[G](),K()):m.call(L[0],h,D):(L.is(":hidden")?"hide"===G:"show"===G)?(L[G](),K()):m.call(L[0],h,K)}var h=a.apply(this,arguments),m=e.effects.effect[h.effect],q=m.mode,v=h.queue,x=v||"fx",F=h.complete,G=h.mode,C=[],E=function(H){var D=e(this),K=e.effects.mode(D,G)||q;D.data("ui-effects-animated",!0);C.push(K);q&&("show"===K||K===q&&"hide"===K)&&D.show();q&&"none"===K||e.effects.saveStyle(D);e.isFunction(H)&&H()};return e.fx.off||!m?G?
  this[G](h.duration,F):this.each(function(){F&&F.call(this)}):!1===v?this.each(E).each(f):this.queue(x,E).queue(x,f)},show:function(f){return function(h){if(b(h))return f.apply(this,arguments);var m=a.apply(this,arguments);m.mode="show";return this.effect.call(this,m)}}(e.fn.show),hide:function(f){return function(h){if(b(h))return f.apply(this,arguments);var m=a.apply(this,arguments);m.mode="hide";return this.effect.call(this,m)}}(e.fn.hide),toggle:function(f){return function(h){if(b(h)||"boolean"===
  typeof h)return f.apply(this,arguments);var m=a.apply(this,arguments);m.mode="toggle";return this.effect.call(this,m)}}(e.fn.toggle),cssUnit:function(f){var h=this.css(f),m=[];e.each(["em","px","%","pt"],function(q,v){0<h.indexOf(v)&&(m=[parseFloat(h),v])});return m},cssClip:function(f){return f?this.css("clip","rect("+f.top+"px "+f.right+"px "+f.bottom+"px "+f.left+"px)"):c(this.css("clip"),this)},transfer:function(f,h){var m=e(this),q=e(f.to),v="fixed"===q.css("position"),x=e("body"),F=v?x.scrollTop():
  0;x=v?x.scrollLeft():0;var G=q.offset();q={top:G.top-F,left:G.left-x,height:q.innerHeight(),width:q.innerWidth()};G=m.offset();var C=e("\x3cdiv class\x3d'ui-effects-transfer'\x3e\x3c/div\x3e").appendTo("body").addClass(f.className).css({top:G.top-F,left:G.left-x,height:m.innerHeight(),width:m.innerWidth(),position:v?"fixed":"absolute"}).animate(q,f.duration,f.easing,function(){C.remove();e.isFunction(h)&&h()})}});e.fx.step.clip=function(f){f.clipInit||(f.start=e(f.elem).cssClip(),"string"===typeof f.end&&
  (f.end=c(f.end,f.elem)),f.clipInit=!0);e(f.elem).cssClip({top:f.pos*(f.end.top-f.start.top)+f.start.top,right:f.pos*(f.end.right-f.start.right)+f.start.right,bottom:f.pos*(f.end.bottom-f.start.bottom)+f.start.bottom,left:f.pos*(f.end.left-f.start.left)+f.start.left})}})();(function(){var a={};e.each(["Quad","Cubic","Quart","Quint","Expo"],function(b,c){a[c]=function(f){return Math.pow(f,b+2)}});e.extend(a,{Sine:function(b){return 1-Math.cos(b*Math.PI/2)},Circ:function(b){return 1-Math.sqrt(1-b*b)},
  Elastic:function(b){return 0===b||1===b?b:-Math.pow(2,8*(b-1))*Math.sin((80*(b-1)-7.5)*Math.PI/15)},Back:function(b){return b*b*(3*b-2)},Bounce:function(b){for(var c,f=4;b<((c=Math.pow(2,--f))-1)/11;);return 1/Math.pow(4,3-f)-7.5625*Math.pow((3*c-2)/22-b,2)}});e.each(a,function(b,c){e.easing["easeIn"+b]=c;e.easing["easeOut"+b]=function(f){return 1-c(1-f)};e.easing["easeInOut"+b]=function(f){return.5>f?c(2*f)/2:1-c(-2*f+2)/2}})})();e.effects.define("blind","hide",function(a,b){var c={up:["bottom",
  "top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},f=e(this),h=a.direction||"up",m=f.cssClip(),q={clip:e.extend({},m)},v=e.effects.createPlaceholder(f);q.clip[c[h][0]]=q.clip[c[h][1]];"show"===a.mode&&(f.cssClip(q.clip),v&&v.css(e.effects.clipToBox(q)),q.clip=m);v&&v.animate(e.effects.clipToBox(q),a.duration,a.easing);f.animate(q,{queue:!1,duration:a.duration,easing:a.easing,complete:b})});e.effects.define("bounce",function(a,
  b){var c=e(this),f=a.mode,h="hide"===f;var m="show"===f;var q=a.direction||"up";f=a.distance;var v=a.times||5,x=2*v+(m||h?1:0),F=a.duration/x;a=a.easing;var G="up"===q||"down"===q?"top":"left";q="up"===q||"left"===q;var C=0,E=c.queue().length;e.effects.createPlaceholder(c);var H=c.css(G);f||(f=c["top"===G?"outerHeight":"outerWidth"]()/3);m&&(m={opacity:1},m[G]=H,c.css("opacity",0).css(G,q?2*-f:2*f).animate(m,F,a));h&&(f/=Math.pow(2,v-1));m={};for(m[G]=H;C<v;C++)H={},H[G]=(q?"-\x3d":"+\x3d")+f,c.animate(H,
  F,a).animate(m,F,a),f=h?2*f:f/2;h&&(H={opacity:0},H[G]=(q?"-\x3d":"+\x3d")+f,c.animate(H,F,a));c.queue(b);e.effects.unshift(c,E,x+1)});e.effects.define("clip","hide",function(a,b){var c={},f=e(this);var h=a.direction||"vertical";var m="both"===h,q=m||"horizontal"===h;m=m||"vertical"===h;h=f.cssClip();c.clip={top:m?(h.bottom-h.top)/2:h.top,right:q?(h.right-h.left)/2:h.right,bottom:m?(h.bottom-h.top)/2:h.bottom,left:q?(h.right-h.left)/2:h.left};e.effects.createPlaceholder(f);"show"===a.mode&&(f.cssClip(c.clip),
  c.clip=h);f.animate(c,{queue:!1,duration:a.duration,easing:a.easing,complete:b})});e.effects.define("drop","hide",function(a,b){var c=e(this),f="show"===a.mode;var h=a.direction||"left";var m="up"===h||"down"===h?"top":"left",q="up"===h||"left"===h?"-\x3d":"+\x3d",v="+\x3d"===q?"-\x3d":"+\x3d",x={opacity:0};e.effects.createPlaceholder(c);h=a.distance||c["top"===m?"outerHeight":"outerWidth"](!0)/2;x[m]=q+h;f&&(c.css(x),x[m]=v+h,x.opacity=1);c.animate(x,{queue:!1,duration:a.duration,easing:a.easing,
  complete:b})});e.effects.define("explode","hide",function(a,b){function c(){E.push(this);E.length===m*q&&(v.css({visibility:"visible"}),e(E).remove(),b())}var f,h,m=a.pieces?Math.round(Math.sqrt(a.pieces)):3,q=m,v=e(this),x="show"===a.mode,F=v.show().css("visibility","hidden").offset(),G=Math.ceil(v.outerWidth()/q),C=Math.ceil(v.outerHeight()/m),E=[];for(f=0;f<m;f++){var H=F.top+f*C;var D=f-(m-1)/2;for(h=0;h<q;h++){var K=F.left+h*G;var L=h-(q-1)/2;v.clone().appendTo("body").wrap("\x3cdiv\x3e\x3c/div\x3e").css({position:"absolute",
  visibility:"visible",left:-h*G,top:-f*C}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:G,height:C,left:K+(x?L*G:0),top:H+(x?D*C:0),opacity:x?0:1}).animate({left:K+(x?0:L*G),top:H+(x?0:D*C),opacity:x?1:0},a.duration||500,a.easing,c)}}});e.effects.define("fade","toggle",function(a,b){var c="show"===a.mode;e(this).css("opacity",c?0:1).animate({opacity:c?1:0},{queue:!1,duration:a.duration,easing:a.easing,complete:b})});e.effects.define("fold","hide",function(a,
  b){var c=e(this),f=a.mode,h="show"===f;f="hide"===f;var m=a.size||15,q=/([0-9]+)%/.exec(m),v=a.horizFirst?["right","bottom"]:["bottom","right"],x=a.duration/2,F=e.effects.createPlaceholder(c),G=c.cssClip(),C={clip:e.extend({},G)},E={clip:e.extend({},G)},H=[G[v[0]],G[v[1]]],D=c.queue().length;q&&(m=parseInt(q[1],10)/100*H[f?0:1]);C.clip[v[0]]=m;E.clip[v[0]]=m;E.clip[v[1]]=0;h&&(c.cssClip(E.clip),F&&F.css(e.effects.clipToBox(E)),E.clip=G);c.queue(function(K){F&&F.animate(e.effects.clipToBox(C),x,a.easing).animate(e.effects.clipToBox(E),
  x,a.easing);K()}).animate(C,x,a.easing).animate(E,x,a.easing).queue(b);e.effects.unshift(c,D,4)});e.effects.define("highlight","show",function(a,b){var c=e(this),f={backgroundColor:c.css("backgroundColor")};"hide"===a.mode&&(f.opacity=0);e.effects.saveStyle(c);c.css({backgroundImage:"none",backgroundColor:a.color||"#ffff99"}).animate(f,{queue:!1,duration:a.duration,easing:a.easing,complete:b})});e.effects.define("size",function(a,b){var c=e(this),f=["fontSize"],h=["borderTopWidth","borderBottomWidth",
  "paddingTop","paddingBottom"],m=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"];var q=a.mode;var v="effect"!==q,x=a.scale||"both";var F=a.origin||["middle","center"];var G=c.css("position"),C=c.position(),E=e.effects.scaledDimensions(c),H=a.from||E,D=a.to||e.effects.scaledDimensions(c,0);e.effects.createPlaceholder(c);"show"===q&&(q=H,H=D,D=q);var K=H.height/E.height;var L=H.width/E.width;var J=D.height/E.height;var O=D.width/E.width;if("box"===x||"both"===x)K!==J&&(H=e.effects.setTransition(c,
  h,K,H),D=e.effects.setTransition(c,h,J,D)),L!==O&&(H=e.effects.setTransition(c,m,L,H),D=e.effects.setTransition(c,m,O,D));"content"!==x&&"both"!==x||K===J||(H=e.effects.setTransition(c,f,K,H),D=e.effects.setTransition(c,f,J,D));F&&(F=e.effects.getBaseline(F,E),H.top=(E.outerHeight-H.outerHeight)*F.y+C.top,H.left=(E.outerWidth-H.outerWidth)*F.x+C.left,D.top=(E.outerHeight-D.outerHeight)*F.y+C.top,D.left=(E.outerWidth-D.outerWidth)*F.x+C.left);c.css(H);if("content"===x||"both"===x)h=h.concat(["marginTop",
  "marginBottom"]).concat(f),m=m.concat(["marginLeft","marginRight"]),c.find("*[width]").each(function(){var P=e(this),T=e.effects.scaledDimensions(P),Y={height:T.height*K,width:T.width*L,outerHeight:T.outerHeight*K,outerWidth:T.outerWidth*L};T={height:T.height*J,width:T.width*O,outerHeight:T.height*J,outerWidth:T.width*O};K!==J&&(Y=e.effects.setTransition(P,h,K,Y),T=e.effects.setTransition(P,h,J,T));L!==O&&(Y=e.effects.setTransition(P,m,L,Y),T=e.effects.setTransition(P,m,O,T));v&&e.effects.saveStyle(P);
  P.css(Y);P.animate(T,a.duration,a.easing,function(){v&&e.effects.restoreStyle(P)})});c.animate(D,{queue:!1,duration:a.duration,easing:a.easing,complete:function(){var P=c.offset();0===D.opacity&&c.css("opacity",H.opacity);v||(c.css("position","static"===G?"relative":G).offset(P),e.effects.saveStyle(c));b()}})});e.effects.define("scale",function(a,b){var c=e(this),f=a.mode;f=parseInt(a.percent,10)||(0===parseInt(a.percent,10)?0:"effect"!==f?0:100);c=e.extend(!0,{from:e.effects.scaledDimensions(c),
  to:e.effects.scaledDimensions(c,f,a.direction||"both"),origin:a.origin||["middle","center"]},a);a.fade&&(c.from.opacity=1,c.to.opacity=0);e.effects.effect.size.call(this,c,b)});e.effects.define("puff","hide",function(a,b){a=e.extend(!0,{},a,{fade:!0,percent:parseInt(a.percent,10)||150});e.effects.effect.scale.call(this,a,b)});e.effects.define("pulsate","show",function(a,b){var c=e(this),f=a.mode,h="show"===f;f=2*(a.times||5)+(h||"hide"===f?1:0);var m=a.duration/f,q=0,v=1,x=c.queue().length;if(h||
  !c.is(":visible"))c.css("opacity",0).show(),q=1;for(;v<f;v++)c.animate({opacity:q},m,a.easing),q=1-q;c.animate({opacity:q},m,a.easing);c.queue(b);e.effects.unshift(c,x,f+1)});e.effects.define("shake",function(a,b){var c=1,f=e(this),h=a.direction||"left",m=a.distance||20,q=a.times||3,v=2*q+1,x=Math.round(a.duration/v),F="up"===h||"down"===h?"top":"left";h="up"===h||"left"===h;var G={},C={},E={},H=f.queue().length;e.effects.createPlaceholder(f);G[F]=(h?"-\x3d":"+\x3d")+m;C[F]=(h?"+\x3d":"-\x3d")+2*
  m;E[F]=(h?"-\x3d":"+\x3d")+2*m;for(f.animate(G,x,a.easing);c<q;c++)f.animate(C,x,a.easing).animate(E,x,a.easing);f.animate(C,x,a.easing).animate(G,x/2,a.easing).queue(b);e.effects.unshift(f,H,v+1)});e.effects.define("slide","show",function(a,b){var c=e(this),f={up:["bottom","top"],down:["top","bottom"],left:["right","left"],right:["left","right"]},h=a.mode,m=a.direction||"left",q="up"===m||"down"===m?"top":"left",v="up"===m||"left"===m,x=a.distance||c["top"===q?"outerHeight":"outerWidth"](!0),F={};
  e.effects.createPlaceholder(c);var G=c.cssClip();var C=c.position()[q];F[q]=(v?-1:1)*x+C;F.clip=c.cssClip();F.clip[f[m][1]]=F.clip[f[m][0]];"show"===h&&(c.cssClip(F.clip),c.css(q,F[q]),F.clip=G,F[q]=C);c.animate(F,{queue:!1,duration:a.duration,easing:a.easing,complete:b})});!1!==e.uiBackCompat&&e.effects.define("transfer",function(a,b){e(this).transfer(a,b)});e.ui.focusable=function(a,b){var c=a.nodeName.toLowerCase();if("area"===c){b=a.parentNode;c=b.name;if(!a.href||!c||"map"!==b.nodeName.toLowerCase())return!1;
  a=e("img[usemap\x3d'#"+c+"']");return 0<a.length&&a.is(":visible")}/^(input|select|textarea|button|object)$/.test(c)?(b=!a.disabled)&&(c=e(a).closest("fieldset")[0])&&(b=!c.disabled):b="a"===c?a.href||b:b;if(b=b&&e(a).is(":visible")){a=e(a);for(b=a.css("visibility");"inherit"===b;)a=a.parent(),b=a.css("visibility");b="hidden"!==b}return b};e.extend(e.expr[":"],{focusable:function(a){return e.ui.focusable(a,null!=e.attr(a,"tabindex"))}});e.fn.form=function(){return"string"===typeof this[0].form?this.closest("form"):
  e(this[0].form)};e.ui.formResetMixin={_formResetHandler:function(){var a=e(this);setTimeout(function(){var b=a.data("ui-form-reset-instances");e.each(b,function(){this.refresh()})})},_bindFormResetHandler:function(){this.form=this.element.form();if(this.form.length){var a=this.form.data("ui-form-reset-instances")||[];if(!a.length)this.form.on("reset.ui-form-reset",this._formResetHandler);a.push(this);this.form.data("ui-form-reset-instances",a)}},_unbindFormResetHandler:function(){if(this.form.length){var a=
  this.form.data("ui-form-reset-instances");a.splice(e.inArray(this,a),1);a.length?this.form.data("ui-form-reset-instances",a):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}};"1.7"===e.fn.jquery.substring(0,3)&&(e.each(["Width","Height"],function(a,b){function c(q,v,x,F){e.each(f,function(){v-=parseFloat(e.css(q,"padding"+this))||0;x&&(v-=parseFloat(e.css(q,"border"+this+"Width"))||0);F&&(v-=parseFloat(e.css(q,"margin"+this))||0)});return v}var f="Width"===b?["Left","Right"]:
  ["Top","Bottom"],h=b.toLowerCase(),m={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};e.fn["inner"+b]=function(q){return void 0===q?m["inner"+b].call(this):this.each(function(){e(this).css(h,c(this,q)+"px")})};e.fn["outer"+b]=function(q,v){return"number"!==typeof q?m["outer"+b].call(this,q):this.each(function(){e(this).css(h,c(this,q,!0,v)+"px")})}}),e.fn.addBack=function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))});
  e.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38};e.ui.escapeSelector=function(){var a=/([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g;return function(b){return b.replace(a,"\\$1")}}();e.fn.labels=function(){var a;if(this[0].labels&&this[0].labels.length)return this.pushStack(this[0].labels);var b=this.eq(0).parents("label");if(a=this.attr("id")){var c=this.eq(0).parents().last();c=c.add(c.length?
  c.siblings():this.siblings());a="label[for\x3d'"+e.ui.escapeSelector(a)+"']";b=b.add(c.find(a).addBack(a))}return this.pushStack(b)};e.fn.scrollParent=function(a){var b=this.css("position"),c="absolute"===b,f=a?/(auto|scroll|hidden)/:/(auto|scroll)/;a=this.parents().filter(function(){var h=e(this);return c&&"static"===h.css("position")?!1:f.test(h.css("overflow")+h.css("overflow-y")+h.css("overflow-x"))}).eq(0);return"fixed"!==b&&a.length?a:e(this[0].ownerDocument||document)};e.extend(e.expr[":"],
  {tabbable:function(a){var b=e.attr(a,"tabindex"),c=null!=b;return(!c||0<=b)&&e.ui.focusable(a,c)}});e.fn.extend({uniqueId:function(){var a=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++a)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&e(this).removeAttr("id")})}});e.widget("ui.accordion",{version:"1.12.1",options:{active:0,animate:{},classes:{"ui-accordion-header":"ui-corner-top","ui-accordion-header-collapsed":"ui-corner-all",
  "ui-accordion-content":"ui-corner-bottom"},collapsible:!1,event:"click",header:"\x3e li \x3e :first-child, \x3e :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var a=
  this.options;this.prevShow=this.prevHide=e();this._addClass("ui-accordion","ui-widget ui-helper-reset");this.element.attr("role","tablist");a.collapsible||!1!==a.active&&null!=a.active||(a.active=0);this._processPanels();0>a.active&&(a.active+=this.headers.length);this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():e()}},_createIcons:function(){var a=this.options.icons;if(a){var b=e("\x3cspan\x3e");this._addClass(b,"ui-accordion-header-icon",
  "ui-icon "+a.header);b.prependTo(this.headers);b=this.active.children(".ui-accordion-header-icon");this._removeClass(b,a.header)._addClass(b,null,a.activeHeader)._addClass(this.headers,"ui-accordion-icons")}},_destroyIcons:function(){this._removeClass(this.headers,"ui-accordion-icons");this.headers.children(".ui-accordion-header-icon").remove()},_destroy:function(){this.element.removeAttr("role");this.headers.removeAttr("role aria-expanded aria-selected aria-controls tabIndex").removeUniqueId();this._destroyIcons();
  var a=this.headers.next().css("display","").removeAttr("role aria-hidden aria-labelledby").removeUniqueId();"content"!==this.options.heightStyle&&a.css("height","")},_setOption:function(a,b){"active"===a?this._activate(b):("event"===a&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(b)),this._super(a,b),"collapsible"!==a||b||!1!==this.options.active||this._activate(0),"icons"===a&&(this._destroyIcons(),b&&this._createIcons()))},_setOptionDisabled:function(a){this._super(a);
  this.element.attr("aria-disabled",a);this._toggleClass(null,"ui-state-disabled",!!a);this._toggleClass(this.headers.add(this.headers.next()),null,"ui-state-disabled",!!a)},_keydown:function(a){if(!a.altKey&&!a.ctrlKey){var b=e.ui.keyCode,c=this.headers.length,f=this.headers.index(a.target),h=!1;switch(a.keyCode){case b.RIGHT:case b.DOWN:h=this.headers[(f+1)%c];break;case b.LEFT:case b.UP:h=this.headers[(f-1+c)%c];break;case b.SPACE:case b.ENTER:this._eventHandler(a);break;case b.HOME:h=this.headers[0];
  break;case b.END:h=this.headers[c-1]}h&&(e(a.target).attr("tabIndex",-1),e(h).attr("tabIndex",0),e(h).trigger("focus"),a.preventDefault())}},_panelKeyDown:function(a){a.keyCode===e.ui.keyCode.UP&&a.ctrlKey&&e(a.currentTarget).prev().trigger("focus")},refresh:function(){var a=this.options;this._processPanels();!1===a.active&&!0===a.collapsible||!this.headers.length?(a.active=!1,this.active=e()):!1===a.active?this._activate(0):this.active.length&&!e.contains(this.element[0],this.active[0])?this.headers.length===
  this.headers.find(".ui-state-disabled").length?(a.active=!1,this.active=e()):this._activate(Math.max(0,a.active-1)):a.active=this.headers.index(this.active);this._destroyIcons();this._refresh()},_processPanels:function(){var a=this.headers,b=this.panels;this.headers=this.element.find(this.options.header);this._addClass(this.headers,"ui-accordion-header ui-accordion-header-collapsed","ui-state-default");this.panels=this.headers.next().filter(":not(.ui-accordion-content-active)").hide();this._addClass(this.panels,
  "ui-accordion-content","ui-helper-reset ui-widget-content");b&&(this._off(a.not(this.headers)),this._off(b.not(this.panels)))},_refresh:function(){var a=this.options,b=a.heightStyle,c=this.element.parent();this.active=this._findActive(a.active);this._addClass(this.active,"ui-accordion-header-active","ui-state-active")._removeClass(this.active,"ui-accordion-header-collapsed");this._addClass(this.active.next(),"ui-accordion-content-active");this.active.next().show();this.headers.attr("role","tab").each(function(){var h=
  e(this),m=h.uniqueId().attr("id"),q=h.next(),v=q.uniqueId().attr("id");h.attr("aria-controls",v);q.attr("aria-labelledby",m)}).next().attr("role","tabpanel");this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide();this.active.length?this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0);this._createIcons();this._setupEvents(a.event);
  if("fill"===b){var f=c.height();this.element.siblings(":visible").each(function(){var h=e(this),m=h.css("position");"absolute"!==m&&"fixed"!==m&&(f-=h.outerHeight(!0))});this.headers.each(function(){f-=e(this).outerHeight(!0)});this.headers.next().each(function(){e(this).height(Math.max(0,f-e(this).innerHeight()+e(this).height()))}).css("overflow","auto")}else"auto"===b&&(f=0,this.headers.next().each(function(){var h=e(this).is(":visible");h||e(this).show();f=Math.max(f,e(this).css("height","").height());
  h||e(this).hide()}).height(f))},_activate:function(a){a=this._findActive(a)[0];a!==this.active[0]&&(a=a||this.active[0],this._eventHandler({target:a,currentTarget:a,preventDefault:e.noop}))},_findActive:function(a){return"number"===typeof a?this.headers.eq(a):e()},_setupEvents:function(a){var b={keydown:"_keydown"};a&&e.each(a.split(" "),function(c,f){b[f]="_eventHandler"});this._off(this.headers.add(this.headers.next()));this._on(this.headers,b);this._on(this.headers.next(),{keydown:"_panelKeyDown"});
  this._hoverable(this.headers);this._focusable(this.headers)},_eventHandler:function(a){var b,c=this.options,f=this.active,h=e(a.currentTarget),m=(b=h[0]===f[0])&&c.collapsible,q=m?e():h.next(),v=f.next();q={oldHeader:f,oldPanel:v,newHeader:m?e():h,newPanel:q};a.preventDefault();b&&!c.collapsible||!1===this._trigger("beforeActivate",a,q)||(c.active=m?!1:this.headers.index(h),this.active=b?e():h,this._toggle(q),this._removeClass(f,"ui-accordion-header-active","ui-state-active"),c.icons&&(a=f.children(".ui-accordion-header-icon"),
  this._removeClass(a,null,c.icons.activeHeader)._addClass(a,null,c.icons.header)),b||(this._removeClass(h,"ui-accordion-header-collapsed")._addClass(h,"ui-accordion-header-active","ui-state-active"),c.icons&&(b=h.children(".ui-accordion-header-icon"),this._removeClass(b,null,c.icons.header)._addClass(b,null,c.icons.activeHeader)),this._addClass(h.next(),"ui-accordion-content-active")))},_toggle:function(a){var b=a.newPanel,c=this.prevShow.length?this.prevShow:a.oldPanel;this.prevShow.add(this.prevHide).stop(!0,
  !0);this.prevShow=b;this.prevHide=c;this.options.animate?this._animate(b,c,a):(c.hide(),b.show(),this._toggleComplete(a));c.attr({"aria-hidden":"true"});c.prev().attr({"aria-selected":"false","aria-expanded":"false"});b.length&&c.length?c.prev().attr({tabIndex:-1,"aria-expanded":"false"}):b.length&&this.headers.filter(function(){return 0===parseInt(e(this).attr("tabIndex"),10)}).attr("tabIndex",-1);b.attr("aria-hidden","false").prev().attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},
  _animate:function(a,b,c){var f,h,m=this,q=0,v=a.css("box-sizing"),x=a.length&&(!b.length||a.index()<b.index()),F=this.options.animate||{};x=x&&F.down||F;var G=function(){m._toggleComplete(c)};"number"===typeof x&&(h=x);"string"===typeof x&&(f=x);f=f||x.easing||F.easing;h=h||x.duration||F.duration;if(!b.length)return a.animate(this.showProps,h,f,G);if(!a.length)return b.animate(this.hideProps,h,f,G);var C=a.show().outerHeight();b.animate(this.hideProps,{duration:h,easing:f,step:function(E,H){H.now=
  Math.round(E)}});a.hide().animate(this.showProps,{duration:h,easing:f,complete:G,step:function(E,H){H.now=Math.round(E);"height"!==H.prop?"content-box"===v&&(q+=H.now):"content"!==m.options.heightStyle&&(H.now=Math.round(C-b.outerHeight()-q),q=0)}})},_toggleComplete:function(a){var b=a.oldPanel,c=b.prev();this._removeClass(b,"ui-accordion-content-active");this._removeClass(c,"ui-accordion-header-active")._addClass(c,"ui-accordion-header-collapsed");b.length&&(b.parent()[0].className=b.parent()[0].className);
  this._trigger("activate",null,a)}});e.ui.safeActiveElement=function(a){try{var b=a.activeElement}catch(c){b=a.body}b||(b=a.body);b.nodeName||(b=a.body);return b};e.widget("ui.menu",{version:"1.12.1",defaultElement:"\x3cul\x3e",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"\x3e *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element;this.mouseHandled=!1;this.element.uniqueId().attr({role:this.options.role,
  tabIndex:0});this._addClass("ui-menu","ui-widget ui-widget-content");this._on({"mousedown .ui-menu-item":function(a){a.preventDefault()},"click .ui-menu-item":function(a){var b=e(a.target),c=e(e.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&b.not(".ui-state-disabled").length&&(this.select(a),a.isPropagationStopped()||(this.mouseHandled=!0),b.has(".ui-menu").length?this.expand(a):!this.element.is(":focus")&&c.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&
  1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(a){if(!this.previousFilter){var b=e(a.target).closest(".ui-menu-item"),c=e(a.currentTarget);b[0]===c[0]&&(this._removeClass(c.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(a,c))}},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(a,b){var c=this.active||this.element.find(this.options.items).eq(0);b||this.focus(a,c)},blur:function(a){this._delay(function(){e.contains(this.element[0],
  e.ui.safeActiveElement(this.document[0]))||this.collapseAll(a)})},keydown:"_keydown"});this.refresh();this._on(this.document,{click:function(a){this._closeOnDocumentClick(a)&&this.collapseAll(a);this.mouseHandled=!1}})},_destroy:function(){var a=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show();
  a.children().each(function(){var b=e(this);b.data("ui-menu-submenu-caret")&&b.remove()})},_keydown:function(a){var b=!0;switch(a.keyCode){case e.ui.keyCode.PAGE_UP:this.previousPage(a);break;case e.ui.keyCode.PAGE_DOWN:this.nextPage(a);break;case e.ui.keyCode.HOME:this._move("first","first",a);break;case e.ui.keyCode.END:this._move("last","last",a);break;case e.ui.keyCode.UP:this.previous(a);break;case e.ui.keyCode.DOWN:this.next(a);break;case e.ui.keyCode.LEFT:this.collapse(a);break;case e.ui.keyCode.RIGHT:this.active&&
  !this.active.is(".ui-state-disabled")&&this.expand(a);break;case e.ui.keyCode.ENTER:case e.ui.keyCode.SPACE:this._activate(a);break;case e.ui.keyCode.ESCAPE:this.collapse(a);break;default:b=!1;var c=this.previousFilter||"";var f=!1;var h=96<=a.keyCode&&105>=a.keyCode?(a.keyCode-96).toString():String.fromCharCode(a.keyCode);clearTimeout(this.filterTimer);h===c?f=!0:h=c+h;c=this._filterMenuItems(h);c=f&&-1!==c.index(this.active.next())?this.active.nextAll(".ui-menu-item"):c;c.length||(h=String.fromCharCode(a.keyCode),
  c=this._filterMenuItems(h));c.length?(this.focus(a,c),this.previousFilter=h,this.filterTimer=this._delay(function(){delete this.previousFilter},1E3)):delete this.previousFilter}b&&a.preventDefault()},_activate:function(a){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup\x3d'true']").length?this.expand(a):this.select(a))},refresh:function(){var a=this,b=this.options.icons.submenu;var c=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",
  null,!!this.element.find(".ui-icon").length);var f=c.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var m=e(this),q=m.prev(),v=e("\x3cspan\x3e").data("ui-menu-submenu-caret",!0);a._addClass(v,"ui-menu-icon","ui-icon "+b);q.attr("aria-haspopup","true").prepend(v);m.attr("aria-labelledby",q.attr("id"))});this._addClass(f,"ui-menu","ui-widget ui-widget-content ui-front");f=c.add(this.element).find(this.options.items);f.not(".ui-menu-item").each(function(){var m=
  e(this);a._isDivider(m)&&a._addClass(m,"ui-menu-divider","ui-widget-content")});c=f.not(".ui-menu-item, .ui-menu-divider");var h=c.children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()});this._addClass(c,"ui-menu-item")._addClass(h,"ui-menu-item-wrapper");f.filter(".ui-state-disabled").attr("aria-disabled","true");this.active&&!e.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(a,
  b){if("icons"===a){var c=this.element.find(".ui-menu-icon");this._removeClass(c,null,this.options.icons.submenu)._addClass(c,null,b.submenu)}this._super(a,b)},_setOptionDisabled:function(a){this._super(a);this.element.attr("aria-disabled",String(a));this._toggleClass(null,"ui-state-disabled",!!a)},focus:function(a,b){this.blur(a,a&&"focus"===a.type);this._scrollIntoView(b);this.active=b.first();var c=this.active.children(".ui-menu-item-wrapper");this._addClass(c,null,"ui-state-active");this.options.role&&
  this.element.attr("aria-activedescendant",c.attr("id"));c=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper");this._addClass(c,null,"ui-state-active");a&&"keydown"===a.type?this._close():this.timer=this._delay(function(){this._close()},this.delay);c=b.children(".ui-menu");c.length&&a&&/^mouse/.test(a.type)&&this._startOpening(c);this.activeMenu=b.parent();this._trigger("focus",a,{item:b})},_scrollIntoView:function(a){if(this._hasScroll()){var b=parseFloat(e.css(this.activeMenu[0],
  "borderTopWidth"))||0;var c=parseFloat(e.css(this.activeMenu[0],"paddingTop"))||0;b=a.offset().top-this.activeMenu.offset().top-b-c;c=this.activeMenu.scrollTop();var f=this.activeMenu.height();a=a.outerHeight();0>b?this.activeMenu.scrollTop(c+b):b+a>f&&this.activeMenu.scrollTop(c+b-f+a)}},blur:function(a,b){b||clearTimeout(this.timer);this.active&&(this._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active"),this._trigger("blur",a,{item:this.active}),this.active=null)},
  _startOpening:function(a){clearTimeout(this.timer);"true"===a.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close();this._open(a)},this.delay))},_open:function(a){var b=e.extend({of:this.active},this.options.position);clearTimeout(this.timer);this.element.find(".ui-menu").not(a.parents(".ui-menu")).hide().attr("aria-hidden","true");a.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(b)},collapseAll:function(a,b){clearTimeout(this.timer);this.timer=this._delay(function(){var c=
  b?this.element:e(a&&a.target).closest(this.element.find(".ui-menu"));c.length||(c=this.element);this._close(c);this.blur(a);this._removeClass(c.find(".ui-state-active"),null,"ui-state-active");this.activeMenu=c},this.delay)},_close:function(a){a||(a=this.active?this.active.parent():this.element);a.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false")},_closeOnDocumentClick:function(a){return!e(a.target).closest(".ui-menu").length},_isDivider:function(a){return!/[^\-\u2014\u2013\s]/.test(a.text())},
  collapse:function(a){var b=this.active&&this.active.parent().closest(".ui-menu-item",this.element);b&&b.length&&(this._close(),this.focus(a,b))},expand:function(a){var b=this.active&&this.active.children(".ui-menu ").find(this.options.items).first();b&&b.length&&(this._open(b.parent()),this._delay(function(){this.focus(a,b)}))},next:function(a){this._move("next","first",a)},previous:function(a){this._move("prev","last",a)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},
  isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(a,b,c){var f;this.active&&(f="first"===a||"last"===a?this.active["first"===a?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[a+"All"](".ui-menu-item").eq(0));f&&f.length&&this.active||(f=this.activeMenu.find(this.options.items)[b]());this.focus(c,f)},nextPage:function(a){var b;if(!this.active)this.next(a);else if(!this.isLastItem())if(this._hasScroll()){var c=this.active.offset().top;var f=
  this.element.height();this.active.nextAll(".ui-menu-item").each(function(){b=e(this);return 0>b.offset().top-c-f});this.focus(a,b)}else this.focus(a,this.activeMenu.find(this.options.items)[this.active?"last":"first"]())},previousPage:function(a){var b;if(!this.active)this.next(a);else if(!this.isFirstItem())if(this._hasScroll()){var c=this.active.offset().top;var f=this.element.height();this.active.prevAll(".ui-menu-item").each(function(){b=e(this);return 0<b.offset().top-c+f});this.focus(a,b)}else this.focus(a,
  this.activeMenu.find(this.options.items).first())},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(a){this.active=this.active||e(a.target).closest(".ui-menu-item");var b={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(a,!0);this._trigger("select",a,b)},_filterMenuItems:function(a){a=a.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$\x26");var b=new RegExp("^"+a,"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter(function(){return b.test(e.trim(e(this).children(".ui-menu-item-wrapper").text()))})}});
  e.widget("ui.autocomplete",{version:"1.12.1",defaultElement:"\x3cinput\x3e",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,_create:function(){var a,b,c,f=this.element[0].nodeName.toLowerCase(),h="textarea"===f;f="input"===f;this.isMultiLine=h||!f&&this._isContentEditable(this.element);this.valueMethod=this.element[h||
  f?"val":"text"];this.isNewMenu=!0;this._addClass("ui-autocomplete-input");this.element.attr("autocomplete","off");this._on(this.element,{keydown:function(m){if(this.element.prop("readOnly"))b=c=a=!0;else{b=c=a=!1;var q=e.ui.keyCode;switch(m.keyCode){case q.PAGE_UP:a=!0;this._move("previousPage",m);break;case q.PAGE_DOWN:a=!0;this._move("nextPage",m);break;case q.UP:a=!0;this._keyEvent("previous",m);break;case q.DOWN:a=!0;this._keyEvent("next",m);break;case q.ENTER:this.menu.active&&(a=!0,m.preventDefault(),
  this.menu.select(m));break;case q.TAB:this.menu.active&&this.menu.select(m);break;case q.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(m),m.preventDefault());break;default:b=!0,this._searchTimeout(m)}}},keypress:function(m){if(a)a=!1,this.isMultiLine&&!this.menu.element.is(":visible")||m.preventDefault();else if(!b){var q=e.ui.keyCode;switch(m.keyCode){case q.PAGE_UP:this._move("previousPage",m);break;case q.PAGE_DOWN:this._move("nextPage",m);break;
  case q.UP:this._keyEvent("previous",m);break;case q.DOWN:this._keyEvent("next",m)}}},input:function(m){c?(c=!1,m.preventDefault()):this._searchTimeout(m)},focus:function(){this.selectedItem=null;this.previous=this._value()},blur:function(m){this.cancelBlur?delete this.cancelBlur:(clearTimeout(this.searching),this.close(m),this._change(m))}});this._initSource();this.menu=e("\x3cul\x3e").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance");this._addClass(this.menu.element,"ui-autocomplete",
  "ui-front");this._on(this.menu.element,{mousedown:function(m){m.preventDefault();this.cancelBlur=!0;this._delay(function(){delete this.cancelBlur;this.element[0]!==e.ui.safeActiveElement(this.document[0])&&this.element.trigger("focus")})},menufocus:function(m,q){if(this.isNewMenu&&(this.isNewMenu=!1,m.originalEvent&&/^mouse/.test(m.originalEvent.type))){this.menu.blur();this.document.one("mousemove",function(){e(m.target).trigger(m.originalEvent)});return}var v=q.item.data("ui-autocomplete-item");
  !1!==this._trigger("focus",m,{item:v})&&m.originalEvent&&/^key/.test(m.originalEvent.type)&&this._value(v.value);(q=q.item.attr("aria-label")||v.value)&&e.trim(q).length&&(this.liveRegion.children().hide(),e("\x3cdiv\x3e").text(q).appendTo(this.liveRegion))},menuselect:function(m,q){var v=q.item.data("ui-autocomplete-item"),x=this.previous;this.element[0]!==e.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=x,this._delay(function(){this.previous=x;this.selectedItem=
  v}));!1!==this._trigger("select",m,{item:v})&&this._value(v.value);this.term=this._value();this.close(m);this.selectedItem=v}});this.liveRegion=e("\x3cdiv\x3e",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body);this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible");this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching);this.element.removeAttr("autocomplete");
  this.menu.element.remove();this.liveRegion.remove()},_setOption:function(a,b){this._super(a,b);"source"===a&&this._initSource();"appendTo"===a&&this.menu.element.appendTo(this._appendTo());"disabled"===a&&b&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(a){var b=this.menu.element[0];return a.target===this.element[0]||a.target===b||e.contains(b,a.target)},_closeOnClickOutside:function(a){this._isEventTargetInWidget(a)||this.close()},_appendTo:function(){var a=this.options.appendTo;a&&
  (a=a.jquery||a.nodeType?e(a):this.document.find(a).eq(0));a&&a[0]||(a=this.element.closest(".ui-front, dialog"));a.length||(a=this.document[0].body);return a},_initSource:function(){var a=this;if(e.isArray(this.options.source)){var b=this.options.source;this.source=function(f,h){h(e.ui.autocomplete.filter(b,f.term))}}else if("string"===typeof this.options.source){var c=this.options.source;this.source=function(f,h){a.xhr&&a.xhr.abort();a.xhr=e.ajax({url:c,data:f,dataType:"json",success:function(m){h(m)},
  error:function(){h([])}})}}else this.source=this.options.source},_searchTimeout:function(a){clearTimeout(this.searching);this.searching=this._delay(function(){var b=this.term===this._value(),c=this.menu.element.is(":visible"),f=a.altKey||a.ctrlKey||a.metaKey||a.shiftKey;if(!b||b&&!c&&!f)this.selectedItem=null,this.search(null,a)},this.options.delay)},search:function(a,b){a=null!=a?a:this._value();this.term=this._value();if(a.length<this.options.minLength)return this.close(b);if(!1!==this._trigger("search",
  b))return this._search(a)},_search:function(a){this.pending++;this._addClass("ui-autocomplete-loading");this.cancelSearch=!1;this.source({term:a},this._response())},_response:function(){var a=++this.requestIndex;return e.proxy(function(b){a===this.requestIndex&&this.__response(b);this.pending--;this.pending||this._removeClass("ui-autocomplete-loading")},this)},__response:function(a){a&&(a=this._normalize(a));this._trigger("response",null,{content:a});!this.options.disabled&&a&&a.length&&!this.cancelSearch?
  (this._suggest(a),this._trigger("open")):this._close()},close:function(a){this.cancelSearch=!0;this._close(a)},_close:function(a){this._off(this.document,"mousedown");this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",a))},_change:function(a){this.previous!==this._value()&&this._trigger("change",a,{item:this.selectedItem})},_normalize:function(a){return a.length&&a[0].label&&a[0].value?a:e.map(a,function(b){return"string"===typeof b?
  {label:b,value:b}:e.extend({},b,{label:b.label||b.value,value:b.value||b.label})})},_suggest:function(a){var b=this.menu.element.empty();this._renderMenu(b,a);this.isNewMenu=!0;this.menu.refresh();b.show();this._resizeMenu();b.position(e.extend({of:this.element},this.options.position));this.options.autoFocus&&this.menu.next();this._on(this.document,{mousedown:"_closeOnClickOutside"})},_resizeMenu:function(){var a=this.menu.element;a.outerWidth(Math.max(a.width("").outerWidth()+1,this.element.outerWidth()))},
  _renderMenu:function(a,b){var c=this;e.each(b,function(f,h){c._renderItemData(a,h)})},_renderItemData:function(a,b){return this._renderItem(a,b).data("ui-autocomplete-item",b)},_renderItem:function(a,b){return e("\x3cli\x3e").append(e("\x3cdiv\x3e").text(b.label)).appendTo(a)},_move:function(a,b){if(this.menu.element.is(":visible"))if(this.menu.isFirstItem()&&/^previous/.test(a)||this.menu.isLastItem()&&/^next/.test(a))this.isMultiLine||this._value(this.term),this.menu.blur();else this.menu[a](b);
  else this.search(null,b)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(a,b){if(!this.isMultiLine||this.menu.element.is(":visible"))this._move(a,b),b.preventDefault()},_isContentEditable:function(a){if(!a.length)return!1;var b=a.prop("contentEditable");return"inherit"===b?this._isContentEditable(a.parent()):"true"===b}});e.extend(e.ui.autocomplete,{escapeRegex:function(a){return a.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,
  "\\$\x26")},filter:function(a,b){var c=new RegExp(e.ui.autocomplete.escapeRegex(b),"i");return e.grep(a,function(f){return c.test(f.label||f.value||f)})}});e.widget("ui.autocomplete",e.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(a){return a+(1<a?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(a){this._superApply(arguments);if(!this.options.disabled&&!this.cancelSearch){var b=a&&a.length?this.options.messages.results(a.length):
  this.options.messages.noResults;this.liveRegion.children().hide();e("\x3cdiv\x3e").text(b).appendTo(this.liveRegion)}}});var jb=/ui-corner-([a-z]){2,6}/g;e.widget("ui.controlgroup",{version:"1.12.1",defaultElement:"\x3cdiv\x3e",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type\x3dbutton], input[type\x3dsubmit], input[type\x3dreset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type\x3d'checkbox'], input[type\x3d'radio']",selectmenu:"select",
  spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar");this.refresh()},_destroy:function(){this._callChildMethod("destroy");this.childWidgets.removeData("ui-controlgroup-data");this.element.removeAttr("role");this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},_initWidgets:function(){var a=this,b=[];e.each(this.options.items,function(c,
  f){var h={};f&&("controlgroupLabel"===c?(f=a.element.find(f),f.each(function(){var m=e(this);m.children(".ui-controlgroup-label-contents").length||m.contents().wrapAll("\x3cspan class\x3d'ui-controlgroup-label-contents'\x3e\x3c/span\x3e")}),a._addClass(f,null,"ui-widget ui-widget-content ui-state-default"),b=b.concat(f.get())):e.fn[c]&&(h=a["_"+c+"Options"]?a["_"+c+"Options"]("middle"):{classes:{}},a.element.find(f).each(function(){var m=e(this),q=m[c]("instance"),v=e.widget.extend({},h);"button"===
  c&&m.parent(".ui-spinner").length||(q||(q=m[c]()[c]("instance")),q&&(v.classes=a._resolveClassesValues(v.classes,q)),m[c](v),v=m[c]("widget"),e.data(v[0],"ui-controlgroup-data",q?q:m[c]("instance")),b.push(v[0]))})))});this.childWidgets=e(e.unique(b));this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(a){this.childWidgets.each(function(){var b=e(this).data("ui-controlgroup-data");if(b&&b[a])b[a]()})},_updateCornerClass:function(a,b){b=this._buildSimpleOptions(b,"label").classes.label;
  this._removeClass(a,null,"ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all");this._addClass(a,null,b)},_buildSimpleOptions:function(a,b){var c="vertical"===this.options.direction,f={classes:{}};f.classes[b]={middle:"",first:"ui-corner-"+(c?"top":"left"),last:"ui-corner-"+(c?"bottom":"right"),only:"ui-corner-all"}[a];return f},_spinnerOptions:function(a){a=this._buildSimpleOptions(a,"ui-spinner");a.classes["ui-spinner-up"]="";a.classes["ui-spinner-down"]="";return a},_buttonOptions:function(a){return this._buildSimpleOptions(a,
  "ui-button")},_checkboxradioOptions:function(a){return this._buildSimpleOptions(a,"ui-checkboxradio-label")},_selectmenuOptions:function(a){var b="vertical"===this.options.direction;return{width:b?"auto":!1,classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(b?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(b?"top":"left")},last:{"ui-selectmenu-button-open":b?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+
  (b?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[a]}},_resolveClassesValues:function(a,b){var c={};e.each(a,function(f){var h=b.options.classes[f]||"";h=e.trim(h.replace(jb,""));c[f]=(h+" "+a[f]).replace(/\s+/g," ")});return c},_setOption:function(a,b){"direction"===a&&this._removeClass("ui-controlgroup-"+this.options.direction);this._super(a,b);"disabled"===a?this._callChildMethod(b?"disable":"enable"):this.refresh()},refresh:function(){var a=
  this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction);"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix");this._initWidgets();var b=this.childWidgets;this.options.onlyVisible&&(b=b.filter(":visible"));b.length&&(e.each(["first","last"],function(c,f){(c=b[f]().data("ui-controlgroup-data"))&&a["_"+c.widgetName+"Options"]?(f=a["_"+c.widgetName+"Options"](1===b.length?"only":f),f.classes=a._resolveClassesValues(f.classes,c),c.element[c.widgetName](f)):
  a._updateCornerClass(b[f](),f)}),this._callChildMethod("refresh"))}});e.widget("ui.checkboxradio",[e.ui.formResetMixin,{version:"1.12.1",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var a=this,b=this._super()||{};this._readType();var c=this.element.labels();this.label=e(c[c.length-1]);this.label.length||e.error("No label found for checkboxradio widget");this.originalLabel="";this.label.contents().not(this.element[0]).each(function(){a.originalLabel+=
  3===this.nodeType?e(this).text():this.outerHTML});this.originalLabel&&(b.label=this.originalLabel);c=this.element[0].disabled;null!=c&&(b.disabled=c);return b},_create:function(){var a=this.element[0].checked;this._bindFormResetHandler();null==this.options.disabled&&(this.options.disabled=this.element[0].disabled);this._setOption("disabled",this.options.disabled);this._addClass("ui-checkboxradio","ui-helper-hidden-accessible");this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget");
  "radio"===this.type&&this._addClass(this.label,"ui-checkboxradio-radio-label");this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel);this._enhance();a&&(this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this.icon&&this._addClass(this.icon,null,"ui-state-hover"));this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,
  null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var a=this.element[0].nodeName.toLowerCase();this.type=this.element[0].type;"input"===a&&/radio|checkbox/.test(this.type)||e.error("Can't create checkboxradio on element.nodeName\x3d"+a+" and element.type\x3d"+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var a=this.element[0].name,b="input[name\x3d'"+e.ui.escapeSelector(a)+"']";return a?(this.form.length?
  e(this.form[0].elements).filter(b):e(b).filter(function(){return 0===e(this).form().length})).not(this.element):e([])},_toggleClasses:function(){var a=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",a);this.options.icon&&"checkbox"===this.type&&this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",a)._toggleClass(this.icon,null,"ui-icon-blank",!a);"radio"===this.type&&this._getRadioGroup().each(function(){var b=e(this).checkboxradio("instance");
  b&&b._removeClass(b.label,"ui-checkboxradio-checked","ui-state-active")})},_destroy:function(){this._unbindFormResetHandler();this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(a,b){if("label"!==a||b)this._super(a,b),"disabled"===a?(this._toggleClass(this.label,null,"ui-state-disabled",b),this.element[0].disabled=b):this.refresh()},_updateIcon:function(a){var b="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=e("\x3cspan\x3e"),this.iconSpace=e("\x3cspan\x3e \x3c/span\x3e"),
  this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),"checkbox"===this.type?(b+=a?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,a?"ui-icon-blank":"ui-icon-check")):b+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",b),a||this._removeClass(this.icon,null,"ui-icon-check ui-state-checked"),this.icon.prependTo(this.label).after(this.iconSpace)):void 0!==this.icon&&(this.icon.remove(),this.iconSpace.remove(),delete this.icon)},_updateLabel:function(){var a=
  this.label.contents().not(this.element[0]);this.icon&&(a=a.not(this.icon[0]));this.iconSpace&&(a=a.not(this.iconSpace[0]));a.remove();this.label.append(this.options.label)},refresh:function(){var a=this.element[0].checked,b=this.element[0].disabled;this._updateIcon(a);this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",a);null!==this.options.label&&this._updateLabel();b!==this.options.disabled&&this._setOptions({disabled:b})}}]);e.widget("ui.button",{version:"1.12.1",defaultElement:"\x3cbutton\x3e",
  options:{classes:{"ui-button":"ui-corner-all"},disabled:null,icon:null,iconPosition:"beginning",label:null,showLabel:!0},_getCreateOptions:function(){var a=this._super()||{};this.isInput=this.element.is("input");var b=this.element[0].disabled;null!=b&&(a.disabled=b);if(this.originalLabel=this.isInput?this.element.val():this.element.html())a.label=this.originalLabel;return a},_create:function(){!this.option.showLabel&!this.options.icon&&(this.options.showLabel=!0);null==this.options.disabled&&(this.options.disabled=
  this.element[0].disabled||!1);this.hasTitle=!!this.element.attr("title");this.options.label&&this.options.label!==this.originalLabel&&(this.isInput?this.element.val(this.options.label):this.element.html(this.options.label));this._addClass("ui-button","ui-widget");this._setOption("disabled",this.options.disabled);this._enhance();this.element.is("a")&&this._on({keyup:function(a){a.keyCode===e.ui.keyCode.SPACE&&(a.preventDefault(),this.element[0].click?this.element[0].click():this.element.trigger("click"))}})},
  _enhance:function(){this.element.is("button")||this.element.attr("role","button");this.options.icon&&(this._updateIcon("icon",this.options.icon),this._updateTooltip())},_updateTooltip:function(){this.title=this.element.attr("title");this.options.showLabel||this.title||this.element.attr("title",this.options.label)},_updateIcon:function(a,b){var c=(a="iconPosition"!==a)?this.options.iconPosition:b,f="top"===c||"bottom"===c;this.icon?a&&this._removeClass(this.icon,null,this.options.icon):(this.icon=
  e("\x3cspan\x3e"),this._addClass(this.icon,"ui-button-icon","ui-icon"),this.options.showLabel||this._addClass("ui-button-icon-only"));a&&this._addClass(this.icon,null,b);this._attachIcon(c);f?(this._addClass(this.icon,null,"ui-widget-icon-block"),this.iconSpace&&this.iconSpace.remove()):(this.iconSpace||(this.iconSpace=e("\x3cspan\x3e \x3c/span\x3e"),this._addClass(this.iconSpace,"ui-button-icon-space")),this._removeClass(this.icon,null,"ui-wiget-icon-block"),this._attachIconSpace(c))},_destroy:function(){this.element.removeAttr("role");
  this.icon&&this.icon.remove();this.iconSpace&&this.iconSpace.remove();this.hasTitle||this.element.removeAttr("title")},_attachIconSpace:function(a){this.icon[/^(?:end|bottom)/.test(a)?"before":"after"](this.iconSpace)},_attachIcon:function(a){this.element[/^(?:end|bottom)/.test(a)?"append":"prepend"](this.icon)},_setOptions:function(a){var b=void 0===a.icon?this.options.icon:a.icon;(void 0===a.showLabel?this.options.showLabel:a.showLabel)||b||(a.showLabel=!0);this._super(a)},_setOption:function(a,
  b){"icon"===a&&(b?this._updateIcon(a,b):this.icon&&(this.icon.remove(),this.iconSpace&&this.iconSpace.remove()));"iconPosition"===a&&this._updateIcon(a,b);"showLabel"===a&&(this._toggleClass("ui-button-icon-only",null,!b),this._updateTooltip());"label"===a&&(this.isInput?this.element.val(b):(this.element.html(b),this.icon&&(this._attachIcon(this.options.iconPosition),this._attachIconSpace(this.options.iconPosition))));this._super(a,b);"disabled"===a&&(this._toggleClass(null,"ui-state-disabled",b),
  (this.element[0].disabled=b)&&this.element.blur())},refresh:function(){var a=this.element.is("input, button")?this.element[0].disabled:this.element.hasClass("ui-button-disabled");a!==this.options.disabled&&this._setOptions({disabled:a});this._updateTooltip()}});!1!==e.uiBackCompat&&(e.widget("ui.button",e.ui.button,{options:{text:!0,icons:{primary:null,secondary:null}},_create:function(){this.options.showLabel&&!this.options.text&&(this.options.showLabel=this.options.text);!this.options.showLabel&&
  this.options.text&&(this.options.text=this.options.showLabel);this.options.icon||!this.options.icons.primary&&!this.options.icons.secondary?this.options.icon&&(this.options.icons.primary=this.options.icon):this.options.icons.primary?this.options.icon=this.options.icons.primary:(this.options.icon=this.options.icons.secondary,this.options.iconPosition="end");this._super()},_setOption:function(a,b){"text"===a?this._super("showLabel",b):("showLabel"===a&&(this.options.text=b),"icon"===a&&(this.options.icons.primary=
  b),"icons"===a&&(b.primary?(this._super("icon",b.primary),this._super("iconPosition","beginning")):b.secondary&&(this._super("icon",b.secondary),this._super("iconPosition","end"))),this._superApply(arguments))}}),e.fn.button=function(a){return function(){if(!this.length||this.length&&"INPUT"!==this[0].tagName||this.length&&"INPUT"===this[0].tagName&&"checkbox"!==this.attr("type")&&"radio"!==this.attr("type"))return a.apply(this,arguments);e.ui.checkboxradio||e.error("Checkboxradio widget missing");
  return 0===arguments.length?this.checkboxradio({icon:!1}):this.checkboxradio.apply(this,arguments)}}(e.fn.button),e.fn.buttonset=function(){e.ui.controlgroup||e.error("Controlgroup widget missing");if("option"===arguments[0]&&"items"===arguments[1]&&arguments[2])return this.controlgroup.apply(this,[arguments[0],"items.button",arguments[2]]);if("option"===arguments[0]&&"items"===arguments[1])return this.controlgroup.apply(this,[arguments[0],"items.button"]);"object"===typeof arguments[0]&&arguments[0].items&&
  (arguments[0].items={button:arguments[0].items});return this.controlgroup.apply(this,arguments)});e.extend(e.ui,{datepicker:{version:"1.12.1"}});var Ra;e.extend(ib.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(a){Ka(this._defaults,a||{});return this},_attachDatepicker:function(a,b){var c=a.nodeName.toLowerCase();var f="div"===c||"span"===c;a.id||(this.uuid+=1,a.id="dp"+this.uuid);var h=this._newInst(e(a),f);h.settings=e.extend({},
  b||{});"input"===c?this._connectDatepicker(a,h):f&&this._inlineDatepicker(a,h)},_newInst:function(a,b){return{id:a[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:a,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:b,dpDiv:b?Za(e("\x3cdiv class\x3d'"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'\x3e\x3c/div\x3e")):this.dpDiv}},_connectDatepicker:function(a,b){var c=e(a);b.append=e([]);b.trigger=e([]);c.hasClass(this.markerClassName)||
  (this._attachments(c,b),c.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(b),e.data(a,"datepicker",b),b.settings.disabled&&this._disableDatepicker(a))},_attachments:function(a,b){var c=this._get(b,"appendText");var f=this._get(b,"isRTL");b.append&&b.append.remove();c&&(b.append=e("\x3cspan class\x3d'"+this._appendClass+"'\x3e"+c+"\x3c/span\x3e"),a[f?"before":"after"](b.append));a.off("focus",this._showDatepicker);
  b.trigger&&b.trigger.remove();c=this._get(b,"showOn");if("focus"===c||"both"===c)a.on("focus",this._showDatepicker);if("button"===c||"both"===c){c=this._get(b,"buttonText");var h=this._get(b,"buttonImage");b.trigger=e(this._get(b,"buttonImageOnly")?e("\x3cimg/\x3e").addClass(this._triggerClass).attr({src:h,alt:c,title:c}):e("\x3cbutton type\x3d'button'\x3e\x3c/button\x3e").addClass(this._triggerClass).html(h?e("\x3cimg/\x3e").attr({src:h,alt:c,title:c}):c));a[f?"before":"after"](b.trigger);b.trigger.on("click",
  function(){e.datepicker._datepickerShowing&&e.datepicker._lastInput===a[0]?e.datepicker._hideDatepicker():(e.datepicker._datepickerShowing&&e.datepicker._lastInput!==a[0]&&e.datepicker._hideDatepicker(),e.datepicker._showDatepicker(a[0]));return!1})}},_autoSize:function(a){if(this._get(a,"autoSize")&&!a.inline){var b,c,f,h=new Date(2009,11,20),m=this._get(a,"dateFormat");if(m.match(/[DM]/)){var q=function(v){for(f=c=b=0;f<v.length;f++)v[f].length>b&&(b=v[f].length,c=f);return c};h.setMonth(q(this._get(a,
  m.match(/MM/)?"monthNames":"monthNamesShort")));h.setDate(q(this._get(a,m.match(/DD/)?"dayNames":"dayNamesShort"))+20-h.getDay())}a.input.attr("size",this._formatDate(a,h).length)}},_inlineDatepicker:function(a,b){var c=e(a);c.hasClass(this.markerClassName)||(c.addClass(this.markerClassName).append(b.dpDiv),e.data(a,"datepicker",b),this._setDate(b,this._getDefaultDate(b),!0),this._updateDatepicker(b),this._updateAlternate(b),b.settings.disabled&&this._disableDatepicker(a),b.dpDiv.css("display","block"))},
  _dialogDatepicker:function(a,b,c,f,h){a=this._dialogInst;a||(this.uuid+=1,a="dp"+this.uuid,this._dialogInput=e("\x3cinput type\x3d'text' id\x3d'"+a+"' style\x3d'position: absolute; top: -100px; width: 0px;'/\x3e"),this._dialogInput.on("keydown",this._doKeyDown),e("body").append(this._dialogInput),a=this._dialogInst=this._newInst(this._dialogInput,!1),a.settings={},e.data(this._dialogInput[0],"datepicker",a));Ka(a.settings,f||{});b=b&&b.constructor===Date?this._formatDate(a,b):b;this._dialogInput.val(b);
  this._pos=h?h.length?h:[h.pageX,h.pageY]:null;if(!this._pos){b=document.documentElement.clientWidth;f=document.documentElement.clientHeight;h=document.documentElement.scrollLeft||document.body.scrollLeft;var m=document.documentElement.scrollTop||document.body.scrollTop;this._pos=[b/2-100+h,f/2-150+m]}this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px");a.settings.onSelect=c;this._inDialog=!0;this.dpDiv.addClass(this._dialogClass);this._showDatepicker(this._dialogInput[0]);
  e.blockUI&&e.blockUI(this.dpDiv);e.data(this._dialogInput[0],"datepicker",a);return this},_destroyDatepicker:function(a){var b=e(a),c=e.data(a,"datepicker");if(b.hasClass(this.markerClassName)){var f=a.nodeName.toLowerCase();e.removeData(a,"datepicker");"input"===f?(c.append.remove(),c.trigger.remove(),b.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):"div"!==f&&"span"!==f||b.removeClass(this.markerClassName).empty();
  Ra===c&&(Ra=null)}},_enableDatepicker:function(a){var b=e(a),c=e.data(a,"datepicker");if(b.hasClass(this.markerClassName)){var f=a.nodeName.toLowerCase();if("input"===f)a.disabled=!1,c.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""});else if("div"===f||"span"===f)f=b.children("."+this._inlineClass),f.children().removeClass("ui-state-disabled"),f.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1);this._disabledInputs=
  e.map(this._disabledInputs,function(h){return h===a?null:h})}},_disableDatepicker:function(a){var b=e(a),c=e.data(a,"datepicker");if(b.hasClass(this.markerClassName)){var f=a.nodeName.toLowerCase();if("input"===f)a.disabled=!0,c.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"});else if("div"===f||"span"===f)f=b.children("."+this._inlineClass),f.children().addClass("ui-state-disabled"),f.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",
  !0);this._disabledInputs=e.map(this._disabledInputs,function(h){return h===a?null:h});this._disabledInputs[this._disabledInputs.length]=a}},_isDisabledDatepicker:function(a){if(!a)return!1;for(var b=0;b<this._disabledInputs.length;b++)if(this._disabledInputs[b]===a)return!0;return!1},_getInst:function(a){try{return e.data(a,"datepicker")}catch(b){throw"Missing instance data for this datepicker";}},_optionDatepicker:function(a,b,c){var f=this._getInst(a);if(2===arguments.length&&"string"===typeof b)return"defaults"===
  b?e.extend({},e.datepicker._defaults):f?"all"===b?e.extend({},f.settings):this._get(f,b):null;var h=b||{};"string"===typeof b&&(h={},h[b]=c);if(f){this._curInst===f&&this._hideDatepicker();var m=this._getDateDatepicker(a,!0);var q=this._getMinMaxDate(f,"min");var v=this._getMinMaxDate(f,"max");Ka(f.settings,h);null!==q&&void 0!==h.dateFormat&&void 0===h.minDate&&(f.settings.minDate=this._formatDate(f,q));null!==v&&void 0!==h.dateFormat&&void 0===h.maxDate&&(f.settings.maxDate=this._formatDate(f,v));
  "disabled"in h&&(h.disabled?this._disableDatepicker(a):this._enableDatepicker(a));this._attachments(e(a),f);this._autoSize(f);this._setDate(f,m);this._updateAlternate(f);this._updateDatepicker(f)}},_changeDatepicker:function(a,b,c){this._optionDatepicker(a,b,c)},_refreshDatepicker:function(a){(a=this._getInst(a))&&this._updateDatepicker(a)},_setDateDatepicker:function(a,b){if(a=this._getInst(a))this._setDate(a,b),this._updateDatepicker(a),this._updateAlternate(a)},_getDateDatepicker:function(a,b){(a=
  this._getInst(a))&&!a.inline&&this._setDateFromField(a,b);return a?this._getDate(a):null},_doKeyDown:function(a){var b=e.datepicker._getInst(a.target);var c=!0;var f=b.dpDiv.is(".ui-datepicker-rtl");b._keyEvent=!0;if(e.datepicker._datepickerShowing)switch(a.keyCode){case 9:e.datepicker._hideDatepicker();c=!1;break;case 13:return c=e("td."+e.datepicker._dayOverClass+":not(."+e.datepicker._currentClass+")",b.dpDiv),c[0]&&e.datepicker._selectDay(a.target,b.selectedMonth,b.selectedYear,c[0]),(a=e.datepicker._get(b,
  "onSelect"))?(c=e.datepicker._formatDate(b),a.apply(b.input?b.input[0]:null,[c,b])):e.datepicker._hideDatepicker(),!1;case 27:e.datepicker._hideDatepicker();break;case 33:e.datepicker._adjustDate(a.target,a.ctrlKey?-e.datepicker._get(b,"stepBigMonths"):-e.datepicker._get(b,"stepMonths"),"M");break;case 34:e.datepicker._adjustDate(a.target,a.ctrlKey?+e.datepicker._get(b,"stepBigMonths"):+e.datepicker._get(b,"stepMonths"),"M");break;case 35:(a.ctrlKey||a.metaKey)&&e.datepicker._clearDate(a.target);
  c=a.ctrlKey||a.metaKey;break;case 36:(a.ctrlKey||a.metaKey)&&e.datepicker._gotoToday(a.target);c=a.ctrlKey||a.metaKey;break;case 37:(a.ctrlKey||a.metaKey)&&e.datepicker._adjustDate(a.target,f?1:-1,"D");c=a.ctrlKey||a.metaKey;a.originalEvent.altKey&&e.datepicker._adjustDate(a.target,a.ctrlKey?-e.datepicker._get(b,"stepBigMonths"):-e.datepicker._get(b,"stepMonths"),"M");break;case 38:(a.ctrlKey||a.metaKey)&&e.datepicker._adjustDate(a.target,-7,"D");c=a.ctrlKey||a.metaKey;break;case 39:(a.ctrlKey||a.metaKey)&&
  e.datepicker._adjustDate(a.target,f?-1:1,"D");c=a.ctrlKey||a.metaKey;a.originalEvent.altKey&&e.datepicker._adjustDate(a.target,a.ctrlKey?+e.datepicker._get(b,"stepBigMonths"):+e.datepicker._get(b,"stepMonths"),"M");break;case 40:(a.ctrlKey||a.metaKey)&&e.datepicker._adjustDate(a.target,7,"D");c=a.ctrlKey||a.metaKey;break;default:c=!1}else 36===a.keyCode&&a.ctrlKey?e.datepicker._showDatepicker(this):c=!1;c&&(a.preventDefault(),a.stopPropagation())},_doKeyPress:function(a){var b=e.datepicker._getInst(a.target);
  if(e.datepicker._get(b,"constrainInput")){b=e.datepicker._possibleChars(e.datepicker._get(b,"dateFormat"));var c=String.fromCharCode(null==a.charCode?a.keyCode:a.charCode);return a.ctrlKey||a.metaKey||" ">c||!b||-1<b.indexOf(c)}},_doKeyUp:function(a){var b;a=e.datepicker._getInst(a.target);if(a.input.val()!==a.lastVal)try{if(b=e.datepicker.parseDate(e.datepicker._get(a,"dateFormat"),a.input?a.input.val():null,e.datepicker._getFormatConfig(a)))e.datepicker._setDateFromField(a),e.datepicker._updateAlternate(a),
  e.datepicker._updateDatepicker(a)}catch(c){}return!0},_showDatepicker:function(a){a=a.target||a;"input"!==a.nodeName.toLowerCase()&&(a=e("input",a.parentNode)[0]);if(!e.datepicker._isDisabledDatepicker(a)&&e.datepicker._lastInput!==a){var b=e.datepicker._getInst(a);e.datepicker._curInst&&e.datepicker._curInst!==b&&(e.datepicker._curInst.dpDiv.stop(!0,!0),b&&e.datepicker._datepickerShowing&&e.datepicker._hideDatepicker(e.datepicker._curInst.input[0]));var c=(c=e.datepicker._get(b,"beforeShow"))?c.apply(a,
  [a,b]):{};if(!1!==c){Ka(b.settings,c);b.lastVal=null;e.datepicker._lastInput=a;e.datepicker._setDateFromField(b);e.datepicker._inDialog&&(a.value="");e.datepicker._pos||(e.datepicker._pos=e.datepicker._findPos(a),e.datepicker._pos[1]+=a.offsetHeight);var f=!1;e(a).parents().each(function(){f|="fixed"===e(this).css("position");return!f});c={left:e.datepicker._pos[0],top:e.datepicker._pos[1]};e.datepicker._pos=null;b.dpDiv.empty();b.dpDiv.css({position:"absolute",display:"block",top:"-1000px"});e.datepicker._updateDatepicker(b);
  c=e.datepicker._checkOffset(b,c,f);b.dpDiv.css({position:e.datepicker._inDialog&&e.blockUI?"static":f?"fixed":"absolute",display:"none",left:c.left+"px",top:c.top+"px"});if(!b.inline){c=e.datepicker._get(b,"showAnim");var h=e.datepicker._get(b,"duration");b.dpDiv.css("z-index",ob(e(a))+1);e.datepicker._datepickerShowing=!0;if(e.effects&&e.effects.effect[c])b.dpDiv.show(c,e.datepicker._get(b,"showOptions"),h);else b.dpDiv[c||"show"](c?h:null);e.datepicker._shouldFocusInput(b)&&b.input.trigger("focus");
  e.datepicker._curInst=b}}}},_updateDatepicker:function(a){this.maxRows=4;Ra=a;a.dpDiv.empty().append(this._generateHTML(a));this._attachHandlers(a);var b=this._getNumberOfMonths(a),c=b[1],f=a.dpDiv.find("."+this._dayOverClass+" a");0<f.length&&wb.apply(f.get(0));a.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width("");1<c&&a.dpDiv.addClass("ui-datepicker-multi-"+c).css("width",17*c+"em");a.dpDiv[(1!==b[0]||1!==b[1]?"add":"remove")+"Class"]("ui-datepicker-multi");
  a.dpDiv[(this._get(a,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl");a===e.datepicker._curInst&&e.datepicker._datepickerShowing&&e.datepicker._shouldFocusInput(a)&&a.input.trigger("focus");if(a.yearshtml){var h=a.yearshtml;setTimeout(function(){h===a.yearshtml&&a.yearshtml&&a.dpDiv.find("select.ui-datepicker-year:first").replaceWith(a.yearshtml);h=a.yearshtml=null},0)}},_shouldFocusInput:function(a){return a.input&&a.input.is(":visible")&&!a.input.is(":disabled")&&!a.input.is(":focus")},_checkOffset:function(a,
  b,c){var f=a.dpDiv.outerWidth(),h=a.dpDiv.outerHeight(),m=a.input?a.input.outerWidth():0,q=a.input?a.input.outerHeight():0,v=document.documentElement.clientWidth+(c?0:e(document).scrollLeft()),x=document.documentElement.clientHeight+(c?0:e(document).scrollTop());b.left-=this._get(a,"isRTL")?f-m:0;b.left-=c&&b.left===a.input.offset().left?e(document).scrollLeft():0;b.top-=c&&b.top===a.input.offset().top+q?e(document).scrollTop():0;b.left-=Math.min(b.left,b.left+f>v&&v>f?Math.abs(b.left+f-v):0);b.top-=
  Math.min(b.top,b.top+h>x&&x>h?Math.abs(h+q):0);return b},_findPos:function(a){var b=this._getInst(a);for(b=this._get(b,"isRTL");a&&("hidden"===a.type||1!==a.nodeType||e.expr.filters.hidden(a));)a=a[b?"previousSibling":"nextSibling"];a=e(a).offset();return[a.left,a.top]},_hideDatepicker:function(a){var b=this._curInst;if(b&&(!a||b===e.data(a,"datepicker"))&&this._datepickerShowing){a=this._get(b,"showAnim");var c=this._get(b,"duration");var f=function(){e.datepicker._tidyDialog(b)};if(e.effects&&(e.effects.effect[a]||
  e.effects[a]))b.dpDiv.hide(a,e.datepicker._get(b,"showOptions"),c,f);else b.dpDiv["slideDown"===a?"slideUp":"fadeIn"===a?"fadeOut":"hide"](a?c:null,f);a||f();this._datepickerShowing=!1;(a=this._get(b,"onClose"))&&a.apply(b.input?b.input[0]:null,[b.input?b.input.val():"",b]);this._lastInput=null;this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),e.blockUI&&(e.unblockUI(),e("body").append(this.dpDiv)));this._inDialog=!1}},_tidyDialog:function(a){a.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},
  _checkExternalClick:function(a){if(e.datepicker._curInst){a=e(a.target);var b=e.datepicker._getInst(a[0]);(!(a[0].id===e.datepicker._mainDivId||0!==a.parents("#"+e.datepicker._mainDivId).length||a.hasClass(e.datepicker.markerClassName)||a.closest("."+e.datepicker._triggerClass).length||!e.datepicker._datepickerShowing||e.datepicker._inDialog&&e.blockUI)||a.hasClass(e.datepicker.markerClassName)&&e.datepicker._curInst!==b)&&e.datepicker._hideDatepicker()}},_adjustDate:function(a,b,c){a=e(a);var f=
  this._getInst(a[0]);this._isDisabledDatepicker(a[0])||(this._adjustInstDate(f,b+("M"===c?this._get(f,"showCurrentAtPos"):0),c),this._updateDatepicker(f))},_gotoToday:function(a){var b=e(a),c=this._getInst(b[0]);this._get(c,"gotoCurrent")&&c.currentDay?(c.selectedDay=c.currentDay,c.drawMonth=c.selectedMonth=c.currentMonth,c.drawYear=c.selectedYear=c.currentYear):(a=new Date,c.selectedDay=a.getDate(),c.drawMonth=c.selectedMonth=a.getMonth(),c.drawYear=c.selectedYear=a.getFullYear());this._notifyChange(c);
  this._adjustDate(b)},_selectMonthYear:function(a,b,c){a=e(a);var f=this._getInst(a[0]);f["selected"+("M"===c?"Month":"Year")]=f["draw"+("M"===c?"Month":"Year")]=parseInt(b.options[b.selectedIndex].value,10);this._notifyChange(f);this._adjustDate(a)},_selectDay:function(a,b,c,f){var h=e(a);e(f).hasClass(this._unselectableClass)||this._isDisabledDatepicker(h[0])||(h=this._getInst(h[0]),h.selectedDay=h.currentDay=e("a",f).html(),h.selectedMonth=h.currentMonth=b,h.selectedYear=h.currentYear=c,this._selectDate(a,
  this._formatDate(h,h.currentDay,h.currentMonth,h.currentYear)))},_clearDate:function(a){a=e(a);this._selectDate(a,"")},_selectDate:function(a,b){a=e(a);var c=this._getInst(a[0]);b=null!=b?b:this._formatDate(c);c.input&&c.input.val(b);this._updateAlternate(c);(a=this._get(c,"onSelect"))?a.apply(c.input?c.input[0]:null,[b,c]):c.input&&c.input.trigger("change");c.inline?this._updateDatepicker(c):(this._hideDatepicker(),this._lastInput=c.input[0],"object"!==typeof c.input[0]&&c.input.trigger("focus"),
  this._lastInput=null)},_updateAlternate:function(a){var b=this._get(a,"altField");if(b){var c=this._get(a,"altFormat")||this._get(a,"dateFormat");var f=this._getDate(a);a=this.formatDate(c,f,this._getFormatConfig(a));e(b).val(a)}},noWeekends:function(a){a=a.getDay();return[0<a&&6>a,""]},iso8601Week:function(a){var b=new Date(a.getTime());b.setDate(b.getDate()+4-(b.getDay()||7));a=b.getTime();b.setMonth(0);b.setDate(1);return Math.floor(Math.round((a-b)/864E5)/7)+1},parseDate:function(a,b,c){if(null==
  a||null==b)throw"Invalid arguments";b="object"===typeof b?b.toString():b+"";if(""===b)return null;var f,h=0;var m=(c?c.shortYearCutoff:null)||this._defaults.shortYearCutoff;m="string"!==typeof m?m:(new Date).getFullYear()%100+parseInt(m,10);var q=(c?c.dayNamesShort:null)||this._defaults.dayNamesShort;var v=(c?c.dayNames:null)||this._defaults.dayNames,x=(c?c.monthNamesShort:null)||this._defaults.monthNamesShort,F=(c?c.monthNames:null)||this._defaults.monthNames,G=c=-1,C=-1,E=-1,H=!1,D=function(P){(P=
  f+1<a.length&&a.charAt(f+1)===P)&&f++;return P},K=function(P){var T=D(P);T="@"===P?14:"!"===P?20:"y"===P&&T?4:"o"===P?3:2;P=new RegExp("^\\d{"+("y"===P?T:1)+","+T+"}");P=b.substring(h).match(P);if(!P)throw"Missing number at position "+h;h+=P[0].length;return parseInt(P[0],10)},L=function(P,T,Y){var da=-1;P=e.map(D(P)?Y:T,function(W,ja){return[[ja,W]]}).sort(function(W,ja){return-(W[1].length-ja[1].length)});e.each(P,function(W,ja){W=ja[1];if(b.substr(h,W.length).toLowerCase()===W.toLowerCase())return da=
  ja[0],h+=W.length,!1});if(-1!==da)return da+1;throw"Unknown name at position "+h;},J=function(){if(b.charAt(h)!==a.charAt(f))throw"Unexpected literal at position "+h;h++};for(f=0;f<a.length;f++)if(H)"'"!==a.charAt(f)||D("'")?J():H=!1;else switch(a.charAt(f)){case "d":C=K("d");break;case "D":L("D",q,v);break;case "o":E=K("o");break;case "m":G=K("m");break;case "M":G=L("M",x,F);break;case "y":c=K("y");break;case "@":var O=new Date(K("@"));c=O.getFullYear();G=O.getMonth()+1;C=O.getDate();break;case "!":O=
  new Date((K("!")-this._ticksTo1970)/1E4);c=O.getFullYear();G=O.getMonth()+1;C=O.getDate();break;case "'":D("'")?J():H=!0;break;default:J()}if(h<b.length&&(q=b.substr(h),!/^\s+/.test(q)))throw"Extra/unparsed characters found in date: "+q;-1===c?c=(new Date).getFullYear():100>c&&(c+=(new Date).getFullYear()-(new Date).getFullYear()%100+(c<=m?0:-100));if(-1<E){G=1;C=E;do{m=this._getDaysInMonth(c,G-1);if(C<=m)break;G++;C-=m}while(1)}O=this._daylightSavingAdjust(new Date(c,G-1,C));if(O.getFullYear()!==
  c||O.getMonth()+1!==G||O.getDate()!==C)throw"Invalid date";return O},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:62135596800*1E7,formatDate:function(a,b,c){if(!b)return"";var f,h=(c?c.dayNamesShort:null)||this._defaults.dayNamesShort,m=(c?c.dayNames:null)||this._defaults.dayNames,q=(c?c.monthNamesShort:null)||this._defaults.monthNamesShort;
  c=(c?c.monthNames:null)||this._defaults.monthNames;var v=function(E){(E=f+1<a.length&&a.charAt(f+1)===E)&&f++;return E},x=function(E,H,D){H=""+H;if(v(E))for(;H.length<D;)H="0"+H;return H},F=function(E,H,D,K){return v(E)?K[H]:D[H]},G="",C=!1;if(b)for(f=0;f<a.length;f++)if(C)"'"!==a.charAt(f)||v("'")?G+=a.charAt(f):C=!1;else switch(a.charAt(f)){case "d":G+=x("d",b.getDate(),2);break;case "D":G+=F("D",b.getDay(),h,m);break;case "o":G+=x("o",Math.round(((new Date(b.getFullYear(),b.getMonth(),b.getDate())).getTime()-
  (new Date(b.getFullYear(),0,0)).getTime())/864E5),3);break;case "m":G+=x("m",b.getMonth()+1,2);break;case "M":G+=F("M",b.getMonth(),q,c);break;case "y":G+=v("y")?b.getFullYear():(10>b.getFullYear()%100?"0":"")+b.getFullYear()%100;break;case "@":G+=b.getTime();break;case "!":G+=1E4*b.getTime()+this._ticksTo1970;break;case "'":v("'")?G+="'":C=!0;break;default:G+=a.charAt(f)}return G},_possibleChars:function(a){var b,c="",f=!1,h=function(m){(m=b+1<a.length&&a.charAt(b+1)===m)&&b++;return m};for(b=0;b<
  a.length;b++)if(f)"'"!==a.charAt(b)||h("'")?c+=a.charAt(b):f=!1;else switch(a.charAt(b)){case "d":case "m":case "y":case "@":c+="0123456789";break;case "D":case "M":return null;case "'":h("'")?c+="'":f=!0;break;default:c+=a.charAt(b)}return c},_get:function(a,b){return void 0!==a.settings[b]?a.settings[b]:this._defaults[b]},_setDateFromField:function(a,b){if(a.input.val()!==a.lastVal){var c=this._get(a,"dateFormat"),f=a.lastVal=a.input?a.input.val():null,h=this._getDefaultDate(a),m=h,q=this._getFormatConfig(a);
  try{m=this.parseDate(c,f,q)||h}catch(v){f=b?"":f}a.selectedDay=m.getDate();a.drawMonth=a.selectedMonth=m.getMonth();a.drawYear=a.selectedYear=m.getFullYear();a.currentDay=f?m.getDate():0;a.currentMonth=f?m.getMonth():0;a.currentYear=f?m.getFullYear():0;this._adjustInstDate(a)}},_getDefaultDate:function(a){return this._restrictMinMax(a,this._determineDate(a,this._get(a,"defaultDate"),new Date))},_determineDate:function(a,b,c){var f=function(m){var q=new Date;q.setDate(q.getDate()+m);return q},h=function(m){try{return e.datepicker.parseDate(e.datepicker._get(a,
  "dateFormat"),m,e.datepicker._getFormatConfig(a))}catch(C){}var q=(m.toLowerCase().match(/^c/)?e.datepicker._getDate(a):null)||new Date,v=q.getFullYear(),x=q.getMonth();q=q.getDate();for(var F=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,G=F.exec(m);G;){switch(G[2]||"d"){case "d":case "D":q+=parseInt(G[1],10);break;case "w":case "W":q+=7*parseInt(G[1],10);break;case "m":case "M":x+=parseInt(G[1],10);q=Math.min(q,e.datepicker._getDaysInMonth(v,x));break;case "y":case "Y":v+=parseInt(G[1],10),q=Math.min(q,
  e.datepicker._getDaysInMonth(v,x))}G=F.exec(m)}return new Date(v,x,q)};if(b=(b=null==b||""===b?c:"string"===typeof b?h(b):"number"===typeof b?isNaN(b)?c:f(b):new Date(b.getTime()))&&"Invalid Date"===b.toString()?c:b)b.setHours(0),b.setMinutes(0),b.setSeconds(0),b.setMilliseconds(0);return this._daylightSavingAdjust(b)},_daylightSavingAdjust:function(a){if(!a)return null;a.setHours(12<a.getHours()?a.getHours()+2:0);return a},_setDate:function(a,b,c){var f=!b,h=a.selectedMonth,m=a.selectedYear;b=this._restrictMinMax(a,
  this._determineDate(a,b,new Date));a.selectedDay=a.currentDay=b.getDate();a.drawMonth=a.selectedMonth=a.currentMonth=b.getMonth();a.drawYear=a.selectedYear=a.currentYear=b.getFullYear();h===a.selectedMonth&&m===a.selectedYear||c||this._notifyChange(a);this._adjustInstDate(a);a.input&&a.input.val(f?"":this._formatDate(a))},_getDate:function(a){return!a.currentYear||a.input&&""===a.input.val()?null:this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay))},_attachHandlers:function(a){var b=
  this._get(a,"stepMonths"),c="#"+a.id.replace(/\\\\/g,"\\");a.dpDiv.find("[data-handler]").map(function(){e(this).on(this.getAttribute("data-event"),{prev:function(){e.datepicker._adjustDate(c,-b,"M")},next:function(){e.datepicker._adjustDate(c,+b,"M")},hide:function(){e.datepicker._hideDatepicker()},today:function(){e.datepicker._gotoToday(c)},selectDay:function(){e.datepicker._selectDay(c,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this);return!1},selectMonth:function(){e.datepicker._selectMonthYear(c,
  this,"M");return!1},selectYear:function(){e.datepicker._selectMonthYear(c,this,"Y");return!1}}[this.getAttribute("data-handler")])})},_generateHTML:function(a){var b,c,f,h,m=new Date;m=this._daylightSavingAdjust(new Date(m.getFullYear(),m.getMonth(),m.getDate()));var q=this._get(a,"isRTL");var v=this._get(a,"showButtonPanel");var x=this._get(a,"hideIfNoPrevNext");var F=this._get(a,"navigationAsDateFormat");var G=this._getNumberOfMonths(a),C=this._get(a,"showCurrentAtPos");var E=this._get(a,"stepMonths");
  var H=1!==G[0]||1!==G[1],D=this._daylightSavingAdjust(a.currentDay?new Date(a.currentYear,a.currentMonth,a.currentDay):new Date(9999,9,9)),K=this._getMinMaxDate(a,"min"),L=this._getMinMaxDate(a,"max");C=a.drawMonth-C;var J=a.drawYear;0>C&&(C+=12,J--);if(L){var O=this._daylightSavingAdjust(new Date(L.getFullYear(),L.getMonth()-G[0]*G[1]+1,L.getDate()));for(O=K&&O<K?K:O;this._daylightSavingAdjust(new Date(J,C,1))>O;)C--,0>C&&(C=11,J--)}a.drawMonth=C;a.drawYear=J;O=this._get(a,"prevText");O=F?this.formatDate(O,
  this._daylightSavingAdjust(new Date(J,C-E,1)),this._getFormatConfig(a)):O;O=this._canAdjustMonth(a,-1,J,C)?"\x3ca class\x3d'ui-datepicker-prev ui-corner-all' data-handler\x3d'prev' data-event\x3d'click' title\x3d'"+O+"'\x3e\x3cspan class\x3d'ui-icon ui-icon-circle-triangle-"+(q?"e":"w")+"'\x3e"+O+"\x3c/span\x3e\x3c/a\x3e":x?"":"\x3ca class\x3d'ui-datepicker-prev ui-corner-all ui-state-disabled' title\x3d'"+O+"'\x3e\x3cspan class\x3d'ui-icon ui-icon-circle-triangle-"+(q?"e":"w")+"'\x3e"+O+"\x3c/span\x3e\x3c/a\x3e";
  var P=this._get(a,"nextText");P=F?this.formatDate(P,this._daylightSavingAdjust(new Date(J,C+E,1)),this._getFormatConfig(a)):P;x=this._canAdjustMonth(a,1,J,C)?"\x3ca class\x3d'ui-datepicker-next ui-corner-all' data-handler\x3d'next' data-event\x3d'click' title\x3d'"+P+"'\x3e\x3cspan class\x3d'ui-icon ui-icon-circle-triangle-"+(q?"w":"e")+"'\x3e"+P+"\x3c/span\x3e\x3c/a\x3e":x?"":"\x3ca class\x3d'ui-datepicker-next ui-corner-all ui-state-disabled' title\x3d'"+P+"'\x3e\x3cspan class\x3d'ui-icon ui-icon-circle-triangle-"+
  (q?"w":"e")+"'\x3e"+P+"\x3c/span\x3e\x3c/a\x3e";E=this._get(a,"currentText");P=this._get(a,"gotoCurrent")&&a.currentDay?D:m;E=F?this.formatDate(E,P,this._getFormatConfig(a)):E;F=a.inline?"":"\x3cbutton type\x3d'button' class\x3d'ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler\x3d'hide' data-event\x3d'click'\x3e"+this._get(a,"closeText")+"\x3c/button\x3e";v=v?"\x3cdiv class\x3d'ui-datepicker-buttonpane ui-widget-content'\x3e"+(q?F:"")+(this._isInRange(a,P)?"\x3cbutton type\x3d'button' class\x3d'ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler\x3d'today' data-event\x3d'click'\x3e"+
  E+"\x3c/button\x3e":"")+(q?"":F)+"\x3c/div\x3e":"";F=parseInt(this._get(a,"firstDay"),10);F=isNaN(F)?0:F;E=this._get(a,"showWeek");P=this._get(a,"dayNames");var T=this._get(a,"dayNamesMin");var Y=this._get(a,"monthNames");var da=this._get(a,"monthNamesShort");var W=this._get(a,"beforeShowDay");var ja=this._get(a,"showOtherMonths");var na=this._get(a,"selectOtherMonths");var oa=this._getDefaultDate(a);var ab="";for(b=0;b<G[0];b++){var mb="";this.maxRows=4;for(c=0;c<G[1];c++){var bb=this._daylightSavingAdjust(new Date(J,
  C,a.selectedDay));var Aa=" ui-corner-all";var qa="";if(H){qa+="\x3cdiv class\x3d'ui-datepicker-group";if(1<G[1])switch(c){case 0:qa+=" ui-datepicker-group-first";Aa=" ui-corner-"+(q?"right":"left");break;case G[1]-1:qa+=" ui-datepicker-group-last";Aa=" ui-corner-"+(q?"left":"right");break;default:qa+=" ui-datepicker-group-middle",Aa=""}qa+="'\x3e"}qa+="\x3cdiv class\x3d'ui-datepicker-header ui-widget-header ui-helper-clearfix"+Aa+"'\x3e"+(/all|left/.test(Aa)&&0===b?q?x:O:"")+(/all|right/.test(Aa)&&
  0===b?q?O:x:"")+this._generateMonthYearHeader(a,C,J,K,L,0<b||0<c,Y,da)+"\x3c/div\x3e\x3ctable class\x3d'ui-datepicker-calendar'\x3e\x3cthead\x3e\x3ctr\x3e";var ua=E?"\x3cth class\x3d'ui-datepicker-week-col'\x3e"+this._get(a,"weekHeader")+"\x3c/th\x3e":"";for(Aa=0;7>Aa;Aa++){var ra=(Aa+F)%7;ua+="\x3cth scope\x3d'col'"+(5<=(Aa+F+6)%7?" class\x3d'ui-datepicker-week-end'":"")+"\x3e\x3cspan title\x3d'"+P[ra]+"'\x3e"+T[ra]+"\x3c/span\x3e\x3c/th\x3e"}qa+=ua+"\x3c/tr\x3e\x3c/thead\x3e\x3ctbody\x3e";ua=this._getDaysInMonth(J,
  C);J===a.selectedYear&&C===a.selectedMonth&&(a.selectedDay=Math.min(a.selectedDay,ua));Aa=(this._getFirstDayOfMonth(J,C)-F+7)%7;ua=Math.ceil((Aa+ua)/7);this.maxRows=ua=H?this.maxRows>ua?this.maxRows:ua:ua;ra=this._daylightSavingAdjust(new Date(J,C,1-Aa));for(f=0;f<ua;f++){qa+="\x3ctr\x3e";var La=E?"\x3ctd class\x3d'ui-datepicker-week-col'\x3e"+this._get(a,"calculateWeek")(ra)+"\x3c/td\x3e":"";for(Aa=0;7>Aa;Aa++){var Ma=W?W.apply(a.input?a.input[0]:null,[ra]):[!0,""];var Sa=(h=ra.getMonth()!==C)&&
  !na||!Ma[0]||K&&ra<K||L&&ra>L;La+="\x3ctd class\x3d'"+(5<=(Aa+F+6)%7?" ui-datepicker-week-end":"")+(h?" ui-datepicker-other-month":"")+(ra.getTime()===bb.getTime()&&C===a.selectedMonth&&a._keyEvent||oa.getTime()===ra.getTime()&&oa.getTime()===bb.getTime()?" "+this._dayOverClass:"")+(Sa?" "+this._unselectableClass+" ui-state-disabled":"")+(h&&!ja?"":" "+Ma[1]+(ra.getTime()===D.getTime()?" "+this._currentClass:"")+(ra.getTime()===m.getTime()?" ui-datepicker-today":""))+"'"+(h&&!ja||!Ma[2]?"":" title\x3d'"+
  Ma[2].replace(/'/g,"\x26#39;")+"'")+(Sa?"":" data-handler\x3d'selectDay' data-event\x3d'click' data-month\x3d'"+ra.getMonth()+"' data-year\x3d'"+ra.getFullYear()+"'")+"\x3e"+(h&&!ja?"\x26#xa0;":Sa?"\x3cspan class\x3d'ui-state-default'\x3e"+ra.getDate()+"\x3c/span\x3e":"\x3ca class\x3d'ui-state-default"+(ra.getTime()===m.getTime()?" ui-state-highlight":"")+(ra.getTime()===D.getTime()?" ui-state-active":"")+(h?" ui-priority-secondary":"")+"' href\x3d'#'\x3e"+ra.getDate()+"\x3c/a\x3e")+"\x3c/td\x3e";
  ra.setDate(ra.getDate()+1);ra=this._daylightSavingAdjust(ra)}qa+=La+"\x3c/tr\x3e"}C++;11<C&&(C=0,J++);qa+="\x3c/tbody\x3e\x3c/table\x3e"+(H?"\x3c/div\x3e"+(0<G[0]&&c===G[1]-1?"\x3cdiv class\x3d'ui-datepicker-row-break'\x3e\x3c/div\x3e":""):"");mb+=qa}ab+=mb}a._keyEvent=!1;return ab+v},_generateMonthYearHeader:function(a,b,c,f,h,m,q,v){var x,F=this._get(a,"changeMonth"),G=this._get(a,"changeYear"),C=this._get(a,"showMonthAfterYear"),E="\x3cdiv class\x3d'ui-datepicker-title'\x3e",H="";if(m||!F)H+="\x3cspan class\x3d'ui-datepicker-month'\x3e"+
  q[b]+"\x3c/span\x3e";else{q=f&&f.getFullYear()===c;var D=h&&h.getFullYear()===c;H+="\x3cselect class\x3d'ui-datepicker-month' data-handler\x3d'selectMonth' data-event\x3d'change'\x3e";for(x=0;12>x;x++)(!q||x>=f.getMonth())&&(!D||x<=h.getMonth())&&(H+="\x3coption value\x3d'"+x+"'"+(x===b?" selected\x3d'selected'":"")+"\x3e"+v[x]+"\x3c/option\x3e");H+="\x3c/select\x3e"}C||(E+=H+(!m&&F&&G?"":"\x26#xa0;"));if(!a.yearshtml)if(a.yearshtml="",m||!G)E+="\x3cspan class\x3d'ui-datepicker-year'\x3e"+c+"\x3c/span\x3e";
  else{v=this._get(a,"yearRange").split(":");var K=(new Date).getFullYear();q=function(L){L=L.match(/c[+\-].*/)?c+parseInt(L.substring(1),10):L.match(/[+\-].*/)?K+parseInt(L,10):parseInt(L,10);return isNaN(L)?K:L};b=q(v[0]);v=Math.max(b,q(v[1]||""));b=f?Math.max(b,f.getFullYear()):b;v=h?Math.min(v,h.getFullYear()):v;for(a.yearshtml+="\x3cselect class\x3d'ui-datepicker-year' data-handler\x3d'selectYear' data-event\x3d'change'\x3e";b<=v;b++)a.yearshtml+="\x3coption value\x3d'"+b+"'"+(b===c?" selected\x3d'selected'":
  "")+"\x3e"+b+"\x3c/option\x3e";a.yearshtml+="\x3c/select\x3e";E+=a.yearshtml;a.yearshtml=null}E+=this._get(a,"yearSuffix");C&&(E+=(!m&&F&&G?"":"\x26#xa0;")+H);return E+"\x3c/div\x3e"},_adjustInstDate:function(a,b,c){var f=a.selectedYear+("Y"===c?b:0),h=a.selectedMonth+("M"===c?b:0);b=Math.min(a.selectedDay,this._getDaysInMonth(f,h))+("D"===c?b:0);f=this._restrictMinMax(a,this._daylightSavingAdjust(new Date(f,h,b)));a.selectedDay=f.getDate();a.drawMonth=a.selectedMonth=f.getMonth();a.drawYear=a.selectedYear=
  f.getFullYear();"M"!==c&&"Y"!==c||this._notifyChange(a)},_restrictMinMax:function(a,b){var c=this._getMinMaxDate(a,"min");a=this._getMinMaxDate(a,"max");b=c&&b<c?c:b;return a&&b>a?a:b},_notifyChange:function(a){var b=this._get(a,"onChangeMonthYear");b&&b.apply(a.input?a.input[0]:null,[a.selectedYear,a.selectedMonth+1,a])},_getNumberOfMonths:function(a){a=this._get(a,"numberOfMonths");return null==a?[1,1]:"number"===typeof a?[1,a]:a},_getMinMaxDate:function(a,b){return this._determineDate(a,this._get(a,
  b+"Date"),null)},_getDaysInMonth:function(a,b){return 32-this._daylightSavingAdjust(new Date(a,b,32)).getDate()},_getFirstDayOfMonth:function(a,b){return(new Date(a,b,1)).getDay()},_canAdjustMonth:function(a,b,c,f){var h=this._getNumberOfMonths(a);c=this._daylightSavingAdjust(new Date(c,f+(0>b?b:h[0]*h[1]),1));0>b&&c.setDate(this._getDaysInMonth(c.getFullYear(),c.getMonth()));return this._isInRange(a,c)},_isInRange:function(a,b){var c=this._getMinMaxDate(a,"min"),f=this._getMinMaxDate(a,"max"),h=
  null,m=null;if(a=this._get(a,"yearRange")){a=a.split(":");var q=(new Date).getFullYear();h=parseInt(a[0],10);m=parseInt(a[1],10);a[0].match(/[+\-].*/)&&(h+=q);a[1].match(/[+\-].*/)&&(m+=q)}return(!c||b.getTime()>=c.getTime())&&(!f||b.getTime()<=f.getTime())&&(!h||b.getFullYear()>=h)&&(!m||b.getFullYear()<=m)},_getFormatConfig:function(a){var b=this._get(a,"shortYearCutoff");b="string"!==typeof b?b:(new Date).getFullYear()%100+parseInt(b,10);return{shortYearCutoff:b,dayNamesShort:this._get(a,"dayNamesShort"),
  dayNames:this._get(a,"dayNames"),monthNamesShort:this._get(a,"monthNamesShort"),monthNames:this._get(a,"monthNames")}},_formatDate:function(a,b,c,f){b||(a.currentDay=a.selectedDay,a.currentMonth=a.selectedMonth,a.currentYear=a.selectedYear);b=b?"object"===typeof b?b:this._daylightSavingAdjust(new Date(f,c,b)):this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay));return this.formatDate(this._get(a,"dateFormat"),b,this._getFormatConfig(a))}});e.fn.datepicker=function(a){if(!this.length)return this;
  e.datepicker.initialized||(e(document).on("mousedown",e.datepicker._checkExternalClick),e.datepicker.initialized=!0);0===e("#"+e.datepicker._mainDivId).length&&e("body").append(e.datepicker.dpDiv);var b=Array.prototype.slice.call(arguments,1);return"string"===typeof a&&("isDisabled"===a||"getDate"===a||"widget"===a)||"option"===a&&2===arguments.length&&"string"===typeof arguments[1]?e.datepicker["_"+a+"Datepicker"].apply(e.datepicker,[this[0]].concat(b)):this.each(function(){"string"===typeof a?e.datepicker["_"+
  a+"Datepicker"].apply(e.datepicker,[this].concat(b)):e.datepicker._attachDatepicker(this,a)})};e.datepicker=new ib;e.datepicker.initialized=!1;e.datepicker.uuid=(new Date).getTime();e.datepicker.version="1.12.1";e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var pb=!1;e(document).on("mouseup",function(){pb=!1});e.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var a=this;this.element.on("mousedown."+
  this.widgetName,function(b){return a._mouseDown(b)}).on("click."+this.widgetName,function(b){if(!0===e.data(b.target,a.widgetName+".preventClickEvent"))return e.removeData(b.target,a.widgetName+".preventClickEvent"),b.stopImmediatePropagation(),!1});this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName);this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(a){if(!pb){this._mouseMoved=
  !1;this._mouseStarted&&this._mouseUp(a);this._mouseDownEvent=a;var b=this,c=1===a.which,f="string"===typeof this.options.cancel&&a.target.nodeName?e(a.target).closest(this.options.cancel).length:!1;if(!c||f||!this._mouseCapture(a))return!0;this.mouseDelayMet=!this.options.delay;this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){b.mouseDelayMet=!0},this.options.delay));if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a)&&(this._mouseStarted=!1!==this._mouseStart(a),!this._mouseStarted))return a.preventDefault(),
  !0;!0===e.data(a.target,this.widgetName+".preventClickEvent")&&e.removeData(a.target,this.widgetName+".preventClickEvent");this._mouseMoveDelegate=function(h){return b._mouseMove(h)};this._mouseUpDelegate=function(h){return b._mouseUp(h)};this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate);a.preventDefault();return pb=!0}},_mouseMove:function(a){if(this._mouseMoved){if(e.ui.ie&&(!document.documentMode||9>document.documentMode)&&
  !a.button)return this._mouseUp(a);if(!a.which)if(a.originalEvent.altKey||a.originalEvent.ctrlKey||a.originalEvent.metaKey||a.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(a)}if(a.which||a.button)this._mouseMoved=!0;if(this._mouseStarted)return this._mouseDrag(a),a.preventDefault();this._mouseDistanceMet(a)&&this._mouseDelayMet(a)&&((this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,a))?this._mouseDrag(a):this._mouseUp(a));return!this._mouseStarted},
  _mouseUp:function(a){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate);this._mouseStarted&&(this._mouseStarted=!1,a.target===this._mouseDownEvent.target&&e.data(a.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(a));this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer);pb=this.ignoreMissingWhich=!1;a.preventDefault()},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-
  a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}});e.ui.plugin={add:function(a,b,c){var f;a=e.ui[a].prototype;for(f in c)a.plugins[f]=a.plugins[f]||[],a.plugins[f].push([b,c[f]])},call:function(a,b,c,f){if((b=a.plugins[b])&&(f||a.element[0].parentNode&&11!==a.element[0].parentNode.nodeType))for(f=0;f<b.length;f++)a.options[b[f][0]]&&
  b[f][1].apply(a.element,c)}};e.ui.safeBlur=function(a){a&&"body"!==a.nodeName.toLowerCase()&&e(a).trigger("blur")};e.widget("ui.draggable",e.ui.mouse,{version:"1.12.1",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,
  stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative();this.options.addClasses&&this._addClass("ui-draggable");this._setHandleClassName();this._mouseInit()},_setOption:function(a,b){this._super(a,b);"handle"===a&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){(this.helper||this.element).is(".ui-draggable-dragging")?this.destroyOnClear=!0:(this._removeHandleClassName(),this._mouseDestroy())},
  _mouseCapture:function(a){var b=this.options;if(this.helper||b.disabled||0<e(a.target).closest(".ui-resizable-handle").length)return!1;this.handle=this._getHandle(a);if(!this.handle)return!1;this._blurActiveElement(a);this._blockFrames(!0===b.iframeFix?"iframe":b.iframeFix);return!0},_blockFrames:function(a){this.iframeBlocks=this.document.find(a).map(function(){var b=e(this);return e("\x3cdiv\x3e").css("position","absolute").appendTo(b.parent()).outerWidth(b.outerWidth()).outerHeight(b.outerHeight()).offset(b.offset())[0]})},
  _unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(a){var b=e.ui.safeActiveElement(this.document[0]);e(a.target).closest(b).length||e.ui.safeBlur(b)},_mouseStart:function(a){var b=this.options;this.helper=this._createHelper(a);this._addClass(this.helper,"ui-draggable-dragging");this._cacheHelperProportions();e.ui.ddmanager&&(e.ui.ddmanager.current=this);this._cacheMargins();this.cssPosition=this.helper.css("position");this.scrollParent=
  this.helper.scrollParent(!0);this.offsetParent=this.helper.offsetParent();this.hasFixedAncestor=0<this.helper.parents().filter(function(){return"fixed"===e(this).css("position")}).length;this.positionAbs=this.element.offset();this._refreshOffsets(a);this.originalPosition=this.position=this._generatePosition(a,!1);this.originalPageX=a.pageX;this.originalPageY=a.pageY;b.cursorAt&&this._adjustOffsetFromHelper(b.cursorAt);this._setContainment();if(!1===this._trigger("start",a))return this._clear(),!1;
  this._cacheHelperProportions();e.ui.ddmanager&&!b.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,a);this._mouseDrag(a,!0);e.ui.ddmanager&&e.ui.ddmanager.dragStart(this,a);return!0},_refreshOffsets:function(a){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()};this.offset.click={left:a.pageX-this.offset.left,top:a.pageY-this.offset.top}},_mouseDrag:function(a,b){this.hasFixedAncestor&&
  (this.offset.parent=this._getParentOffset());this.position=this._generatePosition(a,!0);this.positionAbs=this._convertPositionTo("absolute");if(!b){b=this._uiHash();if(!1===this._trigger("drag",a,b))return this._mouseUp(new e.Event("mouseup",a)),!1;this.position=b.position}this.helper[0].style.left=this.position.left+"px";this.helper[0].style.top=this.position.top+"px";e.ui.ddmanager&&e.ui.ddmanager.drag(this,a);return!1},_mouseStop:function(a){var b=this,c=!1;e.ui.ddmanager&&!this.options.dropBehaviour&&
  (c=e.ui.ddmanager.drop(this,a));this.dropped&&(c=this.dropped,this.dropped=!1);"invalid"===this.options.revert&&!c||"valid"===this.options.revert&&c||!0===this.options.revert||e.isFunction(this.options.revert)&&this.options.revert.call(this.element,c)?e(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==b._trigger("stop",a)&&b._clear()}):!1!==this._trigger("stop",a)&&this._clear();return!1},_mouseUp:function(a){this._unblockFrames();e.ui.ddmanager&&
  e.ui.ddmanager.dragStop(this,a);this.handleElement.is(a.target)&&this.element.trigger("focus");return e.ui.mouse.prototype._mouseUp.call(this,a)},cancel:function(){this.helper.is(".ui-draggable-dragging")?this._mouseUp(new e.Event("mouseup",{target:this.element[0]})):this._clear();return this},_getHandle:function(a){return this.options.handle?!!e(a.target).closest(this.element.find(this.options.handle)).length:!0},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):
  this.element;this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(a){var b=this.options,c=e.isFunction(b.helper);a=c?e(b.helper.apply(this.element[0],[a])):"clone"===b.helper?this.element.clone().removeAttr("id"):this.element;a.parents("body").length||a.appendTo("parent"===b.appendTo?this.element[0].parentNode:b.appendTo);c&&a[0]===this.element[0]&&this._setPositionRelative();
  a[0]===this.element[0]||/(fixed|absolute)/.test(a.css("position"))||a.css("position","absolute");return a},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(a){"string"===typeof a&&(a=a.split(" "));e.isArray(a)&&(a={left:+a[0],top:+a[1]||0});"left"in a&&(this.offset.click.left=a.left+this.margins.left);"right"in a&&(this.offset.click.left=this.helperProportions.width-a.right+this.margins.left);
  "top"in a&&(this.offset.click.top=a.top+this.margins.top);"bottom"in a&&(this.offset.click.top=this.helperProportions.height-a.bottom+this.margins.top)},_isRootNode:function(a){return/(html|body)/i.test(a.tagName)||a===this.document[0]},_getParentOffset:function(){var a=this.offsetParent.offset(),b=this.document[0];"absolute"===this.cssPosition&&this.scrollParent[0]!==b&&e.contains(this.scrollParent[0],this.offsetParent[0])&&(a.left+=this.scrollParent.scrollLeft(),a.top+=this.scrollParent.scrollTop());
  this._isRootNode(this.offsetParent[0])&&(a={top:0,left:0});return{top:a.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:a.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var a=this.element.position(),b=this._isRootNode(this.scrollParent[0]);return{top:a.top-(parseInt(this.helper.css("top"),10)||0)+(b?0:this.scrollParent.scrollTop()),left:a.left-(parseInt(this.helper.css("left"),
  10)||0)+(b?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var a;var b=this.options;var c=this.document[0];this.relativeContainer=
  null;if(b.containment)if("window"===b.containment)this.containment=[e(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,e(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,e(window).scrollLeft()+e(window).width()-this.helperProportions.width-this.margins.left,e(window).scrollTop()+(e(window).height()||c.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];else if("document"===b.containment)this.containment=[0,0,e(c).width()-this.helperProportions.width-
  this.margins.left,(e(c).height()||c.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];else if(b.containment.constructor===Array)this.containment=b.containment;else{if("parent"===b.containment&&(b.containment=this.helper[0].parentNode),c=e(b.containment),a=c[0])b=/(scroll|auto)/.test(c.css("overflow")),this.containment=[(parseInt(c.css("borderLeftWidth"),10)||0)+(parseInt(c.css("paddingLeft"),10)||0),(parseInt(c.css("borderTopWidth"),10)||0)+(parseInt(c.css("paddingTop"),
  10)||0),(b?Math.max(a.scrollWidth,a.offsetWidth):a.offsetWidth)-(parseInt(c.css("borderRightWidth"),10)||0)-(parseInt(c.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(b?Math.max(a.scrollHeight,a.offsetHeight):a.offsetHeight)-(parseInt(c.css("borderBottomWidth"),10)||0)-(parseInt(c.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=c}else this.containment=null},_convertPositionTo:function(a,
  b){b||(b=this.position);a="absolute"===a?1:-1;var c=this._isRootNode(this.scrollParent[0]);return{top:b.top+this.offset.relative.top*a+this.offset.parent.top*a-("fixed"===this.cssPosition?-this.offset.scroll.top:c?0:this.offset.scroll.top)*a,left:b.left+this.offset.relative.left*a+this.offset.parent.left*a-("fixed"===this.cssPosition?-this.offset.scroll.left:c?0:this.offset.scroll.left)*a}},_generatePosition:function(a,b){var c=this.options,f=this._isRootNode(this.scrollParent[0]);var h=a.pageX;var m=
  a.pageY;f&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()});if(b){if(this.containment){if(this.relativeContainer){var q=this.relativeContainer.offset();q=[this.containment[0]+q.left,this.containment[1]+q.top,this.containment[2]+q.left,this.containment[3]+q.top]}else q=this.containment;a.pageX-this.offset.click.left<q[0]&&(h=q[0]+this.offset.click.left);a.pageY-this.offset.click.top<q[1]&&(m=q[1]+this.offset.click.top);a.pageX-this.offset.click.left>
  q[2]&&(h=q[2]+this.offset.click.left);a.pageY-this.offset.click.top>q[3]&&(m=q[3]+this.offset.click.top)}c.grid&&(m=c.grid[1]?this.originalPageY+Math.round((m-this.originalPageY)/c.grid[1])*c.grid[1]:this.originalPageY,m=q?m-this.offset.click.top>=q[1]||m-this.offset.click.top>q[3]?m:m-this.offset.click.top>=q[1]?m-c.grid[1]:m+c.grid[1]:m,h=c.grid[0]?this.originalPageX+Math.round((h-this.originalPageX)/c.grid[0])*c.grid[0]:this.originalPageX,h=q?h-this.offset.click.left>=q[0]||h-this.offset.click.left>
  q[2]?h:h-this.offset.click.left>=q[0]?h-c.grid[0]:h+c.grid[0]:h);"y"===c.axis&&(h=this.originalPageX);"x"===c.axis&&(m=this.originalPageY)}return{top:m-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:f?0:this.offset.scroll.top),left:h-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:f?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,
  "ui-draggable-dragging");this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove();this.helper=null;this.cancelHelperRemoval=!1;this.destroyOnClear&&this.destroy()},_trigger:function(a,b,c){c=c||this._uiHash();e.ui.plugin.call(this,a,[b,c,this],!0);/^(drag|start|stop)/.test(a)&&(this.positionAbs=this._convertPositionTo("absolute"),c.offset=this.positionAbs);return e.Widget.prototype._trigger.call(this,a,b,c)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,
  originalPosition:this.originalPosition,offset:this.positionAbs}}});e.ui.plugin.add("draggable","connectToSortable",{start:function(a,b,c){var f=e.extend({},b,{item:c.element});c.sortables=[];e(c.options.connectToSortable).each(function(){var h=e(this).sortable("instance");h&&!h.options.disabled&&(c.sortables.push(h),h.refreshPositions(),h._trigger("activate",a,f))})},stop:function(a,b,c){var f=e.extend({},b,{item:c.element});c.cancelHelperRemoval=!1;e.each(c.sortables,function(){this.isOver?(this.isOver=
  0,c.cancelHelperRemoval=!0,this.cancelHelperRemoval=!1,this._storedCSS={position:this.placeholder.css("position"),top:this.placeholder.css("top"),left:this.placeholder.css("left")},this._mouseStop(a),this.options.helper=this.options._helper):(this.cancelHelperRemoval=!0,this._trigger("deactivate",a,f))})},drag:function(a,b,c){e.each(c.sortables,function(){var f=!1,h=this;h.positionAbs=c.positionAbs;h.helperProportions=c.helperProportions;h.offset.click=c.offset.click;h._intersectsWith(h.containerCache)&&
  (f=!0,e.each(c.sortables,function(){this.positionAbs=c.positionAbs;this.helperProportions=c.helperProportions;this.offset.click=c.offset.click;this!==h&&this._intersectsWith(this.containerCache)&&e.contains(h.element[0],this.element[0])&&(f=!1);return f}));f?(h.isOver||(h.isOver=1,c._parent=b.helper.parent(),h.currentItem=b.helper.appendTo(h.element).data("ui-sortable-item",!0),h.options._helper=h.options.helper,h.options.helper=function(){return b.helper[0]},a.target=h.currentItem[0],h._mouseCapture(a,
  !0),h._mouseStart(a,!0,!0),h.offset.click.top=c.offset.click.top,h.offset.click.left=c.offset.click.left,h.offset.parent.left-=c.offset.parent.left-h.offset.parent.left,h.offset.parent.top-=c.offset.parent.top-h.offset.parent.top,c._trigger("toSortable",a),c.dropped=h.element,e.each(c.sortables,function(){this.refreshPositions()}),c.currentItem=c.element,h.fromOutside=c),h.currentItem&&(h._mouseDrag(a),b.position=h.position)):h.isOver&&(h.isOver=0,h.cancelHelperRemoval=!0,h.options._revert=h.options.revert,
  h.options.revert=!1,h._trigger("out",a,h._uiHash(h)),h._mouseStop(a,!0),h.options.revert=h.options._revert,h.options.helper=h.options._helper,h.placeholder&&h.placeholder.remove(),b.helper.appendTo(c._parent),c._refreshOffsets(a),b.position=c._generatePosition(a,!0),c._trigger("fromSortable",a),c.dropped=!1,e.each(c.sortables,function(){this.refreshPositions()}))})}});e.ui.plugin.add("draggable","cursor",{start:function(a,b,c){a=e("body");c=c.options;a.css("cursor")&&(c._cursor=a.css("cursor"));a.css("cursor",
  c.cursor)},stop:function(a,b,c){a=c.options;a._cursor&&e("body").css("cursor",a._cursor)}});e.ui.plugin.add("draggable","opacity",{start:function(a,b,c){a=e(b.helper);c=c.options;a.css("opacity")&&(c._opacity=a.css("opacity"));a.css("opacity",c.opacity)},stop:function(a,b,c){a=c.options;a._opacity&&e(b.helper).css("opacity",a._opacity)}});e.ui.plugin.add("draggable","scroll",{start:function(a,b,c){c.scrollParentNotHidden||(c.scrollParentNotHidden=c.helper.scrollParent(!1));c.scrollParentNotHidden[0]!==
  c.document[0]&&"HTML"!==c.scrollParentNotHidden[0].tagName&&(c.overflowOffset=c.scrollParentNotHidden.offset())},drag:function(a,b,c){b=c.options;var f=!1,h=c.scrollParentNotHidden[0],m=c.document[0];h!==m&&"HTML"!==h.tagName?(b.axis&&"x"===b.axis||(c.overflowOffset.top+h.offsetHeight-a.pageY<b.scrollSensitivity?h.scrollTop=f=h.scrollTop+b.scrollSpeed:a.pageY-c.overflowOffset.top<b.scrollSensitivity&&(h.scrollTop=f=h.scrollTop-b.scrollSpeed)),b.axis&&"y"===b.axis||(c.overflowOffset.left+h.offsetWidth-
  a.pageX<b.scrollSensitivity?h.scrollLeft=f=h.scrollLeft+b.scrollSpeed:a.pageX-c.overflowOffset.left<b.scrollSensitivity&&(h.scrollLeft=f=h.scrollLeft-b.scrollSpeed))):(b.axis&&"x"===b.axis||(a.pageY-e(m).scrollTop()<b.scrollSensitivity?f=e(m).scrollTop(e(m).scrollTop()-b.scrollSpeed):e(window).height()-(a.pageY-e(m).scrollTop())<b.scrollSensitivity&&(f=e(m).scrollTop(e(m).scrollTop()+b.scrollSpeed))),b.axis&&"y"===b.axis||(a.pageX-e(m).scrollLeft()<b.scrollSensitivity?f=e(m).scrollLeft(e(m).scrollLeft()-
  b.scrollSpeed):e(window).width()-(a.pageX-e(m).scrollLeft())<b.scrollSensitivity&&(f=e(m).scrollLeft(e(m).scrollLeft()+b.scrollSpeed))));!1!==f&&e.ui.ddmanager&&!b.dropBehaviour&&e.ui.ddmanager.prepareOffsets(c,a)}});e.ui.plugin.add("draggable","snap",{start:function(a,b,c){a=c.options;c.snapElements=[];e(a.snap.constructor!==String?a.snap.items||":data(ui-draggable)":a.snap).each(function(){var f=e(this),h=f.offset();this!==c.element[0]&&c.snapElements.push({item:this,width:f.outerWidth(),height:f.outerHeight(),
  top:h.top,left:h.left})})},drag:function(a,b,c){var f,h=c.options,m=h.snapTolerance,q=b.offset.left,v=q+c.helperProportions.width,x=b.offset.top,F=x+c.helperProportions.height;for(f=c.snapElements.length-1;0<=f;f--){var G=c.snapElements[f].left-c.margins.left;var C=G+c.snapElements[f].width;var E=c.snapElements[f].top-c.margins.top;var H=E+c.snapElements[f].height;if(v<G-m||q>C+m||F<E-m||x>H+m||!e.contains(c.snapElements[f].item.ownerDocument,c.snapElements[f].item))c.snapElements[f].snapping&&c.options.snap.release&&
  c.options.snap.release.call(c.element,a,e.extend(c._uiHash(),{snapItem:c.snapElements[f].item})),c.snapElements[f].snapping=!1;else{if("inner"!==h.snapMode){var D=Math.abs(E-F)<=m;var K=Math.abs(H-x)<=m;var L=Math.abs(G-v)<=m;var J=Math.abs(C-q)<=m;D&&(b.position.top=c._convertPositionTo("relative",{top:E-c.helperProportions.height,left:0}).top);K&&(b.position.top=c._convertPositionTo("relative",{top:H,left:0}).top);L&&(b.position.left=c._convertPositionTo("relative",{top:0,left:G-c.helperProportions.width}).left);
  J&&(b.position.left=c._convertPositionTo("relative",{top:0,left:C}).left)}var O=D||K||L||J;"outer"!==h.snapMode&&(D=Math.abs(E-x)<=m,K=Math.abs(H-F)<=m,L=Math.abs(G-q)<=m,J=Math.abs(C-v)<=m,D&&(b.position.top=c._convertPositionTo("relative",{top:E,left:0}).top),K&&(b.position.top=c._convertPositionTo("relative",{top:H-c.helperProportions.height,left:0}).top),L&&(b.position.left=c._convertPositionTo("relative",{top:0,left:G}).left),J&&(b.position.left=c._convertPositionTo("relative",{top:0,left:C-
  c.helperProportions.width}).left));!c.snapElements[f].snapping&&(D||K||L||J||O)&&c.options.snap.snap&&c.options.snap.snap.call(c.element,a,e.extend(c._uiHash(),{snapItem:c.snapElements[f].item}));c.snapElements[f].snapping=D||K||L||J||O}}}});e.ui.plugin.add("draggable","stack",{start:function(a,b,c){a=e.makeArray(e(c.options.stack)).sort(function(h,m){return(parseInt(e(h).css("zIndex"),10)||0)-(parseInt(e(m).css("zIndex"),10)||0)});if(a.length){var f=parseInt(e(a[0]).css("zIndex"),10)||0;e(a).each(function(h){e(this).css("zIndex",
  f+h)});this.css("zIndex",f+a.length)}}});e.ui.plugin.add("draggable","zIndex",{start:function(a,b,c){a=e(b.helper);c=c.options;a.css("zIndex")&&(c._zIndex=a.css("zIndex"));a.css("zIndex",c.zIndex)},stop:function(a,b,c){a=c.options;a._zIndex&&e(b.helper).css("zIndex",a._zIndex)}});e.widget("ui.resizable",e.ui.mouse,{version:"1.12.1",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},
  containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(a){return parseFloat(a)||0},_isNumber:function(a){return!isNaN(parseFloat(a))},_hasScroll:function(a,b){if("hidden"===e(a).css("overflow"))return!1;b=b&&"left"===b?"scrollLeft":"scrollTop";if(0<a[b])return!0;a[b]=1;var c=0<a[b];a[b]=0;return c},_create:function(){var a=this.options,b=this;this._addClass("ui-resizable");e.extend(this,
  {_aspectRatio:!!a.aspectRatio,aspectRatio:a.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:a.helper||a.ghost||a.animate?a.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)){this.element.wrap(e("\x3cdiv class\x3d'ui-wrapper' style\x3d'overflow: hidden;'\x3e\x3c/div\x3e").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),
  left:this.element.css("left")}));this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance"));this.elementIsWrapper=!0;var c={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")};this.element.css(c);this.originalElement.css("margin",0);this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize",
  "none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css(c);this._proportionallyResize()}this._setupHandles();if(a.autoHide)e(this.element).on("mouseenter",function(){a.disabled||(b._removeClass("ui-resizable-autohide"),b._handles.show())}).on("mouseleave",function(){a.disabled||b.resizing||(b._addClass("ui-resizable-autohide"),b._handles.hide())});this._mouseInit()},_destroy:function(){this._mouseDestroy();var a=
  function(c){e(c).removeData("resizable").removeData("ui-resizable").off(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){a(this.element);var b=this.element;this.originalElement.css({position:b.css("position"),width:b.outerWidth(),height:b.outerHeight(),top:b.css("top"),left:b.css("left")}).insertAfter(b);b.remove()}this.originalElement.css("resize",this.originalResizeStyle);a(this.originalElement);return this},_setOption:function(a,b){this._super(a,b);switch(a){case "handles":this._removeHandles(),
  this._setupHandles()}},_setupHandles:function(){var a=this.options,b,c=this;this.handles=a.handles||(e(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se");this._handles=e();if(this.handles.constructor===String){"all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw");var f=this.handles.split(",");this.handles={};for(b=0;b<f.length;b++){var h=
  e.trim(f[b]);var m="ui-resizable-"+h;var q=e("\x3cdiv\x3e");this._addClass(q,"ui-resizable-handle "+m);q.css({zIndex:a.zIndex});this.handles[h]=".ui-resizable-"+h;this.element.append(q)}}this._renderAxis=function(v){var x;v=v||this.element;for(x in this.handles){if(this.handles[x].constructor===String)this.handles[x]=this.element.children(this.handles[x]).first().show();else if(this.handles[x].jquery||this.handles[x].nodeType)this.handles[x]=e(this.handles[x]),this._on(this.handles[x],{mousedown:c._mouseDown});
  if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)){var F=e(this.handles[x],this.element);var G=/sw|ne|nw|se|n|s/.test(x)?F.outerHeight():F.outerWidth();F=["padding",/ne|nw|n/.test(x)?"Top":/se|sw|s/.test(x)?"Bottom":/^e$/.test(x)?"Right":"Left"].join("");v.css(F,G);this._proportionallyResize()}this._handles=this._handles.add(this.handles[x])}};this._renderAxis(this.element);this._handles=this._handles.add(this.element.find(".ui-resizable-handle"));
  this._handles.disableSelection();this._handles.on("mouseover",function(){c.resizing||(this.className&&(q=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),c.axis=q&&q[1]?q[1]:"se")});a.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._handles.remove()},_mouseCapture:function(a){var b,c=!1;for(b in this.handles){var f=e(this.handles[b])[0];if(f===a.target||e.contains(f,a.target))c=!0}return!this.options.disabled&&c},_mouseStart:function(a){var b=
  this.options,c=this.element;this.resizing=!0;this._renderProxy();var f=this._num(this.helper.css("left"));var h=this._num(this.helper.css("top"));b.containment&&(f+=e(b.containment).scrollLeft()||0,h+=e(b.containment).scrollTop()||0);this.offset=this.helper.offset();this.position={left:f,top:h};this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:c.width(),height:c.height()};this.originalSize=this._helper?{width:c.outerWidth(),height:c.outerHeight()}:{width:c.width(),
  height:c.height()};this.sizeDiff={width:c.outerWidth()-c.width(),height:c.outerHeight()-c.height()};this.originalPosition={left:f,top:h};this.originalMousePosition={left:a.pageX,top:a.pageY};this.aspectRatio="number"===typeof b.aspectRatio?b.aspectRatio:this.originalSize.width/this.originalSize.height||1;f=e(".ui-resizable-"+this.axis).css("cursor");e("body").css("cursor","auto"===f?this.axis+"-resize":f);this._addClass("ui-resizable-resizing");this._propagate("start",a);return!0},_mouseDrag:function(a){var b=
  this.originalMousePosition;var c=a.pageX-b.left||0;b=a.pageY-b.top||0;var f=this._change[this.axis];this._updatePrevProperties();if(!f)return!1;c=f.apply(this,[a,c,b]);this._updateVirtualBoundaries(a.shiftKey);if(this._aspectRatio||a.shiftKey)c=this._updateRatio(c,a);c=this._respectSize(c,a);this._updateCache(c);this._propagate("resize",a);c=this._applyChanges();!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize();e.isEmptyObject(c)||(this._updatePrevProperties(),
  this._trigger("resize",a,this.ui()),this._applyChanges());return!1},_mouseStop:function(a){this.resizing=!1;var b,c=this.options;if(this._helper){var f=this._proportionallyResizeElements;f=(b=f.length&&/textarea/i.test(f[0].nodeName))&&this._hasScroll(f[0],"left")?0:this.sizeDiff.height;b=b?0:this.sizeDiff.width;b={width:this.helper.width()-b,height:this.helper.height()-f};f=parseFloat(this.element.css("left"))+(this.position.left-this.originalPosition.left)||null;var h=parseFloat(this.element.css("top"))+
  (this.position.top-this.originalPosition.top)||null;c.animate||this.element.css(e.extend(b,{top:h,left:f}));this.helper.height(this.size.height);this.helper.width(this.size.width);this._helper&&!c.animate&&this._proportionallyResize()}e("body").css("cursor","auto");this._removeClass("ui-resizable-resizing");this._propagate("stop",a);this._helper&&this.helper.remove();return!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left};this.prevSize={width:this.size.width,
  height:this.size.height}},_applyChanges:function(){var a={};this.position.top!==this.prevPosition.top&&(a.top=this.position.top+"px");this.position.left!==this.prevPosition.left&&(a.left=this.position.left+"px");this.size.width!==this.prevSize.width&&(a.width=this.size.width+"px");this.size.height!==this.prevSize.height&&(a.height=this.size.height+"px");this.helper.css(a);return a},_updateVirtualBoundaries:function(a){var b=this.options;b={minWidth:this._isNumber(b.minWidth)?b.minWidth:0,maxWidth:this._isNumber(b.maxWidth)?
  b.maxWidth:Infinity,minHeight:this._isNumber(b.minHeight)?b.minHeight:0,maxHeight:this._isNumber(b.maxHeight)?b.maxHeight:Infinity};if(this._aspectRatio||a){a=b.minHeight*this.aspectRatio;var c=b.minWidth/this.aspectRatio;var f=b.maxHeight*this.aspectRatio;var h=b.maxWidth/this.aspectRatio;a>b.minWidth&&(b.minWidth=a);c>b.minHeight&&(b.minHeight=c);f<b.maxWidth&&(b.maxWidth=f);h<b.maxHeight&&(b.maxHeight=h)}this._vBoundaries=b},_updateCache:function(a){this.offset=this.helper.offset();this._isNumber(a.left)&&
  (this.position.left=a.left);this._isNumber(a.top)&&(this.position.top=a.top);this._isNumber(a.height)&&(this.size.height=a.height);this._isNumber(a.width)&&(this.size.width=a.width)},_updateRatio:function(a){var b=this.position,c=this.size,f=this.axis;this._isNumber(a.height)?a.width=a.height*this.aspectRatio:this._isNumber(a.width)&&(a.height=a.width/this.aspectRatio);"sw"===f&&(a.left=b.left+(c.width-a.width),a.top=null);"nw"===f&&(a.top=b.top+(c.height-a.height),a.left=b.left+(c.width-a.width));
  return a},_respectSize:function(a){var b=this._vBoundaries,c=this.axis,f=this._isNumber(a.width)&&b.maxWidth&&b.maxWidth<a.width,h=this._isNumber(a.height)&&b.maxHeight&&b.maxHeight<a.height,m=this._isNumber(a.width)&&b.minWidth&&b.minWidth>a.width,q=this._isNumber(a.height)&&b.minHeight&&b.minHeight>a.height,v=this.originalPosition.left+this.originalSize.width,x=this.originalPosition.top+this.originalSize.height,F=/sw|nw|w/.test(c);c=/nw|ne|n/.test(c);m&&(a.width=b.minWidth);q&&(a.height=b.minHeight);
  f&&(a.width=b.maxWidth);h&&(a.height=b.maxHeight);m&&F&&(a.left=v-b.minWidth);f&&F&&(a.left=v-b.maxWidth);q&&c&&(a.top=x-b.minHeight);h&&c&&(a.top=x-b.maxHeight);a.width||a.height||a.left||!a.top?a.width||a.height||a.top||!a.left||(a.left=null):a.top=null;return a},_getPaddingPlusBorderDimensions:function(a){var b=0,c=[],f=[a.css("borderTopWidth"),a.css("borderRightWidth"),a.css("borderBottomWidth"),a.css("borderLeftWidth")];for(a=[a.css("paddingTop"),a.css("paddingRight"),a.css("paddingBottom"),
  a.css("paddingLeft")];4>b;b++)c[b]=parseFloat(f[b])||0,c[b]+=parseFloat(a[b])||0;return{height:c[0]+c[2],width:c[1]+c[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var a,b=0,c=this.helper||this.element;b<this._proportionallyResizeElements.length;b++)a=this._proportionallyResizeElements[b],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(a)),a.css({height:c.height()-this.outerDimensions.height||0,width:c.width()-this.outerDimensions.width||
  0})},_renderProxy:function(){var a=this.options;this.elementOffset=this.element.offset();this._helper?(this.helper=this.helper||e("\x3cdiv style\x3d'overflow:hidden;'\x3e\x3c/div\x3e"),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++a.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(a,
  b){return{width:this.originalSize.width+b}},w:function(a,b){return{left:this.originalPosition.left+b,width:this.originalSize.width-b}},n:function(a,b,c){return{top:this.originalPosition.top+c,height:this.originalSize.height-c}},s:function(a,b,c){return{height:this.originalSize.height+c}},se:function(a,b,c){return e.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[a,b,c]))},sw:function(a,b,c){return e.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[a,b,
  c]))},ne:function(a,b,c){return e.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[a,b,c]))},nw:function(a,b,c){return e.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[a,b,c]))}},_propagate:function(a,b){e.ui.plugin.call(this,a,[b,this.ui()]);"resize"!==a&&this._trigger(a,b,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,
  originalPosition:this.originalPosition}}});e.ui.plugin.add("resizable","animate",{stop:function(a){var b=e(this).resizable("instance"),c=b.options,f=b._proportionallyResizeElements,h=f.length&&/textarea/i.test(f[0].nodeName),m=h&&b._hasScroll(f[0],"left")?0:b.sizeDiff.height;h={width:b.size.width-(h?0:b.sizeDiff.width),height:b.size.height-m};m=parseFloat(b.element.css("left"))+(b.position.left-b.originalPosition.left)||null;var q=parseFloat(b.element.css("top"))+(b.position.top-b.originalPosition.top)||
  null;b.element.animate(e.extend(h,q&&m?{top:q,left:m}:{}),{duration:c.animateDuration,easing:c.animateEasing,step:function(){var v={width:parseFloat(b.element.css("width")),height:parseFloat(b.element.css("height")),top:parseFloat(b.element.css("top")),left:parseFloat(b.element.css("left"))};f&&f.length&&e(f[0]).css({width:v.width,height:v.height});b._updateCache(v);b._propagate("resize",a)}})}});e.ui.plugin.add("resizable","containment",{start:function(){var a=e(this).resizable("instance"),b=a.element;
  var c=a.options.containment;if(b=c instanceof e?c.get(0):/parent/.test(c)?b.parent().get(0):c)if(a.containerElement=e(b),/document/.test(c)||c===document)a.containerOffset={left:0,top:0},a.containerPosition={left:0,top:0},a.parentData={element:e(document),left:0,top:0,width:e(document).width(),height:e(document).height()||document.body.parentNode.scrollHeight};else{var f=e(b);var h=[];e(["Top","Right","Left","Bottom"]).each(function(v,x){h[v]=a._num(f.css("padding"+x))});a.containerOffset=f.offset();
  a.containerPosition=f.position();a.containerSize={height:f.innerHeight()-h[3],width:f.innerWidth()-h[1]};c=a.containerOffset;var m=a.containerSize.height;var q=a.containerSize.width;q=a._hasScroll(b,"left")?b.scrollWidth:q;m=a._hasScroll(b)?b.scrollHeight:m;a.parentData={element:b,left:c.left,top:c.top,width:q,height:m}}},resize:function(a){var b=e(this).resizable("instance");var c=b.options;var f=b.containerOffset;var h=b.position;a=b._aspectRatio||a.shiftKey;var m={top:0,left:0},q=b.containerElement,
  v=!0;q[0]!==document&&/static/.test(q.css("position"))&&(m=f);h.left<(b._helper?f.left:0)&&(b.size.width+=b._helper?b.position.left-f.left:b.position.left-m.left,a&&(b.size.height=b.size.width/b.aspectRatio,v=!1),b.position.left=c.helper?f.left:0);h.top<(b._helper?f.top:0)&&(b.size.height+=b._helper?b.position.top-f.top:b.position.top,a&&(b.size.width=b.size.height*b.aspectRatio,v=!1),b.position.top=b._helper?f.top:0);c=b.containerElement.get(0)===b.element.parent().get(0);h=/relative|absolute/.test(b.containerElement.css("position"));
  c&&h?(b.offset.left=b.parentData.left+b.position.left,b.offset.top=b.parentData.top+b.position.top):(b.offset.left=b.element.offset().left,b.offset.top=b.element.offset().top);c=Math.abs(b.sizeDiff.width+(b._helper?b.offset.left-m.left:b.offset.left-f.left));f=Math.abs(b.sizeDiff.height+(b._helper?b.offset.top-m.top:b.offset.top-f.top));c+b.size.width>=b.parentData.width&&(b.size.width=b.parentData.width-c,a&&(b.size.height=b.size.width/b.aspectRatio,v=!1));f+b.size.height>=b.parentData.height&&(b.size.height=
  b.parentData.height-f,a&&(b.size.width=b.size.height*b.aspectRatio,v=!1));v||(b.position.left=b.prevPosition.left,b.position.top=b.prevPosition.top,b.size.width=b.prevSize.width,b.size.height=b.prevSize.height)},stop:function(){var a=e(this).resizable("instance"),b=a.options,c=a.containerOffset,f=a.containerPosition,h=a.containerElement,m=e(a.helper),q=m.offset(),v=m.outerWidth()-a.sizeDiff.width;m=m.outerHeight()-a.sizeDiff.height;a._helper&&!b.animate&&/relative/.test(h.css("position"))&&e(this).css({left:q.left-
  f.left-c.left,width:v,height:m});a._helper&&!b.animate&&/static/.test(h.css("position"))&&e(this).css({left:q.left-f.left-c.left,width:v,height:m})}});e.ui.plugin.add("resizable","alsoResize",{start:function(){var a=e(this).resizable("instance").options;e(a.alsoResize).each(function(){var b=e(this);b.data("ui-resizable-alsoresize",{width:parseFloat(b.width()),height:parseFloat(b.height()),left:parseFloat(b.css("left")),top:parseFloat(b.css("top"))})})},resize:function(a,b){a=e(this).resizable("instance");
  var c=a.originalSize,f=a.originalPosition,h={height:a.size.height-c.height||0,width:a.size.width-c.width||0,top:a.position.top-f.top||0,left:a.position.left-f.left||0};e(a.options.alsoResize).each(function(){var m=e(this),q=e(this).data("ui-resizable-alsoresize"),v={},x=m.parents(b.originalElement[0]).length?["width","height"]:["width","height","top","left"];e.each(x,function(F,G){(F=(q[G]||0)+(h[G]||0))&&0<=F&&(v[G]=F||null)});m.css(v)})},stop:function(){e(this).removeData("ui-resizable-alsoresize")}});
  e.ui.plugin.add("resizable","ghost",{start:function(){var a=e(this).resizable("instance"),b=a.size;a.ghost=a.originalElement.clone();a.ghost.css({opacity:.25,display:"block",position:"relative",height:b.height,width:b.width,margin:0,left:0,top:0});a._addClass(a.ghost,"ui-resizable-ghost");!1!==e.uiBackCompat&&"string"===typeof a.options.ghost&&a.ghost.addClass(this.options.ghost);a.ghost.appendTo(a.helper)},resize:function(){var a=e(this).resizable("instance");a.ghost&&a.ghost.css({position:"relative",
  height:a.size.height,width:a.size.width})},stop:function(){var a=e(this).resizable("instance");a.ghost&&a.helper&&a.helper.get(0).removeChild(a.ghost.get(0))}});e.ui.plugin.add("resizable","grid",{resize:function(){var a=e(this).resizable("instance"),b=a.options,c=a.size,f=a.originalSize,h=a.originalPosition,m=a.axis,q="number"===typeof b.grid?[b.grid,b.grid]:b.grid,v=q[0]||1,x=q[1]||1,F=Math.round((c.width-f.width)/v)*v;c=Math.round((c.height-f.height)/x)*x;var G=f.width+F,C=f.height+c,E=b.maxWidth&&
  b.maxWidth<G,H=b.maxHeight&&b.maxHeight<C,D=b.minWidth&&b.minWidth>G,K=b.minHeight&&b.minHeight>C;b.grid=q;D&&(G+=v);K&&(C+=x);E&&(G-=v);H&&(C-=x);if(/^(se|s|e)$/.test(m))a.size.width=G,a.size.height=C;else if(/^(ne)$/.test(m))a.size.width=G,a.size.height=C,a.position.top=h.top-c;else if(/^(sw)$/.test(m))a.size.width=G,a.size.height=C,a.position.left=h.left-F;else{if(0>=C-x||0>=G-v)var L=a._getPaddingPlusBorderDimensions(this);0<C-x?(a.size.height=C,a.position.top=h.top-c):(C=x-L.height,a.size.height=
  C,a.position.top=h.top+f.height-C);0<G-v?(a.size.width=G,a.position.left=h.left-F):(G=v-L.width,a.size.width=G,a.position.left=h.left+f.width-G)}}});e.widget("ui.dialog",{version:"1.12.1",options:{appendTo:"body",autoOpen:!0,buttons:[],classes:{"ui-dialog":"ui-corner-all","ui-dialog-titlebar":"ui-corner-all"},closeOnEscape:!0,closeText:"Close",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",
  using:function(a){var b=e(this).css(a).offset().top;0>b&&e(this).css("top",a.top-b)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},resizableRelatedOptions:{maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},_create:function(){this.originalCss={display:this.element[0].style.display,
  width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height};this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)};this.originalTitle=this.element.attr("title");null==this.options.title&&null!=this.originalTitle&&(this.options.title=this.originalTitle);this.options.disabled&&(this.options.disabled=!1);this._createWrapper();this.element.show().removeAttr("title").appendTo(this.uiDialog);
  this._addClass("ui-dialog-content","ui-widget-content");this._createTitlebar();this._createButtonPane();this.options.draggable&&e.fn.draggable&&this._makeDraggable();this.options.resizable&&e.fn.resizable&&this._makeResizable();this._isOpen=!1;this._trackFocus()},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var a=this.options.appendTo;return a&&(a.jquery||a.nodeType)?e(a):this.document.find(a||"body").eq(0)},_destroy:function(){var a=this.originalPosition;this._untrackInstance();
  this._destroyOverlay();this.element.removeUniqueId().css(this.originalCss).detach();this.uiDialog.remove();this.originalTitle&&this.element.attr("title",this.originalTitle);var b=a.parent.children().eq(a.index);b.length&&b[0]!==this.element[0]?b.before(this.element):a.parent.append(this.element)},widget:function(){return this.uiDialog},disable:e.noop,enable:e.noop,close:function(a){var b=this;this._isOpen&&!1!==this._trigger("beforeClose",a)&&(this._isOpen=!1,this._focusedElement=null,this._destroyOverlay(),
  this._untrackInstance(),this.opener.filter(":focusable").trigger("focus").length||e.ui.safeBlur(e.ui.safeActiveElement(this.document[0])),this._hide(this.uiDialog,this.options.hide,function(){b._trigger("close",a)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(a,b){var c=!1,f=this.uiDialog.siblings(".ui-front:visible").map(function(){return+e(this).css("z-index")}).get();f=Math.max.apply(null,f);f>=+this.uiDialog.css("z-index")&&(this.uiDialog.css("z-index",
  f+1),c=!0);c&&!b&&this._trigger("focus",a);return c},open:function(){var a=this;this._isOpen?this._moveToTop()&&this._focusTabbable():(this._isOpen=!0,this.opener=e(e.ui.safeActiveElement(this.document[0])),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this.overlay&&this.overlay.css("z-index",this.uiDialog.css("z-index")-1),this._show(this.uiDialog,this.options.show,function(){a._focusTabbable();a._trigger("focus")}),this._makeFocusTarget(),this._trigger("open"))},_focusTabbable:function(){var a=
  this._focusedElement;a||(a=this.element.find("[autofocus]"));a.length||(a=this.element.find(":tabbable"));a.length||(a=this.uiDialogButtonPane.find(":tabbable"));a.length||(a=this.uiDialogTitlebarClose.filter(":tabbable"));a.length||(a=this.uiDialog);a.eq(0).trigger("focus")},_keepFocus:function(a){function b(){var c=e.ui.safeActiveElement(this.document[0]);this.uiDialog[0]===c||e.contains(this.uiDialog[0],c)||this._focusTabbable()}a.preventDefault();b.call(this);this._delay(b)},_createWrapper:function(){this.uiDialog=
  e("\x3cdiv\x3e").hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo());this._addClass(this.uiDialog,"ui-dialog","ui-widget ui-widget-content ui-front");this._on(this.uiDialog,{keydown:function(a){if(this.options.closeOnEscape&&!a.isDefaultPrevented()&&a.keyCode&&a.keyCode===e.ui.keyCode.ESCAPE)a.preventDefault(),this.close(a);else if(a.keyCode===e.ui.keyCode.TAB&&!a.isDefaultPrevented()){var b=this.uiDialog.find(":tabbable"),c=b.filter(":first"),f=b.filter(":last");a.target!==f[0]&&
  a.target!==this.uiDialog[0]||a.shiftKey?a.target!==c[0]&&a.target!==this.uiDialog[0]||!a.shiftKey||(this._delay(function(){f.trigger("focus")}),a.preventDefault()):(this._delay(function(){c.trigger("focus")}),a.preventDefault())}},mousedown:function(a){this._moveToTop(a)&&this._focusTabbable()}});this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){this.uiDialogTitlebar=e("\x3cdiv\x3e");this._addClass(this.uiDialogTitlebar,
  "ui-dialog-titlebar","ui-widget-header ui-helper-clearfix");this._on(this.uiDialogTitlebar,{mousedown:function(b){e(b.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.trigger("focus")}});this.uiDialogTitlebarClose=e("\x3cbutton type\x3d'button'\x3e\x3c/button\x3e").button({label:e("\x3ca\x3e").text(this.options.closeText).html(),icon:"ui-icon-closethick",showLabel:!1}).appendTo(this.uiDialogTitlebar);this._addClass(this.uiDialogTitlebarClose,"ui-dialog-titlebar-close");this._on(this.uiDialogTitlebarClose,
  {click:function(b){b.preventDefault();this.close(b)}});var a=e("\x3cspan\x3e").uniqueId().prependTo(this.uiDialogTitlebar);this._addClass(a,"ui-dialog-title");this._title(a);this.uiDialogTitlebar.prependTo(this.uiDialog);this.uiDialog.attr({"aria-labelledby":a.attr("id")})},_title:function(a){this.options.title?a.text(this.options.title):a.html("\x26#160;")},_createButtonPane:function(){this.uiDialogButtonPane=e("\x3cdiv\x3e");this._addClass(this.uiDialogButtonPane,"ui-dialog-buttonpane","ui-widget-content ui-helper-clearfix");
  this.uiButtonSet=e("\x3cdiv\x3e").appendTo(this.uiDialogButtonPane);this._addClass(this.uiButtonSet,"ui-dialog-buttonset");this._createButtons()},_createButtons:function(){var a=this,b=this.options.buttons;this.uiDialogButtonPane.remove();this.uiButtonSet.empty();e.isEmptyObject(b)||e.isArray(b)&&!b.length?this._removeClass(this.uiDialog,"ui-dialog-buttons"):(e.each(b,function(c,f){f=e.isFunction(f)?{click:f,text:c}:f;f=e.extend({type:"button"},f);var h=f.click;c={icon:f.icon,iconPosition:f.iconPosition,
  showLabel:f.showLabel,icons:f.icons,text:f.text};delete f.click;delete f.icon;delete f.iconPosition;delete f.showLabel;delete f.icons;"boolean"===typeof f.text&&delete f.text;e("\x3cbutton\x3e\x3c/button\x3e",f).button(c).appendTo(a.uiButtonSet).on("click",function(){h.apply(a.element[0],arguments)})}),this._addClass(this.uiDialog,"ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog))},_makeDraggable:function(){function a(f){return{position:f.position,offset:f.offset}}var b=this,c=
  this.options;this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(f,h){b._addClass(e(this),"ui-dialog-dragging");b._blockFrames();b._trigger("dragStart",f,a(h))},drag:function(f,h){b._trigger("drag",f,a(h))},stop:function(f,h){var m=h.offset.left-b.document.scrollLeft(),q=h.offset.top-b.document.scrollTop();c.position={my:"left top",at:"left"+(0<=m?"+":"")+m+" top"+(0<=q?"+":"")+q,of:b.window};b._removeClass(e(this),
  "ui-dialog-dragging");b._unblockFrames();b._trigger("dragStop",f,a(h))}})},_makeResizable:function(){function a(m){return{originalPosition:m.originalPosition,originalSize:m.originalSize,position:m.position,size:m.size}}var b=this,c=this.options,f=c.resizable,h=this.uiDialog.css("position");f="string"===typeof f?f:"n,e,s,w,se,sw,ne,nw";this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:c.maxWidth,maxHeight:c.maxHeight,minWidth:c.minWidth,minHeight:this._minHeight(),
  handles:f,start:function(m,q){b._addClass(e(this),"ui-dialog-resizing");b._blockFrames();b._trigger("resizeStart",m,a(q))},resize:function(m,q){b._trigger("resize",m,a(q))},stop:function(m,q){var v=b.uiDialog.offset(),x=v.left-b.document.scrollLeft();v=v.top-b.document.scrollTop();c.height=b.uiDialog.height();c.width=b.uiDialog.width();c.position={my:"left top",at:"left"+(0<=x?"+":"")+x+" top"+(0<=v?"+":"")+v,of:b.window};b._removeClass(e(this),"ui-dialog-resizing");b._unblockFrames();b._trigger("resizeStop",
  m,a(q))}}).css("position",h)},_trackFocus:function(){this._on(this.widget(),{focusin:function(a){this._makeFocusTarget();this._focusedElement=e(a.target)}})},_makeFocusTarget:function(){this._untrackInstance();this._trackingInstances().unshift(this)},_untrackInstance:function(){var a=this._trackingInstances(),b=e.inArray(this,a);-1!==b&&a.splice(b,1)},_trackingInstances:function(){var a=this.document.data("ui-dialog-instances");a||(a=[],this.document.data("ui-dialog-instances",a));return a},_minHeight:function(){var a=
  this.options;return"auto"===a.height?a.minHeight:Math.min(a.minHeight,a.height)},_position:function(){var a=this.uiDialog.is(":visible");a||this.uiDialog.show();this.uiDialog.position(this.options.position);a||this.uiDialog.hide()},_setOptions:function(a){var b=this,c=!1,f={};e.each(a,function(h,m){b._setOption(h,m);h in b.sizeRelatedOptions&&(c=!0);h in b.resizableRelatedOptions&&(f[h]=m)});c&&(this._size(),this._position());this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",
  f)},_setOption:function(a,b){var c,f=this.uiDialog;"disabled"!==a&&(this._super(a,b),"appendTo"===a&&this.uiDialog.appendTo(this._appendTo()),"buttons"===a&&this._createButtons(),"closeText"===a&&this.uiDialogTitlebarClose.button({label:e("\x3ca\x3e").text(""+this.options.closeText).html()}),"draggable"===a&&((c=f.is(":data(ui-draggable)"))&&!b&&f.draggable("destroy"),!c&&b&&this._makeDraggable()),"position"===a&&this._position(),"resizable"===a&&((c=f.is(":data(ui-resizable)"))&&!b&&f.resizable("destroy"),
  c&&"string"===typeof b&&f.resizable("option","handles",b),c||!1===b||this._makeResizable()),"title"===a&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var a=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0});a.minWidth>a.width&&(a.width=a.minWidth);var b=this.uiDialog.css({height:"auto",width:a.width}).outerHeight();var c=Math.max(0,a.minHeight-b);var f="number"===typeof a.maxHeight?Math.max(0,a.maxHeight-b):"none";"auto"===
  a.height?this.element.css({minHeight:c,maxHeight:f,height:"auto"}):this.element.height(Math.max(0,a.height-b));this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var a=e(this);return e("\x3cdiv\x3e").css({position:"absolute",width:a.outerWidth(),height:a.outerHeight()}).appendTo(a.parent()).offset(a.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&
  (this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(a){return e(a.target).closest(".ui-dialog").length?!0:!!e(a.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var a=!0;this._delay(function(){a=!1});this.document.data("ui-dialog-overlays")||this._on(this.document,{focusin:function(b){a||this._allowInteraction(b)||(b.preventDefault(),this._trackingInstances()[0]._focusTabbable())}});this.overlay=e("\x3cdiv\x3e").appendTo(this._appendTo());
  this._addClass(this.overlay,null,"ui-widget-overlay ui-front");this._on(this.overlay,{mousedown:"_keepFocus"});this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1)}},_destroyOverlay:function(){if(this.options.modal&&this.overlay){var a=this.document.data("ui-dialog-overlays")-1;a?this.document.data("ui-dialog-overlays",a):(this._off(this.document,"focusin"),this.document.removeData("ui-dialog-overlays"));this.overlay.remove();this.overlay=null}}});!1!==e.uiBackCompat&&
  e.widget("ui.dialog",e.ui.dialog,{options:{dialogClass:""},_createWrapper:function(){this._super();this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(a,b){"dialogClass"===a&&this.uiDialog.removeClass(this.options.dialogClass).addClass(b);this._superApply(arguments)}});e.widget("ui.droppable",{version:"1.12.1",widgetEventPrefix:"drop",options:{accept:"*",addClasses:!0,greedy:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var a,
  b=this.options,c=b.accept;this.isover=!1;this.isout=!0;this.accept=e.isFunction(c)?c:function(f){return f.is(c)};this.proportions=function(){if(arguments.length)a=arguments[0];else return a?a:a={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight}};this._addToManager(b.scope);b.addClasses&&this._addClass("ui-droppable")},_addToManager:function(a){e.ui.ddmanager.droppables[a]=e.ui.ddmanager.droppables[a]||[];e.ui.ddmanager.droppables[a].push(this)},_splice:function(a){for(var b=0;b<
  a.length;b++)a[b]===this&&a.splice(b,1)},_destroy:function(){this._splice(e.ui.ddmanager.droppables[this.options.scope])},_setOption:function(a,b){"accept"===a?this.accept=e.isFunction(b)?b:function(c){return c.is(b)}:"scope"===a&&(this._splice(e.ui.ddmanager.droppables[this.options.scope]),this._addToManager(b));this._super(a,b)},_activate:function(a){var b=e.ui.ddmanager.current;this._addActiveClass();b&&this._trigger("activate",a,this.ui(b))},_deactivate:function(a){var b=e.ui.ddmanager.current;
  this._removeActiveClass();b&&this._trigger("deactivate",a,this.ui(b))},_over:function(a){var b=e.ui.ddmanager.current;b&&(b.currentItem||b.element)[0]!==this.element[0]&&this.accept.call(this.element[0],b.currentItem||b.element)&&(this._addHoverClass(),this._trigger("over",a,this.ui(b)))},_out:function(a){var b=e.ui.ddmanager.current;b&&(b.currentItem||b.element)[0]!==this.element[0]&&this.accept.call(this.element[0],b.currentItem||b.element)&&(this._removeHoverClass(),this._trigger("out",a,this.ui(b)))},
  _drop:function(a,b){var c=b||e.ui.ddmanager.current,f=!1;if(!c||(c.currentItem||c.element)[0]===this.element[0])return!1;this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var h=e(this).droppable("instance");if(h.options.greedy&&!h.options.disabled&&h.options.scope===c.options.scope&&h.accept.call(h.element[0],c.currentItem||c.element)&&kb(c,e.extend(h,{offset:h.element.offset()}),h.options.tolerance,a))return f=!0,!1});return f?!1:this.accept.call(this.element[0],
  c.currentItem||c.element)?(this._removeActiveClass(),this._removeHoverClass(),this._trigger("drop",a,this.ui(c)),this.element):!1},ui:function(a){return{draggable:a.currentItem||a.element,helper:a.helper,position:a.position,offset:a.positionAbs}},_addHoverClass:function(){this._addClass("ui-droppable-hover")},_removeHoverClass:function(){this._removeClass("ui-droppable-hover")},_addActiveClass:function(){this._addClass("ui-droppable-active")},_removeActiveClass:function(){this._removeClass("ui-droppable-active")}});
  var kb=e.ui.intersect=function(){return function(a,b,c,f){if(!b.offset)return!1;var h=(a.positionAbs||a.position.absolute).left+a.margins.left,m=(a.positionAbs||a.position.absolute).top+a.margins.top,q=h+a.helperProportions.width,v=m+a.helperProportions.height,x=b.offset.left,F=b.offset.top,G=x+b.proportions().width,C=F+b.proportions().height;switch(c){case "fit":return x<=h&&q<=G&&F<=m&&v<=C;case "intersect":return x<h+a.helperProportions.width/2&&q-a.helperProportions.width/2<G&&F<m+a.helperProportions.height/
  2&&v-a.helperProportions.height/2<C;case "pointer":a=f.pageY;c=b.proportions().height;if(F=a>=F&&a<F+c)f=f.pageX,b=b.proportions().width,F=f>=x&&f<x+b;return F;case "touch":return(m>=F&&m<=C||v>=F&&v<=C||m<F&&v>C)&&(h>=x&&h<=G||q>=x&&q<=G||h<x&&q>G);default:return!1}}}();e.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(a,b){var c,f=e.ui.ddmanager.droppables[a.options.scope]||[],h=b?b.type:null,m=(a.currentItem||a.element).find(":data(ui-droppable)").addBack();var q=0;
  a:for(;q<f.length;q++)if(!(f[q].options.disabled||a&&!f[q].accept.call(f[q].element[0],a.currentItem||a.element))){for(c=0;c<m.length;c++)if(m[c]===f[q].element[0]){f[q].proportions().height=0;continue a}f[q].visible="none"!==f[q].element.css("display");f[q].visible&&("mousedown"===h&&f[q]._activate.call(f[q],b),f[q].offset=f[q].element.offset(),f[q].proportions({width:f[q].element[0].offsetWidth,height:f[q].element[0].offsetHeight}))}},drop:function(a,b){var c=!1;e.each((e.ui.ddmanager.droppables[a.options.scope]||
  []).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&kb(a,this,this.options.tolerance,b)&&(c=this._drop.call(this,b)||c),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],a.currentItem||a.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,b)))});return c},dragStart:function(a,b){a.element.parentsUntil("body").on("scroll.droppable",function(){a.options.refreshPositions||e.ui.ddmanager.prepareOffsets(a,b)})},drag:function(a,b){a.options.refreshPositions&&
  e.ui.ddmanager.prepareOffsets(a,b);e.each(e.ui.ddmanager.droppables[a.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var c=kb(a,this,this.options.tolerance,b);var f=!c&&this.isover?"isout":c&&!this.isover?"isover":null;if(f){if(this.options.greedy){var h=this.options.scope;c=this.element.parents(":data(ui-droppable)").filter(function(){return e(this).droppable("instance").options.scope===h});if(c.length){var m=e(c[0]).droppable("instance");m.greedyChild=
  "isover"===f}}m&&"isover"===f&&(m.isover=!1,m.isout=!0,m._out.call(m,b));this[f]=!0;this["isout"===f?"isover":"isout"]=!1;this["isover"===f?"_over":"_out"].call(this,b);m&&"isout"===f&&(m.isout=!1,m.isover=!0,m._over.call(m,b))}}})},dragStop:function(a,b){a.element.parentsUntil("body").off("scroll.droppable");a.options.refreshPositions||e.ui.ddmanager.prepareOffsets(a,b)}};!1!==e.uiBackCompat&&e.widget("ui.droppable",e.ui.droppable,{options:{hoverClass:!1,activeClass:!1},_addActiveClass:function(){this._super();
  this.options.activeClass&&this.element.addClass(this.options.activeClass)},_removeActiveClass:function(){this._super();this.options.activeClass&&this.element.removeClass(this.options.activeClass)},_addHoverClass:function(){this._super();this.options.hoverClass&&this.element.addClass(this.options.hoverClass)},_removeHoverClass:function(){this._super();this.options.hoverClass&&this.element.removeClass(this.options.hoverClass)}});e.widget("ui.progressbar",{version:"1.12.1",options:{classes:{"ui-progressbar":"ui-corner-all",
  "ui-progressbar-value":"ui-corner-left","ui-progressbar-complete":"ui-corner-right"},max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue();this.element.attr({role:"progressbar","aria-valuemin":this.min});this._addClass("ui-progressbar","ui-widget ui-widget-content");this.valueDiv=e("\x3cdiv\x3e").appendTo(this.element);this._addClass(this.valueDiv,"ui-progressbar-value","ui-widget-header");this._refreshValue()},_destroy:function(){this.element.removeAttr("role aria-valuemin aria-valuemax aria-valuenow");
  this.valueDiv.remove()},value:function(a){if(void 0===a)return this.options.value;this.options.value=this._constrainedValue(a);this._refreshValue()},_constrainedValue:function(a){void 0===a&&(a=this.options.value);this.indeterminate=!1===a;"number"!==typeof a&&(a=0);return this.indeterminate?!1:Math.min(this.options.max,Math.max(this.min,a))},_setOptions:function(a){var b=a.value;delete a.value;this._super(a);this.options.value=this._constrainedValue(b);this._refreshValue()},_setOption:function(a,
  b){"max"===a&&(b=Math.max(this.min,b));this._super(a,b)},_setOptionDisabled:function(a){this._super(a);this.element.attr("aria-disabled",a);this._toggleClass(null,"ui-state-disabled",!!a)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var a=this.options.value,b=this._percentage();this.valueDiv.toggle(this.indeterminate||a>this.min).width(b.toFixed(0)+"%");this._toggleClass(this.valueDiv,"ui-progressbar-complete",
  null,a===this.options.max)._toggleClass("ui-progressbar-indeterminate",null,this.indeterminate);this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=e("\x3cdiv\x3e").appendTo(this.valueDiv),this._addClass(this.overlayDiv,"ui-progressbar-overlay"))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":a}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null));this.oldValue!==a&&(this.oldValue=a,this._trigger("change"));a===this.options.max&&
  this._trigger("complete")}});e.widget("ui.selectable",e.ui.mouse,{version:"1.12.1",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var a=this;this._addClass("ui-selectable");this.dragged=!1;this.refresh=function(){a.elementPos=e(a.element[0]).offset();a.selectees=e(a.options.filter,a.element[0]);a._addClass(a.selectees,"ui-selectee");a.selectees.each(function(){var b=
  e(this),c=b.offset(),f=c.left-a.elementPos.left;c=c.top-a.elementPos.top;e.data(this,"selectable-item",{element:this,$element:b,left:f,top:c,right:f+b.outerWidth(),bottom:c+b.outerHeight(),startselected:!1,selected:b.hasClass("ui-selected"),selecting:b.hasClass("ui-selecting"),unselecting:b.hasClass("ui-unselecting")})})};this.refresh();this._mouseInit();this.helper=e("\x3cdiv\x3e");this._addClass(this.helper,"ui-selectable-helper")},_destroy:function(){this.selectees.removeData("selectable-item");
  this._mouseDestroy()},_mouseStart:function(a){var b=this,c=this.options;this.opos=[a.pageX,a.pageY];this.elementPos=e(this.element[0]).offset();this.options.disabled||(this.selectees=e(c.filter,this.element[0]),this._trigger("start",a),e(c.appendTo).append(this.helper),this.helper.css({left:a.pageX,top:a.pageY,width:0,height:0}),c.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var f=e.data(this,"selectable-item");f.startselected=!0;a.metaKey||a.ctrlKey||(b._removeClass(f.$element,
  "ui-selected"),f.selected=!1,b._addClass(f.$element,"ui-unselecting"),f.unselecting=!0,b._trigger("unselecting",a,{unselecting:f.element}))}),e(a.target).parents().addBack().each(function(){var f=e.data(this,"selectable-item");if(f){var h=!a.metaKey&&!a.ctrlKey||!f.$element.hasClass("ui-selected");b._removeClass(f.$element,h?"ui-unselecting":"ui-selected")._addClass(f.$element,h?"ui-selecting":"ui-unselecting");f.unselecting=!h;f.selecting=h;(f.selected=h)?b._trigger("selecting",a,{selecting:f.element}):
  b._trigger("unselecting",a,{unselecting:f.element});return!1}}))},_mouseDrag:function(a){this.dragged=!0;if(!this.options.disabled){var b=this,c=this.options,f=this.opos[0],h=this.opos[1],m=a.pageX,q=a.pageY;if(f>m){var v=m;m=f;f=v}h>q&&(v=q,q=h,h=v);this.helper.css({left:f,top:h,width:m-f,height:q-h});this.selectees.each(function(){var x=e.data(this,"selectable-item"),F=!1;if(x&&x.element!==b.element[0]){var G=x.left+b.elementPos.left;var C=x.right+b.elementPos.left;var E=x.top+b.elementPos.top;
  var H=x.bottom+b.elementPos.top;"touch"===c.tolerance?F=!(G>m||C<f||E>q||H<h):"fit"===c.tolerance&&(F=G>f&&C<m&&E>h&&H<q);F?(x.selected&&(b._removeClass(x.$element,"ui-selected"),x.selected=!1),x.unselecting&&(b._removeClass(x.$element,"ui-unselecting"),x.unselecting=!1),x.selecting||(b._addClass(x.$element,"ui-selecting"),x.selecting=!0,b._trigger("selecting",a,{selecting:x.element}))):(x.selecting&&((a.metaKey||a.ctrlKey)&&x.startselected?(b._removeClass(x.$element,"ui-selecting"),x.selecting=!1,
  b._addClass(x.$element,"ui-selected"),x.selected=!0):(b._removeClass(x.$element,"ui-selecting"),x.selecting=!1,x.startselected&&(b._addClass(x.$element,"ui-unselecting"),x.unselecting=!0),b._trigger("unselecting",a,{unselecting:x.element}))),!x.selected||a.metaKey||a.ctrlKey||x.startselected||(b._removeClass(x.$element,"ui-selected"),x.selected=!1,b._addClass(x.$element,"ui-unselecting"),x.unselecting=!0,b._trigger("unselecting",a,{unselecting:x.element})))}});return!1}},_mouseStop:function(a){var b=
  this;this.dragged=!1;e(".ui-unselecting",this.element[0]).each(function(){var c=e.data(this,"selectable-item");b._removeClass(c.$element,"ui-unselecting");c.unselecting=!1;c.startselected=!1;b._trigger("unselected",a,{unselected:c.element})});e(".ui-selecting",this.element[0]).each(function(){var c=e.data(this,"selectable-item");b._removeClass(c.$element,"ui-selecting")._addClass(c.$element,"ui-selected");c.selecting=!1;c.selected=!0;c.startselected=!0;b._trigger("selected",a,{selected:c.element})});
  this._trigger("stop",a);this.helper.remove();return!1}});e.widget("ui.selectmenu",[e.ui.formResetMixin,{version:"1.12.1",defaultElement:"\x3cselect\x3e",options:{appendTo:null,classes:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"},disabled:null,icons:{button:"ui-icon-triangle-1-s"},position:{my:"left top",at:"left bottom",collision:"none"},width:!1,change:null,close:null,focus:null,open:null,select:null},_create:function(){var a=this.element.uniqueId().attr("id");
  this.ids={element:a,button:a+"-button",menu:a+"-menu"};this._drawButton();this._drawMenu();this._bindFormResetHandler();this._rendered=!1;this.menuItems=e()},_drawButton:function(){var a=this,b=this._parseOption(this.element.find("option:selected"),this.element[0].selectedIndex);this.labels=this.element.labels().attr("for",this.ids.button);this._on(this.labels,{click:function(f){this.button.focus();f.preventDefault()}});this.element.hide();this.button=e("\x3cspan\x3e",{tabindex:this.options.disabled?
  -1:0,id:this.ids.button,role:"combobox","aria-expanded":"false","aria-autocomplete":"list","aria-owns":this.ids.menu,"aria-haspopup":"true",title:this.element.attr("title")}).insertAfter(this.element);this._addClass(this.button,"ui-selectmenu-button ui-selectmenu-button-closed","ui-button ui-widget");var c=e("\x3cspan\x3e").appendTo(this.button);this._addClass(c,"ui-selectmenu-icon","ui-icon "+this.options.icons.button);this.buttonItem=this._renderButtonItem(b).appendTo(this.button);!1!==this.options.width&&
  this._resizeButton();this._on(this.button,this._buttonEvents);this.button.one("focusin",function(){a._rendered||a._refreshMenu()})},_drawMenu:function(){var a=this;this.menu=e("\x3cul\x3e",{"aria-hidden":"true","aria-labelledby":this.ids.button,id:this.ids.menu});this.menuWrap=e("\x3cdiv\x3e").append(this.menu);this._addClass(this.menuWrap,"ui-selectmenu-menu","ui-front");this.menuWrap.appendTo(this._appendTo());this.menuInstance=this.menu.menu({classes:{"ui-menu":"ui-corner-bottom"},role:"listbox",
  select:function(b,c){b.preventDefault();a._setSelection();a._select(c.item.data("ui-selectmenu-item"),b)},focus:function(b,c){c=c.item.data("ui-selectmenu-item");null!=a.focusIndex&&c.index!==a.focusIndex&&(a._trigger("focus",b,{item:c}),a.isOpen||a._select(c,b));a.focusIndex=c.index;a.button.attr("aria-activedescendant",a.menuItems.eq(c.index).attr("id"))}}).menu("instance");this.menuInstance._off(this.menu,"mouseleave");this.menuInstance._closeOnDocumentClick=function(){return!1};this.menuInstance._isDivider=
  function(){return!1}},refresh:function(){this._refreshMenu();this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(this._getSelectedItem().data("ui-selectmenu-item")||{}));null===this.options.width&&this._resizeButton()},_refreshMenu:function(){var a=this.element.find("option");this.menu.empty();this._parseOptions(a);this._renderMenu(this.menu,this.items);this.menuInstance.refresh();this.menuItems=this.menu.find("li").not(".ui-selectmenu-optgroup").find(".ui-menu-item-wrapper");this._rendered=
  !0;a.length&&(a=this._getSelectedItem(),this.menuInstance.focus(null,a),this._setAria(a.data("ui-selectmenu-item")),this._setOption("disabled",this.element.prop("disabled")))},open:function(a){this.options.disabled||(this._rendered?(this._removeClass(this.menu.find(".ui-state-active"),null,"ui-state-active"),this.menuInstance.focus(null,this._getSelectedItem())):this._refreshMenu(),this.menuItems.length&&(this.isOpen=!0,this._toggleAttr(),this._resizeMenu(),this._position(),this._on(this.document,
  this._documentClick),this._trigger("open",a)))},_position:function(){this.menuWrap.position(e.extend({of:this.button},this.options.position))},close:function(a){this.isOpen&&(this.isOpen=!1,this._toggleAttr(),this.range=null,this._off(this.document),this._trigger("close",a))},widget:function(){return this.button},menuWidget:function(){return this.menu},_renderButtonItem:function(a){var b=e("\x3cspan\x3e");this._setText(b,a.label);this._addClass(b,"ui-selectmenu-text");return b},_renderMenu:function(a,
  b){var c=this,f="";e.each(b,function(h,m){m.optgroup!==f&&(h=e("\x3cli\x3e",{text:m.optgroup}),c._addClass(h,"ui-selectmenu-optgroup","ui-menu-divider"+(m.element.parent("optgroup").prop("disabled")?" ui-state-disabled":"")),h.appendTo(a),f=m.optgroup);c._renderItemData(a,m)})},_renderItemData:function(a,b){return this._renderItem(a,b).data("ui-selectmenu-item",b)},_renderItem:function(a,b){var c=e("\x3cli\x3e"),f=e("\x3cdiv\x3e",{title:b.element.attr("title")});b.disabled&&this._addClass(c,null,
  "ui-state-disabled");this._setText(f,b.label);return c.append(f).appendTo(a)},_setText:function(a,b){b?a.text(b):a.html("\x26#160;")},_move:function(a,b){var c=".ui-menu-item";if(this.isOpen)var f=this.menuItems.eq(this.focusIndex).parent("li");else f=this.menuItems.eq(this.element[0].selectedIndex).parent("li"),c+=":not(.ui-state-disabled)";a="first"===a||"last"===a?f["first"===a?"prevAll":"nextAll"](c).eq(-1):f[a+"All"](c).eq(0);a.length&&this.menuInstance.focus(b,a)},_getSelectedItem:function(){return this.menuItems.eq(this.element[0].selectedIndex).parent("li")},
  _toggle:function(a){this[this.isOpen?"close":"open"](a)},_setSelection:function(){if(this.range){if(window.getSelection){var a=window.getSelection();a.removeAllRanges();a.addRange(this.range)}else this.range.select();this.button.focus()}},_documentClick:{mousedown:function(a){this.isOpen&&(e(a.target).closest(".ui-selectmenu-menu, #"+e.ui.escapeSelector(this.ids.button)).length||this.close(a))}},_buttonEvents:{mousedown:function(){if(window.getSelection){var a=window.getSelection();a.rangeCount&&
  (this.range=a.getRangeAt(0))}else this.range=document.selection.createRange()},click:function(a){this._setSelection();this._toggle(a)},keydown:function(a){var b=!0;switch(a.keyCode){case e.ui.keyCode.TAB:case e.ui.keyCode.ESCAPE:this.close(a);b=!1;break;case e.ui.keyCode.ENTER:this.isOpen&&this._selectFocusedItem(a);break;case e.ui.keyCode.UP:a.altKey?this._toggle(a):this._move("prev",a);break;case e.ui.keyCode.DOWN:a.altKey?this._toggle(a):this._move("next",a);break;case e.ui.keyCode.SPACE:this.isOpen?
  this._selectFocusedItem(a):this._toggle(a);break;case e.ui.keyCode.LEFT:this._move("prev",a);break;case e.ui.keyCode.RIGHT:this._move("next",a);break;case e.ui.keyCode.HOME:case e.ui.keyCode.PAGE_UP:this._move("first",a);break;case e.ui.keyCode.END:case e.ui.keyCode.PAGE_DOWN:this._move("last",a);break;default:this.menu.trigger(a),b=!1}b&&a.preventDefault()}},_selectFocusedItem:function(a){var b=this.menuItems.eq(this.focusIndex).parent("li");b.hasClass("ui-state-disabled")||this._select(b.data("ui-selectmenu-item"),
  a)},_select:function(a,b){var c=this.element[0].selectedIndex;this.element[0].selectedIndex=a.index;this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(a));this._setAria(a);this._trigger("select",b,{item:a});a.index!==c&&this._trigger("change",b,{item:a});this.close(b)},_setAria:function(a){a=this.menuItems.eq(a.index).attr("id");this.button.attr({"aria-labelledby":a,"aria-activedescendant":a});this.menu.attr("aria-activedescendant",a)},_setOption:function(a,b){if("icons"===a){var c=
  this.button.find("span.ui-icon");this._removeClass(c,null,this.options.icons.button)._addClass(c,null,b.button)}this._super(a,b);"appendTo"===a&&this.menuWrap.appendTo(this._appendTo());"width"===a&&this._resizeButton()},_setOptionDisabled:function(a){this._super(a);this.menuInstance.option("disabled",a);this.button.attr("aria-disabled",a);this._toggleClass(this.button,null,"ui-state-disabled",a);this.element.prop("disabled",a);a?(this.button.attr("tabindex",-1),this.close()):this.button.attr("tabindex",
  0)},_appendTo:function(){var a=this.options.appendTo;a&&(a=a.jquery||a.nodeType?e(a):this.document.find(a).eq(0));a&&a[0]||(a=this.element.closest(".ui-front, dialog"));a.length||(a=this.document[0].body);return a},_toggleAttr:function(){this.button.attr("aria-expanded",this.isOpen);this._removeClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"closed":"open"))._addClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"open":"closed"))._toggleClass(this.menuWrap,"ui-selectmenu-open",null,this.isOpen);
  this.menu.attr("aria-hidden",!this.isOpen)},_resizeButton:function(){var a=this.options.width;!1===a?this.button.css("width",""):(null===a&&(a=this.element.show().outerWidth(),this.element.hide()),this.button.outerWidth(a))},_resizeMenu:function(){this.menu.outerWidth(Math.max(this.button.outerWidth(),this.menu.width("").outerWidth()+1))},_getCreateOptions:function(){var a=this._super();a.disabled=this.element.prop("disabled");return a},_parseOptions:function(a){var b=this,c=[];a.each(function(f,
  h){c.push(b._parseOption(e(h),f))});this.items=c},_parseOption:function(a,b){var c=a.parent("optgroup");return{element:a,index:b,value:a.val(),label:a.text(),optgroup:c.attr("label")||"",disabled:c.prop("disabled")||a.prop("disabled")}},_destroy:function(){this._unbindFormResetHandler();this.menuWrap.remove();this.button.remove();this.element.show();this.element.removeUniqueId();this.labels.attr("for",this.ids.element)}}]);e.widget("ui.slider",e.ui.mouse,{version:"1.12.1",widgetEventPrefix:"slide",
  options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},numPages:5,_create:function(){this._mouseSliding=this._keySliding=!1;this._animateOff=!0;this._handleIndex=null;this._detectOrientation();this._mouseInit();this._calculateNewMax();this._addClass("ui-slider ui-slider-"+this.orientation,
  "ui-widget ui-widget-content");this._refresh();this._animateOff=!1},_refresh:function(){this._createRange();this._createHandles();this._setupEvents();this._refreshValue()},_createHandles:function(){var a=this.options;var b=this.element.find(".ui-slider-handle"),c=[];var f=a.values&&a.values.length||1;b.length>f&&(b.slice(f).remove(),b=b.slice(0,f));for(a=b.length;a<f;a++)c.push("\x3cspan tabindex\x3d'0'\x3e\x3c/span\x3e");this.handles=b.add(e(c.join("")).appendTo(this.element));this._addClass(this.handles,
  "ui-slider-handle","ui-state-default");this.handle=this.handles.eq(0);this.handles.each(function(h){e(this).data("ui-slider-handle-index",h).attr("tabIndex",0)})},_createRange:function(){var a=this.options;a.range?(!0===a.range&&(a.values?a.values.length&&2!==a.values.length?a.values=[a.values[0],a.values[0]]:e.isArray(a.values)&&(a.values=a.values.slice(0)):a.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?(this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max"),
  this.range.css({left:"",bottom:""})):(this.range=e("\x3cdiv\x3e").appendTo(this.element),this._addClass(this.range,"ui-slider-range")),"min"!==a.range&&"max"!==a.range||this._addClass(this.range,"ui-slider-range-"+a.range)):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles);this._on(this.handles,this._handleEvents);this._hoverable(this.handles);this._focusable(this.handles)},_destroy:function(){this.handles.remove();this.range&&this.range.remove();this._mouseDestroy()},
  _mouseCapture:function(a){var b,c,f=this,h=this.options;if(h.disabled)return!1;this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();var m=this._normValueFromMouse({x:a.pageX,y:a.pageY});var q=this._valueMax()-this._valueMin()+1;this.handles.each(function(x){var F=Math.abs(m-f.values(x));if(q>F||q===F&&(x===f._lastChangedValue||f.values(x)===h.min))q=F,b=e(this),c=x});if(!1===this._start(a,c))return!1;this._mouseSliding=!0;this._handleIndex=
  c;this._addClass(b,null,"ui-state-active");b.trigger("focus");var v=b.offset();this._clickOffset=e(a.target).parents().addBack().is(".ui-slider-handle")?{left:a.pageX-v.left-b.width()/2,top:a.pageY-v.top-b.height()/2-(parseInt(b.css("borderTopWidth"),10)||0)-(parseInt(b.css("borderBottomWidth"),10)||0)+(parseInt(b.css("marginTop"),10)||0)}:{left:0,top:0};this.handles.hasClass("ui-state-hover")||this._slide(a,c,m);return this._animateOff=!0},_mouseStart:function(){return!0},_mouseDrag:function(a){var b=
  this._normValueFromMouse({x:a.pageX,y:a.pageY});this._slide(a,this._handleIndex,b);return!1},_mouseStop:function(a){this._removeClass(this.handles,null,"ui-state-active");this._mouseSliding=!1;this._stop(a,this._handleIndex);this._change(a,this._handleIndex);this._clickOffset=this._handleIndex=null;return this._animateOff=!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(a){if("horizontal"===this.orientation){var b=
  this.elementSize.width;a=a.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else b=this.elementSize.height,a=a.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0);b=a/b;1<b&&(b=1);0>b&&(b=0);"vertical"===this.orientation&&(b=1-b);a=this._valueMax()-this._valueMin();b=this._valueMin()+b*a;return this._trimAlignValue(b)},_uiHash:function(a,b,c){var f={handle:this.handles[a],handleIndex:a,value:void 0!==b?b:this.value()};this._hasMultipleValues()&&(f.value=void 0!==
  b?b:this.values(a),f.values=c||this.values());return f},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(a,b){return this._trigger("start",a,this._uiHash(b))},_slide:function(a,b,c){var f=this.value(),h=this.values();if(this._hasMultipleValues()){var m=this.values(b?0:1);f=this.values(b);2===this.options.values.length&&!0===this.options.range&&(c=0===b?Math.min(m,c):Math.max(m,c));h[b]=c}c!==f&&!1!==this._trigger("slide",a,this._uiHash(b,c,h))&&
  (this._hasMultipleValues()?this.values(b,c):this.value(c))},_stop:function(a,b){this._trigger("stop",a,this._uiHash(b))},_change:function(a,b){this._keySliding||this._mouseSliding||(this._lastChangedValue=b,this._trigger("change",a,this._uiHash(b)))},value:function(a){if(arguments.length)this.options.value=this._trimAlignValue(a),this._refreshValue(),this._change(null,0);else return this._value()},values:function(a,b){var c;if(1<arguments.length)this.options.values[a]=this._trimAlignValue(b),this._refreshValue(),
  this._change(null,a);else if(arguments.length)if(e.isArray(arguments[0])){var f=this.options.values;var h=arguments[0];for(c=0;c<f.length;c+=1)f[c]=this._trimAlignValue(h[c]),this._change(null,c);this._refreshValue()}else return this._hasMultipleValues()?this._values(a):this.value();else return this._values()},_setOption:function(a,b){var c=0;"range"===a&&!0===this.options.range&&("min"===b?(this.options.value=this._values(0),this.options.values=null):"max"===b&&(this.options.value=this._values(this.options.values.length-
  1),this.options.values=null));e.isArray(this.options.values)&&(c=this.options.values.length);this._super(a,b);switch(a){case "orientation":this._detectOrientation();this._removeClass("ui-slider-horizontal ui-slider-vertical")._addClass("ui-slider-"+this.orientation);this._refreshValue();this.options.range&&this._refreshRange(b);this.handles.css("horizontal"===b?"bottom":"left","");break;case "value":this._animateOff=!0;this._refreshValue();this._change(null,0);this._animateOff=!1;break;case "values":this._animateOff=
  !0;this._refreshValue();for(a=c-1;0<=a;a--)this._change(null,a);this._animateOff=!1;break;case "step":case "min":case "max":this._animateOff=!0;this._calculateNewMax();this._refreshValue();this._animateOff=!1;break;case "range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_setOptionDisabled:function(a){this._super(a);this._toggleClass(null,"ui-state-disabled",!!a)},_value:function(){var a=this.options.value;return a=this._trimAlignValue(a)},_values:function(a){var b;if(arguments.length){var c=
  this.options.values[a];return c=this._trimAlignValue(c)}if(this._hasMultipleValues()){c=this.options.values.slice();for(b=0;b<c.length;b+=1)c[b]=this._trimAlignValue(c[b]);return c}return[]},_trimAlignValue:function(a){if(a<=this._valueMin())return this._valueMin();if(a>=this._valueMax())return this._valueMax();var b=0<this.options.step?this.options.step:1,c=(a-this._valueMin())%b;a-=c;2*Math.abs(c)>=b&&(a+=0<c?b:-b);return parseFloat(a.toFixed(5))},_calculateNewMax:function(){var a=this.options.max,
  b=this._valueMin(),c=this.options.step;a=Math.round((a-b)/c)*c+b;a>this.options.max&&(a-=c);this.max=parseFloat(a.toFixed(this._precision()))},_precision:function(){var a=this._precisionOf(this.options.step);null!==this.options.min&&(a=Math.max(a,this._precisionOf(this.options.min)));return a},_precisionOf:function(a){a=a.toString();var b=a.indexOf(".");return-1===b?0:a.length-b-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(a){"vertical"===
  a&&this.range.css({width:"",left:""});"horizontal"===a&&this.range.css({height:"",bottom:""})},_refreshValue:function(){var a,b=this.options.range,c=this.options,f=this,h=this._animateOff?!1:c.animate,m={};if(this._hasMultipleValues())this.handles.each(function(G){F=(f.values(G)-f._valueMin())/(f._valueMax()-f._valueMin())*100;m["horizontal"===f.orientation?"left":"bottom"]=F+"%";e(this).stop(1,1)[h?"animate":"css"](m,c.animate);if(!0===f.options.range)if("horizontal"===f.orientation){if(0===G)f.range.stop(1,
  1)[h?"animate":"css"]({left:F+"%"},c.animate);if(1===G)f.range[h?"animate":"css"]({width:F-a+"%"},{queue:!1,duration:c.animate})}else{if(0===G)f.range.stop(1,1)[h?"animate":"css"]({bottom:F+"%"},c.animate);if(1===G)f.range[h?"animate":"css"]({height:F-a+"%"},{queue:!1,duration:c.animate})}a=F});else{var q=this.value();var v=this._valueMin();var x=this._valueMax();var F=x!==v?(q-v)/(x-v)*100:0;m["horizontal"===this.orientation?"left":"bottom"]=F+"%";this.handle.stop(1,1)[h?"animate":"css"](m,c.animate);
  if("min"===b&&"horizontal"===this.orientation)this.range.stop(1,1)[h?"animate":"css"]({width:F+"%"},c.animate);if("max"===b&&"horizontal"===this.orientation)this.range.stop(1,1)[h?"animate":"css"]({width:100-F+"%"},c.animate);if("min"===b&&"vertical"===this.orientation)this.range.stop(1,1)[h?"animate":"css"]({height:F+"%"},c.animate);if("max"===b&&"vertical"===this.orientation)this.range.stop(1,1)[h?"animate":"css"]({height:100-F+"%"},c.animate)}},_handleEvents:{keydown:function(a){var b,c=e(a.target).data("ui-slider-handle-index");
  switch(a.keyCode){case e.ui.keyCode.HOME:case e.ui.keyCode.END:case e.ui.keyCode.PAGE_UP:case e.ui.keyCode.PAGE_DOWN:case e.ui.keyCode.UP:case e.ui.keyCode.RIGHT:case e.ui.keyCode.DOWN:case e.ui.keyCode.LEFT:if(a.preventDefault(),!this._keySliding){this._keySliding=!0;this._addClass(e(a.target),null,"ui-state-active");var f=this._start(a,c);if(!1===f)return}}var h=this.options.step;f=this._hasMultipleValues()?b=this.values(c):b=this.value();switch(a.keyCode){case e.ui.keyCode.HOME:b=this._valueMin();
  break;case e.ui.keyCode.END:b=this._valueMax();break;case e.ui.keyCode.PAGE_UP:b=this._trimAlignValue(f+(this._valueMax()-this._valueMin())/this.numPages);break;case e.ui.keyCode.PAGE_DOWN:b=this._trimAlignValue(f-(this._valueMax()-this._valueMin())/this.numPages);break;case e.ui.keyCode.UP:case e.ui.keyCode.RIGHT:if(f===this._valueMax())return;b=this._trimAlignValue(f+h);break;case e.ui.keyCode.DOWN:case e.ui.keyCode.LEFT:if(f===this._valueMin())return;b=this._trimAlignValue(f-h)}this._slide(a,c,
  b)},keyup:function(a){var b=e(a.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(a,b),this._change(a,b),this._removeClass(e(a.target),null,"ui-state-active"))}}});e.widget("ui.sortable",e.ui.mouse,{version:"1.12.1",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"\x3e *",opacity:!1,placeholder:!1,
  revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1E3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(a,b,c){return a>=b&&a<b+c},_isFloating:function(a){return/left|right/.test(a.css("float"))||/inline|table-cell/.test(a.css("display"))},_create:function(){this.containerCache={};this._addClass("ui-sortable");this.refresh();this.offset=
  this.element.offset();this._mouseInit();this._setHandleClassName();this.ready=!0},_setOption:function(a,b){this._super(a,b);"handle"===a&&this._setHandleClassName()},_setHandleClassName:function(){var a=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle");e.each(this.items,function(){a._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")})},_destroy:function(){this._mouseDestroy();for(var a=this.items.length-
  1;0<=a;a--)this.items[a].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(a,b){var c=null,f=!1,h=this;if(this.reverting||this.options.disabled||"static"===this.options.type)return!1;this._refreshItems(a);e(a.target).parents().each(function(){if(e.data(this,h.widgetName+"-item")===h)return c=e(this),!1});e.data(a.target,h.widgetName+"-item")===h&&(c=e(a.target));if(!c||this.options.handle&&!b&&(e(this.options.handle,c).find("*").addBack().each(function(){this===a.target&&
  (f=!0)}),!f))return!1;this.currentItem=c;this._removeCurrentsFromItems();return!0},_mouseStart:function(a,b,c){b=this.options;this.currentContainer=this;this.refreshPositions();this.helper=this._createHelper(a);this._cacheHelperProportions();this._cacheMargins();this.scrollParent=this.helper.scrollParent();this.offset=this.currentItem.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};e.extend(this.offset,{click:{left:a.pageX-this.offset.left,top:a.pageY-
  this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.helper.css("position","absolute");this.cssPosition=this.helper.css("position");this.originalPosition=this._generatePosition(a);this.originalPageX=a.pageX;this.originalPageY=a.pageY;b.cursorAt&&this._adjustOffsetFromHelper(b.cursorAt);this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]};this.helper[0]!==this.currentItem[0]&&this.currentItem.hide();this._createPlaceholder();b.containment&&
  this._setContainment();if(b.cursor&&"auto"!==b.cursor){var f=this.document.find("body");this.storedCursor=f.css("cursor");f.css("cursor",b.cursor);this.storedStylesheet=e("\x3cstyle\x3e*{ cursor: "+b.cursor+" !important; }\x3c/style\x3e").appendTo(f)}b.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",b.opacity));b.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",b.zIndex));this.scrollParent[0]!==
  this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset());this._trigger("start",a,this._uiHash());this._preserveHelperProportions||this._cacheHelperProportions();if(!c)for(c=this.containers.length-1;0<=c;c--)this.containers[c]._trigger("activate",a,this._uiHash(this));e.ui.ddmanager&&(e.ui.ddmanager.current=this);e.ui.ddmanager&&!b.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,a);this.dragging=!0;this._addClass(this.helper,"ui-sortable-helper");
  this._mouseDrag(a);return!0},_mouseDrag:function(a){var b;var c=this.options;var f=!1;this.position=this._generatePosition(a);this.positionAbs=this._convertPositionTo("absolute");this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs);this.options.scroll&&(this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-a.pageY<c.scrollSensitivity?this.scrollParent[0].scrollTop=f=this.scrollParent[0].scrollTop+c.scrollSpeed:
  a.pageY-this.overflowOffset.top<c.scrollSensitivity&&(this.scrollParent[0].scrollTop=f=this.scrollParent[0].scrollTop-c.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-a.pageX<c.scrollSensitivity?this.scrollParent[0].scrollLeft=f=this.scrollParent[0].scrollLeft+c.scrollSpeed:a.pageX-this.overflowOffset.left<c.scrollSensitivity&&(this.scrollParent[0].scrollLeft=f=this.scrollParent[0].scrollLeft-c.scrollSpeed)):(a.pageY-this.document.scrollTop()<c.scrollSensitivity?f=this.document.scrollTop(this.document.scrollTop()-
  c.scrollSpeed):this.window.height()-(a.pageY-this.document.scrollTop())<c.scrollSensitivity&&(f=this.document.scrollTop(this.document.scrollTop()+c.scrollSpeed)),a.pageX-this.document.scrollLeft()<c.scrollSensitivity?f=this.document.scrollLeft(this.document.scrollLeft()-c.scrollSpeed):this.window.width()-(a.pageX-this.document.scrollLeft())<c.scrollSensitivity&&(f=this.document.scrollLeft(this.document.scrollLeft()+c.scrollSpeed))),!1!==f&&e.ui.ddmanager&&!c.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,
  a));this.positionAbs=this._convertPositionTo("absolute");this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px");this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px");for(c=this.items.length-1;0<=c;c--){f=this.items[c];var h=f.item[0];if((b=this._intersectsWithPointer(f))&&f.instance===this.currentContainer&&h!==this.currentItem[0]&&this.placeholder[1===b?"next":"prev"]()[0]!==h&&!e.contains(this.placeholder[0],h)&&("semi-dynamic"===
  this.options.type?!e.contains(this.element[0],h):1)){this.direction=1===b?"down":"up";if("pointer"===this.options.tolerance||this._intersectsWithSides(f))this._rearrange(a,f);else break;this._trigger("change",a,this._uiHash());break}}this._contactContainers(a);e.ui.ddmanager&&e.ui.ddmanager.drag(this,a);this._trigger("sort",a,this._uiHash());this.lastPositionAbs=this.positionAbs;return!1},_mouseStop:function(a,b){if(a){e.ui.ddmanager&&!this.options.dropBehaviour&&e.ui.ddmanager.drop(this,a);if(this.options.revert){var c=
  this;b=this.placeholder.offset();var f=this.options.axis,h={};f&&"x"!==f||(h.left=b.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft));f&&"y"!==f||(h.top=b.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop));this.reverting=!0;e(this.helper).animate(h,parseInt(this.options.revert,10)||500,function(){c._clear(a)})}else this._clear(a,b);return!1}},cancel:function(){if(this.dragging){this._mouseUp(new e.Event("mouseup",
  {target:null}));"original"===this.options.helper?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var a=this.containers.length-1;0<=a;a--)this.containers[a]._trigger("deactivate",null,this._uiHash(this)),this.containers[a].containerCache.over&&(this.containers[a]._trigger("out",null,this._uiHash(this)),this.containers[a].containerCache.over=0)}this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),
  "original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),e.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?e(this.domPosition.prev).after(this.currentItem):e(this.domPosition.parent).prepend(this.currentItem));return this},serialize:function(a){var b=this._getItemsAsjQuery(a&&a.connected),c=[];a=a||{};e(b).each(function(){var f=(e(a.item||this).attr(a.attribute||"id")||"").match(a.expression||/(.+)[\-=_](.+)/);f&&c.push((a.key||
  f[1]+"[]")+"\x3d"+(a.key&&a.expression?f[1]:f[2]))});!c.length&&a.key&&c.push(a.key+"\x3d");return c.join("\x26")},toArray:function(a){var b=this._getItemsAsjQuery(a&&a.connected),c=[];a=a||{};b.each(function(){c.push(e(a.item||this).attr(a.attribute||"id")||"")});return c},_intersectsWith:function(a){var b=this.positionAbs.left,c=b+this.helperProportions.width,f=this.positionAbs.top,h=f+this.helperProportions.height,m=a.left,q=m+a.width,v=a.top,x=v+a.height,F=this.offset.click.top,G=this.offset.click.left;
  F="x"===this.options.axis||f+F>v&&f+F<x;G="y"===this.options.axis||b+G>m&&b+G<q;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>a[this.floating?"width":"height"]?F&&G:m<b+this.helperProportions.width/2&&c-this.helperProportions.width/2<q&&v<f+this.helperProportions.height/2&&h-this.helperProportions.height/2<x},_intersectsWithPointer:function(a){var b="x"===this.options.axis||
  this._isOverAxis(this.positionAbs.top+this.offset.click.top,a.top,a.height);a="y"===this.options.axis||this._isOverAxis(this.positionAbs.left+this.offset.click.left,a.left,a.width);if(!b||!a)return!1;b=this._getDragVerticalDirection();a=this._getDragHorizontalDirection();return this.floating?"right"===a||"down"===b?2:1:b&&("down"===b?2:1)},_intersectsWithSides:function(a){var b=this._isOverAxis(this.positionAbs.top+this.offset.click.top,a.top+a.height/2,a.height);a=this._isOverAxis(this.positionAbs.left+
  this.offset.click.left,a.left+a.width/2,a.width);var c=this._getDragVerticalDirection(),f=this._getDragHorizontalDirection();return this.floating&&f?"right"===f&&a||"left"===f&&!a:c&&("down"===c&&b||"up"===c&&!b)},_getDragVerticalDirection:function(){var a=this.positionAbs.top-this.lastPositionAbs.top;return 0!==a&&(0<a?"down":"up")},_getDragHorizontalDirection:function(){var a=this.positionAbs.left-this.lastPositionAbs.left;return 0!==a&&(0<a?"right":"left")},refresh:function(a){this._refreshItems(a);
  this._setHandleClassName();this.refreshPositions();return this},_connectWith:function(){var a=this.options;return a.connectWith.constructor===String?[a.connectWith]:a.connectWith},_getItemsAsjQuery:function(a){function b(){h.push(this)}var c,f,h=[],m=[],q=this._connectWith();if(q&&a)for(a=q.length-1;0<=a;a--){var v=e(q[a],this.document[0]);for(c=v.length-1;0<=c;c--)(f=e.data(v[c],this.widgetFullName))&&f!==this&&!f.options.disabled&&m.push([e.isFunction(f.options.items)?f.options.items.call(f.element):
  e(f.options.items,f.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),f])}m.push([e.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):e(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]);for(a=m.length-1;0<=a;a--)m[a][0].each(b);return e(h)},_removeCurrentsFromItems:function(){var a=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=e.grep(this.items,
  function(b){for(var c=0;c<a.length;c++)if(a[c]===b.item[0])return!1;return!0})},_refreshItems:function(a){this.items=[];this.containers=[this];var b,c,f,h,m=this.items,q=[[e.isFunction(this.options.items)?this.options.items.call(this.element[0],a,{item:this.currentItem}):e(this.options.items,this.element),this]];if((h=this._connectWith())&&this.ready)for(b=h.length-1;0<=b;b--){var v=e(h[b],this.document[0]);for(c=v.length-1;0<=c;c--)(f=e.data(v[c],this.widgetFullName))&&f!==this&&!f.options.disabled&&
  (q.push([e.isFunction(f.options.items)?f.options.items.call(f.element[0],a,{item:this.currentItem}):e(f.options.items,f.element),f]),this.containers.push(f))}for(b=q.length-1;0<=b;b--)for(a=q[b][1],v=q[b][0],c=0,h=v.length;c<h;c++)f=e(v[c]),f.data(this.widgetName+"-item",a),m.push({item:f,instance:a,width:0,height:0,left:0,top:0})},refreshPositions:function(a){this.floating=this.items.length?"x"===this.options.axis||this._isFloating(this.items[0].item):!1;this.offsetParent&&this.helper&&(this.offset.parent=
  this._getParentOffset());var b;for(b=this.items.length-1;0<=b;b--){var c=this.items[b];if(c.instance===this.currentContainer||!this.currentContainer||c.item[0]===this.currentItem[0]){var f=this.options.toleranceElement?e(this.options.toleranceElement,c.item):c.item;a||(c.width=f.outerWidth(),c.height=f.outerHeight());f=f.offset();c.left=f.left;c.top=f.top}}if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(b=this.containers.length-
  1;0<=b;b--)f=this.containers[b].element.offset(),this.containers[b].containerCache.left=f.left,this.containers[b].containerCache.top=f.top,this.containers[b].containerCache.width=this.containers[b].element.outerWidth(),this.containers[b].containerCache.height=this.containers[b].element.outerHeight();return this},_createPlaceholder:function(a){a=a||this;var b=a.options;if(!b.placeholder||b.placeholder.constructor===String){var c=b.placeholder;b.placeholder={element:function(){var f=a.currentItem[0].nodeName.toLowerCase(),
  h=e("\x3c"+f+"\x3e",a.document[0]);a._addClass(h,"ui-sortable-placeholder",c||a.currentItem[0].className)._removeClass(h,"ui-sortable-helper");"tbody"===f?a._createTrPlaceholder(a.currentItem.find("tr").eq(0),e("\x3ctr\x3e",a.document[0]).appendTo(h)):"tr"===f?a._createTrPlaceholder(a.currentItem,h):"img"===f&&h.attr("src",a.currentItem.attr("src"));c||h.css("visibility","hidden");return h},update:function(f,h){if(!c||b.forcePlaceholderSize)h.height()||h.height(a.currentItem.innerHeight()-parseInt(a.currentItem.css("paddingTop")||
  0,10)-parseInt(a.currentItem.css("paddingBottom")||0,10)),h.width()||h.width(a.currentItem.innerWidth()-parseInt(a.currentItem.css("paddingLeft")||0,10)-parseInt(a.currentItem.css("paddingRight")||0,10))}}}a.placeholder=e(b.placeholder.element.call(a.element,a.currentItem));a.currentItem.after(a.placeholder);b.placeholder.update(a,a.placeholder)},_createTrPlaceholder:function(a,b){var c=this;a.children().each(function(){e("\x3ctd\x3e\x26#160;\x3c/td\x3e",c.document[0]).attr("colspan",e(this).attr("colspan")||
  1).appendTo(b)})},_contactContainers:function(a){var b,c,f,h=f=null;for(b=this.containers.length-1;0<=b;b--)e.contains(this.currentItem[0],this.containers[b].element[0])||(this._intersectsWith(this.containers[b].containerCache)?f&&e.contains(this.containers[b].element[0],f.element[0])||(f=this.containers[b],h=b):this.containers[b].containerCache.over&&(this.containers[b]._trigger("out",a,this._uiHash(this)),this.containers[b].containerCache.over=0));if(f)if(1===this.containers.length)this.containers[h].containerCache.over||
  (this.containers[h]._trigger("over",a,this._uiHash(this)),this.containers[h].containerCache.over=1);else{b=1E4;var m=null;f=(c=f.floating||this._isFloating(this.currentItem))?"left":"top";var q=c?"width":"height";var v=c?"pageX":"pageY";for(c=this.items.length-1;0<=c;c--)if(e.contains(this.containers[h].element[0],this.items[c].item[0])&&this.items[c].item[0]!==this.currentItem[0]){var x=this.items[c].item.offset()[f];var F=!1;a[v]-x>this.items[c][q]/2&&(F=!0);Math.abs(a[v]-x)<b&&(b=Math.abs(a[v]-
  x),m=this.items[c],this.direction=F?"up":"down")}if(m||this.options.dropOnEmpty)this.currentContainer===this.containers[h]?this.currentContainer.containerCache.over||(this.containers[h]._trigger("over",a,this._uiHash()),this.currentContainer.containerCache.over=1):(m?this._rearrange(a,m,null,!0):this._rearrange(a,null,this.containers[h].element,!0),this._trigger("change",a,this._uiHash()),this.containers[h]._trigger("change",a,this._uiHash(this)),this.currentContainer=this.containers[h],this.options.placeholder.update(this.currentContainer,
  this.placeholder),this.containers[h]._trigger("over",a,this._uiHash(this)),this.containers[h].containerCache.over=1)}},_createHelper:function(a){var b=this.options;a=e.isFunction(b.helper)?e(b.helper.apply(this.element[0],[a,this.currentItem])):"clone"===b.helper?this.currentItem.clone():this.currentItem;a.parents("body").length||e("parent"!==b.appendTo?b.appendTo:this.currentItem[0].parentNode)[0].appendChild(a[0]);a[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,
  height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")});a[0].style.width&&!b.forceHelperSize||a.width(this.currentItem.width());a[0].style.height&&!b.forceHelperSize||a.height(this.currentItem.height());return a},_adjustOffsetFromHelper:function(a){"string"===typeof a&&(a=a.split(" "));e.isArray(a)&&(a={left:+a[0],top:+a[1]||0});"left"in a&&(this.offset.click.left=a.left+this.margins.left);"right"in a&&(this.offset.click.left=
  this.helperProportions.width-a.right+this.margins.left);"top"in a&&(this.offset.click.top=a.top+this.margins.top);"bottom"in a&&(this.offset.click.top=this.helperProportions.height-a.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var a=this.offsetParent.offset();"absolute"===this.cssPosition&&this.scrollParent[0]!==this.document[0]&&e.contains(this.scrollParent[0],this.offsetParent[0])&&(a.left+=this.scrollParent.scrollLeft(),a.top+=this.scrollParent.scrollTop());
  if(this.offsetParent[0]===this.document[0].body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&e.ui.ie)a={top:0,left:0};return{top:a.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:a.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var a=this.currentItem.position();return{top:a.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:a.left-
  (parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var a=this.options;"parent"===a.containment&&(a.containment=this.helper[0].parentNode);if("document"===
  a.containment||"window"===a.containment)this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,"document"===a.containment?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,("document"===a.containment?this.document.height()||document.body.parentNode.scrollHeight:this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(a.containment)){var b=
  e(a.containment)[0];a=e(a.containment).offset();var c="hidden"!==e(b).css("overflow");this.containment=[a.left+(parseInt(e(b).css("borderLeftWidth"),10)||0)+(parseInt(e(b).css("paddingLeft"),10)||0)-this.margins.left,a.top+(parseInt(e(b).css("borderTopWidth"),10)||0)+(parseInt(e(b).css("paddingTop"),10)||0)-this.margins.top,a.left+(c?Math.max(b.scrollWidth,b.offsetWidth):b.offsetWidth)-(parseInt(e(b).css("borderLeftWidth"),10)||0)-(parseInt(e(b).css("paddingRight"),10)||0)-this.helperProportions.width-
  this.margins.left,a.top+(c?Math.max(b.scrollHeight,b.offsetHeight):b.offsetHeight)-(parseInt(e(b).css("borderTopWidth"),10)||0)-(parseInt(e(b).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]}},_convertPositionTo:function(a,b){b||(b=this.position);a="absolute"===a?1:-1;var c="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,f=/(html|body)/i.test(c[0].tagName);
  return{top:b.top+this.offset.relative.top*a+this.offset.parent.top*a-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():f?0:c.scrollTop())*a,left:b.left+this.offset.relative.left*a+this.offset.parent.left*a-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():f?0:c.scrollLeft())*a}},_generatePosition:function(a){var b=this.options;var c=a.pageX;var f=a.pageY;var h="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&e.contains(this.scrollParent[0],this.offsetParent[0])?
  this.scrollParent:this.offsetParent,m=/(html|body)/i.test(h[0].tagName);"relative"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset());this.originalPosition&&(this.containment&&(a.pageX-this.offset.click.left<this.containment[0]&&(c=this.containment[0]+this.offset.click.left),a.pageY-this.offset.click.top<this.containment[1]&&(f=this.containment[1]+this.offset.click.top),a.pageX-this.offset.click.left>
  this.containment[2]&&(c=this.containment[2]+this.offset.click.left),a.pageY-this.offset.click.top>this.containment[3]&&(f=this.containment[3]+this.offset.click.top)),b.grid&&(f=this.originalPageY+Math.round((f-this.originalPageY)/b.grid[1])*b.grid[1],f=this.containment?f-this.offset.click.top>=this.containment[1]&&f-this.offset.click.top<=this.containment[3]?f:f-this.offset.click.top>=this.containment[1]?f-b.grid[1]:f+b.grid[1]:f,c=this.originalPageX+Math.round((c-this.originalPageX)/b.grid[0])*b.grid[0],
  c=this.containment?c-this.offset.click.left>=this.containment[0]&&c-this.offset.click.left<=this.containment[2]?c:c-this.offset.click.left>=this.containment[0]?c-b.grid[0]:c+b.grid[0]:c));return{top:f-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():m?0:h.scrollTop()),left:c-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():m?0:h.scrollLeft())}},
  _rearrange:function(a,b,c,f){c?c[0].appendChild(this.placeholder[0]):b.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?b.item[0]:b.item[0].nextSibling);var h=this.counter=this.counter?++this.counter:1;this._delay(function(){h===this.counter&&this.refreshPositions(!f)})},_clear:function(a,b){function c(m,q,v){return function(x){v._trigger(m,x,q._uiHash(q))}}this.reverting=!1;var f,h=[];!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem);
  this._noFinalSort=null;if(this.helper[0]===this.currentItem[0]){for(f in this._storedCSS)if("auto"===this._storedCSS[f]||"static"===this._storedCSS[f])this._storedCSS[f]="";this.currentItem.css(this._storedCSS);this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();this.fromOutside&&!b&&h.push(function(m){this._trigger("receive",m,this._uiHash(this.fromOutside))});!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===
  this.currentItem.parent()[0]||b||h.push(function(m){this._trigger("update",m,this._uiHash())});this===this.currentContainer||b||(h.push(function(m){this._trigger("remove",m,this._uiHash())}),h.push(function(m){return function(q){m._trigger("receive",q,this._uiHash(this))}}.call(this,this.currentContainer)),h.push(function(m){return function(q){m._trigger("update",q,this._uiHash(this))}}.call(this,this.currentContainer)));for(f=this.containers.length-1;0<=f;f--)b||h.push(c("deactivate",this,this.containers[f])),
  this.containers[f].containerCache.over&&(h.push(c("out",this,this.containers[f])),this.containers[f].containerCache.over=0);this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove());this._storedOpacity&&this.helper.css("opacity",this._storedOpacity);this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex);this.dragging=!1;b||this._trigger("beforeStop",a,this._uiHash());this.placeholder[0].parentNode.removeChild(this.placeholder[0]);
  this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null);if(!b){for(f=0;f<h.length;f++)h[f].call(this,a);this._trigger("stop",a,this._uiHash())}this.fromOutside=!1;return!this.cancelHelperRemoval},_trigger:function(){!1===e.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(a){var b=a||this;return{helper:b.helper,placeholder:b.placeholder||e([]),position:b.position,originalPosition:b.originalPosition,offset:b.positionAbs,
  item:b.currentItem,sender:a?a.element:null}}});e.widget("ui.spinner",{version:"1.12.1",defaultElement:"\x3cinput\x3e",widgetEventPrefix:"spin",options:{classes:{"ui-spinner":"ui-corner-all","ui-spinner-down":"ui-corner-br","ui-spinner-up":"ui-corner-tr"},culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max);this._setOption("min",
  this.options.min);this._setOption("step",this.options.step);""!==this.value()&&this._value(this.element.val(),!0);this._draw();this._on(this._events);this._refresh();this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var a=this._super(),b=this.element;e.each(["min","max","step"],function(c,f){c=b.attr(f);null!=c&&c.length&&(a[f]=c)});return a},_events:{keydown:function(a){this._start(a)&&this._keydown(a)&&a.preventDefault()},keyup:"_stop",
  focus:function(){this.previous=this.element.val()},blur:function(a){this.cancelBlur?delete this.cancelBlur:(this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",a))},mousewheel:function(a,b){if(b){if(!this.spinning&&!this._start(a))return!1;this._spin((0<b?1:-1)*this.options.step,a);clearTimeout(this.mousewheelTimer);this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(a)},100);a.preventDefault()}},"mousedown .ui-spinner-button":function(a){function b(){this.element[0]!==
  e.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=c,this._delay(function(){this.previous=c}))}var c=this.element[0]===e.ui.safeActiveElement(this.document[0])?this.previous:this.element.val();a.preventDefault();b.call(this);this.cancelBlur=!0;this._delay(function(){delete this.cancelBlur;b.call(this)});!1!==this._start(a)&&this._repeat(null,e(a.currentTarget).hasClass("ui-spinner-up")?1:-1,a)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(a){if(e(a.currentTarget).hasClass("ui-state-active")){if(!1===
  this._start(a))return!1;this._repeat(null,e(a.currentTarget).hasClass("ui-spinner-up")?1:-1,a)}},"mouseleave .ui-spinner-button":"_stop"},_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap("\x3cspan\x3e").parent().append("\x3ca\x3e\x3c/a\x3e\x3ca\x3e\x3c/a\x3e")},_draw:function(){this._enhance();this._addClass(this.uiSpinner,"ui-spinner","ui-widget ui-widget-content");this._addClass("ui-spinner-input");this.element.attr("role","spinbutton");this.buttons=this.uiSpinner.children("a").attr("tabIndex",
  -1).attr("aria-hidden",!0).button({classes:{"ui-button":""}});this._removeClass(this.buttons,"ui-corner-all");this._addClass(this.buttons.first(),"ui-spinner-button ui-spinner-up");this._addClass(this.buttons.last(),"ui-spinner-button ui-spinner-down");this.buttons.first().button({icon:this.options.icons.up,showLabel:!1});this.buttons.last().button({icon:this.options.icons.down,showLabel:!1});this.buttons.height()>Math.ceil(.5*this.uiSpinner.height())&&0<this.uiSpinner.height()&&this.uiSpinner.height(this.uiSpinner.height())},
  _keydown:function(a){var b=this.options,c=e.ui.keyCode;switch(a.keyCode){case c.UP:return this._repeat(null,1,a),!0;case c.DOWN:return this._repeat(null,-1,a),!0;case c.PAGE_UP:return this._repeat(null,b.page,a),!0;case c.PAGE_DOWN:return this._repeat(null,-b.page,a),!0}return!1},_start:function(a){if(!this.spinning&&!1===this._trigger("start",a))return!1;this.counter||(this.counter=1);return this.spinning=!0},_repeat:function(a,b,c){a=a||500;clearTimeout(this.timer);this.timer=this._delay(function(){this._repeat(40,
  b,c)},a);this._spin(b*this.options.step,c)},_spin:function(a,b){var c=this.value()||0;this.counter||(this.counter=1);c=this._adjustValue(c+a*this._increment(this.counter));this.spinning&&!1===this._trigger("spin",b,{value:c})||(this._value(c),this.counter++)},_increment:function(a){var b=this.options.incremental;return b?e.isFunction(b)?b(a):Math.floor(a*a*a/5E4-a*a/500+17*a/200+1):1},_precision:function(){var a=this._precisionOf(this.options.step);null!==this.options.min&&(a=Math.max(a,this._precisionOf(this.options.min)));
  return a},_precisionOf:function(a){a=a.toString();var b=a.indexOf(".");return-1===b?0:a.length-b-1},_adjustValue:function(a){var b=this.options;var c=null!==b.min?b.min:0;a=c+Math.round((a-c)/b.step)*b.step;a=parseFloat(a.toFixed(this._precision()));return null!==b.max&&a>b.max?b.max:null!==b.min&&a<b.min?b.min:a},_stop:function(a){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",a))},_setOption:function(a,b){if("culture"===
  a||"numberFormat"===a){var c=this._parse(this.element.val());this.options[a]=b;this.element.val(this._format(c))}else"max"!==a&&"min"!==a&&"step"!==a||"string"!==typeof b||(b=this._parse(b)),"icons"===a&&(c=this.buttons.first().find(".ui-icon"),this._removeClass(c,null,this.options.icons.up),this._addClass(c,null,b.up),c=this.buttons.last().find(".ui-icon"),this._removeClass(c,null,this.options.icons.down),this._addClass(c,null,b.down)),this._super(a,b)},_setOptionDisabled:function(a){this._super(a);
  this._toggleClass(this.uiSpinner,null,"ui-state-disabled",!!a);this.element.prop("disabled",!!a);this.buttons.button(a?"disable":"enable")},_setOptions:Wa(function(a){this._super(a)}),_parse:function(a){"string"===typeof a&&""!==a&&(a=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(a,10,this.options.culture):+a);return""===a||isNaN(a)?null:a},_format:function(a){return""===a?"":window.Globalize&&this.options.numberFormat?Globalize.format(a,this.options.numberFormat,this.options.culture):
  a},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},isValid:function(){var a=this.value();return null===a?!1:a===this._adjustValue(a)},_value:function(a,b){if(""!==a){var c=this._parse(a);null!==c&&(b||(c=this._adjustValue(c)),a=this._format(c))}this.element.val(a);this._refresh()},_destroy:function(){this.element.prop("disabled",!1).removeAttr("autocomplete role aria-valuemin aria-valuemax aria-valuenow");
  this.uiSpinner.replaceWith(this.element)},stepUp:Wa(function(a){this._stepUp(a)}),_stepUp:function(a){this._start()&&(this._spin((a||1)*this.options.step),this._stop())},stepDown:Wa(function(a){this._stepDown(a)}),_stepDown:function(a){this._start()&&(this._spin((a||1)*-this.options.step),this._stop())},pageUp:Wa(function(a){this._stepUp((a||1)*this.options.page)}),pageDown:Wa(function(a){this._stepDown((a||1)*this.options.page)}),value:function(a){if(!arguments.length)return this._parse(this.element.val());
  Wa(this._value).call(this,a)},widget:function(){return this.uiSpinner}});!1!==e.uiBackCompat&&e.widget("ui.spinner",e.ui.spinner,{_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml())},_uiSpinnerHtml:function(){return"\x3cspan\x3e"},_buttonHtml:function(){return"\x3ca\x3e\x3c/a\x3e\x3ca\x3e\x3c/a\x3e"}});e.widget("ui.tabs",{version:"1.12.1",delay:300,options:{active:null,classes:{"ui-tabs":"ui-corner-all","ui-tabs-nav":"ui-corner-all",
  "ui-tabs-panel":"ui-corner-bottom","ui-tabs-tab":"ui-corner-top"},collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:function(){var a=/#.*$/;return function(b){var c=b.href.replace(a,"");var f=location.href.replace(a,"");try{c=decodeURIComponent(c)}catch(h){}try{f=decodeURIComponent(f)}catch(h){}return 1<b.hash.length&&c===f}}(),_create:function(){var a=this,b=this.options;this.running=!1;this._addClass("ui-tabs",
  "ui-widget ui-widget-content");this._toggleClass("ui-tabs-collapsible",null,b.collapsible);this._processTabs();b.active=this._initialActive();e.isArray(b.disabled)&&(b.disabled=e.unique(b.disabled.concat(e.map(this.tabs.filter(".ui-state-disabled"),function(c){return a.tabs.index(c)}))).sort());this.active=!1!==this.options.active&&this.anchors.length?this._findActive(b.active):e();this._refresh();this.active.length&&this.load(b.active)},_initialActive:function(){var a=this.options.active,b=this.options.collapsible,
  c=location.hash.substring(1);null===a&&(c&&this.tabs.each(function(f,h){if(e(h).attr("aria-controls")===c)return a=f,!1}),null===a&&(a=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),null===a||-1===a)&&(a=this.tabs.length?0:!1);!1!==a&&(a=this.tabs.index(this.tabs.eq(a)),-1===a&&(a=b?!1:0));!b&&!1===a&&this.anchors.length&&(a=0);return a},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):e()}},_tabKeydown:function(a){var b=e(e.ui.safeActiveElement(this.document[0])).closest("li"),
  c=this.tabs.index(b),f=!0;if(!this._handlePageNav(a)){switch(a.keyCode){case e.ui.keyCode.RIGHT:case e.ui.keyCode.DOWN:c++;break;case e.ui.keyCode.UP:case e.ui.keyCode.LEFT:f=!1;c--;break;case e.ui.keyCode.END:c=this.anchors.length-1;break;case e.ui.keyCode.HOME:c=0;break;case e.ui.keyCode.SPACE:a.preventDefault();clearTimeout(this.activating);this._activate(c);return;case e.ui.keyCode.ENTER:a.preventDefault();clearTimeout(this.activating);this._activate(c===this.options.active?!1:c);return;default:return}a.preventDefault();
  clearTimeout(this.activating);c=this._focusNextTab(c,f);a.ctrlKey||a.metaKey||(b.attr("aria-selected","false"),this.tabs.eq(c).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",c)},this.delay))}},_panelKeydown:function(a){!this._handlePageNav(a)&&a.ctrlKey&&a.keyCode===e.ui.keyCode.UP&&(a.preventDefault(),this.active.trigger("focus"))},_handlePageNav:function(a){if(a.altKey&&a.keyCode===e.ui.keyCode.PAGE_UP)return this._activate(this._focusNextTab(this.options.active-
  1,!1)),!0;if(a.altKey&&a.keyCode===e.ui.keyCode.PAGE_DOWN)return this._activate(this._focusNextTab(this.options.active+1,!0)),!0},_findNextTab:function(a,b){function c(){a>f&&(a=0);0>a&&(a=f);return a}for(var f=this.tabs.length-1;-1!==e.inArray(c(),this.options.disabled);)a=b?a+1:a-1;return a},_focusNextTab:function(a,b){a=this._findNextTab(a,b);this.tabs.eq(a).trigger("focus");return a},_setOption:function(a,b){"active"===a?this._activate(b):(this._super(a,b),"collapsible"===a&&(this._toggleClass("ui-tabs-collapsible",
  null,b),b||!1!==this.options.active||this._activate(0)),"event"===a&&this._setupEvents(b),"heightStyle"===a&&this._setupHeightStyle(b))},_sanitizeSelector:function(a){return a?a.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$\x26"):""},refresh:function(){var a=this.options,b=this.tablist.children(":has(a[href])");a.disabled=e.map(b.filter(".ui-state-disabled"),function(c){return b.index(c)});this._processTabs();!1!==a.active&&this.anchors.length?this.active.length&&!e.contains(this.tablist[0],
  this.active[0])?this.tabs.length===a.disabled.length?(a.active=!1,this.active=e()):this._activate(this._findNextTab(Math.max(0,a.active-1),!1)):a.active=this.tabs.index(this.active):(a.active=!1,this.active=e());this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled);this._setupEvents(this.options.event);this._setupHeightStyle(this.options.heightStyle);this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1});this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"});
  this.active.length?(this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._addClass(this.active,"ui-tabs-active","ui-state-active"),this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var a=this,b=this.tabs,c=this.anchors,f=this.panels;this.tablist=this._getList().attr("role","tablist");this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header");this.tablist.on("mousedown"+
  this.eventNamespace,"\x3e li",function(h){e(this).is(".ui-state-disabled")&&h.preventDefault()}).on("focus"+this.eventNamespace,".ui-tabs-anchor",function(){e(this).closest("li").is(".ui-state-disabled")&&this.blur()});this.tabs=this.tablist.find("\x3e li:has(a[href])").attr({role:"tab",tabIndex:-1});this._addClass(this.tabs,"ui-tabs-tab","ui-state-default");this.anchors=this.tabs.map(function(){return e("a",this)[0]}).attr({role:"presentation",tabIndex:-1});this._addClass(this.anchors,"ui-tabs-anchor");
  this.panels=e();this.anchors.each(function(h,m){var q=e(m).uniqueId().attr("id"),v=e(m).closest("li"),x=v.attr("aria-controls");if(a._isLocal(m)){h=m.hash;m=h.substring(1);var F=a.element.find(a._sanitizeSelector(h))}else m=v.attr("aria-controls")||e({}).uniqueId()[0].id,F=a.element.find("#"+m),F.length||(F=a._createPanel(m),F.insertAfter(a.panels[h-1]||a.tablist)),F.attr("aria-live","polite");F.length&&(a.panels=a.panels.add(F));x&&v.data("ui-tabs-aria-controls",x);v.attr({"aria-controls":m,"aria-labelledby":q});
  F.attr("aria-labelledby",q)});this.panels.attr("role","tabpanel");this._addClass(this.panels,"ui-tabs-panel","ui-widget-content");b&&(this._off(b.not(this.tabs)),this._off(c.not(this.anchors)),this._off(f.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(a){return e("\x3cdiv\x3e").attr("id",a).data("ui-tabs-destroy",!0)},_setOptionDisabled:function(a){var b,c;e.isArray(a)&&(a.length?a.length===this.anchors.length&&(a=!0):a=!1);for(c=
  0;b=this.tabs[c];c++)b=e(b),!0===a||-1!==e.inArray(c,a)?(b.attr("aria-disabled","true"),this._addClass(b,null,"ui-state-disabled")):(b.removeAttr("aria-disabled"),this._removeClass(b,null,"ui-state-disabled"));this.options.disabled=a;this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!0===a)},_setupEvents:function(a){var b={};a&&e.each(a.split(" "),function(c,f){b[f]="_eventHandler"});this._off(this.anchors.add(this.tabs).add(this.panels));this._on(!0,this.anchors,{click:function(c){c.preventDefault()}});
  this._on(this.anchors,b);this._on(this.tabs,{keydown:"_tabKeydown"});this._on(this.panels,{keydown:"_panelKeydown"});this._focusable(this.tabs);this._hoverable(this.tabs)},_setupHeightStyle:function(a){var b=this.element.parent();if("fill"===a){var c=b.height();c-=this.element.outerHeight()-this.element.height();this.element.siblings(":visible").each(function(){var f=e(this),h=f.css("position");"absolute"!==h&&"fixed"!==h&&(c-=f.outerHeight(!0))});this.element.children().not(this.panels).each(function(){c-=
  e(this).outerHeight(!0)});this.panels.each(function(){e(this).height(Math.max(0,c-e(this).innerHeight()+e(this).height()))}).css("overflow","auto")}else"auto"===a&&(c=0,this.panels.each(function(){c=Math.max(c,e(this).height("").height())}).height(c))},_eventHandler:function(a){var b=this.options,c=this.active,f=e(a.currentTarget).closest("li"),h=f[0]===c[0],m=h&&b.collapsible,q=m?e():this._getPanelForTab(f),v=c.length?this._getPanelForTab(c):e();c={oldTab:c,oldPanel:v,newTab:m?e():f,newPanel:q};
  a.preventDefault();f.hasClass("ui-state-disabled")||f.hasClass("ui-tabs-loading")||this.running||h&&!b.collapsible||!1===this._trigger("beforeActivate",a,c)||(b.active=m?!1:this.tabs.index(f),this.active=h?e():f,this.xhr&&this.xhr.abort(),v.length||q.length||e.error("jQuery UI Tabs: Mismatching fragment identifier."),q.length&&this.load(this.tabs.index(f),a),this._toggle(a,c))},_toggle:function(a,b){function c(){h.running=!1;h._trigger("activate",a,b)}function f(){h._addClass(b.newTab.closest("li"),
  "ui-tabs-active","ui-state-active");m.length&&h.options.show?h._show(m,h.options.show,c):(m.show(),c())}var h=this,m=b.newPanel,q=b.oldPanel;this.running=!0;q.length&&this.options.hide?this._hide(q,this.options.hide,function(){h._removeClass(b.oldTab.closest("li"),"ui-tabs-active","ui-state-active");f()}):(this._removeClass(b.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),q.hide(),f());q.attr("aria-hidden","true");b.oldTab.attr({"aria-selected":"false","aria-expanded":"false"});m.length&&
  q.length?b.oldTab.attr("tabIndex",-1):m.length&&this.tabs.filter(function(){return 0===e(this).attr("tabIndex")}).attr("tabIndex",-1);m.attr("aria-hidden","false");b.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(a){a=this._findActive(a);a[0]!==this.active[0]&&(a.length||(a=this.active),a=a.find(".ui-tabs-anchor")[0],this._eventHandler({target:a,currentTarget:a,preventDefault:e.noop}))},_findActive:function(a){return!1===a?e():this.tabs.eq(a)},_getIndex:function(a){"string"===
  typeof a&&(a=this.anchors.index(this.anchors.filter("[href$\x3d'"+e.ui.escapeSelector(a)+"']")));return a},_destroy:function(){this.xhr&&this.xhr.abort();this.tablist.removeAttr("role").off(this.eventNamespace);this.anchors.removeAttr("role tabIndex").removeUniqueId();this.tabs.add(this.panels).each(function(){e.data(this,"ui-tabs-destroy")?e(this).remove():e(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")});this.tabs.each(function(){var a=
  e(this),b=a.data("ui-tabs-aria-controls");b?a.attr("aria-controls",b).removeData("ui-tabs-aria-controls"):a.removeAttr("aria-controls")});this.panels.show();"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(a){var b=this.options.disabled;!1!==b&&(void 0===a?b=!1:(a=this._getIndex(a),b=e.isArray(b)?e.map(b,function(c){return c!==a?c:null}):e.map(this.tabs,function(c,f){return f!==a?f:null})),this._setOptionDisabled(b))},disable:function(a){var b=this.options.disabled;
  if(!0!==b){if(void 0===a)b=!0;else{a=this._getIndex(a);if(-1!==e.inArray(a,b))return;b=e.isArray(b)?e.merge([a],b).sort():[a]}this._setOptionDisabled(b)}},load:function(a,b){a=this._getIndex(a);var c=this,f=this.tabs.eq(a);a=f.find(".ui-tabs-anchor");var h=this._getPanelForTab(f),m={tab:f,panel:h},q=function(v,x){"abort"===x&&c.panels.stop(!1,!0);c._removeClass(f,"ui-tabs-loading");h.removeAttr("aria-busy");v===c.xhr&&delete c.xhr};this._isLocal(a[0])||(this.xhr=e.ajax(this._ajaxSettings(a,b,m)))&&
  "canceled"!==this.xhr.statusText&&(this._addClass(f,"ui-tabs-loading"),h.attr("aria-busy","true"),this.xhr.done(function(v,x,F){setTimeout(function(){h.html(v);c._trigger("load",b,m);q(F,x)},1)}).fail(function(v,x){setTimeout(function(){q(v,x)},1)}))},_ajaxSettings:function(a,b,c){var f=this;return{url:a.attr("href").replace(/#.*$/,""),beforeSend:function(h,m){return f._trigger("beforeLoad",b,e.extend({jqXHR:h,ajaxSettings:m},c))}}},_getPanelForTab:function(a){a=e(a).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+
  a))}});!1!==e.uiBackCompat&&e.widget("ui.tabs",e.ui.tabs,{_processTabs:function(){this._superApply(arguments);this._addClass(this.tabs,"ui-tab")}});e.widget("ui.tooltip",{version:"1.12.1",options:{classes:{"ui-tooltip":"ui-corner-all ui-widget-shadow"},content:function(){var a=e(this).attr("title")||"";return e("\x3ca\x3e").text(a).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,track:!1,close:null,open:null},_addDescribedBy:function(a,
  b){var c=(a.attr("aria-describedby")||"").split(/\s+/);c.push(b);a.data("ui-tooltip-id",b).attr("aria-describedby",e.trim(c.join(" ")))},_removeDescribedBy:function(a){var b=a.data("ui-tooltip-id"),c=(a.attr("aria-describedby")||"").split(/\s+/);b=e.inArray(b,c);-1!==b&&c.splice(b,1);a.removeData("ui-tooltip-id");(c=e.trim(c.join(" ")))?a.attr("aria-describedby",c):a.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"});this.tooltips={};this.parents={};this.liveRegion=
  e("\x3cdiv\x3e").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body);this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible");this.disabledTitles=e([])},_setOption:function(a,b){var c=this;this._super(a,b);"content"===a&&e.each(this.tooltips,function(f,h){c._updateContent(h.element)})},_setOptionDisabled:function(a){this[a?"_disable":"_enable"]()},_disable:function(){var a=this;e.each(this.tooltips,function(b,c){b=e.Event("blur");b.target=
  b.currentTarget=c.element[0];a.close(b,!0)});this.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).addBack().filter(function(){var b=e(this);if(b.is("[title]"))return b.data("ui-tooltip-title",b.attr("title")).removeAttr("title")}))},_enable:function(){this.disabledTitles.each(function(){var a=e(this);a.data("ui-tooltip-title")&&a.attr("title",a.data("ui-tooltip-title"))});this.disabledTitles=e([])},open:function(a){var b=this,c=e(a?a.target:this.element).closest(this.options.items);
  c.length&&!c.data("ui-tooltip-id")&&(c.attr("title")&&c.data("ui-tooltip-title",c.attr("title")),c.data("ui-tooltip-open",!0),a&&"mouseover"===a.type&&c.parents().each(function(){var f=e(this);if(f.data("ui-tooltip-open")){var h=e.Event("blur");h.target=h.currentTarget=this;b.close(h,!0)}f.attr("title")&&(f.uniqueId(),b.parents[this.id]={element:this,title:f.attr("title")},f.attr("title",""))}),this._registerCloseHandlers(a,c),this._updateContent(c,a))},_updateContent:function(a,b){var c=this.options.content;
  var f=this,h=b?b.type:null;if("string"===typeof c||c.nodeType||c.jquery)return this._open(b,a,c);(c=c.call(a[0],function(m){f._delay(function(){a.data("ui-tooltip-open")&&(b&&(b.type=h),this._open(b,a,m))})}))&&this._open(b,a,c)},_open:function(a,b,c){function f(x){m.of=x;q.is(":hidden")||q.position(m)}var h,m=e.extend({},this.options.position);if(c)if(h=this._find(b))h.tooltip.find(".ui-tooltip-content").html(c);else{b.is("[title]")&&(a&&"mouseover"===a.type?b.attr("title",""):b.removeAttr("title"));
  h=this._tooltip(b);var q=h.tooltip;this._addDescribedBy(b,q.attr("id"));q.find(".ui-tooltip-content").html(c);this.liveRegion.children().hide();c=e("\x3cdiv\x3e").html(q.find(".ui-tooltip-content").html());c.removeAttr("name").find("[name]").removeAttr("name");c.removeAttr("id").find("[id]").removeAttr("id");c.appendTo(this.liveRegion);this.options.track&&a&&/^mouse/.test(a.type)?(this._on(this.document,{mousemove:f}),f(a)):q.position(e.extend({of:b},this.options.position));q.hide();this._show(q,
  this.options.show);if(this.options.track&&this.options.show&&this.options.show.delay)var v=this.delayedShow=setInterval(function(){q.is(":visible")&&(f(m.of),clearInterval(v))},e.fx.interval);this._trigger("open",a,{tooltip:q})}},_registerCloseHandlers:function(a,b){var c={keyup:function(f){f.keyCode===e.ui.keyCode.ESCAPE&&(f=e.Event(f),f.currentTarget=b[0],this.close(f,!0))}};b[0]!==this.element[0]&&(c.remove=function(){this._removeTooltip(this._find(b).tooltip)});a&&"mouseover"!==a.type||(c.mouseleave=
  "close");a&&"focusin"!==a.type||(c.focusout="close");this._on(!0,b,c)},close:function(a){var b=this,c=e(a?a.currentTarget:this.element),f=this._find(c);if(f){var h=f.tooltip;f.closing||(clearInterval(this.delayedShow),c.data("ui-tooltip-title")&&!c.attr("title")&&c.attr("title",c.data("ui-tooltip-title")),this._removeDescribedBy(c),f.hiding=!0,h.stop(!0),this._hide(h,this.options.hide,function(){b._removeTooltip(e(this))}),c.removeData("ui-tooltip-open"),this._off(c,"mouseleave focusout keyup"),c[0]!==
  this.element[0]&&this._off(c,"remove"),this._off(this.document,"mousemove"),a&&"mouseleave"===a.type&&e.each(this.parents,function(m,q){e(q.element).attr("title",q.title);delete b.parents[m]}),f.closing=!0,this._trigger("close",a,{tooltip:h}),f.hiding||(f.closing=!1))}else c.removeData("ui-tooltip-open")},_tooltip:function(a){var b=e("\x3cdiv\x3e").attr("role","tooltip"),c=e("\x3cdiv\x3e").appendTo(b),f=b.uniqueId().attr("id");this._addClass(c,"ui-tooltip-content");this._addClass(b,"ui-tooltip","ui-widget ui-widget-content");
  b.appendTo(this._appendTo(a));return this.tooltips[f]={element:a,tooltip:b}},_find:function(a){return(a=a.data("ui-tooltip-id"))?this.tooltips[a]:null},_removeTooltip:function(a){a.remove();delete this.tooltips[a.attr("id")]},_appendTo:function(a){a=a.closest(".ui-front, dialog");a.length||(a=this.document[0].body);return a},_destroy:function(){var a=this;e.each(this.tooltips,function(b,c){var f=e.Event("blur");c=c.element;f.target=f.currentTarget=c[0];a.close(f,!0);e("#"+b).remove();c.data("ui-tooltip-title")&&
  (c.attr("title")||c.attr("title",c.data("ui-tooltip-title")),c.removeData("ui-tooltip-title"))});this.liveRegion.remove()}});!1!==e.uiBackCompat&&e.widget("ui.tooltip",e.ui.tooltip,{options:{tooltipClass:null},_tooltip:function(){var a=this._superApply(arguments);this.options.tooltipClass&&a.tooltip.addClass(this.options.tooltipClass);return a}})});if("undefined"===typeof BLK||!BLK)var BLK={};BLK.isGreaterThanIE7=!1;BLK.isGreaterThanIE8=!1;BLK.isNotIE=!1;-1==navigator.appName.indexOf("Microsoft")?BLK.isNotIE=!0:(8<document.documentMode&&(BLK.isGreaterThanIE8=!0),7<document.documentMode&&(BLK.isGreaterThanIE7=!0));