You are on page 1of 151

<!

DOCTYPE html>
<html lang="en" >

<head>
<meta charset="UTF-8">

</head>

<body>

<style>

th,
td {
padding: 10px;
}

/**
* Quiz container/wrapper.
*/
.missing-words {
position: relative;
}

/**
* `ul` containing quiz draggable answers.
*/
.missing-words__answers {
background: #e1f2fb;
border-radius: 4px;
margin-bottom: 40px;
padding: 20px 20px 10px;
text-shadow: none;
transform: translateZ(0);
}

/**
* `li` that contain draggable components `missing-words__draggable`
* Items are rotated for a more random/scattered paper look.
*/
.missing-words__answers-item {
background: none;
display: inline-block;
min-height: 40px;
margin: 0 10px 10px 0;
padding: 0;
transition: transform .25s ease-in;
vertical-align: top;
}
.missing-words__answers-item:nth-child(3n+1) {
transform: rotate(-2deg);
}
.missing-words__answers-item:nth-child(3n+1):hover {
transform: rotate(0);
}
.missing-words__answers-item:nth-child(3n+2) {
transform: rotate(2deg);
}
.missing-words__answers-item:nth-child(3n+2):hover {
transform: rotate(0);
}

/**
* Quiz draggable items.
*/
.missing-words__draggable {
background: #fef3d0;
box-shadow: inset 1px 1px 0 white, 1px 1px 2px rgba(0, 0, 0, 0.2);
color: #197dac;
cursor: grab;
display: block;
font-family: "Indie Flower", Helvetica, Arial, sans-serif;
font-size: 18px;
font-weight: 600;
line-height: 18px;
padding: 10px 20px;
position: relative;
white-space: nowrap;
}
.missing-words__draggable:after {
background: url(../img/interface/btn-shadow.png) no-repeat right bottom;
content: "";
display: block;
height: 9px;
position: absolute;
top: 100%;
right: 0;
transition: all .50s;
width: 100%;
}
.missing-words__draggable:hover {
cursor: hand;
}
.missing-words__draggable:hover:after {
height: 3px;
opacity: .5;
bottom: -3px;
}
.missing-words__draggable:active {
cursor: grabbing;
}

/**
* Droppable area items can be dragged over.
* Class of `.answered` is added when answer is correct/matches so styling
can
* be changed/overwritten.
*/
.missing-words__blank {
background: white;
border: 4px solid #4cb0df;
box-shadow: inset 3px 3px 0 rgba(0, 0, 0, 0.1);
box-sizing: border-box;
display: inline-block;
min-height: 40px;
letter-spacing: 1px;
text-align: center;
vertical-align: middle;
width: 100%;
}
.missing-words__blank + .missing-words__blank {
margin-top: 10px;
}
.missing-words__blank.answered {
background: #b2b74f;
border-color: #8e923f;
transition: all .25s;
}
.missing-words__blank.answered .missing-words__draggable {
background: none;
box-shadow: none;
color: white;
cursor: default;
height: auto !important;
padding: 10px 5px;
white-space: normal;
width: auto !important;
vertical-align: middle;
}
.missing-words__blank.answered .missing-words__draggable:after {
display: none;
}

/**
* Depending on if the quiz is in a `table` or a `ul` there's some specific
* styling for each.
*/
.missing-words__table,
.missing-words__list {
color: #406d80;
font-family: "Indie Flower", Helvetica, Arial, sans-serif;
letter-spacing: 1px;
line-height: 1.2em;
}

/**
* Quiz `table` specific styling.
*/
.missing-words__table tr:first-child td:first-child {
border-radius: 4px 0 0 0;
}
.missing-words__table tr:first-child td:last-child {
border-radius: 0 4px 0 0;
}
.missing-words__table tr:last-child td:first-child {
border-radius: 0 0 0 4px;
}
.missing-words__table tr:last-child td:last-child {
border-radius: 0 0 4px 0;
}
.missing-words__table th,
.missing-words__table td {
border-color: white !important;
}
.missing-words__table th.has-rip,
.missing-words__table td.has-rip {
padding-left: 40px;
}
.missing-words__table td {
background-color: #e1f2fb;
vertical-align: middle;
}
.missing-words__table td.has-rip {
background: #e1f2fb url(../img/interface/zig-zag.png) repeat-y left top;
}
</style>

<div class="missing-words">

<ul class="missing-words__answers">
<li class="missing-words__answers-item draggable word-1"><span
class="missing-words__draggable draggable word-1">Desarrollo
rural</span></li>
<li class="missing-words__answers-item draggable word-2"><span
class="missing-words__draggable draggable word-2">Medio
Rural</span></li>
<li class="missing-words__answers-item draggable word-3"><span
class="missing-words__draggable draggable word-3">Componente del
medio rural </span></li>
</ul>

<li class="missing-words__answers-item draggable word-3"><span


class="missing-words__draggable draggable word-4">Sostenibilidad
económica política y social</span></li>
</ul>

<li class="missing-words__answers-item draggable word-3"><span


class="missing-words__draggable draggable word-5">Objetivo del
desarrollo rural</span></li>
</ul>

<table class="missing-words__table">
<thead>
<tr>
<th style="width: 66.666%;">Descripción</th>
<th style="width: 33.333%;" class="has-rip">Concepto</th>
</tr>
</thead>
<tbody>
<tr>
<td>Conjunto de asentamientos que se interrelacionan entre ellos y con
el exterior a través de canales por medio del intercambio de personas,
mercancías e información.</td>
<td class="has-rip">
<span class="missing-words__blank blank" data-accept="word-
3"></span>
</td>
</tr>
<tr>
<td>Lograr una producción agrícola sostenible para asegurar que todos
los seres humanos tengan acceso a los alimentos que necesitan.</td>
<td class="has-rip">
<span class="missing-words__blank blank" data-accept="word-
5"></span>
</td>
</tr>
<tr>
<td>Se relacionan con el desarrollo y medio rural</td>
<td class="has-rip">
<span class="missing-words__blank blank" data-accept="word-
4"></span>
</td>
</tr>
<tr>
<td>Conjunto de regiones o zonas en las que se llevan a cabo diversas
actividades económicas, en las que se asientan grupos humanos entre
otros.</td>
<td class="has-rip">
<span class="missing-words__blank blank" data-accept="word-
2"></span>
</td>
</tr>
<tr>
<td>Proceso de incremento en el nivel de bienestar de la población rural
y de la contribución que el medio rural hace al bienestar de la población en
conjunto.</td>
<td class="has-rip">
<span class="missing-words__blank blank" data-accept="word-
1"></span>
</td>
</tr>
</tbody>
</table>

</div>

<style>

th,
td {
padding: 10px;
}

/**
* Quiz container/wrapper.
*/
.missing-words {
position: relative;
}

/**
* `ul` containing quiz draggable answers.
*/
.missing-words__answers {
background: #e1f2fb;
border-radius: 4px;
margin-bottom: 40px;
padding: 20px 20px 10px;
text-shadow: none;
transform: translateZ(0);
}

/**
* `li` that contain draggable components `missing-words__draggable`
* Items are rotated for a more random/scattered paper look.
*/
.missing-words__answers-item {
background: none;
display: inline-block;
min-height: 40px;
margin: 0 10px 10px 0;
padding: 0;
transition: transform .25s ease-in;
vertical-align: top;
}
.missing-words__answers-item:nth-child(3n+1) {
transform: rotate(-2deg);
}
.missing-words__answers-item:nth-child(3n+1):hover {
transform: rotate(0);
}
.missing-words__answers-item:nth-child(3n+2) {
transform: rotate(2deg);
}
.missing-words__answers-item:nth-child(3n+2):hover {
transform: rotate(0);
}

/**
* Quiz draggable items.
*/
.missing-words__draggable {
background: #fef3d0;
box-shadow: inset 1px 1px 0 white, 1px 1px 2px rgba(0, 0, 0, 0.2);
color: #197dac;
cursor: grab;
display: block;
font-family: "Indie Flower", Helvetica, Arial, sans-serif;
font-size: 18px;
font-weight: 600;
line-height: 18px;
padding: 10px 20px;
position: relative;
white-space: nowrap;
}
.missing-words__draggable:after {
background: url(../img/interface/btn-shadow.png) no-repeat right bottom;
content: "";
display: block;
height: 9px;
position: absolute;
top: 100%;
right: 0;
transition: all .50s;
width: 100%;
}
.missing-words__draggable:hover {
cursor: hand;
}
.missing-words__draggable:hover:after {
height: 3px;
opacity: .5;
bottom: -3px;
}
.missing-words__draggable:active {
cursor: grabbing;
}

/**
* Droppable area items can be dragged over.
* Class of `.answered` is added when answer is correct/matches so styling
can
* be changed/overwritten.
*/
.missing-words__blank {
background: white;
border: 4px solid #4cb0df;
box-shadow: inset 3px 3px 0 rgba(0, 0, 0, 0.1);
box-sizing: border-box;
display: inline-block;
min-height: 40px;
letter-spacing: 1px;
text-align: center;
vertical-align: middle;
width: 100%;
}
.missing-words__blank + .missing-words__blank {
margin-top: 10px;
}
.missing-words__blank.answered {
background: #b2b74f;
border-color: #8e923f;
transition: all .25s;
}
.missing-words__blank.answered .missing-words__draggable {
background: none;
box-shadow: none;
color: white;
cursor: default;
height: auto !important;
padding: 10px 5px;
white-space: normal;
width: auto !important;
vertical-align: middle;
}
.missing-words__blank.answered .missing-words__draggable:after {
display: none;
}

/**
* Depending on if the quiz is in a `table` or a `ul` there's some specific
* styling for each.
*/
.missing-words__table,
.missing-words__list {
color: #406d80;
font-family: "Indie Flower", Helvetica, Arial, sans-serif;
letter-spacing: 1px;
line-height: 1.2em;
}

/**
* Quiz `table` specific styling.
*/
.missing-words__table tr:first-child td:first-child {
border-radius: 4px 0 0 0;
}
.missing-words__table tr:first-child td:last-child {
border-radius: 0 4px 0 0;
}
.missing-words__table tr:last-child td:first-child {
border-radius: 0 0 0 4px;
}
.missing-words__table tr:last-child td:last-child {
border-radius: 0 0 4px 0;
}
.missing-words__table th,
.missing-words__table td {
border-color: white !important;
}
.missing-words__table th.has-rip,
.missing-words__table td.has-rip {
padding-left: 40px;
}
.missing-words__table td {
background-color: #e1f2fb;
vertical-align: middle;
}
.missing-words__table td.has-rip {
background: #e1f2fb repeat-y left top;
}

</style>

<script>/*! jQuery v2.2.4 | (c) jQuery Foundation | jquery.org/license */


!function(a,b){"object"==typeof module&&"object"==typeof
module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.docu
ment)throw new Error("jQuery requires a window with a document");return
b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var
c=[],d=a.document,e=c.slice,f=c.concat,g=c.push,h=c.indexOf,i={},j=i.toStrin
g,k=i.hasOwnProperty,l={},m="2.2.4",n=function(a,b){return new
n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-
z])/gi,r=function(a,b){return
b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",leng
th:0,toArray:function(){return e.call(this)},get:function(a){return
null!=a?0>a?this[a+this.length]:this[a]:e.call(this)},pushStack:function(a){var
b=n.merge(this.constructor(),a);return
b.prevObject=this,b.context=this.context,b},each:function(a){return
n.each(this,a)},map:function(a){return
this.pushStack(n.map(this,function(b,c){return
a.call(b,c,b)}))},slice:function(){return
this.pushStack(e.apply(this,arguments))},first:function(){return
this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var
b=this.length,c=+a+(0>a?b:0);return
this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return
this.prevObject||this.constructor()},push:g,sort:c.sort,splice:c.splice},n.exten
d=n.fn.extend=function(){var
a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==t
ypeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof
g||n.isFunction(g)||(g={}),h===i&&(g=this,h--
);i>h;h++)if(null!=(a=arguments[h]))for(b in
a)c=g[b],d=a[b],g!==d&&(j&&d&&(n.isPlainObject(d)||(e=n.isArray(d)))?(e?(e
=!1,f=c&&n.isArray(c)?c:[]):f=c&&n.isPlainObject(c)?c:{},g[b]=n.extend(j,f,d))
:void 0!==d&&(g[b]=d));return
g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isRead
y:!0,error:function(a){throw new
Error(a)},noop:function(){},isFunction:function(a){return"function"===n.type
(a)},isArray:Array.isArray,isWindow:function(a){return
null!=a&&a===a.window},isNumeric:function(a){var
b=a&&a.toString();return!n.isArray(a)&&b-
parseFloat(b)+1>=0},isPlainObject:function(a){var
b;if("object"!==n.type(a)||a.nodeType||n.isWindow(a))return!1;if(a.construct
or&&!k.call(a,"constructor")&&!k.call(a.constructor.prototype||{},"isPrototyp
eOf"))return!1;for(b in a);return void
0===b||k.call(a,b)},isEmptyObject:function(a){var b;for(b in
a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof
a||"function"==typeof a?i[j.call(a)]||"object":typeof
a},globalEval:function(a){var b,c=eval;a=n.trim(a),a&&(1===a.indexOf("use
strict")?(b=d.createElement("script"),b.text=a,d.head.appendChild(b).parent
Node.removeChild(b)):c(a))},camelCase:function(a){return a.replace(p,"ms-
").replace(q,r)},nodeName:function(a,b){return
a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:func
tion(a,b){var
c,d=0;if(s(a)){for(c=a.length;c>d;d++)if(b.call(a[d],d,a[d])===!1)break}else
for(d in a)if(b.call(a[d],d,a[d])===!1)break;return a},trim:function(a){return
null==a?"":(a+"").replace(o,"")},makeArray:function(a,b){var c=b||[];return
null!=a&&(s(Object(a))?n.merge(c,"string"==typeof
a?[a]:a):g.call(c,a)),c},inArray:function(a,b,c){return null==b?-
1:h.call(b,a,c)},merge:function(a,b){for(var
c=+b.length,d=0,e=a.length;c>d;d++)a[e++]=b[d];return
a.length=e,a},grep:function(a,b,c){for(var
d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return
e},map:function(a,b,c){var
d,e,g=0,h=[];if(s(a))for(d=a.length;d>g;g++)e=b(a[g],g,c),null!=e&&h.push(e)
;else for(g in a)e=b(a[g],g,c),null!=e&&h.push(e);return
f.apply([],h)},guid:1,proxy:function(a,b){var c,d,f;return"string"==typeof
b&&(c=a[b],b=a,a=c),n.isFunction(a)?(d=e.call(arguments,2),f=function(){ret
urn
a.apply(b||this,d.concat(e.call(arguments)))},f.guid=a.guid=a.guid||n.guid++,
f):void 0},now:Date.now,support:l}),"function"==typeof
Symbol&&(n.fn[Symbol.iterator]=c[Symbol.iterator]),n.each("Boolean
Number String Function Array Date RegExp Object Error Symbol".split("
"),function(a,b){i["[object "+b+"]"]=b.toLowerCase()});function s(a){var
b=!!a&&"length"in
a&&a.length,c=n.type(a);return"function"===c||n.isWindow(a)?!1:"array"===
c||0===b||"number"==typeof b&&b>0&&b-1 in a}var t=function(a){var
b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new
Date,v=a.document,w=0,x=0,y=ga(),z=ga(),A=ga(),B=function(a,b){return
a===b&&(l=!0),0},C=1<<31,D={}.hasOwnProperty,E=[],F=E.pop,G=E.push,H=
E.push,I=E.slice,J=function(a,b){for(var
c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-
1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hid
den|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]
",M="(?:\\\\.|[\\w-]|[^\\x00-
\\xa0])+",N="\\["+L+"*("+M+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'
|\"((?:\\\\.|[^\\\\\"])*)\"|("+M+"))|)"+L+"*\\]",O=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|
\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+N+")*)|.*)\\)|)",P=new
RegExp(L+"+","g"),Q=new
RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),R=new
RegExp("^"+L+"*,"+L+"*"),S=new
RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),T=new
RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),U=new RegExp(O),V=new
RegExp("^"+M+"$"),W={ID:new RegExp("^#("+M+")"),CLASS:new
RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new
RegExp("^"+N),PSEUDO:new RegExp("^"+O),CHILD:new
RegExp("^:(only|first|last|nth|nth-last)-(child|of-
type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-
]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new
RegExp("^(?:"+K+")$","i"),needsContext:new
RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-
\\d)?\\d*)"+L+"*\\)|)(?=[^-
]|$)","i")},X=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Z=/^[^{]+\{\s*\[na
tive \w/,$=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,_=/[+~]/,aa=/'|\\/g,ba=new
RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),ca=function(a,b,c){var
d="0x"+b-65536;return
d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10
|55296,1023&d|56320)},da=function(){m()};try{H.apply(E=I.call(v.childNodes)
,v.childNodes),E[v.childNodes.length].nodeType}catch(ea){H={apply:E.lengt
h?function(a,b){G.apply(a,I.call(b))}:function(a,b){var
c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fa(a,b,d,e){var
f,h,j,k,l,o,r,s,w=b&&b.ownerDocument,x=b?b.nodeType:9;if(d=d||[],"string"!
=typeof a||!a||1!==x&&9!==x&&11!==x)return
d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==x&&(o=$
.exec(a)))if(f=o[1]){if(9===x){if(!(j=b.getElementById(f)))return
d;if(j.id===f)return d.push(j),d}else
if(w&&(j=w.getElementById(f))&&t(b,j)&&j.id===f)return
d.push(j),d}else{if(o[2])return
H.apply(d,b.getElementsByTagName(a)),d;if((f=o[3])&&c.getElementsByCla
ssName&&b.getElementsByClassName)return
H.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+"
"]&&(!q||!q.test(a))){if(1!==x)w=b,s=a;else
if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.repl
ace(aa,"\\$&"):b.setAttribute("id",k=u),r=g(a),h=r.length,l=V.test(k)?"#"+k:"[i
d='"+k+"']";while(h--)r[h]=l+"
"+qa(r[h]);s=r.join(","),w=_.test(a)&&oa(b.parentNode)||b}if(s)try{return
H.apply(d,w.querySelectorAll(s)),d}catch(y){}finally{k===u&&b.removeAttrib
ute("id")}}}return i(a.replace(Q,"$1"),b,d,e)}function ga(){var a=[];function
b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+"
"]=e}return b}function ha(a){return a[u]=!0,a}function ia(a){var
b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentN
ode&&b.parentNode.removeChild(b),b=null}}function ja(a,b){var
c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function ka(a,b){var
c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||C)-
(~a.sourceIndex||C);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-
1;return a?1:-1}function la(a){return function(b){var
c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function
ma(a){return function(b){var
c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type=
==a}}function na(a){return ha(function(b){return b=+b,ha(function(c,d){var
e,f=a([],c.length,b),g=f.length;while(g--
)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function oa(a){return
a&&"undefined"!=typeof
a.getElementsByTagName&&a}c=fa.support={},f=fa.isXML=function(a){var
b=a&&(a.ownerDocument||a).documentElement;return
b?"HTML"!==b.nodeName:!1},m=fa.setDocument=function(a){var
b,e,g=a?a.ownerDocument||a:v;return
g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElem
ent,p=!f(n),(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEve
ntListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c
.attributes=ia(function(a){return
a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=
ia(function(a){return
a.appendChild(n.createComment("")),!a.getElementsByTagName("*").lengt
h}),c.getElementsByClassName=Z.test(n.getElementsByClassName),c.getB
yId=ia(function(a){return
o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).l
ength}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof
b.getElementById&&p){var c=b.getElementById(a);return
c?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ba,ca);return
function(a){return a.getAttribute("id")===b}}):(delete
d.find.ID,d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){var
c="undefined"!=typeof
a.getAttributeNode&&a.getAttributeNode("id");return
c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){ret
urn"undefined"!=typeof
b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySel
ectorAll(a):void 0}:function(a,b){var
c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.
nodeType&&d.push(c);return d}return
f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return"undefi
ned"!=typeof
b.getElementsByClassName&&p?b.getElementsByClassName(a):void
0},r=[],q=[],(c.qsa=Z.test(n.querySelectorAll))&&(ia(function(a){o.appendChi
ld(a).innerHTML="<a id='"+u+"'></a><select id='"+u+"-\r\\'
msallowcapture=''><option
selected=''></option></select>",a.querySelectorAll("[msallowcapture^='']").l
ength&&q.push("[*^$]="+L+"*(?:''|\"\")"),a.querySelectorAll("[selected]").len
gth||q.push("\\["+L+"*(?:value|"+K+")"),a.querySelectorAll("[id~="+u+"-
]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":chec
ked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ia(functio
n(a){var
b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(
b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.pus
h("name"+L+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":e
nabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSe
lector=Z.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelect
or||o.oMatchesSelector||o.msMatchesSelector))&&ia(function(a){c.disconne
ctedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",O)}),q=q.length&&ne
w RegExp(q.join("|")),r=r.length&&new
RegExp(r.join("|")),b=Z.test(o.compareDocumentPosition),t=b||Z.test(o.cont
ains)?function(a,b){var
c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return
a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocument
Position&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b
=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)retur
n l=!0,0;var d=!a.compareDocumentPosition-
!b.compareDocumentPosition;return
d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocum
entPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)==
=d?a===n||a.ownerDocument===v&&t(v,a)?-
1:b===n||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-
1:1)}:function(a,b){if(a===b)return l=!0,0;var
c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-
1:b===n?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return
ka(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.
unshift(c);while(g[d]===h[d])d++;return d?ka(g[d],h[d]):g[d]===v?-
1:h[d]===v?1:0},n):n},fa.matches=function(a,b){return
fa(a,null,null,b)},fa.matchesSelector=function(a,b){if((a.ownerDocument||a)!
==n&&m(a),b=b.replace(T,"='$1']"),c.matchesSelector&&p&&!A[b+"
"]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var
d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.no
deType)return d}catch(e){}return
fa(b,n,null,[a]).length>0},fa.contains=function(a,b){return(a.ownerDocumen
t||a)!==n&&m(a),t(a,b)},fa.attr=function(a,b){(a.ownerDocument||a)!==n&&
m(a);var
e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase(
))?e(a,b,!p):void 0;return void
0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.spec
ified?f.value:null},fa.error=function(a){throw new Error("Syntax error,
unrecognized expression: "+a)},fa.uniqueSort=function(a){var
b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),
l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return
k=null,a},e=fa.getText=function(a){var
b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof
a.textContent)return
a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else
if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return
c},d=fa.selectors={cacheLength:50,createPseudo:ha,match:W,attrHandle:{},
find:{},relative:{">":{dir:"parentNode",first:!0},"
":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibli
ng"}},preFilter:{ATTR:function(a){return
a[1]=a[1].replace(ba,ca),a[3]=(a[3]||a[4]||a[5]||"").replace(ba,ca),"~="===a[2]&
&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return
a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fa.error(a[0]),a[4]=+(a[
4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"==
=a[3])):a[3]&&fa.error(a[0]),a},PSEUDO:function(a){var
b,c=!a[6]&&a[2];return
W.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&U.test(c)&&(b=g(c,!0))&
&(b=c.indexOf(")",c.length-b)-
c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:fu
nction(a){var
b=a.replace(ba,ca).toLowerCase();return"*"===a?function(){return!0}:functi
on(a){return
a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var
b=y[a+" "];return b||(b=new
RegExp("(^|"+L+")"+a+"("+L+"|$)"))&&y(a,function(a){return
b.test("string"==typeof a.className&&a.className||"undefined"!=typeof
a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return
function(d){var e=fa.attr(d,a);return
null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0=
==e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-
c.length)===c:"~="===b?(" "+e.replace(P," ")+" ").indexOf(c)>-
1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-
":!1):!0}},CHILD:function(a,b,c,d,e){var
f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return
1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var
j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b
.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m
[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="o
nly"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&
s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]
===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(
t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}els
e
if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n
=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((
h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u
]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;ret
urn t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var
c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fa.error("unsupported
pseudo: "+a);return
e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCa
se())?ha(function(a,c){var d,f=e(a,b),g=f.length;while(g--
)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return
e(a,0,c)}):e}},pseudos:{not:ha(function(a){var
b=[],c=[],d=h(a.replace(Q,"$1"));return d[u]?ha(function(a,b,c,e){var
f,g=d(a,null,e,[]),h=a.length;while(h--
)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return
b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ha(function(a){return
function(b){return fa(a,b).length>0}}),contains:ha(function(a){return
a=a.replace(ba,ca),function(b){return(b.textContent||b.innerText||e(b)).index
Of(a)>-1}}),lang:ha(function(a){return V.test(a||"")||fa.error("unsupported
lang: "+a),a=a.replace(ba,ca).toLowerCase(),function(b){var c;do
if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return
c=c.toLowerCase(),c===a||0===c.indexOf(a+"-
");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b)
{var c=a.location&&a.location.hash;return
c&&c.slice(1)===b.id},root:function(a){return
a===o},focus:function(a){return
a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.ta
bIndex)},enabled:function(a){return
a.disabled===!1},disabled:function(a){return
a.disabled===!0},checked:function(a){var
b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"==
=b&&!!a.selected},selected:function(a){return
a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:functi
on(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0}
,parent:function(a){return!d.pseudos.empty(a)},header:function(a){return
Y.test(a.nodeName)},input:function(a){return
X.test(a.nodeName)},button:function(a){var
b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"bu
tton"===b},text:function(a){var
b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==
(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:na(function(){re
turn[0]}),last:na(function(a,b){return[b-
1]}),eq:na(function(a,b,c){return[0>c?c+b:c]}),even:na(function(a,b){for(var
c=0;b>c;c+=2)a.push(c);return a}),odd:na(function(a,b){for(var
c=1;b>c;c+=2)a.push(c);return a}),lt:na(function(a,b,c){for(var d=0>c?c+b:c;--
d>=0;)a.push(d);return a}),gt:na(function(a,b,c){for(var
d=0>c?c+b:c;++d<b;)a.push(d);return
a})}},d.pseudos.nth=d.pseudos.eq;for(b
in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=la(b);for(
b in{submit:!0,reset:!0})d.pseudos[b]=ma(b);function
pa(){}pa.prototype=d.filters=d.pseudos,d.setFilters=new
pa,g=fa.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return
b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){c&&!(e=R.exec(h))||(e&&(h=h.sli
ce(e[0].length)||h),i.push(f=[])),c=!1,(e=S.exec(h))&&(c=e.shift(),f.push({value
:c,type:e[0].replace(Q," ")}),h=h.slice(c.length));for(g in
d.filter)!(e=W[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:
g,matches:e}),h=h.slice(c.length));if(!c)break}return
b?h.length:h?fa.error(a):z(a,i).slice(0)};function qa(a){for(var
b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function ra(a,b,c){var
d=b.dir,e=c&&"parentNode"===d,f=x++;return
b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return
a(b,c,f)}:function(b,c,g){var
h,i,j,k=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}els
e
while(b=b[d])if(1===b.nodeType||e){if(j=b[u]||(b[u]={}),i=j[b.uniqueID]||(j[b.u
niqueID]={}),(h=i[d])&&h[0]===w&&h[1]===f)return
k[2]=h[2];if(i[d]=k,k[2]=a(b,c,g))return!0}}}function sa(a){return
a.length>1?function(b,c,d){var e=a.length;while(e--
)if(!a[e](b,c,d))return!1;return!0}:a[0]}function ta(a,b,c){for(var
d=0,e=b.length;e>d;d++)fa(a,b[d],c);return c}function ua(a,b,c,d,e){for(var
f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(c&&!c(f,d,e)||(g.push(f),j&
&b.push(h)));return g}function va(a,b,c,d,e,f){return
d&&!d[u]&&(d=va(d)),e&&!e[u]&&(e=va(e,f)),ha(function(f,g,h,i){var
j,k,l,m=[],n=[],o=g.length,p=f||ta(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:u
a(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ua(r,n),d(j,[],h,i),k=j.le
ngth;while(k--
)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--
)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--
)(l=r[k])&&(j=e?J(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else
r=ua(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function
wa(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative["
"],i=g?1:0,k=ra(function(a){return a===b},h,!0),l=ra(function(a){return
J(b,a)>-1},h,!0),m=[function(a,c,d){var
e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return
b=null,e}];f>i;i++)if(c=d.relative[a[i].type])m=[ra(sa(m),c)];else{if(c=d.filter[a[
i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].typ
e])break;return va(i>1&&sa(m),i>1&&qa(a.slice(0,i-1).concat({value:"
"===a[i-
2].type?"*":""})).replace(Q,"$1"),c,e>i&&wa(a.slice(i,e)),f>e&&wa(a=a.slice(e
)),f>e&&qa(a))}m.push(c)}return sa(m)}function xa(a,b){var
c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var
l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:
Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s
++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,
g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--
,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)whi
le(s--
)t[s]||u[s]||(u[s]=F.call(i));u=ua(u)}H.apply(i,u),k&&!f&&u.length>0&&r+b.len
gth>1&&fa.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ha(f):f}return
h=fa.compile=function(a,b){var c,d=[],e=[],f=A[a+"
"];if(!f){b||(b=g(a)),c=b.length;while(c--
)f=wa(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xa(e,d)),f.selector=a}return
f},i=fa.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof
a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0)
,j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d
.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(ba,ca),b)||[])[0],!b)re
turn
e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=W.needsContext.t
est(a)?0:j.length;while(i--
){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].repl
ace(ba,ca),_.test(j[0].type)&&oa(b.parentNode)||b))){if(j.splice(i,1),a=f.lengt
h&&qa(j),!a)return
H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,!b||_.test(a)&&oa(b.parentNo
de)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,
m(),c.sortDetached=ia(function(a){return
1&a.compareDocumentPosition(n.createElement("div"))}),ia(function(a){ret
urn a.innerHTML="<a
href='#'></a>","#"===a.firstChild.getAttribute("href")})||ja("type|href|height|
width",function(a,b,c){return c?void
0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ia(functi
on(a){return
a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChil
d.getAttribute("value")})||ja("value",function(a,b,c){return
c||"input"!==a.nodeName.toLowerCase()?void
0:a.defaultValue}),ia(function(a){return
null==a.getAttribute("disabled")})||ja(K,function(a,b,c){var d;return c?void
0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.val
ue:null}),fa}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.uniq
ueSort=n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.cont
ains=t.contains;var u=function(a,b,c){var d=[],e=void
0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&n(a).is(c))
break;d.push(a)}return d},v=function(a,b){for(var
c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return
c},w=n.expr.match.needsContext,x=/^<([\w-
]+)\s*\/?>(?:<\/\1>|)$/,y=/^.[^:#\[\.,]*$/;function
z(a,b,c){if(n.isFunction(b))return
n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return
n.grep(a,function(a){return a===b!==c});if("string"==typeof
b){if(y.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return
n.grep(a,function(a){return h.call(b,a)>-1!==c})}n.filter=function(a,b,c){var
d=b[0];return
c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelec
tor(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return
1===a.nodeType}))},n.fn.extend({find:function(a){var
b,c=this.length,d=[],e=this;if("string"!=typeof a)return
this.pushStack(n(a).filter(function(){for(b=0;c>b;b++)if(n.contains(e[b],this))
return!0}));for(b=0;c>b;b++)n.find(a,e[b],d);return
d=this.pushStack(c>1?n.unique(d):d),d.selector=this.selector?this.selector+"
"+a:a,d},filter:function(a){return
this.pushStack(z(this,a||[],!1))},not:function(a){return
this.pushStack(z(this,a||[],!0))},is:function(a){return!!z(this,"string"==typeof
a&&w.test(a)?n(a):a||[],!1).length}});var A,B=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-
]*))$/,C=n.fn.init=function(a,b,c){var e,f;if(!a)return
this;if(c=c||A,"string"==typeof a){if(e="<"===a[0]&&">"===a[a.length-
1]&&a.length>=3?[null,a,null]:B.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c)
.find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof
n?b[0]:b,n.merge(this,n.parseHTML(e[1],b&&b.nodeType?b.ownerDocume
nt||b:d,!0)),x.test(e[1])&&n.isPlainObject(b))for(e in
b)n.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}return
f=d.getElementById(e[2]),f&&f.parentNode&&(this.length=1,this[0]=f),this.
context=d,this.selector=a,this}return
a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?void
0!==c.ready?c.ready(a):a(n):(void
0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeAr
ray(a,this))};C.prototype=n.fn,A=n(d);var
D=/^(?:parents|prev(?:Until|All))/,E={children:!0,contents:!0,next:!0,prev:!0};
n.fn.extend({has:function(a){var b=n(a,this),c=b.length;return
this.filter(function(){for(var
a=0;c>a;a++)if(n.contains(this,b[a]))return!0})},closest:function(a,b){for(var
c,d=0,e=this.length,f=[],g=w.test(a)||"string"!=typeof
a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c
.nodeType<11&&(g?g.index(c)>-
1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return
this.pushStack(f.length>1?n.uniqueSort(f):f)},index:function(a){return
a?"string"==typeof
a?h.call(n(a),this[0]):h.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode
?this.first().prevAll().length:-1},add:function(a,b){return
this.pushStack(n.uniqueSort(n.merge(this.get(),n(a,b))))},addBack:function(
a){return
this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function
F(a,b){while((a=a[b])&&1!==a.nodeType);return
a}n.each({parent:function(a){var b=a.parentNode;return
b&&11!==b.nodeType?b:null},parents:function(a){return
u(a,"parentNode")},parentsUntil:function(a,b,c){return
u(a,"parentNode",c)},next:function(a){return
F(a,"nextSibling")},prev:function(a){return
F(a,"previousSibling")},nextAll:function(a){return
u(a,"nextSibling")},prevAll:function(a){return
u(a,"previousSibling")},nextUntil:function(a,b,c){return
u(a,"nextSibling",c)},prevUntil:function(a,b,c){return
u(a,"previousSibling",c)},siblings:function(a){return
v((a.parentNode||{}).firstChild,a)},children:function(a){return
v(a.firstChild)},contents:function(a){return
a.contentDocument||n.merge([],a.childNodes)}},function(a,b){n.fn[a]=functi
on(c,d){var e=n.map(this,b,c);return"Until"!==a.slice(-
5)&&(d=c),d&&"string"==typeof
d&&(e=n.filter(d,e)),this.length>1&&(E[a]||n.uniqueSort(e),D.test(a)&&e.rev
erse()),this.pushStack(e)}});var G=/\S+/g;function H(a){var b={};return
n.each(a.match(G)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="st
ring"==typeof a?H(a):n.extend({},a);var b,c,d,e,f=[],g=[],h=-
1,i=function(){for(e=a.once,d=b=!0;g.length;h=-
1){c=g.shift();while(++h<f.length)f[h].apply(c[0],c[1])===!1&&a.stopOnFalse
&&(h=f.length,c=!1)}a.memory||(c=!1),b=!1,e&&(f=c?[]:"")},j={add:function(){
return f&&(c&&!b&&(h=f.length-1,g.push(c)),function
d(b){n.each(b,function(b,c){n.isFunction(c)?a.unique&&j.has(c)||f.push(c):c&
&c.length&&"string"!==n.type(c)&&d(c)})}(arguments),c&&!b&&i()),this},re
move:function(){return n.each(arguments,function(a,b){var
c;while((c=n.inArray(b,f,c))>-1)f.splice(c,1),h>=c&&h--
}),this},has:function(a){return a?n.inArray(a,f)>-
1:f.length>0},empty:function(){return
f&&(f=[]),this},disable:function(){return
e=g=[],f=c="",this},disabled:function(){return!f},lock:function(){return
e=g=[],c||(f=c=""),this},locked:function(){return!!e},fireWith:function(a,c){ret
urn
e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return
j.fireWith(this,arguments),this},fired:function(){return!!d}};return
j},n.extend({Deferred:function(a){var b=[["resolve","done",n.Callbacks("once
memory"),"resolved"],["reject","fail",n.Callbacks("once
memory"),"rejected"],["notify","progress",n.Callbacks("memory")]],c="pendi
ng",d={state:function(){return c},always:function(){return
e.done(arguments).fail(arguments),this},then:function(){var
a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var
g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var
a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().pro
gress(c.notify).done(c.resolve).fail(c.reject):c[f[0]+"With"](this===d?c.promi
se():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return
null!=a?n.extend(a,d):d}},e={};return
d.pipe=d.then,n.each(b,function(a,f){var
g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][
2].lock),e[f[0]]=function(){return
e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),
d.promise(e),a&&a.call(e,e),e},when:function(a){var
b=0,c=e.call(arguments),d=c.length,f=1!==d||a&&n.isFunction(a.promise)?d:
0,g=1===f?a:n.Deferred(),h=function(a,b,c){return
function(d){b[a]=this,c[a]=arguments.length>1?e.call(arguments):d,c===i?g.
notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(d>1)for(i=new Array(d),j=new
Array(d),k=new
Array(d);d>b;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().progress
(h(b,j,i)).done(h(b,k,c)).fail(g.reject):--f;return
f||g.resolveWith(k,c),g.promise()}});var I;n.fn.ready=function(a){return
n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady
:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){(a===!0?--
n.readyWait:n.isReady)||(n.isReady=!0,a!==!0&&--
n.readyWait>0||(I.resolveWith(d,[n]),n.fn.triggerHandler&&(n(d).triggerHan
dler("ready"),n(d).off("ready"))))}});function
J(){d.removeEventListener("DOMContentLoaded",J),a.removeEventListener
("load",J),n.ready()}n.ready.promise=function(b){return
I||(I=n.Deferred(),"complete"===d.readyState||"loading"!==d.readyState&&!
d.documentElement.doScroll?a.setTimeout(n.ready):(d.addEventListener("
DOMContentLoaded",J),a.addEventListener("load",J))),I.promise(b)},n.read
y.promise();var K=function(a,b,c,d,e,f,g){var
h=0,i=a.length,j=null==c;if("object"===n.type(c)){e=!0;for(h in
c)K(a,b,h,c[h],!0,f,g)}else if(void
0!==d&&(e=!0,n.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=functi
on(a,b,c){return
j.call(n(a),c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return
e?a:j?b.call(a):i?b(a[0],c):f},L=function(a){return
1===a.nodeType||9===a.nodeType||!+a.nodeType};function
M(){this.expando=n.expando+M.uid++}M.uid=1,M.prototype={register:funct
ion(a,b){var c=b||{};return
a.nodeType?a[this.expando]=c:Object.defineProperty(a,this.expando,{value
:c,writable:!0,configurable:!0}),a[this.expando]},cache:function(a){if(!L(a))ret
urn{};var b=a[this.expando];return
b||(b={},L(a)&&(a.nodeType?a[this.expando]=b:Object.defineProperty(a,this
.expando,{value:b,configurable:!0}))),b},set:function(a,b,c){var
d,e=this.cache(a);if("string"==typeof b)e[b]=c;else for(d in b)e[d]=b[d];return
e},get:function(a,b){return void
0===b?this.cache(a):a[this.expando]&&a[this.expando][b]},access:function(
a,b,c){var d;return void 0===b||b&&"string"==typeof b&&void
0===c?(d=this.get(a,b),void
0!==d?d:this.get(a,n.camelCase(b))):(this.set(a,b,c),void
0!==c?c:b)},remove:function(a,b){var c,d,e,f=a[this.expando];if(void
0!==f){if(void
0===b)this.register(a);else{n.isArray(b)?d=b.concat(b.map(n.camelCase)):(e
=n.camelCase(b),b in f?d=[b,e]:(d=e,d=d in
f?[d]:d.match(G)||[])),c=d.length;while(c--)delete f[d[c]]}(void
0===b||n.isEmptyObject(f))&&(a.nodeType?a[this.expando]=void 0:delete
a[this.expando])}},hasData:function(a){var b=a[this.expando];return void
0!==b&&!n.isEmptyObject(b)}};var N=new M,O=new
M,P=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Q=/[A-Z]/g;function R(a,b,c){var d;if(void
0===c&&1===a.nodeType)if(d="data-"+b.replace(Q,"-
$&").toLowerCase(),c=a.getAttribute(d),"string"==typeof
c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:P.test(c)?
n.parseJSON(c):c;
}catch(e){}O.set(a,b,c)}else c=void 0;return
c}n.extend({hasData:function(a){return
O.hasData(a)||N.hasData(a)},data:function(a,b,c){return
O.access(a,b,c)},removeData:function(a,b){O.remove(a,b)},_data:function(a
,b,c){return
N.access(a,b,c)},_removeData:function(a,b){N.remove(a,b)}}),n.fn.extend({d
ata:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void
0===a){if(this.length&&(e=O.get(f),1===f.nodeType&&!N.get(f,"hasDataAtt
rs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-
")&&(d=n.camelCase(d.slice(5)),R(f,d,e[d])));N.set(f,"hasDataAttrs",!0)}retur
n e}return"object"==typeof
a?this.each(function(){O.set(this,a)}):K(this,function(b){var c,d;if(f&&void
0===b){if(c=O.get(f,a)||O.get(f,a.replace(Q,"-$&").toLowerCase()),void
0!==c)return c;if(d=n.camelCase(a),c=O.get(f,d),void 0!==c)return
c;if(c=R(f,d,void 0),void 0!==c)return c}else
d=n.camelCase(a),this.each(function(){var
c=O.get(this,d);O.set(this,d,b),a.indexOf("-")>-1&&void
0!==c&&O.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:fu
nction(a){return
this.each(function(){O.remove(this,a)})}}),n.extend({queue:function(a,b,c){va
r d;return
a?(b=(b||"fx")+"queue",d=N.get(a,b),c&&(!d||n.isArray(c)?d=N.access(a,b,n.
makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var
c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.
dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--
),e&&("fx"===b&&c.unshift("inprogress"),delete
f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var
c=b+"queueHooks";return N.get(a,c)||N.access(a,c,{empty:n.Callbacks("once
memory").add(function(){N.remove(a,[b+"queue",c])})})}}),n.fn.extend({queu
e:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--
),arguments.length<c?n.queue(this[0],a):void
0===b?this:this.each(function(){var
c=n.queue(this,a,b);n._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&
&n.dequeue(this,a)})},dequeue:function(a){return
this.each(function(){n.dequeue(this,a)})},clearQueue:function(a){return
this.queue(a||"fx",[])},promise:function(a,b){var
c,d=1,e=n.Deferred(),f=this,g=this.length,h=function(){--
d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g-
-)c=N.get(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return
h(),e.promise(b)}});var S=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=new
RegExp("^(?:([+-])=|)("+S+")([a-
z%]*)$","i"),U=["Top","Right","Bottom","Left"],V=function(a,b){return
a=b||a,"none"===n.css(a,"display")||!n.contains(a.ownerDocument,a)};functi
on W(a,b,c,d){var e,f=1,g=20,h=d?function(){return d.cur()}:function(){return
n.css(a,b,"")},i=h(),j=c&&c[3]||(n.cssNumber[b]?"":"px"),k=(n.cssNumber[b]||"
px"!==j&&+i)&&T.exec(n.css(a,b));if(k&&k[3]!==j){j=j||k[3],c=c||[],k=+i||1;do
f=f||".5",k/=f,n.style(a,b,k+j);while(f!==(f=h()/i)&&1!==f&&--g)}return
c&&(k=+k||+i||0,e=c[1]?k+(c[1]+1)*c[2]:+c[2],d&&(d.unit=j,d.start=k,d.end=e)
),e}var X=/^(?:checkbox|radio)$/i,Y=/<([\w:-
]+)/,Z=/^$|\/(?:java|ecma)script/i,$={option:[1,"<select
multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<tabl
e><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></ta
ble>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]
};$.optgroup=$.option,$.tbody=$.tfoot=$.colgroup=$.caption=$.thead,$.th=
$.td;function _(a,b){var c="undefined"!=typeof
a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!
=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void
0===b||b&&n.nodeName(a,b)?n.merge([a],c):c}function aa(a,b){for(var
c=0,d=a.length;d>c;c++)N.set(a[c],"globalEval",!b||N.get(b[c],"globalEval"))}
var ba=/<|&#?\w+;/;function ca(a,b,c,d,e){for(var
f,g,h,i,j,k,l=b.createDocumentFragment(),m=[],o=0,p=a.length;p>o;o++)if(f=
a[o],f||0===f)if("object"===n.type(f))n.merge(m,f.nodeType?[f]:f);else
if(ba.test(f)){g=g||l.appendChild(b.createElement("div")),h=(Y.exec(f)||["",""])
[1].toLowerCase(),i=$[h]||$._default,g.innerHTML=i[1]+n.htmlPrefilter(f)+i[2
],k=i[0];while(k--
)g=g.lastChild;n.merge(m,g.childNodes),g=l.firstChild,g.textContent=""}else
m.push(b.createTextNode(f));l.textContent="",o=0;while(f=m[o++])if(d&&n.
inArray(f,d)>-1)e&&e.push(f);else
if(j=n.contains(f.ownerDocument,f),g=_(l.appendChild(f),"script"),j&&aa(g),
c){k=0;while(f=g[k++])Z.test(f.type||"")&&c.push(f)}return l}!function(){var
a=d.createDocumentFragment(),b=a.appendChild(d.createElement("div")),c
=d.createElement("input");c.setAttribute("type","radio"),c.setAttribute("che
cked","checked"),c.setAttribute("name","t"),b.appendChild(c),l.checkClone=
b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="<textarea>
x</textarea>",l.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}()
;var
da=/^key/,ea=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,fa=/^([^.]*)(
?:\.(.+)|)/;function ga(){return!0}function ha(){return!1}function ia(){try{return
d.activeElement}catch(a){}}function ja(a,b,c,d,e,f){var
g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in
b)ja(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void
0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void
0)),e===!1)e=ha;else if(!e)return a;return 1===f&&(g=e,e=function(a){return
n().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=n.guid++)),a.each(
function(){n.event.add(this,b,e,d,c)})}n.event={global:{},add:function(a,b,c,d
,e){var
f,g,h,i,j,k,l,m,o,p,q,r=N.get(a);if(r){c.handler&&(f=c,c=f.handler,e=f.selector)
,c.guid||(c.guid=n.guid++),(i=r.events)||(i=r.events={}),(g=r.handle)||(g=r.hand
le=function(b){return"undefined"!=typeof
n&&n.event.triggered!==b.type?n.event.dispatch.apply(a,arguments):void
0}),b=(b||"").match(G)||[""],j=b.length;while(j--
)h=fa.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o&&(l=n.event.specia
l[o]||{},o=(e?l.delegateType:l.bindType)||o,l=n.event.special[o]||{},k=n.extend
({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e
&&n.expr.match.needsContext.test(e),namespace:p.join(".")},f),(m=i[o])||(m
=i[o]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,p,g)!==!1||a.addEvent
Listener&&a.addEventListener(o,g)),l.add&&(l.add.call(a,k),k.handler.guid||(
k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),n.eve
nt.global[o]=!0)}},remove:function(a,b,c,d,e){var
f,g,h,i,j,k,l,m,o,p,q,r=N.hasData(a)&&N.get(a);if(r&&(i=r.events)){b=(b||"").m
atch(G)||[""],j=b.length;while(j--
)if(h=fa.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special
[o]||{},o=(d?l.delegateType:l.bindType)||o,m=i[o]||[],h=h[2]&&new
RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--
)k=m[f],!e&&q!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)
||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.
delegateCount--
,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.c
all(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete i[o])}else for(o in
i)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(i)&&N.remove(a,"handle
events")}},dispatch:function(a){a=n.event.fix(a);var
b,c,d,f,g,h=[],i=e.call(arguments),j=(N.get(this,"events")||{})[a.type]||[],k=n.e
vent.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.pre
Dispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b+
+])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.ha
ndlers[c++])&&!a.isImmediatePropagationStopped())a.rnamespace&&!a.rna
mespace.test(g.namespace)||(a.handleObj=g,a.data=g.data,d=((n.event.spe
cial[g.origType]||{}).handle||g.handler).apply(f.elem,i),void
0!==d&&(a.result=d)===!1&&(a.preventDefault(),a.stopPropagation()))}retur
n
k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b
){var
c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&("click"!==a.t
ype||isNaN(a.button)||a.button<1))for(;i!==this;i=i.parentNode||this)if(1===i.
nodeType&&(i.disabled!==!0||"click"!==a.type)){for(d=[],c=0;h>c;c++)f=b[c],e
=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?n(e,this).index(i)>-
1:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,ha
ndlers:d})}return
h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},props:"altKey
bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey
relatedTarget shiftKey target timeStamp view which".split("
"),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split("
"),filter:function(a,b){return
null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mo
useHooks:{props:"button buttons clientX clientY offsetX offsetY pageX
pageY screenX screenY toElement".split(" "),filter:function(a,b){var
c,e,f,g=b.button;return
null==a.pageX&&null!=b.clientX&&(c=a.target.ownerDocument||d,e=c.docu
mentElement,f=c.body,a.pageX=b.clientX+(e&&e.scrollLeft||f&&f.scrollLeft|
|0)-
(e&&e.clientLeft||f&&f.clientLeft||0),a.pageY=b.clientY+(e&&e.scrollTop||f&
&f.scrollTop||0)-(e&&e.clientTop||f&&f.clientTop||0)),a.which||void
0===g||(a.which=1&g?1:2&g?3:4&g?2:0),a}},fix:function(a){if(a[n.expando])r
eturn a;var
b,c,e,f=a.type,g=a,h=this.fixHooks[f];h||(this.fixHooks[f]=h=ea.test(f)?this.m
ouseHooks:da.test(f)?this.keyHooks:{}),e=h.props?this.props.concat(h.props
):this.props,a=new n.Event(g),b=e.length;while(b--)c=e[b],a[c]=g[c];return
a.target||(a.target=d),3===a.target.nodeType&&(a.target=a.target.parentN
ode),h.filter?h.filter(a,g):a},special:{load:{noBubble:!0},focus:{trigger:functio
n(){return this!==ia()&&this.focus?(this.focus(),!1):void
0},delegateType:"focusin"},blur:{trigger:function(){return
this===ia()&&this.blur?(this.blur(),!1):void
0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===th
is.type&&this.click&&n.nodeName(this,"input")?(this.click(),!1):void
0},_default:function(a){return
n.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void
0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}}},n
.removeEvent=function(a,b,c){a.removeEventListener&&a.removeEventList
ener(b,c)},n.Event=function(a,b){return this instanceof
n.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPre
vented=a.defaultPrevented||void
0===a.defaultPrevented&&a.returnValue===!1?ga:ha):this.type=a,b&&n.ext
end(this,b),this.timeStamp=a&&a.timeStamp||n.now(),void(this[n.expando]
=!0)):new
n.Event(a,b)},n.Event.prototype={constructor:n.Event,isDefaultPrevented:h
a,isPropagationStopped:ha,isImmediatePropagationStopped:ha,isSimulate
d:!1,preventDefault:function(){var
a=this.originalEvent;this.isDefaultPrevented=ga,a&&!this.isSimulated&&a.p
reventDefault()},stopPropagation:function(){var
a=this.originalEvent;this.isPropagationStopped=ga,a&&!this.isSimulated&&
a.stopPropagation()},stopImmediatePropagation:function(){var
a=this.originalEvent;this.isImmediatePropagationStopped=ga,a&&!this.isSi
mulated&&a.stopImmediatePropagation(),this.stopPropagation()}},n.each({
mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerov
er",pointerleave:"pointerout"},function(a,b){n.event.special[a]={delegateTyp
e:b,bindType:b,handle:function(a){var
c,d=this,e=a.relatedTarget,f=a.handleObj;return
e&&(e===d||n.contains(d,e))||(a.type=f.origType,c=f.handler.apply(this,argu
ments),a.type=b),c}}}),n.fn.extend({on:function(a,b,c,d){return
ja(this,a,b,c,d)},one:function(a,b,c,d){return
ja(this,a,b,c,d,1)},off:function(a,b,c){var
d,e;if(a&&a.preventDefault&&a.handleObj)return
d=a.handleObj,n(a.delegateTarget).off(d.namespace?d.origType+"."+d.nam
espace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in
a)this.off(e,b,a[e]);return this}return b!==!1&&"function"!=typeof
b||(c=b,b=void
0),c===!1&&(c=ha),this.each(function(){n.event.remove(this,a,c,b)})}});var
ka=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-
]+)[^>]*)\/>/gi,la=/<script|<style|<link/i,ma=/checked\s*(?:[^=]|=\s*.checked.
)/i,na=/^true\/(.*)/,oa=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function
pa(a,b){return
n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")
?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.
createElement("tbody")):a}function qa(a){return
a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function ra(a){var
b=na.exec(a.type);return
b?a.type=b[1]:a.removeAttribute("type"),a}function sa(a,b){var
c,d,e,f,g,h,i,j;if(1===b.nodeType){if(N.hasData(a)&&(f=N.access(a),g=N.set(
b,f),j=f.events)){delete g.handle,g.events={};for(e in
j)for(c=0,d=j[e].length;d>c;c++)n.event.add(b,e,j[e][c])}O.hasData(a)&&(h=
O.access(a),i=n.extend({},h),O.set(b,i))}}function ta(a,b){var
c=b.nodeName.toLowerCase();"input"===c&&X.test(a.type)?b.checked=a.c
hecked:"input"!==c&&"textarea"!==c||(b.defaultValue=a.defaultValue)}functi
on ua(a,b,c,d){b=f.apply([],b);var e,g,h,i,j,k,m=0,o=a.length,p=o-
1,q=b[0],r=n.isFunction(q);if(r||o>1&&"string"==typeof
q&&!l.checkClone&&ma.test(q))return a.each(function(e){var
f=a.eq(e);r&&(b[0]=q.call(this,e,f.html())),ua(f,b,c,d)});if(o&&(e=ca(b,a[0].ow
nerDocument,!1,a,d),g=e.firstChild,1===e.childNodes.length&&(e=g),g||d)){f
or(h=n.map(_(e,"script"),qa),i=h.length;o>m;m++)j=e,m!==p&&(j=n.clone(j,!
0,!0),i&&n.merge(h,_(j,"script"))),c.call(a[m],j,m);if(i)for(k=h[h.length-
1].ownerDocument,n.map(h,ra),m=0;i>m;m++)j=h[m],Z.test(j.type||"")&&!N
.access(j,"globalEval")&&n.contains(k,j)&&(j.src?n._evalUrl&&n._evalUrl(j.sr
c):n.globalEval(j.textContent.replace(oa,"")))}return a}function
va(a,b,c){for(var
d,e=b?n.filter(b,a):a,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||n.cleanData(_(
d)),d.parentNode&&(c&&n.contains(d.ownerDocument,d)&&aa(_(d,"script"
)),d.parentNode.removeChild(d));return
a}n.extend({htmlPrefilter:function(a){return
a.replace(ka,"<$1></$2>")},clone:function(a,b,c){var
d,e,f,g,h=a.cloneNode(!0),i=n.contains(a.ownerDocument,a);if(!(l.noCloneC
hecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(g=_(h),f=_
(a),d=0,e=f.length;e>d;d++)ta(f[d],g[d]);if(b)if(c)for(f=f||_(a),g=g||_(h),d=0,e=
f.length;e>d;d++)sa(f[d],g[d]);else sa(a,h);return
g=_(h,"script"),g.length>0&&aa(g,!i&&_(a,"script")),h},cleanData:function(a)
{for(var b,c,d,e=n.event.special,f=0;void
0!==(c=a[f]);f++)if(L(c)){if(b=c[N.expando]){if(b.events)for(d in
b.events)e[d]?n.event.remove(c,d):n.removeEvent(c,d,b.handle);c[N.expan
do]=void 0}c[O.expando]&&(c[O.expando]=void
0)}}}),n.fn.extend({domManip:ua,detach:function(a){return
va(this,a,!0)},remove:function(a){return va(this,a)},text:function(a){return
K(this,function(a){return void
0===a?n.text(this):this.empty().each(function(){1!==this.nodeType&&11!==t
his.nodeType&&9!==this.nodeType||(this.textContent=a)})},null,a,argument
s.length)},append:function(){return
ua(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9
===this.nodeType){var
b=pa(this,a);b.appendChild(a)}})},prepend:function(){return
ua(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9
===this.nodeType){var
b=pa(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return
ua(this,arguments,function(a){this.parentNode&&this.parentNode.insertBef
ore(a,this)})},after:function(){return
ua(this,arguments,function(a){this.parentNode&&this.parentNode.insertBef
ore(a,this.nextSibling)})},empty:function(){for(var
a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(n.cleanData(_(a,!1)),a.textC
ontent="");return this},clone:function(a,b){return
a=null==a?!1:a,b=null==b?a:b,this.map(function(){return
n.clone(this,a,b)})},html:function(a){return K(this,function(a){var
b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return
b.innerHTML;if("string"==typeof
a&&!la.test(a)&&!$[(Y.exec(a)||["",""])[1].toLowerCase()]){a=n.htmlPrefilter(
a);try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(_(b,!1)),b.in
nerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.l
ength)},replaceWith:function(){var a=[];return
ua(this,arguments,function(b){var
c=this.parentNode;n.inArray(this,a)<0&&(n.cleanData(_(this)),c&&c.replace
Child(b,this))},a)}}),n.each({appendTo:"append",prependTo:"prepend",insert
Before:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n
.fn[a]=function(a){for(var c,d=[],e=n(a),f=e.length-
1,h=0;f>=h;h++)c=h===f?this:this.clone(!0),n(e[h])[b](c),g.apply(d,c.get());re
turn this.pushStack(d)}});var wa,xa={HTML:"block",BODY:"block"};function
ya(a,b){var
c=n(b.createElement(a)).appendTo(b.body),d=n.css(c[0],"display");return
c.detach(),d}function za(a){var b=d,c=xa[a];return
c||(c=ya(a,b),"none"!==c&&c||(wa=(wa||n("<iframe frameborder='0' width='0'
height='0'/>")).appendTo(b.documentElement),b=wa[0].contentDocument,
b.write(),b.close(),c=ya(a,b),wa.detach()),xa[a]=c),c}var
Aa=/^margin/,Ba=new RegExp("^("+S+")(?!px)[a-
z%]+$","i"),Ca=function(b){var c=b.ownerDocument.defaultView;return
c&&c.opener||(c=a),c.getComputedStyle(b)},Da=function(a,b,c,d){var
e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in
b)a.style[f]=g[f];return e},Ea=d.documentElement;!function(){var
b,c,e,f,g=d.createElement("div"),h=d.createElement("div");if(h.style){h.style
.backgroundClip="content-
box",h.cloneNode(!0).style.backgroundClip="",l.clearCloneStyle="content-
box"===h.style.backgroundClip,g.style.cssText="border:0;width:8px;height:
0;top:0;left:-9999px;padding:0;margin-
top:1px;position:absolute",g.appendChild(h);function i(){h.style.cssText="-
webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-
sizing:border-
box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:
1%;width:50%",h.innerHTML="",Ea.appendChild(g);var
d=a.getComputedStyle(h);b="1%"!==d.top,f="2px"===d.marginLeft,c="4px"
===d.width,h.style.marginRight="50%",e="4px"===d.marginRight,Ea.remov
eChild(g)}n.extend(l,{pixelPosition:function(){return
i(),b},boxSizingReliable:function(){return
null==c&&i(),c},pixelMarginRight:function(){return
null==c&&i(),e},reliableMarginLeft:function(){return
null==c&&i(),f},reliableMarginRight:function(){var
b,c=h.appendChild(d.createElement("div"));return
c.style.cssText=h.style.cssText="-webkit-box-sizing:content-box;box-
sizing:content-
box;display:block;margin:0;border:0;padding:0",c.style.marginRight=c.style
.width="0",h.style.width="1px",Ea.appendChild(g),b=!parseFloat(a.getComp
utedStyle(c).marginRight),Ea.removeChild(g),h.removeChild(c),b}})}}();funct
ion Fa(a,b,c){var d,e,f,g,h=a.style;return
c=c||Ca(a),g=c?c.getPropertyValue(b)||c[b]:void 0,""!==g&&void
0!==g||n.contains(a.ownerDocument,a)||(g=n.style(a,b)),c&&!l.pixelMarginRi
ght()&&Ba.test(g)&&Aa.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,
h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.
maxWidth=f),void 0!==g?g+"":g}function
Ga(a,b){return{get:function(){return a()?void delete
this.get:(this.get=b).apply(this,arguments)}}}var Ha=/^(none|table(?!-
c[ea]).+)/,Ia={position:"absolute",visibility:"hidden",display:"block"},Ja={lette
rSpacing:"0",fontWeight:"400"},Ka=["Webkit","O","Moz","ms"],La=d.create
Element("div").style;function Ma(a){if(a in La)return a;var
b=a[0].toUpperCase()+a.slice(1),c=Ka.length;while(c--)if(a=Ka[c]+b,a in
La)return a}function Na(a,b,c){var d=T.exec(b);return d?Math.max(0,d[2]-
(c||0))+(d[3]||"px"):b}function Oa(a,b,c,d,e){for(var
f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===
c&&(g+=n.css(a,c+U[f],!0,e)),d?("content"===c&&(g-
=n.css(a,"padding"+U[f],!0,e)),"margin"!==c&&(g-
=n.css(a,"border"+U[f]+"Width",!0,e))):(g+=n.css(a,"padding"+U[f],!0,e),"pad
ding"!==c&&(g+=n.css(a,"border"+U[f]+"Width",!0,e)));return g}function
Pa(a,b,c){var
d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=Ca(a),g="border-
box"===n.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=Fa(a,b,f),(0>e||null==e
)&&(e=a.style[b]),Ba.test(e))return
e;d=g&&(l.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return
e+Oa(a,b,c||(g?"border":"content"),d,f)+"px"}function Qa(a,b){for(var
c,d,e,f=[],g=0,h=a.length;h>g;g++)d=a[g],d.style&&(f[g]=N.get(d,"olddispla
y"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.dis
play&&V(d)&&(f[g]=N.access(d,"olddisplay",za(d.nodeName)))):(e=V(d),"no
ne"===c&&e||N.set(d,"olddisplay",e?c:n.css(d,"display"))));for(g=0;h>g;g++)d
=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style
.display=b?f[g]||"":"none"));return
a}n.extend({cssHooks:{opacity:{get:function(a,b){if(b){var
c=Fa(a,"opacity");return""===c?"1":c}}}},cssNumber:{animationIterationCoun
t:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,li
neHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},css
Props:{"float":"cssFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!
==a.nodeType&&a.style){var e,f,g,h=n.camelCase(b),i=a.style;return
b=n.cssProps[h]||(n.cssProps[h]=Ma(h)||h),g=n.cssHooks[b]||n.cssHooks[h],v
oid 0===c?g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b]:(f=typeof
c,"string"===f&&(e=T.exec(c))&&e[1]&&(c=W(a,b,e),f="number"),null!=c&&c
===c&&("number"===f&&(c+=e&&e[3]||(n.cssNumber[h]?"":"px")),l.clearClo
neStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),g&&"set"in
g&&void 0===(c=g.set(a,c,d))||(i[b]=c)),void 0)}},css:function(a,b,c,d){var
e,f,g,h=n.camelCase(b);return
b=n.cssProps[h]||(n.cssProps[h]=Ma(h)||h),g=n.cssHooks[b]||n.cssHooks[h],g
&&"get"in g&&(e=g.get(a,!0,c)),void
0===e&&(e=Fa(a,b,d)),"normal"===e&&b in
Ja&&(e=Ja[b]),""===c||c?(f=parseFloat(e),c===!0||isFinite(f)?f||0:e):e}}),n.each
(["height","width"],function(a,b){n.cssHooks[b]={get:function(a,c,d){return
c?Ha.test(n.css(a,"display"))&&0===a.offsetWidth?Da(a,Ia,function(){return
Pa(a,b,d)}):Pa(a,b,d):void 0},set:function(a,c,d){var
e,f=d&&Ca(a),g=d&&Oa(a,b,d,"border-
box"===n.css(a,"boxSizing",!1,f),f);return
g&&(e=T.exec(c))&&"px"!==(e[3]||"px")&&(a.style[b]=c,c=n.css(a,b)),Na(a,c,g
)}}}),n.cssHooks.marginLeft=Ga(l.reliableMarginLeft,function(a,b){return
b?(parseFloat(Fa(a,"marginLeft"))||a.getBoundingClientRect().left-
Da(a,{marginLeft:0},function(){return
a.getBoundingClientRect().left}))+"px":void
0}),n.cssHooks.marginRight=Ga(l.reliableMarginRight,function(a,b){return
b?Da(a,{display:"inline-block"},Fa,[a,"marginRight"]):void
0}),n.each({margin:"",padding:"",border:"Width"},function(a,b){n.cssHooks[a
+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split("
"):[c];4>d;d++)e[a+U[d]+b]=f[d]||f[d-2]||f[0];return
e}},Aa.test(a)||(n.cssHooks[a+b].set=Na)}),n.fn.extend({css:function(a,b){ret
urn K(this,function(a,b,c){var
d,e,f={},g=0;if(n.isArray(b)){for(d=Ca(a),e=b.length;e>g;g++)f[b[g]]=n.css(a,b
[g],!1,d);return f}return void
0!==c?n.style(a,b,c):n.css(a,b)},a,b,arguments.length>1)},show:function(){ret
urn Qa(this,!0)},hide:function(){return
Qa(this)},toggle:function(a){return"boolean"==typeof
a?a?this.show():this.hide():this.each(function(){V(this)?n(this).show():n(this).
hide()})}});function Ra(a,b,c,d,e){return new
Ra.prototype.init(a,b,c,d,e)}n.Tween=Ra,Ra.prototype={constructor:Ra,init:f
unction(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||n.easing._default,
this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(n.cssNu
mber[c]?"":"px")},cur:function(){var a=Ra.propHooks[this.prop];return
a&&a.get?a.get(this):Ra.propHooks._default.get(this)},run:function(a){var
b,c=Ra.propHooks[this.prop];return
this.options.duration?this.pos=b=n.easing[this.easing](a,this.options.durati
on*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-
this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,t
his.now,this),c&&c.set?c.set(this):Ra.propHooks._default.set(this),this}},Ra.
prototype.init.prototype=Ra.prototype,Ra.propHooks={_default:{get:functi
on(a){var b;return
1!==a.elem.nodeType||null!=a.elem[a.prop]&&null==a.elem.style[a.prop]?a.
elem[a.prop]:(b=n.css(a.elem,a.prop,""),b&&"auto"!==b?b:0)},set:function(a
){n.fx.step[a.prop]?n.fx.step[a.prop](a):1!==a.elem.nodeType||null==a.elem.
style[n.cssProps[a.prop]]&&!n.cssHooks[a.prop]?a.elem[a.prop]=a.now:n.st
yle(a.elem,a.prop,a.now+a.unit)}}},Ra.propHooks.scrollTop=Ra.propHooks.s
crollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.ele
m[a.prop]=a.now)}},n.easing={linear:function(a){return
a},swing:function(a){return.5-
Math.cos(a*Math.PI)/2},_default:"swing"},n.fx=Ra.prototype.init,n.fx.step={
};var Sa,Ta,Ua=/^(?:toggle|show|hide)$/,Va=/queueHooks$/;function
Wa(){return a.setTimeout(function(){Sa=void 0}),Sa=n.now()}function
Xa(a,b){var c,d=0,e={height:a};for(b=b?1:0;4>d;d+=2-
b)c=U[d],e["margin"+c]=e["padding"+c]=a;return
b&&(e.opacity=e.width=a),e}function Ya(a,b,c){for(var
d,e=(_a.tweeners[b]||[]).concat(_a.tweeners["*"]),f=0,g=e.length;g>f;f++)if(
d=e[f].call(c,b,a))return d}function Za(a,b,c){var
d,e,f,g,h,i,j,k,l=this,m={},o=a.style,p=a.nodeType&&V(a),q=N.get(a,"fxshow
");c.queue||(h=n._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i
=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,l.alw
ays(function(){l.always(function(){h.unqueued--
,n.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in
b||"width"in
b)&&(c.overflow=[o.overflow,o.overflowX,o.overflowY],j=n.css(a,"display"),
k="none"===j?N.get(a,"olddisplay")||za(a.nodeName):j,"inline"===k&&"none
"===n.css(a,"float")&&(o.display="inline-
block")),c.overflow&&(o.overflow="hidden",l.always(function(){o.overflow=c
.overflow[0],o.overflowX=c.overflow[1],o.overflowY=c.overflow[2]}));for(d
in b)if(e=b[d],Ua.exec(e)){if(delete
b[d],f=f||"toggle"===e,e===(p?"hide":"show")){if("show"!==e||!q||void
0===q[d])continue;p=!0}m[d]=q&&q[d]||n.style(a,d)}else j=void
0;if(n.isEmptyObject(m))"inline"===("none"===j?za(a.nodeName):j)&&(o.dis
play=j);else{q?"hidden"in
q&&(p=q.hidden):q=N.access(a,"fxshow",{}),f&&(q.hidden=!p),p?n(a).show()
:l.done(function(){n(a).hide()}),l.done(function(){var
b;N.remove(a,"fxshow");for(b in m)n.style(a,b,m[b])});for(d in
m)g=Ya(p?q[d]:0,d,l),d in
q||(q[d]=g.start,p&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}
}function $a(a,b){var c,d,e,f,g;for(c in
a)if(d=n.camelCase(c),e=b[d],f=a[c],n.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d
&&(a[d]=f,delete a[c]),g=n.cssHooks[d],g&&"expand"in
g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else
b[d]=e}function _a(a,b,c){var
d,e,f=0,g=_a.prefilters.length,h=n.Deferred().always(function(){delete
i.elem}),i=function(){if(e)return!1;for(var
b=Sa||Wa(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-
d,g=0,i=j.tweens.length;i>g;g++)j.tweens[g].run(f);return
h.notifyWith(a,[j,f,c]),1>f&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a
,props:n.extend({},b),opts:n.extend(!0,{specialEasing:{},easing:n.easing._def
ault},c),originalProperties:b,originalOptions:c,startTime:Sa||Wa(),duration:c.
duration,tweens:[],createTween:function(b,c){var
d=n.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return
j.tweens.push(d),d},stop:function(b){var
c=0,d=b?j.tweens.length:0;if(e)return
this;for(e=!0;d>c;c++)j.tweens[c].run(1);return
b?(h.notifyWith(a,[j,1,0]),h.resolveWith(a,[j,b])):h.rejectWith(a,[j,b]),this}}),k
=j.props;for($a(k,j.opts.specialEasing);g>f;f++)if(d=_a.prefilters[f].call(j,a,k,j.
opts))return
n.isFunction(d.stop)&&(n._queueHooks(j.elem,j.opts.queue).stop=n.proxy(d
.stop,d)),d;return
n.map(k,Ya,j),n.isFunction(j.opts.start)&&j.opts.start.call(a,j),n.fx.timer(n.ex
tend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(
j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}n.Animati
on=n.extend(_a,{tweeners:{"*":[function(a,b){var
c=this.createTween(a,b);return
W(c.elem,a,T.exec(b),c),c}]},tweener:function(a,b){n.isFunction(a)?(b=a,a=["
*"]):a=a.match(G);for(var
c,d=0,e=a.length;e>d;d++)c=a[d],_a.tweeners[c]=_a.tweeners[c]||[],_a.twee
ners[c].unshift(b)},prefilters:[Za],prefilter:function(a,b){b?_a.prefilters.unshi
ft(a):_a.prefilters.push(a)}}),n.speed=function(a,b,c){var
d=a&&"object"==typeof
a?n.extend({},a):{complete:c||!c&&b||n.isFunction(a)&&a,duration:a,easing:c
&&b||b&&!n.isFunction(b)&&b};return
d.duration=n.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in
n.fx.speeds?n.fx.speeds[d.duration]:n.fx.speeds._default,null!=d.queue&&d.
queue!==!0||(d.queue="fx"),d.old=d.complete,d.complete=function(){n.isFun
ction(d.old)&&d.old.call(this),d.queue&&n.dequeue(this,d.queue)},d},n.fn.e
xtend({fadeTo:function(a,b,c,d){return
this.filter(V).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animat
e:function(a,b,c,d){var
e=n.isEmptyObject(a),f=n.speed(b,c,d),g=function(){var
b=_a(this,n.extend({},a),f);(e||N.get(this,"finish"))&&b.stop(!0)};return
g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(
a,b,c){var d=function(a){var b=a.stop;delete
a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void
0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var
b=!0,e=null!=a&&a+"queueHooks",f=n.timers,g=N.get(this);if(e)g[e]&&g[e].
stop&&d(g[e]);else for(e in
g)g[e]&&g[e].stop&&Va.test(e)&&d(g[e]);for(e=f.length;e--
;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e
,1));!b&&c||n.dequeue(this,a)})},finish:function(a){return
a!==!1&&(a=a||"fx"),this.each(function(){var
b,c=N.get(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=n.timers,g=d?d.leng
th:0;for(c.finish=!0,n.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.le
ngth;b--
;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(
b=0;g>b;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete
c.finish})}}),n.each(["toggle","show","hide"],function(a,b){var
c=n.fn[b];n.fn[b]=function(a,d,e){return null==a||"boolean"==typeof
a?c.apply(this,arguments):this.animate(Xa(b,!0),a,d,e)}}),n.each({slideDown:
Xa("show"),slideUp:Xa("hide"),slideToggle:Xa("toggle"),fadeIn:{opacity:"sho
w"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){n.
fn[a]=function(a,c,d){return
this.animate(b,a,c,d)}}),n.timers=[],n.fx.tick=function(){var
a,b=0,c=n.timers;for(Sa=n.now();b<c.length;b++)a=c[b],a()||c[b]!==a||c.splice
(b--,1);c.length||n.fx.stop(),Sa=void
0},n.fx.timer=function(a){n.timers.push(a),a()?n.fx.start():n.timers.pop()},n.f
x.interval=13,n.fx.start=function(){Ta||(Ta=a.setInterval(n.fx.tick,n.fx.interval
))},n.fx.stop=function(){a.clearInterval(Ta),Ta=null},n.fx.speeds={slow:600,fa
st:200,_default:400},n.fn.delay=function(b,c){return
b=n.fx?n.fx.speeds[b]||b:b,c=c||"fx",this.queue(c,function(c,d){var
e=a.setTimeout(c,b);d.stop=function(){a.clearTimeout(e)}})},function(){var
a=d.createElement("input"),b=d.createElement("select"),c=b.appendChild(d
.createElement("option"));a.type="checkbox",l.checkOn=""!==a.value,l.optS
elected=c.selected,b.disabled=!0,l.optDisabled=!c.disabled,a=d.createEleme
nt("input"),a.value="t",a.type="radio",l.radioValue="t"===a.value}();var
ab,bb=n.expr.attrHandle;n.fn.extend({attr:function(a,b){return
K(this,n.attr,a,b,arguments.length>1)},removeAttr:function(a){return
this.each(function(){n.removeAttr(this,a)})}}),n.extend({attr:function(a,b,c){v
ar d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return"undefined"==typeof
a.getAttribute?n.prop(a,b,c):(1===f&&n.isXMLDoc(a)||(b=b.toLowerCase(),e
=n.attrHooks[b]||(n.expr.match.bool.test(b)?ab:void 0)),void
0!==c?null===c?void n.removeAttr(a,b):e&&"set"in e&&void
0!==(d=e.set(a,c,b))?d:(a.setAttribute(b,c+""),c):e&&"get"in
e&&null!==(d=e.get(a,b))?d:(d=n.find.attr(a,b),null==d?void
0:d))},attrHooks:{type:{set:function(a,b){if(!l.radioValue&&"radio"===b&&n.
nodeName(a,"input")){var c=a.value;return
a.setAttribute("type",b),c&&(a.value=c),b}}}},removeAttr:function(a,b){var
c,d,e=0,f=b&&b.match(G);if(f&&1===a.nodeType)while(c=f[e++])d=n.propFi
x[c]||c,n.expr.match.bool.test(c)&&(a[d]=!1),a.removeAttribute(c)}}),ab={set:
function(a,b,c){return
b===!1?n.removeAttr(a,c):a.setAttribute(c,c),c}},n.each(n.expr.match.bool.s
ource.match(/\w+/g),function(a,b){var
c=bb[b]||n.find.attr;bb[b]=function(a,b,d){var e,f;return
d||(f=bb[b],bb[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,bb[b]=f),e}});var
cb=/^(?:input|select|textarea|button)$/i,db=/^(?:a|area)$/i;n.fn.extend({prop:
function(a,b){return
K(this,n.prop,a,b,arguments.length>1)},removeProp:function(a){return
this.each(function(){delete
this[n.propFix[a]||a]})}}),n.extend({prop:function(a,b,c){var
d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return
1===f&&n.isXMLDoc(a)||(b=n.propFix[b]||b,e=n.propHooks[b]),
void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in
e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var
b=n.find.attr(a,"tabindex");return
b?parseInt(b,10):cb.test(a.nodeName)||db.test(a.nodeName)&&a.href?0:-
1}}},propFix:{"for":"htmlFor","class":"className"}}),l.optSelected||(n.propHo
oks.selected={get:function(a){var b=a.parentNode;return
b&&b.parentNode&&b.parentNode.selectedIndex,null},set:function(a){var
b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selec
tedIndex)}}),n.each(["tabIndex","readOnly","maxLength","cellSpacing","cell
Padding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],
function(){n.propFix[this.toLowerCase()]=this});var eb=/[\t\r\n\f]/g;function
fb(a){return
a.getAttribute&&a.getAttribute("class")||""}n.fn.extend({addClass:function(a
){var b,c,d,e,f,g,h,i=0;if(n.isFunction(a))return
this.each(function(b){n(this).addClass(a.call(this,b,fb(this)))});if("string"==ty
peof
a&&a){b=a.match(G)||[];while(c=this[i++])if(e=fb(c),d=1===c.nodeType&&("
"+e+" ").replace(eb," ")){g=0;while(f=b[g++])d.indexOf(" "+f+" ")<0&&(d+=f+"
");h=n.trim(d),e!==h&&c.setAttribute("class",h)}}return
this},removeClass:function(a){var b,c,d,e,f,g,h,i=0;if(n.isFunction(a))return
this.each(function(b){n(this).removeClass(a.call(this,b,fb(this)))});if(!argume
nts.length)return this.attr("class","");if("string"==typeof
a&&a){b=a.match(G)||[];while(c=this[i++])if(e=fb(c),d=1===c.nodeType&&("
"+e+" ").replace(eb," ")){g=0;while(f=b[g++])while(d.indexOf(" "+f+" ")>-
1)d=d.replace(" "+f+" ","
");h=n.trim(d),e!==h&&c.setAttribute("class",h)}}return
this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof
b&&"string"===c?b?this.addClass(a):this.removeClass(a):n.isFunction(a)?thi
s.each(function(c){n(this).toggleClass(a.call(this,c,fb(this),b),b)}):this.each(fu
nction(){var
b,d,e,f;if("string"===c){d=0,e=n(this),f=a.match(G)||[];while(b=f[d++])e.hasCl
ass(b)?e.removeClass(b):e.addClass(b)}else void
0!==a&&"boolean"!==c||(b=fb(this),b&&N.set(this,"__className__",b),this.s
etAttribute&&this.setAttribute("class",b||a===!1?"":N.get(this,"__className
__")||""))})},hasClass:function(a){var b,c,d=0;b=" "+a+"
";while(c=this[d++])if(1===c.nodeType&&(" "+fb(c)+" ").replace(eb,"
").indexOf(b)>-1)return!0;return!1}});var
gb=/\r/g,hb=/[\x20\t\r\n\f]+/g;n.fn.extend({val:function(a){var
b,c,d,e=this[0];{if(arguments.length)return
d=n.isFunction(a),this.each(function(c){var
e;1===this.nodeType&&(e=d?a.call(this,c,n(this).val()):a,null==e?e="":"numb
er"==typeof e?e+="":n.isArray(e)&&(e=n.map(e,function(a){return
null==a?"":a+""})),b=n.valHooks[this.type]||n.valHooks[this.nodeName.toLo
werCase()],b&&"set"in b&&void
0!==b.set(this,e,"value")||(this.value=e))});if(e)return
b=n.valHooks[e.type]||n.valHooks[e.nodeName.toLowerCase()],b&&"get"in
b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof
c?c.replace(gb,""):null==c?"":c)}}}),n.extend({valHooks:{option:{get:function(
a){var b=n.find.attr(a,"value");return null!=b?b:n.trim(n.text(a)).replace(hb,"
")}},select:{get:function(a){for(var
b,c,d=a.options,e=a.selectedIndex,f="select-
one"===a.type||0>e,g=f?null:[],h=f?e+1:d.length,i=0>e?h:f?e:0;h>i;i++)if(c=d[
i],(c.selected||i===e)&&(l.optDisabled?!c.disabled:null===c.getAttribute("dis
abled"))&&(!c.parentNode.disabled||!n.nodeName(c.parentNode,"optgroup"
))){if(b=n(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var
c,d,e=a.options,f=n.makeArray(b),g=e.length;while(g--
)d=e[g],(d.selected=n.inArray(n.valHooks.option.get(d),f)>-
1)&&(c=!0);return c||(a.selectedIndex=-
1),f}}}}),n.each(["radio","checkbox"],function(){n.valHooks[this]={set:functio
n(a,b){return n.isArray(b)?a.checked=n.inArray(n(a).val(),b)>-1:void
0}},l.checkOn||(n.valHooks[this].get=function(a){return
null===a.getAttribute("value")?"on":a.value})});var
ib=/^(?:focusinfocus|focusoutblur)$/;n.extend(n.event,{trigger:function(b,c,e
,f){var
g,h,i,j,l,m,o,p=[e||d],q=k.call(b,"type")?b.type:b,r=k.call(b,"namespace")?b.n
amespace.split("."):[];if(h=i=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!ib
.test(q+n.event.triggered)&&(q.indexOf(".")>-
1&&(r=q.split("."),q=r.shift(),r.sort()),l=q.indexOf(":")<0&&"on"+q,b=b[n.exp
ando]?b:new n.Event(q,"object"==typeof
b&&b),b.isTrigger=f?2:3,b.namespace=r.join("."),b.rnamespace=b.namespac
e?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void
0,b.target||(b.target=e),c=null==c?[b]:n.makeArray(c,[b]),o=n.event.special[
q]||{},f||!o.trigger||o.trigger.apply(e,c)!==!1)){if(!f&&!o.noBubble&&!n.isWind
ow(e)){for(j=o.delegateType||q,ib.test(j+q)||(h=h.parentNode);h;h=h.parent
Node)p.push(h),i=h;i===(e.ownerDocument||d)&&p.push(i.defaultView||i.pa
rentWindow||a)}g=0;while((h=p[g++])&&!b.isPropagationStopped())b.type=
g>1?j:o.bindType||q,m=(N.get(h,"events")||{})[b.type]&&N.get(h,"handle"),m
&&m.apply(h,c),m=l&&h[l],m&&m.apply&&L(h)&&(b.result=m.apply(h,c),b.
result===!1&&b.preventDefault());return
b.type=q,f||b.isDefaultPrevented()||o._default&&o._default.apply(p.pop(),c)!
==!1||!L(e)||l&&n.isFunction(e[q])&&!n.isWindow(e)&&(i=e[l],i&&(e[l]=null),n
.event.triggered=q,e[q](),n.event.triggered=void
0,i&&(e[l]=i)),b.result}},simulate:function(a,b,c){var d=n.extend(new
n.Event,c,{type:a,isSimulated:!0});n.event.trigger(d,null,b)}}),n.fn.extend({tri
gger:function(a,b){return
this.each(function(){n.event.trigger(a,b,this)})},triggerHandler:function(a,b){
var c=this[0];return c?n.event.trigger(a,b,c,!0):void 0}}),n.each("blur focus
focusin focusout load resize scroll unload click dblclick mousedown mouseup
mousemove mouseover mouseout mouseenter mouseleave change select
submit keydown keypress keyup error contextmenu".split("
"),function(a,b){n.fn[b]=function(a,c){return
arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),n.fn.extend({hover:f
unction(a,b){return
this.mouseenter(a).mouseleave(b||a)}}),l.focusin="onfocusin"in
a,l.focusin||n.each({focus:"focusin",blur:"focusout"},function(a,b){var
c=function(a){n.event.simulate(b,a.target,n.event.fix(a))};n.event.special[b]
={setup:function(){var
d=this.ownerDocument||this,e=N.access(d,b);e||d.addEventListener(a,c,!0),
N.access(d,b,(e||0)+1)},teardown:function(){var
d=this.ownerDocument||this,e=N.access(d,b)-
1;e?N.access(d,b,e):(d.removeEventListener(a,c,!0),N.remove(d,b))}}});var
jb=a.location,kb=n.now(),lb=/\?/;n.parseJSON=function(a){return
JSON.parse(a+"")},n.parseXML=function(b){var c;if(!b||"string"!=typeof
b)return null;try{c=(new
a.DOMParser).parseFromString(b,"text/xml")}catch(d){c=void 0}return
c&&!c.getElementsByTagName("parsererror").length||n.error("Invalid XML:
"+b),c};var mb=/#.*$/,nb=/([?&])_=[^&]*/,ob=/^(.*?):[
\t]*([^\r\n]*)$/gm,pb=/^(?:about|app|app-storage|.+-
extension|file|res|widget):$/,qb=/^(?:GET|HEAD)$/,rb=/^\/\//,sb={},tb={},ub="
*/".concat("*"),vb=d.createElement("a");vb.href=jb.href;function
wb(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var
d,e=0,f=b.toLowerCase().match(G)||[];if(n.isFunction(c))while(d=f[e++])"+"=
==d[0]?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}fun
ction xb(a,b,c,d){var e={},f=a===tb;function g(h){var i;return
e[h]=!0,n.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof
j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return
g(b.dataTypes[0])||!e["*"]&&g("*")}function yb(a,b){var
c,d,e=n.ajaxSettings.flatOptions||{};for(c in b)void
0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&n.extend(!0,a,d),a}function
zb(a,b,c){var
d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void
0===d&&(d=a.mimeType||b.getResponseHeader("Content-Type"));if(d)for(e
in h)if(h[e]&&h[e].test(d)){i.unshift(e);break}if(i[0]in c)f=i[0];else{for(e in
c){if(!i[0]||a.converters[e+" "+i[0]]){f=e;break}g||(g=e)}f=f||g}return
f?(f!==i[0]&&i.unshift(f),c[f]):void 0}function Ab(a,b,c,d){var
e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in
a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.respo
nseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFi
lter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else
if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split("
"),h[1]===f&&(g=j[i+" "+h[0]]||j["*
"+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(
g&&a["throws"])b=g(b);else
try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from
"+i+" to
"+f}}}return{state:"success",data:b}}n.extend({active:0,lastModified:{},etag:{}
,ajaxSettings:{url:jb.href,type:"GET",isLocal:pb.test(jb.protocol),global:!0,pr
ocessData:!0,async:!0,contentType:"application/x-www-form-urlencoded;
charset=UTF-
8",accepts:{"*":ub,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/},respo
nseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},c
onverters:{"* text":String,"text html":!0,"text json":n.parseJSON,"text
xml":n.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){re
turn
b?yb(yb(a,n.ajaxSettings),b):yb(n.ajaxSettings,a)},ajaxPrefilter:wb(sb),ajaxT
ransport:wb(tb),ajax:function(b,c){"object"==typeof b&&(c=b,b=void
0),c=c||{};var
e,f,g,h,i,j,k,l,m=n.ajaxSetup({},c),o=m.context||m,p=m.context&&(o.nodeTy
pe||o.jquery)?n(o):n.event,q=n.Deferred(),r=n.Callbacks("once
memory"),s=m.statusCode||{},t={},u={},v=0,w="canceled",x={readyState:0,g
etResponseHeader:function(a){var
b;if(2===v){if(!h){h={};while(b=ob.exec(g))h[b[1].toLowerCase()]=b[2]}b=h[a.
toLowerCase()]}return
null==b?null:b},getAllResponseHeaders:function(){return
2===v?g:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return
v||(a=u[c]=u[c]||a,t[a]=b),this},overrideMimeType:function(a){return
v||(m.mimeType=a),this},statusCode:function(a){var b;if(a)if(2>v)for(b in
a)s[b]=[s[b],a[b]];else x.always(a[x.status]);return this},abort:function(a){var
b=a||w;return
e&&e.abort(b),z(0,b),this}};if(q.promise(x).complete=r.add,x.success=x.done
,x.error=x.fail,m.url=((b||m.url||jb.href)+"").replace(mb,"").replace(rb,jb.proto
col+"//"),m.type=c.method||c.type||m.method||m.type,m.dataTypes=n.trim(
m.dataType||"*").toLowerCase().match(G)||[""],null==m.crossDomain){j=d.cr
eateElement("a");try{j.href=m.url,j.href=j.href,m.crossDomain=vb.protocol+
"//"+vb.host!=j.protocol+"//"+j.host}catch(y){m.crossDomain=!0}}if(m.data&
&m.processData&&"string"!=typeof
m.data&&(m.data=n.param(m.data,m.traditional)),xb(sb,m,c,x),2===v)retur
n
x;k=n.event&&m.global,k&&0===n.active++&&n.event.trigger("ajaxStart"),
m.type=m.type.toUpperCase(),m.hasContent=!qb.test(m.type),f=m.url,m.h
asContent||(m.data&&(f=m.url+=(lb.test(f)?"&":"?")+m.data,delete
m.data),m.cache===!1&&(m.url=nb.test(f)?f.replace(nb,"$1_="+kb++):f+(lb.t
est(f)?"&":"?")+"_="+kb++)),m.ifModified&&(n.lastModified[f]&&x.setReque
stHeader("If-Modified-
Since",n.lastModified[f]),n.etag[f]&&x.setRequestHeader("If-None-
Match",n.etag[f])),(m.data&&m.hasContent&&m.contentType!==!1||c.conte
ntType)&&x.setRequestHeader("Content-
Type",m.contentType),x.setRequestHeader("Accept",m.dataTypes[0]&&m.
accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[
0]?", "+ub+"; q=0.01":""):m.accepts["*"]);for(l in
m.headers)x.setRequestHeader(l,m.headers[l]);if(m.beforeSend&&(m.befor
eSend.call(o,x,m)===!1||2===v))return x.abort();w="abort";for(l
in{success:1,error:1,complete:1})x[l](m[l]);if(e=xb(tb,m,c,x)){if(x.readyState=
1,k&&p.trigger("ajaxSend",[x,m]),2===v)return
x;m.async&&m.timeout>0&&(i=a.setTimeout(function(){x.abort("timeout")}
,m.timeout));try{v=1,e.send(t,z)}catch(y){if(!(2>v))throw y;z(-1,y)}}else z(-
1,"No Transport");function z(b,c,d,h){var
j,l,t,u,w,y=c;2!==v&&(v=2,i&&a.clearTimeout(i),e=void
0,g=h||"",x.readyState=b>0?4:0,j=b>=200&&300>b||304===b,d&&(u=zb(m,x,
d)),u=Ab(m,u,x,j),j?(m.ifModified&&(w=x.getResponseHeader("Last-
Modified"),w&&(n.lastModified[f]=w),w=x.getResponseHeader("etag"),w&&
(n.etag[f]=w)),204===b||"HEAD"===m.type?y="nocontent":304===b?y="not
modified":(y=u.state,l=u.data,t=u.error,j=!t)):(t=y,!b&&y||(y="error",0>b&&(
b=0))),x.status=b,x.statusText=(c||y)+"",j?q.resolveWith(o,[l,y,x]):q.rejectWit
h(o,[x,y,t]),x.statusCode(s),s=void
0,k&&p.trigger(j?"ajaxSuccess":"ajaxError",[x,m,j?l:t]),r.fireWith(o,[x,y]),k&
&(p.trigger("ajaxComplete",[x,m]),--
n.active||n.event.trigger("ajaxStop")))}return
x},getJSON:function(a,b,c){return
n.get(a,b,c,"json")},getScript:function(a,b){return n.get(a,void
0,b,"script")}}),n.each(["get","post"],function(a,b){n[b]=function(a,c,d,e){retu
rn n.isFunction(c)&&(e=e||d,d=c,c=void
0),n.ajax(n.extend({url:a,type:b,dataType:e,data:c,success:d},n.isPlainObjec
t(a)&&a))}}),n._evalUrl=function(a){return
n.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},n.
fn.extend({wrapAll:function(a){var b;return
n.isFunction(a)?this.each(function(b){n(this).wrapAll(a.call(this,b))}):(this[0]
&&(b=n(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.i
nsertBefore(this[0]),b.map(function(){var
a=this;while(a.firstElementChild)a=a.firstElementChild;return
a}).append(this)),this)},wrapInner:function(a){return
n.isFunction(a)?this.each(function(b){n(this).wrapInner(a.call(this,b))}):this.e
ach(function(){var
b=n(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(
a){var b=n.isFunction(a);return
this.each(function(c){n(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){r
eturn
this.parent().each(function(){n.nodeName(this,"body")||n(this).replaceWith(
this.childNodes)}).end()}}),n.expr.filters.hidden=function(a){return!n.expr.filt
ers.visible(a)},n.expr.filters.visible=function(a){return
a.offsetWidth>0||a.offsetHeight>0||a.getClientRects().length>0};var
Bb=/%20/g,Cb=/\[\]$/,Db=/\r?\n/g,Eb=/^(?:submit|button|image|reset|file)$/i,
Fb=/^(?:input|select|textarea|keygen)/i;function Gb(a,b,c,d){var
e;if(n.isArray(b))n.each(b,function(b,e){c||Cb.test(a)?d(a,e):Gb(a+"["+("objec
t"==typeof e&&null!=e?b:"")+"]",e,c,d)});else
if(c||"object"!==n.type(b))d(a,b);else for(e in
b)Gb(a+"["+e+"]",b[e],c,d)}n.param=function(a,b){var
c,d=[],e=function(a,b){b=n.isFunction(b)?b():null==b?"":b,d[d.length]=encod
eURIComponent(a)+"="+encodeURIComponent(b)};if(void
0===b&&(b=n.ajaxSettings&&n.ajaxSettings.traditional),n.isArray(a)||a.jque
ry&&!n.isPlainObject(a))n.each(a,function(){e(this.name,this.value)});else
for(c in a)Gb(c,a[c],b,e);return
d.join("&").replace(Bb,"+")},n.fn.extend({serialize:function(){return
n.param(this.serializeArray())},serializeArray:function(){return
this.map(function(){var a=n.prop(this,"elements");return
a?n.makeArray(a):this}).filter(function(){var a=this.type;return
this.name&&!n(this).is(":disabled")&&Fb.test(this.nodeName)&&!Eb.test(a)
&&(this.checked||!X.test(a))}).map(function(a,b){var c=n(this).val();return
null==c?null:n.isArray(c)?n.map(c,function(a){return{name:b.name,value:a.r
eplace(Db,"\r\n")}}):{name:b.name,value:c.replace(Db,"\r\n")}}).get()}}),n.ajax
Settings.xhr=function(){try{return new a.XMLHttpRequest}catch(b){}};var
Hb={0:200,1223:204},Ib=n.ajaxSettings.xhr();l.cors=!!Ib&&"withCredentials"i
n Ib,l.ajax=Ib=!!Ib,n.ajaxTransport(function(b){var c,d;return
l.cors||Ib&&!b.crossDomain?{send:function(e,f){var
g,h=b.xhr();if(h.open(b.type,b.url,b.async,b.username,b.password),b.xhrFiel
ds)for(g in
b.xhrFields)h[g]=b.xhrFields[g];b.mimeType&&h.overrideMimeType&&h.ov
errideMimeType(b.mimeType),b.crossDomain||e["X-Requested-
With"]||(e["X-Requested-With"]="XMLHttpRequest");for(g in
e)h.setRequestHeader(g,e[g]);c=function(a){return
function(){c&&(c=d=h.onload=h.onerror=h.onabort=h.onreadystatechange=
null,"abort"===a?h.abort():"error"===a?"number"!=typeof
h.status?f(0,"error"):f(h.status,h.statusText):f(Hb[h.status]||h.status,h.status
Text,"text"!==(h.responseType||"text")||"string"!=typeof
h.responseText?{binary:h.response}:{text:h.responseText},h.getAllResponse
Headers()))}},h.onload=c(),d=h.onerror=c("error"),void
0!==h.onabort?h.onabort=d:h.onreadystatechange=function(){4===h.ready
State&&a.setTimeout(function(){c&&d()})},c=c("abort");try{h.send(b.hasCon
tent&&b.data||null)}catch(i){if(c)throw i}},abort:function(){c&&c()}}:void
0}),n.ajaxSetup({accepts:{script:"text/javascript, application/javascript,
application/ecmascript, application/x-
ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text
script":function(a){return
n.globalEval(a),a}}}),n.ajaxPrefilter("script",function(a){void
0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),n.ajaxTrans
port("script",function(a){if(a.crossDomain){var
b,c;return{send:function(e,f){b=n("<script>").prop({charset:a.scriptCharset,s
rc:a.url}).on("load
error",c=function(a){b.remove(),c=null,a&&f("error"===a.type?404:200,a.typ
e)}),d.head.appendChild(b[0])},abort:function(){c&&c()}}}});var
Jb=[],Kb=/(=)\?(?=&|$)|\?\?/;n.ajaxSetup({jsonp:"callback",jsonpCallback:func
tion(){var a=Jb.pop()||n.expando+"_"+kb++;return
this[a]=!0,a}}),n.ajaxPrefilter("json jsonp",function(b,c,d){var
e,f,g,h=b.jsonp!==!1&&(Kb.test(b.url)?"url":"string"==typeof
b.data&&0===(b.contentType||"").indexOf("application/x-www-form-
urlencoded")&&Kb.test(b.data)&&"data");return
h||"jsonp"===b.dataTypes[0]?(e=b.jsonpCallback=n.isFunction(b.jsonpCallba
ck)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(Kb,"$1"+e):b.json
p!==!1&&(b.url+=(lb.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script
json"]=function(){return g||n.error(e+" was not
called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.
always(function(){void
0===f?n(a).removeProp(e):a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,J
b.push(e)),g&&n.isFunction(f)&&f(g[0]),g=f=void 0}),"script"):void
0}),n.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return
null;"boolean"==typeof b&&(c=b,b=!1),b=b||d;var
e=x.exec(a),f=!c&&[];return
e?[b.createElement(e[1])]:(e=ca([a],b,f),f&&f.length&&n(f).remove(),n.merg
e([],e.childNodes))};var
Lb=n.fn.load;n.fn.load=function(a,b,c){if("string"!=typeof a&&Lb)return
Lb.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>-
1&&(d=n.trim(a.slice(h)),a=a.slice(0,h)),n.isFunction(b)?(c=b,b=void
0):b&&"object"==typeof
b&&(e="POST"),g.length>0&&n.ajax({url:a,type:e||"GET",dataType:"html",d
ata:b}).done(function(a){f=arguments,g.html(d?n("<div>").append(n.parseH
TML(a)).find(d):a)}).always(c&&function(a,b){g.each(function(){c.apply(this,f
||[a.responseText,b,a])})}),this},n.each(["ajaxStart","ajaxStop","ajaxComplet
e","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){n.fn[b]=function(a){re
turn this.on(b,a)}}),n.expr.filters.animated=function(a){return
n.grep(n.timers,function(b){return a===b.elem}).length};function
Mb(a){return
n.isWindow(a)?a:9===a.nodeType&&a.defaultView}n.offset={setOffset:func
tion(a,b,c){var
d,e,f,g,h,i,j,k=n.css(a,"position"),l=n(a),m={};"static"===k&&(a.style.position
="relative"),h=l.offset(),f=n.css(a,"top"),i=n.css(a,"left"),j=("absolute"===k||"f
ixed"===k)&&(f+i).indexOf("auto")>-
1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),n.i
sFunction(b)&&(b=b.call(a,c,n.extend({},h))),null!=b.top&&(m.top=b.top-
h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in
b?b.using.call(a,m):l.css(m)}},n.fn.extend({offset:function(a){if(arguments.le
ngth)return void
0===a?this:this.each(function(b){n.offset.setOffset(this,a,b)});var
b,c,d=this[0],e={top:0,left:0},f=d&&d.ownerDocument;if(f)return
b=f.documentElement,n.contains(b,d)?(e=d.getBoundingClientRect(),c=Mb(
f),{top:e.top+c.pageYOffset-b.clientTop,left:e.left+c.pageXOffset-
b.clientLeft}):e},position:function(){if(this[0]){var
a,b,c=this[0],d={top:0,left:0};return"fixed"===n.css(c,"position")?b=c.getBou
ndingClientRect():(a=this.offsetParent(),b=this.offset(),n.nodeName(a[0],"h
tml")||(d=a.offset()),d.top+=n.css(a[0],"borderTopWidth",!0),d.left+=n.css(a[
0],"borderLeftWidth",!0)),{top:b.top-d.top-
n.css(c,"marginTop",!0),left:b.left-d.left-
n.css(c,"marginLeft",!0)}}},offsetParent:function(){return
this.map(function(){var
a=this.offsetParent;while(a&&"static"===n.css(a,"position"))a=a.offsetParen
t;return
a||Ea})}}),n.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function
(a,b){var c="pageYOffset"===b;n.fn[a]=function(d){return
K(this,function(a,d,e){var f=Mb(a);return void
0===e?f?f[b]:a[d]:void(f?f.scrollTo(c?f.pageXOffset:e,c?e:f.pageYOffset):a[d
]=e)},a,d,arguments.length)}}),n.each(["top","left"],function(a,b){n.cssHooks
[b]=Ga(l.pixelPosition,function(a,c){return
c?(c=Fa(a,b),Ba.test(c)?n(a).position()[b]+"px":c):void
0})}),n.each({Height:"height",Width:"width"},function(a,b){n.each({padding:"
inner"+a,content:b,"":"outer"+a},function(c,d){n.fn[d]=function(d,e){var
f=arguments.length&&(c||"boolean"!=typeof
d),g=c||(d===!0||e===!0?"margin":"border");return K(this,function(b,c,d){var
e;return
n.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType
?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body[
"offset"+a],e["offset"+a],e["client"+a])):void
0===d?n.css(b,c,g):n.style(b,c,d,g)},b,f?d:void
0,f,null)}})}),n.fn.extend({bind:function(a,b,c){return
this.on(a,null,b,c)},unbind:function(a,b){return
this.off(a,null,b)},delegate:function(a,b,c,d){return
this.on(b,a,c,d)},undelegate:function(a,b,c){return
1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)},size:function(){re
turn this.length}}),n.fn.andSelf=n.fn.addBack,"function"==typeof
define&&define.amd&&define("jquery",[],function(){return n});var
Nb=a.jQuery,Ob=a.$;return n.noConflict=function(b){return
a.$===n&&(a.$=Ob),b&&a.jQuery===n&&(a.jQuery=Nb),n},b||(a.jQuery=a.$
=n),n});</script>

<script>
/*! jQuery UI - v1.11.4 - 2015-03-11
* http://jqueryui.com
* Includes: core.js, widget.js, mouse.js, position.js, accordion.js,
autocomplete.js, button.js, datepicker.js, dialog.js, draggable.js,
droppable.js, effect.js, effect-blind.js, effect-bounce.js, effect-clip.js, effect-
drop.js, effect-explode.js, effect-fade.js, effect-fold.js, effect-highlight.js,
effect-puff.js, effect-pulsate.js, effect-scale.js, effect-shake.js, effect-size.js,
effect-slide.js, effect-transfer.js, menu.js, progressbar.js, resizable.js,
selectable.js, selectmenu.js, slider.js, sortable.js, spinner.js, tabs.js, tooltip.js
* Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */

(function(e){"function"==typeof
define&&define.amd?define(["jquery"],e):e(jQuery)})(function(e){function
t(t,s){var
n,a,o,r=t.nodeName.toLowerCase();return"area"===r?(n=t.parentNode,a=n.
name,t.href&&a&&"map"===n.nodeName.toLowerCase()?(o=e("img[usema
p='#"+a+"']")[0],!!o&&i(o)):!1):(/^(input|select|textarea|button|object)$/.test(
r)?!t.disabled:"a"===r?t.href||s:s)&&i(t)}function i(t){return
e.expr.filters.visible(t)&&!e(t).parents().addBack().filter(function(){return"hi
dden"===e.css(this,"visibility")}).length}function s(e){for(var
t,i;e.length&&e[0]!==document;){if(t=e.css("position"),("absolute"===t||"rela
tive"===t||"fixed"===t)&&(i=parseInt(e.css("zIndex"),10),!isNaN(i)&&0!==i))re
turn i;e=e.parent()}return 0}function
n(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepic
kerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-
div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-
datepicker-append",this._triggerClass="ui-datepicker-
trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-
datepicker-disabled",this._unselectableClass="ui-datepicker-
unselectable",this._currentClass="ui-datepicker-current-
day",this._dayOverClass="ui-datepicker-days-cell-
over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",n
extText:"Next",currentText:"Today",monthNames:["January","February","M
arch","April","May","June","July","August","September","October","Novemb
er","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","
Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesd
ay","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","
Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","
Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!
1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",sho
wAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:
"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAs
DateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c
-
10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculate
Week:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,
duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChang
eMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,ste
pMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,sho
wButtonPanel:!1,autoSize:!1,disabled:!1},e.extend(this._defaults,this.region
al[""]),this.regional.en=e.extend(!0,{},this.regional[""]),this.regional["en-
US"]=e.extend(!0,{},this.regional.en),this.dpDiv=a(e("<div
id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-
helper-clearfix ui-corner-all'></div>"))}function a(t){var i="button, .ui-
datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return
t.delegate(i,"mouseout",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")}).delegate(i,"mouseover",o)}function
o(){e.datepicker._isDisabledDatepicker(v.inline?v.dpDiv.parent()[0]:v.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
r(t,i){e.extend(t,i);for(var s in i)null==i[s]&&(t[s]=i[s]);return t}function
h(e){return function(){var
t=this.element.val();e.apply(this,arguments),this._refresh(),t!==this.element
.val()&&this._trigger("change")}}e.ui=e.ui||{},e.extend(e.ui,{version:"1.11.4",k
eyCode:{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:1
90,RIGHT:39,SPACE:32,TAB:9,UP:38}}),e.fn.extend({scrollParent:function(t)
{var
i=this.css("position"),s="absolute"===i,n=t?/(auto|scroll|hidden)/:/(auto|scroll
)/,a=this.parents().filter(function(){var t=e(this);return
s&&"static"===t.css("position")?!1:n.test(t.css("overflow")+t.css("overflow-
y")+t.css("overflow-
x"))}).eq(0);return"fixed"!==i&&a.length?a:e(this[0].ownerDocument||docum
ent)},uniqueId:function(){var e=0;return function(){return
this.each(function(){this.id||(this.id="ui-id-"+
++e)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-
\d+$/.test(this.id)&&e(this).removeAttr("id")})}}),e.extend(e.expr[":"],{data:e
.expr.createPseudo?e.expr.createPseudo(function(t){return
function(i){return!!e.data(i,t)}}):function(t,i,s){return!!e.data(t,s[3])},focusabl
e:function(i){return t(i,!isNaN(e.attr(i,"tabindex")))},tabbable:function(i){var
s=e.attr(i,"tabindex"),n=isNaN(s);return(n||s>=0)&&t(i,!n)}}),e("<a>").outerWi
dth(1).jquery||e.each(["Width","Height"],function(t,i){function
s(t,i,s,a){return e.each(n,function(){i-
=parseFloat(e.css(t,"padding"+this))||0,s&&(i-
=parseFloat(e.css(t,"border"+this+"Width"))||0),a&&(i-
=parseFloat(e.css(t,"margin"+this))||0)}),i}var
n="Width"===i?["Left","Right"]:["Top","Bottom"],a=i.toLowerCase(),o={inne
rWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outer
Width,outerHeight:e.fn.outerHeight};e.fn["inner"+i]=function(t){return void
0===t?o["inner"+i].call(this):this.each(function(){e(this).css(a,s(this,t)+"px")})
},e.fn["outer"+i]=function(t,n){return"number"!=typeof
t?o["outer"+i].call(this,t):this.each(function(){e(this).css(a,s(this,t,!0,n)+"px")
})}}),e.fn.addBack||(e.fn.addBack=function(e){return
this.add(null==e?this.prevObject:this.prevObject.filter(e))}),e("<a>").data("a
-b","a").removeData("a-b").data("a-
b")&&(e.fn.removeData=function(t){return function(i){return
arguments.length?t.call(this,e.camelCase(i)):t.call(this)}}(e.fn.removeData)),
e.ui.ie=!!/msie
[\w.]+/.exec(navigator.userAgent.toLowerCase()),e.fn.extend({focus:functio
n(t){return function(i,s){return"number"==typeof i?this.each(function(){var
t=this;setTimeout(function(){e(t).focus(),s&&s.call(t)},i)}):t.apply(this,argum
ents)}}(e.fn.focus),disableSelection:function(){var e="onselectstart"in
document.createElement("div")?"selectstart":"mousedown";return
function(){return this.bind(e+".ui-
disableSelection",function(e){e.preventDefault()})}}(),enableSelection:functi
on(){return this.unbind(".ui-disableSelection")},zIndex:function(t){if(void
0!==t)return this.css("zIndex",t);if(this.length)for(var
i,s,n=e(this[0]);n.length&&n[0]!==document;){if(i=n.css("position"),("absolut
e"===i||"relative"===i||"fixed"===i)&&(s=parseInt(n.css("zIndex"),10),!isNaN(s
)&&0!==s))return s;n=n.parent()}return
0}}),e.ui.plugin={add:function(t,i,s){var n,a=e.ui[t].prototype;for(n in
s)a.plugins[n]=a.plugins[n]||[],a.plugins[n].push([i,s[n]])},call:function(e,t,i,s)
{var
n,a=e.plugins[t];if(a&&(s||e.element[0].parentNode&&11!==e.element[0].pa
rentNode.nodeType))for(n=0;a.length>n;n++)e.options[a[n][0]]&&a[n][1].ap
ply(e.element,i)}};var
l=0,u=Array.prototype.slice;e.cleanData=function(t){return function(i){var
s,n,a;for(a=0;null!=(n=i[a]);a++)try{s=e._data(n,"events"),s&&s.remove&&e(
n).triggerHandler("remove")}catch(o){}t(i)}}(e.cleanData),e.widget=function(
t,i,s){var n,a,o,r,h={},l=t.split(".")[0];return t=t.split(".")[1],n=l+"-
"+t,s||(s=i,i=e.Widget),e.expr[":"][n.toLowerCase()]=function(t){return!!e.dat
a(t,n)},e[l]=e[l]||{},a=e[l][t],o=e[l][t]=function(e,t){return
this._createWidget?(arguments.length&&this._createWidget(e,t),void
0):new
o(e,t)},e.extend(o,a,{version:s.version,_proto:e.extend({},s),_childConstruct
ors:[]}),r=new
i,r.options=e.widget.extend({},r.options),e.each(s,function(t,s){return
e.isFunction(s)?(h[t]=function(){var e=function(){return
i.prototype[t].apply(this,arguments)},n=function(e){return
i.prototype[t].apply(this,e)};return function(){var
t,i=this._super,a=this._superApply;return
this._super=e,this._superApply=n,t=s.apply(this,arguments),this._super=i,th
is._superApply=a,t}}(),void 0):(h[t]=s,void
0)}),o.prototype=e.widget.extend(r,{widgetEventPrefix:a?r.widgetEventPref
ix||t:t},h,{constructor:o,namespace:l,widgetName:t,widgetFullName:n}),a?(e
.each(a._childConstructors,function(t,i){var
s=i.prototype;e.widget(s.namespace+"."+s.widgetName,o,i._proto)}),delete
a._childConstructors):i._childConstructors.push(o),e.widget.bridge(t,o),o},e.
widget.extend=function(t){for(var
i,s,n=u.call(arguments,1),a=0,o=n.length;o>a;a++)for(i in
n[a])s=n[a][i],n[a].hasOwnProperty(i)&&void
0!==s&&(t[i]=e.isPlainObject(s)?e.isPlainObject(t[i])?e.widget.extend({},t[i],s
):e.widget.extend({},s):s);return t},e.widget.bridge=function(t,i){var
s=i.prototype.widgetFullName||t;e.fn[t]=function(n){var a="string"==typeof
n,o=u.call(arguments,1),r=this;return a?this.each(function(){var
i,a=e.data(this,s);return"instance"===n?(r=a,!1):a?e.isFunction(a[n])&&"_"!=
=n.charAt(0)?(i=a[n].apply(a,o),i!==a&&void
0!==i?(r=i&&i.jquery?r.pushStack(i.get()):i,!1):void 0):e.error("no such
method '"+n+"' for "+t+" widget instance"):e.error("cannot call methods on
"+t+" prior to initialization; "+"attempted to call method
'"+n+"'")}):(o.length&&(n=e.widget.extend.apply(null,[n].concat(o))),this.eac
h(function(){var
t=e.data(this,s);t?(t.option(n||{}),t._init&&t._init()):e.data(this,s,new
i(n,this))})),r}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widg
et.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"
<div>",options:{disabled:!1,create:null},_createWidget:function(t,i){i=e(i||this
.defaultElement||this)[0],this.element=e(i),this.uuid=l++,this.eventNamespa
ce="."+this.widgetName+this.uuid,this.bindings=e(),this.hoverable=e(),this.f
ocusable=e(),i!==this&&(e.data(i,this.widgetFullName,this),this._on(!0,this.e
lement,{remove:function(e){e.target===i&&this.destroy()}}),this.document=
e(i.style?i.ownerDocument:i.document||i),this.window=e(this.document[0].
defaultView||this.document[0].parentWindow)),this.options=e.widget.exten
d({},this.options,this._getCreateOptions(),t),this._create(),this._trigger("cre
ate",null,this._getCreateEventData()),this._init()},_getCreateOptions:e.noop
,_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function
(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(t
his.widgetFullName).removeData(e.camelCase(this.widgetFullName)),this.
widget().unbind(this.eventNamespace).removeAttr("aria-
disabled").removeClass(this.widgetFullName+"-disabled "+"ui-state-
disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.remov
eClass("ui-state-hover"),this.focusable.removeClass("ui-state-
focus")},_destroy:e.noop,widget:function(){return
this.element},option:function(t,i){var
s,n,a,o=t;if(0===arguments.length)return
e.widget.extend({},this.options);if("string"==typeof
t)if(o={},s=t.split("."),t=s.shift(),s.length){for(n=o[t]=e.widget.extend({},this.o
ptions[t]),a=0;s.length-
1>a;a++)n[s[a]]=n[s[a]]||{},n=n[s[a]];if(t=s.pop(),1===arguments.length)retur
n void 0===n[t]?null:n[t];n[t]=i}else{if(1===arguments.length)return void
0===this.options[t]?null:this.options[t];o[t]=i}return
this._setOptions(o),this},_setOptions:function(e){var t;for(t in
e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return
this.options[e]=t,"disabled"===e&&(this.widget().toggleClass(this.widgetFul
lName+"-disabled",!!t),t&&(this.hoverable.removeClass("ui-state-
hover"),this.focusable.removeClass("ui-state-
focus"))),this},enable:function(){return
this._setOptions({disabled:!1})},disable:function(){return
this._setOptions({disabled:!0})},_on:function(t,i,s){var
n,a=this;"boolean"!=typeof
t&&(s=i,i=t,t=!1),s?(i=n=e(i),this.bindings=this.bindings.add(i)):(s=i,i=this.ele
ment,n=this.widget()),e.each(s,function(s,o){function r(){return
t||a.options.disabled!==!0&&!e(this).hasClass("ui-state-
disabled")?("string"==typeof o?a[o]:o).apply(a,arguments):void
0}"string"!=typeof o&&(r.guid=o.guid=o.guid||r.guid||e.guid++);var
h=s.match(/^([\w:-
]*)\s*(.*)$/),l=h[1]+a.eventNamespace,u=h[2];u?n.delegate(u,l,r):i.bind(l,r)})
},_off:function(t,i){i=(i||"").split(" ").join(this.eventNamespace+"
")+this.eventNamespace,t.unbind(i).undelegate(i),this.bindings=e(this.bindi
ngs.not(t).get()),this.focusable=e(this.focusable.not(t).get()),this.hoverable=
e(this.hoverable.not(t).get())},_delay:function(e,t){function
i(){return("string"==typeof e?s[e]:e).apply(s,arguments)}var s=this;return
setTimeout(i,t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add
(t),this._on(t,{mouseenter:function(t){e(t.currentTarget).addClass("ui-state-
hover")},mouseleave:function(t){e(t.currentTarget).removeClass("ui-state-
hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._
on(t,{focusin:function(t){e(t.currentTarget).addClass("ui-state-
focus")},focusout:function(t){e(t.currentTarget).removeClass("ui-state-
focus")}})},_trigger:function(t,i,s){var
n,a,o=this.options[t];if(s=s||{},i=e.Event(i),i.type=(t===this.widgetEventPrefi
x?t:this.widgetEventPrefix+t).toLowerCase(),i.target=this.element[0],a=i.ori
ginalEvent)for(n in a)n in i||(i[n]=a[n]);return
this.element.trigger(i,s),!(e.isFunction(o)&&o.apply(this.element[0],[i].conc
at(s))===!1||i.isDefaultPrevented())}},e.each({show:"fadeIn",hide:"fadeOut"},f
unction(t,i){e.Widget.prototype["_"+t]=function(s,n,a){"string"==typeof
n&&(n={effect:n});var o,r=n?n===!0||"number"==typeof
n?i:n.effect||i:t;n=n||{},"number"==typeof
n&&(n={duration:n}),o=!e.isEmptyObject(n),n.complete=a,n.delay&&s.delay
(n.delay),o&&e.effects&&e.effects.effect[r]?s[t](n):r!==t&&s[r]?s[r](n.durati
on,n.easing,a):s.queue(function(i){e(this)[t](),a&&a.call(s[0]),i()})}}),e.widget;
var
d=!1;e(document).mouseup(function(){d=!1}),e.widget("ui.mouse",{version:"
1.11.4",options:{cancel:"input,textarea,button,select,option",distance:1,dela
y:0},_mouseInit:function(){var
t=this;this.element.bind("mousedown."+this.widgetName,function(e){retur
n
t._mouseDown(e)}).bind("click."+this.widgetName,function(i){return!0===e.
data(i.target,t.widgetName+".preventClickEvent")?(e.removeData(i.target,t
.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):void
0}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.
widgetName),this._mouseMoveDelegate&&this.document.unbind("mouse
move."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+t
his.widgetName,this._mouseUpDelegate)},_mouseDown:function(t){if(!d){t
his._mouseMoved=!1,this._mouseStarted&&this._mouseUp(t),this._mouse
DownEvent=t;var i=this,s=1===t.which,n="string"==typeof
this.options.cancel&&t.target.nodeName?e(t.target).closest(this.options.ca
ncel).length:!1;return
s&&!n&&this._mouseCapture(t)?(this.mouseDelayMet=!this.options.delay,t
his.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){i.mou
seDelayMet=!0},this.options.delay)),this._mouseDistanceMet(t)&&this._mo
useDelayMet(t)&&(this._mouseStarted=this._mouseStart(t)!==!1,!this._mou
seStarted)?(t.preventDefault(),!0):(!0===e.data(t.target,this.widgetName+".
preventClickEvent")&&e.removeData(t.target,this.widgetName+".preventCl
ickEvent"),this._mouseMoveDelegate=function(e){return
i._mouseMove(e)},this._mouseUpDelegate=function(e){return
i._mouseUp(e)},this.document.bind("mousemove."+this.widgetName,this._
mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpD
elegate),t.preventDefault(),d=!0,!0)):!0}},_mouseMove:function(t){if(this._m
ouseMoved){if(e.ui.ie&&(!document.documentMode||9>document.docume
ntMode)&&!t.button)return this._mouseUp(t);if(!t.which)return
this._mouseUp(t)}return(t.which||t.button)&&(this._mouseMoved=!0),this._
mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanc
eMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=this._mouseStar
t(this._mouseDownEvent,t)!==!1,this._mouseStarted?this._mouseDrag(t):th
is._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(t){return
this.document.unbind("mousemove."+this.widgetName,this._mouseMoveD
elegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),thi
s._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEv
ent.target&&e.data(t.target,this.widgetName+".preventClickEvent",!0),this.
_mouseStop(t)),d=!1,!1},_mouseDistanceMet:function(e){return
Math.max(Math.abs(this._mouseDownEvent.pageX-
e.pageX),Math.abs(this._mouseDownEvent.pageY-
e.pageY))>=this.options.distance},_mouseDelayMet:function(){return
this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_m
ouseStop:function(){},_mouseCapture:function(){return!0}}),function(){functi
on
t(e,t,i){return[parseFloat(e[0])*(p.test(e[0])?t/100:1),parseFloat(e[1])*(p.test
(e[1])?i/100:1)]}function i(t,i){return parseInt(e.css(t,i),10)||0}function s(t){var
i=t[0];return
9===i.nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:e.is
Window(i)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.sc
rollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.page
X}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()}}e.ui=e.ui||{}
;var
n,a,o=Math.max,r=Math.abs,h=Math.round,l=/left|center|right/,u=/top|cent
er|bottom/,d=/[\+\-
]\d+(\.[\d]+)?%?/,c=/^\w+/,p=/%$/,f=e.fn.position;e.position={scrollbarWidth:
function(){if(void 0!==n)return n;var t,i,s=e("<div
style='display:block;position:absolute;width:50px;height:50px;overflow:hidd
en;'><div
style='height:100px;width:auto;'></div></div>"),a=s.children()[0];return
e("body").append(s),t=a.offsetWidth,s.css("overflow","scroll"),i=a.offsetWid
th,t===i&&(i=s[0].clientWidth),s.remove(),n=t-
i},getScrollInfo:function(t){var
i=t.isWindow||t.isDocument?"":t.element.css("overflow-
x"),s=t.isWindow||t.isDocument?"":t.element.css("overflow-
y"),n="scroll"===i||"auto"===i&&t.width<t.element[0].scrollWidth,a="scroll"
===s||"auto"===s&&t.height<t.element[0].scrollHeight;return{width:a?e.pos
ition.scrollbarWidth():0,height:n?e.position.scrollbarWidth():0}},getWithinIn
fo:function(t){var
i=e(t||window),s=e.isWindow(i[0]),n=!!i[0]&&9===i[0].nodeType;return{elem
ent:i,isWindow:s,isDocument:n,offset:i.offset()||{left:0,top:0},scrollLeft:i.scr
ollLeft(),scrollTop:i.scrollTop(),width:s||n?i.width():i.outerWidth(),height:s||n
?i.height():i.outerHeight()}}},e.fn.position=function(n){if(!n||!n.of)return
f.apply(this,arguments);n=e.extend({},n);var
p,m,g,v,y,b,_=e(n.of),x=e.position.getWithinInfo(n.within),w=e.position.get
ScrollInfo(x),k=(n.collision||"flip").split(" "),T={};return
b=s(_),_[0].preventDefault&&(n.at="left
top"),m=b.width,g=b.height,v=b.offset,y=e.extend({},v),e.each(["my","at"],f
unction(){var e,t,i=(n[this]||"").split("
");1===i.length&&(i=l.test(i[0])?i.concat(["center"]):u.test(i[0])?["center"].co
ncat(i):["center","center"]),i[0]=l.test(i[0])?i[0]:"center",i[1]=u.test(i[1])?i[1]:"
center",e=d.exec(i[0]),t=d.exec(i[1]),T[this]=[e?e[0]:0,t?t[0]:0],n[this]=[c.exe
c(i[0])[0],c.exec(i[1])[0]]}),1===k.length&&(k[1]=k[0]),"right"===n.at[0]?y.left
+=m:"center"===n.at[0]&&(y.left+=m/2),"bottom"===n.at[1]?y.top+=g:"cent
er"===n.at[1]&&(y.top+=g/2),p=t(T.at,m,g),y.left+=p[0],y.top+=p[1],this.eac
h(function(){var
s,l,u=e(this),d=u.outerWidth(),c=u.outerHeight(),f=i(this,"marginLeft"),b=i(t
his,"marginTop"),D=d+f+i(this,"marginRight")+w.width,S=c+b+i(this,"margi
nBottom")+w.height,M=e.extend({},y),C=t(T.my,u.outerWidth(),u.outerHeig
ht());"right"===n.my[0]?M.left-=d:"center"===n.my[0]&&(M.left-
=d/2),"bottom"===n.my[1]?M.top-=c:"center"===n.my[1]&&(M.top-
=c/2),M.left+=C[0],M.top+=C[1],a||(M.left=h(M.left),M.top=h(M.top)),s={mar
ginLeft:f,marginTop:b},e.each(["left","top"],function(t,i){e.ui.position[k[t]]&
&e.ui.position[k[t]][i](M,{targetWidth:m,targetHeight:g,elemWidth:d,elem
Height:c,collisionPosition:s,collisionWidth:D,collisionHeight:S,offset:[p[0]+
C[0],p[1]+C[1]],my:n.my,at:n.at,within:x,elem:u})}),n.using&&(l=function(e){
var t=v.left-M.left,i=t+m-d,s=v.top-M.top,a=s+g-
c,h={target:{element:_,left:v.left,top:v.top,width:m,height:g},element:{elem
ent:u,left:M.left,top:M.top,width:d,height:c},horizontal:0>i?"left":t>0?"right
":"center",vertical:0>a?"top":s>0?"bottom":"middle"};d>m&&m>r(t+i)&&(h.
horizontal="center"),c>g&&g>r(s+a)&&(h.vertical="middle"),h.important=o(
r(t),r(i))>o(r(s),r(a))?"horizontal":"vertical",n.using.call(this,e,h)}),u.offset(e.e
xtend(M,{using:l}))})},e.ui.position={fit:{left:function(e,t){var
i,s=t.within,n=s.isWindow?s.scrollLeft:s.offset.left,a=s.width,r=e.left-
t.collisionPosition.marginLeft,h=n-r,l=r+t.collisionWidth-a-
n;t.collisionWidth>a?h>0&&0>=l?(i=e.left+h+t.collisionWidth-a-n,e.left+=h-
i):e.left=l>0&&0>=h?n:h>l?n+a-t.collisionWidth:n:h>0?e.left+=h:l>0?e.left-
=l:e.left=o(e.left-r,e.left)},top:function(e,t){var
i,s=t.within,n=s.isWindow?s.scrollTop:s.offset.top,a=t.within.height,r=e.top-
t.collisionPosition.marginTop,h=n-r,l=r+t.collisionHeight-a-
n;t.collisionHeight>a?h>0&&0>=l?(i=e.top+h+t.collisionHeight-a-
n,e.top+=h-i):e.top=l>0&&0>=h?n:h>l?n+a-
t.collisionHeight:n:h>0?e.top+=h:l>0?e.top-=l:e.top=o(e.top-
r,e.top)}},flip:{left:function(e,t){var
i,s,n=t.within,a=n.offset.left+n.scrollLeft,o=n.width,h=n.isWindow?n.scrollL
eft:n.offset.left,l=e.left-t.collisionPosition.marginLeft,u=l-
h,d=l+t.collisionWidth-o-h,c="left"===t.my[0]?-
t.elemWidth:"right"===t.my[0]?t.elemWidth:0,p="left"===t.at[0]?t.targetWi
dth:"right"===t.at[0]?-t.targetWidth:0,f=-
2*t.offset[0];0>u?(i=e.left+c+p+f+t.collisionWidth-o-
a,(0>i||r(u)>i)&&(e.left+=c+p+f)):d>0&&(s=e.left-
t.collisionPosition.marginLeft+c+p+f-
h,(s>0||d>r(s))&&(e.left+=c+p+f))},top:function(e,t){var
i,s,n=t.within,a=n.offset.top+n.scrollTop,o=n.height,h=n.isWindow?n.scrollT
op:n.offset.top,l=e.top-t.collisionPosition.marginTop,u=l-
h,d=l+t.collisionHeight-o-h,c="top"===t.my[1],p=c?-
t.elemHeight:"bottom"===t.my[1]?t.elemHeight:0,f="top"===t.at[1]?t.targe
tHeight:"bottom"===t.at[1]?-t.targetHeight:0,m=-
2*t.offset[1];0>u?(s=e.top+p+f+m+t.collisionHeight-o-
a,(0>s||r(u)>s)&&(e.top+=p+f+m)):d>0&&(i=e.top-
t.collisionPosition.marginTop+p+f+m-
h,(i>0||d>r(i))&&(e.top+=p+f+m))}},flipfit:{left:function(){e.ui.position.flip.left
.apply(this,arguments),e.ui.position.fit.left.apply(this,arguments)},top:funct
ion(){e.ui.position.flip.top.apply(this,arguments),e.ui.position.fit.top.apply(t
his,arguments)}}},function(){var
t,i,s,n,o,r=document.getElementsByTagName("body")[0],h=document.crea
teElement("div");t=document.createElement(r?"div":"body"),s={visibility:"hi
dden",width:0,height:0,border:0,margin:0,background:"none"},r&&e.extend
(s,{position:"absolute",left:"-1000px",top:"-1000px"});for(o in
s)t.style[o]=s[o];t.appendChild(h),i=r||document.documentElement,i.insertB
efore(t,i.firstChild),h.style.cssText="position: absolute; left:
10.7432222px;",n=e(h).offset().left,a=n>10&&11>n,t.innerHTML="",i.remove
Child(t)}()}(),e.ui.position,e.widget("ui.accordion",{version:"1.11.4",options:{
active:0,animate:{},collapsible:!1,event:"click",header:"> li > :first-child,>
: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",bor
derBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"
hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",pa
ddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){
var
t=this.options;this.prevShow=this.prevHide=e(),this.element.addClass("ui-
accordion ui-widget ui-helper-
reset").attr("role","tablist"),t.collapsible||t.active!==!1&&null!=t.active||(t.acti
ve=0),this._processPanels(),0>t.active&&(t.active+=this.headers.length),this
._refresh()},_getCreateEventData:function(){return{header:this.active,panel:
this.active.length?this.active.next():e()}},_createIcons:function(){var
t=this.options.icons;t&&(e("<span>").addClass("ui-accordion-header-icon ui-
icon "+t.header).prependTo(this.headers),this.active.children(".ui-
accordion-header-
icon").removeClass(t.header).addClass(t.activeHeader),this.headers.addClas
s("ui-accordion-
icons"))},_destroyIcons:function(){this.headers.removeClass("ui-accordion-
icons").children(".ui-accordion-header-
icon").remove()},_destroy:function(){var e;this.element.removeClass("ui-
accordion ui-widget ui-helper-
reset").removeAttr("role"),this.headers.removeClass("ui-accordion-header
ui-accordion-header-active ui-state-default ui-corner-all ui-state-active ui-
state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-
expanded").removeAttr("aria-selected").removeAttr("aria-
controls").removeAttr("tabIndex").removeUniqueId(),this._destroyIcons(),e=
this.headers.next().removeClass("ui-helper-reset ui-widget-content ui-
corner-bottom ui-accordion-content ui-accordion-content-active ui-state-
disabled").css("display","").removeAttr("role").removeAttr("aria-
hidden").removeAttr("aria-
labelledby").removeUniqueId(),"content"!==this.options.heightStyle&&e.css
("height","")},_setOption:function(e,t){return"active"===e?(this._activate(t),
void
0):("event"===e&&(this.options.event&&this._off(this.headers,this.options.
event),this._setupEvents(t)),this._super(e,t),"collapsible"!==e||t||this.options.
active!==!1||this._activate(0),"icons"===e&&(this._destroyIcons(),t&&this._cr
eateIcons()),"disabled"===e&&(this.element.toggleClass("ui-state-
disabled",!!t).attr("aria-
disabled",t),this.headers.add(this.headers.next()).toggleClass("ui-state-
disabled",!!t)),void 0)},_keydown:function(t){if(!t.altKey&&!t.ctrlKey){var
i=e.ui.keyCode,s=this.headers.length,n=this.headers.index(t.target),a=!1;swi
tch(t.keyCode){case i.RIGHT:case
i.DOWN:a=this.headers[(n+1)%s];break;case i.LEFT:case
i.UP:a=this.headers[(n-1+s)%s];break;case i.SPACE:case
i.ENTER:this._eventHandler(t);break;case
i.HOME:a=this.headers[0];break;case i.END:a=this.headers[s-
1]}a&&(e(t.target).attr("tabIndex",-
1),e(a).attr("tabIndex",0),a.focus(),t.preventDefault())}},_panelKeyDown:fun
ction(t){t.keyCode===e.ui.keyCode.UP&&t.ctrlKey&&e(t.currentTarget).pre
v().focus()},refresh:function(){var
t=this.options;this._processPanels(),t.active===!1&&t.collapsible===!0||!this.
headers.length?(t.active=!1,this.active=e()):t.active===!1?this._activate(0):th
is.active.length&&!e.contains(this.element[0],this.active[0])?this.headers.le
ngth===this.headers.find(".ui-state-
disabled").length?(t.active=!1,this.active=e()):this._activate(Math.max(0,t.ac
tive-
1)):t.active=this.headers.index(this.active),this._destroyIcons(),this._refresh(
)},_processPanels:function(){var
e=this.headers,t=this.panels;this.headers=this.element.find(this.options.he
ader).addClass("ui-accordion-header ui-state-default ui-corner-
all"),this.panels=this.headers.next().addClass("ui-accordion-content ui-
helper-reset ui-widget-content ui-corner-bottom").filter(":not(.ui-accordion-
content-
active)").hide(),t&&(this._off(e.not(this.headers)),this._off(t.not(this.panels)
))},_refresh:function(){var
t,i=this.options,s=i.heightStyle,n=this.element.parent();this.active=this._fin
dActive(i.active).addClass("ui-accordion-header-active ui-state-active ui-
corner-top").removeClass("ui-corner-all"),this.active.next().addClass("ui-
accordion-content-
active").show(),this.headers.attr("role","tab").each(function(){var
t=e(this),i=t.uniqueId().attr("id"),s=t.next(),n=s.uniqueId().attr("id");t.attr("ari
a-controls",n),s.attr("aria-
labelledby",i)}).next().attr("role","tabpanel"),this.headers.not(this.active).att
r({"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(),thi
s._setupEvents(i.event),"fill"===s?(t=n.height(),this.element.siblings(":visibl
e").each(function(){var
i=e(this),s=i.css("position");"absolute"!==s&&"fixed"!==s&&(t-
=i.outerHeight(!0))}),this.headers.each(function(){t-
=e(this).outerHeight(!0)}),this.headers.next().each(function(){e(this).height(
Math.max(0,t-
e(this).innerHeight()+e(this).height()))}).css("overflow","auto")):"auto"===s&
&(t=0,this.headers.next().each(function(){t=Math.max(t,e(this).css("height",
"").height())}).height(t))},_activate:function(t){var
i=this._findActive(t)[0];i!==this.active[0]&&(i=i||this.active[0],this._eventHan
dler({target:i,currentTarget:i,preventDefault:e.noop}))},_findActive:function
(t){return"number"==typeof
t?this.headers.eq(t):e()},_setupEvents:function(t){var
i={keydown:"_keydown"};t&&e.each(t.split("
"),function(e,t){i[t]="_eventHandler"}),this._off(this.headers.add(this.header
s.next())),this._on(this.headers,i),this._on(this.headers.next(),{keydown:"_p
anelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)}
,_eventHandler:function(t){var
i=this.options,s=this.active,n=e(t.currentTarget),a=n[0]===s[0],o=a&&i.colla
psible,r=o?e():n.next(),h=s.next(),l={oldHeader:s,oldPanel:h,newHeader:o?e(
):n,newPanel:r};t.preventDefault(),a&&!i.collapsible||this._trigger("beforeAc
tivate",t,l)===!1||(i.active=o?!1:this.headers.index(n),this.active=a?e():n,this.
_toggle(l),s.removeClass("ui-accordion-header-active ui-state-
active"),i.icons&&s.children(".ui-accordion-header-
icon").removeClass(i.icons.activeHeader).addClass(i.icons.header),a||(n.rem
oveClass("ui-corner-all").addClass("ui-accordion-header-active ui-state-
active ui-corner-top"),i.icons&&n.children(".ui-accordion-header-
icon").removeClass(i.icons.header).addClass(i.icons.activeHeader),n.next().a
ddClass("ui-accordion-content-active")))},_toggle:function(t){var
i=t.newPanel,s=this.prevShow.length?this.prevShow:t.oldPanel;this.prevSh
ow.add(this.prevHide).stop(!0,!0),this.prevShow=i,this.prevHide=s,this.opti
ons.animate?this._animate(i,s,t):(s.hide(),i.show(),this._toggleComplete(t)),
s.attr({"aria-hidden":"true"}),s.prev().attr({"aria-selected":"false","aria-
expanded":"false"}),i.length&&s.length?s.prev().attr({tabIndex:-1,"aria-
expanded":"false"}):i.length&&this.headers.filter(function(){return
0===parseInt(e(this).attr("tabIndex"),10)}).attr("tabIndex",-1),i.attr("aria-
hidden","false").prev().attr({"aria-selected":"true","aria-
expanded":"true",tabIndex:0})},_animate:function(e,t,i){var
s,n,a,o=this,r=0,h=e.css("box-
sizing"),l=e.length&&(!t.length||e.index()<t.index()),u=this.options.animate||
{},d=l&&u.down||u,c=function(){o._toggleComplete(i)};return"number"==typ
eof d&&(a=d),"string"==typeof
d&&(n=d),n=n||d.easing||u.easing,a=a||d.duration||u.duration,t.length?e.leng
th?(s=e.show().outerHeight(),t.animate(this.hideProps,{duration:a,easing:n,
step:function(e,t){t.now=Math.round(e)}}),e.hide().animate(this.showProps,
{duration:a,easing:n,complete:c,step:function(e,i){i.now=Math.round(e),"hei
ght"!==i.prop?"content-
box"===h&&(r+=i.now):"content"!==o.options.heightStyle&&(i.now=Math.r
ound(s-t.outerHeight()-r),r=0)}}),void
0):t.animate(this.hideProps,a,n,c):e.animate(this.showProps,a,n,c)},_toggle
Complete:function(e){var t=e.oldPanel;t.removeClass("ui-accordion-
content-active").prev().removeClass("ui-corner-top").addClass("ui-corner-
all"),t.length&&(t.parent()[0].className=t.parent()[0].className),this._trig
ger("activate",null,e)}}),e.widget("ui.menu",{version:"1.11.4",defaultElement
:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},items:">
*",menus:"ul",position:{my:"left-1 top",at:"right
top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.acti
veMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().addCl
ass("ui-menu ui-widget ui-widget-content").toggleClass("ui-menu-
icons",!!this.element.find(".ui-
icon").length).attr({role:this.options.role,tabIndex:0}),this.options.disabled&
&this.element.addClass("ui-state-disabled").attr("aria-
disabled","true"),this._on({"mousedown .ui-menu-
item":function(e){e.preventDefault()},"click .ui-menu-item":function(t){var
i=e(t.target);!this.mouseHandled&&i.not(".ui-state-
disabled").length&&(this.select(t),t.isPropagationStopped()||(this.mouseHa
ndled=!0),i.has(".ui-
menu").length?this.expand(t):!this.element.is(":focus")&&e(this.document[0
].activeElement).closest(".ui-
menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.a
ctive.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter
.ui-menu-item":function(t){if(!this.previousFilter){var i=e(t.currentTarget);
i.siblings(".ui-state-active").removeClass("ui-state-
active"),this.focus(t,i)}},mouseleave:"collapseAll","mouseleave .ui-
menu":"collapseAll",focus:function(e,t){var
i=this.active||this.element.find(this.options.items).eq(0);t||this.focus(e,i)},blu
r:function(t){this._delay(function(){e.contains(this.element[0],this.documen
t[0].activeElement)||this.collapseAll(t)})},keydown:"_keydown"}),this.refresh
(),this._on(this.document,{click:function(e){this._closeOnDocumentClick(e)
&&this.collapseAll(e),this.mouseHandled=!1}})},_destroy:function(){this.ele
ment.removeAttr("aria-activedescendant").find(".ui-
menu").addBack().removeClass("ui-menu ui-widget ui-widget-content ui-
menu-icons ui-
front").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-
labelledby").removeAttr("aria-expanded").removeAttr("aria-
hidden").removeAttr("aria-
disabled").removeUniqueId().show(),this.element.find(".ui-menu-
item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-
disabled").removeUniqueId().removeClass("ui-state-
hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-
haspopup").children().each(function(){var t=e(this);t.data("ui-menu-
submenu-carat")&&t.remove()}),this.element.find(".ui-menu-
divider").removeClass("ui-menu-divider ui-widget-
content")},_keydown:function(t){var i,s,n,a,o=!0;switch(t.keyCode){case
e.ui.keyCode.PAGE_UP:this.previousPage(t);break;case
e.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case
e.ui.keyCode.HOME:this._move("first","first",t);break;case
e.ui.keyCode.END:this._move("last","last",t);break;case
e.ui.keyCode.UP:this.previous(t);break;case
e.ui.keyCode.DOWN:this.next(t);break;case
e.ui.keyCode.LEFT:this.collapse(t);break;case
e.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-
disabled")&&this.expand(t);break;case e.ui.keyCode.ENTER:case
e.ui.keyCode.SPACE:this._activate(t);break;case
e.ui.keyCode.ESCAPE:this.collapse(t);break;default:o=!1,s=this.previousFilt
er||"",n=String.fromCharCode(t.keyCode),a=!1,clearTimeout(this.filterTimer
),n===s?a=!0:n=s+n,i=this._filterMenuItems(n),i=a&&-
1!==i.index(this.active.next())?this.active.nextAll(".ui-menu-
item"):i,i.length||(n=String.fromCharCode(t.keyCode),i=this._filterMenuItem
s(n)),i.length?(this.focus(t,i),this.previousFilter=n,this.filterTimer=this._dela
y(function(){delete this.previousFilter},1e3)):delete
this.previousFilter}o&&t.preventDefault()},_activate:function(e){this.active.i
s(".ui-state-disabled")||(this.active.is("[aria-
haspopup='true']")?this.expand(e):this.select(e))},refresh:function(){var
t,i,s=this,n=this.options.icons.submenu,a=this.element.find(this.options.me
nus);this.element.toggleClass("ui-menu-icons",!!this.element.find(".ui-
icon").length),a.filter(":not(.ui-menu)").addClass("ui-menu ui-widget ui-
widget-content ui-front").hide().attr({role:this.options.role,"aria-
hidden":"true","aria-expanded":"false"}).each(function(){var
t=e(this),i=t.parent(),s=e("<span>").addClass("ui-menu-icon ui-icon
"+n).data("ui-menu-submenu-carat",!0);i.attr("aria-
haspopup","true").prepend(s),t.attr("aria-
labelledby",i.attr("id"))}),t=a.add(this.element),i=t.find(this.options.items),i.
not(".ui-menu-item").each(function(){var
t=e(this);s._isDivider(t)&&t.addClass("ui-widget-content ui-menu-
divider")}),i.not(".ui-menu-item, .ui-menu-divider").addClass("ui-menu-
item").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),i.filter(".ui-state-
disabled").attr("aria-
disabled","true"),this.active&&!e.contains(this.element[0],this.active[0])&&t
his.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[t
his.options.role]},_setOption:function(e,t){"icons"===e&&this.element.find(
".ui-menu-
icon").removeClass(this.options.icons.submenu).addClass(t.submenu),"disa
bled"===e&&this.element.toggleClass("ui-state-disabled",!!t).attr("aria-
disabled",t),this._super(e,t)},focus:function(e,t){var
i,s;this.blur(e,e&&"focus"===e.type),this._scrollIntoView(t),this.active=t.first
(),s=this.active.addClass("ui-state-focus").removeClass("ui-state-
active"),this.options.role&&this.element.attr("aria-
activedescendant",s.attr("id")),this.active.parent().closest(".ui-menu-
item").addClass("ui-state-
active"),e&&"keydown"===e.type?this._close():this.timer=this._delay(functi
on(){this._close()},this.delay),i=t.children(".ui-
menu"),i.length&&e&&/^mouse/.test(e.type)&&this._startOpening(i),this.ac
tiveMenu=t.parent(),this._trigger("focus",e,{item:t})},_scrollIntoView:functio
n(t){var
i,s,n,a,o,r;this._hasScroll()&&(i=parseFloat(e.css(this.activeMenu[0],"border
TopWidth"))||0,s=parseFloat(e.css(this.activeMenu[0],"paddingTop"))||0,n=t.
offset().top-this.activeMenu.offset().top-i-
s,a=this.activeMenu.scrollTop(),o=this.activeMenu.height(),r=t.outerHeight(
),0>n?this.activeMenu.scrollTop(a+n):n+r>o&&this.activeMenu.scrollTop(a+
n-
o+r))},blur:function(e,t){t||clearTimeout(this.timer),this.active&&(this.active.
removeClass("ui-state-
focus"),this.active=null,this._trigger("blur",e,{item:this.active}))},_startOpeni
ng:function(e){clearTimeout(this.timer),"true"===e.attr("aria-
hidden")&&(this.timer=this._delay(function(){this._close(),this._open(e)},thi
s.delay))},_open:function(t){var
i=e.extend({of:this.active},this.options.position);clearTimeout(this.timer),thi
s.element.find(".ui-menu").not(t.parents(".ui-menu")).hide().attr("aria-
hidden","true"),t.show().removeAttr("aria-hidden").attr("aria-
expanded","true").position(i)},collapseAll:function(t,i){clearTimeout(this.tim
er),this.timer=this._delay(function(){var
s=i?this.element:e(t&&t.target).closest(this.element.find(".ui-
menu"));s.length||(s=this.element),this._close(s),this.blur(t),this.activeMenu
=s},this.delay)},_close:function(e){e||(e=this.active?this.active.parent():this.e
lement),e.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-
expanded","false").end().find(".ui-state-active").not(".ui-state-
focus").removeClass("ui-state-
active")},_closeOnDocumentClick:function(t){return!e(t.target).closest(".ui-
menu").length},_isDivider:function(e){return!/[^\-
\u2014\u2013\s]/.test(e.text())},collapse:function(e){var
t=this.active&&this.active.parent().closest(".ui-menu-
item",this.element);t&&t.length&&(this._close(),this.focus(e,t))},expand:fun
ction(e){var t=this.active&&this.active.children(".ui-menu
").find(this.options.items).first();t&&t.length&&(this._open(t.parent()),this._
delay(function(){this.focus(e,t)}))},next:function(e){this._move("next","first",
e)},previous:function(e){this._move("prev","last",e)},isFirstItem:function(){re
turn this.active&&!this.active.prevAll(".ui-menu-
item").length},isLastItem:function(){return
this.active&&!this.active.nextAll(".ui-menu-
item").length},_move:function(e,t,i){var
s;this.active&&(s="first"===e||"last"===e?this.active["first"===e?"prevAll":"n
extAll"](".ui-menu-item").eq(-1):this.active[e+"All"](".ui-menu-
item").eq(0)),s&&s.length&&this.active||(s=this.activeMenu.find(this.options
.items)[t]()),this.focus(i,s)},nextPage:function(t){var i,s,n;return
this.active?(this.isLastItem()||(this._hasScroll()?(s=this.active.offset().top,n=t
his.element.height(),this.active.nextAll(".ui-menu-
item").each(function(){return i=e(this),0>i.offset().top-s-
n}),this.focus(t,i)):this.focus(t,this.activeMenu.find(this.options.items)[this.a
ctive?"last":"first"]())),void 0):(this.next(t),void
0)},previousPage:function(t){var i,s,n;return
this.active?(this.isFirstItem()||(this._hasScroll()?(s=this.active.offset().top,n=
this.element.height(),this.active.prevAll(".ui-menu-
item").each(function(){return i=e(this),i.offset().top-
s+n>0}),this.focus(t,i)):this.focus(t,this.activeMenu.find(this.options.items).f
irst())),void 0):(this.next(t),void 0)},_hasScroll:function(){return
this.element.outerHeight()<this.element.prop("scrollHeight")},select:functio
n(t){this.active=this.active||e(t.target).closest(".ui-menu-item");var
i={item:this.active};this.active.has(".ui-
menu").length||this.collapseAll(t,!0),this._trigger("select",t,i)},_filterMenuIte
ms:function(t){var i=t.replace(/[\-
\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),s=RegExp("^"+i,"i");return
this.activeMenu.find(this.options.items).filter(".ui-menu-
item").filter(function(){return
s.test(e.trim(e(this).text()))})}}),e.widget("ui.autocomplete",{version:"1.11.4",
defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,m
inLength: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:f
unction(){var
t,i,s,n=this.element[0].nodeName.toLowerCase(),a="textarea"===n,o="inpu
t"===n;this.isMultiLine=a?!0:o?!1:this.element.prop("isContentEditable"),thi
s.valueMethod=this.element[a||o?"val":"text"],this.isNewMenu=!0,this.elem
ent.addClass("ui-autocomplete-
input").attr("autocomplete","off"),this._on(this.element,{keydown:function(
n){if(this.element.prop("readOnly"))return t=!0,s=!0,i=!0,void
0;t=!1,s=!1,i=!1;var a=e.ui.keyCode;switch(n.keyCode){case
a.PAGE_UP:t=!0,this._move("previousPage",n);break;case
a.PAGE_DOWN:t=!0,this._move("nextPage",n);break;case
a.UP:t=!0,this._keyEvent("previous",n);break;case
a.DOWN:t=!0,this._keyEvent("next",n);break;case
a.ENTER:this.menu.active&&(t=!0,n.preventDefault(),this.menu.select(n));b
reak;case a.TAB:this.menu.active&&this.menu.select(n);break;case
a.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(th
is.term),this.close(n),n.preventDefault());break;default:i=!0,this._searchTim
eout(n)}},keypress:function(s){if(t)return
t=!1,(!this.isMultiLine||this.menu.element.is(":visible"))&&s.preventDefault()
,void 0;if(!i){var n=e.ui.keyCode;switch(s.keyCode){case
n.PAGE_UP:this._move("previousPage",s);break;case
n.PAGE_DOWN:this._move("nextPage",s);break;case
n.UP:this._keyEvent("previous",s);break;case
n.DOWN:this._keyEvent("next",s)}}},input:function(e){return
s?(s=!1,e.preventDefault(),void 0):(this._searchTimeout(e),void
0)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:f
unction(e){return this.cancelBlur?(delete this.cancelBlur,void
0):(clearTimeout(this.searching),this.close(e),this._change(e),void
0)}}),this._initSource(),this.menu=e("<ul>").addClass("ui-autocomplete ui-
front").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance
"),this._on(this.menu.element,{mousedown:function(t){t.preventDefault(),t
his.cancelBlur=!0,this._delay(function(){delete this.cancelBlur});var
i=this.menu.element[0];e(t.target).closest(".ui-menu-
item").length||this._delay(function(){var
t=this;this.document.one("mousedown",function(s){s.target===t.element[0]
||s.target===i||e.contains(i,s.target)||t.close()})})},menufocus:function(t,i){var
s,n;return
this.isNewMenu&&(this.isNewMenu=!1,t.originalEvent&&/^mouse/.test(t.or
iginalEvent.type))?(this.menu.blur(),this.document.one("mousemove",funct
ion(){e(t.target).trigger(t.originalEvent)}),void 0):(n=i.item.data("ui-
autocomplete-
item"),!1!==this._trigger("focus",t,{item:n})&&t.originalEvent&&/^key/.test(t
.originalEvent.type)&&this._value(n.value),s=i.item.attr("aria-
label")||n.value,s&&e.trim(s).length&&(this.liveRegion.children().hide(),e("<
div>").text(s).appendTo(this.liveRegion)),void
0)},menuselect:function(e,t){var i=t.item.data("ui-autocomplete-
item"),s=this.previous;this.element[0]!==this.document[0].activeElement&
&(this.element.focus(),this.previous=s,this._delay(function(){this.previous=s
,this.selectedItem=i})),!1!==this._trigger("select",e,{item:i})&&this._value(i.v
alue),this.term=this._value(),this.close(e),this.selectedItem=i}}),this.liveRegi
on=e("<span>",{role:"status","aria-live":"assertive","aria-
relevant":"additions"}).addClass("ui-helper-hidden-
accessible").appendTo(this.document[0].body),this._on(this.window,{befor
eunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:fu
nction(){clearTimeout(this.searching),this.element.removeClass("ui-
autocomplete-
input").removeAttr("autocomplete"),this.menu.element.remove(),this.liveR
egion.remove()},_setOption:function(e,t){this._super(e,t),"source"===e&&th
is._initSource(),"appendTo"===e&&this.menu.element.appendTo(this._app
endTo()),"disabled"===e&&t&&this.xhr&&this.xhr.abort()},_appendTo:funct
ion(){var t=this.options.appendTo;return
t&&(t=t.jquery||t.nodeType?e(t):this.document.find(t).eq(0)),t&&t[0]||(t=this
.element.closest(".ui-
front")),t.length||(t=this.document[0].body),t},_initSource:function(){var
t,i,s=this;e.isArray(this.options.source)?(t=this.options.source,this.source=fu
nction(i,s){s(e.ui.autocomplete.filter(t,i.term))}):"string"==typeof
this.options.source?(i=this.options.source,this.source=function(t,n){s.xhr&&
s.xhr.abort(),s.xhr=e.ajax({url:i,data:t,dataType:"json",success:function(e){n(
e)},error:function(){n([])}})}):this.source=this.options.source},_searchTimeou
t:function(e){clearTimeout(this.searching),this.searching=this._delay(functi
on(){var
t=this.term===this._value(),i=this.menu.element.is(":visible"),s=e.altKey||e.c
trlKey||e.metaKey||e.shiftKey;(!t||t&&!i&&!s)&&(this.selectedItem=null,this.s
earch(null,e))},this.options.delay)},search:function(e,t){return
e=null!=e?e:this._value(),this.term=this._value(),e.length<this.options.minL
ength?this.close(t):this._trigger("search",t)!==!1?this._search(e):void
0},_search:function(e){this.pending++,this.element.addClass("ui-
autocomplete-
loading"),this.cancelSearch=!1,this.source({term:e},this._response())},_respo
nse:function(){var t=++this.requestIndex;return
e.proxy(function(e){t===this.requestIndex&&this.__response(e),this.pendin
g--,this.pending||this.element.removeClass("ui-autocomplete-
loading")},this)},__response:function(e){e&&(e=this._normalize(e)),this._trig
ger("response",null,{content:e}),!this.options.disabled&&e&&e.length&&!thi
s.cancelSearch?(this._suggest(e),this._trigger("open")):this._close()},close:fu
nction(e){this.cancelSearch=!0,this._close(e)},_close:function(e){this.menu.e
lement.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNe
wMenu=!0,this._trigger("close",e))},_change:function(e){this.previous!==this
._value()&&this._trigger("change",e,{item:this.selectedItem})},_normalize:fu
nction(t){return
t.length&&t[0].label&&t[0].value?t:e.map(t,function(t){return"string"==type
of
t?{label:t,value:t}:e.extend({},t,{label:t.label||t.value,value:t.value||t.label})})},
_suggest:function(t){var
i=this.menu.element.empty();this._renderMenu(i,t),this.isNewMenu=!0,this.
menu.refresh(),i.show(),this._resizeMenu(),i.position(e.extend({of:this.elem
ent},this.options.position)),this.options.autoFocus&&this.menu.next()},_resi
zeMenu:function(){var
e=this.menu.element;e.outerWidth(Math.max(e.width("").outerWidth()+1,t
his.element.outerWidth()))},_renderMenu:function(t,i){var
s=this;e.each(i,function(e,i){s._renderItemData(t,i)})},_renderItemData:funct
ion(e,t){return this._renderItem(e,t).data("ui-autocomplete-
item",t)},_renderItem:function(t,i){return
e("<li>").text(i.label).appendTo(t)},_move:function(e,t){return
this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(e
)||this.menu.isLastItem()&&/^next/.test(e)?(this.isMultiLine||this._value(this.
term),this.menu.blur(),void 0):(this.menu[e](t),void
0):(this.search(null,t),void 0)},widget:function(){return
this.menu.element},_value:function(){return
this.valueMethod.apply(this.element,arguments)},_keyEvent:function(e,t){(!
this.isMultiLine||this.menu.element.is(":visible"))&&(this._move(e,t),t.preve
ntDefault())}}),e.extend(e.ui.autocomplete,{escapeRegex:function(e){return
e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(t,i){var
s=RegExp(e.ui.autocomplete.escapeRegex(i),"i");return
e.grep(t,function(e){return
s.test(e.label||e.value||e)})}}),e.widget("ui.autocomplete",e.ui.autocomplete,
{options:{messages:{noResults:"No search
results.",results:function(e){return e+(e>1?" results are":" result is")+"
available, use up and down arrow keys to
navigate."}}},__response:function(t){var
i;this._superApply(arguments),this.options.disabled||this.cancelSearch||(i=t
&&t.length?this.options.messages.results(t.length):this.options.messages.n
oResults,this.liveRegion.children().hide(),e("<div>").text(i).appendTo(this.liv
eRegion))}}),e.ui.autocomplete;var c,p="ui-button ui-widget ui-state-default
ui-corner-all",f="ui-button-icons-only ui-button-icon-only ui-button-text-
icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-
text-only",m=function(){var t=e(this);setTimeout(function(){t.find(":ui-
button").button("refresh")},1)},g=function(t){var
i=t.name,s=t.form,n=e([]);return
i&&(i=i.replace(/'/g,"\\'"),n=s?e(s).find("[name='"+i+"'][type=radio]"):e("[nam
e='"+i+"'][type=radio]",t.ownerDocument).filter(function(){return!this.form})
),n};e.widget("ui.button",{version:"1.11.4",defaultElement:"<button>",option
s:{disabled:null,text:!0,label:null,icons:{primary:null,secondary:null}},_create
:function(){this.element.closest("form").unbind("reset"+this.eventNamespac
e).bind("reset"+this.eventNamespace,m),"boolean"!=typeof
this.options.disabled?this.options.disabled=!!this.element.prop("disabled"):t
his.element.prop("disabled",this.options.disabled),this._determineButtonTy
pe(),this.hasTitle=!!this.buttonElement.attr("title");var
t=this,i=this.options,s="checkbox"===this.type||"radio"===this.type,n=s?"":"
ui-state-
active";null===i.label&&(i.label="input"===this.type?this.buttonElement.val(
):this.buttonElement.html()),this._hoverable(this.buttonElement),this.butto
nElement.addClass(p).attr("role","button").bind("mouseenter"+this.eventNa
mespace,function(){i.disabled||this===c&&e(this).addClass("ui-state-
active")}).bind("mouseleave"+this.eventNamespace,function(){i.disabled||e(t
his).removeClass(n)}).bind("click"+this.eventNamespace,function(e){i.disabl
ed&&(e.preventDefault(),e.stopImmediatePropagation())}),this._on({focus:f
unction(){this.buttonElement.addClass("ui-state-
focus")},blur:function(){this.buttonElement.removeClass("ui-state-
focus")}}),s&&this.element.bind("change"+this.eventNamespace,function(){
t.refresh()}),"checkbox"===this.type?this.buttonElement.bind("click"+this.ev
entNamespace,function(){return i.disabled?!1:void
0}):"radio"===this.type?this.buttonElement.bind("click"+this.eventNamespa
ce,function(){if(i.disabled)return!1;e(this).addClass("ui-state-
active"),t.buttonElement.attr("aria-pressed","true");var
s=t.element[0];g(s).not(s).map(function(){return
e(this).button("widget")[0]}).removeClass("ui-state-active").attr("aria-
pressed","false")}):(this.buttonElement.bind("mousedown"+this.eventName
space,function(){return i.disabled?!1:(e(this).addClass("ui-state-
active"),c=this,t.document.one("mouseup",function(){c=null}),void
0)}).bind("mouseup"+this.eventNamespace,function(){return
i.disabled?!1:(e(this).removeClass("ui-state-active"),void
0)}).bind("keydown"+this.eventNamespace,function(t){return
i.disabled?!1:((t.keyCode===e.ui.keyCode.SPACE||t.keyCode===e.ui.keyCod
e.ENTER)&&e(this).addClass("ui-state-active"),void
0)}).bind("keyup"+this.eventNamespace+"
blur"+this.eventNamespace,function(){e(this).removeClass("ui-state-
active")}),this.buttonElement.is("a")&&this.buttonElement.keyup(function(t
){t.keyCode===e.ui.keyCode.SPACE&&e(this).click()})),this._setOption("disa
bled",i.disabled),this._resetButton()},_determineButtonType:function(){var
e,t,i;this.type=this.element.is("[type=checkbox]")?"checkbox":this.element.i
s("[type=radio]")?"radio":this.element.is("input")?"input":"button","checkbo
x"===this.type||"radio"===this.type?(e=this.element.parents().last(),t="label[
for='"+this.element.attr("id")+"']",this.buttonElement=e.find(t),this.buttonEl
ement.length||(e=e.length?e.siblings():this.element.siblings(),this.buttonEle
ment=e.filter(t),this.buttonElement.length||(this.buttonElement=e.find(t))),t
his.element.addClass("ui-helper-hidden-
accessible"),i=this.element.is(":checked"),i&&this.buttonElement.addClass("
ui-state-active"),this.buttonElement.prop("aria-
pressed",i)):this.buttonElement=this.element},widget:function(){return
this.buttonElement},_destroy:function(){this.element.removeClass("ui-
helper-hidden-accessible"),this.buttonElement.removeClass(p+" ui-state-
active "+f).removeAttr("role").removeAttr("aria-
pressed").html(this.buttonElement.find(".ui-button-
text").html()),this.hasTitle||this.buttonElement.removeAttr("title")},_setOpti
on:function(e,t){return
this._super(e,t),"disabled"===e?(this.widget().toggleClass("ui-state-
disabled",!!t),this.element.prop("disabled",!!t),t&&("checkbox"===this.type||
"radio"===this.type?this.buttonElement.removeClass("ui-state-
focus"):this.buttonElement.removeClass("ui-state-focus ui-state-
active")),void 0):(this._resetButton(),void 0)},refresh:function(){var
t=this.element.is("input,
button")?this.element.is(":disabled"):this.element.hasClass("ui-button-
disabled");t!==this.options.disabled&&this._setOption("disabled",t),"radio"=
==this.type?g(this.element[0]).each(function(){e(this).is(":checked")?e(this).
button("widget").addClass("ui-state-active").attr("aria-
pressed","true"):e(this).button("widget").removeClass("ui-state-
active").attr("aria-
pressed","false")}):"checkbox"===this.type&&(this.element.is(":checked")?th
is.buttonElement.addClass("ui-state-active").attr("aria-
pressed","true"):this.buttonElement.removeClass("ui-state-
active").attr("aria-
pressed","false"))},_resetButton:function(){if("input"===this.type)return
this.options.label&&this.element.val(this.options.label),void 0;var
t=this.buttonElement.removeClass(f),i=e("<span></span>",this.document[0]
).addClass("ui-button-
text").html(this.options.label).appendTo(t.empty()).text(),s=this.options.ico
ns,n=s.primary&&s.secondary,a=[];s.primary||s.secondary?(this.options.text
&&a.push("ui-button-text-icon"+(n?"s":s.primary?"-primary":"-
secondary")),s.primary&&t.prepend("<span class='ui-button-icon-primary
ui-icon "+s.primary+"'></span>"),s.secondary&&t.append("<span class='ui-
button-icon-secondary ui-icon
"+s.secondary+"'></span>"),this.options.text||(a.push(n?"ui-button-icons-
only":"ui-button-icon-only"),this.hasTitle||t.attr("title",e.trim(i)))):a.push("ui-
button-text-only"),t.addClass(a.join("
"))}}),e.widget("ui.buttonset",{version:"1.11.4",options:{items:"button,
input[type=button], input[type=submit], input[type=reset],
input[type=checkbox], input[type=radio], a, :data(ui-
button)"},_create:function(){this.element.addClass("ui-
buttonset")},_init:function(){this.refresh()},_setOption:function(e,t){"disable
d"===e&&this.buttons.button("option",e,t),this._super(e,t)},refresh:function
(){var
t="rtl"===this.element.css("direction"),i=this.element.find(this.options.item
s),s=i.filter(":ui-button");i.not(":ui-
button").button(),s.button("refresh"),this.buttons=i.map(function(){return
e(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-
corner-right").filter(":first").addClass(t?"ui-corner-right":"ui-corner-
left").end().filter(":last").addClass(t?"ui-corner-left":"ui-corner-
right").end().end()},_destroy:function(){this.element.removeClass("ui-
buttonset"),this.buttons.map(function(){return
e(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-
right").end().button("destroy")}}),e.ui.button,e.extend(e.ui,{datepicker:{versi
on:"1.11.4"}});var
v;e.extend(n.prototype,{markerClassName:"hasDatepicker",maxRows:4,_wi
dgetDatepicker:function(){return this.dpDiv},setDefaults:function(e){return
r(this._defaults,e||{}),this},_attachDatepicker:function(t,i){var
s,n,a;s=t.nodeName.toLowerCase(),n="div"===s||"span"===s,t.id||(this.uuid+
=1,t.id="dp"+this.uuid),a=this._newInst(e(t),n),a.settings=e.extend({},i||{}),"in
put"===s?this._connectDatepicker(t,a):n&&this._inlineDatepicker(t,a)},_ne
wInst:function(t,i){var s=t[0].id.replace(/([^A-Za-z0-9_\-
])/g,"\\\\$1");return{id:s,input:t,selectedDay:0,selectedMonth:0,selectedYear
:0,drawMonth:0,drawYear:0,inline:i,dpDiv:i?a(e("<div
class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-
helper-clearfix ui-corner-
all'></div>")):this.dpDiv}},_connectDatepicker:function(t,i){var
s=e(t);i.append=e([]),i.trigger=e([]),s.hasClass(this.markerClassName)||(this.
_attachments(s,i),s.addClass(this.markerClassName).keydown(this._doKey
Down).keypress(this._doKeyPress).keyup(this._doKeyUp),this._autoSize(i),
e.data(t,"datepicker",i),i.settings.disabled&&this._disableDatepicker(t))},_at
tachments:function(t,i){var
s,n,a,o=this._get(i,"appendText"),r=this._get(i,"isRTL");i.append&&i.append
.remove(),o&&(i.append=e("<span
class='"+this._appendClass+"'>"+o+"</span>"),t[r?"before":"after"](i.append)
),t.unbind("focus",this._showDatepicker),i.trigger&&i.trigger.remove(),s=thi
s._get(i,"showOn"),("focus"===s||"both"===s)&&t.focus(this._showDatepick
er),("button"===s||"both"===s)&&(n=this._get(i,"buttonText"),a=this._get(i,"
buttonImage"),i.trigger=e(this._get(i,"buttonImageOnly")?e("<img/>").addCl
ass(this._triggerClass).attr({src:a,alt:n,title:n}):e("<button
type='button'></button>").addClass(this._triggerClass).html(a?e("<img/>").a
ttr({src:a,alt:n,title:n}):n)),t[r?"before":"after"](i.trigger),i.trigger.click(functi
on(){return
e.datepicker._datepickerShowing&&e.datepicker._lastInput===t[0]?e.datep
icker._hideDatepicker():e.datepicker._datepickerShowing&&e.datepicker._l
astInput!==t[0]?(e.datepicker._hideDatepicker(),e.datepicker._showDatepic
ker(t[0])):e.datepicker._showDatepicker(t[0]),!1}))},_autoSize:function(e){if(t
his._get(e,"autoSize")&&!e.inline){var t,i,s,n,a=new
Date(2009,11,20),o=this._get(e,"dateFormat");o.match(/[DM]/)&&(t=functio
n(e){for(i=0,s=0,n=0;e.length>n;n++)e[n].length>i&&(i=e[n].length,s=n);retu
rn
s},a.setMonth(t(this._get(e,o.match(/MM/)?"monthNames":"monthNamesS
hort"))),a.setDate(t(this._get(e,o.match(/DD/)?"dayNames":"dayNamesShor
t"))+20-
a.getDay())),e.input.attr("size",this._formatDate(e,a).length)}},_inlineDatepi
cker:function(t,i){var
s=e(t);s.hasClass(this.markerClassName)||(s.addClass(this.markerClassNam
e).append(i.dpDiv),e.data(t,"datepicker",i),this._setDate(i,this._getDefaultD
ate(i),!0),this._updateDatepicker(i),this._updateAlternate(i),i.settings.disabl
ed&&this._disableDatepicker(t),i.dpDiv.css("display","block"))},_dialogDate
picker:function(t,i,s,n,a){var o,h,l,u,d,c=this._dialogInst;return
c||(this.uuid+=1,o="dp"+this.uuid,this._dialogInput=e("<input type='text'
id='"+o+"' style='position: absolute; top: -100px; width:
0px;'/>"),this._dialogInput.keydown(this._doKeyDown),e("body").append(th
is._dialogInput),c=this._dialogInst=this._newInst(this._dialogInput,!1),c.setti
ngs={},e.data(this._dialogInput[0],"datepicker",c)),r(c.settings,n||{}),i=i&&i.c
onstructor===Date?this._formatDate(c,i):i,this._dialogInput.val(i),this._pos=
a?a.length?a:[a.pageX,a.pageY]:null,this._pos||(h=document.documentEle
ment.clientWidth,l=document.documentElement.clientHeight,u=document
.documentElement.scrollLeft||document.body.scrollLeft,d=document.docu
mentElement.scrollTop||document.body.scrollTop,this._pos=[h/2-100+u,l/2-
150+d]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos
[1]+"px"),c.settings.onSelect=s,this._inDialog=!0,this.dpDiv.addClass(this._d
ialogClass),this._showDatepicker(this._dialogInput[0]),e.blockUI&&e.block
UI(this.dpDiv),e.data(this._dialogInput[0],"datepicker",c),this},_destroyDate
picker:function(t){var
i,s=e(t),n=e.data(t,"datepicker");s.hasClass(this.markerClassName)&&(i=t.n
odeName.toLowerCase(),e.removeData(t,"datepicker"),"input"===i?(n.appe
nd.remove(),n.trigger.remove(),s.removeClass(this.markerClassName).unbi
nd("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unb
ind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):("div"===
i||"span"===i)&&s.removeClass(this.markerClassName).empty(),v===n&&(v
=null))},_enableDatepicker:function(t){var
i,s,n=e(t),a=e.data(t,"datepicker");n.hasClass(this.markerClassName)&&(i=t.
nodeName.toLowerCase(),"input"===i?(t.disabled=!1,a.trigger.filter("button
").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",curs
or:""})):("div"===i||"span"===i)&&(s=n.children("."+this._inlineClass),s.childre
n().removeClass("ui-state-disabled"),s.find("select.ui-datepicker-month,
select.ui-datepicker-
year").prop("disabled",!1)),this._disabledInputs=e.map(this._disabledInputs,
function(e){return e===t?null:e}))},_disableDatepicker:function(t){var
i,s,n=e(t),a=e.data(t,"datepicker");n.hasClass(this.markerClassName)&&(i=t.
nodeName.toLowerCase(),"input"===i?(t.disabled=!0,a.trigger.filter("button
").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cur
sor:"default"})):("div"===i||"span"===i)&&(s=n.children("."+this._inlineClass),
s.children().addClass("ui-state-disabled"),s.find("select.ui-datepicker-month,
select.ui-datepicker-
year").prop("disabled",!0)),this._disabledInputs=e.map(this._disabledInputs,
function(e){return
e===t?null:e}),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabl
edDatepicker:function(e){if(!e)return!1;for(var
t=0;this._disabledInputs.length>t;t++)if(this._disabledInputs[t]===e)return!0
;return!1},_getInst:function(t){try{return
e.data(t,"datepicker")}catch(i){throw"Missing instance data for this
datepicker"}},_optionDatepicker:function(t,i,s){var
n,a,o,h,l=this._getInst(t);return 2===arguments.length&&"string"==typeof
i?"defaults"===i?e.extend({},e.datepicker._defaults):l?"all"===i?e.extend({},l.
settings):this._get(l,i):null:(n=i||{},"string"==typeof
i&&(n={},n[i]=s),l&&(this._curInst===l&&this._hideDatepicker(),a=this._getD
ateDatepicker(t,!0),o=this._getMinMaxDate(l,"min"),h=this._getMinMaxDat
e(l,"max"),r(l.settings,n),null!==o&&void 0!==n.dateFormat&&void
0===n.minDate&&(l.settings.minDate=this._formatDate(l,o)),null!==h&&voi
d 0!==n.dateFormat&&void
0===n.maxDate&&(l.settings.maxDate=this._formatDate(l,h)),"disabled"in
n&&(n.disabled?this._disableDatepicker(t):this._enableDatepicker(t)),this._
attachments(e(t),l),this._autoSize(l),this._setDate(l,a),this._updateAlternate
(l),this._updateDatepicker(l)),void
0)},_changeDatepicker:function(e,t,i){this._optionDatepicker(e,t,i)},_refresh
Datepicker:function(e){var
t=this._getInst(e);t&&this._updateDatepicker(t)},_setDateDatepicker:functi
on(e,t){var
i=this._getInst(e);i&&(this._setDate(i,t),this._updateDatepicker(i),this._upda
teAlternate(i))},_getDateDatepicker:function(e,t){var
i=this._getInst(e);return
i&&!i.inline&&this._setDateFromField(i,t),i?this._getDate(i):null},_doKeyDo
wn:function(t){var
i,s,n,a=e.datepicker._getInst(t.target),o=!0,r=a.dpDiv.is(".ui-datepicker-
rtl");if(a._keyEvent=!0,e.datepicker._datepickerShowing)switch(t.keyCode){
case 9:e.datepicker._hideDatepicker(),o=!1;break;case 13:return
n=e("td."+e.datepicker._dayOverClass+":not(."+e.datepicker._currentClass+
")",a.dpDiv),n[0]&&e.datepicker._selectDay(t.target,a.selectedMonth,a.sele
ctedYear,n[0]),i=e.datepicker._get(a,"onSelect"),i?(s=e.datepicker._formatD
ate(a),i.apply(a.input?a.input[0]:null,[s,a])):e.datepicker._hideDatepicker(),!
1;case 27:e.datepicker._hideDatepicker();break;case
33:e.datepicker._adjustDate(t.target,t.ctrlKey?-
e.datepicker._get(a,"stepBigMonths"):-
e.datepicker._get(a,"stepMonths"),"M");break;case
34:e.datepicker._adjustDate(t.target,t.ctrlKey?+e.datepicker._get(a,"stepBi
gMonths"):+e.datepicker._get(a,"stepMonths"),"M");break;case
35:(t.ctrlKey||t.metaKey)&&e.datepicker._clearDate(t.target),o=t.ctrlKey||t.
metaKey;break;case
36:(t.ctrlKey||t.metaKey)&&e.datepicker._gotoToday(t.target),o=t.ctrlKey||t
.metaKey;break;case
37:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,r?1:-
1,"D"),o=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&e.datepicker._adjust
Date(t.target,t.ctrlKey?-e.datepicker._get(a,"stepBigMonths"):-
e.datepicker._get(a,"stepMonths"),"M");break;case
38:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,-
7,"D"),o=t.ctrlKey||t.metaKey;break;case
39:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,r?-
1:1,"D"),o=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&e.datepicker._adjus
tDate(t.target,t.ctrlKey?+e.datepicker._get(a,"stepBigMonths"):+e.datepick
er._get(a,"stepMonths"),"M");break;case
40:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,7,"D"),o=t.ctrl
Key||t.metaKey;break;default:o=!1}else
36===t.keyCode&&t.ctrlKey?e.datepicker._showDatepicker(this):o=!1;o&&(
t.preventDefault(),t.stopPropagation())},_doKeyPress:function(t){var
i,s,n=e.datepicker._getInst(t.target);
return
e.datepicker._get(n,"constrainInput")?(i=e.datepicker._possibleChars(e.date
picker._get(n,"dateFormat")),s=String.fromCharCode(null==t.charCode?t.ke
yCode:t.charCode),t.ctrlKey||t.metaKey||" ">s||!i||i.indexOf(s)>-1):void
0},_doKeyUp:function(t){var
i,s=e.datepicker._getInst(t.target);if(s.input.val()!==s.lastVal)try{i=e.datepick
er.parseDate(e.datepicker._get(s,"dateFormat"),s.input?s.input.val():null,e.d
atepicker._getFormatConfig(s)),i&&(e.datepicker._setDateFromField(s),e.d
atepicker._updateAlternate(s),e.datepicker._updateDatepicker(s))}catch(n){
}return!0},_showDatepicker:function(t){if(t=t.target||t,"input"!==t.nodeNam
e.toLowerCase()&&(t=e("input",t.parentNode)[0]),!e.datepicker._isDisabled
Datepicker(t)&&e.datepicker._lastInput!==t){var
i,n,a,o,h,l,u;i=e.datepicker._getInst(t),e.datepicker._curInst&&e.datepicker.
_curInst!==i&&(e.datepicker._curInst.dpDiv.stop(!0,!0),i&&e.datepicker._dat
epickerShowing&&e.datepicker._hideDatepicker(e.datepicker._curInst.inpu
t[0])),n=e.datepicker._get(i,"beforeShow"),a=n?n.apply(t,[t,i]):{},a!==!1&&(r(
i.settings,a),i.lastVal=null,e.datepicker._lastInput=t,e.datepicker._setDateFr
omField(i),e.datepicker._inDialog&&(t.value=""),e.datepicker._pos||(e.datep
icker._pos=e.datepicker._findPos(t),e.datepicker._pos[1]+=t.offsetHeight),o
=!1,e(t).parents().each(function(){return
o|="fixed"===e(this).css("position"),!o}),h={left:e.datepicker._pos[0],top:e.da
tepicker._pos[1]},e.datepicker._pos=null,i.dpDiv.empty(),i.dpDiv.css({positio
n:"absolute",display:"block",top:"-
1000px"}),e.datepicker._updateDatepicker(i),h=e.datepicker._checkOffset(i,
h,o),i.dpDiv.css({position:e.datepicker._inDialog&&e.blockUI?"static":o?"fix
ed":"absolute",display:"none",left:h.left+"px",top:h.top+"px"}),i.inline||(l=e.d
atepicker._get(i,"showAnim"),u=e.datepicker._get(i,"duration"),i.dpDiv.css("
z-
index",s(e(t))+1),e.datepicker._datepickerShowing=!0,e.effects&&e.effects.
effect[l]?i.dpDiv.show(l,e.datepicker._get(i,"showOptions"),u):i.dpDiv[l||"sh
ow"](l?u:null),e.datepicker._shouldFocusInput(i)&&i.input.focus(),e.datepick
er._curInst=i))}},_updateDatepicker:function(t){this.maxRows=4,v=t,t.dpDiv.
empty().append(this._generateHTML(t)),this._attachHandlers(t);var
i,s=this._getNumberOfMonths(t),n=s[1],a=17,r=t.dpDiv.find("."+this._dayOv
erClass+" a");r.length>0&&o.apply(r.get(0)),t.dpDiv.removeClass("ui-
datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-
4").width(""),n>1&&t.dpDiv.addClass("ui-datepicker-multi-
"+n).css("width",a*n+"em"),t.dpDiv[(1!==s[0]||1!==s[1]?"add":"remove")+"Cla
ss"]("ui-datepicker-
multi"),t.dpDiv[(this._get(t,"isRTL")?"add":"remove")+"Class"]("ui-
datepicker-
rtl"),t===e.datepicker._curInst&&e.datepicker._datepickerShowing&&e.dat
epicker._shouldFocusInput(t)&&t.input.focus(),t.yearshtml&&(i=t.yearshtml
,setTimeout(function(){i===t.yearshtml&&t.yearshtml&&t.dpDiv.find("selec
t.ui-datepicker-
year:first").replaceWith(t.yearshtml),i=t.yearshtml=null},0))},_shouldFocusIn
put:function(e){return
e.input&&e.input.is(":visible")&&!e.input.is(":disabled")&&!e.input.is(":focus
")},_checkOffset:function(t,i,s){var
n=t.dpDiv.outerWidth(),a=t.dpDiv.outerHeight(),o=t.input?t.input.outerWid
th():0,r=t.input?t.input.outerHeight():0,h=document.documentElement.clie
ntWidth+(s?0:e(document).scrollLeft()),l=document.documentElement.clie
ntHeight+(s?0:e(document).scrollTop());return i.left-=this._get(t,"isRTL")?n-
o:0,i.left-=s&&i.left===t.input.offset().left?e(document).scrollLeft():0,i.top-
=s&&i.top===t.input.offset().top+r?e(document).scrollTop():0,i.left-
=Math.min(i.left,i.left+n>h&&h>n?Math.abs(i.left+n-h):0),i.top-
=Math.min(i.top,i.top+a>l&&l>a?Math.abs(a+r):0),i},_findPos:function(t){for
(var
i,s=this._getInst(t),n=this._get(s,"isRTL");t&&("hidden"===t.type||1!==t.node
Type||e.expr.filters.hidden(t));)t=t[n?"previousSibling":"nextSibling"];return
i=e(t).offset(),[i.left,i.top]},_hideDatepicker:function(t){var
i,s,n,a,o=this._curInst;!o||t&&o!==e.data(t,"datepicker")||this._datepickerSho
wing&&(i=this._get(o,"showAnim"),s=this._get(o,"duration"),n=function(){e.
datepicker._tidyDialog(o)},e.effects&&(e.effects.effect[i]||e.effects[i])?o.dp
Div.hide(i,e.datepicker._get(o,"showOptions"),s,n):o.dpDiv["slideDown"===i
?"slideUp":"fadeIn"===i?"fadeOut":"hide"](i?s:null,n),i||n(),this._datepickerS
howing=!1,a=this._get(o,"onClose"),a&&a.apply(o.input?o.input[0]:null,[o.in
put?o.input.val():"",o]),this._lastInput=null,this._inDialog&&(this._dialogInp
ut.css({position:"absolute",left:"0",top:"-
100px"}),e.blockUI&&(e.unblockUI(),e("body").append(this.dpDiv))),this._in
Dialog=!1)},_tidyDialog:function(e){e.dpDiv.removeClass(this._dialogClass).
unbind(".ui-datepicker-
calendar")},_checkExternalClick:function(t){if(e.datepicker._curInst){var
i=e(t.target),s=e.datepicker._getInst(i[0]);(i[0].id!==e.datepicker._mainDivId
&&0===i.parents("#"+e.datepicker._mainDivId).length&&!i.hasClass(e.date
picker.markerClassName)&&!i.closest("."+e.datepicker._triggerClass).length
&&e.datepicker._datepickerShowing&&(!e.datepicker._inDialog||!e.blockUI)
||i.hasClass(e.datepicker.markerClassName)&&e.datepicker._curInst!==s)&&
e.datepicker._hideDatepicker()}},_adjustDate:function(t,i,s){var
n=e(t),a=this._getInst(n[0]);this._isDisabledDatepicker(n[0])||(this._adjustIns
tDate(a,i+("M"===s?this._get(a,"showCurrentAtPos"):0),s),this._updateDate
picker(a))},_gotoToday:function(t){var
i,s=e(t),n=this._getInst(s[0]);this._get(n,"gotoCurrent")&&n.currentDay?(n.s
electedDay=n.currentDay,n.drawMonth=n.selectedMonth=n.currentMonth,
n.drawYear=n.selectedYear=n.currentYear):(i=new
Date,n.selectedDay=i.getDate(),n.drawMonth=n.selectedMonth=i.getMont
h(),n.drawYear=n.selectedYear=i.getFullYear()),this._notifyChange(n),this._
adjustDate(s)},_selectMonthYear:function(t,i,s){var
n=e(t),a=this._getInst(n[0]);a["selected"+("M"===s?"Month":"Year")]=a["dra
w"+("M"===s?"Month":"Year")]=parseInt(i.options[i.selectedIndex].value,10)
,this._notifyChange(a),this._adjustDate(n)},_selectDay:function(t,i,s,n){var
a,o=e(t);e(n).hasClass(this._unselectableClass)||this._isDisabledDatepicker(o
[0])||(a=this._getInst(o[0]),a.selectedDay=a.currentDay=e("a",n).html(),a.sel
ectedMonth=a.currentMonth=i,a.selectedYear=a.currentYear=s,this._select
Date(t,this._formatDate(a,a.currentDay,a.currentMonth,a.currentYear)))},_
clearDate:function(t){var
i=e(t);this._selectDate(i,"")},_selectDate:function(t,i){var
s,n=e(t),a=this._getInst(n[0]);i=null!=i?i:this._formatDate(a),a.input&&a.inp
ut.val(i),this._updateAlternate(a),s=this._get(a,"onSelect"),s?s.apply(a.input
?a.input[0]:null,[i,a]):a.input&&a.input.trigger("change"),a.inline?this._upda
teDatepicker(a):(this._hideDatepicker(),this._lastInput=a.input[0],"object"!=
typeof
a.input[0]&&a.input.focus(),this._lastInput=null)},_updateAlternate:function
(t){var
i,s,n,a=this._get(t,"altField");a&&(i=this._get(t,"altFormat")||this._get(t,"dat
eFormat"),s=this._getDate(t),n=this.formatDate(i,s,this._getFormatConfig(t
)),e(a).each(function(){e(this).val(n)}))},noWeekends:function(e){var
t=e.getDay();return[t>0&&6>t,""]},iso8601Week:function(e){var t,i=new
Date(e.getTime());return i.setDate(i.getDate()+4-
(i.getDay()||7)),t=i.getTime(),i.setMonth(0),i.setDate(1),Math.floor(Math.rou
nd((t-
i)/864e5)/7)+1},parseDate:function(t,i,s){if(null==t||null==i)throw"Invalid
arguments";if(i="object"==typeof i?""+i:i+"",""===i)return null;var
n,a,o,r,h=0,l=(s?s.shortYearCutoff:null)||this._defaults.shortYearCutoff,u="st
ring"!=typeof l?l:(new
Date).getFullYear()%100+parseInt(l,10),d=(s?s.dayNamesShort:null)||this._d
efaults.dayNamesShort,c=(s?s.dayNames:null)||this._defaults.dayNames,p=
(s?s.monthNamesShort:null)||this._defaults.monthNamesShort,f=(s?s.mont
hNames:null)||this._defaults.monthNames,m=-1,g=-1,v=-1,y=-
1,b=!1,_=function(e){var i=t.length>n+1&&t.charAt(n+1)===e;return
i&&n++,i},x=function(e){var
t=_(e),s="@"===e?14:"!"===e?20:"y"===e&&t?4:"o"===e?3:2,n="y"===e?s:1,
a=RegExp("^\\d{"+n+","+s+"}"),o=i.substring(h).match(a);if(!o)throw"Missing
number at position "+h;return
h+=o[0].length,parseInt(o[0],10)},w=function(t,s,n){var a=-
1,o=e.map(_(t)?n:s,function(e,t){return[[t,e]]}).sort(function(e,t){return-
(e[1].length-t[1].length)});if(e.each(o,function(e,t){var s=t[1];return
i.substr(h,s.length).toLowerCase()===s.toLowerCase()?(a=t[0],h+=s.length,!
1):void 0}),-1!==a)return a+1;throw"Unknown name at position
"+h},k=function(){if(i.charAt(h)!==t.charAt(n))throw"Unexpected literal at
position
"+h;h++};for(n=0;t.length>n;n++)if(b)"'"!==t.charAt(n)||_("'")?k():b=!1;else
switch(t.charAt(n)){case"d":v=x("d");break;case"D":w("D",d,c);break;case"o":
y=x("o");break;case"m":g=x("m");break;case"M":g=w("M",p,f);break;case"y":
m=x("y");break;case"@":r=new
Date(x("@")),m=r.getFullYear(),g=r.getMonth()+1,v=r.getDate();break;case"
!":r=new Date((x("!")-
this._ticksTo1970)/1e4),m=r.getFullYear(),g=r.getMonth()+1,v=r.getDate();b
reak;case"'":_("'")?k():b=!0;break;default:k()}if(i.length>h&&(o=i.substr(h),!/^
\s+/.test(o)))throw"Extra/unparsed characters found in date: "+o;if(-
1===m?m=(new Date).getFullYear():100>m&&(m+=(new
Date).getFullYear()-(new Date).getFullYear()%100+(u>=m?0:-100)),y>-
1)for(g=1,v=y;;){if(a=this._getDaysInMonth(m,g-1),a>=v)break;g++,v-
=a}if(r=this._daylightSavingAdjust(new Date(m,g-
1,v)),r.getFullYear()!==m||r.getMonth()+1!==g||r.getDate()!==v)throw"Invalid
date";return r},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:1e7*60*60*24*(718685+Math.floor(492.5)-
Math.floor(19.7)+Math.floor(4.925)),formatDate:function(e,t,i){if(!t)return"";
var
s,n=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,a=(i?i.dayNam
es:null)||this._defaults.dayNames,o=(i?i.monthNamesShort:null)||this._defa
ults.monthNamesShort,r=(i?i.monthNames:null)||this._defaults.monthNam
es,h=function(t){var i=e.length>s+1&&e.charAt(s+1)===t;return
i&&s++,i},l=function(e,t,i){var s=""+t;if(h(e))for(;i>s.length;)s="0"+s;return
s},u=function(e,t,i,s){return
h(e)?s[t]:i[t]},d="",c=!1;if(t)for(s=0;e.length>s;s++)if(c)"'"!==e.charAt(s)||h("'")
?d+=e.charAt(s):c=!1;else
switch(e.charAt(s)){case"d":d+=l("d",t.getDate(),2);break;case"D":d+=u("D",t
.getDay(),n,a);break;case"o":d+=l("o",Math.round((new
Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime()-new
Date(t.getFullYear(),0,0).getTime())/864e5),3);break;case"m":d+=l("m",t.get
Month()+1,2);break;case"M":d+=u("M",t.getMonth(),o,r);break;case"y":d+=h
("y")?t.getFullYear():(10>t.getYear()%100?"0":"")+t.getYear()%100;break;cas
e"@":d+=t.getTime();break;case"!":d+=1e4*t.getTime()+this._ticksTo1970;b
reak;case"'":h("'")?d+="'":c=!0;break;default:d+=e.charAt(s)}return
d},_possibleChars:function(e){var t,i="",s=!1,n=function(i){var
s=e.length>t+1&&e.charAt(t+1)===i;return
s&&t++,s};for(t=0;e.length>t;t++)if(s)"'"!==e.charAt(t)||n("'")?i+=e.charAt(t):s
=!1;else
switch(e.charAt(t)){case"d":case"m":case"y":case"@":i+="0123456789";brea
k;case"D":case"M":return
null;case"'":n("'")?i+="'":s=!0;break;default:i+=e.charAt(t)}return
i},_get:function(e,t){return void
0!==e.settings[t]?e.settings[t]:this._defaults[t]},_setDateFromField:function
(e,t){if(e.input.val()!==e.lastVal){var
i=this._get(e,"dateFormat"),s=e.lastVal=e.input?e.input.val():null,n=this._ge
tDefaultDate(e),a=n,o=this._getFormatConfig(e);try{a=this.parseDate(i,s,o)|
|n}catch(r){s=t?"":s}e.selectedDay=a.getDate(),e.drawMonth=e.selectedMon
th=a.getMonth(),e.drawYear=e.selectedYear=a.getFullYear(),e.currentDay=
s?a.getDate():0,e.currentMonth=s?a.getMonth():0,e.currentYear=s?a.getFul
lYear():0,this._adjustInstDate(e)}},_getDefaultDate:function(e){return
this._restrictMinMax(e,this._determineDate(e,this._get(e,"defaultDate"),ne
w Date))},_determineDate:function(t,i,s){var n=function(e){var t=new
Date;return t.setDate(t.getDate()+e),t},a=function(i){try{return
e.datepicker.parseDate(e.datepicker._get(t,"dateFormat"),i,e.datepicker._g
etFormatConfig(t))}catch(s){}for(var
n=(i.toLowerCase().match(/^c/)?e.datepicker._getDate(t):null)||new
Date,a=n.getFullYear(),o=n.getMonth(),r=n.getDate(),h=/([+\-]?[0-
9]+)\s*(d|D|w|W|m|M|y|Y)?/g,l=h.exec(i);l;){switch(l[2]||"d"){case"d":case"D":r
+=parseInt(l[1],10);break;case"w":case"W":r+=7*parseInt(l[1],10);break;case"
m":case"M":o+=parseInt(l[1],10),r=Math.min(r,e.datepicker._getDaysInMont
h(a,o));break;case"y":case"Y":a+=parseInt(l[1],10),r=Math.min(r,e.datepicker
._getDaysInMonth(a,o))}l=h.exec(i)}return new
Date(a,o,r)},o=null==i||""===i?s:"string"==typeof i?a(i):"number"==typeof
i?isNaN(i)?s:n(i):new Date(i.getTime());return o=o&&"Invalid
Date"==""+o?s:o,o&&(o.setHours(0),o.setMinutes(0),o.setSeconds(0),o.set
Milliseconds(0)),this._daylightSavingAdjust(o)},_daylightSavingAdjust:funct
ion(e){return
e?(e.setHours(e.getHours()>12?e.getHours()+2:0),e):null},_setDate:function(
e,t,i){var
s=!t,n=e.selectedMonth,a=e.selectedYear,o=this._restrictMinMax(e,this._de
termineDate(e,t,new
Date));e.selectedDay=e.currentDay=o.getDate(),e.drawMonth=e.selectedM
onth=e.currentMonth=o.getMonth(),e.drawYear=e.selectedYear=e.currentY
ear=o.getFullYear(),n===e.selectedMonth&&a===e.selectedYear||i||this._no
tifyChange(e),this._adjustInstDate(e),e.input&&e.input.val(s?"":this._format
Date(e))},_getDate:function(e){var
t=!e.currentYear||e.input&&""===e.input.val()?null:this._daylightSavingAdju
st(new Date(e.currentYear,e.currentMonth,e.currentDay));return
t},_attachHandlers:function(t){var
i=this._get(t,"stepMonths"),s="#"+t.id.replace(/\\\\/g,"\\");t.dpDiv.find("[data
-handler]").map(function(){var
t={prev:function(){e.datepicker._adjustDate(s,-
i,"M")},next:function(){e.datepicker._adjustDate(s,+i,"M")},hide:function(){e.
datepicker._hideDatepicker()},today:function(){e.datepicker._gotoToday(s)}
,selectDay:function(){return
e.datepicker._selectDay(s,+this.getAttribute("data-
month"),+this.getAttribute("data-
year"),this),!1},selectMonth:function(){return
e.datepicker._selectMonthYear(s,this,"M"),!1},selectYear:function(){return
e.datepicker._selectMonthYear(s,this,"Y"),!1}};e(this).bind(this.getAttribute(
"data-event"),t[this.getAttribute("data-
handler")])})},_generateHTML:function(e){var
t,i,s,n,a,o,r,h,l,u,d,c,p,f,m,g,v,y,b,_,x,w,k,T,D,S,M,C,N,A,P,I,H,z,F,E,O,j,W,L
=new Date,R=this._daylightSavingAdjust(new
Date(L.getFullYear(),L.getMonth(),L.getDate())),Y=this._get(e,"isRTL"),B=th
is._get(e,"showButtonPanel"),J=this._get(e,"hideIfNoPrevNext"),q=this._get
(e,"navigationAsDateFormat"),K=this._getNumberOfMonths(e),V=this._get
(e,"showCurrentAtPos"),U=this._get(e,"stepMonths"),Q=1!==K[0]||1!==K[1],
G=this._daylightSavingAdjust(e.currentDay?new
Date(e.currentYear,e.currentMonth,e.currentDay):new
Date(9999,9,9)),X=this._getMinMaxDate(e,"min"),$=this._getMinMaxDate(
e,"max"),Z=e.drawMonth-V,et=e.drawYear;if(0>Z&&(Z+=12,et--
),$)for(t=this._daylightSavingAdjust(new
Date($.getFullYear(),$.getMonth()-
K[0]*K[1]+1,$.getDate())),t=X&&X>t?X:t;this._daylightSavingAdjust(new
Date(et,Z,1))>t;)Z--,0>Z&&(Z=11,et--
);for(e.drawMonth=Z,e.drawYear=et,i=this._get(e,"prevText"),i=q?this.form
atDate(i,this._daylightSavingAdjust(new Date(et,Z-
U,1)),this._getFormatConfig(e)):i,s=this._canAdjustMonth(e,-1,et,Z)?"<a
class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click'
title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-
"+(Y?"e":"w")+"'>"+i+"</span></a>":J?"":"<a class='ui-datepicker-prev ui-
corner-all ui-state-disabled' title='"+i+"'><span class='ui-icon ui-icon-circle-
triangle-
"+(Y?"e":"w")+"'>"+i+"</span></a>",n=this._get(e,"nextText"),n=q?this.form
atDate(n,this._daylightSavingAdjust(new
Date(et,Z+U,1)),this._getFormatConfig(e)):n,a=this._canAdjustMonth(e,1,et
,Z)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-
event='click' title='"+n+"'><span class='ui-icon ui-icon-circle-triangle-
"+(Y?"w":"e")+"'>"+n+"</span></a>":J?"":"<a class='ui-datepicker-next ui-
corner-all ui-state-disabled' title='"+n+"'><span class='ui-icon ui-icon-circle-
triangle-
"+(Y?"w":"e")+"'>"+n+"</span></a>",o=this._get(e,"currentText"),r=this._get
(e,"gotoCurrent")&&e.currentDay?G:R,o=q?this.formatDate(o,r,this._getFor
matConfig(e)):o,h=e.inline?"":"<button type='button' class='ui-datepicker-
close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide'
data-event='click'>"+this._get(e,"closeText")+"</button>",l=B?"<div
class='ui-datepicker-buttonpane ui-widget-
content'>"+(Y?h:"")+(this._isInRange(e,r)?"<button type='button' class='ui-
datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-
handler='today' data-
event='click'>"+o+"</button>":"")+(Y?"":h)+"</div>":"",u=parseInt(this._get(e
,"firstDay"),10),u=isNaN(u)?0:u,d=this._get(e,"showWeek"),c=this._get(e,"d
ayNames"),p=this._get(e,"dayNamesMin"),f=this._get(e,"monthNames"),m
=this._get(e,"monthNamesShort"),g=this._get(e,"beforeShowDay"),v=this._
get(e,"showOtherMonths"),y=this._get(e,"selectOtherMonths"),b=this._get
DefaultDate(e),_="",w=0;K[0]>w;w++){for(k="",this.maxRows=4,T=0;K[1]>T;
T++){if(D=this._daylightSavingAdjust(new Date(et,Z,e.selectedDay)),S=" ui-
corner-all",M="",Q){if(M+="<div class='ui-datepicker-
group",K[1]>1)switch(T){case 0:M+=" ui-datepicker-group-first",S=" ui-
corner-"+(Y?"right":"left");break;case K[1]-1:M+=" ui-datepicker-group-
last",S=" ui-corner-"+(Y?"left":"right");break;default:M+=" ui-datepicker-
group-middle",S=""}M+="'>"}for(M+="<div class='ui-datepicker-header ui-
widget-header ui-helper-
clearfix"+S+"'>"+(/all|left/.test(S)&&0===w?Y?a:s:"")+(/all|right/.test(S)&&0=
==w?Y?s:a:"")+this._generateMonthYearHeader(e,Z,et,X,$,w>0||T>0,f,m)+"
</div><table class='ui-datepicker-calendar'><thead>"+"<tr>",C=d?"<th
class='ui-datepicker-week-
col'>"+this._get(e,"weekHeader")+"</th>":"",x=0;7>x;x++)N=(x+u)%7,C+="<t
h scope='col'"+((x+u+6)%7>=5?" class='ui-datepicker-week-
end'":"")+">"+"<span
title='"+c[N]+"'>"+p[N]+"</span></th>";for(M+=C+"</tr></thead><tbody>",A
=this._getDaysInMonth(et,Z),et===e.selectedYear&&Z===e.selectedMonth
&&(e.selectedDay=Math.min(e.selectedDay,A)),P=(this._getFirstDayOfMon
th(et,Z)-
u+7)%7,I=Math.ceil((P+A)/7),H=Q?this.maxRows>I?this.maxRows:I:I,this.ma
xRows=H,z=this._daylightSavingAdjust(new Date(et,Z,1-
P)),F=0;H>F;F++){for(M+="<tr>",E=d?"<td class='ui-datepicker-week-
col'>"+this._get(e,"calculateWeek")(z)+"</td>":"",x=0;7>x;x++)O=g?g.apply(e
.input?e.input[0]:null,[z]):[!0,""],j=z.getMonth()!==Z,W=j&&!y||!O[0]||X&&X>
z||$&&z>$,E+="<td class='"+((x+u+6)%7>=5?" ui-datepicker-week-
end":"")+(j?" ui-datepicker-other-
month":"")+(z.getTime()===D.getTime()&&Z===e.selectedMonth&&e._key
Event||b.getTime()===z.getTime()&&b.getTime()===D.getTime()?"
"+this._dayOverClass:"")+(W?" "+this._unselectableClass+" ui-state-
disabled":"")+(j&&!v?"":" "+O[1]+(z.getTime()===G.getTime()?"
"+this._currentClass:"")+(z.getTime()===R.getTime()?" ui-datepicker-
today":""))+"'"+(j&&!v||!O[2]?"":"
title='"+O[2].replace(/'/g,"&#39;")+"'")+(W?"":" data-handler='selectDay'
data-event='click' data-month='"+z.getMonth()+"' data-
year='"+z.getFullYear()+"'")+">"+(j&&!v?"&#xa0;":W?"<span class='ui-state-
default'>"+z.getDate()+"</span>":"<a class='ui-state-
default"+(z.getTime()===R.getTime()?" ui-state-
highlight":"")+(z.getTime()===G.getTime()?" ui-state-active":"")+(j?" ui-
priority-secondary":"")+"'
href='#'>"+z.getDate()+"</a>")+"</td>",z.setDate(z.getDate()+1),z=this._day
lightSavingAdjust(z);M+=E+"</tr>"}Z++,Z>11&&(Z=0,et++),M+="</tbody></t
able>"+(Q?"</div>"+(K[0]>0&&T===K[1]-1?"<div class='ui-datepicker-row-
break'></div>":""):""),k+=M}_+=k}return
_+=l,e._keyEvent=!1,_},_generateMonthYearHeader:function(e,t,i,s,n,a,o,r){
var
h,l,u,d,c,p,f,m,g=this._get(e,"changeMonth"),v=this._get(e,"changeYear"),y
=this._get(e,"showMonthAfterYear"),b="<div class='ui-datepicker-
title'>",_="";if(a||!g)_+="<span class='ui-datepicker-
month'>"+o[t]+"</span>";else{for(h=s&&s.getFullYear()===i,l=n&&n.getFull
Year()===i,_+="<select class='ui-datepicker-month' data-
handler='selectMonth' data-
event='change'>",u=0;12>u;u++)(!h||u>=s.getMonth())&&(!l||n.getMonth()>=
u)&&(_+="<option value='"+u+"'"+(u===t?"
selected='selected'":"")+">"+r[u]+"</option>");_+="</select>"}if(y||(b+=_+(!a
&&g&&v?"":"&#xa0;")),!e.yearshtml)if(e.yearshtml="",a||!v)b+="<span
class='ui-datepicker-
year'>"+i+"</span>";else{for(d=this._get(e,"yearRange").split(":"),c=(new
Date).getFullYear(),p=function(e){var t=e.match(/c[+\-
].*/)?i+parseInt(e.substring(1),10):e.match(/[+\-
].*/)?c+parseInt(e,10):parseInt(e,10);return
isNaN(t)?c:t},f=p(d[0]),m=Math.max(f,p(d[1]||"")),f=s?Math.max(f,s.getFullY
ear()):f,m=n?Math.min(m,n.getFullYear()):m,e.yearshtml+="<select
class='ui-datepicker-year' data-handler='selectYear' data-
event='change'>";m>=f;f++)e.yearshtml+="<option value='"+f+"'"+(f===i?"
selected='selected'":"")+">"+f+"</option>";e.yearshtml+="</select>",b+=e.ye
arshtml,e.yearshtml=null}return
b+=this._get(e,"yearSuffix"),y&&(b+=(!a&&g&&v?"":"&#xa0;")+_),b+="</div
>"},_adjustInstDate:function(e,t,i){var
s=e.drawYear+("Y"===i?t:0),n=e.drawMonth+("M"===i?t:0),a=Math.min(e.s
electedDay,this._getDaysInMonth(s,n))+("D"===i?t:0),o=this._restrictMinMa
x(e,this._daylightSavingAdjust(new
Date(s,n,a)));e.selectedDay=o.getDate(),e.drawMonth=e.selectedMonth=o.
getMonth(),e.drawYear=e.selectedYear=o.getFullYear(),("M"===i||"Y"===i)&
&this._notifyChange(e)},_restrictMinMax:function(e,t){var
i=this._getMinMaxDate(e,"min"),s=this._getMinMaxDate(e,"max"),n=i&&i>t
?i:t;return s&&n>s?s:n},_notifyChange:function(e){var
t=this._get(e,"onChangeMonthYear");t&&t.apply(e.input?e.input[0]:null,[e.s
electedYear,e.selectedMonth+1,e])},_getNumberOfMonths:function(e){var
t=this._get(e,"numberOfMonths");return null==t?[1,1]:"number"==typeof
t?[1,t]:t},_getMinMaxDate:function(e,t){return
this._determineDate(e,this._get(e,t+"Date"),null)},_getDaysInMonth:functio
n(e,t){return 32-this._daylightSavingAdjust(new
Date(e,t,32)).getDate()},_getFirstDayOfMonth:function(e,t){return new
Date(e,t,1).getDay()},_canAdjustMonth:function(e,t,i,s){var
n=this._getNumberOfMonths(e),a=this._daylightSavingAdjust(new
Date(i,s+(0>t?t:n[0]*n[1]),1));return
0>t&&a.setDate(this._getDaysInMonth(a.getFullYear(),a.getMonth())),this._
isInRange(e,a)},_isInRange:function(e,t){var
i,s,n=this._getMinMaxDate(e,"min"),a=this._getMinMaxDate(e,"max"),o=nu
ll,r=null,h=this._get(e,"yearRange");return h&&(i=h.split(":"),s=(new
Date).getFullYear(),o=parseInt(i[0],10),r=parseInt(i[1],10),i[0].match(/[+\-
].*/)&&(o+=s),i[1].match(/[+\-
].*/)&&(r+=s)),(!n||t.getTime()>=n.getTime())&&(!a||t.getTime()<=a.getTime(
))&&(!o||t.getFullYear()>=o)&&(!r||r>=t.getFullYear())},_getFormatConfig:fun
ction(e){var t=this._get(e,"shortYearCutoff");return t="string"!=typeof
t?t:(new
Date).getFullYear()%100+parseInt(t,10),{shortYearCutoff:t,dayNamesShort:
this._get(e,"dayNamesShort"),dayNames:this._get(e,"dayNames"),monthN
amesShort:this._get(e,"monthNamesShort"),monthNames:this._get(e,"mo
nthNames")}},_formatDate:function(e,t,i,s){t||(e.currentDay=e.selectedDay,
e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);var
n=t?"object"==typeof t?t:this._daylightSavingAdjust(new
Date(s,i,t)):this._daylightSavingAdjust(new
Date(e.currentYear,e.currentMonth,e.currentDay));return
this.formatDate(this._get(e,"dateFormat"),n,this._getFormatConfig(e))}}),e.
fn.datepicker=function(t){if(!this.length)return
this;e.datepicker.initialized||(e(document).mousedown(e.datepicker._check
ExternalClick),e.datepicker.initialized=!0),0===e("#"+e.datepicker._mainDiv
Id).length&&e("body").append(e.datepicker.dpDiv);var
i=Array.prototype.slice.call(arguments,1);return"string"!=typeof
t||"isDisabled"!==t&&"getDate"!==t&&"widget"!==t?"option"===t&&2===arg
uments.length&&"string"==typeof
arguments[1]?e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this[0]].
concat(i)):this.each(function(){"string"==typeof
t?e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this].concat(i)):e.dat
epicker._attachDatepicker(this,t)}):e.datepicker["_"+t+"Datepicker"].apply(e
.datepicker,[this[0]].concat(i))},e.datepicker=new
n,e.datepicker.initialized=!1,e.datepicker.uuid=(new
Date).getTime(),e.datepicker.version="1.11.4",e.datepicker,e.widget("ui.dra
ggable",e.ui.mouse,{version:"1.11.4",widgetEventPrefix:"drag",options:{add
Classes:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,c
ursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opaci
ty:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!
0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapToleranc
e:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"origi
nal"===this.options.helper&&this._setPositionRelative(),this.options.addCla
sses&&this.element.addClass("ui-
draggable"),this.options.disabled&&this.element.addClass("ui-draggable-
disabled"),this._setHandleClassName(),this._mouseInit()},_setOption:functi
on(e,t){this._super(e,t),"handle"===e&&(this._removeHandleClassName(),th
is._setHandleClassName())},_destroy:function(){return(this.helper||this.elem
ent).is(".ui-draggable-dragging")?(this.destroyOnClear=!0,void
0):(this.element.removeClass("ui-draggable ui-draggable-dragging ui-
draggable-
disabled"),this._removeHandleClassName(),this._mouseDestroy(),void
0)},_mouseCapture:function(t){var i=this.options;return
this._blurActiveElement(t),this.helper||i.disabled||e(t.target).closest(".ui-
resizable-
handle").length>0?!1:(this.handle=this._getHandle(t),this.handle?(this._bloc
kFrames(i.iframeFix===!0?"iframe":i.iframeFix),!0):!1)},_blockFrames:functio
n(t){this.iframeBlocks=this.document.find(t).map(function(){var
t=e(this);return
e("<div>").css("position","absolute").appendTo(t.parent()).outerWidth(t.out
erWidth()).outerHeight(t.outerHeight()).offset(t.offset())[0]})},_unblockFram
es:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete
this.iframeBlocks)},_blurActiveElement:function(t){var
i=this.document[0];if(this.handleElement.is(t.target))try{i.activeElement&&
"body"!==i.activeElement.nodeName.toLowerCase()&&e(i.activeElement).b
lur()}catch(s){}},_mouseStart:function(t){var i=this.options;return
this.helper=this._createHelper(t),this.helper.addClass("ui-draggable-
dragging"),this._cacheHelperProportions(),e.ui.ddmanager&&(e.ui.ddmana
ger.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("posi
tion"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.he
lper.offsetParent(),this.hasFixedAncestor=this.helper.parents().filter(functio
n(){return"fixed"===e(this).css("position")}).length>0,this.positionAbs=this.e
lement.offset(),this._refreshOffsets(t),this.originalPosition=this.position=thi
s._generatePosition(t,!1),this.originalPageX=t.pageX,this.originalPageY=t.p
ageY,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),this._setContai
nment(),this._trigger("start",t)===!1?(this._clear(),!1):(this._cacheHelperPro
portions(),e.ui.ddmanager&&!i.dropBehaviour&&e.ui.ddmanager.prepareOf
fsets(this,t),this._normalizeRightBottom(),this._mouseDrag(t,!0),e.ui.ddma
nager&&e.ui.ddmanager.dragStart(this,t),!0)},_refreshOffsets:function(e){th
is.offset={top:this.positionAbs.top-
this.margins.top,left:this.positionAbs.left-
this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRe
lativeOffset()},this.offset.click={left:e.pageX-this.offset.left,top:e.pageY-
this.offset.top}},_mouseDrag:function(t,i){if(this.hasFixedAncestor&&(this.o
ffset.parent=this._getParentOffset()),this.position=this._generatePosition(t,
!0),this.positionAbs=this._convertPositionTo("absolute"),!i){var
s=this._uiHash();if(this._trigger("drag",t,s)===!1)return
this._mouseUp({}),!1;this.position=s.position}return
this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.p
osition.top+"px",e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),!1},_mouse
Stop:function(t){var i=this,s=!1;return
e.ui.ddmanager&&!this.options.dropBehaviour&&(s=e.ui.ddmanager.drop(t
his,t)),this.dropped&&(s=this.dropped,this.dropped=!1),"invalid"===this.opti
ons.revert&&!s||"valid"===this.options.revert&&s||this.options.revert===!0||
e.isFunction(this.options.revert)&&this.options.revert.call(this.element,s)?e
(this.helper).animate(this.originalPosition,parseInt(this.options.revertDurati
on,10),function(){i._trigger("stop",t)!==!1&&i._clear()}):this._trigger("stop",t)
!==!1&&this._clear(),!1},_mouseUp:function(t){return
this._unblockFrames(),e.ui.ddmanager&&e.ui.ddmanager.dragStop(this,t),t
his.handleElement.is(t.target)&&this.element.focus(),e.ui.mouse.prototype.
_mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-
dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function(t){retur
n
this.options.handle?!!e(t.target).closest(this.element.find(this.options.handl
e)).length:!0},_setHandleClassName:function(){this.handleElement=this.opt
ions.handle?this.element.find(this.options.handle):this.element,this.handle
Element.addClass("ui-draggable-
handle")},_removeHandleClassName:function(){this.handleElement.remove
Class("ui-draggable-handle")},_createHelper:function(t){var
i=this.options,s=e.isFunction(i.helper),n=s?e(i.helper.apply(this.element[0],[
t])):"clone"===i.helper?this.element.clone().removeAttr("id"):this.element;r
eturn
n.parents("body").length||n.appendTo("parent"===i.appendTo?this.element
[0].parentNode:i.appendTo),s&&n[0]===this.element[0]&&this._setPosition
Relative(),n[0]===this.element[0]||/(fixed|absolute)/.test(n.css("position"))||n
.css("position","absolute"),n},_setPositionRelative:function(){/^(?:r|a|f)/.test(
this.element.css("position"))||(this.element[0].style.position="relative")},_ad
justOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split("
")),e.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in
t&&(this.offset.click.left=t.left+this.margins.left),"right"in
t&&(this.offset.click.left=this.helperProportions.width-
t.right+this.margins.left),"top"in
t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in
t&&(this.offset.click.top=this.helperProportions.height-
t.bottom+this.margins.top)},_isRootNode:function(e){return/(html|body)/i.t
est(e.tagName)||e===this.document[0]},_getParentOffset:function(){var
t=this.offsetParent.offset(),i=this.document[0];return"absolute"===this.cssP
osition&&this.scrollParent[0]!==i&&e.contains(this.scrollParent[0],this.offse
tParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.s
crollTop()),this._isRootNode(this.offsetParent[0])&&(t={top:0,left:0}),{top:t.
top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(par
seInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:f
unction(){if("relative"!==this.cssPosition)return{top:0,left:0};var
e=this.element.position(),t=this._isRootNode(this.scrollParent[0]);return{to
p:e.top-
(parseInt(this.helper.css("top"),10)||0)+(t?0:this.scrollParent.scrollTop()),left:
e.left-
(parseInt(this.helper.css("left"),10)||0)+(t?0:this.scrollParent.scrollLeft())}},_c
acheMargins:function(){this.margins={left:parseInt(this.element.css("margin
Left"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt
(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("m
arginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperPropo
rtions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_s
etContainment:function(){var t,i,s,n=this.options,a=this.document[0];return
this.relativeContainer=null,n.containment?"window"===n.containment?(thi
s.containment=[e(window).scrollLeft()-this.offset.relative.left-
this.offset.parent.left,e(window).scrollTop()-this.offset.relative.top-
this.offset.parent.top,e(window).scrollLeft()+e(window).width()-
this.helperProportions.width-
this.margins.left,e(window).scrollTop()+(e(window).height()||a.body.parent
Node.scrollHeight)-this.helperProportions.height-this.margins.top],void
0):"document"===n.containment?(this.containment=[0,0,e(a).width()-
this.helperProportions.width-
this.margins.left,(e(a).height()||a.body.parentNode.scrollHeight)-
this.helperProportions.height-this.margins.top],void
0):n.containment.constructor===Array?(this.containment=n.containment,v
oid
0):("parent"===n.containment&&(n.containment=this.helper[0].parentNode
),i=e(n.containment),s=i[0],s&&(t=/(scroll|auto)/.test(i.css("overflow")),this.c
ontainment=[(parseInt(i.css("borderLeftWidth"),10)||0)+(parseInt(i.css("padd
ingLeft"),10)||0),(parseInt(i.css("borderTopWidth"),10)||0)+(parseInt(i.css("pa
ddingTop"),10)||0),(t?Math.max(s.scrollWidth,s.offsetWidth):s.offsetWidth)-
(parseInt(i.css("borderRightWidth"),10)||0)-
(parseInt(i.css("paddingRight"),10)||0)-this.helperProportions.width-
this.margins.left-
this.margins.right,(t?Math.max(s.scrollHeight,s.offsetHeight):s.offsetHeight
)-(parseInt(i.css("borderBottomWidth"),10)||0)-
(parseInt(i.css("paddingBottom"),10)||0)-this.helperProportions.height-
this.margins.top-this.margins.bottom],this.relativeContainer=i),void
0):(this.containment=null,void 0)
},_convertPositionTo:function(e,t){t||(t=this.position);var
i="absolute"===e?1:-
1,s=this._isRootNode(this.scrollParent[0]);return{top:t.top+this.offset.relati
ve.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-
this.offset.scroll.top:s?0:this.offset.scroll.top)*i,left:t.left+this.offset.relative
.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-
this.offset.scroll.left:s?0:this.offset.scroll.left)*i}},_generatePosition:functio
n(e,t){var
i,s,n,a,o=this.options,r=this._isRootNode(this.scrollParent[0]),h=e.pageX,l=
e.pageY;return
r&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:
this.scrollParent.scrollLeft()}),t&&(this.containment&&(this.relativeContain
er?(s=this.relativeContainer.offset(),i=[this.containment[0]+s.left,this.contai
nment[1]+s.top,this.containment[2]+s.left,this.containment[3]+s.top]):i=thi
s.containment,e.pageX-
this.offset.click.left<i[0]&&(h=i[0]+this.offset.click.left),e.pageY-
this.offset.click.top<i[1]&&(l=i[1]+this.offset.click.top),e.pageX-
this.offset.click.left>i[2]&&(h=i[2]+this.offset.click.left),e.pageY-
this.offset.click.top>i[3]&&(l=i[3]+this.offset.click.top)),o.grid&&(n=o.grid[1]
?this.originalPageY+Math.round((l-
this.originalPageY)/o.grid[1])*o.grid[1]:this.originalPageY,l=i?n-
this.offset.click.top>=i[1]||n-this.offset.click.top>i[3]?n:n-
this.offset.click.top>=i[1]?n-
o.grid[1]:n+o.grid[1]:n,a=o.grid[0]?this.originalPageX+Math.round((h-
this.originalPageX)/o.grid[0])*o.grid[0]:this.originalPageX,h=i?a-
this.offset.click.left>=i[0]||a-this.offset.click.left>i[2]?a:a-
this.offset.click.left>=i[0]?a-
o.grid[0]:a+o.grid[0]:a),"y"===o.axis&&(h=this.originalPageX),"x"===o.axis&
&(l=this.originalPageY)),{top:l-this.offset.click.top-this.offset.relative.top-
this.offset.parent.top+("fixed"===this.cssPosition?-
this.offset.scroll.top:r?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:r?0:this.offset.scroll.left)}},_clear:function(){this.helper.
removeClass("ui-draggable-
dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.
helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyO
nClear&&this.destroy()},_normalizeRightBottom:function(){"y"!==this.optio
ns.axis&&"auto"!==this.helper.css("right")&&(this.helper.width(this.helper.
width()),this.helper.css("right","auto")),"x"!==this.options.axis&&"auto"!==th
is.helper.css("bottom")&&(this.helper.height(this.helper.height()),this.helpe
r.css("bottom","auto"))},_trigger:function(t,i,s){return
s=s||this._uiHash(),e.ui.plugin.call(this,t,[i,s,this],!0),/^(drag|start|stop)/.test(
t)&&(this.positionAbs=this._convertPositionTo("absolute"),s.offset=this.pos
itionAbs),e.Widget.prototype._trigger.call(this,t,i,s)},plugins:{},_uiHash:func
tion(){return{helper:this.helper,position:this.position,originalPosition:this.or
iginalPosition,offset:this.positionAbs}}}),e.ui.plugin.add("draggable","conne
ctToSortable",{start:function(t,i,s){var
n=e.extend({},i,{item:s.element});s.sortables=[],e(s.options.connectToSorta
ble).each(function(){var
i=e(this).sortable("instance");i&&!i.options.disabled&&(s.sortables.push(i),i.r
efreshPositions(),i._trigger("activate",t,n))})},stop:function(t,i,s){var
n=e.extend({},i,{item:s.element});s.cancelHelperRemoval=!1,e.each(s.sortabl
es,function(){var
e=this;e.isOver?(e.isOver=0,s.cancelHelperRemoval=!0,e.cancelHelperRemo
val=!1,e._storedCSS={position:e.placeholder.css("position"),top:e.placehold
er.css("top"),left:e.placeholder.css("left")},e._mouseStop(t),e.options.helper
=e.options._helper):(e.cancelHelperRemoval=!0,e._trigger("deactivate",t,n))
})},drag:function(t,i,s){e.each(s.sortables,function(){var
n=!1,a=this;a.positionAbs=s.positionAbs,a.helperProportions=s.helperPropo
rtions,a.offset.click=s.offset.click,a._intersectsWith(a.containerCache)&&(n
=!0,e.each(s.sortables,function(){return
this.positionAbs=s.positionAbs,this.helperProportions=s.helperProportions,
this.offset.click=s.offset.click,this!==a&&this._intersectsWith(this.container
Cache)&&e.contains(a.element[0],this.element[0])&&(n=!1),n})),n?(a.isOver|
|(a.isOver=1,s._parent=i.helper.parent(),a.currentItem=i.helper.appendTo(a.
element).data("ui-sortable-
item",!0),a.options._helper=a.options.helper,a.options.helper=function(){ret
urn
i.helper[0]},t.target=a.currentItem[0],a._mouseCapture(t,!0),a._mouseStart(
t,!0,!0),a.offset.click.top=s.offset.click.top,a.offset.click.left=s.offset.click.lef
t,a.offset.parent.left-=s.offset.parent.left-
a.offset.parent.left,a.offset.parent.top-=s.offset.parent.top-
a.offset.parent.top,s._trigger("toSortable",t),s.dropped=a.element,e.each(s.
sortables,function(){this.refreshPositions()}),s.currentItem=s.element,a.from
Outside=s),a.currentItem&&(a._mouseDrag(t),i.position=a.position)):a.isOv
er&&(a.isOver=0,a.cancelHelperRemoval=!0,a.options._revert=a.options.rev
ert,a.options.revert=!1,a._trigger("out",t,a._uiHash(a)),a._mouseStop(t,!0),a
.options.revert=a.options._revert,a.options.helper=a.options._helper,a.plac
eholder&&a.placeholder.remove(),i.helper.appendTo(s._parent),s._refreshO
ffsets(t),i.position=s._generatePosition(t,!0),s._trigger("fromSortable",t),s.d
ropped=!1,e.each(s.sortables,function(){this.refreshPositions()}))})}}),e.ui.plu
gin.add("draggable","cursor",{start:function(t,i,s){var
n=e("body"),a=s.options;n.css("cursor")&&(a._cursor=n.css("cursor")),n.css("
cursor",a.cursor)},stop:function(t,i,s){var
n=s.options;n._cursor&&e("body").css("cursor",n._cursor)}}),e.ui.plugin.add(
"draggable","opacity",{start:function(t,i,s){var
n=e(i.helper),a=s.options;n.css("opacity")&&(a._opacity=n.css("opacity")),n.
css("opacity",a.opacity)},stop:function(t,i,s){var
n=s.options;n._opacity&&e(i.helper).css("opacity",n._opacity)}}),e.ui.plugin.
add("draggable","scroll",{start:function(e,t,i){i.scrollParentNotHidden||(i.scr
ollParentNotHidden=i.helper.scrollParent(!1)),i.scrollParentNotHidden[0]!==
i.document[0]&&"HTML"!==i.scrollParentNotHidden[0].tagName&&(i.overf
lowOffset=i.scrollParentNotHidden.offset())},drag:function(t,i,s){var
n=s.options,a=!1,o=s.scrollParentNotHidden[0],r=s.document[0];o!==r&&"H
TML"!==o.tagName?(n.axis&&"x"===n.axis||(s.overflowOffset.top+o.offsetH
eight-
t.pageY<n.scrollSensitivity?o.scrollTop=a=o.scrollTop+n.scrollSpeed:t.page
Y-s.overflowOffset.top<n.scrollSensitivity&&(o.scrollTop=a=o.scrollTop-
n.scrollSpeed)),n.axis&&"y"===n.axis||(s.overflowOffset.left+o.offsetWidth-
t.pageX<n.scrollSensitivity?o.scrollLeft=a=o.scrollLeft+n.scrollSpeed:t.page
X-s.overflowOffset.left<n.scrollSensitivity&&(o.scrollLeft=a=o.scrollLeft-
n.scrollSpeed))):(n.axis&&"x"===n.axis||(t.pageY-
e(r).scrollTop()<n.scrollSensitivity?a=e(r).scrollTop(e(r).scrollTop()-
n.scrollSpeed):e(window).height()-(t.pageY-
e(r).scrollTop())<n.scrollSensitivity&&(a=e(r).scrollTop(e(r).scrollTop()+n.scr
ollSpeed))),n.axis&&"y"===n.axis||(t.pageX-
e(r).scrollLeft()<n.scrollSensitivity?a=e(r).scrollLeft(e(r).scrollLeft()-
n.scrollSpeed):e(window).width()-(t.pageX-
e(r).scrollLeft())<n.scrollSensitivity&&(a=e(r).scrollLeft(e(r).scrollLeft()+n.scr
ollSpeed)))),a!==!1&&e.ui.ddmanager&&!n.dropBehaviour&&e.ui.ddmanage
r.prepareOffsets(s,t)}}),e.ui.plugin.add("draggable","snap",{start:function(t,i,
s){var
n=s.options;s.snapElements=[],e(n.snap.constructor!==String?n.snap.items|
|":data(ui-draggable)":n.snap).each(function(){var
t=e(this),i=t.offset();this!==s.element[0]&&s.snapElements.push({item:this,
width:t.outerWidth(),height:t.outerHeight(),top:i.top,left:i.left})})},drag:func
tion(t,i,s){var
n,a,o,r,h,l,u,d,c,p,f=s.options,m=f.snapTolerance,g=i.offset.left,v=g+s.helpe
rProportions.width,y=i.offset.top,b=y+s.helperProportions.height;for(c=s.sn
apElements.length-1;c>=0;c--)h=s.snapElements[c].left-
s.margins.left,l=h+s.snapElements[c].width,u=s.snapElements[c].top-
s.margins.top,d=u+s.snapElements[c].height,h-m>v||g>l+m||u-
m>b||y>d+m||!e.contains(s.snapElements[c].item.ownerDocument,s.snapEl
ements[c].item)?(s.snapElements[c].snapping&&s.options.snap.release&&s.
options.snap.release.call(s.element,t,e.extend(s._uiHash(),{snapItem:s.snap
Elements[c].item})),s.snapElements[c].snapping=!1):("inner"!==f.snapMode
&&(n=m>=Math.abs(u-b),a=m>=Math.abs(d-y),o=m>=Math.abs(h-
v),r=m>=Math.abs(l-
g),n&&(i.position.top=s._convertPositionTo("relative",{top:u-
s.helperProportions.height,left:0}).top),a&&(i.position.top=s._convertPositi
onTo("relative",{top:d,left:0}).top),o&&(i.position.left=s._convertPositionTo(
"relative",{top:0,left:h-
s.helperProportions.width}).left),r&&(i.position.left=s._convertPositionTo("r
elative",{top:0,left:l}).left)),p=n||a||o||r,"outer"!==f.snapMode&&(n=m>=Mat
h.abs(u-y),a=m>=Math.abs(d-b),o=m>=Math.abs(h-g),r=m>=Math.abs(l-
v),n&&(i.position.top=s._convertPositionTo("relative",{top:u,left:0}).top),a&
&(i.position.top=s._convertPositionTo("relative",{top:d-
s.helperProportions.height,left:0}).top),o&&(i.position.left=s._convertPositi
onTo("relative",{top:0,left:h}).left),r&&(i.position.left=s._convertPositionTo(
"relative",{top:0,left:l-
s.helperProportions.width}).left)),!s.snapElements[c].snapping&&(n||a||o||r||
p)&&s.options.snap.snap&&s.options.snap.snap.call(s.element,t,e.extend(s.
_uiHash(),{snapItem:s.snapElements[c].item})),s.snapElements[c].snapping
=n||a||o||r||p)}}),e.ui.plugin.add("draggable","stack",{start:function(t,i,s){var
n,a=s.options,o=e.makeArray(e(a.stack)).sort(function(t,i){return(parseInt(e(
t).css("zIndex"),10)||0)-
(parseInt(e(i).css("zIndex"),10)||0)});o.length&&(n=parseInt(e(o[0]).css("zInde
x"),10)||0,e(o).each(function(t){e(this).css("zIndex",n+t)}),this.css("zIndex",n+
o.length))}}),e.ui.plugin.add("draggable","zIndex",{start:function(t,i,s){var
n=e(i.helper),a=s.options;n.css("zIndex")&&(a._zIndex=n.css("zIndex")),n.css
("zIndex",a.zIndex)},stop:function(t,i,s){var
n=s.options;n._zIndex&&e(i.helper).css("zIndex",n._zIndex)}}),e.ui.draggable
,e.widget("ui.resizable",e.ui.mouse,{version:"1.11.4",widgetEventPrefix:"resi
ze",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasin
g:"swing",aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handle
s:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:1
0,zIndex:90,resize:null,start:null,stop:null},_num:function(e){return
parseInt(e,10)||0},_isNumber:function(e){return!isNaN(parseInt(e,10))},_hasS
croll:function(t,i){if("hidden"===e(t).css("overflow"))return!1;var
s=i&&"left"===i?"scrollLeft":"scrollTop",n=!1;return
t[s]>0?!0:(t[s]=1,n=t[s]>0,t[s]=0,n)},_create:function(){var
t,i,s,n,a,o=this,r=this.options;if(this.element.addClass("ui-
resizable"),e.extend(this,{_aspectRatio:!!r.aspectRatio,aspectRatio:r.aspect
Ratio,originalElement:this.element,_proportionallyResizeElements:[],_help
er:r.helper||r.ghost||r.animate?r.helper||"ui-resizable-
helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|sel
ect|button|img)$/i)&&(this.element.wrap(e("<div class='ui-wrapper'
style='overflow:
hidden;'></div>").css({position:this.element.css("position"),width:this.eleme
nt.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,this
.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop
:this.originalElement.css("marginTop"),marginRight:this.originalElement.cs
s("marginRight"),marginBottom:this.originalElement.css("marginBottom")})
,this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,margin
Bottom:0}),this.originalResizeStyle=this.originalElement.css("resize"),this.or
iginalElement.css("resize","none"),this._proportionallyResizeElements.push(
this.originalElement.css({position:"static",zoom:1,display:"block"})),this.orig
inalElement.css({margin:this.originalElement.css("margin")}),this._proportio
nallyResize()),this.handles=r.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(),this.handles.constructor===String)for("all"=
==this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),t=this.handles.split(",
"),this.handles={},i=0;t.length>i;i++)s=e.trim(t[i]),a="ui-resizable-
"+s,n=e("<div class='ui-resizable-handle
"+a+"'></div>"),n.css({zIndex:r.zIndex}),"se"===s&&n.addClass("ui-icon ui-
icon-gripsmall-diagonal-se"),this.handles[s]=".ui-resizable-
"+s,this.element.append(n);this._renderAxis=function(t){var
i,s,n,a;t=t||this.element;for(i in
this.handles)this.handles[i].constructor===String?this.handles[i]=this.eleme
nt.children(this.handles[i]).first().show():(this.handles[i].jquery||this.handles[
i].nodeType)&&(this.handles[i]=e(this.handles[i]),this._on(this.handles[i],{m
ousedown:o._mouseDown})),this.elementIsWrapper&&this.originalElement
[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(s=e(this.handle
s[i],this.element),a=/sw|ne|nw|se|n|s/.test(i)?s.outerHeight():s.outerWidth(),
n=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"
Right":"Left"].join(""),t.css(n,a),this._proportionallyResize()),this._handles=t
his._handles.add(this.handles[i])},this._renderAxis(this.element),this._handl
es=this._handles.add(this.element.find(".ui-resizable-
handle")),this._handles.disableSelection(),this._handles.mouseover(function
(){o.resizing||(this.className&&(n=this.className.match(/ui-resizable-
(se|sw|ne|nw|n|e|s|w)/i)),o.axis=n&&n[1]?n[1]:"se")}),r.autoHide&&(this._han
dles.hide(),e(this.element).addClass("ui-resizable-
autohide").mouseenter(function(){r.disabled||(e(this).removeClass("ui-
resizable-
autohide"),o._handles.show())}).mouseleave(function(){r.disabled||o.resizing
||(e(this).addClass("ui-resizable-
autohide"),o._handles.hide())})),this._mouseInit()},_destroy:function(){this._
mouseDestroy();var t,i=function(t){e(t).removeClass("ui-resizable ui-
resizable-disabled ui-resizable-
resizing").removeData("resizable").removeData("ui-
resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};return
this.elementIsWrapper&&(i(this.element),t=this.element,this.originalEleme
nt.css({position:t.css("position"),width:t.outerWidth(),height:t.outerHeight()
,top:t.css("top"),left:t.css("left")}).insertAfter(t),t.remove()),this.originalElem
ent.css("resize",this.originalResizeStyle),i(this.originalElement),this},_mous
eCapture:function(t){var i,s,n=!1;for(i in
this.handles)s=e(this.handles[i])[0],(s===t.target||e.contains(s,t.target))&&(
n=!0);return!this.options.disabled&&n},_mouseStart:function(t){var
i,s,n,a=this.options,o=this.element;return
this.resizing=!0,this._renderProxy(),i=this._num(this.helper.css("left")),s=thi
s._num(this.helper.css("top")),a.containment&&(i+=e(a.containment).scroll
Left()||0,s+=e(a.containment).scrollTop()||0),this.offset=this.helper.offset(),t
his.position={left:i,top:s},this.size=this._helper?{width:this.helper.width(),he
ight:this.helper.height()}:{width:o.width(),height:o.height()},this.originalSize
=this._helper?{width:o.outerWidth(),height:o.outerHeight()}:{width:o.width(
),height:o.height()},this.sizeDiff={width:o.outerWidth()-
o.width(),height:o.outerHeight()-
o.height()},this.originalPosition={left:i,top:s},this.originalMousePosition={lef
t:t.pageX,top:t.pageY},this.aspectRatio="number"==typeof
a.aspectRatio?a.aspectRatio:this.originalSize.width/this.originalSize.height||
1,n=e(".ui-resizable-
"+this.axis).css("cursor"),e("body").css("cursor","auto"===n?this.axis+"-
resize":n),o.addClass("ui-resizable-
resizing"),this._propagate("start",t),!0},_mouseDrag:function(t){var
i,s,n=this.originalMousePosition,a=this.axis,o=t.pageX-n.left||0,r=t.pageY-
n.top||0,h=this._change[a];return
this._updatePrevProperties(),h?(i=h.apply(this,[t,o,r]),this._updateVirtualBo
undaries(t.shiftKey),(this._aspectRatio||t.shiftKey)&&(i=this._updateRatio(i,
t)),i=this._respectSize(i,t),this._updateCache(i),this._propagate("resize",t),s
=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.l
ength&&this._proportionallyResize(),e.isEmptyObject(s)||(this._updatePrev
Properties(),this._trigger("resize",t,this.ui()),this._applyChanges()),!1):!1},_m
ouseStop:function(t){this.resizing=!1;var
i,s,n,a,o,r,h,l=this.options,u=this;return
this._helper&&(i=this._proportionallyResizeElements,s=i.length&&/textarea
/i.test(i[0].nodeName),n=s&&this._hasScroll(i[0],"left")?0:u.sizeDiff.height,a
=s?0:u.sizeDiff.width,o={width:u.helper.width()-a,height:u.helper.height()-
n},r=parseInt(u.element.css("left"),10)+(u.position.left-
u.originalPosition.left)||null,h=parseInt(u.element.css("top"),10)+(u.position.
top-
u.originalPosition.top)||null,l.animate||this.element.css(e.extend(o,{top:h,lef
t:r})),u.helper.height(u.size.height),u.helper.width(u.size.width),this._helper
&&!l.animate&&this._proportionallyResize()),e("body").css("cursor","auto"),
this.element.removeClass("ui-resizable-
resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_
updatePrevProperties:function(){this.prevPosition={top:this.position.top,lef
t:this.position.left},this.prevSize={width:this.size.width,height:this.size.heig
ht}},_applyChanges:function(){var e={};return
this.position.top!==this.prevPosition.top&&(e.top=this.position.top+"px"),th
is.position.left!==this.prevPosition.left&&(e.left=this.position.left+"px"),this.
size.width!==this.prevSize.width&&(e.width=this.size.width+"px"),this.size.
height!==this.prevSize.height&&(e.height=this.size.height+"px"),this.helper.
css(e),e},_updateVirtualBoundaries:function(e){var
t,i,s,n,a,o=this.options;a={minWidth:this._isNumber(o.minWidth)?o.minWid
th:0,maxWidth:this._isNumber(o.maxWidth)?o.maxWidth:1/0,minHeight:thi
s._isNumber(o.minHeight)?o.minHeight:0,maxHeight:this._isNumber(o.ma
xHeight)?o.maxHeight:1/0},(this._aspectRatio||e)&&(t=a.minHeight*this.asp
ectRatio,s=a.minWidth/this.aspectRatio,i=a.maxHeight*this.aspectRatio,n=
a.maxWidth/this.aspectRatio,t>a.minWidth&&(a.minWidth=t),s>a.minHeig
ht&&(a.minHeight=s),a.maxWidth>i&&(a.maxWidth=i),a.maxHeight>n&&(a
.maxHeight=n)),this._vBoundaries=a},_updateCache:function(e){this.offset=
this.helper.offset(),this._isNumber(e.left)&&(this.position.left=e.left),this._i
sNumber(e.top)&&(this.position.top=e.top),this._isNumber(e.height)&&(thi
s.size.height=e.height),this._isNumber(e.width)&&(this.size.width=e.width)
},_updateRatio:function(e){var t=this.position,i=this.size,s=this.axis;return
this._isNumber(e.height)?e.width=e.height*this.aspectRatio:this._isNumbe
r(e.width)&&(e.height=e.width/this.aspectRatio),"sw"===s&&(e.left=t.left+(i
.width-e.width),e.top=null),"nw"===s&&(e.top=t.top+(i.height-
e.height),e.left=t.left+(i.width-e.width)),e},_respectSize:function(e){var
t=this._vBoundaries,i=this.axis,s=this._isNumber(e.width)&&t.maxWidth&&
t.maxWidth<e.width,n=this._isNumber(e.height)&&t.maxHeight&&t.maxH
eight<e.height,a=this._isNumber(e.width)&&t.minWidth&&t.minWidth>e.w
idth,o=this._isNumber(e.height)&&t.minHeight&&t.minHeight>e.height,r=t
his.originalPosition.left+this.originalSize.width,h=this.position.top+this.size
.height,l=/sw|nw|w/.test(i),u=/nw|ne|n/.test(i);return
a&&(e.width=t.minWidth),o&&(e.height=t.minHeight),s&&(e.width=t.max
Width),n&&(e.height=t.maxHeight),a&&l&&(e.left=r-
t.minWidth),s&&l&&(e.left=r-t.maxWidth),o&&u&&(e.top=h-
t.minHeight),n&&u&&(e.top=h-
t.maxHeight),e.width||e.height||e.left||!e.top?e.width||e.height||e.top||!e.left|
|(e.left=null):e.top=null,e},_getPaddingPlusBorderDimensions:function(e){fo
r(var
t=0,i=[],s=[e.css("borderTopWidth"),e.css("borderRightWidth"),e.css("borde
rBottomWidth"),e.css("borderLeftWidth")],n=[e.css("paddingTop"),e.css("pa
ddingRight"),e.css("paddingBottom"),e.css("paddingLeft")];4>t;t++)i[t]=pars
eInt(s[t],10)||0,i[t]+=parseInt(n[t],10)||0;return{height:i[0]+i[2],width:i[1]+i[3]
}},_proportionallyResize:function(){if(this._proportionallyResizeElements.len
gth)for(var
e,t=0,i=this.helper||this.element;this._proportionallyResizeElements.length
>t;t++)e=this._proportionallyResizeElements[t],this.outerDimensions||(this.
outerDimensions=this._getPaddingPlusBorderDimensions(e)),e.css({height:i
.height()-this.outerDimensions.height||0,width:i.width()-
this.outerDimensions.width||0})},_renderProxy:function(){var
t=this.element,i=this.options;this.elementOffset=t.offset(),this._helper?(thi
s.helper=this.helper||e("<div
style='overflow:hidden;'></div>"),this.helper.addClass(this._helper).css({wid
th:this.element.outerWidth()-1,height:this.element.outerHeight()-
1,position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffs
et.top+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelecti
on()):this.helper=this.element},_change:{e:function(e,t){return{width:this.ori
ginalSize.width+t}},w:function(e,t){var
i=this.originalSize,s=this.originalPosition;return{left:s.left+t,width:i.width-
t}},n:function(e,t,i){var
s=this.originalSize,n=this.originalPosition;return{top:n.top+i,height:s.height
-
i}},s:function(e,t,i){return{height:this.originalSize.height+i}},se:function(t,i,s)
{return
e.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,i
,s]))},sw:function(t,i,s){return
e.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,i
,s]))},ne:function(t,i,s){return
e.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,i
,s]))},nw:function(t,i,s){return
e.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,
i,s]))}},_propagate:function(t,i){e.ui.plugin.call(this,t,[i,this.ui()]),"resize"!==t
&&this._trigger(t,i,this.ui())},plugins:{},ui:function(){return{originalElement:t
his.originalElement,element:this.element,helper:this.helper,position:this.po
sition,size:this.size,originalSize:this.originalSize,originalPosition:this.origina
lPosition}}}),e.ui.plugin.add("resizable","animate",{stop:function(t){var
i=e(this).resizable("instance"),s=i.options,n=i._proportionallyResizeElement
s,a=n.length&&/textarea/i.test(n[0].nodeName),o=a&&i._hasScroll(n[0],"lef
t")?0:i.sizeDiff.height,r=a?0:i.sizeDiff.width,h={width:i.size.width-
r,height:i.size.height-o},l=parseInt(i.element.css("left"),10)+(i.position.left-
i.originalPosition.left)||null,u=parseInt(i.element.css("top"),10)+(i.position.to
p-
i.originalPosition.top)||null;i.element.animate(e.extend(h,u&&l?{top:u,left:l}:
{}),{duration:s.animateDuration,easing:s.animateEasing,step:function(){var
s={width:parseInt(i.element.css("width"),10),height:parseInt(i.element.css("
height"),10),top:parseInt(i.element.css("top"),10),left:parseInt(i.element.css(
"left"),10)};n&&n.length&&e(n[0]).css({width:s.width,height:s.height}),i._up
dateCache(s),i._propagate("resize",t)}})}}),e.ui.plugin.add("resizable","contai
nment",{start:function(){var
t,i,s,n,a,o,r,h=e(this).resizable("instance"),l=h.options,u=h.element,d=l.cont
ainment,c=d instanceof
e?d.get(0):/parent/.test(d)?u.parent().get(0):d;c&&(h.containerElement=e(c)
,/document/.test(d)||d===document?(h.containerOffset={left:0,top:0},h.cont
ainerPosition={left:0,top:0},h.parentData={element:e(document),left:0,top:
0,width:e(document).width(),height:e(document).height()||document.body.
parentNode.scrollHeight}):(t=e(c),i=[],e(["Top","Right","Left","Bottom"]).eac
h(function(e,s){i[e]=h._num(t.css("padding"+s))}),h.containerOffset=t.offset(
),h.containerPosition=t.position(),h.containerSize={height:t.innerHeight()-
i[3],width:t.innerWidth()-
i[1]},s=h.containerOffset,n=h.containerSize.height,a=h.containerSize.width,
o=h._hasScroll(c,"left")?c.scrollWidth:a,r=h._hasScroll(c)?c.scrollHeight:n,h.
parentData={element:c,left:s.left,top:s.top,width:o,height:r}))},resize:functi
on(t){var
i,s,n,a,o=e(this).resizable("instance"),r=o.options,h=o.containerOffset,l=o.p
osition,u=o._aspectRatio||t.shiftKey,d={top:0,left:0},c=o.containerElement,p
=!0;c[0]!==document&&/static/.test(c.css("position"))&&(d=h),l.left<(o._help
er?h.left:0)&&(o.size.width=o.size.width+(o._helper?o.position.left-
h.left:o.position.left-
d.left),u&&(o.size.height=o.size.width/o.aspectRatio,p=!1),o.position.left=r.
helper?h.left:0),l.top<(o._helper?h.top:0)&&(o.size.height=o.size.height+(o.
_helper?o.position.top-
h.top:o.position.top),u&&(o.size.width=o.size.height*o.aspectRatio,p=!1),o.
position.top=o._helper?h.top:0),n=o.containerElement.get(0)===o.element.
parent().get(0),a=/relative|absolute/.test(o.containerElement.css("position")
),n&&a?(o.offset.left=o.parentData.left+o.position.left,o.offset.top=o.paren
tData.top+o.position.top):(o.offset.left=o.element.offset().left,o.offset.top=
o.element.offset().top),i=Math.abs(o.sizeDiff.width+(o._helper?o.offset.left
-d.left:o.offset.left-
h.left)),s=Math.abs(o.sizeDiff.height+(o._helper?o.offset.top-
d.top:o.offset.top-
h.top)),i+o.size.width>=o.parentData.width&&(o.size.width=o.parentData.
width-
i,u&&(o.size.height=o.size.width/o.aspectRatio,p=!1)),s+o.size.height>=o.pa
rentData.height&&(o.size.height=o.parentData.height-
s,u&&(o.size.width=o.size.height*o.aspectRatio,p=!1)),p||(o.position.left=o.
prevPosition.left,o.position.top=o.prevPosition.top,o.size.width=o.prevSize.
width,o.size.height=o.prevSize.height)},stop:function(){var
t=e(this).resizable("instance"),i=t.options,s=t.containerOffset,n=t.container
Position,a=t.containerElement,o=e(t.helper),r=o.offset(),h=o.outerWidth()-
t.sizeDiff.width,l=o.outerHeight()-
t.sizeDiff.height;t._helper&&!i.animate&&/relative/.test(a.css("position"))&
&e(this).css({left:r.left-n.left-
s.left,width:h,height:l}),t._helper&&!i.animate&&/static/.test(a.css("position
"))&&e(this).css({left:r.left-n.left-
s.left,width:h,height:l})}}),e.ui.plugin.add("resizable","alsoResize",{start:func
tion(){var
t=e(this).resizable("instance"),i=t.options;e(i.alsoResize).each(function(){var
t=e(this);t.data("ui-resizable-
alsoresize",{width:parseInt(t.width(),10),height:parseInt(t.height(),10),left:p
arseInt(t.css("left"),10),top:parseInt(t.css("top"),10)})})},resize:function(t,i){va
r
s=e(this).resizable("instance"),n=s.options,a=s.originalSize,o=s.originalPositi
on,r={height:s.size.height-a.height||0,width:s.size.width-
a.width||0,top:s.position.top-o.top||0,left:s.position.left-
o.left||0};e(n.alsoResize).each(function(){var t=e(this),s=e(this).data("ui-
resizable-
alsoresize"),n={},a=t.parents(i.originalElement[0]).length?["width","height"]:
["width","height","top","left"];e.each(a,function(e,t){var
i=(s[t]||0)+(r[t]||0);i&&i>=0&&(n[t]=i||null)}),t.css(n)})},stop:function(){e(this).r
emoveData("resizable-
alsoresize")}}),e.ui.plugin.add("resizable","ghost",{start:function(){var
t=e(this).resizable("instance"),i=t.options,s=t.size;t.ghost=t.originalElement.
clone(),t.ghost.css({opacity:.25,display:"block",position:"relative",height:s.h
eight,width:s.width,margin:0,left:0,top:0}).addClass("ui-resizable-
ghost").addClass("string"==typeof
i.ghost?i.ghost:""),t.ghost.appendTo(t.helper)},resize:function(){var
t=e(this).resizable("instance");t.ghost&&t.ghost.css({position:"relative",heig
ht:t.size.height,width:t.size.width})},stop:function(){var
t=e(this).resizable("instance");t.ghost&&t.helper&&t.helper.get(0).removeC
hild(t.ghost.get(0))}}),e.ui.plugin.add("resizable","grid",{resize:function(){var
t,i=e(this).resizable("instance"),s=i.options,n=i.size,a=i.originalSize,o=i.origi
nalPosition,r=i.axis,h="number"==typeof
s.grid?[s.grid,s.grid]:s.grid,l=h[0]||1,u=h[1]||1,d=Math.round((n.width-
a.width)/l)*l,c=Math.round((n.height-
a.height)/u)*u,p=a.width+d,f=a.height+c,m=s.maxWidth&&p>s.maxWidth,g
=s.maxHeight&&f>s.maxHeight,v=s.minWidth&&s.minWidth>p,y=s.minHei
ght&&s.minHeight>f;s.grid=h,v&&(p+=l),y&&(f+=u),m&&(p-=l),g&&(f-
=u),/^(se|s|e)$/.test(r)?(i.size.width=p,i.size.height=f):/^(ne)$/.test(r)?(i.size.
width=p,i.size.height=f,i.position.top=o.top-
c):/^(sw)$/.test(r)?(i.size.width=p,i.size.height=f,i.position.left=o.left-
d):((0>=f-u||0>=p-l)&&(t=i._getPaddingPlusBorderDimensions(this)),f-
u>0?(i.size.height=f,i.position.top=o.top-c):(f=u-
t.height,i.size.height=f,i.position.top=o.top+a.height-f),p-
l>0?(i.size.width=p,i.position.left=o.left-d):(p=l-
t.width,i.size.width=p,i.position.left=o.left+a.width-
p))}}),e.ui.resizable,e.widget("ui.dialog",{version:"1.11.4",options:{appendTo:
"body",autoOpen:!0,buttons:[],closeOnEscape:!0,closeText:"Close",dialogCl
ass:"",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,m
inHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:wi
ndow,collision:"fit",using:function(t){var
i=e(this).css(t).offset().top;0>i&&e(this).css("top",t.top-
i)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,dra
g:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStar
t:null,resizeStop:null},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!
0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},resizableRelatedOption
s:{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.ele
ment[0].style.maxHeight,height:this.element[0].style.height},this.originalP
osition={parent:this.element.parent(),index:this.element.parent().children().
index(this.element)},this.originalTitle=this.element.attr("title"),this.options.
title=this.options.title||this.originalTitle,this._createWrapper(),this.element.
show().removeAttr("title").addClass("ui-dialog-content ui-widget-
content").appendTo(this.uiDialog),this._createTitlebar(),this._createButton
Pane(),this.options.draggable&&e.fn.draggable&&this._makeDraggable(),t
his.options.resizable&&e.fn.resizable&&this._makeResizable(),this._isOpen
=!1,this._trackFocus()},_init:function(){this.options.autoOpen&&this.open()},
_appendTo:function(){var t=this.options.appendTo;return
t&&(t.jquery||t.nodeType)?e(t):this.document.find(t||"body").eq(0)},_destroy
:function(){var
e,t=this.originalPosition;this._untrackInstance(),this._destroyOverlay(),this.
element.removeUniqueId().removeClass("ui-dialog-content ui-widget-
content").css(this.originalCss).detach(),this.uiDialog.stop(!0,!0).remove(),thi
s.originalTitle&&this.element.attr("title",this.originalTitle),e=t.parent.childr
en().eq(t.index),e.length&&e[0]!==this.element[0]?e.before(this.element):t.
parent.append(this.element)},widget:function(){return
this.uiDialog},disable:e.noop,enable:e.noop,close:function(t){var
i,s=this;if(this._isOpen&&this._trigger("beforeClose",t)!==!1){if(this._isOpen
=!1,this._focusedElement=null,this._destroyOverlay(),this._untrackInstance(
),!this.opener.filter(":focusable").focus().length)try{i=this.document[0].activ
eElement,i&&"body"!==i.nodeName.toLowerCase()&&e(i).blur()}catch(n){}t
his._hide(this.uiDialog,this.options.hide,function(){s._trigger("close",t)})}},is
Open:function(){return
this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:func
tion(t,i){var s=!1,n=this.uiDialog.siblings(".ui-
front:visible").map(function(){return+e(this).css("z-
index")}).get(),a=Math.max.apply(null,n);return a>=+this.uiDialog.css("z-
index")&&(this.uiDialog.css("z-
index",a+1),s=!0),s&&!i&&this._trigger("focus",t),s},open:function(){var
t=this;return this._isOpen?(this._moveToTop()&&this._focusTabbable(),void
0):(this._isOpen=!0,this.opener=e(this.document[0].activeElement),this._siz
e(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this.overl
ay&&this.overlay.css("z-index",this.uiDialog.css("z-index")-
1),this._show(this.uiDialog,this.options.show,function(){t._focusTabbable(),
t._trigger("focus")}),this._makeFocusTarget(),this._trigger("open"),void
0)},_focusTabbable:function(){var
e=this._focusedElement;e||(e=this.element.find("[autofocus]")),e.length||(e=
this.element.find(":tabbable")),e.length||(e=this.uiDialogButtonPane.find(":t
abbable")),e.length||(e=this.uiDialogTitlebarClose.filter(":tabbable")),e.lengt
h||(e=this.uiDialog),e.eq(0).focus()},_keepFocus:function(t){function i(){var
t=this.document[0].activeElement,i=this.uiDialog[0]===t||e.contains(this.ui
Dialog[0],t);i||this._focusTabbable()}t.preventDefault(),i.call(this),this._delay
(i)},_createWrapper:function(){this.uiDialog=e("<div>").addClass("ui-dialog
ui-widget ui-widget-content ui-corner-all ui-front
"+this.options.dialogClass).hide().attr({tabIndex:-
1,role:"dialog"}).appendTo(this._appendTo()),this._on(this.uiDialog,{keydow
n:function(t){if(this.options.closeOnEscape&&!t.isDefaultPrevented()&&t.ke
yCode&&t.keyCode===e.ui.keyCode.ESCAPE)return
t.preventDefault(),this.close(t),void 0;
if(t.keyCode===e.ui.keyCode.TAB&&!t.isDefaultPrevented()){var
i=this.uiDialog.find(":tabbable"),s=i.filter(":first"),n=i.filter(":last");t.target!==
n[0]&&t.target!==this.uiDialog[0]||t.shiftKey?t.target!==s[0]&&t.target!==th
is.uiDialog[0]||!t.shiftKey||(this._delay(function(){n.focus()}),t.preventDefault
()):(this._delay(function(){s.focus()}),t.preventDefault())}},mousedown:functi
on(e){this._moveToTop(e)&&this._focusTabbable()}}),this.element.find("[ari
a-describedby]").length||this.uiDialog.attr({"aria-
describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){
var t;this.uiDialogTitlebar=e("<div>").addClass("ui-dialog-titlebar ui-widget-
header ui-corner-all ui-helper-
clearfix").prependTo(this.uiDialog),this._on(this.uiDialogTitlebar,{mousedo
wn:function(t){e(t.target).closest(".ui-dialog-titlebar-
close")||this.uiDialog.focus()}}),this.uiDialogTitlebarClose=e("<button
type='button'></button>").button({label:this.options.closeText,icons:{prima
ry:"ui-icon-closethick"},text:!1}).addClass("ui-dialog-titlebar-
close").appendTo(this.uiDialogTitlebar),this._on(this.uiDialogTitlebarClose,{
click:function(e){e.preventDefault(),this.close(e)}}),t=e("<span>").uniqueId().
addClass("ui-dialog-
title").prependTo(this.uiDialogTitlebar),this._title(t),this.uiDialog.attr({"aria-
labelledby":t.attr("id")})},_title:function(e){this.options.title||e.html("&#160;
"),e.text(this.options.title)},_createButtonPane:function(){this.uiDialogButto
nPane=e("<div>").addClass("ui-dialog-buttonpane ui-widget-content ui-
helper-clearfix"),this.uiButtonSet=e("<div>").addClass("ui-dialog-
buttonset").appendTo(this.uiDialogButtonPane),this._createButtons()},_cre
ateButtons:function(){var t=this,i=this.options.buttons;return
this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),e.isEmptyObje
ct(i)||e.isArray(i)&&!i.length?(this.uiDialog.removeClass("ui-dialog-
buttons"),void 0):(e.each(i,function(i,s){var
n,a;s=e.isFunction(s)?{click:s,text:i}:s,s=e.extend({type:"button"},s),n=s.click,
s.click=function(){n.apply(t.element[0],arguments)},a={icons:s.icons,text:s.s
howText},delete s.icons,delete
s.showText,e("<button></button>",s).button(a).appendTo(t.uiButtonSet)}),t
his.uiDialog.addClass("ui-dialog-
buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog),void
0)},_makeDraggable:function(){function
t(e){return{position:e.position,offset:e.offset}}var
i=this,s=this.options;this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-
dialog-titlebar-close",handle:".ui-dialog-
titlebar",containment:"document",start:function(s,n){e(this).addClass("ui-
dialog-
dragging"),i._blockFrames(),i._trigger("dragStart",s,t(n))},drag:function(e,s){
i._trigger("drag",e,t(s))},stop:function(n,a){var o=a.offset.left-
i.document.scrollLeft(),r=a.offset.top-
i.document.scrollTop();s.position={my:"left top",at:"left"+(o>=0?"+":"")+o+"
"+"top"+(r>=0?"+":"")+r,of:i.window},e(this).removeClass("ui-dialog-
dragging"),i._unblockFrames(),i._trigger("dragStop",n,t(a))}})},_makeResiza
ble:function(){function
t(e){return{originalPosition:e.originalPosition,originalSize:e.originalSize,posi
tion:e.position,size:e.size}}var
i=this,s=this.options,n=s.resizable,a=this.uiDialog.css("position"),o="string"=
=typeof n?n:"n,e,s,w,se,sw,ne,nw";this.uiDialog.resizable({cancel:".ui-
dialog-
content",containment:"document",alsoResize:this.element,maxWidth:s.ma
xWidth,maxHeight:s.maxHeight,minWidth:s.minWidth,minHeight:this._min
Height(),handles:o,start:function(s,n){e(this).addClass("ui-dialog-
resizing"),i._blockFrames(),i._trigger("resizeStart",s,t(n))},resize:function(e,s
){i._trigger("resize",e,t(s))},stop:function(n,a){var
o=i.uiDialog.offset(),r=o.left-i.document.scrollLeft(),h=o.top-
i.document.scrollTop();s.height=i.uiDialog.height(),s.width=i.uiDialog.width
(),s.position={my:"left top",at:"left"+(r>=0?"+":"")+r+"
"+"top"+(h>=0?"+":"")+h,of:i.window},e(this).removeClass("ui-dialog-
resizing"),i._unblockFrames(),i._trigger("resizeStop",n,t(a))}}).css("position",
a)},_trackFocus:function(){this._on(this.widget(),{focusin:function(t){this._m
akeFocusTarget(),this._focusedElement=e(t.target)}})},_makeFocusTarget:f
unction(){this._untrackInstance(),this._trackingInstances().unshift(this)},_un
trackInstance:function(){var t=this._trackingInstances(),i=e.inArray(this,t);-
1!==i&&t.splice(i,1)},_trackingInstances:function(){var
e=this.document.data("ui-dialog-instances");return
e||(e=[],this.document.data("ui-dialog-
instances",e)),e},_minHeight:function(){var
e=this.options;return"auto"===e.height?e.minHeight:Math.min(e.minHeigh
t,e.height)},_position:function(){var
e=this.uiDialog.is(":visible");e||this.uiDialog.show(),this.uiDialog.position(thi
s.options.position),e||this.uiDialog.hide()},_setOptions:function(t){var
i=this,s=!1,n={};e.each(t,function(e,t){i._setOption(e,t),e in
i.sizeRelatedOptions&&(s=!0),e in
i.resizableRelatedOptions&&(n[e]=t)}),s&&(this._size(),this._position()),this.
uiDialog.is(":data(ui-
resizable)")&&this.uiDialog.resizable("option",n)},_setOption:function(e,t){v
ar
i,s,n=this.uiDialog;"dialogClass"===e&&n.removeClass(this.options.dialogCl
ass).addClass(t),"disabled"!==e&&(this._super(e,t),"appendTo"===e&&this.u
iDialog.appendTo(this._appendTo()),"buttons"===e&&this._createButtons()
,"closeText"===e&&this.uiDialogTitlebarClose.button({label:""+t}),"draggabl
e"===e&&(i=n.is(":data(ui-
draggable)"),i&&!t&&n.draggable("destroy"),!i&&t&&this._makeDraggable(
)),"position"===e&&this._position(),"resizable"===e&&(s=n.is(":data(ui-
resizable)"),s&&!t&&n.resizable("destroy"),s&&"string"==typeof
t&&n.resizable("option","handles",t),s||t===!1||this._makeResizable()),"title"
===e&&this._title(this.uiDialogTitlebar.find(".ui-dialog-
title")))},_size:function(){var
e,t,i,s=this.options;this.element.show().css({width:"auto",minHeight:0,max
Height:"none",height:0}),s.minWidth>s.width&&(s.width=s.minWidth),e=thi
s.uiDialog.css({height:"auto",width:s.width}).outerHeight(),t=Math.max(0,s.
minHeight-e),i="number"==typeof s.maxHeight?Math.max(0,s.maxHeight-
e):"none","auto"===s.height?this.element.css({minHeight:t,maxHeight:i,hei
ght:"auto"}):this.element.height(Math.max(0,s.height-
e)),this.uiDialog.is(":data(ui-
resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight(
))},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").
map(function(){var t=e(this);return
e("<div>").css({position:"absolute",width:t.outerWidth(),height:t.outerHeigh
t()}).appendTo(t.parent()).offset(t.offset())[0]})},_unblockFrames:function(){t
his.iframeBlocks&&(this.iframeBlocks.remove(),delete
this.iframeBlocks)},_allowInteraction:function(t){return
e(t.target).closest(".ui-dialog").length?!0:!!e(t.target).closest(".ui-
datepicker").length},_createOverlay:function(){if(this.options.modal){var
t=!0;this._delay(function(){t=!1}),this.document.data("ui-dialog-
overlays")||this._on(this.document,{focusin:function(e){t||this._allowInteracti
on(e)||(e.preventDefault(),this._trackingInstances()[0]._focusTabbable())}}),t
his.overlay=e("<div>").addClass("ui-widget-overlay ui-
front").appendTo(this._appendTo()),this._on(this.overlay,{mousedown:"_ke
epFocus"}),this.document.data("ui-dialog-
overlays",(this.document.data("ui-dialog-
overlays")||0)+1)}},_destroyOverlay:function(){if(this.options.modal&&this.o
verlay){var e=this.document.data("ui-dialog-overlays")-
1;e?this.document.data("ui-dialog-
overlays",e):this.document.unbind("focusin").removeData("ui-dialog-
overlays"),this.overlay.remove(),this.overlay=null}}}),e.widget("ui.droppable
",{version:"1.11.4",widgetEventPrefix:"drop",options:{accept:"*",activeClass:
!1,addClasses:!0,greedy:!1,hoverClass:!1,scope:"default",tolerance:"intersect
",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function()
{var
t,i=this.options,s=i.accept;this.isover=!1,this.isout=!0,this.accept=e.isFunctio
n(s)?s:function(e){return e.is(s)},this.proportions=function(){return
arguments.length?(t=arguments[0],void
0):t?t:t={width:this.element[0].offsetWidth,height:this.element[0].offsetHei
ght}},this._addToManager(i.scope),i.addClasses&&this.element.addClass("u
i-
droppable")},_addToManager:function(t){e.ui.ddmanager.droppables[t]=e.u
i.ddmanager.droppables[t]||[],e.ui.ddmanager.droppables[t].push(this)},_spl
ice:function(e){for(var
t=0;e.length>t;t++)e[t]===this&&e.splice(t,1)},_destroy:function(){var
t=e.ui.ddmanager.droppables[this.options.scope];this._splice(t),this.elemen
t.removeClass("ui-droppable ui-droppable-
disabled")},_setOption:function(t,i){if("accept"===t)this.accept=e.isFunction
(i)?i:function(e){return e.is(i)};else if("scope"===t){var
s=e.ui.ddmanager.droppables[this.options.scope];this._splice(s),this._addT
oManager(i)}this._super(t,i)},_activate:function(t){var
i=e.ui.ddmanager.current;this.options.activeClass&&this.element.addClass(
this.options.activeClass),i&&this._trigger("activate",t,this.ui(i))},_deactivate:
function(t){var
i=e.ui.ddmanager.current;this.options.activeClass&&this.element.removeCl
ass(this.options.activeClass),i&&this._trigger("deactivate",t,this.ui(i))},_over
:function(t){var
i=e.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0
]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this.options
.hoverClass&&this.element.addClass(this.options.hoverClass),this._trigger("
over",t,this.ui(i)))},_out:function(t){var
i=e.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0
]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this.options
.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trig
ger("out",t,this.ui(i)))},_drop:function(t,i){var
s=i||e.ui.ddmanager.current,n=!1;return
s&&(s.currentItem||s.element)[0]!==this.element[0]?(this.element.find(":dat
a(ui-droppable)").not(".ui-draggable-dragging").each(function(){var
i=e(this).droppable("instance");return
i.options.greedy&&!i.options.disabled&&i.options.scope===s.options.scope
&&i.accept.call(i.element[0],s.currentItem||s.element)&&e.ui.intersect(s,e.e
xtend(i,{offset:i.element.offset()}),i.options.tolerance,t)?(n=!0,!1):void
0}),n?!1:this.accept.call(this.element[0],s.currentItem||s.element)?(this.optio
ns.activeClass&&this.element.removeClass(this.options.activeClass),this.op
tions.hoverClass&&this.element.removeClass(this.options.hoverClass),this.
_trigger("drop",t,this.ui(s)),this.element):!1):!1},ui:function(e){return{dragga
ble:e.currentItem||e.element,helper:e.helper,position:e.position,offset:e.pos
itionAbs}}}),e.ui.intersect=function(){function e(e,t,i){return
e>=t&&t+i>e}return function(t,i,s,n){if(!i.offset)return!1;var
a=(t.positionAbs||t.position.absolute).left+t.margins.left,o=(t.positionAbs||t.
position.absolute).top+t.margins.top,r=a+t.helperProportions.width,h=o+t.
helperProportions.height,l=i.offset.left,u=i.offset.top,d=l+i.proportions().wi
dth,c=u+i.proportions().height;switch(s){case"fit":return
a>=l&&d>=r&&o>=u&&c>=h;case"intersect":return
a+t.helperProportions.width/2>l&&d>r-
t.helperProportions.width/2&&o+t.helperProportions.height/2>u&&c>h-
t.helperProportions.height/2;case"pointer":return
e(n.pageY,u,i.proportions().height)&&e(n.pageX,l,i.proportions().width);cas
e"touch":return(o>=u&&c>=o||h>=u&&c>=h||u>o&&h>c)&&(a>=l&&d>=a||r>
=l&&d>=r||l>a&&r>d);default:return!1}}}(),e.ui.ddmanager={current:null,drop
pables:{"default":[]},prepareOffsets:function(t,i){var
s,n,a=e.ui.ddmanager.droppables[t.options.scope]||[],o=i?i.type:null,r=(t.cur
rentItem||t.element).find(":data(ui-
droppable)").addBack();e:for(s=0;a.length>s;s++)if(!(a[s].options.disabled||t
&&!a[s].accept.call(a[s].element[0],t.currentItem||t.element))){for(n=0;r.len
gth>n;n++)if(r[n]===a[s].element[0]){a[s].proportions().height=0;continue
e}a[s].visible="none"!==a[s].element.css("display"),a[s].visible&&("mousedo
wn"===o&&a[s]._activate.call(a[s],i),a[s].offset=a[s].element.offset(),a[s].pr
oportions({width:a[s].element[0].offsetWidth,height:a[s].element[0].offset
Height}))}},drop:function(t,i){var s=!1;return
e.each((e.ui.ddmanager.droppables[t.options.scope]||[]).slice(),function(){thi
s.options&&(!this.options.disabled&&this.visible&&e.ui.intersect(t,this,this.
options.tolerance,i)&&(s=this._drop.call(this,i)||s),!this.options.disabled&&t
his.visible&&this.accept.call(this.element[0],t.currentItem||t.element)&&(thi
s.isout=!0,this.isover=!1,this._deactivate.call(this,i)))}),s},dragStart:function(
t,i){t.element.parentsUntil("body").bind("scroll.droppable",function(){t.optio
ns.refreshPositions||e.ui.ddmanager.prepareOffsets(t,i)})},drag:function(t,i){
t.options.refreshPositions&&e.ui.ddmanager.prepareOffsets(t,i),e.each(e.ui
.ddmanager.droppables[t.options.scope]||[],function(){if(!this.options.disabl
ed&&!this.greedyChild&&this.visible){var
s,n,a,o=e.ui.intersect(t,this,this.options.tolerance,i),r=!o&&this.isover?"isout
":o&&!this.isover?"isover":null;r&&(this.options.greedy&&(n=this.options.sc
ope,a=this.element.parents(":data(ui-droppable)").filter(function(){return
e(this).droppable("instance").options.scope===n}),a.length&&(s=e(a[0]).dro
ppable("instance"),s.greedyChild="isover"===r)),s&&"isover"===r&&(s.isover
=!1,s.isout=!0,s._out.call(s,i)),this[r]=!0,this["isout"===r?"isover":"isout"]=!1,t
his["isover"===r?"_over":"_out"].call(this,i),s&&"isout"===r&&(s.isout=!1,s.is
over=!0,s._over.call(s,i)))}})},dragStop:function(t,i){t.element.parentsUntil("b
ody").unbind("scroll.droppable"),t.options.refreshPositions||e.ui.ddmanager.
prepareOffsets(t,i)}},e.ui.droppable;var y="ui-effects-
",b=e;e.effects={effect:{}},function(e,t){function i(e,t,i){var
s=d[t.type]||{};return
null==e?i||!t.def?null:t.def:(e=s.floor?~~e:parseFloat(e),isNaN(e)?t.def:s.mod
?(e+s.mod)%s.mod:0>e?0:e>s.max?s.max:e)}function s(i){var
s=l(),n=s._rgba=[];return i=i.toLowerCase(),f(h,function(e,a){var
o,r=a.re.exec(i),h=r&&a.parse(r),l=a.space||"rgba";return
h?(o=s[l](h),s[u[l].cache]=o[u[l].cache],n=s._rgba=o._rgba,!1):t}),n.length?("
0,0,0,0"===n.join()&&e.extend(n,a.transparent),s):a[i]}function
n(e,t,i){return i=(i+1)%1,1>6*i?e+6*(t-e)*i:1>2*i?t:2>3*i?e+6*(t-e)*(2/3-
i):e}var a,o="backgroundColor borderBottomColor borderLeftColor
borderRightColor borderTopColor color columnRuleColor outlineColor
textDecorationColor textEmphasisColor",r=/^([\-
+])=\s*(\d+\.?\d*)/,h=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(
?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/r
gba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,
\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[2.55*e[1],2.55*e[2],2.55*e[
3],e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-
9]{2})/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e
[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-
9])/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),pa
rseInt(e[3]+e[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s
*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e
){return[e[1],e[2]/100,e[3]/100,e[4]]}}],l=e.Color=function(t,i,s,n){return new
e.Color.fn.parse(t,i,s,n)},u={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"}}}},d={"byt
e":{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},c=l.suppor
t={},p=e("<p>")[0],f=e.each;p.style.cssText="background-
color:rgba(1,1,1,.5)",c.rgba=p.style.backgroundColor.indexOf("rgba")>-
1,f(u,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}})
,l.fn=e.extend(l.prototype,{parse:function(n,o,r,h){if(n===t)return
this._rgba=[null,null,null,null],this;(n.jquery||n.nodeType)&&(n=e(n).css(o),o
=t);var d=this,c=e.type(n),p=this._rgba=[];return
o!==t&&(n=[n,o,r,h],c="array"),"string"===c?this.parse(s(n)||a._default):"arra
y"===c?(f(u.rgba.props,function(e,t){p[t.idx]=i(n[t.idx],t)}),this):"object"===c
?(n instanceof
l?f(u,function(e,t){n[t.cache]&&(d[t.cache]=n[t.cache].slice())}):f(u,function(t
,s){var
a=s.cache;f(s.props,function(e,t){if(!d[a]&&s.to){if("alpha"===e||null==n[e])r
eturn;d[a]=s.to(d._rgba)}d[a][t.idx]=i(n[e],t,!0)}),d[a]&&0>e.inArray(null,d[a]
.slice(0,3))&&(d[a][3]=1,s.from&&(d._rgba=s.from(d[a])))}),this):t},is:function
(e){var i=l(e),s=!0,n=this;return f(u,function(e,a){var o,r=i[a.cache];return
r&&(o=n[a.cache]||a.to&&a.to(n._rgba)||[],f(a.props,function(e,i){return
null!=r[i.idx]?s=r[i.idx]===o[i.idx]:t})),s}),s},_space:function(){var
e=[],t=this;return
f(u,function(i,s){t[s.cache]&&e.push(i)}),e.pop()},transition:function(e,t){var
s=l(e),n=s._space(),a=u[n],o=0===this.alpha()?l("transparent"):this,r=o[a.cac
he]||a.to(o._rgba),h=r.slice();return s=s[a.cache],f(a.props,function(e,n){var
a=n.idx,o=r[a],l=s[a],u=d[n.type]||{};null!==l&&(null===o?h[a]=l:(u.mod&&(l-
o>u.mod/2?o+=u.mod:o-l>u.mod/2&&(o-=u.mod)),h[a]=i((l-
o)*t+o,n)))}),this[n](h)},blend:function(t){if(1===this._rgba[3])return this;var
i=this._rgba.slice(),s=i.pop(),n=l(t)._rgba;return
l(e.map(i,function(e,t){return(1-s)*n[t]+s*e}))},toRgbaString:function(){var
t="rgba(",i=e.map(this._rgba,function(e,t){return null==e?t>2?1:0:e});return
1===i[3]&&(i.pop(),t="rgb("),t+i.join()+")"},toHslaString:function(){var
t="hsla(",i=e.map(this.hsla(),function(e,t){return
null==e&&(e=t>2?1:0),t&&3>t&&(e=Math.round(100*e)+"%"),e});return
1===i[3]&&(i.pop(),t="hsl("),t+i.join()+")"},toHexString:function(t){var
i=this._rgba.slice(),s=i.pop();return
t&&i.push(~~(255*s)),"#"+e.map(i,function(e){return
e=(e||0).toString(16),1===e.length?"0"+e:e}).join("")},toString:function(){retu
rn
0===this._rgba[3]?"transparent":this.toRgbaString()}}),l.fn.parse.prototype=
l.fn,u.hsla.to=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,
null,e[3]];var
t,i,s=e[0]/255,n=e[1]/255,a=e[2]/255,o=e[3],r=Math.max(s,n,a),h=Math.min(s
,n,a),l=r-h,u=r+h,d=.5*u;return t=h===r?0:s===r?60*(n-
a)/l+360:n===r?60*(a-s)/l+120:60*(s-n)/l+240,i=0===l?0:.5>=d?l/u:l/(2-
u),[Math.round(t)%360,i,d,null==o?1:o]},u.hsla.from=function(e){if(null==e[0
]||null==e[1]||null==e[2])return[null,null,null,e[3]];var
t=e[0]/360,i=e[1],s=e[2],a=e[3],o=.5>=s?s*(1+i):s+i-s*i,r=2*s-
o;return[Math.round(255*n(r,o,t+1/3)),Math.round(255*n(r,o,t)),Math.round
(255*n(r,o,t-1/3)),a]},f(u,function(s,n){var
a=n.props,o=n.cache,h=n.to,u=n.from;l.fn[s]=function(s){if(h&&!this[o]&&(t
his[o]=h(this._rgba)),s===t)return this[o].slice();var
n,r=e.type(s),d="array"===r||"object"===r?s:arguments,c=this[o].slice();retur
n f(a,function(e,t){var
s=d["object"===r?e:t.idx];null==s&&(s=c[t.idx]),c[t.idx]=i(s,t)}),u?(n=l(u(c)),n[
o]=c,n):l(c)},f(a,function(t,i){l.fn[t]||(l.fn[t]=function(n){var
a,o=e.type(n),h="alpha"===t?this._hsla?"hsla":"rgba":s,l=this[h](),u=l[i.idx];r
eturn"undefined"===o?u:("function"===o&&(n=n.call(this,u),o=e.type(n)),nu
ll==n&&i.empty?this:("string"===o&&(a=r.exec(n),a&&(n=u+parseFloat(a[2])
*("+"===a[1]?1:-1))),l[i.idx]=n,this[h](l)))})})}),l.hook=function(t){var i=t.split("
");f(i,function(t,i){e.cssHooks[i]={set:function(t,n){var
a,o,r="";if("transparent"!==n&&("string"!==e.type(n)||(a=s(n)))){if(n=l(a||n),!c.
rgba&&1!==n._rgba[3]){for(o="backgroundColor"===i?t.parentNode:t;(""===
r||"transparent"===r)&&o&&o.style;)try{r=e.css(o,"backgroundColor"),o=o.p
arentNode}catch(h){}n=n.blend(r&&"transparent"!==r?r:"_default")}n=n.toR
gbaString()}try{t.style[i]=n}catch(h){}}},e.fx.step[i]=function(t){t.colorInit||(t.s
tart=l(t.elem,i),t.end=l(t.end),t.colorInit=!0),e.cssHooks[i].set(t.elem,t.start.t
ransition(t.end,t.pos))}})},l.hook(o),e.cssHooks.borderColor={expand:functio
n(e){var t={};return
f(["Top","Right","Bottom","Left"],function(i,s){t["border"+s+"Color"]=e}),t}},
a=e.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"
#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#80000
0",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"
#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,n
ull,null,0],_default:"#ffffff"}}(b),function(){function t(t){var
i,s,n=t.ownerDocument.defaultView?t.ownerDocument.defaultView.getCo
mputedStyle(t,null):t.currentStyle,a={};if(n&&n.length&&n[0]&&n[n[0]])for(
s=n.length;s--;)i=n[s],"string"==typeof n[i]&&(a[e.camelCase(i)]=n[i]);else
for(i in n)"string"==typeof n[i]&&(a[i]=n[i]);return a}function i(t,i){var
s,a,o={};for(s in
i)a=i[s],t[s]!==a&&(n[s]||(e.fx.step[s]||!isNaN(parseFloat(a)))&&(o[s]=a));retur
n o}var
s=["add","remove","toggle"],n={border:1,borderBottom:1,borderColor:1,bor
derLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};e.e
ach(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTop
Style"],function(t,i){e.fx.step[i]=function(e){("none"!==e.end&&!e.setAttr||1=
==e.pos&&!e.setAttr)&&(b.style(e.elem,i,e.end),e.setAttr=!0)}}),e.fn.addBac
k||(e.fn.addBack=function(e){return
this.add(null==e?this.prevObject:this.prevObject.filter(e))}),e.effects.animat
eClass=function(n,a,o,r){var h=e.speed(a,o,r);return
this.queue(function(){var
a,o=e(this),r=o.attr("class")||"",l=h.children?o.find("*").addBack():o;l=l.map(f
unction(){var
i=e(this);return{el:i,start:t(this)}}),a=function(){e.each(s,function(e,t){n[t]&&
o[t+"Class"](n[t])})},a(),l=l.map(function(){return
this.end=t(this.el[0]),this.diff=i(this.start,this.end),this}),o.attr("class",r),l=l.
map(function(){var
t=this,i=e.Deferred(),s=e.extend({},h,{queue:!1,complete:function(){i.resolve(
t)}});return
this.el.animate(this.diff,s),i.promise()}),e.when.apply(e,l.get()).done(functio
n(){a(),e.each(arguments,function(){var
t=this.el;e.each(this.diff,function(e){t.css(e,"")})}),h.complete.call(o[0])})})},e.
fn.extend({addClass:function(t){return function(i,s,n,a){return
s?e.effects.animateClass.call(this,{add:i},s,n,a):t.apply(this,arguments)}}(e.f
n.addClass),removeClass:function(t){return function(i,s,n,a){return
arguments.length>1?e.effects.animateClass.call(this,{remove:i},s,n,a):t.appl
y(this,arguments)}}(e.fn.removeClass),toggleClass:function(t){return
function(i,s,n,a,o){return"boolean"==typeof s||void
0===s?n?e.effects.animateClass.call(this,s?{add:i}:{remove:i},n,a,o):t.apply(t
his,arguments):e.effects.animateClass.call(this,{toggle:i},s,n,a)}}(e.fn.toggle
Class),switchClass:function(t,i,s,n,a){return
e.effects.animateClass.call(this,{add:i,remove:t},s,n,a)}})}(),function(){functi
on t(t,i,s,n){return
e.isPlainObject(t)&&(i=t,t=t.effect),t={effect:t},null==i&&(i={}),e.isFunction(i)
&&(n=i,s=null,i={}),("number"==typeof
i||e.fx.speeds[i])&&(n=s,s=i,i={}),e.isFunction(s)&&(n=s,s=null),i&&e.extend(t
,i),s=s||i.duration,t.duration=e.fx.off?0:"number"==typeof s?s:s in
e.fx.speeds?e.fx.speeds[s]:e.fx.speeds._default,t.complete=n||i.complete,t}f
unction i(t){return!t||"number"==typeof t||e.fx.speeds[t]?!0:"string"!=typeof
t||e.effects.effect[t]?e.isFunction(t)?!0:"object"!=typeof
t||t.effect?!1:!0:!0}e.extend(e.effects,{version:"1.11.4",save:function(e,t){for(
var
i=0;t.length>i;i++)null!==t[i]&&e.data(y+t[i],e[0].style[t[i]])},restore:function
(e,t){var i,s;for(s=0;t.length>s;s++)null!==t[s]&&(i=e.data(y+t[s]),void
0===i&&(i=""),e.css(t[s],i))},setMode:function(e,t){return"toggle"===t&&(t=e
.is(":hidden")?"show":"hide"),t},getBaseline:function(e,t){var
i,s;switch(e[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=
1;break;default:i=e[0]/t.height}switch(e[1]){case"left":s=0;break;case"center
":s=.5;break;case"right":s=1;break;default:s=e[1]/t.width}return{x:s,y:i}},crea
teWrapper:function(t){if(t.parent().is(".ui-effects-wrapper"))return
t.parent();var
i={width:t.outerWidth(!0),height:t.outerHeight(!0),"float":t.css("float")},s=e("
<div></div>").addClass("ui-effects-
wrapper").css({fontSize:"100%",background:"transparent",border:"none",m
argin:0,padding:0}),n={width:t.width(),height:t.height()},a=document.active
Element;try{a.id}catch(o){a=document.body}return
t.wrap(s),(t[0]===a||e.contains(t[0],a))&&e(a).focus(),s=t.parent(),"static"===
t.css("position")?(s.css({position:"relative"}),t.css({position:"relative"})):(e.ext
end(i,{position:t.css("position"),zIndex:t.css("z-
index")}),e.each(["top","left","bottom","right"],function(e,s){i[s]=t.css(s),isNa
N(parseInt(i[s],10))&&(i[s]="auto")}),t.css({position:"relative",top:0,left:0,rig
ht:"auto",bottom:"auto"})),t.css(n),s.css(i).show()},removeWrapper:function(
t){var i=document.activeElement;return t.parent().is(".ui-effects-
wrapper")&&(t.parent().replaceWith(t),(t[0]===i||e.contains(t[0],i))&&e(i).foc
us()),t},setTransition:function(t,i,s,n){return n=n||{},e.each(i,function(e,i){var
a=t.cssUnit(i);a[0]>0&&(n[i]=a[0]*s+a[1])}),n}}),e.fn.extend({effect:function()
{function i(t){function
i(){e.isFunction(a)&&a.call(n[0]),e.isFunction(t)&&t()}var
n=e(this),a=s.complete,r=s.mode;(n.is(":hidden")?"hide"===r:"show"===r)?(n
[r](),i()):o.call(n[0],s,i)}var
s=t.apply(this,arguments),n=s.mode,a=s.queue,o=e.effects.effect[s.effect];r
eturn
e.fx.off||!o?n?this[n](s.duration,s.complete):this.each(function(){s.complete
&&s.complete.call(this)}):a===!1?this.each(i):this.queue(a||"fx",i)},show:func
tion(e){return function(s){if(i(s))return e.apply(this,arguments);var
n=t.apply(this,arguments);return
n.mode="show",this.effect.call(this,n)}}(e.fn.show),hide:function(e){return
function(s){if(i(s))return e.apply(this,arguments);var
n=t.apply(this,arguments);return
n.mode="hide",this.effect.call(this,n)}}(e.fn.hide),toggle:function(e){return
function(s){if(i(s)||"boolean"==typeof s)return e.apply(this,arguments);var
n=t.apply(this,arguments);return
n.mode="toggle",this.effect.call(this,n)}}(e.fn.toggle),cssUnit:function(t){var
i=this.css(t),s=[];return
e.each(["em","px","%","pt"],function(e,t){i.indexOf(t)>0&&(s=[parseFloat(i),t
])}),s}})}(),function(){var
t={};e.each(["Quad","Cubic","Quart","Quint","Expo"],function(e,i){t[i]=functi
on(t){return Math.pow(t,e+2)}}),e.extend(t,{Sine:function(e){return 1-
Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-
e*e)},Elastic:function(e){return 0===e||1===e?e:-Math.pow(2,8*(e-
1))*Math.sin((80*(e-1)-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-
2)},Bounce:function(e){for(var t,i=4;((t=Math.pow(2,--i))-1)/11>e;);return
1/Math.pow(4,3-i)-7.5625*Math.pow((3*t-2)/22-
e,2)}}),e.each(t,function(t,i){e.easing["easeIn"+t]=i,e.easing["easeOut"+t]=fu
nction(e){return 1-i(1-
e)},e.easing["easeInOut"+t]=function(e){return.5>e?i(2*e)/2:1-i(-
2*e+2)/2}})}(),e.effects,e.effects.effect.blind=function(t,i){var
s,n,a,o=e(this),r=/up|down|vertical/,h=/up|left|vertical|horizontal/,l=["positio
n","top","bottom","left","right","height","width"],u=e.effects.setMode(o,t.m
ode||"hide"),d=t.direction||"up",c=r.test(d),p=c?"height":"width",f=c?"top":"l
eft",m=h.test(d),g={},v="show"===u;o.parent().is(".ui-effects-
wrapper")?e.effects.save(o.parent(),l):e.effects.save(o,l),o.show(),s=e.effect
s.createWrapper(o).css({overflow:"hidden"}),n=s[p](),a=parseFloat(s.css(f))||
0,g[p]=v?n:0,m||(o.css(c?"bottom":"right",0).css(c?"top":"left","auto").css({p
osition:"absolute"}),g[f]=v?a:n+a),v&&(s.css(p,0),m||s.css(f,a+n)),s.animate(g
,{duration:t.duration,easing:t.easing,queue:!1,complete:function(){"hide"==
=u&&o.hide(),e.effects.restore(o,l),e.effects.removeWrapper(o),i()}})},e.effe
cts.effect.bounce=function(t,i){var
s,n,a,o=e(this),r=["position","top","bottom","left","right","height","width"],h
=e.effects.setMode(o,t.mode||"effect"),l="hide"===h,u="show"===h,d=t.dire
ction||"up",c=t.distance,p=t.times||5,f=2*p+(u||l?1:0),m=t.duration/f,g=t.easi
ng,v="up"===d||"down"===d?"top":"left",y="up"===d||"left"===d,b=o.queue(
),_=b.length;for((u||l)&&r.push("opacity"),e.effects.save(o,r),o.show(),e.effec
ts.createWrapper(o),c||(c=o["top"===v?"outerHeight":"outerWidth"]()/3),u&
&(a={opacity:1},a[v]=0,o.css("opacity",0).css(v,y?2*-
c:2*c).animate(a,m,g)),l&&(c/=Math.pow(2,p-
1)),a={},a[v]=0,s=0;p>s;s++)n={},n[v]=(y?"-
=":"+=")+c,o.animate(n,m,g).animate(a,m,g),c=l?2*c:c/2;l&&(n={opacity:0},n
[v]=(y?"-
=":"+=")+c,o.animate(n,m,g)),o.queue(function(){l&&o.hide(),e.effects.restor
e(o,r),e.effects.removeWrapper(o),i()}),_>1&&b.splice.apply(b,[1,0].concat(b
.splice(_,f+1))),o.dequeue()},e.effects.effect.clip=function(t,i){var
s,n,a,o=e(this),r=["position","top","bottom","left","right","height","width"],h
=e.effects.setMode(o,t.mode||"hide"),l="show"===h,u=t.direction||"vertical",
d="vertical"===u,c=d?"height":"width",p=d?"top":"left",f={};e.effects.save(o,
r),o.show(),s=e.effects.createWrapper(o).css({overflow:"hidden"}),n="IMG"=
==o[0].tagName?s:o,a=n[c](),l&&(n.css(c,0),n.css(p,a/2)),f[c]=l?a:0,f[p]=l?0:a
/2,n.animate(f,{queue:!1,duration:t.duration,easing:t.easing,complete:functi
on(){l||o.hide(),e.effects.restore(o,r),e.effects.removeWrapper(o),i()}})},e.eff
ects.effect.drop=function(t,i){var
s,n=e(this),a=["position","top","bottom","left","right","opacity","height","wi
dth"],o=e.effects.setMode(n,t.mode||"hide"),r="show"===o,h=t.direction||"le
ft",l="up"===h||"down"===h?"top":"left",u="up"===h||"left"===h?"pos":"neg"
,d={opacity:r?1:0};e.effects.save(n,a),n.show(),e.effects.createWrapper(n),s=
t.distance||n["top"===l?"outerHeight":"outerWidth"](!0)/2,r&&n.css("opacity
",0).css(l,"pos"===u?-s:s),d[l]=(r?"pos"===u?"+=":"-=":"pos"===u?"-
=":"+=")+s,n.animate(d,{queue:!1,duration:t.duration,easing:t.easing,comple
te:function(){"hide"===o&&n.hide(),e.effects.restore(n,a),e.effects.remove
Wrapper(n),i()}})},e.effects.effect.explode=function(t,i){function
s(){b.push(this),b.length===d*c&&n()}function
n(){p.css({visibility:"visible"}),e(b).remove(),m||p.hide(),i()}var
a,o,r,h,l,u,d=t.pieces?Math.round(Math.sqrt(t.pieces)):3,c=d,p=e(this),f=e.ef
fects.setMode(p,t.mode||"hide"),m="show"===f,g=p.show().css("visibility","
hidden").offset(),v=Math.ceil(p.outerWidth()/c),y=Math.ceil(p.outerHeight()/
d),b=[];for(a=0;d>a;a++)for(h=g.top+a*y,u=a-(d-
1)/2,o=0;c>o;o++)r=g.left+o*v,l=o-(c-
1)/2,p.clone().appendTo("body").wrap("<div></div>").css({position:"absolute
",visibility:"visible",left:-o*v,top:-a*y}).parent().addClass("ui-effects-
explode").css({position:"absolute",overflow:"hidden",width:v,height:y,left:r+
(m?l*v:0),top:h+(m?u*y:0),opacity:m?0:1}).animate({left:r+(m?0:l*v),top:h+
(m?0:u*y),opacity:m?1:0},t.duration||500,t.easing,s)},e.effects.effect.fade=f
unction(t,i){var
s=e(this),n=e.effects.setMode(s,t.mode||"toggle");s.animate({opacity:n},{qu
eue:!1,duration:t.duration,easing:t.easing,complete:i})},e.effects.effect.fold
=function(t,i){var
s,n,a=e(this),o=["position","top","bottom","left","right","height","width"],r=e
.effects.setMode(a,t.mode||"hide"),h="show"===r,l="hide"===r,u=t.size||15,d
=/([0-
9]+)%/.exec(u),c=!!t.horizFirst,p=h!==c,f=p?["width","height"]:["height","wid
th"],m=t.duration/2,g={},v={};e.effects.save(a,o),a.show(),s=e.effects.create
Wrapper(a).css({overflow:"hidden"}),n=p?[s.width(),s.height()]:[s.height(),s.
width()],d&&(u=parseInt(d[1],10)/100*n[l?0:1]),h&&s.css(c?{height:0,width:u
}:{height:u,width:0}),g[f[0]]=h?n[0]:u,v[f[1]]=h?n[1]:0,s.animate(g,m,t.easing
).animate(v,m,t.easing,function(){l&&a.hide(),e.effects.restore(a,o),e.effects
.removeWrapper(a),i()})},e.effects.effect.highlight=function(t,i){var
s=e(this),n=["backgroundImage","backgroundColor","opacity"],a=e.effects.s
etMode(s,t.mode||"show"),o={backgroundColor:s.css("backgroundColor")};"
hide"===a&&(o.opacity=0),e.effects.save(s,n),s.show().css({backgroundIma
ge:"none",backgroundColor:t.color||"#ffff99"}).animate(o,{queue:!1,duratio
n:t.duration,easing:t.easing,complete:function(){"hide"===a&&s.hide(),e.eff
ects.restore(s,n),i()}})},e.effects.effect.size=function(t,i){var
s,n,a,o=e(this),r=["position","top","bottom","left","right","width","height","o
verflow","opacity"],h=["position","top","bottom","left","right","overflow","o
pacity"],l=["width","height","overflow"],u=["fontSize"],d=["borderTopWidth"
,"borderBottomWidth","paddingTop","paddingBottom"],c=["borderLeftWid
th","borderRightWidth","paddingLeft","paddingRight"],p=e.effects.setMode
(o,t.mode||"effect"),f=t.restore||"effect"!==p,m=t.scale||"both",g=t.origin||["
middle","center"],v=o.css("position"),y=f?r:h,b={height:0,width:0,outerHeig
ht:0,outerWidth:0};"show"===p&&o.show(),s={height:o.height(),width:o.wi
dth(),outerHeight:o.outerHeight(),outerWidth:o.outerWidth()},"toggle"===t
.mode&&"show"===p?(o.from=t.to||b,o.to=t.from||s):(o.from=t.from||("show
"===p?b:s),o.to=t.to||("hide"===p?b:s)),a={from:{y:o.from.height/s.height,x:
o.from.width/s.width},to:{y:o.to.height/s.height,x:o.to.width/s.width}},("box
"===m||"both"===m)&&(a.from.y!==a.to.y&&(y=y.concat(d),o.from=e.effect
s.setTransition(o,d,a.from.y,o.from),o.to=e.effects.setTransition(o,d,a.to.y,
o.to)),a.from.x!==a.to.x&&(y=y.concat(c),o.from=e.effects.setTransition(o,c,
a.from.x,o.from),o.to=e.effects.setTransition(o,c,a.to.x,o.to))),("content"==
=m||"both"===m)&&a.from.y!==a.to.y&&(y=y.concat(u).concat(l),o.from=e.
effects.setTransition(o,u,a.from.y,o.from),o.to=e.effects.setTransition(o,u,a
.to.y,o.to)),e.effects.save(o,y),o.show(),e.effects.createWrapper(o),o.css("ov
erflow","hidden").css(o.from),g&&(n=e.effects.getBaseline(g,s),o.from.top=
(s.outerHeight-o.outerHeight())*n.y,o.from.left=(s.outerWidth-
o.outerWidth())*n.x,o.to.top=(s.outerHeight-
o.to.outerHeight)*n.y,o.to.left=(s.outerWidth-
o.to.outerWidth)*n.x),o.css(o.from),("content"===m||"both"===m)&&(d=d.c
oncat(["marginTop","marginBottom"]).concat(u),c=c.concat(["marginLeft","
marginRight"]),l=r.concat(d).concat(c),o.find("*[width]").each(function(){var
i=e(this),s={height:i.height(),width:i.width(),outerHeight:i.outerHeight(),out
erWidth:i.outerWidth()};
f&&e.effects.save(i,l),i.from={height:s.height*a.from.y,width:s.width*a.fro
m.x,outerHeight:s.outerHeight*a.from.y,outerWidth:s.outerWidth*a.from.
x},i.to={height:s.height*a.to.y,width:s.width*a.to.x,outerHeight:s.height*a.
to.y,outerWidth:s.width*a.to.x},a.from.y!==a.to.y&&(i.from=e.effects.setTr
ansition(i,d,a.from.y,i.from),i.to=e.effects.setTransition(i,d,a.to.y,i.to)),a.fro
m.x!==a.to.x&&(i.from=e.effects.setTransition(i,c,a.from.x,i.from),i.to=e.eff
ects.setTransition(i,c,a.to.x,i.to)),i.css(i.from),i.animate(i.to,t.duration,t.easi
ng,function(){f&&e.effects.restore(i,l)})})),o.animate(o.to,{queue:!1,duration:
t.duration,easing:t.easing,complete:function(){0===o.to.opacity&&o.css("op
acity",o.from.opacity),"hide"===p&&o.hide(),e.effects.restore(o,y),f||("static
"===v?o.css({position:"relative",top:o.to.top,left:o.to.left}):e.each(["top","lef
t"],function(e,t){o.css(t,function(t,i){var
s=parseInt(i,10),n=e?o.to.left:o.to.top;return"auto"===i?n+"px":s+n+"px"})}))
,e.effects.removeWrapper(o),i()}})},e.effects.effect.scale=function(t,i){var
s=e(this),n=e.extend(!0,{},t),a=e.effects.setMode(s,t.mode||"effect"),o=parse
Int(t.percent,10)||(0===parseInt(t.percent,10)?0:"hide"===a?0:100),r=t.direct
ion||"both",h=t.origin,l={height:s.height(),width:s.width(),outerHeight:s.oute
rHeight(),outerWidth:s.outerWidth()},u={y:"horizontal"!==r?o/100:1,x:"vertic
al"!==r?o/100:1};n.effect="size",n.queue=!1,n.complete=i,"effect"!==a&&(n.o
rigin=h||["middle","center"],n.restore=!0),n.from=t.from||("show"===a?{heig
ht:0,width:0,outerHeight:0,outerWidth:0}:l),n.to={height:l.height*u.y,width
:l.width*u.x,outerHeight:l.outerHeight*u.y,outerWidth:l.outerWidth*u.x},n.
fade&&("show"===a&&(n.from.opacity=0,n.to.opacity=1),"hide"===a&&(n.f
rom.opacity=1,n.to.opacity=0)),s.effect(n)},e.effects.effect.puff=function(t,i)
{var
s=e(this),n=e.effects.setMode(s,t.mode||"hide"),a="hide"===n,o=parseInt(t.p
ercent,10)||150,r=o/100,h={height:s.height(),width:s.width(),outerHeight:s.o
uterHeight(),outerWidth:s.outerWidth()};e.extend(t,{effect:"scale",queue:!1,
fade:!0,mode:n,complete:i,percent:a?o:100,from:a?h:{height:h.height*r,wid
th:h.width*r,outerHeight:h.outerHeight*r,outerWidth:h.outerWidth*r}}),s.e
ffect(t)},e.effects.effect.pulsate=function(t,i){var
s,n=e(this),a=e.effects.setMode(n,t.mode||"show"),o="show"===a,r="hide"=
==a,h=o||"hide"===a,l=2*(t.times||5)+(h?1:0),u=t.duration/l,d=0,c=n.queue(),
p=c.length;for((o||!n.is(":visible"))&&(n.css("opacity",0).show(),d=1),s=1;l>s;s
++)n.animate({opacity:d},u,t.easing),d=1-
d;n.animate({opacity:d},u,t.easing),n.queue(function(){r&&n.hide(),i()}),p>1
&&c.splice.apply(c,[1,0].concat(c.splice(p,l+1))),n.dequeue()},e.effects.effect
.shake=function(t,i){var
s,n=e(this),a=["position","top","bottom","left","right","height","width"],o=e.
effects.setMode(n,t.mode||"effect"),r=t.direction||"left",h=t.distance||20,l=t.t
imes||3,u=2*l+1,d=Math.round(t.duration/u),c="up"===r||"down"===r?"top":"
left",p="up"===r||"left"===r,f={},m={},g={},v=n.queue(),y=v.length;for(e.effec
ts.save(n,a),n.show(),e.effects.createWrapper(n),f[c]=(p?"-
=":"+=")+h,m[c]=(p?"+=":"-=")+2*h,g[c]=(p?"-
=":"+=")+2*h,n.animate(f,d,t.easing),s=1;l>s;s++)n.animate(m,d,t.easing).an
imate(g,d,t.easing);n.animate(m,d,t.easing).animate(f,d/2,t.easing).queue(f
unction(){"hide"===o&&n.hide(),e.effects.restore(n,a),e.effects.removeWra
pper(n),i()}),y>1&&v.splice.apply(v,[1,0].concat(v.splice(y,u+1))),n.dequeue()
},e.effects.effect.slide=function(t,i){var
s,n=e(this),a=["position","top","bottom","left","right","width","height"],o=e.
effects.setMode(n,t.mode||"show"),r="show"===o,h=t.direction||"left",l="up"
===h||"down"===h?"top":"left",u="up"===h||"left"===h,d={};e.effects.save(n,
a),n.show(),s=t.distance||n["top"===l?"outerHeight":"outerWidth"](!0),e.effe
cts.createWrapper(n).css({overflow:"hidden"}),r&&n.css(l,u?isNaN(s)?"-"+s:-
s:s),d[l]=(r?u?"+=":"-=":u?"-
=":"+=")+s,n.animate(d,{queue:!1,duration:t.duration,easing:t.easing,comple
te:function(){"hide"===o&&n.hide(),e.effects.restore(n,a),e.effects.remove
Wrapper(n),i()}})},e.effects.effect.transfer=function(t,i){var
s=e(this),n=e(t.to),a="fixed"===n.css("position"),o=e("body"),r=a?o.scrollTop
():0,h=a?o.scrollLeft():0,l=n.offset(),u={top:l.top-r,left:l.left-
h,height:n.innerHeight(),width:n.innerWidth()},d=s.offset(),c=e("<div
class='ui-effects-
transfer'></div>").appendTo(document.body).addClass(t.className).css({to
p:d.top-r,left:d.left-
h,height:s.innerHeight(),width:s.innerWidth(),position:a?"fixed":"absolute"})
.animate(u,t.duration,t.easing,function(){c.remove(),i()})},e.widget("ui.progr
essbar",{version:"1.11.4",options:{max:100,value:0,change:null,complete:nul
l},min:0,_create:function(){this.oldValue=this.options.value=this._constraine
dValue(),this.element.addClass("ui-progressbar ui-widget ui-widget-content
ui-corner-all").attr({role:"progressbar","aria-
valuemin":this.min}),this.valueDiv=e("<div class='ui-progressbar-value ui-
widget-header ui-corner-
left'></div>").appendTo(this.element),this._refreshValue()},_destroy:functio
n(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content
ui-corner-all").removeAttr("role").removeAttr("aria-
valuemin").removeAttr("aria-valuemax").removeAttr("aria-
valuenow"),this.valueDiv.remove()},value:function(e){return void
0===e?this.options.value:(this.options.value=this._constrainedValue(e),this.
_refreshValue(),void 0)},_constrainedValue:function(e){return void
0===e&&(e=this.options.value),this.indeterminate=e===!1,"number"!=typeo
f
e&&(e=0),this.indeterminate?!1:Math.min(this.options.max,Math.max(this.
min,e))},_setOptions:function(e){var t=e.value;delete
e.value,this._super(e),this.options.value=this._constrainedValue(t),this._refr
eshValue()},_setOption:function(e,t){"max"===e&&(t=Math.max(this.min,t))
,"disabled"===e&&this.element.toggleClass("ui-state-
disabled",!!t).attr("aria-
disabled",t),this._super(e,t)},_percentage:function(){return
this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-
this.min)},_refreshValue:function(){var
t=this.options.value,i=this._percentage();this.valueDiv.toggle(this.indetermi
nate||t>this.min).toggleClass("ui-corner-
right",t===this.options.max).width(i.toFixed(0)+"%"),this.element.toggleCla
ss("ui-progressbar-
indeterminate",this.indeterminate),this.indeterminate?(this.element.remov
eAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=e("<div class='ui-
progressbar-
overlay'></div>").appendTo(this.valueDiv))):(this.element.attr({"aria-
valuemax":this.options.max,"aria-
valuenow":t}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=n
ull)),this.oldValue!==t&&(this.oldValue=t,this._trigger("change")),t===this.o
ptions.max&&this._trigger("complete")}}),e.widget("ui.selectable",e.ui.mou
se,{version:"1.11.4",options:{appendTo:"body",autoRefresh:!0,distance:0,filt
er:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unsel
ected:null,unselecting:null},_create:function(){var
t,i=this;this.element.addClass("ui-
selectable"),this.dragged=!1,this.refresh=function(){t=e(i.options.filter,i.ele
ment[0]),t.addClass("ui-selectee"),t.each(function(){var
t=e(this),i=t.offset();e.data(this,"selectable-
item",{element:this,$element:t,left:i.left,top:i.top,right:i.left+t.outerWidth()
,bottom:i.top+t.outerHeight(),startselected:!1,selected:t.hasClass("ui-
selected"),selecting:t.hasClass("ui-selecting"),unselecting:t.hasClass("ui-
unselecting")})})},this.refresh(),this.selectees=t.addClass("ui-
selectee"),this._mouseInit(),this.helper=e("<div class='ui-selectable-
helper'></div>")},_destroy:function(){this.selectees.removeClass("ui-
selectee").removeData("selectable-item"),this.element.removeClass("ui-
selectable ui-selectable-
disabled"),this._mouseDestroy()},_mouseStart:function(t){var
i=this,s=this.options;this.opos=[t.pageX,t.pageY],this.options.disabled||(this
.selectees=e(s.filter,this.element[0]),this._trigger("start",t),e(s.appendTo).a
ppend(this.helper),this.helper.css({left:t.pageX,top:t.pageY,width:0,height:
0}),s.autoRefresh&&this.refresh(),this.selectees.filter(".ui-
selected").each(function(){var s=e.data(this,"selectable-
item");s.startselected=!0,t.metaKey||t.ctrlKey||(s.$element.removeClass("ui-
selected"),s.selected=!1,s.$element.addClass("ui-
unselecting"),s.unselecting=!0,i._trigger("unselecting",t,{unselecting:s.elem
ent}))}),e(t.target).parents().addBack().each(function(){var
s,n=e.data(this,"selectable-item");return
n?(s=!t.metaKey&&!t.ctrlKey||!n.$element.hasClass("ui-
selected"),n.$element.removeClass(s?"ui-unselecting":"ui-
selected").addClass(s?"ui-selecting":"ui-
unselecting"),n.unselecting=!s,n.selecting=s,n.selected=s,s?i._trigger("select
ing",t,{selecting:n.element}):i._trigger("unselecting",t,{unselecting:n.elemen
t}),!1):void
0}))},_mouseDrag:function(t){if(this.dragged=!0,!this.options.disabled){var
i,s=this,n=this.options,a=this.opos[0],o=this.opos[1],r=t.pageX,h=t.pageY;re
turn
a>r&&(i=r,r=a,a=i),o>h&&(i=h,h=o,o=i),this.helper.css({left:a,top:o,width:r-
a,height:h-o}),this.selectees.each(function(){var i=e.data(this,"selectable-
item"),l=!1;i&&i.element!==s.element[0]&&("touch"===n.tolerance?l=!(i.left
>r||a>i.right||i.top>h||o>i.bottom):"fit"===n.tolerance&&(l=i.left>a&&r>i.righ
t&&i.top>o&&h>i.bottom),l?(i.selected&&(i.$element.removeClass("ui-
selected"),i.selected=!1),i.unselecting&&(i.$element.removeClass("ui-
unselecting"),i.unselecting=!1),i.selecting||(i.$element.addClass("ui-
selecting"),i.selecting=!0,s._trigger("selecting",t,{selecting:i.element}))):(i.sel
ecting&&((t.metaKey||t.ctrlKey)&&i.startselected?(i.$element.removeClass(
"ui-selecting"),i.selecting=!1,i.$element.addClass("ui-
selected"),i.selected=!0):(i.$element.removeClass("ui-
selecting"),i.selecting=!1,i.startselected&&(i.$element.addClass("ui-
unselecting"),i.unselecting=!0),s._trigger("unselecting",t,{unselecting:i.elem
ent}))),i.selected&&(t.metaKey||t.ctrlKey||i.startselected||(i.$element.remov
eClass("ui-selected"),i.selected=!1,i.$element.addClass("ui-
unselecting"),i.unselecting=!0,s._trigger("unselecting",t,{unselecting:i.eleme
nt})))))}),!1}},_mouseStop:function(t){var i=this;return this.dragged=!1,e(".ui-
unselecting",this.element[0]).each(function(){var s=e.data(this,"selectable-
item");s.$element.removeClass("ui-
unselecting"),s.unselecting=!1,s.startselected=!1,i._trigger("unselected",t,{u
nselected:s.element})}),e(".ui-selecting",this.element[0]).each(function(){var
s=e.data(this,"selectable-item");s.$element.removeClass("ui-
selecting").addClass("ui-
selected"),s.selecting=!1,s.selected=!0,s.startselected=!0,i._trigger("selected
",t,{selected:s.element})}),this._trigger("stop",t),this.helper.remove(),!1}}),e.
widget("ui.selectmenu",{version:"1.11.4",defaultElement:"<select>",options:
{appendTo:null,disabled:null,icons:{button:"ui-icon-triangle-1-
s"},position:{my:"left top",at:"left
bottom",collision:"none"},width:null,change:null,close:null,focus:null,open:n
ull,select:null},_create:function(){var
e=this.element.uniqueId().attr("id");this.ids={element:e,button:e+"-
button",menu:e+"-
menu"},this._drawButton(),this._drawMenu(),this.options.disabled&&this.di
sable()},_drawButton:function(){var
t=this;this.label=e("label[for='"+this.ids.element+"']").attr("for",this.ids.butt
on),this._on(this.label,{click:function(e){this.button.focus(),e.preventDefault
()}}),this.element.hide(),this.button=e("<span>",{"class":"ui-selectmenu-
button ui-widget ui-state-default ui-corner-
all",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"}).insertAfter(this.element),e("<span>",{"class":"ui-icon
"+this.options.icons.button}).prependTo(this.button),this.buttonText=e("<s
pan>",{"class":"ui-selectmenu-
text"}).appendTo(this.button),this._setText(this.buttonText,this.element.fin
d("option:selected").text()),this._resizeButton(),this._on(this.button,this._bu
ttonEvents),this.button.one("focusin",function(){t.menuItems||t._refreshMe
nu()}),this._hoverable(this.button),this._focusable(this.button)},_drawMenu:
function(){var t=this;this.menu=e("<ul>",{"aria-hidden":"true","aria-
labelledby":this.ids.button,id:this.ids.menu}),this.menuWrap=e("<div>",{"cla
ss":"ui-selectmenu-menu ui-
front"}).append(this.menu).appendTo(this._appendTo()),this.menuInstance
=this.menu.menu({role:"listbox",select:function(e,i){e.preventDefault(),t._se
tSelection(),t._select(i.item.data("ui-selectmenu-
item"),e)},focus:function(e,i){var s=i.item.data("ui-selectmenu-
item");null!=t.focusIndex&&s.index!==t.focusIndex&&(t._trigger("focus",e,{it
em:s}),t.isOpen||t._select(s,e)),t.focusIndex=s.index,t.button.attr("aria-
activedescendant",t.menuItems.eq(s.index).attr("id"))}}).menu("instance"),t
his.menu.addClass("ui-corner-bottom").removeClass("ui-corner-
all"),this.menuInstance._off(this.menu,"mouseleave"),this.menuInstance._cl
oseOnDocumentClick=function(){return!1},this.menuInstance._isDivider=fu
nction(){return!1}},refresh:function(){this._refreshMenu(),this._setText(this.
buttonText,this._getSelectedItem().text()),this.options.width||this._resizeBu
tton()},_refreshMenu:function(){this.menu.empty();var
e,t=this.element.find("option");t.length&&(this._parseOptions(t),this._rend
erMenu(this.menu,this.items),this.menuInstance.refresh(),this.menuItems=
this.menu.find("li").not(".ui-selectmenu-
optgroup"),e=this._getSelectedItem(),this.menuInstance.focus(null,e),this._
setAria(e.data("ui-selectmenu-
item")),this._setOption("disabled",this.element.prop("disabled")))},open:fun
ction(e){this.options.disabled||(this.menuItems?(this.menu.find(".ui-state-
focus").removeClass("ui-state-
focus"),this.menuInstance.focus(null,this._getSelectedItem())):this._refresh
Menu(),this.isOpen=!0,this._toggleAttr(),this._resizeMenu(),this._position(),
this._on(this.document,this._documentClick),this._trigger("open",e))},_posi
tion:function(){this.menuWrap.position(e.extend({of:this.button},this.option
s.position))},close:function(e){this.isOpen&&(this.isOpen=!1,this._toggleAttr
(),this.range=null,this._off(this.document),this._trigger("close",e))},widget:f
unction(){return this.button},menuWidget:function(){return
this.menu},_renderMenu:function(t,i){var
s=this,n="";e.each(i,function(i,a){a.optgroup!==n&&(e("<li>",{"class":"ui-
selectmenu-optgroup ui-menu-
divider"+(a.element.parent("optgroup").prop("disabled")?" ui-state-
disabled":""),text:a.optgroup}).appendTo(t),n=a.optgroup),s._renderItemDa
ta(t,a)})},_renderItemData:function(e,t){return
this._renderItem(e,t).data("ui-selectmenu-
item",t)},_renderItem:function(t,i){var s=e("<li>");return
i.disabled&&s.addClass("ui-state-
disabled"),this._setText(s,i.label),s.appendTo(t)},_setText:function(e,t){t?e.t
ext(t):e.html("&#160;")},_move:function(e,t){var i,s,n=".ui-menu-
item";this.isOpen?i=this.menuItems.eq(this.focusIndex):(i=this.menuItems.e
q(this.element[0].selectedIndex),n+=":not(.ui-state-
disabled)"),s="first"===e||"last"===e?i["first"===e?"prevAll":"nextAll"](n).eq(-
1):i[e+"All"](n).eq(0),s.length&&this.menuInstance.focus(t,s)},_getSelectedIt
em:function(){return
this.menuItems.eq(this.element[0].selectedIndex)},_toggle:function(e){this[
this.isOpen?"close":"open"](e)},_setSelection:function(){var
e;this.range&&(window.getSelection?(e=window.getSelection(),e.removeAl
lRanges(),e.addRange(this.range)):this.range.select(),this.button.focus())},_
documentClick:{mousedown:function(t){this.isOpen&&(e(t.target).closest(".
ui-selectmenu-menu,
#"+this.ids.button).length||this.close(t))}},_buttonEvents:{mousedown:funct
ion(){var
e;window.getSelection?(e=window.getSelection(),e.rangeCount&&(this.ran
ge=e.getRangeAt(0))):this.range=document.selection.createRange()},click:f
unction(e){this._setSelection(),this._toggle(e)},keydown:function(t){var
i=!0;switch(t.keyCode){case e.ui.keyCode.TAB:case
e.ui.keyCode.ESCAPE:this.close(t),i=!1;break;case
e.ui.keyCode.ENTER:this.isOpen&&this._selectFocusedItem(t);break;case
e.ui.keyCode.UP:t.altKey?this._toggle(t):this._move("prev",t);break;case
e.ui.keyCode.DOWN:t.altKey?this._toggle(t):this._move("next",t);break;cas
e
e.ui.keyCode.SPACE:this.isOpen?this._selectFocusedItem(t):this._toggle(t);
break;case e.ui.keyCode.LEFT:this._move("prev",t);break;case
e.ui.keyCode.RIGHT:this._move("next",t);break;case
e.ui.keyCode.HOME:case
e.ui.keyCode.PAGE_UP:this._move("first",t);break;case
e.ui.keyCode.END:case
e.ui.keyCode.PAGE_DOWN:this._move("last",t);break;default:this.menu.tri
gger(t),i=!1}i&&t.preventDefault()}},_selectFocusedItem:function(e){var
t=this.menuItems.eq(this.focusIndex);t.hasClass("ui-state-
disabled")||this._select(t.data("ui-selectmenu-
item"),e)},_select:function(e,t){var
i=this.element[0].selectedIndex;this.element[0].selectedIndex=e.index,this.
_setText(this.buttonText,e.label),this._setAria(e),this._trigger("select",t,{ite
m:e}),e.index!==i&&this._trigger("change",t,{item:e}),this.close(t)},_setAria:f
unction(e){var
t=this.menuItems.eq(e.index).attr("id");this.button.attr({"aria-
labelledby":t,"aria-activedescendant":t}),this.menu.attr("aria-
activedescendant",t)},_setOption:function(e,t){"icons"===e&&this.button.fi
nd("span.ui-
icon").removeClass(this.options.icons.button).addClass(t.button),this._supe
r(e,t),"appendTo"===e&&this.menuWrap.appendTo(this._appendTo()),"disa
bled"===e&&(this.menuInstance.option("disabled",t),this.button.toggleClas
s("ui-state-disabled",t).attr("aria-
disabled",t),this.element.prop("disabled",t),t?(this.button.attr("tabindex",-
1),this.close()):this.button.attr("tabindex",0)),"width"===e&&this._resizeBut
ton()},_appendTo:function(){var t=this.options.appendTo;return
t&&(t=t.jquery||t.nodeType?e(t):this.document.find(t).eq(0)),t&&t[0]||(t=this
.element.closest(".ui-
front")),t.length||(t=this.document[0].body),t},_toggleAttr:function(){this.bu
tton.toggleClass("ui-corner-top",this.isOpen).toggleClass("ui-corner-
all",!this.isOpen).attr("aria-
expanded",this.isOpen),this.menuWrap.toggleClass("ui-selectmenu-
open",this.isOpen),this.menu.attr("aria-
hidden",!this.isOpen)},_resizeButton:function(){var
e=this.options.width;e||(e=this.element.show().outerWidth(),this.element.hi
de()),this.button.outerWidth(e)},_resizeMenu:function(){this.menu.outerWi
dth(Math.max(this.button.outerWidth(),this.menu.width("").outerWidth()+1
))},_getCreateOptions:function(){return{disabled:this.element.prop("disable
d")}},_parseOptions:function(t){var i=[];t.each(function(t,s){var
n=e(s),a=n.parent("optgroup");i.push({element:n,index:t,value:n.val(),label:n
.text(),optgroup:a.attr("label")||"",disabled:a.prop("disabled")||n.prop("disabl
ed")})}),this.items=i},_destroy:function(){this.menuWrap.remove(),this.butto
n.remove(),this.element.show(),this.element.removeUniqueId(),this.label.at
tr("for",this.ids.element)}}),e.widget("ui.slider",e.ui.mouse,{version:"1.11.4",
widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,ori
entation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:nu
ll,start:null,stop:null},numPages:5,_create:function(){this._keySliding=!1,this
._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detect
Orientation(),this._mouseInit(),this._calculateNewMax(),this.element.addCl
ass("ui-slider ui-slider-"+this.orientation+" ui-widget"+" ui-widget-content"+"
ui-corner-
all"),this._refresh(),this._setOption("disabled",this.options.disabled),this._an
imateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),t
his._setupEvents(),this._refreshValue()},_createHandles:function(){var
t,i,s=this.options,n=this.element.find(".ui-slider-handle").addClass("ui-state-
default ui-corner-all"),a="<span class='ui-slider-handle ui-state-default ui-
corner-all'
tabindex='0'></span>",o=[];for(i=s.values&&s.values.length||1,n.length>i&&(
n.slice(i).remove(),n=n.slice(0,i)),t=n.length;i>t;t++)o.push(a);this.handles=n
.add(e(o.join("")).appendTo(this.element)),this.handle=this.handles.eq(0),th
is.handles.each(function(t){e(this).data("ui-slider-handle-
index",t)})},_createRange:function(){var
t=this.options,i="";t.range?(t.range===!0&&(t.values?t.values.length&&2!==
t.values.length?t.values=[t.values[0],t.values[0]]:e.isArray(t.values)&&(t.val
ues=t.values.slice(0)):t.values=[this._valueMin(),this._valueMin()]),this.range
&&this.range.length?this.range.removeClass("ui-slider-range-min ui-slider-
range-
max").css({left:"",bottom:""}):(this.range=e("<div></div>").appendTo(this.ele
ment),i="ui-slider-range ui-widget-header ui-corner-
all"),this.range.addClass(i+("min"===t.range||"max"===t.range?" ui-slider-
range-
"+t.range:""))):(this.range&&this.range.remove(),this.range=null)},_setupEv
ents:function(){this._off(this.handles),this._on(this.handles,this._handleEve
nts),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:fu
nction(){this.handles.remove(),this.range&&this.range.remove(),this.eleme
nt.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-widget ui-
widget-content ui-corner-
all"),this._mouseDestroy()},_mouseCapture:function(t){var
i,s,n,a,o,r,h,l,u=this,d=this.options;return
d.disabled?!1:(this.elementSize={width:this.element.outerWidth(),height:thi
s.element.outerHeight()},this.elementOffset=this.element.offset(),i={x:t.pa
geX,y:t.pageY},s=this._normValueFromMouse(i),n=this._valueMax()-
this._valueMin()+1,this.handles.each(function(t){var i=Math.abs(s-
u.values(t));(n>i||n===i&&(t===u._lastChangedValue||u.values(t)===d.min))&
&(n=i,a=e(this),o=t)}),r=this._start(t,o),r===!1?!1:(this._mouseSliding=!0,this.
_handleIndex=o,a.addClass("ui-state-
active").focus(),h=a.offset(),l=!e(t.target).parents().addBack().is(".ui-slider-
handle"),this._clickOffset=l?{left:0,top:0}:{left:t.pageX-h.left-
a.width()/2,top:t.pageY-h.top-a.height()/2-
(parseInt(a.css("borderTopWidth"),10)||0)-
(parseInt(a.css("borderBottomWidth"),10)||0)+(parseInt(a.css("marginTop"),
10)||0)},this.handles.hasClass("ui-state-
hover")||this._slide(t,o,s),this._animateOff=!0,!0))},_mouseStart:function(){r
eturn!0},_mouseDrag:function(e){var
t={x:e.pageX,y:e.pageY},i=this._normValueFromMouse(t);return
this._slide(e,this._handleIndex,i),!1},_mouseStop:function(e){return
this.handles.removeClass("ui-state-
active"),this._mouseSliding=!1,this._stop(e,this._handleIndex),this._change(
e,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._ani
mateOff=!1,!1},_detectOrientation:function(){this.orientation="vertical"===t
his.options.orientation?"vertical":"horizontal"},_normValueFromMouse:func
tion(e){var
t,i,s,n,a;return"horizontal"===this.orientation?(t=this.elementSize.width,i=e
.x-this.elementOffset.left-
(this._clickOffset?this._clickOffset.left:0)):(t=this.elementSize.height,i=e.y-
this.elementOffset.top-
(this._clickOffset?this._clickOffset.top:0)),s=i/t,s>1&&(s=1),0>s&&(s=0),"vert
ical"===this.orientation&&(s=1-s),n=this._valueMax()-
this._valueMin(),a=this._valueMin()+s*n,this._trimAlignValue(a)},_start:func
tion(e,t){var i={handle:this.handles[t],value:this.value()};return
this.options.values&&this.options.values.length&&(i.value=this.values(t),i.v
alues=this.values()),this._trigger("start",e,i)},_slide:function(e,t,i){var
s,n,a;this.options.values&&this.options.values.length?(s=this.values(t?0:1),2
===this.options.values.length&&this.options.range===!0&&(0===t&&i>s||1=
==t&&s>i)&&(i=s),i!==this.values(t)&&(n=this.values(),n[t]=i,a=this._trigger("
slide",e,{handle:this.handles[t],value:i,values:n}),s=this.values(t?0:1),a!==!1&
&this.values(t,i))):i!==this.value()&&(a=this._trigger("slide",e,{handle:this.ha
ndles[t],value:i}),a!==!1&&this.value(i))},_stop:function(e,t){var
i={handle:this.handles[t],value:this.value()};this.options.values&&this.option
s.values.length&&(i.value=this.values(t),i.values=this.values()),this._trigger("
stop",e,i)},_change:function(e,t){if(!this._keySliding&&!this._mouseSliding){
var
i={handle:this.handles[t],value:this.value()};this.options.values&&this.option
s.values.length&&(i.value=this.values(t),i.values=this.values()),this._lastCha
ngedValue=t,this._trigger("change",e,i)}},value:function(e){return
arguments.length?(this.options.value=this._trimAlignValue(e),this._refresh
Value(),this._change(null,0),void 0):this._value()},values:function(t,i){var
s,n,a;if(arguments.length>1)return
this.options.values[t]=this._trimAlignValue(i),this._refreshValue(),this._chan
ge(null,t),void 0;if(!arguments.length)return
this._values();if(!e.isArray(arguments[0]))return
this.options.values&&this.options.values.length?this._values(t):this.value();f
or(s=this.options.values,n=arguments[0],a=0;s.length>a;a+=1)s[a]=this._tri
mAlignValue(n[a]),this._change(null,a);this._refreshValue()},_setOption:fun
ction(t,i){var
s,n=0;switch("range"===t&&this.options.range===!0&&("min"===i?(this.opti
ons.value=this._values(0),this.options.values=null):"max"===i&&(this.option
s.value=this._values(this.options.values.length-
1),this.options.values=null)),e.isArray(this.options.values)&&(n=this.options.
values.length),"disabled"===t&&this.element.toggleClass("ui-state-
disabled",!!i),this._super(t,i),t){case"orientation":this._detectOrientation(),th
is.element.removeClass("ui-slider-horizontal ui-slider-
vertical").addClass("ui-slider-
"+this.orientation),this._refreshValue(),this.handles.css("horizontal"===i?"b
ottom":"left","");break;case"value":this._animateOff=!0,this._refreshValue(),
this._change(null,0),this._animateOff=!1;break;case"values":for(this._anima
teOff=!0,this._refreshValue(),s=0;n>s;s+=1)this._change(null,s);this._animat
eOff=!1;break;case"step":case"min":case"max":this._animateOff=!0,this._ca
lculateNewMax(),this._refreshValue(),this._animateOff=!1;break;case"range
":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_value:function()
{var e=this.options.value;return
e=this._trimAlignValue(e)},_values:function(e){var
t,i,s;if(arguments.length)return
t=this.options.values[e],t=this._trimAlignValue(t);if(this.options.values&&th
is.options.values.length){for(i=this.options.values.slice(),s=0;i.length>s;s+=1)
i[s]=this._trimAlignValue(i[s]);return
i}return[]},_trimAlignValue:function(e){if(this._valueMin()>=e)return
this._valueMin();if(e>=this._valueMax())return this._valueMax();var
t=this.options.step>0?this.options.step:1,i=(e-this._valueMin())%t,s=e-
i;return 2*Math.abs(i)>=t&&(s+=i>0?t:-
t),parseFloat(s.toFixed(5))},_calculateNewMax:function(){var
e=this.options.max,t=this._valueMin(),i=this.options.step,s=Math.floor(+(e-
t).toFixed(this._precision())/i)*i;e=s+t,this.max=parseFloat(e.toFixed(this._p
recision()))},_precision:function(){var
e=this._precisionOf(this.options.step);return
null!==this.options.min&&(e=Math.max(e,this._precisionOf(this.options.min
))),e},_precisionOf:function(e){var t=""+e,i=t.indexOf(".");return-
1===i?0:t.length-i-1},_valueMin:function(){return
this.options.min},_valueMax:function(){return
this.max},_refreshValue:function(){var
t,i,s,n,a,o=this.options.range,r=this.options,h=this,l=this._animateOff?!1:r.a
nimate,u={};this.options.values&&this.options.values.length?this.handles.ea
ch(function(s){i=100*((h.values(s)-h._valueMin())/(h._valueMax()-
h._valueMin())),u["horizontal"===h.orientation?"left":"bottom"]=i+"%",e(thi
s).stop(1,1)[l?"animate":"css"](u,r.animate),h.options.range===!0&&("horizo
ntal"===h.orientation?(0===s&&h.range.stop(1,1)[l?"animate":"css"]({left:i+"
%"},r.animate),1===s&&h.range[l?"animate":"css"]({width:i-
t+"%"},{queue:!1,duration:r.animate})):(0===s&&h.range.stop(1,1)[l?"animat
e":"css"]({bottom:i+"%"},r.animate),1===s&&h.range[l?"animate":"css"]({hei
ght:i-
t+"%"},{queue:!1,duration:r.animate}))),t=i}):(s=this.value(),n=this._valueMin
(),a=this._valueMax(),i=a!==n?100*((s-n)/(a-
n)):0,u["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.st
op(1,1)[l?"animate":"css"](u,r.animate),"min"===o&&"horizontal"===this.ori
entation&&this.range.stop(1,1)[l?"animate":"css"]({width:i+"%"},r.animate),"
max"===o&&"horizontal"===this.orientation&&this.range[l?"animate":"css"]
({width:100-
i+"%"},{queue:!1,duration:r.animate}),"min"===o&&"vertical"===this.orienta
tion&&this.range.stop(1,1)[l?"animate":"css"]({height:i+"%"},r.animate),"ma
x"===o&&"vertical"===this.orientation&&this.range[l?"animate":"css"]({heig
ht:100-
i+"%"},{queue:!1,duration:r.animate}))},_handleEvents:{keydown:function(t)
{var i,s,n,a,o=e(t.target).data("ui-slider-handle-
index");switch(t.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(t.preventDefault(),!this._keySliding&&(this._keySlidin
g=!0,e(t.target).addClass("ui-state-
active"),i=this._start(t,o),i===!1))return}switch(a=this.options.step,s=n=this.
options.values&&this.options.values.length?this.values(o):this.value(),t.key
Code){case e.ui.keyCode.HOME:n=this._valueMin();break;case
e.ui.keyCode.END:n=this._valueMax();break;case
e.ui.keyCode.PAGE_UP:n=this._trimAlignValue(s+(this._valueMax()-
this._valueMin())/this.numPages);break;case
e.ui.keyCode.PAGE_DOWN:n=this._trimAlignValue(s-(this._valueMax()-
this._valueMin())/this.numPages);break;case e.ui.keyCode.UP:case
e.ui.keyCode.RIGHT:if(s===this._valueMax())return;n=this._trimAlignValue(
s+a);break;case e.ui.keyCode.DOWN:case
e.ui.keyCode.LEFT:if(s===this._valueMin())return;n=this._trimAlignValue(s-
a)}this._slide(t,o,n)},keyup:function(t){var i=e(t.target).data("ui-slider-
handle-
index");this._keySliding&&(this._keySliding=!1,this._stop(t,i),this._change(t,
i),e(t.target).removeClass("ui-state-
active"))}}}),e.widget("ui.sortable",e.ui.mouse,{version:"1.11.4",widgetEvent
Prefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,co
ntainment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSiz
e:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:">
*",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpee
d:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeSt
op:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:nul
l,sort:null,start:null,stop:null,update:null},_isOverAxis:function(e,t,i){return
e>=t&&t+i>e},_isFloating:function(e){return/left|right/.test(e.css("float"))||/in
line|table-
cell/.test(e.css("display"))},_create:function(){this.containerCache={},this.ele
ment.addClass("ui-
sortable"),this.refresh(),this.offset=this.element.offset(),this._mouseInit(),th
is._setHandleClassName(),this.ready=!0},_setOption:function(e,t){this._sup
er(e,t),"handle"===e&&this._setHandleClassName()},_setHandleClassName:
function(){this.element.find(".ui-sortable-handle").removeClass("ui-
sortable-
handle"),e.each(this.items,function(){(this.instance.options.handle?this.item
.find(this.instance.options.handle):this.item).addClass("ui-sortable-
handle")})},_destroy:function(){this.element.removeClass("ui-sortable ui-
sortable-disabled").find(".ui-sortable-handle").removeClass("ui-sortable-
handle"),this._mouseDestroy();for(var e=this.items.length-1;e>=0;e--
)this.items[e].item.removeData(this.widgetName+"-item");return
this},_mouseCapture:function(t,i){var s=null,n=!1,a=this;return
this.reverting?!1:this.options.disabled||"static"===this.options.type?!1:(this._
refreshItems(t),e(t.target).parents().each(function(){return
e.data(this,a.widgetName+"-item")===a?(s=e(this),!1):void
0}),e.data(t.target,a.widgetName+"-
item")===a&&(s=e(t.target)),s?!this.options.handle||i||(e(this.options.handle,
s).find("*").addBack().each(function(){this===t.target&&(n=!0)}),n)?(this.curr
entItem=s,this._removeCurrentsFromItems(),!0):!1:!1)},_mouseStart:functio
n(t,i,s){var
n,a,o=this.options;if(this.currentContainer=this,this.refreshPositions(),this.h
elper=this._createHelper(t),this._cacheHelperProportions(),this._cacheMarg
ins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.
offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-
this.margins.left},e.extend(this.offset,{click:{left:t.pageX-
this.offset.left,top:t.pageY-
this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffs
et()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("
position"),this.originalPosition=this._generatePosition(t),this.originalPageX
=t.pageX,this.originalPageY=t.pageY,o.cursorAt&&this._adjustOffsetFrom
Helper(o.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent
:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.cur
rentItem.hide(),this._createPlaceholder(),o.containment&&this._setContain
ment(),o.cursor&&"auto"!==o.cursor&&(a=this.document.find("body"),this.s
toredCursor=a.css("cursor"),a.css("cursor",o.cursor),this.storedStylesheet=e(
"<style>*{ cursor: "+o.cursor+" !important;
}</style>").appendTo(a)),o.opacity&&(this.helper.css("opacity")&&(this._sto
redOpacity=this.helper.css("opacity")),this.helper.css("opacity",o.opacity)),o
.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("z
Index")),this.helper.css("zIndex",o.zIndex)),this.scrollParent[0]!==this.docum
ent[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=th
is.scrollParent.offset()),this._trigger("start",t,this._uiHash()),this._preserveH
elperProportions||this._cacheHelperProportions(),!s)for(n=this.containers.le
ngth-1;n>=0;n--)this.containers[n]._trigger("activate",t,this._uiHash(this));
return
e.ui.ddmanager&&(e.ui.ddmanager.current=this),e.ui.ddmanager&&!o.drop
Behaviour&&e.ui.ddmanager.prepareOffsets(this,t),this.dragging=!0,this.he
lper.addClass("ui-sortable-
helper"),this._mouseDrag(t),!0},_mouseDrag:function(t){var
i,s,n,a,o=this.options,r=!1;for(this.position=this._generatePosition(t),this.po
sitionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.las
tPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==t
his.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflow
Offset.top+this.scrollParent[0].offsetHeight-
t.pageY<o.scrollSensitivity?this.scrollParent[0].scrollTop=r=this.scrollParent
[0].scrollTop+o.scrollSpeed:t.pageY-
this.overflowOffset.top<o.scrollSensitivity&&(this.scrollParent[0].scrollTop
=r=this.scrollParent[0].scrollTop-
o.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-
t.pageX<o.scrollSensitivity?this.scrollParent[0].scrollLeft=r=this.scrollParent
[0].scrollLeft+o.scrollSpeed:t.pageX-
this.overflowOffset.left<o.scrollSensitivity&&(this.scrollParent[0].scrollLeft
=r=this.scrollParent[0].scrollLeft-o.scrollSpeed)):(t.pageY-
this.document.scrollTop()<o.scrollSensitivity?r=this.document.scrollTop(thi
s.document.scrollTop()-o.scrollSpeed):this.window.height()-(t.pageY-
this.document.scrollTop())<o.scrollSensitivity&&(r=this.document.scrollTop
(this.document.scrollTop()+o.scrollSpeed)),t.pageX-
this.document.scrollLeft()<o.scrollSensitivity?r=this.document.scrollLeft(thi
s.document.scrollLeft()-o.scrollSpeed):this.window.width()-(t.pageX-
this.document.scrollLeft())<o.scrollSensitivity&&(r=this.document.scrollLeft
(this.document.scrollLeft()+o.scrollSpeed))),r!==!1&&e.ui.ddmanager&&!o.d
ropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t)),this.positionAbs=th
is._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axi
s||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===
this.options.axis||(this.helper[0].style.top=this.position.top+"px"),i=this.item
s.length-1;i>=0;i--
)if(s=this.items[i],n=s.item[0],a=this._intersectsWithPointer(s),a&&s.instanc
e===this.currentContainer&&n!==this.currentItem[0]&&this.placeholder[1=
==a?"next":"prev"]()[0]!==n&&!e.contains(this.placeholder[0],n)&&("semi-
dynamic"===this.options.type?!e.contains(this.element[0],n):!0)){if(this.dire
ction=1===a?"down":"up","pointer"!==this.options.tolerance&&!this._inters
ectsWithSides(s))break;this._rearrange(t,s),this._trigger("change",t,this._ui
Hash());break}return
this._contactContainers(t),e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),th
is._trigger("sort",t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_
mouseStop:function(t,i){if(t){if(e.ui.ddmanager&&!this.options.dropBehavio
ur&&e.ui.ddmanager.drop(this,t),this.options.revert){var
s=this,n=this.placeholder.offset(),a=this.options.axis,o={};a&&"x"!==a||(o.left
=n.left-this.offset.parent.left-
this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offs
etParent[0].scrollLeft)),a&&"y"!==a||(o.top=n.top-this.offset.parent.top-
this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offs
etParent[0].scrollTop)),this.reverting=!0,e(this.helper).animate(o,parseInt(t
his.options.revert,10)||500,function(){s._clear(t)})}else
this._clear(t,i);return!1}},cancel:function(){if(this.dragging){this._mouseUp({t
arget:null}),"original"===this.options.helper?this.currentItem.css(this._store
dCSS).removeClass("ui-sortable-helper"):this.currentItem.show();for(var
t=this.containers.length-1;t>=0;t--
)this.containers[t]._trigger("deactivate",null,this._uiHash(this)),this.containe
rs[t].containerCache.over&&(this.containers[t]._trigger("out",null,this._uiHa
sh(this)),this.containers[t].containerCache.over=0)}return
this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].p
arentNode.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.domPositio
n.prev?e(this.domPosition.prev).after(this.currentItem):e(this.domPosition.
parent).prepend(this.currentItem)),this},serialize:function(t){var
i=this._getItemsAsjQuery(t&&t.connected),s=[];return
t=t||{},e(i).each(function(){var
i=(e(t.item||this).attr(t.attribute||"id")||"").match(t.expression||/(.+)[\-
=_](.+)/);i&&s.push((t.key||i[1]+"[]")+"="+(t.key&&t.expression?i[1]:i[2]))}),!s.l
ength&&t.key&&s.push(t.key+"="),s.join("&")},toArray:function(t){var
i=this._getItemsAsjQuery(t&&t.connected),s=[];return
t=t||{},i.each(function(){s.push(e(t.item||this).attr(t.attribute||"id")||"")}),s},_in
tersectsWith:function(e){var
t=this.positionAbs.left,i=t+this.helperProportions.width,s=this.positionAbs.t
op,n=s+this.helperProportions.height,a=e.left,o=a+e.width,r=e.top,h=r+e.h
eight,l=this.offset.click.top,u=this.offset.click.left,d="x"===this.options.axis|
|s+l>r&&h>s+l,c="y"===this.options.axis||t+u>a&&o>t+u,p=d&&c;return"poi
nter"===this.options.tolerance||this.options.forcePointerForContainers||"poi
nter"!==this.options.tolerance&&this.helperProportions[this.floating?"width
":"height"]>e[this.floating?"width":"height"]?p:t+this.helperProportions.wid
th/2>a&&o>i-
this.helperProportions.width/2&&s+this.helperProportions.height/2>r&&h>
n-this.helperProportions.height/2},_intersectsWithPointer:function(e){var
t="x"===this.options.axis||this._isOverAxis(this.positionAbs.top+this.offset.c
lick.top,e.top,e.height),i="y"===this.options.axis||this._isOverAxis(this.positi
onAbs.left+this.offset.click.left,e.left,e.width),s=t&&i,n=this._getDragVertic
alDirection(),a=this._getDragHorizontalDirection();return
s?this.floating?a&&"right"===a||"down"===n?2:1:n&&("down"===n?2:1):!1},_
intersectsWithSides:function(e){var
t=this._isOverAxis(this.positionAbs.top+this.offset.click.top,e.top+e.height/
2,e.height),i=this._isOverAxis(this.positionAbs.left+this.offset.click.left,e.lef
t+e.width/2,e.width),s=this._getDragVerticalDirection(),n=this._getDragHor
izontalDirection();return
this.floating&&n?"right"===n&&i||"left"===n&&!i:s&&("down"===s&&t||"up"
===s&&!t)},_getDragVerticalDirection:function(){var e=this.positionAbs.top-
this.lastPositionAbs.top;return
0!==e&&(e>0?"down":"up")},_getDragHorizontalDirection:function(){var
e=this.positionAbs.left-this.lastPositionAbs.left;return
0!==e&&(e>0?"right":"left")},refresh:function(e){return
this._refreshItems(e),this._setHandleClassName(),this.refreshPositions(),thi
s},_connectWith:function(){var e=this.options;return
e.connectWith.constructor===String?[e.connectWith]:e.connectWith},_getI
temsAsjQuery:function(t){function i(){r.push(this)}var
s,n,a,o,r=[],h=[],l=this._connectWith();if(l&&t)for(s=l.length-1;s>=0;s--
)for(a=e(l[s],this.document[0]),n=a.length-1;n>=0;n--
)o=e.data(a[n],this.widgetFullName),o&&o!==this&&!o.options.disabled&&
h.push([e.isFunction(o.options.items)?o.options.items.call(o.element):e(o.o
ptions.items,o.element).not(".ui-sortable-helper").not(".ui-sortable-
placeholder"),o]);for(h.push([e.isFunction(this.options.items)?this.options.it
ems.call(this.element,null,{options:this.options,item:this.currentItem}):e(thi
s.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-
placeholder"),this]),s=h.length-1;s>=0;s--)h[s][0].each(i);return
e(r)},_removeCurrentsFromItems:function(){var
t=this.currentItem.find(":data("+this.widgetName+"-
item)");this.items=e.grep(this.items,function(e){for(var
i=0;t.length>i;i++)if(t[i]===e.item[0])return!1;return!0})},_refreshItems:functi
on(t){this.items=[],this.containers=[this];var
i,s,n,a,o,r,h,l,u=this.items,d=[[e.isFunction(this.options.items)?this.options.i
tems.call(this.element[0],t,{item:this.currentItem}):e(this.options.items,this
.element),this]],c=this._connectWith();if(c&&this.ready)for(i=c.length-
1;i>=0;i--)for(n=e(c[i],this.document[0]),s=n.length-1;s>=0;s--
)a=e.data(n[s],this.widgetFullName),a&&a!==this&&!a.options.disabled&&(
d.push([e.isFunction(a.options.items)?a.options.items.call(a.element[0],t,{it
em:this.currentItem}):e(a.options.items,a.element),a]),this.containers.push(
a));for(i=d.length-1;i>=0;i--
)for(o=d[i][1],r=d[i][0],s=0,l=r.length;l>s;s++)h=e(r[s]),h.data(this.widgetNa
me+"-
item",o),u.push({item:h,instance:o,width:0,height:0,left:0,top:0})},refreshPo
sitions:function(t){this.floating=this.items.length?"x"===this.options.axis||th
is._isFloating(this.items[0].item):!1,this.offsetParent&&this.helper&&(this.o
ffset.parent=this._getParentOffset());var i,s,n,a;for(i=this.items.length-
1;i>=0;i--
)s=this.items[i],s.instance!==this.currentContainer&&this.currentContainer
&&s.item[0]!==this.currentItem[0]||(n=this.options.toleranceElement?e(this.
options.toleranceElement,s.item):s.item,t||(s.width=n.outerWidth(),s.height
=n.outerHeight()),a=n.offset(),s.left=a.left,s.top=a.top);if(this.options.custo
m&&this.options.custom.refreshContainers)this.options.custom.refreshCon
tainers.call(this);else for(i=this.containers.length-1;i>=0;i--
)a=this.containers[i].element.offset(),this.containers[i].containerCache.left=
a.left,this.containers[i].containerCache.top=a.top,this.containers[i].contain
erCache.width=this.containers[i].element.outerWidth(),this.containers[i].co
ntainerCache.height=this.containers[i].element.outerHeight();return
this},_createPlaceholder:function(t){t=t||this;var
i,s=t.options;s.placeholder&&s.placeholder.constructor!==String||(i=s.placeh
older,s.placeholder={element:function(){var
s=t.currentItem[0].nodeName.toLowerCase(),n=e("<"+s+">",t.document[0])
.addClass(i||t.currentItem[0].className+" ui-sortable-
placeholder").removeClass("ui-sortable-
helper");return"tbody"===s?t._createTrPlaceholder(t.currentItem.find("tr").
eq(0),e("<tr>",t.document[0]).appendTo(n)):"tr"===s?t._createTrPlaceholde
r(t.currentItem,n):"img"===s&&n.attr("src",t.currentItem.attr("src")),i||n.css(
"visibility","hidden"),n},update:function(e,n){(!i||s.forcePlaceholderSize)&&(n
.height()||n.height(t.currentItem.innerHeight()-
parseInt(t.currentItem.css("paddingTop")||0,10)-
parseInt(t.currentItem.css("paddingBottom")||0,10)),n.width()||n.width(t.curr
entItem.innerWidth()-parseInt(t.currentItem.css("paddingLeft")||0,10)-
parseInt(t.currentItem.css("paddingRight")||0,10)))}}),t.placeholder=e(s.place
holder.element.call(t.element,t.currentItem)),t.currentItem.after(t.placehol
der),s.placeholder.update(t,t.placeholder)},_createTrPlaceholder:function(t,
i){var
s=this;t.children().each(function(){e("<td>&#160;</td>",s.document[0]).attr(
"colspan",e(this).attr("colspan")||1).appendTo(i)})},_contactContainers:functi
on(t){var i,s,n,a,o,r,h,l,u,d,c=null,p=null;for(i=this.containers.length-1;i>=0;i-
-
)if(!e.contains(this.currentItem[0],this.containers[i].element[0]))if(this._inter
sectsWith(this.containers[i].containerCache)){if(c&&e.contains(this.containe
rs[i].element[0],c.element[0]))continue;c=this.containers[i],p=i}else
this.containers[i].containerCache.over&&(this.containers[i]._trigger("out",t,
this._uiHash(this)),this.containers[i].containerCache.over=0);if(c)if(1===this.
containers.length)this.containers[p].containerCache.over||(this.containers[p
]._trigger("over",t,this._uiHash(this)),this.containers[p].containerCache.over
=1);else{for(n=1e4,a=null,u=c.floating||this._isFloating(this.currentItem),o=u
?"left":"top",r=u?"width":"height",d=u?"clientX":"clientY",s=this.items.lengt
h-1;s>=0;s--
)e.contains(this.containers[p].element[0],this.items[s].item[0])&&this.items
[s].item[0]!==this.currentItem[0]&&(h=this.items[s].item.offset()[o],l=!1,t[d]
-h>this.items[s][r]/2&&(l=!0),n>Math.abs(t[d]-h)&&(n=Math.abs(t[d]-
h),a=this.items[s],this.direction=l?"up":"down"));if(!a&&!this.options.dropO
nEmpty)return;if(this.currentContainer===this.containers[p])return
this.currentContainer.containerCache.over||(this.containers[p]._trigger("ove
r",t,this._uiHash()),this.currentContainer.containerCache.over=1),void
0;a?this._rearrange(t,a,null,!0):this._rearrange(t,null,this.containers[p].elem
ent,!0),this._trigger("change",t,this._uiHash()),this.containers[p]._trigger("c
hange",t,this._uiHash(this)),this.currentContainer=this.containers[p],this.op
tions.placeholder.update(this.currentContainer,this.placeholder),this.contai
ners[p]._trigger("over",t,this._uiHash(this)),this.containers[p].containerCach
e.over=1}},_createHelper:function(t){var
i=this.options,s=e.isFunction(i.helper)?e(i.helper.apply(this.element[0],[t,thi
s.currentItem])):"clone"===i.helper?this.currentItem.clone():this.currentItem
;return
s.parents("body").length||e("parent"!==i.appendTo?i.appendTo:this.currentI
tem[0].parentNode)[0].appendChild(s[0]),s[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")}),(!s[0].style.width||i.forceHelperSi
ze)&&s.width(this.currentItem.width()),(!s[0].style.height||i.forceHelperSize)
&&s.height(this.currentItem.height()),s},_adjustOffsetFromHelper:function(
t){"string"==typeof t&&(t=t.split("
")),e.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in
t&&(this.offset.click.left=t.left+this.margins.left),"right"in
t&&(this.offset.click.left=this.helperProportions.width-
t.right+this.margins.left),"top"in
t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in
t&&(this.offset.click.top=this.helperProportions.height-
t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=
this.helper.offsetParent();var
t=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scroll
Parent[0]!==this.document[0]&&e.contains(this.scrollParent[0],this.offsetP
arent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scr
ollTop()),(this.offsetParent[0]===this.document[0].body||this.offsetParent[0
].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&e.ui
.ie)&&(t={top:0,left:0}),{top:t.top+(parseInt(this.offsetParent.css("borderTo
pWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"
),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var
e=this.currentItem.position();return{top:e.top-
(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:e.left
-
(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{t
op:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.curre
ntItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTo
p"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={wid
th:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainm
ent:function(){var
t,i,s,n=this.options;"parent"===n.containment&&(n.containment=this.helpe
r[0].parentNode),("document"===n.containment||"window"===n.containme
nt)&&(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-
this.offset.relative.top-
this.offset.parent.top,"document"===n.containment?this.document.width()
:this.window.width()-this.helperProportions.width-
this.margins.left,("document"===n.containment?this.document.width():this
.window.height()||this.document[0].body.parentNode.scrollHeight)-
this.helperProportions.height-
this.margins.top]),/^(document|window|parent)$/.test(n.containment)||(t=e(
n.containment)[0],i=e(n.containment).offset(),s="hidden"!==e(t).css("overfl
ow"),this.containment=[i.left+(parseInt(e(t).css("borderLeftWidth"),10)||0)+(
parseInt(e(t).css("paddingLeft"),10)||0)-
this.margins.left,i.top+(parseInt(e(t).css("borderTopWidth"),10)||0)+(parseIn
t(e(t).css("paddingTop"),10)||0)-
this.margins.top,i.left+(s?Math.max(t.scrollWidth,t.offsetWidth):t.offsetWid
th)-(parseInt(e(t).css("borderLeftWidth"),10)||0)-
(parseInt(e(t).css("paddingRight"),10)||0)-this.helperProportions.width-
this.margins.left,i.top+(s?Math.max(t.scrollHeight,t.offsetHeight):t.offsetH
eight)-(parseInt(e(t).css("borderTopWidth"),10)||0)-
(parseInt(e(t).css("paddingBottom"),10)||0)-this.helperProportions.height-
this.margins.top])},_convertPositionTo:function(t,i){i||(i=this.position);var
s="absolute"===t?1:-
1,n="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&
&e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.o
ffsetParent,a=/(html|body)/i.test(n[0].tagName);return{top:i.top+this.offset.
relative.top*s+this.offset.parent.top*s-("fixed"===this.cssPosition?-
this.scrollParent.scrollTop():a?0:n.scrollTop())*s,left:i.left+this.offset.relativ
e.left*s+this.offset.parent.left*s-("fixed"===this.cssPosition?-
this.scrollParent.scrollLeft():a?0:n.scrollLeft())*s}},_generatePosition:functio
n(t){var
i,s,n=this.options,a=t.pageX,o=t.pageY,r="absolute"!==this.cssPosition||this.
scrollParent[0]!==this.document[0]&&e.contains(this.scrollParent[0],this.off
setParent[0])?this.scrollParent:this.offsetParent,h=/(html|body)/i.test(r[0].ta
gName);return"relative"!==this.cssPosition||this.scrollParent[0]!==this.docu
ment[0]&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=t
his._getRelativeOffset()),this.originalPosition&&(this.containment&&(t.pag
eX-
this.offset.click.left<this.containment[0]&&(a=this.containment[0]+this.offs
et.click.left),t.pageY-
this.offset.click.top<this.containment[1]&&(o=this.containment[1]+this.offs
et.click.top),t.pageX-
this.offset.click.left>this.containment[2]&&(a=this.containment[2]+this.offs
et.click.left),t.pageY-
this.offset.click.top>this.containment[3]&&(o=this.containment[3]+this.offs
et.click.top)),n.grid&&(i=this.originalPageY+Math.round((o-
this.originalPageY)/n.grid[1])*n.grid[1],o=this.containment?i-
this.offset.click.top>=this.containment[1]&&i-
this.offset.click.top<=this.containment[3]?i:i-
this.offset.click.top>=this.containment[1]?i-
n.grid[1]:i+n.grid[1]:i,s=this.originalPageX+Math.round((a-
this.originalPageX)/n.grid[0])*n.grid[0],a=this.containment?s-
this.offset.click.left>=this.containment[0]&&s-
this.offset.click.left<=this.containment[2]?s:s-
this.offset.click.left>=this.containment[0]?s-n.grid[0]:s+n.grid[0]:s)),{top:o-
this.offset.click.top-this.offset.relative.top-
this.offset.parent.top+("fixed"===this.cssPosition?-
this.scrollParent.scrollTop():h?0:r.scrollTop()),left:a-this.offset.click.left-
this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-
this.scrollParent.scrollLeft():h?0:r.scrollLeft())}},_rearrange:function(e,t,i,s){i
?i[0].appendChild(this.placeholder[0]):t.item[0].parentNode.insertBefore(th
is.placeholder[0],"down"===this.direction?t.item[0]:t.item[0].nextSibling),t
his.counter=this.counter?++this.counter:1;var
n=this.counter;this._delay(function(){n===this.counter&&this.refreshPositio
ns(!s)})},_clear:function(e,t){function i(e,t,i){return
function(s){i._trigger(e,s,t._uiHash(t))}}this.reverting=!1;var
s,n=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeh
older.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.c
urrentItem[0]){for(s in
this._storedCSS)("auto"===this._storedCSS[s]||"static"===this._storedCSS[s
])&&(this._storedCSS[s]="");this.currentItem.css(this._storedCSS).removeCl
ass("ui-sortable-helper")}else
this.currentItem.show();for(this.fromOutside&&!t&&n.push(function(e){this.
_trigger("receive",e,this._uiHash(this.fromOutside))}),!this.fromOutside&&t
his.domPosition.prev===this.currentItem.prev().not(".ui-sortable-
helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||t||n.p
ush(function(e){this._trigger("update",e,this._uiHash())}),this!==this.current
Container&&(t||(n.push(function(e){this._trigger("remove",e,this._uiHash())}
),n.push(function(e){return
function(t){e._trigger("receive",t,this._uiHash(this))}}.call(this,this.currentCo
ntainer)),n.push(function(e){return
function(t){e._trigger("update",t,this._uiHash(this))}}.call(this,this.currentCo
ntainer)))),s=this.containers.length-1;s>=0;s--
)t||n.push(i("deactivate",this,this.containers[s])),this.containers[s].container
Cache.over&&(n.push(i("out",this,this.containers[s])),this.containers[s].cont
ainerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("
cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpac
ity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&th
is.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),t
his.dragging=!1,t||this._trigger("beforeStop",e,this._uiHash()),this.placehold
er[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemov
al||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=
null),!t){for(s=0;n.length>s;s++)n[s].call(this,e);this._trigger("stop",e,this._ui
Hash())}return
this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){e.Widge
t.prototype._trigger.apply(this,arguments)===!1&&this.cancel()},_uiHash:fu
nction(t){var
i=t||this;return{helper:i.helper,placeholder:i.placeholder||e([]),position:i.posit
ion,originalPosition:i.originalPosition,offset:i.positionAbs,item:i.currentItem
,sender:t?t.element:null}}}),e.widget("ui.spinner",{version:"1.11.4",defaultEle
ment:"<input>",widgetEventPrefix:"spin",options:{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,cha
nge:null,spin:null,start:null,stop:null},_create:function(){this._setOption("ma
x",this.options.max),this._setOption("min",this.options.min),this._setOptio
n("step",this.options.step),""!==this.value()&&this._value(this.element.val(),
!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{b
eforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCr
eateOptions:function(){var t={},i=this.element;return
e.each(["min","max","step"],function(e,s){var n=i.attr(s);void
0!==n&&n.length&&(t[s]=n)}),t},_events:{keydown:function(e){this._start(e)
&&this._keydown(e)&&e.preventDefault()},keyup:"_stop",focus:function(){t
his.previous=this.element.val()},blur:function(e){return
this.cancelBlur?(delete this.cancelBlur,void
0):(this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trig
ger("change",e),void
0)},mousewheel:function(e,t){if(t){if(!this.spinning&&!this._start(e))return!1;
this._spin((t>0?1:-
1)*this.options.step,e),clearTimeout(this.mousewheelTimer),this.mousewh
eelTimer=this._delay(function(){this.spinning&&this._stop(e)},100),e.preven
tDefault()}},"mousedown .ui-spinner-button":function(t){function i(){var
e=this.element[0]===this.document[0].activeElement;e||(this.element.focus
(),this.previous=s,this._delay(function(){this.previous=s}))}var
s;s=this.element[0]===this.document[0].activeElement?this.previous:this.el
ement.val(),t.preventDefault(),i.call(this),this.cancelBlur=!0,this._delay(func
tion(){delete
this.cancelBlur,i.call(this)}),this._start(t)!==!1&&this._repeat(null,e(t.current
Target).hasClass("ui-spinner-up")?1:-1,t)},"mouseup .ui-spinner-
button":"_stop","mouseenter .ui-spinner-button":function(t){return
e(t.currentTarget).hasClass("ui-state-
active")?this._start(t)===!1?!1:(this._repeat(null,e(t.currentTarget).hasClass(
"ui-spinner-up")?1:-1,t),void 0):void 0},"mouseleave .ui-spinner-
button":"_stop"},_draw:function(){var
e=this.uiSpinner=this.element.addClass("ui-spinner-
input").attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().app
end(this._buttonHtml());this.element.attr("role","spinbutton"),this.buttons=
e.find(".ui-spinner-button").attr("tabIndex",-1).button().removeClass("ui-
corner-
all"),this.buttons.height()>Math.ceil(.5*e.height())&&e.height()>0&&e.heigh
t(e.height()),this.options.disabled&&this.disable()},_keydown:function(t){va
r i=this.options,s=e.ui.keyCode;switch(t.keyCode){case s.UP:return
this._repeat(null,1,t),!0;case s.DOWN:return this._repeat(null,-1,t),!0;case
s.PAGE_UP:return this._repeat(null,i.page,t),!0;case s.PAGE_DOWN:return
this._repeat(null,-
i.page,t),!0}return!1},_uiSpinnerHtml:function(){return"<span class='ui-
spinner ui-widget ui-widget-content ui-corner-
all'></span>"},_buttonHtml:function(){return"<a class='ui-spinner-button ui-
spinner-up ui-corner-tr'><span class='ui-icon
"+this.options.icons.up+"'>&#9650;</span>"+"</a>"+"<a class='ui-spinner-
button ui-spinner-down ui-corner-br'>"+"<span class='ui-icon
"+this.options.icons.down+"'>&#9660;</span>"+"</a>"},_start:function(e){re
turn
this.spinning||this._trigger("start",e)!==!1?(this.counter||(this.counter=1),this
.spinning=!0,!0):!1},_repeat:function(e,t,i){e=e||500,clearTimeout(this.timer),
this.timer=this._delay(function(){this._repeat(40,t,i)},e),this._spin(t*this.opt
ions.step,i)},_spin:function(e,t){var
i=this.value()||0;this.counter||(this.counter=1),i=this._adjustValue(i+e*this._i
ncrement(this.counter)),this.spinning&&this._trigger("spin",t,{value:i})===!1|
|(this._value(i),this.counter++)},_increment:function(t){var
i=this.options.incremental;return i?e.isFunction(i)?i(t):Math.floor(t*t*t/5e4-
t*t/500+17*t/200+1):1},_precision:function(){var
e=this._precisionOf(this.options.step);return
null!==this.options.min&&(e=Math.max(e,this._precisionOf(this.options.min
))),e},_precisionOf:function(e){var t=""+e,i=t.indexOf(".");return-
1===i?0:t.length-i-1},_adjustValue:function(e){var t,i,s=this.options;return
t=null!==s.min?s.min:0,i=e-
t,i=Math.round(i/s.step)*s.step,e=t+i,e=parseFloat(e.toFixed(this._precision
())),null!==s.max&&e>s.max?s.max:null!==s.min&&s.min>e?s.min:e},_stop:f
unction(e){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mou
sewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",e))},_set
Option:function(e,t){if("culture"===e||"numberFormat"===e){var
i=this._parse(this.element.val());return
this.options[e]=t,this.element.val(this._format(i)),void
0}("max"===e||"min"===e||"step"===e)&&"string"==typeof
t&&(t=this._parse(t)),"icons"===e&&(this.buttons.first().find(".ui-
icon").removeClass(this.options.icons.up).addClass(t.up),this.buttons.last().f
ind(".ui-
icon").removeClass(this.options.icons.down).addClass(t.down)),this._super(
e,t),"disabled"===e&&(this.widget().toggleClass("ui-state-
disabled",!!t),this.element.prop("disabled",!!t),this.buttons.button(t?"disable
":"enable"))},_setOptions:h(function(e){this._super(e)}),_parse:function(e){re
turn"string"==typeof
e&&""!==e&&(e=window.Globalize&&this.options.numberFormat?Globalize
.parseFloat(e,10,this.options.culture):+e),""===e||isNaN(e)?null:e},_format:f
unction(e){return""===e?"":window.Globalize&&this.options.numberFormat
?Globalize.format(e,this.options.numberFormat,this.options.culture):e},_ref
resh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-
valuemax":this.options.max,"aria-
valuenow":this._parse(this.element.val())})},isValid:function(){var
e=this.value();return
null===e?!1:e===this._adjustValue(e)},_value:function(e,t){var
i;""!==e&&(i=this._parse(e),null!==i&&(t||(i=this._adjustValue(i)),e=this._for
mat(i))),this.element.val(e),this._refresh()},_destroy:function(){this.element.
removeClass("ui-spinner-
input").prop("disabled",!1).removeAttr("autocomplete").removeAttr("role").
removeAttr("aria-valuemin").removeAttr("aria-
valuemax").removeAttr("aria-
valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:h(function(e){t
his._stepUp(e)}),_stepUp:function(e){this._start()&&(this._spin((e||1)*this.op
tions.step),this._stop())},stepDown:h(function(e){this._stepDown(e)}),_step
Down:function(e){this._start()&&(this._spin((e||1)*-
this.options.step),this._stop())},pageUp:h(function(e){this._stepUp((e||1)*thi
s.options.page)}),pageDown:h(function(e){this._stepDown((e||1)*this.option
s.page)}),value:function(e){return
arguments.length?(h(this._value).call(this,e),void
0):this._parse(this.element.val())},widget:function(){return
this.uiSpinner}}),e.widget("ui.tabs",{version:"1.11.4",delay:300,options:{activ
e:null,collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,a
ctivate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:function(
){var e=/#.*$/;return function(t){var
i,s;t=t.cloneNode(!1),i=t.href.replace(e,""),s=location.href.replace(e,"");try{i=
decodeURIComponent(i)}catch(n){}try{s=decodeURIComponent(s)}catch(n){
}return t.hash.length>1&&i===s}}(),_create:function(){var
t=this,i=this.options;this.running=!1,this.element.addClass("ui-tabs ui-
widget ui-widget-content ui-corner-all").toggleClass("ui-tabs-
collapsible",i.collapsible),this._processTabs(),i.active=this._initialActive(),e.i
sArray(i.disabled)&&(i.disabled=e.unique(i.disabled.concat(e.map(this.tabs.
filter(".ui-state-disabled"),function(e){return
t.tabs.index(e)}))).sort()),this.active=this.options.active!==!1&&this.anchors.l
ength?this._findActive(i.active):e(),this._refresh(),this.active.length&&this.l
oad(i.active)},_initialActive:function(){var
t=this.options.active,i=this.options.collapsible,s=location.hash.substring(1);r
eturn null===t&&(s&&this.tabs.each(function(i,n){return e(n).attr("aria-
controls")===s?(t=i,!1):void
0}),null===t&&(t=this.tabs.index(this.tabs.filter(".ui-tabs-
active"))),(null===t||-
1===t)&&(t=this.tabs.length?0:!1)),t!==!1&&(t=this.tabs.index(this.tabs.eq(t)
),-
1===t&&(t=i?!1:0)),!i&&t===!1&&this.anchors.length&&(t=0),t},_getCreateE
ventData:function(){return{tab:this.active,panel:this.active.length?this._get
PanelForTab(this.active):e()}},_tabKeydown:function(t){var
i=e(this.document[0].activeElement).closest("li"),s=this.tabs.index(i),n=!0;if(
!this._handlePageNav(t)){switch(t.keyCode){case e.ui.keyCode.RIGHT:case
e.ui.keyCode.DOWN:s++;break;case e.ui.keyCode.UP:case
e.ui.keyCode.LEFT:n=!1,s--;break;case
e.ui.keyCode.END:s=this.anchors.length-1;break;case
e.ui.keyCode.HOME:s=0;break;case e.ui.keyCode.SPACE:return
t.preventDefault(),clearTimeout(this.activating),this._activate(s),void 0;case
e.ui.keyCode.ENTER:return
t.preventDefault(),clearTimeout(this.activating),this._activate(s===this.opti
ons.active?!1:s),void
0;default:return}t.preventDefault(),clearTimeout(this.activating),s=this._foc
usNextTab(s,n),t.ctrlKey||t.metaKey||(i.attr("aria-
selected","false"),this.tabs.eq(s).attr("aria-
selected","true"),this.activating=this._delay(function(){this.option("active",s)
},this.delay))}},_panelKeydown:function(t){this._handlePageNav(t)||t.ctrlKey
&&t.keyCode===e.ui.keyCode.UP&&(t.preventDefault(),this.active.focus())}
,_handlePageNav:function(t){return
t.altKey&&t.keyCode===e.ui.keyCode.PAGE_UP?(this._activate(this._focus
NextTab(this.options.active-
1,!1)),!0):t.altKey&&t.keyCode===e.ui.keyCode.PAGE_DOWN?(this._activat
e(this._focusNextTab(this.options.active+1,!0)),!0):void
0},_findNextTab:function(t,i){function s(){return
t>n&&(t=0),0>t&&(t=n),t}for(var n=this.tabs.length-1;-
1!==e.inArray(s(),this.options.disabled);)t=i?t+1:t-1;return
t},_focusNextTab:function(e,t){return
e=this._findNextTab(e,t),this.tabs.eq(e).focus(),e},_setOption:function(e,t){r
eturn"active"===e?(this._activate(t),void
0):"disabled"===e?(this._setupDisabled(t),void
0):(this._super(e,t),"collapsible"===e&&(this.element.toggleClass("ui-tabs-
collapsible",t),t||this.options.active!==!1||this._activate(0)),"event"===e&&thi
s._setupEvents(t),"heightStyle"===e&&this._setupHeightStyle(t),void
0)},_sanitizeSelector:function(e){return
e?e.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){
var
t=this.options,i=this.tablist.children(":has(a[href])");t.disabled=e.map(i.filter
(".ui-state-disabled"),function(e){return
i.index(e)}),this._processTabs(),t.active!==!1&&this.anchors.length?this.activ
e.length&&!e.contains(this.tablist[0],this.active[0])?this.tabs.length===t.dis
abled.length?(t.active=!1,this.active=e()):this._activate(this._findNextTab(M
ath.max(0,t.active-
1),!1)):t.active=this.tabs.index(this.active):(t.active=!1,this.active=e()),this._r
efresh()},_refresh:function(){this._setupDisabled(this.options.disabled),this.
_setupEvents(this.options.event),this._setupHeightStyle(this.options.height
Style),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.addClass("ui-tabs-active ui-
state-active").attr({"aria-selected":"true","aria-
expanded":"true",tabIndex:0}),this._getPanelForTab(this.active).show().attr(
{"aria-
hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function()
{var t=this,i=this.tabs,s=this.anchors,n=this.panels;
this.tablist=this._getList().addClass("ui-tabs-nav ui-helper-reset ui-helper-
clearfix ui-widget-header ui-corner-all").attr("role","tablist").delegate(">
li","mousedown"+this.eventNamespace,function(t){e(this).is(".ui-state-
disabled")&&t.preventDefault()}).delegate(".ui-tabs-
anchor","focus"+this.eventNamespace,function(){e(this).closest("li").is(".ui-
state-disabled")&&this.blur()}),this.tabs=this.tablist.find(">
li:has(a[href])").addClass("ui-state-default ui-corner-
top").attr({role:"tab",tabIndex:-
1}),this.anchors=this.tabs.map(function(){return e("a",this)[0]}).addClass("ui-
tabs-anchor").attr({role:"presentation",tabIndex:-
1}),this.panels=e(),this.anchors.each(function(i,s){var
n,a,o,r=e(s).uniqueId().attr("id"),h=e(s).closest("li"),l=h.attr("aria-
controls");t._isLocal(s)?(n=s.hash,o=n.substring(1),a=t.element.find(t._saniti
zeSelector(n))):(o=h.attr("aria-
controls")||e({}).uniqueId()[0].id,n="#"+o,a=t.element.find(n),a.length||(a=t._
createPanel(o),a.insertAfter(t.panels[i-1]||t.tablist)),a.attr("aria-
live","polite")),a.length&&(t.panels=t.panels.add(a)),l&&h.data("ui-tabs-
aria-controls",l),h.attr({"aria-controls":o,"aria-labelledby":r}),a.attr("aria-
labelledby",r)}),this.panels.addClass("ui-tabs-panel ui-widget-content ui-
corner-
bottom").attr("role","tabpanel"),i&&(this._off(i.not(this.tabs)),this._off(s.not
(this.anchors)),this._off(n.not(this.panels)))},_getList:function(){return
this.tablist||this.element.find("ol,ul").eq(0)},_createPanel:function(t){return
e("<div>").attr("id",t).addClass("ui-tabs-panel ui-widget-content ui-corner-
bottom").data("ui-tabs-
destroy",!0)},_setupDisabled:function(t){e.isArray(t)&&(t.length?t.length===
this.anchors.length&&(t=!0):t=!1);for(var i,s=0;i=this.tabs[s];s++)t===!0||-
1!==e.inArray(s,t)?e(i).addClass("ui-state-disabled").attr("aria-
disabled","true"):e(i).removeClass("ui-state-disabled").removeAttr("aria-
disabled");this.options.disabled=t},_setupEvents:function(t){var
i={};t&&e.each(t.split("
"),function(e,t){i[t]="_eventHandler"}),this._off(this.anchors.add(this.tabs).a
dd(this.panels)),this._on(!0,this.anchors,{click:function(e){e.preventDefault()
}}),this._on(this.anchors,i),this._on(this.tabs,{keydown:"_tabKeydown"}),this
._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),thi
s._hoverable(this.tabs)},_setupHeightStyle:function(t){var
i,s=this.element.parent();"fill"===t?(i=s.height(),i-
=this.element.outerHeight()-
this.element.height(),this.element.siblings(":visible").each(function(){var
t=e(this),s=t.css("position");"absolute"!==s&&"fixed"!==s&&(i-
=t.outerHeight(!0))}),this.element.children().not(this.panels).each(function()
{i-
=e(this).outerHeight(!0)}),this.panels.each(function(){e(this).height(Math.m
ax(0,i-
e(this).innerHeight()+e(this).height()))}).css("overflow","auto")):"auto"===t&
&(i=0,this.panels.each(function(){i=Math.max(i,e(this).height("").height())}).
height(i))},_eventHandler:function(t){var
i=this.options,s=this.active,n=e(t.currentTarget),a=n.closest("li"),o=a[0]===s
[0],r=o&&i.collapsible,h=r?e():this._getPanelForTab(a),l=s.length?this._getP
anelForTab(s):e(),u={oldTab:s,oldPanel:l,newTab:r?e():a,newPanel:h};t.prev
entDefault(),a.hasClass("ui-state-disabled")||a.hasClass("ui-tabs-
loading")||this.running||o&&!i.collapsible||this._trigger("beforeActivate",t,u)=
==!1||(i.active=r?!1:this.tabs.index(a),this.active=o?e():a,this.xhr&&this.xhr.a
bort(),l.length||h.length||e.error("jQuery UI Tabs: Mismatching fragment
identifier."),h.length&&this.load(this.tabs.index(a),t),this._toggle(t,u))},_tog
gle:function(t,i){function s(){a.running=!1,a._trigger("activate",t,i)}function
n(){i.newTab.closest("li").addClass("ui-tabs-active ui-state-
active"),o.length&&a.options.show?a._show(o,a.options.show,s):(o.show(),s
())}var
a=this,o=i.newPanel,r=i.oldPanel;this.running=!0,r.length&&this.options.hid
e?this._hide(r,this.options.hide,function(){i.oldTab.closest("li").removeClass
("ui-tabs-active ui-state-active"),n()}):(i.oldTab.closest("li").removeClass("ui-
tabs-active ui-state-active"),r.hide(),n()),r.attr("aria-
hidden","true"),i.oldTab.attr({"aria-selected":"false","aria-
expanded":"false"}),o.length&&r.length?i.oldTab.attr("tabIndex",-
1):o.length&&this.tabs.filter(function(){return
0===e(this).attr("tabIndex")}).attr("tabIndex",-1),o.attr("aria-
hidden","false"),i.newTab.attr({"aria-selected":"true","aria-
expanded":"true",tabIndex:0})},_activate:function(t){var
i,s=this._findActive(t);s[0]!==this.active[0]&&(s.length||(s=this.active),i=s.fin
d(".ui-tabs-
anchor")[0],this._eventHandler({target:i,currentTarget:i,preventDefault:e.n
oop}))},_findActive:function(t){return
t===!1?e():this.tabs.eq(t)},_getIndex:function(e){return"string"==typeof
e&&(e=this.anchors.index(this.anchors.filter("[href$='"+e+"']"))),e},_destroy:
function(){this.xhr&&this.xhr.abort(),this.element.removeClass("ui-tabs ui-
widget ui-widget-content ui-corner-all ui-tabs-
collapsible"),this.tablist.removeClass("ui-tabs-nav ui-helper-reset ui-helper-
clearfix ui-widget-header ui-corner-
all").removeAttr("role"),this.anchors.removeClass("ui-tabs-
anchor").removeAttr("role").removeAttr("tabIndex").removeUniqueId(),this.
tablist.unbind(this.eventNamespace),this.tabs.add(this.panels).each(functio
n(){e.data(this,"ui-tabs-destroy")?e(this).remove():e(this).removeClass("ui-
state-default ui-state-active ui-state-disabled ui-corner-top ui-corner-
bottom ui-widget-content ui-tabs-active ui-tabs-
panel").removeAttr("tabIndex").removeAttr("aria-live").removeAttr("aria-
busy").removeAttr("aria-selected").removeAttr("aria-
labelledby").removeAttr("aria-hidden").removeAttr("aria-
expanded").removeAttr("role")}),this.tabs.each(function(){var
t=e(this),i=t.data("ui-tabs-aria-controls");i?t.attr("aria-
controls",i).removeData("ui-tabs-aria-controls"):t.removeAttr("aria-
controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.p
anels.css("height","")},enable:function(t){var
i=this.options.disabled;i!==!1&&(void
0===t?i=!1:(t=this._getIndex(t),i=e.isArray(i)?e.map(i,function(e){return
e!==t?e:null}):e.map(this.tabs,function(e,i){return
i!==t?i:null})),this._setupDisabled(i))},disable:function(t){var
i=this.options.disabled;if(i!==!0){if(void
0===t)i=!0;else{if(t=this._getIndex(t),-
1!==e.inArray(t,i))return;i=e.isArray(i)?e.merge([t],i).sort():[t]}this._setupDis
abled(i)}},load:function(t,i){t=this._getIndex(t);var
s=this,n=this.tabs.eq(t),a=n.find(".ui-tabs-
anchor"),o=this._getPanelForTab(n),r={tab:n,panel:o},h=function(e,t){"abort
"===t&&s.panels.stop(!1,!0),n.removeClass("ui-tabs-
loading"),o.removeAttr("aria-busy"),e===s.xhr&&delete
s.xhr};this._isLocal(a[0])||(this.xhr=e.ajax(this._ajaxSettings(a,i,r)),this.xhr&
&"canceled"!==this.xhr.statusText&&(n.addClass("ui-tabs-
loading"),o.attr("aria-
busy","true"),this.xhr.done(function(e,t,n){setTimeout(function(){o.html(e),s
._trigger("load",i,r),h(n,t)},1)}).fail(function(e,t){setTimeout(function(){h(e,t)}
,1)})))},_ajaxSettings:function(t,i,s){var
n=this;return{url:t.attr("href"),beforeSend:function(t,a){return
n._trigger("beforeLoad",i,e.extend({jqXHR:t,ajaxSettings:a},s))}}},_getPanel
ForTab:function(t){var i=e(t).attr("aria-controls");return
this.element.find(this._sanitizeSelector("#"+i))}}),e.widget("ui.tooltip",{versi
on:"1.11.4",options:{content:function(){var t=e(this).attr("title")||"";return
e("<a>").text(t).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"le
ft top+15",at:"left bottom",collision:"flipfit
flip"},show:!0,tooltipClass:null,track:!1,close:null,open:null},_addDescribedB
y:function(t,i){var s=(t.attr("aria-
describedby")||"").split(/\s+/);s.push(i),t.data("ui-tooltip-id",i).attr("aria-
describedby",e.trim(s.join(" ")))},_removeDescribedBy:function(t){var
i=t.data("ui-tooltip-id"),s=(t.attr("aria-
describedby")||"").split(/\s+/),n=e.inArray(i,s);-
1!==n&&s.splice(n,1),t.removeData("ui-tooltip-id"),s=e.trim(s.join("
")),s?t.attr("aria-describedby",s):t.removeAttr("aria-
describedby")},_create:function(){this._on({mouseover:"open",focusin:"open
"}),this.tooltips={},this.parents={},this.options.disabled&&this._disable(),this
.liveRegion=e("<div>").attr({role:"log","aria-live":"assertive","aria-
relevant":"additions"}).addClass("ui-helper-hidden-
accessible").appendTo(this.document[0].body)},_setOption:function(t,i){var
s=this;return"disabled"===t?(this[i?"_disable":"_enable"](),this.options[t]=i,v
oid
0):(this._super(t,i),"content"===t&&e.each(this.tooltips,function(e,t){s._upd
ateContent(t.element)}),void 0)},_disable:function(){var
t=this;e.each(this.tooltips,function(i,s){var
n=e.Event("blur");n.target=n.currentTarget=s.element[0],t.close(n,!0)}),this.
element.find(this.options.items).addBack().each(function(){var
t=e(this);t.is("[title]")&&t.data("ui-tooltip-
title",t.attr("title")).removeAttr("title")})},_enable:function(){this.element.fin
d(this.options.items).addBack().each(function(){var t=e(this);t.data("ui-
tooltip-title")&&t.attr("title",t.data("ui-tooltip-title"))})},open:function(t){var
i=this,s=e(t?t.target:this.element).closest(this.options.items);s.length&&!s.d
ata("ui-tooltip-id")&&(s.attr("title")&&s.data("ui-tooltip-
title",s.attr("title")),s.data("ui-tooltip-
open",!0),t&&"mouseover"===t.type&&s.parents().each(function(){var
t,s=e(this);s.data("ui-tooltip-
open")&&(t=e.Event("blur"),t.target=t.currentTarget=this,i.close(t,!0)),s.attr
("title")&&(s.uniqueId(),i.parents[this.id]={element:this,title:s.attr("title")},s.
attr("title",""))}),this._registerCloseHandlers(t,s),this._updateContent(s,t))},_
updateContent:function(e,t){var
i,s=this.options.content,n=this,a=t?t.type:null;return"string"==typeof
s?this._open(t,e,s):(i=s.call(e[0],function(i){n._delay(function(){e.data("ui-
tooltip-
open")&&(t&&(t.type=a),this._open(t,e,i))})}),i&&this._open(t,e,i),void
0)},_open:function(t,i,s){function n(e){l.of=e,o.is(":hidden")||o.position(l)}var
a,o,r,h,l=e.extend({},this.options.position);if(s){if(a=this._find(i))return
a.tooltip.find(".ui-tooltip-content").html(s),void
0;i.is("[title]")&&(t&&"mouseover"===t.type?i.attr("title",""):i.removeAttr("ti
tle")),a=this._tooltip(i),o=a.tooltip,this._addDescribedBy(i,o.attr("id")),o.find
(".ui-tooltip-
content").html(s),this.liveRegion.children().hide(),s.clone?(h=s.clone(),h.rem
oveAttr("id").find("[id]").removeAttr("id")):h=s,e("<div>").html(h).appendTo(
this.liveRegion),this.options.track&&t&&/^mouse/.test(t.type)?(this._on(thi
s.document,{mousemove:n}),n(t)):o.position(e.extend({of:i},this.options.pos
ition)),o.hide(),this._show(o,this.options.show),this.options.show&&this.opt
ions.show.delay&&(r=this.delayedShow=setInterval(function(){o.is(":visible"
)&&(n(l.of),clearInterval(r))},e.fx.interval)),this._trigger("open",t,{tooltip:o})}}
,_registerCloseHandlers:function(t,i){var
s={keyup:function(t){if(t.keyCode===e.ui.keyCode.ESCAPE){var
s=e.Event(t);s.currentTarget=i[0],this.close(s,!0)}}};i[0]!==this.element[0]&&
(s.remove=function(){this._removeTooltip(this._find(i).tooltip)}),t&&"mouse
over"!==t.type||(s.mouseleave="close"),t&&"focusin"!==t.type||(s.focusout="
close"),this._on(!0,i,s)},close:function(t){var
i,s=this,n=e(t?t.currentTarget:this.element),a=this._find(n);return
a?(i=a.tooltip,a.closing||(clearInterval(this.delayedShow),n.data("ui-tooltip-
title")&&!n.attr("title")&&n.attr("title",n.data("ui-tooltip-
title")),this._removeDescribedBy(n),a.hiding=!0,i.stop(!0),this._hide(i,this.op
tions.hide,function(){s._removeTooltip(e(this))}),n.removeData("ui-tooltip-
open"),this._off(n,"mouseleave focusout
keyup"),n[0]!==this.element[0]&&this._off(n,"remove"),this._off(this.docum
ent,"mousemove"),t&&"mouseleave"===t.type&&e.each(this.parents,functi
on(t,i){e(i.element).attr("title",i.title),delete
s.parents[t]}),a.closing=!0,this._trigger("close",t,{tooltip:i}),a.hiding||(a.closin
g=!1)),void 0):(n.removeData("ui-tooltip-open"),void
0)},_tooltip:function(t){var i=e("<div>").attr("role","tooltip").addClass("ui-
tooltip ui-widget ui-corner-all ui-widget-content
"+(this.options.tooltipClass||"")),s=i.uniqueId().attr("id");return
e("<div>").addClass("ui-tooltip-
content").appendTo(i),i.appendTo(this.document[0].body),this.tooltips[s]={
element:t,tooltip:i}},_find:function(e){var t=e.data("ui-tooltip-id");return
t?this.tooltips[t]:null},_removeTooltip:function(e){e.remove(),delete
this.tooltips[e.attr("id")]},_destroy:function(){var
t=this;e.each(this.tooltips,function(i,s){var
n=e.Event("blur"),a=s.element;n.target=n.currentTarget=a[0],t.close(n,!0),e(
"#"+i).remove(),a.data("ui-tooltip-
title")&&(a.attr("title")||a.attr("title",a.data("ui-tooltip-
title")),a.removeData("ui-tooltip-title"))}),this.liveRegion.remove()}})});
</script>

<script>
score = 0;
if ($('.draggable')[0]) {
$('.draggable').draggable({
revert: true,
snapTolerance: 30,
revertDuration: 0,
cursor: "move"
});
}

// Make blank spaces accept corresponding word

$('.blank').each(function(index) {

toAccept = $(this)[0].dataset.accept;
// Resize spans to correct answer
if ($(this).hasClass('resizable')) {
answer = $('.draggable.' + toAccept);
width = answer[0].scrollWidth;
width = width - ($(this).css('padding-left').replace('px', '') * 2);
$(this).css('width', width);
}

$(this).droppable({
accept: '.' + toAccept,
drop: function(event, ui) {
$(this).append(ui.draggable);
$(this).addClass('answered');

score++;
$(ui.draggable).draggable('destroy');
$(this).droppable("destroy");
}
});
});
</script>

</body>
</html>

You might also like