/*! * jQuery JavaScript Library v1.11.3 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2015-04-28T16:19Z */ (function(n,t){typeof module=="object"&&typeof module.exports=="object"?module.exports=n.document?t(n,!0):function(n){if(!n.document)throw new Error("jQuery requires a window with a document");return t(n)}:t(n)})(typeof window!="undefined"?window:this,function(n,t){function tr(n){var t="length"in n&&n.length,r=i.type(n);return r==="function"||i.isWindow(n)?!1:n.nodeType===1&&t?!0:r==="array"||t===0||typeof t=="number"&&t>0&&t-1 in n}function di(n,t,r){if(i.isFunction(t))return i.grep(n,function(n,i){return!!t.call(n,i,n)!==r});if(t.nodeType)return i.grep(n,function(n){return n===t!==r});if(typeof t=="string"){if(oo.test(t))return i.filter(t,n,r);t=i.filter(t,n)}return i.grep(n,function(n){return i.inArray(n,t)>=0!==r})}function wr(n,t){do n=n[t];while(n&&n.nodeType!==1);return n}function ns(n){var t=ki[n]={};return i.each(n.match(h)||[],function(n,i){t[i]=!0}),t}function ru(){u.addEventListener?(u.removeEventListener("DOMContentLoaded",c,!1),n.removeEventListener("load",c,!1)):(u.detachEvent("onreadystatechange",c),n.detachEvent("onload",c))}function c(){(u.addEventListener||event.type==="load"||u.readyState==="complete")&&(ru(),i.ready())}function of(n,t,r){if(r===undefined&&n.nodeType===1){var u="data-"+t.replace(or,"-$1").toLowerCase();r=n.getAttribute(u);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r==="null"?null:+r+""===r?+r:uu.test(r)?i.parseJSON(r):r}catch(f){}i.data(n,t,r)}else r=undefined}return r}function nr(n){var t;for(t in n){if(t==="data"&&i.isEmptyObject(n[t]))continue;if(t!=="toJSON")return!1}return!0}function lf(n,t,r,u){if(!i.acceptData(n))return;var s,o,h=i.expando,c=n.nodeType,e=c?i.cache:n,f=c?n[h]:n[h]&&h;if(f&&e[f]&&(u||e[f].data)||r!==undefined||typeof t!="string")return f||(f=c?n[h]=y.pop()||i.guid++:h),e[f]||(e[f]=c?{}:{toJSON:i.noop}),(typeof t=="object"||typeof t=="function")&&(u?e[f]=i.extend(e[f],t):e[f].data=i.extend(e[f].data,t)),o=e[f],u||(o.data||(o.data={}),o=o.data),r!==undefined&&(o[i.camelCase(t)]=r),typeof t=="string"?(s=o[t],s==null&&(s=o[i.camelCase(t)])):s=o,s}function sf(n,t,u){if(!i.acceptData(n))return;var o,h,s=n.nodeType,f=s?i.cache:n,e=s?n[i.expando]:i.expando;if(!f[e])return;if(t){o=u?f[e]:f[e].data;if(o){i.isArray(t)?t=t.concat(i.map(t,i.camelCase)):t in o?t=[t]:(t=i.camelCase(t),t=t in o?[t]:t.split(" ")),h=t.length;while(h--)delete o[t[h]];if(u?!nr(o):!i.isEmptyObject(o))return}}if(!u){delete f[e].data;if(!nr(f[e]))return}s?i.cleanData([n],!0):r.deleteExpando||f!=f.window?delete f[e]:f[e]=null}function ct(){return!0}function ut(){return!1}function vu(){try{return u.activeElement}catch(n){}}function ku(n){var i=yu.split("|"),t=n.createDocumentFragment();if(t.createElement)while(i.length)t.createElement(i.pop());return t}function f(n,t){var e,u,s=0,r=typeof n.getElementsByTagName!==o?n.getElementsByTagName(t||"*"):typeof n.querySelectorAll!==o?n.querySelectorAll(t||"*"):undefined;if(!r)for(r=[],e=n.childNodes||n;(u=e[s])!=null;s++)!t||i.nodeName(u,t)?r.push(u):i.merge(r,f(u,t));return t===undefined||t&&i.nodeName(n,t)?i.merge([n],r):r}function pe(n){bi.test(n.type)&&(n.defaultChecked=n.checked)}function pf(n,t){return i.nodeName(n,"table")&&i.nodeName(t.nodeType!==11?t:t.firstChild,"tr")?n.getElementsByTagName("tbody")[0]||n.appendChild(n.ownerDocument.createElement("tbody")):n}function yf(n){return n.type=(i.find.attr(n,"type")!==null)+"/"+n.type,n}function kf(n){var t=fo.exec(n.type);return t?n.type=t[1]:n.removeAttribute("type"),n}function ii(n,t){for(var u,r=0;(u=n[r])!=null;r++)i._data(u,"globalEval",!t||i._data(t[r],"globalEval"))}function wf(n,t){if(t.nodeType!==1||!i.hasData(n))return;var e,f,o,s=i._data(n),r=i._data(t,s),u=s.events;if(u){delete r.handle,r.events={};for(e in u)for(f=0,o=u[e].length;f")).appendTo(r.documentElement),r=(ft[0].contentWindow||ft[0].contentDocument).document,r.write(),r.close(),t=ef(n,r),ft.detach()),vi[n]=t),t}function hf(n,t){return{get:function(){var i=n();if(i==null)return;if(i){delete this.get;return}return(this.get=t).apply(this,arguments)}}}function yr(n,t){if(t in n)return t;var r=t.charAt(0).toUpperCase()+t.slice(1),u=t,i=sr.length;while(i--){t=sr[i]+r;if(t in n)return t}return u}function rr(n,t){for(var f,r,o,e=[],u=0,s=n.length;u=0&&t=0},isEmptyObject:function(n){var t;for(t in n)return!1;return!0},isPlainObject:function(n){var t;if(!n||i.type(n)!=="object"||n.nodeType||i.isWindow(n))return!1;try{if(n.constructor&&!rt.call(n,"constructor")&&!rt.call(n.constructor.prototype,"isPrototypeOf"))return!1}catch(u){return!1}if(r.ownLast)for(t in n)return rt.call(n,t);for(t in n);return t===undefined||rt.call(n,t)},type:function(n){return n==null?n+"":typeof n=="object"||typeof n=="function"?kt[ue.call(n)]||"object":typeof n},globalEval:function(t){t&&i.trim(t)&&(n.execScript||function(t){n.eval.call(n,t)})(t)},camelCase:function(n){return n.replace(ie,"ms-").replace(he,ne)},nodeName:function(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()},each:function(n,t,i){var u,r=0,e=n.length,f=tr(n);if(i)if(f)for(;rt.cacheLength&&delete n[i.shift()],n[r+" "]=u}var i=[];return n}function c(n){return n[f]=!0,n}function a(n){var t=o.createElement("div");try{return!!n(t)}catch(i){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ii(n,i){var u=n.split("|"),r=n.length;while(r--)t.attrHandle[u[r]]=i}function si(n,t){var i=t&&n,r=i&&n.nodeType===1&&t.nodeType===1&&(~t.sourceIndex||li)-(~n.sourceIndex||li);if(r)return r;if(i)while(i=i.nextSibling)if(i===t)return-1;return n?1:-1}function lr(n){return function(t){var i=t.nodeName.toLowerCase();return i==="input"&&t.type===n}}function di(n){return function(t){var i=t.nodeName.toLowerCase();return(i==="input"||i==="button")&&t.type===n}}function k(n){return c(function(t){return t=+t,c(function(i,r){var u,e=n([],i.length,t),f=e.length;while(f--)i[u=e[f]]&&(i[u]=!(r[u]=i[u]))})})}function wt(n){return n&&typeof n.getElementsByTagName!="undefined"&&n}function oi(){}function yt(n){for(var t=0,r=n.length,i="";t1?function(t,i,r){var u=n.length;while(u--)if(!n[u](t,i,r))return!1;return!0}:n[0]}function gi(n,t,i){for(var u=0,f=t.length;u-1&&(f[l]=!(e[l]=a))}}else h=vt(h===e?h.splice(w,h.length):h),u?u(null,e,h,s):b.apply(e,h)})}function pt(n){for(var o,u,r,s=n.length,h=t.relative[n[0].type],c=h||t.relative[" "],i=h?1:0,l=kt(function(n){return n===o},c,!0),a=kt(function(n){return tt(o,n)>-1},c,!0),e=[function(n,t,i){var r=!h&&(i||t!==ct)||((o=t).nodeType?l(n,t,i):a(n,t,i));return o=null,r}];i1&&ni(e),i>1&&yt(n.slice(0,i-1).concat({value:n[i-2].type===" "?"*":""})).replace(at,"$1"),u,i0,e=n.length>0,f=function(f,s,h,c,a){var y,d,k,w=0,v="0",g=f&&[],p=[],it=ct,tt=f||e&&t.find.TAG("*",a),nt=l+=it==null?1:Math.random()||.1,rt=tt.length;for(a&&(ct=s!==o&&s);v!==rt&&(y=tt[v])!=null;v++){if(e&&y){d=0;while(k=n[d++])if(k(y,s,h)){c.push(y);break}a&&(l=nt)}u&&((y=!k&&y)&&w--,f&&g.push(y))}w+=v;if(u&&v!==w){d=0;while(k=i[d++])k(g,p,s,h);if(f){if(w>0)while(v--)g[v]||p[v]||(p[v]=ki.call(c));p=vt(p)}b.apply(c,p),a&&!f&&p.length>0&&w+i.length>1&&r.uniqueSort(c)}return a&&(l=nt,ct=it),g};return u?c(f):f}var it,u,t,lt,wi,ft,ui,bi,ct,w,ut,g,o,s,v,e,nt,ht,ot,f="sizzle"+1*new Date,h=n.document,l=0,nr=0,yi=bt(),ci=bt(),pi=bt(),gt=function(n,t){return n===t&&(ut=!0),0},li=-2147483648,tr={}.hasOwnProperty,d=[],ki=d.pop,cr=d.push,b=d.push,hi=d.slice,tt=function(n,t){for(var i=0,r=n.length;i+~]|"+i+")"+i+"*"),ar=new RegExp("="+i+"*([^\\]'\"]*?)"+i+"*\\]","g"),fr=new RegExp(fi),rr=new RegExp("^"+vi+"$"),st={ID:new RegExp("^#("+rt+")"),CLASS:new RegExp("^\\.("+rt+")"),TAG:new RegExp("^("+rt.replace("w","w*")+")"),ATTR:new RegExp("^"+ai),PSEUDO:new RegExp("^"+fi),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+i+"*(even|odd|(([+-]|)(\\d*)n|)"+i+"*(?:([+-]|)"+i+"*(\\d+)|))"+i+"*\\)|)","i"),bool:new RegExp("^(?:"+ri+")$","i"),needsContext:new RegExp("^"+i+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+i+"*((?:-\\d)?\\d*)"+i+"*\\)|)(?=[^-]|$)","i")},or=/^(?:input|select|textarea|button)$/i,er=/^h\d$/i,et=/^[^{]+\{\s*\[native \w/,sr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,dt=/[+~]/,ur=/'|\\/g,y=new RegExp("\\\\([\\da-f]{1,6}"+i+"?|("+i+")|.)","ig"),p=function(n,t,i){var r="0x"+t-65536;return r!==r||i?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,r&1023|56320)},ei=function(){g()};try{b.apply(d=hi.call(h.childNodes),h.childNodes),d[h.childNodes.length].nodeType}catch(pr){b={apply:d.length?function(n,t){cr.apply(n,hi.call(t))}:function(n,t){var i=n.length,r=0;while(n[i++]=t[r++]);n.length=i-1}}}u=r.support={},wi=r.isXML=function(n){var t=n&&(n.ownerDocument||n).documentElement;return t?t.nodeName!=="HTML":!1},g=r.setDocument=function(n){var l,c,r=n?n.ownerDocument||n:h;return r===o||r.nodeType!==9||!r.documentElement?o:(o=r,s=r.documentElement,c=r.defaultView,c&&c!==c.top&&(c.addEventListener?c.addEventListener("unload",ei,!1):c.attachEvent&&c.attachEvent("onunload",ei)),v=!wi(r),u.attributes=a(function(n){return n.className="i",!n.getAttribute("className")}),u.getElementsByTagName=a(function(n){return n.appendChild(r.createComment("")),!n.getElementsByTagName("*").length}),u.getElementsByClassName=et.test(r.getElementsByClassName),u.getById=a(function(n){return s.appendChild(n).id=f,!r.getElementsByName||!r.getElementsByName(f).length}),u.getById?(t.find.ID=function(n,t){if(typeof t.getElementById!="undefined"&&v){var i=t.getElementById(n);return i&&i.parentNode?[i]:[]}},t.filter.ID=function(n){var t=n.replace(y,p);return function(n){return n.getAttribute("id")===t}}):(delete t.find.ID,t.filter.ID=function(n){var t=n.replace(y,p);return function(n){var i=typeof n.getAttributeNode!="undefined"&&n.getAttributeNode("id");return i&&i.value===t}}),t.find.TAG=u.getElementsByTagName?function(n,t){return typeof t.getElementsByTagName!="undefined"?t.getElementsByTagName(n):u.qsa?t.querySelectorAll(n):void 0}:function(n,t){var i,u=[],f=0,r=t.getElementsByTagName(n);if(n==="*"){while(i=r[f++])i.nodeType===1&&u.push(i);return u}return r},t.find.CLASS=u.getElementsByClassName&&function(n,t){if(v)return t.getElementsByClassName(n)},nt=[],e=[],(u.qsa=et.test(r.querySelectorAll))&&(a(function(n){s.appendChild(n).innerHTML="",n.querySelectorAll("[msallowcapture^='']").length&&e.push("[*^$]="+i+"*(?:''|\"\")"),n.querySelectorAll("[selected]").length||e.push("\\["+i+"*(?:value|"+ri+")"),n.querySelectorAll("[id~="+f+"-]").length||e.push("~="),n.querySelectorAll(":checked").length||e.push(":checked"),n.querySelectorAll("a#"+f+"+*").length||e.push(".#.+[+~]")}),a(function(n){var t=r.createElement("input");t.setAttribute("type","hidden"),n.appendChild(t).setAttribute("name","D"),n.querySelectorAll("[name=d]").length&&e.push("name"+i+"*[*^$|!~]?="),n.querySelectorAll(":enabled").length||e.push(":enabled",":disabled"),n.querySelectorAll("*,:x"),e.push(",.*:")})),(u.matchesSelector=et.test(ht=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&a(function(n){u.disconnectedMatch=ht.call(n,"div"),ht.call(n,"[s!='']:x"),nt.push("!=",fi)}),e=e.length&&new RegExp(e.join("|")),nt=nt.length&&new RegExp(nt.join("|")),l=et.test(s.compareDocumentPosition),ot=l||et.test(s.contains)?function(n,t){var r=n.nodeType===9?n.documentElement:n,i=t&&t.parentNode;return n===i||!!(i&&i.nodeType===1&&(r.contains?r.contains(i):n.compareDocumentPosition&&n.compareDocumentPosition(i)&16))}:function(n,t){if(t)while(t=t.parentNode)if(t===n)return!0;return!1},gt=l?function(n,t){if(n===t)return ut=!0,0;var i=!n.compareDocumentPosition-!t.compareDocumentPosition;if(i)return i;return i=(n.ownerDocument||n)===(t.ownerDocument||t)?n.compareDocumentPosition(t):1,i&1||!u.sortDetached&&t.compareDocumentPosition(n)===i?n===r||n.ownerDocument===h&&ot(h,n)?-1:t===r||t.ownerDocument===h&&ot(h,t)?1:w?tt(w,n)-tt(w,t):0:i&4?-1:1}:function(n,t){if(n===t)return ut=!0,0;var u,i=0,s=n.parentNode,o=t.parentNode,f=[n],e=[t];if(s&&o){if(s===o)return si(n,t)}else return n===r?-1:t===r?1:s?-1:o?1:w?tt(w,n)-tt(w,t):0;u=n;while(u=u.parentNode)f.unshift(u);u=t;while(u=u.parentNode)e.unshift(u);while(f[i]===e[i])i++;return i?si(f[i],e[i]):f[i]===h?-1:e[i]===h?1:0},r)},r.matches=function(n,t){return r(n,null,null,t)},r.matchesSelector=function(n,t){(n.ownerDocument||n)!==o&&g(n),t=t.replace(ar,"='$1']");if(u.matchesSelector&&v&&(!nt||!nt.test(t))&&(!e||!e.test(t)))try{var i=ht.call(n,t);if(i||u.disconnectedMatch||n.document&&n.document.nodeType!==11)return i}catch(f){}return r(t,o,null,[n]).length>0},r.contains=function(n,t){return(n.ownerDocument||n)!==o&&g(n),ot(n,t)},r.attr=function(n,i){(n.ownerDocument||n)!==o&&g(n);var f=t.attrHandle[i.toLowerCase()],r=f&&tr.call(t.attrHandle,i.toLowerCase())?f(n,i,!v):undefined;return r!==undefined?r:u.attributes||!v?n.getAttribute(i):(r=n.getAttributeNode(i))&&r.specified?r.value:null},r.error=function(n){throw new Error("Syntax error, unrecognized expression: "+n);},r.uniqueSort=function(n){var f,r=[],t=0,i=0;ut=!u.detectDuplicates,w=!u.sortStable&&n.slice(0),n.sort(gt);if(ut){while(f=n[i++])f===n[i]&&(t=r.push(i));while(t--)n.splice(r[t],1)}return w=null,n},lt=r.getText=function(n){var r,i="",u=0,t=n.nodeType;if(t){if(t===1||t===9||t===11){if(typeof n.textContent=="string")return n.textContent;for(n=n.firstChild;n;n=n.nextSibling)i+=lt(n)}else if(t===3||t===4)return n.nodeValue}else while(r=n[u++])i+=lt(r);return i},t=r.selectors={cacheLength:50,createPseudo:c,match:st,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(n){return n[1]=n[1].replace(y,p),n[3]=(n[3]||n[4]||n[5]||"").replace(y,p),n[2]==="~="&&(n[3]=" "+n[3]+" "),n.slice(0,4)},CHILD:function(n){return n[1]=n[1].toLowerCase(),n[1].slice(0,3)==="nth"?(n[3]||r.error(n[0]),n[4]=+(n[4]?n[5]+(n[6]||1):2*(n[3]==="even"||n[3]==="odd")),n[5]=+(n[7]+n[8]||n[3]==="odd")):n[3]&&r.error(n[0]),n},PSEUDO:function(n){var i,t=!n[6]&&n[2];return st.CHILD.test(n[0])?null:(n[3]?n[2]=n[4]||n[5]||"":t&&fr.test(t)&&(i=ft(t,!0))&&(i=t.indexOf(")",t.length-i)-t.length)&&(n[0]=n[0].slice(0,i),n[2]=t.slice(0,i)),n.slice(0,3))}},filter:{TAG:function(n){var t=n.replace(y,p).toLowerCase();return n==="*"?function(){return!0}:function(n){return n.nodeName&&n.nodeName.toLowerCase()===t}},CLASS:function(n){var t=yi[n+" "];return t||(t=new RegExp("(^|"+i+")"+n+"("+i+"|$)"))&&yi(n,function(n){return t.test(typeof n.className=="string"&&n.className||typeof n.getAttribute!="undefined"&&n.getAttribute("class")||"")})},ATTR:function(n,t,i){return function(u){var f=r.attr(u,n);return f==null?t==="!=":t?(f+="",t==="="?f===i:t==="!="?f!==i:t==="^="?i&&f.indexOf(i)===0:t==="*="?i&&f.indexOf(i)>-1:t==="$="?i&&f.slice(-i.length)===i:t==="~="?(" "+f.replace(hr," ")+" ").indexOf(i)>-1:t==="|="?f===i||f.slice(0,i.length+1)===i+"-":!1):!0}},CHILD:function(n,t,i,r,u){var s=n.slice(0,3)!=="nth",o=n.slice(-4)!=="last",e=t==="of-type";return r===1&&u===0?function(n){return!!n.parentNode}:function(t,i,h){var v,d,c,a,y,w,b=s!==o?"nextSibling":"previousSibling",p=t.parentNode,g=e&&t.nodeName.toLowerCase(),k=!h&&!e;if(p){if(s){while(b){c=t;while(c=c[b])if(e?c.nodeName.toLowerCase()===g:c.nodeType===1)return!1;w=b=n==="only"&&!w&&"nextSibling"}return!0}w=[o?p.firstChild:p.lastChild];if(o&&k){d=p[f]||(p[f]={}),v=d[n]||[],y=v[0]===l&&v[1],a=v[0]===l&&v[2],c=y&&p.childNodes[y];while(c=++y&&c&&c[b]||(a=y=0)||w.pop())if(c.nodeType===1&&++a&&c===t){d[n]=[l,y,a];break}}else if(k&&(v=(t[f]||(t[f]={}))[n])&&v[0]===l)a=v[1];else while(c=++y&&c&&c[b]||(a=y=0)||w.pop())if((e?c.nodeName.toLowerCase()===g:c.nodeType===1)&&++a){k&&((c[f]||(c[f]={}))[n]=[l,a]);if(c===t)break}return a-=u,a===r||a%r==0&&a/r>=0}}},PSEUDO:function(n,i){var e,u=t.pseudos[n]||t.setFilters[n.toLowerCase()]||r.error("unsupported pseudo: "+n);return u[f]?u(i):u.length>1?(e=[n,n,"",i],t.setFilters.hasOwnProperty(n.toLowerCase())?c(function(n,t){var e,f=u(n,i),r=f.length;while(r--)e=tt(n,f[r]),n[e]=!(t[e]=f[r])}):function(n){return u(n,0,e)}):u}},pseudos:{not:c(function(n){var i=[],r=[],t=ui(n.replace(at,"$1"));return t[f]?c(function(n,i,r,u){var e,o=t(n,null,u,[]),f=n.length;while(f--)(e=o[f])&&(n[f]=!(i[f]=e))}):function(n,u,f){return i[0]=n,t(i,null,f,r),i[0]=null,!r.pop()}}),has:c(function(n){return function(t){return r(n,t).length>0}}),contains:c(function(n){return n=n.replace(y,p),function(t){return(t.textContent||t.innerText||lt(t)).indexOf(n)>-1}}),lang:c(function(n){return rr.test(n||"")||r.error("unsupported lang: "+n),n=n.replace(y,p).toLowerCase(),function(t){var i;do if(i=v?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return i=i.toLowerCase(),i===n||i.indexOf(n+"-")===0;while((t=t.parentNode)&&t.nodeType===1);return!1}}),target:function(t){var i=n.location&&n.location.hash;return i&&i.slice(1)===t.id},root:function(n){return n===s},focus:function(n){return n===o.activeElement&&(!o.hasFocus||o.hasFocus())&&!!(n.type||n.href||~n.tabIndex)},enabled:function(n){return n.disabled===!1},disabled:function(n){return n.disabled===!0},checked:function(n){var t=n.nodeName.toLowerCase();return t==="input"&&!!n.checked||t==="option"&&!!n.selected},selected:function(n){return n.parentNode&&n.parentNode.selectedIndex,n.selected===!0},empty:function(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeType<6)return!1;return!0},parent:function(n){return!t.pseudos.empty(n)},header:function(n){return er.test(n.nodeName)},input:function(n){return or.test(n.nodeName)},button:function(n){var t=n.nodeName.toLowerCase();return t==="input"&&n.type==="button"||t==="button"},text:function(n){var t;return n.nodeName.toLowerCase()==="input"&&n.type==="text"&&((t=n.getAttribute("type"))==null||t.toLowerCase()==="text")},first:k(function(){return[0]}),last:k(function(n,t){return[t-1]}),eq:k(function(n,t,i){return[i<0?i+t:i]}),even:k(function(n,t){for(var i=0;i=0;)n.push(r);return n}),gt:k(function(n,t,i){for(var r=i<0?i+t:i;++r2&&(o=e[0]).type==="ID"&&u.getById&&i.nodeType===9&&v&&t.relative[e[1].type]){i=(t.find.ID(o.matches[0].replace(y,p),i)||[])[0];if(i)c&&(i=i.parentNode);else return r;n=n.slice(e.shift().value.length)}h=st.needsContext.test(n)?0:e.length;while(h--){o=e[h];if(t.relative[l=o.type])break;if(a=t.find[l])if(f=a(o.matches[0].replace(y,p),dt.test(e[0].type)&&wt(i.parentNode)||i)){e.splice(h,1),n=f.length&&yt(e);if(!n)return b.apply(r,f),r;break}}}return(c||ui(n,s))(f,i,!v,r,dt.test(n)&&wt(i.parentNode)||i),r},u.sortStable=f.split("").sort(gt).join("")===f,u.detectDuplicates=!!ut,g(),u.sortDetached=a(function(n){return n.compareDocumentPosition(o.createElement("div"))&1}),a(function(n){return n.innerHTML="",n.firstChild.getAttribute("href")==="#"})||ii("type|href|height|width",function(n,t,i){if(!i)return n.getAttribute(t,t.toLowerCase()==="type"?1:2)}),u.attributes&&a(function(n){return n.innerHTML="",n.firstChild.setAttribute("value",""),n.firstChild.getAttribute("value")===""})||ii("value",function(n,t,i){if(!i&&n.nodeName.toLowerCase()==="input")return n.defaultValue}),a(function(n){return n.getAttribute("disabled")==null})||ii(ri,function(n,t,i){var r;if(!i)return n[t]===!0?t.toLowerCase():(r=n.getAttributeNode(t))&&r.specified?r.value:null}),r}(n),i.find=nt,i.expr=nt.selectors,i.expr[":"]=i.expr.pseudos,i.unique=nt.uniqueSort,i.text=nt.getText,i.isXMLDoc=nt.isXML,i.contains=nt.contains;var ar=i.expr.match.needsContext,cr=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,oo=/^.[^:#\[\.,]*$/;i.filter=function(n,t,r){var u=t[0];return r&&(n=":not("+n+")"),t.length===1&&u.nodeType===1?i.find.matchesSelector(u,n)?[u]:[]:i.find.matches(n,i.grep(t,function(n){return n.nodeType===1}))},i.fn.extend({find:function(n){var t,r=[],f=this,u=f.length;if(typeof n!="string")return this.pushStack(i(n).filter(function(){for(t=0;t1?i.unique(r):r),r.selector=this.selector?this.selector+" "+n:n,r},filter:function(n){return this.pushStack(di(this,n||[],!1))},not:function(n){return this.pushStack(di(this,n||[],!0))},is:function(n){return!!di(this,typeof n=="string"&&ar.test(n)?i(n):n||[],!1).length}});var st,u=n.document,so=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,ho=i.fn.init=function(n,t){var r,f;if(!n)return this;if(typeof n=="string"){r=n.charAt(0)!=="<"||n.charAt(n.length-1)!==">"||n.length<3?so.exec(n):[null,n,null];if(r&&(r[1]||!t)){if(r[1]){t=t instanceof i?t[0]:t,i.merge(this,i.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:u,!0));if(cr.test(r[1])&&i.isPlainObject(t))for(r in t)i.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}f=u.getElementById(r[2]);if(f&&f.parentNode){if(f.id!==r[2])return st.find(n);this.length=1,this[0]=f}return this.context=u,this.selector=n,this}return!t||t.jquery?(t||st).find(n):this.constructor(t).find(n)}return n.nodeType?(this.context=this[0]=n,this.length=1,this):i.isFunction(n)?typeof st.ready!="undefined"?st.ready(n):n(i):(n.selector!==undefined&&(this.selector=n.selector,this.context=n.context),i.makeArray(n,this))};ho.prototype=i.fn,st=i(u),dr=/^(?:parents|prev(?:Until|All))/,tu={children:!0,contents:!0,next:!0,prev:!0},i.extend({dir:function(n,t,r){var f=[],u=n[t];while(u&&u.nodeType!==9&&(r===undefined||u.nodeType!==1||!i(u).is(r)))u.nodeType===1&&f.push(u),u=u[t];return f},sibling:function(n,t){for(var i=[];n;n=n.nextSibling)n.nodeType===1&&n!==t&&i.push(n);return i}}),i.fn.extend({has:function(n){var t,r=i(n,this),u=r.length;return this.filter(function(){for(t=0;t-1:r.nodeType===1&&i.find.matchesSelector(r,n))){u.push(r);break}return this.pushStack(u.length>1?i.unique(u):u)},index:function(n){return n?typeof n=="string"?i.inArray(this[0],i(n)):i.inArray(n.jquery?n[0]:n,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(n,t){return this.pushStack(i.unique(i.merge(this.get(),i(n,t))))},addBack:function(n){return this.add(n==null?this.prevObject:this.prevObject.filter(n))}}),i.each({parent:function(n){var t=n.parentNode;return t&&t.nodeType!==11?t:null},parents:function(n){return i.dir(n,"parentNode")},parentsUntil:function(n,t,r){return i.dir(n,"parentNode",r)},next:function(n){return wr(n,"nextSibling")},prev:function(n){return wr(n,"previousSibling")},nextAll:function(n){return i.dir(n,"nextSibling")},prevAll:function(n){return i.dir(n,"previousSibling")},nextUntil:function(n,t,r){return i.dir(n,"nextSibling",r)},prevUntil:function(n,t,r){return i.dir(n,"previousSibling",r)},siblings:function(n){return i.sibling((n.parentNode||{}).firstChild,n)},children:function(n){return i.sibling(n.firstChild)},contents:function(n){return i.nodeName(n,"iframe")?n.contentDocument||n.contentWindow.document:i.merge([],n.childNodes)}},function(n,t){i.fn[n]=function(r,u){var f=i.map(this,t,r);return n.slice(-5)!=="Until"&&(u=r),u&&typeof u=="string"&&(f=i.filter(u,f)),this.length>1&&(tu[n]||(f=i.unique(f)),dr.test(n)&&(f=f.reverse())),this.pushStack(f)}}),h=/\S+/g,ki={},i.Callbacks=function(n){n=typeof n=="string"?ki[n]||ns(n):i.extend({},n);var o,u,h,e,f,l,t=[],r=!n.once&&[],c=function(i){for(u=n.memory&&i,h=!0,f=l||0,l=0,e=t.length,o=!0;t&&f-1)t.splice(u,1),o&&(u>e||e--,u>f||f--)}),this},has:function(n){return n?i.inArray(n,t)>-1:!!(t&&t.length)},empty:function(){return t=[],e=0,this},disable:function(){return t=r=u=undefined,this},disabled:function(){return!t},lock:function(){return r=undefined,u||s.disable(),this},locked:function(){return!r},fireWith:function(n,i){return t&&(!h||r)&&(i=i||[],i=[n,i.slice?i.slice():i],o?r.push(i):c(i)),this},fire:function(){return s.fireWith(this,arguments),this},fired:function(){return!!h}};return s},i.extend({Deferred:function(n){var u=[["resolve","done",i.Callbacks("once memory"),"resolved"],["reject","fail",i.Callbacks("once memory"),"rejected"],["notify","progress",i.Callbacks("memory")]],f="pending",r={state:function(){return f},always:function(){return t.done(arguments).fail(arguments),this},then:function(){var n=arguments;return i.Deferred(function(f){i.each(u,function(u,e){var o=i.isFunction(n[u])&&n[u];t[e[1]](function(){var n=o&&o.apply(this,arguments);n&&i.isFunction(n.promise)?n.promise().done(f.resolve).fail(f.reject).progress(f.notify):f[e[0]+"With"](this===r?f.promise():this,o?[n]:arguments)})}),n=null}).promise()},promise:function(n){return n!=null?i.extend(n,r):r}},t={};return r.pipe=r.then,i.each(u,function(n,i){var e=i[2],o=i[3];r[i[1]]=e.add,o&&e.add(function(){f=o},u[n^1][2].disable,u[2][2].lock),t[i[0]]=function(){return t[i[0]+"With"](this===t?r:this,arguments),this},t[i[0]+"With"]=e.fireWith}),r.promise(t),n&&n.call(t,t),t},when:function(n){var r=0,u=v.call(arguments),t=u.length,e=t!==1||n&&i.isFunction(n.promise)?t:0,f=e===1?n:i.Deferred(),h=function(n,t,i){return function(r){t[n]=this,i[n]=arguments.length>1?v.call(arguments):r,i===s?f.notifyWith(t,i):--e||f.resolveWith(t,i)}},s,c,o;if(t>1)for(s=new Array(t),c=new Array(t),o=new Array(t);r0)return;wt.resolveWith(u,[i]),i.fn.triggerHandler&&(i(u).triggerHandler("ready"),i(u).off("ready"))}}),i.ready.promise=function(t){if(!wt){wt=i.Deferred();if(u.readyState==="complete")setTimeout(i.ready);else if(u.addEventListener)u.addEventListener("DOMContentLoaded",c,!1),n.addEventListener("load",c,!1);else{u.attachEvent("onreadystatechange",c),n.attachEvent("onload",c);var r=!1;try{r=n.frameElement==null&&u.documentElement}catch(e){}r&&r.doScroll&&function f(){if(!i.isReady){try{r.doScroll("left")}catch(n){return setTimeout(f,50)}ru(),i.ready()}}()}}return wt.promise(t)},o=typeof undefined;for(fu in i(r))break;r.ownLast=fu!=="0",r.inlineBlockNeedsLayout=!1,i(function(){var f,t,n,i;n=u.getElementsByTagName("body")[0];if(!n||!n.style)return;t=u.createElement("div"),i=u.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(t),typeof t.style.zoom!==o&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",r.inlineBlockNeedsLayout=f=t.offsetWidth===3,f&&(n.style.zoom=1)),n.removeChild(i)}),function(){var n=u.createElement("div");if(r.deleteExpando==null){r.deleteExpando=!0;try{delete n.test}catch(t){r.deleteExpando=!1}}n=null}(),i.acceptData=function(n){var t=i.noData[(n.nodeName+" ").toLowerCase()],r=+n.nodeType||1;return r!==1&&r!==9?!1:!t||t!==!0&&n.getAttribute("classid")===t},uu=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,or=/([A-Z])/g,i.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(n){return n=n.nodeType?i.cache[n[i.expando]]:n[i.expando],!!n&&!nr(n)},data:function(n,t,i){return lf(n,t,i)},removeData:function(n,t){return sf(n,t)},_data:function(n,t,i){return lf(n,t,i,!0)},_removeData:function(n,t){return sf(n,t,!0)}}),i.fn.extend({data:function(n,t){var f,u,o,r=this[0],e=r&&r.attributes;if(n===undefined){if(this.length){o=i.data(r);if(r.nodeType===1&&!i._data(r,"parsedAttrs")){f=e.length;while(f--)e[f]&&(u=e[f].name,u.indexOf("data-")===0&&(u=i.camelCase(u.slice(5)),of(r,u,o[u])));i._data(r,"parsedAttrs",!0)}}return o}return typeof n=="object"?this.each(function(){i.data(this,n)}):arguments.length>1?this.each(function(){i.data(this,n,t)}):r?of(r,n,i.data(r,n)):undefined},removeData:function(n){return this.each(function(){i.removeData(this,n)})}}),i.extend({queue:function(n,t,r){var u;if(n)return t=(t||"fx")+"queue",u=i._data(n,t),r&&(!u||i.isArray(r)?u=i._data(n,t,i.makeArray(r)):u.push(r)),u||[]},dequeue:function(n,t){t=t||"fx";var f=i.queue(n,t),e=f.length,r=f.shift(),u=i._queueHooks(n,t),o=function(){i.dequeue(n,t)};r==="inprogress"&&(r=f.shift(),e--),r&&(t==="fx"&&f.unshift("inprogress"),delete u.stop,r.call(n,o,u)),!e&&u&&u.empty.fire()},_queueHooks:function(n,t){var r=t+"queueHooks";return i._data(n,r)||i._data(n,r,{empty:i.Callbacks("once memory").add(function(){i._removeData(n,t+"queue"),i._removeData(n,r)})})}}),i.fn.extend({queue:function(n,t){var r=2;return typeof n!="string"&&(t=n,n="fx",r--),arguments.length
a",r.leadingWhitespace=n.firstChild.nodeType===3,r.tbody=!n.getElementsByTagName("tbody").length,r.htmlSerialize=!!n.getElementsByTagName("link").length,r.html5Clone=u.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",t.type="checkbox",t.checked=!0,i.appendChild(t),r.appendChecked=t.checked,n.innerHTML="",r.noCloneChecked=!!n.cloneNode(!0).lastChild.defaultValue,i.appendChild(n),n.innerHTML="",r.checkClone=n.cloneNode(!0).cloneNode(!0).lastChild.checked,r.noCloneEvent=!0,n.attachEvent&&(n.attachEvent("onclick",function(){r.noCloneEvent=!1}),n.cloneNode(!0).click());if(r.deleteExpando==null){r.deleteExpando=!0;try{delete n.test}catch(f){r.deleteExpando=!1}}})(),function(){var i,t,f=u.createElement("div");for(i in{submit:!0,change:!0,focusin:!0})t="on"+i,(r[i+"Bubbles"]=t in n)||(f.setAttribute(t,"t"),r[i+"Bubbles"]=f.attributes[t].expando===!1);f=null}();var gi=/^(?:input|select|textarea)$/i,we=/^key/,ye=/^(?:mouse|pointer|contextmenu)|click/,pu=/^(?:focusinfocus|focusoutblur)$/,wu=/^([^.]*)(?:\.(.+)|)$/;i.event={global:{},add:function(n,t,r,u,f){var w,p,k,y,s,c,l,a,e,b,d,v=i._data(n);if(!v)return;r.handler&&(y=r,r=y.handler,f=y.selector),r.guid||(r.guid=i.guid++),(p=v.events)||(p=v.events={}),(c=v.handle)||(c=v.handle=function(n){return typeof i!==o&&(!n||i.event.triggered!==n.type)?i.event.dispatch.apply(c.elem,arguments):undefined},c.elem=n),t=(t||"").match(h)||[""],k=t.length;while(k--){w=wu.exec(t[k])||[],e=d=w[1],b=(w[2]||"").split(".").sort();if(!e)continue;s=i.event.special[e]||{},e=(f?s.delegateType:s.bindType)||e,s=i.event.special[e]||{},l=i.extend({type:e,origType:d,data:u,handler:r,guid:r.guid,selector:f,needsContext:f&&i.expr.match.needsContext.test(f),namespace:b.join(".")},y),(a=p[e])||(a=p[e]=[],a.delegateCount=0,s.setup&&s.setup.call(n,u,b,c)!==!1||(n.addEventListener?n.addEventListener(e,c,!1):n.attachEvent&&n.attachEvent("on"+e,c))),s.add&&(s.add.call(n,l),l.handler.guid||(l.handler.guid=r.guid)),f?a.splice(a.delegateCount++,0,l):a.push(l),i.event.global[e]=!0}n=null},remove:function(n,t,r,u,f){var y,o,c,b,p,a,s,l,e,w,k,v=i.hasData(n)&&i._data(n);if(!v||!(a=v.events))return;t=(t||"").match(h)||[""],p=t.length;while(p--){c=wu.exec(t[p])||[],e=k=c[1],w=(c[2]||"").split(".").sort();if(!e){for(e in a)i.event.remove(n,e+t[p],r,u,!0);continue}s=i.event.special[e]||{},e=(u?s.delegateType:s.bindType)||e,l=a[e]||[],c=c[2]&&new RegExp("(^|\\.)"+w.join("\\.(?:.*\\.|)")+"(\\.|$)"),b=y=l.length;while(y--)o=l[y],(f||k===o.origType)&&(!r||r.guid===o.guid)&&(!c||c.test(o.namespace))&&(!u||u===o.selector||u==="**"&&o.selector)&&(l.splice(y,1),o.selector&&l.delegateCount--,s.remove&&s.remove.call(n,o));b&&!l.length&&(s.teardown&&s.teardown.call(n,w,v.handle)!==!1||i.removeEvent(n,e,v.handle),delete a[e])}i.isEmptyObject(a)&&(delete v.handle,i._removeData(n,"events"))},trigger:function(t,r,f,e){var l,a,o,p,c,h,w,y=[f||u],s=rt.call(t,"type")?t.type:t,v=rt.call(t,"namespace")?t.namespace.split("."):[];o=h=f=f||u;if(f.nodeType===3||f.nodeType===8)return;if(pu.test(s+i.event.triggered))return;s.indexOf(".")<0||(v=s.split("."),s=v.shift(),v.sort()),a=s.indexOf(":")<0&&"on"+s,t=t[i.expando]?t:new i.Event(s,typeof t=="object"&&t),t.isTrigger=e?2:3,t.namespace=v.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=undefined,t.target||(t.target=f),r=r==null?[t]:i.makeArray(r,[t]),c=i.event.special[s]||{};if(!e&&c.trigger&&c.trigger.apply(f,r)===!1)return;if(!e&&!c.noBubble&&!i.isWindow(f)){for(p=c.delegateType||s,pu.test(p+s)||(o=o.parentNode);o;o=o.parentNode)y.push(o),h=o;h===(f.ownerDocument||u)&&y.push(h.defaultView||h.parentWindow||n)}w=0;while((o=y[w++])&&!t.isPropagationStopped())t.type=w>1?p:c.bindType||s,l=(i._data(o,"events")||{})[t.type]&&i._data(o,"handle"),l&&l.apply(o,r),l=a&&o[a],l&&l.apply&&i.acceptData(o)&&(t.result=l.apply(o,r),t.result===!1&&t.preventDefault());t.type=s;if(!e&&!t.isDefaultPrevented())if((!c._default||c._default.apply(y.pop(),r)===!1)&&i.acceptData(f))if(a&&f[s]&&!i.isWindow(f)){h=f[a],h&&(f[a]=null),i.event.triggered=s;try{f[s]()}catch(b){}i.event.triggered=undefined,h&&(f[a]=h)}return t.result},dispatch:function(n){n=i.event.fix(n);var o,f,t,u,s,h=[],e=v.call(arguments),c=(i._data(this,"events")||{})[n.type]||[],r=i.event.special[n.type]||{};e[0]=n,n.delegateTarget=this;if(r.preDispatch&&r.preDispatch.call(this,n)===!1)return;h=i.event.handlers.call(this,n,c),o=0;while((u=h[o++])&&!n.isPropagationStopped()){n.currentTarget=u.elem,s=0;while((t=u.handlers[s++])&&!n.isImmediatePropagationStopped())(!n.namespace_re||n.namespace_re.test(t.namespace))&&(n.handleObj=t,n.data=t.data,f=((i.event.special[t.origType]||{}).handle||t.handler).apply(u.elem,e),f!==undefined&&(n.result=f)===!1&&(n.preventDefault(),n.stopPropagation()))}return r.postDispatch&&r.postDispatch.call(this,n),n.result},handlers:function(n,t){var f,o,u,s,h=[],e=t.delegateCount,r=n.target;if(e&&r.nodeType&&(!n.button||n.type!=="click"))for(;r!=this;r=r.parentNode||this)if(r.nodeType===1&&(r.disabled!==!0||n.type!=="click")){for(u=[],s=0;s=0:i.find(f,this,null,[r]).length),u[f]&&u.push(o);u.length&&h.push({elem:r,handlers:u})}return e]","i"),fi=/^\s+/,nf=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,uf=/<([\w:]+)/,rf=/\s*$/g,s={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:r.htmlSerialize?[0,"",""]:[1,"X
","
"]},ro=ku(u),ui=ro.appendChild(u.createElement("div"));s.optgroup=s.option,s.tbody=s.tfoot=s.colgroup=s.caption=s.thead,s.th=s.td,i.extend({clone:function(n,t,u){var e,c,s,o,h,l=i.contains(n.ownerDocument,n);r.html5Clone||i.isXMLDoc(n)||!du.test("<"+n.nodeName+">")?s=n.cloneNode(!0):(ui.innerHTML=n.outerHTML,ui.removeChild(s=ui.firstChild));if((!r.noCloneEvent||!r.noCloneChecked)&&(n.nodeType===1||n.nodeType===11)&&!i.isXMLDoc(n))for(e=f(s),h=f(n),o=0;(c=h[o])!=null;++o)e[o]&&ve(c,e[o]);if(t)if(u)for(h=h||f(n),e=e||f(s),o=0;(c=h[o])!=null;o++)wf(c,e[o]);else wf(n,s);return e=f(s,"script"),e.length>0&&ii(e,!l&&f(n,"script")),e=h=c=null,s},buildFragment:function(n,t,u,e){for(var c,o,b,h,p,w,y,k=n.length,v=ku(t),l=[],a=0;a")+y[2],c=y[0];while(c--)h=h.lastChild;!r.leadingWhitespace&&fi.test(o)&&l.push(t.createTextNode(fi.exec(o)[0]));if(!r.tbody){o=p==="table"&&!rf.test(o)?h.firstChild:y[1]===""&&!rf.test(o)?h:0,c=o&&o.childNodes.length;while(c--)i.nodeName(w=o.childNodes[c],"tbody")&&!w.childNodes.length&&o.removeChild(w)}i.merge(l,h.childNodes),h.textContent="";while(h.firstChild)h.removeChild(h.firstChild);h=v.lastChild}else l.push(t.createTextNode(o))}h&&v.removeChild(h),r.appendChecked||i.grep(f(l,"input"),pe),a=0;while(o=l[a++]){if(e&&i.inArray(o,e)!==-1)continue;b=i.contains(o.ownerDocument,o),h=f(v.appendChild(o),"script"),b&&ii(h);if(u){c=0;while(o=h[c++])lu.test(o.type||"")&&u.push(o)}}return h=null,v},cleanData:function(n,t){for(var u,h,f,e,l=0,s=i.expando,c=i.cache,v=r.deleteExpando,a=i.event.special;(u=n[l])!=null;l++)if(t||i.acceptData(u)){f=u[s],e=f&&c[f];if(e){if(e.events)for(h in e.events)a[h]?i.event.remove(u,h):i.removeEvent(u,h,e.handle);c[f]&&(delete c[f],v?delete u[s]:typeof u.removeAttribute!==o?u.removeAttribute(s):u[s]=null,y.push(f))}}}}),i.fn.extend({text:function(n){return k(this,function(n){return n===undefined?i.text(this):this.empty().append((this[0]&&this[0].ownerDocument||u).createTextNode(n))},null,n,arguments.length)},append:function(){return this.domManip(arguments,function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=pf(this,n);t.appendChild(n)}})},prepend:function(){return this.domManip(arguments,function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=pf(this,n);t.insertBefore(n,t.firstChild)}})},before:function(){return this.domManip(arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this)})},after:function(){return this.domManip(arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling)})},remove:function(n,t){for(var r,e=n?i.filter(n,this):this,u=0;(r=e[u])!=null;u++)t||r.nodeType!==1||i.cleanData(f(r)),r.parentNode&&(t&&i.contains(r.ownerDocument,r)&&ii(f(r,"script")),r.parentNode.removeChild(r));return this},empty:function(){for(var n,t=0;(n=this[t])!=null;t++){n.nodeType===1&&i.cleanData(f(n,!1));while(n.firstChild)n.removeChild(n.firstChild);n.options&&i.nodeName(n,"select")&&(n.options.length=0)}return this},clone:function(n,t){return n=n==null?!1:n,t=t==null?n:t,this.map(function(){return i.clone(this,n,t)})},html:function(n){return k(this,function(n){var t=this[0]||{},u=0,e=this.length;if(n===undefined)return t.nodeType===1?t.innerHTML.replace(to,""):undefined;if(typeof n=="string"&&!ge.test(n)&&(r.htmlSerialize||!du.test(n))&&(r.leadingWhitespace||!fi.test(n))&&!s[(uf.exec(n)||["",""])[1].toLowerCase()]){n=n.replace(nf,"<$1>");try{for(;u1&&typeof h=="string"&&!r.checkClone&&io.test(h))return this.each(function(i){var r=w.eq(i);v&&(n[0]=h.call(this,i,r.html())),r.domManip(n,t)});if(c){o=i.buildFragment(n,this[0].ownerDocument,!1,this),l=o.firstChild,o.childNodes.length===1&&(o=l);if(l){for(s=i.map(f(o,"script"),yf),a=s.length;e
t
",t=i.getElementsByTagName("td"),t[0].style.cssText="margin:0;border:0;padding:0;display:none",e=t[0].offsetHeight===0,e&&(t[0].style.display="",t[1].style.display="none",e=t[0].offsetHeight===0),r.removeChild(f)}var f,t,l,h,c,e,s;f=u.createElement("div"),f.innerHTML="
a",l=f.getElementsByTagName("a")[0],t=l&&l.style;if(!t)return;t.cssText="float:left;opacity:.5",r.opacity=t.opacity==="0.5",r.cssFloat=!!t.cssFloat,f.style.backgroundClip="content-box",f.cloneNode(!0).style.backgroundClip="",r.clearCloneStyle=f.style.backgroundClip==="content-box",r.boxSizing=t.boxSizing===""||t.MozBoxSizing===""||t.WebkitBoxSizing==="",i.extend(r,{reliableHiddenOffsets:function(){return e==null&&o(),e},boxSizingReliable:function(){return c==null&&o(),c},pixelPosition:function(){return h==null&&o(),h},reliableMarginRight:function(){return s==null&&o(),s}})}(),i.swap=function(n,t,i,r){var e,u,f={};for(u in t)f[u]=n.style[u],n.style[u]=t[u];e=i.apply(n,r||[]);for(u in t)n.style[u]=f[u];return e};var ci=/alpha\([^)]*\)/i,ke=/opacity\s*=\s*([^)]*)/,be=/^(none|table(?!-c[ea]).+)/,eo=new RegExp("^("+vt+")(.*)$","i"),wo=new RegExp("^([+-])=("+vt+")","i"),po={position:"absolute",visibility:"hidden",display:"block"},hr={letterSpacing:"0",fontWeight:"400"},sr=["Webkit","O","Moz","ms"];i.extend({cssHooks:{opacity:{get:function(n,t){if(t){var i=g(n,"opacity");return i===""?"1":i}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:r.cssFloat?"cssFloat":"styleFloat"},style:function(n,t,u,f){if(!n||n.nodeType===3||n.nodeType===8||!n.style)return;var s,c,e,o=i.camelCase(t),h=n.style;t=i.cssProps[o]||(i.cssProps[o]=yr(h,o)),e=i.cssHooks[t]||i.cssHooks[o];if(u!==undefined){c=typeof u,c==="string"&&(s=wo.exec(u))&&(u=(s[1]+1)*s[2]+parseFloat(i.css(n,t)),c="number");if(u==null||u!==u)return;c!=="number"||i.cssNumber[o]||(u+="px"),r.clearCloneStyle||u!==""||t.indexOf("background")!==0||(h[t]="inherit");if(!e||!("set"in e)||(u=e.set(n,u,f))!==undefined)try{h[t]=u}catch(l){}}else return e&&"get"in e&&(s=e.get(n,!1,f))!==undefined?s:h[t]},css:function(n,t,r,u){var s,f,e,o=i.camelCase(t);return t=i.cssProps[o]||(i.cssProps[o]=yr(n.style,o)),e=i.cssHooks[t]||i.cssHooks[o],e&&"get"in e&&(f=e.get(n,!0,r)),f===undefined&&(f=g(n,t,u)),f==="normal"&&t in hr&&(f=hr[t]),r===""||r?(s=parseFloat(f),r===!0||i.isNumeric(s)?s||0:f):f}}),i.each(["height","width"],function(n,t){i.cssHooks[t]={get:function(n,r,u){if(r)return be.test(i.css(n,"display"))&&n.offsetWidth===0?i.swap(n,po,function(){return fr(n,t,u)}):fr(n,t,u)},set:function(n,u,f){var e=f&&d(n);return ir(n,u,f?er(n,t,f,r.boxSizing&&i.css(n,"boxSizing",!1,e)==="border-box",e):0)}}}),r.opacity||(i.cssHooks.opacity={get:function(n,t){return ke.test((t&&n.currentStyle?n.currentStyle.filter:n.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(n,t){var r=n.style,f=n.currentStyle,e=i.isNumeric(t)?"alpha(opacity="+t*100+")":"",u=f&&f.filter||r.filter||"";r.zoom=1;if((t>=1||t==="")&&i.trim(u.replace(ci,""))===""&&r.removeAttribute){r.removeAttribute("filter");if(t===""||f&&!f.filter)return}r.filter=ci.test(u)?u.replace(ci,e):u+" "+e}}),i.cssHooks.marginRight=hf(r.reliableMarginRight,function(n,t){if(t)return i.swap(n,{display:"inline-block"},g,[n,"marginRight"])}),i.each({margin:"",padding:"",border:"Width"},function(n,t){i.cssHooks[n+t]={expand:function(i){for(var r=0,f={},u=typeof i=="string"?i.split(" "):[i];r<4;r++)f[n+w[r]+t]=u[r]||u[r-2]||u[0];return f}},ff.test(n)||(i.cssHooks[n+t].set=ir)}),i.fn.extend({css:function(n,t){return k(this,function(n,t,r){var f,o,e={},u=0;if(i.isArray(t)){for(f=d(n),o=t.length;u1)},show:function(){return rr(this,!0)},hide:function(){return rr(this)},toggle:function(n){return typeof n=="boolean"?n?this.show():this.hide():this.each(function(){ht(this)?i(this).show():i(this).hide()})}}),i.Tween=e,e.prototype={constructor:e,init:function(n,t,r,u,f,e){this.elem=n,this.prop=r,this.easing=f||"swing",this.options=t,this.start=this.now=this.cur(),this.end=u,this.unit=e||(i.cssNumber[r]?"":"px")},cur:function(){var n=e.propHooks[this.prop];return n&&n.get?n.get(this):e.propHooks._default.get(this)},run:function(n){var r,t=e.propHooks[this.prop];return this.pos=this.options.duration?r=i.easing[this.easing](n,this.options.duration*n,0,1,this.options.duration):r=n,this.now=(this.end-this.start)*r+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),t&&t.set?t.set(this):e.propHooks._default.set(this),this}},e.prototype.init.prototype=e.prototype,e.propHooks={_default:{get:function(n){var t;return n.elem[n.prop]!=null&&(!n.elem.style||n.elem.style[n.prop]==null)?n.elem[n.prop]:(t=i.css(n.elem,n.prop,""),!t||t==="auto"?0:t)},set:function(n){i.fx.step[n.prop]?i.fx.step[n.prop](n):n.elem.style&&(n.elem.style[i.cssProps[n.prop]]!=null||i.cssHooks[n.prop])?i.style(n.elem,n.prop,n.now+n.unit):n.elem[n.prop]=n.now}}},e.propHooks.scrollTop=e.propHooks.scrollLeft={set:function(n){n.elem.nodeType&&n.elem.parentNode&&(n.elem[n.prop]=n.now)}},i.easing={linear:function(n){return n},swing:function(n){return.5-Math.cos(n*Math.PI)/2}},i.fx=e.prototype.init,i.fx.step={};var tt,lt,yo=/^(?:toggle|show|hide)$/,iu=new RegExp("^(?:([+-])=|)("+vt+")([a-z%]*)$","i"),bo=/queueHooks$/,ni=[go],ot={"*":[function(n,t){var f=this.createTween(n,t),s=f.cur(),u=iu.exec(t),o=u&&u[3]||(i.cssNumber[n]?"":"px"),r=(i.cssNumber[n]||o!=="px"&&+s)&&iu.exec(i.css(f.elem,n)),e=1,h=20;if(r&&r[3]!==o){o=o||r[3],u=u||[],r=+s||1;do e=e||".5",r=r/e,i.style(f.elem,n,r+o);while(e!==(e=f.cur()/s)&&e!==1&&--h)}return u&&(r=f.start=+r||+s||0,f.unit=o,f.end=u[1]?r+(u[1]+1)*u[2]:+u[2]),f}]};i.Animation=i.extend(kr,{tweener:function(n,t){i.isFunction(n)?(t=n,n=["*"]):n=n.split(" ");for(var r,u=0,f=n.length;u
a",i=t.getElementsByTagName("a")[0],e=u.createElement("select"),f=e.appendChild(u.createElement("option")),n=t.getElementsByTagName("input")[0],i.style.cssText="top:1px",r.getSetAttribute=t.className!=="t",r.style=/top/.test(i.getAttribute("style")),r.hrefNormalized=i.getAttribute("href")==="/a",r.checkOn=!!n.value,r.optSelected=f.selected,r.enctype=!!u.createElement("form").enctype,e.disabled=!0,r.optDisabled=!f.disabled,n=u.createElement("input"),n.setAttribute("value",""),r.input=n.getAttribute("value")==="",n.value="t",n.setAttribute("type","radio"),r.radioValue=n.value==="t"}(),pr=/\r/g,i.fn.extend({val:function(n){var t,r,f,u=this[0];return arguments.length?(f=i.isFunction(n),this.each(function(r){var u;if(this.nodeType!==1)return;u=f?n.call(this,r,i(this).val()):n,u==null?u="":typeof u=="number"?u+="":i.isArray(u)&&(u=i.map(u,function(n){return n==null?"":n+""})),t=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&t.set(this,u,"value")!==undefined||(this.value=u)})):u?(t=i.valHooks[u.type]||i.valHooks[u.nodeName.toLowerCase()],t&&"get"in t&&(r=t.get(u,"value"))!==undefined?r:(r=u.value,typeof r=="string"?r.replace(pr,""):r==null?"":r)):void 0}}),i.extend({valHooks:{option:{get:function(n){var t=i.find.attr(n,"value");return t!=null?t:i.trim(i.text(n))}},select:{get:function(n){for(var o,t,s=n.options,u=n.selectedIndex,e=n.type==="select-one"||u<0,c=e?null:[],h=e?u+1:s.length,f=u<0?h:e?u:0;f=0}},r.checkOn||(i.valHooks[this].get=function(n){return n.getAttribute("value")===null?"on":n.value})});var it,nu,a=i.expr.attrHandle,ai=/^(?:checked|selected)$/i,b=r.getSetAttribute,gt=r.input;i.fn.extend({attr:function(n,t){return k(this,i.attr,n,t,arguments.length>1)},removeAttr:function(n){return this.each(function(){i.removeAttr(this,n)})}}),i.extend({attr:function(n,t,r){var f,u,e=n.nodeType;if(!n||e===3||e===8||e===2)return;if(typeof n.getAttribute===o)return i.prop(n,t,r);e===1&&i.isXMLDoc(n)||(t=t.toLowerCase(),f=i.attrHooks[t]||(i.expr.match.bool.test(t)?nu:it));if(r!==undefined)if(r===null)i.removeAttr(n,t);else return f&&"set"in f&&(u=f.set(n,r,t))!==undefined?u:(n.setAttribute(t,r+""),r);else return f&&"get"in f&&(u=f.get(n,t))!==null?u:(u=i.find.attr(n,t),u==null?undefined:u)},removeAttr:function(n,t){var r,u,e=0,f=t&&t.match(h);if(f&&n.nodeType===1)while(r=f[e++])u=i.propFix[r]||r,i.expr.match.bool.test(r)?gt&&b||!ai.test(r)?n[u]=!1:n[i.camelCase("default-"+r)]=n[u]=!1:i.attr(n,r,""),n.removeAttribute(b?r:u)},attrHooks:{type:{set:function(n,t){if(!r.radioValue&&t==="radio"&&i.nodeName(n,"input")){var u=n.value;return n.setAttribute("type",t),u&&(n.value=u),t}}}}}),nu={set:function(n,t,r){return t===!1?i.removeAttr(n,r):gt&&b||!ai.test(r)?n.setAttribute(!b&&i.propFix[r]||r,r):n[i.camelCase("default-"+r)]=n[r]=!0,r}},i.each(i.expr.match.bool.source.match(/\w+/g),function(n,t){var r=a[t]||i.find.attr;a[t]=gt&&b||!ai.test(t)?function(n,t,i){var u,f;return i||(f=a[t],a[t]=u,u=r(n,t,i)!=null?t.toLowerCase():null,a[t]=f),u}:function(n,t,r){if(!r)return n[i.camelCase("default-"+t)]?t.toLowerCase():null}}),gt&&b||(i.attrHooks.value={set:function(n,t,r){if(i.nodeName(n,"input"))n.defaultValue=t;else return it&&it.set(n,t,r)}}),b||(it={set:function(n,t,i){var r=n.getAttributeNode(i);return r||n.setAttributeNode(r=n.ownerDocument.createAttribute(i)),r.value=t+="",i==="value"||t===n.getAttribute(i)?t:void 0}},a.id=a.name=a.coords=function(n,t,i){var r;if(!i)return(r=n.getAttributeNode(t))&&r.value!==""?r.value:null},i.valHooks.button={get:function(n,t){var i=n.getAttributeNode(t);if(i&&i.specified)return i.value},set:it.set},i.attrHooks.contenteditable={set:function(n,t,i){it.set(n,t===""?!1:t,i)}},i.each(["width","height"],function(n,t){i.attrHooks[t]={set:function(n,i){if(i==="")return n.setAttribute(t,"auto"),i}}})),r.style||(i.attrHooks.style={get:function(n){return n.style.cssText||undefined},set:function(n,t){return n.style.cssText=t+""}}),ou=/^(?:input|select|textarea|button|object)$/i,su=/^(?:a|area)$/i,i.fn.extend({prop:function(n,t){return k(this,i.prop,n,t,arguments.length>1)},removeProp:function(n){return n=i.propFix[n]||n,this.each(function(){try{this[n]=undefined,delete this[n]}catch(t){}})}}),i.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(n,t,r){var e,u,o,f=n.nodeType;if(n&&f!==3&&f!==8&&f!==2)return o=f!==1||!i.isXMLDoc(n),o&&(t=i.propFix[t]||t,u=i.propHooks[t]),r!==undefined?u&&"set"in u&&(e=u.set(n,r,t))!==undefined?e:n[t]=r:u&&"get"in u&&(e=u.get(n,t))!==null?e:n[t]},propHooks:{tabIndex:{get:function(n){var t=i.find.attr(n,"tabindex");return t?parseInt(t,10):ou.test(n.nodeName)||su.test(n.nodeName)&&n.href?0:-1}}}}),r.hrefNormalized||i.each(["href","src"],function(n,t){i.propHooks[t]={get:function(n){return n.getAttribute(t,4)}}}),r.optSelected||(i.propHooks.selected={get:function(n){var t=n.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),i.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){i.propFix[this.toLowerCase()]=this}),r.enctype||(i.propFix.enctype="encoding"),bt=/[\t\r\n\f]/g,i.fn.extend({addClass:function(n){var o,t,r,e,s,u,f=0,l=this.length,c=typeof n=="string"&&n;if(i.isFunction(n))return this.each(function(t){i(this).addClass(n.call(this,t,this.className))});if(c)for(o=(n||"").match(h)||[];f=0)t=t.replace(" "+e+" "," ");u=n?i.trim(t):"",r.className!==u&&(r.className=u)}}return this},toggleClass:function(n,t){var r=typeof n;return typeof t=="boolean"&&r==="string"?t?this.addClass(n):this.removeClass(n):i.isFunction(n)?this.each(function(r){i(this).toggleClass(n.call(this,r,this.className,t),t)}):this.each(function(){if(r==="string"){var t,e=0,u=i(this),f=n.match(h)||[];while(t=f[e++])u.hasClass(t)?u.removeClass(t):u.addClass(t)}else(r===o||r==="boolean")&&(this.className&&i._data(this,"__className__",this.className),this.className=this.className||n===!1?"":i._data(this,"__className__")||"")})},hasClass:function(n){for(var r=" "+n+" ",t=0,i=this.length;t=0)return!0;return!1}}),i.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(n,t){i.fn[t]=function(n,i){return arguments.length>0?this.on(t,null,n,i):this.trigger(t)}}),i.fn.extend({hover:function(n,t){return this.mouseenter(n).mouseleave(t||n)},bind:function(n,t,i){return this.on(n,null,t,i)},unbind:function(n,t){return this.off(n,null,t)},delegate:function(n,t,i,r){return this.on(t,n,i,r)},undelegate:function(n,t,i){return arguments.length===1?this.off(n,"**"):this.off(t,n||"**",i)}});var yi=i.now(),si=/\?/,co=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;i.parseJSON=function(t){if(n.JSON&&n.JSON.parse)return n.JSON.parse(t+"");var f,r=null,u=i.trim(t+"");return u&&!i.trim(u.replace(co,function(n,t,i,u){return f&&t&&(r=0),r===0?n:(f=i||t,r+=!u-!i,"")}))?Function("return "+u)():i.error("Invalid JSON: "+t)},i.parseXML=function(t){var r,u;if(!t||typeof t!="string")return null;try{n.DOMParser?(u=new DOMParser,r=u.parseFromString(t,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(t))}catch(f){r=undefined}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||i.error("Invalid XML: "+t),r};var p,l,vo=/#.*$/,vf=/([?&])_=[^&]*/,ao=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,lo=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,gf=/^(?:GET|HEAD)$/,df=/^\/\//,cf=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,vr={},ri={},ur="*/".concat("*");try{l=location.href}catch(ts){l=u.createElement("a"),l.href="",l=l.href}p=cf.exec(l.toLowerCase())||[],i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:l,type:"GET",isLocal:lo.test(p[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":ur,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":i.parseJSON,"text xml":i.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(n,t){return t?oi(oi(n,i.ajaxSettings),t):oi(i.ajaxSettings,n)},ajaxPrefilter:gr(vr),ajaxTransport:gr(ri),ajax:function(n,t){function b(n,t,s,h){var a,tt,b,p,y,l=t;if(e===2)return;e=2,d&&clearTimeout(d),c=undefined,nt=h||"",u.readyState=n>0?4:0,a=n>=200&&n<300||n===304,s&&(p=se(r,u,s)),p=oe(r,p,u,a),a?(r.ifModified&&(y=u.getResponseHeader("Last-Modified"),y&&(i.lastModified[f]=y),y=u.getResponseHeader("etag"),y&&(i.etag[f]=y)),n===204||r.type==="HEAD"?l="nocontent":n===304?l="notmodified":(l=p.state,tt=p.data,b=p.error,a=!b)):(b=l,(n||!l)&&(l="error",n<0&&(n=0))),u.status=n,u.statusText=(t||l)+"",a?g.resolveWith(o,[tt,l,u]):g.rejectWith(o,[u,l,b]),u.statusCode(w),w=undefined,v&&k.trigger(a?"ajaxSuccess":"ajaxError",[u,r,a?tt:b]),it.fireWith(o,[u,l]),v&&(k.trigger("ajaxComplete",[u,r]),--i.active||i.event.trigger("ajaxStop"))}typeof n=="object"&&(t=n,n=undefined),t=t||{};var s,a,f,nt,d,v,c,y,r=i.ajaxSetup({},t),o=r.context||r,k=r.context&&(o.nodeType||o.jquery)?i(o):i.event,g=i.Deferred(),it=i.Callbacks("once memory"),w=r.statusCode||{},rt={},ut={},e=0,tt="canceled",u={readyState:0,getResponseHeader:function(n){var t;if(e===2){if(!y){y={};while(t=ao.exec(nt))y[t[1].toLowerCase()]=t[2]}t=y[n.toLowerCase()]}return t==null?null:t},getAllResponseHeaders:function(){return e===2?nt:null},setRequestHeader:function(n,t){var i=n.toLowerCase();return e||(n=ut[i]=ut[i]||n,rt[n]=t),this},overrideMimeType:function(n){return e||(r.mimeType=n),this},statusCode:function(n){var t;if(n)if(e<2)for(t in n)w[t]=[w[t],n[t]];else u.always(n[u.status]);return this},abort:function(n){var t=n||tt;return c&&c.abort(t),b(0,t),this}};g.promise(u).complete=it.add,u.success=u.done,u.error=u.fail,r.url=((n||r.url||l)+"").replace(vo,"").replace(df,p[1]+"//"),r.type=t.method||t.type||r.method||r.type,r.dataTypes=i.trim(r.dataType||"*").toLowerCase().match(h)||[""],r.crossDomain==null&&(s=cf.exec(r.url.toLowerCase()),r.crossDomain=!!(s&&(s[1]!==p[1]||s[2]!==p[2]||(s[3]||(s[1]==="http:"?"80":"443"))!==(p[3]||(p[1]==="http:"?"80":"443"))))),r.data&&r.processData&&typeof r.data!="string"&&(r.data=i.param(r.data,r.traditional)),br(vr,r,t,u);if(e===2)return u;v=i.event&&r.global,v&&i.active++==0&&i.event.trigger("ajaxStart"),r.type=r.type.toUpperCase(),r.hasContent=!gf.test(r.type),f=r.url,r.hasContent||(r.data&&(f=r.url+=(si.test(f)?"&":"?")+r.data,delete r.data),r.cache===!1&&(r.url=vf.test(f)?f.replace(vf,"$1_="+yi++):f+(si.test(f)?"&":"?")+"_="+yi++)),r.ifModified&&(i.lastModified[f]&&u.setRequestHeader("If-Modified-Since",i.lastModified[f]),i.etag[f]&&u.setRequestHeader("If-None-Match",i.etag[f])),(r.data&&r.hasContent&&r.contentType!==!1||t.contentType)&&u.setRequestHeader("Content-Type",r.contentType),u.setRequestHeader("Accept",r.dataTypes[0]&&r.accepts[r.dataTypes[0]]?r.accepts[r.dataTypes[0]]+(r.dataTypes[0]!=="*"?", "+ur+"; q=0.01":""):r.accepts["*"]);for(a in r.headers)u.setRequestHeader(a,r.headers[a]);if(r.beforeSend&&(r.beforeSend.call(o,u,r)===!1||e===2))return u.abort();tt="abort";for(a in{success:1,error:1,complete:1})u[a](r[a]);c=br(ri,r,t,u);if(c){u.readyState=1,v&&k.trigger("ajaxSend",[u,r]),r.async&&r.timeout>0&&(d=setTimeout(function(){u.abort("timeout")},r.timeout));try{e=1,c.send(rt,b)}catch(ft){if(e<2)b(-1,ft);else throw ft;}}else b(-1,"No Transport");return u},getJSON:function(n,t,r){return i.get(n,t,r,"json")},getScript:function(n,t){return i.get(n,undefined,t,"script")}}),i.each(["get","post"],function(n,t){i[t]=function(n,r,u,f){return i.isFunction(r)&&(f=f||u,u=r,r=undefined),i.ajax({url:n,type:t,dataType:f,data:r,success:u})}}),i._evalUrl=function(n){return i.ajax({url:n,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},i.fn.extend({wrapAll:function(n){if(i.isFunction(n))return this.each(function(t){i(this).wrapAll(n.call(this,t))});if(this[0]){var t=i(n,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var n=this;while(n.firstChild&&n.firstChild.nodeType===1)n=n.firstChild;return n}).append(this)}return this},wrapInner:function(n){return i.isFunction(n)?this.each(function(t){i(this).wrapInner(n.call(this,t))}):this.each(function(){var r=i(this),t=r.contents();t.length?t.wrapAll(n):r.append(n)})},wrap:function(n){var t=i.isFunction(n);return this.each(function(r){i(this).wrapAll(t?n.call(this,r):n)})},unwrap:function(){return this.parent().each(function(){i.nodeName(this,"body")||i(this).replaceWith(this.childNodes)}).end()}}),i.expr.filters.hidden=function(n){return n.offsetWidth<=0&&n.offsetHeight<=0||!r.reliableHiddenOffsets()&&(n.style&&n.style.display||i.css(n,"display"))==="none"},i.expr.filters.visible=function(n){return!i.expr.filters.hidden(n)};var ae=/%20/g,le=/\[\]$/,lr=/\r?\n/g,ce=/^(?:submit|button|image|reset|file)$/i,re=/^(?:input|select|textarea|keygen)/i;i.param=function(n,t){var u,r=[],f=function(n,t){t=i.isFunction(t)?t():t==null?"":t,r[r.length]=encodeURIComponent(n)+"="+encodeURIComponent(t)};t===undefined&&(t=i.ajaxSettings&&i.ajaxSettings.traditional);if(i.isArray(n)||n.jquery&&!i.isPlainObject(n))i.each(n,function(){f(this.name,this.value)});else for(u in n)ei(u,n[u],t,f);return r.join("&").replace(ae,"+")},i.fn.extend({serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var n=i.prop(this,"elements");return n?i.makeArray(n):this}).filter(function(){var n=this.type;return this.name&&!i(this).is(":disabled")&&re.test(this.nodeName)&&!ce.test(n)&&(this.checked||!bi.test(n))}).map(function(n,t){var r=i(this).val();return r==null?null:i.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(lr,"\r\n")}}):{name:t.name,value:r.replace(lr,"\r\n")}}).get()}}),i.ajaxSettings.xhr=n.ActiveXObject!==undefined?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&bf()||fe()}:bf;var te=0,dt={},et=i.ajaxSettings.xhr();return n.attachEvent&&n.attachEvent("onunload",function(){for(var n in dt)dt[n](undefined,!0)}),r.cors=!!et&&"withCredentials"in et,et=r.ajax=!!et,et&&i.ajaxTransport(function(n){if(!n.crossDomain||r.cors){var t;return{send:function(r,u){var e,f=n.xhr(),o=++te;f.open(n.type,n.url,n.async,n.username,n.password);if(n.xhrFields)for(e in n.xhrFields)f[e]=n.xhrFields[e];n.mimeType&&f.overrideMimeType&&f.overrideMimeType(n.mimeType),n.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(e in r)r[e]!==undefined&&f.setRequestHeader(e,r[e]+"");f.send(n.hasContent&&n.data||null),t=function(r,e){var s,c,h;if(t&&(e||f.readyState===4)){delete dt[o],t=undefined,f.onreadystatechange=i.noop;if(e)f.readyState!==4&&f.abort();else{h={},s=f.status,typeof f.responseText=="string"&&(h.text=f.responseText);try{c=f.statusText}catch(l){c=""}s||!n.isLocal||n.crossDomain?s===1223&&(s=204):s=h.text?200:404}}h&&u(s,c,h,f.getAllResponseHeaders())},n.async?f.readyState===4?setTimeout(t):f.onreadystatechange=dt[o]=t:t()},abort:function(){t&&t(undefined,!0)}}}}),i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(n){return i.globalEval(n),n}}}),i.ajaxPrefilter("script",function(n){n.cache===undefined&&(n.cache=!1),n.crossDomain&&(n.type="GET",n.global=!1)}),i.ajaxTransport("script",function(n){if(n.crossDomain){var t,r=u.head||i("head")[0]||u.documentElement;return{send:function(i,f){t=u.createElement("script"),t.async=!0,n.scriptCharset&&(t.charset=n.scriptCharset),t.src=n.url,t.onload=t.onreadystatechange=function(n,i){(i||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,i||f(200,"success"))},r.insertBefore(t,r.firstChild)},abort:function(){if(t)t.onload(undefined,!0)}}}}),hi=[],ti=/(=)\?(?=&|$)|\?\?/,i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=hi.pop()||i.expando+"_"+yi++;return this[n]=!0,n}}),i.ajaxPrefilter("json jsonp",function(t,r,u){var f,o,e,s=t.jsonp!==!1&&(ti.test(t.url)?"url":typeof t.data=="string"&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&ti.test(t.data)&&"data");if(s||t.dataTypes[0]==="jsonp")return f=t.jsonpCallback=i.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(ti,"$1"+f):t.jsonp!==!1&&(t.url+=(si.test(t.url)?"&":"?")+t.jsonp+"="+f),t.converters["script json"]=function(){return e||i.error(f+" was not called"),e[0]},t.dataTypes[0]="json",o=n[f],n[f]=function(){e=arguments},u.always(function(){n[f]=o,t[f]&&(t.jsonpCallback=r.jsonpCallback,hi.push(f)),e&&i.isFunction(o)&&o(e[0]),e=o=undefined}),"script"}),i.parseHTML=function(n,t,r){if(!n||typeof n!="string")return null;typeof t=="boolean"&&(r=t,t=!1),t=t||u;var e=cr.exec(n),f=!r&&[];return e?[t.createElement(e[1])]:(e=i.buildFragment([n],t,f),f&&f.length&&i(f).remove(),i.merge([],e.childNodes))},pi=i.fn.load,i.fn.load=function(n,t,r){if(typeof n!="string"&&pi)return pi.apply(this,arguments);var e,s,o,u=this,f=n.indexOf(" ");return f<0||(e=i.trim(n.slice(f,n.length)),n=n.slice(0,f)),i.isFunction(t)?(r=t,t=undefined):t&&typeof t=="object"&&(o="POST"),u.length>0&&i.ajax({url:n,type:o,dataType:"html",data:t}).done(function(n){s=arguments,u.html(e?i("
").append(i.parseHTML(n)).find(e):n)}).complete(r&&function(n,t){u.each(r,s||[n.responseText,t,n])}),this},i.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(n,t){i.fn[t]=function(n){return this.on(t,n)}}),i.expr.filters.animated=function(n){return i.grep(i.timers,function(t){return n===t.elem}).length},li=n.document.documentElement,i.offset={setOffset:function(n,t,r){var a,c,l,s,f,h,v,e=i.css(n,"position"),o=i(n),u={};e==="static"&&(n.style.position="relative"),f=o.offset(),l=i.css(n,"top"),h=i.css(n,"left"),v=(e==="absolute"||e==="fixed")&&i.inArray("auto",[l,h])>-1,v?(a=o.position(),s=a.top,c=a.left):(s=parseFloat(l)||0,c=parseFloat(h)||0),i.isFunction(t)&&(t=t.call(n,r,f)),t.top!=null&&(u.top=t.top-f.top+s),t.left!=null&&(u.left=t.left-f.left+c),"using"in t?t.using.call(n,u):o.css(u)}},i.fn.extend({offset:function(n){if(arguments.length)return n===undefined?this:this.each(function(t){i.offset.setOffset(this,n,t)});var t,e,u={top:0,left:0},r=this[0],f=r&&r.ownerDocument;if(!f)return;return t=f.documentElement,i.contains(t,r)?(typeof r.getBoundingClientRect!==o&&(u=r.getBoundingClientRect()),e=bu(f),{top:u.top+(e.pageYOffset||t.scrollTop)-(t.clientTop||0),left:u.left+(e.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):u},position:function(){if(!this[0])return;var t,u,n={top:0,left:0},r=this[0];return i.css(r,"position")==="fixed"?u=r.getBoundingClientRect():(t=this.offsetParent(),u=this.offset(),i.nodeName(t[0],"html")||(n=t.offset()),n.top+=i.css(t[0],"borderTopWidth",!0),n.left+=i.css(t[0],"borderLeftWidth",!0)),{top:u.top-n.top-i.css(r,"marginTop",!0),left:u.left-n.left-i.css(r,"marginLeft",!0)}},offsetParent:function(){return this.map(function(){var n=this.offsetParent||li;while(n&&!i.nodeName(n,"html")&&i.css(n,"position")==="static")n=n.offsetParent;return n||li})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,t){var r=/Y/.test(t);i.fn[n]=function(u){return k(this,function(n,u,f){var e=bu(n);if(f===undefined)return e?t in e?e[t]:e.document.documentElement[u]:n[u];e?e.scrollTo(r?i(e).scrollLeft():f,r?f:i(e).scrollTop()):n[u]=f},n,u,arguments.length,null)}}),i.each(["top","left"],function(n,t){i.cssHooks[t]=hf(r.pixelPosition,function(n,r){if(r)return r=g(n,t),yt.test(r)?i(n).position()[t]+"px":r})}),i.each({Height:"height",Width:"width"},function(n,t){i.each({padding:"inner"+n,content:t,"":"outer"+n},function(r,u){i.fn[u]=function(u,f){var o=arguments.length&&(r||typeof u!="boolean"),e=r||(u===!0||f===!0?"margin":"border");return k(this,function(t,r,u){var f;return i.isWindow(t)?t.document.documentElement["client"+n]:t.nodeType===9?(f=t.documentElement,Math.max(t.body["scroll"+n],f["scroll"+n],t.body["offset"+n],f["offset"+n],f["client"+n])):u===undefined?i.css(t,r,e):i.style(t,r,u,e)},t,o?u:undefined,o,null)}})}),i.fn.size=function(){return this.length},i.fn.andSelf=i.fn.addBack,typeof define=="function"&&define.amd&&define("jquery",[],function(){return i}),tf=n.jQuery,gu=n.$,i.noConflict=function(t){return n.$===i&&(n.$=gu),t&&n.jQuery===i&&(n.jQuery=tf),i},typeof t===o&&(n.jQuery=n.$=i),i}); /*! jQuery Migrate v1.2.1 | (c) 2005, 2013 jQuery Foundation, Inc. and other contributors | jquery.org/license */ jQuery.migrateMute===void 0&&(jQuery.migrateMute=!0),function(n,t,i){function r(i){var r=t.console;o[i]||(o[i]=!0,n.migrateWarnings.push(i),r&&r.warn&&!n.migrateMute&&(r.warn("JQMIGRATE: "+i),n.migrateTrace&&r.trace&&r.trace()))}function e(t,u,f,e){if(Object.defineProperty)try{return Object.defineProperty(t,u,{configurable:!0,enumerable:!0,get:function(){return r(e),f},set:function(n){r(e),f=n}}),i}catch(o){}n._definePropertyBroken=!0,t[u]=f}var o={},l,h,a;n.migrateWarnings=[],!n.migrateMute&&t.console&&t.console.log&&t.console.log("JQMIGRATE: Logging is active"),n.migrateTrace===i&&(n.migrateTrace=!0),n.migrateReset=function(){o={},n.migrateWarnings.length=0},"BackCompat"===document.compatMode&&r("jQuery is not compatible with Quirks Mode");var s=n("",{size:1}).attr("size")&&n.attrFn,k=n.attr,rt=n.attrHooks.value&&n.attrHooks.value.get||function(){return null},tt=n.attrHooks.value&&n.attrHooks.value.set||function(){return i},g=/^(?:input|button)$/i,nt=/^[238]$/,ft=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,et=/^(?:checked|selected)$/i;e(n,"attrFn",s||{},"jQuery.attrFn is deprecated"),n.attr=function(t,u,f,e){var o=u.toLowerCase(),h=t&&t.nodeType;return e&&(4>k.length&&r("jQuery.fn.attr( props, pass ) is deprecated"),t&&!nt.test(h)&&(s?u in s:n.isFunction(n.fn[u])))?n(t)[u](f):("type"===u&&f!==i&&g.test(t.nodeName)&&t.parentNode&&r("Can't change the 'type' of an input or button in IE 6/7/8"),!n.attrHooks[o]&&ft.test(o)&&(n.attrHooks[o]={get:function(t,r){var f,u=n.prop(t,r);return u===!0||"boolean"!=typeof u&&(f=t.getAttributeNode(r))&&f.nodeValue!==!1?r.toLowerCase():i},set:function(t,i,r){var u;return i===!1?n.removeAttr(t,r):(u=n.propFix[r]||r,u in t&&(t[u]=!0),t.setAttribute(r,r.toLowerCase())),r}},et.test(o)&&r("jQuery.fn.attr('"+o+"') may use property instead of attribute")),k.call(n,t,u,f))},n.attrHooks.value={get:function(n,t){var i=(n.nodeName||"").toLowerCase();return"button"===i?rt.apply(this,arguments):("input"!==i&&"option"!==i&&r("jQuery.fn.attr('value') no longer gets properties"),t in n?n.value:null)},set:function(n,t){var u=(n.nodeName||"").toLowerCase();return"button"===u?tt.apply(this,arguments):("input"!==u&&"option"!==u&&r("jQuery.fn.attr('value', val) no longer sets properties"),n.value=t,i)}};var f,u,d=n.fn.init,ot=n.parseJSON,it=/^([^<]*)(<[\w\W]+>)([^>]*)$/;n.fn.init=function(t,i,u){var f;return t&&"string"==typeof t&&!n.isPlainObject(i)&&(f=it.exec(n.trim(t)))&&f[0]&&("<"!==t.charAt(0)&&r("$(html) HTML strings must start with '<' character"),f[3]&&r("$(html) HTML text after last tag is ignored"),"#"===f[0].charAt(0)&&(r("HTML string cannot start with a '#' character"),n.error("JQMIGRATE: Invalid selector string (XSS)")),i&&i.context&&(i=i.context),n.parseHTML)?d.call(this,n.parseHTML(f[2],i,!0),i,u):d.apply(this,arguments)},n.fn.init.prototype=n.fn,n.parseJSON=function(n){return n||null===n?ot.apply(this,arguments):(r("jQuery.parseJSON requires a valid JSON string"),null)},n.uaMatch=function(n){n=n.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(n)||/(webkit)[ \/]([\w.]+)/.exec(n)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(n)||/(msie) ([\w.]+)/.exec(n)||0>n.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(n)||[];return{browser:t[1]||"",version:t[2]||"0"}},n.browser||(f=n.uaMatch(navigator.userAgent),u={},f.browser&&(u[f.browser]=!0,u.version=f.version),u.chrome?u.webkit=!0:u.webkit&&(u.safari=!0),n.browser=u),e(n,"browser",n.browser,"jQuery.browser is deprecated"),n.sub=function(){function t(n,i){return new t.fn.init(n,i)}n.extend(!0,t,this),t.superclass=this,t.fn=t.prototype=this(),t.fn.constructor=t,t.sub=this.sub,t.fn.init=function(r,u){return u&&u instanceof n&&!(u instanceof t)&&(u=t(u)),n.fn.init.call(this,r,u,i)},t.fn.init.prototype=t.fn;var i=t(document);return r("jQuery.sub() is deprecated"),t},n.ajaxSetup({converters:{"text json":n.parseJSON}}),l=n.fn.data,n.fn.data=function(t){var e,u,f=this[0];return!f||"events"!==t||1!==arguments.length||(e=n.data(f,t),u=n._data(f,t),e!==i&&e!==u||u===i)?l.apply(this,arguments):(r("Use of jQuery.fn.data('events') is deprecated"),u)},h=/\/(java|ecma)script/i,a=n.fn.andSelf||n.fn.addBack,n.fn.andSelf=function(){return r("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),a.apply(this,arguments)},n.clean||(n.clean=function(t,u,f,e){u=u||document,u=!u.nodeType&&u[0]||u,u=u.ownerDocument||u,r("jQuery.clean() is deprecated");var c,o,l,a,s=[];if(n.merge(s,n.buildFragment(t,u).childNodes),f)for(l=function(n){return!n.type||h.test(n.type)?e?e.push(n.parentNode?n.parentNode.removeChild(n):n):f.appendChild(n):i},c=0;null!=(o=s[c]);c++)n.nodeName(o,"script")&&l(o)||(f.appendChild(o),o.getElementsByTagName!==i&&(a=n.grep(n.merge([],o.getElementsByTagName("script")),l),s.splice.apply(s,[c+1,0].concat(a)),c+=a.length));return s});var ct=n.event.add,ht=n.event.remove,st=n.event.trigger,ut=n.fn.toggle,w=n.fn.live,b=n.fn.die,p="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",v=RegExp("\\b(?:"+p+")\\b"),y=/(?:^|\s)hover(\.\S+|)\b/,c=function(t){return"string"!=typeof t||n.event.special.hover?t:(y.test(t)&&r("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),t&&t.replace(y,"mouseenter$1 mouseleave$1"))};n.event.props&&"attrChange"!==n.event.props[0]&&n.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),n.event.dispatch&&e(n.event,"handle",n.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),n.event.add=function(n,t,i,u,f){n!==document&&v.test(t)&&r("AJAX events should be attached to document: "+t),ct.call(this,n,c(t||""),i,u,f)},n.event.remove=function(n,t,i,r,u){ht.call(this,n,c(t)||"",i,r,u)},n.fn.error=function(){var n=Array.prototype.slice.call(arguments,0);return r("jQuery.fn.error() is deprecated"),n.splice(0,0,"error"),arguments.length?this.bind.apply(this,n):(this.triggerHandler.apply(this,n),this)},n.fn.toggle=function(t,i){if(!n.isFunction(t)||!n.isFunction(i))return ut.apply(this,arguments);r("jQuery.fn.toggle(handler, handler...) is deprecated");var f=arguments,o=t.guid||n.guid++,u=0,e=function(i){var r=(n._data(this,"lastToggle"+t.guid)||0)%u;return n._data(this,"lastToggle"+t.guid,r+1),i.preventDefault(),f[r].apply(this,arguments)||!1};for(e.guid=o;f.length>u;)f[u++].guid=o;return this.click(e)},n.fn.live=function(t,i,u){return r("jQuery.fn.live() is deprecated"),w?w.apply(this,arguments):(n(this.context).on(t,this.selector,i,u),this)},n.fn.die=function(t,i){return r("jQuery.fn.die() is deprecated"),b?b.apply(this,arguments):(n(this.context).off(t,this.selector||"**",i),this)},n.event.trigger=function(n,t,i,u){return i||v.test(n)||r("Global events are undocumented and deprecated"),st.call(this,n,t,i||document,u)},n.each(p.split("|"),function(t,i){n.event.special[i]={setup:function(){var t=this;return t!==document&&(n.event.add(document,i+"."+n.guid,function(){n.event.trigger(i,null,t,!0)}),n._data(this,i,n.guid++)),!1},teardown:function(){return this!==document&&n.event.remove(document,i+"."+n._data(this,i)),!1}}})}(jQuery,window); /*! jQuery UI - v1.11.3 - 2015-02-12 * 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 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[usemap='#"+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"hidden"===e.css(this,"visibility")}).length}function s(e){for(var t,i;e.length&&e[0]!==document;){if(t=e.css("position"),("absolute"===t||"relative"===t||"fixed"===t)&&(i=parseInt(e.css("zIndex"),10),!isNaN(i)&&0!==i))return i;e=e.parent()}return 0}function n(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},e.extend(this._defaults,this.regional[""]),this.regional.en=e.extend(!0,{},this.regional[""]),this.regional["en-US"]=e.extend(!0,{},this.regional.en),this.dpDiv=a(e("
"))}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.3",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),e.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||document)},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])},focusable: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("").outerWidth(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={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,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("").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:function(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,arguments)}}(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:function(){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"),("absolute"===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].parentNode.nodeType))for(n=0;a.length>n;n++)e.options[a[n][0]]&&a[n][1].apply(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.data(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),_childConstructors:[]}),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,this._superApply=a,t}}(),void 0):(h[t]=s,void 0)}),o.prototype=e.widget.extend(r,{widgetEventPrefix:a?r.widgetEventPrefix||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.each(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.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"
",options:{disabled:!1,create:null},_createWidget:function(t,i){i=e(i||this.defaultElement||this)[0],this.element=e(i),this.uuid=l++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=e(),this.hoverable=e(),this.focusable=e(),i!==this&&(e.data(i,this.widgetFullName,this),this._on(!0,this.element,{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.extend({},this.options,this._getCreateOptions(),t),this._create(),this._trigger("create",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(this.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.removeClass("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.options[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)return 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.widgetFullName+"-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.element,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.bindings.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.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),i.target=this.element[0],a=i.originalEvent)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].concat(s))===!1||i.isDefaultPrevented())}},e.each({show:"fadeIn",hide:"fadeOut"},function(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.duration,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.3",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.bind("mousedown."+this.widgetName,function(e){return 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("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(t){if(!d){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(t),this._mouseDownEvent=t;var i=this,s=1===t.which,n="string"==typeof this.options.cancel&&t.target.nodeName?e(t.target).closest(this.options.cancel).length:!1;return s&&!n&&this._mouseCapture(t)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){i.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=this._mouseStart(t)!==!1,!this._mouseStarted)?(t.preventDefault(),!0):(!0===e.data(t.target,this.widgetName+".preventClickEvent")&&e.removeData(t.target,this.widgetName+".preventClickEvent"),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._mouseUpDelegate),t.preventDefault(),d=!0,!0)):!0}},_mouseMove:function(t){if(this._mouseMoved){if(e.ui.ie&&(!document.documentMode||9>document.documentMode)&&!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._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,t)!==!1,this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(t){return this.document.unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.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(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),function(){function 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.isWindow(i)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{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|center|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("
"),a=s.children()[0];return e("body").append(s),t=a.offsetWidth,s.css("overflow","scroll"),i=a.offsetWidth,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.widthi?"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.extend(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.scrollLeft: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.targetWidth:"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.scrollTop: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.targetHeight:"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:function(){e.ui.position.flip.top.apply(this,arguments),e.ui.position.fit.top.apply(this,arguments)}}},function(){var t,i,s,n,o,r=document.getElementsByTagName("body")[0],h=document.createElement("div");t=document.createElement(r?"div":"body"),s={visibility:"hidden",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.insertBefore(t,i.firstChild),h.style.cssText="position: absolute; left: 10.7432222px;",n=e(h).offset().left,a=n>10&&11>n,t.innerHTML="",i.removeChild(t)}()}(),e.ui.position,e.widget("ui.accordion",{version:"1.11.3",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",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"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.active=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("").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.addClass("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._createIcons()),"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;switch(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:function(t){t.keyCode===e.ui.keyCode.UP&&t.ctrlKey&&e(t.currentTarget).prev().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):this.active.length&&!e.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(t.active=!1,this.active=e()):this._activate(Math.max(0,t.active-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.header).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._findActive(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("aria-controls",n),s.attr("aria-labelledby",i)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(i.event),"fill"===s?(t=n.height(),this.element.siblings(":visible").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._eventHandler({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.headers.next())),this._on(this.headers,i),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),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.collapsible,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("beforeActivate",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.removeClass("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().addClass("ui-accordion-content-active")))},_toggle:function(t){var i=t.newPanel,s=this.prevShow.length?this.prevShow:t.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=i,this.prevHide=s,this.options.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.length&&(!t.length||e.index()",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.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().addClass("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.mouseHandled=!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.active.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)},blur:function(t){this._delay(function(){e.contains(this.element[0],this.document[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.element.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.previousFilter||"",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._filterMenuItems(n)),i.length?(this.focus(t,i),this.previousFilter=n,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}o&&t.preventDefault()},_activate:function(e){this.active.is(".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.menus);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("").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])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(e,t){"icons"===e&&this.element.find(".ui-menu-icon").removeClass(this.options.icons.submenu).addClass(t.submenu),"disabled"===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(function(){this._close()},this.delay),i=t.children(".ui-menu"),i.length&&e&&/^mouse/.test(e.type)&&this._startOpening(i),this.activeMenu=t.parent(),this._trigger("focus",e,{item:t})},_scrollIntoView:function(t){var i,s,n,a,o,r;this._hasScroll()&&(i=parseFloat(e.css(this.activeMenu[0],"borderTopWidth"))||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}))},_startOpening:function(e){clearTimeout(this.timer),"true"===e.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(e)},this.delay))},_open:function(t){var i=e.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.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.timer),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.element),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:function(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(){return 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":"nextAll"](".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=this.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.active?"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).first())),void 0):(this.next(t),void 0)},_hasScroll:function(){return this.element.outerHeight()",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,_create:function(){var t,i,s,n=this.element[0].nodeName.toLowerCase(),a="textarea"===n,o="input"===n;this.isMultiLine=a?!0:o?!1:this.element.prop("isContentEditable"),this.valueMethod=this.element[a||o?"val":"text"],this.isNewMenu=!0,this.element.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));break;case a.TAB:this.menu.active&&this.menu.select(n);break;case a.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(n),n.preventDefault());break;default:i=!0,this._searchTimeout(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:function(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("