front.min.js 168 KB

1
  1. !function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(d,t){function e(t,e){return e.toUpperCase()}var n=[],u=n.slice,g=n.concat,a=n.push,o=n.indexOf,i={},r=i.toString,m=i.hasOwnProperty,v={},y=d.document,s="2.1.4",k=function(t,e){return new k.fn.init(t,e)},l=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,c=/^-ms-/,h=/-([\da-z])/gi;function p(t){var e="length"in t&&t.length,n=k.type(t);return"function"!==n&&!k.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===n||0===e||"number"==typeof e&&0<e&&e-1 in t))}k.fn=k.prototype={jquery:s,constructor:k,selector:"",length:0,toArray:function(){return u.call(this)},get:function(t){return null!=t?t<0?this[t+this.length]:this[t]:u.call(this)},pushStack:function(t){var e=k.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return k.each(this,t,e)},map:function(n){return this.pushStack(k.map(this,function(t,e){return n.call(t,e,t)}))},slice:function(){return this.pushStack(u.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(0<=n&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:a,sort:n.sort,splice:n.splice},k.extend=k.fn.extend=function(){var t,e,n,i,o,r,s=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[a]||{},a++),"object"==typeof s||k.isFunction(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(t=arguments[a]))for(e in t)n=s[e],s!==(i=t[e])&&(c&&i&&(k.isPlainObject(i)||(o=k.isArray(i)))?(r=o?(o=!1,n&&k.isArray(n)?n:[]):n&&k.isPlainObject(n)?n:{},s[e]=k.extend(c,r,i)):void 0!==i&&(s[e]=i));return s},k.extend({expando:"jQuery"+(s+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===k.type(t)},isArray:Array.isArray,isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){return!k.isArray(t)&&0<=t-parseFloat(t)+1},isPlainObject:function(t){return"object"===k.type(t)&&!t.nodeType&&!k.isWindow(t)&&!(t.constructor&&!m.call(t.constructor.prototype,"isPrototypeOf"))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?i[r.call(t)]||"object":typeof t},globalEval:function(t){var e,n=eval;(t=k.trim(t))&&(1===t.indexOf("use strict")?((e=y.createElement("script")).text=t,y.head.appendChild(e).parentNode.removeChild(e)):n(t))},camelCase:function(t){return t.replace(c,"ms-").replace(h,e)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,n){var i=0,o=t.length,r=p(t);if(n){if(r)for(;i<o&&!1!==e.apply(t[i],n);i++);else for(i in t)if(!1===e.apply(t[i],n))break}else if(r)for(;i<o&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},trim:function(t){return null==t?"":(t+"").replace(l,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(p(Object(t))?k.merge(n,"string"==typeof t?[t]:t):a.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:o.call(e,t,n)},merge:function(t,e){for(var n=+e.length,i=0,o=t.length;i<n;i++)t[o++]=e[i];return t.length=o,t},grep:function(t,e,n){for(var i=[],o=0,r=t.length,s=!n;o<r;o++)!e(t[o],o)!=s&&i.push(t[o]);return i},map:function(t,e,n){var i,o=0,r=t.length,s=[];if(p(t))for(;o<r;o++)null!=(i=e(t[o],o,n))&&s.push(i);else for(o in t)null!=(i=e(t[o],o,n))&&s.push(i);return g.apply([],s)},guid:1,proxy:function(t,e){var n,i,o;return"string"==typeof e&&(n=t[e],e=t,t=n),k.isFunction(t)?(i=u.call(arguments,2),(o=function(){return t.apply(e||this,i.concat(u.call(arguments)))}).guid=t.guid=t.guid||k.guid++,o):void 0},now:Date.now,support:v}),k.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){i["[object "+e+"]"]=e.toLowerCase()});var f=function(n){function h(t,e,n){var i="0x"+e-65536;return i!=i||n?e:i<0?String.fromCharCode(65536+i):String.fromCharCode(i>>10|55296,1023&i|56320)}function i(){v()}var t,d,x,r,o,g,p,m,w,c,u,v,C,s,y,b,a,f,k,T="sizzle"+1*new Date,_=n.document,E=0,I=0,l=rt(),$=rt(),M=rt(),S=function(t,e){return t===e&&(u=!0),0},N={}.hasOwnProperty,e=[],D=e.pop,A=e.push,j=e.push,q=e.slice,L=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},P="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",O="[\\x20\\t\\r\\n\\f]",F="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",H=F.replace("w","w#"),R="\\["+O+"*("+F+")(?:"+O+"*([*^$|!~]?=)"+O+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+H+"))|)"+O+"*\\]",W=":("+F+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+R+")*)|.*)\\)|)",B=new RegExp(O+"+","g"),U=new RegExp("^"+O+"+|((?:^|[^\\\\])(?:\\\\.)*)"+O+"+$","g"),z=new RegExp("^"+O+"*,"+O+"*"),V=new RegExp("^"+O+"*([>+~]|"+O+")"+O+"*"),Q=new RegExp("="+O+"*([^\\]'\"]*?)"+O+"*\\]","g"),X=new RegExp(W),G=new RegExp("^"+H+"$"),Y={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F.replace("w","w*")+")"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+O+"*(even|odd|(([+-]|)(\\d*)n|)"+O+"*(?:([+-]|)"+O+"*(\\d+)|))"+O+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+O+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+O+"*((?:-\\d)?\\d*)"+O+"*\\)|)(?=[^-]|$)","i")},J=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,tt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,et=/[+~]/,nt=/'|\\/g,it=new RegExp("\\\\([\\da-f]{1,6}"+O+"?|("+O+")|.)","ig");try{j.apply(e=q.call(_.childNodes),_.childNodes),e[_.childNodes.length].nodeType}catch(t){j={apply:e.length?function(t,e){A.apply(t,q.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}function ot(t,e,n,i){var o,r,s,a,l,c,u,h,p,f;if((e?e.ownerDocument||e:_)!==C&&v(e),n=n||[],a=(e=e||C).nodeType,"string"!=typeof t||!t||1!==a&&9!==a&&11!==a)return n;if(!i&&y){if(11!==a&&(o=tt.exec(t)))if(s=o[1]){if(9===a){if(!(r=e.getElementById(s))||!r.parentNode)return n;if(r.id===s)return n.push(r),n}else if(e.ownerDocument&&(r=e.ownerDocument.getElementById(s))&&k(e,r)&&r.id===s)return n.push(r),n}else{if(o[2])return j.apply(n,e.getElementsByTagName(t)),n;if((s=o[3])&&d.getElementsByClassName)return j.apply(n,e.getElementsByClassName(s)),n}if(d.qsa&&(!b||!b.test(t))){if(h=u=T,p=e,f=1!==a&&t,1===a&&"object"!==e.nodeName.toLowerCase()){for(c=g(t),(u=e.getAttribute("id"))?h=u.replace(nt,"\\$&"):e.setAttribute("id",h),h="[id='"+h+"'] ",l=c.length;l--;)c[l]=h+gt(c[l]);p=et.test(t)&&ft(e.parentNode)||e,f=c.join(",")}if(f)try{return j.apply(n,p.querySelectorAll(f)),n}catch(t){}finally{u||e.removeAttribute("id")}}}return m(t.replace(U,"$1"),e,n,i)}function rt(){var i=[];return function t(e,n){return i.push(e+" ")>x.cacheLength&&delete t[i.shift()],t[e+" "]=n}}function st(t){return t[T]=!0,t}function at(t){var e=C.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function lt(t,e){for(var n=t.split("|"),i=t.length;i--;)x.attrHandle[n[i]]=e}function ct(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||1<<31)-(~t.sourceIndex||1<<31);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function ut(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function ht(n){return function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===n}}function pt(s){return st(function(r){return r=+r,st(function(t,e){for(var n,i=s([],t.length,r),o=i.length;o--;)t[n=i[o]]&&(t[n]=!(e[n]=t[n]))})})}function ft(t){return t&&void 0!==t.getElementsByTagName&&t}for(t in d=ot.support={},o=ot.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},v=ot.setDocument=function(t){var e,n,l=t?t.ownerDocument||t:_;return l!==C&&9===l.nodeType&&l.documentElement?(s=(C=l).documentElement,(n=l.defaultView)&&n!==n.top&&(n.addEventListener?n.addEventListener("unload",i,!1):n.attachEvent&&n.attachEvent("onunload",i)),y=!o(l),d.attributes=at(function(t){return t.className="i",!t.getAttribute("className")}),d.getElementsByTagName=at(function(t){return t.appendChild(l.createComment("")),!t.getElementsByTagName("*").length}),d.getElementsByClassName=Z.test(l.getElementsByClassName),d.getById=at(function(t){return s.appendChild(t).id=T,!l.getElementsByName||!l.getElementsByName(T).length}),d.getById?(x.find.ID=function(t,e){if(void 0!==e.getElementById&&y){var n=e.getElementById(t);return n&&n.parentNode?[n]:[]}},x.filter.ID=function(t){var e=t.replace(it,h);return function(t){return t.getAttribute("id")===e}}):(delete x.find.ID,x.filter.ID=function(t){var n=t.replace(it,h);return function(t){var e=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return e&&e.value===n}}),x.find.TAG=d.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):d.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],o=0,r=e.getElementsByTagName(t);if("*"!==t)return r;for(;n=r[o++];)1===n.nodeType&&i.push(n);return i},x.find.CLASS=d.getElementsByClassName&&function(t,e){return y?e.getElementsByClassName(t):void 0},a=[],b=[],(d.qsa=Z.test(l.querySelectorAll))&&(at(function(t){s.appendChild(t).innerHTML="<a id='"+T+"'></a><select id='"+T+"-\f]' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&b.push("[*^$]="+O+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||b.push("\\["+O+"*(?:value|"+P+")"),t.querySelectorAll("[id~="+T+"-]").length||b.push("~="),t.querySelectorAll(":checked").length||b.push(":checked"),t.querySelectorAll("a#"+T+"+*").length||b.push(".#.+[+~]")}),at(function(t){var e=l.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&b.push("name"+O+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||b.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),b.push(",.*:")})),(d.matchesSelector=Z.test(f=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&at(function(t){d.disconnectedMatch=f.call(t,"div"),f.call(t,"[s!='']:x"),a.push("!=",W)}),b=b.length&&new RegExp(b.join("|")),a=a.length&&new RegExp(a.join("|")),e=Z.test(s.compareDocumentPosition),k=e||Z.test(s.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},S=e?function(t,e){if(t===e)return u=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!d.sortDetached&&e.compareDocumentPosition(t)===n?t===l||t.ownerDocument===_&&k(_,t)?-1:e===l||e.ownerDocument===_&&k(_,e)?1:c?L(c,t)-L(c,e):0:4&n?-1:1)}:function(t,e){if(t===e)return u=!0,0;var n,i=0,o=t.parentNode,r=e.parentNode,s=[t],a=[e];if(!o||!r)return t===l?-1:e===l?1:o?-1:r?1:c?L(c,t)-L(c,e):0;if(o===r)return ct(t,e);for(n=t;n=n.parentNode;)s.unshift(n);for(n=e;n=n.parentNode;)a.unshift(n);for(;s[i]===a[i];)i++;return i?ct(s[i],a[i]):s[i]===_?-1:a[i]===_?1:0},l):C},ot.matches=function(t,e){return ot(t,null,null,e)},ot.matchesSelector=function(t,e){if((t.ownerDocument||t)!==C&&v(t),e=e.replace(Q,"='$1']"),!(!d.matchesSelector||!y||a&&a.test(e)||b&&b.test(e)))try{var n=f.call(t,e);if(n||d.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){}return 0<ot(e,C,null,[t]).length},ot.contains=function(t,e){return(t.ownerDocument||t)!==C&&v(t),k(t,e)},ot.attr=function(t,e){(t.ownerDocument||t)!==C&&v(t);var n=x.attrHandle[e.toLowerCase()],i=n&&N.call(x.attrHandle,e.toLowerCase())?n(t,e,!y):void 0;return void 0!==i?i:d.attributes||!y?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},ot.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},ot.uniqueSort=function(t){var e,n=[],i=0,o=0;if(u=!d.detectDuplicates,c=!d.sortStable&&t.slice(0),t.sort(S),u){for(;e=t[o++];)e===t[o]&&(i=n.push(o));for(;i--;)t.splice(n[i],1)}return c=null,t},r=ot.getText=function(t){var e,n="",i=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=r(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[i++];)n+=r(e);return n},(x=ot.selectors={cacheLength:50,createPseudo:st,match:Y,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(it,h),t[3]=(t[3]||t[4]||t[5]||"").replace(it,h),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||ot.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&ot.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return Y.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&X.test(n)&&(e=g(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(it,h).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=l[t+" "];return e||(e=new RegExp("(^|"+O+")"+t+"("+O+"|$)"))&&l(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(n,i,o){return function(t){var e=ot.attr(t,n);return null==e?"!="===i:!i||(e+="","="===i?e===o:"!="===i?e!==o:"^="===i?o&&0===e.indexOf(o):"*="===i?o&&-1<e.indexOf(o):"$="===i?o&&e.slice(-o.length)===o:"~="===i?-1<(" "+e.replace(B," ")+" ").indexOf(o):"|="===i&&(e===o||e.slice(0,o.length+1)===o+"-"))}},CHILD:function(f,t,e,d,g){var m="nth"!==f.slice(0,3),v="last"!==f.slice(-4),y="of-type"===t;return 1===d&&0===g?function(t){return!!t.parentNode}:function(t,e,n){var i,o,r,s,a,l,c=m!=v?"nextSibling":"previousSibling",u=t.parentNode,h=y&&t.nodeName.toLowerCase(),p=!n&&!y;if(u){if(m){for(;c;){for(r=t;r=r[c];)if(y?r.nodeName.toLowerCase()===h:1===r.nodeType)return!1;l=c="only"===f&&!l&&"nextSibling"}return!0}if(l=[v?u.firstChild:u.lastChild],v&&p){for(a=(i=(o=u[T]||(u[T]={}))[f]||[])[0]===E&&i[1],s=i[0]===E&&i[2],r=a&&u.childNodes[a];r=++a&&r&&r[c]||(s=a=0)||l.pop();)if(1===r.nodeType&&++s&&r===t){o[f]=[E,a,s];break}}else if(p&&(i=(t[T]||(t[T]={}))[f])&&i[0]===E)s=i[1];else for(;(r=++a&&r&&r[c]||(s=a=0)||l.pop())&&((y?r.nodeName.toLowerCase()!==h:1!==r.nodeType)||!++s||(p&&((r[T]||(r[T]={}))[f]=[E,s]),r!==t)););return(s-=g)===d||s%d==0&&0<=s/d}}},PSEUDO:function(t,r){var e,s=x.pseudos[t]||x.setFilters[t.toLowerCase()]||ot.error("unsupported pseudo: "+t);return s[T]?s(r):1<s.length?(e=[t,t,"",r],x.setFilters.hasOwnProperty(t.toLowerCase())?st(function(t,e){for(var n,i=s(t,r),o=i.length;o--;)t[n=L(t,i[o])]=!(e[n]=i[o])}):function(t){return s(t,0,e)}):s}},pseudos:{not:st(function(t){var i=[],o=[],a=p(t.replace(U,"$1"));return a[T]?st(function(t,e,n,i){for(var o,r=a(t,null,i,[]),s=t.length;s--;)(o=r[s])&&(t[s]=!(e[s]=o))}):function(t,e,n){return i[0]=t,a(i,null,n,o),i[0]=null,!o.pop()}}),has:st(function(e){return function(t){return 0<ot(e,t).length}}),contains:st(function(e){return e=e.replace(it,h),function(t){return-1<(t.textContent||t.innerText||r(t)).indexOf(e)}}),lang:st(function(n){return G.test(n||"")||ot.error("unsupported lang: "+n),n=n.replace(it,h).toLowerCase(),function(t){var e;do{if(e=y?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(e=e.toLowerCase())===n||0===e.indexOf(n+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var e=n.location&&n.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===s},focus:function(t){return t===C.activeElement&&(!C.hasFocus||C.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!x.pseudos.empty(t)},header:function(t){return K.test(t.nodeName)},input:function(t){return J.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:pt(function(){return[0]}),last:pt(function(t,e){return[e-1]}),eq:pt(function(t,e,n){return[n<0?n+e:n]}),even:pt(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:pt(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:pt(function(t,e,n){for(var i=n<0?n+e:n;0<=--i;)t.push(i);return t}),gt:pt(function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t})}}).pseudos.nth=x.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[t]=ut(t);for(t in{submit:!0,reset:!0})x.pseudos[t]=ht(t);function dt(){}function gt(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function mt(s,t,e){var a=t.dir,l=e&&"parentNode"===a,c=I++;return t.first?function(t,e,n){for(;t=t[a];)if(1===t.nodeType||l)return s(t,e,n)}:function(t,e,n){var i,o,r=[E,c];if(n){for(;t=t[a];)if((1===t.nodeType||l)&&s(t,e,n))return!0}else for(;t=t[a];)if(1===t.nodeType||l){if((i=(o=t[T]||(t[T]={}))[a])&&i[0]===E&&i[1]===c)return r[2]=i[2];if((o[a]=r)[2]=s(t,e,n))return!0}}}function vt(o){return 1<o.length?function(t,e,n){for(var i=o.length;i--;)if(!o[i](t,e,n))return!1;return!0}:o[0]}function yt(t,e,n,i,o){for(var r,s=[],a=0,l=t.length,c=null!=e;a<l;a++)!(r=t[a])||n&&!n(r,i,o)||(s.push(r),c&&e.push(a));return s}function bt(f,d,g,m,v,t){return m&&!m[T]&&(m=bt(m)),v&&!v[T]&&(v=bt(v,t)),st(function(t,e,n,i){var o,r,s,a=[],l=[],c=e.length,u=t||function(t,e,n){for(var i=0,o=e.length;i<o;i++)ot(t,e[i],n);return n}(d||"*",n.nodeType?[n]:n,[]),h=!f||!t&&d?u:yt(u,a,f,n,i),p=g?v||(t?f:c||m)?[]:e:h;if(g&&g(h,p,n,i),m)for(o=yt(p,l),m(o,[],n,i),r=o.length;r--;)(s=o[r])&&(p[l[r]]=!(h[l[r]]=s));if(t){if(v||f){if(v){for(o=[],r=p.length;r--;)(s=p[r])&&o.push(h[r]=s);v(null,p=[],o,i)}for(r=p.length;r--;)(s=p[r])&&-1<(o=v?L(t,s):a[r])&&(t[o]=!(e[o]=s))}}else p=yt(p===e?p.splice(c,p.length):p),v?v(null,e,p,i):j.apply(e,p)})}function xt(t){for(var o,e,n,i=t.length,r=x.relative[t[0].type],s=r||x.relative[" "],a=r?1:0,l=mt(function(t){return t===o},s,!0),c=mt(function(t){return-1<L(o,t)},s,!0),u=[function(t,e,n){var i=!r&&(n||e!==w)||((o=e).nodeType?l(t,e,n):c(t,e,n));return o=null,i}];a<i;a++)if(e=x.relative[t[a].type])u=[mt(vt(u),e)];else{if((e=x.filter[t[a].type].apply(null,t[a].matches))[T]){for(n=++a;n<i&&!x.relative[t[n].type];n++);return bt(1<a&&vt(u),1<a&&gt(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(U,"$1"),e,a<n&&xt(t.slice(a,n)),n<i&&xt(t=t.slice(n)),n<i&&gt(t))}u.push(e)}return vt(u)}return dt.prototype=x.filters=x.pseudos,x.setFilters=new dt,g=ot.tokenize=function(t,e){var n,i,o,r,s,a,l,c=$[t+" "];if(c)return e?0:c.slice(0);for(s=t,a=[],l=x.preFilter;s;){for(r in n&&!(i=z.exec(s))||(i&&(s=s.slice(i[0].length)||s),a.push(o=[])),n=!1,(i=V.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(U," ")}),s=s.slice(n.length)),x.filter)!(i=Y[r].exec(s))||l[r]&&!(i=l[r](i))||(n=i.shift(),o.push({value:n,type:r,matches:i}),s=s.slice(n.length));if(!n)break}return e?s.length:s?ot.error(t):$(t,a).slice(0)},p=ot.compile=function(t,e){var n,i=[],o=[],r=M[t+" "];if(!r){for(n=(e=e||g(t)).length;n--;)(r=xt(e[n]))[T]?i.push(r):o.push(r);(r=M(t,function(m,v){function t(t,e,n,i,o){var r,s,a,l=0,c="0",u=t&&[],h=[],p=w,f=t||b&&x.find.TAG("*",o),d=E+=null==p?1:Math.random()||.1,g=f.length;for(o&&(w=e!==C&&e);c!==g&&null!=(r=f[c]);c++){if(b&&r){for(s=0;a=m[s++];)if(a(r,e,n)){i.push(r);break}o&&(E=d)}y&&((r=!a&&r)&&l--,t&&u.push(r))}if(l+=c,y&&c!==l){for(s=0;a=v[s++];)a(u,h,e,n);if(t){if(0<l)for(;c--;)u[c]||h[c]||(h[c]=D.call(i));h=yt(h)}j.apply(i,h),o&&!t&&0<h.length&&1<l+v.length&&ot.uniqueSort(i)}return o&&(E=d,w=p),u}var y=0<v.length,b=0<m.length;return y?st(t):t}(o,i))).selector=t}return r},m=ot.select=function(t,e,n,i){var o,r,s,a,l,c="function"==typeof t&&t,u=!i&&g(t=c.selector||t);if(n=n||[],1===u.length){if(2<(r=u[0]=u[0].slice(0)).length&&"ID"===(s=r[0]).type&&d.getById&&9===e.nodeType&&y&&x.relative[r[1].type]){if(!(e=(x.find.ID(s.matches[0].replace(it,h),e)||[])[0]))return n;c&&(e=e.parentNode),t=t.slice(r.shift().value.length)}for(o=Y.needsContext.test(t)?0:r.length;o--&&(s=r[o],!x.relative[a=s.type]);)if((l=x.find[a])&&(i=l(s.matches[0].replace(it,h),et.test(r[0].type)&&ft(e.parentNode)||e))){if(r.splice(o,1),!(t=i.length&&gt(r)))return j.apply(n,i),n;break}}return(c||p(t,u))(i,e,!y,n,et.test(t)&&ft(e.parentNode)||e),n},d.sortStable=T.split("").sort(S).join("")===T,d.detectDuplicates=!!u,v(),d.sortDetached=at(function(t){return 1&t.compareDocumentPosition(C.createElement("div"))}),at(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||lt("type|href|height|width",function(t,e,n){return n?void 0:t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),d.attributes&&at(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||lt("value",function(t,e,n){return n||"input"!==t.nodeName.toLowerCase()?void 0:t.defaultValue}),at(function(t){return null==t.getAttribute("disabled")})||lt(P,function(t,e,n){var i;return n?void 0:!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),ot}(d);k.find=f,k.expr=f.selectors,k.expr[":"]=k.expr.pseudos,k.unique=f.uniqueSort,k.text=f.getText,k.isXMLDoc=f.isXML,k.contains=f.contains;var b=k.expr.match.needsContext,x=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^.[^:#\[\.,]*$/;function C(t,n,i){if(k.isFunction(n))return k.grep(t,function(t,e){return!!n.call(t,e,t)!==i});if(n.nodeType)return k.grep(t,function(t){return t===n!==i});if("string"==typeof n){if(w.test(n))return k.filter(n,t,i);n=k.filter(n,t)}return k.grep(t,function(t){return 0<=o.call(n,t)!==i})}k.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?k.find.matchesSelector(i,t)?[i]:[]:k.find.matches(t,k.grep(e,function(t){return 1===t.nodeType}))},k.fn.extend({find:function(t){var e,n=this.length,i=[],o=this;if("string"!=typeof t)return this.pushStack(k(t).filter(function(){for(e=0;e<n;e++)if(k.contains(o[e],this))return!0}));for(e=0;e<n;e++)k.find(t,o[e],i);return(i=this.pushStack(1<n?k.unique(i):i)).selector=this.selector?this.selector+" "+t:t,i},filter:function(t){return this.pushStack(C(this,t||[],!1))},not:function(t){return this.pushStack(C(this,t||[],!0))},is:function(t){return!!C(this,"string"==typeof t&&b.test(t)?k(t):t||[],!1).length}});var T,_=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(k.fn.init=function(t,e){var n,i;if(!t)return this;if("string"!=typeof t)return t.nodeType?(this.context=this[0]=t,this.length=1,this):k.isFunction(t)?void 0!==T.ready?T.ready(t):t(k):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),k.makeArray(t,this));if(!(n="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:_.exec(t))||!n[1]&&e)return!e||e.jquery?(e||T).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof k?e[0]:e,k.merge(this,k.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:y,!0)),x.test(n[1])&&k.isPlainObject(e))for(n in e)k.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return(i=y.getElementById(n[2]))&&i.parentNode&&(this.length=1,this[0]=i),this.context=y,this.selector=t,this}).prototype=k.fn,T=k(y);var E=/^(?:parents|prev(?:Until|All))/,I={children:!0,contents:!0,next:!0,prev:!0};function $(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}k.extend({dir:function(t,e,n){for(var i=[],o=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&k(t).is(n))break;i.push(t)}return i},sibling:function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}}),k.fn.extend({has:function(t){var e=k(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(k.contains(this,e[t]))return!0})},closest:function(t,e){for(var n,i=0,o=this.length,r=[],s=b.test(t)||"string"!=typeof t?k(t,e||this.context):0;i<o;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?-1<s.index(n):1===n.nodeType&&k.find.matchesSelector(n,t))){r.push(n);break}return this.pushStack(1<r.length?k.unique(r):r)},index:function(t){return t?"string"==typeof t?o.call(k(t),this[0]):o.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(k.unique(k.merge(this.get(),k(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),k.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return k.dir(t,"parentNode")},parentsUntil:function(t,e,n){return k.dir(t,"parentNode",n)},next:function(t){return $(t,"nextSibling")},prev:function(t){return $(t,"previousSibling")},nextAll:function(t){return k.dir(t,"nextSibling")},prevAll:function(t){return k.dir(t,"previousSibling")},nextUntil:function(t,e,n){return k.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return k.dir(t,"previousSibling",n)},siblings:function(t){return k.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return k.sibling(t.firstChild)},contents:function(t){return t.contentDocument||k.merge([],t.childNodes)}},function(i,o){k.fn[i]=function(t,e){var n=k.map(this,o,t);return"Until"!==i.slice(-5)&&(e=t),e&&"string"==typeof e&&(n=k.filter(e,n)),1<this.length&&(I[i]||k.unique(n),E.test(i)&&n.reverse()),this.pushStack(n)}});var M,S=/\S+/g,N={};function D(){y.removeEventListener("DOMContentLoaded",D,!1),d.removeEventListener("load",D,!1),k.ready()}k.Callbacks=function(o){o="string"==typeof o?N[o]||function(t){var n=N[t]={};return k.each(t.match(S)||[],function(t,e){n[e]=!0}),n}(o):k.extend({},o);var e,n,i,r,s,a,l=[],c=!o.once&&[],u=function(t){for(e=o.memory&&t,n=!0,a=r||0,r=0,s=l.length,i=!0;l&&a<s;a++)if(!1===l[a].apply(t[0],t[1])&&o.stopOnFalse){e=!1;break}i=!1,l&&(c?c.length&&u(c.shift()):e?l=[]:h.disable())},h={add:function(){if(l){var t=l.length;!function i(t){k.each(t,function(t,e){var n=k.type(e);"function"===n?o.unique&&h.has(e)||l.push(e):e&&e.length&&"string"!==n&&i(e)})}(arguments),i?s=l.length:e&&(r=t,u(e))}return this},remove:function(){return l&&k.each(arguments,function(t,e){for(var n;-1<(n=k.inArray(e,l,n));)l.splice(n,1),i&&(n<=s&&s--,n<=a&&a--)}),this},has:function(t){return t?-1<k.inArray(t,l):!(!l||!l.length)},empty:function(){return l=[],s=0,this},disable:function(){return l=c=e=void 0,this},disabled:function(){return!l},lock:function(){return c=void 0,e||h.disable(),this},locked:function(){return!c},fireWith:function(t,e){return!l||n&&!c||(e=[t,(e=e||[]).slice?e.slice():e],i?c.push(e):u(e)),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!n}};return h},k.extend({Deferred:function(t){var r=[["resolve","done",k.Callbacks("once memory"),"resolved"],["reject","fail",k.Callbacks("once memory"),"rejected"],["notify","progress",k.Callbacks("memory")]],o="pending",s={state:function(){return o},always:function(){return a.done(arguments).fail(arguments),this},then:function(){var o=arguments;return k.Deferred(function(i){k.each(r,function(t,e){var n=k.isFunction(o[t])&&o[t];a[e[1]](function(){var t=n&&n.apply(this,arguments);t&&k.isFunction(t.promise)?t.promise().done(i.resolve).fail(i.reject).progress(i.notify):i[e[0]+"With"](this===s?i.promise():this,n?[t]:arguments)})}),o=null}).promise()},promise:function(t){return null!=t?k.extend(t,s):s}},a={};return s.pipe=s.then,k.each(r,function(t,e){var n=e[2],i=e[3];s[e[1]]=n.add,i&&n.add(function(){o=i},r[1^t][2].disable,r[2][2].lock),a[e[0]]=function(){return a[e[0]+"With"](this===a?s:this,arguments),this},a[e[0]+"With"]=n.fireWith}),s.promise(a),t&&t.call(a,a),a},when:function(t){function e(e,n,i){return function(t){n[e]=this,i[e]=1<arguments.length?u.call(arguments):t,i===o?c.notifyWith(n,i):--l||c.resolveWith(n,i)}}var o,n,i,r=0,s=u.call(arguments),a=s.length,l=1!==a||t&&k.isFunction(t.promise)?a:0,c=1===l?t:k.Deferred();if(1<a)for(o=new Array(a),n=new Array(a),i=new Array(a);r<a;r++)s[r]&&k.isFunction(s[r].promise)?s[r].promise().done(e(r,i,s)).fail(c.reject).progress(e(r,n,o)):--l;return l||c.resolveWith(i,s),c.promise()}}),k.fn.ready=function(t){return k.ready.promise().done(t),this},k.extend({isReady:!1,readyWait:1,holdReady:function(t){t?k.readyWait++:k.ready(!0)},ready:function(t){(!0===t?--k.readyWait:k.isReady)||((k.isReady=!0)!==t&&0<--k.readyWait||(M.resolveWith(y,[k]),k.fn.triggerHandler&&(k(y).triggerHandler("ready"),k(y).off("ready"))))}}),k.ready.promise=function(t){return M||(M=k.Deferred(),"complete"===y.readyState?setTimeout(k.ready):(y.addEventListener("DOMContentLoaded",D,!1),d.addEventListener("load",D,!1))),M.promise(t)},k.ready.promise();var A=k.access=function(t,e,n,i,o,r,s){var a=0,l=t.length,c=null==n;if("object"===k.type(n))for(a in o=!0,n)k.access(t,e,a,n[a],!0,r,s);else if(void 0!==i&&(o=!0,k.isFunction(i)||(s=!0),c&&(e=s?(e.call(t,i),null):(c=e,function(t,e,n){return c.call(k(t),n)})),e))for(;a<l;a++)e(t[a],n,s?i:i.call(t[a],a,e(t[a],n)));return o?t:c?e.call(t):l?e(t[0],n):r};function j(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=k.expando+j.uid++}k.acceptData=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType},j.uid=1,j.accepts=k.acceptData,j.prototype={key:function(e){if(!j.accepts(e))return 0;var n={},i=e[this.expando];if(!i){i=j.uid++;try{n[this.expando]={value:i},Object.defineProperties(e,n)}catch(t){n[this.expando]=i,k.extend(e,n)}}return this.cache[i]||(this.cache[i]={}),i},set:function(t,e,n){var i,o=this.key(t),r=this.cache[o];if("string"==typeof e)r[e]=n;else if(k.isEmptyObject(r))k.extend(this.cache[o],e);else for(i in e)r[i]=e[i];return r},get:function(t,e){var n=this.cache[this.key(t)];return void 0===e?n:n[e]},access:function(t,e,n){var i;return void 0===e||e&&"string"==typeof e&&void 0===n?void 0!==(i=this.get(t,e))?i:this.get(t,k.camelCase(e)):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i,o,r=this.key(t),s=this.cache[r];if(void 0===e)this.cache[r]={};else{n=(i=k.isArray(e)?e.concat(e.map(k.camelCase)):(o=k.camelCase(e),e in s?[e,o]:(i=o)in s?[i]:i.match(S)||[])).length;for(;n--;)delete s[i[n]]}},hasData:function(t){return!k.isEmptyObject(this.cache[t[this.expando]]||{})},discard:function(t){t[this.expando]&&delete this.cache[t[this.expando]]}};var q=new j,L=new j,P=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,O=/([A-Z])/g;function F(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(O,"-$1").toLowerCase(),"string"==typeof(n=t.getAttribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:P.test(n)?k.parseJSON(n):n)}catch(t){}L.set(t,e,n)}else n=void 0;return n}k.extend({hasData:function(t){return L.hasData(t)||q.hasData(t)},data:function(t,e,n){return L.access(t,e,n)},removeData:function(t,e){L.remove(t,e)},_data:function(t,e,n){return q.access(t,e,n)},_removeData:function(t,e){q.remove(t,e)}}),k.fn.extend({data:function(i,t){var e,n,o,r=this[0],s=r&&r.attributes;if(void 0!==i)return"object"==typeof i?this.each(function(){L.set(this,i)}):A(this,function(e){var t,n=k.camelCase(i);if(r&&void 0===e){if(void 0!==(t=L.get(r,i)))return t;if(void 0!==(t=L.get(r,n)))return t;if(void 0!==(t=F(r,n,void 0)))return t}else this.each(function(){var t=L.get(this,n);L.set(this,n,e),-1!==i.indexOf("-")&&void 0!==t&&L.set(this,i,e)})},null,t,1<arguments.length,null,!0);if(this.length&&(o=L.get(r),1===r.nodeType&&!q.get(r,"hasDataAttrs"))){for(e=s.length;e--;)s[e]&&(0===(n=s[e].name).indexOf("data-")&&(n=k.camelCase(n.slice(5)),F(r,n,o[n])));q.set(r,"hasDataAttrs",!0)}return o},removeData:function(t){return this.each(function(){L.remove(this,t)})}}),k.extend({queue:function(t,e,n){var i;return t?(e=(e||"fx")+"queue",i=q.get(t,e),n&&(!i||k.isArray(n)?i=q.access(t,e,k.makeArray(n)):i.push(n)),i||[]):void 0},dequeue:function(t,e){e=e||"fx";var n=k.queue(t,e),i=n.length,o=n.shift(),r=k._queueHooks(t,e);"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===e&&n.unshift("inprogress"),delete r.stop,o.call(t,function(){k.dequeue(t,e)},r)),!i&&r&&r.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return q.get(t,n)||q.access(t,n,{empty:k.Callbacks("once memory").add(function(){q.remove(t,[e+"queue",n])})})}}),k.fn.extend({queue:function(e,n){var t=2;return"string"!=typeof e&&(n=e,e="fx",t--),arguments.length<t?k.queue(this[0],e):void 0===n?this:this.each(function(){var t=k.queue(this,e,n);k._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&k.dequeue(this,e)})},dequeue:function(t){return this.each(function(){k.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){function n(){--o||r.resolveWith(s,[s])}var i,o=1,r=k.Deferred(),s=this,a=this.length;for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(i=q.get(s[a],t+"queueHooks"))&&i.empty&&(o++,i.empty.add(n));return n(),r.promise(e)}});function H(t,e){return t=e||t,"none"===k.css(t,"display")||!k.contains(t.ownerDocument,t)}var R,W,B=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,U=["Top","Right","Bottom","Left"],z=/^(?:checkbox|radio)$/i;R=y.createDocumentFragment().appendChild(y.createElement("div")),(W=y.createElement("input")).setAttribute("type","radio"),W.setAttribute("checked","checked"),W.setAttribute("name","t"),R.appendChild(W),v.checkClone=R.cloneNode(!0).cloneNode(!0).lastChild.checked,R.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!R.cloneNode(!0).lastChild.defaultValue;var V="undefined";v.focusinBubbles="onfocusin"in d;var Q=/^key/,X=/^(?:mouse|pointer|contextmenu)|click/,G=/^(?:focusinfocus|focusoutblur)$/,Y=/^([^.]*)(?:\.(.+)|)$/;function J(){return!0}function K(){return!1}function Z(){try{return y.activeElement}catch(t){}}k.event={global:{},add:function(e,t,n,i,o){var r,s,a,l,c,u,h,p,f,d,g,m=q.get(e);if(m)for(n.handler&&(n=(r=n).handler,o=r.selector),n.guid||(n.guid=k.guid++),(l=m.events)||(l=m.events={}),(s=m.handle)||(s=m.handle=function(t){return typeof k!=V&&k.event.triggered!==t.type?k.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(S)||[""]).length;c--;)f=g=(a=Y.exec(t[c])||[])[1],d=(a[2]||"").split(".").sort(),f&&(h=k.event.special[f]||{},f=(o?h.delegateType:h.bindType)||f,h=k.event.special[f]||{},u=k.extend({type:f,origType:g,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&k.expr.match.needsContext.test(o),namespace:d.join(".")},r),(p=l[f])||((p=l[f]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(e,i,d,s)||e.addEventListener&&e.addEventListener(f,s,!1)),h.add&&(h.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),o?p.splice(p.delegateCount++,0,u):p.push(u),k.event.global[f]=!0)},remove:function(t,e,n,i,o){var r,s,a,l,c,u,h,p,f,d,g,m=q.hasData(t)&&q.get(t);if(m&&(l=m.events)){for(c=(e=(e||"").match(S)||[""]).length;c--;)if(f=g=(a=Y.exec(e[c])||[])[1],d=(a[2]||"").split(".").sort(),f){for(h=k.event.special[f]||{},p=l[f=(i?h.delegateType:h.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=r=p.length;r--;)u=p[r],!o&&g!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(p.splice(r,1),u.selector&&p.delegateCount--,h.remove&&h.remove.call(t,u));s&&!p.length&&(h.teardown&&!1!==h.teardown.call(t,d,m.handle)||k.removeEvent(t,f,m.handle),delete l[f])}else for(f in l)k.event.remove(t,f+e[c],n,i,!0);k.isEmptyObject(l)&&(delete m.handle,q.remove(t,"events"))}},trigger:function(t,e,n,i){var o,r,s,a,l,c,u,h=[n||y],p=m.call(t,"type")?t.type:t,f=m.call(t,"namespace")?t.namespace.split("."):[];if(r=s=n=n||y,3!==n.nodeType&&8!==n.nodeType&&!G.test(p+k.event.triggered)&&(0<=p.indexOf(".")&&(p=(f=p.split(".")).shift(),f.sort()),l=p.indexOf(":")<0&&"on"+p,(t=t[k.expando]?t:new k.Event(p,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=f.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),e=null==e?[t]:k.makeArray(e,[t]),u=k.event.special[p]||{},i||!u.trigger||!1!==u.trigger.apply(n,e))){if(!i&&!u.noBubble&&!k.isWindow(n)){for(a=u.delegateType||p,G.test(a+p)||(r=r.parentNode);r;r=r.parentNode)h.push(r),s=r;s===(n.ownerDocument||y)&&h.push(s.defaultView||s.parentWindow||d)}for(o=0;(r=h[o++])&&!t.isPropagationStopped();)t.type=1<o?a:u.bindType||p,(c=(q.get(r,"events")||{})[t.type]&&q.get(r,"handle"))&&c.apply(r,e),(c=l&&r[l])&&c.apply&&k.acceptData(r)&&(t.result=c.apply(r,e),!1===t.result&&t.preventDefault());return t.type=p,i||t.isDefaultPrevented()||u._default&&!1!==u._default.apply(h.pop(),e)||!k.acceptData(n)||l&&k.isFunction(n[p])&&!k.isWindow(n)&&((s=n[l])&&(n[l]=null),n[k.event.triggered=p](),k.event.triggered=void 0,s&&(n[l]=s)),t.result}},dispatch:function(t){t=k.event.fix(t);var e,n,i,o,r,s=[],a=u.call(arguments),l=(q.get(this,"events")||{})[t.type]||[],c=k.event.special[t.type]||{};if((a[0]=t).delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,t)){for(s=k.event.handlers.call(this,t,l),e=0;(o=s[e++])&&!t.isPropagationStopped();)for(t.currentTarget=o.elem,n=0;(r=o.handlers[n++])&&!t.isImmediatePropagationStopped();)t.namespace_re&&!t.namespace_re.test(r.namespace)||(t.handleObj=r,t.data=r.data,void 0!==(i=((k.event.special[r.origType]||{}).handle||r.handler).apply(o.elem,a))&&!1===(t.result=i)&&(t.preventDefault(),t.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,i,o,r,s=[],a=e.delegateCount,l=t.target;if(a&&l.nodeType&&(!t.button||"click"!==t.type))for(;l!==this;l=l.parentNode||this)if(!0!==l.disabled||"click"!==t.type){for(i=[],n=0;n<a;n++)void 0===i[o=(r=e[n]).selector+" "]&&(i[o]=r.needsContext?0<=k(o,this).index(l):k.find(o,this,null,[l]).length),i[o]&&i.push(r);i.length&&s.push({elem:l,handlers:i})}return a<e.length&&s.push({elem:this,handlers:e.slice(a)}),s},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,i,o,r=e.button;return null==t.pageX&&null!=e.clientX&&(i=(n=t.target.ownerDocument||y).documentElement,o=n.body,t.pageX=e.clientX+(i&&i.scrollLeft||o&&o.scrollLeft||0)-(i&&i.clientLeft||o&&o.clientLeft||0),t.pageY=e.clientY+(i&&i.scrollTop||o&&o.scrollTop||0)-(i&&i.clientTop||o&&o.clientTop||0)),t.which||void 0===r||(t.which=1&r?1:2&r?3:4&r?2:0),t}},fix:function(t){if(t[k.expando])return t;var e,n,i,o=t.type,r=t,s=this.fixHooks[o];for(s||(this.fixHooks[o]=s=X.test(o)?this.mouseHooks:Q.test(o)?this.keyHooks:{}),i=s.props?this.props.concat(s.props):this.props,t=new k.Event(r),e=i.length;e--;)t[n=i[e]]=r[n];return t.target||(t.target=y),3===t.target.nodeType&&(t.target=t.target.parentNode),s.filter?s.filter(t,r):t},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==Z()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===Z()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&k.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(t){return k.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,n,i){var o=k.extend(new k.Event,n,{type:t,isSimulated:!0,originalEvent:{}});i?k.event.trigger(o,null,e):k.event.dispatch.call(e,o),o.isDefaultPrevented()&&n.preventDefault()}},k.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n,!1)},k.Event=function(t,e){return this instanceof k.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?J:K):this.type=t,e&&k.extend(this,e),this.timeStamp=t&&t.timeStamp||k.now(),void(this[k.expando]=!0)):new k.Event(t,e)},k.Event.prototype={isDefaultPrevented:K,isPropagationStopped:K,isImmediatePropagationStopped:K,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=J,t&&t.preventDefault&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=J,t&&t.stopPropagation&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=J,t&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),this.stopPropagation()}},k.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,o){k.event.special[t]={delegateType:o,bindType:o,handle:function(t){var e,n=t.relatedTarget,i=t.handleObj;return n&&(n===this||k.contains(this,n))||(t.type=i.origType,e=i.handler.apply(this,arguments),t.type=o),e}}}),v.focusinBubbles||k.each({focus:"focusin",blur:"focusout"},function(n,i){function o(t){k.event.simulate(i,t.target,k.event.fix(t),!0)}k.event.special[i]={setup:function(){var t=this.ownerDocument||this,e=q.access(t,i);e||t.addEventListener(n,o,!0),q.access(t,i,(e||0)+1)},teardown:function(){var t=this.ownerDocument||this,e=q.access(t,i)-1;e?q.access(t,i,e):(t.removeEventListener(n,o,!0),q.remove(t,i))}}}),k.fn.extend({on:function(t,e,n,i,o){var r,s;if("object"==typeof t){for(s in"string"!=typeof e&&(n=n||e,e=void 0),t)this.on(s,e,n,t[s],o);return this}if(null==n&&null==i?(i=e,n=e=void 0):null==i&&("string"==typeof e?(i=n,n=void 0):(i=n,n=e,e=void 0)),!1===i)i=K;else if(!i)return this;return 1===o&&(r=i,(i=function(t){return k().off(t),r.apply(this,arguments)}).guid=r.guid||(r.guid=k.guid++)),this.each(function(){k.event.add(this,t,i,n,e)})},one:function(t,e,n,i){return this.on(t,e,n,i,1)},off:function(t,e,n){var i,o;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,k(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"!=typeof t)return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=K),this.each(function(){k.event.remove(this,t,n,e)});for(o in t)this.off(o,e,t[o]);return this},trigger:function(t,e){return this.each(function(){k.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];return n?k.event.trigger(t,e,n,!0):void 0}});var tt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,et=/<([\w:]+)/,nt=/<|&#?\w+;/,it=/<(?:script|style|link)/i,ot=/checked\s*(?:[^=]|=\s*.checked.)/i,rt=/^$|\/(?:java|ecma)script/i,st=/^true\/(.*)/,at=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,lt={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ct(t,e){return k.nodeName(t,"table")&&k.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function ut(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function ht(t){var e=st.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function pt(t,e){for(var n=0,i=t.length;n<i;n++)q.set(t[n],"globalEval",!e||q.get(e[n],"globalEval"))}function ft(t,e){var n,i,o,r,s,a,l,c;if(1===e.nodeType){if(q.hasData(t)&&(r=q.access(t),s=q.set(e,r),c=r.events))for(o in delete s.handle,s.events={},c)for(n=0,i=c[o].length;n<i;n++)k.event.add(e,o,c[o][n]);L.hasData(t)&&(a=L.access(t),l=k.extend({},a),L.set(e,l))}}function dt(t,e){var n=t.getElementsByTagName?t.getElementsByTagName(e||"*"):t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&k.nodeName(t,e)?k.merge([t],n):n}lt.optgroup=lt.option,lt.tbody=lt.tfoot=lt.colgroup=lt.caption=lt.thead,lt.th=lt.td,k.extend({clone:function(t,e,n){var i,o,r,s,a,l,c,u=t.cloneNode(!0),h=k.contains(t.ownerDocument,t);if(!(v.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||k.isXMLDoc(t)))for(s=dt(u),i=0,o=(r=dt(t)).length;i<o;i++)a=r[i],l=s[i],void 0,"input"===(c=l.nodeName.toLowerCase())&&z.test(a.type)?l.checked=a.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=a.defaultValue);if(e)if(n)for(r=r||dt(t),s=s||dt(u),i=0,o=r.length;i<o;i++)ft(r[i],s[i]);else ft(t,u);return 0<(s=dt(u,"script")).length&&pt(s,!h&&dt(t,"script")),u},buildFragment:function(t,e,n,i){for(var o,r,s,a,l,c,u=e.createDocumentFragment(),h=[],p=0,f=t.length;p<f;p++)if((o=t[p])||0===o)if("object"===k.type(o))k.merge(h,o.nodeType?[o]:o);else if(nt.test(o)){for(r=r||u.appendChild(e.createElement("div")),s=(et.exec(o)||["",""])[1].toLowerCase(),a=lt[s]||lt._default,r.innerHTML=a[1]+o.replace(tt,"<$1></$2>")+a[2],c=a[0];c--;)r=r.lastChild;k.merge(h,r.childNodes),(r=u.firstChild).textContent=""}else h.push(e.createTextNode(o));for(u.textContent="",p=0;o=h[p++];)if((!i||-1===k.inArray(o,i))&&(l=k.contains(o.ownerDocument,o),r=dt(u.appendChild(o),"script"),l&&pt(r),n))for(c=0;o=r[c++];)rt.test(o.type||"")&&n.push(o);return u},cleanData:function(t){for(var e,n,i,o,r=k.event.special,s=0;void 0!==(n=t[s]);s++){if(k.acceptData(n)&&((o=n[q.expando])&&(e=q.cache[o]))){if(e.events)for(i in e.events)r[i]?k.event.remove(n,i):k.removeEvent(n,i,e.handle);q.cache[o]&&delete q.cache[o]}delete L.cache[n[L.expando]]}}}),k.fn.extend({text:function(t){return A(this,function(t){return void 0===t?k.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||ct(this,t).appendChild(t)})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=ct(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var n,i=t?k.filter(t,this):this,o=0;null!=(n=i[o]);o++)e||1!==n.nodeType||k.cleanData(dt(n)),n.parentNode&&(e&&k.contains(n.ownerDocument,n)&&pt(dt(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(k.cleanData(dt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return k.clone(this,t,e)})},html:function(t){return A(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!it.test(t)&&!lt[(et.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(tt,"<$1></$2>");try{for(;n<i;n++)1===(e=this[n]||{}).nodeType&&(k.cleanData(dt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var e=arguments[0];return this.domManip(arguments,function(t){e=this.parentNode,k.cleanData(dt(this)),e&&e.replaceChild(t,this)}),e&&(e.length||e.nodeType)?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(n,i){n=g.apply([],n);var t,e,o,r,s,a,l=0,c=this.length,u=this,h=c-1,p=n[0],f=k.isFunction(p);if(f||1<c&&"string"==typeof p&&!v.checkClone&&ot.test(p))return this.each(function(t){var e=u.eq(t);f&&(n[0]=p.call(this,t,e.html())),e.domManip(n,i)});if(c&&(e=(t=k.buildFragment(n,this[0].ownerDocument,!1,this)).firstChild,1===t.childNodes.length&&(t=e),e)){for(r=(o=k.map(dt(t,"script"),ut)).length;l<c;l++)s=t,l!==h&&(s=k.clone(s,!0,!0),r&&k.merge(o,dt(s,"script"))),i.call(this[l],s,l);if(r)for(a=o[o.length-1].ownerDocument,k.map(o,ht),l=0;l<r;l++)s=o[l],rt.test(s.type||"")&&!q.access(s,"globalEval")&&k.contains(a,s)&&(s.src?k._evalUrl&&k._evalUrl(s.src):k.globalEval(s.textContent.replace(at,"")))}return this}}),k.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,s){k.fn[t]=function(t){for(var e,n=[],i=k(t),o=i.length-1,r=0;r<=o;r++)e=r===o?this:this.clone(!0),k(i[r])[s](e),a.apply(n,e.get());return this.pushStack(n)}});var gt,mt={};function vt(t,e){var n,i=k(e.createElement(t)).appendTo(e.body),o=d.getDefaultComputedStyle&&(n=d.getDefaultComputedStyle(i[0]))?n.display:k.css(i[0],"display");return i.detach(),o}function yt(t){var e=y,n=mt[t];return n||("none"!==(n=vt(t,e))&&n||((e=(gt=(gt||k("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement))[0].contentDocument).write(),e.close(),n=vt(t,e),gt.detach()),mt[t]=n),n}var bt=/^margin/,xt=new RegExp("^("+B+")(?!px)[a-z%]+$","i"),wt=function(t){return t.ownerDocument.defaultView.opener?t.ownerDocument.defaultView.getComputedStyle(t,null):d.getComputedStyle(t,null)};function Ct(t,e,n){var i,o,r,s,a=t.style;return(n=n||wt(t))&&(s=n.getPropertyValue(e)||n[e]),n&&(""!==s||k.contains(t.ownerDocument,t)||(s=k.style(t,e)),xt.test(s)&&bt.test(e)&&(i=a.width,o=a.minWidth,r=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=i,a.minWidth=o,a.maxWidth=r)),void 0!==s?s+"":s}function kt(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}!function(){var e,n,i=y.documentElement,o=y.createElement("div"),r=y.createElement("div");if(r.style){function t(){r.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",r.innerHTML="",i.appendChild(o);var t=d.getComputedStyle(r,null);e="1%"!==t.top,n="4px"===t.width,i.removeChild(o)}r.style.backgroundClip="content-box",r.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===r.style.backgroundClip,o.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",o.appendChild(r),d.getComputedStyle&&k.extend(v,{pixelPosition:function(){return t(),e},boxSizingReliable:function(){return null==n&&t(),n},reliableMarginRight:function(){var t,e=r.appendChild(y.createElement("div"));return e.style.cssText=r.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",e.style.marginRight=e.style.width="0",r.style.width="1px",i.appendChild(o),t=!parseFloat(d.getComputedStyle(e,null).marginRight),i.removeChild(o),r.removeChild(e),t}})}}(),k.swap=function(t,e,n,i){var o,r,s={};for(r in e)s[r]=t.style[r],t.style[r]=e[r];for(r in o=n.apply(t,i||[]),e)t.style[r]=s[r];return o};var Tt=/^(none|table(?!-c[ea]).+)/,_t=new RegExp("^("+B+")(.*)$","i"),Et=new RegExp("^([+-])=("+B+")","i"),It={position:"absolute",visibility:"hidden",display:"block"},$t={letterSpacing:"0",fontWeight:"400"},Mt=["Webkit","O","Moz","ms"];function St(t,e){if(e in t)return e;for(var n=e[0].toUpperCase()+e.slice(1),i=e,o=Mt.length;o--;)if((e=Mt[o]+n)in t)return e;return i}function Nt(t,e,n){var i=_t.exec(e);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):e}function Dt(t,e,n,i,o){for(var r=n===(i?"border":"content")?4:"width"===e?1:0,s=0;r<4;r+=2)"margin"===n&&(s+=k.css(t,n+U[r],!0,o)),i?("content"===n&&(s-=k.css(t,"padding"+U[r],!0,o)),"margin"!==n&&(s-=k.css(t,"border"+U[r]+"Width",!0,o))):(s+=k.css(t,"padding"+U[r],!0,o),"padding"!==n&&(s+=k.css(t,"border"+U[r]+"Width",!0,o)));return s}function At(t,e,n){var i=!0,o="width"===e?t.offsetWidth:t.offsetHeight,r=wt(t),s="border-box"===k.css(t,"boxSizing",!1,r);if(o<=0||null==o){if(((o=Ct(t,e,r))<0||null==o)&&(o=t.style[e]),xt.test(o))return o;i=s&&(v.boxSizingReliable()||o===t.style[e]),o=parseFloat(o)||0}return o+Dt(t,e,n||(s?"border":"content"),i,r)+"px"}function jt(t,e){for(var n,i,o,r=[],s=0,a=t.length;s<a;s++)(i=t[s]).style&&(r[s]=q.get(i,"olddisplay"),n=i.style.display,e?(r[s]||"none"!==n||(i.style.display=""),""===i.style.display&&H(i)&&(r[s]=q.access(i,"olddisplay",yt(i.nodeName)))):(o=H(i),"none"===n&&o||q.set(i,"olddisplay",o?n:k.css(i,"display"))));for(s=0;s<a;s++)(i=t[s]).style&&(e&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=e?r[s]||"":"none"));return t}function qt(t,e,n,i,o){return new qt.prototype.init(t,e,n,i,o)}k.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Ct(t,"opacity");return""===n?"1":n}}}},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:"cssFloat"},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,r,s,a=k.camelCase(e),l=t.style;return e=k.cssProps[a]||(k.cssProps[a]=St(l,a)),s=k.cssHooks[e]||k.cssHooks[a],void 0===n?s&&"get"in s&&void 0!==(o=s.get(t,!1,i))?o:l[e]:("string"===(r=typeof n)&&(o=Et.exec(n))&&(n=(o[1]+1)*o[2]+parseFloat(k.css(t,e)),r="number"),void(null!=n&&n==n&&("number"!==r||k.cssNumber[a]||(n+="px"),v.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),s&&"set"in s&&void 0===(n=s.set(t,n,i))||(l[e]=n))))}},css:function(t,e,n,i){var o,r,s,a=k.camelCase(e);return e=k.cssProps[a]||(k.cssProps[a]=St(t.style,a)),(s=k.cssHooks[e]||k.cssHooks[a])&&"get"in s&&(o=s.get(t,!0,n)),void 0===o&&(o=Ct(t,e,i)),"normal"===o&&e in $t&&(o=$t[e]),""===n||n?(r=parseFloat(o),!0===n||k.isNumeric(r)?r||0:o):o}}),k.each(["height","width"],function(t,o){k.cssHooks[o]={get:function(t,e,n){return e?Tt.test(k.css(t,"display"))&&0===t.offsetWidth?k.swap(t,It,function(){return At(t,o,n)}):At(t,o,n):void 0},set:function(t,e,n){var i=n&&wt(t);return Nt(0,e,n?Dt(t,o,n,"border-box"===k.css(t,"boxSizing",!1,i),i):0)}}}),k.cssHooks.marginRight=kt(v.reliableMarginRight,function(t,e){return e?k.swap(t,{display:"inline-block"},Ct,[t,"marginRight"]):void 0}),k.each({margin:"",padding:"",border:"Width"},function(o,r){k.cssHooks[o+r]={expand:function(t){for(var e=0,n={},i="string"==typeof t?t.split(" "):[t];e<4;e++)n[o+U[e]+r]=i[e]||i[e-2]||i[0];return n}},bt.test(o)||(k.cssHooks[o+r].set=Nt)}),k.fn.extend({css:function(t,e){return A(this,function(t,e,n){var i,o,r={},s=0;if(k.isArray(e)){for(i=wt(t),o=e.length;s<o;s++)r[e[s]]=k.css(t,e[s],!1,i);return r}return void 0!==n?k.style(t,e,n):k.css(t,e)},t,e,1<arguments.length)},show:function(){return jt(this,!0)},hide:function(){return jt(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){H(this)?k(this).show():k(this).hide()})}}),((k.Tween=qt).prototype={constructor:qt,init:function(t,e,n,i,o,r){this.elem=t,this.prop=n,this.easing=o||"swing",this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=r||(k.cssNumber[n]?"":"px")},cur:function(){var t=qt.propHooks[this.prop];return t&&t.get?t.get(this):qt.propHooks._default.get(this)},run:function(t){var e,n=qt.propHooks[this.prop];return this.options.duration?this.pos=e=k.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):qt.propHooks._default.set(this),this}}).init.prototype=qt.prototype,(qt.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=k.css(t.elem,t.prop,""))&&"auto"!==e?e:0:t.elem[t.prop]},set:function(t){k.fx.step[t.prop]?k.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[k.cssProps[t.prop]]||k.cssHooks[t.prop])?k.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}}).scrollTop=qt.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},k.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},k.fx=qt.prototype.init,k.fx.step={};var Lt,Pt,Ot,Ft,Ht,Rt=/^(?:toggle|show|hide)$/,Wt=new RegExp("^(?:([+-])=|)("+B+")([a-z%]*)$","i"),Bt=/queueHooks$/,Ut=[function(e,t,n){var i,o,r,s,a,l,c,u=this,h={},p=e.style,f=e.nodeType&&H(e),d=q.get(e,"fxshow");for(i in n.queue||(null==(a=k._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,l=a.empty.fire,a.empty.fire=function(){a.unqueued||l()}),a.unqueued++,u.always(function(){u.always(function(){a.unqueued--,k.queue(e,"fx").length||a.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],c=k.css(e,"display"),"inline"===("none"===c?q.get(e,"olddisplay")||yt(e.nodeName):c)&&"none"===k.css(e,"float")&&(p.display="inline-block")),n.overflow&&(p.overflow="hidden",u.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),t)if(o=t[i],Rt.exec(o)){if(delete t[i],r=r||"toggle"===o,o===(f?"hide":"show")){if("show"!==o||!d||void 0===d[i])continue;f=!0}h[i]=d&&d[i]||k.style(e,i)}else c=void 0;if(k.isEmptyObject(h))"inline"===("none"===c?yt(e.nodeName):c)&&(p.display=c);else for(i in d?"hidden"in d&&(f=d.hidden):d=q.access(e,"fxshow",{}),r&&(d.hidden=!f),f?k(e).show():u.done(function(){k(e).hide()}),u.done(function(){var t;for(t in q.remove(e,"fxshow"),h)k.style(e,t,h[t])}),h)s=Xt(f?d[i]:0,i,u),i in d||(d[i]=s.start,f&&(s.end=s.start,s.start="width"===i||"height"===i?1:0))}],zt={"*":[function(t,e){var n=this.createTween(t,e),i=n.cur(),o=Wt.exec(e),r=o&&o[3]||(k.cssNumber[t]?"":"px"),s=(k.cssNumber[t]||"px"!==r&&+i)&&Wt.exec(k.css(n.elem,t)),a=1,l=20;if(s&&s[3]!==r)for(r=r||s[3],o=o||[],s=+i||1;s/=a=a||".5",k.style(n.elem,t,s+r),a!==(a=n.cur()/i)&&1!==a&&--l;);return o&&(s=n.start=+s||+i||0,n.unit=r,n.end=o[1]?s+(o[1]+1)*o[2]:+o[2]),n}]};function Vt(){return setTimeout(function(){Lt=void 0}),Lt=k.now()}function Qt(t,e){var n,i=0,o={height:t};for(e=e?1:0;i<4;i+=2-e)o["margin"+(n=U[i])]=o["padding"+n]=t;return e&&(o.opacity=o.width=t),o}function Xt(t,e,n){for(var i,o=(zt[e]||[]).concat(zt["*"]),r=0,s=o.length;r<s;r++)if(i=o[r].call(n,e,t))return i}function Gt(r,t,e){var n,s,i=0,o=Ut.length,a=k.Deferred().always(function(){delete l.elem}),l=function(){if(s)return!1;for(var t=Lt||Vt(),e=Math.max(0,c.startTime+c.duration-t),n=1-(e/c.duration||0),i=0,o=c.tweens.length;i<o;i++)c.tweens[i].run(n);return a.notifyWith(r,[c,n,e]),n<1&&o?e:(a.resolveWith(r,[c]),!1)},c=a.promise({elem:r,props:k.extend({},t),opts:k.extend(!0,{specialEasing:{}},e),originalProperties:t,originalOptions:e,startTime:Lt||Vt(),duration:e.duration,tweens:[],createTween:function(t,e){var n=k.Tween(r,c.opts,t,e,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(n),n},stop:function(t){var e=0,n=t?c.tweens.length:0;if(s)return this;for(s=!0;e<n;e++)c.tweens[e].run(1);return t?a.resolveWith(r,[c,t]):a.rejectWith(r,[c,t]),this}}),u=c.props;for(function(t,e){var n,i,o,r,s;for(n in t)if(o=e[i=k.camelCase(n)],r=t[n],k.isArray(r)&&(o=r[1],r=t[n]=r[0]),n!==i&&(t[i]=r,delete t[n]),(s=k.cssHooks[i])&&"expand"in s)for(n in r=s.expand(r),delete t[i],r)n in t||(t[n]=r[n],e[n]=o);else e[i]=o}(u,c.opts.specialEasing);i<o;i++)if(n=Ut[i].call(c,r,u,c.opts))return n;return k.map(u,Xt,c),k.isFunction(c.opts.start)&&c.opts.start.call(r,c),k.fx.timer(k.extend(l,{elem:r,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}k.Animation=k.extend(Gt,{tweener:function(t,e){for(var n,i=0,o=(t=k.isFunction(t)?(e=t,["*"]):t.split(" ")).length;i<o;i++)n=t[i],zt[n]=zt[n]||[],zt[n].unshift(e)},prefilter:function(t,e){e?Ut.unshift(t):Ut.push(t)}}),k.speed=function(t,e,n){var i=t&&"object"==typeof t?k.extend({},t):{complete:n||!n&&e||k.isFunction(t)&&t,duration:t,easing:n&&e||e&&!k.isFunction(e)&&e};return i.duration=k.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in k.fx.speeds?k.fx.speeds[i.duration]:k.fx.speeds._default,null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){k.isFunction(i.old)&&i.old.call(this),i.queue&&k.dequeue(this,i.queue)},i},k.fn.extend({fadeTo:function(t,e,n,i){return this.filter(H).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(e,t,n,i){function o(){var t=Gt(this,k.extend({},e),s);(r||q.get(this,"finish"))&&t.stop(!0)}var r=k.isEmptyObject(e),s=k.speed(t,n,i);return o.finish=o,r||!1===s.queue?this.each(o):this.queue(s.queue,o)},stop:function(o,t,r){function s(t){var e=t.stop;delete t.stop,e(r)}return"string"!=typeof o&&(r=t,t=o,o=void 0),t&&!1!==o&&this.queue(o||"fx",[]),this.each(function(){var t=!0,e=null!=o&&o+"queueHooks",n=k.timers,i=q.get(this);if(e)i[e]&&i[e].stop&&s(i[e]);else for(e in i)i[e]&&i[e].stop&&Bt.test(e)&&s(i[e]);for(e=n.length;e--;)n[e].elem!==this||null!=o&&n[e].queue!==o||(n[e].anim.stop(r),t=!1,n.splice(e,1));!t&&r||k.dequeue(this,o)})},finish:function(s){return!1!==s&&(s=s||"fx"),this.each(function(){var t,e=q.get(this),n=e[s+"queue"],i=e[s+"queueHooks"],o=k.timers,r=n?n.length:0;for(e.finish=!0,k.queue(this,s,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===s&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<r;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete e.finish})}}),k.each(["toggle","show","hide"],function(t,i){var o=k.fn[i];k.fn[i]=function(t,e,n){return null==t||"boolean"==typeof t?o.apply(this,arguments):this.animate(Qt(i,!0),t,e,n)}}),k.each({slideDown:Qt("show"),slideUp:Qt("hide"),slideToggle:Qt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,i){k.fn[t]=function(t,e,n){return this.animate(i,t,e,n)}}),k.timers=[],k.fx.tick=function(){var t,e=0,n=k.timers;for(Lt=k.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||k.fx.stop(),Lt=void 0},k.fx.timer=function(t){k.timers.push(t),t()?k.fx.start():k.timers.pop()},k.fx.interval=13,k.fx.start=function(){Pt=Pt||setInterval(k.fx.tick,k.fx.interval)},k.fx.stop=function(){clearInterval(Pt),Pt=null},k.fx.speeds={slow:600,fast:200,_default:400},k.fn.delay=function(i,t){return i=k.fx&&k.fx.speeds[i]||i,t=t||"fx",this.queue(t,function(t,e){var n=setTimeout(t,i);e.stop=function(){clearTimeout(n)}})},Ot=y.createElement("input"),Ft=y.createElement("select"),Ht=Ft.appendChild(y.createElement("option")),Ot.type="checkbox",v.checkOn=""!==Ot.value,v.optSelected=Ht.selected,Ft.disabled=!0,v.optDisabled=!Ht.disabled,(Ot=y.createElement("input")).value="t",Ot.type="radio",v.radioValue="t"===Ot.value;var Yt,Jt=k.expr.attrHandle;k.fn.extend({attr:function(t,e){return A(this,k.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){k.removeAttr(this,t)})}}),k.extend({attr:function(t,e,n){var i,o,r=t.nodeType;if(t&&3!==r&&8!==r&&2!==r)return typeof t.getAttribute==V?k.prop(t,e,n):(1===r&&k.isXMLDoc(t)||(e=e.toLowerCase(),i=k.attrHooks[e]||(k.expr.match.bool.test(e)?Yt:void 0)),void 0===n?i&&"get"in i&&null!==(o=i.get(t,e))?o:null==(o=k.find.attr(t,e))?void 0:o:null!==n?i&&"set"in i&&void 0!==(o=i.set(t,n,e))?o:(t.setAttribute(e,n+""),n):void k.removeAttr(t,e))},removeAttr:function(t,e){var n,i,o=0,r=e&&e.match(S);if(r&&1===t.nodeType)for(;n=r[o++];)i=k.propFix[n]||n,k.expr.match.bool.test(n)&&(t[i]=!1),t.removeAttribute(n)},attrHooks:{type:{set:function(t,e){if(!v.radioValue&&"radio"===e&&k.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}}}),Yt={set:function(t,e,n){return!1===e?k.removeAttr(t,n):t.setAttribute(n,n),n}},k.each(k.expr.match.bool.source.match(/\w+/g),function(t,e){var r=Jt[e]||k.find.attr;Jt[e]=function(t,e,n){var i,o;return n||(o=Jt[e],Jt[e]=i,i=null!=r(t,e,n)?e.toLowerCase():null,Jt[e]=o),i}});var Kt=/^(?:input|select|textarea|button)$/i;k.fn.extend({prop:function(t,e){return A(this,k.prop,t,e,1<arguments.length)},removeProp:function(t){return this.each(function(){delete this[k.propFix[t]||t]})}}),k.extend({propFix:{for:"htmlFor",class:"className"},prop:function(t,e,n){var i,o,r=t.nodeType;if(t&&3!==r&&8!==r&&2!==r)return(1!==r||!k.isXMLDoc(t))&&(e=k.propFix[e]||e,o=k.propHooks[e]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(t,n,e))?i:t[e]=n:o&&"get"in o&&null!==(i=o.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){return t.hasAttribute("tabindex")||Kt.test(t.nodeName)||t.href?t.tabIndex:-1}}}}),v.optSelected||(k.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null}}),k.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){k.propFix[this.toLowerCase()]=this});var Zt=/[\t\r\n\f]/g;k.fn.extend({addClass:function(e){var t,n,i,o,r,s,a="string"==typeof e&&e,l=0,c=this.length;if(k.isFunction(e))return this.each(function(t){k(this).addClass(e.call(this,t,this.className))});if(a)for(t=(e||"").match(S)||[];l<c;l++)if(i=1===(n=this[l]).nodeType&&(n.className?(" "+n.className+" ").replace(Zt," "):" ")){for(r=0;o=t[r++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");s=k.trim(i),n.className!==s&&(n.className=s)}return this},removeClass:function(e){var t,n,i,o,r,s,a=0===arguments.length||"string"==typeof e&&e,l=0,c=this.length;if(k.isFunction(e))return this.each(function(t){k(this).removeClass(e.call(this,t,this.className))});if(a)for(t=(e||"").match(S)||[];l<c;l++)if(i=1===(n=this[l]).nodeType&&(n.className?(" "+n.className+" ").replace(Zt," "):"")){for(r=0;o=t[r++];)for(;0<=i.indexOf(" "+o+" ");)i=i.replace(" "+o+" "," ");s=e?k.trim(i):"",n.className!==s&&(n.className=s)}return this},toggleClass:function(o,e){var r=typeof o;return"boolean"==typeof e&&"string"==r?e?this.addClass(o):this.removeClass(o):this.each(k.isFunction(o)?function(t){k(this).toggleClass(o.call(this,t,this.className,e),e)}:function(){if("string"==r)for(var t,e=0,n=k(this),i=o.match(S)||[];t=i[e++];)n.hasClass(t)?n.removeClass(t):n.addClass(t);else r!=V&&"boolean"!=r||(this.className&&q.set(this,"__className__",this.className),this.className=this.className||!1===o?"":q.get(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",n=0,i=this.length;n<i;n++)if(1===this[n].nodeType&&0<=(" "+this[n].className+" ").replace(Zt," ").indexOf(e))return!0;return!1}});var te=/\r/g;k.fn.extend({val:function(n){var i,t,o,e=this[0];return arguments.length?(o=k.isFunction(n),this.each(function(t){var e;1===this.nodeType&&(null==(e=o?n.call(this,t,k(this).val()):n)?e="":"number"==typeof e?e+="":k.isArray(e)&&(e=k.map(e,function(t){return null==t?"":t+""})),(i=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&void 0!==i.set(this,e,"value")||(this.value=e))})):e?(i=k.valHooks[e.type]||k.valHooks[e.nodeName.toLowerCase()])&&"get"in i&&void 0!==(t=i.get(e,"value"))?t:"string"==typeof(t=e.value)?t.replace(te,""):null==t?"":t:void 0}}),k.extend({valHooks:{option:{get:function(t){var e=k.find.attr(t,"value");return null!=e?e:k.trim(k.text(t))}},select:{get:function(t){for(var e,n,i=t.options,o=t.selectedIndex,r="select-one"===t.type||o<0,s=r?null:[],a=r?o+1:i.length,l=o<0?a:r?o:0;l<a;l++)if(!(!(n=i[l]).selected&&l!==o||(v.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&k.nodeName(n.parentNode,"optgroup"))){if(e=k(n).val(),r)return e;s.push(e)}return s},set:function(t,e){for(var n,i,o=t.options,r=k.makeArray(e),s=o.length;s--;)((i=o[s]).selected=0<=k.inArray(i.value,r))&&(n=!0);return n||(t.selectedIndex=-1),r}}}}),k.each(["radio","checkbox"],function(){k.valHooks[this]={set:function(t,e){return k.isArray(e)?t.checked=0<=k.inArray(k(t).val(),e):void 0}},v.checkOn||(k.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),k.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,n){k.fn[n]=function(t,e){return 0<arguments.length?this.on(n,null,t,e):this.trigger(n)}}),k.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}});var ee=k.now(),ne=/\?/;k.parseJSON=function(t){return JSON.parse(t+"")},k.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||k.error("Invalid XML: "+t),e};var ie=/#.*$/,oe=/([?&])_=[^&]*/,re=/^(.*?):[ \t]*([^\r\n]*)$/gm,se=/^(?:GET|HEAD)$/,ae=/^\/\//,le=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,ce={},ue={},he="*/".concat("*"),pe=d.location.href,fe=le.exec(pe.toLowerCase())||[];function de(r){return function(t,e){"string"!=typeof t&&(e=t,t="*");var n,i=0,o=t.toLowerCase().match(S)||[];if(k.isFunction(e))for(;n=o[i++];)"+"===n[0]?(n=n.slice(1)||"*",(r[n]=r[n]||[]).unshift(e)):(r[n]=r[n]||[]).push(e)}}function ge(e,o,r,s){var a={},l=e===ue;function c(t){var i;return a[t]=!0,k.each(e[t]||[],function(t,e){var n=e(o,r,s);return"string"!=typeof n||l||a[n]?l?!(i=n):void 0:(o.dataTypes.unshift(n),c(n),!1)}),i}return c(o.dataTypes[0])||!a["*"]&&c("*")}function me(t,e){var n,i,o=k.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((o[n]?t:i=i||{})[n]=e[n]);return i&&k.extend(!0,t,i),t}k.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:pe,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(fe[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":he,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":k.parseJSON,"text xml":k.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?me(me(t,k.ajaxSettings),e):me(k.ajaxSettings,t)},ajaxPrefilter:de(ce),ajaxTransport:de(ue),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var u,h,p,n,f,i,d,o,g=k.ajaxSetup({},e),m=g.context||g,v=g.context&&(m.nodeType||m.jquery)?k(m):k.event,y=k.Deferred(),b=k.Callbacks("once memory"),x=g.statusCode||{},r={},s={},w=0,a="canceled",C={readyState:0,getResponseHeader:function(t){var e;if(2===w){if(!n)for(n={};e=re.exec(p);)n[e[1].toLowerCase()]=e[2];e=n[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===w?p:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return w||(t=s[n]=s[n]||t,r[t]=e),this},overrideMimeType:function(t){return w||(g.mimeType=t),this},statusCode:function(t){var e;if(t)if(w<2)for(e in t)x[e]=[x[e],t[e]];else C.always(t[C.status]);return this},abort:function(t){var e=t||a;return u&&u.abort(e),l(0,e),this}};if(y.promise(C).complete=b.add,C.success=C.done,C.error=C.fail,g.url=((t||g.url||pe)+"").replace(ie,"").replace(ae,fe[1]+"//"),g.type=e.method||e.type||g.method||g.type,g.dataTypes=k.trim(g.dataType||"*").toLowerCase().match(S)||[""],null==g.crossDomain&&(i=le.exec(g.url.toLowerCase()),g.crossDomain=!(!i||i[1]===fe[1]&&i[2]===fe[2]&&(i[3]||("http:"===i[1]?"80":"443"))===(fe[3]||("http:"===fe[1]?"80":"443")))),g.data&&g.processData&&"string"!=typeof g.data&&(g.data=k.param(g.data,g.traditional)),ge(ce,g,e,C),2===w)return C;for(o in(d=k.event&&g.global)&&0==k.active++&&k.event.trigger("ajaxStart"),g.type=g.type.toUpperCase(),g.hasContent=!se.test(g.type),h=g.url,g.hasContent||(g.data&&(h=g.url+=(ne.test(h)?"&":"?")+g.data,delete g.data),!1===g.cache&&(g.url=oe.test(h)?h.replace(oe,"$1_="+ee++):h+(ne.test(h)?"&":"?")+"_="+ee++)),g.ifModified&&(k.lastModified[h]&&C.setRequestHeader("If-Modified-Since",k.lastModified[h]),k.etag[h]&&C.setRequestHeader("If-None-Match",k.etag[h])),(g.data&&g.hasContent&&!1!==g.contentType||e.contentType)&&C.setRequestHeader("Content-Type",g.contentType),C.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+("*"!==g.dataTypes[0]?", "+he+"; q=0.01":""):g.accepts["*"]),g.headers)C.setRequestHeader(o,g.headers[o]);if(g.beforeSend&&(!1===g.beforeSend.call(m,C,g)||2===w))return C.abort();for(o in a="abort",{success:1,error:1,complete:1})C[o](g[o]);if(u=ge(ue,g,e,C)){C.readyState=1,d&&v.trigger("ajaxSend",[C,g]),g.async&&0<g.timeout&&(f=setTimeout(function(){C.abort("timeout")},g.timeout));try{w=1,u.send(r,l)}catch(t){if(!(w<2))throw t;l(-1,t)}}else l(-1,"No Transport");function l(t,e,n,i){var o,r,s,a,l,c=e;2!==w&&(w=2,f&&clearTimeout(f),u=void 0,p=i||"",C.readyState=0<t?4:0,o=200<=t&&t<300||304===t,n&&(a=function(t,e,n){for(var i,o,r,s,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(o in a)if(a[o]&&a[o].test(i)){l.unshift(o);break}if(l[0]in n)r=l[0];else{for(o in n){if(!l[0]||t.converters[o+" "+l[0]]){r=o;break}s=s||o}r=r||s}return r?(r!==l[0]&&l.unshift(r),n[r]):void 0}(g,C,n)),a=function(t,e,n,i){var o,r,s,a,l,c={},u=t.dataTypes.slice();if(u[1])for(s in t.converters)c[s.toLowerCase()]=t.converters[s];for(r=u.shift();r;)if(t.responseFields[r]&&(n[t.responseFields[r]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=r,r=u.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(s=c[l+" "+r]||c["* "+r]))for(o in c)if((a=o.split(" "))[1]===r&&(s=c[l+" "+a[0]]||c["* "+a[0]])){!0===s?s=c[o]:!0!==c[o]&&(r=a[0],u.unshift(a[1]));break}if(!0!==s)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(t){return{state:"parsererror",error:s?t:"No conversion from "+l+" to "+r}}}return{state:"success",data:e}}(g,a,C,o),o?(g.ifModified&&((l=C.getResponseHeader("Last-Modified"))&&(k.lastModified[h]=l),(l=C.getResponseHeader("etag"))&&(k.etag[h]=l)),204===t||"HEAD"===g.type?c="nocontent":304===t?c="notmodified":(c=a.state,r=a.data,o=!(s=a.error))):(s=c,!t&&c||(c="error",t<0&&(t=0))),C.status=t,C.statusText=(e||c)+"",o?y.resolveWith(m,[r,c,C]):y.rejectWith(m,[C,c,s]),C.statusCode(x),x=void 0,d&&v.trigger(o?"ajaxSuccess":"ajaxError",[C,g,o?r:s]),b.fireWith(m,[C,c]),d&&(v.trigger("ajaxComplete",[C,g]),--k.active||k.event.trigger("ajaxStop")))}return C},getJSON:function(t,e,n){return k.get(t,e,n,"json")},getScript:function(t,e){return k.get(t,void 0,e,"script")}}),k.each(["get","post"],function(t,o){k[o]=function(t,e,n,i){return k.isFunction(e)&&(i=i||n,n=e,e=void 0),k.ajax({url:t,type:o,dataType:i,data:e,success:n})}}),k._evalUrl=function(t){return k.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},k.fn.extend({wrapAll:function(e){var t;return k.isFunction(e)?this.each(function(t){k(this).wrapAll(e.call(this,t))}):(this[0]&&(t=k(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this)},wrapInner:function(n){return this.each(k.isFunction(n)?function(t){k(this).wrapInner(n.call(this,t))}:function(){var t=k(this),e=t.contents();e.length?e.wrapAll(n):t.append(n)})},wrap:function(e){var n=k.isFunction(e);return this.each(function(t){k(this).wrapAll(n?e.call(this,t):e)})},unwrap:function(){return this.parent().each(function(){k.nodeName(this,"body")||k(this).replaceWith(this.childNodes)}).end()}}),k.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0},k.expr.filters.visible=function(t){return!k.expr.filters.hidden(t)};var ve=/%20/g,ye=/\[\]$/,be=/\r?\n/g,xe=/^(?:submit|button|image|reset|file)$/i,we=/^(?:input|select|textarea|keygen)/i;function Ce(n,t,i,o){var e;if(k.isArray(t))k.each(t,function(t,e){i||ye.test(n)?o(n,e):Ce(n+"["+("object"==typeof e?t:"")+"]",e,i,o)});else if(i||"object"!==k.type(t))o(n,t);else for(e in t)Ce(n+"["+e+"]",t[e],i,o)}k.param=function(t,e){function n(t,e){e=k.isFunction(e)?e():null==e?"":e,o[o.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)}var i,o=[];if(void 0===e&&(e=k.ajaxSettings&&k.ajaxSettings.traditional),k.isArray(t)||t.jquery&&!k.isPlainObject(t))k.each(t,function(){n(this.name,this.value)});else for(i in t)Ce(i,t[i],e,n);return o.join("&").replace(ve,"+")},k.fn.extend({serialize:function(){return k.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=k.prop(this,"elements");return t?k.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!k(this).is(":disabled")&&we.test(this.nodeName)&&!xe.test(t)&&(this.checked||!z.test(t))}).map(function(t,e){var n=k(this).val();return null==n?null:k.isArray(n)?k.map(n,function(t){return{name:e.name,value:t.replace(be,"\r\n")}}):{name:e.name,value:n.replace(be,"\r\n")}}).get()}}),k.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(t){}};var ke=0,Te={},_e={0:200,1223:204},Ee=k.ajaxSettings.xhr();d.attachEvent&&d.attachEvent("onunload",function(){for(var t in Te)Te[t]()}),v.cors=!!Ee&&"withCredentials"in Ee,v.ajax=Ee=!!Ee,k.ajaxTransport(function(r){var s;return v.cors||Ee&&!r.crossDomain?{send:function(t,e){var n,i=r.xhr(),o=++ke;if(i.open(r.type,r.url,r.async,r.username,r.password),r.xhrFields)for(n in r.xhrFields)i[n]=r.xhrFields[n];for(n in r.mimeType&&i.overrideMimeType&&i.overrideMimeType(r.mimeType),r.crossDomain||t["X-Requested-With"]||(t["X-Requested-With"]="XMLHttpRequest"),t)i.setRequestHeader(n,t[n]);s=function(t){return function(){s&&(delete Te[o],s=i.onload=i.onerror=null,"abort"===t?i.abort():"error"===t?e(i.status,i.statusText):e(_e[i.status]||i.status,i.statusText,"string"==typeof i.responseText?{text:i.responseText}:void 0,i.getAllResponseHeaders()))}},i.onload=s(),i.onerror=s("error"),s=Te[o]=s("abort");try{i.send(r.hasContent&&r.data||null)}catch(t){if(s)throw t}},abort:function(){s&&s()}}:void 0}),k.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return k.globalEval(t),t}}}),k.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),k.ajaxTransport("script",function(n){var i,o;if(n.crossDomain)return{send:function(t,e){i=k("<script>").prop({async:!0,charset:n.scriptCharset,src:n.url}).on("load error",o=function(t){i.remove(),o=null,t&&e("error"===t.type?404:200,t.type)}),y.head.appendChild(i[0])},abort:function(){o&&o()}}});var Ie=[],$e=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ie.pop()||k.expando+"_"+ee++;return this[t]=!0,t}}),k.ajaxPrefilter("json jsonp",function(t,e,n){var i,o,r,s=!1!==t.jsonp&&($e.test(t.url)?"url":"string"==typeof t.data&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&$e.test(t.data)&&"data");return s||"jsonp"===t.dataTypes[0]?(i=t.jsonpCallback=k.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace($e,"$1"+i):!1!==t.jsonp&&(t.url+=(ne.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return r||k.error(i+" was not called"),r[0]},t.dataTypes[0]="json",o=d[i],d[i]=function(){r=arguments},n.always(function(){d[i]=o,t[i]&&(t.jsonpCallback=e.jsonpCallback,Ie.push(i)),r&&k.isFunction(o)&&o(r[0]),r=o=void 0}),"script"):void 0}),k.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||y;var i=x.exec(t),o=!n&&[];return i?[e.createElement(i[1])]:(i=k.buildFragment([t],e,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes))};var Me=k.fn.load;k.fn.load=function(t,e,n){if("string"!=typeof t&&Me)return Me.apply(this,arguments);var i,o,r,s=this,a=t.indexOf(" ");return 0<=a&&(i=k.trim(t.slice(a)),t=t.slice(0,a)),k.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(o="POST"),0<s.length&&k.ajax({url:t,type:o,dataType:"html",data:e}).done(function(t){r=arguments,s.html(i?k("<div>").append(k.parseHTML(t)).find(i):t)}).complete(n&&function(t,e){s.each(n,r||[t.responseText,e,t])}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){k.fn[e]=function(t){return this.on(e,t)}}),k.expr.filters.animated=function(e){return k.grep(k.timers,function(t){return e===t.elem}).length};var Se=d.document.documentElement;function Ne(t){return k.isWindow(t)?t:9===t.nodeType&&t.defaultView}k.offset={setOffset:function(t,e,n){var i,o,r,s,a,l,c=k.css(t,"position"),u=k(t),h={};"static"===c&&(t.style.position="relative"),a=u.offset(),r=k.css(t,"top"),l=k.css(t,"left"),o=("absolute"===c||"fixed"===c)&&-1<(r+l).indexOf("auto")?(s=(i=u.position()).top,i.left):(s=parseFloat(r)||0,parseFloat(l)||0),k.isFunction(e)&&(e=e.call(t,n,a)),null!=e.top&&(h.top=e.top-a.top+s),null!=e.left&&(h.left=e.left-a.left+o),"using"in e?e.using.call(t,h):u.css(h)}},k.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){k.offset.setOffset(this,e,t)});var t,n,i=this[0],o={top:0,left:0},r=i&&i.ownerDocument;return r?(t=r.documentElement,k.contains(t,i)?(typeof i.getBoundingClientRect!=V&&(o=i.getBoundingClientRect()),n=Ne(r),{top:o.top+n.pageYOffset-t.clientTop,left:o.left+n.pageXOffset-t.clientLeft}):o):void 0},position:function(){if(this[0]){var t,e,n=this[0],i={top:0,left:0};return"fixed"===k.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),k.nodeName(t[0],"html")||(i=t.offset()),i.top+=k.css(t[0],"borderTopWidth",!0),i.left+=k.css(t[0],"borderLeftWidth",!0)),{top:e.top-i.top-k.css(n,"marginTop",!0),left:e.left-i.left-k.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||Se;t&&!k.nodeName(t,"html")&&"static"===k.css(t,"position");)t=t.offsetParent;return t||Se})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,o){var r="pageYOffset"===o;k.fn[e]=function(t){return A(this,function(t,e,n){var i=Ne(t);return void 0===n?i?i[o]:t[e]:void(i?i.scrollTo(r?d.pageXOffset:n,r?n:d.pageYOffset):t[e]=n)},e,t,arguments.length,null)}}),k.each(["top","left"],function(t,n){k.cssHooks[n]=kt(v.pixelPosition,function(t,e){return e?(e=Ct(t,n),xt.test(e)?k(t).position()[n]+"px":e):void 0})}),k.each({Height:"height",Width:"width"},function(r,s){k.each({padding:"inner"+r,content:s,"":"outer"+r},function(i,t){k.fn[t]=function(t,e){var n=arguments.length&&(i||"boolean"!=typeof t),o=i||(!0===t||!0===e?"margin":"border");return A(this,function(t,e,n){var i;return k.isWindow(t)?t.document.documentElement["client"+r]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+r],i["scroll"+r],t.body["offset"+r],i["offset"+r],i["client"+r])):void 0===n?k.css(t,e,o):k.style(t,e,n,o)},s,n?t:void 0,n,null)}})}),k.fn.size=function(){return this.length},k.fn.andSelf=k.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return k});var De=d.jQuery,Ae=d.$;return k.noConflict=function(t){return d.$===k&&(d.$=Ae),t&&d.jQuery===k&&(d.jQuery=De),k},typeof t==V&&(d.jQuery=d.$=k),k});var SVGMorpheus=function(){"use strict";function u(t,e,n){var i,o={};for(i in t)switch(i){case"fill":case"stroke":o[i]=m(t[i]),o[i].r=t[i].r+(e[i].r-t[i].r)*n,o[i].g=t[i].g+(e[i].g-t[i].g)*n,o[i].b=t[i].b+(e[i].b-t[i].b)*n,o[i].opacity=t[i].opacity+(e[i].opacity-t[i].opacity)*n;break;case"opacity":case"fill-opacity":case"stroke-opacity":case"stroke-width":o[i]=t[i]+(e[i]-t[i])*n}return o}function d(t){var e,n={};for(e in t)switch(e){case"fill":case"stroke":n[e]=r(t[e]);break;case"opacity":case"fill-opacity":case"stroke-opacity":case"stroke-width":n[e]=t[e]}return n}function g(t,e){var n,i=[{},{}];for(n in t)switch(n){case"fill":case"stroke":i[0][n]=s(t[n]),void 0===e[n]&&(i[1][n]=s(t[n]),i[1][n].opacity=0);break;case"opacity":case"fill-opacity":case"stroke-opacity":case"stroke-width":i[0][n]=t[n],void 0===e[n]&&(i[1][n]=1)}for(n in e)switch(n){case"fill":case"stroke":i[1][n]=s(e[n]),void 0===t[n]&&(i[0][n]=s(e[n]),i[0][n].opacity=0);break;case"opacity":case"fill-opacity":case"stroke-opacity":case"stroke-width":i[1][n]=e[n],void 0===t[n]&&(i[0][n]=1)}return i}function h(t,e,n){var i={};for(var o in t)switch(o){case"rotate":i[o]=[0,0,0];for(var r=0;r<3;r++)i[o][r]=t[o][r]+(e[o][r]-t[o][r])*n}return i}function p(t,e,n){for(var i=[],o=0,r=t.length;o<r;o++){i.push([t[o][0]]);for(var s=1,a=t[o].length;s<a;s++)i[o].push(t[o][s]+(e[o][s]-t[o][s])*n)}return i}function m(t){var e;if(t instanceof Array){e=[];for(var n=0,i=t.length;n<i;n++)e[n]=m(t[n]);return e}if(t instanceof Object){for(var o in e={},t)t.hasOwnProperty(o)&&(e[o]=m(t[o]));return e}return t}function t(t,e,n){if(!t)throw new Error('SVGMorpheus > "element" is required');if("string"==typeof t&&!(t=document.querySelector(t)))throw new Error('SVGMorpheus > "element" query is not related to an existing DOM node');if(e&&typeof e!=typeof{})throw new Error('SVGMorpheus > "options" parameter must be an object');if(e=e||{},n&&"function"!=typeof n)throw new Error('SVGMorpheus > "callback" parameter must be a function');var i=this;this._icons={},this._curIconId=e.iconId||"",this._toIconId="",this._curIconItems=[],this._fromIconItems=[],this._toIconItems=[],this._morphNodes=[],this._morphG,this._startTime,this._defDuration=e.duration||750,this._defEasing=e.easing||"quad-in-out",this._defRotation=e.rotation||"clock",this._defCallback=n||function(){},this._duration=this._defDuration,this._easing=this._defEasing,this._rotation=this._defRotation,this._callback=this._defCallback,this._rafid,this._fnTick=function(t){i._startTime||(i._startTime=t);var e=Math.min((t-i._startTime)/i._duration,1);i._updateAnimationProgress(e),e<1?i._rafid=o(i._fnTick):i._animationEnd()},this._svgDoc="SVG"===t.nodeName.toUpperCase()?t:t.getSVGDocument(),this._svgDoc?i._init():t.addEventListener("load",function(){i._svgDoc=t.getSVGDocument(),i._init()},!1)}function y(t,e){for(var n=[],i=0,o=t.length;i<o-2*!e;i+=2){var r=[{x:+t[i-2],y:+t[i-1]},{x:+t[i],y:+t[i+1]},{x:+t[i+2],y:+t[i+3]},{x:+t[i+4],y:+t[i+5]}];e?i?o-4==i?r[3]={x:+t[0],y:+t[1]}:o-2==i&&(r[2]={x:+t[0],y:+t[1]},r[3]={x:+t[2],y:+t[3]}):r[0]={x:+t[o-2],y:+t[o-1]}:o-4==i?r[3]=r[2]:i||(r[0]={x:+t[i],y:+t[i+1]}),n.push(["C",(-r[0].x+6*r[1].x+r[2].x)/6,(-r[0].y+6*r[1].y+r[2].y)/6,(r[1].x+6*r[2].x-r[3].x)/6,(r[1].y+6*r[2].y-r[3].y)/6,r[2].x,r[2].y])}return n}function b(t,e,n,i,o){if(null==o&&null==i&&(i=n),t=+t,e=+e,n=+n,i=+i,null!=o)var r=Math.PI/180,s=t+n*Math.cos(-i*r),a=t+n*Math.cos(-o*r),l=[["M",s,e+n*Math.sin(-i*r)],["A",n,n,0,+(180<o-i),0,a,e+n*Math.sin(-o*r)]];else l=[["M",t,e],["m",0,-i],["a",n,i,0,1,1,0,2*i],["a",n,i,0,1,1,0,-2*i],["z"]];return l}function x(t){if(!(t=function(t){if(!t)return null;if(typeof t==typeof[])return t;var r={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},s=[];return String(t).replace(_,function(t,e,n){var i=[],o=e.toLowerCase();if(n.replace(E,function(t,e){e&&i.push(+e)}),"m"==o&&2<i.length&&(s.push([e].concat(i.splice(0,2))),o="l",e="m"==e?"l":"L"),"o"==o&&1==i.length&&s.push([e,i[0]]),"r"==o)s.push([e].concat(i));else for(;i.length>=r[o]&&(s.push([e].concat(i.splice(0,r[o]))),r[o]););}),s}(t))||!t.length)return[["M",0,0]];var e,n=[],i=0,o=0,r=0,s=0,a=0;"M"==t[0][0]&&(r=i=+t[0][1],s=o=+t[0][2],a++,n[0]=["M",i,o]);for(var l,c,u=3==t.length&&"M"==t[0][0]&&"R"==t[1][0].toUpperCase()&&"Z"==t[2][0].toUpperCase(),h=a,p=t.length;h<p;h++){if(n.push(l=[]),(e=(c=t[h])[0])!=e.toUpperCase())switch(l[0]=e.toUpperCase(),l[0]){case"A":l[1]=c[1],l[2]=c[2],l[3]=c[3],l[4]=c[4],l[5]=c[5],l[6]=+c[6]+i,l[7]=+c[7]+o;break;case"V":l[1]=+c[1]+o;break;case"H":l[1]=+c[1]+i;break;case"R":for(var f=[i,o].concat(c.slice(1)),d=2,g=f.length;d<g;d++)f[d]=+f[d]+i,f[++d]=+f[d]+o;n.pop(),n=n.concat(y(f,u));break;case"O":n.pop(),(f=b(i,o,c[1],c[2])).push(f[0]),n=n.concat(f);break;case"U":n.pop(),n=n.concat(b(i,o,c[1],c[2],c[3])),l=["U"].concat(n[n.length-1].slice(-2));break;case"M":r=+c[1]+i,s=+c[2]+o;default:for(d=1,g=c.length;d<g;d++)l[d]=+c[d]+(d%2?i:o)}else if("R"==e)f=[i,o].concat(c.slice(1)),n.pop(),n=n.concat(y(f,u)),l=["R"].concat(c.slice(-2));else if("O"==e)n.pop(),(f=b(i,o,c[1],c[2])).push(f[0]),n=n.concat(f);else if("U"==e)n.pop(),n=n.concat(b(i,o,c[1],c[2],c[3])),l=["U"].concat(n[n.length-1].slice(-2));else for(var m=0,v=c.length;m<v;m++)l[m]=c[m];if("O"!=(e=e.toUpperCase()))switch(l[0]){case"Z":i=+r,o=+s;break;case"H":i=l[1];break;case"V":o=l[1];break;case"M":r=l[l.length-2],s=l[l.length-1];default:i=l[l.length-2],o=l[l.length-1]}}return n}function w(t,e,n,i){return[t,e,n,i,n,i]}function C(t,e,n,i,o,r){return[1/3*t+2/3*n,1/3*e+2/3*i,1/3*o+2/3*n,1/3*r+2/3*i,o,r]}function v(t,e){for(var r=x(t),s=e&&x(e),n={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},i={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},o=function(t,e,n){var i,o;if(!t)return["C",e.x,e.y,e.x,e.y,e.x,e.y];switch(t[0]in{T:1,Q:1}||(e.qx=e.qy=null),t[0]){case"M":e.X=t[1],e.Y=t[2];break;case"A":t=["C"].concat(B.apply(0,[e.x,e.y].concat(t.slice(1))));break;case"S":o="C"==n||"S"==n?(i=2*e.x-e.bx,2*e.y-e.by):(i=e.x,e.y),t=["C",i,o].concat(t.slice(1));break;case"T":"Q"==n||"T"==n?(e.qx=2*e.x-e.qx,e.qy=2*e.y-e.qy):(e.qx=e.x,e.qy=e.y),t=["C"].concat(C(e.x,e.y,e.qx,e.qy,t[1],t[2]));break;case"Q":e.qx=t[1],e.qy=t[2],t=["C"].concat(C(e.x,e.y,t[1],t[2],t[3],t[4]));break;case"L":t=["C"].concat(w(e.x,e.y,t[1],t[2]));break;case"H":t=["C"].concat(w(e.x,e.y,t[1],e.y));break;case"V":t=["C"].concat(w(e.x,e.y,e.x,t[1]));break;case"Z":t=["C"].concat(w(e.x,e.y,e.X,e.Y))}return t},a=function(t,e){if(7<t[e].length){t[e].shift();for(var n=t[e];n.length;)c[e]="A",s&&(u[e]="A"),t.splice(e++,0,["C"].concat(n.splice(0,6)));t.splice(e,1),d=Math.max(r.length,s&&s.length||0)}},l=function(t,e,n,i,o){t&&e&&"M"==t[o][0]&&"M"!=e[o][0]&&(e.splice(o,0,["M",i.x,i.y]),n.bx=0,n.by=0,n.x=t[o][1],n.y=t[o][2],d=Math.max(r.length,s&&s.length||0))},c=[],u=[],h="",p="",f=0,d=Math.max(r.length,s&&s.length||0);f<d;f++){r[f]&&(h=r[f][0]),"C"!=h&&(c[f]=h,f&&(p=c[f-1])),r[f]=o(r[f],n,p),"A"!=c[f]&&"C"==h&&(c[f]="C"),a(r,f),s&&(s[f]&&(h=s[f][0]),"C"!=h&&(u[f]=h,f&&(p=u[f-1])),s[f]=o(s[f],i,p),"A"!=u[f]&&"C"==h&&(u[f]="C"),a(s,f)),l(r,s,n,i,f),l(s,r,i,n,f);var g=r[f],m=s&&s[f],v=g.length,y=s&&m.length;n.x=g[v-2],n.y=g[v-1],n.bx=parseFloat(g[v-4])||n.x,n.by=parseFloat(g[v-3])||n.y,i.bx=s&&(parseFloat(m[y-4])||i.x),i.by=s&&(parseFloat(m[y-3])||i.y),i.x=s&&m[y-2],i.y=s&&m[y-1]}return s?[r,s]:r}function f(t,e,n,i,o,r,s,a){for(var l,c,u,h,p,f,d,g,m=[],v=[[],[]],y=0;y<2;++y)if(u=0==y?(c=6*t-12*n+6*o,l=-3*t+9*n-9*o+3*s,3*n-3*t):(c=6*e-12*i+6*r,l=-3*e+9*i-9*r+3*a,3*i-3*e),Math.abs(l)<1e-12){if(Math.abs(c)<1e-12)continue;0<(h=-u/c)&&h<1&&m.push(h)}else d=c*c-4*u*l,g=Math.sqrt(d),d<0||(0<(p=(-c+g)/(2*l))&&p<1&&m.push(p),0<(f=(-c-g)/(2*l))&&f<1&&m.push(f));for(var b,x=m.length,w=x;x--;)b=1-(h=m[x]),v[0][x]=b*b*b*t+3*b*b*h*n+3*b*h*h*o+h*h*h*s,v[1][x]=b*b*b*e+3*b*b*h*i+3*b*h*h*r+h*h*h*a;return v[0][w]=t,v[1][w]=e,v[0][w+1]=s,v[1][w+1]=a,v[0].length=v[1].length=w+2,{min:{x:Math.min.apply(0,v[0]),y:Math.min.apply(0,v[1])},max:{x:Math.max.apply(0,v[0]),y:Math.max.apply(0,v[1])}}}function k(t){for(var e,n=0,i=0,o=[],r=[],s=0,a=t.length;s<a;s++)if("M"==(e=t[s])[0])n=e[1],i=e[2],o.push(n),r.push(i);else{var l=f(n,i,e[1],e[2],e[3],e[4],e[5],e[6]);o=o.concat(l.min.x,l.max.x),r=r.concat(l.min.y,l.max.y),n=e[5],i=e[6]}var c=Math.min.apply(0,o),u=Math.min.apply(0,r);return function(t,e,n,i){return null==t&&(t=e=n=i=0),null==e&&(e=t.y,n=t.width,i=t.height,t=t.x),{x:t,y:e,w:n,h:i,cx:t+n/2,cy:e+i/2}}(c,u,Math.max.apply(0,o)-c,Math.max.apply(0,r)-u)}function c(t,e,n,i){return{r:t=Math.round(255*t),g:e=Math.round(255*e),b:n=Math.round(255*n),opacity:isFinite(i)?i:1}}var T={"circ-in":function(t){return-1*(Math.sqrt(1-t*t)-1)},"circ-out":function(t){return Math.sqrt(1-(t-=1)*t)},"circ-in-out":function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},"cubic-in":function(t){return t*t*t},"cubic-out":function(t){return--t*t*t+1},"cubic-in-out":function(t){return t<.5?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1},"elastic-in":function(t){var e=1.70158,n=0,i=1;if(0==t)return 0;if(1==t)return 1;if(n=n||.3,i<Math.abs(1)){i=1;e=n/4}else e=n/(2*Math.PI)*Math.asin(1/i);return-i*Math.pow(2,10*(t-=1))*Math.sin(2*(t-e)*Math.PI/n)},"elastic-out":function(t){var e=1.70158,n=0,i=1;if(0==t)return 0;if(1==t)return 1;if(n=n||.3,i<Math.abs(1)){i=1;e=n/4}else e=n/(2*Math.PI)*Math.asin(1/i);return i*Math.pow(2,-10*t)*Math.sin(2*(t-e)*Math.PI/n)+1},"elastic-in-out":function(t){var e=1.70158,n=0,i=1;if(0==t)return 0;if(2==(t/=.5))return 1;if(n=n||.3*1.5,i<Math.abs(1)){i=1;e=n/4}else e=n/(2*Math.PI)*Math.asin(1/i);return t<1?-.5*i*Math.pow(2,10*(t-=1))*Math.sin(2*(t-e)*Math.PI/n):i*Math.pow(2,-10*(t-=1))*Math.sin(2*(t-e)*Math.PI/n)*.5+1},"expo-in":function(t){return 0==t?0:Math.pow(2,10*(t-1))},"expo-out":function(t){return 1==t?1:1-Math.pow(2,-10*t)},"expo-in-out":function(t){return 0==t?0:1==t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},linear:function(t){return t},"quad-in":function(t){return t*t},"quad-out":function(t){return t*(2-t)},"quad-in-out":function(t){return t<.5?2*t*t:(4-2*t)*t-1},"quart-in":function(t){return t*t*t*t},"quart-out":function(t){return 1- --t*t*t*t},"quart-in-out":function(t){return t<.5?8*t*t*t*t:1-8*--t*t*t*t},"quint-in":function(t){return t*t*t*t*t},"quint-out":function(t){return 1+--t*t*t*t*t},"quint-in-out":function(t){return t<.5?16*t*t*t*t*t:1+16*--t*t*t*t*t},"sine-in":function(t){return 1-Math.cos(t*(Math.PI/2))},"sine-out":function(t){return Math.sin(t*(Math.PI/2))},"sine-in-out":function(t){return.5*(1-Math.cos(Math.PI*t))}},o=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.oRequestAnimationFrame,i=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.oCancelAnimationFrame,e="\t\n\v\f\r   ᠎              \u2028\u2029",_=new RegExp("([a-z])["+e+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+e+"]*,?["+e+"]*)+)","ig"),E=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+e+"]*,?["+e+"]*","ig"),B=function(t,e,n,i,o,r,s,a,l,c){function u(t,e,n){return{x:t*Math.cos(n)-e*Math.sin(n),y:t*Math.sin(n)+e*Math.cos(n)}}var h,p=120*Math.PI/180,f=Math.PI/180*(+o||0),d=[];if(c)k=c[0],T=c[1],w=c[2],C=c[3];else{t=(h=u(t,e,-f)).x,e=h.y,a=(h=u(a,l,-f)).x,l=h.y;var g=(Math.cos(Math.PI/180*o),Math.sin(Math.PI/180*o),(t-a)/2),m=(e-l)/2,v=g*g/(n*n)+m*m/(i*i);1<v&&(n*=v=Math.sqrt(v),i*=v);var y=n*n,b=i*i,x=(r==s?-1:1)*Math.sqrt(Math.abs((y*b-y*m*m-b*g*g)/(y*m*m+b*g*g))),w=x*n*m/i+(t+a)/2,C=x*-i*g/n+(e+l)/2,k=Math.asin(((e-C)/i).toFixed(9)),T=Math.asin(((l-C)/i).toFixed(9));k=t<w?Math.PI-k:k,T=a<w?Math.PI-T:T,k<0&&(k=2*Math.PI+k),T<0&&(T=2*Math.PI+T),s&&T<k&&(k-=2*Math.PI),!s&&k<T&&(T-=2*Math.PI)}var _=T-k;if(Math.abs(_)>p){var E=T,I=a,$=l;T=k+p*(s&&k<T?1:-1),a=w+n*Math.cos(T),l=C+i*Math.sin(T),d=B(a,l,n,i,o,0,s,I,$,[T,E,w,C])}_=T-k;var M=Math.cos(k),S=Math.sin(k),N=Math.cos(T),D=Math.sin(T),A=Math.tan(_/4),j=4/3*n*A,q=4/3*i*A,L=[t,e],P=[t+j*S,e-q*M],O=[a+j*D,l-q*N],F=[a,l];if(P[0]=2*L[0]-P[0],P[1]=2*L[1]-P[1],c)return[P,O,F].concat(d);for(var H=[],R=0,W=(d=[P,O,F].concat(d).join().split(",")).length;R<W;R++)H[R]=R%2?u(d[R-1],d[R],f).y:u(d[R],d[R+1],f).x;return H},I=/,?([a-z]),?/gi,l={hs:1,rg:1},$=/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?%?)\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?%?)\s*\))\s*$/i,M=new RegExp("["+e+"]*,["+e+"]*"),r=function(t){var e=Math.round;return"rgba("+[e(t.r),e(t.g),e(t.b),+t.opacity.toFixed(2)]+")"},S=function(t){var n=window.document.getElementsByTagName("head")[0]||window.document.getElementsByTagName("svg")[0],i="rgb(255, 0, 0)";return(S=function(t){if("red"==t.toLowerCase())return i;n.style.color=i,n.style.color=t;var e=window.document.defaultView.getComputedStyle(n,"").getPropertyValue("color");return e==i?null:e})(t)},s=function(t){if(!t||(t=String(t)).indexOf("-")+1)return{r:-1,g:-1,b:-1,opacity:-1,error:1};if("none"==t)return{r:-1,g:-1,b:-1,opacity:-1};if(l.hasOwnProperty(t.toLowerCase().substring(0,2))||"#"==t.charAt()||(t=S(t)),!t)return{r:-1,g:-1,b:-1,opacity:-1,error:1};var e,n,i,o,r,s,a=t.match($);return a?(a[2]&&(i=parseInt(a[2].substring(5),16),n=parseInt(a[2].substring(3,5),16),e=parseInt(a[2].substring(1,3),16)),a[3]&&(i=parseInt((r=a[3].charAt(3))+r,16),n=parseInt((r=a[3].charAt(2))+r,16),e=parseInt((r=a[3].charAt(1))+r,16)),a[4]&&(s=a[4].split(M),e=parseFloat(s[0]),"%"==s[0].slice(-1)&&(e*=2.55),n=parseFloat(s[1]),"%"==s[1].slice(-1)&&(n*=2.55),i=parseFloat(s[2]),"%"==s[2].slice(-1)&&(i*=2.55),"rgba"==a[1].toLowerCase().slice(0,4)&&(o=parseFloat(s[3])),s[3]&&"%"==s[3].slice(-1)&&(o/=100)),a[5]?(s=a[5].split(M),e=parseFloat(s[0]),"%"==s[0].slice(-1)&&(e/=100),n=parseFloat(s[1]),"%"==s[1].slice(-1)&&(n/=100),i=parseFloat(s[2]),"%"==s[2].slice(-1)&&(i/=100),"deg"!=s[0].slice(-3)&&"°"!=s[0].slice(-1)||(e/=360),"hsba"==a[1].toLowerCase().slice(0,4)&&(o=parseFloat(s[3])),s[3]&&"%"==s[3].slice(-1)&&(o/=100),function(t,e,n,i){var o,r,s,a,l;return typeof t==typeof{}&&"h"in t&&"s"in t&&"b"in t&&(n=t.b,e=t.s,i=(t=t.h).o),t=(t*=360)%360/60,a=(l=n*e)*(1-Math.abs(t%2-1)),o=r=s=n-l,c(o+=[l,a,0,0,a,l][t=~~t],r+=[a,l,l,a,0,0][t],s+=[0,0,a,l,l,a][t],i)}(e,n,i,o)):a[6]?(s=a[6].split(M),e=parseFloat(s[0]),"%"==s[0].slice(-1)&&(e/=100),n=parseFloat(s[1]),"%"==s[1].slice(-1)&&(n/=100),i=parseFloat(s[2]),"%"==s[2].slice(-1)&&(i/=100),"deg"!=s[0].slice(-3)&&"°"!=s[0].slice(-1)||(e/=360),"hsla"==a[1].toLowerCase().slice(0,4)&&(o=parseFloat(s[3])),s[3]&&"%"==s[3].slice(-1)&&(o/=100),function(t,e,n,i){var o,r,s,a,l;return typeof t==typeof{}&&"h"in t&&"s"in t&&"l"in t&&(n=t.l,e=t.s,t=t.h),(1<t||1<e||1<n)&&(t/=360,e/=100,n/=100),t=(t*=360)%360/60,a=(l=2*e*(n<.5?n:1-n))*(1-Math.abs(t%2-1)),o=r=s=n-l/2,c(o+=[l,a,0,0,a,l][t=~~t],r+=[a,l,l,a,0,0][t],s+=[0,0,a,l,l,a][t],i)}(e,n,i,o)):(e=Math.min(Math.round(e),255),n=Math.min(Math.round(n),255),i=Math.min(Math.round(i),255),o=Math.min(Math.max(o,0),1),(a={r:e,g:n,b:i}).opacity=isFinite(o)?o:1,a)):{r:-1,g:-1,b:-1,opacity:-1,error:1}};return t.prototype._init=function(){if("SVG"!==this._svgDoc.nodeName.toUpperCase()&&(this._svgDoc=this._svgDoc.getElementsByTagName("svg")[0]),this._svgDoc){var t,e,n,i,o,r,s,a="";for(t=this._svgDoc.childNodes.length-1;0<=t;t--){var l=this._svgDoc.childNodes[t];if("G"===l.nodeName.toUpperCase()&&(e=l.getAttribute("id"))){for(n=[],o=0,r=l.childNodes.length;o<r;o++){var c=l.childNodes[o];switch(i={path:"",attrs:{},style:{}},c.nodeName.toUpperCase()){case"PATH":i.path=c.getAttribute("d");break;case"CIRCLE":var u=1*c.getAttribute("cx"),h=1*c.getAttribute("cy"),p=1*c.getAttribute("r");i.path="M"+(u-p)+","+h+"a"+p+","+p+" 0 1,0 "+2*p+",0a"+p+","+p+" 0 1,0 -"+2*p+",0z";break;case"ELLIPSE":u=1*c.getAttribute("cx"),h=1*c.getAttribute("cy");var f=1*c.getAttribute("rx"),d=1*c.getAttribute("ry");i.path="M"+(u-f)+","+h+"a"+f+","+d+" 0 1,0 "+2*f+",0a"+f+","+d+" 0 1,0 -"+2*f+",0z";break;case"RECT":var g=1*c.getAttribute("x"),m=1*c.getAttribute("y"),v=1*c.getAttribute("width"),y=1*c.getAttribute("height");f=1*c.getAttribute("rx"),d=1*c.getAttribute("ry");i.path=f||d?"M"+(g+f)+","+m+"l"+(v-2*f)+",0a"+f+","+d+" 0 0,1 "+f+","+d+"l0,"+(y-2*d)+"a"+f+","+d+" 0 0,1 -"+f+","+d+"l"+(2*f-v)+",0a"+f+","+d+" 0 0,1 -"+f+",-"+d+"l0,"+(2*d-y)+"a"+f+","+d+" 0 0,1 "+f+",-"+d+"z":"M"+g+","+m+"l"+v+",0l0,"+y+"l-"+v+",0z";break;case"POLYGON":for(var b=c.getAttribute("points").split(/\s+/),x="",w=0,C=b.length;w<C;w++)x+=(w?"L":"M")+b[w];i.path=x+"z";break;case"LINE":var k=1*c.getAttribute("x1"),T=1*c.getAttribute("y1"),_=1*c.getAttribute("x2"),E=1*c.getAttribute("y2");i.path="M"+k+","+T+"L"+_+","+E+"z"}if(""!=i.path){w=0;for(var I=c.attributes.length;w<I;w++){var $=c.attributes[w];if($.specified){var M=$.name.toLowerCase();switch(M){case"fill":case"fill-opacity":case"opacity":case"stroke":case"stroke-opacity":case"stroke-width":i.attrs[M]=$.value}}}for(var S=0,N=c.style.length;S<N;S++){var D=c.style[S];switch(D){case"fill":case"fill-opacity":case"opacity":case"stroke":case"stroke-opacity":case"stroke-width":i.style[D]=c.style[D]}}n.push(i)}}0<n.length&&(s={id:e,items:n},this._icons[e]=s),this._morphG?this._svgDoc.removeChild(l):(a=e,this._morphG=document.createElementNS("http://www.w3.org/2000/svg","g"),this._svgDoc.replaceChild(this._morphG,l))}}""!==a&&(this._setupAnimation(a),this._updateAnimationProgress(1),this._animationEnd())}},t.prototype._setupAnimation=function(t){if(t&&this._icons[t]){var e,n;for(this._toIconId=t,this._startTime=void 0,this._fromIconItems=m(this._curIconItems),this._toIconItems=m(this._icons[t].items),e=0,n=this._morphNodes.length;e<n;e++){var i=this._morphNodes[e];i.fromIconItemIdx=e,i.toIconItemIdx=e}var o,r=Math.max(this._fromIconItems.length,this._toIconItems.length);for(e=0;e<r;e++)if(this._fromIconItems[e]||(this._toIconItems[e]?(o=k(v(this._toIconItems[e].path)),this._fromIconItems.push({path:"M"+o.cx+","+o.cy+"l0,0",attrs:{},style:{},trans:{rotate:[0,o.cx,o.cy]}})):this._fromIconItems.push({path:"M0,0l0,0",attrs:{},style:{},trans:{rotate:[0,0,0]}})),this._toIconItems[e]||(this._fromIconItems[e]?(o=k(v(this._fromIconItems[e].path)),this._toIconItems.push({path:"M"+o.cx+","+o.cy+"l0,0",attrs:{},style:{},trans:{rotate:[0,o.cx,o.cy]}})):this._toIconItems.push({path:"M0,0l0,0",attrs:{},style:{},trans:{rotate:[0,0,0]}})),!this._morphNodes[e]){var s=document.createElementNS("http://www.w3.org/2000/svg","path");this._morphG.appendChild(s),this._morphNodes.push({node:s,fromIconItemIdx:e,toIconItemIdx:e})}for(e=0;e<r;e++){var a=this._fromIconItems[e],l=this._toIconItems[e],c=v(this._fromIconItems[e].path,this._toIconItems[e].path);a.curve=c[0],l.curve=c[1];var u=g(this._fromIconItems[e].attrs,this._toIconItems[e].attrs);a.attrsNorm=u[0],l.attrsNorm=u[1],a.attrs=d(a.attrsNorm),l.attrs=d(l.attrsNorm);var h=g(this._fromIconItems[e].style,this._toIconItems[e].style);a.styleNorm=h[0],l.styleNorm=h[1],a.style=d(a.styleNorm),l.style=d(l.styleNorm),o=k(l.curve),l.trans={rotate:[0,o.cx,o.cy]};var p,f=this._rotation;switch("random"===f&&(f=Math.random()<.5?"counterclock":"clock"),f){case"none":a.trans.rotate&&(l.trans.rotate[0]=a.trans.rotate[0]);break;case"counterclock":a.trans.rotate?(l.trans.rotate[0]=a.trans.rotate[0]-360,p=-a.trans.rotate[0]%360,l.trans.rotate[0]+=p<180?p:p-360):l.trans.rotate[0]=-360;break;default:a.trans.rotate?(l.trans.rotate[0]=a.trans.rotate[0]+360,p=a.trans.rotate[0]%360,l.trans.rotate[0]+=p<180?-p:360-p):l.trans.rotate[0]=360}}this._curIconItems=m(this._fromIconItems)}},t.prototype._updateAnimationProgress=function(t){var e,n,i,o,r,s;for(t=T[this._easing](t),e=0,o=this._curIconItems.length;e<o;e++)this._curIconItems[e].curve=p(this._fromIconItems[e].curve,this._toIconItems[e].curve,t),this._curIconItems[e].path=this._curIconItems[e].curve.join(",").replace(I,"$1"),this._curIconItems[e].attrsNorm=u(this._fromIconItems[e].attrsNorm,this._toIconItems[e].attrsNorm,t),this._curIconItems[e].attrs=d(this._curIconItems[e].attrsNorm),this._curIconItems[e].styleNorm=u(this._fromIconItems[e].styleNorm,this._toIconItems[e].styleNorm,t),this._curIconItems[e].style=d(this._curIconItems[e].styleNorm),this._curIconItems[e].trans=h(this._fromIconItems[e].trans,this._toIconItems[e].trans,t),this._curIconItems[e].transStr=(r=this._curIconItems[e].trans,s=void 0,s="",r.rotate&&(s+="rotate("+r.rotate.join(" ")+")"),s);for(e=0,o=this._morphNodes.length;e<o;e++){var a=this._morphNodes[e];a.node.setAttribute("d",this._curIconItems[e].path);var l=this._curIconItems[e].attrs;for(n in l)a.node.setAttribute(n,l[n]);var c=this._curIconItems[e].style;for(i in c)a.node.style[i]=c[i];a.node.setAttribute("transform",this._curIconItems[e].transStr)}},t.prototype._animationEnd=function(){for(var t=this._morphNodes.length-1;0<=t;t--){var e=this._morphNodes[t];this._icons[this._toIconId].items[t]?e.node.setAttribute("d",this._icons[this._toIconId].items[t].path):(e.node.parentNode.removeChild(e.node),this._morphNodes.splice(t,1))}this._curIconId=this._toIconId,this._toIconId="",this._callback()},t.prototype.to=function(t,e,n){if(t!==this._toIconId){if(e&&typeof e!=typeof{})throw new Error('SVGMorpheus.to() > "options" parameter must be an object');if(e=e||{},n&&"function"!=typeof n)throw new Error('SVGMorpheus.to() > "callback" parameter must be a function');i(this._rafid),this._duration=e.duration||this._defDuration,this._easing=e.easing||this._defEasing,this._rotation=e.rotation||this._defRotation,this._callback=n||this._defCallback,this._setupAnimation(t),this._rafid=o(this._fnTick)}},t}();if(function(){var t,e=window.Messenger;t=window.Messenger=function(){return t._call.apply(this,arguments)},window.Messenger.noConflict=function(){return window.Messenger=e,t}}(),window.Messenger._=function(){if(window._)return window._;var t=Array.prototype,e=Object.prototype,n=Function.prototype,i=(t.push,t.slice),o=(t.concat,e.toString);e.hasOwnProperty;var s=t.forEach,a=(t.map,t.reduce,t.reduceRight,t.filter),r=(t.every,t.some,t.indexOf,t.lastIndexOf,Array.isArray,Object.keys),l=n.bind,c={},u={},h=c.each=c.forEach=function(t,e,n){if(null!=t)if(s&&t.forEach===s)t.forEach(e,n);else if(t.length===+t.length){for(var i=0,o=t.length;i<o;i++)if(e.call(n,t[i],i,t)===u)return}else for(var r in t)if(c.has(t,r)&&e.call(n,t[r],r,t)===u)return};c.result=function(t,e){if(null==t)return null;var n=t[e];return c.isFunction(n)?n.call(t):n},c.once=function(t){var e,n=!1;return function(){return n||(n=!0,e=t.apply(this,arguments),t=null),e}};var p=0;return c.uniqueId=function(t){var e=++p+"";return t?t+e:e},c.filter=c.select=function(t,i,o){var r=[];return null==t?r:a&&t.filter===a?t.filter(i,o):(h(t,function(t,e,n){i.call(o,t,e,n)&&(r[r.length]=t)}),r)},h(["Arguments","Function","String","Number","Date","RegExp"],function(e){c["is"+e]=function(t){return o.call(t)=="[object "+e+"]"}}),c.defaults=function(n){return h(i.call(arguments,1),function(t){if(t)for(var e in t)null==n[e]&&(n[e]=t[e])}),n},c.extend=function(n){return h(i.call(arguments,1),function(t){if(t)for(var e in t)n[e]=t[e]}),n},c.keys=r||function(t){if(t!==Object(t))throw new TypeError("Invalid object");var e=[];for(var n in t)c.has(t,n)&&(e[e.length]=n);return e},c.bind=function(t,e){if(t.bind===l&&l)return l.apply(t,i.call(arguments,1));var n=i.call(arguments,2);return function(){return t.apply(e,n.concat(i.call(arguments)))}},c.isObject=function(t){return t===Object(t)},c}(),window.Messenger.Events=function(){if(window.Backbone&&Backbone.Events)return Backbone.Events;var l,t;return l=/\s+/,(t={on:function(t,e,n){return h(this,"on",t,[e,n])&&e&&(this._events||(this._events={}),(this._events[t]||(this._events[t]=[])).push({callback:e,context:n,ctx:n||this})),this},once:function(t,e,n){if(!h(this,"once",t,[e,n])||!e)return this;var i=this,o=_.once(function(){i.off(t,o),e.apply(this,arguments)});return o._callback=e,this.on(t,o,n),this},off:function(t,e,n){var i,o,r,s,a,l,c,u;if(!this._events||!h(this,"off",t,[e,n]))return this;if(!t&&!e&&!n)return this._events={},this;for(a=0,l=(s=t?[t]:_.keys(this._events)).length;a<l;a++)if(t=s[a],i=this._events[t]){if(r=[],e||n)for(c=0,u=i.length;c<u;c++)o=i[c],(e&&e!==o.callback&&e!==o.callback._callback||n&&n!==o.context)&&r.push(o);this._events[t]=r}return this},trigger:function(t){if(!this._events)return this;var e=Array.prototype.slice.call(arguments,1);if(!h(this,"trigger",t,e))return this;var n=this._events[t],i=this._events.all;return n&&o(n,e),i&&o(i,arguments),this},listenTo:function(t,e,n){return((this._listeners||(this._listeners={}))[t._listenerId||(t._listenerId=_.uniqueId("l"))]=t).on(e,"object"==typeof e?this:n,this),this},stopListening:function(t,e,n){var i=this._listeners;if(i){if(t)t.off(e,"object"==typeof e?this:n,this),e||n||delete i[t._listenerId];else{for(var o in"object"==typeof e&&(n=this),i)i[o].off(e,n,this);this._listeners={}}return this}}}).bind=t.on,t.unbind=t.off,t;function h(t,e,n,i){if(!n)return!0;if("object"==typeof n)for(var o in n)t[e].apply(t,[o,n[o]].concat(i));else{if(!l.test(n))return!0;for(var r=n.split(l),s=0,a=r.length;s<a;s++)t[e].apply(t,[r[s]].concat(i))}}function o(t,e){var n,i=-1,o=t.length;switch(e.length){case 0:for(;o>++i;)(n=t[i]).callback.call(n.ctx);return;case 1:for(;o>++i;)(n=t[i]).callback.call(n.ctx,e[0]);return;case 2:for(;o>++i;)(n=t[i]).callback.call(n.ctx,e[0],e[1]);return;case 3:for(;o>++i;)(n=t[i]).callback.call(n.ctx,e[0],e[1],e[2]);return;default:for(;o>++i;)(n=t[i]).callback.apply(n.ctx,e)}}}(),function(){function t(t,e){function n(){this.constructor=t}for(var i in e)u.call(e,i)&&(t[i]=e[i]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t}var w,l,e,n,s,C,a,c,i,o,r,u={}.hasOwnProperty,k=[].slice,T=[].indexOf||function(t){for(var e=0,n=this.length;e<n;e++)if(e in this&&this[e]===t)return e;return-1};function h(){return h.__super__.constructor.apply(this,arguments)}function p(){return p.__super__.constructor.apply(this,arguments)}function f(){return f.__super__.constructor.apply(this,arguments)}function d(){return d.__super__.constructor.apply(this,arguments)}function g(t){w.extend(this,n),C.isObject(t)&&(t.el&&this.setElement(t.el),this.model=t.model),this.initialize.apply(this,arguments)}w=jQuery,C=null!=(i=window._)?i:window.Messenger._,n=null!=(o="undefined"!=typeof Backbone&&null!==Backbone?Backbone.Events:void 0)?o:window.Messenger.Events,g.prototype.setElement=function(t){return this.$el=w(t),this.el=this.$el[0]},g.prototype.delegateEvents=function(t){var e,n,i,o,r,s,a;if(t=t||C.result(this,"events")){for(i in this.undelegateEvents(),e=/^(\S+)\s*(.*)$/,a=[],t){if(r=t[i],C.isFunction(r)||(r=this[t[i]]),!r)throw Error('Method "'+t[i]+'" does not exist');n=(o=i.match(e))[1],s=o[2],r=C.bind(r,this),n+=".delegateEvents"+this.cid,""===s?a.push(this.jqon(n,r)):a.push(this.jqon(n,s,r))}return a}},g.prototype.jqon=function(t,e,n){var i;return null!=this.$el.on?(i=this.$el).on.apply(i,arguments):(null==n&&(n=e,e=void 0),null!=e?this.$el.delegate(e,t,n):this.$el.bind(t,n))},g.prototype.jqoff=function(t){var e;return null!=this.$el.off?(e=this.$el).off.apply(e,arguments):(this.$el.undelegate(),this.$el.unbind(t))},g.prototype.undelegateEvents=function(){return this.jqoff(".delegateEvents"+this.cid)},g.prototype.remove=function(){return this.undelegateEvents(),this.$el.remove()},t(d,e=g),d.prototype.defaults={hideAfter:10,scroll:!0,closeButtonText:"&times;"},d.prototype.initialize=function(t){return null==t&&(t={}),this.shown=!1,this.rendered=!1,this.messenger=t.messenger,this.options=w.extend({},this.options,t,this.defaults)},d.prototype.show=function(){var t;return this.rendered||this.render(),this.$message.removeClass("messenger-hidden"),t=this.shown,this.shown=!0,t?void 0:this.trigger("show")},d.prototype.hide=function(){var t;if(this.rendered)return this.$message.addClass("messenger-hidden"),t=this.shown,this.shown=!1,t?this.trigger("hide"):void 0},d.prototype.cancel=function(){return this.hide()},d.prototype.update=function(t){var e,n=this;return C.isString(t)&&(t={message:t}),w.extend(this.options,t),this.lastUpdate=new Date,this.rendered=!1,this.events=null!=(e=this.options.events)?e:{},this.render(),this.actionsToEvents(),this.delegateEvents(),this.checkClickable(),this.options.hideAfter?(this.$message.addClass("messenger-will-hide-after"),null!=this._hideTimeout&&clearTimeout(this._hideTimeout),this._hideTimeout=setTimeout(function(){return n.hide()},1e3*this.options.hideAfter)):this.$message.removeClass("messenger-will-hide-after"),this.options.hideOnNavigate?(this.$message.addClass("messenger-will-hide-on-navigate"),null!=("undefined"!=typeof Backbone&&null!==Backbone?Backbone.history:void 0)&&Backbone.history.on("route",function(){return n.hide()})):this.$message.removeClass("messenger-will-hide-on-navigate"),this.trigger("update",this)},d.prototype.scrollTo=function(){return this.options.scroll?w.scrollTo(this.$el,{duration:400,offset:{left:0,top:-20}}):void 0},d.prototype.timeSinceUpdate=function(){return this.lastUpdate?new Date-this.lastUpdate:null},d.prototype.actionsToEvents=function(){var t,n,e,i,o=this;for(n in i=[],e=this.options.actions)t=e[n],i.push(this.events['click [data-action="'+n+'"] a']=function(e){return function(t){return t.preventDefault(),t.stopPropagation(),o.trigger("action:"+n,e,t),e.action.call(o,t,o)}}(t));return i},d.prototype.checkClickable=function(){var t,e,n;for(t in n=[],e=this.events)e[t],"click"===t?n.push(this.$message.addClass("messenger-clickable")):n.push(void 0);return n},d.prototype.undelegateEvents=function(){var t;return d.__super__.undelegateEvents.apply(this,arguments),null!=(t=this.$message)?t.removeClass("messenger-clickable"):void 0},d.prototype.parseActions=function(){var t,e,n,i,o;for(i in e=[],o=this.options.actions)t=o[i],(n=w.extend({},t)).name=i,null==n.label&&(n.label=i),e.push(n);return e},d.prototype.template=function(t){var e,n,i,o,r,s,a,l,c,u,h=this;for(r=w("<div class='messenger-message message alert "+t.type+" message-"+t.type+" alert-"+t.type+"'>"),t.showCloseButton&&((i=w('<button type="button" class="messenger-close" data-dismiss="alert">')).html(t.closeButtonText),i.click(function(){return h.cancel(),!0}),r.append(i)),s=w('<div class="messenger-message-inner">'+t.message+"</div>"),r.append(s),t.actions.length&&(n=w('<div class="messenger-actions">')),l=0,c=(u=t.actions).length;l<c;l++)a=u[l],(e=w("<span>")).attr("data-action",""+a.name),(o=w("<a>")).html(a.label),e.append(w('<span class="messenger-phrase">')),e.append(o),n.append(e);return r.append(n),r},d.prototype.render=function(){var t;if(!this.rendered)return this._hasSlot||(this.setElement(this.messenger._reserveMessageSlot(this)),this._hasSlot=!0),t=w.extend({},this.options,{actions:this.parseActions()}),this.$message=w(this.template(t)),this.$el.html(this.$message),this.shown=!0,this.rendered=!0,this.trigger("render")},t(f,a=d),f.prototype.initialize=function(){return f.__super__.initialize.apply(this,arguments),this._timers={}},f.prototype.cancel=function(){return this.clearTimers(),this.hide(),null!=this._actionInstance&&null!=this._actionInstance.abort?this._actionInstance.abort():void 0},f.prototype.clearTimers=function(){var t,e,n,i;for(t in n=this._timers)e=n[t],clearTimeout(e);return this._timers={},null!=(i=this.$message)?i.removeClass("messenger-retry-soon messenger-retry-later"):void 0},f.prototype.render=function(){var t,e,n,i;for(e in f.__super__.render.apply(this,arguments),this.clearTimers(),i=[],n=this.options.actions)(t=n[e]).auto?i.push(this.startCountdown(e,t)):i.push(void 0);return i},f.prototype.renderPhrase=function(t,e){return t.phrase.replace("TIME",this.formatTime(e))},f.prototype.formatTime=function(t){var e;return e=function(t,e){return 1!==(t=Math.floor(t))&&(e+="s"),"in "+t+" "+e},0===Math.floor(t)?"now...":t<60?e(t,"second"):(t/=60)<60?e(t,"minute"):e(t/=60,"hour")},f.prototype.startCountdown=function(e,n){var i,o,r,t,s=this;if(null==this._timers[e])return i=this.$message.find("[data-action='"+e+"'] .messenger-phrase"),(o=null!=(t=n.delay)?t:3)<=10?(this.$message.removeClass("messenger-retry-later"),this.$message.addClass("messenger-retry-soon")):(this.$message.removeClass("messenger-retry-soon"),this.$message.addClass("messenger-retry-later")),(r=function(){var t;return i.text(s.renderPhrase(n,o)),0<o?(t=Math.min(o,1),o-=t,s._timers[e]=setTimeout(r,1e3*t)):(s.$message.removeClass("messenger-retry-soon messenger-retry-later"),delete s._timers[e],n.action())})()},s=f,t(p,e),p.prototype.tagName="ul",p.prototype.className="messenger",p.prototype.messageDefaults={type:"info"},p.prototype.initialize=function(t){return this.options=null!=t?t:{},this.history=[],this.messageDefaults=w.extend({},this.messageDefaults,this.options.messageDefaults)},p.prototype.render=function(){return this.updateMessageSlotClasses()},p.prototype.findById=function(e){return C.filter(this.history,function(t){return t.msg.options.id===e})},p.prototype._reserveMessageSlot=function(t){var e,n,i=this;for((e=w("<li>")).addClass("messenger-message-slot"),this.$el.prepend(e),this.history.push({msg:t,$slot:e}),this._enforceIdConstraint(t),t.on("update",function(){return i._enforceIdConstraint(t)});this.options.maxMessages&&this.history.length>this.options.maxMessages;)(n=this.history.shift()).msg.remove(),n.$slot.remove();return e},p.prototype._enforceIdConstraint=function(t){var e,n,i,o;if(null!=t.options.id)for(e=0,n=(o=this.history).length;e<n;e++)if(null!=(i=o[e].msg).options.id&&i.options.id===t.options.id&&t!==i){if(t.options.singleton)return void t.hide();i.hide()}},p.prototype.newMessage=function(t){var e,n,i,o,r=this;return null==t&&(t={}),t.messenger=this,a=null!=(n=null!=(i=Messenger.themes[null!=(o=t.theme)?o:this.options.theme])?i.Message:void 0)?n:s,(e=new a(t)).on("show",function(){return t.scrollTo&&"fixed"!==r.$el.css("position")?e.scrollTo():void 0}),e.on("hide show render",this.updateMessageSlotClasses,this),e},p.prototype.updateMessageSlotClasses=function(){var t,e,n,i,o,r,s;for(t=!(i=!(e=null)),o=0,r=(s=this.history).length;o<r;o++)(n=s[o]).$slot.removeClass("messenger-first messenger-last messenger-shown"),n.msg.shown&&n.msg.rendered&&(n.$slot.addClass("messenger-shown"),t=!0,e=n,i&&(i=!1,n.$slot.addClass("messenger-first")));return null!=e&&e.$slot.addClass("messenger-last"),this.$el[(t?"remove":"add")+"Class"]("messenger-empty")},p.prototype.hideAll=function(){var t,e,n,i,o;for(o=[],e=0,n=(i=this.history).length;e<n;e++)t=i[e],o.push(t.msg.hide());return o},p.prototype.post=function(t){var e;return C.isString(t)&&(t={message:t}),t=w.extend(!0,{},this.messageDefaults,t),(e=this.newMessage(t)).update(t),e},t(h,c=p),h.prototype.doDefaults={progressMessage:null,successMessage:null,errorMessage:"Error connecting to the server.",showSuccessWithoutError:!0,retry:{auto:!0,allow:!0},action:w.ajax},h.prototype.hookBackboneAjax=function(n){var i,o=this;if(null==n&&(n={}),null==window.Backbone)throw"Expected Backbone to be defined";return n=C.defaults(n,{id:"BACKBONE_ACTION",errorMessage:!1,successMessage:"Request completed successfully.",showSuccessWithoutError:!1}),i=function(t){var e;return e=C.extend({},n,t.messenger),o.do(e,t)},null!=Backbone.ajax?(Backbone.ajax._withoutMessenger&&(Backbone.ajax=Backbone.ajax._withoutMessenger),null!=n.action&&n.action!==this.doDefaults.action||(n.action=Backbone.ajax),i._withoutMessenger=Backbone.ajax,Backbone.ajax=i):Backbone.sync=C.wrap(Backbone.sync,function(){var t,e,n;return n=arguments[0],t=2<=arguments.length?k.call(arguments,1):[],e=w.ajax,w.ajax=i,n.call.apply(n,[this].concat(k.call(t))),w.ajax=e})},h.prototype._getHandlerResponse=function(t){return!1!==t&&(!0===t||null==t||t)},h.prototype._parseEvents=function(t){var e,n,i,o,r,s;for(o in null==t&&(t={}),r={},t)i=t[o],n=o.indexOf(" "),s=o.substring(0,n),e=o.substring(n+1),null==r[s]&&(r[s]={}),r[s][e]=i;return r},h.prototype._normalizeResponse=function(){var t,e,n,i,o,r,s;for(t=o=i=null,r=0,s=(n=1<=arguments.length?k.call(arguments,0):[]).length;r<s;r++)"success"===(e=n[r])||"timeout"===e||"abort"===e?i=e:null!=(null!=e?e.readyState:void 0)&&null!=(null!=e?e.responseText:void 0)?o=e:C.isObject(e)&&(t=e);return[i,t,o]},h.prototype.do=h.prototype.run=function(){var d,g,m,t,e,v,y,b,n,i,x=this;if(v=arguments[0],b=arguments[1],d=3<=arguments.length?k.call(arguments,2):[],null==b&&(b={}),v=w.extend(!0,{},this.messageDefaults,this.doDefaults,null!=v?v:{}),g=this._parseEvents(v.events),m=function(t,e){var n;return n=v[t+"Message"],C.isFunction(n)?n.call(x,t,e):n},y=null!=(i=v.messageInstance)?i:this.newMessage(v),null!=v.id&&(y.options.id=v.id),null!=v.progressMessage&&y.update(w.extend({},v,{message:m("progress",null),type:"info"})),e={},C.each(["error","success"],function(p){var f;return f=b[p],e[p]=function(){var t,e,n,i,o,r,s,a,l,c,u,h;return o=1<=arguments.length?k.call(arguments,0):[],i=(a=x._normalizeResponse.apply(x,o))[0],a[1],s=a[2],"success"===p&&null==y.errorCount&&!1===v.showSuccessWithoutError&&(v.successMessage=null),"error"===p&&(null==v.errorCount&&(v.errorCount=0),v.errorCount+=1),e=v.returnsPromise?o[0]:"function"==typeof f?f.apply(null,o):void 0,r=x._getHandlerResponse(e),C.isString(r)&&(r={message:r}),"error"!==p||0!==(null!=s?s.status:void 0)&&"abort"!==i?"error"===p&&null!=v.ignoredErrorCodes&&(l=null!=s?s.status:void 0,0<=T.call(v.ignoredErrorCodes,l))?void y.hide():(t={message:m(p,s),type:p,events:null!=(c=g[p])?c:{},hideOnNavigate:"success"===p},"number"==typeof(null!=(u=(n=w.extend({},v,t,r)).retry)?u.allow:void 0)&&n.retry.allow--,"error"===p&&500<=(null!=s?s.status:void 0)&&(null!=(h=n.retry)?h.allow:void 0)?(null==n.retry.delay&&(n.retry.delay=n.errorCount<4?10:300),n.hideAfter&&(null==n._hideAfter&&(n._hideAfter=n.hideAfter),n.hideAfter=n._hideAfter+n.retry.delay),n._retryActions=!0,n.actions={retry:{label:"retry now",phrase:"Retrying TIME",auto:n.retry.auto,delay:n.retry.delay,action:function(){return n.messageInstance=y,setTimeout(function(){return x.do.apply(x,[n,b].concat(k.call(d)))},0)}},cancel:{action:function(){return y.cancel()}}}):n._retryActions&&(delete n.actions.retry,delete n.actions.cancel,delete v._retryActions),y.update(n),r&&n.message?(Messenger(C.extend({},x.options,{instance:x})),y.show()):y.hide()):void y.hide()}}),!v.returnsPromise)for(n in e)t=e[n],b[n],b[n]=t;return y._actionInstance=v.action.apply(v,[b].concat(k.call(d))),v.returnsPromise&&y._actionInstance.then(e.success,e.error),y},h.prototype.ajax=function(){var t,e;return e=arguments[0],t=2<=arguments.length?k.call(arguments,1):[],e.action=w.ajax,this.run.apply(this,[e].concat(k.call(t)))},h.prototype.expectPromise=function(t,e){return e=C.extend({},e,{action:t,returnsPromise:!0}),this.run(e)},h.prototype.error=function(t){return null==t&&(t={}),"string"==typeof t&&(t={message:t}),t.type="error",this.post(t)},h.prototype.info=function(t){return null==t&&(t={}),"string"==typeof t&&(t={message:t}),t.type="info",this.post(t)},h.prototype.success=function(t){return null==t&&(t={}),"string"==typeof t&&(t={message:t}),t.type="success",this.post(t)},l=h,w.fn.messenger=function(){var t,e,n,i,o,r,s,a;return n=arguments[0],e=2<=arguments.length?k.call(arguments,1):[],null==n&&(n={}),t=this,null!=n&&C.isString(n)?(a=t.data("messenger"))[n].apply(a,e):(o=n,null==t.data("messenger")&&(c=null!=(r=null!=(s=Messenger.themes[o.theme])?s.Messenger:void 0)?r:l,t.data("messenger",i=new c(w.extend({el:t},o))),i.render()),t.data("messenger"))},window.Messenger._call=function(t){var e,n,i,o,r,s,a,l,c,u;if(r={extraClasses:"messenger-fixed messenger-on-bottom messenger-on-right",theme:"future",maxMessages:9,parentLocations:["body"]},null!=(t=w.extend(r,w._messengerDefaults,Messenger.options,t)).theme&&(t.extraClasses+=" messenger-theme-"+t.theme),s=t.instance||Messenger.instance,null==t.instance){for(n=null,c=0,u=(l=t.parentLocations).length;c<u;c++)if(a=l[c],(n=w(a)).length){i=a;break}s?w(s._location).is(w(i))||(s.$el.detach(),n.prepend(s.$el)):(e=w("<ul>"),n.prepend(e),(s=e.messenger(t))._location=i,Messenger.instance=s)}return null!=s._addedClasses&&s.$el.removeClass(s._addedClasses),s.$el.addClass(o=s.className+" "+t.extraClasses),s._addedClasses=o,s},w.extend(Messenger,{Message:s,Messenger:l,themes:null!=(r=Messenger.themes)?r:{}}),w.globalMessenger=window.Messenger=Messenger}.call(this),function(){var n,t,o={}.hasOwnProperty;function i(){return i.__super__.constructor.apply(this,arguments)}n=jQuery,function(t,e){for(var n in e)o.call(e,n)&&(t[n]=e[n]);function i(){this.constructor=t}i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype}(i,window.Messenger.Message),i.prototype.template=function(t){var e;return(e=i.__super__.template.apply(this,arguments)).append(n('<div class="messenger-spinner">\n <span class="messenger-spinner-side messenger-spinner-side-left">\n <span class="messenger-spinner-fill"></span>\n </span>\n <span class="messenger-spinner-side messenger-spinner-side-right">\n <span class="messenger-spinner-fill"></span>\n </span>\n</div>')),e},t=i,window.Messenger.themes.flat={Message:t}}.call(this),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(i){"use strict";i.fn.emulateTransitionEnd=function(t){var e=!1,n=this;i(this).one("bsTransitionEnd",function(){e=!0});return setTimeout(function(){e||i(n).trigger(i.support.transition.end)},t),this},i(function(){i.support.transition=function(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}(),i.support.transition&&(i.event.special.bsTransitionEnd={bindType:i.support.transition.end,delegateType:i.support.transition.end,handle:function(t){if(i(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(r){"use strict";function i(t){r(t).on("click",e,this.close)}var e='[data-dismiss="alert"]';i.VERSION="3.2.0",i.prototype.close=function(t){var e=r(this),n=e.attr("data-target");n=n||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,"");var i=r(n);function o(){i.detach().trigger("closed.bs.alert").remove()}t&&t.preventDefault(),i.length||(i=e.hasClass("alert")?e:e.parent()),i.trigger(t=r.Event("close.bs.alert")),t.isDefaultPrevented()||(i.removeClass("in"),r.support.transition&&i.hasClass("fade")?i.one("bsTransitionEnd",o).emulateTransitionEnd(150):o())};var t=r.fn.alert;r.fn.alert=function(n){return this.each(function(){var t=r(this),e=t.data("bs.alert");e||t.data("bs.alert",e=new i(this)),"string"==typeof n&&e[n].call(t)})},r.fn.alert.Constructor=i,r.fn.alert.noConflict=function(){return r.fn.alert=t,this},r(document).on("click.bs.alert.data-api",e,i.prototype.close)}(jQuery),function(r){"use strict";var o=function(t,e){this.$element=r(t),this.options=r.extend({},o.DEFAULTS,e),this.isLoading=!1};function n(i){return this.each(function(){var t=r(this),e=t.data("bs.button"),n="object"==typeof i&&i;e||t.data("bs.button",e=new o(this,n)),"toggle"==i?e.toggle():i&&e.setState(i)})}o.VERSION="3.2.0",o.DEFAULTS={loadingText:"loading..."},o.prototype.setState=function(t){var e="disabled",n=this.$element,i=n.is("input")?"val":"html",o=n.data();t+="Text",null==o.resetText&&n.data("resetText",n[i]()),n[i](null==o[t]?this.options[t]:o[t]),setTimeout(r.proxy(function(){"loadingText"==t?(this.isLoading=!0,n.addClass(e).attr(e,e)):this.isLoading&&(this.isLoading=!1,n.removeClass(e).removeAttr(e))},this),0)},o.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")&&(n.prop("checked")&&this.$element.hasClass("active")?t=!1:e.find(".active").removeClass("active")),t&&n.prop("checked",!this.$element.hasClass("active")).trigger("change")}t&&this.$element.toggleClass("active")};var t=r.fn.button;r.fn.button=n,r.fn.button.Constructor=o,r.fn.button.noConflict=function(){return r.fn.button=t,this},r(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(t){var e=r(t.target);e.hasClass("btn")||(e=e.closest(".btn")),n.call(e,"toggle"),t.preventDefault()})}(jQuery),function(p){"use strict";function r(t,e){this.$element=p(t).on("keydown.bs.carousel",p.proxy(this.keydown,this)),this.$indicators=this.$element.find(".carousel-indicators"),this.options=e,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter.bs.carousel",p.proxy(this.pause,this)).on("mouseleave.bs.carousel",p.proxy(this.cycle,this))}function s(o){return this.each(function(){var t=p(this),e=t.data("bs.carousel"),n=p.extend({},r.DEFAULTS,t.data(),"object"==typeof o&&o),i="string"==typeof o?o:n.slide;e||t.data("bs.carousel",e=new r(this,n)),"number"==typeof o?e.to(o):i?e[i]():n.interval&&e.pause().cycle()})}r.VERSION="3.2.0",r.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},r.prototype.keydown=function(t){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()},r.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(p.proxy(this.next,this),this.options.interval)),this},r.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},r.prototype.to=function(t){var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):n==t?this.pause().cycle():this.slide(n<t?"next":"prev",p(this.$items[t]))},r.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&p.support.transition&&(this.$element.trigger(p.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},r.prototype.next=function(){if(!this.sliding)return this.slide("next")},r.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},r.prototype.slide=function(t,e){var n=this.$element.find(".item.active"),i=e||n[t](),o=this.interval,r="next"==t?"left":"right",s="next"==t?"first":"last",a=this;if(!i.length){if(!this.options.wrap)return;i=this.$element.find(".item")[s]()}if(i.hasClass("active"))return this.sliding=!1;var l=i[0],c=p.Event("slide.bs.carousel",{relatedTarget:l,direction:r});if(this.$element.trigger(c),!c.isDefaultPrevented()){if(this.sliding=!0,o&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var u=p(this.$indicators.children()[this.getItemIndex(i)]);u&&u.addClass("active")}var h=p.Event("slid.bs.carousel",{relatedTarget:l,direction:r});return p.support.transition&&this.$element.hasClass("slide")?(i.addClass(t),i[0].offsetWidth,n.addClass(r),i.addClass(r),n.one("bsTransitionEnd",function(){i.removeClass([t,r].join(" ")).addClass("active"),n.removeClass(["active",r].join(" ")),a.sliding=!1,setTimeout(function(){a.$element.trigger(h)},0)}).emulateTransitionEnd(1e3*n.css("transition-duration").slice(0,-1))):(n.removeClass("active"),i.addClass("active"),this.sliding=!1,this.$element.trigger(h)),o&&this.cycle(),this}};var t=p.fn.carousel;p.fn.carousel=s,p.fn.carousel.Constructor=r,p.fn.carousel.noConflict=function(){return p.fn.carousel=t,this},p(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(t){var e,n=p(this),i=p(n.attr("data-target")||(e=n.attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,""));if(i.hasClass("carousel")){var o=p.extend({},i.data(),n.data()),r=n.attr("data-slide-to");r&&(o.interval=!1),s.call(i,o),r&&i.data("bs.carousel").to(r),t.preventDefault()}}),p(window).on("load",function(){p('[data-ride="carousel"]').each(function(){var t=p(this);s.call(t,t.data())})})}(jQuery),function(c){"use strict";var o=function(t,e){this.$element=c(t),this.options=c.extend({},o.DEFAULTS,e),this.transitioning=null,this.options.parent&&(this.$parent=c(this.options.parent)),this.options.toggle&&this.toggle()};function u(i){return this.each(function(){var t=c(this),e=t.data("bs.collapse"),n=c.extend({},o.DEFAULTS,t.data(),"object"==typeof i&&i);!e&&n.toggle&&"show"==i&&(i=!i),e||t.data("bs.collapse",e=new o(this,n)),"string"==typeof i&&e[i]()})}o.VERSION="3.2.0",o.DEFAULTS={toggle:!0},o.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},o.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var t=c.Event("show.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var e=this.$parent&&this.$parent.find("> .panel > .in");if(e&&e.length){var n=e.data("bs.collapse");if(n&&n.transitioning)return;u.call(e,"hide"),n||e.data("bs.collapse",null)}var i=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[i](0),this.transitioning=1;var o=function(){this.$element.removeClass("collapsing").addClass("collapse in")[i](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!c.support.transition)return o.call(this);var r=c.camelCase(["scroll",i].join("-"));this.$element.one("bsTransitionEnd",c.proxy(o,this)).emulateTransitionEnd(350)[i](this.$element[0][r])}}},o.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t=c.Event("hide.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var e=this.dimension();this.$element[e](this.$element[e]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var n=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};if(!c.support.transition)return n.call(this);this.$element[e](0).one("bsTransitionEnd",c.proxy(n,this)).emulateTransitionEnd(350)}}},o.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var t=c.fn.collapse;c.fn.collapse=u,c.fn.collapse.Constructor=o,c.fn.collapse.noConflict=function(){return c.fn.collapse=t,this},c(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){var e,n=c(this),i=n.attr("data-target")||t.preventDefault()||(e=n.attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,""),o=c(i),r=o.data("bs.collapse"),s=r?"toggle":n.data(),a=n.attr("data-parent"),l=a&&c(a);r&&r.transitioning||(l&&l.find('[data-toggle="collapse"][data-parent="'+a+'"]').not(n).addClass("collapsed"),n[o.hasClass("in")?"addClass":"removeClass"]("collapsed")),u.call(o,s)})}(jQuery),function(a){"use strict";function i(t){a(t).on("click.bs.dropdown",this.toggle)}var l='[data-toggle="dropdown"]';function r(n){n&&3===n.which||(a(".dropdown-backdrop").remove(),a(l).each(function(){var t=c(a(this)),e={relatedTarget:this};t.hasClass("open")&&(t.trigger(n=a.Event("hide.bs.dropdown",e)),n.isDefaultPrevented()||t.removeClass("open").trigger("hidden.bs.dropdown",e))}))}function c(t){var e=t.attr("data-target"),n=(e=e||(e=t.attr("href"))&&/#[A-Za-z]/.test(e)&&e.replace(/.*(?=#[^\s]*$)/,""))&&a(e);return n&&n.length?n:t.parent()}i.VERSION="3.2.0",i.prototype.toggle=function(t){var e=a(this);if(!e.is(".disabled, :disabled")){var n=c(e),i=n.hasClass("open");if(r(),!i){"ontouchstart"in document.documentElement&&!n.closest(".navbar-nav").length&&a('<div class="dropdown-backdrop"/>').insertAfter(a(this)).on("click",r);var o={relatedTarget:this};if(n.trigger(t=a.Event("show.bs.dropdown",o)),t.isDefaultPrevented())return;e.trigger("focus"),n.toggleClass("open").trigger("shown.bs.dropdown",o)}return!1}},i.prototype.keydown=function(t){if(/(38|40|27)/.test(t.keyCode)){var e=a(this);if(t.preventDefault(),t.stopPropagation(),!e.is(".disabled, :disabled")){var n=c(e),i=n.hasClass("open");if(!i||i&&27==t.keyCode)return 27==t.which&&n.find(l).trigger("focus"),e.trigger("click");var o=" li:not(.divider):visible a",r=n.find('[role="menu"]'+o+', [role="listbox"]'+o);if(r.length){var s=r.index(r.filter(":focus"));38==t.keyCode&&0<s&&s--,40==t.keyCode&&s<r.length-1&&s++,~s||(s=0),r.eq(s).trigger("focus")}}}};var t=a.fn.dropdown;a.fn.dropdown=function(n){return this.each(function(){var t=a(this),e=t.data("bs.dropdown");e||t.data("bs.dropdown",e=new i(this)),"string"==typeof n&&e[n].call(t)})},a.fn.dropdown.Constructor=i,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=t,this},a(document).on("click.bs.dropdown.data-api",r).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",l,i.prototype.toggle).on("keydown.bs.dropdown.data-api",l+', [role="menu"], [role="listbox"]',i.prototype.keydown)}(jQuery),function(r){"use strict";function s(t,e){this.options=e,this.$body=r(document.body),this.$element=r(t),this.$backdrop=this.isShown=null,this.scrollbarWidth=0,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,r.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))}function a(i,o){return this.each(function(){var t=r(this),e=t.data("bs.modal"),n=r.extend({},s.DEFAULTS,t.data(),"object"==typeof i&&i);e||t.data("bs.modal",e=new s(this,n)),"string"==typeof i?e[i](o):n.show&&e.show(o)})}s.VERSION="3.2.0",s.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},s.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},s.prototype.show=function(n){var i=this,t=r.Event("show.bs.modal",{relatedTarget:n});this.$element.trigger(t),this.isShown||t.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.$body.addClass("modal-open"),this.setScrollbar(),this.escape(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',r.proxy(this.hide,this)),this.backdrop(function(){var t=r.support.transition&&i.$element.hasClass("fade");i.$element.parent().length||i.$element.appendTo(i.$body),i.$element.show().scrollTop(0),t&&i.$element[0].offsetWidth,i.$element.addClass("in").attr("aria-hidden",!1),i.enforceFocus();var e=r.Event("shown.bs.modal",{relatedTarget:n});t?i.$element.find(".modal-dialog").one("bsTransitionEnd",function(){i.$element.trigger("focus").trigger(e)}).emulateTransitionEnd(300):i.$element.trigger("focus").trigger(e)}))},s.prototype.hide=function(t){t&&t.preventDefault(),t=r.Event("hide.bs.modal"),this.$element.trigger(t),this.isShown&&!t.isDefaultPrevented()&&(this.isShown=!1,this.$body.removeClass("modal-open"),this.resetScrollbar(),this.escape(),r(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.bs.modal"),r.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",r.proxy(this.hideModal,this)).emulateTransitionEnd(300):this.hideModal())},s.prototype.enforceFocus=function(){r(document).off("focusin.bs.modal").on("focusin.bs.modal",r.proxy(function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},s.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.bs.modal",r.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keyup.dismiss.bs.modal")},s.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$element.trigger("hidden.bs.modal")})},s.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},s.prototype.backdrop=function(t){var e=this,n=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var i=r.support.transition&&n;if(this.$backdrop=r('<div class="modal-backdrop '+n+'" />').appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",r.proxy(function(t){t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),i&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!t)return;i?this.$backdrop.one("bsTransitionEnd",t).emulateTransitionEnd(150):t()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var o=function(){e.removeBackdrop(),t&&t()};r.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",o).emulateTransitionEnd(150):o()}else t&&t()},s.prototype.checkScrollbar=function(){document.body.clientWidth>=window.innerWidth||(this.scrollbarWidth=this.scrollbarWidth||this.measureScrollbar())},s.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.scrollbarWidth&&this.$body.css("padding-right",t+this.scrollbarWidth)},s.prototype.resetScrollbar=function(){this.$body.css("padding-right","")},s.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var t=r.fn.modal;r.fn.modal=a,r.fn.modal.Constructor=s,r.fn.modal.noConflict=function(){return r.fn.modal=t,this},r(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var e=r(this),n=e.attr("href"),i=r(e.attr("data-target")||n&&n.replace(/.*(?=#[^\s]+$)/,"")),o=i.data("bs.modal")?"toggle":r.extend({remote:!/#/.test(n)&&n},i.data(),e.data());e.is("a")&&t.preventDefault(),i.one("show.bs.modal",function(t){t.isDefaultPrevented()||i.one("hidden.bs.modal",function(){e.is(":visible")&&e.trigger("focus")})}),a.call(i,o,this)})}(jQuery),function(m){"use strict";function o(t,e){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",t,e)}o.VERSION="3.2.0",o.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},o.prototype.init=function(t,e,n){this.enabled=!0,this.type=t,this.$element=m(e),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&m(this.options.viewport.selector||this.options.viewport);for(var i=this.options.trigger.split(" "),o=i.length;o--;){var r=i[o];if("click"==r)this.$element.on("click."+this.type,this.options.selector,m.proxy(this.toggle,this));else if("manual"!=r){var s="hover"==r?"mouseenter":"focusin",a="hover"==r?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,m.proxy(this.enter,this)),this.$element.on(a+"."+this.type,this.options.selector,m.proxy(this.leave,this))}}this.options.selector?this._options=m.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},o.prototype.getDefaults=function(){return o.DEFAULTS},o.prototype.getOptions=function(t){return(t=m.extend({},this.getDefaults(),this.$element.data(),t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},o.prototype.getDelegateOptions=function(){var n={},i=this.getDefaults();return this._options&&m.each(this._options,function(t,e){i[t]!=e&&(n[t]=e)}),n},o.prototype.enter=function(t){var e=t instanceof this.constructor?t:m(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),m(t.currentTarget).data("bs."+this.type,e)),clearTimeout(e.timeout),e.hoverState="in",!e.options.delay||!e.options.delay.show)return e.show();e.timeout=setTimeout(function(){"in"==e.hoverState&&e.show()},e.options.delay.show)},o.prototype.leave=function(t){var e=t instanceof this.constructor?t:m(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),m(t.currentTarget).data("bs."+this.type,e)),clearTimeout(e.timeout),e.hoverState="out",!e.options.delay||!e.options.delay.hide)return e.hide();e.timeout=setTimeout(function(){"out"==e.hoverState&&e.hide()},e.options.delay.hide)},o.prototype.show=function(){var t=m.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(t);var e=m.contains(document.documentElement,this.$element[0]);if(t.isDefaultPrevented()||!e)return;var n=this,i=this.tip(),o=this.getUID(this.type);this.setContent(),i.attr("id",o),this.$element.attr("aria-describedby",o),this.options.animation&&i.addClass("fade");var r="function"==typeof this.options.placement?this.options.placement.call(this,i[0],this.$element[0]):this.options.placement,s=/\s?auto?\s?/i,a=s.test(r);a&&(r=r.replace(s,"")||"top"),i.detach().css({top:0,left:0,display:"block"}).addClass(r).data("bs."+this.type,this),this.options.container?i.appendTo(this.options.container):i.insertAfter(this.$element);var l=this.getPosition(),c=i[0].offsetWidth,u=i[0].offsetHeight;if(a){var h=r,p=this.$element.parent(),f=this.getPosition(p);r="bottom"==r&&l.top+l.height+u-f.scroll>f.height?"top":"top"==r&&l.top-f.scroll-u<0?"bottom":"right"==r&&l.right+c>f.width?"left":"left"==r&&l.left-c<f.left?"right":r,i.removeClass(h).addClass(r)}var d=this.getCalculatedOffset(r,l,c,u);this.applyPlacement(d,r);var g=function(){n.$element.trigger("shown.bs."+n.type),n.hoverState=null};m.support.transition&&this.$tip.hasClass("fade")?i.one("bsTransitionEnd",g).emulateTransitionEnd(150):g()}},o.prototype.applyPlacement=function(t,e){var n=this.tip(),i=n[0].offsetWidth,o=n[0].offsetHeight,r=parseInt(n.css("margin-top"),10),s=parseInt(n.css("margin-left"),10);isNaN(r)&&(r=0),isNaN(s)&&(s=0),t.top=t.top+r,t.left=t.left+s,m.offset.setOffset(n[0],m.extend({using:function(t){n.css({top:Math.round(t.top),left:Math.round(t.left)})}},t),0),n.addClass("in");var a=n[0].offsetWidth,l=n[0].offsetHeight;"top"==e&&l!=o&&(t.top=t.top+o-l);var c=this.getViewportAdjustedDelta(e,t,a,l);c.left?t.left+=c.left:t.top+=c.top;var u=c.left?2*c.left-i+a:2*c.top-o+l,h=c.left?"left":"top",p=c.left?"offsetWidth":"offsetHeight";n.offset(t),this.replaceArrow(u,n[0][p],h)},o.prototype.replaceArrow=function(t,e,n){this.arrow().css(n,t?50*(1-t/e)+"%":"")},o.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},o.prototype.hide=function(){var t=this,e=this.tip(),n=m.Event("hide.bs."+this.type);function i(){"in"!=t.hoverState&&e.detach(),t.$element.trigger("hidden.bs."+t.type)}if(this.$element.removeAttr("aria-describedby"),this.$element.trigger(n),!n.isDefaultPrevented())return e.removeClass("in"),m.support.transition&&this.$tip.hasClass("fade")?e.one("bsTransitionEnd",i).emulateTransitionEnd(150):i(),this.hoverState=null,this},o.prototype.fixTitle=function(){var t=this.$element;!t.attr("title")&&"string"==typeof t.attr("data-original-title")||t.attr("data-original-title",t.attr("title")||"").attr("title","")},o.prototype.hasContent=function(){return this.getTitle()},o.prototype.getPosition=function(t){var e=(t=t||this.$element)[0],n="BODY"==e.tagName;return m.extend({},"function"==typeof e.getBoundingClientRect?e.getBoundingClientRect():null,{scroll:n?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop(),width:n?m(window).width():t.outerWidth(),height:n?m(window).height():t.outerHeight()},n?{top:0,left:0}:t.offset())},o.prototype.getCalculatedOffset=function(t,e,n,i){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-n/2}:"top"==t?{top:e.top-i,left:e.left+e.width/2-n/2}:"left"==t?{top:e.top+e.height/2-i/2,left:e.left-n}:{top:e.top+e.height/2-i/2,left:e.left+e.width}},o.prototype.getViewportAdjustedDelta=function(t,e,n,i){var o={top:0,left:0};if(!this.$viewport)return o;var r=this.options.viewport&&this.options.viewport.padding||0,s=this.getPosition(this.$viewport);if(/right|left/.test(t)){var a=e.top-r-s.scroll,l=e.top+r-s.scroll+i;a<s.top?o.top=s.top-a:l>s.top+s.height&&(o.top=s.top+s.height-l)}else{var c=e.left-r,u=e.left+r+n;c<s.left?o.left=s.left-c:u>s.width&&(o.left=s.left+s.width-u)}return o},o.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},o.prototype.getUID=function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},o.prototype.tip=function(){return this.$tip=this.$tip||m(this.options.template)},o.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},o.prototype.validate=function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},o.prototype.enable=function(){this.enabled=!0},o.prototype.disable=function(){this.enabled=!1},o.prototype.toggleEnabled=function(){this.enabled=!this.enabled},o.prototype.toggle=function(t){var e=this;t&&((e=m(t.currentTarget).data("bs."+this.type))||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),m(t.currentTarget).data("bs."+this.type,e))),e.tip().hasClass("in")?e.leave(e):e.enter(e)},o.prototype.destroy=function(){clearTimeout(this.timeout),this.hide().$element.off("."+this.type).removeData("bs."+this.type)};var t=m.fn.tooltip;m.fn.tooltip=function(i){return this.each(function(){var t=m(this),e=t.data("bs.tooltip"),n="object"==typeof i&&i;!e&&"destroy"==i||(e||t.data("bs.tooltip",e=new o(this,n)),"string"==typeof i&&e[i]())})},m.fn.tooltip.Constructor=o,m.fn.tooltip.noConflict=function(){return m.fn.tooltip=t,this}}(jQuery),function(o){"use strict";function r(t,e){this.init("popover",t,e)}if(!o.fn.tooltip)throw new Error("Popover requires tooltip.js");r.VERSION="3.2.0",r.DEFAULTS=o.extend({},o.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),((r.prototype=o.extend({},o.fn.tooltip.Constructor.prototype)).constructor=r).prototype.getDefaults=function(){return r.DEFAULTS},r.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").empty()[this.options.html?"string"==typeof n?"html":"append":"text"](n),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},r.prototype.hasContent=function(){return this.getTitle()||this.getContent()},r.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},r.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},r.prototype.tip=function(){return this.$tip||(this.$tip=o(this.options.template)),this.$tip};var t=o.fn.popover;o.fn.popover=function(i){return this.each(function(){var t=o(this),e=t.data("bs.popover"),n="object"==typeof i&&i;!e&&"destroy"==i||(e||t.data("bs.popover",e=new r(this,n)),"string"==typeof i&&e[i]())})},o.fn.popover.Constructor=r,o.fn.popover.noConflict=function(){return o.fn.popover=t,this}}(jQuery),function(r){"use strict";function o(t,e){var n=r.proxy(this.process,this);this.$body=r("body"),this.$scrollElement=r(t).is("body")?r(window):r(t),this.options=r.extend({},o.DEFAULTS,e),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",n),this.refresh(),this.process()}function e(i){return this.each(function(){var t=r(this),e=t.data("bs.scrollspy"),n="object"==typeof i&&i;e||t.data("bs.scrollspy",e=new o(this,n)),"string"==typeof i&&e[i]()})}o.VERSION="3.2.0",o.DEFAULTS={offset:10},o.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},o.prototype.refresh=function(){var i="offset",o=0;r.isWindow(this.$scrollElement[0])||(i="position",o=this.$scrollElement.scrollTop()),this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight();var t=this;this.$body.find(this.selector).map(function(){var t=r(this),e=t.data("target")||t.attr("href"),n=/^#./.test(e)&&r(e);return n&&n.length&&n.is(":visible")&&[[n[i]().top+o,e]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},o.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),i=this.options.offset+n-this.$scrollElement.height(),o=this.offsets,r=this.targets,s=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),i<=e)return s!=(t=r[r.length-1])&&this.activate(t);if(s&&e<=o[0])return s!=(t=r[0])&&this.activate(t);for(t=o.length;t--;)s!=r[t]&&e>=o[t]&&(!o[t+1]||e<=o[t+1])&&this.activate(r[t])},o.prototype.activate=function(t){this.activeTarget=t,r(this.selector).parentsUntil(this.options.target,".active").removeClass("active");var e=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',n=r(e).parents("li").addClass("active");n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate.bs.scrollspy")};var t=r.fn.scrollspy;r.fn.scrollspy=e,r.fn.scrollspy.Constructor=o,r.fn.scrollspy.noConflict=function(){return r.fn.scrollspy=t,this},r(window).on("load.bs.scrollspy.data-api",function(){r('[data-spy="scroll"]').each(function(){var t=r(this);e.call(t,t.data())})})}(jQuery),function(s){"use strict";function i(t){this.element=s(t)}function e(n){return this.each(function(){var t=s(this),e=t.data("bs.tab");e||t.data("bs.tab",e=new i(this)),"string"==typeof n&&e[n]()})}i.VERSION="3.2.0",i.prototype.show=function(){var t=this.element,e=t.closest("ul:not(.dropdown-menu)"),n=t.data("target");if(n=n||(n=t.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,""),!t.parent("li").hasClass("active")){var i=e.find(".active:last a")[0],o=s.Event("show.bs.tab",{relatedTarget:i});if(t.trigger(o),!o.isDefaultPrevented()){var r=s(n);this.activate(t.closest("li"),e),this.activate(r,r.parent(),function(){t.trigger({type:"shown.bs.tab",relatedTarget:i})})}}},i.prototype.activate=function(t,e,n){var i=e.find("> .active"),o=n&&s.support.transition&&i.hasClass("fade");function r(){i.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),t.addClass("active"),o?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu")&&t.closest("li.dropdown").addClass("active"),n&&n()}o?i.one("bsTransitionEnd",r).emulateTransitionEnd(150):r(),i.removeClass("in")};var t=s.fn.tab;s.fn.tab=e,s.fn.tab.Constructor=i,s.fn.tab.noConflict=function(){return s.fn.tab=t,this},s(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(t){t.preventDefault(),e.call(s(this),"show")})}(jQuery),function(c){"use strict";var u=function(t,e){this.options=c.extend({},u.DEFAULTS,e),this.$target=c(this.options.target).on("scroll.bs.affix.data-api",c.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",c.proxy(this.checkPositionWithEventLoop,this)),this.$element=c(t),this.affixed=this.unpin=this.pinnedOffset=null,this.checkPosition()};function n(i){return this.each(function(){var t=c(this),e=t.data("bs.affix"),n="object"==typeof i&&i;e||t.data("bs.affix",e=new u(this,n)),"string"==typeof i&&e[i]()})}u.VERSION="3.2.0",u.RESET="affix affix-top affix-bottom",u.DEFAULTS={offset:0,target:window},u.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(u.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},u.prototype.checkPositionWithEventLoop=function(){setTimeout(c.proxy(this.checkPosition,this),1)},u.prototype.checkPosition=function(){if(this.$element.is(":visible")){var t=c(document).height(),e=this.$target.scrollTop(),n=this.$element.offset(),i=this.options.offset,o=i.top,r=i.bottom;"object"!=typeof i&&(r=o=i),"function"==typeof o&&(o=i.top(this.$element)),"function"==typeof r&&(r=i.bottom(this.$element));var s=!(null!=this.unpin&&e+this.unpin<=n.top)&&(null!=r&&n.top+this.$element.height()>=t-r?"bottom":null!=o&&e<=o&&"top");if(this.affixed!==s){null!=this.unpin&&this.$element.css("top","");var a="affix"+(s?"-"+s:""),l=c.Event(a+".bs.affix");this.$element.trigger(l),l.isDefaultPrevented()||(this.affixed=s,this.unpin="bottom"==s?this.getPinnedOffset():null,this.$element.removeClass(u.RESET).addClass(a).trigger(c.Event(a.replace("affix","affixed"))),"bottom"==s&&this.$element.offset({top:t-this.$element.height()-r}))}}};var t=c.fn.affix;c.fn.affix=n,c.fn.affix.Constructor=u,c.fn.affix.noConflict=function(){return c.fn.affix=t,this},c(window).on("load",function(){c('[data-spy="affix"]').each(function(){var t=c(this),e=t.data();e.offset=e.offset||{},e.offsetBottom&&(e.offset.bottom=e.offsetBottom),e.offsetTop&&(e.offset.top=e.offsetTop),n.call(t,e)})})}(jQuery),function(o){"use strict";function r(t,e){this.el=o(t),this.options=o.extend({},o.fn.typed.defaults,e),this.baseText=this.el.text()||this.el.attr("placeholder")||"",this.typeSpeed=this.options.typeSpeed,this.startDelay=this.options.startDelay,this.backSpeed=this.options.backSpeed,this.backDelay=this.options.backDelay,this.strings=this.options.strings,this.strPos=0,this.arrayPos=0,this.stopNum=0,this.loop=this.options.loop,this.loopCount=this.options.loopCount,this.curLoop=0,this.stop=!1,this.showCursor=!this.isInput&&this.options.showCursor,this.cursorChar=this.options.cursorChar,this.isInput=this.el.is("input"),this.attr=this.options.attr||(this.isInput?"placeholder":null),this.build()}r.prototype={constructor:r,init:function(){var t=this;t.timeout=setTimeout(function(){t.typewrite(t.strings[t.arrayPos],t.strPos)},t.startDelay)},build:function(){!0===this.showCursor&&(this.cursor=o('<span class="typed-cursor">'+this.cursorChar+"</span>"),this.el.after(this.cursor)),this.init()},typewrite:function(i,o){if(!0!==this.stop){var t=Math.round(70*Math.random())+this.typeSpeed,r=this;r.timeout=setTimeout(function(){var t=0,e=i.substr(o);if("^"===e.charAt(0)){var n=1;/^\^\d+/.test(e)&&(n+=(e=/\d+/.exec(e)[0]).length,t=parseInt(e)),i=i.substring(0,o)+i.substring(o+n)}r.timeout=setTimeout(function(){if(o===i.length){if(r.options.onStringTyped(r.arrayPos),r.arrayPos===r.strings.length-1&&(r.options.callback(),r.curLoop++,!1===r.loop||r.curLoop===r.loopCount))return;r.timeout=setTimeout(function(){r.backspace(i,o)},r.backDelay)}else{0===o&&r.options.preStringTyped(r.arrayPos);var t=r.baseText+i.substr(0,o+1);r.attr?r.el.attr(r.attr,t):r.el.text(t),o++,r.typewrite(i,o)}},t)},t)}},backspace:function(e,n){if(!0!==this.stop){var t=Math.round(70*Math.random())+this.backSpeed,i=this;i.timeout=setTimeout(function(){1==i.arrayPos?(i.stopNum=17,i.backDelay=500):2==i.arrayPos?i.stopNum=54:i.stopNum=0;var t=i.baseText+e.substr(0,n);i.attr?i.el.attr(i.attr,t):i.el.text(t),n>i.stopNum?(n--,i.backspace(e,n)):n<=i.stopNum&&(i.arrayPos++,i.arrayPos===i.strings.length?(i.arrayPos=0,i.init()):i.typewrite(i.strings[i.arrayPos],n))},t)}},reset:function(){clearInterval(this.timeout);var t=this.el.attr("id");this.el.after('<span id="'+t+'"/>'),this.el.remove(),this.cursor.remove(),this.options.resetCallback()}},o.fn.typed=function(i){return this.each(function(){var t=o(this),e=t.data("typed"),n="object"==typeof i&&i;e||t.data("typed",e=new r(this,n)),"string"==typeof i&&e[i]()})},o.fn.typed.defaults={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],typeSpeed:0,startDelay:0,backSpeed:0,backDelay:500,loop:!1,loopCount:!1,showCursor:!0,cursorChar:"|",attr:null,callback:function(){},preStringTyped:function(){},onStringTyped:function(){},resetCallback:function(){}}}(window.jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):t(jQuery)}(function(f){var i=/\+/g;function d(t){return m.raw?t:encodeURIComponent(t)}function g(t,e){var n=m.raw?t:function(t){0===t.indexOf('"')&&(t=t.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return t=decodeURIComponent(t.replace(i," ")),m.json?JSON.parse(t):t}catch(t){}}(t);return f.isFunction(e)?e(n):n}var m=f.cookie=function(t,e,n){if(1<arguments.length&&!f.isFunction(e)){if("number"==typeof(n=f.extend({},m.defaults,n)).expires){var i=n.expires,o=n.expires=new Date;o.setTime(+o+864e5*i)}return document.cookie=[d(t),"=",function(t){return d(m.json?JSON.stringify(t):String(t))}(e),n.expires?"; expires="+n.expires.toUTCString():"",n.path?"; path="+n.path:"",n.domain?"; domain="+n.domain:"",n.secure?"; secure":""].join("")}for(var r,s=t?void 0:{},a=document.cookie?document.cookie.split("; "):[],l=0,c=a.length;l<c;l++){var u=a[l].split("="),h=(r=u.shift(),m.raw?r:decodeURIComponent(r)),p=u.join("=");if(t&&t===h){s=g(p,e);break}t||void 0===(p=g(p))||(s[h]=p)}return s};m.defaults={},f.removeCookie=function(t,e){return void 0!==f.cookie(t)&&(f.cookie(t,"",f.extend({},e,{expires:-1})),!f.cookie(t))}}),jQuery(document).ready(function(r){var s;function n(){function t(t){var e=r("<span>").appendTo(this).after('<span id="blinker" style="background:green">&nbsp;&nbsp;</span>'),n=r("<style>p.input {visibility: hidden} p.input.old {visibility: visible}</style>").appendTo("head");r("p.input").addClass("old");var i=0,o=setInterval(function(){e.text(t.substr(0,i++)),i>t.length&&(r("#blinker").remove(),n.remove(),r("[contenteditable]")[0].focus(),clearInterval(o))},100)}r(".thermo-intro").cli(function(t){return 1<t.length&&(localStorage.setItem("person",t),r(".terminal-welcome").delay(5500).queue(function(t){r(this).modal("hide"),t()})),"I will close this terminal now. Thank You "+t},null,t),r(".thermo").cli(function(t){if(/exit/i.test(t)&&r(".terminal").modal("hide"),!/contact/i.test(t))return/help/i.test(t)?"I need somebody!":/hello/i.test(t)?"Hello to you!":/what/i.test(t)?"This is a website silly human":/and/i.test(t)?"and what?":/who/i.test(t)?"David A. Windham":/when/i.test(t)?"Yesterday":/how/i.test(t)?"JavaScript is a dynamic computer programming language":/why/i.test(t)?"For fun":/you/i.test(t)?"your mama":/cd ../i.test(t)?"Oh, I see":/thermonuclear/i.test(t)?"Wouldn't you prefer a nice game of chess?":t.length<3?"type 'exit' to close":"command not found: "+t;r(".terminal-welcome").delay(2500).queue(function(t){window.location.assign("/contact/")})},null,t),r("p.input").on("touchstart click",function(t){t.preventDefault(),r("[contenteditable]")[0].focus()})}r(function(){var t="windhamdavid-cookie";if(null==r.cookie(t))r.cookie(t,"yum-cookies",{expires:7,path:"/"}),r(".terminal-welcome").modal("show"),r(".welcome").typed({strings:["Hey,","Hello,\n^10Welcome to ^10my domain ^10...^10","Hello, \nWelcome to my little corner of the internet. \n^10It is nice to ","Hello, \nWelcome to my little corner of the internet. \nWhat is your name?^200\n"],typeSpeed:30,backSpeed:50,startDelay:0,backDelay:0,loop:!1,loopCount:!1,attr:null,callback:function(){n()}});else{if(r(".terminal").modal("show"),null===localStorage.getItem("person"))var e="anonymous person";else e=localStorage.getItem("person");r(".welcome-back-text").typed({strings:["...","Welcome back "+e],typeSpeed:30,backSpeed:10,startDelay:0,backDelay:100,loop:!1,loopCount:!1,attr:null,callback:function(){n()}})}}),(s=jQuery).fn.cli=function(i,t,o){return t=t||'<span class="u">you</span><span class="at">@</span><span class="mee">david</span>&nbsp;&gt;&nbsp;',o=o||s.fn.text,this.each(function(){var e=s(this);function n(){e.append("<p class=input><span class=prompt>"+t+"</span><span style=outline:none contenteditable></span></p>");try{s("[contenteditable]",e)[0].focus()}catch(t){}}n(),e.on("keydown","[contenteditable]",function(t){if(13===t.keyCode)return s(this).removeAttr("contenteditable"),o.call(s("<p class=response>").appendTo(e),i(this.textContent||this.innerText)),n(),!1})})}}),function(u,h){function p(t,e,n){var i=m[e.type]||{};return null==t?n||!e.def?null:e.def:(t=i.floor?~~t:parseFloat(t),isNaN(t)?e.def:i.mod?(t+i.mod)%i.mod:t<0?0:i.max<t?i.max:t)}function a(s){var a=d(),l=a._rgba=[];return s=s.toLowerCase(),v(t,function(t,e){var n,i=e.re.exec(s),o=i&&e.parse(i),r=e.space||"rgba";if(o)return n=a[r](o),a[g[r].cache]=n[g[r].cache],l=a._rgba=n._rgba,!1}),l.length?("0,0,0,0"===l.join()&&u.extend(l,c.transparent),a):c[s]}function l(t,e,n){return 6*(n=(n+1)%1)<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}var c,f=/^([\-+])=\s*(\d+\.?\d*)/,t=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],t[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(t){return[t[1],t[2]/100,t[3]/100,t[4]]}}],d=u.Color=function(t,e,n,i){return new u.Color.fn.parse(t,e,n,i)},g={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},m={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},s=d.support={},e=u("<p>")[0],v=u.each;e.style.cssText="background-color:rgba(1,1,1,.5)",s.rgba=-1<e.style.backgroundColor.indexOf("rgba"),v(g,function(t,e){e.cache="_"+t,e.props.alpha={idx:3,type:"percent",def:1}}),d.fn=u.extend(d.prototype,{parse:function(o,t,e,n){if(o===h)return this._rgba=[null,null,null,null],this;(o.jquery||o.nodeType)&&(o=u(o).css(t),t=h);var r=this,i=u.type(o),s=this._rgba=[];return t!==h&&(o=[o,t,e,n],i="array"),"string"===i?this.parse(a(o)||c._default):"array"===i?(v(g.rgba.props,function(t,e){s[e.idx]=p(o[e.idx],e)}),this):"object"===i?(v(g,o instanceof d?function(t,e){o[e.cache]&&(r[e.cache]=o[e.cache].slice())}:function(t,n){var i=n.cache;v(n.props,function(t,e){if(!r[i]&&n.to){if("alpha"===t||null==o[t])return;r[i]=n.to(r._rgba)}r[i][e.idx]=p(o[t],e,!0)}),r[i]&&u.inArray(null,r[i].slice(0,3))<0&&(r[i][3]=1,n.from&&(r._rgba=n.from(r[i])))}),this):void 0},is:function(t){var o=d(t),r=!0,s=this;return v(g,function(t,e){var n,i=o[e.cache];return i&&(n=s[e.cache]||e.to&&e.to(s._rgba)||[],v(e.props,function(t,e){if(null!=i[e.idx])return r=i[e.idx]===n[e.idx]})),r}),r},_space:function(){var n=[],i=this;return v(g,function(t,e){i[e.cache]&&n.push(t)}),n.pop()},transition:function(t,s){var a=d(t),e=a._space(),n=g[e],i=0===this.alpha()?d("transparent"):this,l=i[n.cache]||n.to(i._rgba),c=l.slice();return a=a[n.cache],v(n.props,function(t,e){var n=e.idx,i=l[n],o=a[n],r=m[e.type]||{};null!==o&&(null===i?c[n]=o:(r.mod&&(o-i>r.mod/2?i+=r.mod:i-o>r.mod/2&&(i-=r.mod)),c[n]=p((o-i)*s+i,e)))}),this[e](c)},blend:function(t){if(1===this._rgba[3])return this;var e=this._rgba.slice(),n=e.pop(),i=d(t)._rgba;return d(u.map(e,function(t,e){return(1-n)*i[e]+n*t}))},toRgbaString:function(){var t="rgba(",e=u.map(this._rgba,function(t,e){return null==t?2<e?1:0:t});return 1===e[3]&&(e.pop(),t="rgb("),t+e.join()+")"},toHslaString:function(){var t="hsla(",e=u.map(this.hsla(),function(t,e){return null==t&&(t=2<e?1:0),e&&e<3&&(t=Math.round(100*t)+"%"),t});return 1===e[3]&&(e.pop(),t="hsl("),t+e.join()+")"},toHexString:function(t){var e=this._rgba.slice(),n=e.pop();return t&&e.push(~~(255*n)),"#"+u.map(e,function(t){return 1===(t=(t||0).toString(16)).length?"0"+t:t}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),d.fn.parse.prototype=d.fn,g.hsla.to=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e,n,i=t[0]/255,o=t[1]/255,r=t[2]/255,s=t[3],a=Math.max(i,o,r),l=Math.min(i,o,r),c=a-l,u=a+l,h=.5*u;return e=l===a?0:i===a?60*(o-r)/c+360:o===a?60*(r-i)/c+120:60*(i-o)/c+240,n=0==c?0:h<=.5?c/u:c/(2-u),[Math.round(e)%360,n,h,null==s?1:s]},g.hsla.from=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e=t[0]/360,n=t[1],i=t[2],o=t[3],r=i<=.5?i*(1+n):i+n-i*n,s=2*i-r;return[Math.round(255*l(s,r,e+1/3)),Math.round(255*l(s,r,e)),Math.round(255*l(s,r,e-1/3)),o]},v(g,function(l,t){var n=t.props,s=t.cache,a=t.to,c=t.from;d.fn[l]=function(t){if(a&&!this[s]&&(this[s]=a(this._rgba)),t===h)return this[s].slice();var e,i=u.type(t),o="array"===i||"object"===i?t:arguments,r=this[s].slice();return v(n,function(t,e){var n=o["object"===i?t:e.idx];null==n&&(n=r[e.idx]),r[e.idx]=p(n,e)}),c?((e=d(c(r)))[s]=r,e):d(r)},v(n,function(s,a){d.fn[s]||(d.fn[s]=function(t){var e,n=u.type(t),i="alpha"===s?this._hsla?"hsla":"rgba":l,o=this[i](),r=o[a.idx];return"undefined"===n?r:("function"===n&&(t=t.call(this,r),n=u.type(t)),null==t&&a.empty?this:("string"===n&&((e=f.exec(t))&&(t=r+parseFloat(e[2])*("+"===e[1]?1:-1))),o[a.idx]=t,this[i](o)))})})}),d.hook=function(t){var e=t.split(" ");v(e,function(t,r){u.cssHooks[r]={set:function(t,e){var n,i,o="";if("transparent"!==e&&("string"!==u.type(e)||(n=a(e)))){if(e=d(n||e),!s.rgba&&1!==e._rgba[3]){for(i="backgroundColor"===r?t.parentNode:t;(""===o||"transparent"===o)&&i&&i.style;)try{o=u.css(i,"backgroundColor"),i=i.parentNode}catch(t){}e=e.blend(o&&"transparent"!==o?o:"_default")}e=e.toRgbaString()}try{t.style[r]=e}catch(t){}}},u.fx.step[r]=function(t){t.colorInit||(t.start=d(t.elem,r),t.end=d(t.end),t.colorInit=!0),u.cssHooks[r].set(t.elem,t.start.transition(t.end,t.pos))}})},d.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),u.cssHooks.borderColor={expand:function(n){var i={};return v(["Top","Right","Bottom","Left"],function(t,e){i["border"+e+"Color"]=n}),i}},c=u.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(jQuery),function(r){r.fn.swapAttr=function(o){if(!o)o="title";return this.each(function(){r(this).hover(function(){var t=r(this),e=t.text(),n=t.attr(o),i=t.width();n&&(t.text(n).attr("data-defaultText",e),i>t.width()&&t.width(i))},function(){var t=r(this),e=t.attr("data-defaultText");t.text(e).removeAttr("data-defaultText").width("auto")})})}}(jQuery),$(document).ready(function(){$("a").hover(function(){var t="rgb("+Math.floor(256*Math.random())+","+Math.floor(256*Math.random())+","+Math.floor(256*Math.random())+")";$(this).stop().animate({color:t},300)},function(){$(this).stop().animate({color:col},300)});var t=new SVGMorpheus("#icon");$("a.zw-card").hover(function(){t.to("zw",{duration:1e3,easing:"quad-in-out",rotation:"random"})}),$("a.dw-card").hover(function(){t.to("dw",{duration:1e3,easing:"quad-in-out",rotation:"random"})}),$("a.phone-card").hover(function(){t.to("phone",{duration:1e3,easing:"quad-in-out",rotation:"random"})}),$("span.mail-card").hover(function(){t.to("mail",{duration:1e3,easing:"quad-in-out",rotation:"random"})}),$("a.about-card").hover(function(){t.to("about",{duration:1e3,easing:"quad-in-out",rotation:"clock"})}),$("a.code-card").hover(function(){t.to("code",{duration:1e3,easing:"quad-in-out",rotation:"random"})}),$("a.desk-card").hover(function(){t.to("desk",{duration:1e3,easing:"quad-in-out",rotation:"counterclock"})}),$("a.studio-card").hover(function(){t.to("studio",{duration:1e3,easing:"quad-in-out",rotation:"clock"})}),$("a.contact-card").hover(function(){t.to("contact",{duration:1e3,easing:"quad-in-out",rotation:"random"})})});