/*! jQuery v1.11.0 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ /*! * Bootstrap v3.1.0 (http://getbootstrap.com) * Copyright 2011-2014 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ if(function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,(function(e,t){var n=[],i=n.slice,o=n.concat,s=n.push,r=n.indexOf,a={},l=a.toString,c=a.hasOwnProperty,d="".trim,u={},p="1.11.0",f=function(e,t){return new f.fn.init(e,t)},h=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,m=/^-ms-/,v=/-([\da-z])/gi,g=function(e,t){return t.toUpperCase()};function y(e){var t=e.length,n=f.type(e);return"function"!==n&&!f.isWindow(e)&&(!(1!==e.nodeType||!t)||("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e))}f.fn=f.prototype={jquery:p,constructor:f,selector:"",length:0,toArray:function(){return i.call(this)},get:function(e){return null!=e?0>e?this[e+this.length]:this[e]:i.call(this)},pushStack:function(e){var t=f.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return f.each(this,e,t)},map:function(e){return this.pushStack(f.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(i.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:s,sort:n.sort,splice:n.splice},f.extend=f.fn.extend=function(){var e,t,n,i,o,s,r=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof r&&(c=r,r=arguments[a]||{},a++),"object"==typeof r||f.isFunction(r)||(r={}),a===l&&(r=this,a--);l>a;a++)if(null!=(o=arguments[a]))for(i in o)e=r[i],r!==(n=o[i])&&(c&&n&&(f.isPlainObject(n)||(t=f.isArray(n)))?(t?(t=!1,s=e&&f.isArray(e)?e:[]):s=e&&f.isPlainObject(e)?e:{},r[i]=f.extend(c,s,n)):void 0!==n&&(r[i]=n));return r},f.extend({expando:"jQuery"+(p+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===f.type(e)},isArray:Array.isArray||function(e){return"array"===f.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return e-parseFloat(e)>=0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||"object"!==f.type(e)||e.nodeType||f.isWindow(e))return!1;try{if(e.constructor&&!c.call(e,"constructor")&&!c.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}if(u.ownLast)for(t in e)return c.call(e,t);for(t in e);return void 0===t||c.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?a[l.call(e)]||"object":typeof e},globalEval:function(t){t&&f.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(m,"ms-").replace(v,g)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var i=0,o=e.length,s=y(e);if(n){if(s)for(;o>i&&!1!==t.apply(e[i],n);i++);else for(i in e)if(!1===t.apply(e[i],n))break}else if(s)for(;o>i&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},trim:d&&!d.call("\ufeff ")?function(e){return null==e?"":d.call(e)}:function(e){return null==e?"":(e+"").replace(h,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(y(Object(e))?f.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){var i;if(t){if(r)return r.call(t,e,n);for(i=t.length,n=n?0>n?Math.max(0,i+n):n:0;i>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){for(var n=+t.length,i=0,o=e.length;n>i;)e[o++]=t[i++];if(n!=n)for(;void 0!==t[i];)e[o++]=t[i++];return e.length=o,e},grep:function(e,t,n){for(var i=[],o=0,s=e.length,r=!n;s>o;o++)!t(e[o],o)!==r&&i.push(e[o]);return i},map:function(e,t,n){var i,s=0,r=e.length,a=[];if(y(e))for(;r>s;s++)null!=(i=t(e[s],s,n))&&a.push(i);else for(s in e)null!=(i=t(e[s],s,n))&&a.push(i);return o.apply([],a)},guid:1,proxy:function(e,t){var n,o,s;return"string"==typeof t&&(s=e[t],t=e,e=s),f.isFunction(e)?(n=i.call(arguments,2),o=function(){return e.apply(t||this,n.concat(i.call(arguments)))},o.guid=e.guid=e.guid||f.guid++,o):void 0},now:function(){return+new Date},support:u}),f.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),(function(e,t){a["[object "+t+"]"]=t.toLowerCase()}));var b=function(e){var t,n,i,o,s,r,a,l,c,d,u,p,f,h,m,v,g,y="sizzle"+-new Date,b=e.document,w=0,x=0,C=ie(),k=ie(),$=ie(),T=function(e,t){return e===t&&(c=!0),0},S="undefined",E=1<<31,A={}.hasOwnProperty,P=[],N=P.pop,L=P.push,j=P.push,D=P.slice,I=P.indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(this[t]===e)return t;return-1},M="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",O="[\\x20\\t\\r\\n\\f]",H="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",z=H.replace("w","w#"),F="\\["+O+"*("+H+")"+O+"*(?:([*^$|!~]?=)"+O+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+z+")|)|)"+O+"*\\]",q=":("+H+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+F.replace(3,8)+")*)|.*)\\)|)",_=new RegExp("^"+O+"+|((?:^|[^\\\\])(?:\\\\.)*)"+O+"+$","g"),R=new RegExp("^"+O+"*,"+O+"*"),B=new RegExp("^"+O+"*([>+~]|"+O+")"+O+"*"),W=new RegExp("="+O+"*([^\\]'\"]*?)"+O+"*\\]","g"),U=new RegExp(q),X=new RegExp("^"+z+"$"),V={ID:new RegExp("^#("+H+")"),CLASS:new RegExp("^\\.("+H+")"),TAG:new RegExp("^("+H.replace("w","w*")+")"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+q),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("^(?:"+M+")$","i"),needsContext:new RegExp("^"+O+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+O+"*((?:-\\d)?\\d*)"+O+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,K=/[+~]/,J=/'|\\/g,ee=new RegExp("\\\\([\\da-f]{1,6}"+O+"?|("+O+")|.)","ig"),te=function(e,t,n){var i="0x"+t-65536;return i!=i||n?t:0>i?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)};try{j.apply(P=D.call(b.childNodes),b.childNodes),P[b.childNodes.length].nodeType}catch(e){j={apply:P.length?function(e,t){L.apply(e,D.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function ne(e,t,i,o){var s,r,a,l,c,p,m,v,w,x;if((t?t.ownerDocument||t:b)!==u&&d(t),i=i||[],!e||"string"!=typeof e)return i;if(1!==(l=(t=t||u).nodeType)&&9!==l)return[];if(f&&!o){if(s=Z.exec(e))if(a=s[1]){if(9===l){if(!(r=t.getElementById(a))||!r.parentNode)return i;if(r.id===a)return i.push(r),i}else if(t.ownerDocument&&(r=t.ownerDocument.getElementById(a))&&g(t,r)&&r.id===a)return i.push(r),i}else{if(s[2])return j.apply(i,t.getElementsByTagName(e)),i;if((a=s[3])&&n.getElementsByClassName&&t.getElementsByClassName)return j.apply(i,t.getElementsByClassName(a)),i}if(n.qsa&&(!h||!h.test(e))){if(v=m=y,w=t,x=9===l&&e,1===l&&"object"!==t.nodeName.toLowerCase()){for(p=fe(e),(m=t.getAttribute("id"))?v=m.replace(J,"\\$&"):t.setAttribute("id",v),v="[id='"+v+"'] ",c=p.length;c--;)p[c]=v+he(p[c]);w=K.test(e)&&ue(t.parentNode)||t,x=p.join(",")}if(x)try{return j.apply(i,w.querySelectorAll(x)),i}catch(e){}finally{m||t.removeAttribute("id")}}}return xe(e.replace(_,"$1"),t,i,o)}function ie(){var e=[];return function t(n,o){return e.push(n+" ")>i.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function oe(e){return e[y]=!0,e}function se(e){var t=u.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function re(e,t){for(var n=e.split("|"),o=e.length;o--;)i.attrHandle[n[o]]=t}function ae(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||E)-(~e.sourceIndex||E);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function le(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function ce(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function de(e){return oe((function(t){return t=+t,oe((function(n,i){for(var o,s=e([],n.length,t),r=s.length;r--;)n[o=s[r]]&&(n[o]=!(i[o]=n[o]))}))}))}function ue(e){return e&&typeof e.getElementsByTagName!==S&&e}for(t in n=ne.support={},s=ne.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},d=ne.setDocument=function(e){var t,o=e?e.ownerDocument||e:b,r=o.defaultView;return o!==u&&9===o.nodeType&&o.documentElement?(u=o,p=o.documentElement,f=!s(o),r&&r!==r.top&&(r.addEventListener?r.addEventListener("unload",(function(){d()}),!1):r.attachEvent&&r.attachEvent("onunload",(function(){d()}))),n.attributes=se((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=se((function(e){return e.appendChild(o.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=Q.test(o.getElementsByClassName)&&se((function(e){return e.innerHTML="
",e.firstChild.className="i",2===e.getElementsByClassName("i").length})),n.getById=se((function(e){return p.appendChild(e).id=y,!o.getElementsByName||!o.getElementsByName(y).length})),n.getById?(i.find.ID=function(e,t){if(typeof t.getElementById!==S&&f){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},i.filter.ID=function(e){var t=e.replace(ee,te);return function(e){return e.getAttribute("id")===t}}):(delete i.find.ID,i.filter.ID=function(e){var t=e.replace(ee,te);return function(e){var n=typeof e.getAttributeNode!==S&&e.getAttributeNode("id");return n&&n.value===t}}),i.find.TAG=n.getElementsByTagName?function(e,t){return typeof t.getElementsByTagName!==S?t.getElementsByTagName(e):void 0}:function(e,t){var n,i=[],o=0,s=t.getElementsByTagName(e);if("*"===e){for(;n=s[o++];)1===n.nodeType&&i.push(n);return i}return s},i.find.CLASS=n.getElementsByClassName&&function(e,t){return typeof t.getElementsByClassName!==S&&f?t.getElementsByClassName(e):void 0},m=[],h=[],(n.qsa=Q.test(o.querySelectorAll))&&(se((function(e){e.innerHTML="",e.querySelectorAll("[t^='']").length&&h.push("[*^$]="+O+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||h.push("\\["+O+"*(?:value|"+M+")"),e.querySelectorAll(":checked").length||h.push(":checked")})),se((function(e){var t=o.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&h.push("name"+O+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||h.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),h.push(",.*:")}))),(n.matchesSelector=Q.test(v=p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&se((function(e){n.disconnectedMatch=v.call(e,"div"),v.call(e,"[s!='']:x"),m.push("!=",q)})),h=h.length&&new RegExp(h.join("|")),m=m.length&&new RegExp(m.join("|")),t=Q.test(p.compareDocumentPosition),g=t||Q.test(p.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},T=t?function(e,t){if(e===t)return c=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===i?e===o||e.ownerDocument===b&&g(b,e)?-1:t===o||t.ownerDocument===b&&g(b,t)?1:l?I.call(l,e)-I.call(l,t):0:4&i?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,i=0,s=e.parentNode,r=t.parentNode,a=[e],d=[t];if(!s||!r)return e===o?-1:t===o?1:s?-1:r?1:l?I.call(l,e)-I.call(l,t):0;if(s===r)return ae(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)d.unshift(n);for(;a[i]===d[i];)i++;return i?ae(a[i],d[i]):a[i]===b?-1:d[i]===b?1:0},o):u},ne.matches=function(e,t){return ne(e,null,null,t)},ne.matchesSelector=function(e,t){if((e.ownerDocument||e)!==u&&d(e),t=t.replace(W,"='$1']"),!(!n.matchesSelector||!f||m&&m.test(t)||h&&h.test(t)))try{var i=v.call(e,t);if(i||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){}return ne(t,u,null,[e]).length>0},ne.contains=function(e,t){return(e.ownerDocument||e)!==u&&d(e),g(e,t)},ne.attr=function(e,t){(e.ownerDocument||e)!==u&&d(e);var o=i.attrHandle[t.toLowerCase()],s=o&&A.call(i.attrHandle,t.toLowerCase())?o(e,t,!f):void 0;return void 0!==s?s:n.attributes||!f?e.getAttribute(t):(s=e.getAttributeNode(t))&&s.specified?s.value:null},ne.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ne.uniqueSort=function(e){var t,i=[],o=0,s=0;if(c=!n.detectDuplicates,l=!n.sortStable&&e.slice(0),e.sort(T),c){for(;t=e[s++];)t===e[s]&&(o=i.push(s));for(;o--;)e.splice(i[o],1)}return l=null,e},o=ne.getText=function(e){var t,n="",i=0,s=e.nodeType;if(s){if(1===s||9===s||11===s){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===s||4===s)return e.nodeValue}else for(;t=e[i++];)n+=o(t);return n},i=ne.selectors={cacheLength:50,createPseudo:oe,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ee,te),e[3]=(e[4]||e[5]||"").replace(ee,te),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ne.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ne.error(e[0]),e},PSEUDO:function(e){var t,n=!e[5]&&e[2];return V.CHILD.test(e[0])?null:(e[3]&&void 0!==e[4]?e[2]=e[4]:n&&U.test(n)&&(t=fe(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ee,te).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=C[e+" "];return t||(t=new RegExp("(^|"+O+")"+e+"("+O+"|$)"))&&C(e,(function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==S&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(i){var o=ne.attr(i,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,o){var s="nth"!==e.slice(0,3),r="last"!==e.slice(-4),a="of-type"===t;return 1===i&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var c,d,u,p,f,h,m=s!==r?"nextSibling":"previousSibling",v=t.parentNode,g=a&&t.nodeName.toLowerCase(),b=!l&&!a;if(v){if(s){for(;m;){for(u=t;u=u[m];)if(a?u.nodeName.toLowerCase()===g:1===u.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[r?v.firstChild:v.lastChild],r&&b){for(f=(c=(d=v[y]||(v[y]={}))[e]||[])[0]===w&&c[1],p=c[0]===w&&c[2],u=f&&v.childNodes[f];u=++f&&u&&u[m]||(p=f=0)||h.pop();)if(1===u.nodeType&&++p&&u===t){d[e]=[w,f,p];break}}else if(b&&(c=(t[y]||(t[y]={}))[e])&&c[0]===w)p=c[1];else for(;(u=++f&&u&&u[m]||(p=f=0)||h.pop())&&((a?u.nodeName.toLowerCase()!==g:1!==u.nodeType)||!++p||(b&&((u[y]||(u[y]={}))[e]=[w,p]),u!==t)););return(p-=o)===i||p%i==0&&p/i>=0}}},PSEUDO:function(e,t){var n,o=i.pseudos[e]||i.setFilters[e.toLowerCase()]||ne.error("unsupported pseudo: "+e);return o[y]?o(t):o.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?oe((function(e,n){for(var i,s=o(e,t),r=s.length;r--;)e[i=I.call(e,s[r])]=!(n[i]=s[r])})):function(e){return o(e,0,n)}):o}},pseudos:{not:oe((function(e){var t=[],n=[],i=r(e.replace(_,"$1"));return i[y]?oe((function(e,t,n,o){for(var s,r=i(e,null,o,[]),a=e.length;a--;)(s=r[a])&&(e[a]=!(t[a]=s))})):function(e,o,s){return t[0]=e,i(t,null,s,n),!n.pop()}})),has:oe((function(e){return function(t){return ne(e,t).length>0}})),contains:oe((function(e){return function(t){return(t.textContent||t.innerText||o(t)).indexOf(e)>-1}})),lang:oe((function(e){return X.test(e||"")||ne.error("unsupported lang: "+e),e=e.replace(ee,te).toLowerCase(),function(t){var n;do{if(n=f?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===p},focus:function(e){return e===u.activeElement&&(!u.hasFocus||u.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return G.test(e.nodeName)},input:function(e){return Y.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:de((function(){return[0]})),last:de((function(e,t){return[t-1]})),eq:de((function(e,t,n){return[0>n?n+t:n]})),even:de((function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e})),odd:de((function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e})),lt:de((function(e,t,n){for(var i=0>n?n+t:n;--i>=0;)e.push(i);return e})),gt:de((function(e,t,n){for(var i=0>n?n+t:n;++it;t++)i+=e[t].value;return i}function me(e,t,n){var i=t.dir,o=n&&"parentNode"===i,s=x++;return t.first?function(t,n,s){for(;t=t[i];)if(1===t.nodeType||o)return e(t,n,s)}:function(t,n,r){var a,l,c=[w,s];if(r){for(;t=t[i];)if((1===t.nodeType||o)&&e(t,n,r))return!0}else for(;t=t[i];)if(1===t.nodeType||o){if((a=(l=t[y]||(t[y]={}))[i])&&a[0]===w&&a[1]===s)return c[2]=a[2];if(l[i]=c,c[2]=e(t,n,r))return!0}}}function ve(e){return e.length>1?function(t,n,i){for(var o=e.length;o--;)if(!e[o](t,n,i))return!1;return!0}:e[0]}function ge(e,t,n,i,o){for(var s,r=[],a=0,l=e.length,c=null!=t;l>a;a++)(s=e[a])&&(!n||n(s,i,o))&&(r.push(s),c&&t.push(a));return r}function ye(e,t,n,i,o,s){return i&&!i[y]&&(i=ye(i)),o&&!o[y]&&(o=ye(o,s)),oe((function(s,r,a,l){var c,d,u,p=[],f=[],h=r.length,m=s||function(e,t,n){for(var i=0,o=t.length;o>i;i++)ne(e,t[i],n);return n}(t||"*",a.nodeType?[a]:a,[]),v=!e||!s&&t?m:ge(m,p,e,a,l),g=n?o||(s?e:h||i)?[]:r:v;if(n&&n(v,g,a,l),i)for(c=ge(g,f),i(c,[],a,l),d=c.length;d--;)(u=c[d])&&(g[f[d]]=!(v[f[d]]=u));if(s){if(o||e){if(o){for(c=[],d=g.length;d--;)(u=g[d])&&c.push(v[d]=u);o(null,g=[],c,l)}for(d=g.length;d--;)(u=g[d])&&(c=o?I.call(s,u):p[d])>-1&&(s[c]=!(r[c]=u))}}else g=ge(g===r?g.splice(h,g.length):g),o?o(null,r,g,l):j.apply(r,g)}))}function be(e){for(var t,n,o,s=e.length,r=i.relative[e[0].type],l=r||i.relative[" "],c=r?1:0,d=me((function(e){return e===t}),l,!0),u=me((function(e){return I.call(t,e)>-1}),l,!0),p=[function(e,n,i){return!r&&(i||n!==a)||((t=n).nodeType?d(e,n,i):u(e,n,i))}];s>c;c++)if(n=i.relative[e[c].type])p=[me(ve(p),n)];else{if((n=i.filter[e[c].type].apply(null,e[c].matches))[y]){for(o=++c;s>o&&!i.relative[e[o].type];o++);return ye(c>1&&ve(p),c>1&&he(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(_,"$1"),n,o>c&&be(e.slice(c,o)),s>o&&be(e=e.slice(o)),s>o&&he(e))}p.push(n)}return ve(p)}function we(e,t){var n=t.length>0,o=e.length>0,s=function(s,r,l,c,d){var p,f,h,m=0,v="0",g=s&&[],y=[],b=a,x=s||o&&i.find.TAG("*",d),C=w+=null==b?1:Math.random()||.1,k=x.length;for(d&&(a=r!==u&&r);v!==k&&null!=(p=x[v]);v++){if(o&&p){for(f=0;h=e[f++];)if(h(p,r,l)){c.push(p);break}d&&(w=C)}n&&((p=!h&&p)&&m--,s&&g.push(p))}if(m+=v,n&&v!==m){for(f=0;h=t[f++];)h(g,y,r,l);if(s){if(m>0)for(;v--;)g[v]||y[v]||(y[v]=N.call(c));y=ge(y)}j.apply(c,y),d&&!s&&y.length>0&&m+t.length>1&&ne.uniqueSort(c)}return d&&(w=C,a=b),g};return n?oe(s):s}function xe(e,t,o,s){var a,l,c,d,u,p=fe(e);if(!s&&1===p.length){if((l=p[0]=p[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&n.getById&&9===t.nodeType&&f&&i.relative[l[1].type]){if(!(t=(i.find.ID(c.matches[0].replace(ee,te),t)||[])[0]))return o;e=e.slice(l.shift().value.length)}for(a=V.needsContext.test(e)?0:l.length;a--&&(c=l[a],!i.relative[d=c.type]);)if((u=i.find[d])&&(s=u(c.matches[0].replace(ee,te),K.test(l[0].type)&&ue(t.parentNode)||t))){if(l.splice(a,1),!(e=s.length&&he(l)))return j.apply(o,s),o;break}}return r(e,p)(s,t,!f,o,K.test(e)&&ue(t.parentNode)||t),o}return pe.prototype=i.filters=i.pseudos,i.setFilters=new pe,r=ne.compile=function(e,t){var n,i=[],o=[],s=$[e+" "];if(!s){for(t||(t=fe(e)),n=t.length;n--;)(s=be(t[n]))[y]?i.push(s):o.push(s);s=$(e,we(o,i))}return s},n.sortStable=y.split("").sort(T).join("")===y,n.detectDuplicates=!!c,d(),n.sortDetached=se((function(e){return 1&e.compareDocumentPosition(u.createElement("div"))})),se((function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")}))||re("type|href|height|width",(function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&se((function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||re("value",(function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue})),se((function(e){return null==e.getAttribute("disabled")}))||re(M,(function(e,t,n){var i;return n?void 0:!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null})),ne}(e);f.find=b,f.expr=b.selectors,f.expr[":"]=f.expr.pseudos,f.unique=b.uniqueSort,f.text=b.getText,f.isXMLDoc=b.isXML,f.contains=b.contains;var w=f.expr.match.needsContext,x=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,C=/^.[^:#\[\.,]*$/;function k(e,t,n){if(f.isFunction(t))return f.grep(e,(function(e,i){return!!t.call(e,i,e)!==n}));if(t.nodeType)return f.grep(e,(function(e){return e===t!==n}));if("string"==typeof t){if(C.test(t))return f.filter(t,e,n);t=f.filter(t,e)}return f.grep(e,(function(e){return f.inArray(e,t)>=0!==n}))}f.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?f.find.matchesSelector(i,e)?[i]:[]:f.find.matches(e,f.grep(t,(function(e){return 1===e.nodeType})))},f.fn.extend({find:function(e){var t,n=[],i=this,o=i.length;if("string"!=typeof e)return this.pushStack(f(e).filter((function(){for(t=0;o>t;t++)if(f.contains(i[t],this))return!0})));for(t=0;o>t;t++)f.find(e,i[t],n);return(n=this.pushStack(o>1?f.unique(n):n)).selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(k(this,e||[],!1))},not:function(e){return this.pushStack(k(this,e||[],!0))},is:function(e){return!!k(this,"string"==typeof e&&w.test(e)?f(e):e||[],!1).length}});var $,T=e.document,S=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,E=f.fn.init=function(e,t){var n,i;if(!e)return this;if("string"==typeof e){if(!(n="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:S.exec(e))||!n[1]&&t)return!t||t.jquery?(t||$).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof f?t[0]:t,f.merge(this,f.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:T,!0)),x.test(n[1])&&f.isPlainObject(t))for(n in t)f.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}if((i=T.getElementById(n[2]))&&i.parentNode){if(i.id!==n[2])return $.find(e);this.length=1,this[0]=i}return this.context=T,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):f.isFunction(e)?void 0!==$.ready?$.ready(e):e(f):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),f.makeArray(e,this))};E.prototype=f.fn,$=f(T);var A=/^(?:parents|prev(?:Until|All))/,P={children:!0,contents:!0,next:!0,prev:!0};function N(e,t){do{e=e[t]}while(e&&1!==e.nodeType);return e}f.extend({dir:function(e,t,n){for(var i=[],o=e[t];o&&9!==o.nodeType&&(void 0===n||1!==o.nodeType||!f(o).is(n));)1===o.nodeType&&i.push(o),o=o[t];return i},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}}),f.fn.extend({has:function(e){var t,n=f(e,this),i=n.length;return this.filter((function(){for(t=0;i>t;t++)if(f.contains(this,n[t]))return!0}))},closest:function(e,t){for(var n,i=0,o=this.length,s=[],r=w.test(e)||"string"!=typeof e?f(e,t||this.context):0;o>i;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(r?r.index(n)>-1:1===n.nodeType&&f.find.matchesSelector(n,e))){s.push(n);break}return this.pushStack(s.length>1?f.unique(s):s)},index:function(e){return e?"string"==typeof e?f.inArray(this[0],f(e)):f.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(f.unique(f.merge(this.get(),f(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),f.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return f.dir(e,"parentNode")},parentsUntil:function(e,t,n){return f.dir(e,"parentNode",n)},next:function(e){return N(e,"nextSibling")},prev:function(e){return N(e,"previousSibling")},nextAll:function(e){return f.dir(e,"nextSibling")},prevAll:function(e){return f.dir(e,"previousSibling")},nextUntil:function(e,t,n){return f.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return f.dir(e,"previousSibling",n)},siblings:function(e){return f.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return f.sibling(e.firstChild)},contents:function(e){return f.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:f.merge([],e.childNodes)}},(function(e,t){f.fn[e]=function(n,i){var o=f.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(o=f.filter(i,o)),this.length>1&&(P[e]||(o=f.unique(o)),A.test(e)&&(o=o.reverse())),this.pushStack(o)}}));var L,j=/\S+/g,D={};function I(){T.addEventListener?(T.removeEventListener("DOMContentLoaded",M,!1),e.removeEventListener("load",M,!1)):(T.detachEvent("onreadystatechange",M),e.detachEvent("onload",M))}function M(){(T.addEventListener||"load"===event.type||"complete"===T.readyState)&&(I(),f.ready())}f.Callbacks=function(e){e="string"==typeof e?D[e]||function(e){var t=D[e]={};return f.each(e.match(j)||[],(function(e,n){t[n]=!0})),t}(e):f.extend({},e);var t,n,i,o,s,r,a=[],l=!e.once&&[],c=function(u){for(n=e.memory&&u,i=!0,s=r||0,r=0,o=a.length,t=!0;a&&o>s;s++)if(!1===a[s].apply(u[0],u[1])&&e.stopOnFalse){n=!1;break}t=!1,a&&(l?l.length&&c(l.shift()):n?a=[]:d.disable())},d={add:function(){if(a){var i=a.length;!function t(n){f.each(n,(function(n,i){var o=f.type(i);"function"===o?e.unique&&d.has(i)||a.push(i):i&&i.length&&"string"!==o&&t(i)}))}(arguments),t?o=a.length:n&&(r=i,c(n))}return this},remove:function(){return a&&f.each(arguments,(function(e,n){for(var i;(i=f.inArray(n,a,i))>-1;)a.splice(i,1),t&&(o>=i&&o--,s>=i&&s--)})),this},has:function(e){return e?f.inArray(e,a)>-1:!(!a||!a.length)},empty:function(){return a=[],o=0,this},disable:function(){return a=l=n=void 0,this},disabled:function(){return!a},lock:function(){return l=void 0,n||d.disable(),this},locked:function(){return!l},fireWith:function(e,n){return!a||i&&!l||(n=[e,(n=n||[]).slice?n.slice():n],t?l.push(n):c(n)),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!i}};return d},f.extend({Deferred:function(e){var t=[["resolve","done",f.Callbacks("once memory"),"resolved"],["reject","fail",f.Callbacks("once memory"),"rejected"],["notify","progress",f.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},then:function(){var e=arguments;return f.Deferred((function(n){f.each(t,(function(t,s){var r=f.isFunction(e[t])&&e[t];o[s[1]]((function(){var e=r&&r.apply(this,arguments);e&&f.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[s[0]+"With"](this===i?n.promise():this,r?[e]:arguments)}))})),e=null})).promise()},promise:function(e){return null!=e?f.extend(e,i):i}},o={};return i.pipe=i.then,f.each(t,(function(e,s){var r=s[2],a=s[3];i[s[1]]=r.add,a&&r.add((function(){n=a}),t[1^e][2].disable,t[2][2].lock),o[s[0]]=function(){return o[s[0]+"With"](this===o?i:this,arguments),this},o[s[0]+"With"]=r.fireWith})),i.promise(o),e&&e.call(o,o),o},when:function(e){var t,n,o,s=0,r=i.call(arguments),a=r.length,l=1!==a||e&&f.isFunction(e.promise)?a:0,c=1===l?e:f.Deferred(),d=function(e,n,o){return function(s){n[e]=this,o[e]=arguments.length>1?i.call(arguments):s,o===t?c.notifyWith(n,o):--l||c.resolveWith(n,o)}};if(a>1)for(t=new Array(a),n=new Array(a),o=new Array(a);a>s;s++)r[s]&&f.isFunction(r[s].promise)?r[s].promise().done(d(s,o,r)).fail(c.reject).progress(d(s,n,t)):--l;return l||c.resolveWith(o,r),c.promise()}}),f.fn.ready=function(e){return f.ready.promise().done(e),this},f.extend({isReady:!1,readyWait:1,holdReady:function(e){e?f.readyWait++:f.ready(!0)},ready:function(e){if(!0===e?!--f.readyWait:!f.isReady){if(!T.body)return setTimeout(f.ready);f.isReady=!0,!0!==e&&--f.readyWait>0||(L.resolveWith(T,[f]),f.fn.trigger&&f(T).trigger("ready").off("ready"))}}}),f.ready.promise=function(t){if(!L)if(L=f.Deferred(),"complete"===T.readyState)setTimeout(f.ready);else if(T.addEventListener)T.addEventListener("DOMContentLoaded",M,!1),e.addEventListener("load",M,!1);else{T.attachEvent("onreadystatechange",M),e.attachEvent("onload",M);var n=!1;try{n=null==e.frameElement&&T.documentElement}catch(e){}n&&n.doScroll&&function e(){if(!f.isReady){try{n.doScroll("left")}catch(t){return setTimeout(e,50)}I(),f.ready()}}()}return L.promise(t)};var O,H="undefined";for(O in f(u))break;u.ownLast="0"!==O,u.inlineBlockNeedsLayout=!1,f((function(){var e,t,n=T.getElementsByTagName("body")[0];n&&((e=T.createElement("div")).style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",t=T.createElement("div"),n.appendChild(e).appendChild(t),typeof t.style.zoom!==H&&(t.style.cssText="border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1",(u.inlineBlockNeedsLayout=3===t.offsetWidth)&&(n.style.zoom=1)),n.removeChild(e),e=t=null)})),function(){var e=T.createElement("div");if(null==u.deleteExpando){u.deleteExpando=!0;try{delete e.test}catch(e){u.deleteExpando=!1}}e=null}(),f.acceptData=function(e){var t=f.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return(1===n||9===n)&&(!t||!0!==t&&e.getAttribute("classid")===t)};var z=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,F=/([A-Z])/g;function q(e,t,n){if(void 0===n&&1===e.nodeType){var i="data-"+t.replace(F,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:z.test(n)?f.parseJSON(n):n)}catch(e){}f.data(e,t,n)}else n=void 0}return n}function _(e){var t;for(t in e)if(("data"!==t||!f.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function R(e,t,i,o){if(f.acceptData(e)){var s,r,a=f.expando,l=e.nodeType,c=l?f.cache:e,d=l?e[a]:e[a]&&a;if(d&&c[d]&&(o||c[d].data)||void 0!==i||"string"!=typeof t)return d||(d=l?e[a]=n.pop()||f.guid++:a),c[d]||(c[d]=l?{}:{toJSON:f.noop}),("object"==typeof t||"function"==typeof t)&&(o?c[d]=f.extend(c[d],t):c[d].data=f.extend(c[d].data,t)),r=c[d],o||(r.data||(r.data={}),r=r.data),void 0!==i&&(r[f.camelCase(t)]=i),"string"==typeof t?null==(s=r[t])&&(s=r[f.camelCase(t)]):s=r,s}}function B(e,t,n){if(f.acceptData(e)){var i,o,s=e.nodeType,r=s?f.cache:e,a=s?e[f.expando]:f.expando;if(r[a]){if(t&&(i=n?r[a]:r[a].data)){f.isArray(t)?t=t.concat(f.map(t,f.camelCase)):t in i?t=[t]:t=(t=f.camelCase(t))in i?[t]:t.split(" "),o=t.length;for(;o--;)delete i[t[o]];if(n?!_(i):!f.isEmptyObject(i))return}(n||(delete r[a].data,_(r[a])))&&(s?f.cleanData([e],!0):u.deleteExpando||r!=r.window?delete r[a]:r[a]=null)}}}f.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?f.cache[e[f.expando]]:e[f.expando])&&!_(e)},data:function(e,t,n){return R(e,t,n)},removeData:function(e,t){return B(e,t)},_data:function(e,t,n){return R(e,t,n,!0)},_removeData:function(e,t){return B(e,t,!0)}}),f.fn.extend({data:function(e,t){var n,i,o,s=this[0],r=s&&s.attributes;if(void 0===e){if(this.length&&(o=f.data(s),1===s.nodeType&&!f._data(s,"parsedAttrs"))){for(n=r.length;n--;)0===(i=r[n].name).indexOf("data-")&&q(s,i=f.camelCase(i.slice(5)),o[i]);f._data(s,"parsedAttrs",!0)}return o}return"object"==typeof e?this.each((function(){f.data(this,e)})):arguments.length>1?this.each((function(){f.data(this,e,t)})):s?q(s,e,f.data(s,e)):void 0},removeData:function(e){return this.each((function(){f.removeData(this,e)}))}}),f.extend({queue:function(e,t,n){var i;return e?(t=(t||"fx")+"queue",i=f._data(e,t),n&&(!i||f.isArray(n)?i=f._data(e,t,f.makeArray(n)):i.push(n)),i||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=f.queue(e,t),i=n.length,o=n.shift(),s=f._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===t&&n.unshift("inprogress"),delete s.stop,o.call(e,(function(){f.dequeue(e,t)}),s)),!i&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return f._data(e,n)||f._data(e,n,{empty:f.Callbacks("once memory").add((function(){f._removeData(e,t+"queue"),f._removeData(e,n)}))})}}),f.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.lengtha;a++)t(e[a],n,r?i:i.call(e[a],a,t(e[a],n)));return o?e:c?t.call(e):l?t(e[0],n):s},Y=/^(?:checkbox|radio)$/i;!function(){var e=T.createDocumentFragment(),t=T.createElement("div"),n=T.createElement("input");if(t.setAttribute("className","t"),t.innerHTML="
a",u.leadingWhitespace=3===t.firstChild.nodeType,u.tbody=!t.getElementsByTagName("tbody").length,u.htmlSerialize=!!t.getElementsByTagName("link").length,u.html5Clone="<:nav>"!==T.createElement("nav").cloneNode(!0).outerHTML,n.type="checkbox",n.checked=!0,e.appendChild(n),u.appendChecked=n.checked,t.innerHTML="",u.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,e.appendChild(t),t.innerHTML="",u.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,u.noCloneEvent=!0,t.attachEvent&&(t.attachEvent("onclick",(function(){u.noCloneEvent=!1})),t.cloneNode(!0).click()),null==u.deleteExpando){u.deleteExpando=!0;try{delete t.test}catch(e){u.deleteExpando=!1}}e=t=n=null}(),function(){var t,n,i=T.createElement("div");for(t in{submit:!0,change:!0,focusin:!0})n="on"+t,(u[t+"Bubbles"]=n in e)||(i.setAttribute(n,"t"),u[t+"Bubbles"]=!1===i.attributes[n].expando);i=null}();var G=/^(?:input|select|textarea)$/i,Q=/^key/,Z=/^(?:mouse|contextmenu)|click/,K=/^(?:focusinfocus|focusoutblur)$/,J=/^([^.]*)(?:\.(.+)|)$/;function ee(){return!0}function te(){return!1}function ne(){try{return T.activeElement}catch(e){}}function ie(e){var t=oe.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}f.event={global:{},add:function(e,t,n,i,o){var s,r,a,l,c,d,u,p,h,m,v,g=f._data(e);if(g){for(n.handler&&(n=(l=n).handler,o=l.selector),n.guid||(n.guid=f.guid++),(r=g.events)||(r=g.events={}),(d=g.handle)||(d=g.handle=function(e){return typeof f===H||e&&f.event.triggered===e.type?void 0:f.event.dispatch.apply(d.elem,arguments)},d.elem=e),a=(t=(t||"").match(j)||[""]).length;a--;)h=v=(s=J.exec(t[a])||[])[1],m=(s[2]||"").split(".").sort(),h&&(c=f.event.special[h]||{},h=(o?c.delegateType:c.bindType)||h,c=f.event.special[h]||{},u=f.extend({type:h,origType:v,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&f.expr.match.needsContext.test(o),namespace:m.join(".")},l),(p=r[h])||((p=r[h]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(e,i,m,d)||(e.addEventListener?e.addEventListener(h,d,!1):e.attachEvent&&e.attachEvent("on"+h,d))),c.add&&(c.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),o?p.splice(p.delegateCount++,0,u):p.push(u),f.event.global[h]=!0);e=null}},remove:function(e,t,n,i,o){var s,r,a,l,c,d,u,p,h,m,v,g=f.hasData(e)&&f._data(e);if(g&&(d=g.events)){for(c=(t=(t||"").match(j)||[""]).length;c--;)if(h=v=(a=J.exec(t[c])||[])[1],m=(a[2]||"").split(".").sort(),h){for(u=f.event.special[h]||{},p=d[h=(i?u.delegateType:u.bindType)||h]||[],a=a[2]&&new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=s=p.length;s--;)r=p[s],!o&&v!==r.origType||n&&n.guid!==r.guid||a&&!a.test(r.namespace)||i&&i!==r.selector&&("**"!==i||!r.selector)||(p.splice(s,1),r.selector&&p.delegateCount--,u.remove&&u.remove.call(e,r));l&&!p.length&&(u.teardown&&!1!==u.teardown.call(e,m,g.handle)||f.removeEvent(e,h,g.handle),delete d[h])}else for(h in d)f.event.remove(e,h+t[c],n,i,!0);f.isEmptyObject(d)&&(delete g.handle,f._removeData(e,"events"))}},trigger:function(t,n,i,o){var s,r,a,l,d,u,p,h=[i||T],m=c.call(t,"type")?t.type:t,v=c.call(t,"namespace")?t.namespace.split("."):[];if(a=u=i=i||T,3!==i.nodeType&&8!==i.nodeType&&!K.test(m+f.event.triggered)&&(m.indexOf(".")>=0&&(v=m.split("."),m=v.shift(),v.sort()),r=m.indexOf(":")<0&&"on"+m,(t=t[f.expando]?t:new f.Event(m,"object"==typeof t&&t)).isTrigger=o?2:3,t.namespace=v.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:f.makeArray(n,[t]),d=f.event.special[m]||{},o||!d.trigger||!1!==d.trigger.apply(i,n))){if(!o&&!d.noBubble&&!f.isWindow(i)){for(l=d.delegateType||m,K.test(l+m)||(a=a.parentNode);a;a=a.parentNode)h.push(a),u=a;u===(i.ownerDocument||T)&&h.push(u.defaultView||u.parentWindow||e)}for(p=0;(a=h[p++])&&!t.isPropagationStopped();)t.type=p>1?l:d.bindType||m,(s=(f._data(a,"events")||{})[t.type]&&f._data(a,"handle"))&&s.apply(a,n),(s=r&&a[r])&&s.apply&&f.acceptData(a)&&(t.result=s.apply(a,n),!1===t.result&&t.preventDefault());if(t.type=m,!o&&!t.isDefaultPrevented()&&(!d._default||!1===d._default.apply(h.pop(),n))&&f.acceptData(i)&&r&&i[m]&&!f.isWindow(i)){(u=i[r])&&(i[r]=null),f.event.triggered=m;try{i[m]()}catch(e){}f.event.triggered=void 0,u&&(i[r]=u)}return t.result}},dispatch:function(e){e=f.event.fix(e);var t,n,o,s,r,a=[],l=i.call(arguments),c=(f._data(this,"events")||{})[e.type]||[],d=f.event.special[e.type]||{};if(l[0]=e,e.delegateTarget=this,!d.preDispatch||!1!==d.preDispatch.call(this,e)){for(a=f.event.handlers.call(this,e,c),t=0;(s=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=s.elem,r=0;(o=s.handlers[r++])&&!e.isImmediatePropagationStopped();)(!e.namespace_re||e.namespace_re.test(o.namespace))&&(e.handleObj=o,e.data=o.data,void 0!==(n=((f.event.special[o.origType]||{}).handle||o.handler).apply(s.elem,l))&&!1===(e.result=n)&&(e.preventDefault(),e.stopPropagation()));return d.postDispatch&&d.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,i,o,s,r=[],a=t.delegateCount,l=e.target;if(a&&l.nodeType&&(!e.button||"click"!==e.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==e.type)){for(o=[],s=0;a>s;s++)void 0===o[n=(i=t[s]).selector+" "]&&(o[n]=i.needsContext?f(n,this).index(l)>=0:f.find(n,this,null,[l]).length),o[n]&&o.push(i);o.length&&r.push({elem:l,handlers:o})}return a]","i"),ae=/^\s+/,le=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,ce=/<([\w:]+)/,de=/\s*$/g,ge={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:u.htmlSerialize?[0,"",""]:[1,"X
","
"]},ye=ie(T).appendChild(T.createElement("div"));function be(e,t){var n,i,o=0,s=typeof e.getElementsByTagName!==H?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll!==H?e.querySelectorAll(t||"*"):void 0;if(!s)for(s=[],n=e.childNodes||e;null!=(i=n[o]);o++)!t||f.nodeName(i,t)?s.push(i):f.merge(s,be(i,t));return void 0===t||t&&f.nodeName(e,t)?f.merge([e],s):s}function we(e){Y.test(e.type)&&(e.defaultChecked=e.checked)}function xe(e,t){return f.nodeName(e,"table")&&f.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function Ce(e){return e.type=(null!==f.find.attr(e,"type"))+"/"+e.type,e}function ke(e){var t=me.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function $e(e,t){for(var n,i=0;null!=(n=e[i]);i++)f._data(n,"globalEval",!t||f._data(t[i],"globalEval"))}function Te(e,t){if(1===t.nodeType&&f.hasData(e)){var n,i,o,s=f._data(e),r=f._data(t,s),a=s.events;if(a)for(n in delete r.handle,r.events={},a)for(i=0,o=a[n].length;o>i;i++)f.event.add(t,n,a[n][i]);r.data&&(r.data=f.extend({},r.data))}}function Se(e,t){var n,i,o;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!u.noCloneEvent&&t[f.expando]){for(i in(o=f._data(t)).events)f.removeEvent(t,i,o.handle);t.removeAttribute(f.expando)}"script"===n&&t.text!==e.text?(Ce(t).text=e.text,ke(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),u.html5Clone&&e.innerHTML&&!f.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Y.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}ge.optgroup=ge.option,ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td,f.extend({clone:function(e,t,n){var i,o,s,r,a,l=f.contains(e.ownerDocument,e);if(u.html5Clone||f.isXMLDoc(e)||!re.test("<"+e.nodeName+">")?s=e.cloneNode(!0):(ye.innerHTML=e.outerHTML,ye.removeChild(s=ye.firstChild)),!(u.noCloneEvent&&u.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||f.isXMLDoc(e)))for(i=be(s),a=be(e),r=0;null!=(o=a[r]);++r)i[r]&&Se(o,i[r]);if(t)if(n)for(a=a||be(e),i=i||be(s),r=0;null!=(o=a[r]);r++)Te(o,i[r]);else Te(e,s);return(i=be(s,"script")).length>0&&$e(i,!l&&be(e,"script")),i=a=o=null,s},buildFragment:function(e,t,n,i){for(var o,s,r,a,l,c,d,p=e.length,h=ie(t),m=[],v=0;p>v;v++)if((s=e[v])||0===s)if("object"===f.type(s))f.merge(m,s.nodeType?[s]:s);else if(ue.test(s)){for(a=a||h.appendChild(t.createElement("div")),l=(ce.exec(s)||["",""])[1].toLowerCase(),d=ge[l]||ge._default,a.innerHTML=d[1]+s.replace(le,"<$1>")+d[2],o=d[0];o--;)a=a.lastChild;if(!u.leadingWhitespace&&ae.test(s)&&m.push(t.createTextNode(ae.exec(s)[0])),!u.tbody)for(o=(s="table"!==l||de.test(s)?""!==d[1]||de.test(s)?0:a:a.firstChild)&&s.childNodes.length;o--;)f.nodeName(c=s.childNodes[o],"tbody")&&!c.childNodes.length&&s.removeChild(c);for(f.merge(m,a.childNodes),a.textContent="";a.firstChild;)a.removeChild(a.firstChild);a=h.lastChild}else m.push(t.createTextNode(s));for(a&&h.removeChild(a),u.appendChecked||f.grep(be(m,"input"),we),v=0;s=m[v++];)if((!i||-1===f.inArray(s,i))&&(r=f.contains(s.ownerDocument,s),a=be(h.appendChild(s),"script"),r&&$e(a),n))for(o=0;s=a[o++];)he.test(s.type||"")&&n.push(s);return a=null,h},cleanData:function(e,t){for(var i,o,s,r,a=0,l=f.expando,c=f.cache,d=u.deleteExpando,p=f.event.special;null!=(i=e[a]);a++)if((t||f.acceptData(i))&&(r=(s=i[l])&&c[s])){if(r.events)for(o in r.events)p[o]?f.event.remove(i,o):f.removeEvent(i,o,r.handle);c[s]&&(delete c[s],d?delete i[l]:typeof i.removeAttribute!==H?i.removeAttribute(l):i[l]=null,n.push(s))}}}),f.fn.extend({text:function(e){return V(this,(function(e){return void 0===e?f.text(this):this.empty().append((this[0]&&this[0].ownerDocument||T).createTextNode(e))}),null,e,arguments.length)},append:function(){return this.domManip(arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||xe(this,e).appendChild(e)}))},prepend:function(){return this.domManip(arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=xe(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return this.domManip(arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return this.domManip(arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},remove:function(e,t){for(var n,i=e?f.filter(e,this):this,o=0;null!=(n=i[o]);o++)t||1!==n.nodeType||f.cleanData(be(n)),n.parentNode&&(t&&f.contains(n.ownerDocument,n)&&$e(be(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&f.cleanData(be(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&f.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return f.clone(this,e,t)}))},html:function(e){return V(this,(function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(se,""):void 0;if(!("string"!=typeof e||pe.test(e)||!u.htmlSerialize&&re.test(e)||!u.leadingWhitespace&&ae.test(e)||ge[(ce.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(le,"<$1>");try{for(;i>n;n++)1===(t=this[n]||{}).nodeType&&(f.cleanData(be(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=arguments[0];return this.domManip(arguments,(function(t){e=this.parentNode,f.cleanData(be(this)),e&&e.replaceChild(t,this)})),e&&(e.length||e.nodeType)?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t){e=o.apply([],e);var n,i,s,r,a,l,c=0,d=this.length,p=this,h=d-1,m=e[0],v=f.isFunction(m);if(v||d>1&&"string"==typeof m&&!u.checkClone&&fe.test(m))return this.each((function(n){var i=p.eq(n);v&&(e[0]=m.call(this,n,i.html())),i.domManip(e,t)}));if(d&&(n=(l=f.buildFragment(e,this[0].ownerDocument,!1,this)).firstChild,1===l.childNodes.length&&(l=n),n)){for(s=(r=f.map(be(l,"script"),Ce)).length;d>c;c++)i=l,c!==h&&(i=f.clone(i,!0,!0),s&&f.merge(r,be(i,"script"))),t.call(this[c],i,c);if(s)for(a=r[r.length-1].ownerDocument,f.map(r,ke),c=0;s>c;c++)i=r[c],he.test(i.type||"")&&!f._data(i,"globalEval")&&f.contains(a,i)&&(i.src?f._evalUrl&&f._evalUrl(i.src):f.globalEval((i.text||i.textContent||i.innerHTML||"").replace(ve,"")));l=n=null}return this}}),f.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){f.fn[e]=function(e){for(var n,i=0,o=[],r=f(e),a=r.length-1;a>=i;i++)n=i===a?this:this.clone(!0),f(r[i])[t](n),s.apply(o,n.get());return this.pushStack(o)}}));var Ee,Ae={};function Pe(t,n){var i=f(n.createElement(t)).appendTo(n.body),o=e.getDefaultComputedStyle?e.getDefaultComputedStyle(i[0]).display:f.css(i[0],"display");return i.detach(),o}function Ne(e){var t=T,n=Ae[e];return n||("none"!==(n=Pe(e,t))&&n||((t=((Ee=(Ee||f("',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){t.types.push(F),x("BeforeChange",(function(e,t,n){t!==n&&(t===F?q():n===F&&q(!0))})),x(l+"."+F,(function(){q()}))},getIframe:function(n,i){var o=n.src,s=t.st.iframe;e.each(s.patterns,(function(){return o.indexOf(this.index)>-1?(this.id&&(o="string"==typeof this.id?o.substr(o.lastIndexOf(this.id)+this.id.length,o.length):this.id.call(this,o)),o=this.src.replace("%id%",o),!1):void 0}));var r={};return s.srcAction&&(r[s.srcAction]=o),t._parseMarkup(i,r,n),t.updateStatus("ready"),i}}});var _=function(e){var n=t.items.length;return e>n-1?e-n:0>e?n+e:e},R=function(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)};e.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var n=t.st.gallery,i=".mfp-gallery",s=Boolean(e.fn.mfpFastClick);return t.direction=!0,!(!n||!n.enabled)&&(r+=" mfp-gallery",x(u+i,(function(){n.navigateByImgClick&&t.wrap.on("click"+i,".mfp-img",(function(){return t.items.length>1?(t.next(),!1):void 0})),o.on("keydown"+i,(function(e){37===e.keyCode?t.prev():39===e.keyCode&&t.next()}))})),x("UpdateStatus"+i,(function(e,n){n.text&&(n.text=R(n.text,t.currItem.index,t.items.length))})),x(d+i,(function(e,i,o,s){var r=t.items.length;o.counter=r>1?R(n.tCounter,s.index,r):""})),x("BuildControls"+i,(function(){if(t.items.length>1&&n.arrows&&!t.arrowLeft){var i=n.arrowMarkup,o=t.arrowLeft=e(i.replace(/%title%/gi,n.tPrev).replace(/%dir%/gi,"left")).addClass(g),r=t.arrowRight=e(i.replace(/%title%/gi,n.tNext).replace(/%dir%/gi,"right")).addClass(g),a=s?"mfpFastClick":"click";o[a]((function(){t.prev()})),r[a]((function(){t.next()})),t.isIE7&&(C("b",o[0],!1,!0),C("a",o[0],!1,!0),C("b",r[0],!1,!0),C("a",r[0],!1,!0)),t.container.append(o.add(r))}})),x(p+i,(function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout),t._preloadTimeout=setTimeout((function(){t.preloadNearbyImages(),t._preloadTimeout=null}),16)})),void x(l+i,(function(){o.off(i),t.wrap.off("click"+i),t.arrowLeft&&s&&t.arrowLeft.add(t.arrowRight).destroyMfpFastClick(),t.arrowRight=t.arrowLeft=null})))},next:function(){t.direction=!0,t.index=_(t.index+1),t.updateItemHTML()},prev:function(){t.direction=!1,t.index=_(t.index-1),t.updateItemHTML()},goTo:function(e){t.direction=e>=t.index,t.index=e,t.updateItemHTML()},preloadNearbyImages:function(){var e,n=t.st.gallery.preload,i=Math.min(n[0],t.items.length),o=Math.min(n[1],t.items.length);for(e=1;(t.direction?o:i)>=e;e++)t._preloadItem(t.index+e);for(e=1;(t.direction?i:o)>=e;e++)t._preloadItem(t.index-e)},_preloadItem:function(n){if(n=_(n),!t.items[n].preloaded){var i=t.items[n];i.parsed||(i=t.parseEl(n)),k("LazyLoad",i),"image"===i.type&&(i.img=e('').on("load.mfploader",(function(){i.hasSize=!0})).on("error.mfploader",(function(){i.hasSize=!0,i.loadError=!0,k("LazyLoadError",i)})).attr("src",i.src)),i.preloaded=!0}}}});var B="retina";e.magnificPopup.registerModule(B,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,(function(e){return"@2x"+e}))},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var e=t.st.retina,n=e.ratio;(n=isNaN(n)?n():n)>1&&(x("ImageHasSize."+B,(function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/n,width:"100%"})})),x("ElementParse."+B,(function(t,i){i.src=e.replaceSrc(i,n)})))}}}}),function(){var t="ontouchstart"in window,n=function(){w.off("touchmove"+i+" touchend"+i)},i=".mfpFastClick";e.fn.mfpFastClick=function(o){return e(this).each((function(){var s,r,a,l,c,d,u,p=e(this);t&&p.on("touchstart"+i,(function(e){c=!1,u=1,d=e.originalEvent?e.originalEvent.touches[0]:e.touches[0],a=d.clientX,l=d.clientY,w.on("touchmove"+i,(function(e){d=e.originalEvent?e.originalEvent.touches:e.touches,u=d.length,d=d[0],(Math.abs(d.clientX-a)>10||Math.abs(d.clientY-l)>10)&&(c=!0,n())})).on("touchend"+i,(function(e){n(),c||u>1||(s=!0,e.preventDefault(),clearTimeout(r),r=setTimeout((function(){s=!1}),1e3),o())}))}));p.on("click"+i,(function(){s||o()}))}))},e.fn.destroyMfpFastClick=function(){e(this).off("touchstart"+i+" click"+i),t&&w.off("touchmove"+i+" touchend"+i)}}()}(window.jQuery||window.Zepto);var $jscomp={scope:{},findInternal:function(e,t,n){e instanceof String&&(e=String(e));for(var i=e.length,o=0;oa?i=10*n:r>=i&&r!==a?o.maskDigitPosMapOld[i]||(r=i,i=i-(d-c)-e,o.maskDigitPosMap[i]&&(i=r)):i>r&&(i=i+(c-d)+l)}return i},behaviour:function(n){n=n||window.event,o.invalid=[];var i=t.data("mask-keycode");if(-1===e.inArray(i,r.byPassKeys)){i=o.getMasked();var s=o.getCaret();return setTimeout((function(){o.setCaret(o.calculateCaretPosition())}),e.jMaskGlobals.keyStrokeCompensation),o.val(i),o.setCaret(s),o.callbacks(n)}},getMasked:function(e,t){var s,a,l,c=[],d=void 0===t?o.val():t+"",u=0,p=n.length,f=0,h=d.length,m=1,v="push",g=-1,y=0,b=[];for(i.reverse?(v="unshift",m=-1,s=0,u=p-1,f=h-1,a=function(){return-1Previous',nextArrow:'',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,n){return e(''),$("#reset-password-button").remove(),$(".reset-input").remove()):500==e.status&&$("#reset h3").append('This email is not registered.')},error:function(e,t,n){}}),!1})),$("#reset-password").submit((function(e){if(""!=$("#confirm").val())return!1;if($(".pass-error").remove(),$("#password-reset").val()!=$("#password-reset-conf").val())return $("#reset-password").append('Password mismatch'),!1;var t=/^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{6,}$/;if(t.test($("#password-reset").val())&&e.target.checkValidity()){var n=getUrlParameter("token");n||(window.location.href="/app/#/"),$.ajax({type:"POST",url:gUrlHome+"/_passwordReset",data:{password:$("#password-reset").val(),token:n},complete:function(e,t){200==e.status?window.location.href="/app/#/":500==e.status&&$(".forgot-password").append('Inncorrect email or password')},success:function(e,t){},error:function(e,t,n){}})}else t.test($("#parent-password").val())||$("#reset-password").append('Password must contain at least one capital and one lowercase letter along with a number.');return!1}));var o,s;(new Date).getTimezoneOffset();function r(){i||$(".page-head, .parallax").each((function(){$(this).css("background-attachment","fixed").parallax("50%",.5,!0)}))}$("body").addClass("loaded"),$("ul.tabs").each((function(){var e,t,n=$(this).find("a");(e=$(n.filter('[href="'+location.hash+'"]')[0]||n[0])).addClass("active"),t=$(e[0].hash),n.not(e).each((function(){$(this.hash).hide()})),$(this).on("click","a",(function(n){e.removeClass("active"),t.hide(),e=$(this),t=$(this.hash),e.addClass("active"),t.show()}))})),$(".mb-tab select").change((function(){$(this).find("option:selected").each((function(){let e=$(this).attr("value");e?($(".tab-page").not("#"+e).hide(),$("#"+e).show()):$(".tab-page").hide()}))})),$(".news-section .tabs").each((function(){var e,t=$(this).find("a");t.removeClass("active"),(e=t.filter('[href="/'+location.pathname.split("/")[1]+'"]')).addClass("active"),$(this).on("click","a",(function(t){e.removeClass("active")}))})),$("input").blur((function(){0!=$(this).val().length&&$(this).addClass("white-input")})),$(".get-quote").on("click",(function(){!function(){var e,t,n,i=[500,1e3,2500,5e3,1e4,25e3],o=[0,.22,.39,.61,.58,.69],s=0;if((e=$(".num-students").val())>=25001)return $(".quote-parent").addClass("hidden"),$(".calculate-message").removeClass("hidden"),void $(".calculate-message").html('Get in touch with sales@securly.com for a custom quote');for(t=1;t<=e;t++){for(n=0;n<6&&!(t<=i[n]);n++);s+=1*(1-o[n])*6}s*=.75,$(".calculate-message").addClass("hidden"),$(".quote-parent").removeClass("hidden"),Math.round(s)<1200&&(s=1200),$(".quote-price").text(Math.round(s))}()})),$(".th-check").change((function(){"none"==$(".take-home-options").css("display")?$(".take-home-options").show(200):$(".take-home-options").hide(300)})),$(".ipadd").on("mouseenter",(function(){o=setTimeout((function(){$(".ipadd + .bubble").removeClass("hidden")}),500)})).on("mouseleave",(function(){clearTimeout(o),$(".bubble").addClass("hidden")})),$(".sources").on("mouseenter",(function(){o=setTimeout((function(){$(".sources .bubble").removeClass("hidden")}),500)})).on("mouseleave",(function(){clearTimeout(o),$(".bubble").addClass("hidden")})),$("#forgot-password").on("click",(function(){$("#normal-login").addClass("hidden"),$("#reset").removeClass("hidden")})),$("#retun-login").on("click",(function(){$("#normal-login").removeClass("hidden"),$("#reset").addClass("hidden")})),$(".popup-vimeo").magnificPopup({type:"iframe"}),$("#login-btn").magnificPopup({items:{src:"#login",type:"inline"}}),$("#parent-video-btn").magnificPopup({items:{src:"#parent-video",type:"inline"}}),$(".already").magnificPopup({items:{src:"#login",type:"inline"}}),$(".get-started-link").magnificPopup({items:{src:"#sign-up",type:"inline"}}),$(".get-started").magnificPopup({items:{src:"#sign-up",type:"inline"}}),$(".login-btn").on("click",(function(){$(".main-nav").removeClass("trigger-active")})),$(".newsletter-btn").magnificPopup({items:{src:"#freetrial_inline",type:"inline"}}),$(".whitepaper-btn").magnificPopup({items:{src:"#whitepaper_inline",type:"inline"}}),$(".learn-more-btn").magnificPopup({items:{src:"#learn-more-form",type:"inline"}}),$("#content").length>0&&$(document).scroll((function(){})),$(document).on("click",".side-active .page-content, .side-active .page-top, body:not(.side-active) .side-meta, body:not(.side-active) .toggle-side, .close-side",(function(){$("body").toggleClass("side-active")})),$(document).on("click",".nav-trigger",(function(e){e.preventDefault(),$(this).toggleClass("active"),$(this).attr("aria-expanded",(function(e,t){return"true"==t?"false":"true"})),$(".main-nav").toggleClass("trigger-active"),$(".main-nav > ul").append('
')})),$(document).on("focus",".endofmenu",(function(){$(".nav-trigger").focus(),$(".nav-trigger").click()})),$(".nav-trigger").keypress((function(e){$(this).click()})),$(document).on("click","#login-btn",(function(){$(this).toggleClass("active"),$(".main-nav").toggleClass("trigger-active")})),$(document).on("click",".vertical-tabs .tab-nav a",(function(){$("html, body").stop(!0,!0).animate({scrollTop:$(this).closest(".vertical-tabs").find(".tab-content").offset().top},200)})),$(document).on("click",".to-top",(function(){return $("html, body").animate({scrollTop:0},1e3),!1})),r(),void 0!==(s=$(".page-head").css("background-image"))&&$(".cssfilters .head-top").append('
').find(".background-blur").css("background-image",s),$(window).resize((function(){r()})),$(".gallery-container").magnificPopup({delegate:"a",type:"image",gallery:{enabled:!0},removalDelay:300,mainClass:"mfp-fade"}),$(".popup-iframe").magnificPopup({type:"iframe",mainClass:"mfp-fade",removalDelay:300,preloader:!1,fixedContentPos:!1}),$(document).on("click",".portfolio-filter a",(function(){var e=$(this);return e.closest(".portfolio-filter").find("a").removeClass("selected"),e.toggleClass("selected"),e.data("filter"),!1})),function(){if($("#contact-map").length>0){var e=new google.maps.LatLng(37.40404,-121.97898),t={center:e,zoom:19,mapTypeId:google.maps.MapTypeId.SATELLITE,scrollwheel:!1},n=new google.maps.Map(document.getElementById("contact-map"),t);new google.maps.Marker({position:e,map:n,title:"Come visit us"})}}()}))}(),$(document).ready((function(){$(".mo-carousel").slick({dots:!1,arrows:!0,infinite:!1,centerMode:!1,slidesToShow:1,slidesToScroll:1,centerPadding:"0"}),$(".mo-carousel").on("afterChange",(function(){$(".fourth-col, .fifth-col, .sixth-col, .seventh-col").hide();var e=$(".slick-current").attr("data-slick-index");0==e?$(".fourth-col").show():1==e?$(".fifth-col").show():2==e?$(".sixth-col").show():3==e&&$(".seventh-col").show()})),$(".div-table .div-table-toggle:first").show(),$(".div-table .first-col:first").addClass("active"),$(".div-table .first-col a").on("click",(function(e){e.preventDefault()}));let e=".div-table .first-col";$(e).on("click",(function(){$(this).next().next(".div-table-toggle").stop(!0).slideToggle("fast").siblings(".div-table-toggle:visible").stop(!0).slideUp("fast"),$(this).toggleClass("active"),$(this).siblings(e).removeClass("active")})),$(window).on("ready resize",(function(){$(window).width()<768?$(".div-table .css-tooltip").click((function(){$(".div-table .css-tooltip .tooltiptext").removeClass("active"),$(this).find(".tooltiptext").addClass("active")})):$(".div-table .css-tooltip").hover((function(){$(this).find(".tooltiptext").addClass("active")}),(function(){$(this).find(".tooltiptext").removeClass("active")})),$(window).scroll((function(){$(window).width()<768?$(".div-table .css-tooltip .tooltiptext").removeClass("active"):($(".div-table .css-tooltip .tooltiptext.active").hide(),setTimeout((function(){$(".div-table .css-tooltip .tooltiptext").removeAttr("style")}),1e3))}))}))})),$(document).ready((function(){let e=7e3,t=0,n=$("#accordion1 .panel").length,i=0,o=$("#accordion2 .panel").length,s=0,r=$("#accordion3 .panel").length,a=0,l=$("#accordion4 .panel").length,c=setInterval(g,e),d=setInterval(y,e),u=setInterval(b,e),p=setInterval(w,e);function f(){let e=$("#accordion1 .active .panel-collapse").attr("id");$(".group-section").addClass(e),$(".group-section-images a."+e).siblings().hide(),$(".group-section-images a."+e).show();let t=$(".group-section1 a:visible").attr("href");$(".group-section1 a.enlarge-image").attr("href",t)}function h(){let e=$("#accordion2 .active .panel-collapse").attr("id");$(".group-section").addClass(e),$(".group-section-images a."+e).siblings().hide(),$(".group-section-images a."+e).show();let t=$(".group-section2 a:visible").attr("href");$(".group-section2 a.enlarge-image").attr("href",t)}function m(){let e=$("#accordion3 .active .panel-collapse").attr("id");$(".group-section").addClass(e),$(".group-section-images a."+e).siblings().hide(),$(".group-section-images a."+e).show();let t=$(".group-section3 a:visible").attr("href");$(".group-section3 a.enlarge-image").attr("href",t)}function v(){let e=$("#accordion4 .active .panel-collapse").attr("id");$(".group-section").addClass(e),$(".group-section-images a."+e).siblings().hide(),$(".group-section-images a."+e).show();let t=$(".group-section4 a:visible").attr("href");$(".group-section4 a.enlarge-image").attr("href",t)}function g(){t++,t>n-1&&(t=0),$("#accordion1 .panel").removeClass("active"),$("#accordion1 .active .panel-collapse").collapse("hide"),$("#accordion1 .panel-collapse").removeClass("in"),$("#accordion1 .panel").eq(t).addClass("active"),$("#accordion1 .active .panel-collapse").collapse("show"),f(),$("#accordion1 .panel, .group-section1 a").mouseenter((function(){clearInterval(c),$("body").addClass("paused")})).mouseleave((function(){clearInterval(c),c=setInterval(g,e),$("body").removeClass("paused")}))}function y(){i++,i>o-1&&(i=0),$("#accordion2 .panel").removeClass("active"),$("#accordion2 .active .panel-collapse").collapse("hide"),$("#accordion2 .panel-collapse").removeClass("in"),$("#accordion2 .panel").eq(i).addClass("active"),$("#accordion2 .active .panel-collapse").collapse("show"),h(),$("#accordion2 .panel, .group-section2 a").mouseenter((function(){clearInterval(d),$("body").addClass("paused")})).mouseleave((function(){clearInterval(d),d=setInterval(y,e),$("body").removeClass("paused")}))}function b(){s++,s>r-1&&(s=0),$("#accordion3 .panel").removeClass("active"),$("#accordion3 .active .panel-collapse").collapse("hide"),$("#accordion3 .panel-collapse").removeClass("in"),$("#accordion3 .panel").eq(s).addClass("active"),$("#accordion3 .active .panel-collapse").collapse("show"),m(),$("#accordion3 .panel, .group-section3 a").mouseenter((function(){clearInterval(u),$("body").addClass("paused")})).mouseleave((function(){clearInterval(u),u=setInterval(b,e),$("body").removeClass("paused")}))}function w(){a++,a>l-1&&(a=0),$("#accordion4 .panel").removeClass("active"),$("#accordion4 .active .panel-collapse").collapse("hide"),$("#accordion4 .panel-collapse").removeClass("in"),$("#accordion4 .panel").eq(a).addClass("active"),$("#accordion4 .active .panel-collapse").collapse("show"),v(),$("#accordion4 .panel, .group-section4 a").mouseenter((function(){clearInterval(p),$("body").addClass("paused")})).mouseleave((function(){clearInterval(p),p=setInterval(w,e),$("body").removeClass("paused")}))}$("#accordion1 .panel").click((function(n){if($(this).hasClass("active"))return n.stopPropagation(),n.preventDefault(),n.stopImmediatePropagation(),$("html,body").stop(),!1;clearInterval(c),t=$(this).index(),$("#accordion1 .panel").removeClass("active"),$("#accordion1 .active .panel-collapse").collapse("hide"),$("#accordion1 .panel-collapse").removeClass("in"),$("#accordion1 .panel").eq(t).addClass("active"),$("#accordion1 .active .panel-collapse").collapse("show"),f(),c=setInterval(g,e),$("#accordion1 .panel, .group-section1 a").mouseenter((function(){clearInterval(c),$("body").addClass("paused")})).mouseleave((function(){clearInterval(c),c=setInterval(g,e),$("body").removeClass("paused")}))})),$("#accordion2 .panel").click((function(t){if($(this).hasClass("active"))return t.stopPropagation(),t.preventDefault(),t.stopImmediatePropagation(),$("html,body").stop(),!1;clearInterval(d),i=$(this).index(),$("#accordion2 .panel").removeClass("active"),$("#accordion2 .active .panel-collapse").collapse("hide"),$("#accordion2 .panel-collapse").removeClass("in"),$("#accordion2 .panel").eq(i).addClass("active"),$("#accordion2 .active .panel-collapse").collapse("show"),h(),d=setInterval(y,e),$("#accordion2 .panel, .group-section2 a").mouseenter((function(){clearInterval(d),$("body").addClass("paused")})).mouseleave((function(){clearInterval(d),d=setInterval(y,e),$("body").removeClass("paused")}))})),$("#accordion3 .panel").click((function(t){if($(this).hasClass("active"))return t.stopPropagation(),t.preventDefault(),t.stopImmediatePropagation(),$("html,body").stop(),!1;clearInterval(u),s=$(this).index(),$("#accordion3 .panel").removeClass("active"),$("#accordion3 .active .panel-collapse").collapse("hide"),$("#accordion3 .panel-collapse").removeClass("in"),$("#accordion3 .panel").eq(s).addClass("active"),$("#accordion3 .active .panel-collapse").collapse("show"),m(),u=setInterval(b,e),$("#accordion3 .panel, .group-section3 a").mouseenter((function(){clearInterval(u),$("body").addClass("paused")})).mouseleave((function(){clearInterval(u),u=setInterval(b,e),$("body").removeClass("paused")}))})),$("#accordion4 .panel").click((function(t){if($(this).hasClass("active"))return t.stopPropagation(),t.preventDefault(),t.stopImmediatePropagation(),$("html,body").stop(),!1;clearInterval(p),a=$(this).index(),$("#accordion4 .panel").removeClass("active"),$("#accordion4 .active .panel-collapse").collapse("hide"),$("#accordion4 .panel-collapse").removeClass("in"),$("#accordion4 .panel").eq(a).addClass("active"),$("#accordion4 .active .panel-collapse").collapse("show"),v(),p=setInterval(w,e),$("#accordion4 .panel, .group-section4 a").mouseenter((function(){clearInterval(p),$("body").addClass("paused")})).mouseleave((function(){clearInterval(p),p=setInterval(w,e),$("body").removeClass("paused")}))})),$(".image-link").magnificPopup({type:"image",fixedContentPos:!1,mainClass:"mfp-with-zoom",callbacks:{open:function(){$("body").addClass("magnificpopupnoscroll"),clearInterval(c),clearInterval(d),clearInterval(u),clearInterval(p)},close:function(){$("body").removeClass("magnificpopupnoscroll"),clearInterval(c),clearInterval(d),clearInterval(u),clearInterval(p),c=setInterval(g,e),d=setInterval(y,e),u=setInterval(b,e),p=setInterval(w,e)},resize:function(){var e=this.content.find("img");e.css("max-height",.85*parseFloat(e.css("max-height")))}},image:{markup:'
'}}),$(window).width()<768&&($(".panel-group.custom-panel.timeline-panel .panel.panel-default").addClass("active"),$(".panel-group.custom-panel.timeline-panel").removeAttr("id"),$(".accordion-toggle").click((function(){$(this).removeAttr("href")})));const x=document.querySelector(".classroom-utm"),C=window.location.href;"https://www.securly.com/aps-securly?utm_campaign=AtlantaPublicSchools&utm_source=email&utm_medium=csexpansion&utm_content=APSCS"!=C&&"https://www.securly.com/aps-securly?utm_campaign=AtlantaPublicSchools&utm_source=email&utm_medium=csexpansion&utm_content=APSCS#aps-case-study-cs"!=C&&"https://www.securly.com/aps-securly?utm_term=undefined&utm_source=email&utm_medium=csexpansion&utm_campaign=AtlantaPublicSchools#aps-case-study-cs"!=C||(x.href="#aps-case-study-cs",x.innerText="Book a Demo",x.target="_self")})); //# sourceMappingURL=master.js.map