%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/pn/beta/64801_wp-content/themes/intosai/dist/js/
Upload File :
Create Path :
Current File : /var/www/pn/beta/64801_wp-content/themes/intosai/dist/js/main.min.js

!function(e,t){var n,i,r=typeof t,s=e.location,o=e.document,a=o.documentElement,l=e.jQuery,c=e.$,u={},d=[],h="1.10.2",p=d.concat,f=d.push,g=d.slice,m=d.indexOf,v=u.toString,y=u.hasOwnProperty,b=h.trim,x=function(e,t){return new x.fn.init(e,t,i)},w=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,C=/\S+/g,_=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,T=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,k=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,F=/^[\],:{}\s]*$/,E=/(?:^|:|,)(?:\s*\[)+/g,S=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,D=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,N=/^-ms-/,j=/-([\da-z])/gi,L=function(e,t){return t.toUpperCase()},A=function(e){(o.addEventListener||"load"===e.type||"complete"===o.readyState)&&($(),x.ready())},$=function(){o.addEventListener?(o.removeEventListener("DOMContentLoaded",A,!1),e.removeEventListener("load",A,!1)):(o.detachEvent("onreadystatechange",A),e.detachEvent("onload",A))};function q(e){var t=e.length,n=x.type(e);return!x.isWindow(e)&&(!(1!==e.nodeType||!t)||("array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)))}x.fn=x.prototype={jquery:h,constructor:x,init:function(e,n,i){var r,s;if(!e)return this;if("string"==typeof e){if(!(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:T.exec(e))||!r[1]&&n)return!n||n.jquery?(n||i).find(e):this.constructor(n).find(e);if(r[1]){if(n=n instanceof x?n[0]:n,x.merge(this,x.parseHTML(r[1],n&&n.nodeType?n.ownerDocument||n:o,!0)),k.test(r[1])&&x.isPlainObject(n))for(r in n)x.isFunction(this[r])?this[r](n[r]):this.attr(r,n[r]);return this}if((s=o.getElementById(r[2]))&&s.parentNode){if(s.id!==r[2])return i.find(e);this.length=1,this[0]=s}return this.context=o,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):x.isFunction(e)?i.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),x.makeArray(e,this))},selector:"",length:0,toArray:function(){return g.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return x.each(this,e,t)},ready:function(e){return x.ready.promise().done(e),this},slice:function(){return this.pushStack(g.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]]:[])},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:[].sort,splice:[].splice},x.fn.init.prototype=x.fn,x.extend=x.fn.extend=function(){var e,n,i,r,s,o,a=arguments[0]||{},l=1,c=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[1]||{},l=2),"object"==typeof a||x.isFunction(a)||(a={}),c===l&&(a=this,--l);c>l;l++)if(null!=(s=arguments[l]))for(r in s)e=a[r],a!==(i=s[r])&&(u&&i&&(x.isPlainObject(i)||(n=x.isArray(i)))?(n?(n=!1,o=e&&x.isArray(e)?e:[]):o=e&&x.isPlainObject(e)?e:{},a[r]=x.extend(u,o,i)):i!==t&&(a[r]=i));return a},x.extend({expando:"jQuery"+(h+Math.random()).replace(/\D/g,""),noConflict:function(t){return e.$===x&&(e.$=c),t&&e.jQuery===x&&(e.jQuery=l),x},isReady:!1,readyWait:1,holdReady:function(e){e?x.readyWait++:x.ready(!0)},ready:function(e){if(!0===e?!--x.readyWait:!x.isReady){if(!o.body)return setTimeout(x.ready);x.isReady=!0,!0!==e&&--x.readyWait>0||(n.resolveWith(o,[x]),x.fn.trigger&&x(o).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===x.type(e)},isArray:Array.isArray||function(e){return"array"===x.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?u[v.call(e)]||"object":typeof e},isPlainObject:function(e){var n;if(!e||"object"!==x.type(e)||e.nodeType||x.isWindow(e))return!1;try{if(e.constructor&&!y.call(e,"constructor")&&!y.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}if(x.support.ownLast)for(n in e)return y.call(e,n);for(n in e);return n===t||y.call(e,n)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||o;var i=k.exec(e),r=!n&&[];return i?[t.createElement(i[1])]:(i=x.buildFragment([e],t,r),r&&x(r).remove(),x.merge([],i.childNodes))},parseJSON:function(n){return e.JSON&&e.JSON.parse?e.JSON.parse(n):null===n?n:"string"==typeof n&&((n=x.trim(n))&&F.test(n.replace(S,"@").replace(D,"]").replace(E,"")))?Function("return "+n)():(x.error("Invalid JSON: "+n),t)},parseXML:function(n){var i;if(!n||"string"!=typeof n)return null;try{e.DOMParser?i=(new DOMParser).parseFromString(n,"text/xml"):((i=new ActiveXObject("Microsoft.XMLDOM")).async="false",i.loadXML(n))}catch(e){i=t}return i&&i.documentElement&&!i.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+n),i},noop:function(){},globalEval:function(t){t&&x.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(N,"ms-").replace(j,L)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var i=0,r=e.length,s=q(e);if(n){if(s)for(;r>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(;r>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:b&&!b.call("\ufeff ")?function(e){return null==e?"":b.call(e)}:function(e){return null==e?"":(e+"").replace(_,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(q(Object(e))?x.merge(n,"string"==typeof e?[e]:e):f.call(n,e)),n},inArray:function(e,t,n){var i;if(t){if(m)return m.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,n){var i=n.length,r=e.length,s=0;if("number"==typeof i)for(;i>s;s++)e[r++]=n[s];else for(;n[s]!==t;)e[r++]=n[s++];return e.length=r,e},grep:function(e,t,n){var i=[],r=0,s=e.length;for(n=!!n;s>r;r++)n!==!!t(e[r],r)&&i.push(e[r]);return i},map:function(e,t,n){var i,r=0,s=e.length,o=[];if(q(e))for(;s>r;r++)null!=(i=t(e[r],r,n))&&(o[o.length]=i);else for(r in e)null!=(i=t(e[r],r,n))&&(o[o.length]=i);return p.apply([],o)},guid:1,proxy:function(e,n){var i,r,s;return"string"==typeof n&&(s=e[n],n=e,e=s),x.isFunction(e)?(i=g.call(arguments,2),(r=function(){return e.apply(n||this,i.concat(g.call(arguments)))}).guid=e.guid=e.guid||x.guid++,r):t},access:function(e,n,i,r,s,o,a){var l=0,c=e.length,u=null==i;if("object"===x.type(i))for(l in s=!0,i)x.access(e,n,l,i[l],!0,o,a);else if(r!==t&&(s=!0,x.isFunction(r)||(a=!0),u&&(a?(n.call(e,r),n=null):(u=n,n=function(e,t,n){return u.call(x(e),n)})),n))for(;c>l;l++)n(e[l],i,a?r:r.call(e[l],l,n(e[l],i)));return s?e:u?n.call(e):c?n(e[0],i):o},now:function(){return(new Date).getTime()},swap:function(e,t,n,i){var r,s,o={};for(s in t)o[s]=e.style[s],e.style[s]=t[s];for(s in r=n.apply(e,i||[]),t)e.style[s]=o[s];return r}}),x.ready.promise=function(t){if(!n)if(n=x.Deferred(),"complete"===o.readyState)setTimeout(x.ready);else if(o.addEventListener)o.addEventListener("DOMContentLoaded",A,!1),e.addEventListener("load",A,!1);else{o.attachEvent("onreadystatechange",A),e.attachEvent("onload",A);var i=!1;try{i=null==e.frameElement&&o.documentElement}catch(e){}i&&i.doScroll&&function e(){if(!x.isReady){try{i.doScroll("left")}catch(t){return setTimeout(e,50)}$(),x.ready()}}()}return n.promise(t)},x.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){u["[object "+t+"]"]=t.toLowerCase()}),i=x(o),function(e,t){var n,i,r,s,o,a,l,c,u,d,h,p,f,g,m,v,y,b="sizzle"+-new Date,w=e.document,C=0,_=0,T=oe(),k=oe(),F=oe(),E=!1,S=function(e,t){return e===t?(E=!0,0):0},D=typeof t,N=1<<31,j={}.hasOwnProperty,L=[],A=L.pop,$=L.push,q=L.push,H=L.slice,M=L.indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(this[t]===e)return t;return-1},O="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",z="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",R=z.replace("w","w#"),I="\\["+P+"*("+z+")"+P+"*(?:([*^$|!~]?=)"+P+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+R+")|)|)"+P+"*\\]",B=":("+z+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+I.replace(3,8)+")*)|.*)\\)|)",W=RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),X=RegExp("^"+P+"*,"+P+"*"),V=RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),U=RegExp(P+"*[+~]"),Q=RegExp("="+P+"*([^\\]'\"]*)"+P+"*\\]","g"),Y=RegExp(B),G=RegExp("^"+R+"$"),J={ID:RegExp("^#("+z+")"),CLASS:RegExp("^\\.("+z+")"),TAG:RegExp("^("+z.replace("w","w*")+")"),ATTR:RegExp("^"+I),PSEUDO:RegExp("^"+B),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:RegExp("^(?:"+O+")$","i"),needsContext:RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},Z=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/^(?:input|select|textarea|button)$/i,te=/^h\d$/i,ne=/'|\\/g,ie=RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig"),re=function(e,t,n){var i="0x"+t-65536;return i!=i||n?t:0>i?String.fromCharCode(i+65536):String.fromCharCode(55296|i>>10,56320|1023&i)};try{q.apply(L=H.call(w.childNodes),w.childNodes),L[w.childNodes.length].nodeType}catch(e){q={apply:L.length?function(e,t){$.apply(e,H.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function se(e,t,n,r){var s,o,a,l,c,u,p,m,v,x;if((t?t.ownerDocument||t:w)!==h&&d(t),t=t||h,n=n||[],!e||"string"!=typeof e)return n;if(1!==(l=t.nodeType)&&9!==l)return[];if(f&&!r){if(s=K.exec(e))if(a=s[1]){if(9===l){if(!(o=t.getElementById(a))||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(a))&&y(t,o)&&o.id===a)return n.push(o),n}else{if(s[2])return q.apply(n,t.getElementsByTagName(e)),n;if((a=s[3])&&i.getElementsByClassName&&t.getElementsByClassName)return q.apply(n,t.getElementsByClassName(a)),n}if(i.qsa&&(!g||!g.test(e))){if(m=p=b,v=t,x=9===l&&e,1===l&&"object"!==t.nodeName.toLowerCase()){for(u=ge(e),(p=t.getAttribute("id"))?m=p.replace(ne,"\\$&"):t.setAttribute("id",m),m="[id='"+m+"'] ",c=u.length;c--;)u[c]=m+me(u[c]);v=U.test(e)&&t.parentNode||t,x=u.join(",")}if(x)try{return q.apply(n,v.querySelectorAll(x)),n}catch(e){}finally{p||t.removeAttribute("id")}}}return _e(e.replace(W,"$1"),t,n,r)}function oe(){var e=[];return function t(n,i){return e.push(n+=" ")>s.cacheLength&&delete t[e.shift()],t[n]=i}}function ae(e){return e[b]=!0,e}function le(e){var t=h.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ce(e,t){for(var n=e.split("|"),i=e.length;i--;)s.attrHandle[n[i]]=t}function ue(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||N)-(~e.sourceIndex||N);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function de(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function pe(e){return ae(function(t){return t=+t,ae(function(n,i){for(var r,s=e([],n.length,t),o=s.length;o--;)n[r=s[o]]&&(n[r]=!(i[r]=n[r]))})})}for(n in a=se.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},i=se.support={},d=se.setDocument=function(e){var n=e?e.ownerDocument||e:w,r=n.defaultView;return n!==h&&9===n.nodeType&&n.documentElement?(h=n,p=n.documentElement,f=!a(n),r&&r.attachEvent&&r!==r.top&&r.attachEvent("onbeforeunload",function(){d()}),i.attributes=le(function(e){return e.className="i",!e.getAttribute("className")}),i.getElementsByTagName=le(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),i.getElementsByClassName=le(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),i.getById=le(function(e){return p.appendChild(e).id=b,!n.getElementsByName||!n.getElementsByName(b).length}),i.getById?(s.find.ID=function(e,t){if(typeof t.getElementById!==D&&f){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},s.filter.ID=function(e){var t=e.replace(ie,re);return function(e){return e.getAttribute("id")===t}}):(delete s.find.ID,s.filter.ID=function(e){var t=e.replace(ie,re);return function(e){var n=typeof e.getAttributeNode!==D&&e.getAttributeNode("id");return n&&n.value===t}}),s.find.TAG=i.getElementsByTagName?function(e,n){return typeof n.getElementsByTagName!==D?n.getElementsByTagName(e):t}:function(e,t){var n,i=[],r=0,s=t.getElementsByTagName(e);if("*"===e){for(;n=s[r++];)1===n.nodeType&&i.push(n);return i}return s},s.find.CLASS=i.getElementsByClassName&&function(e,n){return typeof n.getElementsByClassName!==D&&f?n.getElementsByClassName(e):t},m=[],g=[],(i.qsa=Z.test(n.querySelectorAll))&&(le(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||g.push("\\["+P+"*(?:value|"+O+")"),e.querySelectorAll(":checked").length||g.push(":checked")}),le(function(e){var t=n.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&g.push("[*^$]="+P+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(i.matchesSelector=Z.test(v=p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&le(function(e){i.disconnectedMatch=v.call(e,"div"),v.call(e,"[s!='']:x"),m.push("!=",B)}),g=g.length&&RegExp(g.join("|")),m=m.length&&RegExp(m.join("|")),y=Z.test(p.contains)||p.compareDocumentPosition?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},S=p.compareDocumentPosition?function(e,t){if(e===t)return E=!0,0;var r=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t);return r?1&r||!i.sortDetached&&t.compareDocumentPosition(e)===r?e===n||y(w,e)?-1:t===n||y(w,t)?1:u?M.call(u,e)-M.call(u,t):0:4&r?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var i,r=0,s=e.parentNode,o=t.parentNode,a=[e],l=[t];if(e===t)return E=!0,0;if(!s||!o)return e===n?-1:t===n?1:s?-1:o?1:u?M.call(u,e)-M.call(u,t):0;if(s===o)return ue(e,t);for(i=e;i=i.parentNode;)a.unshift(i);for(i=t;i=i.parentNode;)l.unshift(i);for(;a[r]===l[r];)r++;return r?ue(a[r],l[r]):a[r]===w?-1:l[r]===w?1:0},n):h},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==h&&d(e),t=t.replace(Q,"='$1']"),!(!i.matchesSelector||!f||m&&m.test(t)||g&&g.test(t)))try{var n=v.call(e,t);if(n||i.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return se(t,h,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!==h&&d(e),y(e,t)},se.attr=function(e,n){(e.ownerDocument||e)!==h&&d(e);var r=s.attrHandle[n.toLowerCase()],o=r&&j.call(s.attrHandle,n.toLowerCase())?r(e,n,!f):t;return o===t?i.attributes||!f?e.getAttribute(n):(o=e.getAttributeNode(n))&&o.specified?o.value:null:o},se.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,n=[],r=0,s=0;if(E=!i.detectDuplicates,u=!i.sortStable&&e.slice(0),e.sort(S),E){for(;t=e[s++];)t===e[s]&&(r=n.push(s));for(;r--;)e.splice(n[r],1)}return e},o=se.getText=function(e){var t,n="",i=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i];i++)n+=o(t);return n},(s=se.selectors={cacheLength:50,createPseudo:ae,match:J,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(ie,re),e[3]=(e[4]||e[5]||"").replace(ie,re),"~="===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]||se.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]&&se.error(e[0]),e},PSEUDO:function(e){var n,i=!e[5]&&e[2];return J.CHILD.test(e[0])?null:(e[3]&&e[4]!==t?e[2]=e[4]:i&&Y.test(i)&&(n=ge(i,!0))&&(n=i.indexOf(")",i.length-n)-i.length)&&(e[0]=e[0].slice(0,n),e[2]=i.slice(0,n)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ie,re).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=T[e+" "];return t||(t=RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&T(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==D&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(i){var r=se.attr(i,e);return null==r?"!="===t:!t||(r+="","="===t?r===n:"!="===t?r!==n:"^="===t?n&&0===r.indexOf(n):"*="===t?n&&r.indexOf(n)>-1:"$="===t?n&&r.slice(-n.length)===n:"~="===t?(" "+r+" ").indexOf(n)>-1:"|="===t&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,r){var s="nth"!==e.slice(0,3),o="last"!==e.slice(-4),a="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,h,p,f,g=s!==o?"nextSibling":"previousSibling",m=t.parentNode,v=a&&t.nodeName.toLowerCase(),y=!l&&!a;if(m){if(s){for(;g;){for(d=t;d=d[g];)if(a?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;f=g="only"===e&&!f&&"nextSibling"}return!0}if(f=[o?m.firstChild:m.lastChild],o&&y){for(p=(c=(u=m[b]||(m[b]={}))[e]||[])[0]===C&&c[1],h=c[0]===C&&c[2],d=p&&m.childNodes[p];d=++p&&d&&d[g]||(h=p=0)||f.pop();)if(1===d.nodeType&&++h&&d===t){u[e]=[C,p,h];break}}else if(y&&(c=(t[b]||(t[b]={}))[e])&&c[0]===C)h=c[1];else for(;(d=++p&&d&&d[g]||(h=p=0)||f.pop())&&((a?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++h||(y&&((d[b]||(d[b]={}))[e]=[C,h]),d!==t)););return(h-=r)===i||0==h%i&&h/i>=0}}},PSEUDO:function(e,t){var n,i=s.pseudos[e]||s.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return i[b]?i(t):i.length>1?(n=[e,e,"",t],s.setFilters.hasOwnProperty(e.toLowerCase())?ae(function(e,n){for(var r,s=i(e,t),o=s.length;o--;)e[r=M.call(e,s[o])]=!(n[r]=s[o])}):function(e){return i(e,0,n)}):i}},pseudos:{not:ae(function(e){var t=[],n=[],i=l(e.replace(W,"$1"));return i[b]?ae(function(e,t,n,r){for(var s,o=i(e,null,r,[]),a=e.length;a--;)(s=o[a])&&(e[a]=!(t[a]=s))}):function(e,r,s){return t[0]=e,i(t,null,s,n),!n.pop()}}),has:ae(function(e){return function(t){return se(e,t).length>0}}),contains:ae(function(e){return function(t){return(t.textContent||t.innerText||o(t)).indexOf(e)>-1}}),lang:ae(function(e){return G.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(ie,re).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===h.activeElement&&(!h.hasFocus||h.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.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!s.pseudos.empty(e)},header:function(e){return te.test(e.nodeName)},input:function(e){return ee.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"))||t.toLowerCase()===e.type)},first:pe(function(){return[0]}),last:pe(function(e,t){return[t-1]}),eq:pe(function(e,t,n){return[0>n?n+t:n]}),even:pe(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),odd:pe(function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e}),lt:pe(function(e,t,n){for(var i=0>n?n+t:n;--i>=0;)e.push(i);return e}),gt:pe(function(e,t,n){for(var i=0>n?n+t:n;t>++i;)e.push(i);return e})}}).pseudos.nth=s.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})s.pseudos[n]=de(n);for(n in{submit:!0,reset:!0})s.pseudos[n]=he(n);function fe(){}function ge(e,t){var n,i,r,o,a,l,c,u=k[e+" "];if(u)return t?0:u.slice(0);for(a=e,l=[],c=s.preFilter;a;){for(o in(!n||(i=X.exec(a)))&&(i&&(a=a.slice(i[0].length)||a),l.push(r=[])),n=!1,(i=V.exec(a))&&(n=i.shift(),r.push({value:n,type:i[0].replace(W," ")}),a=a.slice(n.length)),s.filter)!(i=J[o].exec(a))||c[o]&&!(i=c[o](i))||(n=i.shift(),r.push({value:n,type:o,matches:i}),a=a.slice(n.length));if(!n)break}return t?a.length:a?se.error(e):k(e,l).slice(0)}function me(e){for(var t=0,n=e.length,i="";n>t;t++)i+=e[t].value;return i}function ve(e,t,n){var i=t.dir,s=n&&"parentNode"===i,o=_++;return t.first?function(t,n,r){for(;t=t[i];)if(1===t.nodeType||s)return e(t,n,r)}:function(t,n,a){var l,c,u,d=C+" "+o;if(a){for(;t=t[i];)if((1===t.nodeType||s)&&e(t,n,a))return!0}else for(;t=t[i];)if(1===t.nodeType||s)if((c=(u=t[b]||(t[b]={}))[i])&&c[0]===d){if(!0===(l=c[1])||l===r)return!0===l}else if((c=u[i]=[d])[1]=e(t,n,a)||r,!0===c[1])return!0}}function ye(e){return e.length>1?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return!1;return!0}:e[0]}function be(e,t,n,i,r){for(var s,o=[],a=0,l=e.length,c=null!=t;l>a;a++)(s=e[a])&&(!n||n(s,i,r))&&(o.push(s),c&&t.push(a));return o}function xe(e,t,n,i,r,s){return i&&!i[b]&&(i=xe(i)),r&&!r[b]&&(r=xe(r,s)),ae(function(s,o,a,l){var c,u,d,h=[],p=[],f=o.length,g=s||function(e,t,n){for(var i=0,r=t.length;r>i;i++)se(e,t[i],n);return n}(t||"*",a.nodeType?[a]:a,[]),m=!e||!s&&t?g:be(g,h,e,a,l),v=n?r||(s?e:f||i)?[]:o:m;if(n&&n(m,v,a,l),i)for(c=be(v,p),i(c,[],a,l),u=c.length;u--;)(d=c[u])&&(v[p[u]]=!(m[p[u]]=d));if(s){if(r||e){if(r){for(c=[],u=v.length;u--;)(d=v[u])&&c.push(m[u]=d);r(null,v=[],c,l)}for(u=v.length;u--;)(d=v[u])&&(c=r?M.call(s,d):h[u])>-1&&(s[c]=!(o[c]=d))}}else v=be(v===o?v.splice(f,v.length):v),r?r(null,o,v,l):q.apply(o,v)})}function we(e){for(var t,n,i,r=e.length,o=s.relative[e[0].type],a=o||s.relative[" "],l=o?1:0,u=ve(function(e){return e===t},a,!0),d=ve(function(e){return M.call(t,e)>-1},a,!0),h=[function(e,n,i){return!o&&(i||n!==c)||((t=n).nodeType?u(e,n,i):d(e,n,i))}];r>l;l++)if(n=s.relative[e[l].type])h=[ve(ye(h),n)];else{if((n=s.filter[e[l].type].apply(null,e[l].matches))[b]){for(i=++l;r>i&&!s.relative[e[i].type];i++);return xe(l>1&&ye(h),l>1&&me(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(W,"$1"),n,i>l&&we(e.slice(l,i)),r>i&&we(e=e.slice(i)),r>i&&me(e))}h.push(n)}return ye(h)}function Ce(e,t){var n=0,i=t.length>0,o=e.length>0,a=function(a,l,u,d,p){var f,g,m,v=[],y=0,b="0",x=a&&[],w=null!=p,_=c,T=a||o&&s.find.TAG("*",p&&l.parentNode||l),k=C+=null==_?1:Math.random()||.1;for(w&&(c=l!==h&&l,r=n);null!=(f=T[b]);b++){if(o&&f){for(g=0;m=e[g++];)if(m(f,l,u)){d.push(f);break}w&&(C=k,r=++n)}i&&((f=!m&&f)&&y--,a&&x.push(f))}if(y+=b,i&&b!==y){for(g=0;m=t[g++];)m(x,v,l,u);if(a){if(y>0)for(;b--;)x[b]||v[b]||(v[b]=A.call(d));v=be(v)}q.apply(d,v),w&&!a&&v.length>0&&y+t.length>1&&se.uniqueSort(d)}return w&&(C=k,c=_),x};return i?ae(a):a}function _e(e,t,n,r){var o,a,c,u,d,h=ge(e);if(!r&&1===h.length){if((a=h[0]=h[0].slice(0)).length>2&&"ID"===(c=a[0]).type&&i.getById&&9===t.nodeType&&f&&s.relative[a[1].type]){if(!(t=(s.find.ID(c.matches[0].replace(ie,re),t)||[])[0]))return n;e=e.slice(a.shift().value.length)}for(o=J.needsContext.test(e)?0:a.length;o--&&(c=a[o],!s.relative[u=c.type]);)if((d=s.find[u])&&(r=d(c.matches[0].replace(ie,re),U.test(a[0].type)&&t.parentNode||t))){if(a.splice(o,1),!(e=r.length&&me(a)))return q.apply(n,r),n;break}}return l(e,h)(r,t,!f,n,U.test(e)),n}fe.prototype=s.filters=s.pseudos,s.setFilters=new fe,l=se.compile=function(e,t){var n,i=[],r=[],s=F[e+" "];if(!s){for(t||(t=ge(e)),n=t.length;n--;)(s=we(t[n]))[b]?i.push(s):r.push(s);s=F(e,Ce(r,i))}return s},i.sortStable=b.split("").sort(S).join("")===b,i.detectDuplicates=E,d(),i.sortDetached=le(function(e){return 1&e.compareDocumentPosition(h.createElement("div"))}),le(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||ce("type|href|height|width",function(e,n,i){return i?t:e.getAttribute(n,"type"===n.toLowerCase()?1:2)}),i.attributes&&le(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ce("value",function(e,n,i){return i||"input"!==e.nodeName.toLowerCase()?t:e.defaultValue}),le(function(e){return null==e.getAttribute("disabled")})||ce(O,function(e,n,i){var r;return i?t:(r=e.getAttributeNode(n))&&r.specified?r.value:!0===e[n]?n.toLowerCase():null}),x.find=se,x.expr=se.selectors,x.expr[":"]=x.expr.pseudos,x.unique=se.uniqueSort,x.text=se.getText,x.isXMLDoc=se.isXML,x.contains=se.contains}(e);var H={};x.Callbacks=function(e){var n,i,r,s,o,a,l=[],c=!(e="string"==typeof e?H[e]||function(e){var t=H[e]={};return x.each(e.match(C)||[],function(e,n){t[n]=!0}),t}(e):x.extend({},e)).once&&[],u=function(t){for(i=e.memory&&t,r=!0,o=a||0,a=0,s=l.length,n=!0;l&&s>o;o++)if(!1===l[o].apply(t[0],t[1])&&e.stopOnFalse){i=!1;break}n=!1,l&&(c?c.length&&u(c.shift()):i?l=[]:d.disable())},d={add:function(){if(l){var t=l.length;(function t(n){x.each(n,function(n,i){var r=x.type(i);"function"===r?e.unique&&d.has(i)||l.push(i):i&&i.length&&"string"!==r&&t(i)})})(arguments),n?s=l.length:i&&(a=t,u(i))}return this},remove:function(){return l&&x.each(arguments,function(e,t){for(var i;(i=x.inArray(t,l,i))>-1;)l.splice(i,1),n&&(s>=i&&s--,o>=i&&o--)}),this},has:function(e){return e?x.inArray(e,l)>-1:!(!l||!l.length)},empty:function(){return l=[],s=0,this},disable:function(){return l=c=i=t,this},disabled:function(){return!l},lock:function(){return c=t,i||d.disable(),this},locked:function(){return!c},fireWith:function(e,t){return!l||r&&!c||(t=[e,(t=t||[]).slice?t.slice():t],n?c.push(t):u(t)),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!r}};return d},x.extend({Deferred:function(e){var t=[["resolve","done",x.Callbacks("once memory"),"resolved"],["reject","fail",x.Callbacks("once memory"),"rejected"],["notify","progress",x.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,s){var o=s[0],a=x.isFunction(e[t])&&e[t];r[s[1]](function(){var e=a&&a.apply(this,arguments);e&&x.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o+"With"](this===i?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?x.extend(e,i):i}},r={};return i.pipe=i.then,x.each(t,function(e,s){var o=s[2],a=s[3];i[s[1]]=o.add,a&&o.add(function(){n=a},t[1^e][2].disable,t[2][2].lock),r[s[0]]=function(){return r[s[0]+"With"](this===r?i:this,arguments),this},r[s[0]+"With"]=o.fireWith}),i.promise(r),e&&e.call(r,r),r},when:function(e){var t,n,i,r=0,s=g.call(arguments),o=s.length,a=1!==o||e&&x.isFunction(e.promise)?o:0,l=1===a?e:x.Deferred(),c=function(e,n,i){return function(r){n[e]=this,i[e]=arguments.length>1?g.call(arguments):r,i===t?l.notifyWith(n,i):--a||l.resolveWith(n,i)}};if(o>1)for(t=Array(o),n=Array(o),i=Array(o);o>r;r++)s[r]&&x.isFunction(s[r].promise)?s[r].promise().done(c(r,i,s)).fail(l.reject).progress(c(r,n,t)):--a;return a||l.resolveWith(i,s),l.promise()}}),x.support=function(t){var n,i,s,a,l,c,u,d,h,p=o.createElement("div");if(p.setAttribute("className","t"),p.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=p.getElementsByTagName("*")||[],!(i=p.getElementsByTagName("a")[0])||!i.style||!n.length)return t;c=(a=o.createElement("select")).appendChild(o.createElement("option")),s=p.getElementsByTagName("input")[0],i.style.cssText="top:1px;float:left;opacity:.5",t.getSetAttribute="t"!==p.className,t.leadingWhitespace=3===p.firstChild.nodeType,t.tbody=!p.getElementsByTagName("tbody").length,t.htmlSerialize=!!p.getElementsByTagName("link").length,t.style=/top/.test(i.getAttribute("style")),t.hrefNormalized="/a"===i.getAttribute("href"),t.opacity=/^0.5/.test(i.style.opacity),t.cssFloat=!!i.style.cssFloat,t.checkOn=!!s.value,t.optSelected=c.selected,t.enctype=!!o.createElement("form").enctype,t.html5Clone="<:nav></:nav>"!==o.createElement("nav").cloneNode(!0).outerHTML,t.inlineBlockNeedsLayout=!1,t.shrinkWrapBlocks=!1,t.pixelPosition=!1,t.deleteExpando=!0,t.noCloneEvent=!0,t.reliableMarginRight=!0,t.boxSizingReliable=!0,s.checked=!0,t.noCloneChecked=s.cloneNode(!0).checked,a.disabled=!0,t.optDisabled=!c.disabled;try{delete p.test}catch(e){t.deleteExpando=!1}for(h in(s=o.createElement("input")).setAttribute("value",""),t.input=""===s.getAttribute("value"),s.value="t",s.setAttribute("type","radio"),t.radioValue="t"===s.value,s.setAttribute("checked","t"),s.setAttribute("name","t"),(l=o.createDocumentFragment()).appendChild(s),t.appendChecked=s.checked,t.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,p.attachEvent&&(p.attachEvent("onclick",function(){t.noCloneEvent=!1}),p.cloneNode(!0).click()),{submit:!0,change:!0,focusin:!0})p.setAttribute(u="on"+h,"t"),t[h+"Bubbles"]=u in e||!1===p.attributes[u].expando;for(h in p.style.backgroundClip="content-box",p.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===p.style.backgroundClip,x(t))break;return t.ownLast="0"!==h,x(function(){var n,i,s,a="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",l=o.getElementsByTagName("body")[0];l&&((n=o.createElement("div")).style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",l.appendChild(n).appendChild(p),p.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(s=p.getElementsByTagName("td"))[0].style.cssText="padding:0;margin:0;border:0;display:none",d=0===s[0].offsetHeight,s[0].style.display="",s[1].style.display="none",t.reliableHiddenOffsets=d&&0===s[0].offsetHeight,p.innerHTML="",p.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",x.swap(l,null!=l.style.zoom?{zoom:1}:{},function(){t.boxSizing=4===p.offsetWidth}),e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(p,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(p,null)||{width:"4px"}).width,(i=p.appendChild(o.createElement("div"))).style.cssText=p.style.cssText=a,i.style.marginRight=i.style.width="0",p.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(i,null)||{}).marginRight)),typeof p.style.zoom!==r&&(p.innerHTML="",p.style.cssText=a+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===p.offsetWidth,p.style.display="block",p.innerHTML="<div></div>",p.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==p.offsetWidth,t.inlineBlockNeedsLayout&&(l.style.zoom=1)),l.removeChild(n),n=p=s=i=null)}),n=a=l=c=i=s=null,t}({});var M=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,O=/([A-Z])/g;function P(e,n,i,r){if(x.acceptData(e)){var s,o,a=x.expando,l=e.nodeType,c=l?x.cache:e,u=l?e[a]:e[a]&&a;if(u&&c[u]&&(r||c[u].data)||i!==t||"string"!=typeof n)return u||(u=l?e[a]=d.pop()||x.guid++:a),c[u]||(c[u]=l?{}:{toJSON:x.noop}),("object"==typeof n||"function"==typeof n)&&(r?c[u]=x.extend(c[u],n):c[u].data=x.extend(c[u].data,n)),o=c[u],r||(o.data||(o.data={}),o=o.data),i!==t&&(o[x.camelCase(n)]=i),"string"==typeof n?null==(s=o[n])&&(s=o[x.camelCase(n)]):s=o,s}}function z(e,t,n){if(x.acceptData(e)){var i,r,s=e.nodeType,o=s?x.cache:e,a=s?e[x.expando]:x.expando;if(o[a]){if(t&&(i=n?o[a]:o[a].data)){x.isArray(t)?t=t.concat(x.map(t,x.camelCase)):t in i?t=[t]:t=(t=x.camelCase(t))in i?[t]:t.split(" "),r=t.length;for(;r--;)delete i[t[r]];if(n?!I(i):!x.isEmptyObject(i))return}(n||(delete o[a].data,I(o[a])))&&(s?x.cleanData([e],!0):x.support.deleteExpando||o!=o.window?delete o[a]:o[a]=null)}}}function R(e,n,i){if(i===t&&1===e.nodeType){var r="data-"+n.replace(O,"-$1").toLowerCase();if("string"==typeof(i=e.getAttribute(r))){try{i="true"===i||"false"!==i&&("null"===i?null:+i+""===i?+i:M.test(i)?x.parseJSON(i):i)}catch(e){}x.data(e,n,i)}else i=t}return i}function I(e){var t;for(t in e)if(("data"!==t||!x.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}x.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?x.cache[e[x.expando]]:e[x.expando])&&!I(e)},data:function(e,t,n){return P(e,t,n)},removeData:function(e,t){return z(e,t)},_data:function(e,t,n){return P(e,t,n,!0)},_removeData:function(e,t){return z(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&x.noData[e.nodeName.toLowerCase()];return!t||!0!==t&&e.getAttribute("classid")===t}}),x.fn.extend({data:function(e,n){var i,r,s=null,o=0,a=this[0];if(e===t){if(this.length&&(s=x.data(a),1===a.nodeType&&!x._data(a,"parsedAttrs"))){for(i=a.attributes;i.length>o;o++)0===(r=i[o].name).indexOf("data-")&&R(a,r=x.camelCase(r.slice(5)),s[r]);x._data(a,"parsedAttrs",!0)}return s}return"object"==typeof e?this.each(function(){x.data(this,e)}):arguments.length>1?this.each(function(){x.data(this,e,n)}):a?R(a,e,x.data(a,e)):null},removeData:function(e){return this.each(function(){x.removeData(this,e)})}}),x.extend({queue:function(e,n,i){var r;return e?(n=(n||"fx")+"queue",r=x._data(e,n),i&&(!r||x.isArray(i)?r=x._data(e,n,x.makeArray(i)):r.push(i)),r||[]):t},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),i=n.length,r=n.shift(),s=x._queueHooks(e,t);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete s.stop,r.call(e,function(){x.dequeue(e,t)},s)),!i&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return x._data(e,n)||x._data(e,n,{empty:x.Callbacks("once memory").add(function(){x._removeData(e,t+"queue"),x._removeData(e,n)})})}}),x.fn.extend({queue:function(e,n){var i=2;return"string"!=typeof e&&(n=e,e="fx",i--),i>arguments.length?x.queue(this[0],e):n===t?this:this.each(function(){var t=x.queue(this,e,n);x._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&x.dequeue(this,e)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},delay:function(e,t){return e=x.fx&&x.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(t,n){var i=setTimeout(t,e);n.stop=function(){clearTimeout(i)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var i,r=1,s=x.Deferred(),o=this,a=this.length,l=function(){--r||s.resolveWith(o,[o])};for("string"!=typeof e&&(n=e,e=t),e=e||"fx";a--;)(i=x._data(o[a],e+"queueHooks"))&&i.empty&&(r++,i.empty.add(l));return l(),s.promise(n)}});var B,W,X=/[\t\r\n\f]/g,V=/\r/g,U=/^(?:input|select|textarea|button|object)$/i,Q=/^(?:a|area)$/i,Y=/^(?:checked|selected)$/i,G=x.support.getSetAttribute,J=x.support.input;x.fn.extend({attr:function(e,t){return x.access(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})},prop:function(e,t){return x.access(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return e=x.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(e){}})},addClass:function(e){var t,n,i,r,s,o=0,a=this.length,l="string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(C)||[];a>o;o++)if(i=1===(n=this[o]).nodeType&&(n.className?(" "+n.className+" ").replace(X," "):" ")){for(s=0;r=t[s++];)0>i.indexOf(" "+r+" ")&&(i+=r+" ");n.className=x.trim(i)}return this},removeClass:function(e){var t,n,i,r,s,o=0,a=this.length,l=0===arguments.length||"string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(C)||[];a>o;o++)if(i=1===(n=this[o]).nodeType&&(n.className?(" "+n.className+" ").replace(X," "):"")){for(s=0;r=t[s++];)for(;i.indexOf(" "+r+" ")>=0;)i=i.replace(" "+r+" "," ");n.className=e?x.trim(i):""}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):x.isFunction(e)?this.each(function(n){x(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n)for(var t,i=0,s=x(this),o=e.match(C)||[];t=o[i++];)s.hasClass(t)?s.removeClass(t):s.addClass(t);else(n===r||"boolean"===n)&&(this.className&&x._data(this,"__className__",this.className),this.className=this.className||!1===e?"":x._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,i=this.length;i>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(X," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,i,r,s=this[0];return arguments.length?(r=x.isFunction(e),this.each(function(n){var s;1===this.nodeType&&(null==(s=r?e.call(this,n,x(this).val()):e)?s="":"number"==typeof s?s+="":x.isArray(s)&&(s=x.map(s,function(e){return null==e?"":e+""})),(i=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&i.set(this,s,"value")!==t||(this.value=s))})):s?(i=x.valHooks[s.type]||x.valHooks[s.nodeName.toLowerCase()])&&"get"in i&&(n=i.get(s,"value"))!==t?n:"string"==typeof(n=s.value)?n.replace(V,""):null==n?"":n:void 0}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:e.text}},select:{get:function(e){for(var t,n,i=e.options,r=e.selectedIndex,s="select-one"===e.type||0>r,o=s?null:[],a=s?r+1:i.length,l=0>r?a:s?r:0;a>l;l++)if(!(!(n=i[l]).selected&&l!==r||(x.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&x.nodeName(n.parentNode,"optgroup"))){if(t=x(n).val(),s)return t;o.push(t)}return o},set:function(e,t){for(var n,i,r=e.options,s=x.makeArray(t),o=r.length;o--;)((i=r[o]).selected=x.inArray(x(i).val(),s)>=0)&&(n=!0);return n||(e.selectedIndex=-1),s}}},attr:function(e,n,i){var s,o,a=e.nodeType;if(e&&3!==a&&8!==a&&2!==a)return typeof e.getAttribute===r?x.prop(e,n,i):(1===a&&x.isXMLDoc(e)||(n=n.toLowerCase(),s=x.attrHooks[n]||(x.expr.match.bool.test(n)?W:B)),i===t?s&&"get"in s&&null!==(o=s.get(e,n))?o:null==(o=x.find.attr(e,n))?t:o:null!==i?s&&"set"in s&&(o=s.set(e,i,n))!==t?o:(e.setAttribute(n,i+""),i):(x.removeAttr(e,n),t))},removeAttr:function(e,t){var n,i,r=0,s=t&&t.match(C);if(s&&1===e.nodeType)for(;n=s[r++];)i=x.propFix[n]||n,x.expr.match.bool.test(n)?J&&G||!Y.test(n)?e[i]=!1:e[x.camelCase("default-"+n)]=e[i]=!1:x.attr(e,n,""),e.removeAttribute(G?n:i)},attrHooks:{type:{set:function(e,t){if(!x.support.radioValue&&"radio"===t&&x.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{for:"htmlFor",class:"className"},prop:function(e,n,i){var r,s,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return(1!==o||!x.isXMLDoc(e))&&(n=x.propFix[n]||n,s=x.propHooks[n]),i!==t?s&&"set"in s&&(r=s.set(e,i,n))!==t?r:e[n]=i:s&&"get"in s&&null!==(r=s.get(e,n))?r:e[n]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):U.test(e.nodeName)||Q.test(e.nodeName)&&e.href?0:-1}}}}),W={set:function(e,t,n){return!1===t?x.removeAttr(e,n):J&&G||!Y.test(n)?e.setAttribute(!G&&x.propFix[n]||n,n):e[x.camelCase("default-"+n)]=e[n]=!0,n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,n){var i=x.expr.attrHandle[n]||x.find.attr;x.expr.attrHandle[n]=J&&G||!Y.test(n)?function(e,n,r){var s=x.expr.attrHandle[n],o=r?t:(x.expr.attrHandle[n]=t)!=i(e,n,r)?n.toLowerCase():null;return x.expr.attrHandle[n]=s,o}:function(e,n,i){return i?t:e[x.camelCase("default-"+n)]?n.toLowerCase():null}}),J&&G||(x.attrHooks.value={set:function(e,n,i){return x.nodeName(e,"input")?(e.defaultValue=n,t):B&&B.set(e,n,i)}}),G||(B={set:function(e,n,i){var r=e.getAttributeNode(i);return r||e.setAttributeNode(r=e.ownerDocument.createAttribute(i)),r.value=n+="","value"===i||n===e.getAttribute(i)?n:t}},x.expr.attrHandle.id=x.expr.attrHandle.name=x.expr.attrHandle.coords=function(e,n,i){var r;return i?t:(r=e.getAttributeNode(n))&&""!==r.value?r.value:null},x.valHooks.button={get:function(e,n){var i=e.getAttributeNode(n);return i&&i.specified?i.value:t},set:B.set},x.attrHooks.contenteditable={set:function(e,t,n){B.set(e,""!==t&&t,n)}},x.each(["width","height"],function(e,n){x.attrHooks[n]={set:function(e,i){return""===i?(e.setAttribute(n,"auto"),i):t}}})),x.support.hrefNormalized||x.each(["href","src"],function(e,t){x.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),x.support.style||(x.attrHooks.style={get:function(e){return e.style.cssText||t},set:function(e,t){return e.style.cssText=t+""}}),x.support.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.support.enctype||(x.propFix.enctype="encoding"),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,n){return x.isArray(n)?e.checked=x.inArray(x(e).val(),n)>=0:t}},x.support.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Z=/^(?:input|select|textarea)$/i,K=/^key/,ee=/^(?:mouse|contextmenu)|click/,te=/^(?:focusinfocus|focusoutblur)$/,ne=/^([^.]*)(?:\.(.+)|)$/;function ie(){return!0}function re(){return!1}function se(){try{return o.activeElement}catch(e){}}x.event={global:{},add:function(e,n,i,s,o){var a,l,c,u,d,h,p,f,g,m,v,y=x._data(e);if(y){for(i.handler&&(i=(u=i).handler,o=u.selector),i.guid||(i.guid=x.guid++),(l=y.events)||(l=y.events={}),(h=y.handle)||((h=y.handle=function(e){return typeof x===r||e&&x.event.triggered===e.type?t:x.event.dispatch.apply(h.elem,arguments)}).elem=e),c=(n=(n||"").match(C)||[""]).length;c--;)g=v=(a=ne.exec(n[c])||[])[1],m=(a[2]||"").split(".").sort(),g&&(d=x.event.special[g]||{},g=(o?d.delegateType:d.bindType)||g,d=x.event.special[g]||{},p=x.extend({type:g,origType:v,data:s,handler:i,guid:i.guid,selector:o,needsContext:o&&x.expr.match.needsContext.test(o),namespace:m.join(".")},u),(f=l[g])||((f=l[g]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,s,m,h)||(e.addEventListener?e.addEventListener(g,h,!1):e.attachEvent&&e.attachEvent("on"+g,h))),d.add&&(d.add.call(e,p),p.handler.guid||(p.handler.guid=i.guid)),o?f.splice(f.delegateCount++,0,p):f.push(p),x.event.global[g]=!0);e=null}},remove:function(e,t,n,i,r){var s,o,a,l,c,u,d,h,p,f,g,m=x.hasData(e)&&x._data(e);if(m&&(u=m.events)){for(c=(t=(t||"").match(C)||[""]).length;c--;)if(p=g=(a=ne.exec(t[c])||[])[1],f=(a[2]||"").split(".").sort(),p){for(d=x.event.special[p]||{},h=u[p=(i?d.delegateType:d.bindType)||p]||[],a=a[2]&&RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=s=h.length;s--;)o=h[s],!r&&g!==o.origType||n&&n.guid!==o.guid||a&&!a.test(o.namespace)||i&&i!==o.selector&&("**"!==i||!o.selector)||(h.splice(s,1),o.selector&&h.delegateCount--,d.remove&&d.remove.call(e,o));l&&!h.length&&(d.teardown&&!1!==d.teardown.call(e,f,m.handle)||x.removeEvent(e,p,m.handle),delete u[p])}else for(p in u)x.event.remove(e,p+t[c],n,i,!0);x.isEmptyObject(u)&&(delete m.handle,x._removeData(e,"events"))}},trigger:function(n,i,r,s){var a,l,c,u,d,h,p,f=[r||o],g=y.call(n,"type")?n.type:n,m=y.call(n,"namespace")?n.namespace.split("."):[];if(c=h=r=r||o,3!==r.nodeType&&8!==r.nodeType&&!te.test(g+x.event.triggered)&&(g.indexOf(".")>=0&&(g=(m=g.split(".")).shift(),m.sort()),l=0>g.indexOf(":")&&"on"+g,(n=n[x.expando]?n:new x.Event(g,"object"==typeof n&&n)).isTrigger=s?2:3,n.namespace=m.join("."),n.namespace_re=n.namespace?RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=r),i=null==i?[n]:x.makeArray(i,[n]),d=x.event.special[g]||{},s||!d.trigger||!1!==d.trigger.apply(r,i))){if(!s&&!d.noBubble&&!x.isWindow(r)){for(u=d.delegateType||g,te.test(u+g)||(c=c.parentNode);c;c=c.parentNode)f.push(c),h=c;h===(r.ownerDocument||o)&&f.push(h.defaultView||h.parentWindow||e)}for(p=0;(c=f[p++])&&!n.isPropagationStopped();)n.type=p>1?u:d.bindType||g,(a=(x._data(c,"events")||{})[n.type]&&x._data(c,"handle"))&&a.apply(c,i),(a=l&&c[l])&&x.acceptData(c)&&a.apply&&!1===a.apply(c,i)&&n.preventDefault();if(n.type=g,!s&&!n.isDefaultPrevented()&&(!d._default||!1===d._default.apply(f.pop(),i))&&x.acceptData(r)&&l&&r[g]&&!x.isWindow(r)){(h=r[l])&&(r[l]=null),x.event.triggered=g;try{r[g]()}catch(e){}x.event.triggered=t,h&&(r[l]=h)}return n.result}},dispatch:function(e){e=x.event.fix(e);var n,i,r,s,o,a=[],l=g.call(arguments),c=(x._data(this,"events")||{})[e.type]||[],u=x.event.special[e.type]||{};if(l[0]=e,e.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,e)){for(a=x.event.handlers.call(this,e,c),n=0;(s=a[n++])&&!e.isPropagationStopped();)for(e.currentTarget=s.elem,o=0;(r=s.handlers[o++])&&!e.isImmediatePropagationStopped();)(!e.namespace_re||e.namespace_re.test(r.namespace))&&(e.handleObj=r,e.data=r.data,(i=((x.event.special[r.origType]||{}).handle||r.handler).apply(s.elem,l))!==t&&!1===(e.result=i)&&(e.preventDefault(),e.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,e),e.result}},handlers:function(e,n){var i,r,s,o,a=[],l=n.delegateCount,c=e.target;if(l&&c.nodeType&&(!e.button||"click"!==e.type))for(;c!=this;c=c.parentNode||this)if(1===c.nodeType&&(!0!==c.disabled||"click"!==e.type)){for(s=[],o=0;l>o;o++)s[i=(r=n[o]).selector+" "]===t&&(s[i]=r.needsContext?x(i,this).index(c)>=0:x.find(i,this,null,[c]).length),s[i]&&s.push(r);s.length&&a.push({elem:c,handlers:s})}return n.length>l&&a.push({elem:this,handlers:n.slice(l)}),a},fix:function(e){if(e[x.expando])return e;var t,n,i,r=e.type,s=e,a=this.fixHooks[r];for(a||(this.fixHooks[r]=a=ee.test(r)?this.mouseHooks:K.test(r)?this.keyHooks:{}),i=a.props?this.props.concat(a.props):this.props,e=new x.Event(s),t=i.length;t--;)e[n=i[t]]=s[n];return e.target||(e.target=s.srcElement||o),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,a.filter?a.filter(e,s):e},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(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var i,r,s,a=n.button,l=n.fromElement;return null==e.pageX&&null!=n.clientX&&(s=(r=e.target.ownerDocument||o).documentElement,i=r.body,e.pageX=n.clientX+(s&&s.scrollLeft||i&&i.scrollLeft||0)-(s&&s.clientLeft||i&&i.clientLeft||0),e.pageY=n.clientY+(s&&s.scrollTop||i&&i.scrollTop||0)-(s&&s.clientTop||i&&i.clientTop||0)),!e.relatedTarget&&l&&(e.relatedTarget=l===e.target?n.toElement:l),e.which||a===t||(e.which=1&a?1:2&a?3:4&a?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==se()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===se()&&this.blur?(this.blur(),!1):t},delegateType:"focusout"},click:{trigger:function(){return x.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):t},_default:function(e){return x.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,i){var r=x.extend(new x.Event,n,{type:e,isSimulated:!0,originalEvent:{}});i?x.event.trigger(r,null,t):x.event.dispatch.call(t,r),r.isDefaultPrevented()&&n.preventDefault()}},x.removeEvent=o.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var i="on"+t;e.detachEvent&&(typeof e[i]===r&&(e[i]=null),e.detachEvent(i,n))},x.Event=function(e,n){return this instanceof x.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||!1===e.returnValue||e.getPreventDefault&&e.getPreventDefault()?ie:re):this.type=e,n&&x.extend(this,n),this.timeStamp=e&&e.timeStamp||x.now(),this[x.expando]=!0,t):new x.Event(e,n)},x.Event.prototype={isDefaultPrevented:re,isPropagationStopped:re,isImmediatePropagationStopped:re,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=ie,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=ie,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=ie,this.stopPropagation()}},x.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=e.relatedTarget,r=e.handleObj;return(!i||i!==this&&!x.contains(this,i))&&(e.type=r.origType,n=r.handler.apply(this,arguments),e.type=t),n}}}),x.support.submitBubbles||(x.event.special.submit={setup:function(){return!x.nodeName(this,"form")&&(x.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,i=x.nodeName(n,"input")||x.nodeName(n,"button")?n.form:t;i&&!x._data(i,"submitBubbles")&&(x.event.add(i,"submit._submit",function(e){e._submit_bubble=!0}),x._data(i,"submitBubbles",!0))}),t)},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&x.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return!x.nodeName(this,"form")&&(x.event.remove(this,"._submit"),t)}}),x.support.changeBubbles||(x.event.special.change={setup:function(){return Z.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(x.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),x.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),x.event.simulate("change",this,e,!0)})),!1):(x.event.add(this,"beforeactivate._change",function(e){var t=e.target;Z.test(t.nodeName)&&!x._data(t,"changeBubbles")&&(x.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||x.event.simulate("change",this.parentNode,e,!0)}),x._data(t,"changeBubbles",!0))}),t)},handle:function(e){var n=e.target;return this!==n||e.isSimulated||e.isTrigger||"radio"!==n.type&&"checkbox"!==n.type?e.handleObj.handler.apply(this,arguments):t},teardown:function(){return x.event.remove(this,"._change"),!Z.test(this.nodeName)}}),x.support.focusinBubbles||x.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,i=function(e){x.event.simulate(t,e.target,x.event.fix(e),!0)};x.event.special[t]={setup:function(){0==n++&&o.addEventListener(e,i,!0)},teardown:function(){0==--n&&o.removeEventListener(e,i,!0)}}}),x.fn.extend({on:function(e,n,i,r,s){var o,a;if("object"==typeof e){for(o in"string"!=typeof n&&(i=i||n,n=t),e)this.on(o,n,i,e[o],s);return this}if(null==i&&null==r?(r=n,i=n=t):null==r&&("string"==typeof n?(r=i,i=t):(r=i,i=n,n=t)),!1===r)r=re;else if(!r)return this;return 1===s&&(a=r,(r=function(e){return x().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=x.guid++)),this.each(function(){x.event.add(this,e,r,i,n)})},one:function(e,t,n,i){return this.on(e,t,n,i,1)},off:function(e,n,i){var r,s;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,x(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(s in e)this.off(s,n,e[s]);return this}return(!1===n||"function"==typeof n)&&(i=n,n=t),!1===i&&(i=re),this.each(function(){x.event.remove(this,e,i,n)})},trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,n){var i=this[0];return i?x.event.trigger(e,n,i,!0):t}});var oe=/^.[^:#\[\.,]*$/,ae=/^(?:parents|prev(?:Until|All))/,le=x.expr.match.needsContext,ce={children:!0,contents:!0,next:!0,prev:!0};function ue(e,t){do{e=e[t]}while(e&&1!==e.nodeType);return e}function de(e,t,n){if(x.isFunction(t))return x.grep(e,function(e,i){return!!t.call(e,i,e)!==n});if(t.nodeType)return x.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(oe.test(t))return x.filter(t,e,n);t=x.filter(t,e)}return x.grep(e,function(e){return x.inArray(e,t)>=0!==n})}function he(e){var t=pe.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}x.fn.extend({find:function(e){var t,n=[],i=this,r=i.length;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;r>t;t++)if(x.contains(i[t],this))return!0}));for(t=0;r>t;t++)x.find(e,i[t],n);return(n=this.pushStack(r>1?x.unique(n):n)).selector=this.selector?this.selector+" "+e:e,n},has:function(e){var t,n=x(e,this),i=n.length;return this.filter(function(){for(t=0;i>t;t++)if(x.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(de(this,e||[],!0))},filter:function(e){return this.pushStack(de(this,e||[],!1))},is:function(e){return!!de(this,"string"==typeof e&&le.test(e)?x(e):e||[],!1).length},closest:function(e,t){for(var n,i=0,r=this.length,s=[],o=le.test(e)||"string"!=typeof e?x(e,t||this.context):0;r>i;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(11>n.nodeType&&(o?o.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,e))){n=s.push(n);break}return this.pushStack(s.length>1?x.unique(s):s)},index:function(e){return e?"string"==typeof e?x.inArray(this[0],x(e)):x.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?x(e,t):x.makeArray(e&&e.nodeType?[e]:e),i=x.merge(this.get(),n);return this.pushStack(x.unique(i))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return x.dir(e,"parentNode")},parentsUntil:function(e,t,n){return x.dir(e,"parentNode",n)},next:function(e){return ue(e,"nextSibling")},prev:function(e){return ue(e,"previousSibling")},nextAll:function(e){return x.dir(e,"nextSibling")},prevAll:function(e){return x.dir(e,"previousSibling")},nextUntil:function(e,t,n){return x.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return x.dir(e,"previousSibling",n)},siblings:function(e){return x.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return x.sibling(e.firstChild)},contents:function(e){return x.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:x.merge([],e.childNodes)}},function(e,t){x.fn[e]=function(n,i){var r=x.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=x.filter(i,r)),this.length>1&&(ce[e]||(r=x.unique(r)),ae.test(e)&&(r=r.reverse())),this.pushStack(r)}}),x.extend({filter:function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?x.find.matchesSelector(i,e)?[i]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,n,i){for(var r=[],s=e[n];s&&9!==s.nodeType&&(i===t||1!==s.nodeType||!x(s).is(i));)1===s.nodeType&&r.push(s),s=s[n];return r},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});var pe="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",fe=/ jQuery\d+="(?:null|\d+)"/g,ge=RegExp("<(?:"+pe+")[\\s/>]","i"),me=/^\s+/,ve=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,ye=/<([\w:]+)/,be=/<tbody/i,xe=/<|&#?\w+;/,we=/<(?:script|style|link)/i,Ce=/^(?:checkbox|radio)$/i,_e=/checked\s*(?:[^=]|=\s*.checked.)/i,Te=/^$|\/(?:java|ecma)script/i,ke=/^true\/(.*)/,Fe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Ee={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:x.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},Se=he(o).appendChild(o.createElement("div"));function De(e,t){return x.nodeName(e,"table")&&x.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function Ne(e){return e.type=(null!==x.find.attr(e,"type"))+"/"+e.type,e}function je(e){var t=ke.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Le(e,t){for(var n,i=0;null!=(n=e[i]);i++)x._data(n,"globalEval",!t||x._data(t[i],"globalEval"))}function Ae(e,t){if(1===t.nodeType&&x.hasData(e)){var n,i,r,s=x._data(e),o=x._data(t,s),a=s.events;if(a)for(n in delete o.handle,o.events={},a)for(i=0,r=a[n].length;r>i;i++)x.event.add(t,n,a[n][i]);o.data&&(o.data=x.extend({},o.data))}}function $e(e,t){var n,i,r;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!x.support.noCloneEvent&&t[x.expando]){for(i in(r=x._data(t)).events)x.removeEvent(t,i,r.handle);t.removeAttribute(x.expando)}"script"===n&&t.text!==e.text?(Ne(t).text=e.text,je(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),x.support.html5Clone&&e.innerHTML&&!x.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Ce.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)}}function qe(e,n){var i,s,o=0,a=typeof e.getElementsByTagName!==r?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!==r?e.querySelectorAll(n||"*"):t;if(!a)for(a=[],i=e.childNodes||e;null!=(s=i[o]);o++)!n||x.nodeName(s,n)?a.push(s):x.merge(a,qe(s,n));return n===t||n&&x.nodeName(e,n)?x.merge([e],a):a}function He(e){Ce.test(e.type)&&(e.defaultChecked=e.checked)}Ee.optgroup=Ee.option,Ee.tbody=Ee.tfoot=Ee.colgroup=Ee.caption=Ee.thead,Ee.th=Ee.td,x.fn.extend({text:function(e){return x.access(this,function(e){return e===t?x.text(this):this.empty().append((this[0]&&this[0].ownerDocument||o).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||De(this,e).appendChild(e)})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=De(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?x.filter(e,this):this,r=0;null!=(n=i[r]);r++)t||1!==n.nodeType||x.cleanData(qe(n)),n.parentNode&&(t&&x.contains(n.ownerDocument,n)&&Le(qe(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&x.cleanData(qe(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&x.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 x.clone(this,e,t)})},html:function(e){return x.access(this,function(e){var n=this[0]||{},i=0,r=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(fe,""):t;if(!("string"!=typeof e||we.test(e)||!x.support.htmlSerialize&&ge.test(e)||!x.support.leadingWhitespace&&me.test(e)||Ee[(ye.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(ve,"<$1></$2>");try{for(;r>i;i++)1===(n=this[i]||{}).nodeType&&(x.cleanData(qe(n,!1)),n.innerHTML=e);n=0}catch(e){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=x.map(this,function(e){return[e.nextSibling,e.parentNode]}),t=0;return this.domManip(arguments,function(n){var i=e[t++],r=e[t++];r&&(i&&i.parentNode!==r&&(i=this.nextSibling),x(this).remove(),r.insertBefore(n,i))},!0),t?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t,n){e=p.apply([],e);var i,r,s,o,a,l,c=0,u=this.length,d=this,h=u-1,f=e[0],g=x.isFunction(f);if(g||!(1>=u||"string"!=typeof f||x.support.checkClone)&&_e.test(f))return this.each(function(i){var r=d.eq(i);g&&(e[0]=f.call(this,i,r.html())),r.domManip(e,t,n)});if(u&&(i=(l=x.buildFragment(e,this[0].ownerDocument,!1,!n&&this)).firstChild,1===l.childNodes.length&&(l=i),i)){for(s=(o=x.map(qe(l,"script"),Ne)).length;u>c;c++)r=l,c!==h&&(r=x.clone(r,!0,!0),s&&x.merge(o,qe(r,"script"))),t.call(this[c],r,c);if(s)for(a=o[o.length-1].ownerDocument,x.map(o,je),c=0;s>c;c++)r=o[c],Te.test(r.type||"")&&!x._data(r,"globalEval")&&x.contains(a,r)&&(r.src?x._evalUrl(r.src):x.globalEval((r.text||r.textContent||r.innerHTML||"").replace(Fe,"")));l=i=null}return this}}),x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){x.fn[e]=function(e){for(var n,i=0,r=[],s=x(e),o=s.length-1;o>=i;i++)n=i===o?this:this.clone(!0),x(s[i])[t](n),f.apply(r,n.get());return this.pushStack(r)}}),x.extend({clone:function(e,t,n){var i,r,s,o,a,l=x.contains(e.ownerDocument,e);if(x.support.html5Clone||x.isXMLDoc(e)||!ge.test("<"+e.nodeName+">")?s=e.cloneNode(!0):(Se.innerHTML=e.outerHTML,Se.removeChild(s=Se.firstChild)),!(x.support.noCloneEvent&&x.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(i=qe(s),a=qe(e),o=0;null!=(r=a[o]);++o)i[o]&&$e(r,i[o]);if(t)if(n)for(a=a||qe(e),i=i||qe(s),o=0;null!=(r=a[o]);o++)Ae(r,i[o]);else Ae(e,s);return(i=qe(s,"script")).length>0&&Le(i,!l&&qe(e,"script")),i=a=r=null,s},buildFragment:function(e,t,n,i){for(var r,s,o,a,l,c,u,d=e.length,h=he(t),p=[],f=0;d>f;f++)if((s=e[f])||0===s)if("object"===x.type(s))x.merge(p,s.nodeType?[s]:s);else if(xe.test(s)){for(a=a||h.appendChild(t.createElement("div")),l=(ye.exec(s)||["",""])[1].toLowerCase(),u=Ee[l]||Ee._default,a.innerHTML=u[1]+s.replace(ve,"<$1></$2>")+u[2],r=u[0];r--;)a=a.lastChild;if(!x.support.leadingWhitespace&&me.test(s)&&p.push(t.createTextNode(me.exec(s)[0])),!x.support.tbody)for(r=(s="table"!==l||be.test(s)?"<table>"!==u[1]||be.test(s)?0:a:a.firstChild)&&s.childNodes.length;r--;)x.nodeName(c=s.childNodes[r],"tbody")&&!c.childNodes.length&&s.removeChild(c);for(x.merge(p,a.childNodes),a.textContent="";a.firstChild;)a.removeChild(a.firstChild);a=h.lastChild}else p.push(t.createTextNode(s));for(a&&h.removeChild(a),x.support.appendChecked||x.grep(qe(p,"input"),He),f=0;s=p[f++];)if((!i||-1===x.inArray(s,i))&&(o=x.contains(s.ownerDocument,s),a=qe(h.appendChild(s),"script"),o&&Le(a),n))for(r=0;s=a[r++];)Te.test(s.type||"")&&n.push(s);return a=null,h},cleanData:function(e,t){for(var n,i,s,o,a=0,l=x.expando,c=x.cache,u=x.support.deleteExpando,h=x.event.special;null!=(n=e[a]);a++)if((t||x.acceptData(n))&&(o=(s=n[l])&&c[s])){if(o.events)for(i in o.events)h[i]?x.event.remove(n,i):x.removeEvent(n,i,o.handle);c[s]&&(delete c[s],u?delete n[l]:typeof n.removeAttribute!==r?n.removeAttribute(l):n[l]=null,d.push(s))}},_evalUrl:function(e){return x.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})}}),x.fn.extend({wrapAll:function(e){if(x.isFunction(e))return this.each(function(t){x(this).wrapAll(e.call(this,t))});if(this[0]){var t=x(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return x.isFunction(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=x.isFunction(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){x.nodeName(this,"body")||x(this).replaceWith(this.childNodes)}).end()}});var Me,Oe,Pe,ze=/alpha\([^)]*\)/i,Re=/opacity\s*=\s*([^)]*)/,Ie=/^(top|right|bottom|left)$/,Be=/^(none|table(?!-c[ea]).+)/,We=/^margin/,Xe=RegExp("^("+w+")(.*)$","i"),Ve=RegExp("^("+w+")(?!px)[a-z%]+$","i"),Ue=RegExp("^([+-])=("+w+")","i"),Qe={BODY:"block"},Ye={position:"absolute",visibility:"hidden",display:"block"},Ge={letterSpacing:0,fontWeight:400},Je=["Top","Right","Bottom","Left"],Ze=["Webkit","O","Moz","ms"];function Ke(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),i=t,r=Ze.length;r--;)if((t=Ze[r]+n)in e)return t;return i}function et(e,t){return e=t||e,"none"===x.css(e,"display")||!x.contains(e.ownerDocument,e)}function tt(e,t){for(var n,i,r,s=[],o=0,a=e.length;a>o;o++)(i=e[o]).style&&(s[o]=x._data(i,"olddisplay"),n=i.style.display,t?(s[o]||"none"!==n||(i.style.display=""),""===i.style.display&&et(i)&&(s[o]=x._data(i,"olddisplay",st(i.nodeName)))):s[o]||(r=et(i),(n&&"none"!==n||!r)&&x._data(i,"olddisplay",r?n:x.css(i,"display"))));for(o=0;a>o;o++)(i=e[o]).style&&(t&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=t?s[o]||"":"none"));return e}function nt(e,t,n){var i=Xe.exec(t);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):t}function it(e,t,n,i,r){for(var s=n===(i?"border":"content")?4:"width"===t?1:0,o=0;4>s;s+=2)"margin"===n&&(o+=x.css(e,n+Je[s],!0,r)),i?("content"===n&&(o-=x.css(e,"padding"+Je[s],!0,r)),"margin"!==n&&(o-=x.css(e,"border"+Je[s]+"Width",!0,r))):(o+=x.css(e,"padding"+Je[s],!0,r),"padding"!==n&&(o+=x.css(e,"border"+Je[s]+"Width",!0,r)));return o}function rt(e,t,n){var i=!0,r="width"===t?e.offsetWidth:e.offsetHeight,s=Oe(e),o=x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,s);if(0>=r||null==r){if((0>(r=Pe(e,t,s))||null==r)&&(r=e.style[t]),Ve.test(r))return r;i=o&&(x.support.boxSizingReliable||r===e.style[t]),r=parseFloat(r)||0}return r+it(e,t,n||(o?"border":"content"),i,s)+"px"}function st(e){var t=o,n=Qe[e];return n||("none"!==(n=ot(e,t))&&n||((t=((Me=(Me||x("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(t.documentElement))[0].contentWindow||Me[0].contentDocument).document).write("<!doctype html><html><body>"),t.close(),n=ot(e,t),Me.detach()),Qe[e]=n),n}function ot(e,t){var n=x(t.createElement(e)).appendTo(t.body),i=x.css(n[0],"display");return n.remove(),i}x.fn.extend({css:function(e,n){return x.access(this,function(e,n,i){var r,s,o={},a=0;if(x.isArray(n)){for(s=Oe(e),r=n.length;r>a;a++)o[n[a]]=x.css(e,n[a],!1,s);return o}return i!==t?x.style(e,n,i):x.css(e,n)},e,n,arguments.length>1)},show:function(){return tt(this,!0)},hide:function(){return tt(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){et(this)?x(this).show():x(this).hide()})}}),x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Pe(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:x.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,i,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var s,o,a,l=x.camelCase(n),c=e.style;if(n=x.cssProps[l]||(x.cssProps[l]=Ke(c,l)),a=x.cssHooks[n]||x.cssHooks[l],i===t)return a&&"get"in a&&(s=a.get(e,!1,r))!==t?s:c[n];if("string"===(o=typeof i)&&(s=Ue.exec(i))&&(i=(s[1]+1)*s[2]+parseFloat(x.css(e,n)),o="number"),!(null==i||"number"===o&&isNaN(i)||("number"!==o||x.cssNumber[l]||(i+="px"),x.support.clearCloneStyle||""!==i||0!==n.indexOf("background")||(c[n]="inherit"),a&&"set"in a&&(i=a.set(e,i,r))===t)))try{c[n]=i}catch(e){}}},css:function(e,n,i,r){var s,o,a,l=x.camelCase(n);return n=x.cssProps[l]||(x.cssProps[l]=Ke(e.style,l)),(a=x.cssHooks[n]||x.cssHooks[l])&&"get"in a&&(o=a.get(e,!0,i)),o===t&&(o=Pe(e,n,r)),"normal"===o&&n in Ge&&(o=Ge[n]),""===i||i?(s=parseFloat(o),!0===i||x.isNumeric(s)?s||0:o):o}}),e.getComputedStyle?(Oe=function(t){return e.getComputedStyle(t,null)},Pe=function(e,n,i){var r,s,o,a=i||Oe(e),l=a?a.getPropertyValue(n)||a[n]:t,c=e.style;return a&&(""!==l||x.contains(e.ownerDocument,e)||(l=x.style(e,n)),Ve.test(l)&&We.test(n)&&(r=c.width,s=c.minWidth,o=c.maxWidth,c.minWidth=c.maxWidth=c.width=l,l=a.width,c.width=r,c.minWidth=s,c.maxWidth=o)),l}):o.documentElement.currentStyle&&(Oe=function(e){return e.currentStyle},Pe=function(e,n,i){var r,s,o,a=i||Oe(e),l=a?a[n]:t,c=e.style;return null==l&&c&&c[n]&&(l=c[n]),Ve.test(l)&&!Ie.test(n)&&(r=c.left,(o=(s=e.runtimeStyle)&&s.left)&&(s.left=e.currentStyle.left),c.left="fontSize"===n?"1em":l,l=c.pixelLeft+"px",c.left=r,o&&(s.left=o)),""===l?"auto":l}),x.each(["height","width"],function(e,n){x.cssHooks[n]={get:function(e,i,r){return i?0===e.offsetWidth&&Be.test(x.css(e,"display"))?x.swap(e,Ye,function(){return rt(e,n,r)}):rt(e,n,r):t},set:function(e,t,i){var r=i&&Oe(e);return nt(0,t,i?it(e,n,i,x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,r),r):0)}}}),x.support.opacity||(x.cssHooks.opacity={get:function(e,t){return Re.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,i=e.currentStyle,r=x.isNumeric(t)?"alpha(opacity="+100*t+")":"",s=i&&i.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===x.trim(s.replace(ze,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||i&&!i.filter)||(n.filter=ze.test(s)?s.replace(ze,r):s+" "+r)}}),x(function(){x.support.reliableMarginRight||(x.cssHooks.marginRight={get:function(e,n){return n?x.swap(e,{display:"inline-block"},Pe,[e,"marginRight"]):t}}),!x.support.pixelPosition&&x.fn.position&&x.each(["top","left"],function(e,n){x.cssHooks[n]={get:function(e,i){return i?(i=Pe(e,n),Ve.test(i)?x(e).position()[n]+"px":i):t}}})}),x.expr&&x.expr.filters&&(x.expr.filters.hidden=function(e){return 0>=e.offsetWidth&&0>=e.offsetHeight||!x.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||x.css(e,"display"))},x.expr.filters.visible=function(e){return!x.expr.filters.hidden(e)}),x.each({margin:"",padding:"",border:"Width"},function(e,t){x.cssHooks[e+t]={expand:function(n){for(var i=0,r={},s="string"==typeof n?n.split(" "):[n];4>i;i++)r[e+Je[i]+t]=s[i]||s[i-2]||s[0];return r}},We.test(e)||(x.cssHooks[e+t].set=nt)});var at=/%20/g,lt=/\[\]$/,ct=/\r?\n/g,ut=/^(?:submit|button|image|reset|file)$/i,dt=/^(?:input|select|textarea|keygen)/i;function ht(e,t,n,i){var r;if(x.isArray(t))x.each(t,function(t,r){n||lt.test(e)?i(e,r):ht(e+"["+("object"==typeof r?t:"")+"]",r,n,i)});else if(n||"object"!==x.type(t))i(e,t);else for(r in t)ht(e+"["+r+"]",t[r],n,i)}x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&dt.test(this.nodeName)&&!ut.test(e)&&(this.checked||!Ce.test(e))}).map(function(e,t){var n=x(this).val();return null==n?null:x.isArray(n)?x.map(n,function(e){return{name:t.name,value:e.replace(ct,"\r\n")}}):{name:t.name,value:n.replace(ct,"\r\n")}}).get()}}),x.param=function(e,n){var i,r=[],s=function(e,t){t=x.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=x.ajaxSettings&&x.ajaxSettings.traditional),x.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,function(){s(this.name,this.value)});else for(i in e)ht(i,e[i],n,s);return r.join("&").replace(at,"+")},x.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(e,t){x.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),x.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var pt,ft,gt=x.now(),mt=/\?/,vt=/#.*$/,yt=/([?&])_=[^&]*/,bt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,xt=/^(?:GET|HEAD)$/,wt=/^\/\//,Ct=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,_t=x.fn.load,Tt={},kt={},Ft="*/".concat("*");try{ft=s.href}catch(e){(ft=o.createElement("a")).href="",ft=ft.href}function Et(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r=0,s=t.toLowerCase().match(C)||[];if(x.isFunction(n))for(;i=s[r++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function St(e,n,i,r){var s={},o=e===kt;function a(l){var c;return s[l]=!0,x.each(e[l]||[],function(e,l){var u=l(n,i,r);return"string"!=typeof u||o||s[u]?o?!(c=u):t:(n.dataTypes.unshift(u),a(u),!1)}),c}return a(n.dataTypes[0])||!s["*"]&&a("*")}function Dt(e,n){var i,r,s=x.ajaxSettings.flatOptions||{};for(r in n)n[r]!==t&&((s[r]?e:i||(i={}))[r]=n[r]);return i&&x.extend(!0,e,i),e}pt=Ct.exec(ft.toLowerCase())||[],x.fn.load=function(e,n,i){if("string"!=typeof e&&_t)return _t.apply(this,arguments);var r,s,o,a=this,l=e.indexOf(" ");return l>=0&&(r=e.slice(l,e.length),e=e.slice(0,l)),x.isFunction(n)?(i=n,n=t):n&&"object"==typeof n&&(o="POST"),a.length>0&&x.ajax({url:e,type:o,dataType:"html",data:n}).done(function(e){s=arguments,a.html(r?x("<div>").append(x.parseHTML(e)).find(r):e)}).complete(i&&function(e,t){a.each(i,s||[e.responseText,t,e])}),this},x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){x.fn[t]=function(e){return this.on(t,e)}}),x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ft,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(pt[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ft,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":x.parseJSON,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Dt(Dt(e,x.ajaxSettings),t):Dt(x.ajaxSettings,e)},ajaxPrefilter:Et(Tt),ajaxTransport:Et(kt),ajax:function(e,n){"object"==typeof e&&(n=e,e=t),n=n||{};var i,r,s,o,a,l,c,u,d=x.ajaxSetup({},n),h=d.context||d,p=d.context&&(h.nodeType||h.jquery)?x(h):x.event,f=x.Deferred(),g=x.Callbacks("once memory"),m=d.statusCode||{},v={},y={},b=0,w="canceled",_={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!u)for(u={};t=bt.exec(o);)u[t[1].toLowerCase()]=t[2];t=u[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?o:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=y[n]=y[n]||e,v[e]=t),this},overrideMimeType:function(e){return b||(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>b)for(t in e)m[t]=[m[t],e[t]];else _.always(e[_.status]);return this},abort:function(e){var t=e||w;return c&&c.abort(t),T(0,t),this}};if(f.promise(_).complete=g.add,_.success=_.done,_.error=_.fail,d.url=((e||d.url||ft)+"").replace(vt,"").replace(wt,pt[1]+"//"),d.type=n.method||n.type||d.method||d.type,d.dataTypes=x.trim(d.dataType||"*").toLowerCase().match(C)||[""],null==d.crossDomain&&(i=Ct.exec(d.url.toLowerCase()),d.crossDomain=!(!i||i[1]===pt[1]&&i[2]===pt[2]&&(i[3]||("http:"===i[1]?"80":"443"))===(pt[3]||("http:"===pt[1]?"80":"443")))),d.data&&d.processData&&"string"!=typeof d.data&&(d.data=x.param(d.data,d.traditional)),St(Tt,d,n,_),2===b)return _;for(r in(l=d.global)&&0==x.active++&&x.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!xt.test(d.type),s=d.url,d.hasContent||(d.data&&(s=d.url+=(mt.test(s)?"&":"?")+d.data,delete d.data),!1===d.cache&&(d.url=yt.test(s)?s.replace(yt,"$1_="+gt++):s+(mt.test(s)?"&":"?")+"_="+gt++)),d.ifModified&&(x.lastModified[s]&&_.setRequestHeader("If-Modified-Since",x.lastModified[s]),x.etag[s]&&_.setRequestHeader("If-None-Match",x.etag[s])),(d.data&&d.hasContent&&!1!==d.contentType||n.contentType)&&_.setRequestHeader("Content-Type",d.contentType),_.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Ft+"; q=0.01":""):d.accepts["*"]),d.headers)_.setRequestHeader(r,d.headers[r]);if(d.beforeSend&&(!1===d.beforeSend.call(h,_,d)||2===b))return _.abort();for(r in w="abort",{success:1,error:1,complete:1})_[r](d[r]);if(c=St(kt,d,n,_)){_.readyState=1,l&&p.trigger("ajaxSend",[_,d]),d.async&&d.timeout>0&&(a=setTimeout(function(){_.abort("timeout")},d.timeout));try{b=1,c.send(v,T)}catch(e){if(!(2>b))throw e;T(-1,e)}}else T(-1,"No Transport");function T(e,n,i,r){var u,v,y,w,C,T=n;2!==b&&(b=2,a&&clearTimeout(a),c=t,o=r||"",_.readyState=e>0?4:0,u=e>=200&&300>e||304===e,i&&(w=function(e,n,i){var r,s,o,a,l=e.contents,c=e.dataTypes;for(;"*"===c[0];)c.shift(),s===t&&(s=e.mimeType||n.getResponseHeader("Content-Type"));if(s)for(a in l)if(l[a]&&l[a].test(s)){c.unshift(a);break}if(c[0]in i)o=c[0];else{for(a in i){if(!c[0]||e.converters[a+" "+c[0]]){o=a;break}r||(r=a)}o=o||r}return o?(o!==c[0]&&c.unshift(o),i[o]):t}(d,_,i)),w=function(e,t,n,i){var r,s,o,a,l,c={},u=e.dataTypes.slice();if(u[1])for(o in e.converters)c[o.toLowerCase()]=e.converters[o];s=u.shift();for(;s;)if(e.responseFields[s]&&(n[e.responseFields[s]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=s,s=u.shift())if("*"===s)s=l;else if("*"!==l&&l!==s){if(!(o=c[l+" "+s]||c["* "+s]))for(r in c)if((a=r.split(" "))[1]===s&&(o=c[l+" "+a[0]]||c["* "+a[0]])){!0===o?o=c[r]:!0!==c[r]&&(s=a[0],u.unshift(a[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+l+" to "+s}}}return{state:"success",data:t}}(d,w,_,u),u?(d.ifModified&&((C=_.getResponseHeader("Last-Modified"))&&(x.lastModified[s]=C),(C=_.getResponseHeader("etag"))&&(x.etag[s]=C)),204===e||"HEAD"===d.type?T="nocontent":304===e?T="notmodified":(T=w.state,v=w.data,u=!(y=w.error))):(y=T,(e||!T)&&(T="error",0>e&&(e=0))),_.status=e,_.statusText=(n||T)+"",u?f.resolveWith(h,[v,T,_]):f.rejectWith(h,[_,T,y]),_.statusCode(m),m=t,l&&p.trigger(u?"ajaxSuccess":"ajaxError",[_,d,u?v:y]),g.fireWith(h,[_,T]),l&&(p.trigger("ajaxComplete",[_,d]),--x.active||x.event.trigger("ajaxStop")))}return _},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,n){return x.get(e,t,n,"script")}}),x.each(["get","post"],function(e,n){x[n]=function(e,i,r,s){return x.isFunction(i)&&(s=s||r,r=i,i=t),x.ajax({url:e,type:n,dataType:s,data:i,success:r})}}),x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),x.ajaxTransport("script",function(e){if(e.crossDomain){var n,i=o.head||x("head")[0]||o.documentElement;return{send:function(t,r){(n=o.createElement("script")).async=!0,e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,t){(t||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,t||r(200,"success"))},i.insertBefore(n,i.firstChild)},abort:function(){n&&n.onload(t,!0)}}}});var Nt=[],jt=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Nt.pop()||x.expando+"_"+gt++;return this[e]=!0,e}}),x.ajaxPrefilter("json jsonp",function(n,i,r){var s,o,a,l=!1!==n.jsonp&&(jt.test(n.url)?"url":"string"==typeof n.data&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&jt.test(n.data)&&"data");return l||"jsonp"===n.dataTypes[0]?(s=n.jsonpCallback=x.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,l?n[l]=n[l].replace(jt,"$1"+s):!1!==n.jsonp&&(n.url+=(mt.test(n.url)?"&":"?")+n.jsonp+"="+s),n.converters["script json"]=function(){return a||x.error(s+" was not called"),a[0]},n.dataTypes[0]="json",o=e[s],e[s]=function(){a=arguments},r.always(function(){e[s]=o,n[s]&&(n.jsonpCallback=i.jsonpCallback,Nt.push(s)),a&&x.isFunction(o)&&o(a[0]),a=o=t}),"script"):t});var Lt,At,$t=0,qt=e.ActiveXObject&&function(){var e;for(e in Lt)Lt[e](t,!0)};function Ht(){try{return new e.XMLHttpRequest}catch(e){}}x.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&Ht()||function(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}()}:Ht,At=x.ajaxSettings.xhr(),x.support.cors=!!At&&"withCredentials"in At,(At=x.support.ajax=!!At)&&x.ajaxTransport(function(n){var i;if(!n.crossDomain||x.support.cors)return{send:function(r,s){var o,a,l=n.xhr();if(n.username?l.open(n.type,n.url,n.async,n.username,n.password):l.open(n.type,n.url,n.async),n.xhrFields)for(a in n.xhrFields)l[a]=n.xhrFields[a];n.mimeType&&l.overrideMimeType&&l.overrideMimeType(n.mimeType),n.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");try{for(a in r)l.setRequestHeader(a,r[a])}catch(e){}l.send(n.hasContent&&n.data||null),i=function(e,r){var a,c,u,d;try{if(i&&(r||4===l.readyState))if(i=t,o&&(l.onreadystatechange=x.noop,qt&&delete Lt[o]),r)4!==l.readyState&&l.abort();else{d={},a=l.status,c=l.getAllResponseHeaders(),"string"==typeof l.responseText&&(d.text=l.responseText);try{u=l.statusText}catch(e){u=""}a||!n.isLocal||n.crossDomain?1223===a&&(a=204):a=d.text?200:404}}catch(e){r||s(-1,e)}d&&s(a,u,d,c)},n.async?4===l.readyState?setTimeout(i):(o=++$t,qt&&(Lt||(Lt={},x(e).unload(qt)),Lt[o]=i),l.onreadystatechange=i):i()},abort:function(){i&&i(t,!0)}}});var Mt,Ot,Pt=/^(?:toggle|show|hide)$/,zt=RegExp("^(?:([+-])=|)("+w+")([a-z%]*)$","i"),Rt=/queueHooks$/,It=[function(e,t,n){var i,r,s,o,a,l,c=this,u={},d=e.style,h=e.nodeType&&et(e),p=x._data(e,"fxshow");for(i in n.queue||(null==(a=x._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,l=a.empty.fire,a.empty.fire=function(){a.unqueued||l()}),a.unqueued++,c.always(function(){c.always(function(){a.unqueued--,x.queue(e,"fx").length||a.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],"inline"===x.css(e,"display")&&"none"===x.css(e,"float")&&(x.support.inlineBlockNeedsLayout&&"inline"!==st(e.nodeName)?d.zoom=1:d.display="inline-block")),n.overflow&&(d.overflow="hidden",x.support.shrinkWrapBlocks||c.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]})),t)if(r=t[i],Pt.exec(r)){if(delete t[i],s=s||"toggle"===r,r===(h?"hide":"show"))continue;u[i]=p&&p[i]||x.style(e,i)}if(!x.isEmptyObject(u))for(i in p?"hidden"in p&&(h=p.hidden):p=x._data(e,"fxshow",{}),s&&(p.hidden=!h),h?x(e).show():c.done(function(){x(e).hide()}),c.done(function(){var t;for(t in x._removeData(e,"fxshow"),u)x.style(e,t,u[t])}),u)o=Xt(h?p[i]:0,i,c),i in p||(p[i]=o.start,h&&(o.end=o.start,o.start="width"===i||"height"===i?1:0))}],Bt={"*":[function(e,t){var n=this.createTween(e,t),i=n.cur(),r=zt.exec(t),s=r&&r[3]||(x.cssNumber[e]?"":"px"),o=(x.cssNumber[e]||"px"!==s&&+i)&&zt.exec(x.css(n.elem,e)),a=1,l=20;if(o&&o[3]!==s){s=s||o[3],r=r||[],o=+i||1;do{o/=a=a||".5",x.style(n.elem,e,o+s)}while(a!==(a=n.cur()/i)&&1!==a&&--l)}return r&&(o=n.start=+o||+i||0,n.unit=s,n.end=r[1]?o+(r[1]+1)*r[2]:+r[2]),n}]};function Wt(){return setTimeout(function(){Mt=t}),Mt=x.now()}function Xt(e,t,n){for(var i,r=(Bt[t]||[]).concat(Bt["*"]),s=0,o=r.length;o>s;s++)if(i=r[s].call(n,t,e))return i}function Vt(e,t,n){var i,r,s=0,o=It.length,a=x.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var t=Mt||Wt(),n=Math.max(0,c.startTime+c.duration-t),i=1-(n/c.duration||0),s=0,o=c.tweens.length;o>s;s++)c.tweens[s].run(i);return a.notifyWith(e,[c,i,n]),1>i&&o?n:(a.resolveWith(e,[c]),!1)},c=a.promise({elem:e,props:x.extend({},t),opts:x.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Mt||Wt(),duration:n.duration,tweens:[],createTween:function(t,n){var i=x.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(i),i},stop:function(t){var n=0,i=t?c.tweens.length:0;if(r)return this;for(r=!0;i>n;n++)c.tweens[n].run(1);return t?a.resolveWith(e,[c,t]):a.rejectWith(e,[c,t]),this}}),u=c.props;for(function(e,t){var n,i,r,s,o;for(n in e)if(i=x.camelCase(n),r=t[i],s=e[n],x.isArray(s)&&(r=s[1],s=e[n]=s[0]),n!==i&&(e[i]=s,delete e[n]),(o=x.cssHooks[i])&&"expand"in o)for(n in s=o.expand(s),delete e[i],s)n in e||(e[n]=s[n],t[n]=r);else t[i]=r}(u,c.opts.specialEasing);o>s;s++)if(i=It[s].call(c,e,u,c.opts))return i;return x.map(u,Xt,c),x.isFunction(c.opts.start)&&c.opts.start.call(e,c),x.fx.timer(x.extend(l,{elem:e,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)}function Ut(e,t,n,i,r){return new Ut.prototype.init(e,t,n,i,r)}function Qt(e,t){var n,i={height:e},r=0;for(t=t?1:0;4>r;r+=2-t)i["margin"+(n=Je[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function Yt(e){return x.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}x.Animation=x.extend(Vt,{tweener:function(e,t){x.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,i=0,r=e.length;r>i;i++)n=e[i],Bt[n]=Bt[n]||[],Bt[n].unshift(t)},prefilter:function(e,t){t?It.unshift(e):It.push(e)}}),x.Tween=Ut,Ut.prototype={constructor:Ut,init:function(e,t,n,i,r,s){this.elem=e,this.prop=n,this.easing=r||"swing",this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=s||(x.cssNumber[n]?"":"px")},cur:function(){var e=Ut.propHooks[this.prop];return e&&e.get?e.get(this):Ut.propHooks._default.get(this)},run:function(e){var t,n=Ut.propHooks[this.prop];return this.pos=t=this.options.duration?x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Ut.propHooks._default.set(this),this}},Ut.prototype.init.prototype=Ut.prototype,Ut.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=x.css(e.elem,e.prop,""))&&"auto"!==t?t:0:e.elem[e.prop]},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[x.cssProps[e.prop]]||x.cssHooks[e.prop])?x.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},Ut.propHooks.scrollTop=Ut.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.each(["toggle","show","hide"],function(e,t){var n=x.fn[t];x.fn[t]=function(e,i,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(Qt(t,!0),e,i,r)}}),x.fn.extend({fadeTo:function(e,t,n,i){return this.filter(et).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=x.isEmptyObject(e),s=x.speed(t,n,i),o=function(){var t=Vt(this,x.extend({},e),s);(r||x._data(this,"finish"))&&t.stop(!0)};return o.finish=o,r||!1===s.queue?this.each(o):this.queue(s.queue,o)},stop:function(e,n,i){var r=function(e){var t=e.stop;delete e.stop,t(i)};return"string"!=typeof e&&(i=n,n=e,e=t),n&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",s=x.timers,o=x._data(this);if(n)o[n]&&o[n].stop&&r(o[n]);else for(n in o)o[n]&&o[n].stop&&Rt.test(n)&&r(o[n]);for(n=s.length;n--;)s[n].elem!==this||null!=e&&s[n].queue!==e||(s[n].anim.stop(i),t=!1,s.splice(n,1));(t||!i)&&x.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=x._data(this),i=n[e+"queue"],r=n[e+"queueHooks"],s=x.timers,o=i?i.length:0;for(n.finish=!0,x.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=s.length;t--;)s[t].elem===this&&s[t].queue===e&&(s[t].anim.stop(!0),s.splice(t,1));for(t=0;o>t;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),x.each({slideDown:Qt("show"),slideUp:Qt("hide"),slideToggle:Qt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){x.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),x.speed=function(e,t,n){var i=e&&"object"==typeof e?x.extend({},e):{complete:n||!n&&t||x.isFunction(e)&&e,duration:e,easing:n&&t||t&&!x.isFunction(t)&&t};return i.duration=x.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in x.fx.speeds?x.fx.speeds[i.duration]:x.fx.speeds._default,(null==i.queue||!0===i.queue)&&(i.queue="fx"),i.old=i.complete,i.complete=function(){x.isFunction(i.old)&&i.old.call(this),i.queue&&x.dequeue(this,i.queue)},i},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},x.timers=[],x.fx=Ut.prototype.init,x.fx.tick=function(){var e,n=x.timers,i=0;for(Mt=x.now();n.length>i;i++)(e=n[i])()||n[i]!==e||n.splice(i--,1);n.length||x.fx.stop(),Mt=t},x.fx.timer=function(e){e()&&x.timers.push(e)&&x.fx.start()},x.fx.interval=13,x.fx.start=function(){Ot||(Ot=setInterval(x.fx.tick,x.fx.interval))},x.fx.stop=function(){clearInterval(Ot),Ot=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fx.step={},x.expr&&x.expr.filters&&(x.expr.filters.animated=function(e){return x.grep(x.timers,function(t){return e===t.elem}).length}),x.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){x.offset.setOffset(this,e,t)});var n,i,s={top:0,left:0},o=this[0],a=o&&o.ownerDocument;return a?(n=a.documentElement,x.contains(n,o)?(typeof o.getBoundingClientRect!==r&&(s=o.getBoundingClientRect()),i=Yt(a),{top:s.top+(i.pageYOffset||n.scrollTop)-(n.clientTop||0),left:s.left+(i.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}):s):void 0},x.offset={setOffset:function(e,t,n){var i=x.css(e,"position");"static"===i&&(e.style.position="relative");var r,s,o=x(e),a=o.offset(),l=x.css(e,"top"),c=x.css(e,"left"),u={},d={};("absolute"===i||"fixed"===i)&&x.inArray("auto",[l,c])>-1?(r=(d=o.position()).top,s=d.left):(r=parseFloat(l)||0,s=parseFloat(c)||0),x.isFunction(t)&&(t=t.call(e,n,a)),null!=t.top&&(u.top=t.top-a.top+r),null!=t.left&&(u.left=t.left-a.left+s),"using"in t?t.using.call(e,u):o.css(u)}},x.fn.extend({position:function(){if(this[0]){var e,t,n={top:0,left:0},i=this[0];return"fixed"===x.css(i,"position")?t=i.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),x.nodeName(e[0],"html")||(n=e.offset()),n.top+=x.css(e[0],"borderTopWidth",!0),n.left+=x.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-x.css(i,"marginTop",!0),left:t.left-n.left-x.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||a;e&&!x.nodeName(e,"html")&&"static"===x.css(e,"position");)e=e.offsetParent;return e||a})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var i=/Y/.test(n);x.fn[e]=function(r){return x.access(this,function(e,r,s){var o=Yt(e);return s===t?o?n in o?o[n]:o.document.documentElement[r]:e[r]:(o?o.scrollTo(i?x(o).scrollLeft():s,i?s:x(o).scrollTop()):e[r]=s,t)},e,r,arguments.length,null)}}),x.each({Height:"height",Width:"width"},function(e,n){x.each({padding:"inner"+e,content:n,"":"outer"+e},function(i,r){x.fn[r]=function(r,s){var o=arguments.length&&(i||"boolean"!=typeof r),a=i||(!0===r||!0===s?"margin":"border");return x.access(this,function(n,i,r){var s;return x.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(s=n.documentElement,Math.max(n.body["scroll"+e],s["scroll"+e],n.body["offset"+e],s["offset"+e],s["client"+e])):r===t?x.css(n,i,a):x.style(n,i,r,a)},n,o?r:t,o,null)}})}),x.fn.size=function(){return this.length},x.fn.andSelf=x.fn.addBack,"object"==typeof module&&module&&"object"==typeof module.exports?module.exports=x:(e.jQuery=e.$=x,"function"==typeof define&&define.amd&&define("jquery",[],function(){return x}))}(window),window.Modernizr=function(e,t,n){function i(e){g.cssText=e}function r(e,t){return typeof e===t}function s(e,t){return!!~(""+e).indexOf(t)}function o(e,t){for(var i in e){var r=e[i];if(!s(r,"-")&&g[r]!==n)return"pfx"!=t||r}return!1}function a(e,t,i){for(var s in e){var o=t[e[s]];if(o!==n)return!1===i?e[s]:r(o,"function")?o.bind(i||t):o}return!1}function l(e,t,n){var i=e.charAt(0).toUpperCase()+e.slice(1),s=(e+" "+w.join(i+" ")+i).split(" ");return r(t,"string")||r(t,"undefined")?o(s,t):a(s=(e+" "+C.join(i+" ")+i).split(" "),t,n)}var c,u,d={},h=t.documentElement,p="modernizr",f=t.createElement(p),g=f.style,m=t.createElement("input"),v=":)",y={}.toString,b=" -webkit- -moz- -o- -ms- ".split(" "),x="Webkit Moz O ms",w=x.split(" "),C=x.toLowerCase().split(" "),_="http://www.w3.org/2000/svg",T={},k={},F={},E=[],S=E.slice,D=function(e,n,i,r){var s,o,a,l,c=t.createElement("div"),u=t.body,d=u||t.createElement("body");if(parseInt(i,10))for(;i--;)(a=t.createElement("div")).id=r?r[i]:p+(i+1),c.appendChild(a);return s=["&#173;",'<style id="s',p,'">',e,"</style>"].join(""),c.id=p,(u?c:d).innerHTML+=s,d.appendChild(c),u||(d.style.background="",d.style.overflow="hidden",l=h.style.overflow,h.style.overflow="hidden",h.appendChild(d)),o=n(c,e),u?c.parentNode.removeChild(c):(d.parentNode.removeChild(d),h.style.overflow=l),!!o},N=function(){var e={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return function(i,s){s=s||t.createElement(e[i]||"div");var o=(i="on"+i)in s;return o||(s.setAttribute||(s=t.createElement("div")),s.setAttribute&&s.removeAttribute&&(s.setAttribute(i,""),o=r(s[i],"function"),r(s[i],"undefined")||(s[i]=n),s.removeAttribute(i))),s=null,o}}(),j={}.hasOwnProperty;for(var L in u=r(j,"undefined")||r(j.call,"undefined")?function(e,t){return t in e&&r(e.constructor.prototype[t],"undefined")}:function(e,t){return j.call(e,t)},Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if("function"!=typeof t)throw new TypeError;var n=S.call(arguments,1),i=function(){if(this instanceof i){var r=function(){};r.prototype=t.prototype;var s=new r,o=t.apply(s,n.concat(S.call(arguments)));return Object(o)===o?o:s}return t.apply(e,n.concat(S.call(arguments)))};return i}),T.flexbox=function(){return l("flexWrap")},T.flexboxlegacy=function(){return l("boxDirection")},T.canvas=function(){var e=t.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},T.canvastext=function(){return!(!d.canvas||!r(t.createElement("canvas").getContext("2d").fillText,"function"))},T.webgl=function(){return!!e.WebGLRenderingContext},T.touch=function(){var n;return"ontouchstart"in e||e.DocumentTouch&&t instanceof DocumentTouch?n=!0:D(["@media (",b.join("touch-enabled),("),p,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(e){n=9===e.offsetTop}),n},T.geolocation=function(){return"geolocation"in navigator},T.postmessage=function(){return!!e.postMessage},T.websqldatabase=function(){return!!e.openDatabase},T.indexedDB=function(){return!!l("indexedDB",e)},T.hashchange=function(){return N("hashchange",e)&&(t.documentMode===n||t.documentMode>7)},T.history=function(){return!(!e.history||!history.pushState)},T.draganddrop=function(){var e=t.createElement("div");return"draggable"in e||"ondragstart"in e&&"ondrop"in e},T.websockets=function(){return"WebSocket"in e||"MozWebSocket"in e},T.rgba=function(){return i("background-color:rgba(150,255,150,.5)"),s(g.backgroundColor,"rgba")},T.hsla=function(){return i("background-color:hsla(120,40%,100%,.5)"),s(g.backgroundColor,"rgba")||s(g.backgroundColor,"hsla")},T.multiplebgs=function(){return i("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(g.background)},T.backgroundsize=function(){return l("backgroundSize")},T.borderimage=function(){return l("borderImage")},T.borderradius=function(){return l("borderRadius")},T.boxshadow=function(){return l("boxShadow")},T.textshadow=function(){return""===t.createElement("div").style.textShadow},T.opacity=function(){return e="opacity:.55",i(b.join(e+";")+(t||"")),/^0.55$/.test(g.opacity);var e,t},T.cssanimations=function(){return l("animationName")},T.csscolumns=function(){return l("columnCount")},T.cssgradients=function(){var e="background-image:";return i((e+"-webkit- ".split(" ").join("gradient(linear,left top,right bottom,from(#9f9),to(white));"+e)+b.join("linear-gradient(left top,#9f9, white);"+e)).slice(0,-e.length)),s(g.backgroundImage,"gradient")},T.cssreflections=function(){return l("boxReflect")},T.csstransforms=function(){return!!l("transform")},T.csstransforms3d=function(){var e=!!l("perspective");return e&&"webkitPerspective"in h.style&&D("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(t){e=9===t.offsetLeft&&3===t.offsetHeight}),e},T.csstransitions=function(){return l("transition")},T.fontface=function(){var e;return D('@font-face {font-family:"font";src:url("https://")}',function(n,i){var r=t.getElementById("smodernizr"),s=r.sheet||r.styleSheet,o=s?s.cssRules&&s.cssRules[0]?s.cssRules[0].cssText:s.cssText||"":"";e=/src/i.test(o)&&0===o.indexOf(i.split(" ")[0])}),e},T.generatedcontent=function(){var e;return D(["#",p,"{font:0/0 a}#",p,':after{content:"',v,'";visibility:hidden;font:3px/1 a}'].join(""),function(t){e=t.offsetHeight>=3}),e},T.video=function(){var e=t.createElement("video"),n=!1;try{(n=!!e.canPlayType)&&((n=new Boolean(n)).ogg=e.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),n.h264=e.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),n.webm=e.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(e){}return n},T.audio=function(){var e=t.createElement("audio"),n=!1;try{(n=!!e.canPlayType)&&((n=new Boolean(n)).ogg=e.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),n.mp3=e.canPlayType("audio/mpeg;").replace(/^no$/,""),n.wav=e.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),n.m4a=(e.canPlayType("audio/x-m4a;")||e.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(e){}return n},T.localstorage=function(){try{return localStorage.setItem(p,p),localStorage.removeItem(p),!0}catch(e){return!1}},T.sessionstorage=function(){try{return sessionStorage.setItem(p,p),sessionStorage.removeItem(p),!0}catch(e){return!1}},T.webworkers=function(){return!!e.Worker},T.applicationcache=function(){return!!e.applicationCache},T.svg=function(){return!!t.createElementNS&&!!t.createElementNS(_,"svg").createSVGRect},T.inlinesvg=function(){var e=t.createElement("div");return e.innerHTML="<svg/>",(e.firstChild&&e.firstChild.namespaceURI)==_},T.smil=function(){return!!t.createElementNS&&/SVGAnimate/.test(y.call(t.createElementNS(_,"animate")))},T.svgclippaths=function(){return!!t.createElementNS&&/SVGClipPath/.test(y.call(t.createElementNS(_,"clipPath")))},T)u(T,L)&&(c=L.toLowerCase(),d[c]=T[L](),E.push((d[c]?"":"no-")+c));return d.input||(d.input=function(n){for(var i=0,r=n.length;r>i;i++)F[n[i]]=!!(n[i]in m);return F.list&&(F.list=!(!t.createElement("datalist")||!e.HTMLDataListElement)),F}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),d.inputtypes=function(e){for(var i,r,s,o=0,a=e.length;a>o;o++)m.setAttribute("type",r=e[o]),(i="text"!==m.type)&&(m.value=v,m.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(r)&&m.style.WebkitAppearance!==n?(h.appendChild(m),i=(s=t.defaultView).getComputedStyle&&"textfield"!==s.getComputedStyle(m,null).WebkitAppearance&&0!==m.offsetHeight,h.removeChild(m)):/^(search|tel)$/.test(r)||(i=/^(url|email)$/.test(r)?m.checkValidity&&!1===m.checkValidity():m.value!=v)),k[e[o]]=!!i;return k}("search tel url email datetime date month week time datetime-local number range color".split(" "))),d.addTest=function(e,t){if("object"==typeof e)for(var i in e)u(e,i)&&d.addTest(i,e[i]);else{if(e=e.toLowerCase(),d[e]!==n)return d;t="function"==typeof t?t():t,h.className+=" "+(t?"":"no-")+e,d[e]=t}return d},i(""),f=m=null,function(e,t){function n(){var e=g.elements;return"string"==typeof e?e.split(" "):e}function i(e){var t=f[e[h]];return t||(t={},p++,e[h]=p,f[p]=t),t}function r(e,n,r){return n||(n=t),l?n.createElement(e):(r||(r=i(n)),!(s=r.cache[e]?r.cache[e].cloneNode():d.test(e)?(r.cache[e]=r.createElem(e)).cloneNode():r.createElem(e)).canHaveChildren||u.test(e)||s.tagUrn?s:r.frag.appendChild(s));var s}function s(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return g.shivMethods?r(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+n().join().replace(/[\w\-]+/g,function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'})+");return n}")(g,t.frag)}function o(e){e||(e=t);var n=i(e);return!g.shivCSS||a||n.hasCSS||(n.hasCSS=!!function(e,t){var n=e.createElement("p"),i=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x<style>"+t+"</style>",i.insertBefore(n.lastChild,i.firstChild)}(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),l||s(e,n),e}var a,l,c=e.html5||{},u=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,d=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,h="_html5shiv",p=0,f={};!function(){try{var e=t.createElement("a");e.innerHTML="<xyz></xyz>",a="hidden"in e,l=1==e.childNodes.length||function(){t.createElement("a");var e=t.createDocumentFragment();return void 0===e.cloneNode||void 0===e.createDocumentFragment||void 0===e.createElement}()}catch(e){a=!0,l=!0}}();var g={elements:c.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==c.shivCSS,supportsUnknownElements:l,shivMethods:!1!==c.shivMethods,type:"default",shivDocument:o,createElement:r,createDocumentFragment:function(e,r){if(e||(e=t),l)return e.createDocumentFragment();for(var s=(r=r||i(e)).frag.cloneNode(),o=0,a=n(),c=a.length;c>o;o++)s.createElement(a[o]);return s}};e.html5=g,o(t)}(this,t),d._version="2.8.3",d._prefixes=b,d._domPrefixes=C,d._cssomPrefixes=w,d.mq=function(t){var n,i=e.matchMedia||e.msMatchMedia;return i?i(t)&&i(t).matches||!1:(D("@media "+t+" { #"+p+" { position: absolute; } }",function(t){n="absolute"==(e.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position}),n)},d.hasEvent=N,d.testProp=function(e){return o([e])},d.testAllProps=l,d.testStyles=D,d.prefixed=function(e,t,n){return t?l(e,t,n):l(e,"pfx")},h.className=h.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+" js "+E.join(" "),d}(this,this.document),function(e,t,n,i){function r(t,n){this.settings=null,this.options=e.extend({},r.Defaults,n),this.$element=e(t),this.drag=e.extend({},a),this.state=e.extend({},l),this.e=e.extend({},c),this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._invalidated={},this._pipe=[],e.each(r.Plugins,e.proxy(function(e,t){this._plugins[e[0].toLowerCase()+e.slice(1)]=new t(this)},this)),e.each(r.Pipe,e.proxy(function(t,n){this._pipe.push({filter:n.filter,run:e.proxy(n.run,this)})},this)),this.setup(),this.initialize()}function s(e){if(e.touches!==i)return{x:e.touches[0].pageX,y:e.touches[0].pageY};if(e.touches===i){if(e.pageX!==i)return{x:e.pageX,y:e.pageY};if(e.pageX===i)return{x:e.clientX,y:e.clientY}}}function o(e){var t,i,r=n.createElement("div"),s=e;for(t in s)if(i=s[t],void 0!==r.style[i])return r=null,[i,t];return[!1]}var a,l,c;a={start:0,startX:0,startY:0,current:0,currentX:0,currentY:0,offsetX:0,offsetY:0,distance:null,startTime:0,endTime:0,updatedX:0,targetEl:null},l={isTouch:!1,isScrolling:!1,isSwiping:!1,direction:!1,inMotion:!1},c={_onDragStart:null,_onDragMove:null,_onDragEnd:null,_transitionEnd:null,_resizer:null,_responsiveCall:null,_goToLoop:null,_checkVisibile:null},r.Defaults={items:3,loop:!1,center:!1,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:t,responsiveClass:!1,fallbackEasing:"swing",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",themeClass:"owl-theme",baseClass:"owl-carousel",itemClass:"owl-item",centerClass:"center",activeClass:"active"},r.Width={Default:"default",Inner:"inner",Outer:"outer"},r.Plugins={},r.Pipe=[{filter:["width","items","settings"],run:function(e){e.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){var e=this._clones;(this.$stage.children(".cloned").length!==e.length||!this.settings.loop&&e.length>0)&&(this.$stage.children(".cloned").remove(),this._clones=[])}},{filter:["items","settings"],run:function(){var e,t,n=this._clones,i=this._items,r=this.settings.loop?n.length-Math.max(2*this.settings.items,4):0;for(e=0,t=Math.abs(r/2);t>e;e++)r>0?(this.$stage.children().eq(i.length+n.length-1).remove(),n.pop(),this.$stage.children().eq(0).remove(),n.pop()):(n.push(n.length/2),this.$stage.append(i[n[n.length-1]].clone().addClass("cloned")),n.push(i.length-1-(n.length-1)/2),this.$stage.prepend(i[n[n.length-1]].clone().addClass("cloned")))}},{filter:["width","items","settings"],run:function(){var e,t,n,i=this.settings.rtl?1:-1,r=(this.width()/this.settings.items).toFixed(3),s=0;for(this._coordinates=[],t=0,n=this._clones.length+this._items.length;n>t;t++)e=this._mergers[this.relative(t)],e=this.settings.mergeFit&&Math.min(e,this.settings.items)||e,s+=(this.settings.autoWidth?this._items[this.relative(t)].width()+this.settings.margin:r*e)*i,this._coordinates.push(s)}},{filter:["width","items","settings"],run:function(){var t,n,i=(this.width()/this.settings.items).toFixed(3),r={width:Math.abs(this._coordinates[this._coordinates.length-1])+2*this.settings.stagePadding,"padding-left":this.settings.stagePadding||"","padding-right":this.settings.stagePadding||""};if(this.$stage.css(r),(r={width:this.settings.autoWidth?"auto":i-this.settings.margin})[this.settings.rtl?"margin-left":"margin-right"]=this.settings.margin,!this.settings.autoWidth&&e.grep(this._mergers,function(e){return e>1}).length>0)for(t=0,n=this._coordinates.length;n>t;t++)r.width=Math.abs(this._coordinates[t])-Math.abs(this._coordinates[t-1]||0)-this.settings.margin,this.$stage.children().eq(t).css(r);else this.$stage.children().css(r)}},{filter:["width","items","settings"],run:function(e){e.current&&this.reset(this.$stage.children().index(e.current))}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var e,t,n,i,r=this.settings.rtl?1:-1,s=2*this.settings.stagePadding,o=this.coordinates(this.current())+s,a=o+this.width()*r,l=[];for(n=0,i=this._coordinates.length;i>n;n++)e=this._coordinates[n-1]||0,t=Math.abs(this._coordinates[n])+s*r,(this.op(e,"<=",o)&&this.op(e,">",a)||this.op(t,"<",o)&&this.op(t,">",a))&&l.push(n);this.$stage.children("."+this.settings.activeClass).removeClass(this.settings.activeClass),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass(this.settings.activeClass),this.settings.center&&(this.$stage.children("."+this.settings.centerClass).removeClass(this.settings.centerClass),this.$stage.children().eq(this.current()).addClass(this.settings.centerClass))}}],r.prototype.initialize=function(){var t,n,r;if((this.trigger("initialize"),this.$element.addClass(this.settings.baseClass).addClass(this.settings.themeClass).toggleClass("owl-rtl",this.settings.rtl),this.browserSupport(),this.settings.autoWidth&&!0!==this.state.imagesLoaded)&&(t=this.$element.find("img"),n=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:i,r=this.$element.children(n).width(),t.length&&0>=r))return this.preloadAutoWidthImages(t),!1;this.$element.addClass("owl-loading"),this.$stage=e("<"+this.settings.stageElement+' class="owl-stage"/>').wrap('<div class="owl-stage-outer">'),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this._width=this.$element.width(),this.refresh(),this.$element.removeClass("owl-loading").addClass("owl-loaded"),this.eventsCall(),this.internalEvents(),this.addTriggerableEvents(),this.trigger("initialized")},r.prototype.setup=function(){var t=this.viewport(),n=this.options.responsive,i=-1,r=null;n?(e.each(n,function(e){t>=e&&e>i&&(i=Number(e))}),delete(r=e.extend({},this.options,n[i])).responsive,r.responsiveClass&&this.$element.attr("class",function(e,t){return t.replace(/\b owl-responsive-\S+/g,"")}).addClass("owl-responsive-"+i)):r=e.extend({},this.options),(null===this.settings||this._breakpoint!==i)&&(this.trigger("change",{property:{name:"settings",value:r}}),this._breakpoint=i,this.settings=r,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}}))},r.prototype.optionsLogic=function(){this.$element.toggleClass("owl-center",this.settings.center),this.settings.loop&&this._items.length<this.settings.items&&(this.settings.loop=!1),this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},r.prototype.prepare=function(t){var n=this.trigger("prepare",{content:t});return n.data||(n.data=e("<"+this.settings.itemElement+"/>").addClass(this.settings.itemClass).append(t)),this.trigger("prepared",{content:n.data}),n.data},r.prototype.update=function(){for(var t=0,n=this._pipe.length,i=e.proxy(function(e){return this[e]},this._invalidated),r={};n>t;)(this._invalidated.all||e.grep(this._pipe[t].filter,i).length>0)&&this._pipe[t].run(r),t++;this._invalidated={}},r.prototype.width=function(e){switch(e=e||r.Width.Default){case r.Width.Inner:case r.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},r.prototype.refresh=function(){if(0===this._items.length)return!1;(new Date).getTime(),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$stage.addClass("owl-refresh"),this.update(),this.$stage.removeClass("owl-refresh"),this.state.orientation=t.orientation,this.watchVisibility(),this.trigger("refreshed")},r.prototype.eventsCall=function(){this.e._onDragStart=e.proxy(function(e){this.onDragStart(e)},this),this.e._onDragMove=e.proxy(function(e){this.onDragMove(e)},this),this.e._onDragEnd=e.proxy(function(e){this.onDragEnd(e)},this),this.e._onResize=e.proxy(function(e){this.onResize(e)},this),this.e._transitionEnd=e.proxy(function(e){this.transitionEnd(e)},this),this.e._preventClick=e.proxy(function(e){this.preventClick(e)},this)},r.prototype.onThrottledResize=function(){t.clearTimeout(this.resizeTimer),this.resizeTimer=t.setTimeout(this.e._onResize,this.settings.responsiveRefreshRate)},r.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!this.trigger("resize").isDefaultPrevented()&&(this._width=this.$element.width(),this.invalidate("width"),this.refresh(),void this.trigger("resized"))))},r.prototype.eventsRouter=function(e){var t=e.type;"mousedown"===t||"touchstart"===t?this.onDragStart(e):"mousemove"===t||"touchmove"===t?this.onDragMove(e):"mouseup"===t||"touchend"===t?this.onDragEnd(e):"touchcancel"===t&&this.onDragEnd(e)},r.prototype.internalEvents=function(){var n=("ontouchstart"in t||navigator.msMaxTouchPoints,t.navigator.msPointerEnabled);this.settings.mouseDrag?(this.$stage.on("mousedown",e.proxy(function(e){this.eventsRouter(e)},this)),this.$stage.on("dragstart",function(){return!1}),this.$stage.get(0).onselectstart=function(){return!1}):this.$element.addClass("owl-text-select-on"),this.settings.touchDrag&&!n&&this.$stage.on("touchstart touchcancel",e.proxy(function(e){this.eventsRouter(e)},this)),this.transitionEndVendor&&this.on(this.$stage.get(0),this.transitionEndVendor,this.e._transitionEnd,!1),!1!==this.settings.responsive&&this.on(t,"resize",e.proxy(this.onThrottledResize,this))},r.prototype.onDragStart=function(i){var r,o,a,l;if(3===(r=i.originalEvent||i||t.event).which||this.state.isTouch)return!1;if("mousedown"===r.type&&this.$stage.addClass("owl-grab"),this.trigger("drag"),this.drag.startTime=(new Date).getTime(),this.speed(0),this.state.isTouch=!0,this.state.isScrolling=!1,this.state.isSwiping=!1,this.drag.distance=0,o=s(r).x,a=s(r).y,this.drag.offsetX=this.$stage.position().left,this.drag.offsetY=this.$stage.position().top,this.settings.rtl&&(this.drag.offsetX=this.$stage.position().left+this.$stage.width()-this.width()+this.settings.margin),this.state.inMotion&&this.support3d)l=this.getTransformProperty(),this.drag.offsetX=l,this.animate(l),this.state.inMotion=!0;else if(this.state.inMotion&&!this.support3d)return this.state.inMotion=!1,!1;this.drag.startX=o-this.drag.offsetX,this.drag.startY=a-this.drag.offsetY,this.drag.start=o-this.drag.startX,this.drag.targetEl=r.target||r.srcElement,this.drag.updatedX=this.drag.start,("IMG"===this.drag.targetEl.tagName||"A"===this.drag.targetEl.tagName)&&(this.drag.targetEl.draggable=!1),e(n).on("mousemove.owl.dragEvents mouseup.owl.dragEvents touchmove.owl.dragEvents touchend.owl.dragEvents",e.proxy(function(e){this.eventsRouter(e)},this))},r.prototype.onDragMove=function(e){var n,r,o,a,l,c;this.state.isTouch&&(this.state.isScrolling||(r=s(n=e.originalEvent||e||t.event).x,o=s(n).y,this.drag.currentX=r-this.drag.startX,this.drag.currentY=o-this.drag.startY,this.drag.distance=this.drag.currentX-this.drag.offsetX,this.drag.distance<0?this.state.direction=this.settings.rtl?"right":"left":this.drag.distance>0&&(this.state.direction=this.settings.rtl?"left":"right"),this.settings.loop?this.op(this.drag.currentX,">",this.coordinates(this.minimum()))&&"right"===this.state.direction?this.drag.currentX-=(this.settings.center&&this.coordinates(0))-this.coordinates(this._items.length):this.op(this.drag.currentX,"<",this.coordinates(this.maximum()))&&"left"===this.state.direction&&(this.drag.currentX+=(this.settings.center&&this.coordinates(0))-this.coordinates(this._items.length)):(a=this.coordinates(this.settings.rtl?this.maximum():this.minimum()),l=this.coordinates(this.settings.rtl?this.minimum():this.maximum()),c=this.settings.pullDrag?this.drag.distance/5:0,this.drag.currentX=Math.max(Math.min(this.drag.currentX,a+c),l+c)),(this.drag.distance>8||this.drag.distance<-8)&&(n.preventDefault!==i?n.preventDefault():n.returnValue=!1,this.state.isSwiping=!0),this.drag.updatedX=this.drag.currentX,(this.drag.currentY>16||this.drag.currentY<-16)&&!1===this.state.isSwiping&&(this.state.isScrolling=!0,this.drag.updatedX=this.drag.start),this.animate(this.drag.updatedX)))},r.prototype.onDragEnd=function(t){var i,r;if(this.state.isTouch){if("mouseup"===t.type&&this.$stage.removeClass("owl-grab"),this.trigger("dragged"),this.drag.targetEl.removeAttribute("draggable"),this.state.isTouch=!1,this.state.isScrolling=!1,this.state.isSwiping=!1,0===this.drag.distance&&!0!==this.state.inMotion)return this.state.inMotion=!1,!1;this.drag.endTime=(new Date).getTime(),i=this.drag.endTime-this.drag.startTime,(Math.abs(this.drag.distance)>3||i>300)&&this.removeClick(this.drag.targetEl),r=this.closest(this.drag.updatedX),this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(r),this.invalidate("position"),this.update(),this.settings.pullDrag||this.drag.updatedX!==this.coordinates(r)||this.transitionEnd(),this.drag.distance=0,e(n).off(".owl.dragEvents")}},r.prototype.removeClick=function(n){this.drag.targetEl=n,e(n).on("click.preventClick",this.e._preventClick),t.setTimeout(function(){e(n).off("click.preventClick")},300)},r.prototype.preventClick=function(t){t.preventDefault?t.preventDefault():t.returnValue=!1,t.stopPropagation&&t.stopPropagation(),e(t.target).off("click.preventClick")},r.prototype.getTransformProperty=function(){var e;return!0!==(16===(e=(e=t.getComputedStyle(this.$stage.get(0),null).getPropertyValue(this.vendorName+"transform")).replace(/matrix(3d)?\(|\)/g,"").split(",")).length)?e[4]:e[12]},r.prototype.closest=function(t){var n=-1,i=this.width(),r=this.coordinates();return this.settings.freeDrag||e.each(r,e.proxy(function(e,s){return t>s-30&&s+30>t?n=e:this.op(t,"<",s)&&this.op(t,">",r[e+1]||s-i)&&(n="left"===this.state.direction?e+1:e),-1===n},this)),this.settings.loop||(this.op(t,">",r[this.minimum()])?n=t=this.minimum():this.op(t,"<",r[this.maximum()])&&(n=t=this.maximum())),n},r.prototype.animate=function(t){this.trigger("translate"),this.state.inMotion=this.speed()>0,this.support3d?this.$stage.css({transform:"translate3d("+t+"px,0px, 0px)",transition:this.speed()/1e3+"s"}):this.state.isTouch?this.$stage.css({left:t+"px"}):this.$stage.animate({left:t},this.speed()/1e3,this.settings.fallbackEasing,e.proxy(function(){this.state.inMotion&&this.transitionEnd()},this))},r.prototype.current=function(e){if(e===i)return this._current;if(0===this._items.length)return i;if(e=this.normalize(e),this._current!==e){var t=this.trigger("change",{property:{name:"position",value:e}});t.data!==i&&(e=this.normalize(t.data)),this._current=e,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},r.prototype.invalidate=function(e){this._invalidated[e]=!0},r.prototype.reset=function(e){(e=this.normalize(e))!==i&&(this._speed=0,this._current=e,this.suppress(["translate","translated"]),this.animate(this.coordinates(e)),this.release(["translate","translated"]))},r.prototype.normalize=function(t,n){var r=n?this._items.length:this._items.length+this._clones.length;return!e.isNumeric(t)||1>r?i:t=this._clones.length?(t%r+r)%r:Math.max(this.minimum(n),Math.min(this.maximum(n),t))},r.prototype.relative=function(e){return e=this.normalize(e),e-=this._clones.length/2,this.normalize(e,!0)},r.prototype.maximum=function(e){var t,n,i,r=0,s=this.settings;if(e)return this._items.length-1;if(!s.loop&&s.center)t=this._items.length-1;else if(s.loop||s.center)if(s.loop||s.center)t=this._items.length+s.items;else{if(!s.autoWidth&&!s.merge)throw"Can not detect maximum absolute position.";for(revert=s.rtl?1:-1,n=this.$stage.width()-this.$element.width();(i=this.coordinates(r))&&!(i*revert>=n);)t=++r}else t=this._items.length-s.items;return t},r.prototype.minimum=function(e){return e?0:this._clones.length/2},r.prototype.items=function(e){return e===i?this._items.slice():(e=this.normalize(e,!0),this._items[e])},r.prototype.mergers=function(e){return e===i?this._mergers.slice():(e=this.normalize(e,!0),this._mergers[e])},r.prototype.clones=function(t){var n=this._clones.length/2,r=n+this._items.length,s=function(e){return e%2==0?r+e/2:n-(e+1)/2};return t===i?e.map(this._clones,function(e,t){return s(t)}):e.map(this._clones,function(e,n){return e===t?s(n):null})},r.prototype.speed=function(e){return e!==i&&(this._speed=e),this._speed},r.prototype.coordinates=function(t){var n=null;return t===i?e.map(this._coordinates,e.proxy(function(e,t){return this.coordinates(t)},this)):(this.settings.center?(n=this._coordinates[t],n+=(this.width()-n+(this._coordinates[t-1]||0))/2*(this.settings.rtl?-1:1)):n=this._coordinates[t-1]||0,n)},r.prototype.duration=function(e,t,n){return Math.min(Math.max(Math.abs(t-e),1),6)*Math.abs(n||this.settings.smartSpeed)},r.prototype.to=function(n,i){if(this.settings.loop){var r=n-this.relative(this.current()),s=this.current(),o=this.current(),a=this.current()+r,l=0>o-a,c=this._clones.length+this._items.length;a<this.settings.items&&!1===l?(s=o+this._items.length,this.reset(s)):a>=c-this.settings.items&&!0===l&&(s=o-this._items.length,this.reset(s)),t.clearTimeout(this.e._goToLoop),this.e._goToLoop=t.setTimeout(e.proxy(function(){this.speed(this.duration(this.current(),s+r,i)),this.current(s+r),this.update()},this),30)}else this.speed(this.duration(this.current(),n,i)),this.current(n),this.update()},r.prototype.next=function(e){e=e||!1,this.to(this.relative(this.current())+1,e)},r.prototype.prev=function(e){e=e||!1,this.to(this.relative(this.current())-1,e)},r.prototype.transitionEnd=function(e){return(e===i||(e.stopPropagation(),(e.target||e.srcElement||e.originalTarget)===this.$stage.get(0)))&&(this.state.inMotion=!1,void this.trigger("translated"))},r.prototype.viewport=function(){var i;if(this.options.responsiveBaseElement!==t)i=e(this.options.responsiveBaseElement).width();else if(t.innerWidth)i=t.innerWidth;else{if(!n.documentElement||!n.documentElement.clientWidth)throw"Can not detect viewport width.";i=n.documentElement.clientWidth}return i},r.prototype.replace=function(t){this.$stage.empty(),this._items=[],t&&(t=t instanceof jQuery?t:e(t)),this.settings.nestedItemSelector&&(t=t.find("."+this.settings.nestedItemSelector)),t.filter(function(){return 1===this.nodeType}).each(e.proxy(function(e,t){t=this.prepare(t),this.$stage.append(t),this._items.push(t),this._mergers.push(1*t.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")||1)},this)),this.reset(e.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},r.prototype.add=function(e,t){t=t===i?this._items.length:this.normalize(t,!0),this.trigger("add",{content:e,position:t}),0===this._items.length||t===this._items.length?(this.$stage.append(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")||1)):(this._items[t].before(e),this._items.splice(t,0,e),this._mergers.splice(t,0,1*e.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")||1)),this.invalidate("items"),this.trigger("added",{content:e,position:t})},r.prototype.remove=function(e){(e=this.normalize(e,!0))!==i&&(this.trigger("remove",{content:this._items[e],position:e}),this._items[e].remove(),this._items.splice(e,1),this._mergers.splice(e,1),this.invalidate("items"),this.trigger("removed",{content:null,position:e}))},r.prototype.addTriggerableEvents=function(){var t=e.proxy(function(t,n){return e.proxy(function(e){e.relatedTarget!==this&&(this.suppress([n]),t.apply(this,[].slice.call(arguments,1)),this.release([n]))},this)},this);e.each({next:this.next,prev:this.prev,to:this.to,destroy:this.destroy,refresh:this.refresh,replace:this.replace,add:this.add,remove:this.remove},e.proxy(function(e,n){this.$element.on(e+".owl.carousel",t(n,e+".owl.carousel"))},this))},r.prototype.watchVisibility=function(){function n(e){return e.offsetWidth>0&&e.offsetHeight>0}n(this.$element.get(0))||(this.$element.addClass("owl-hidden"),t.clearInterval(this.e._checkVisibile),this.e._checkVisibile=t.setInterval(e.proxy(function(){n(this.$element.get(0))&&(this.$element.removeClass("owl-hidden"),this.refresh(),t.clearInterval(this.e._checkVisibile))},this),500))},r.prototype.preloadAutoWidthImages=function(t){var n,i,r,s;n=0,i=this,t.each(function(o,a){r=e(a),(s=new Image).onload=function(){n++,r.attr("src",s.src),r.css("opacity",1),n>=t.length&&(i.state.imagesLoaded=!0,i.initialize())},s.src=r.attr("src")||r.attr("data-src")||r.attr("data-src-retina")})},r.prototype.destroy=function(){for(var i in this.$element.hasClass(this.settings.themeClass)&&this.$element.removeClass(this.settings.themeClass),!1!==this.settings.responsive&&e(t).off("resize.owl.carousel"),this.transitionEndVendor&&this.off(this.$stage.get(0),this.transitionEndVendor,this.e._transitionEnd),this._plugins)this._plugins[i].destroy();(this.settings.mouseDrag||this.settings.touchDrag)&&(this.$stage.off("mousedown touchstart touchcancel"),e(n).off(".owl.dragEvents"),this.$stage.get(0).onselectstart=function(){},this.$stage.off("dragstart",function(){return!1})),this.$element.off(".owl"),this.$stage.children(".cloned").remove(),this.e=null,this.$element.removeData("owlCarousel"),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.unwrap()},r.prototype.op=function(e,t,n){var i=this.settings.rtl;switch(t){case"<":return i?e>n:n>e;case">":return i?n>e:e>n;case">=":return i?n>=e:e>=n;case"<=":return i?e>=n:n>=e}},r.prototype.on=function(e,t,n,i){e.addEventListener?e.addEventListener(t,n,i):e.attachEvent&&e.attachEvent("on"+t,n)},r.prototype.off=function(e,t,n,i){e.removeEventListener?e.removeEventListener(t,n,i):e.detachEvent&&e.detachEvent("on"+t,n)},r.prototype.trigger=function(t,n,i){var r={item:{count:this._items.length,index:this.current()}},s=e.camelCase(e.grep(["on",t,i],function(e){return e}).join("-").toLowerCase()),o=e.Event([t,"owl",i||"carousel"].join(".").toLowerCase(),e.extend({relatedTarget:this},r,n));return this._supress[t]||(e.each(this._plugins,function(e,t){t.onTrigger&&t.onTrigger(o)}),this.$element.trigger(o),this.settings&&"function"==typeof this.settings[s]&&this.settings[s].apply(this,o)),o},r.prototype.suppress=function(t){e.each(t,e.proxy(function(e,t){this._supress[t]=!0},this))},r.prototype.release=function(t){e.each(t,e.proxy(function(e,t){delete this._supress[t]},this))},r.prototype.browserSupport=function(){if(this.support3d=o(["perspective","webkitPerspective","MozPerspective","OPerspective","MsPerspective"])[0],this.support3d){this.transformVendor=o(["transform","WebkitTransform","MozTransform","OTransform","msTransform"])[0];this.transitionEndVendor=["transitionend","webkitTransitionEnd","transitionend","oTransitionEnd"][o(["transition","WebkitTransition","MozTransition","OTransition"])[1]],this.vendorName=this.transformVendor.replace(/Transform/i,""),this.vendorName=""!==this.vendorName?"-"+this.vendorName.toLowerCase()+"-":""}this.state.orientation=t.orientation},e.fn.owlCarousel=function(t){return this.each(function(){e(this).data("owlCarousel")||e(this).data("owlCarousel",new r(this,t))})},e.fn.owlCarousel.Constructor=r}(window.Zepto||window.jQuery,window,document),function(e,t){var n=function(t){this._core=t,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel":e.proxy(function(t){if(t.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(t.property&&"position"==t.property.name||"initialized"==t.type))for(var n=this._core.settings,i=n.center&&Math.ceil(n.items/2)||n.items,r=n.center&&-1*i||0,s=(t.property&&t.property.value||this._core.current())+r,o=this._core.clones().length,a=e.proxy(function(e,t){this.load(t)},this);r++<i;)this.load(o/2+this._core.relative(s)),o&&e.each(this._core.clones(this._core.relative(s++)),a)},this)},this._core.options=e.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)};n.Defaults={lazyLoad:!1},n.prototype.load=function(n){var i=this._core.$stage.children().eq(n),r=i&&i.find(".owl-lazy");!r||e.inArray(i.get(0),this._loaded)>-1||(r.each(e.proxy(function(n,i){var r,s=e(i),o=t.devicePixelRatio>1&&s.attr("data-src-retina")||s.attr("data-src");this._core.trigger("load",{element:s,url:o},"lazy"),s.is("img")?s.one("load.owl.lazy",e.proxy(function(){s.css("opacity",1),this._core.trigger("loaded",{element:s,url:o},"lazy")},this)).attr("src",o):((r=new Image).onload=e.proxy(function(){s.css({"background-image":"url("+o+")",opacity:"1"}),this._core.trigger("loaded",{element:s,url:o},"lazy")},this),r.src=o)},this)),this._loaded.push(i.get(0)))},n.prototype.destroy=function(){var e,t;for(e in this.handlers)this._core.$element.off(e,this.handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.Lazy=n}(window.Zepto||window.jQuery,window,document),function(e){var t=function(n){this._core=n,this._handlers={"initialized.owl.carousel":e.proxy(function(){this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":e.proxy(function(e){this._core.settings.autoHeight&&"position"==e.property.name&&this.update()},this),"loaded.owl.lazy":e.proxy(function(e){this._core.settings.autoHeight&&e.element.closest("."+this._core.settings.itemClass)===this._core.$stage.children().eq(this._core.current())&&this.update()},this)},this._core.options=e.extend({},t.Defaults,this._core.options),this._core.$element.on(this._handlers)};t.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},t.prototype.update=function(){this._core.$stage.parent().height(this._core.$stage.children().eq(this._core.current()).height()).addClass(this._core.settings.autoHeightClass)},t.prototype.destroy=function(){var e,t;for(e in this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.AutoHeight=t}(window.Zepto||window.jQuery,window,document),function(e,t,n){var i=function(t){this._core=t,this._videos={},this._playing=null,this._fullscreen=!1,this._handlers={"resize.owl.carousel":e.proxy(function(e){this._core.settings.video&&!this.isInFullScreen()&&e.preventDefault()},this),"refresh.owl.carousel changed.owl.carousel":e.proxy(function(){this._playing&&this.stop()},this),"prepared.owl.carousel":e.proxy(function(t){var n=e(t.content).find(".owl-video");n.length&&(n.css("display","none"),this.fetch(n,e(t.content)))},this)},this._core.options=e.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",e.proxy(function(e){this.play(e)},this))};i.Defaults={video:!1,videoHeight:!1,videoWidth:!1},i.prototype.fetch=function(e,t){var n=e.attr("data-vimeo-id")?"vimeo":"youtube",i=e.attr("data-vimeo-id")||e.attr("data-youtube-id"),r=e.attr("data-width")||this._core.settings.videoWidth,s=e.attr("data-height")||this._core.settings.videoHeight,o=e.attr("href");if(!o)throw new Error("Missing video URL.");if((i=o.match(/(http:|https:|)\/\/(player.|www.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com))\/(video\/|embed\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu")>-1)n="youtube";else{if(!(i[3].indexOf("vimeo")>-1))throw new Error("Video URL not supported.");n="vimeo"}i=i[6],this._videos[o]={type:n,id:i,width:r,height:s},t.attr("data-video",o),this.thumbnail(e,this._videos[o])},i.prototype.thumbnail=function(t,n){var i,r,s,o=n.width&&n.height?'style="width:'+n.width+"px;height:"+n.height+'px;"':"",a=t.find("img"),l="src",c="",u=this._core.settings,d=function(e){r='<div class="owl-video-play-icon"></div>',i=u.lazyLoad?'<div class="owl-video-tn '+c+'" '+l+'="'+e+'"></div>':'<div class="owl-video-tn" style="opacity:1;background-image:url('+e+')"></div>',t.after(i),t.after(r)};return t.wrap('<div class="owl-video-wrapper"'+o+"></div>"),this._core.settings.lazyLoad&&(l="data-src",c="owl-lazy"),a.length?(d(a.attr(l)),a.remove(),!1):void("youtube"===n.type?(s="http://img.youtube.com/vi/"+n.id+"/hqdefault.jpg",d(s)):"vimeo"===n.type&&e.ajax({type:"GET",url:"http://vimeo.com/api/v2/video/"+n.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){s=e[0].thumbnail_large,d(s)}}))},i.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null},i.prototype.play=function(t){this._core.trigger("play",null,"video"),this._playing&&this.stop();var n,i,r=e(t.target||t.srcElement),s=r.closest("."+this._core.settings.itemClass),o=this._videos[s.attr("data-video")],a=o.width||"100%",l=o.height||this._core.$stage.height();"youtube"===o.type?n='<iframe width="'+a+'" height="'+l+'" src="http://www.youtube.com/embed/'+o.id+"?autoplay=1&v="+o.id+'" frameborder="0" allowfullscreen></iframe>':"vimeo"===o.type&&(n='<iframe src="http://player.vimeo.com/video/'+o.id+'?autoplay=1" width="'+a+'" height="'+l+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>'),s.addClass("owl-video-playing"),this._playing=s,i=e('<div style="height:'+l+"px; width:"+a+'px" class="owl-video-frame">'+n+"</div>"),r.after(i)},i.prototype.isInFullScreen=function(){var i=n.fullscreenElement||n.mozFullScreenElement||n.webkitFullscreenElement;return i&&e(i).parent().hasClass("owl-video-frame")&&(this._core.speed(0),this._fullscreen=!0),!(i&&this._fullscreen&&this._playing)&&(this._fullscreen?(this._fullscreen=!1,!1):!this._playing||this._core.state.orientation===t.orientation||(this._core.state.orientation=t.orientation,!1))},i.prototype.destroy=function(){var e,t;for(e in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.Video=i}(window.Zepto||window.jQuery,window,document),function(e,t,n,i){var r=function(t){this.core=t,this.core.options=e.extend({},r.Defaults,this.core.options),this.swapping=!0,this.previous=i,this.next=i,this.handlers={"change.owl.carousel":e.proxy(function(e){"position"==e.property.name&&(this.previous=this.core.current(),this.next=e.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":e.proxy(function(e){this.swapping="translated"==e.type},this),"translate.owl.carousel":e.proxy(function(){this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};r.Defaults={animateOut:!1,animateIn:!1},r.prototype.swap=function(){if(1===this.core.settings.items&&this.core.support3d){this.core.speed(0);var t,n=e.proxy(this.clear,this),i=this.core.$stage.children().eq(this.previous),r=this.core.$stage.children().eq(this.next),s=this.core.settings.animateIn,o=this.core.settings.animateOut;this.core.current()!==this.previous&&(o&&(t=this.core.coordinates(this.previous)-this.core.coordinates(this.next),i.css({left:t+"px"}).addClass("animated owl-animated-out").addClass(o).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",n)),s&&r.addClass("animated owl-animated-in").addClass(s).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",n))}},r.prototype.clear=function(t){e(t.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.transitionEnd()},r.prototype.destroy=function(){var e,t;for(e in this.handlers)this.core.$element.off(e,this.handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.Animate=r}(window.Zepto||window.jQuery,window,document),function(e,t,n){var i=function(t){this.core=t,this.core.options=e.extend({},i.Defaults,this.core.options),this.handlers={"translated.owl.carousel refreshed.owl.carousel":e.proxy(function(){this.autoplay()},this),"play.owl.autoplay":e.proxy(function(e,t,n){this.play(t,n)},this),"stop.owl.autoplay":e.proxy(function(){this.stop()},this),"mouseover.owl.autoplay":e.proxy(function(){this.core.settings.autoplayHoverPause&&this.pause()},this),"mouseleave.owl.autoplay":e.proxy(function(){this.core.settings.autoplayHoverPause&&this.autoplay()},this)},this.core.$element.on(this.handlers)};i.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},i.prototype.autoplay=function(){this.core.settings.autoplay&&!this.core.state.videoPlay?(t.clearInterval(this.interval),this.interval=t.setInterval(e.proxy(function(){this.play()},this),this.core.settings.autoplayTimeout)):t.clearInterval(this.interval)},i.prototype.play=function(){return!0===n.hidden||this.core.state.isTouch||this.core.state.isScrolling||this.core.state.isSwiping||this.core.state.inMotion?void 0:!1===this.core.settings.autoplay?void t.clearInterval(this.interval):void this.core.next(this.core.settings.autoplaySpeed)},i.prototype.stop=function(){t.clearInterval(this.interval)},i.prototype.pause=function(){t.clearInterval(this.interval)},i.prototype.destroy=function(){var e,n;for(e in t.clearInterval(this.interval),this.handlers)this.core.$element.off(e,this.handlers[e]);for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},e.fn.owlCarousel.Constructor.Plugins.autoplay=i}(window.Zepto||window.jQuery,window,document),function(e){"use strict";var t=function(n){this._core=n,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":e.proxy(function(t){this._core.settings.dotsData&&this._templates.push(e(t.content).find("[data-dot]").andSelf("[data-dot]").attr("data-dot"))},this),"add.owl.carousel":e.proxy(function(t){this._core.settings.dotsData&&this._templates.splice(t.position,0,e(t.content).find("[data-dot]").andSelf("[data-dot]").attr("data-dot"))},this),"remove.owl.carousel prepared.owl.carousel":e.proxy(function(e){this._core.settings.dotsData&&this._templates.splice(e.position,1)},this),"change.owl.carousel":e.proxy(function(e){if("position"==e.property.name&&!this._core.state.revert&&!this._core.settings.loop&&this._core.settings.navRewind){var t=this._core.current(),n=this._core.maximum(),i=this._core.minimum();e.data=e.property.value>n?t>=n?i:n:e.property.value<i?n:e.property.value}},this),"changed.owl.carousel":e.proxy(function(e){"position"==e.property.name&&this.draw()},this),"refreshed.owl.carousel":e.proxy(function(){this._initialized||(this.initialize(),this._initialized=!0),this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation")},this)},this._core.options=e.extend({},t.Defaults,this._core.options),this.$element.on(this._handlers)};t.Defaults={nav:!1,navRewind:!0,navText:["prev","next"],navSpeed:!1,navElement:"div",navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotData:!1,dotsSpeed:!1,dotsContainer:!1,controlsClass:"owl-controls"},t.prototype.initialize=function(){var t,n,i=this._core.settings;for(n in i.dotsData||(this._templates=[e("<div>").addClass(i.dotClass).append(e("<span>")).prop("outerHTML")]),i.navContainer&&i.dotsContainer||(this._controls.$container=e("<div>").addClass(i.controlsClass).appendTo(this.$element)),this._controls.$indicators=i.dotsContainer?e(i.dotsContainer):e("<div>").hide().addClass(i.dotsClass).appendTo(this._controls.$container),this._controls.$indicators.on("click","div",e.proxy(function(t){var n=e(t.target).parent().is(this._controls.$indicators)?e(t.target).index():e(t.target).parent().index();t.preventDefault(),this.to(n,i.dotsSpeed)},this)),t=i.navContainer?e(i.navContainer):e("<div>").addClass(i.navContainerClass).prependTo(this._controls.$container),this._controls.$next=e("<"+i.navElement+">"),this._controls.$previous=this._controls.$next.clone(),this._controls.$previous.addClass(i.navClass[0]).html(i.navText[0]).hide().prependTo(t).on("click",e.proxy(function(){this.prev(i.navSpeed)},this)),this._controls.$next.addClass(i.navClass[1]).html(i.navText[1]).hide().appendTo(t).on("click",e.proxy(function(){this.next(i.navSpeed)},this)),this._overrides)this._core[n]=e.proxy(this[n],this)},t.prototype.destroy=function(){var e,t,n,i;for(e in this._handlers)this.$element.off(e,this._handlers[e]);for(t in this._controls)this._controls[t].remove();for(i in this.overides)this._core[i]=this._overrides[i];for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},t.prototype.update=function(){var e,t,n=this._core.settings,i=this._core.clones().length/2,r=i+this._core.items().length,s=n.center||n.autoWidth||n.dotData?1:n.dotsEach||n.items;if("page"!==n.slideBy&&(n.slideBy=Math.min(n.slideBy,n.items)),n.dots||"page"==n.slideBy)for(this._pages=[],e=i,t=0,0;r>e;e++)(t>=s||0===t)&&(this._pages.push({start:e-i,end:e-i+s-1}),t=0,0),t+=this._core.mergers(this._core.relative(e))},t.prototype.draw=function(){var t,n,i="",r=this._core.settings,s=(this._core.$stage.children(),this._core.relative(this._core.current()));if(!r.nav||r.loop||r.navRewind||(this._controls.$previous.toggleClass("disabled",0>=s),this._controls.$next.toggleClass("disabled",s>=this._core.maximum())),this._controls.$previous.toggle(r.nav),this._controls.$next.toggle(r.nav),r.dots){if(t=this._pages.length-this._controls.$indicators.children().length,r.dotData&&0!==t){for(n=0;n<this._controls.$indicators.children().length;n++)i+=this._templates[this._core.relative(n)];this._controls.$indicators.html(i)}else t>0?(i=new Array(t+1).join(this._templates[0]),this._controls.$indicators.append(i)):0>t&&this._controls.$indicators.children().slice(t).remove();this._controls.$indicators.find(".active").removeClass("active"),this._controls.$indicators.children().eq(e.inArray(this.current(),this._pages)).addClass("active")}this._controls.$indicators.toggle(r.dots)},t.prototype.onTrigger=function(t){var n=this._core.settings;t.page={index:e.inArray(this.current(),this._pages),count:this._pages.length,size:n&&(n.center||n.autoWidth||n.dotData?1:n.dotsEach||n.items)}},t.prototype.current=function(){var t=this._core.relative(this._core.current());return e.grep(this._pages,function(e){return e.start<=t&&e.end>=t}).pop()},t.prototype.getPosition=function(t){var n,i,r=this._core.settings;return"page"==r.slideBy?(n=e.inArray(this.current(),this._pages),i=this._pages.length,t?++n:--n,n=this._pages[(n%i+i)%i].start):(n=this._core.relative(this._core.current()),i=this._core.items().length,t?n+=r.slideBy:n-=r.slideBy),n},t.prototype.next=function(t){e.proxy(this._overrides.to,this._core)(this.getPosition(!0),t)},t.prototype.prev=function(t){e.proxy(this._overrides.to,this._core)(this.getPosition(!1),t)},t.prototype.to=function(t,n,i){var r;i?e.proxy(this._overrides.to,this._core)(t,n):(r=this._pages.length,e.proxy(this._overrides.to,this._core)(this._pages[(t%r+r)%r].start,n))},e.fn.owlCarousel.Constructor.Plugins.Navigation=t}(window.Zepto||window.jQuery,window,document),function(e,t){"use strict";var n=function(i){this._core=i,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":e.proxy(function(){"URLHash"==this._core.settings.startPosition&&e(t).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":e.proxy(function(t){var n=e(t.content).find("[data-hash]").andSelf("[data-hash]").attr("data-hash");this._hashes[n]=t.content},this)},this._core.options=e.extend({},n.Defaults,this._core.options),this.$element.on(this._handlers),e(t).on("hashchange.owl.navigation",e.proxy(function(){var e=t.location.hash.substring(1),n=this._core.$stage.children(),i=this._hashes[e]&&n.index(this._hashes[e])||0;return!!e&&void this._core.to(i,!1,!0)},this))};n.Defaults={URLhashListener:!1},n.prototype.destroy=function(){var n,i;for(n in e(t).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(n,this._handlers[n]);for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},e.fn.owlCarousel.Constructor.Plugins.Hash=n}(window.Zepto||window.jQuery,window,document),function(e){e.extend(e.fn,{validate:function(t){if(this.length){var n=e.data(this[0],"validator");return n||(this.attr("novalidate","novalidate"),n=new e.validator(t,this[0]),e.data(this[0],"validator",n),n.settings.onsubmit&&((t=this.find("input, button")).filter(".cancel").click(function(){n.cancelSubmit=!0}),n.settings.submitHandler&&t.filter(":submit").click(function(){n.submitButton=this}),this.submit(function(t){function i(){if(n.settings.submitHandler){if(n.submitButton)var t=e("<input type='hidden'/>").attr("name",n.submitButton.name).val(n.submitButton.value).appendTo(n.currentForm);return n.settings.submitHandler.call(n,n.currentForm),n.submitButton&&t.remove(),!1}return!0}return n.settings.debug&&t.preventDefault(),n.cancelSubmit?(n.cancelSubmit=!1,i()):n.form()?n.pendingRequest?(n.formSubmitted=!0,!1):i():(n.focusInvalid(),!1)})),n)}t&&t.debug&&window.console&&console.warn("nothing selected, can't validate, returning nothing")},valid:function(){if(e(this[0]).is("form"))return this.validate().form();var t=!0,n=e(this[0].form).validate();return this.each(function(){t&=n.element(this)}),t},removeAttrs:function(t){var n={},i=this;return e.each(t.split(/\s/),function(e,t){n[t]=i.attr(t),i.removeAttr(t)}),n},rules:function(t,n){var i=this[0];if(t){var r=e.data(i.form,"validator").settings,s=r.rules,o=e.validator.staticRules(i);switch(t){case"add":e.extend(o,e.validator.normalizeRule(n)),s[i.name]=o,n.messages&&(r.messages[i.name]=e.extend(r.messages[i.name],n.messages));break;case"remove":if(!n)return delete s[i.name],o;var a={};return e.each(n.split(/\s/),function(e,t){a[t]=o[t],delete o[t]}),a}}return(i=e.validator.normalizeRules(e.extend({},e.validator.metadataRules(i),e.validator.classRules(i),e.validator.attributeRules(i),e.validator.staticRules(i)),i)).required&&(r=i.required,delete i.required,i=e.extend({required:r},i)),i}}),e.extend(e.expr[":"],{blank:function(t){return!e.trim(""+t.value)},filled:function(t){return!!e.trim(""+t.value)},unchecked:function(e){return!e.checked}}),e.validator=function(t,n){this.settings=e.extend(!0,{},e.validator.defaults,t),this.currentForm=n,this.init()},e.validator.format=function(t,n){return 1==arguments.length?function(){var n=e.makeArray(arguments);return n.unshift(t),e.validator.format.apply(this,n)}:(arguments.length>2&&n.constructor!=Array&&(n=e.makeArray(arguments).slice(1)),n.constructor!=Array&&(n=[n]),e.each(n,function(e,n){t=t.replace(RegExp("\\{"+e+"\\}","g"),n)}),t)},e.extend(e.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusInvalid:!0,errorContainer:e([]),errorLabelContainer:e([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(e){this.lastActive=e,this.settings.focusCleanup&&!this.blockFocusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,e,this.settings.errorClass,this.settings.validClass),this.addWrapper(this.errorsFor(e)).hide())},onfocusout:function(e){this.checkable(e)||!(e.name in this.submitted)&&this.optional(e)||this.element(e)},onkeyup:function(e){(e.name in this.submitted||e==this.lastElement)&&this.element(e)},onclick:function(e){e.name in this.submitted?this.element(e):e.parentNode.name in this.submitted&&this.element(e.parentNode)},highlight:function(t,n,i){"radio"===t.type?this.findByName(t.name).addClass(n).removeClass(i):e(t).addClass(n).removeClass(i)},unhighlight:function(t,n,i){"radio"===t.type?this.findByName(t.name).removeClass(n).addClass(i):e(t).removeClass(n).addClass(i)}},setDefaults:function(t){e.extend(e.validator.defaults,t)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",accept:"Please enter a value with a valid extension.",maxlength:e.validator.format("Please enter no more than {0} characters."),minlength:e.validator.format("Please enter at least {0} characters."),rangelength:e.validator.format("Please enter a value between {0} and {1} characters long."),range:e.validator.format("Please enter a value between {0} and {1}."),max:e.validator.format("Please enter a value less than or equal to {0}."),min:e.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:!1,prototype:{init:function(){function t(t){var n=e.data(this[0].form,"validator"),i="on"+t.type.replace(/^validate/,"");n.settings[i]&&n.settings[i].call(n,this[0],t)}this.labelContainer=e(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||e(this.currentForm),this.containers=e(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var n=this.groups={};e.each(this.settings.groups,function(t,i){e.each(i.split(/\s/),function(e,i){n[i]=t})});var i=this.settings.rules;e.each(i,function(t,n){i[t]=e.validator.normalizeRule(n)}),e(this.currentForm).validateDelegate("[type='text'], [type='password'], [type='file'], select, textarea, [type='number'], [type='search'] ,[type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'] ","focusin focusout keyup",t).validateDelegate("[type='radio'], [type='checkbox'], select, option","click",t),this.settings.invalidHandler&&e(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),e.extend(this.submitted,this.errorMap),this.invalid=e.extend({},this.errorMap),this.valid()||e(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var e=0,t=this.currentElements=this.elements();t[e];e++)this.check(t[e]);return this.valid()},element:function(t){this.lastElement=t=this.validationTargetFor(this.clean(t)),this.prepareElement(t),this.currentElements=e(t);var n=this.check(t);return n?delete this.invalid[t.name]:this.invalid[t.name]=!0,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),n},showErrors:function(t){if(t){for(var n in e.extend(this.errorMap,t),this.errorList=[],t)this.errorList.push({message:t[n],element:this.findByName(n)[0]});this.successList=e.grep(this.successList,function(e){return!(e.name in t)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){e.fn.resetForm&&e(this.currentForm).resetForm(),this.submitted={},this.lastElement=null,this.prepareForm(),this.hideErrors(),this.elements().removeClass(this.settings.errorClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(e){var t,n=0;for(t in e)n++;return n},hideErrors:function(){this.addWrapper(this.toHide).hide()},valid:function(){return 0==this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{e(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(e){}},findLastActive:function(){var t=this.lastActive;return t&&1==e.grep(this.errorList,function(e){return e.element.name==t.name}).length&&t},elements:function(){var t=this,n={};return e(this.currentForm).find("input, select, textarea").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function(){return!this.name&&t.settings.debug&&window.console&&console.error("%o has no name assigned",this),!(this.name in n||!t.objectLength(e(this).rules()))&&(n[this.name]=!0)})},clean:function(t){return e(t)[0]},errors:function(){return e(this.settings.errorElement+"."+this.settings.errorClass,this.errorContext)},reset:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=e([]),this.toHide=e([]),this.currentElements=e([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(e){this.reset(),this.toHide=this.errorsFor(e)},check:function(t){t=this.validationTargetFor(this.clean(t));var n,i=e(t).rules(),r=!1;for(n in i){var s={method:n,parameters:i[n]};try{var o=e.validator.methods[n].call(this,t.value.replace(/\r/g,""),t,s.parameters);if("dependency-mismatch"==o)r=!0;else{if(r=!1,"pending"==o)return void(this.toHide=this.toHide.not(this.errorsFor(t)));if(!o)return this.formatAndAdd(t,s),!1}}catch(e){throw this.settings.debug&&window.console&&console.log("exception occured when checking element "+t.id+", check the '"+s.method+"' method",e),e}}if(!r)return this.objectLength(i)&&this.successList.push(t),!0},customMetaMessage:function(t,n){if(e.metadata){var i=this.settings.meta?e(t).metadata()[this.settings.meta]:e(t).metadata();return i&&i.messages&&i.messages[n]}},customMessage:function(e,t){var n=this.settings.messages[e];return n&&(n.constructor==String?n:n[t])},findDefined:function(){for(var e=0;e<arguments.length;e++)if(void 0!==arguments[e])return arguments[e]},defaultMessage:function(t,n){return this.findDefined(this.customMessage(t.name,n),this.customMetaMessage(t,n),!this.settings.ignoreTitle&&t.title||void 0,e.validator.messages[n],"<strong>Warning: No message defined for "+t.name+"</strong>")},formatAndAdd:function(e,t){var n=this.defaultMessage(e,t.method),i=/\$?\{(\d+)\}/g;"function"==typeof n?n=n.call(this,t.parameters,e):i.test(n)&&(n=jQuery.format(n.replace(i,"{$1}"),t.parameters)),this.errorList.push({message:n,element:e}),this.errorMap[e.name]=n,this.submitted[e.name]=n},addWrapper:function(e){return this.settings.wrapper&&(e=e.add(e.parent(this.settings.wrapper))),e},defaultShowErrors:function(){for(var e=0;this.errorList[e];e++){var t=this.errorList[e];this.settings.highlight&&this.settings.highlight.call(this,t.element,this.settings.errorClass,this.settings.validClass),this.showLabel(t.element,t.message)}if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(e=0;this.successList[e];e++)this.showLabel(this.successList[e]);if(this.settings.unhighlight)for(e=0,t=this.validElements();t[e];e++)this.settings.unhighlight.call(this,t[e],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return e(this.errorList).map(function(){return this.element})},showLabel:function(t,n){var i=this.errorsFor(t);i.length?(i.removeClass(this.settings.validClass).addClass(this.settings.errorClass),i.attr("generated")&&i.html(n)):(i=e("<"+this.settings.errorElement+"/>").attr({for:this.idOrName(t),generated:!0}).addClass(this.settings.errorClass).html(n||""),this.settings.wrapper&&(i=i.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.append(i).length||(this.settings.errorPlacement?this.settings.errorPlacement(i,e(t)):i.insertAfter(t))),!n&&this.settings.success&&(i.text(""),"string"==typeof this.settings.success?i.addClass(this.settings.success):this.settings.success(i)),this.toShow=this.toShow.add(i)},errorsFor:function(t){var n=this.idOrName(t);return this.errors().filter(function(){return e(this).attr("for")==n})},idOrName:function(e){return this.groups[e.name]||(this.checkable(e)?e.name:e.id||e.name)},validationTargetFor:function(e){return this.checkable(e)&&(e=this.findByName(e.name).not(this.settings.ignore)[0]),e},checkable:function(e){return/radio|checkbox/i.test(e.type)},findByName:function(t){var n=this.currentForm;return e(document.getElementsByName(t)).map(function(e,i){return i.form==n&&i.name==t&&i||null})},getLength:function(t,n){switch(n.nodeName.toLowerCase()){case"select":return e("option:selected",n).length;case"input":if(this.checkable(n))return this.findByName(n.name).filter(":checked").length}return t.length},depend:function(e,t){return!this.dependTypes[typeof e]||this.dependTypes[typeof e](e,t)},dependTypes:{boolean:function(e){return e},string:function(t,n){return!!e(t,n.form).length},function:function(e,t){return e(t)}},optional:function(t){return!e.validator.methods.required.call(this,e.trim(t.value),t)&&"dependency-mismatch"},startRequest:function(e){this.pending[e.name]||(this.pendingRequest++,this.pending[e.name]=!0)},stopRequest:function(t,n){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[t.name],n&&0==this.pendingRequest&&this.formSubmitted&&this.form()?(e(this.currentForm).submit(),this.formSubmitted=!1):!n&&0==this.pendingRequest&&this.formSubmitted&&(e(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(t){return e.data(t,"previousValue")||e.data(t,"previousValue",{old:null,valid:!0,message:this.defaultMessage(t,"remote")})}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},dateDE:{dateDE:!0},number:{number:!0},numberDE:{numberDE:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(t,n){t.constructor==String?this.classRuleSettings[t]=n:e.extend(this.classRuleSettings,t)},classRules:function(t){var n={};return(t=e(t).attr("class"))&&e.each(t.split(" "),function(){this in e.validator.classRuleSettings&&e.extend(n,e.validator.classRuleSettings[this])}),n},attributeRules:function(t){var n={};for(var i in t=e(t),e.validator.methods){var r;(r="required"===i&&"function"==typeof e.fn.prop?t.prop(i):t.attr(i))?n[i]=r:t[0].getAttribute("type")===i&&(n[i]=!0)}return n.maxlength&&/-1|2147483647|524288/.test(n.maxlength)&&delete n.maxlength,n},metadataRules:function(t){if(!e.metadata)return{};var n=e.data(t.form,"validator").settings.meta;return n?e(t).metadata()[n]:e(t).metadata()},staticRules:function(t){var n={},i=e.data(t.form,"validator");return i.settings.rules&&(n=e.validator.normalizeRule(i.settings.rules[t.name])||{}),n},normalizeRules:function(t,n){return e.each(t,function(i,r){if(!1===r)delete t[i];else if(r.param||r.depends){var s=!0;switch(typeof r.depends){case"string":s=!!e(r.depends,n.form).length;break;case"function":s=r.depends.call(n,n)}s?t[i]=void 0===r.param||r.param:delete t[i]}}),e.each(t,function(i,r){t[i]=e.isFunction(r)?r(n):r}),e.each(["minlength","maxlength","min","max"],function(){t[this]&&(t[this]=Number(t[this]))}),e.each(["rangelength","range"],function(){t[this]&&(t[this]=[Number(t[this][0]),Number(t[this][1])])}),e.validator.autoCreateRanges&&(t.min&&t.max&&(t.range=[t.min,t.max],delete t.min,delete t.max),t.minlength&&t.maxlength&&(t.rangelength=[t.minlength,t.maxlength],delete t.minlength,delete t.maxlength)),t.messages&&delete t.messages,t},normalizeRule:function(t){if("string"==typeof t){var n={};e.each(t.split(/\s/),function(){n[this]=!0}),t=n}return t},addMethod:function(t,n,i){e.validator.methods[t]=n,e.validator.messages[t]=void 0!=i?i:e.validator.messages[t],n.length<3&&e.validator.addClassRules(t,e.validator.normalizeRule(t))},methods:{required:function(t,n,i){if(!this.depend(i,n))return"dependency-mismatch";switch(n.nodeName.toLowerCase()){case"select":return(t=e(n).val())&&t.length>0;case"input":if(this.checkable(n))return this.getLength(t,n)>0;default:return e.trim(t).length>0}},remote:function(t,n,i){if(this.optional(n))return"dependency-mismatch";var r=this.previousValue(n);if(this.settings.messages[n.name]||(this.settings.messages[n.name]={}),r.originalMessage=this.settings.messages[n.name].remote,this.settings.messages[n.name].remote=r.message,i="string"==typeof i&&{url:i}||i,this.pending[n.name])return"pending";if(r.old===t)return r.valid;r.old=t;var s=this;this.startRequest(n);var o={};return o[n.name]=t,e.ajax(e.extend(!0,{url:i,mode:"abort",port:"validate"+n.name,dataType:"json",data:o,success:function(i){s.settings.messages[n.name].remote=r.originalMessage;var o=!0===i;if(o){var a=s.formSubmitted;s.prepareElement(n),s.formSubmitted=a,s.successList.push(n),s.showErrors()}else a={},i=i||s.defaultMessage(n,"remote"),a[n.name]=r.message=e.isFunction(i)?i(t):i,s.showErrors(a);r.valid=o,s.stopRequest(n,o)}},i)),"pending"},minlength:function(t,n,i){return this.optional(n)||this.getLength(e.trim(t),n)>=i},maxlength:function(t,n,i){return this.optional(n)||this.getLength(e.trim(t),n)<=i},rangelength:function(t,n,i){return t=this.getLength(e.trim(t),n),this.optional(n)||t>=i[0]&&t<=i[1]},min:function(e,t,n){return this.optional(t)||e>=n},max:function(e,t,n){return this.optional(t)||e<=n},range:function(e,t,n){return this.optional(t)||e>=n[0]&&e<=n[1]},email:function(e,t){return this.optional(t)||/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i.test(e)},url:function(e,t){return this.optional(t)||/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(e)},date:function(e,t){return this.optional(t)||!/Invalid|NaN/.test(new Date(e))},dateISO:function(e,t){return this.optional(t)||/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(e)},number:function(e,t){return this.optional(t)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/.test(e)},digits:function(e,t){return this.optional(t)||/^\d+$/.test(e)},creditcard:function(e,t){if(this.optional(t))return"dependency-mismatch";if(/[^0-9 -]+/.test(e))return!1;for(var n=0,i=0,r=!1,s=(e=e.replace(/\D/g,"")).length-1;s>=0;s--)i=e.charAt(s),i=parseInt(i,10),r&&(i*=2)>9&&(i-=9),n+=i,r=!r;return n%10==0},accept:function(e,t,n){return n="string"==typeof n?n.replace(/,/g,"|"):"png|jpe?g|gif",this.optional(t)||e.match(RegExp(".("+n+")$","i"))},equalTo:function(t,n,i){return t==(i=e(i).unbind(".validate-equalTo").bind("blur.validate-equalTo",function(){e(n).valid()})).val()}}}),e.format=e.validator.format}(jQuery),function(e){var t={};if(e.ajaxPrefilter)e.ajaxPrefilter(function(e,n,i){n=e.port,"abort"==e.mode&&(t[n]&&t[n].abort(),t[n]=i)});else{var n=e.ajax;e.ajax=function(i){var r=("port"in i?i:e.ajaxSettings).port;return"abort"==("mode"in i?i:e.ajaxSettings).mode?(t[r]&&t[r].abort(),t[r]=n.apply(this,arguments)):n.apply(this,arguments)}}}(jQuery),function(e){!jQuery.event.special.focusin&&!jQuery.event.special.focusout&&document.addEventListener&&e.each({focus:"focusin",blur:"focusout"},function(t,n){function i(t){return(t=e.event.fix(t)).type=n,e.event.handle.call(this,t)}e.event.special[n]={setup:function(){this.addEventListener(t,i,!0)},teardown:function(){this.removeEventListener(t,i,!0)},handler:function(t){return arguments[0]=e.event.fix(t),arguments[0].type=n,e.event.handle.apply(this,arguments)}}}),e.extend(e.fn,{validateDelegate:function(t,n,i){return this.bind(n,function(n){var r=e(n.target);if(r.is(t))return i.apply(r,arguments)})}})}(jQuery),function(e){var t={page_template_page_map:{init:function(){e(document).ready(function(){var t=e("#login_tgl"),n=e("#tglTopSearch"),i=e("#hide_mc"),r=e("#map_content");i.click(function(){r.toggleClass("hidden")}),t.click(function(){e(this).hasClass("open")?r.addClass("hidden"):r.removeClass("hidden")}),n.click(function(){e(this).hasClass("open")?r.addClass("hidden"):r.removeClass("hidden")});var s=e("#custom"),o=e("#proposed"),a=e("#planned"),l=e("#ongoing"),c=e("#completed"),u=e("#filterAll"),d=e("#status_1"),h=e("#status_2"),p=e("#status_3"),f=e("#status_4"),g=e("#status_5"),m=e("#status_6"),v=e("#projBenSAI"),y=e(".backtostart"),b=e("#mapStart"),x=e("#filter"),w=e("#sai_holder");function C(){document.getElementById("map_filter").reset()}s.click(function(){b.hide(),w.hide(),x.show()}),o.click(function(){C(),b.hide(),w.hide(),x.show(),v.prop("selectedIndex",0),d.prop("checked",!0),h.prop("checked",!0),p.prop("checked",!1),f.prop("checked",!1),g.prop("checked",!1),m.prop("checked",!1);L("","","","","","",["Proposed (No expression of interest)","Proposed (Expression of interest)"],"","","","")}),a.click(function(){C(),b.hide(),w.hide(),x.show(),v.prop("selectedIndex",0),d.prop("checked",!1),h.prop("checked",!1),p.prop("checked",!0),f.prop("checked",!1),g.prop("checked",!1),m.prop("checked",!1);L("","","","","","","Planned","","","","")}),l.click(function(){C(),b.hide(),w.hide(),x.show(),v.prop("selectedIndex",0),d.prop("checked",!1),h.prop("checked",!1),p.prop("checked",!1),f.prop("checked",!1),g.prop("checked",!0),m.prop("checked",!1);L("","","","","","","Ongoing","","","","")}),u.click(function(){C(),b.hide(),w.hide(),x.show(),v.prop("selectedIndex",0),d.prop("checked",!1),h.prop("checked",!1),p.prop("checked",!1),f.prop("checked",!1),g.prop("checked",!1),m.prop("checked",!1);L("","","","","","","","","","","")}),c.click(function(){C(),b.hide(),w.hide(),x.show(),v.prop("selectedIndex",0),d.prop("checked",!1),h.prop("checked",!1),p.prop("checked",!1),f.prop("checked",!1),g.prop("checked",!1),m.prop("checked",!0);L("","","","","","","Completed","","","","")}),y.click(function(){x.hide(),w.hide(),b.show()}),y.click(function(){x.hide(),w.hide(),b.show()}),e("#rf").click(function(){C()});var _=e(".check_select"),T=e(".check_sel_toggel"),k=e("input, textarea, select");i=e("#filterProjects");_.click(function(){T.slideUp(300),selToggle=e(this).attr("data-checksel"),e("[data-checkseltoggel='"+selToggle+"']").is(":hidden")?e("[data-checkseltoggel='"+selToggle+"']").slideDown(300):e("[data-checkseltoggel='"+selToggle+"']").slideUp(300)}),k.focus(function(){e(this).hasClass("multiBlur")&&T.slideUp(300)}),i.click(function(){T.slideUp(300)}),e("#filterProjects").click(function(){console.log("Running");var t=e("#projName").val(),n=e("#projBenLevel").val(),i=e("#projRegion").val(),r=e("#projBenSAI").val(),s=e("#projAgencys").val(),o=e("#projFunding").val(),a=[];e(".status_multi").each(function(){e(this).is(":checked")&&a.push(e(this).val())}),L(t,n,i,r,s,o,a,e("#projDAC").val(),e("#projSuppBased").val(),e("#projInitiation").val(),e("#projSuppCats").val())});var F=e("#filterResult"),E=e("#no-active-filter"),S=e("#no_results"),D=e("#working"),N=e(".inner"),j=N[0].scrollHeight;function L(t,n,i,r,s,o,a,l,c,u,d){e.ajaxSetup({cache:!0}),jQuery.ajax({type:"POST",url:"http://intosaidonor.org/wp-admin/admin-ajax.php",data:{action:"project_filter",name:t,benLvl:n,region:i,benSai:r,agencys:s,funding:o,status:a,dac:l,suppBased:c,initiation:u,suppCats:d},beforeSend:function(){F.empty(),N.animate({scrollTop:j},300),E.hide(),S.hide(),D.show()}}).done(function(t){var n,i=[];if(e.trim(t)){D.hide();var r=e(t).filter(".row");e.each(r,function(){var t=e(this).attr("data-projectterms").split(", ");e.each(t,function(t,n){-1==e.inArray(n,i)&&i.push(n)})});var s=e("#projBenSAI"),o="";0===s.prop("selectedIndex")||(o=s.val()),e.each(H,function(){n=e(this).attr("data-markerid"),markerSAI=e(this).attr("data-sainame");var t=!1;""!==o&&o===markerSAI?t=!0:""===o&&e.inArray(n,i)>-1&&(t=!0),t?(e(this).attr("data-highlighted","yes"),e(this).attr("data-visible","yes")):(e(this).attr("data-highlighted","no"),e(this).attr("data-visible","no"))}),O(M,H),F.append(t)}else D.hide(),e.each(H,function(){e(this).attr("data-highlighted","no"),e(this).attr("data-visible","yes")}),O(M,H),S.show()}).success(function(){A()})}function A(){e(".project_head").click(function(){var t=e(this).attr("data-projecttgl");e("[data-projectmore='"+t+"']").slideToggle(300)})}var $=e("#saiInfo"),q=e("#saiworking");var H=e("#map").find(".marker"),M=null;function O(t,n){if(void 0===t.markers)t.markers=[];else{for(var i in t.markers)t.markers[i].setMap(null);t.markers=[]}var r=new google.maps.LatLngBounds,s=new google.maps.InfoWindow({});google.maps.event.addListener(s,"domready",function(){!function(){var t=e(".show_sai_projects"),n=e("#projBenSAI option");t.click(function(){b.hide(),w.hide(),x.show();var t=e(this).attr("data-sai");e("#status_1").prop("checked",!1),e("#status_2").prop("checked",!1),e("#status_3").prop("checked",!1),e("#status_4").prop("checked",!1),e("#status_5").prop("checked",!1),e("#status_6").prop("checked",!1),n.filter(function(){if(e(this).val()==t)return!0}).prop("selected",!0);var i=t;L("","","",i,"","","","","","","")});var i=e(".show_sai"),r=e("#currentSai"),s=e("#saichanges");i.click(function(){b.hide(),x.hide();var t=e(this).attr("data-sai"),n=e(this).attr("data-saititle");s.attr("data-saichange",n),r.text(n),w.show(),function(t){b.hide(),x.hide(),w.show(),e.ajaxSetup({cache:!0}),jQuery.ajax({type:"POST",url:"http://intosaidonor.org/wp-admin/admin-ajax.php",data:{action:"display_sai",id:t},beforeSend:function(){$.empty(),q.show()}}).done(function(t){e.trim(t)?(q.hide(),$.append(t)):q.hide()}).success(function(){A()})}(t)})}()}),n.each(function(){var n=e(this);if("yes"==n.attr("data-visible")){var i=function(e,t,n){var i=e+"_"+t;if(i in P)return P[e+"_"+t];var r="#666666";"yes"===t&&(r="#41a69c");var s=14,o=imageHeight=45;e>=1e3?(s=10,o=imageHeight=55):e<1e3&&e>100&&(s=14,o=imageHeight=45);var a=d3.select(document.createElement("div")).append("svg").attr("viewBox","0 0 54.4 54.4").attr("width",o+"px").attr("height",imageHeight+"px").append("g"),l=(a.append("circle").attr("cx","27.2").attr("cy","27.2").attr("r","21.2").style("fill",r),a.append("text").attr("dx",27).attr("dy",32).attr("text-anchor","middle").attr("style","font-size:"+s+"px; fill: #FFFFFF; font-family: Arial, Verdana; font-weight: bold").text(e),a.node().parentNode.cloneNode(!0));d3.select(l).select("clippath").remove();var c=(new XMLSerializer).serializeToString(l),u=document.createElement("canvas");u.width=this.width,u.height=this.height,canvg(u,c);var d=u.toDataURL();return P[i]=d,d}(n.attr("data-projects"),n.attr("data-highlighted")),o=new google.maps.LatLng(n.attr("data-lat"),n.attr("data-lng"));r.extend(o);var a=new google.maps.Marker({position:o,map:t,icon:i});t.markers.push(a),google.maps.event.addListener(a,"click",function(){s.close(),s.setContent(n.html()),s.open(t,a)})}})}var P={};M=null;e(document).ready(function(){e("#map").each(function(){var t,n;t=e(this),n={zoom:3,center:new google.maps.LatLng(2.43274,47.724609),mapTypeId:google.maps.MapTypeId.ROADMAP,zoomControl:!0,mapTypeControl:!1,scaleControl:!1,streetViewControl:!1,rotateControl:!1,fullscreenControl:!1,styles:[{featureType:"administrative",elementType:"all",stylers:[{saturation:"-100"}]},{featureType:"administrative.province",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"landscape",elementType:"all",stylers:[{saturation:-100},{lightness:65},{visibility:"on"}]},{featureType:"poi",elementType:"all",stylers:[{saturation:-100},{lightness:"50"},{visibility:"simplified"}]},{featureType:"road",elementType:"all",stylers:[{saturation:"-100"}]},{featureType:"road.highway",elementType:"all",stylers:[{visibility:"simplified"}]},{featureType:"road.arterial",elementType:"all",stylers:[{lightness:"30"}]},{featureType:"road.local",elementType:"all",stylers:[{lightness:"40"}]},{featureType:"transit",elementType:"all",stylers:[{saturation:-100},{visibility:"simplified"}]},{featureType:"water",elementType:"geometry",stylers:[{hue:"#ffff00"},{lightness:-10},{saturation:-100}]},{featureType:"water",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"administrative.country",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"administrative.country",elementType:"geometry.stroke",stylers:[{visibility:"on"},{saturation:"-100"},{lightness:"60"},{weight:"1"}]},{featureType:"administrative",elementType:"geometry.fill",stylers:[{visibility:"off"}]}]},O(M=new google.maps.Map(t[0],n),H),M=M}),e("#map").removeClass("opaque")}),jQuery.validator.addMethod("notEqual",function(e,t,n){return this.optional(t)||e!=n},""),function(e,t,n){var i={};i.UTIL={setupFormValidation:function(){e("#changesai").validate({rules:{saiToChange:{required:!0,notEqual:"na"},name:{required:!0},email:{required:!0,email:!0},changes:{required:!0}},messages:{saiToChange:"",name:"",email:"",changes:""},submitHandler:function(e){checkSubmit(e)}})}},e(n).ready(function(e){i.UTIL.setupFormValidation()})}(jQuery,window,document);var z=e("#changeSAIHolder"),R=e("#saichanges"),I=e("#closeChangeForm"),B=e("#changeSaiSelect option");R.click(function(){var t=e(this).attr("data-saichange");B.filter(function(){if(e(this).val()==t)return!0}).prop("selected",!0),z.slideDown(300)}),I.click(function(){z.slideUp(300)})})},finalize:function(){}},contact_us:{init:function(){e(document).ready(function(){var e,t,n;e=jQuery,window,t=document,(n={}).UTIL={setupFormValidation:function(){e("#contactform").validate({rules:{name:{required:!0},email:{required:!0,email:!0},message:{required:!0}},messages:{name:"",email:"",message:""},submitHandler:function(e){checkSubmit(e)}})}},e(t).ready(function(e){n.UTIL.setupFormValidation()})})},finalize:function(){}},user_registration:{init:function(){e(document).ready(function(){var e,t,n;e=jQuery,window,t=document,(n={}).UTIL={setupFormValidation:function(){e("#registrationform").validate({rules:{org:{required:!0},firstname:{required:!0},lastname:{required:!0},email:{required:!0,email:!0},password:{required:!0,minlength:5},retypepass:{required:!0,minlength:5,equalTo:"#password"}},messages:{org:"",firstname:"",lastname:"",email:"",password:"",retypepass:""},submitHandler:function(e){checkSubmit(e)}})}},e(t).ready(function(e){n.UTIL.setupFormValidation()})})},finalize:function(){}},add_project:{init:function(){e(document).ready(function(){e(".duration_from").pickadate({format:"yyyy-mm-dd"}),e(".duration_to").pickadate({format:"yyyy-mm-dd"}),e(".toggle_oecdfields").click(function(){e(this).toggleClass("open"),e(".oecd_dac-crs .inner").slideToggle(300)});var t=e(".check_select"),n=e(".check_sel_toggel"),i=e("input, textarea, select");t.click(function(){n.slideUp(300),selToggle=e(this).attr("data-checksel"),e("[data-checkseltoggel='"+selToggle+"']").is(":hidden")?e("[data-checkseltoggel='"+selToggle+"']").slideDown(300):e("[data-checkseltoggel='"+selToggle+"']").slideUp(300)}),i.focus(function(){e(this).hasClass("multiBlur")&&n.slideUp(300)}),jQuery.validator.addMethod("notEqual",function(e,t,n){return this.optional(t)||e!=n},""),function(e,t,n){var i={};i.UTIL={setupFormValidation:function(){e("#addproject").validate({rules:{projectName:{required:!0},status:{required:!0,notEqual:""},benLevel:{required:!0,notEqual:""},from:{required:!0},to:{required:!0}},messages:{projectName:"",status:"",benLevel:"",from:"",to:""},submitHandler:function(t){e("#addproject").addClass("processing"),e("#addproject .sending").show(),checkSubmit(t)}})}},e(n).ready(function(e){i.UTIL.setupFormValidation()})}(jQuery,window,document)})},finalize:function(){}},edit_project:{init:function(){e(document).ready(function(){e(".duration_from").pickadate({format:"yyyy-mm-dd"}),e(".duration_to").pickadate({format:"yyyy-mm-dd"}),e(".toggle_oecdfields").click(function(){e(this).toggleClass("open"),e(".oecd_dac-crs .inner").slideToggle(300)});var t=e(".check_select"),n=e(".check_sel_toggel"),i=e("input, textarea, select");t.click(function(){n.slideUp(300),selToggle=e(this).attr("data-checksel"),e("[data-checkseltoggel='"+selToggle+"']").is(":hidden")?e("[data-checkseltoggel='"+selToggle+"']").slideDown(300):e("[data-checkseltoggel='"+selToggle+"']").slideUp(300)}),i.focus(function(){e(this).hasClass("multiBlur")&&n.slideUp(300)}),jQuery.validator.addMethod("notEqual",function(e,t,n){return this.optional(t)||e!=n},""),function(e,t,n){var i={};i.UTIL={setupFormValidation:function(){e("#editproject").validate({rules:{projectName:{required:!0},status:{required:!0,notEqual:""},benLevel:{required:!0,notEqual:""},from:{required:!0},to:{required:!0}},messages:{projectName:"",status:"",benLevel:"",from:"",to:""},submitHandler:function(t){e("#editproject").addClass("processing"),e("#editproject .sending").show(),checkSubmit(t)}})}},e(n).ready(function(e){i.UTIL.setupFormValidation()})}(jQuery,window,document)})},finalize:function(){}},user_settings:{init:function(){e(document).ready(function(){var e,t,n;e=jQuery,window,t=document,(n={}).UTIL={setupFormValidation:function(){e("#updateuser").validate({rules:{org:{required:!0},firstname:{required:!0},lastname:{required:!0},email:{required:!0,email:!0}},messages:{org:"",firstname:"",lastname:"",email:""},submitHandler:function(e){checkSubmit(e)}})}},e(t).ready(function(e){n.UTIL.setupFormValidation()}),function(e,t,n){var i={};i.UTIL={setupFormValidation:function(){e("#userpass").validate({rules:{newPW:{required:!0,minlength:5},retypePW:{required:!0,minlength:5,equalTo:"#newpassword"}},messages:{newPW:"",retypePW:""},submitHandler:function(e){checkSubmit(e)}})}},e(n).ready(function(e){i.UTIL.setupFormValidation()})}(jQuery,window,document)})},finalize:function(){}},page_id_10:{init:function(){e(document).ready(function(){var e=document.getElementById("projectChart").getContext("2d");new Chart(e,{type:"pie",data:{datasets:[{data:intosaiRegionData,backgroundColor:["rgba(255, 215, 0, 1)","rgba(46, 154, 254, 1)","rgba(4, 180, 49, 1)","rgba(8, 8, 138, 1)","rgba(223, 58, 1, 1)","rgba(164, 164, 164, 1)","rgba(138, 8, 8, 1)","rgba(23, 11, 59, 1)","rgba(46, 46, 46, 1)","rgba(255, 215, 0, .7)","rgba(46, 154, 254, .7)","rgba(4, 180, 49, .7)","rgba(8, 8, 138, .7)","rgba(223, 58, 1, .7)","rgba(164, 164, 164, .7)","rgba(138, 8, 8, .7)","rgba(23, 11, 59, .7)","rgba(46, 46, 46, .7)"]}],labels:intosaiRegionNames},options:{}})})},finalize:function(){}},common:{init:function(){e(document).ready(function(){(e(window).scroll(function(){e(".scrollHolder").each(function(){e(".new_success_stories_Large").each(function(){e(this).visible()&&!e(this).find(".textContainer").hasClass("Onscreen")?(e(this).find(".textContainer").addClass("Onscreen"),e(this).find(".textContainer").removeClass("Offscreen")):e(this).visible()||(e(this).find(".textContainer").addClass("Offscreen"),e(this).find(".textContainer").removeClass("Onscreen"))}),e(".new_success_stories_Leftimage").each(function(){e(this).visible()&&!e(this).find(".imageContainer").hasClass("Onscreen")?(e(this).find(".imageContainer").addClass("Onscreen"),e(this).find(".imageContainer").removeClass("Offscreen"),e(this).find(".textContainer").addClass("Onscreen"),e(this).find(".textContainer").removeClass("Offscreen")):e(this).visible()||(e(this).find(".imageContainer").addClass("Offscreen"),e(this).find(".imageContainer").removeClass("Onscreen"),e(this).find(".textContainer").addClass("Offscreen"),e(this).find(".textContainer").removeClass("Onscreen"))}),e(".new_success_stories_Rightimage").each(function(){e(this).visible()&&!e(this).find(".imageContainer").hasClass("Onscreen")?(e(this).find(".imageContainer").addClass("Onscreen"),e(this).find(".imageContainer").removeClass("Offscreen"),e(this).find(".textContainer").addClass("Onscreen"),e(this).find(".textContainer").removeClass("Offscreen")):e(this).visible()||(e(this).find(".imageContainer").addClass("Offscreen"),e(this).find(".imageContainer").removeClass("Onscreen"),e(this).find(".textContainer").addClass("Offscreen"),e(this).find(".textContainer").removeClass("Onscreen"))}),e(".new_success_stories_Images").each(function(){e(this).visible()&&!e(this).find(".imageContainer").hasClass("Onscreen")?(e(this).find(".imageContainer").addClass("Onscreen"),e(this).find(".imageContainer").removeClass("Offscreen"),e(this).find(".textContainer").addClass("Onscreen"),e(this).find(".textContainer").removeClass("Offscreen")):e(this).visible()||(e(this).find(".imageContainer").addClass("Offscreen"),e(this).find(".imageContainer").removeClass("Onscreen"),e(this).find(".textContainer").addClass("Offscreen"),e(this).find(".textContainer").removeClass("Onscreen"))}),e(".new_success_stories_Textboxes").each(function(){e(this).visible()&&!e(this).find(".mainContainer").hasClass("Onscreen")?(e(this).find(".mainContainer").addClass("Onscreen"),e(this).find(".mainContainer").removeClass("Offscreen")):e(this).visible()||(e(this).find(".mainContainer").addClass("Offscreen"),e(this).find(".mainContainer").removeClass("Onscreen"))})})}),e(window).width()>966)?0!==e(".scrollHolder").length&&e.scrollify({section:".scrollHolder",sectionName:"section-name",interstitialSection:"#header, .share_post, #footer",easing:"easeOutExpo",scrollSpeed:1100,offset:0,scrollbars:!0,standardScrollElements:"",setHeights:!0,overflowScroll:!0,updateHash:!0,touchScroll:!0,before:function(){},after:function(){},afterResize:function(){},afterRender:function(){}}):console.log("Off.");e("#toggle_navigation").click(function(){e(this).toggleClass("open"),e("#main_navigation").slideToggle(0)});var t=e("#toggleUserNav"),n=e("#user_nav ul li .sub-menu");t.click(function(){n.toggleClass("open")});var i=e("#login_tgl"),r=e(".loggin_holder"),s=e("#tglTopSearch"),o=e(".top_search_holder");i.click(function(){e(this).toggleClass("open"),s.removeClass("open"),0==e(window).scrollTop()?(r.slideToggle(200),o.slideUp(200)):e(window).scrollTop()>=1&&(r.slideDown(200),o.slideUp(200),e("html, body").animate({scrollTop:0},500))}),s.click(function(){e(this).toggleClass("open"),i.removeClass("open"),0==e(window).scrollTop()?(o.slideToggle(200),r.slideUp(200)):e(window).scrollTop()>=1&&(o.slideDown(200),r.slideUp(200),e("html, body").animate({scrollTop:0},500))});var a=e(".message");e(".close_msg").click(function(){a.slideToggle(300)});var l=e(".slider");l&&l.bxSlider({auto:!0,pause:5e3,speed:300,touchEnabled:!1,controls:!1,pager:!0});var c=e(".partner_ticker");c&&c.bxSlider({minSlides:1,maxSlides:4,slideWidth:270,slideMargin:30,controls:!0,nextText:'<i class="fa fa-angle-right"></i>',prevText:'<i class="fa fa-angle-left"></i>',pager:!1}),e(".ac_section").click(function(){ac=e(this).attr("data-actitle"),e("[data-accontent='"+ac+"']").slideToggle(300)}),e(".story_sec_heading").click(function(){sh=e(this).attr("data-sch"),e("[data-sh='"+sh+"']").slideToggle(300),e(this).toggleClass("closed"),e(this).toggleClass("open")}),e(".download_link").click(function(){filename=e(this).attr("data-filename"),ga("send","event","download",filename,"",1)}),function(e,t,n){var i={};i.UTIL={setupFormValidation:function(){e("#loginform").validate({rules:{log:{required:!0},pwd:{required:!0}},messages:{log:"",pwd:""},submitHandler:function(e){checkSubmit(e)}})}},e(n).ready(function(e){i.UTIL.setupFormValidation()})}(jQuery,window,document),function(e,t,n){var i={};i.UTIL={setupFormValidation:function(){e("#searchform").validate({rules:{s:{required:!0}},messages:{s:""},submitHandler:function(e){checkSubmit(e)}})}},e(n).ready(function(e){i.UTIL.setupFormValidation()})}(jQuery,window,document),function(e,t,n){var i={};i.UTIL={setupFormValidation:function(){e("#newsletter_signup").validate({rules:{epost:{required:!0,email:!0}},messages:{epost:""},submitHandler:function(e){checkSubmit(e)}})}},e(n).ready(function(e){i.UTIL.setupFormValidation()})}(jQuery,window,document);var u=e("#main_navigation ul li");function d(e){for(var t=e.srcElement||e.target;t&&(void 0===t.tagName||"a"!=t.tagName.toLowerCase()||!t.href);)t=t.parentNode;if(t&&t.href){var n=t.href;if(-1==n.indexOf(location.host)&&!n.match(/^javascript\:/i)){var i=!(!t.target||t.target.match(/^_(self|parent|top)$/i))&&t.target;ga("send","event","Outgoing Links",n,document.location.pathname+document.location.search,{hitCallback:function(e,t){t?window.open(e,t):window.location.href=e}(n,i)}),e.preventDefault?e.preventDefault():e.returnValue=!1}}}e('<span class="grow"><i class="fa fa-angle-down"></i></span>').insertAfter("#main_navigation ul li.menu-item-has-children > a"),e(".grow").click(function(){e(this).parent("li").hasClass("open")?u.removeClass("open"):(u.removeClass("open"),e(this).parent("li").toggleClass("open"))}),e(window).scroll(function(){var t=e(this).scrollTop();t>50?(e("#header").addClass("scrolled"),e("body").addClass("scrolled")):(e("#header").removeClass("scrolled"),e("body").removeClass("scrolled"));var n=t/2,i=e(".top_banner.static");0!==i.length&&i.css("background-position-y",n)}),e(".row input.requiredField, .row select.requiredField, .row textarea.requiredField").blur(function(){var t=e(this);t.parent();0!=e(this).val().trim().length?(t.addClass("valid"),t.removeClass("error")):(t.addClass("error"),t.removeClass("valid"))}),[].forEach.call(document.querySelectorAll("img[data-src]"),function(e){e.setAttribute("src",e.getAttribute("data-src")),e.onload=function(){e.removeAttribute("data-src")}});var h=window;h.addEventListener?h.addEventListener("load",function(){document.body.addEventListener("click",d,!1)},!1):h.attachEvent&&h.attachEvent("onload",function(){document.body.attachEvent("onclick",d)})})},finalize:function(){}}},n={fire:function(e,n,i){var r=t;n=void 0===n?"init":n,""!==e&&r[e]&&"function"==typeof r[e][n]&&r[e][n](i)},loadEvents:function(){n.fire("common"),e.each(document.body.className.replace(/-/g,"_").split(/\s+/),function(e,t){n.fire(t),n.fire(t,"finalize")}),n.fire("common","finalize")}};e(document).ready(n.loadEvents)}(jQuery);

Zerion Mini Shell 1.0