1!function(f,S){var i,e,v=typeof S,t=f.location,m=f.document,n=m.documentElement,o=f.jQuery,s=f.$,a={},r=[],l="2.0.3",g=r.concat,c=r.push,u=r.slice,h=r.indexOf,d=a.toString,y=a.hasOwnProperty,p=l.trim,wt=function(t,e){return new wt.fn.init(t,e,i)},b=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=/\S+/g,w=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,x=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,C=/^-ms-/,k=/-([\da-z])/gi,A=function(t,e){return e.toUpperCase()},E=function(){m.removeEventListener("DOMContentLoaded",E,!1),f.removeEventListener("load",E,!1),wt.ready()};function j(t){var e=t.length,i=wt.type(t);return!wt.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===i||"function"!==i&&(0===e||"number"==typeof e&&0<e&&e-1 in t)))}wt.fn=wt.prototype={jquery:l,constructor:wt,init:function(t,e,i){var n,o;if(!t)return this;if("string"!=typeof t)return t.nodeType?(this.context=this[0]=t,this.length=1,this):wt.isFunction(t)?i.ready(t):(t.selector!==S&&(this.selector=t.selector,this.context=t.context),wt.makeArray(t,this));if(!(n="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&3<=t.length?[null,t,null]:w.exec(t))||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof wt?e[0]:e,wt.merge(this,wt.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:m,!0)),x.test(n[1])&&wt.isPlainObject(e))for(n in e)wt.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return(o=m.getElementById(n[2]))&&o.parentNode&&(this.length=1,this[0]=o),this.context=m,this.selector=t,this},selector:"",length:0,toArray:function(){return u.call(this)},get:function(t){return null==t?this.toArray():t<0?this[this.length+t]:this[t]},pushStack:function(t){var e=wt.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return wt.each(this,t,e)},ready:function(t){return wt.ready.promise().done(t),this},slice:function(){return this.pushStack(u.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,i=+t+(t<0?e:0);return this.pushStack(0<=i&&i<e?[this[i]]:[])},map:function(i){return this.pushStack(wt.map(this,function(t,e){return i.call(t,e,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:c,sort:[].sort,splice:[].splice},wt.fn.init.prototype=wt.fn,wt.extend=wt.fn.extend=function(){var t,e,i,n,o,s,a=arguments[0]||{},r=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[1]||{}
1,r=2),"object"==typeof a||wt.isFunction(a)||(a={}),l===r&&(a=this,--r);r<l;r++)if(null!=(t=arguments[r]))for(e in t)i=a[e],a!==(n=t[e])&&(c&&n&&(wt.isPlainObject(n)||(o=wt.isArray(n)))?(s=o?(o=!1,i&&wt.isArray(i)?i:[]):i&&wt.isPlainObject(i)?i:{},a[e]=wt.extend(c,s,n)):n!==S&&(a[e]=n));return a},wt.extend({expando:"jQuery"+(l+Math.random()).replace(/\D/g,""),noConflict:function(t){return f.$===wt&&(f.$=s),t&&f.jQuery===wt&&(f.jQuery=o),wt},isReady:!1,readyWait:1,holdReady:function(t){t?wt.readyWait++:wt.ready(!0)},ready:function(t){(!0===t?--wt.readyWait:wt.isReady)||(wt.isReady=!0)!==t&&0<--wt.readyWait||(e.resolveWith(m,[wt]),wt.fn.trigger&&wt(m).trigger("ready").off("ready"))},isFunction:function(t){return"function"===wt.type(t)},isArray:Array.isArray,isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){return!isNaN(parseFloat(t))&&isFinite(t)},type:function(t){return null==t?String(t):"object"==typeof t||"function"==typeof t?a[d.call(t)]||"object":typeof t},isPlainObject:function(t){if("object"!==wt.type(t)||t.nodeType||wt.isWindow(t))return!1;try{if(t.constructor&&!y.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}return!0},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},error:function(t){throw new Error(t)},parseHTML:function(t,e,i){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(i=e,e=!1),e=e||m;var n=x.exec(t),o=!i&&[];return n?[e.createElement(n[1])]:(n=wt.buildFragment([t],e,o),o&&wt(o).remove(),wt.merge([],n.childNodes))},parseJSON:JSON.parse,parseXML:function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new DOMParser).parseFromString(t,"text/xml")}catch(t){e=S}return e&&!e.getElementsByTagName("parsererror").length||wt.error("Invalid XML: "+t),e},noop:function(){},globalEval:function(t){var e,i=eval;(t=wt.trim(t))&&(1===t.indexOf("use strict")?((e=m.createElement("script")).text=t,m.head.appendChild(e).parentNode.removeChild(e)):i(t))},camelCase:function(t){return t.replace(C,"ms-").replace(k,A)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,i){var n=0,o=t.length,s=j(t);if(i){if(s)for(;n<o&&!1!==e.apply(t[n],i);n++);else for(n in t)if(!1===e.apply(t[n],i))break}else if(s)for(;n<o&&!1!==e.call(t[n],n,t[n]);n++);else for(n in t)if(!1===e.call(t[n],n,t[n]))break;return t},trim:function(t){return null==t?"":p.call(t)},makeArray:function(t,e){var i=e||[];return null!=t&&(j(Object(t))?wt.merge(i,"string"==typeof t?[t]:t):c.call(i,t)),i},inArray:function(t,e,i){return null==e?-1:h.call(e,t,i)},merge:function(t,e){var i=e.length,n=t.length,o=0;if("number"==typeof i)for(;o<i;o++)t[n++]=e[o];else for(;e[o]!==S;)t[n++]=e[o++];return t.length=n,t},grep:function(t,e,i){var n=[],o=0,s=t.length;for(i=!!i;o<s;o++)i!==!!e(t[o],o)&&n.push(t[o]);return n},map:function(t,e,i){var n,o=0,s=t.length,a=[];if(j(t))for(;o<s;o++)null!=(n=e(t[o],o,i))&&(a[a.length]=n);else for(o in t)null!=(n=e(t[o],o,i))&&(a[a.length]=n);return g.apply([],a)},guid:1,proxy:function(t,e){var i,n,o;return"string"==typeof e&&(i=t[e],e=t,t=i),wt.isFunction(t)?(n=u.call(arguments,2),(o=function(){return t.apply(e||this,n.concat(u.call(arguments)))}).guid=t.guid=t.guid||wt.guid++,o):S},access:function(t,e,i,n,o,s,a){var r=0,l=t.length,c=null==i;if("object"===wt.type(i))for(r in o=!0,i)wt.access(t,e,r,i[r],!0,s,a);else if(n!==S&&(o=!0,wt.isFunction(n)||(a=!0),c&&(e=a?(e.call(t,n),null):(c=e,function(t,e,i){return c.call(wt(t),i)})),e))for(;r<l;r++)e(t[r],i,a?n:n.call(t[r],r,e(t[r],i)));return o?t:c?e.call(t):l?e(t[0],i):s},now:Date.now,swap:function(t,e,i,n){var o,s,a={};for(s in e)a[s]=t.style[s],t.style[s]=e[s];for(s in o=i.apply(t,n||[]),e)t.style[s]=a[s];return o}}),wt.ready.promise=function(t){return e||(e=wt.Deferred(),"complete"===m.readyState?setTimeout(wt.ready):(m.addEventListener("DOMContentLoaded",E,!1),f.addEventListener("load",E,!1))),e.promise(t)},wt.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){a["[object "+e+"]"]=e.toLowerCase()}),i=wt(m),function(i,o){var t,f,x,C,s,n,m,S,c,g,T,a,v,y,r,u,b,k="sizzle"+-new Date,w=i.document,A=0,h=0,l=ot(),d=ot(),p=ot(),E=!1,j=function(t,e){return t===e&&(E=!0),0},P=typeof o,M={}.hasOwnProperty,e=[],F=e.pop,L=e.push,I=e.push,N=e.slice,B=e.indexOf||function(t){for(var e=0,i=this.length;e<i;e++)if(this[e]===t)return e;return-1},D="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",O="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",z=O.replace("w","w#"),W="\\["+R+"*("+O+")"+R+"*(?:([*^$|!~]?=)"+R+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+z+")|)|)"+R+"*\\]",H=":("+O+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+W.replace(3,8)+")*)|.*)\\)|)",_=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g"),q=new RegExp("^"+R+"*,"+R+"*"),$=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),V=new RegExp(R+"*[+~]"),U=new RegExp("="+R+"*([^\\]'\"]*)"+R+"*\\]","g"),Q=new RegExp(H),G=new RegExp("^"+z+"$"),Y={ID:new RegExp("^#("+O+")"),CLASS:new RegExp("^\\.("+O+")"),TAG:new RegExp("^("+O.replace("w","w*")+")"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+H),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+D+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},X=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Z=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,tt=/'|\\/g,et=new RegExp("\\\\([\\da-f]{1,6}
vendor: 9,003 bytes, line 1
1"+R+"?|("+R+")|.)","ig"),it=function(t,e,i){var n="0x"+e-65536;return n!=n||i?e:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)};try{I.apply(e=N.call(w.childNodes),w.childNodes),e[w.childNodes.length].nodeType}catch(t){I={apply:e.length?function(t,e){L.apply(t,N.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}function nt(t,e,i,n){var o,s,a,r,l,c,u,h,d,p;if((e?e.ownerDocument||e:w)!==T&&g(e),i=i||[],!t||"string"!=typeof t)return i;if(1!==(r=(e=e||T).nodeType)&&9!==r)return[];if(v&&!n){if(o=K.exec(t))if(a=o[1]){if(9===r){if(!(s=e.getElementById(a))||!s.parentNode)return i;if(s.id===a)return i.push(s),i}else if(e.ownerDocument&&(s=e.ownerDocument.getElementById(a))&&b(e,s)&&s.id===a)return i.push(s),i}else{if(o[2])return I.apply(i,e.getElementsByTagName(t)),i;if((a=o[3])&&f.getElementsByClassName&&e.getElementsByClassName)return I.apply(i,e.getElementsByClassName(a)),i}if(f.qsa&&(!y||!y.test(t))){if(h=u=k,d=e,p=9===r&&t,1===r&&"object"!==e.nodeName.toLowerCase()){for(c=pt(t),(u=e.getAttribute("id"))?h=u.replace(tt,"\\$&"):e.setAttribute("id",h),h="[id='"+h+"'] ",l=c.length;l--;)c[l]=h+ft(c[l]);d=V.test(t)&&e.parentNode||e,p=c.join(",")}if(p)try{return I.apply(i,d.querySelectorAll(p)),i}catch(t){}finally{u||e.removeAttribute("id")}}}return function(t,e,i,n){var o,s,a,r,l,c=pt(t);if(!n&&1===c.length){if(2<(s=c[0]=c[0].slice(0)).length&&"ID"===(a=s[0]).type&&f.getById&&9===e.nodeType&&v&&C.relative[s[1].type]){if(!(e=(C.find.ID(a.matches[0].replace(et,it),e)||[])[0]))return i;t=t.slice(s.shift().value.length)}for(o=Y.needsContext.test(t)?0:s.length;o--&&(a=s[o],!C.relative[r=a.type]);)if((l=C.find[r])&&(n=l(a.matches[0].replace(et,it),V.test(s[0].type)&&e.parentNode||e))){if(s.splice(o,1),!(t=n.length&&ft(s)))return I.apply(i,n),i;break}}return m(t,c)(n,e,!v,i,V.test(t)),i}(t.replace(_,"$1"),e,i,n)}function ot(){var n=[];return function t(e,i){return n.push(e+=" ")>C.cacheLength&&delete t[n.shift()],t[e]=i}}function st(t){return t[k]=!0,t}function at(t){var e=T.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function rt(t,e){for(var i=t.split("|"),n=t.length;n--;)C.attrHandle[i[n]]=e}function lt(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||1<<31)-(~t.sourceIndex||1<<31);if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function ct(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function ut(i){return function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===i}}function ht(a){return st(function(s){return s=+s,st(function(t,e){for(var i,n=a([],t.length,s),o=n.length;o--;)t[i=n[o]]&&(t[i]=!(e[i]=t[i]))})})}for(t in n=nt.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},f=nt.support={},g=nt.setDocument=function(t){var l=t?t.ownerDocument||t:w,e=l.defaultView;return l!==T&&9===l.nodeType&&l.documentElement?(a=(T=l).documentElement,v=!n(l),e&&e.attachEvent&&e!==e.top&&e.attachEvent("onbeforeunload",function(){g()}),f.attributes=at(function(t){return t.className="i",!t.getAttribute("className")}),f.getElementsByTagName=at(function(t){return t.appendChild(l.createComment("")),!t.getElementsByTagName("*").length}),f.getElementsByClassName=at(function(t){return t.innerHTML="<div class='a'></div><div class='a i'></div>",t.firstChild.className="i",2===t.getElementsByClassName("i").length}),f.getById=at(function(t){return a.appendChild(t).id=k,!l.getElementsByName||!l.getElementsByName(k).length}),f.getById?(C.find.ID=function(t,e){if(typeof e.getElementById!==P&&v){var i=e.getElementById(t);return i&&i.parentNode?[i]:[]}},C.filter.ID=function(t){var e=t.replace(et,it);return function(t){return t.getAttribute("id")===e}}):(delete C.find.ID,C.filter.ID=function(t){var i=t.replace(et,it);return function(t){var e=typeof t.getAttributeNode!==P&&t.getAttributeNode("id");return e&&e.value===i}}),C.find.TAG=f.getElementsByTagName?function(t,e){if(typeof e.getElementsByTagName!==P)return e.getElementsByTagName(t)}:function(t,e){var i,n=[],o=0,s=e.getElementsByTagName(t);if("*"!==t)return s;for(;i=s[o++];)1===i.nodeType&&n.push(i);return n},C.find.CLASS=f.getElementsByClassName&&function(t,e){if(typeof e.getElementsByClassName!==P&&v)return e.getElementsByClassName(t)},r=[],y=[],(f.qsa=X.test(l.querySelectorAll))&&(at(function(t){t.innerHTML="<select><option selected=''></option></select>",t.querySelectorAll("[selected]").length||y.push("\\["+R+"*(?:value|"+D+")"),t.querySelectorAll(":checked").length||y.push(":checked")}),at(function(t){var e=l.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("t",""),t.querySelectorAll("[t^='']").length&&y.push("[*^$]="+R+"*(?:''|\"\")"),t.querySelectorAll(":enabled").length||y.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),y.push(",.*:")})),(f.matchesSelector=X.test(u=a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&at(function(t){f.disconnectedMatch=u.call(t,"div"),u.call(t,"[s!='']:x"),r.push("!=",H)}),y=y.length&&new RegExp(y.join("|")),r=r.length&&new RegExp(r.join("|")),b=X.test(a.contains)||a.compareDocumentPosition?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},j=a.compareDocumentPosition?function(t,e){if(t===e)return E=!0,0;var i=e.compareDocumentPosition&&t.compareDocumentPosition&&t.compareDocumentPosition(e);return i?1&i||!f.sortDetached&&e.compareDocumentPosition(t)===i?t===l||b(w,t)?-1:e===l||b(w,e)?1:c?B.call(c,t)-B.call(c,e):0:4&i?-1:1:t.compareDocumentPosition?-1:1}:function(t,e){var i,n=0,o=t.parentNode,s=e.parentNode,a=[t],r=[e];if(t===e)return E=!0,0;if(!o||!s)return t===l?-1:e===l?1:o?-1:s?1:c?B.call(c,t)-B.call(c,e):0;if(o===s)return lt(t,e);for(i=t;i=i.parentNode;)a.unshift(i);for(i=e;i=i.parentNode;)r.unshift(i);for(;a[n]===r[n];)n++;return n?lt(a[n],r[n]):a[n]===w?-1:r[n]===w?1:0},l):T},nt.matches=function(t,e){return nt(t,null,null,e)},nt.matchesSelector=function(t,e){if((t.ownerDocument||t)!==T&&g(t),e=e.replace(U,"='$1']"),f.matchesSelector&&v&&(!r||!r.test(e))&&(!y||!y.test(e)))try{var i=u.call(t,e);if(i||f.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){}return 0<nt(e,T,null,[t]).length},nt.contains=function(t,e){return(t.ownerDocument||t)!==T&&g(t),b(t,e)},nt.attr=function(t,e){(t.ownerDocument||t)!==T&&g(t);var i=C.attrHandle[e.toLowerCase()],n=i&&M.call(C.attrHandle,e.toLowerCase())?i(t,e,!v):o;return n===o?f.attributes||!v?t.getAttribute(e):(n=t.getAttributeNode(e))&&n.specified?n.value:null:n},nt.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},nt.uniqueSort=function(t){var e,i=[],n=0,o=0;if(E=!f.detectDuplicates,c=!f.sortStable&&t.slice(0),t.sort(j),E){for(;e=t[o++];)e===t[o]&&(n=i.push(o));for(;n--;)t.splice(i[n],1)}return t},s=nt.getText=function(t){var e,i="",n=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=s(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[n];n++)i+=s(e);return i},(C=nt.selectors={cacheLength:50,createPseudo:st,match:Y,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,it),t[3]=(t[4]||t[5]||"").replace(et,it),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||nt.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&nt.error(t[0]),t},PSEUDO:function(t){var e,i=!t[5]&&t[2];return Y.CHILD.test(t[0])?null:(t[3]&&t[4]!==o?t[2]=t[4]:i&&Q.test(i)&&(e=pt(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,it).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=l[t+" "];return e||(e=new RegExp("(^|"+R+")"+t+"("+R+"|$)"))&&l(t,function(t){return e.test("string"==typeof t.className&&t.className||typeof t.getAttribute!==P&&t.getAttribute("class")||"")})},ATTR:function(i,n,o){return function(t){var e=nt.attr(t,i);return null==e?"!="===n:!n||(e+="","="===n?e===o:"!="===n?e!==o:"^="===n?o&&0===e.indexOf(o):"*="===n?o&&-1<e.indexOf(o):"$="===n?o&&e.slice(-o.length)===o:"~="===n?-1<(" "+e+" ").indexOf(o):"|="===n&&(e===o||e.slice(0,o.length+1)===o+"-"))}},CHILD:function(p,t,e,f,m){var g="nth"!==p.slice(0,3),v="last"!==p.slice(-4),y="of-type"===t;return 1===f&&0===m?function(t){return!!t.parentNode}
vendor: 4,208 bytes, line 1
1:function(t,e,i){var n,o,s,a,r,l,c=g!==v?"nextSibling":"previousSibling",u=t.parentNode,h=y&&t.nodeName.toLowerCase(),d=!i&&!y;if(u){if(g){for(;c;){for(s=t;s=s[c];)if(y?s.nodeName.toLowerCase()===h:1===s.nodeType)return!1;l=c="only"===p&&!l&&"nextSibling"}return!0}if(l=[v?u.firstChild:u.lastChild],v&&d){for(r=(n=(o=u[k]||(u[k]={}))[p]||[])[0]===A&&n[1],a=n[0]===A&&n[2],s=r&&u.childNodes[r];s=++r&&s&&s[c]||(a=r=0)||l.pop();)if(1===s.nodeType&&++a&&s===t){o[p]=[A,r,a];break}}else if(d&&(n=(t[k]||(t[k]={}))[p])&&n[0]===A)a=n[1];else for(;(s=++r&&s&&s[c]||(a=r=0)||l.pop())&&((y?s.nodeName.toLowerCase()!==h:1!==s.nodeType)||!++a||(d&&((s[k]||(s[k]={}))[p]=[A,a]),s!==t)););return(a-=m)===f||a%f==0&&0<=a/f}}},PSEUDO:function(t,s){var e,a=C.pseudos[t]||C.setFilters[t.toLowerCase()]||nt.error("unsupported pseudo: "+t);return a[k]?a(s):1<a.length?(e=[t,t,"",s],C.setFilters.hasOwnProperty(t.toLowerCase())?st(function(t,e){for(var i,n=a(t,s),o=n.length;o--;)t[i=B.call(t,n[o])]=!(e[i]=n[o])}):function(t){return a(t,0,e)}):a}},pseudos:{not:st(function(t){var n=[],o=[],r=m(t.replace(_,"$1"));return r[k]?st(function(t,e,i,n){for(var o,s=r(t,null,n,[]),a=t.length;a--;)(o=s[a])&&(t[a]=!(e[a]=o))}):function(t,e,i){return n[0]=t,r(n,null,i,o),!o.pop()}}),has:st(function(e){return function(t){return 0<nt(e,t).length}}),contains:st(function(e){return function(t){return-1<(t.textContent||t.innerText||s(t)).indexOf(e)}}),lang:st(function(i){return G.test(i||"")||nt.error("unsupported lang: "+i),i=i.replace(et,it).toLowerCase(),function(t){var e;do{if(e=v?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(e=e.toLowerCase())===i||0===e.indexOf(i+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var e=i.location&&i.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===a},focus:function(t){return t===T.activeElement&&(!T.hasFocus||T.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if("@"<t.nodeName||3===t.nodeType||4===t.nodeType)return!1;return!0},parent:function(t){return!C.pseudos.empty(t)},header:function(t){return J.test(t.nodeName)},input:function(t){return Z.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||e.toLowerCase()===t.type)},first:ht(function(){return[0]}),last:ht(function(t,e){return[e-1]}),eq:ht(function(t,e,i){return[i<0?i+e:i]}),even:ht(function(t,e){for(var i=0;i<e;i+=2)t.push(i);return t}),odd:ht(function(t,e){for(var i=1;i<e;i+=2)t.push(i);return t}),lt:ht(function(t,e,i){for(var n=i<0?i+e:i;0<=--n;)t.push(n);return t}),gt:ht(function(t,e,i){for(var n=i<0?i+e:i;++n<e;)t.push(n);return t})}}).pseudos.nth=C.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})C.pseudos[t]=ct(t);for(t in{submit:!0,reset:!0})C.pseudos[t]=ut(t);function dt(){}function pt(t,e){var i,n,o,s,a,r,l,c=d[t+" "];if(c)return e?0:c.slice(0);for(a=t,r=[],l=C.preFilter;a;){for(s in i&&!(n=q.exec(a))||(n&&(a=a.slice(n[0].length)||a),r.push(o=[])),i=!1,(n=$.exec(a))&&(i=n.shift(),o.push({value:i,type:n[0].replace(_," ")}),a=a.slice(i.length)),C.filter)!(n=Y[s].exec(a))||l[s]&&!(n=l[s](n))||(i=n.shift(),o.push({value:i,type:s,matches:n}),a=a.slice(i.length));if(!i)break}return e?a.length:a?nt.error(t):d(t,r).slice(0)}function ft(t){for(var e=0,i=t.length,n="";e<i;e++)n+=t[e].value;return n}function mt(r,t,e){var l=t.dir,c=e&&"parentNode"===l,u=h++;return t.first?function(t,e,i){for(;t=t[l];)if(1===t.nodeType||c)return r(t,e,i)}:function(t,e,i){var n,o,s,a=A+" "+u;if(i){for(;t=t[l];)if((1===t.nodeType||c)&&r(t,e,i))return!0}else for(;t=t[l];)if(1===t.nodeType||c)if((o=(s=t[k]||(t[k]={}))[l])&&o[0]===a){if(!0===(n=o[1])||n===x)return!0===n}else if((o=s[l]=[a])[1]=r(t,e,i)||x,!0===o[1])return!0}}
1function gt(o){return 1<o.length?function(t,e,i){for(var n=o.length;n--;)if(!o[n](t,e,i))return!1;return!0}:o[0]}function vt(t,e,i,n,o){for(var s,a=[],r=0,l=t.length,c=null!=e;r<l;r++)(s=t[r])&&(i&&!i(s,n,o)||(a.push(s),c&&e.push(r)));return a}function yt(p,f,m,g,v,t){return g&&!g[k]&&(g=yt(g)),v&&!v[k]&&(v=yt(v,t)),st(function(t,e,i,n){var o,s,a,r=[],l=[],c=e.length,u=t||function(t,e,i){for(var n=0,o=e.length;n<o;n++)nt(t,e[n],i);return i}(f||"*",i.nodeType?[i]:i,[]),h=!p||!t&&f?u:vt(u,r,p,i,n),d=m?v||(t?p:c||g)?[]:e:h;if(m&&m(h,d,i,n),g)for(o=vt(d,l),g(o,[],i,n),s=o.length;s--;)(a=o[s])&&(d[l[s]]=!(h[l[s]]=a));if(t){if(v||p){if(v){for(o=[],s=d.length;s--;)(a=d[s])&&o.push(h[s]=a);v(null,d=[],o,n)}for(s=d.length;s--;)(a=d[s])&&-1<(o=v?B.call(t,a):r[s])&&(t[o]=!(e[o]=a))}}else d=vt(d===e?d.splice(c,d.length):d),v?v(null,e,d,n):I.apply(e,d)})}function bt(t){for(var n,e,i,o=t.length,s=C.relative[t[0].type],a=s||C.relative[" "],r=s?1:0,l=mt(function(t){return t===n},a,!0),c=mt(function(t){return-1<B.call(n,t)},a,!0),u=[function(t,e,i){return!s&&(i||e!==S)||((n=e).nodeType?l(t,e,i):c(t,e,i))}];r<o;r++)if(e=C.relative[t[r].type])u=[mt(gt(u),e)];else{if((e=C.filter[t[r].type].apply(null,t[r].matches))[k]){for(i=++r;i<o&&!C.relative[t[i].type];i++);return yt(1<r&>(u),1<r&&ft(t.slice(0,r-1).concat({value:" "===t[r-2].type?"*":""})).replace(_,"$1"),e,r<i&&bt(t.slice(r,i)),i<o&&bt(t=t.slice(i)),i<o&&ft(t))}u.push(e)}return gt(u)}dt.prototype=C.filters=C.pseudos,C.setFilters=new dt,m=nt.compile=function(t,e){var i,g,v,y,b,w,n,o=[],s=[],a=p[t+" "];if(!a){for(e||(e=pt(t)),i=e.length;i--;)(a=bt(e[i]))[k]?o.push(a):s.push(a);a=p(t,(g=s,b=(y=0)<(v=o).length,w=0<g.length,n=function(t,e,i,n,o){var s,a,r,l=[],c=0,u="0",h=t&&[],d=null!=o,p=S,f=t||w&&C.find.TAG("*",o&&e.parentNode||e),m=A+=null==p?1:Math.random()||.1;for(d&&(S=e!==T&&e,x=y);null!=(s=f[u]);u++){if(w&&s){for(a=0;r=g[a++];)if(r(s,e,i)){n.push(s);break}d&&(A=m,x=++y)}b&&((s=!r&&s)&&c--,t&&h.push(s))}if(c+=u,b&&u!==c){for(a=0;r=v[a++];)r(h,l,e,i);if(t){if(0<c)for(;u--;)h[u]||l[u]||(l[u]=F.call(n));l=vt(l)}I.apply(n,l),d&&!t&&0<l.length&&1<c+v.length&&nt.uniqueSort(n)}return d&&(A=m,S=p),h},b?st(n):n))}return a},f.sortStable=k.split("").sort(j).join("")===k,f.detectDuplicates=E,g(),f.sortDetached=at(function(t){return 1&t.compareDocumentPosition(T.createElement("div"))}),at(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||rt("type|href|height|width",function(t,e,i){if(!i)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),f.attributes&&at(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||rt("value",function(t,e,i){if(!i&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),at(function(t){return null==t.getAttribute("disabled")})||rt(D,function(t,e,i){var n;if(!i)return(n=t.getAttributeNode(e))&&n.specified?n.value:!0===t[e]?e.toLowerCase():null}),wt.find=nt,wt.expr=nt.selectors,wt.expr[":"]=wt.expr.pseudos,wt.unique=nt.uniqueSort,wt.text=nt.getText,wt.isXMLDoc=nt.isXML,wt.contains=nt.contains}(f);var P,M,F,L,I,N,B={};wt.Callbacks=function(o){var t,i;o="string"==typeof o?B[o]||(i=B[t=o]={},wt.each(t.match(T)||[],function(t,e){i[e]=!0}),i):wt.extend({},o);var e,n,s,a,r,l,c=[],u=!o.once&&[],h=function(t){for(e=o.memory&&t,n=!0,l=a||0,a=0,r=c.length,s=!0;c&&l<r;l++)if(!1===c[l].apply(t[0],t[1])&&o.stopOnFalse){e=!1;break}s=!1,c&&(u?u.length&&h(u.shift()):e?c=[]:d.disable())},d={add:function(){if(c){var t=c.length;!function n(t){wt.each(t,function(t,e){var i=wt.type(e);"function"===i?o.unique&&d.has(e)||c.push(e):e&&e.length&&"string"!==i&&n(e)})}(arguments),s?r=c.length:e&&(a=t,h(e))}return this},remove:function(){return c&&wt.each(arguments,function(t,e){for(var i;-1<(i=wt.inArray(e,c,i));)c.splice(i,1),s&&(i<=r&&r--,i<=l&&l--)}),this},has:function(t){return t?-1<wt.inArray(t,c):!(!c||!c.length)},empty:function(){return c=[],r=0,this},disable:function(){return c=u=e=S,this},disabled:function(){return!c},lock:function(){return u=S,e||d.disable(),this},locked:function(){return!u},fireWith:function(t,e){return!c||n&&!u||(e=[t,(e=e||[]).slice?e.slice():e],s?u.push(e):h(e)),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!n}};return d},wt.extend({Deferred:function(t){var a=[["resolve","done",wt.Callbacks("once memory"),"resolved"],["reject","fail",wt.Callbacks("once memory"),"rejected"],["notify","progress",wt.Callbacks("memory")]],o="pending",r={state:function(){return o},always:function(){return l.done(arguments).fail(arguments),this},then:function(){var s=arguments;return wt.Deferred(function(o){wt.each(a,function(t,e){var i=e[0],n=wt.isFunction(s[t])&&s[t];l[e[1]](function(){var t=n&&n.apply(this,arguments);t&&wt.isFunction(t.promise)?t.promise().done(o.resolve).fail(o.reject).progress(o.notify):o[i+"With"](this===r?o.promise():this,n?[t]:arguments)})}),s=null}).promise()},promise:function(t){return null!=t?wt.extend(t,r):r}},l={};return r.pipe=r.then,wt.each(a,function(t,e){var i=e[2],n=e[3];r[e[1]]=i.add,n&&i.add(function(){o=n},a[1^t][2].disable,a[2][2].lock),l[e[0]]=function(){return l[e[0]+"With"](this===l?r:this,arguments),this},l[e[0]+"With"]=i.fireWith}),r.promise(l),t&&t.call(l,l),l},when:function(t){var o,e,i,n=0,s=u.call(arguments),a=s.length,r=1!==a||t&&wt.isFunction(t.promise)?a:0,l=1===r?t:wt.Deferred(),c=function(e,i,n){return function(t){i[e]=this,n[e]=1<arguments.length?u.call(arguments):t,n===o?l.notifyWith(i,n):--r||l.resolveWith(i,n)}};if(1<a)for(o=new Array(a),e=new Array(a),i=new Array(a);n<a;n++)s[n]&&wt.isFunction(s[n].promise)?s[n].promise().done(c(n,i,s)).fail(l.reject).progress(c(n,e,o)):--r;return r||l.resolveWith(i,s),l.promise()}}),wt.support=(P={},M=m.createElement("input"),F=m.createDocumentFragment(),L=m.createElement("div"),I=m.createElement("select"),N=I.appendChild(m.createElement("option")),M.type&&(M.type="checkbox",P.checkOn=""!==M.value,P.optSelected=N.selected,P.reliableMarginRight=!0,P.boxSizingReliable=!0,P.pixelPosition=!1,M.checked=!0,P.noCloneChecked=M.cloneNode(!0).checked,I.disabled=!0,P.optDisabled=!N.disabled,(M=m.createElement("input")).value="t",M.type="radio",P.radioValue="t"===M.value,M.setAttribute("checked","t"),M.setAttribute("name","t"),F.appendChild(M),P.checkClone
1=F.cloneNode(!0).cloneNode(!0).lastChild.checked,P.focusinBubbles="onfocusin"in f,L.style.backgroundClip="content-box",L.cloneNode(!0).style.backgroundClip="",P.clearCloneStyle="content-box"===L.style.backgroundClip,wt(function(){var t,e,i=m.getElementsByTagName("body")[0];i&&((t=m.createElement("div")).style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",i.appendChild(t).appendChild(L),L.innerHTML="",L.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%",wt.swap(i,null!=i.style.zoom?{zoom:1}:{},function(){P.boxSizing=4===L.offsetWidth}),f.getComputedStyle&&(P.pixelPosition="1%"!==(f.getComputedStyle(L,null)||{}).top,P.boxSizingReliable="4px"===(f.getComputedStyle(L,null)||{width:"4px"}).width,(e=L.appendChild(m.createElement("div"))).style.cssText=L.style.cssText="padding:0;margin:0;border:0;display:block;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box",e.style.marginRight=e.style.width="0",L.style.width="1px",P.reliableMarginRight=!parseFloat((f.getComputedStyle(e,null)||{}).marginRight)),i.removeChild(t))})),P);var D,R,O=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,z=/([A-Z])/g;function W(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=wt.expando+Math.random()}function H(t,e,i){var n;if(i===S&&1===t.nodeType)if(n="data-"+e.replace(z,"-$1").toLowerCase(),"string"==typeof(i=t.getAttribute(n))){try{i="true"===i||"false"!==i&&("null"===i?null:+i+""===i?+i:O.test(i)?JSON.parse(i):i)}catch(t){}D.set(t,e,i)}else i=S;return i}W.uid=1,W.accepts=function(t){return!t.nodeType||(1===t.nodeType||9===t.nodeType)},W.prototype={key:function(e){if(!W.accepts(e))return 0;var i={},n=e[this.expando];if(!n){n=W.uid++;try{i[this.expando]={value:n},Object.defineProperties(e,i)}catch(t){i[this.expando]=n,wt.extend(e,i)}}return this.cache[n]||(this.cache[n]={}),n},set:function(t,e,i){var n,o=this.key(t),s=this.cache[o];if("string"==typeof e)s[e]=i;else if(wt.isEmptyObject(s))wt.extend(this.cache[o],e);else for(n in e)s[n]=e[n];return s},get:function(t,e){var i=this.cache[this.key(t)];return e===S?i:i[e]},access:function(t,e,i){var n;return e===S||e&&"string"==typeof e&&i===S?(n=this.get(t,e))!==S?n:this.get(t,wt.camelCase(e)):(this.set(t,e,i),i!==S?i:e)},remove:function(t,e){var i,n,o,s=this.key(t),a=this.cache[s];if(e===S)this.cache[s]={};else{i=(n=wt.isArray(e)?e.concat(e.map(wt.camelCase)):(o=wt.camelCase(e),e in a?[e,o]:(n=o)in a?[n]:n.match(T)||[])).length;for(;i--;)delete a[n[i]]}},hasData:function(t){return!wt.isEmptyObject(this.cache[t[this.expando]]||{})},discard:function(t){t[this.expando]&&delete this.cache[t[this.expando]]}},D=new W,R=new W,wt.extend({acceptData:W.accepts,hasData:function(t){return D.hasData(t)||R.hasData(t)},data:function(t,e,i){return D.access(t,e,i)},removeData:function(t,e){D.remove(t,e)},_data:function(t,e,i){return R.access(t,e,i)},_removeData:function(t,e){R.remove(t,e)}}),wt.fn.extend({data:function(n,t){var e,i,o=this[0],s=0,a=null;if(n!==S)return"object"==typeof n?this.each(function(){D.set(this,n)}):wt.access(this,function(e){var t,i=wt.camelCase(n);if(o&&e===S)return(t=D.get(o,n))!==S?t:(t=D.get(o,i))!==S?t:(t=H(o,i,S))!==S?t:void 0;this.each(function(){var t=D.get(this,i);D.set(this,i,e),-1!==n.indexOf("-")&&t!==S&&D.set(this,n,e)})},null,t,1<arguments.length,null,!0);if(this.length&&(a=D.get(o),1===o.nodeType&&!R.get(o,"hasDataAttrs"))){for(e=o.attributes;s<e.length;s++)0===(i=e[s].name).indexOf("data-")&&(i=wt.camelCase(i.slice(5)),H(o,i,a[i]));R.set(o,"hasDataAttrs",!0)}return a},removeData:function(t){return this.each(function(){D.remove(this,t)})}}),wt.extend({queue:function(t,e,i){var n;if(t)return e=(e||"fx")+"queue",n=R.get(t,e),i&&(!n||wt.isArray(i)?n=R.access(t,e,wt.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){e=e||"fx";var i=wt.queue(t,e),n=i.length,o=i.shift(),s=wt._queueHooks(t,e);"inprogress"===o&&(o=i.shift(),n--),o&&("fx"===e&&i.unshift("inprogress"),delete s.stop,o.call(t,function(){wt.dequeue(t,e)},s)),!n&&s&&s.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return R.get(t,i)||R.access(t,i,{empty:wt.Callbacks("once memory").add(function(){R.remove(t,[e+"queue",i])})})}}),wt.fn.extend({queue:function(e,i){var t=2;return"string"!=typeof e&&(i=e,e="fx",t--),arguments.length<t?wt.queue(this[0],e):i===S?this:this.each(function(){var t=wt.queue(this,e,i);wt._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&wt.dequeue(this,e)})},dequeue:function(t){return this.each(function(){wt.dequeue(this,t)})},delay:function(n,t){return n=wt.fx&&wt.fx.speeds[n]||n,t=t||"fx",this.queue(t,function(t,e){var i=setTimeout(t,n);e.stop=function(){clearTimeout(i)}})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var i,n=1,o=wt.Deferred(),s=this,a=this.length,r=function(){--n||o.resolveWith(s,[s])};for("string"!=typeof t&&(e=t,t=S),t=t||"fx";a--;)(i=R.get(s[a],t+"queueHooks"))&&i.empty&&(n++,i.empty.add(r));return r(),o.promise(e)}});var _,q=/[\t\r\n\f]/g,$=/\r/g,V=/^(?:input|select|textarea|button)$/i;wt.fn.extend({attr:function(t,e){return wt.access(this,wt.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){wt.removeAttr(this,t)})},prop:function(t,e){return wt.access(this,wt.prop,t,e,1<arguments.length)},removeProp:function(t){return this.each(function(){delete this[wt.propFix[t]||t]})},addClass:function(e){var t,i,n,o,s,a=0,r=this.length,l="string"==typeof e&&e;if(wt.isFunction(e))return this.each(function(t){wt(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];a<r;a++)if(n=1===(i=this[a]).nodeType&&(i.className?(" "+i.className+" ").replace(q," "):" ")){for(s=0;o=t[s++];)n.indexOf(" "+o+" ")<0&&(n+=o+" ");i.className=wt.trim(n)}return this},removeClass:function(e){var t,i,n,o,s,a=0,r=this.length,l=0===arguments.length||"string"==typeof e&&e;if(wt.isFunction(e))return this.each(function(t){wt(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];a<r;a++)if(n=1===(i=this[a]).nodeType&&(i.className?(" "+i.className+" ").replace(q," "):"")){for(s=0;o=t[s++];)for(;0<=n.indexOf(" "+o+" ");)n=n.replace(" "+o+" "," ");i.className=e?wt.trim(n):""}return this},toggleClass:function(o,e){var s=typeof o;return"boolean"==typeof e&&"string"===s?e?this.addClass(o):this.removeClass(o):wt.isFunction(o)?this.each(function(t){wt(this).toggleClass(o.call(this,t,this.className,e),e)}):this.each(function(){if("string"===s)for(var t,e=0,i=wt(this),n=o.match(T)||[];t=n[e++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else s!==v&&"boolean"!==s||(this.className&&R.set(this,"__className__",this.className),this.className=this.className||!1===o?"":R.get(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",i=0,n=this.length;i<n;i++)if(1===this[i].nodeType&&0<=(" "+this[i].className+" ").replace(q," ").indexOf(e))return!0;return!1},val:function(i){var n,t,o,e=this[0];return arguments.length?(o=wt.isFunction(i),this.each(function(t){var e;1===this.nodeType&&(null==(e=o?i.call(this,t,wt(this).val()):i)?e="":"number"==typeof e?e+="":wt.isArray(e)&&(e=wt.map(e,function(t){return null==t?"":t+""})),(n=wt.valHooks[this.type]||wt.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&n.set(this,e,"value")!==S||(this.value=e))})):e?(n=wt.valHooks[e.type]||wt.valHooks[e.nodeName.toLowerCase()])&&"get"in n&&(t=n.get(e,"value"))!==S?t:"string"==typeof(t=e.value)?t.replace($,""):null==t?"":t:void 0}}),wt.extend({valHooks:{option:{get:function(t){var e=t.attributes.value;return!e||e.specified?t.value:t.text}},select:{get:function(t){for(var e,i,n=t.options,o=t.selectedIndex,s="select-one"===t.type||o<0,a=s?null:[],r=s?o+1:n.length,l=o<0?r:s?o:0;l<r;l++)if(((i=n[l]).selected||l===o)&&(wt.support.optDisabled?!i.disabled:null===i.getAttribute("disabled"))&&(!i.parentNode.disabled||!wt.nodeName(i.parentNode,"optgroup"))){if(e=wt(i).val(),s)return e;a.push(e)}return a}
1,set:function(t,e){for(var i,n,o=t.options,s=wt.makeArray(e),a=o.length;a--;)((n=o[a]).selected=0<=wt.inArray(wt(n).val(),s))&&(i=!0);return i||(t.selectedIndex=-1),s}}},attr:function(t,e,i){var n,o,s=t.nodeType;if(t&&3!==s&&8!==s&&2!==s)return typeof t.getAttribute===v?wt.prop(t,e,i):(1===s&&wt.isXMLDoc(t)||(e=e.toLowerCase(),n=wt.attrHooks[e]||(wt.expr.match.bool.test(e)?_:void 0)),i===S?n&&"get"in n&&null!==(o=n.get(t,e))?o:null==(o=wt.find.attr(t,e))?S:o:null!==i?n&&"set"in n&&(o=n.set(t,i,e))!==S?o:(t.setAttribute(e,i+""),i):void wt.removeAttr(t,e))},removeAttr:function(t,e){var i,n,o=0,s=e&&e.match(T);if(s&&1===t.nodeType)for(;i=s[o++];)n=wt.propFix[i]||i,wt.expr.match.bool.test(i)&&(t[n]=!1),t.removeAttribute(i)},attrHooks:{type:{set:function(t,e){if(!wt.support.radioValue&&"radio"===e&&wt.nodeName(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},propFix:{for:"htmlFor",class:"className"},prop:function(t,e,i){var n,o,s=t.nodeType;if(t&&3!==s&&8!==s&&2!==s)return(1!==s||!wt.isXMLDoc(t))&&(e=wt.propFix[e]||e,o=wt.propHooks[e]),i!==S?o&&"set"in o&&(n=o.set(t,i,e))!==S?n:t[e]=i:o&&"get"in o&&null!==(n=o.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){return t.hasAttribute("tabindex")||V.test(t.nodeName)||t.href?t.tabIndex:-1}}}}),_={set:function(t,e,i){return!1===e?wt.removeAttr(t,i):t.setAttribute(i,i),i}},wt.each(wt.expr.match.bool.source.match(/\w+/g),function(t,e){var s=wt.expr.attrHandle[e]||wt.find.attr;wt.expr.attrHandle[e]=function(t,e,i){var n=wt.expr.attrHandle[e],o=i?S:(wt.expr.attrHandle[e]=S)!=s(t,e,i)?e.toLowerCase():null;return wt.expr.attrHandle[e]=n,o}}),wt.support.optSelected||(wt.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null}}),wt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){wt.propFix[this.toLowerCase()]=this}),wt.each(["radio","checkbox"],function(){wt.valHooks[this]={set:function(t,e){if(wt.isArray(e))return t.checked=0<=wt.inArray(wt(t).val(),e)}},wt.support.checkOn||(wt.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var U=/^key/,Q=/^(?:mouse|contextmenu)|click/,G=/^(?:focusinfocus|focusoutblur)$/,Y=/^([^.]*)(?:\.(.+)|)$/;function X(){return!0}function K(){return!1}function Z(){try{return m.activeElement}catch(t){}}wt.event={global:{},add:function(t,e,i,n,o){var s,a,r,l,c,u,h,d,p,f,m,g=R.get(t);if(g){for(i.handler&&(i=(s=i).handler,o=s.selector),i.guid||(i.guid=wt.guid++),(l=g.events)||(l=g.events={}),(a=g.handle)||((a=g.handle=function(t){return typeof wt===v||t&&wt.event.triggered===t.type?S:wt.event.dispatch.apply(a.elem,arguments)}).elem=t),c=(e=(e||"").match(T)||[""]).length;c--;)p=m=(r=Y.exec(e[c])||[])[1],f=(r[2]||"").split(".").sort(),p&&(h=wt.event.special[p]||{},p=(o?h.delegateType:h.bindType)||p,h=wt.event.special[p]||{},u=wt.extend({type:p,origType:m,data:n,handler:i,guid:i.guid,selector:o,needsContext:o&&wt.expr.match.needsContext.test(o),namespace:f.join(".")},s),(d=l[p])||((d=l[p]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(t,n,f,a)||t.addEventListener&&t.addEventListener(p,a,!1)),h.add&&(h.add.call(t,u),u.handler.guid||(u.handler.guid=i.guid)),o?d.splice(d.delegateCount++,0,u):d.push(u),wt.event.global[p]=!0);t=null}},remove:function(t,e,i,n,o){var s,a,r,l,c,u,h,d,p,f,m,g=R.hasData(t)&&R.get(t);if(g&&(l=g.events)){for(c=(e=(e||"").match(T)||[""]).length;c--;)if(p=m=(r=Y.exec(e[c])||[])[1],f=(r[2]||"").split(".").sort(),p){for(h=wt.event.special[p]||{},d=l[p=(n?h.delegateType:h.bindType)||p]||[],r=r[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=s=d.length;s--;)u=d[s],!o&&m!==u.origType||i&&i.guid!==u.guid||r&&!r.test(u.namespace)||n&&n!==u.selector&&("**"!==n||!u.selector)||(d.splice(s,1),u.selector&&d.delegateCount--,h.remove&&h.remove.call(t,u));a&&!d.length&&(h.teardown&&!1!==h.teardown.call(t,f,g.handle)||wt.removeEvent(t,p,g.handle),delete l[p])}else for(p in l)wt.event.remove(t,p+e[c],i,n,!0);wt.isEmptyObject(l)&&(delete g.handle,R.remove(t,"events"))}}
1,trigger:function(t,e,i,n){var o,s,a,r,l,c,u,h=[i||m],d=y.call(t,"type")?t.type:t,p=y.call(t,"namespace")?t.namespace.split("."):[];if(s=a=i=i||m,3!==i.nodeType&&8!==i.nodeType&&!G.test(d+wt.event.triggered)&&(0<=d.indexOf(".")&&(d=(p=d.split(".")).shift(),p.sort()),l=d.indexOf(":")<0&&"on"+d,(t=t[wt.expando]?t:new wt.Event(d,"object"==typeof t&&t)).isTrigger=n?2:3,t.namespace=p.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=S,t.target||(t.target=i),e=null==e?[t]:wt.makeArray(e,[t]),u=wt.event.special[d]||{},n||!u.trigger||!1!==u.trigger.apply(i,e))){if(!n&&!u.noBubble&&!wt.isWindow(i)){for(r=u.delegateType||d,G.test(r+d)||(s=s.parentNode);s;s=s.parentNode)h.push(s),a=s;a===(i.ownerDocument||m)&&h.push(a.defaultView||a.parentWindow||f)}for(o=0;(s=h[o++])&&!t.isPropagationStopped();)t.type=1<o?r:u.bindType||d,(c=(R.get(s,"events")||{})[t.type]&&R.get(s,"handle"))&&c.apply(s,e),(c=l&&s[l])&&wt.acceptData(s)&&c.apply&&!1===c.apply(s,e)&&t.preventDefault();return t.type=d,n||t.isDefaultPrevented()||u._default&&!1!==u._default.apply(h.pop(),e)||!wt.acceptData(i)||l&&wt.isFunction(i[d])&&!wt.isWindow(i)&&((a=i[l])&&(i[l]=null),i[wt.event.triggered=d](),wt.event.triggered=S,a&&(i[l]=a)),t.result}},dispatch:function(t){t=wt.event.fix(t);var e,i,n,o,s,a,r=u.call(arguments),l=(R.get(this,"events")||{})[t.type]||[],c=wt.event.special[t.type]||{};if((r[0]=t).delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,t)){for(a=wt.event.handlers.call(this,t,l),e=0;(o=a[e++])&&!t.isPropagationStopped();)for(t.currentTarget=o.elem,i=0;(s=o.handlers[i++])&&!t.isImmediatePropagationStopped();)t.namespace_re&&!t.namespace_re.test(s.namespace)||(t.handleObj=s,t.data=s.data,(n=((wt.event.special[s.origType]||{}).handle||s.handler).apply(o.elem,r))!==S&&!1===(t.result=n)&&(t.preventDefault(),t.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,t),t.result}},handlers:function(t,e){var i,n,o,s,a=[],r=e.delegateCount,l=t.target;if(r&&l.nodeType&&(!t.button||"click"!==t.type))for(;l!==this;l=l.parentNode||this)if(!0!==l.disabled||"click"!==t.type){for(n=[],i=0;i<r;i++)n[o=(s=e[i]).selector+" "]===S&&(n[o]=s.needsContext?0<=wt(o,this).index(l):wt.find(o,this,null,[l]).length),n[o]&&n.push(s);n.length&&a.push({elem:l,handlers:n})}return r<e.length&&a.push({elem:this,handlers:e.slice(r)}),a},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var i,n,o,s=e.button;return null==t.pageX&&null!=e.clientX&&(n=(i=t.target.ownerDocument||m).documentElement,o=i.body,t.pageX=e.clientX+(n&&n.scrollLeft||o&&o.scrollLeft||0)-(n&&n.clientLeft||o&&o.clientLeft||0),t.pageY=e.clientY+(n&&n.scrollTop||o&&o.scrollTop||0)-(n&&n.clientTop||o&&o.clientTop||0)),t.which||s===S||(t.which=1&s?1:2&s?3:4&s?2:0),t}},fix:function(t){if(t[wt.expando])return t;var e,i,n,o=t.type,s=t,a=this.fixHooks[o];for(a||(this.fixHooks[o]=a=Q.test(o)?this.mouseHooks:U.test(o)?this.keyHooks:{}),n=a.props?this.props.concat(a.props):this.props,t=new wt.Event(s),e=n.length;e--;)t[i=n[e]]=s[i];return t.target||(t.target=m),3===t.target.nodeType&&(t.target=t.target.parentNode),a.filter?a.filter(t,s):t},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==Z()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===Z()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&wt.nodeName(this,"input"))return this.click(),!1},_default:function(t){return wt.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){t.result!==S&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,i,n){var o=wt.extend(new wt.Event,i,{type:t,isSimulated:!0,originalEvent:{}});n?wt.event.trigger(o,null,e):wt.event.dispatch.call(e,o),o.isDefaultPrevented()&&i.preventDefault()}}
1,wt.removeEvent=function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i,!1)},wt.Event=function(t,e){if(!(this instanceof wt.Event))return new wt.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||t.getPreventDefault&&t.getPreventDefault()?X:K):this.type=t,e&&wt.extend(this,e),this.timeStamp=t&&t.timeStamp||wt.now(),this[wt.expando]=!0},wt.Event.prototype={isDefaultPrevented:K,isPropagationStopped:K,isImmediatePropagationStopped:K,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=X,t&&t.preventDefault&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=X,t&&t.stopPropagation&&t.stopPropagation()},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=X,this.stopPropagation()}},wt.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(t,o){wt.event.special[t]={delegateType:o,bindType:o,handle:function(t){var e,i=t.relatedTarget,n=t.handleObj;return i&&(i===this||wt.contains(this,i))||(t.type=n.origType,e=n.handler.apply(this,arguments),t.type=o),e}}}),wt.support.focusinBubbles||wt.each({focus:"focusin",blur:"focusout"},function(t,e){var i=0,n=function(t){wt.event.simulate(e,t.target,wt.event.fix(t),!0)};wt.event.special[e]={setup:function(){0==i++&&m.addEventListener(t,n,!0)},teardown:function(){0==--i&&m.removeEventListener(t,n,!0)}}}),wt.fn.extend({on:function(t,e,i,n,o){var s,a;if("object"==typeof t){for(a in"string"!=typeof e&&(i=i||e,e=S),t)this.on(a,e,i,t[a],o);return this}if(null==i&&null==n?(n=e,i=e=S):null==n&&("string"==typeof e?(n=i,i=S):(n=i,i=e,e=S)),!1===n)n=K;else if(!n)return this;return 1===o&&(s=n,(n=function(t){return wt().off(t),s.apply(this,arguments)}).guid=s.guid||(s.guid=wt.guid++)),this.each(function(){wt.event.add(this,t,n,i,e)})},one:function(t,e,i,n){return this.on(t,e,i,n,1)},off:function(t,e,i){var n,o;if(t&&t.preventDefault&&t.handleObj)return n=t.handleObj,wt(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"!=typeof t)return!1!==e&&"function"!=typeof e||(i=e,e=S),!1===i&&(i=K),this.each(function(){wt.event.remove(this,t,i,e)});for(o in t)this.off(o,e,t[o]);return this},trigger:function(t,e){return this.each(function(){wt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var i=this[0];if(i)return wt.event.trigger(t,e,i,!0)}});var J=/^.[^:#\[\.,]*$/,tt=/^(?:parents|prev(?:Until|All))/,et=wt.expr.match.needsContext,it={children:!0,contents:!0,next:!0,prev:!0};function nt(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function ot(t,i,n){if(wt.isFunction(i))return wt.grep(t,function(t,e){return!!i.call(t,e,t)!==n});if(i.nodeType)return wt.grep(t,function(t){return t===i!==n});if("string"==typeof i){if(J.test(i))return wt.filter(i,t,n);i=wt.filter(i,t)}return wt.grep(t,function(t){return 0<=h.call(i,t)!==n})}wt.fn.extend({find:function(t){var e,i=[],n=this,o=n.length;if("string"!=typeof t)return this.pushStack(wt(t).filter(function(){for(e=0;e<o;e++)if(wt.contains(n[e],this))return!0}));for(e=0;e<o;e++)wt.find(t,n[e],i);return(i=this.pushStack(1<o?wt.unique(i):i)).selector=this.selector?this.selector+" "+t:t,i},has:function(t){var e=wt(t,this),i=e.length;return this.filter(function(){for(var t=0;t<i;t++)if(wt.contains(this,e[t]))return!0})},not:function(t){return this.pushStack(ot(this,t||[],!0))},filter:function(t){return this.pushStack(ot(this,t||[],!1))},is:function(t){return!!ot(this,"string"==typeof t&&et.test(t)?wt(t):t||[],!1).length},closest:function(t,e){for(var i,n=0,o=this.length,s=[],a=et.test(t)||"string"!=typeof t?wt(t,e||this.context):0;n<o;n++)for(i=this[n];i&&i!==e;i=i.parentNode)if(i.nodeType<11&&(a?-1<a.index(i):1===i.nodeType&&wt.find.matchesSelector(i,t))){i=s.push(i);break}return this.pushStack(1<s.length?wt.unique(s):s)},index:function(t){return t?"string"==typeof t?h.call(wt(t),this[0]):h.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){var i="string"==typeof t?wt(t,e):wt.makeArray(t&&t.nodeType?[t]:t),n=wt.merge(this.get(),i);return this.pushStack(wt.unique(n))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),wt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return wt.dir(t,"parentNode")}
1,parentsUntil:function(t,e,i){return wt.dir(t,"parentNode",i)},next:function(t){return nt(t,"nextSibling")},prev:function(t){return nt(t,"previousSibling")},nextAll:function(t){return wt.dir(t,"nextSibling")},prevAll:function(t){return wt.dir(t,"previousSibling")},nextUntil:function(t,e,i){return wt.dir(t,"nextSibling",i)},prevUntil:function(t,e,i){return wt.dir(t,"previousSibling",i)},siblings:function(t){return wt.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return wt.sibling(t.firstChild)},contents:function(t){return t.contentDocument||wt.merge([],t.childNodes)}},function(n,o){wt.fn[n]=function(t,e){var i=wt.map(this,o,t);return"Until"!==n.slice(-5)&&(e=t),e&&"string"==typeof e&&(i=wt.filter(e,i)),1<this.length&&(it[n]||wt.unique(i),tt.test(n)&&i.reverse()),this.pushStack(i)}}),wt.extend({filter:function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?wt.find.matchesSelector(n,t)?[n]:[]:wt.find.matches(t,wt.grep(e,function(t){return 1===t.nodeType}))},dir:function(t,e,i){for(var n=[],o=i!==S;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&wt(t).is(i))break;n.push(t)}return n},sibling:function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i}});var st=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,at=/<([\w:]+)/,rt=/<|&#?\w+;/,lt=/<(?:script|style|link)/i,ct=/^(?:checkbox|radio)$/i,ut=/checked\s*(?:[^=]|=\s*.checked.)/i,ht=/^$|\/(?:java|ecma)script/i,dt=/^true\/(.*)/,pt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,ft={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function mt(t,e){return wt.nodeName(t,"table")&&wt.nodeName(1===e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function gt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function vt(t){var e=dt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function yt(t,e){for(var i=t.length,n=0;n<i;n++)R.set(t[n],"globalEval",!e||R.get(e[n],"globalEval"))}function bt(t,e){var i,n,o,s,a,r,l,c;if(1===e.nodeType){if(R.hasData(t)&&(s=R.access(t),a=R.set(e,s),c=s.events))for(o in delete a.handle,a.events={},c)for(i=0,n=c[o].length;i<n;i++)wt.event.add(e,o,c[o][i]);D.hasData(t)&&(r=D.access(t),l=wt.extend({},r),D.set(e,l))}}function xt(t,e){var i=t.getElementsByTagName?t.getElementsByTagName(e||"*"):t.querySelectorAll?t.querySelectorAll(e||"*"):[];return e===S||e&&wt.nodeName(t,e)?wt.merge([t],i):i}function Ct(t,e){var i=e.nodeName.toLowerCase();"input"===i&&ct.test(t.type)?e.checked=t.checked:"input"!==i&&"textarea"!==i||(e.defaultValue=t.defaultValue)}ft.optgroup=ft.option,ft.tbody=ft.tfoot=ft.colgroup=ft.caption=ft.thead,ft.th=ft.td,wt.fn.extend({text:function(t){return wt.access(this,function(t){return t===S?wt.text(this):this.empty().append((this[0]&&this[0].ownerDocument||m).createTextNode(t))},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||mt(this,t).appendChild(t)})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=mt(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var i,n=t?wt.filter(t,this):this,o=0;null!=(i=n[o]);o++)e||1!==i.nodeType||wt.cleanData(xt(i)),i.parentNode&&(e&&wt.contains(i.ownerDocument,i)&&yt(xt(i,"script")),i.parentNode.removeChild(i));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(wt.cleanData(xt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return wt.clone(this,t,e)})},html:function(t){return wt.access(this,function(t){var e=this[0]||{},i=0,n=this.length;if(t===S&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!lt.test(t)&&!ft[(at.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(st,"<$1></$2>");try{for(;i<n;i++)1===(e=this[i]||{}
1).nodeType&&(wt.cleanData(xt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var n=wt.map(this,function(t){return[t.nextSibling,t.parentNode]}),o=0;return this.domManip(arguments,function(t){var e=n[o++],i=n[o++];i&&(e&&e.parentNode!==i&&(e=this.nextSibling),wt(this).remove(),i.insertBefore(t,e))},!0),o?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(i,n,o){i=g.apply([],i);var t,e,s,a,r,l,c=0,u=this.length,h=this,d=u-1,p=i[0],f=wt.isFunction(p);if(f||!(u<=1||"string"!=typeof p||wt.support.checkClone)&&ut.test(p))return this.each(function(t){var e=h.eq(t);f&&(i[0]=p.call(this,t,e.html())),e.domManip(i,n,o)});if(u&&(e=(t=wt.buildFragment(i,this[0].ownerDocument,!1,!o&&this)).firstChild,1===t.childNodes.length&&(t=e),e)){for(a=(s=wt.map(xt(t,"script"),gt)).length;c<u;c++)r=t,c!==d&&(r=wt.clone(r,!0,!0),a&&wt.merge(s,xt(r,"script"))),n.call(this[c],r,c);if(a)for(l=s[s.length-1].ownerDocument,wt.map(s,vt),c=0;c<a;c++)r=s[c],ht.test(r.type||"")&&!R.access(r,"globalEval")&&wt.contains(l,r)&&(r.src?wt._evalUrl(r.src):wt.globalEval(r.textContent.replace(pt,"")))}return this}}),wt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,a){wt.fn[t]=function(t){for(var e,i=[],n=wt(t),o=n.length-1,s=0;s<=o;s++)e=s===o?this:this.clone(!0),wt(n[s])[a](e),c.apply(i,e.get());return this.pushStack(i)}}),wt.extend({clone:function(t,e,i){var n,o,s,a,r=t.cloneNode(!0),l=wt.contains(t.ownerDocument,t);if(!(wt.support.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||wt.isXMLDoc(t)))for(a=xt(r),n=0,o=(s=xt(t)).length;n<o;n++)Ct(s[n],a[n]);if(e)if(i)for(s=s||xt(t),a=a||xt(r),n=0,o=s.length;n<o;n++)bt(s[n],a[n]);else bt(t,r);return 0<(a=xt(r,"script")).length&&yt(a,!l&&xt(t,"script")),r},buildFragment:function(t,e,i,n){for(var o,s,a,r,l,c,u=0,h=t.length,d=e.createDocumentFragment(),p=[];u<h;u++)if((o=t[u])||0===o)if("object"===wt.type(o))wt.merge(p,o.nodeType?[o]:o);else if(rt.test(o)){for(s=s||d.appendChild(e.createElement("div")),a=(at.exec(o)||["",""])[1].toLowerCase(),r=ft[a]||ft._default,s.innerHTML=r[1]+o.replace(st,"<$1></$2>")+r[2],c=r[0];c--;)s=s.lastChild;wt.merge(p,s.childNodes),(s=d.firstChild).textContent=""}else p.push(e.createTextNode(o));for(d.textContent="",u=0;o=p[u++];)if((!n||-1===wt.inArray(o,n))&&(l=wt.contains(o.ownerDocument,o),s=xt(d.appendChild(o),"script"),l&&yt(s),i))for(c=0;o=s[c++];)ht.test(o.type||"")&&i.push(o);return d},cleanData:function(t){for(var e,i,n,o,s,a,r=wt.event.special,l=0;(i=t[l])!==S;l++){if(W.accepts(i)&&(s=i[R.expando])&&(e=R.cache[s])){if((n=Object.keys(e.events||{})).length)for(a=0;(o=n[a])!==S;a++)r[o]?wt.event.remove(i,o):wt.removeEvent(i,o,e.handle);R.cache[s]&&delete R.cache[s]}delete D.cache[i[D.expando]]}},_evalUrl:function(t){return wt.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})}}),wt.fn.extend({wrapAll:function(e){var t;return wt.isFunction(e)?this.each(function(t){wt(this).wrapAll(e.call(this,t))}):(this[0]&&(t=wt(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this)},wrapInner:function(i){return wt.isFunction(i)?this.each(function(t){wt(this).wrapInner(i.call(this,t))}):this.each(function(){var t=wt(this),e=t.contents();e.length?e.wrapAll(i):t.append(i)})},wrap:function(e){var i=wt.isFunction(e);return this.each(function(t){wt(this).wrapAll(i?e.call(this,t):e)})},unwrap:function(){return this.parent().each(function(){wt.nodeName(this,"body")||wt(this).replaceWith(this.childNodes)}).end()}});var St,Tt,kt=/^(none|table(?!-c[ea]).+)/,At=/^margin/,Et=new RegExp("^("+b+")(.*)$","i"),jt=new RegExp("^("+b+")(?!px)[a-z%]+$","i"),Pt=new RegExp("^([+-])=("+b+")","i"),Mt={BODY:"block"},Ft={position:"absolute",visibility:"hidden",display:"block"},Lt={letterSpacing:0,fontWeight:400},It=["Top","Right","Bottom","Left"],Nt=["Webkit","O","Moz","ms"];function Bt(t,e){if(e in t)return e;for(var i=e.charAt(0).toUpperCase()+e.slice(1),n=e,o=Nt.length;o--;)if((e=Nt[o]+i)in t)return e;return n}function Dt(t,e){return t=e||t,"none"===wt.css(t,"display")||!wt.contains(t.ownerDocument,t)}function Rt(t){return f.getComputedStyle(t,null)}function Ot(t,e){for(var i,n,o,s=[],a=0,r=t.length;a<r;a++)(n=t[a]).style&&(s[a]=R.get(n,"olddisplay"),i=n.style.display,e?(s[a]||"none"!==i||(n.style.display=""),""===n.style.display&&Dt(n)&&(s[a]=R.access(n,"olddisplay",_t(n.nodeName)))):s[a]||(o=Dt
1(n),(i&&"none"!==i||!o)&&R.set(n,"olddisplay",o?i:wt.css(n,"display"))));for(a=0;a<r;a++)(n=t[a]).style&&(e&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=e?s[a]||"":"none"));return t}function zt(t,e,i){var n=Et.exec(e);return n?Math.max(0,n[1]-(i||0))+(n[2]||"px"):e}function Wt(t,e,i,n,o){for(var s=i===(n?"border":"content")?4:"width"===e?1:0,a=0;s<4;s+=2)"margin"===i&&(a+=wt.css(t,i+It[s],!0,o)),n?("content"===i&&(a-=wt.css(t,"padding"+It[s],!0,o)),"margin"!==i&&(a-=wt.css(t,"border"+It[s]+"Width",!0,o))):(a+=wt.css(t,"padding"+It[s],!0,o),"padding"!==i&&(a+=wt.css(t,"border"+It[s]+"Width",!0,o)));return a}function Ht(t,e,i){var n=!0,o="width"===e?t.offsetWidth:t.offsetHeight,s=Rt(t),a=wt.support.boxSizing&&"border-box"===wt.css(t,"boxSizing",!1,s);if(o<=0||null==o){if(((o=St(t,e,s))<0||null==o)&&(o=t.style[e]),jt.test(o))return o;n=a&&(wt.support.boxSizingReliable||o===t.style[e]),o=parseFloat(o)||0}return o+Wt(t,e,i||(a?"border":"content"),n,s)+"px"}function _t(t){var e=m,i=Mt[t];return i||("none"!==(i=qt(t,e))&&i||((e=((Tt=(Tt||wt("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(e.documentElement))[0].contentWindow||Tt[0].contentDocument).document).write("<!doctype html><html><body>"),e.close(),i=qt(t,e),Tt.detach()),Mt[t]=i),i}function qt(t,e){var i=wt(e.createElement(t)).appendTo(e.body),n=wt.css(i[0],"display");return i.remove(),n}wt.fn.extend({css:function(t,e){return wt.access(this,function(t,e,i){var n,o,s={},a=0;if(wt.isArray(e)){for(n=Rt(t),o=e.length;a<o;a++)s[e[a]]=wt.css(t,e[a],!1,n);return s}return i!==S?wt.style(t,e,i):wt.css(t,e)},t,e,1<arguments.length)},show:function(){return Ot(this,!0)},hide:function(){return Ot(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Dt(this)?wt(this).show():wt(this).hide()})}}),wt.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=St(t,"opacity");return""===i?"1":i}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,s,a,r=wt.camelCase(e),l=t.style;if(e=wt.cssProps[r]||(wt.cssProps[r]=Bt(l,r)),a=wt.cssHooks[e]||wt.cssHooks[r],i===S)return a&&"get"in a&&(o=a.get(t,!1,n))!==S?o:l[e];"string"===(s=typeof i)&&(o=Pt.exec(i))&&(i=(o[1]+1)*o[2]+parseFloat(wt.css(t,e)),s="number"),null==i||"number"===s&&isNaN(i)||("number"!==s||wt.cssNumber[r]||(i+="px"),wt.support.clearCloneStyle||""!==i||0!==e.indexOf("background")||(l[e]="inherit"),a&&"set"in a&&(i=a.set(t,i,n))===S||(l[e]=i))}},css:function(t,e,i,n){var o,s,a,r=wt.camelCase(e);return e=wt.cssProps[r]||(wt.cssProps[r]=Bt(t.style,r)),(a=wt.cssHooks[e]||wt.cssHooks[r])&&"get"in a&&(o=a.get(t,!0,i)),o===S&&(o=St(t,e,n)),"normal"===o&&e in Lt&&(o=Lt[e]),""===i||i?(s=parseFloat(o),!0===i||wt.isNumeric(s)?s||0:o):o}}),St=function(t,e,i){var n,o,s,a=i||Rt(t),r=a?a.getPropertyValue(e)||a[e]:S,l=t.style;return a&&(""!==r||wt.contains(t.ownerDocument,t)||(r=wt.style(t,e)),jt.test(r)&&At.test(e)&&(n=l.width,o=l.minWidth,s=l.maxWidth,l.minWidth=l.maxWidth=l.width=r,r=a.width,l.width=n,l.minWidth=o,l.maxWidth=s)),r},wt.each(["height","width"],function(t,o){wt.cssHooks[o]={get:function(t,e,i){if(e)return 0===t.offsetWidth&&kt.test(wt.css(t,"display"))?wt.swap(t,Ft,function(){return Ht(t,o,i)}):Ht(t,o,i)},set:function(t,e,i){var n=i&&Rt(t);return zt(0,e,i?Wt(t,o,i,wt.support.boxSizing&&"border-box"===wt.css(t,"boxSizing",!1,n),n):0)}}}),wt(function(){wt.support.reliableMarginRight||(wt.cssHooks.marginRight={get:function(t,e){if(e)return wt.swap(t,{display:"inline-block"},St,[t,"marginRight"])}}),!wt.support.pixelPosition&&wt.fn.position&&wt.each(["top","left"],function(t,i){wt.cssHooks[i]={get:function(t,e){if(e)return e=St(t,i),jt.test(e)?wt(t).position()[i]+"px":e}}})}),wt.expr&&wt.expr.filters&&(wt.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0},wt.expr.filters.visible=function(t){return!wt.expr.filters.hidden(t)}),wt.each({margin:"",padding:"",border:"Width"},function(o,s){wt.cssHooks[o+s]={expand:function(t){for(var e=0,i={},n="string"==typeof t?t.split(" "):[t];e<4;e++)i[o+It[e]+s]=n[e]||n[e-2]||n[0];return i}}
vendor: 4,494 bytes, line 1
1,At.test(o)||(wt.cssHooks[o+s].set=zt)});var $t=/%20/g,Vt=/\[\]$/,Ut=/\r?\n/g,Qt=/^(?:submit|button|image|reset|file)$/i,Gt=/^(?:input|select|textarea|keygen)/i;function Yt(i,t,n,o){var e;if(wt.isArray(t))wt.each(t,function(t,e){n||Vt.test(i)?o(i,e):Yt(i+"["+("object"==typeof e?t:"")+"]",e,n,o)});else if(n||"object"!==wt.type(t))o(i,t);else for(e in t)Yt(i+"["+e+"]",t[e],n,o)}wt.fn.extend({serialize:function(){return wt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=wt.prop(this,"elements");return t?wt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!wt(this).is(":disabled")&&Gt.test(this.nodeName)&&!Qt.test(t)&&(this.checked||!ct.test(t))}).map(function(t,e){var i=wt(this).val();return null==i?null:wt.isArray(i)?wt.map(i,function(t){return{name:e.name,value:t.replace(Ut,"\r\n")}}):{name:e.name,value:i.replace(Ut,"\r\n")}}).get()}}),wt.param=function(t,e){var i,n=[],o=function(t,e){e=wt.isFunction(e)?e():null==e?"":e,n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(e===S&&(e=wt.ajaxSettings&&wt.ajaxSettings.traditional),wt.isArray(t)||t.jquery&&!wt.isPlainObject(t))wt.each(t,function(){o(this.name,this.value)});else for(i in t)Yt(i,t[i],e,o);return n.join("&").replace($t,"+")},wt.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,i){wt.fn[i]=function(t,e){return 0<arguments.length?this.on(i,null,t,e):this.trigger(i)}}),wt.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)}});var Xt,Kt,Zt=wt.now(),Jt=/\?/,te=/#.*$/,ee=/([?&])_=[^&]*/,ie=/^(.*?):[ \t]*([^\r\n]*)$/gm,ne=/^(?:GET|HEAD)$/,oe=/^\/\//,se=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,ae=wt.fn.load,re={},le={},ce="*/".concat("*");try{Kt=t.href}catch(t){(Kt=m.createElement("a")).href="",Kt=Kt.href}function ue(s){return function(t,e){"string"!=typeof t&&(e=t,t="*");var i,n=0,o=t.toLowerCase().match(T)||[];if(wt.isFunction(e))for(;i=o[n++];)"+"===i[0]?(i=i.slice(1)||"*",(s[i]=s[i]||[]).unshift(e)):(s[i]=s[i]||[]).push(e)}}function he(e,o,s,a){var r={},l=e===le;function c(t){var n;return r[t]=!0,wt.each(e[t]||[],function(t,e){var i=e(o,s,a);return"string"!=typeof i||l||r[i]?l?!(n=i):void 0:(o.dataTypes.unshift(i),c(i),!1)}),n}return c(o.dataTypes[0])||!r["*"]&&c("*")}function de(t,e){var i,n,o=wt.ajaxSettings.flatOptions||{};for(i in e)e[i]!==S&&((o[i]?t:n||(n={}))[i]=e[i]);return n&&wt.extend(!0,t,n),t}Xt=se.exec(Kt.toLowerCase())||[],wt.fn.load=function(t,e,i){if("string"!=typeof t&&ae)return ae.apply(this,arguments);var n,o,s,a=this,r=t.indexOf(" ");return 0<=r&&(n=t.slice(r),t=t.slice(0,r)),wt.isFunction(e)?(i=e,e=S):e&&"object"==typeof e&&(o="POST"),0<a.length&&wt.ajax({url:t,type:o,dataType:"html",data:e}).done(function(t){s=arguments,a.html(n?wt("<div>").append(wt.parseHTML(t)).find(n):t)}).complete(i&&function(t,e){a.each(i,s||[t.responseText,e,t])}),this},wt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){wt.fn[e]=function(t){return this.on(e,t)}}),wt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Kt,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Xt[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":ce,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":wt.parseJSON,"text xml":wt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?de(de(t,wt.ajaxSettings),e):de(wt.ajaxSettings,t)},ajaxPrefilter:ue(re),ajaxTransport:ue(le),ajax:function(t,e){"object"==typeof t&&(e=t,t=S),e=e||{};var u,h,d,i,p,n,f,o,m=wt.ajaxSetup({},e),g=m.context||m,v=m.context&&(g.nodeType||g.jquery)?wt(g):wt.event,y=wt.Deferred(),b=wt.Callbacks("once memory"),w=m.statusCode||{},s={},a={},x=0,r="canceled",C={readyState:0,getResponseHeader:function(t){var e;
vendor: 4,835 bytes, line 1
1if(2===x){if(!i)for(i={};e=ie.exec(d);)i[e[1].toLowerCase()]=e[2];e=i[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===x?d:null},setRequestHeader:function(t,e){var i=t.toLowerCase();return x||(t=a[i]=a[i]||t,s[t]=e),this},overrideMimeType:function(t){return x||(m.mimeType=t),this},statusCode:function(t){var e;if(t)if(x<2)for(e in t)w[e]=[w[e],t[e]];else C.always(t[C.status]);return this},abort:function(t){var e=t||r;return u&&u.abort(e),l(0,e),this}};if(y.promise(C).complete=b.add,C.success=C.done,C.error=C.fail,m.url=((t||m.url||Kt)+"").replace(te,"").replace(oe,Xt[1]+"//"),m.type=e.method||e.type||m.method||m.type,m.dataTypes=wt.trim(m.dataType||"*").toLowerCase().match(T)||[""],null==m.crossDomain&&(n=se.exec(m.url.toLowerCase()),m.crossDomain=!(!n||n[1]===Xt[1]&&n[2]===Xt[2]&&(n[3]||("http:"===n[1]?"80":"443"))===(Xt[3]||("http:"===Xt[1]?"80":"443")))),m.data&&m.processData&&"string"!=typeof m.data&&(m.data=wt.param(m.data,m.traditional)),he(re,m,e,C),2===x)return C;for(o in(f=m.global)&&0==wt.active++&&wt.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!ne.test(m.type),h=m.url,m.hasContent||(m.data&&(h=m.url+=(Jt.test(h)?"&":"?")+m.data,delete m.data),!1===m.cache&&(m.url=ee.test(h)?h.replace(ee,"$1_="+Zt++):h+(Jt.test(h)?"&":"?")+"_="+Zt++)),m.ifModified&&(wt.lastModified[h]&&C.setRequestHeader("If-Modified-Since",wt.lastModified[h]),wt.etag[h]&&C.setRequestHeader("If-None-Match",wt.etag[h])),(m.data&&m.hasContent&&!1!==m.contentType||e.contentType)&&C.setRequestHeader("Content-Type",m.contentType),C.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+ce+"; q=0.01":""):m.accepts["*"]),m.headers)C.setRequestHeader(o,m.headers[o]);if(m.beforeSend&&(!1===m.beforeSend.call(g,C,m)||2===x))return C.abort();for(o in r="abort",{success:1,error:1,complete:1})C[o](m[o]);if(u=he(le,m,e,C)){C.readyState=1,f&&v.trigger("ajaxSend",[C,m]),m.async&&0<m.timeout&&(p=setTimeout(function(){C.abort("timeout")},m.timeout));try{x=1,u.send(s,l)}catch(t){if(!(x<2))throw t;l(-1,t)}}else l(-1,"No Transport");function l(t,e,i,n){var o,s,a,r,l,c=e;2!==x&&(x=2,p&&clearTimeout(p),u=S,d=n||"",C.readyState=0<t?4:0,o=200<=t&&t<300||304===t,i&&(r=function(t,e,i){var n,o,s,a,r=t.contents,l=t.dataTypes;for(;"*"===l[0];)l.shift(),n===S&&(n=t.mimeType||e.getResponseHeader("Content-Type"));if(n)for(o in r)if(r[o]&&r[o].test(n)){l.unshift(o);break}if(l[0]in i)s=l[0];else{for(o in i){if(!l[0]||t.converters[o+" "+l[0]]){s=o;break}a||(a=o)}s=s||a}if(s)return s!==l[0]&&l.unshift(s),i[s]}(m,C,i)),r=function(t,e,i,n){var o,s,a,r,l,c={},u=t.dataTypes.slice();if(u[1])for(a in t.converters)c[a.toLowerCase()]=t.converters[a];s=u.shift();for(;s;)if(t.responseFields[s]&&(i[t.responseFields[s]]=e),!l&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=s,s=u.shift())if("*"===s)s=l;else if("*"!==l&&l!==s){if(!(a=c[l+" "+s]||c["* "+s]))for(o in c)if((r=o.split(" "))[1]===s&&(a=c[l+" "+r[0]]||c["* "+r[0]])){!0===a?a=c[o]:!0!==c[o]&&(s=r[0],u.unshift(r[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+l+" to "+s}}}return{state:"success",data:e}}(m,r,C,o),o?(m.ifModified&&((l=C.getResponseHeader("Last-Modified"))&&(wt.lastModified[h]=l),(l=C.getResponseHeader("etag"))&&(wt.etag[h]=l)),204===t||"HEAD"===m.type?c="nocontent":304===t?c="notmodified":(c=r.state,s=r.data,o=!(a=r.error))):(a=c,!t&&c||(c="error",t<0&&(t=0))),C.status=t,C.statusText=(e||c)+"",o?y.resolveWith(g,[s,c,C]):y.rejectWith(g,[C,c,a]),C.statusCode(w),w=S,f&&v.trigger(o?"ajaxSuccess":"ajaxError",[C,m,o?s:a]),b.fireWith(g,[C,c]),f&&(v.trigger("ajaxComplete",[C,m]),--wt.active||wt.event.trigger("ajaxStop")))}return C},getJSON:function(t,e,i){return wt.get(t,e,i,"json")},getScript:function(t,e){return wt.get(t,S,e,"script")}}),wt.each(["get","post"],function(t,o){wt[o]=function(t,e,i,n){return wt.isFunction(e)&&(n=n||i,i=e,e=S),wt.ajax({url:t,type:o,dataType:n,data:e,success:i})}}),wt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return wt.globalEval(t),t}}}),wt.ajaxPrefilter("script",function(t){t.cache===S&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),wt.ajaxTransport("script",function(i){var n,o;if(i.crossDomain)return{send:function(t,e){n=wt("<script>").prop({async:!0,charset:i.scriptCharset,src:i.url}).on("load error",o=function(t){n.remove(),o=null,t&&e("error"===t.type?404:200,t.type)}),m.head.appendChild(n[0])},abort:function(){o&&o()}}});var pe=[],fe=/(=)\?(?=&|$)|\?\?/;wt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=pe.pop()||wt.expando+"_"+Zt++;return this[t]=!0,t}}
1),wt.ajaxPrefilter("json jsonp",function(t,e,i){var n,o,s,a=!1!==t.jsonp&&(fe.test(t.url)?"url":"string"==typeof t.data&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&fe.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return n=t.jsonpCallback=wt.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(fe,"$1"+n):!1!==t.jsonp&&(t.url+=(Jt.test(t.url)?"&":"?")+t.jsonp+"="+n),t.converters["script json"]=function(){return s||wt.error(n+" was not called"),s[0]},t.dataTypes[0]="json",o=f[n],f[n]=function(){s=arguments},i.always(function(){f[n]=o,t[n]&&(t.jsonpCallback=e.jsonpCallback,pe.push(n)),s&&wt.isFunction(o)&&o(s[0]),s=o=S}),"script"}),wt.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(t){}};var me=wt.ajaxSettings.xhr(),ge={0:200,1223:204},ve=0,ye={};f.ActiveXObject&&wt(f).on("unload",function(){for(var t in ye)ye[t]();ye=S}),wt.support.cors=!!me&&"withCredentials"in me,wt.support.ajax=me=!!me,wt.ajaxTransport(function(s){var a;if(wt.support.cors||me&&!s.crossDomain)return{send:function(t,e){var i,n,o=s.xhr();if(o.open(s.type,s.url,s.async,s.username,s.password),s.xhrFields)for(i in s.xhrFields)o[i]=s.xhrFields[i];for(i in s.mimeType&&o.overrideMimeType&&o.overrideMimeType(s.mimeType),s.crossDomain||t["X-Requested-With"]||(t["X-Requested-With"]="XMLHttpRequest"),t)o.setRequestHeader(i,t[i]);a=function(t){return function(){a&&(delete ye[n],a=o.onload=o.onerror=null,"abort"===t?o.abort():"error"===t?e(o.status||404,o.statusText):e(ge[o.status]||o.status,o.statusText,"string"==typeof o.responseText?{text:o.responseText}:S,o.getAllResponseHeaders()))}},o.onload=a(),o.onerror=a("error"),a=ye[n=ve++]=a("abort"),o.send(s.hasContent&&s.data||null)},abort:function(){a&&a()}}});var be,we,xe=/^(?:toggle|show|hide)$/,Ce=new RegExp("^(?:([+-])=|)("+b+")([a-z%]*)$","i"),Se=/queueHooks$/,Te=[function(e,t,i){var n,o,s,a,r,l,c=this,u={},h=e.style,d=e.nodeType&&Dt(e),p=R.get(e,"fxshow");i.queue||(null==(r=wt._queueHooks(e,"fx")).unqueued&&(r.unqueued=0,l=r.empty.fire,r.empty.fire=function(){r.unqueued||l()}),r.unqueued++,c.always(function(){c.always(function(){r.unqueued--,wt.queue(e,"fx").length||r.empty.fire()})}));1===e.nodeType&&("height"in t||"width"in t)&&(i.overflow=[h.overflow,h.overflowX,h.overflowY],"inline"===wt.css(e,"display")&&"none"===wt.css(e,"float")&&(h.display="inline-block"));i.overflow&&(h.overflow="hidden",c.always(function(){h.overflow=i.overflow[0],h.overflowX=i.overflow[1],h.overflowY=i.overflow[2]}));for(n in t)if(o=t[n],xe.exec(o)){if(delete t[n],s=s||"toggle"===o,o===(d?"hide":"show")){if("show"!==o||
1!p||p[n]===S)continue;d=!0}u[n]=p&&p[n]||wt.style(e,n)}if(!wt.isEmptyObject(u))for(n in p?"hidden"in p&&(d=p.hidden):p=R.access(e,"fxshow",{}),s&&(p.hidden=!d),d?wt(e).show():c.done(function(){wt(e).hide()}),c.done(function(){var t;for(t in R.remove(e,"fxshow"),u)wt.style(e,t,u[t])}),u)a=Ee(d?p[n]:0,n,c),n in p||(p[n]=a.start,d&&(a.end=a.start,a.start="width"===n||"height"===n?1:0))}],ke={"*":[function(t,e){var i=this.createTween(t,e),n=i.cur(),o=Ce.exec(e),s=o&&o[3]||(wt.cssNumber[t]?"":"px"),a=(wt.cssNumber[t]||"px"!==s&&+n)&&Ce.exec(wt.css(i.elem,t)),r=1,l=20;if(a&&a[3]!==s)for(s=s||a[3],o=o||[],a=+n||1;a/=r=r||".5",wt.style(i.elem,t,a+s),r!==(r=i.cur()/n)&&1!==r&&--l;);return o&&(a=i.start=+a||+n||0,i.unit=s,i.end=o[1]?a+(o[1]+1)*o[2]:+o[2]),i}]};function Ae(){return setTimeout(function(){be=S}),be=wt.now()}function Ee(t,e,i){for(var n,o=(ke[e]||[]).concat(ke["*"]),s=0,a=o.length;s<a;s++)if(n=o[s].call(i,e,t))return n}function je(s,t,e){var i,a,n=0,o=Te.length,r=wt.Deferred().always(function(){delete l.elem}),l=function(){if(a)return!1;for(var t=be||Ae(),e=Math.max(0,c.startTime+c.duration-t),i=1-(e/c.duration||0),n=0,o=c.tweens.length;n<o;n++)c.tweens[n].run(i);return r.notifyWith(s,[c,i,e]),i<1&&o?e:(r.resolveWith(s,[c]),!1)},c=r.promise({elem:s,props:wt.extend({},t),opts:wt.extend(!0,{specialEasing:{}},e),originalProperties:t,originalOptions:e,startTime:be||Ae(),duration:e.duration,tweens:[],createTween:function(t,e){var i=wt.Tween(s,c.opts,t,e,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(i),i},stop:function(t){var e=0,i=t?c.tweens.length:0;if(a)return this;for(a=!0;e<i;e++)c.tweens[e].run(1);return t?r.resolveWith(s,[c,t]):r.rejectWith(s,[c,t]),this}}),u=c.props;for(!function(t,e){var i,n,o,s,a;for(i in t)if(n=wt.camelCase(i),o=e[n],s=t[i],wt.isArray(s)&&(o=s[1],s=t[i]=s[0]),i!==n&&(t[n]=s,delete t[i]),(a=wt.cssHooks[n])&&"expand"in a)for(i in s=a.expand(s),delete t[n],s)i in t||(t[i]=s[i],e[i]=o);else e[n]=o}(u,c.opts.specialEasing);n<o;n++)if(i=Te[n].call(c,s,u,c.opts))return i;return wt.map(u,Ee,c),wt.isFunction(c.opts.start)&&c.opts.start.call(s,c),wt.fx.timer(wt.extend(l,{elem:s,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 Pe(t,e,i,n,o){return new Pe.prototype.init(t,e,i,n,o)}function Me(t,e){var i,n={height:t},o=0;for(e=e?1:0;o<4;o+=2-e)n["margin"+(i=It[o])]=n["padding"+i]=t;return e&&(n.opacity=n.width=t),n}function Fe(t){return wt.isWindow(t)?t:9===t.nodeType&&t.defaultView}wt.Animation=wt.extend(je,{tweener:function(t,e){for(var i,n=0,o=(t=wt.isFunction(t)?(e=t,["*"]):t.split(" ")).length;n<o;n++)i=t[n],ke[i]=ke[i]||[],ke[i].unshift(e)},prefilter:function(t,e){e?Te.unshift(t):Te.push(t)}}),((wt.Tween=Pe).prototype={constructor:Pe,init:function(t,e,i,n,o,s){this.elem=t,this.prop=i,this.easing=o||"swing",this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=s||(wt.cssNumber[i]?"":"px")},cur:function(){var t=Pe.propHooks[this.prop];return t&&t.get?t.get(this):Pe.propHooks._default.get(this)},run:function(t){var e,i=Pe.propHooks[this.prop];return this.options.duration?this.pos=e=wt.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):Pe.propHooks._default.set(this),this}}).init.prototype=Pe.prototype,(Pe.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=wt.css(t.elem,t.prop,""))&&"auto"!==e?e:0:t.elem[t.prop]},set:function(t){wt.fx.step[t.prop]?wt.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[wt.cssProps[t.prop]]||wt.cssHooks[t.prop])?wt.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}}).scrollTop=Pe.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},wt.each(["toggle","show","hide"],function(t,n){var o=wt.fn[n];wt.fn[n]=function(t,e,i){return null==t||"boolean"==typeof t?o.apply(this,arguments):this.animate(Me(n,!0),t,e,i)}}
1),wt.fn.extend({fadeTo:function(t,e,i,n){return this.filter(Dt).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(e,t,i,n){var o=wt.isEmptyObject(e),s=wt.speed(t,i,n),a=function(){var t=je(this,wt.extend({},e),s);(o||R.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===s.queue?this.each(a):this.queue(s.queue,a)},stop:function(o,t,s){var a=function(t){var e=t.stop;delete t.stop,e(s)};return"string"!=typeof o&&(s=t,t=o,o=S),t&&!1!==o&&this.queue(o||"fx",[]),this.each(function(){var t=!0,e=null!=o&&o+"queueHooks",i=wt.timers,n=R.get(this);if(e)n[e]&&n[e].stop&&a(n[e]);else for(e in n)n[e]&&n[e].stop&&Se.test(e)&&a(n[e]);for(e=i.length;e--;)i[e].elem!==this||null!=o&&i[e].queue!==o||(i[e].anim.stop(s),t=!1,i.splice(e,1));!t&&s||wt.dequeue(this,o)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var t,e=R.get(this),i=e[a+"queue"],n=e[a+"queueHooks"],o=wt.timers,s=i?i.length:0;for(e.finish=!0,wt.queue(this,a,[]),n&&n.stop&&n.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===a&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<s;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete e.finish})}}),wt.each({slideDown:Me("show"),slideUp:Me("hide"),slideToggle:Me("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,n){wt.fn[t]=function(t,e,i){return this.animate(n,t,e,i)}}),wt.speed=function(t,e,i){var n=t&&"object"==typeof t?wt.extend({},t):{complete:i||!i&&e||wt.isFunction(t)&&t,duration:t,easing:i&&e||e&&!wt.isFunction(e)&&e};return n.duration=wt.fx.off?0:"number"==typeof n.duration?n.duration:n.duration in wt.fx.speeds?wt.fx.speeds[n.duration]:wt.fx.speeds._default,null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){wt.isFunction(n.old)&&n.old.call(this),n.queue&&wt.dequeue(this,n.queue)},n},wt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},wt.timers=[],wt.fx=Pe.prototype.init,wt.fx.tick=function(){var t,e=wt.timers,i=0;for(be=wt.now();i<e.length;i++)(t=e[i])()||e[i]!==t||e.splice(i--,1);e.length||wt.fx.stop(),be=S},wt.fx.timer=function(t){t()&&wt.timers.push(t)&&wt.fx.start()},wt.fx.interval=13,wt.fx.start=function(){we||(we=setInterval(wt.fx.tick,wt.fx.interval))},wt.fx.stop=function(){clearInterval(we),we=null},wt.fx.speeds={slow:600,fast:200,_default:400},wt.fx.step={},wt.expr&&wt.expr.filters&&(wt.expr.filters.animated=function(e){return wt.grep(wt.timers,function(t){return e===t.elem}).length}),wt.fn.offset=function(e){if(arguments.length)return e===S?this:this.each(function(t){wt.offset.setOffset(this,e,t)});var t,i,n=this[0],o={top:0,left:0},s=n&&n.ownerDocument;return s?(t=s.documentElement,wt.contains(t,n)?(typeof n.getBoundingClientRect!==v&&(o=n.getBoundingClientRect()),i=Fe(s),{top:o.top+i.pageYOffset-t.clientTop,left:o.left+i.pageXOffset-t.clientLeft}):o):void 0},wt.offset={setOffset:function(t,e,i){var n,o,s,a,r,l,c=wt.css(t,"position"),u=wt(t),h={};"static"===c&&(t.style.position="relative"),r=u.offset(),s=wt.css(t,"top"),l=wt.css(t,"left"),o=("absolute"===c||"fixed"===c)&&-1<(s+l).indexOf("auto")?(a=(n=u.position()).top,n.left):(a=parseFloat(s)||0,parseFloat(l)||0),wt.isFunction(e)&&(e=e.call(t,i,r)),null!=e.top&&(h.top=e.top-r.top+a),null!=e.left&&(h.left=e.left-r.left+o),"using"in e?e.using.call(t,h):u.css(h)}},wt.fn.extend({position:function(){if(this[0]){var t,e,i=this[0],n={top:0,left:0};return"fixed"===wt.css(i,"position")?e=i.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),wt.nodeName(t[0],"html")||(n=t.offset()),n.top+=wt.css(t[0],"borderTopWidth",!0),n.left+=wt.css(t[0],"borderLeftWidth",!0)),{top:e.top-n.top-wt.css(i,"marginTop",!0),left:e.left-n.left-wt.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||n;t&&!wt.nodeName(t,"html")&&"static"===wt.css(t,"position");)t=t.offsetParent;return t||n})}}),wt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,o){var s="pageYOffset"===o;wt.fn[e]=function(t){return wt.access(this,function(t,e,i){var n=Fe(t);if(i===S)return n?n[o]:t[e];n?n.scrollTo(s?f.pageXOffset:i,s?i:f.pageYOffset):t[e]=i},e,t,arguments.length,null)}}),wt.each({Height:"height",Width:"width"},function(s,a){wt.each({padding:"inner"+s,content:a,"":"outer"+s},function(n,t){wt.fn[t]=function(t,e){var i=arguments.length&&(n||"boolean"!=typeof t),o=n||(!0===t||!0===e?"margin":"border");
1return wt.access(this,function(t,e,i){var n;return wt.isWindow(t)?t.document.documentElement["client"+s]:9===t.nodeType?(n=t.documentElement,Math.max(t.body["scroll"+s],n["scroll"+s],t.body["offset"+s],n["offset"+s],n["client"+s])):i===S?wt.css(t,e,o):wt.style(t,e,i,o)},a,i?t:S,i,null)}})}),wt.fn.size=function(){return this.length},wt.fn.andSelf=wt.fn.addBack,"object"==typeof module&&module&&"object"==typeof module.exports?module.exports=wt:"function"==typeof define&&define.amd&&define("jquery",[],function(){return wt}),"object"==typeof f&&"object"==typeof f.document&&(f.jQuery=f.$=wt)}(window);var mejs=mejs||{};function onYouTubePlayerAPIReady(){mejs.YouTubeApi.iFrameReady()}function onYouTubePlayerReady(t){mejs.YouTubeApi.flashReady(t)}mejs.version="2.15.1",mejs.meIndex=0,mejs.plugins={silverlight:[{version:[3,0],types:["video/mp4","video/m4v","video/mov","video/wmv","audio/wma","audio/m4a","audio/mp3","audio/wav","audio/mpeg"]}],flash:[{version:[9,0,124],types:["video/mp4","video/m4v","video/mov","video/flv","video/rtmp","video/x-flv","audio/flv","audio/x-flv","audio/mp3","audio/m4a","audio/mpeg","video/youtube","video/x-youtube","application/x-mpegURL"]}],youtube:[{version:null,types:["video/youtube","video/x-youtube","audio/youtube","audio/x-youtube"]}],vimeo:[{version:null,types:["video/vimeo","video/x-vimeo"]}]},mejs.Utility={encodeUrl:function(t){return encodeURIComponent(t)},escapeHTML:function(t){return t.toString().split("&").join("&").split("<").join("<").split('"').join(""")},absolutizeUrl:function(t){var e=document.createElement("div");return e.innerHTML='<a href="'+this.escapeHTML(t)+'">x</a>',e.firstChild.href},getScriptPath:function(t){for(var e,i,n,o=0,s="",a="",r=document.getElementsByTagName("script"),l=r.length,c=t.length;o<l;o++){for(i=-1<(e=(i=r[o].src).lastIndexOf("/"))?(n=i.substring(e+1),i.substring(0,e+1)):(n=i,""),e=0;e<c;e++)if(a=t[e],-1<(a=n.indexOf(a))){s=i;break}if(""!==s)break}return s},secondsToTimeCode:function(t,e,i,n){void 0===i?i=!1:void 0===n&&(n=25);var o=Math.floor(t/3600)%24,s=Math.floor(t/60)%60,a=Math.floor(t%60);return t=Math.floor((t%1*n).toFixed(3)),(e||0<o?(o<10?"0"+o:o)+":":"")+(s<10?"0"+s:s)+":"+(a<10?"0"+a:a)+(i?":"+(t<10?"0"+t:t):"")},timeCodeToSeconds:function(t,e,i,n){void 0===i?i=!1:void 0===n&&(n=25),t=t.split(":"),e=parseInt(t[0],10);var o=parseInt(t[1],10),s=parseInt(t[2],10),a=0;return i&&(a=parseInt(t[3])/n),3600*e+60*o+s+a},convertSMPTEtoSeconds:function(t){if("string"!=typeof t)return!1;var e=0,i=-1!=(t=t.replace(",",".")).indexOf(".")?t.split(".")[1].length:0,n=1;t=t.split(":").reverse();for(var o=0;o<t.length;o++)n=1,0<o&&(n=Math.pow(60,o)),e+=Number(t[o])*n;return Number(e.toFixed(i))},removeSwf:function(t){var e=document.getElementById(t);e&&/object|embed/i.test(e.nodeName)&&(mejs.MediaFeatures.isIE?(e.style.display="none",function(){4==e.readyState?mejs.Utility.removeObjectInIE(t):setTimeout(arguments.callee,10)}()):e.parentNode.removeChild(e))},removeObjectInIE:function(t){if(t=document.getElementById(t)){for(var e in t)"function"==typeof t[e]&&(t[e]=null);t.parentNode.removeChild(t)}}},mejs.PluginDetector={hasPluginVersion:function(t,e){var i=this.plugins[t];return e[1]=e[1]||0,e[2]=e[2]||0,i[0]>e[0]||i[0]==e[0]&&i[1]>e[1]||i[0]==e[0]&&i[1]==e[1]&&i[2]>=e[2]},nav:window.navigator,ua:window.navigator.userAgent.toLowerCase(),plugins:[],addPlugin:function(t,e,i,n,o){this.plugins[t]=this.detectPlugin(e,i,n,o)},detectPlugin:function(t,e,i,n){var o,s=[0,0,0];if(void 0!==this.nav.plugins&&"object"==typeof this.nav.plugins[t]){if((i=this.nav.plugins[t].description)&&(void 0===this.nav.mimeTypes||!this.nav.mimeTypes[e]||this.nav.mimeTypes[e].enabledPlugin))for(s=i.replace(t,"").replace(/^\s+/,"").replace(/\sr/gi,".").split("."),t=0;t<s.length;t++)s[t]=parseInt(s[t].match(/\d+/),10)}else if(void 0!==window.ActiveXObject)try{(o=new ActiveXObject(i))&&(s=n(o))}catch(t){}return s}},mejs.PluginDetector.addPlugin("flash","Shockwave Flash","application/x-shockwave-flash","ShockwaveFlash.ShockwaveFlash",function(t){var e=[];return(t=t.GetVariable("$version"))&&(t=t.split(" ")[1].split(","),e=[parseInt(t[0],10),parseInt(t[1],10),parseInt(t[2],10)]),e}),mejs.PluginDetector.addPlugin("silverlight","Silverlight Plug-In","application/x-silverlight-2","AgControl.AgControl",function(t){var e=[0,0,0,0],i=function(t,e,
1i,n){for(;t.isVersionSupported(e[0]+"."+e[1]+"."+e[2]+"."+e[3]);)e[i]+=n;e[i]-=n};return i(t,e,0,1),i(t,e,1,1),i(t,e,2,1e4),i(t,e,2,1e3),i(t,e,2,100),i(t,e,2,10),i(t,e,2,1),i(t,e,3,1),e}),mejs.MediaFeatures={init:function(){var t,e=this,i=document,n=mejs.PluginDetector.nav,o=mejs.PluginDetector.ua.toLowerCase(),s=["source","track","audio","video"];e.isiPad=null!==o.match(/ipad/i),e.isiPhone=null!==o.match(/iphone/i),e.isiOS=e.isiPhone||e.isiPad,e.isAndroid=null!==o.match(/android/i),e.isBustedAndroid=null!==o.match(/android 2\.[12]/),e.isBustedNativeHTTPS="https:"===location.protocol&&(null!==o.match(/android [12]\./)||null!==o.match(/macintosh.* version.* safari/)),e.isIE=-1!=n.appName.toLowerCase().indexOf("microsoft")||null!==n.appName.toLowerCase().match(/trident/gi),e.isChrome=null!==o.match(/chrome/gi),e.isChromium=null!==o.match(/chromium/gi),e.isFirefox=null!==o.match(/firefox/gi),e.isWebkit=null!==o.match(/webkit/gi),e.isGecko=null!==o.match(/gecko/gi)&&!e.isWebkit&&!e.isIE,e.isOpera=null!==o.match(/opera/gi),e.hasTouch="ontouchstart"in window,e.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect;for(n=0;n<s.length;n++)t=document.createElement(s[n]);e.supportsMediaTag=void 0!==t.canPlayType||e.isBustedAndroid;try{t.canPlayType("video/mp4")}catch(t){e.supportsMediaTag=!1}e.hasSemiNativeFullScreen=void 0!==t.webkitEnterFullscreen,e.hasNativeFullscreen=void 0!==t.requestFullscreen,e.hasWebkitNativeFullScreen=void 0!==t.webkitRequestFullScreen,e.hasMozNativeFullScreen=void 0!==t.mozRequestFullScreen,e.hasMsNativeFullScreen=void 0!==t.msRequestFullscreen,e.hasTrueNativeFullScreen=e.hasWebkitNativeFullScreen||e.hasMozNativeFullScreen||e.hasMsNativeFullScreen,e.nativeFullScreenEnabled=e.hasTrueNativeFullScreen,e.hasMozNativeFullScreen?e.nativeFullScreenEnabled=document.mozFullScreenEnabled:e.hasMsNativeFullScreen&&(e.nativeFullScreenEnabled=document.msFullscreenEnabled),e.isChrome&&(e.hasSemiNativeFullScreen=!1),e.hasTrueNativeFullScreen&&(e.fullScreenEventName="",e.hasWebkitNativeFullScreen?e.fullScreenEventName="webkitfullscreenchange":e.hasMozNativeFullScreen?e.fullScreenEventName="mozfullscreenchange":e.hasMsNativeFullScreen&&(e.fullScreenEventName="MSFullscreenChange"),e.isFullScreen=function(){return e.hasMozNativeFullScreen?i.mozFullScreen:e.hasWebkitNativeFullScreen?i.webkitIsFullScreen:e.hasMsNativeFullScreen?null!==i.msFullscreenElement:void 0},e.requestFullScreen=function(t){e.hasWebkitNativeFullScreen?t.webkitRequestFullScreen():e.hasMozNativeFullScreen?t.mozRequestFullScreen():e.hasMsNativeFullScreen&&t.msRequestFullscreen()},e.cancelFullScreen=function(){e.hasWebkitNativeFullScreen?document.webkitCancelFullScreen():e.hasMozNativeFullScreen?document.mozCancelFullScreen():e.hasMsNativeFullScreen&&document.msExitFullscreen()}),e.hasSemiNativeFullScreen&&o.match(/mac os x 10_5/i)&&(e.hasNativeFullScreen=!1,e.hasSemiNativeFullScreen=!1)}},mejs.MediaFeatures.init(),mejs.HtmlMediaElement={pluginType:"native",isFullScreen:!1,setCurrentTime:function(t){this.currentTime=t},setMuted:function(t){this.muted=t},setVolume:function(t){this.volume=t},stop:function(){this.pause()},setSrc:function(t){for(var e=this.getElementsByTagName("source");0<e.length;)this.removeChild(e[0]);var i;if("string"==typeof t)this.src=t;else for(e=0;e<t.length;e++)if(i=t[e],this.canPlayType(i.type)){this.src=i.src;break}},setVideoSize:function(t,e){this.width=t,this.height=e}},mejs.PluginMediaElement=function(t,e,i){this.id=t,this.pluginType=e,this.src=i,this.events={},this.attributes={}},mejs.PluginMediaElement.prototype={pluginElement:null,pluginType:"",isFullScreen:!1,playbackRate:-1,defaultPlaybackRate:-1,seekable:[],played:[],paused:!0,ended:!1,seeking:!1,duration:0,error:null,tagName:"",muted:!1,volume:1,currentTime:0,play:function(){null!=this.pluginApi&&("youtube"==this.pluginType||"vimeo"==this.pluginType?this.pluginApi.playVideo():this.pluginApi.playMedia(),this.paused=!1)},load:function(){null!=this.pluginApi&&("youtube"==this.pluginType||"vimeo"==this.pluginType||this.pluginApi.loadMedia(),this.paused=!1)},pause:function(){null!=this.pluginApi&&("youtube"==this.pluginType||"vimeo"==this.pluginType?this.pluginApi.pauseVideo():this.pluginApi.pauseMedia(),this.paused=!0)},stop:function(){null!=this.pluginApi&&("youtube"==this.pluginType||"vimeo"==this.pluginType?this.pluginApi.stopVideo():this.pluginApi.stopMedia(),this.paused=!0)}
1,canPlayType:function(t){var e,i,n,o=mejs.plugins[this.pluginType];for(e=0;e<o.length;e++)if(n=o[e],mejs.PluginDetector.hasPluginVersion(this.pluginType,n.version))for(i=0;i<n.types.length;i++)if(t==n.types[i])return"probably";return""},positionFullscreenButton:function(t,e,i){null!=this.pluginApi&&this.pluginApi.positionFullscreenButton&&this.pluginApi.positionFullscreenButton(Math.floor(t),Math.floor(e),i)},hideFullscreenButton:function(){null!=this.pluginApi&&this.pluginApi.hideFullscreenButton&&this.pluginApi.hideFullscreenButton()},setSrc:function(t){var e,i;if("string"==typeof t)this.pluginApi.setSrc(mejs.Utility.absolutizeUrl(t)),this.src=mejs.Utility.absolutizeUrl(t);else for(e=0;e<t.length;e++)if(i=t[e],this.canPlayType(i.type)){this.pluginApi.setSrc(mejs.Utility.absolutizeUrl(i.src)),this.src=mejs.Utility.absolutizeUrl(t);break}},setCurrentTime:function(t){null!=this.pluginApi&&("youtube"==this.pluginType||"vimeo"==this.pluginType?this.pluginApi.seekTo(t):this.pluginApi.setCurrentTime(t),this.currentTime=t)},setVolume:function(t){null!=this.pluginApi&&("youtube"==this.pluginType?this.pluginApi.setVolume(100*t):this.pluginApi.setVolume(t),this.volume=t)},setMuted:function(t){null!=this.pluginApi&&("youtube"==this.pluginType?(t?this.pluginApi.mute():this.pluginApi.unMute(),this.muted=t,this.dispatchEvent("volumechange")):this.pluginApi.setMuted(t),this.muted=t)},setVideoSize:function(t,e){this.pluginElement&&this.pluginElement.style&&(this.pluginElement.style.width=t+"px",this.pluginElement.style.height=e+"px"),null!=this.pluginApi&&this.pluginApi.setVideoSize&&this.pluginApi.setVideoSize(t,e)},setFullscreen:function(t){null!=this.pluginApi&&this.pluginApi.setFullscreen&&this.pluginApi.setFullscreen(t)},enterFullScreen:function(){null!=this.pluginApi&&this.pluginApi.setFullscreen&&this.setFullscreen(!0)},exitFullScreen:function(){null!=this.pluginApi&&this.pluginApi.setFullscreen&&this.setFullscreen(!1)},addEventListener:function(t,e){this.events[t]=this.events[t]||[],this.events[t].push(e)},removeEventListener:function(t,e){if(!t)return this.events={},!0;var i=this.events[t];if(!i)return!0;if(!e)return this.events[t]=[],!0;for(var n=0;n<i.length;n++)if(i[n]===e)return this.events[t].splice(n,1),!0;return!1},dispatchEvent:function(t){var e,i,n=this.events[t];if(n)for(i=Array.prototype.slice.call(arguments,1),e=0;e<n.length;e++)n[e].apply(null,i)},hasAttribute:function(t){return t in this.attributes},removeAttribute:function(t){delete this.attributes[t]},getAttribute:function(t){return this.hasAttribute(t)?this.attributes[t]:""},setAttribute:function(t,e){this.attributes[t]=e},remove:function(){mejs.Utility.removeSwf(this.pluginElement.id),mejs.MediaPluginBridge.unregisterPluginElement(this.pluginElement.id)}},mejs.MediaPluginBridge={pluginMediaElements:{},htmlMediaElements:{},registerPluginElement:function(t,e,i){this.pluginMediaElements[t]=e,this.htmlMediaElements[t]=i},unregisterPluginElement:function(t){delete this.pluginMediaElements[t],delete this.htmlMediaElements[t]},initPlugin:function(t){var e=this.pluginMediaElements[t],i=this.htmlMediaElements[t];if(e){switch(e.pluginType){case"flash":e.pluginElement=e.pluginApi=document.getElementById(t);break;case"silverlight":e.pluginElement=document.getElementById(e.id),e.pluginApi=e.pluginElement.Content.MediaElementJS}null!=e.pluginApi&&e.success&&e.success(e,i)}},fireEvent:function(t,e,i){var n,o;if(t=this.pluginMediaElements[t]){for(n in e={type:e,target:t},i)t[n]=i[n],e[n]=i[n];o=i.bufferedTime||0,e.target.buffered=e.buffered={start:function(){return 0},end:function(){return o},length:1},t.dispatchEvent(e.type,e)}}},mejs.MediaElementDefaults={mode:"auto",plugins:["flash","silverlight","youtube","vimeo"],enablePluginDebug:!1,httpsBasicAuthSite:!1,type:"",pluginPath:mejs.Utility.getScriptPath(["mediaelement.js","mediaelement.min.js","mediaelement-and-player.js","mediaelement-and-player.min.js"]),flashName:"flashmediaelement.swf",flashStreamer:"",enablePluginSmoothing:!1,enablePseudoStreaming:!1,pseudoStreamingStartQueryParam:"start",silverlightName:"silverlightmediaelement.xap",defaultVideoWidth:480,defaultVideoHeight:270,pluginWidth:-1,pluginHeight:-1,pluginVars:[],timerRate:250,startVolume:.8,success:function(){},error:function(){}},mejs.MediaElement=function(t,e){return mejs.HtmlMediaElementShim.create(t,e)},mejs.HtmlMediaElementShim={create:function(t,e){var i=mejs.MediaElementDefaults,n="string"==typeof t?document.getElementById(t):t,o=n.tagName.toLowerCase(),s="audio"===o||"video"===o,a=s?n.getAttribute("src"):n.getAttribute("href");o=n.getAttribute("poster");var r,l=n.getAttribute("autoplay"),c=n.getAttribute("preload"),u=n.getAttribute("controls");for(r in e)i[r]=e[r];return a=null==a||""==a?null:a,o=null==o?"":o,c=null==c||"false"===c?"none":c,l=!(null==l||"false"===l),u=!(null==u||"false"===u),(r=this.determinePlayback(n,i,mejs.MediaFeatures.supportsMediaTag,s,a)).url=null!==r.url?mejs.Utility.absolutizeUrl(r.url):"","native"==r.method?(mejs.MediaFeatures.isBustedAndroid&&(n.src=r.url,n.addEventListener("click",function(){n.play()},!1)),this.updateNative(r,i,l,c)):""!==r.method?this.createPlugin(r,i,o,l,c,u):(this.createErrorMessage(r,i,o),this)}
1,determinePlayback:function(t,e,i,n,o){var s,a,r,l,c=[],u={method:"",url:"",htmlMediaElement:t,isVideo:"audio"!=t.tagName.toLowerCase()};if(void 0!==e.type&&""!==e.type)if("string"==typeof e.type)c.push({type:e.type,url:o});else for(s=0;s<e.type.length;s++)c.push({type:e.type[s],url:o});else if(null!==o)r=this.formatType(o,t.getAttribute("type")),c.push({type:r,url:o});else for(s=0;s<t.childNodes.length;s++)1==(a=t.childNodes[s]).nodeType&&"source"==a.tagName.toLowerCase()&&(o=a.getAttribute("src"),r=this.formatType(o,a.getAttribute("type")),(!(a=a.getAttribute("media"))||!window.matchMedia||window.matchMedia&&window.matchMedia(a).matches)&&c.push({type:r,url:o}));if(!n&&0<c.length&&null!==c[0].url&&-1<this.getTypeFromFile(c[0].url).indexOf("audio")&&(u.isVideo=!1),mejs.MediaFeatures.isBustedAndroid&&(t.canPlayType=function(t){return null!==t.match(/video\/(mp4|m4v)/gi)?"maybe":""}),mejs.MediaFeatures.isChromium&&(t.canPlayType=function(t){return null!==t.match(/video\/(webm|ogv|ogg)/gi)?"maybe":""}),i&&("auto"===e.mode||"auto_plugin"===e.mode||"native"===e.mode)&&(!mejs.MediaFeatures.isBustedNativeHTTPS||!0!==e.httpsBasicAuthSite)){for(n||(s=document.createElement(u.isVideo?"video":"audio"),t.parentNode.insertBefore(s,t),t.style.display="none",u.htmlMediaElement=t=s),s=0;s<c.length;s++)if("video/m3u8"==c[s].type||""!==t.canPlayType(c[s].type).replace(/no/,"")||""!==t.canPlayType(c[s].type.replace(/mp3/,"mpeg")).replace(/no/,"")||""!==t.canPlayType(c[s].type.replace(/m4a/,"mp4")).replace(/no/,"")){u.method="native",u.url=c[s].url;break}if("native"===u.method&&(null!==u.url&&(t.src=u.url),"auto_plugin"!==e.mode))return u}if("auto"===e.mode||"auto_plugin"===e.mode||"shim"===e.mode)for(s=0;s<c.length;s++)for(r=c[s].type,t=0;t<e.plugins.length;t++)for(o=e.plugins[t],a=mejs.plugins[o],i=0;i<a.length;i++)if(null==(l=a[i]).version||mejs.PluginDetector.hasPluginVersion(o,l.version))for(n=0;n<l.types.length;n++)if(r==l.types[n])return u.method=o,u.url=c[s].url,u;return"auto_plugin"===e.mode&&"native"===u.method||""===u.method&&0<c.length&&(u.url=c[0].url),u},formatType:function(t,e){return t&&!e?this.getTypeFromFile(t):e&&~e.indexOf(";")?e.substr(0,e.indexOf(";")):e},getTypeFromFile:function(t){return t=(t=t.split("?")[0]).substring(t.lastIndexOf(".")+1).toLowerCase(),(/(mp4|m4v|ogg|ogv|m3u8|webm|webmv|flv|wmv|mpeg|mov)/gi.test(t)?"video":"audio")+"/"+this.getTypeFromExtension(t)},getTypeFromExtension:function(t){switch(t){case"mp4":case"m4v":case"m4a":return"mp4";case"webm":case"webma":case"webmv":return"webm";case"ogg":case"oga":case"ogv":return"ogg";default:return t}},createErrorMessage:function(t,e,i){var n=t.htmlMediaElement,o=document.createElement("div");o.className="me-cannotplay";try{o.style.width=n.width+"px",o.style.height=n.height+"px"}catch(t){}o.innerHTML=e.customError?e.customError:""!==i?'<a href="'+t.url+'"><img src="'+i+'" width="100%" height="100%" /></a>':'<a href="'+t.url+'"><span>'+mejs.i18n.t("Download File")+"</span></a>",n.parentNode.insertBefore(o,n),n.style.display="none",e.error(n)},createPlugin:function(t,e,i,n,o,s){i=t.htmlMediaElement;var a,r=1,l=1,c="me_"+t.method+"_"+mejs.meIndex++,u=new mejs.PluginMediaElement(c,t.method,t.url),h=document.createElement("div");for(u.tagName=i.tagName,a=0;a<i.attributes.length;a++){var d=i.attributes[a];1==d.specified&&u.setAttribute(d.name,d.value)}for(a=i.parentNode;null!==a&&"body"!==a.tagName.toLowerCase()&&null!=a.parentNode;){if("p"===a.parentNode.tagName.toLowerCase()){a.parentNode.parentNode.insertBefore(a,a.parentNode);break}a=a.parentNode}switch(t.isVideo?(r=0<e.pluginWidth?e.pluginWidth:0<e.videoWidth?e.videoWidth:null!==i.getAttribute("width")?i.getAttribute("width"):e.defaultVideoWidth,l=0<e.pluginHeight?e.pluginHeight:0<e.videoHeight?e.videoHeight:null!==i.getAttribute("height")?i.getAttribute("height"):e.defaultVideoHeight,r=mejs.Utility.encodeUrl(r),l=mejs.Utility.encodeUrl(l)):e.enablePluginDebug&&(r=320,l=240),u.success=e.success,mejs.MediaPluginBridge.registerPluginElement(c,u,i),h.className="me-plugin",h.id=c+"_container",t.isVideo?i.parentNode.insertBefore(h,i):document.body.insertBefore(h,document.body.childNodes[0]),n=["id="+c,"isvideo="+(t.isVideo?"true":"false"),"autoplay="
1+(n?"true":"false"),"preload="+o,"width="+r,"startvolume="+e.startVolume,"timerrate="+e.timerRate,"flashstreamer="+e.flashStreamer,"height="+l,"pseudostreamstart="+e.pseudoStreamingStartQueryParam],null!==t.url&&("flash"==t.method?n.push("file="+mejs.Utility.encodeUrl(t.url)):n.push("file="+t.url)),e.enablePluginDebug&&n.push("debug=true"),e.enablePluginSmoothing&&n.push("smoothing=true"),e.enablePseudoStreaming&&n.push("pseudostreaming=true"),s&&n.push("controls=true"),e.pluginVars&&(n=n.concat(e.pluginVars)),t.method){case"silverlight":h.innerHTML='<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" id="'+c+'" name="'+c+'" width="'+r+'" height="'+l+'" class="mejs-shim"><param name="initParams" value="'+n.join(",")+'" /><param name="windowless" value="true" /><param name="background" value="black" /><param name="minRuntimeVersion" value="3.0.0.0" /><param name="autoUpgrade" value="true" /><param name="source" value="'+e.pluginPath+e.silverlightName+'" /></object>';break;case"flash":mejs.MediaFeatures.isIE?(t=document.createElement("div"),h.appendChild(t),t.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" id="'+c+'" width="'+r+'" height="'+l+'" class="mejs-shim"><param name="movie" value="'+e.pluginPath+e.flashName+"?x="+new Date+'" /><param name="flashvars" value="'+n.join("&")+'" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><param name="wmode" value="transparent" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /><param name="scale" value="default" /></object>'):h.innerHTML='<embed id="'+c+'" name="'+c+'" play="true" loop="false" quality="high" bgcolor="#000000" wmode="transparent" allowScriptAccess="always" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="//www.macromedia.com/go/getflashplayer" src="'+e.pluginPath+e.flashName+'" flashvars="'+n.join("&")+'" width="'+r+'" height="'+l+'" scale="default"class="mejs-shim"></embed>';break;case"youtube":-1!=t.url.lastIndexOf("youtu.be")?-1!=(t=t.url.substr(t.url.lastIndexOf("/")+1)).indexOf("?")&&(t=t.substr(0,t.indexOf("?"))):t=t.url.substr(t.url.lastIndexOf("=")+1),youtubeSettings={container:h,containerId:h.id,pluginMediaElement:u,pluginId:c,videoId:t,height:l,width:r},mejs.PluginDetector.hasPluginVersion("flash",[10,0,0])?mejs.YouTubeApi.createFlash(youtubeSettings):mejs.YouTubeApi.enqueueIframe(youtubeSettings);break;case"vimeo":if(e=c+"_player",u.vimeoid=t.url.substr(t.url.lastIndexOf("/")+1),h.innerHTML='<iframe src="//player.vimeo.com/video/'+u.vimeoid+"?api=1&portrait=0&byline=0&title=0&player_id="+e+'" width="'+r+'" height="'+l+'" frameborder="0" class="mejs-shim" id="'+e+'"></iframe>',"function"==typeof $f){var p=$f(h.childNodes[0]);p.addEvent("ready",function(){function e(t,e,i,n){t={type:i,target:e},"timeupdate"==i&&(e.currentTime=t.currentTime=n.seconds,e.duration=t.duration=n.duration),e.dispatchEvent(t.type,t)}$.extend(p,{playVideo:function(){p.api("play")},stopVideo:function(){p.api("unload")},pauseVideo:function(){p.api("pause")},seekTo:function(t){p.api("seekTo",t)},setVolume:function(t){p.api("setVolume",t)},setMuted:function(t){t?(p.lastVolume=p.api("getVolume"),p.api("setVolume",0)):(p.api("setVolume",p.lastVolume),delete p.lastVolume)}}),p.addEvent("play",function(){e(p,u,"play"),e(p,u,"playing")}),p.addEvent("pause",function(){e(p,u,"pause")}),p.addEvent("finish",function(){e(p,u,"ended")}),p.addEvent("playProgress",function(t){e(p,u,"timeupdate",t)}),u.pluginElement=h,u.pluginApi=p,mejs.MediaPluginBridge.initPlugin(c)})}else console.warn("You need to include froogaloop for vimeo to work")}return i.style.display="none",i.removeAttribute("autoplay"),u},updateNative:function(t,e){var i,n=t.htmlMediaElement;for(i in mejs.HtmlMediaElement)n[i]=mejs.HtmlMediaElement[i];return e.success(n,n),n}},mejs.YouTubeApi={isIframeStarted:!1,isIframeLoaded:!1,loadIframeApi:function(){if(!this.isIframeStarted){var t=document.createElement("script");t.src="//www.youtube.com/player_api";var e=document.getElementsByTagName("script")[0];e.parentNode.insertBefore(t,e),this.isIframeStarted=!0}},iframeQueue:[],enqueueIframe:function(t){this.isLoaded?this.createIframe(t):(this.loadIframeApi(),this.iframeQueue.push(t))},createIframe:function(t){var e=t.pluginMediaElement,i=new YT.Player(t.containerId,{height:t.height,width:t.width,videoId:t.videoId,playerVars:{controls:0},events:{onReady:function(){t.pluginMediaElement.pluginApi=i,mejs.MediaPluginBridge.initPlugin(t.pluginId),setInterval(function(){mejs.YouTubeApi.createEvent(i,e,"timeupdate")},250)},onStateChange:function(t){mejs.YouTubeApi.handleStateChange(t.data,i,e)}}})}
1,createEvent:function(t,e,i){if(i={type:i,target:e},t&&t.getDuration){e.currentTime=i.currentTime=t.getCurrentTime(),e.duration=i.duration=t.getDuration(),i.paused=e.paused,i.ended=e.ended,i.muted=t.isMuted(),i.volume=t.getVolume()/100,i.bytesTotal=t.getVideoBytesTotal(),i.bufferedBytes=t.getVideoBytesLoaded();var n=i.bufferedBytes/i.bytesTotal*i.duration;i.target.buffered=i.buffered={start:function(){return 0},end:function(){return n},length:1}}e.dispatchEvent(i.type,i)},iFrameReady:function(){for(this.isIframeLoaded=this.isLoaded=!0;0<this.iframeQueue.length;)this.createIframe(this.iframeQueue.pop())},flashPlayers:{},createFlash:function(t){var e,i="//www.youtube.com/apiplayer?enablejsapi=1&playerapiid="+(this.flashPlayers[t.pluginId]=t).pluginId+"&version=3&autoplay=0&controls=0&modestbranding=1&loop=0";mejs.MediaFeatures.isIE?(e=document.createElement("div"),t.container.appendChild(e),e.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" id="'+t.pluginId+'" width="'+t.width+'" height="'+t.height+'" class="mejs-shim"><param name="movie" value="'+i+'" /><param name="wmode" value="transparent" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /></object>'):t.container.innerHTML='<object type="application/x-shockwave-flash" id="'+t.pluginId+'" data="'+i+'" width="'+t.width+'" height="'+t.height+'" style="visibility: visible; " class="mejs-shim"><param name="allowScriptAccess" value="always"><param name="wmode" value="transparent"></object>'},flashReady:function(t){var e=this.flashPlayers[t],i=document.getElementById(t),n=e.pluginMediaElement;n.pluginApi=n.pluginElement=i,mejs.MediaPluginBridge.initPlugin(t),i.cueVideoById(e.videoId),t=e.containerId+"_callback",window[t]=function(t){mejs.YouTubeApi.handleStateChange(t,i,n)},i.addEventListener("onStateChange",t),setInterval(function(){mejs.YouTubeApi.createEvent(i,n,"timeupdate")},250),mejs.YouTubeApi.createEvent(i,n,"canplay")},handleStateChange:function(t,e,i){switch(t){case-1:i.paused=!0,i.ended=!0,mejs.YouTubeApi.createEvent(e,i,"loadedmetadata");break;case 0:i.paused=!1,i.ended=!0,mejs.YouTubeApi.createEvent(e,i,"ended");break;case 1:i.paused=!1,i.ended=!1,mejs.YouTubeApi.createEvent(e,i,"play"),mejs.YouTubeApi.createEvent(e,i,"playing");break;case 2:i.paused=!0,i.ended=!1,mejs.YouTubeApi.createEvent(e,i,"pause");break;case 3:mejs.YouTubeApi.createEvent(e,i,"progress")}}},window.mejs=mejs,window.MediaElement=mejs.MediaElement,function(t,e){var n={locale:{language:"",strings:{}},methods:{},getLanguage:function(){return(n.locale.language||window.navigator.userLanguage||window.navigator.language).substr(0,2).toLowerCase()}};"undefined"!=typeof mejsL10n&&(n.locale.language=mejsL10n.language),n.methods.checkPlain=function(t){var e,i,n={"&":"&",'"':""","<":"<",">":">"};for(e in t=String(t),n)n.hasOwnProperty(e)&&(i=RegExp(e,"g"),t=t.replace(i,n[e]));return t},n.methods.t=function(t,e){return n.locale.strings&&n.locale.strings[e.context]&&n.locale.strings[e.context][t]&&(t=n.locale.strings[e.context][t]),n.methods.checkPlain(t)},n.t=function(t,e){if("string"==typeof t&&0<t.length){var i=n.getLanguage();return e=e||{context:i},n.methods.t(t,e)}throw{name:"InvalidArgumentException",message:"First argument is either not a string or empty."}},e.i18n=n}(document,mejs),function(t){"undefined"!=typeof mejsL10n&&(t[mejsL10n.language]=mejsL10n.strings)}(mejs.i18n.locale.strings),function(t){void 0===t.de&&(t.de={Fullscreen:"Vollbild","Go Fullscreen":"Vollbild an","Turn off Fullscreen":"Vollbild aus",Close:"SchlieÃen"})}(mejs.i18n.locale.strings),function(t){void 0===t.zh&&(t.zh={Fullscreen:"å
¨è¢å¹","Go Fullscreen":"å
¨å±æ¨¡å¼","Turn off Fullscreen":"éåºå
¨å±æ¨¡å¼",Close:"éé"})}(mejs.i18n.locale.strings),"undefined"!=typeof jQuery?mejs.$=jQuery:"undefined"!=typeof ender&&(mejs.$=ender),function(l){mejs.MepDefaults={poster:"",showPosterWhenEnded:!1,defaultVideoWidth:480,defaultVideoHeight:270,videoWidth:-1,videoHeight:-1,defaultAudioWidth:400,defaultAudioHeight:30,defaultSeekBackwardInterval:function(t){return.05*t.duration},defaultSeekForwardInterval:function(t){return.05*t.duration},setDimensions:!0,audioWidth:-1,audioHeight:-1,startVolume:.8,loop:!1,autoRewind:!0,enableAutosize:!0,alwaysShowHours:!1,showTimeco
1deFrameCount:!1,framesPerSecond:25,autosizeProgress:!0,alwaysShowControls:!1,hideVideoControlsOnLoad:!1,clickToPlayPause:!0,iPadUseNativeControls:!1,iPhoneUseNativeControls:!1,AndroidUseNativeControls:!1,features:["playpause","current","progress","duration","tracks","volume","fullscreen"],isVideo:!0,enableKeyboard:!0,pauseOtherPlayers:!0,keyActions:[{keys:[32,179],action:function(t,e){e.paused||e.ended?t.play():t.pause()}},{keys:[38],action:function(t,e){t.container.find(".mejs-volume-slider").css("display","block"),t.isVideo&&(t.showControls(),t.startControlsTimer()),e.setVolume(Math.min(e.volume+.1,1))}},{keys:[40],action:function(t,e){t.container.find(".mejs-volume-slider").css("display","block"),t.isVideo&&(t.showControls(),t.startControlsTimer()),e.setVolume(Math.max(e.volume-.1,0))}},{keys:[37,227],action:function(t,e){if(!isNaN(e.duration)&&0<e.duration){t.isVideo&&(t.showControls(),t.startControlsTimer());var i=Math.max(e.currentTime-t.options.defaultSeekBackwardInterval(e),0);e.setCurrentTime(i)}}},{keys:[39,228],action:function(t,e){if(!isNaN(e.duration)&&0<e.duration){t.isVideo&&(t.showControls(),t.startControlsTimer());var i=Math.min(e.currentTime+t.options.defaultSeekForwardInterval(e),e.duration);e.setCurrentTime(i)}}},{keys:[70],action:function(t){void 0!==t.enterFullScreen&&(t.isFullScreen?t.exitFullScreen():t.enterFullScreen())}},{keys:[77],action:function(t){t.container.find(".mejs-volume-slider").css("display","block"),t.isVideo&&(t.showControls(),t.startControlsTimer()),t.media.muted?t.setMuted(!1):t.setMuted(!0)}}]},mejs.mepIndex=0,mejs.players={},mejs.MediaElementPlayer=function(t,e){return this instanceof mejs.MediaElementPlayer?(this.$media=this.$node=l(t),this.node=this.media=this.$media[0],void 0!==this.node.player?this.node.player:(this.node.player=this,void 0===e&&(e=this.$node.data("mejsoptions")),this.options=l.extend({},mejs.MepDefaults,e),this.id="mep_"+mejs.mepIndex++,(mejs.players[this.id]=this).init(),this)):new mejs.MediaElementPlayer(t,e)},mejs.MediaElementPlayer.prototype={hasFocus:!1,controlsAreVisible:!0,init:function(){var i=this,t=mejs.MediaFeatures,e=l.extend(!0,{},i.options,{success:function(t,e){i.meReady(t,e)},error:function(t){i.handleError(t)}}),n=i.media.tagName.toLowerCase();i.isDynamic="audio"!==n&&"video"!==n,i.isVideo=i.isDynamic?i.options.isVideo:"audio"!==n&&i.options.isVideo,t.isiPad&&i.options.iPadUseNativeControls||t.isiPhone&&i.options.iPhoneUseNativeControls?(i.$media.attr("controls","controls"),t.isiPad&&null!==i.media.getAttribute("autoplay")&&i.play()):t.isAndroid&&i.options.AndroidUseNativeControls||(i.$media.removeAttr("controls"),i.container=l('<div id="'+i.id+'" class="mejs-container '+(mejs.MediaFeatures.svg?"svg":"no-svg")+'"><div class="mejs-inner"><div class="mejs-mediaelement"></div><div class="mejs-layers"></div><div class="mejs-controls"></div><div class="mejs-clear"></div></div></div>').addClass(i.$media[0].className).insertBefore(i.$media),i.container.addClass((t.isAndroid?"mejs-android ":"")+(t.isiOS?"mejs-ios ":"")+(t.isiPad?"mejs-ipad ":"")+(t.isiPhone?"mejs-iphone ":"")+(i.isVideo?"mejs-video ":"mejs-audio ")),t.isiOS?(t=i.$media.clone(),i.container.find(".mejs-mediaelement").append(t),i.$media.remove(),i.$node=i.$media=t,i.node=i.media=t[0]):i.container.find(".mejs-mediaelement").append(i.$media),i.controls=i.container.find(".mejs-controls"),i.layers=i.container.find(".mejs-layers"),n=(t=i.isVideo?"video":"audio").substring(0,1).toUpperCase()+t.substring(1),i.width=0<i.options[t+"Width"]||-1<i.options[t+"Width"].toString().indexOf("%")?i.options[t+"Width"]:""!==i.media.style.width&&null!==i.media.style.width?i.media.style.width:null!==i.media.getAttribute("width")?i.$media.attr("width"):i.options["default"+n+"Width"],i.height=0<i.options[t+"Height"]||-1<i.options[t+"Height"].toString().indexOf("%")?i.options[t+"Height"]:""!==i.media.style.height&&null!==i.media.style.height?i.media.style.height:null!==i.$media[0].getAttribute("height")?i.$media.attr("height"):i.options["default"+n+"Height"],i.setPlayerSize(i.width,i.height),e.pluginWidth=i.width,e.pluginHeight=i.height),mejs.MediaElement(i.$media[0],e),void 0!==i.container&&i.controlsAreVisible&&i.container.trigger("controlsshown")},showControls:function(t){var e=this;t=void 0===t||t,e.controlsAreVisible||(t?(e.controls.css("visibility","visible").stop(!0,!0).fadeIn(200,function(){e.controlsAreVisible=!0,e.container.trigger("controlsshown")}),e.container.find(".mejs-control").css("visibility","visible").stop(!0,!0).fadeIn(200,function(){e.controlsAreVisible=!0})):(e.controls.css("visibility","visible").css("display","block"),e.container.find(".mejs-control").css("visibility","visible").css("display","block"),e.controlsAreVisible=!0,e.container.trigger("controlsshown")),e.setControlsSize())},hideControls:function(t){var e=this;t=void 0===t||t,e.controlsAreVisible&&!e.options.alwaysShowControls&&(t?(e.controls.stop(!0,!0).fadeOut(200,function(){l(this).css("visibility","hidden").css("display","block"),e.controlsAreVisible=!1,e.container.trigger("controlshidden")}),e.container.find(".mejs-control").stop(!0,!0).fadeOut(200,function(){l(this).css("visibility","hidden").css("display","block")})):(e.controls.css("visibility","hidden").css("display","block"),e.container.find(".mejs-control").css("visibility","hidden").css("display","block"),e.controlsAreVisible=!1,e.container.trigger("controlshidden")))},controlsTimer:null,startControlsTimer:function(t){var e=this;t=void 0!==t?t:1500,e.killControlsTimer("start"),e.controlsTimer=setTimeout(function(){e.hideControls(),e.killControlsTimer("hide")},t)}
1,killControlsTimer:function(){null!==this.controlsTimer&&(clearTimeout(this.controlsTimer),delete this.controlsTimer,this.controlsTimer=null)},controlsEnabled:!0,disableControls:function(){this.killControlsTimer(),this.hideControls(!1),this.controlsEnabled=!1},enableControls:function(){this.showControls(!1),this.controlsEnabled=!0},meReady:function(t,e){var i,n=this,o=mejs.MediaFeatures,s=e.getAttribute("autoplay");if(s=!(null==s||"false"===s),!n.created){if(n.created=!0,n.media=t,n.domNode=e,!(o.isAndroid&&n.options.AndroidUseNativeControls||o.isiPad&&n.options.iPadUseNativeControls||o.isiPhone&&n.options.iPhoneUseNativeControls)){for(i in n.buildposter(n,n.controls,n.layers,n.media),n.buildkeyboard(n,n.controls,n.layers,n.media),n.buildoverlays(n,n.controls,n.layers,n.media),n.findTracks(),n.options.features)if(o=n.options.features[i],n["build"+o])try{n["build"+o](n,n.controls,n.layers,n.media)}catch(t){}n.container.trigger("controlsready"),n.setPlayerSize(n.width,n.height),n.setControlsSize(),n.isVideo&&(mejs.MediaFeatures.hasTouch?n.$media.bind("touchstart",function(){n.controlsAreVisible?n.hideControls(!1):n.controlsEnabled&&n.showControls(!1)}):(n.clickToPlayPauseCallback=function(){n.options.clickToPlayPause&&(n.media.paused?n.play():n.pause())},n.media.addEventListener("click",n.clickToPlayPauseCallback,!1),n.container.bind("mouseenter mouseover",function(){n.controlsEnabled&&(n.options.alwaysShowControls||(n.killControlsTimer("enter"),n.showControls(),n.startControlsTimer(2500)))}).bind("mousemove",function(){n.controlsEnabled&&(n.controlsAreVisible||n.showControls(),n.options.alwaysShowControls||n.startControlsTimer(2500))}).bind("mouseleave",function(){n.controlsEnabled&&!n.media.paused&&!n.options.alwaysShowControls&&n.startControlsTimer(1e3)})),n.options.hideVideoControlsOnLoad&&n.hideControls(!1),s&&!n.options.alwaysShowControls&&n.hideControls(),n.options.enableAutosize&&n.media.addEventListener("loadedmetadata",function(t){n.options.videoHeight<=0&&null===n.domNode.getAttribute("height")&&!isNaN(t.target.videoHeight)&&(n.setPlayerSize(t.target.videoWidth,t.target.videoHeight),n.setControlsSize(),n.media.setVideoSize(t.target.videoWidth,t.target.videoHeight))},!1)),t.addEventListener("play",function(){for(var t in mejs.players){var e=mejs.players[t];e.id!=n.id&&n.options.pauseOtherPlayers&&!e.paused&&!e.ended&&e.pause(),e.hasFocus=!1}n.hasFocus=!0},!1),n.media.addEventListener("ended",function(){if(n.options.autoRewind)try{n.media.setCurrentTime(0)}catch(t){}n.media.pause(),n.setProgressRail&&n.setProgressRail(),n.setCurrentRail&&n.setCurrentRail(),n.options.loop?n.play():!n.options.alwaysShowControls&&n.controlsEnabled&&n.showControls()},!1),n.media.addEventListener("loadedmetadata",function(){n.updateDuration&&n.updateDuration(),n.updateCurrent&&n.updateCurrent(),n.isFullScreen||(n.setPlayerSize(n.width,n.height),n.setControlsSize())},!1),setTimeout(function(){n.setPlayerSize(n.width,n.height),n.setControlsSize()},50),n.globalBind("resize",function(){n.isFullScreen||mejs.MediaFeatures.hasTrueNativeFullScreen&&document.webkitIsFullScreen||n.setPlayerSize(n.width,n.height),n.setControlsSize()}),"youtube"==n.media.pluginType&&n.options.autoplay&&n.container.find(".mejs-overlay-play").hide()}s&&"native"==t.pluginType&&n.play(),n.options.success&&("string"==typeof n.options.success?window[n.options.success](n.media,n.domNode,n):n.options.success(n.media,n.domNode,n))}},handleError:function(t){this.controls.hide(),this.options.error&&this.options.error(t)},setPlayerSize:function(t,e){if(!this.options.setDimensions)return!1;if(void 0!==t&&(this.width=t),void 0!==e&&(this.height=e),0<this.height.toString().indexOf("%")||"100%"===this.$node.css("max-width")||this.$node[0].currentStyle&&"100%"===this.$node[0].currentStyle.maxWidth){var i=this.isVideo?this.media.videoWidth&&0<this.media.videoWidth?this.media.videoWidth:null!==this.media.getAttribute("width")?this.media.getAttribute("width"):this.options.defaultVideoWidth:this.options.defaultAudioWidth,n=this.isVideo?this.media.videoHeight&&0<this.media.videoHeight?this.media.videoHeight:null!==this.media.getAttribute("height")?this.media.getAttribute("height"):this.options.defaultVideoHeight:this.options.defaultAudioHeight,o=this.container.parent().closest(":visible").width(),s=this.container.parent().closest(":visible").height();i=this.isVideo||!this.options.autosizeProgress?parseInt(o*n/i,10):n,(isNaN(i)||0!=s&&s<i)&&(i=s),"body"===this.container.parent()[0].tagName.toLowerCase()&&(o=l(window).width(),i=l(window).height()),0!=i&&0!=o&&(this.container.width(o).height(i),this.$media.add(this.container.find(".mejs-shim")).width("100%").height("100%"),this.isVideo&&this.media.setVideoSize&&this.media.setVideoSize(o,i),this.layers.children(".mejs-layer").width("100%").height("100%"))}else this.container.width(this.width).height(this.height),this.layers.children(".mejs-layer").width(this.width).height(this.height);s=(o=this.layers.find(".mejs-overlay-play")).find(".mejs-overlay-button"),o.height(this.container.height()-this.controls.height()),s.css("margin-top","-"+(s.height()/2-this.controls.height()/2).toString()+"px")},setControlsSize:function(){var e=0,t=0,i=this.controls.find(".mejs-time-rail"),n=this.controls.find(".mejs-time-total");this.controls.find(".mejs-time-current"),this.controls.find(".mejs-time-loaded");
1var o=i.siblings(),s=o.last(),a=null;if(this.container.is(":visible")&&i.length&&i.is(":visible")){for(this.options&&!this.options.autosizeProgress&&(t=parseInt(i.css("width"))),0!==t&&t||(o.each(function(){var t=l(this);"absolute"!=t.css("position")&&t.is(":visible")&&(e+=l(this).outerWidth(!0))}),t=this.controls.width()-e-(i.outerWidth(!0)-i.width()));i.width(t),n.width(t-(n.outerWidth(!0)-n.width())),"absolute"!=s.css("position")&&(a=s.position(),t--),null!=a&&0<a.top&&0<t;);this.setProgressRail&&this.setProgressRail(),this.setCurrentRail&&this.setCurrentRail()}},buildposter:function(t,e,i,n){var o=l('<div class="mejs-poster mejs-layer"></div>').appendTo(i);e=t.$media.attr("poster"),""!==t.options.poster&&(e=t.options.poster),""!==e&&null!=e?this.setPoster(e):o.hide(),n.addEventListener("play",function(){o.hide()},!1),t.options.showPosterWhenEnded&&t.options.autoRewind&&n.addEventListener("ended",function(){o.show()},!1)},setPoster:function(t){var e=this.container.find(".mejs-poster"),i=e.find("img");0==i.length&&(i=l('<img width="100%" height="100%" />').appendTo(e)),i.attr("src",t),e.css({"background-image":"url("+t+")"})},buildoverlays:function(e,t,i,n){var o=this;if(e.isVideo){var s=l('<div class="mejs-overlay mejs-layer"><div class="mejs-overlay-loading"><span></span></div></div>').hide().appendTo(i),a=l('<div class="mejs-overlay mejs-layer"><div class="mejs-overlay-error"></div></div>').hide().appendTo(i),r=l('<div class="mejs-overlay mejs-layer mejs-overlay-play"><div class="mejs-overlay-button"></div></div>').appendTo(i).bind("click",function(){o.options.clickToPlayPause&&n.paused&&n.play()});n.addEventListener("play",function(){r.hide(),s.hide(),t.find(".mejs-time-buffering").hide(),a.hide()},!1),n.addEventListener("playing",function(){r.hide(),s.hide(),t.find(".mejs-time-buffering").hide(),a.hide()},!1),n.addEventListener("seeking",function(){s.show(),t.find(".mejs-time-buffering").show()},!1),n.addEventListener("seeked",function(){s.hide(),t.find(".mejs-time-buffering").hide()},!1),n.addEventListener("pause",function(){mejs.MediaFeatures.isiPhone||r.show()},!1),n.addEventListener("waiting",function(){s.show(),t.find(".mejs-time-buffering").show()},!1),n.addEventListener("loadeddata",function(){s.show(),t.find(".mejs-time-buffering").show()},!1),n.addEventListener("canplay",function(){s.hide(),t.find(".mejs-time-buffering").hide()},!1),n.addEventListener("error",function(){s.hide(),t.find(".mejs-time-buffering").hide(),a.show(),a.find("mejs-overlay-error").html("Error loading this resource")},!1),n.addEventListener("keydown",function(t){o.onkeydown(e,n,t)},!1)}},buildkeyboard:function(e,t,i,n){var o=this;o.globalBind("keydown",function(t){return o.onkeydown(e,n,t)}),o.globalBind("click",function(t){e.hasFocus=0!=l(t.target).closest(".mejs-container").length})},onkeydown:function(t,e,i){if(t.hasFocus&&t.options.enableKeyboard)for(var n=0,o=t.options.keyActions.length;n<o;n++)for(var s=t.options.keyActions[n],a=0,r=s.keys.length;a<r;a++)if(i.keyCode==s.keys[a])return"function"==typeof i.preventDefault&&i.preventDefault(),s.action(t,e,i.keyCode),!1;return!0},findTracks:function(){var i=this,t=i.$media.find("track");i.tracks=[],t.each(function(t,e){e=l(e),i.tracks.push({srclang:e.attr("srclang")?e.attr("srclang").toLowerCase():"",src:e.attr("src"),kind:e.attr("kind"),label:e.attr("label")||"",entries:[],isLoaded:!1})})},changeSkin:function(t){this.container[0].className="mejs-container "+t,this.setPlayerSize(this.width,this.height),this.setControlsSize()},play:function(){this.load(),this.media.play()},pause:function(){try{this.media.pause()}catch(t){}},load:function(){this.isLoaded||this.media.load(),this.isLoaded=!0},setMuted:function(t){this.media.setMuted(t)},setCurrentTime:function(t){this.media.setCurrentTime(t)},getCurrentTime:function(){return this.media.currentTime},setVolume:function(t){this.media.setVolume(t)},getVolume:function(){return this.media.volume},setSrc:function(t){this.media.setSrc(t)},remove:function(){var t,e;for(t in this.options.features)if(this["clean"+(e=this.options.features[t])])try{this["clean"+e](this)}catch(t){}
1this.isDynamic?this.$node.insertBefore(this.container):(this.$media.prop("controls",!0),this.$node.clone().insertBefore(this.container).show(),this.$node.remove()),"native"!==this.media.pluginType&&this.media.remove(),delete mejs.players[this.id],"object"==typeof this.container&&this.container.remove(),this.globalUnbind(),delete this.node.player}},function(){function n(t,n){var o={d:[],w:[]};return l.each((t||"").split(" "),function(t,e){var i=e+"."+n;0===i.indexOf(".")?(o.d.push(i),o.w.push(i)):o[s.test(e)?"w":"d"].push(i)}),o.d=o.d.join(" "),o.w=o.w.join(" "),o}var s=/^((after|before)print|(before)?unload|hashchange|message|o(ff|n)line|page(hide|show)|popstate|resize|storage)\b/;mejs.MediaElementPlayer.prototype.globalBind=function(t,e,i){(t=n(t,this.id)).d&&l(document).bind(t.d,e,i),t.w&&l(window).bind(t.w,e,i)},mejs.MediaElementPlayer.prototype.globalUnbind=function(t,e){(t=n(t,this.id)).d&&l(document).unbind(t.d,e),t.w&&l(window).unbind(t.w,e)}}(),void 0!==l&&(l.fn.mediaelementplayer=function(t){return!1===t?this.each(function(){var t=l(this).data("mediaelementplayer");t&&t.remove(),l(this).removeData("mediaelementplayer")}):this.each(function(){l(this).data("mediaelementplayer",new mejs.MediaElementPlayer(this,t))}),this},l(document).ready(function(){l(".mejs-player").mediaelementplayer()})),window.MediaElementPlayer=mejs.MediaElementPlayer}(mejs.$),function(s){s.extend(mejs.MepDefaults,{playpauseText:mejs.i18n.t("Play/Pause")}),s.extend(MediaElementPlayer.prototype,{buildplaypause:function(t,e,i,n){var o=s('<div class="mejs-button mejs-playpause-button mejs-play" ><button type="button" aria-controls="'+this.id+'" title="'+this.options.playpauseText+'" aria-label="'+this.options.playpauseText+'"></button></div>').appendTo(e).click(function(t){return t.preventDefault(),n.paused?n.play():n.pause(),!1});n.addEventListener("play",function(){o.removeClass("mejs-play").addClass("mejs-pause")},!1),n.addEventListener("playing",function(){o.removeClass("mejs-play").addClass("mejs-pause")},!1),n.addEventListener("pause",function(){o.removeClass("mejs-pause").addClass("mejs-play")},!1),n.addEventListener("paused",function(){o.removeClass("mejs-pause").addClass("mejs-play")},!1)}})}(mejs.$),function(o){o.extend(mejs.MepDefaults,{stopText:"Stop"}),o.extend(MediaElementPlayer.prototype,{buildstop:function(t,e,i,n){o('<div class="mejs-button mejs-stop-button mejs-stop"><button type="button" aria-controls="'+this.id+'" title="'+this.options.stopText+'" aria-label="'+this.options.stopText+'"></button></div>').appendTo(e).click(function(){n.paused||n.pause(),0<n.currentTime&&(n.setCurrentTime(0),n.pause(),e.find(".mejs-time-current").width("0px"),e.find(".mejs-time-handle").css("left","0px"),e.find(".mejs-time-float-current").html(mejs.Utility.secondsToTimeCode(0)),e.find(".mejs-currenttime").html(mejs.Utility.secondsToTimeCode(0)),i.find(".mejs-poster").show())})}})}(mejs.$),function(d){d.extend(MediaElementPlayer.prototype,{buildprogress:function(e,t,i,s){d('<div class="mejs-time-rail"><span class="mejs-time-total"><span class="mejs-time-buffering"></span><span class="mejs-time-loaded"></span><span class="mejs-time-current"></span><span class="mejs-time-handle"></span><span class="mejs-time-float"><span class="mejs-time-float-current">00:00</span><span class="mejs-time-float-corner"></span></span></span></div>').appendTo(t),t.find(".mejs-time-buffering").hide();var n=this,a=t.find(".mejs-time-total");i=t.find(".mejs-time-loaded");var o=t.find(".mejs-time-current"),r=t.find(".mejs-time-handle"),l=t.find(".mejs-time-float"),c=t.find(".mejs-time-float-current"),u=function(t){t=t.originalEvent.changedTouches?t.originalEvent.changedTouches[0].pageX:t.pageX;var e=a.offset(),i=a.outerWidth(!0),n=0,o=n=0;s.duration&&(t<e.left?t=e.left:t>i+e.left&&(t=i+e.left),n=(n=(o=t-e.left)/i)<=.02?0:n*s.duration,h&&n!==s.currentTime&&s.setCurrentTime(n),mejs.MediaFeatures.hasTouch||(l.css("left",o),c.html(mejs.Utility.secondsToTimeCode(n)),l.show()))},h=!1;a.bind("mousedown touchstart",function(t){if(1===t.which||0===t.which)return h=!0,u(t),n.globalBind("mousemove.dur touchmove.dur",function(t){u(t)}),n.globalBind("mouseup.dur touchend.dur",function(){h=!1,l.hide(),n.globalUnbind(".dur")}),!1}).bind("mouseenter",function(){n.globalBind("mousemove.dur",function(t){u(t)}),mejs.MediaFeatures.hasTouch||l.show()}).bind("mouseleave",function(){h||(n.globalUnbind(".dur"),l.hide())}),s.addEventListener("progress",function(t){e.setProgressRail(t),e.setCurrentRail(t)},!1),s.addEventListener("timeupdate",function(t){e.setProgressRail(t),e.setCurrentRail(t)},!1),n.loaded=i,n.total=a,n.current=o,n.handle=r},setProgressRail:function(t){var e=null!=t?t.target:this.media,i=null;e&&e.buffered&&0<e.buffered.length&&e.buffered.end&&e.duration?i=e.buffered.end(0)/e.duration:e&&null!=e.bytesTotal&&0<e.bytesTotal&&null!=e.bufferedBytes?i=e.bufferedBytes/e.bytesTotal:t&&t.lengthComputable&&0!=t.total&&(i=t.loaded/t.total),null!==i&&(i=Math.min(1,Math.max(0,i)),this.loaded&&this.total&&this.loaded.width(this.total.width()*i))},setCurrentRail:function(){if(null!=this.media.currentTime&&this.media.duration&&this.total&&this.handle){var t=Math.round(this.total.width()*this.media.currentTime/this.media.duration),e=t-Math.round(this.handle.outerWidth(!0)/2);this.current.width(t),this.handle.css("left",e)}}})}(mejs.$),function(o){o.extend(mejs.MepDefaults,{duration:-1,timeAndDurationSeparator:"<span> | </span>"}),o.extend(MediaElementPlayer.prototype,{buildcurrent:function(t,e,
1i,n){o('<div class="mejs-time"><span class="mejs-currenttime">'+(t.options.alwaysShowHours?"00:":"")+(t.options.showTimecodeFrameCount?"00:00:00":"00:00")+"</span></div>").appendTo(e),this.currenttime=this.controls.find(".mejs-currenttime"),n.addEventListener("timeupdate",function(){t.updateCurrent()},!1)},buildduration:function(t,e,i,n){0<e.children().last().find(".mejs-currenttime").length?o(this.options.timeAndDurationSeparator+'<span class="mejs-duration">'+(0<this.options.duration?mejs.Utility.secondsToTimeCode(this.options.duration,this.options.alwaysShowHours||3600<this.media.duration,this.options.showTimecodeFrameCount,this.options.framesPerSecond||25):(t.options.alwaysShowHours?"00:":"")+(t.options.showTimecodeFrameCount?"00:00:00":"00:00"))+"</span>").appendTo(e.find(".mejs-time")):(e.find(".mejs-currenttime").parent().addClass("mejs-currenttime-container"),o('<div class="mejs-time mejs-duration-container"><span class="mejs-duration">'+(0<this.options.duration?mejs.Utility.secondsToTimeCode(this.options.duration,this.options.alwaysShowHours||3600<this.media.duration,this.options.showTimecodeFrameCount,this.options.framesPerSecond||25):(t.options.alwaysShowHours?"00:":"")+(t.options.showTimecodeFrameCount?"00:00:00":"00:00"))+"</span></div>").appendTo(e)),this.durationD=this.controls.find(".mejs-duration"),n.addEventListener("timeupdate",function(){t.updateDuration()},!1)},updateCurrent:function(){this.currenttime&&this.currenttime.html(mejs.Utility.secondsToTimeCode(this.media.currentTime,this.options.alwaysShowHours||3600<this.media.duration,this.options.showTimecodeFrameCount,this.options.framesPerSecond||25))},updateDuration:function(){this.container.toggleClass("mejs-long-video",3600<this.media.duration),this.durationD&&(0<this.options.duration||this.media.duration)&&this.durationD.html(mejs.Utility.secondsToTimeCode(0<this.options.duration?this.options.duration:this.media.duration,this.options.alwaysShowHours,this.options.showTimecodeFrameCount,this.options.framesPerSecond||25))}})}(mejs.$),function(m){m.extend(mejs.MepDefaults,{muteText:mejs.i18n.t("Mute Toggle"),hideVolumeOnTouchDevices:!0,audioVolume:"horizontal",videoVolume:"vertical"}),m.extend(MediaElementPlayer.prototype,{buildvolume:function(t,e,i,n){if(!mejs.MediaFeatures.isAndroid&&!mejs.MediaFeatures.isiOS||!this.options.hideVolumeOnTouchDevices){var o=this,s=o.isVideo?o.options.videoVolume:o.options.audioVolume,a="horizontal"==s?m('<div class="mejs-button mejs-volume-button mejs-mute"><button type="button" aria-controls="'+o.id+'" title="'+o.options.muteText+'" aria-label="'+o.options.muteText+'"></button></div><div class="mejs-horizontal-volume-slider"><div class="mejs-horizontal-volume-total"></div><div class="mejs-horizontal-volume-current"></div><div class="mejs-horizontal-volume-handle"></div></div>').appendTo(e):m('<div class="mejs-button mejs-volume-button mejs-mute"><button type="button" aria-controls="'+o.id+'" title="'+o.options.muteText+'" aria-label="'+o.options.muteText+'"></button><div class="mejs-volume-slider"><div class="mejs-volume-total"></div><div class="mejs-volume-current"></div><div class="mejs-volume-handle"></div></div></div>').appendTo(e),r=o.container.find(".mejs-volume-slider, .mejs-horizontal-volume-slider"),l=o.container.find(".mejs-volume-total, .mejs-horizontal-volume-total"),c=o.container.find(".mejs-volume-current, .mejs-horizontal-volume-current"),u=o.container.find(".mejs-volume-handle, .mejs-horizontal-volume-handle"),h=function(t,e){if(r.is(":visible")||void 0!==e)if(t=Math.max(0,t),0==(t=Math.min(t,1))?a.removeClass("mejs-mute").addClass("mejs-unmute"):a.removeClass("mejs-unmute").addClass("mejs-mute"),"vertical"==s){var i=l.height(),n=l.position(),o=i-i*t;u.css("top",Math.round(n.top+o-u.height()/2)),c.height(i-o),c.css("top",n.top+o)}else i=l.width(),n=l.position(),i*=t,u.css("left",Math.round(n.left+i-u.width()/2)),c.width(Math.round(i));else r.show(),h(t,!0),r.hide()},d=function(t){var e=null,i=l.offset();if("vertical"==s){if(e=l.height(),parseInt(l.css("top").replace(/px/,""),10),e=(e-(t.pageY-i.top))/e,0==i.top||0==i.left)return}else e=l.width(),e=(t.pageX-i.left)/e;e=Math.max(0,e),e=Math.min(e,1),h(e),0==e?n.setMuted(!0):n.setMuted(!1),n.setVolume(e)},p=!1,f=!1;a.hover(function(){r.show(),f=!0},function(){f=!1,!p&&"vertical"==s&&r.hide()}),r.bind("mouseover",function(){f=!0}).bind("mousedown",function(t){return d(t),o.globalBind("mousemove.vol",function(t){d(t)}),o.globalBind("mouseup.vol",function(){p=!1,o.globalUnbind(".vol"),!f&&"vertical"==s&&r.hide()}),!(p=!0)}),a.find("button").click(function(){n.setMuted(!n.muted)}),n.addEventListener("volumechange",function(){p||(n.muted?(h(0),a.removeClass("mejs-mute").addClass("mejs-unmute")):(h(n.volume),a.removeClass("mejs-unmute").addClass("mejs-mute")))},!1),o.container.is(":visible")&&(h(t.options.startVolume),0===t.options.startVolume&&n.setMuted(!0),"native"===n.pluginType&&n.setVolume(t.options.startVolume))}}})}(mejs.$),function(m){m.extend(mejs.MepDefaults,{usePluginFullScreen:!0,newWindowCallback:function(){return""},fullscreenText:mejs.i18n.t("Fullscreen")}),m.extend(MediaElementPlayer.prototype,{isFullScreen:!1,isNativeFullScreen:!1,isInIframe:!1,buildfullscreen:function(i,t,e,n){if(i.isVideo){i.isInIframe=window.location!=window.parent.location,mejs.MediaFeatures.hasTrueNativeFullScreen&&i.globalBind(mejs.MediaFeatures.fullScreenEventName,function(){i.isFullScreen&&(mejs.MediaFeatures.isFullScreen()?(i.isNativeFullScreen=!0,i.setControlsSize()):(i.isNativeFullScreen=!1,i.exitFullScreen()))});var a=this,r=m('<div class="mejs-button mejs-fullscreen-button"><button type="button" aria-controls="'+a.id+'" title="'+a.options.fullscreenText+'" aria-label="'+a.options.fullscreenText+'"></button></div>').appendTo(t);if("native"===a.media.pluginType||!a.options.usePluginFullScreen&&!mejs.MediaFeatures.isFirefox)r.click(function(){mejs.MediaFeatures.hasTrueNativeFullScreen&&mejs.MediaFeatures.isFullScreen()||i.isFullScreen?i.exitFullScreen():i.enterFullScreen()});else{var o=null;if(d=document.createElement("x"),p=document.documentElement,f=window.getComputedStyle,"pointerEvents"in d.style&&(d.style.pointerEvents="auto",d.style.pointerEvents="x",p.appendChild(d),f=f&&"auto"===f(d,"").pointerEvents,p.removeChild(d),f)&&!mejs.MediaFeatures.isOpera){var s=!1,l=function(){if(s){for(var t in c)c[t].hide();r.css("pointer-events",""),a.controls.css("pointer-events",""),a.media.removeEventListener("click",a.clickToPlayPauseCallback),s=!1}},c={};t=["top","left","right","bottom"];var u,h=function(){var t=r.offset().left-a.container.offset().left,e=r.offset().top-a.container.offset().top,i=r.outerWidth(!0),n=r.outerHeight(!0),o=a.container.width(),s=a.container.height();for(u in c)c[u].css({position:"absolute",top:0,left:0});c.top.width(o).height(e),c.left.width(t).height(n).css({top:e}),c.right.width(o-t-i).height(n).css({top:e,left:t+i}),c.bottom.width(o).height(s-n-e).css({top:e+n})};for(a.globalBind("resize",function(){h()}),u=0,e=t.length;u<e;
1u++)c[t[u]]=m('<div class="mejs-fullscreen-hover" />').appendTo(a.container).mouseover(l).hide();r.on("mouseover",function(){if(!a.isFullScreen){var t=r.offset(),e=i.container.offset();for(u in n.positionFullscreenButton(t.left-e.left,t.top-e.top,!1),r.css("pointer-events","none"),a.controls.css("pointer-events","none"),a.media.addEventListener("click",a.clickToPlayPauseCallback),c)c[u].show();h(),s=!0}}),n.addEventListener("fullscreenchange",function(){a.isFullScreen=!a.isFullScreen,a.isFullScreen?a.media.removeEventListener("click",a.clickToPlayPauseCallback):a.media.addEventListener("click",a.clickToPlayPauseCallback),l()}),a.globalBind("mousemove",function(t){if(s){var e=r.offset();(t.pageY<e.top||t.pageY>e.top+r.outerHeight(!0)||t.pageX<e.left||t.pageX>e.left+r.outerWidth(!0))&&(r.css("pointer-events",""),a.controls.css("pointer-events",""),s=!1)}})}else r.on("mouseover",function(){null!==o&&(clearTimeout(o),delete o);var t=r.offset(),e=i.container.offset();n.positionFullscreenButton(t.left-e.left,t.top-e.top,!0)}).on("mouseout",function(){null!==o&&(clearTimeout(o),delete o),o=setTimeout(function(){n.hideFullscreenButton()},1500)})}i.fullscreenBtn=r,a.globalBind("keydown",function(t){(mejs.MediaFeatures.hasTrueNativeFullScreen&&mejs.MediaFeatures.isFullScreen()||a.isFullScreen)&&27==t.keyCode&&i.exitFullScreen()})}var d,p,f},cleanfullscreen:function(t){t.exitFullScreen()},containerSizeTimeout:null,enterFullScreen:function(){var n=this;if("native"===n.media.pluginType||!mejs.MediaFeatures.isFirefox&&!n.options.usePluginFullScreen){if(m(document.documentElement).addClass("mejs-fullscreen"),normalHeight=n.container.height(),normalWidth=n.container.width(),"native"===n.media.pluginType)if(mejs.MediaFeatures.hasTrueNativeFullScreen)mejs.MediaFeatures.requestFullScreen(n.container[0]),n.isInIframe&&setTimeout(function t(){if(n.isNativeFullScreen){var e=(window.devicePixelRatio||1)*m(window).width(),i=screen.width;Math.abs(i-e)>.002*i?n.exitFullScreen():setTimeout(t,500)}},500);else if(mejs.MediaFeatures.hasSemiNativeFullScreen)return void n.media.webkitEnterFullscreen();if(n.isInIframe){var t=n.options.newWindowCallback(this);if(""!==t){if(!mejs.MediaFeatures.hasTrueNativeFullScreen)return n.pause(),void window.open(t,n.id,"top=0,left=0,width="+screen.availWidth+",height="+screen.availHeight+",resizable=yes,scrollbars=no,status=no,toolbar=no");setTimeout(function(){n.isNativeFullScreen||(n.pause(),window.open(t,n.id,"top=0,left=0,width="+screen.availWidth+",height="+screen.availHeight+",resizable=yes,scrollbars=no,status=no,toolbar=no"))},250)}}n.container.addClass("mejs-container-fullscreen").width("100%").height("100%"),n.containerSizeTimeout=setTimeout(function(){n.container.css({width:"100%",height:"100%"}),n.setControlsSize()},500),"native"===n.media.pluginType?n.$media.width("100%").height("100%"):(n.container.find(".mejs-shim").width("100%").height("100%"),n.media.setVideoSize(m(window).width(),m(window).height())),n.layers.children("div").width("100%").height("100%"),n.fullscreenBtn&&n.fullscreenBtn.removeClass("mejs-fullscreen").addClass("mejs-unfullscreen"),n.setControlsSize(),n.isFullScreen=!0,n.container.find(".mejs-captions-text").css("font-size",screen.width/n.width*1*100+"%"),n.container.find(".mejs-captions-position").css("bottom","45px")}},exitFullScreen:function(){clearTimeout(this.containerSizeTimeout),"native"!==this.media.pluginType&&mejs.MediaFeatures.isFirefox?this.media.setFullscreen(!1):(mejs.MediaFeatures.hasTrueNativeFullScreen&&(mejs.MediaFeatures.isFullScreen()||this.isFullScreen)&&mejs.MediaFeatures.cancelFullScreen(),m(document.documentElement).removeClass("mejs-fullscreen"),this.container.removeClass("mejs-container-fullscreen").width(normalWidth).height(normalHeight),"native"===this.media.pluginType?this.$media.width(normalWidth).height(normalHeight):(this.container.find(".mejs-shim").width(normalWidth).height(normalHeight),this.media.setVideoSize(normalWidth,normalHeight)),this.layers.children("div").width(normalWidth).height(normalHeight),this.fullscreenBtn.removeClass("mejs-unfullscreen").addClass("mejs-fullscreen"),this.setControlsSize(),this.isFullScreen=!1,this.container.find(".mejs-captions-text").css("font-size",""),this.container.find(".mejs-captions-position").css("bottom",""))}})}(mejs.$),function(s){s.extend(mejs.MepDefaults,{speeds:["1.50","1.25","1.00","0.75"],defaultSpeed:"1.00"}),s.extend(MediaElementPlayer.prototype,{buildspeed:function(t,e,
1i,n){if("native"==this.media.pluginType){var o;for(i='<div class="mejs-button mejs-speed-button"><button type="button">'+this.options.defaultSpeed+'x</button><div class="mejs-speed-selector"><ul>',-1===s.inArray(this.options.defaultSpeed,this.options.speeds)&&this.options.speeds.push(this.options.defaultSpeed),this.options.speeds.sort(function(t,e){return parseFloat(e)-parseFloat(t)}),o=0;o<this.options.speeds.length;o++)i+='<li><input type="radio" name="speed" value="'+this.options.speeds[o]+'" id="'+this.options.speeds[o]+'" ',this.options.speeds[o]==this.options.defaultSpeed?(i+="checked=true ",i+='/><label for="'+this.options.speeds[o]+'" class="mejs-speed-selected">'+this.options.speeds[o]+"x</label></li>"):i+='/><label for="'+this.options.speeds[o]+'">'+this.options.speeds[o]+"x</label></li>";i+="</ul></div></div>",t.speedButton=s(i).appendTo(e),t.playbackspeed=this.options.defaultSpeed,t.speedButton.on("click","input[type=radio]",function(){t.playbackspeed=s(this).attr("value"),n.playbackRate=parseFloat(t.playbackspeed),t.speedButton.find("button").text(t.playbackspeed+"x"),t.speedButton.find(".mejs-speed-selected").removeClass("mejs-speed-selected"),t.speedButton.find("input[type=radio]:checked").next().addClass("mejs-speed-selected")}),(e=t.speedButton.find(".mejs-speed-selector")).height(this.speedButton.find(".mejs-speed-selector ul").outerHeight(!0)+t.speedButton.find(".mejs-speed-translations").outerHeight(!0)),e.css("top",-1*e.height()+"px")}}})}(mejs.$),function(r){r.extend(mejs.MepDefaults,{startLanguage:"",tracksText:mejs.i18n.t("Captions/Subtitles"),hideCaptionsButtonWhenEmpty:!0,toggleCaptionsButtonWhenOnlyOne:!1,slidesSelector:""}),r.extend(MediaElementPlayer.prototype,{hasChapters:!1,buildtracks:function(t,e,i,n){if(0!==t.tracks.length){var o;if(this.domNode.textTracks)for(o=this.domNode.textTracks.length-1;0<=o;o--)this.domNode.textTracks[o].mode="hidden";for(t.chapters=r('<div class="mejs-chapters mejs-layer"></div>').prependTo(i).hide(),t.captions=r('<div class="mejs-captions-layer mejs-layer"><div class="mejs-captions-position mejs-captions-position-hover"><span class="mejs-captions-text"></span></div></div>').prependTo(i).hide(),t.captionsText=t.captions.find(".mejs-captions-text"),t.captionsButton=r('<div class="mejs-button mejs-captions-button"><button type="button" aria-controls="'+this.id+'" title="'+this.options.tracksText+'" aria-label="'+this.options.tracksText+'"></button><div class="mejs-captions-selector"><ul><li><input type="radio" name="'+t.id+'_captions" id="'+t.id+'_captions_none" value="none" checked="checked" /><label for="'+t.id+'_captions_none">'+mejs.i18n.t("None")+"</label></li></ul></div></div>").appendTo(e),o=e=0;o<t.tracks.length;o++)"subtitles"==t.tracks[o].kind&&e++;for(this.options.toggleCaptionsButtonWhenOnlyOne&&1==e?t.captionsButton.on("click",function(){lang=null===t.selectedTrack?t.tracks[0].srclang:"none",t.setTrack(lang)}):(t.captionsButton.on("mouseenter focusin",function(){r(this).find(".mejs-captions-selector").css("visibility","visible")}).on("click","input[type=radio]",function(){lang=this.value,t.setTrack(lang)}),t.captionsButton.on("mouseleave focusout",function(){r(this).find(".mejs-captions-selector").css("visibility","hidden")})),t.options.alwaysShowControls?t.container.find(".mejs-captions-position").addClass("mejs-captions-position-hover"):t.container.bind("controlsshown",function(){t.container.find(".mejs-captions-position").addClass("mejs-captions-position-hover")}).bind("controlshidden",function(){n.paused||t.container.find(".mejs-captions-position").removeClass("mejs-captions-position-hover")}),t.trackToLoad=-1,t.selectedTrack=null,t.isLoadingTrack=!1,o=0;o<t.tracks.length;o++)"subtitles"==t.tracks[o].kind&&t.addTrackButton(t.tracks[o].srclang,t.tracks[o].label);t.loadNextTrack(),n.addEventListener("timeupdate",function(){t.displayCaptions()},!1),""!==t.options.slidesSelector&&(t.slidesContainer=r(t.options.slidesSelector),n.addEventListener("timeupdate",function(){t.displaySlides()},!1)),n.addEventListener("loadedmetadata",function(){t.displayChapters()},!1),t.container.hover(function(){t.hasChapters&&(t.chapters.css("visibility","visible"),t.chapters.fadeIn(200).height(t.chapters.find(".mejs-chapter").outerHeight()))},function(){t.hasChapters&&!n.paused&&t.chapters.fadeOut(200,function(){r(this).css("visibility","hidden"),r(this).css("display","block")})}),null!==t.node.getAttribute("autoplay")&&t.chapters.css("visibility","hidden")}},setTrack:function(t){var e;if("none"==t)this.selectedTrack=null,this.captionsButton.removeClass("mejs-captions-enabled");else for(e=0;e<this.tracks.length;e++)if(this.tracks[e].srclang==t){null===this.selectedTrack&&this.captionsButton.addClass("mejs-captions-enabled"),this.selectedTrack=this.tracks[e],this.captions.attr("lang",this.selectedTrack.srclang),this.displayCaptions();break}},loadNextTrack:function(){this.trackToLoad++,this.trackToLoad<this.tracks.length?(this.isLoadingTrack=!0,this.loadTrack(this.trackToLoad)):(this.isLoadingTrack=!1,this.checkForTracks())},loadTrack:function(t){var e=this,i=e.tracks[t];r.ajax({url:i.src,dataType:"text",success:function(t){i.entries="string"==typeof t&&/<tt\s+xml/gi.exec(t)?mejs.TrackFormatParser.dfxp.parse(t):mejs.TrackFormatParser.webvtt.parse(t),i.isLoaded=!0,e.enableTrackButton(i.srclang,i.label),e.loadNextTrack(),"chapters"==i.kind&&e.media.addEventListener("play",function(){0<e.media.duration&&e.displayChapters(i)},!1),"slides"==i.kind&&e.setupSlides(i)},error:function(){e.loadNextTrack()}})},enableTrackButton:function(t,e){""===e&&(e=mejs.language.codes[t]||t),this.captionsButton.find("input[value="+t+"]").prop("disabled",!1).siblings("label").html(e),this.options.startLanguage==t&&r("#"+this.id+"_captions_"+t).prop("checked",!0).trigger("click"),this.adjustLanguageBox()},addTrackButton:function(t,e){""===e&&(e=mejs.language.codes[t]||t),this.captionsButton.find("ul").append(r('<li><input type="radio" name="'+this.id+'_captions" id="'+this.id+"_captions_"+t+'" value="'+t+'" disabled="disabled" /><label for="'+this.id+"_captions_"+t+'">'+e+" (loading)</label></li>")),this.adjustLanguageBox(),this.container.find(".mejs-captions-translations option[value="+t+"]").remove()},adjustLanguageBox:function(){this.captionsButton.find(".mejs-captions-selector").height(this.captionsButton.find(".mejs-captions-selector ul").outerHeight(!0)+this.captionsButton.find(".mejs-captions-translations").outerHeight(!0))},checkForTracks:function(){var t=!1;if(this.options.hideCaptionsButtonWhenEmpty){for(i=0;i<this.tracks.length;i++)if("subtitles"==this.tracks[i].kind){t=!0;break}t||(this.captionsButton.hide(),this.setControlsSize())}},displayCaptions:function(){if(void 0!==this.tracks){var t,e=this.selectedTrack;if(null!==e&&e.isLoaded)for(t=0;t<e.entries.times.length;t++)if(this.media.currentTime>=e.entries.times[t].start&&this.media.currentTime<=e.entries.times[t].stop)return this.captionsText.html(e.entries.text[t]).attr("class","mejs-captions-text "+(e.entries.times[t].identifier||"")),void this.captions.show().height(0);this.captions.hide()}},setupSlides:function(t){this.slides=t,this.slides.entries.imgs=[this.slides.entries.text.length],this.showSlide(0)},showSlide:function(t){if(void 0!==this.tracks&&void 0!==this.slidesContainer){var e=this,i=e.slides.entries.text[t],n=e.slides.entries.imgs[t];void 0===n||void 0===n.fadeIn?e.slides.entries.imgs[t]=n=r('<img src="'+i+'">').on("load",function(){n.appendTo(e.slidesContainer).hide().fadeIn().siblings(":visible").fadeOut()}):!n.is(":visible")&&!n.is(":animated")&&n.fadeIn().siblings(":visible").fadeOut()}},displaySlides:function(){if(void 0!==this.slides){var t,e=this.slides;for(t=0;t<e.entries.times.length;t++)if(this.media.currentTime>=e.entries.times[t].start&&this.media.currentTime<=e.entries.times[t].stop){this.showSlide(t);break}}},displayChapters:function(){var t;for(t=0;t<this.tracks.length;t++)if("chapters"==this.tracks[t].kind&&this.tracks[t].isLoaded){this.drawChapters(this.tracks[t]),this.hasChapters=!0;break}},drawChapters:function(t){var e,i,n=this,o=i=0;for(n.chapters.empty(),e=0;e<t.entries.times.length;e++)i=t.entries.times[e].stop-t.entries.times[e].start,(100<(i=Math.floor(i/n.media.duration*100))+o||e==t.entries.times.length-1&&i+o<100)&&(i=100-o),n.chapters.append(r('<div class="mejs-chapter" rel="'+t.entries.times[e].start+'" style="left: '+o.toString()+"%;width: "+i.toString()+'%;"><div class="mejs-chapter-block'+(e==t.entries.times.length-1?" mejs-chapter-block-last":"")+'"><span class="ch-title">'+t.entries.text[e]+'</span><span class="ch-time">'+mejs.Utility.secondsToTimeCode(t.entries.times[e].start)+"–"+mejs.Utility.secondsToTimeCode(t.entries.times[e].stop)+"</span></div></div>")),o+=i;n.chapters.find("div.mejs-chapter").click(function(){n.media.setCurrentTime(parseFloat(r(this).attr("rel"))),n.media.paused&&n.media.play()}),n.chapters.show()}}
1),mejs.language={codes:{af:"Afrikaans",sq:"Albanian",ar:"Arabic",be:"Belarusian",bg:"Bulgarian",ca:"Catalan",zh:"Chinese","zh-cn":"Chinese Simplified","zh-tw":"Chinese Traditional",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch",en:"English",et:"Estonian",fl:"Filipino",fi:"Finnish",fr:"French",gl:"Galician",de:"German",el:"Greek",ht:"Haitian Creole",iw:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",ga:"Irish",it:"Italian",ja:"Japanese",ko:"Korean",lv:"Latvian",lt:"Lithuanian",mk:"Macedonian",ms:"Malay",mt:"Maltese",no:"Norwegian",fa:"Persian",pl:"Polish",pt:"Portuguese",ro:"Romanian",ru:"Russian",sr:"Serbian",sk:"Slovak",sl:"Slovenian",es:"Spanish",sw:"Swahili",sv:"Swedish",tl:"Tagalog",th:"Thai",tr:"Turkish",uk:"Ukrainian",vi:"Vietnamese",cy:"Welsh",yi:"Yiddish"}},mejs.TrackFormatParser={webvtt:{pattern_timecode:/^((?:[0-9]{1,2}:)?[0-9]{2}:[0-9]{2}([,.][0-9]{1,3})?) --\> ((?:[0-9]{1,2}:)?[0-9]{2}:[0-9]{2}([,.][0-9]{3})?)(.*)$/,parse:function(t){var e=0;t=mejs.TrackFormatParser.split2(t,/\r?\n/);for(var i,n,o,s={text:[],times:[]};e<t.length;e++){if((i=this.pattern_timecode.exec(t[e]))&&e<t.length){for(0<=e-1&&""!==t[e-1]&&(o=t[e-1]),n=t[++e],e++;""!==t[e]&&e<t.length;)n=n+"\n"+t[e],e++;n=r.trim(n).replace(/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gi,"<a href='$1' target='_blank'>$1</a>"),s.text.push(n),s.times.push({identifier:o,start:0===mejs.Utility.convertSMPTEtoSeconds(i[1])?.2:mejs.Utility.convertSMPTEtoSeconds(i[1]),stop:mejs.Utility.convertSMPTEtoSeconds(i[3]),settings:i[5]})}o=""}return s}},dfxp:{parse:function(t){var e,i,n=0,o=(n=(t=r(t).filter("tt")).children("div").eq(0)).find("p");if(n=t.find("#"+n.attr("style")),t={text:[],times:[]},n.length&&(i=n.removeAttr("id").get(0).attributes).length)for(e={},n=0;n<i.length;n++)e[i[n].name.split(":")[1]]=i[n].value;for(n=0;n<o.length;n++){var s;if(i={start:null,stop:null,style:null},o.eq(n).attr("begin")&&(i.start=mejs.Utility.convertSMPTEtoSeconds(o.eq(n).attr("begin"))),!i.start&&o.eq(n-1).attr("end")&&(i.start=mejs.Utility.convertSMPTEtoSeconds(o.eq(n-1).attr("end"))),o.eq(n).attr("end")&&(i.stop=mejs.Utility.convertSMPTEtoSeconds(o.eq(n).attr("end"))),!i.stop&&o.eq(n+1).attr("begin")&&(i.stop=mejs.Utility.convertSMPTEtoSeconds(o.eq(n+1).attr("begin"))),e)for(var a in s="",e)s+=a+":"+e[a]+";";s&&(i.style=s),0===i.start&&(i.start=.2),t.times.push(i),i=r.trim(o.eq(n).html()).replace(/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gi,"<a href='$1' target='_blank'>$1</a>"),t.text.push(i),0===t.times.start&&(t.times.start=2)}return t}},split2:function(t,e){return t.split(e)}},3!="x\n\ny".split(/\n/gi).length&&(mejs.TrackFormatParser.split2=function(t,e){var i,n=[],o="";for(i=0;i<t.length;i++)o+=t.substring(i,i+1),e.test(o)&&(n.push(o.replace(e,"")),o="");return n.push(o),n})}(mejs.$),function(l){l.extend(mejs.MepDefaults,{contextMenuItems:[{render:function(t){return void 0===t.enterFullScreen?null:t.isFullScreen?mejs.i18n.t("Turn off Fullscreen"):mejs.i18n.t("Go Fullscreen")},click:function(t){t.isFullScreen?t.exitFullScreen():t.enterFullScreen()}},{render:function(t){return t.media.muted?mejs.i18n.t("Unmute"):mejs.i18n.t("Mute")},click:function(t){t.media.muted?t.setMuted(!1):t.setMuted(!0)}},{isSeparator:!0},{render:function(){return mejs.i18n.t("Download Video")},click:function(t){window.location.href=t.media.currentSrc}}]}),l.extend(MediaElementPlayer.prototype,{buildcontextmenu:function(e){e.contextMenu=l('<div class="mejs-contextmenu"></div>').appendTo(l("body")).hide(),e.container.bind("contextmenu",function(t){if(e.isContextMenuEnabled)return t.preventDefault(),e.renderContextMenu(t.clientX-1,t.clientY-1),!1}),e.container.bind("click",function(){e.contextMenu.hide()}),e.contextMenu.bind("mouseleave",function(){e.startContextMenuTimer()})},cleancontextmenu:function(t){t.contextMenu.remove()},isContextMenuEnabled:!0,enableContextMenu:function(){this.isContextMenuEnabled=!0},disableContextMenu:function(){this.isContextMenuEnabled=!1},contextMenuTimeout:null,startContextMenuTimer:function(){var t=this;t.killContextMenuTimer(),t.contextMenuTimer=setTimeout(function(){t.hideContextMenu(),t.killContextMenuTimer()},750)},killContextMenuTimer:function(){var t=this.contextMenuTimer;null!=t&&(clearTimeout(t),delete t)},hideContextMenu:function(){this.contextMenu.hide()},renderContextMenu:function(t,e){for(var n=this,i="",o=n.options.contextMenuItems,s=0,a=o.length;s<a;s++)if(o[s].isSeparator)i+='<div class="mejs-contextmenu-separator"></div>';else{var r=o[s].render(n);null!=r&&(i+='<div class="mejs-contextmenu-item" data-itemindex="'+s+'" id="element-'+1e6*Math.random()+'">'+r+"</div>")}n.contextMenu.empty().append(l(i)).css({top:e,left:t}).show(),n.contextMenu.find(".mejs-contextmenu-item").each(function(){var t=l(this),e=parseInt(t.data("itemindex"),10),i=n.options.contextMenuItems[e];void 0!==i.show&&i.show(t,n),t.click(function(){void 0!==i.click&&i.click(n),n.contextMenu.hide()})}),setTimeout(function(){n.killControlsTimer("rev3")},100)}})}(mejs.$),function(o){o.extend(mejs.MepDefaults,{postrollCloseText:mejs.i18n.t("Close")}),o.extend(MediaElementPlayer.prototype,{buildpostroll:function(t,e,
vendor: 6,266 bytes, line 1
1i){var n=this.container.find('link[rel="postroll"]').attr("href");void 0!==n&&(t.postroll=o('<div class="mejs-postroll-layer mejs-layer"><a class="mejs-postroll-close" onclick="$(this).parent().hide();return false;">'+this.options.postrollCloseText+'</a><div class="mejs-postroll-layer-content"></div></div>').prependTo(i).hide(),this.media.addEventListener("ended",function(){o.ajax({dataType:"html",url:n,success:function(t){i.find(".mejs-postroll-layer-content").html(t)}}),t.postroll.show()},!1))}})}(mejs.$),function(c){"use strict";var u=function(t,e){this.options=c.extend({},u.DEFAULTS,e),this.$target=c(this.options.target).on("scroll.bs.affix.data-api",c.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",c.proxy(this.checkPositionWithEventLoop,this)),this.$element=c(t),this.affixed=this.unpin=this.pinnedOffset=null,this.checkPosition()};function i(n){return this.each(function(){var t=c(this),e=t.data("bs.affix"),i="object"==typeof n&&n;e||t.data("bs.affix",e=new u(this,i)),"string"==typeof n&&e[n]()})}u.VERSION="3.2.0",u.RESET="affix affix-top affix-bottom",u.DEFAULTS={offset:0,target:window},u.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(u.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},u.prototype.checkPositionWithEventLoop=function(){setTimeout(c.proxy(this.checkPosition,this),1)},u.prototype.checkPosition=function(){if(this.$element.is(":visible")){var t=c(document).height(),e=this.$target.scrollTop(),i=this.$element.offset(),n=this.options.offset,o=n.top,s=n.bottom;"object"!=typeof n&&(s=o=n),"function"==typeof o&&(o=n.top(this.$element)),"function"==typeof s&&(s=n.bottom(this.$element));var a=!(null!=this.unpin&&e+this.unpin<=i.top)&&(null!=s&&i.top+this.$element.height()>=t-s?"bottom":null!=o&&e<=o&&"top");if(this.affixed!==a){null!=this.unpin&&this.$element.css("top","");var r="affix"+(a?"-"+a:""),l=c.Event(r+".bs.affix");this.$element.trigger(l),l.isDefaultPrevented()||(this.affixed=a,this.unpin="bottom"==a?this.getPinnedOffset():null,this.$element.removeClass(u.RESET).addClass(r).trigger(c.Event(r.replace("affix","affixed"))),"bottom"==a&&this.$element.offset({top:t-this.$element.height()-s}))}}};var t=c.fn.affix;c.fn.affix=i,c.fn.affix.Constructor=u,c.fn.affix.noConflict=function(){return c.fn.affix=t,this},c(window).on("load",function(){c('[data-spy="affix"]').each(function(){var t=c(this),e=t.data();e.offset=e.offset||{},e.offsetBottom&&(e.offset.bottom=e.offsetBottom),e.offsetTop&&(e.offset.top=e.offsetTop),i.call(t,e)})})}(jQuery),function(s){"use strict";var e='[data-dismiss="alert"]',n=function(t){s(t).on("click",e,this.close)};n.VERSION="3.2.0",n.prototype.close=function(t){var e=s(this),i=e.attr("data-target");i||(i=(i=e.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,""));var n=s(i);function o(){n.detach().trigger("closed.bs.alert").remove()}t&&t.preventDefault(),n.length||(n=e.hasClass("alert")?e:e.parent()),n.trigger(t=s.Event("close.bs.alert")),t.isDefaultPrevented()||(n.removeClass("in"),s.support.transition&&n.hasClass("fade")?n.one("bsTransitionEnd",o).emulateTransitionEnd(150):o())};var t=s.fn.alert;s.fn.alert=function(i){return this.each(function(){var t=s(this),e=t.data("bs.alert");e||t.data("bs.alert",e=new n(this)),"string"==typeof i&&e[i].call(t)})},s.fn.alert.Constructor=n,s.fn.alert.noConflict=function(){return s.fn.alert=t,this},s(document).on("click.bs.alert.data-api",e,n.prototype.close)}(jQuery),function(s){"use strict";var o=function(t,e){this.$element=s(t),this.options=s.extend({},o.DEFAULTS,e),this.isLoading=!1};function i(n){return this.each(function(){var t=s(this),e=t.data("bs.button"),i="object"==typeof n&&n;e||t.data("bs.button",e=new o(this,i)),"toggle"==n?e.toggle():n&&e.setState(n)})}o.VERSION="3.2.0",o.DEFAULTS={loadingText:"loading..."},o.prototype.setState=function(t){var e="disabled",i=this.$element,n=i.is("input")?"val":"html",o=i.data();t+="Text",null==o.resetText&&i.data("resetText",i[n]()),i[n](null==o[t]?this.options[t]:o[t]),setTimeout(s.proxy(function(){"loadingText"==t?(this.isLoading=!0,i.addClass(e).attr(e,e)):this.isLoading&&(this.isLoading=!1,i.removeClass(e).removeAttr(e))},this),0)},o.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var i=this.$element.find("input");"radio"==i.prop("type")&&(i.prop("checked")&&this.$element.hasClass("active")?t=!1:e.find(".active").removeClass("active")),t&&i.prop("checked",!this.$element.hasClass("active")).trigger("change")}t&&this.$element.toggleClass("active")};var t=s.fn.button;s.fn.button=i,s.fn.button.Constructor=o,s.fn.button.noConflict=function(){return s.fn.button=t,this},s(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(t){var e=s(t.target);e.hasClass("btn")||(e=e.closest(".btn")),i.call(e,"toggle"),t.preventDefault()})}(jQuery),function(d){"use strict";var s=function(t,e){this.$element=d(t).on("keydown.bs.carousel",d.proxy(this.keydown,this)),this.$indicators=this.$element.find(".carousel-indicators"),this.options=e,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter.bs.carousel",d.proxy(this.pause,this)).on("mouseleave.bs.carousel",d.proxy(this.cycle,this))};function a(o){return this.each(function(){var t=d(this),e=t.data("bs.carousel"),i=d.extend({},s.DEFAULTS,t.data(),"object"==typeof o&&o),n="string"==typeof o?o:i.slide;e||t.data("bs.carousel",e=new s(this,i)),"number"==typeof o?e.to(o):n?e[n]():i.interval&&e.pause().cycle()})}s.VERSION="3.2.0",s.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},s.prototype.keydown=function(t){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()},s.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(d.proxy(this.next,this),this.options.interval)),this},s.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},s.prototype.to=function(t){var e=this,i=this.getItemIndex(this.$active=this.$element.find(".
1item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):i==t?this.pause().cycle():this.slide(i<t?"next":"prev",d(this.$items[t]))},s.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&d.support.transition&&(this.$element.trigger(d.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},s.prototype.next=function(){if(!this.sliding)return this.slide("next")},s.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},s.prototype.slide=function(t,e){var i=this.$element.find(".item.active"),n=e||i[t](),o=this.interval,s="next"==t?"left":"right",a="next"==t?"first":"last",r=this;if(!n.length){if(!this.options.wrap)return;n=this.$element.find(".item")[a]()}if(n.hasClass("active"))return this.sliding=!1;var l=n[0],c=d.Event("slide.bs.carousel",{relatedTarget:l,direction:s});if(this.$element.trigger(c),!c.isDefaultPrevented()){if(this.sliding=!0,o&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var u=d(this.$indicators.children()[this.getItemIndex(n)]);u&&u.addClass("active")}var h=d.Event("slid.bs.carousel",{relatedTarget:l,direction:s});return d.support.transition&&this.$element.hasClass("slide")?(n.addClass(t),n[0].offsetWidth,i.addClass(s),n.addClass(s),i.one("bsTransitionEnd",function(){n.removeClass([t,s].join(" ")).addClass("active"),i.removeClass(["active",s].join(" ")),r.sliding=!1,setTimeout(function(){r.$element.trigger(h)},0)}).emulateTransitionEnd(1e3*i.css("transition-duration").slice(0,-1))):(i.removeClass("active"),n.addClass("active"),this.sliding=!1,this.$element.trigger(h)),o&&this.cycle(),this}};var t=d.fn.carousel;d.fn.carousel=a,d.fn.carousel.Constructor=s,d.fn.carousel.noConflict=function(){return d.fn.carousel=t,this},d(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(t){var e,i=d(this),n=d(i.attr("data-target")||(e=i.attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,""));if(n.hasClass("carousel")){var o=d.extend({},n.data(),i.data()),s=i.attr("data-slide-to");s&&(o.interval=!1),a.call(n,o),s&&n.data("bs.carousel").to(s),t.preventDefault()}}),d(window).on("load",function(){d('[data-ride="carousel"]').each(function(){var t=d(this);a.call(t,t.data())})})}(jQuery),function(c){"use strict";var o=function(t,e){this.$element=c(t),this.options=c.extend({},o.DEFAULTS,e),this.transitioning=null,this.options.parent&&(this.$parent=c(this.options.parent)),this.options.toggle&&this.toggle()};function u(n){return this.each(function(){var t=c(this),e=t.data("bs.collapse"),i=c.extend({},o.DEFAULTS,t.data(),"object"==typeof n&&n);!e&&i.toggle&&"show"==n&&(n=!n),e||t.data("bs.collapse",e=new o(this,i)),"string"==typeof n&&e[n]()})}o.VERSION="3.2.0",o.DEFAULTS={toggle:!0},o.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},o.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var t=c.Event("show.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var e=this.$parent&&this.$parent.find("> .panel > .in");if(e&&e.length){var i=e.data("bs.collapse");if(i&&i.transitioning)return;u.call(e,"hide"),i||e.data("bs.collapse",null)}var n=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[n](0),this.transitioning=1;var o=function(){this.$element.removeClass("collapsing").addClass("collapse in")[n](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!c.support.transition)return o.call(this);var s=c.camelCase(["scroll",n].join("-"));this.$element.one("bsTransitionEnd",c.proxy(o,this)).emulateTransitionEnd(350)[n](this.$element[0][s])}}},o.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t=c.Event("hide.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var e=this.dimension();this.$element[e](this.$element[e]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var i=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};if(!c.support.transition)return i.call(this);this.$element[e](0).one("bsTransitionEnd",c.proxy(i,this)).emulateTransitionEnd(350)}}},o.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var t=c.fn.collapse;c.fn.collapse=u,c.fn.collapse.Constructor=o,c.fn.collapse.noConflict=function(){return c.fn.collapse=t,this},c(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){var e,i=c(this),n=i.attr("data-target")||t.preventDefault()||(e=i.attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,""),o=c(n),s=o.data("bs.collapse"),a=s?"toggle":i.data(),r=i.attr("data-parent"),l=r&&c(r);s&&s.transitioning||(l&&l.find('[data-toggle="collapse"][data-parent="'+r+'"]').not(i).addClass("collapsed"),i[o.hasClass("in")?"addClass":"removeClass"]("collapsed")),u.call(o,a)})}(jQuery),function(r){"use strict";
vendor: 6,752 bytes, line 1
1var l='[data-toggle="dropdown"]',n=function(t){r(t).on("click.bs.dropdown",this.toggle)};function s(i){i&&3===i.which||(r(".dropdown-backdrop").remove(),r(l).each(function(){var t=c(r(this)),e={relatedTarget:this};t.hasClass("open")&&(t.trigger(i=r.Event("hide.bs.dropdown",e)),i.isDefaultPrevented()||t.removeClass("open").trigger("hidden.bs.dropdown",e))}))}function c(t){var e=t.attr("data-target");e||(e=(e=t.attr("href"))&&/#[A-Za-z]/.test(e)&&e.replace(/.*(?=#[^\s]*$)/,""));var i=e&&r(e);return i&&i.length?i:t.parent()}n.VERSION="3.2.0",n.prototype.toggle=function(t){var e=r(this);if(!e.is(".disabled, :disabled")){var i=c(e),n=i.hasClass("open");if(s(),!n){"ontouchstart"in document.documentElement&&!i.closest(".navbar-nav").length&&r('<div class="dropdown-backdrop"/>').insertAfter(r(this)).on("click",s);var o={relatedTarget:this};if(i.trigger(t=r.Event("show.bs.dropdown",o)),t.isDefaultPrevented())return;e.trigger("focus"),i.toggleClass("open").trigger("shown.bs.dropdown",o)}return!1}},n.prototype.keydown=function(t){if(/(38|40|27)/.test(t.keyCode)){var e=r(this);if(t.preventDefault(),t.stopPropagation(),!e.is(".disabled, :disabled")){var i=c(e),n=i.hasClass("open");if(!n||n&&27==t.keyCode)return 27==t.which&&i.find(l).trigger("focus"),e.trigger("click");var o=" li:not(.divider):visible a",s=i.find('[role="menu"]'+o+', [role="listbox"]'+o);if(s.length){var a=s.index(s.filter(":focus"));38==t.keyCode&&0<a&&a--,40==t.keyCode&&a<s.length-1&&a++,~a||(a=0),s.eq(a).trigger("focus")}}}};var t=r.fn.dropdown;r.fn.dropdown=function(i){return this.each(function(){var t=r(this),e=t.data("bs.dropdown");e||t.data("bs.dropdown",e=new n(this)),"string"==typeof i&&e[i].call(t)})},r.fn.dropdown.Constructor=n,r.fn.dropdown.noConflict=function(){return r.fn.dropdown=t,this},r(document).on("click.bs.dropdown.data-api",s).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",l,n.prototype.toggle).on("keydown.bs.dropdown.data-api",l+', [role="menu"], [role="listbox"]',n.prototype.keydown)}(jQuery),function(a){"use strict";var n=function(t){this.element=a(t)};function e(i){return this.each(function(){var t=a(this),e=t.data("bs.tab");e||t.data("bs.tab",e=new n(this)),"string"==typeof i&&e[i]()})}n.VERSION="3.2.0",n.prototype.show=function(){var t=this.element,e=t.closest("ul:not(.dropdown-menu)"),i=t.data("target");if(i||(i=(i=t.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var n=e.find(".active:last a")[0],o=a.Event("show.bs.tab",{relatedTarget:n});if(t.trigger(o),!o.isDefaultPrevented()){var s=a(i);this.activate(t.closest("li"),e),this.activate(s,s.parent(),function(){t.trigger({type:"shown.bs.tab",relatedTarget:n})})}}},n.prototype.activate=function(t,e,i){var n=e.find("> .active"),o=i&&a.support.transition&&n.hasClass("fade");function s(){n.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),t.addClass("active"),o?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu")&&t.closest("li.dropdown").addClass("active"),i&&i()}o?n.one("bsTransitionEnd",s).emulateTransitionEnd(150):s(),n.removeClass("in")};var t=a.fn.tab;a.fn.tab=e,a.fn.tab.Constructor=n,a.fn.tab.noConflict=function(){return a.fn.tab=t,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(t){t.preventDefault(),e.call(a(this),"show")})}(jQuery),function(n){"use strict";n.fn.emulateTransitionEnd=function(t){var e=!1,i=this;n(this).one("bsTransitionEnd",function(){e=!0});return setTimeout(function(){e||n(i).trigger(n.support.transition.end)},t),this},n(function(){n.support.transition=function(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(void 0!==t.style[i])return{end:e[i]};return!1}(),n.support.transition&&(n.event.special.bsTransitionEnd={bindType:n.support.transition.end,delegateType:n.support.transition.end,handle:function(t){if(n(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(s){"use strict";function o(t,e){var i=s.proxy(this.process,this);this.$body=s("body"),this.$scrollElement=s(t).is("body")?s(window):s(t),this.options=s.extend({},o.DEFAULTS,e),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",i),this.refresh(),this.process()}function e(n){return this.each(function(){var t=s(this),e=t.data("bs.scrollspy"),i="object"==typeof n&&n;e||t.data("bs.scrollspy",e=new o(this,i)),"string"==typeof n&&e[n]()})}o.VERSION="3.2.0",o.DEFAULTS={offset:10},o.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},o.prototype.refresh=function(){var n="offset",o=0;s.isWindow(this.$scrollElement[0])||(n="position",o=this.$scrollElement.scrollTop()),this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight();var t=this;this.$body.find(this.selector).map(function(){var t=s(this),e=t.data("target")||t.attr("href"),i=/^#./.test(e)&&s(e);return i&&i.length&&i.is(":visible")&&[[i[n]().top+o,e]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},o.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,i=this.getScrollHeight(),n=this.options.offset+i-this.$scrollElement.height(),o=this.offsets,s=this.targets,a=this.activeTarget;if(this.scrollHeight!=i&&this.refresh(),n<=e)return a!=(t=s[s.length-1])&&this.activate(t);if(a&&e<=o[0])return a!=(t=s[0])&&this.activate(t);for(t=o.length;t--;)a!=s[t]&&e>=o[t]&&(!o[t+1]||e<=o[t+1])&&this.activate(s[t])},o.prototype.activate=function(t){this.activeTarget=t,s(this.selector).parentsUntil(this.options.target,".active").removeClass("active");var e=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',i=s(e).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate.bs.scrollspy")};var t=s.fn.scrollspy;s.fn.scrollspy=e,s.fn.scrollspy.Constructor=o,s.fn.scrollspy.noConflict=function(){return s.fn.scrollspy=t,this},s(window).on("load.bs.scrollspy.data-api",function(){s('[data-spy="scroll"]').each(function(){var t=s(this);e.call(t,t.data())})})}(jQuery),function(s){"use strict";var a=function(t,e){this.options=e,this.$body=s(document.body),this.$element=s(t),this.$backdrop=this.isShown=null,this.scrollbarWidth=0,this.options.remote&&this.$element.find(".modal
1-content").load(this.options.remote,s.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};function r(n,o){return this.each(function(){var t=s(this),e=t.data("bs.modal"),i=s.extend({},a.DEFAULTS,t.data(),"object"==typeof n&&n);e||t.data("bs.modal",e=new a(this,i)),"string"==typeof n?e[n](o):i.show&&e.show(o)})}a.VERSION="3.2.0",a.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},a.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},a.prototype.show=function(i){var n=this,t=s.Event("show.bs.modal",{relatedTarget:i});this.$element.trigger(t),this.isShown||t.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.$body.addClass("modal-open"),this.setScrollbar(),this.escape(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',s.proxy(this.hide,this)),this.backdrop(function(){var t=s.support.transition&&n.$element.hasClass("fade");n.$element.parent().length||n.$element.appendTo(n.$body),n.$element.show().scrollTop(0),t&&n.$element[0].offsetWidth,n.$element.addClass("in").attr("aria-hidden",!1),n.enforceFocus();var e=s.Event("shown.bs.modal",{relatedTarget:i});t?n.$element.find(".modal-dialog").one("bsTransitionEnd",function(){n.$element.trigger("focus").trigger(e)}).emulateTransitionEnd(300):n.$element.trigger("focus").trigger(e)}))},a.prototype.hide=function(t){t&&t.preventDefault(),t=s.Event("hide.bs.modal"),this.$element.trigger(t),this.isShown&&!t.isDefaultPrevented()&&(this.isShown=!1,this.$body.removeClass("modal-open"),this.resetScrollbar(),this.escape(),s(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.bs.modal"),s.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",s.proxy(this.hideModal,this)).emulateTransitionEnd(300):this.hideModal())},a.prototype.enforceFocus=function(){s(document).off("focusin.bs.modal").on("focusin.bs.modal",s.proxy(function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},a.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.bs.modal",s.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keyup.dismiss.bs.modal")},a.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$element.trigger("hidden.bs.modal")})},a.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},a.prototype.backdrop=function(t){var e=this,i=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var n=s.support.transition&&i;if(this.$backdrop=s('<div class="modal-backdrop '+i+'" />').appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",s.proxy(function(t){t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),n&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!t)return;n?this.$backdrop.one("bsTransitionEnd",t).emulateTransitionEnd(150):t()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var o=function(){e.removeBackdrop(),t&&t()};s.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",o).emulateTransitionEnd(150):o()}else t&&t()},a.prototype.checkScrollbar=function(){document.body.clientWidth>=window.innerWidth||(this.scrollbarWidth=this.scrollbarWidth||this.measureScrollbar())},a.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.scrollbarWidth&&this.$body.css("padding-right",t+this.scrollbarWidth)},a.prototype.resetScrollbar=function(){this.$body.css("padding-right","")},a.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var t=s.fn.modal;s.fn.modal=r,s.fn.modal.Constructor=a,s.fn.modal.noConflict=function(){return s.fn.modal=t,this},s(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var e=s(this),i=e.attr("href"),n=s(e.attr("data-target")||i&&i.replace(/.*(?=#[^\s]+$)/,"")),o=n.data("bs.modal")?"toggle":s.extend({remote:!/#/.test(i)&&i},n.data(),e.data());e.is("a")&&t.preventDefault(),n.one("show.bs.modal",function(t){t.isDefaultPrevented()||n.one("hidden.bs.modal",function(){e.is(":visible")&&e.trigger("focus")})}),r.call(n,o,this)})}(jQuery),function(g){"use strict";var o=function(t,e){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",t,e)};o.VERSION="3.2.0",o.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}}
vendor: 2,820 bytes, line 1
1,o.prototype.init=function(t,e,i){this.enabled=!0,this.type=t,this.$element=g(e),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&g(this.options.viewport.selector||this.options.viewport);for(var n=this.options.trigger.split(" "),o=n.length;o--;){var s=n[o];if("click"==s)this.$element.on("click."+this.type,this.options.selector,g.proxy(this.toggle,this));else if("manual"!=s){var a="hover"==s?"mouseenter":"focusin",r="hover"==s?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,g.proxy(this.enter,this)),this.$element.on(r+"."+this.type,this.options.selector,g.proxy(this.leave,this))}}this.options.selector?this._options=g.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},o.prototype.getDefaults=function(){return o.DEFAULTS},o.prototype.getOptions=function(t){return(t=g.extend({},this.getDefaults(),this.$element.data(),t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},o.prototype.getDelegateOptions=function(){var i={},n=this.getDefaults();return this._options&&g.each(this._options,function(t,e){n[t]!=e&&(i[t]=e)}),i},o.prototype.enter=function(t){var e=t instanceof this.constructor?t:g(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),g(t.currentTarget).data("bs."+this.type,e)),clearTimeout(e.timeout),e.hoverState="in",!e.options.delay||!e.options.delay.show)return e.show();e.timeout=setTimeout(function(){"in"==e.hoverState&&e.show()},e.options.delay.show)},o.prototype.leave=function(t){var e=t instanceof this.constructor?t:g(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),g(t.currentTarget).data("bs."+this.type,e)),clearTimeout(e.timeout),e.hoverState="out",!e.options.delay||!e.options.delay.hide)return e.hide();e.timeout=setTimeout(function(){"out"==e.hoverState&&e.hide()},e.options.delay.hide)},o.prototype.show=function(){var t=g.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(t);var e=g.contains(document.documentElement,this.$element[0]);if(t.isDefaultPrevented()||!e)return;var i=this,n=this.tip(),o=this.getUID(this.type);this.setContent(),n.attr("id",o),this.$element.attr("aria-describedby",o),this.options.animation&&n.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,n[0],this.$element[0]):this.options.placement,a=/\s?auto?\s?/i,r=a.test(s);r&&(s=s.replace(a,"")||"top"),n.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?n.appendTo(this.options.container):n.insertAfter(this.$element);var l=this.getPosition(),c=n[0].offsetWidth,u=n[0].offsetHeight;if(r){var h=s,d=this.$element.parent(),p=this.getPosition(d);
vendor: 6,388 bytes, line 1
1s="bottom"==s&&l.top+l.height+u-p.scroll>p.height?"top":"top"==s&&l.top-p.scroll-u<0?"bottom":"right"==s&&l.right+c>p.width?"left":"left"==s&&l.left-c<p.left?"right":s,n.removeClass(h).addClass(s)}var f=this.getCalculatedOffset(s,l,c,u);this.applyPlacement(f,s);var m=function(){i.$element.trigger("shown.bs."+i.type),i.hoverState=null};g.support.transition&&this.$tip.hasClass("fade")?n.one("bsTransitionEnd",m).emulateTransitionEnd(150):m()}},o.prototype.applyPlacement=function(t,e){var i=this.tip(),n=i[0].offsetWidth,o=i[0].offsetHeight,s=parseInt(i.css("margin-top"),10),a=parseInt(i.css("margin-left"),10);isNaN(s)&&(s=0),isNaN(a)&&(a=0),t.top=t.top+s,t.left=t.left+a,g.offset.setOffset(i[0],g.extend({using:function(t){i.css({top:Math.round(t.top),left:Math.round(t.left)})}},t),0),i.addClass("in");var r=i[0].offsetWidth,l=i[0].offsetHeight;"top"==e&&l!=o&&(t.top=t.top+o-l);var c=this.getViewportAdjustedDelta(e,t,r,l);c.left?t.left+=c.left:t.top+=c.top;var u=c.left?2*c.left-n+r:2*c.top-o+l,h=c.left?"left":"top",d=c.left?"offsetWidth":"offsetHeight";i.offset(t),this.replaceArrow(u,i[0][d],h)},o.prototype.replaceArrow=function(t,e,i){this.arrow().css(i,t?50*(1-t/e)+"%":"")},o.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},o.prototype.hide=function(){var t=this,e=this.tip(),i=g.Event("hide.bs."+this.type);function n(){"in"!=t.hoverState&&e.detach(),t.$element.trigger("hidden.bs."+t.type)}if(this.$element.removeAttr("aria-describedby"),this.$element.trigger(i),!i.isDefaultPrevented())return e.removeClass("in"),g.support.transition&&this.$tip.hasClass("fade")?e.one("bsTransitionEnd",n).emulateTransitionEnd(150):n(),this.hoverState=null,this},o.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},o.prototype.hasContent=function(){return this.getTitle()},o.prototype.getPosition=function(t){var e=(t=t||this.$element)[0],i="BODY"==e.tagName;return g.extend({},"function"==typeof e.getBoundingClientRect?e.getBoundingClientRect():null,{scroll:i?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop(),width:i?g(window).width():t.outerWidth(),height:i?g(window).height():t.outerHeight()},i?{top:0,left:0}:t.offset())},o.prototype.getCalculatedOffset=function(t,e,i,n){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-n,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-n/2,left:e.left-i}:{top:e.top+e.height/2-n/2,left:e.left+e.width}},o.prototype.getViewportAdjustedDelta=function(t,e,i,n){var o={top:0,left:0};if(!this.$viewport)return o;var s=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(t)){var r=e.top-s-a.scroll,l=e.top+s-a.scroll+n;r<a.top?o.top=a.top-r:l>a.top+a.height&&(o.top=a.top+a.height-l)}else{var c=e.left-s,u=e.left+s+i;c<a.left?o.left=a.left-c:u>a.width&&(o.left=a.left+a.width-u)}return o},o.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},o.prototype.getUID=function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},o.prototype.tip=function(){return this.$tip=this.$tip||g(this.options.template)},o.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},o.prototype.validate=function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},o.prototype.enable=function(){this.enabled=!0},o.prototype.disable=function(){this.enabled=!1},o.prototype.toggleEnabled=function(){this.enabled=!this.enabled},o.prototype.toggle=function(t){var e=this;t&&((e=g(t.currentTarget).data("bs."+this.type))||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),g(t.currentTarget).data("bs."+this.type,e))),e.tip().hasClass("in")?e.leave(e):e.enter(e)},o.prototype.destroy=function(){clearTimeout(this.timeout),this.hide().$element.off("."+this.type).removeData("bs."+this.type)};var t=g.fn.tooltip;g.fn.tooltip=function(n){return this.each(function(){var t=g(this),e=t.data("bs.tooltip"),i="object"==typeof n&&n;(e||"destroy"!=n)&&(e||t.data("bs.tooltip",e=new o(this,i)),"string"==typeof n&&e[n]())})},g.fn.tooltip.Constructor=o,g.fn.tooltip.noConflict=function(){return g.fn.tooltip=t,this}}(jQuery),function(o){"use strict";var s=function(t,e){this.init("popover",t,e)};if(!o.fn.tooltip)throw new Error("Popover requires tooltip.js");s.VERSION="3.2.0",s.DEFAULTS=o.extend({},o.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),((s.prototype=o.extend({},o.fn.tooltip.Constructor.prototype)).constructor=s).prototype.getDefaults=function(){return s.DEFAULTS},s.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),i=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").empty()[this.options.html?"string"==typeof i?"html":"append":"text"](i),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},s.prototype.hasContent=function(){return this.getTitle()||this.getContent()},s.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},s.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},s.prototype.tip=function(){return this.$tip||(this.$tip=o(this.options.template)),this.$tip};var t=o.fn.popover;o.fn.popover=function(n){return this.each(function(){var t=o(this),e=t.data("bs.popover"),i="object"==typeof n&&n;(e||"destroy"!=n)&&(e||t.data("bs.popover",e=new s(this,i)),"string"==typeof n&&e[n]())})},o.fn.popover.Constructor=s,o.fn.popover.noConflict=function(){return o.fn.popover=t,this}}(jQuery),function(){var l,t={frameRate:150,animationTime:400,stepSize:120,pulseAlgorithm:!0,pulseScale:8,pulseNormalize:1,accelerationDelta:20,accelerationMax:1,keyboardSupport:!0,arrowScroll:50,touchpadSupport:!0,fixedBackgroun
1d:!0,excluded:""},v=t,a=!1,r=!1,o={x:0,y:0},c=!1,u=document.documentElement,s=[120,120,120],h={left:37,up:38,right:39,down:40,spacebar:32,pageup:33,pagedown:34,end:35,home:36};v=t;function d(){v.keyboardSupport&&n("keydown",e)}function p(){if(document.body){var t=document.body,e=document.documentElement,i=window.innerHeight,n=t.scrollHeight;if(u=0<=document.compatMode.indexOf("CSS")?e:t,l=t,d(),c=!0,top!=self)r=!0;else if(i<n&&(t.offsetHeight<=i||e.offsetHeight<=i)){var o=!1;if(e.style.height="auto",setTimeout(function(){o||e.scrollHeight==document.height||(o=!0,setTimeout(function(){e.style.height=document.height+"px",o=!1},500))},10),u.offsetHeight<=i){var s=document.createElement("div");s.style.clear="both",t.appendChild(s)}}v.fixedBackground||a||(t.style.backgroundAttachment="scroll",e.style.backgroundAttachment="scroll")}}var y=[],b=!1,w=+new Date;function f(h,d,p,f){var t,e;if(f||(f=1e3),t=0<(t=d)?1:-1,e=0<(e=p)?1:-1,(o.x!==t||o.y!==e)&&(o.x=t,o.y=e,y=[],w=0),1!=v.accelerationMax){var i=+new Date-w;if(i<v.accelerationDelta){var n=(1+30/i)/2;1<n&&(n=Math.min(n,v.accelerationMax),d*=n,p*=n)}w=+new Date}if(y.push({x:d,y:p,lastX:d<0?.99:-.99,lastY:p<0?.99:-.99,start:+new Date}),!b){var m=h===document.body,g=function(t){for(var e=+new Date,i=0,n=0,o=0;o<y.length;o++){var s=y[o],a=e-s.start,r=a>=v.animationTime,l=r?1:a/v.animationTime;v.pulseAlgorithm&&(l=j(l));var c=s.x*l-s.lastX>>0,u=s.y*l-s.lastY>>0;i+=c,n+=u,s.lastX+=c,s.lastY+=u,r&&(y.splice(o,1),o--)}m?window.scrollBy(i,n):(i&&(h.scrollLeft+=i),n&&(h.scrollTop+=n)),d||p||(y=[]),y.length?A(g,h,f/v.frameRate+1):b=!1};A(g,h,0),b=!0}}function e(t){var e=t.target,i=t.ctrlKey||t.altKey||t.metaKey||t.shiftKey&&t.keyCode!==h.spacebar;if(/input|textarea|select|embed/i.test(e.nodeName)||e.isContentEditable||t.defaultPrevented||i)return!0;if(T(e,"button")&&t.keyCode===h.spacebar)return!0;var n=0,o=0,s=S(l),a=s.clientHeight;switch(s==document.body&&(a=window.innerHeight),t.keyCode){case h.up:o=-v.arrowScroll;break;case h.down:o=v.arrowScroll;break;case h.spacebar:o=-(t.shiftKey?1:-1)*a*.9;break;case h.pageup:o=.9*-a;break;case h.pagedown:o=.9*a;break;case h.home:o=-s.scrollTop;break;case h.end:var r=s.scrollHeight-s.scrollTop-a;o=0<r?r+10:0;break;case h.left:n=-v.arrowScroll;break;case h.right:n=v.arrowScroll;break;default:return!0}f(s,n,o),t.preventDefault()}var m={};setInterval(function(){m={}},1e4);var i,g,x=(i=0,function(t){return t.uniqueID||(t.uniqueID=i++)});function C(t,e){for(var i=t.length;i--;)m[x(t[i])]=e;return e}function S(t){var e=[],i=u.scrollHeight;do{var n=m[x(t)];if(n)return C(e,n);if(e.push(t),i===t.scrollHeight){if(!r||u.clientHeight+10<i)return C(e,document.body)}else if(t.clientHeight+10<t.scrollHeight&&(overflow=getComputedStyle(t,"").getPropertyValue("overflow-y"),"scroll"===overflow||"auto"===overflow))return C(e,t)}while(t=t.parentNode)}function n(t,e,i){window.addEventListener(t,e,i||!1)}function T(t,e){return(t.nodeName||"").toLowerCase()===e.toLowerCase()}function k(t,e){return Math.floor(t/e)==t/e}var A=window.requestAnimationFrame||window.webkitRequestAnimationFrame||function(t,e,i){window.setTimeout(t,i||1e3/60)};function E(t){var e;return((t*=v.pulseScale)<1?t-(1-Math.exp(-t)):(t-=1,(e=Math.exp(-1))+(1-Math.exp(-t))*(1-e)))*v.pulseNormalize}function j(t){return 1<=t?1:t<=0?0:(1==v.pulseNormalize&&(v.pulseNormalize/=E(1)),E(t))}var P=/chrome/i.test(window.navigator.userAgent),M=null;"onwheel"in document.createElement("div")?M="wheel":"onmousewheel"in document.createElement("div")&&(M="mousewheel"),M&&P&&(n(M,function(t){c||p();var e=t.target,i=S(e);if(!i||t.defaultPrevented||T(l,"embed")||T(e,"embed")&&/\.pdf/i.test(e.src))return!0;var n=t.wheelDeltaX||0,o=t.wheelDeltaY||0;if(n||o||(o=t.wheelDelta||0),!v.touchpadSupport&&function(t){if(t)return t=Math.abs(t),s.push(t),s.shift(),clearTimeout(g),!(k(s[0],120)&&k(s[1],120)&&k(s[2],120))}(o))return!0;1.2<Math.abs(n)&&(n*=v.stepSize/120),1.2<Math.abs(o)&&(o*=v.stepSize/120),f(i,-n,-o)}),n("mousedown",function(t){l=t.target}),n("load",p))}(),function(e,g,t){"use strict";var i,v,y,s=e.document.documentElement,b=e.Modernizr,l=function(t){return t.charAt(0).toUpperCase()+t.slice(1)},a="Moz Webkit O Ms".split(" "),n=function(t){var e,i=s.style;if("string"==typeof i[t])return t;t=l(t);for(var n=0,o=a.length;n<o;n++)if("string"==typeof i[e=a[n]+t])return e},c=n("transform"),o=n("transitionProperty"),r={csstransforms:function(){return!!c},csstransforms3d:function(){var t=!!n("perspective");if(t&&"webkitPerspective"in s.style){var e=g("<style>@media (transform-3d),(-webkit-transform-3d){#modernizr{height:3px}}</style>").appendTo("head"),i=g('<div id="modernizr" />').appendTo("html");t=3===i.height(),i.remove(),e.remove()}return t},csstransitions:function(){return!!o}};if(b)for(i in r)b.hasOwnProperty(i)||b.addTest(i,r[i]);else{b=e.Modernizr={_version:"1.6ish: miniModernizr for Isotope"};var u,h=" ";for(i in r)u=r[i](),h+=" "+((b[i]=u)?"":"no-")+i;g("html").addClass(h)}if(b.csstransforms){var d=b.csstransforms3d?{translate:function(t){return"translate3d("+t[0]+"px, "+t[1]+"px, 0) "},scale:function(t){return"scale3d("+t+", "+t+", 1) "}}:{translate:function(t){return"translate("+t[0]+"px, "+t[1]+"px) "},scale:function(t){return"scale("+t+") "}}
1,p=function(t,e,i){var n,o,s=g.data(t,"isoTransform")||{},a={},r={};for(n in a[e]=i,g.extend(s,a),s)o=s[n],r[n]=d[n](o);var l=(r.translate||"")+(r.scale||"");g.data(t,"isoTransform",s),t.style[c]=l};g.cssNumber.scale=!0,g.cssHooks.scale={set:function(t,e){p(t,"scale",e)},get:function(t,e){var i=g.data(t,"isoTransform");return i&&i.scale?i.scale:1}},g.fx.step.scale=function(t){g.cssHooks.scale.set(t.elem,t.now+t.unit)},g.cssNumber.translate=!0,g.cssHooks.translate={set:function(t,e){p(t,"translate",e)},get:function(t,e){var i=g.data(t,"isoTransform");return i&&i.translate?i.translate:[0,0]}}}b.csstransitions&&(v={WebkitTransitionProperty:"webkitTransitionEnd",MozTransitionProperty:"transitionend",OTransitionProperty:"oTransitionEnd otransitionend",transitionProperty:"transitionend"}[o],y=n("transitionDuration"));var f,m=g.event,w=g.event.handle?"handle":"dispatch";m.special.smartresize={setup:function(){g(this).bind("resize",m.special.smartresize.handler)},teardown:function(){g(this).unbind("resize",m.special.smartresize.handler)},handler:function(t,e){var i=this,n=arguments;t.type="smartresize",f&&clearTimeout(f),f=setTimeout(function(){m[w].apply(i,n)},"execAsap"===e?0:100)}},g.fn.smartresize=function(t){return t?this.bind("smartresize",t):this.trigger("smartresize",["execAsap"])},g.Isotope=function(t,e,i){this.element=g(e),this._create(t),this._init(i)};var x=["width","height"],C=g(e);g.Isotope.settings={resizable:!0,layoutMode:"masonry",containerClass:"isotope",itemClass:"isotope-item",hiddenClass:"isotope-hidden",hiddenStyle:{opacity:0,scale:.001},visibleStyle:{opacity:1,scale:1},containerStyle:{position:"relative",overflow:"hidden"},animationEngine:"best-available",animationOptions:{queue:!1,duration:800},sortBy:"original-order",sortAscending:!0,resizesContainer:!0,transformsEnabled:!0,itemPositionDataEnabled:!1},g.Isotope.prototype={_create:function(t){this.options=g.extend({},g.Isotope.settings,t),this.styleQueue=[],this.elemCount=0;var e=this.element[0].style;this.originalStyle={};var i=x.slice(0);for(var n in this.options.containerStyle)i.push(n);for(var o=0,s=i.length;o<s;o++)n=i[o],this.originalStyle[n]=e[n]||"";this.element.css(this.options.containerStyle),this._updateAnimationEngine(),this._updateUsingTransforms();var a={"original-order":function(t,e){return e.elemCount++,e.elemCount},random:function(){return Math.random()}};this.options.getSortData=g.extend(this.options.getSortData,a),this.reloadItems(),this.offset={left:parseInt(this.element.css("padding-left")||0,10),top:parseInt(this.element.css("padding-top")||0,10)};var r=this;setTimeout(function(){r.element.addClass(r.options.containerClass)},0),this.options.resizable&&C.bind("smartresize.isotope",function(){r.resize()}),this.element.delegate("."+this.options.hiddenClass,"click",function(){return!1})},_getAtoms:function(t){var e=this.options.itemSelector,i=e?t.filter(e).add(t.find(e)):t,n={position:"absolute"};return i=i.filter(function(t,e){return 1===e.nodeType}),this.usingTransforms&&(n.left=0,n.top=0),i.css(n).addClass(this.options.itemClass),this.updateSortData(i,!0),i},_init:function(t){this.$filteredAtoms=this._filter(this.$allAtoms),this._sort(),this.reLayout(t)},option:function(t){var e;if(g.isPlainObject(t))for(var i in this.options=g.extend(!0,this.options,t),t)this[e="_update"+l(i)]&&this[e]()},_updateAnimationEngine:function(){var t;switch(this.options.animationEngine.toLowerCase().replace(/[ _\-]/g,"")){case"css":case"none":t=!1;break;case"jquery":t=!0;break;default:t=!b.csstransitions}this.isUsingJQueryAnimation=t,this._updateUsingTransforms()},_updateTransformsEnabled:function(){this._updateUsingTransforms()},_updateUsingTransforms:function(){var t=this.usingTransforms=this.options.transformsEnabled&&b.csstransforms&&b.csstransitions&&!this.isUsingJQueryAnimation;t||(delete this.options.hiddenStyle.scale,delete this.options.visibleStyle.scale),this.getPositionStyles=t?this._translate:this._positionAbs},_filter:function(t){var e=""===this.options.filter?"*":this.options.filter;if(!e)return t;var i=this.options.hiddenClass,n="."+i,o=t.filter(n),s=o;if("*"!==e){s=o.filter(e);var a=t.not(n).not(e).addClass(i);this.styleQueue.push({$el:a,style:this.options.hiddenStyle})}return this.styleQueue.push({$el:s,style:this.options.visibleStyle}),s.removeClass(i),t.filter(e)},updateSortData:function(t,e){var i,n,o=this,s=this.options.getSortData;
1t.each(function(){for(var t in i=g(this),n={},s)n[t]=e||"original-order"!==t?s[t](i,o):g.data(this,"isotope-sort-data")[t];g.data(this,"isotope-sort-data",n)})},_sort:function(){var o=this.options.sortBy,s=this._getSorter,a=this.options.sortAscending?1:-1;this.$filteredAtoms.sort(function(t,e){var i=s(t,o),n=s(e,o);return i===n&&"original-order"!==o&&(i=s(t,"original-order"),n=s(e,"original-order")),(n<i?1:i<n?-1:0)*a})},_getSorter:function(t,e){return g.data(t,"isotope-sort-data")[e]},_translate:function(t,e){return{translate:[t,e]}},_positionAbs:function(t,e){return{left:t,top:e}},_pushPosition:function(t,e,i){e=Math.round(e+this.offset.left),i=Math.round(i+this.offset.top);var n=this.getPositionStyles(e,i);this.styleQueue.push({$el:t,style:n}),this.options.itemPositionDataEnabled&&t.data("isotope-item-position",{x:e,y:i})},layout:function(t,e){var i=this.options.layoutMode;if(this["_"+i+"Layout"](t),this.options.resizesContainer){var n=this["_"+i+"GetContainerSize"]();this.styleQueue.push({$el:this.element,style:n})}this._processStyleQueue(t,e),this.isLaidOut=!0},_processStyleQueue:function(n,t){var i,e,o,s,a=this.isLaidOut&&this.isUsingJQueryAnimation?"animate":"css",r=this.options.animationOptions,l=this.options.onLayout;if(e=function(t,e){e.$el[a](e.style,r)},this._isInserting&&this.isUsingJQueryAnimation)e=function(t,e){i=e.$el.hasClass("no-transition")?"css":a,e.$el[i](e.style,r)};else if(t||l||r.complete){var c=!1,u=[t,l,r.complete],h=this;if(o=!0,s=function(){if(!c){for(var t,e=0,i=u.length;e<i;e++)"function"==typeof(t=u[e])&&t.call(h.element,n,h);c=!0}},this.isUsingJQueryAnimation&&"animate"===a)r.complete=s,o=!1;else if(b.csstransitions){for(var d,p=0,f=this.styleQueue[0],m=f&&f.$el;!m||!m.length;){if(!(d=this.styleQueue[p++]))return;m=d.$el}0<parseFloat(getComputedStyle(m[0])[y])&&(o=!(e=function(t,e){e.$el[a](e.style,r).one(v,s)}))}}g.each(this.styleQueue,e),o&&s(),this.styleQueue=[]},resize:function(){this["_"+this.options.layoutMode+"ResizeChanged"]()&&this.reLayout()},reLayout:function(t){this["_"+this.options.layoutMode+"Reset"](),this.layout(this.$filteredAtoms,t)},addItems:function(t,e){var i=this._getAtoms(t);this.$allAtoms=this.$allAtoms.add(i),e&&e(i)},insert:function(t,i){this.element.append(t);var n=this;this.addItems(t,function(t){var e=n._filter(t);n._addHideAppended(e),n._sort(),n.reLayout(),n._revealAppended(e,i)})},appended:function(t,e){var i=this;this.addItems(t,function(t){i._addHideAppended(t),i.layout(t),i._revealAppended(t,e)})},_addHideAppended:function(t){this.$filteredAtoms=this.$filteredAtoms.add(t),t.addClass("no-transition"),this._isInserting=!0,this.styleQueue.push({$el:t,style:this.options.hiddenStyle})},_revealAppended:function(t,e){var i=this;setTimeout(function(){t.removeClass("no-transition"),i.styleQueue.push({$el:t,style:i.options.visibleStyle}),i._isInserting=!1,i._processStyleQueue(t,e)},10)},reloadItems:function(){this.$allAtoms=this._getAtoms(this.element.children())},remove:function(t,e){this.$allAtoms=this.$allAtoms.not(t),this.$filteredAtoms=this.$filteredAtoms.not(t);var i=this,n=function(){t.remove(),e&&e.call(i.element)};t.filter(":not(."+this.options.hiddenClass+")").length?(this.styleQueue.push({$el:t,style:this.options.hiddenStyle}),this._sort(),this.reLayout(n)):n()},shuffle:function(t){this.updateSortData(this.$allAtoms),this.options.sortBy="random",this._sort(),this.reLayout(t)},destroy:function(){var e=this.usingTransforms,t=this.options;this.$allAtoms.removeClass(t.hiddenClass+" "+t.itemClass).each(function(){var t=this.style;t.position="",t.top="",t.left="",t.opacity="",e&&(t[c]="")});var i=this.element[0].style;for(var n in this.originalStyle)i[n]=this.originalStyle[n];this.element.unbind(".isotope").undelegate("."+t.hiddenClass,"click").removeClass(t.containerClass).removeData("isotope"),C.unbind(".isotope")},_getSegments:function(t){var e,i=this.options.layoutMode,n=t?"rowHeight":"columnWidth",o=t?"height":"width",s=t?"rows":"cols",a=this.element[o](),r=this.options[i]&&this.options[i][n]||this.$filteredAtoms["outer"+l(o)](!0)||a;e=Math.floor(a/r),e=Math.max(e,1),this[i][s]=e,this[i][n]=r},_checkIfSegmentsChanged:function(t){var e=this.options.layoutMode,i=t?"rows":"cols",n=this[e][i];return this._getSegments(t),this[e][i]!==n},_masonryReset:function(){this.masonry={},this._getSegments();var t=this.masonry.cols;for(this.masonry.colYs=[];t--;)this.masonry.colYs.push(0)},_masonryLayout:function(t){var a=this,r=a.masonry;t.each(function(){var t=g(this),e=Math.ceil(t.outerWidth(!0)/r.columnWidth);if(1===(e=Math.min(e,r.cols)))a._masonryPlaceBrick(t,r.colYs);else{var i,n,o=r.cols+1-e,s=[];for(n=0;n<o;n++)i=r.colYs.slice(n,n+e),s[n]=Math.max.apply(Math,i);a._masonryPlaceBrick(t,s)}})},_masonryPlaceBrick:function(t,e){for(var i=Math.min.apply(Math,e),n=0,o=0,s=e.length;o<s;o++)if(e[o]===i){n=o;break}var a=this.masonry.columnWidth*n,r=i;this._pushPosition(t,a,r);var l=i+t.outerHeight(!0),c=this.masonry.cols+1-s;for(o=0;o<c;o++)this.masonry.colYs[n+o]=l},_masonryGetContainerSize:function(){return{height:Math.max.apply(Math,this.masonry.colYs)}},_masonryResizeChanged:function(){return this._checkIfSegmentsChanged()},_fitRowsReset:function(){this.fitRows={x:0,y:0,height:0}},_fitRowsLayout:function(t){var n=this,o=this.element.width(),s=this.fitRows;t.each(function(){var t=g(this),e=t.outerWidth(!0),i=t.outerHeight(!0);0!==s.x&&e+s.x>o&&(s.x=0,s.y=s.height),n._pushPosition(t,s.x,s.y),s.height=Math.max(s.y+i,s.height),s.x+=e})},_fitRowsGetContainerSize:function(){return{height:this.fitRows.height}},_fitRowsResizeChanged:function(){return!0},_cellsByRowReset:function(){this.cellsByRow={index:0},this._getSegments(),this._getSegments(!0)},_cellsByRowLayout:function(t){var s=this,a=this.cellsByRow;t.each(function(){var t=g(this),e=a.index%a.cols,i=Math.floor(a.index/a.cols),n=(e+.5)*a.columnWidth-t.outerWidth(!0)/2,o=(i+.5)*a.rowHeight-t.outerHeight(!0)/2;s._pushPosition(t,n,o),a.index++})},_cellsByRowGetContainerSize:function(){return{height:Math.ceil(this.$filteredAtoms.length/this.cellsByRow.cols)*this.cellsByRow.rowHeight+this.offset.top}},_cellsByRowResizeChanged:function(){return this._checkIfSegmentsChanged()},_straightDownReset:function(){this.straightDown={y:0}},_straightDownLayout:function(t){var i=this;t.each(function(t){var e=g(this);i._pushPosition(e,0,i.straightDown.y),i.straightDown.y+=e.outerHeight(!0)})},_straightDownGetContainerSize:function(){return{height:this.straightDown.y}},_straightDownResizeChanged:function(){return!0},_masonryHorizontalReset:function(){this.masonryHorizontal={},this._getSegments(!0);var t=this.masonryHorizontal.rows;for(this.masonryHorizontal.rowXs=[];t--;)this.masonryHorizontal.rowXs.push(0)},_masonryHorizontalLayout:function(t){var a=this,r=a.masonryHorizontal;t.each(function(){var t=g(this),e=Math.ceil(t.outerHeight(!0)/r.rowHeight);if(1===(e=Math.min(e,r.rows)))a._masonryHorizontalPlaceBrick(t,r.rowXs);else{var i,n,o=r.rows+1-e,s=[];for(n=0;n<o;n++)i=r.rowXs.slice(n,n+e),s[n]=Math.max.apply(Math,i);a._masonryHorizontalPlaceBrick(t,s)}})},_masonryHorizontalPlaceBrick:function(t,e){for(var i=Math.min.apply(Math,e),n=0,o=0,s=e.length;o<s;o++)if(e[o]===i){n=o;break}var a=i,r=this.masonryHorizontal.rowHeight*n;this._pushPosition(t,a,r);var l=i+t.outerWidth(!0),c=this.masonryHorizontal.rows+1-s;for(o=0;o<c;o++)this.masonryHorizontal.rowXs[n+o]=l},_masonryHorizontalGetContainerSize:function(){return{width:Math.max.apply(Math,this.masonryHorizontal.rowXs)}},_masonryHorizontalResizeChanged:function(){return this._checkIfSegmentsChanged(!0)},_fitColumnsReset:function(){this.fitColumns={x:0,y:0,width:0}},_fitColumnsLayout:function(t){var n=this,o=this.element.height(),s=this.fitColumns;t.each(function(){var t=g(this),e=t.outerWidth(!0),i=t.outerHeight(!0);0!==s.y&&i+s.y>o&&(s.x=s.width,s.y=0),n._pushPosition(t,s.x,s.y),s.width=Math.max(s.x+e,s.width),s.y+=i})},_fitColumnsGetContainerSize:function(){return{width:this.fitColumns.width}},_fitColumnsResizeChanged:function(){return!0},_cellsByColumnReset:function(){this.cellsByColumn={index:0},this._getSegments(),this._getSegments(!0)},_cellsByColumnLayout:function(t){var s=this,a=this.cellsByColumn;t.each(function(){var t=g(this),e=Math.floor(a.index/a.rows),i=a.index%a.rows,n=(e+.5)*a.columnWidth-t.outerWidth(!0)/2,o=(i+.5)*a.rowHeight-t.outerHeight(!0)/2;s._pushPosition(t,n,o),a.index++})},_cellsByColumnGetContainerSize:function(){return{width:Math.ceil(this.$filteredAtoms.length/this.cellsByColumn.rows)*this.cellsByColumn.columnWidth}},_cellsByColumnResizeChanged:function(){return this._checkIfSegmentsChanged(!0)},_straightAcrossReset:function(){this.straightAcross={x:0}},_straightAcrossLayout:function(t){var i=this;t.each(function(t){var e=g(this);i._pushPosition(e,i.straightAcross.x,0),i.straightAcross.x+=e.outerWidth(!0)})},_straightAcrossGetContainerSize:function(){return{width:this.straightAcross.x}},_straightAcrossResizeChanged:function(){return!0}},g.fn.imagesLoaded=function(t){var e=this,n=e.find("img").add(e.filter("img")),o=n.length,s="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",a=[];function r(){t.call(e,n)}return o||r(),n.bind("load.imagesLoaded error.imagesLoaded",function t(e){var i=e.target;i.src!==s&&-1===g.inArray(i,a)&&(a.push(i),--o<=0&&(setTimeout(r),n.unbind(".imagesLoaded",t)))}).each(function(){var t=this.src;this.src=s,this.src=t}),e};var S=function(t){e.console&&e.console.error(t)};g.fn.isotope=function(e,i){if("string"==typeof e){var n=Array.prototype.slice.call(arguments,1
1);this.each(function(){var t=g.data(this,"isotope");t?g.isFunction(t[e])&&"_"!==e.charAt(0)?t[e].apply(t,n):S("no such method '"+e+"' for isotope instance"):S("cannot call methods on isotope prior to initialization; attempted to call method '"+e+"'")})}else this.each(function(){var t=g.data(this,"isotope");t?(t.option(e),t._init(i)):g.data(this,"isotope",new g.Isotope(e,this,i))});return this}}(window,jQuery),function(u){var h,n,i,d,o,p,e,l="Close",c="BeforeClose",f="MarkupParse",m="Open",g=".mfp",v="mfp-ready",s="mfp-removing",a="mfp-prevent-close",t=function(){},r=!!window.jQuery,y=u(window),b=function(t,e){h.ev.on("mfp"+t+g,e)},w=function(t,e,i,n){var o=document.createElement("div");return o.className="mfp-"+t,i&&(o.innerHTML=i),n?e&&e.appendChild(o):(o=u(o),e&&o.appendTo(e)),o},x=function(t,e){h.ev.triggerHandler("mfp"+t,e),h.st.callbacks&&(t=t.charAt(0).toLowerCase()+t.slice(1),h.st.callbacks[t]&&h.st.callbacks[t].apply(h,u.isArray(e)?e:[e]))},C=function(t){return t===e&&h.currTemplate.closeBtn||(h.currTemplate.closeBtn=u(h.st.closeMarkup.replace("%title%",h.st.tClose)),e=t),h.currTemplate.closeBtn},S=function(){u.magnificPopup.instance||((h=new t).init(),u.magnificPopup.instance=h)};t.prototype={constructor:t,init:function(){var t=navigator.appVersion;h.isIE7=-1!==t.indexOf("MSIE 7."),h.isIE8=-1!==t.indexOf("MSIE 8."),h.isLowIE=h.isIE7||h.isIE8,h.isAndroid=/android/gi.test(t),h.isIOS=/iphone|ipad|ipod/gi.test(t),h.supportsTransition=function(){var t=document.createElement("p").style,e=["ms","O","Moz","Webkit"];if(void 0!==t.transition)return!0;for(;e.length;)if(e.pop()+"Transition"in t)return!0;return!1}(),h.probablyMobile=h.isAndroid||h.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),i=u(document.body),d=u(document),h.popupsCache={}},open:function(t){var e;if(!1===t.isObj){h.items=t.items.toArray(),h.index=0;var i,n=t.items;for(e=0;e<n.length;e++)if((i=n[e]).parsed&&(i=i.el[0]),i===t.el[0]){h.index=e;break}}else h.items=u.isArray(t.items)?t.items:[t.items],h.index=t.index||0;if(!h.isOpen){h.types=[],p="",t.mainEl&&t.mainEl.length?h.ev=t.mainEl.eq(0):h.ev=d,t.key?(h.popupsCache[t.key]||(h.popupsCache[t.key]={}),h.currTemplate=h.popupsCache[t.key]):h.currTemplate={},h.st=u.extend(!0,{},u.magnificPopup.defaults,t),h.fixedContentPos="auto"===h.st.fixedContentPos?!h.probablyMobile:h.st.fixedContentPos,h.st.modal&&(h.st.closeOnContentClick=!1,h.st.closeOnBgClick=!1,h.st.showCloseBtn=!1,h.st.enableEscapeKey=!1),h.bgOverlay||(h.bgOverlay=w("bg").on("click"+g,function(){h.close()}),h.wrap=w("wrap").attr("tabindex",-1).on("click"+g,function(t){h._checkIfClose(t.target)&&h.close()}),h.container=w("container",h.wrap)),h.contentContainer=w("content"),h.st.preloader&&(h.preloader=w("preloader",h.container,h.st.tLoading));var o=u.magnificPopup.modules;for(e=0;e<o.length;e++){var s=o[e];s=s.charAt(0).toUpperCase()+s.slice(1),h["init"+s].call(h)}x("BeforeOpen"),h.st.showCloseBtn&&(h.st.closeBtnInside?(b(f,function(t,e,i,n){i.close_replaceWith=C(n.type)}),p+=" mfp-close-btn-in"):h.wrap.append(C())),h.st.alignTop&&(p+=" mfp-align-top"),h.fixedContentPos?h.wrap.css({overflow:h.st.overflowY,overflowX:"hidden",overflowY:h.st.overflowY}):h.wrap.css({top:y.scrollTop(),position:"absolute"}),(!1===h.st.fixedBgPos||"auto"===h.st.fixedBgPos&&!h.fixedContentPos)&&h.bgOverlay.css({height:d.height(),position:"absolute"}),h.st.enableEscapeKey&&d.on("keyup"+g,function(t){27===t.keyCode&&h.close()}),y.on("resize"+g,function(){h.updateSize()}),h.st.closeOnContentClick||(p+=" mfp-auto-cursor"),p&&h.wrap.addClass(p);var a=h.wH=y.height(),r={};if(h.fixedContentPos&&h._hasScrollBar(a)){var l=h._getScrollbarSize();l&&(r.marginRight=l)}h.fixedContentPos&&(h.isIE7?u("body, html").css("overflow","hidden"):r.overflow="hidden");var c=h.st.mainClass;return h.isIE7&&(c+=" mfp-ie7"),c&&h._addClassToMFP(c),h.updateItemHTML(),x("BuildControls"),u("html").css(r),h.bgOverlay.add(h.wrap).prependTo(document.body),h._lastFocusedEl=document.activeElement,setTimeout(function(){h.content?(h._addClassToMFP(v),h._setFocus()):h.bgOverlay.addClass(v),d.on("focusin"+g,h._onFocusIn)},16),h.isOpen=!0,h.updateSize(a),x(m),t}h.updateItemHTML()},close:function(){h.isOpen&&(x(c),h.isOpen=!1,h.st.removalDelay&&!h.isLowIE&&h.supportsTransition?(h._addClassToMFP(s),setTimeout(function(){h._close()},h.st.removalDelay)):h._close())},_close:function(){x(l);var t=s+" "+v+" ";if(h.bgOverlay.detach(),h.wrap.detach(),h.container.empty(),h.st.mainClass&&(t+=h.st.mainClass+" "),h._removeClassFromMFP(t),h.fixedContentPos){var e={marginRight:""};h.isIE7?u("body, html").css("overflow",""):e.overflow="",u("html").css(e)}d.off("keyup.mfp focusin"+g),h.ev.off(g),h.wrap.attr("class","mfp-wrap").removeAttr("style"),h.bgOverlay.attr("class","mfp-bg"),h.container.attr("class","mfp-container"),!h.st.showCloseBtn||h.st.closeBtnInside&&!0!==h.currTemplate[h.currItem.type]||h.currTemplate.closeBtn&&h.currTemplate.closeBtn.detach(),h._lastFocusedEl&&u(h._lastFocusedEl).focus(),h.currItem=null,h.content=null,h.currTemplate=null,h.prevHeight=0,x("AfterClose")},updateSize:function(t){if(h.isIOS){var e=document.documentElement.clientWidth/window.innerWidth,i=window.innerHeight*e;h.wrap.css("height",i),h.wH=i}else h.wH=t||y.height();h.fixedContentPos||h.wrap.css("height",h.wH),x("Resize")},updateItemHTML:function(){var t=h.items[h.index];h.contentContainer.detach(),h.content&&h.content.detach(),t.parsed||(t=h.parseEl(h.index));var e=t.type;if(x("BeforeChange",[h.currItem?h.currItem.type:"",e]),h.currItem=t,!h.currTemplate[e]){var i=!!h.st[e]&&h.st[e].markup;x("FirstMarkupParse",i),h.currTemplate[e]=!i||u(i)}o&&o!==t.type&&h.container.removeClass("mfp-"+o+"-holder");var n=h["get"+e.charAt(0).toUpperCase()+e.slice(1)](t,h.currTemplate[e]);h.appendContent(n,e),t.preloaded=!0,x("Change",t),o=t.type,h.container.prepend(h.contentContainer),x("AfterChange")},appendContent:function(t,e){(h.content=t)?h.st.showCloseBtn&&h.st.closeBtnInside&&!0===h.currTemplate[e]?h.content.find(".mfp-close").length||h.content.append(C()):h.content=t:h.content="",x("BeforeAppend"),h.container.addClass("mfp-"+e+"-holder"),h.contentContainer.append(h.content)},parseEl:function(t){var e=h.items[t],i=e.type;if((e=e.tagName?{el:u(e)}:{data:e,src:e.src}).el){for(var n=h.types,o=0;o<n.length;o++)if(e.el.hasClass("mfp-"+n[o])){i=n[o];break}e.src=e.el.attr("data-mfp-src"),e.src||(e.src=e.el.attr("href"))}return e.type=i||h.st.type||"inline",e.index=t,e.parsed=!0,h.items[t]=e,x("ElementParse",e),h.items[t]},addGroup:function(e,i){var t=function(t){t.mfpEl=this,h._openClick(t,e,
1i)};i||(i={});var n="click.magnificPopup";i.mainEl=e,i.items?(i.isObj=!0,e.off(n).on(n,t)):(i.isObj=!1,i.delegate?e.off(n).on(n,i.delegate,t):(i.items=e).off(n).on(n,t))},_openClick:function(t,e,i){if((void 0!==i.midClick?i.midClick:u.magnificPopup.defaults.midClick)||2!==t.which&&!t.ctrlKey&&!t.metaKey){var n=void 0!==i.disableOn?i.disableOn:u.magnificPopup.defaults.disableOn;if(n)if(u.isFunction(n)){if(!n.call(h))return!0}else if(y.width()<n)return!0;t.type&&(t.preventDefault(),h.isOpen&&t.stopPropagation()),i.el=u(t.mfpEl),i.delegate&&(i.items=e.find(i.delegate)),h.open(i)}},updateStatus:function(t,e){if(h.preloader){n!==t&&h.container.removeClass("mfp-s-"+n),e||"loading"!==t||(e=h.st.tLoading);var i={status:t,text:e};x("UpdateStatus",i),t=i.status,e=i.text,h.preloader.html(e),h.preloader.find("a").on("click",function(t){t.stopImmediatePropagation()}),h.container.addClass("mfp-s-"+t),n=t}},_checkIfClose:function(t){if(!u(t).hasClass(a)){var e=h.st.closeOnContentClick,i=h.st.closeOnBgClick;if(e&&i)return!0;if(!h.content||u(t).hasClass("mfp-close")||h.preloader&&t===h.preloader[0])return!0;if(t===h.content[0]||u.contains(h.content[0],t)){if(e)return!0}else if(i&&u.contains(document,t))return!0;return!1}},_addClassToMFP:function(t){h.bgOverlay.addClass(t),h.wrap.addClass(t)},_removeClassFromMFP:function(t){this.bgOverlay.removeClass(t),h.wrap.removeClass(t)},_hasScrollBar:function(t){return(h.isIE7?d.height():document.body.scrollHeight)>(t||y.height())},_setFocus:function(){(h.st.focus?h.content.find(h.st.focus).eq(0):h.wrap).focus()},_onFocusIn:function(t){if(t.target!==h.wrap[0]&&!u.contains(h.wrap[0],t.target))return h._setFocus(),!1},_parseMarkup:function(o,t,e){var s;e.data&&(t=u.extend(e.data,t)),x(f,[o,t,e]),u.each(t,function(t,e){if(void 0===e||!1===e)return!0;if(1<(s=t.split("_")).length){var i=o.find(g+"-"+s[0]);if(0<i.length){var n=s[1];"replaceWith"===n?i[0]!==e[0]&&i.replaceWith(e):"img"===n?i.is("img")?i.attr("src",e):i.replaceWith('<img src="'+e+'" class="'+i.attr("class")+'" />'):i.attr(s[1],e)}}else o.find(g+"-"+t).html(e)})},_getScrollbarSize:function(){if(void 0===h.scrollbarSize){var t=document.createElement("div");t.id="mfp-sbm",t.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(t),h.scrollbarSize=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return h.scrollbarSize}},u.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(t,e){return S(),(t=t?u.extend(!0,{},t):{}).isObj=!0,t.index=e||0,this.instance.open(t)},close:function(){return u.magnificPopup.instance&&u.magnificPopup.instance.close()},registerModule:function(t,e){e.options&&(u.magnificPopup.defaults[t]=e.options),u.extend(this.proto,e.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">×</button>',tClose:"Close (Esc)",tLoading:"Loading..."}},u.fn.magnificPopup=function(t){S();var e=u(this);if("string"==typeof t)if("open"===t){var i,n=r?e.data("magnificPopup"):e[0].magnificPopup,o=parseInt(arguments[1],10)||0;i=n.items?n.items[o]:(i=e,n.delegate&&(i=i.find(n.delegate)),i.eq(o)),h._openClick({mfpEl:i},e,n)}else h.isOpen&&h[t].apply(h,Array.prototype.slice.call(arguments,1));else t=u.extend(!0,{},t),r?e.data("magnificPopup",t):e[0].magnificPopup=t,h.addGroup(e,t);return e};var T,k,A,E="inline",j=function(){A&&(k.after(A.addClass(T)).detach(),A=null)};u.magnificPopup.registerModule(E,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){h.types.push(E),b(l+"."+E,function(){j()})},getInline:function(t,e){if(j(),t.src){var i=h.st.inline,n=u(t.src);if(n.length){var o=n[0].parentNode;o&&o.tagName&&(k||(T=i.hiddenClass,k=w(T),T="mfp-"+T),A=n.after(k).detach().removeClass(T)),h.updateStatus("ready")}else h.updateStatus("error",i.tNotFound),n=u("<div>");return t.inlineElement=n}return h.updateStatus("ready"),h._parseMarkup(e,{},t),e}}});var P,M="ajax",F=function(){P&&i.removeClass(P)},L=function(){F(),h.req&&h.req.abort()};u.magnificPopup.registerModule(M,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){h.types.push(M),P=h.st.ajax.cursor,b(l+"."+M,L),b("BeforeChange."+M,L)},getAjax:function(o){P&&i.addClass(P),h.updateStatus("loading");
1var t=u.extend({url:o.src,success:function(t,e,i){var n={data:t,xhr:i};x("ParseAjax",n),h.appendContent(u(n.data),M),o.finished=!0,F(),h._setFocus(),setTimeout(function(){h.wrap.addClass(v)},16),h.updateStatus("ready"),x("AjaxContentAdded")},error:function(){F(),o.finished=o.loadError=!0,h.updateStatus("error",h.st.ajax.tError.replace("%url%",o.src))}},h.st.ajax.settings);return h.req=u.ajax(t),""}}});var I;u.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var t=h.st.image,e=".image";h.types.push("image"),b(m+e,function(){"image"===h.currItem.type&&t.cursor&&i.addClass(t.cursor)}),b(l+e,function(){t.cursor&&i.removeClass(t.cursor),y.off("resize"+g)}),b("Resize"+e,h.resizeImage),h.isLowIE&&b("AfterChange",h.resizeImage)},resizeImage:function(){var t=h.currItem;if(t&&t.img&&h.st.image.verticalFit){var e=0;h.isLowIE&&(e=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",h.wH-e)}},_onImageHasSize:function(t){t.img&&(t.hasSize=!0,I&&clearInterval(I),t.isCheckingImgSize=!1,x("ImageHasSize",t),t.imgHidden&&(h.content&&h.content.removeClass("mfp-loading"),t.imgHidden=!1))},findImageSize:function(e){var i=0,n=e.img[0],o=function(t){I&&clearInterval(I),I=setInterval(function(){0<n.naturalWidth?h._onImageHasSize(e):(200<i&&clearInterval(I),3===++i?o(10):40===i?o(50):100===i&&o(500))},t)};o(1)},getImage:function(t,e){var i=0,n=function(){t&&(t.img[0].complete?(t.img.off(".mfploader"),t===h.currItem&&(h._onImageHasSize(t),h.updateStatus("ready")),t.hasSize=!0,t.loaded=!0,x("ImageLoadComplete")):++i<200?setTimeout(n,100):o())},o=function(){t&&(t.img.off(".mfploader"),t===h.currItem&&(h._onImageHasSize(t),h.updateStatus("error",s.tError.replace("%url%",t.src))),t.hasSize=!0,t.loaded=!0,t.loadError=!0)},s=h.st.image,a=e.find(".mfp-img");if(a.length){var r=document.createElement("img");r.className="mfp-img",t.img=u(r).on("load.mfploader",n).on("error.mfploader",o),r.src=t.src,a.is("img")&&(t.img=t.img.clone()),0<t.img[0].naturalWidth&&(t.hasSize=!0)}return h._parseMarkup(e,{title:function(t){if(t.data&&void 0!==t.data.title)return t.data.title;var e=h.st.image.titleSrc;if(e){if(u.isFunction(e))return e.call(h,t);if(t.el)return t.el.attr(e)||""}return""}(t),img_replaceWith:t.img},t),h.resizeImage(),t.hasSize?(I&&clearInterval(I),t.loadError?(e.addClass("mfp-loading"),h.updateStatus("error",s.tError.replace("%url%",t.src))):(e.removeClass("mfp-loading"),h.updateStatus("ready"))):(h.updateStatus("loading"),t.loading=!0,t.hasSize||(t.imgHidden=!0,e.addClass("mfp-loading"),h.findImageSize(t))),e}}});var N;u.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(t){return t.is("img")?t:t.find("img")}},proto:{initZoom:function(){var t,s=h.st.zoom,e=".zoom";if(s.enabled&&h.supportsTransition){var i,n,o=s.duration,a=function(t){var e=t.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),i="all "+s.duration/1e3+"s "+s.easing,n={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},o="transition";return n["-webkit-"+o]=n["-moz-"+o]=n["-o-"+o]=n[o]=i,e.css(n),e},r=function(){h.content.css("visibility","visible")};b("BuildControls"+e,function(){if(h._allowZoom()){if(clearTimeout(i),h.content.css("visibility","hidden"),!(t=h._getItemToZoom()))return void r();(n=a(t)).css(h._getOffset()),h.wrap.append(n),i=setTimeout(function(){n.css(h._getOffset(!0)),i=setTimeout(function(){r(),setTimeout(function(){n.remove(),t=n=null,x("ZoomAnimationEnded")},16)},o)},16)}}),b(c+e,function(){if(h._allowZoom()){if(clearTimeout(i),h.st.removalDelay=o,!t){if(!(t=h._getItemToZoom()))return;n=a(t)}n.css(h._getOffset(!0)),h.wrap.append(n),h.content.css("visibility","hidden"),setTimeout(function(){n.css(h._getOffset())},16)}}
1),b(l+e,function(){h._allowZoom()&&(r(),n&&n.remove(),t=null)})}},_allowZoom:function(){return"image"===h.currItem.type},_getItemToZoom:function(){return!!h.currItem.hasSize&&h.currItem.img},_getOffset:function(t){var e,i=(e=t?h.currItem.img:h.st.zoom.opener(h.currItem.el||h.currItem)).offset(),n=parseInt(e.css("padding-top"),10),o=parseInt(e.css("padding-bottom"),10);i.top-=u(window).scrollTop()-n;var s={width:e.width(),height:(r?e.innerHeight():e[0].offsetHeight)-o-n};return void 0===N&&(N=void 0!==document.createElement("p").style.MozTransform),N?s["-moz-transform"]=s.transform="translate("+i.left+"px,"+i.top+"px)":(s.left=i.left,s.top=i.top),s}}});var B="iframe",D=function(t){if(h.currTemplate[B]){var e=h.currTemplate[B].find("iframe");e.length&&(t||(e[0].src="//about:blank"),h.isIE8&&e.css("display",t?"block":"none"))}};u.magnificPopup.registerModule(B,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){h.types.push(B),b("BeforeChange",function(t,e,i){e!==i&&(e===B?D():i===B&&D(!0))}),b(l+"."+B,function(){D()})},getIframe:function(t,e){var i=t.src,n=h.st.iframe;u.each(n.patterns,function(){if(-1<i.indexOf(this.index))return this.id&&(i="string"==typeof this.id?i.substr(i.lastIndexOf(this.id)+this.id.length,i.length):this.id.call(this,i)),i=this.src.replace("%id%",i),!1});var o={};return n.srcAction&&(o[n.srcAction]=i),h._parseMarkup(e,o,t),h.updateStatus("ready"),e}}});var R=function(t){var e=h.items.length;return e-1<t?t-e:t<0?e+t:t},O=function(t,e,i){return t.replace(/%curr%/gi,e+1).replace(/%total%/gi,i)};u.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var s=h.st.gallery,t=".mfp-gallery",o=Boolean(u.fn.mfpFastClick);if(h.direction=!0,!s||!s.enabled)return!1;p+=" mfp-gallery",b(m+t,function(){s.navigateByImgClick&&h.wrap.on("click"+t,".mfp-img",function(){if(1<h.items.length)return h.next(),!1}),d.on("keydown"+t,function(t){37===t.keyCode?h.prev():39===t.keyCode&&h.next()})}),b("UpdateStatus"+t,function(t,e){e.text&&(e.text=O(e.text,h.currItem.index,h.items.length))}),b(f+t,function(t,e,i,n){var o=h.items.length;i.counter=1<o?O(s.tCounter,n.index,o):""}),b("BuildControls"+t,function(){if(1<h.items.length&&s.arrows&&!h.arrowLeft){var t=s.arrowMarkup,e=h.arrowLeft=u(t.replace(/%title%/gi,s.tPrev).replace(/%dir%/gi,"left")).addClass(a),i=h.arrowRight=u(t.replace(/%title%/gi,s.tNext).replace(/%dir%/gi,"right")).addClass(a),n=o?"mfpFastClick":"click";e[n](function(){h.prev()}),i[n](function(){h.next()}),h.isIE7&&(w("b",e[0],!1,!0),w("a",e[0],!1,!0),w("b",i[0],!1,!0),w("a",i[0],!1,!0)),h.container.append(e.add(i))}}),b("Change"+t,function(){h._preloadTimeout&&clearTimeout(h._preloadTimeout),h._preloadTimeout=setTimeout(function(){h.preloadNearbyImages(),h._preloadTimeout=null},16)}),b(l+t,function(){d.off(t),h.wrap.off("click"+t),h.arrowLeft&&o&&h.arrowLeft.add(h.arrowRight).destroyMfpFastClick(),h.arrowRight=h.arrowLeft=null})},next:function(){h.direction=!0,h.index=R(h.index+1),h.updateItemHTML()},prev:function(){h.direction=!1,h.index=R(h.index-1),h.updateItemHTML()},goTo:function(t){h.direction=t>=h.index,h.index=t,h.updateItemHTML()},preloadNearbyImages:function(){var t,e=h.st.gallery.preload,i=Math.min(e[0],h.items.length),n=Math.min(e[1],h.items.length);for(t=1;t<=(h.direction?n:i);t++)h._preloadItem(h.index+t);for(t=1;t<=(h.direction?i:n);t++)h._preloadItem(h.index-t)},_preloadItem:function(t){if(t=R(t),!h.items[t].preloaded){var e=h.items[t];e.parsed||(e=h.parseEl(t)),x("LazyLoad",e),"image"===e.type&&(e.img=u('<img class="mfp-img" />').on("load.mfploader",function(){e.hasSize=!0}).on("error.mfploader",function(){e.hasSize=!0,e.loadError=!0,x("LazyLoadError",e)}).attr("src",e.src)),e.preloaded=!0}}}});var z,W,H,_="retina";u.magnificPopup.registerModule(_,{options:{replaceSrc:function(t){return t.src.replace(/\.\w+$/,function(t){return"@2x"+t})},ratio:1},proto:{initRetina:function(){if(1<window.devicePixelRatio){var i=h.st.retina,n=i.ratio;1<(n=isNaN(n)?n():n)&&(b("ImageHasSize."+_,function(t,e){e.img.css({"max-width":e.img[0].naturalWi
1dth/n,width:"100%"})}),b("ElementParse."+_,function(t,e){e.src=i.replaceSrc(e,n)}))}}}}),z="ontouchstart"in window,W=function(){y.off("touchmove"+H+" touchend"+H)},H=".mfpFastClick",u.fn.mfpFastClick=function(l){return u(this).each(function(){var e,i,n,o,s,a,r,t=u(this);z&&t.on("touchstart"+H,function(t){s=!1,r=1,a=t.originalEvent?t.originalEvent.touches[0]:t.touches[0],n=a.clientX,o=a.clientY,y.on("touchmove"+H,function(t){a=t.originalEvent?t.originalEvent.touches:t.touches,r=a.length,a=a[0],(10<Math.abs(a.clientX-n)||10<Math.abs(a.clientY-o))&&(s=!0,W())}).on("touchend"+H,function(t){W(),s||1<r||(e=!0,t.preventDefault(),clearTimeout(i),i=setTimeout(function(){e=!1},1e3),l())})}),t.on("click"+H,function(){e||l()})})},u.fn.destroyMfpFastClick=function(){u(this).off("touchstart"+H+" click"+H),z&&y.off("touchmove"+H+" touchend"+H)},S()}(window.jQuery||window.Zepto),function(t,e){"object"==typeof exports?module.exports=e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e(t.jQuery)}(this,function(i){var a=function(t,a){var i,e=document.createElement("canvas");t.appendChild(e),"undefined"!=typeof G_vmlCanvasManager&&G_vmlCanvasManager.initElement(e);var o=e.getContext("2d");e.width=e.height=a.size;var n=1;1<window.devicePixelRatio&&(n=window.devicePixelRatio,e.style.width=e.style.height=[a.size,"px"].join(""),e.width=e.height=a.size*n,o.scale(n,n)),o.translate(a.size/2,a.size/2),o.rotate((a.rotate/180-.5)*Math.PI);var s=(a.size-a.lineWidth)/2;a.scaleColor&&a.scaleLength&&(s-=a.scaleLength+2),Date.now=Date.now||function(){return+new Date};var r=function(t,e,i){var n=(i=Math.min(Math.max(-1,i||0),1))<=0;o.beginPath(),o.arc(0,0,s,0,2*Math.PI*i,n),o.strokeStyle=t,o.lineWidth=e,o.stroke()},l=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)},c=function(){a.scaleColor&&function(){var t,e;o.lineWidth=1,o.fillStyle=a.scaleColor,o.save();for(var i=24;0<i;--i)t=i%6==0?(e=a.scaleLength,0):(e=.6*a.scaleLength,a.scaleLength-e),o.fillRect(-a.size/2+t,0,e,1),o.rotate(Math.PI/12);o.restore()}(),a.trackColor&&r(a.trackColor,a.lineWidth,1)};this.getCanvas=function(){return e},this.getCtx=function(){return o},this.clear=function(){o.clearRect(a.size/-2,a.size/-2,a.size,a.size)},this.draw=function(t){var e;a.scaleColor||a.trackColor?o.getImageData&&o.putImageData?i?o.putImageData(i,0,0):(c(),i=o.getImageData(0,0,a.size*n,a.size*n)):(this.clear(),c()):this.clear(),o.lineCap=a.lineCap,e="function"==typeof a.barColor?a.barColor(t):a.barColor,r(e,a.lineWidth,t/100)}.bind(this),this.animate=function(i,n){var o=Date.now();a.onStart(i,n);var s=function(){var t=Math.min(Date.now()-o,a.animate.duration),e=a.easing(this,t,i,n-i,a.animate.duration);this.draw(e),a.onStep(i,n,e),t>=a.animate.duration?a.onStop(i,n):l(s)}.bind(this);l(s)}.bind(this)},n=function(e,i){var n={barColor:"#ef1e25",trackColor:"#f9f9f9",scaleColor:"#dfe0e0",scaleLength:5,lineCap:"round",lineWidth:3,size:110,rotate:0,animate:{duration:1e3,enabled:!0},easing:function(t,e,i,n,o){return(e/=o/2)<1?n/2*e*e+i:-n/2*(--e*(e-2)-1)+i},onStart:function(t,e){},onStep:function(t,e,i){},onStop:function(t,e){}};if(void 0!==a)n.renderer=a;else{if("undefined"==typeof SVGRenderer)throw new Error("Please load either the SVG- or the CanvasRenderer");n.renderer=SVGRenderer}var o={},s=0,t=function(){for(var t in this.el=e,this.options=o,n)n.hasOwnProperty(t)&&(o[t]=i&&void 0!==i[t]?i[t]:n[t],"function"==typeof o[t]&&(o[t]=o[t].bind(this)));"string"==typeof o.easing&&"undefined"!=typeof jQuery&&jQuery.isFunction(jQuery.easing[o.easing])?o.easing=jQuery.easing[o.easing]:o.easing=n.easing,"number"==typeof o.animate&&(o.animate={duration:o.animate,enabled:!0}),"boolean"!=typeof o.animate||o.animate||(o.animate={duration:1e3,enabled:o.animate}),this.renderer=new o.renderer(e,o),this.renderer.draw(s),e.dataset&&e.dataset.percent?this.update(parseFloat(e.dataset.percent)):e.getAttribute&&e.getAttribute("data-percent")&&this.update(parseFloat(e.getAttribute("data-percent")))}.bind(this);this.update=function(t){return t=parseFloat(t),o.animate.enabled?this.renderer.animate(s,t):this.renderer.draw(t),s=t,this}.bind(this),this.disableAnimation=function(){return o.animate.enabled=!1,this},this.enableAnimation=function(){return o.animate.enabled=!0,this},t()};i.fn.easyPieChart=function(e){return this.each(function(){var t;i.data(this,"easyPieChart")||(t=i.extend({},e,i(this).data()),i.data(this,"easyPieChart",new n(this,t)))})}}),function(){var e,i,t=[].indexOf||function(t){for(var e=0,i=this.length;e<i;e++)if(e in this&&this[e]===t)return e;return-1},b=[].slice;e=window,i=function(l,s){var e,a,r,c,i,u,h,o,d,n,p,f,m,g,v,y;return e=l(s),o=0<=t.call(s,"ontouchstart"),c={horizontal:{},vertical:{}},h={},u="waypoints-context-id",p="resize.waypoints",f="scroll.waypoints",m=i=1,g="waypoints-waypoint-ids",v="waypoint",y="wayp
1oints",a=function(){function t(t){var e=this;this.$element=t,this.element=t[0],this.didResize=!1,this.didScroll=!1,this.id="context"+i++,this.oldScroll={x:t.scrollLeft(),y:t.scrollTop()},this.waypoints={horizontal:{},vertical:{}},this.element[u]=this.id,h[this.id]=this,t.bind(f,function(){var t;if(!e.didScroll&&!o)return e.didScroll=!0,t=function(){return e.doScroll(),e.didScroll=!1},s.setTimeout(t,l[y].settings.scrollThrottle)}),t.bind(p,function(){var t;if(!e.didResize)return e.didResize=!0,t=function(){return l[y]("refresh"),e.didResize=!1},s.setTimeout(t,l[y].settings.resizeThrottle)})}return t.prototype.doScroll=function(){var t,n=this;return t={horizontal:{newScroll:this.$element.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.$element.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}},!o||t.vertical.oldScroll&&t.vertical.newScroll||l[y]("refresh"),l.each(t,function(t,o){var i,e,s;return s=[],e=o.newScroll>o.oldScroll,i=e?o.forward:o.backward,l.each(n.waypoints[t],function(t,e){var i,n;return o.oldScroll<(i=e.offset)&&i<=o.newScroll?s.push(e):o.newScroll<(n=e.offset)&&n<=o.oldScroll?s.push(e):void 0}),s.sort(function(t,e){return t.offset-e.offset}),e||s.reverse(),l.each(s,function(t,e){if(e.options.continuous||t===s.length-1)return e.trigger([i])})}),this.oldScroll={x:t.horizontal.newScroll,y:t.vertical.newScroll}},t.prototype.refresh=function(){var t,e,i,n=this;return i=l.isWindow(this.element),e=this.$element.offset(),this.doScroll(),t={horizontal:{contextOffset:i?0:e.left,contextScroll:i?0:this.oldScroll.x,contextDimension:this.$element.width(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:i?0:e.top,contextScroll:i?0:this.oldScroll.y,contextDimension:i?l[y]("viewportHeight"):this.$element.height(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}},l.each(t,function(t,r){return l.each(n.waypoints[t],function(t,e){var i,n,o,s,a;if(i=e.options.offset,o=e.offset,n=l.isWindow(e.element)?0:e.$element.offset()[r.offsetProp],l.isFunction(i)?i=i.apply(e.element):"string"==typeof i&&(i=parseFloat(i),-1<e.options.offset.indexOf("%")&&(i=Math.ceil(r.contextDimension*i/100))),e.offset=n-r.contextOffset+r.contextScroll-i,(!e.options.onlyOnScroll||null==o)&&e.enabled)return null!==o&&o<(s=r.oldScroll)&&s<=e.offset?e.trigger([r.backward]):null!==o&&o>(a=r.oldScroll)&&a>=e.offset?e.trigger([r.forward]):null===o&&r.oldScroll>=e.offset?e.trigger([r.forward]):void 0})})},t.prototype.checkEmpty=function(){if(l.isEmptyObject(this.waypoints.horizontal)&&l.isEmptyObject(this.waypoints.vertical))return this.$element.unbind([p,f].join(" ")),delete h[this.id]},t}(),r=function(){function t(t,e,i){var n,o;"bottom-in-view"===i.offset&&(i.offset=function(){var t;return t=l[y]("viewportHeight"),l.isWindow(e.element)||(t=e.$element.height()),t-l(this).outerHeight()}),this.$element=t,this.element=t[0],this.axis=i.horizontal?"horizontal":"vertical",this.callback=i.handler,this.context=e,this.enabled=i.enabled,this.id="waypoints"+m++,this.offset=null,this.options=i,e.waypoints[this.axis][this.id]=this,(n=null!=(o=(c[this.axis][this.id]=this).element[g])?o:[]).push(this.id),this.element[g]=n}return t.prototype.trigger=function(t){if(this.enabled)return null!=this.callback&&this.callback.apply(this.element,t),this.options.triggerOnce?this.destroy():void 0},t.prototype.disable=function(){return this.enabled=!1},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0},t.prototype.destroy=function(){return delete c[this.axis][this.id],delete this.context.waypoints[this.axis][this.id],this.context.checkEmpty()},t.getWaypointsByElement=function(t){var e,i;return(i=t[g])?(e=l.extend({},c.horizontal,c.vertical),l.map(i,function(t){return e[t]})):[]},t}(),n={init:function(t,o){return null==(o=l.extend({},l.fn[v].defaults,o)).handler&&(o.handler=t),this.each(function(){var t,e,i,n;return t=l(this),i=null!=(n=o.context)?n:l.fn[v].defaults.context,l.isWindow(i)||(i=t.closest(i)),i=l(i),(e=h[i[0][u]])||(e=new a(i)),new r(t,e,o)}),l[y]("refresh"),this},disable:function(){return n._invoke.call(this,"disable")},enable:function(){return n._invoke.call(this,"enable")},destroy:function(){return n._invoke.call(this,"destroy")},prev:function(t,e){return n._traverse.call(this,t,e,function(t,e,
1i){if(0<e)return t.push(i[e-1])})},next:function(t,e){return n._traverse.call(this,t,e,function(t,e,i){if(e<i.length-1)return t.push(i[e+1])})},_traverse:function(e,t,i){var n,o;return null==e&&(e="vertical"),null==t&&(t=s),o=d.aggregate(t),n=[],this.each(function(){var t;return t=l.inArray(this,o[e]),i(n,t,o[e])}),this.pushStack(n)},_invoke:function(i){return this.each(function(){var t;return t=r.getWaypointsByElement(this),l.each(t,function(t,e){return e[i](),!0})}),this}},l.fn[v]=function(){var t,e;return e=arguments[0],t=2<=arguments.length?b.call(arguments,1):[],n[e]?n[e].apply(this,t):l.isFunction(e)?n.init.apply(this,arguments):l.isPlainObject(e)?n.init.apply(this,[null,e]):e?l.error("The "+e+" method does not exist in jQuery Waypoints."):l.error("jQuery Waypoints needs a callback function or handler option.")},l.fn[v].defaults={context:s,continuous:!0,enabled:!0,horizontal:!1,offset:0,triggerOnce:!1},d={refresh:function(){return l.each(h,function(t,e){return e.refresh()})},viewportHeight:function(){var t;return null!=(t=s.innerHeight)?t:e.height()},aggregate:function(t){var e,n,i;return e=c,t&&(e=null!=(i=h[l(t)[0][u]])?i.waypoints:void 0),e?(n={horizontal:[],vertical:[]},l.each(n,function(t,i){return l.each(e[t],function(t,e){return i.push(e)}),i.sort(function(t,e){return t.offset-e.offset}),n[t]=l.map(i,function(t){return t.element}),n[t]=l.unique(n[t])}),n):[]},above:function(t){return null==t&&(t=s),d._filter(t,"vertical",function(t,e){return e.offset<=t.oldScroll.y})},below:function(t){return null==t&&(t=s),d._filter(t,"vertical",function(t,e){return e.offset>t.oldScroll.y})},left:function(t){return null==t&&(t=s),d._filter(t,"horizontal",function(t,e){return e.offset<=t.oldScroll.x})},right:function(t){return null==t&&(t=s),d._filter(t,"horizontal",function(t,e){return e.offset>t.oldScroll.x})},enable:function(){return d._invoke("enable")},disable:function(){return d._invoke("disable")},destroy:function(){return d._invoke("destroy")},extendFn:function(t,e){return n[t]=e},_invoke:function(i){var t;return t=l.extend({},c.vertical,c.horizontal),l.each(t,function(t,e){return e[i](),!0})},_filter:function(t,e,i){var n,o;return(n=h[l(t)[0][u]])?(o=[],l.each(n.waypoints[e],function(t,e){if(i(n,e))return o.push(e)}),o.sort(function(t,e){return t.offset-e.offset}),l.map(o,function(t){return t.element})):[]}},l[y]=function(){var t,e;return e=arguments[0],t=2<=arguments.length?b.call(arguments,1):[],d[e]?d[e].apply(null,t):d.aggregate.call(null,e)},l[y].settings={resizeThrottle:100,scrollThrottle:30},e.on("load.waypoints",function(){return l[y]("refresh")})},"function"==typeof define&&define.amd?define("waypoints",["jquery"],function(t){return i(t,e)}):i(e.jQuery,e)}.call(this),function(){var t,e;t=window,e=function(a){var e,i;return e={wrapper:'<div class="sticky-wrapper" />',stuckClass:"stuck",direction:"down right"},i=function(t,e){return t.wrap(e.wrapper),t.parent().data("isWaypointStickyWrapper",!0)},a.waypoints("extendFn","sticky",function(t){var n,o,s;return o=a.extend({},a.fn.waypoint.defaults,e,t),n=i(this,o),s=o.handler,o.handler=function(t){var e,i;if(e=a(this).children(":first"),i=-1!==o.direction.indexOf(t),e.toggleClass(o.stuckClass,i),n.height(i?e.outerHeight():""),null!=s)return s.call(this,t)},n.waypoint(o),this.data("stuckClass",o.stuckClass)}),a.waypoints("extendFn","unsticky",function(){var t;return(t=this.parent()).data("isWaypointStickyWrapper")?(t.waypoint("destroy"),this.unwrap(),this.removeClass(this.data("stuckClass"))):this})},"function"==typeof define&&define.amd?define(["jquery","waypoints"],e):e(t.jQuery)}.call(this),function(){"use strict";function t(){}var e=t.prototype;function s(t,e){for(var i=t.length;i--;)if(t[i].listener===e)return i;return-1}e.getListeners=function(t){var e,i,n=this._getEvents();if("object"==typeof t)for(i in e={},n)n.hasOwnProperty(i)&&t.test(i)&&(e[i]=n[i]);else e=n[t]||(n[t]=[]);return e},e.flattenListeners=function(t){var e,i=[];for(e=0;e<t.length;e+=1)i.push(t[e].listener);return i},e.getListenersAsObject=function(t){var e,i=this.getListeners(t);return i instanceof Array&&((e={})[t]=i),e||i},e.addListener=function(t,e){var i,n=this.getListenersAsObject(t),o="object"==typeof e;for(i in n)n.hasOwnProperty(i)&&-1===s(n[i],e)&&n[i].push(o?e:{listener:e,once:!1});return this},e.on=e.addListener,e.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},e.once=e.addOnceListener,e.defineEvent=function(t){return this.getListeners(t),this},e.defineEvents=function(t){for(var e=0;e<t.length;e+=1)this.defineEvent(t[e]);return this},e.removeListener=function(t,e){var i,n,o=this.getListenersAsObject(t);for(n in o)o.hasOwnProperty(n)&&-1!==(i=s(o[n],e))&&o[n].splice(i,1);return this},e.off=e.removeListener,e.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},e.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)}
1,e.manipulateListeners=function(t,e,i){var n,o,s=t?this.removeListener:this.addListener,a=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(n=i.length;n--;)s.call(this,e,i[n]);else for(n in e)e.hasOwnProperty(n)&&(o=e[n])&&("function"==typeof o?s.call(this,n,o):a.call(this,n,o));return this},e.removeEvent=function(t){var e,i=typeof t,n=this._getEvents();if("string"===i)delete n[t];else if("object"===i)for(e in n)n.hasOwnProperty(e)&&t.test(e)&&delete n[e];else delete this._events;return this},e.emitEvent=function(t,e){var i,n,o,s=this.getListenersAsObject(t);for(o in s)if(s.hasOwnProperty(o))for(n=s[o].length;n--;)(i=s[o][n]).listener.apply(this,e||[])!==this._getOnceReturnValue()&&!0!==i.once||this.removeListener(t,s[o][n].listener);return this},e.trigger=e.emitEvent,e.emit=function(t){var e=Array.prototype.slice.call(arguments,1);return this.emitEvent(t,e)},e.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},e._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},e._getEvents=function(){return this._events||(this._events={})},"function"==typeof define&&define.amd?define(function(){return t}):"undefined"!=typeof module&&module.exports?module.exports=t:this.EventEmitter=t}.call(this),function(n){"use strict";var t=document.documentElement,e=function(){};t.addEventListener?e=function(t,e,i){t.addEventListener(e,i,!1)}:t.attachEvent&&(e=function(e,t,i){e[t+i]=i.handleEvent?function(){var t=n.event;t.target=t.target||t.srcElement,i.handleEvent.call(i,t)}:function(){var t=n.event;t.target=t.target||t.srcElement,i.call(e,t)},e.attachEvent("on"+t,e[t+i])});var i=function(){};t.removeEventListener?i=function(t,e,i){t.removeEventListener(e,i,!1)}:t.detachEvent&&(i=function(e,i,n){e.detachEvent("on"+i,e[i+n]);try{delete e[i+n]}catch(t){e[i+n]=void 0}});var o={bind:e,unbind:i};"function"==typeof define&&define.amd?define(o):n.eventie=o}(this),function(t){"use strict";var a=t.jQuery,r=t.console,l=void 0!==r;function c(t,e){for(var i in e)t[i]=e[i];return t}var s=Object.prototype.toString;function u(t){var e,i=[];if(e=t,"[object Array]"===s.call(e))i=t;else if("number"==typeof t.length)for(var n=0,o=t.length;n<o;n++)i.push(t[n]);else i.push(t);return i}function e(t,i){function o(t,e,i){if(!(this instanceof o))return new o(t,e);"string"==typeof t&&(t=document.querySelectorAll(t)),this.elements=u(t),this.options=c({},this.options),"function"==typeof e?i=e:c(this.options,e),i&&this.on("always",i),this.getImages(),a&&(this.jqDeferred=new a.Deferred);var n=this;setTimeout(function(){n.check()})}(o.prototype=new t).options={},o.prototype.getImages=function(){this.images=[];for(var t=0,e=this.elements.length;t<e;t++){var i=this.elements[t];"IMG"===i.nodeName&&this.addImage(i);for(var n=i.querySelectorAll("img"),o=0,s=n.length;o<s;o++){var a=n[o];this.addImage(a)}}},o.prototype.addImage=function(t){var e=new s(t);this.images.push(e)},o.prototype.check=function(){var i=this,n=0,o=this.images.length;if(this.hasAnyBroken=!1,o)for(var t=0;t<o;t++){var e=this.images[t];e.on("confirm",s),e.check()}else this.complete();function s(t,e){return i.options.debug&&l&&r.log("confirm",t,e),i.progress(t),++n===o&&i.complete(),!0}},o.prototype.progress=function(t){this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded;var e=this;setTimeout(function(){e.emit("progress",e,t),e.jqDeferred&&e.jqDeferred.notify(e,t)})},o.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";this.isComplete=!0;var i=this;setTimeout(function(){if(i.emit(e,i),i.emit("always",i),i.jqDeferred){var t=i.hasAnyBroken?"reject":"resolve";i.jqDeferred[t](i)}})},a&&(a.fn.imagesLoaded=function(t,e){return new o(this,t,e).jqDeferred.promise(a(this))});var n={};function s(t){this.img=t}return(s.prototype=new t).check=function(){var t=n[this.img.src];if(t)this.useCached(t);else if((n[this.img.src]=this).img.complete&&void 0!==this.img.naturalWidth)this.confirm(0!==this.img.naturalWidth,"naturalWidth");else{var e=this.proxyImage=new Image;i.bind(e,"load",this),i.bind(e,"error",this),e.src=this.img.src}},s.prototype.useCached=function(t){if(t.isConfirmed)this.confirm(t.isLoaded,"cached was confirmed");else{var e=this;t.on("confirm",function(t){return e.confirm(t.isLoaded,"cache emitted confirmed"),!0})}},s.prototype.confirm=function(t,e){this.isConfirmed=!0,this.isLoaded=t,this.emit
1("confirm",this,e)},s.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},s.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindProxyEvents()},s.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindProxyEvents()},s.prototype.unbindProxyEvents=function(){i.unbind(this.proxyImage,"load",this),i.unbind(this.proxyImage,"error",this)},o}"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],e):t.imagesLoaded=e(t.EventEmitter,t.eventie)}(window),function(o){"use strict";o.fn.fitVids=function(t){var i={customSelector:null};if(!document.getElementById("fit-vids-style")){var e=document.createElement("div"),n=document.getElementsByTagName("base")[0]||document.getElementsByTagName("script")[0];e.className="fit-vids-style",e.id="fit-vids-style",e.style.display="none",e.innerHTML="­<style>.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}</style>",n.parentNode.insertBefore(e,n)}return t&&o.extend(i,t),this.each(function(){var t=["iframe[src*='player.vimeo.com']","iframe[src*='youtube.com']","iframe[src*='youtube-nocookie.com']","iframe[src*='kickstarter.com'][src*='video.html']","object","embed"];i.customSelector&&t.push(i.customSelector);var e=o(this).find(t.join(","));(e=e.not("object object")).each(function(){var t=o(this);if(!("embed"===this.tagName.toLowerCase()&&t.parent("object").length||t.parent(".fluid-width-video-wrapper").length)){var e=("object"===this.tagName.toLowerCase()||t.attr("height")&&!isNaN(parseInt(t.attr("height"),10))?parseInt(t.attr("height"),10):t.height())/(isNaN(parseInt(t.attr("width"),10))?t.width():parseInt(t.attr("width"),10));if(!t.attr("id")){var i="fitvid"+Math.floor(999999*Math.random());t.attr("id",i)}t.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*e+"%"),t.removeAttr("height").removeAttr("width")}})})}}(window.jQuery||window.Zepto),function(t,e,a){var i,n,o="[object OperaMini]"==Object.prototype.toString.call(t.operamini),s="placeholder"in e.createElement("input")&&!o,r="placeholder"in e.createElement("textarea")&&!o,l=a.fn,c=a.valHooks,u=a.propHooks;function h(t,e){var i=a(this);if(this.value==i.attr("placeholder")&&i.hasClass("placeholder"))if(i.data("placeholder-password")){if(i=i.hide().next().show().attr("id",i.removeAttr("id").data("placeholder-id")),!0===t)return i[0].value=e;i.focus()}else this.value="",i.removeClass("placeholder"),this==p()&&this.select()}function d(){var e,i,n,o,t=a(this),s=this.id;if(""==this.value){if("password"==this.type){if(!t.data("placeholder-textinput")){try{e=t.clone().attr({type:"text"})}catch(t){e=a("<input>").attr(a.extend((i=this,n={},o=/^jQuery\d+$/,a.each(i.attributes,function(t,e){e.specified&&!o.test(e.name)&&(n[e.name]=e.value)}),n),{type:"text"}))}e.removeAttr("name").data({"placeholder-password":t,"placeholder-id":s}).bind("focus.placeholder",h),t.data({"placeholder-textinput":e,"placeholder-id":s}).before(e)}t=t.removeAttr("id").hide().prev().attr("id",s).show()}t.addClass("placeholder"),t[0].value=t.attr("placeholder")}else t.removeClass("placeholder")}function p(){try{return e.activeElement}catch(t){}}s&&r?(n=l.placeholder=function(){return this}).input=n.textarea=!0:((n=l.placeholder=function(){return this.filter((s?"textarea":":input")+"[placeholder]").not(".placeholder").bind({"focus.placeholder":h,"blur.placeholder":d}).data("placeholder-enabled",!0).trigger("blur.placeholder"),this}).input=s,n.textarea=r,i={get:function(t){var e=a(t),i=e.data("placeholder-password");return i?i[0].value:e.data("placeholder-enabled")&&e.hasClass("placeholder")?"":t.value},set:function(t,e){var i=a(t),n=i.data("placeholder-password");return n?n[0].value=e:i.data("placeholder-enabled")?(""==e?(t.value=e,t!=p()&&d.call(t)):i.hasClass("placeholder")&&h.call(t,!0,e)||(t.value=e),i):t.value=e}},s||(c.input=i,u.value=i),r||(c.textarea=i,u.value=i),a(function(){a(e).delegate("form","submit.placeholder",function(){var t=a(".placeholder",this).each(h);setTimeout(function(){t.each(d)},10)})}),a(t).bind("beforeunload.placeholder",function(){a(".placeholder").each(function(){this.value=""})}))}(this,document,jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}
1(function(r){var v=r.scrollTo=function(t,e,i){return r(window).scrollTo(t,e,i)};function i(t){return r.isFunction(t)||"object"==typeof t?t:{top:t,left:t}}return v.defaults={axis:"xy",duration:1.3<=parseFloat(r.fn.jquery)?0:1,limit:!0},v.window=function(t){return r(window)._scrollable()},r.fn._scrollable=function(){return this.map(function(){if(!(!this.nodeName||-1!=r.inArray(this.nodeName.toLowerCase(),["iframe","#document","html","body"])))return this;var t=(this.contentWindow||this).document||this.ownerDocument||this;return/webkit/i.test(navigator.userAgent)||"BackCompat"==t.compatMode?t.body:t.documentElement})},r.fn.scrollTo=function(t,e,g){return"object"==typeof e&&(g=e,e=0),"function"==typeof g&&(g={onAfter:g}),"max"==t&&(t=9e9),g=r.extend({},v.defaults,g),e=e||g.duration,g.queue=g.queue&&1<g.axis.length,g.queue&&(e/=2),g.offset=i(g.offset),g.over=i(g.over),this._scrollable().each(function(){if(null!=t){var l,c=this,u=r(c),h=t,d={},p=u.is("html,body");switch(typeof h){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(h)){h=i(h);break}if(!(h=p?r(h):r(h,this)).length)return;case"object":(h.is||h.style)&&(l=(h=r(h)).offset())}var f=r.isFunction(g.offset)&&g.offset(c,h)||g.offset;r.each(g.axis.split(""),function(t,e){var i="x"==e?"Left":"Top",n=i.toLowerCase(),o="scroll"+i,s=c[o],a=v.max(c,e);if(l)d[o]=l[n]+(p?0:s-u.offset()[n]),g.margin&&(d[o]-=parseInt(h.css("margin"+i))||0,d[o]-=parseInt(h.css("border"+i+"Width"))||0),d[o]+=f[n]||0,g.over[n]&&(d[o]+=h["x"==e?"width":"height"]()*g.over[n]);else{var r=h[n];d[o]=r.slice&&"%"==r.slice(-1)?parseFloat(r)/100*a:r}g.limit&&/^\d+$/.test(d[o])&&(d[o]=d[o]<=0?0:Math.min(d[o],a)),!t&&g.queue&&(s!=d[o]&&m(g.onAfterFirst),delete d[o])}),m(g.onAfter)}function m(t){u.animate(d,e,g.easing,t&&function(){t.call(this,h,g)})}}).end()},v.max=function(t,e){var i="x"==e?"Width":"Height",n="scroll"+i;if(!r(t).is("html,body"))return t[n]-r(t)[i.toLowerCase()]();var o="client"+i,s=t.ownerDocument.documentElement,a=t.ownerDocument.body;return Math.max(s[n],a[n])-Math.min(s[o],a[o])},v}),function(c,u,h){"use strict";u.infinitescroll=function(t,e,i){this.element=u(i),this._create(t,e)||(this.failed=!0)},u.infinitescroll.defaults={loading:{finished:h,finishedMsg:"<em>Congratulations, you've reached the end of the internet.</em>",img:"data:image/gif;base64,R0lGODlh3AATAPQeAPDy+MnQ6LW/4N3h8MzT6rjC4sTM5r/I5NHX7N7j8c7U6tvg8OLl8uXo9Ojr9b3G5MfP6Ovu9tPZ7PT1+vX2+tbb7vf4+8/W69jd7rC73vn5/O/x+K243ai02////wAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQECgD/ACwAAAAA3AATAAAF/6AnjmRpnmiqrmzrvnAsz3Rt33iu73zv/8CgcEj0BAScpHLJbDqf0Kh0Sq1ar9isdioItAKGw+MAKYMFhbF63CW438f0mg1R2O8EuXj/aOPtaHx7fn96goR4hmuId4qDdX95c4+RBIGCB4yAjpmQhZN0YGYGXitdZBIVGAsLoq4BBKQDswm1CQRkcG6ytrYKubq8vbfAcMK9v7q7EMO1ycrHvsW6zcTKsczNz8HZw9vG3cjTsMIYqQkCLBwHCgsMDQ4RDAYIqfYSFxDxEfz88/X38Onr16+Bp4ADCco7eC8hQYMAEe57yNCew4IVBU7EGNDiRn8Z831cGLHhSIgdFf9chIeBg7oA7gjaWUWTVQAGE3LqBDCTlc9WOHfm7PkTqNCh54rePDqB6M+lR536hCpUqs2gVZM+xbrTqtGoWqdy1emValeXKzggYBBB5y1acFNZmEvXAoN2cGfJrTv3bl69Ffj2xZt3L1+/fw3XRVw4sGDGcR0fJhxZsF3KtBTThZxZ8mLMgC3fRatCbYMNFCzwLEqLgE4NsDWs/tvqdezZf13Hvk2A9Szdu2X3pg18N+68xXn7rh1c+PLksI/Dhe6cuO3ow3NfV92bdArTqC2Ebd3A8vjf5QWfH6Bg7Nz17c2fj69+fnq+8N2Lty+fuP78/eV2X13neIcCeBRwxorbZrA1ANoCDGrgoG8RTshahQ9iSKEEzUmYIYfNWViUhheCGJyIP5E4oom7WWjgCeBFAJNv1DVV01MAdJhhjdkplWNzO/5oXI846njjVEIqR2OS2B1pE5PVscajkxhMycqLJghQSwT40PgfAl4GqNSXYdZXJn5gSkmmmmJu1aZYb14V51do+pTOCmA40AqVCIhG5IJ9PvYnhIFOxmdqhpaI6GeHCtpooisuutmg+Eg62KOMKuqoTaXgicQWoIYq6qiklmoqFV0UoeqqrLbq6quwxirrrLTWauutJ4QAACH5BAUKABwALAcABADOAAsAAAX/IPd0D2dyRCoUp/k8gpHOKtseR9yiSmGbuBykler9XLAhkbDavXTL5k2oqFqNOxzUZPU5YYZd1XsD72rZpBjbeh52mSNnMSC8lwblKZGwi+0QfIJ8CncnCoCDgoVnBHmKfByGJimPkIwtiAeBkH6ZHJaKmCeVnKKTHIihg5KNq4uoqmEtcRUtEREMBggtEr4QDrjCuRC8h7/BwxENeicSF8DKy82pyNLMOxzWygzFmdvD2L3P0dze4+Xh1Arkyepi7dfFvvTtLQkZBC0T/FX3CRgCMOBHsJ+EHYQY7OinAGECgQsB+Lu3AOK+CewcWjwxQeJBihtNGHSoQOE+iQ3//4XkwBBhRZMcUS6YSXOAwIL8PGqEaSJCiYt9SNoCmnJPAgUVLChdaoFBURN8MAzl2PQphwQLfDFd6lTowglHve6rKpbjhK7/pG5VinZP1qkiz1rl4+tr2LRwWU64cFEihwEtZgbgR1UiHaMVvxpOSwBA37kzGz9e8G+B5MIEKLutOGEsAH2ATQwYfTmuX8aETWdGPZmiZcccNSzeTCA1Sw0bdiitC7LBWgu8jQr8HRzqgpK6gX88QbrB14z/kF+ELpwB8eVQj/JkqdylAudji/+ts3039vEEfK8Vz2dlvxZKG0CmbkKDBvllRd6fCzDvBLKBDSCeffhRJEFebFk1k/Mv9jVIoIJZSeBggwUaNeB+Qk34IE0cXlihcfRxkOAJFFhwGmKlmWDiakZhUJtnLBpnWWcnKaAZcxI0piFGGLBm1mc90kajSCveeBVWKeYEoU2wqeaQi0PetoE+rr14EpVC7oAbAUHqhYExbn2XHHsVqbcVew9tx8+XJKk5AZsqqdlddGpqAKdbAYBn1pcczmSTdWvdmZ17c1b3FZ99vnTdCRFM8OEcAhLwm1NdXnWcBBSMRWmfkWZqVlsmLIiAp/o1gGV2vpS4lalGYsUOqXrddcKCmK61aZ8SjEpUpVFVoCpTj4r661Km7kBHjrDyc1RAIQAAIfkEBQoAGwAsBwAEAM4ACwAABf/gtmUCd4goQQgFKj6PYKi0yrrbc8i4ohQt12EHcal+MNSQiCP8gigdz7iCioaCIvUmZLp8QBzW0EN2vSlCuDtFKaq4RyHzQLEKZNdiQDhRDVooCwkbfm59EAmKi4SGIm+AjIsKjhsqB4mSjT2IOIOUnICeCaB/mZKFNTSRmqVpmJqklSqskq6PfYYCDwYHDC4REQwGCBLGxxIQDsHMwhAIX8bKzcENgSLGF9PU1j3Sy9zX2NrgzQziChLk1BHWxcjf7N046tvN82715czn9Pryz6Ilc4ACj4EBOCZM8KEnAYYADBRKnACAYUMFv1wotIhCEcaJCisqwJFgAUSQGyX/kCSVUUTIdKMwJlyo0oX
1HlhskwrTJciZHEXsgaqS4s6PJiCAr1uzYU8kBBSgnWFqpoMJMUjGtDmUwkmfVmVypakWhEKvXsS4nhLW5wNjVroJIoc05wSzTr0PtiigpYe4EC2vj4iWrFu5euWIMRBhacaVJhYQBEFjA9jHjyQ0xEABwGceGAZYjY0YBOrRLCxUp29QM+bRkx5s7ZyYgVbTqwwti2ybJ+vLtDYpycyZbYOlptxdx0kV+V7lC5iJAyyRrwYKxAdiz82ng0/jnAdMJFz0cPi104Ec1Vj9/M6F173vKL/feXv156dw11tlqeMMnv4V5Ap53GmjQQH97nFfg+IFiucfgRX5Z8KAgbUlQ4IULIlghhhdOSB6AgX0IVn8eReghen3NRIBsRgnH4l4LuEidZBjwRpt6NM5WGwoW0KSjCwX6yJSMab2GwwAPDXfaBCtWpluRTQqC5JM5oUZAjUNS+VeOLWpJEQ7VYQANW0INJSZVDFSnZphjSikfmzE5N4EEbQI1QJmnWXCmHulRp2edwDXF43txukenJwvI9xyg9Q26Z3MzGUcBYFEChZh6DVTq34AU8Iflh51Sd+CnKFYQ6mmZkhqfBKfSxZWqA9DZanWjxmhrWwi0qtCrt/43K6WqVjjpmhIqgEGvculaGKklKstAACEAACH5BAUKABwALAcABADOAAsAAAX/ICdyQmaMYyAUqPgIBiHPxNpy79kqRXH8wAPsRmDdXpAWgWdEIYm2llCHqjVHU+jjJkwqBTecwItShMXkEfNWSh8e1NGAcLgpDGlRgk7EJ/6Ae3VKfoF/fDuFhohVeDeCfXkcCQqDVQcQhn+VNDOYmpSWaoqBlUSfmowjEA+iEAEGDRGztAwGCDcXEA60tXEiCrq8vREMEBLIyRLCxMWSHMzExnbRvQ2Sy7vN0zvVtNfU2tLY3rPgLdnDvca4VQS/Cpk3ABwSLQkYAQwT/P309vcI7OvXr94jBQMJ/nskkGA/BQBRLNDncAIAiDcG6LsxAWOLiQzmeURBKWSLCQbv/1F0eDGinJUKR47YY1IEgQASKk7Yc7ACRwZm7mHweRJoz59BJUogisKCUaFMR0x4SlJBVBFTk8pZivTR0K73rN5wqlXEAq5Fy3IYgHbEzQ0nLy4QSoCjXLoom96VOJEeCosK5n4kkFfqXjl94wa+l1gvAcGICbewAOAxY8l/Ky/QhAGz4cUkGxu2HNozhwMGBnCUqUdBg9UuW9eUynqSwLHIBujePef1ZGQZXcM+OFuEBeBhi3OYgLyqcuaxbT9vLkf4SeqyWxSQpKGB2gQpm1KdWbu72rPRzR9Ne2Nu9Kzr/1Jqj0yD/fvqP4aXOt5sW/5qsXXVcv1Nsp8IBUAmgswGF3llGgeU1YVXXKTN1FlhWFXW3gIE+DVChApysACHHo7Q4A35lLichh+ROBmLKAzgYmYEYDAhCgxKGOOMn4WR4kkDaoBBOxJtdNKQxFmg5JIWIBnQc07GaORfUY4AEkdV6jHlCEISSZ5yTXpp1pbGZbkWmcuZmQCaE6iJ0FhjMaDjTMsgZaNEHFRAQVp3bqXnZED1qYcECOz5V6BhSWCoVJQIKuKQi2KFKEkEFAqoAo7uYSmO3jk61wUUMKmknJ4SGimBmAa0qVQBhAAAIfkEBQoAGwAsBwAEAM4ACwAABf/gJm5FmRlEqhJC+bywgK5pO4rHI0D3pii22+Mg6/0Ej96weCMAk7cDkXf7lZTTnrMl7eaYoy10JN0ZFdco0XAuvKI6qkgVFJXYNwjkIBcNBgR8TQoGfRsJCRuCYYQQiI+ICosiCoGOkIiKfSl8mJkHZ4U9kZMbKaI3pKGXmJKrngmug4WwkhA0lrCBWgYFCCMQFwoQDRHGxwwGCBLMzRLEx8iGzMMO0cYNeCMKzBDW19lnF9DXDIY/48Xg093f0Q3s1dcR8OLe8+Y91OTv5wrj7o7B+7VNQqABIoRVCMBggsOHE36kSoCBIcSH3EbFangxogJYFi8CkJhqQciLJEf/LDDJEeJIBT0GsOwYUYJGBS0fjpQAMidGmyVP6sx4Y6VQhzs9VUwkwqaCCh0tmKoFtSMDmBOf9phg4SrVrROuasRQAaxXpVUhdsU6IsECZlvX3kwLUWzRt0BHOLTbNlbZG3vZinArge5Dvn7wbqtQkSYAAgtKmnSsYKVKo2AfW048uaPmG386i4Q8EQMBAIAnfB7xBxBqvapJ9zX9WgRS2YMpnvYMGdPK3aMjt/3dUcNI4blpj7iwkMFWDXDvSmgAlijrt9RTR78+PS6z1uAJZIe93Q8g5zcsWCi/4Y+C8bah5zUv3vv89uft30QP23punGCx5954oBBwnwYaNCDY/wYrsYeggnM9B2Fpf8GG2CEUVWhbWAtGouEGDy7Y4IEJVrbSiXghqGKIo7z1IVcXIkKWWR361QOLWWnIhwERpLaaCCee5iMBGJQmJGyPFTnbkfHVZGRtIGrg5HALEJAZbu39BuUEUmq1JJQIPtZilY5hGeSWsSk52G9XqsmgljdIcABytq13HyIM6RcUA+r1qZ4EBF3WHWB29tBgAzRhEGhig8KmqKFv8SeCeo+mgsF7YFXa1qWSbkDpom/mqR1PmHCqJ3fwNRVXjC7S6CZhFVCQ2lWvZiirhQq42SACt25IK2hv8TprriUV1usGgeka7LFcNmCldMLi6qZMgFLgpw16Cipb7bC1knXsBiEAACH5BAUKABsALAcABADOAAsAAAX/4FZsJPkUmUGsLCEUTywXglFuSg7fW1xAvNWLF6sFFcPb42C8EZCj24EJdCp2yoegWsolS0Uu6fmamg8n8YYcLU2bXSiRaXMGvqV6/KAeJAh8VgZqCX+BexCFioWAYgqNi4qAR4ORhRuHY408jAeUhAmYYiuVlpiflqGZa5CWkzc5fKmbbhIpsAoQDRG8vQwQCBLCwxK6vb5qwhfGxxENahvCEA7NzskSy7vNzzzK09W/PNHF1NvX2dXcN8K55cfh69Luveol3vO8zwi4Yhj+AQwmCBw4IYclDAAJDlQggVOChAoLKkgFkSCAHDwWLKhIEOONARsDKryogFPIiAUb/95gJNIiw4wnI778GFPhzBKFOAq8qLJEhQpiNArjMcHCmlTCUDIouTKBhApELSxFWiGiVKY4E2CAekPgUphDu0742nRrVLJZnyrFSqKQ2ohoSYAMW6IoDpNJ4bLdILTnAj8KUF7UeENjAKuDyxIgOuGiOI0EBBMgLNew5AUrDTMGsFixwBIaNCQuAXJB57qNJ2OWm2Aj4skwCQCIyNkhhtMkdsIuodE0AN4LJDRgfLPtn5YDLdBlraAByuUbBgxQwICxMOnYpVOPej074OFdlfc0TqC62OIbcppHjV4o+LrieWhfT8JC/I/T6W8oCl29vQ0XjLdBaA3s1RcPBO7lFvpX8BVoG4O5jTXRQRDuJ6FDTzEWF1/BCZhgbyAKE9qICYLloQYOFtahVRsWYlZ4KQJHlwHS/IYaZ6sZd9tmu5HQm2xi1UaTbzxYwJk/wBF5g5EEYOBZeEfGZmNdFyFZmZIR4jikbLThlh5kUUVJGmRT7sekkziRWUIACABk3T4qCsedgO4xhgGcY7q5pHJ4klBBTQRJ0CeHcoYHHUh6wgfdn9uJdSdMiebGJ0zUPTcoS286FCkrZxnYoYYKWLkBowhQoBeaOlZAgVhLidrXqg2G
1iqpQpZ4apwSwRtjqrB3muoF9BboaXKmshlqWqsWiGt2wphJkQbAU5hoCACH5BAUKABsALAcABADOAAsAAAX/oGFw2WZuT5oZROsSQnGaKjRvilI893MItlNOJ5v5gDcFrHhKIWcEYu/xFEqNv6B1N62aclysF7fsZYe5aOx2yL5aAUGSaT1oTYMBwQ5VGCAJgYIJCnx1gIOBhXdwiIl7d0p2iYGQUAQBjoOFSQR/lIQHnZ+Ue6OagqYzSqSJi5eTpTxGcjcSChANEbu8DBAIEsHBChe5vL13G7fFuscRDcnKuM3H0La3EA7Oz8kKEsXazr7Cw9/Gztar5uHHvte47MjktznZ2w0G1+D3BgirAqJmJMAQgMGEgwgn5Ei0gKDBhBMALGRYEOJBb5QcWlQo4cbAihZz3GgIMqFEBSM1/4ZEOWPAgpIIJXYU+PIhRG8ja1qU6VHlzZknJNQ6UanCjQkWCIGSUGEjAwVLjc44+DTqUQtPPS5gejUrTa5TJ3g9sWCr1BNUWZI161StiQUDmLYdGfesibQ3XMq1OPYthrwuA2yU2LBs2cBHIypYQPPlYAKFD5cVvNPtW8eVGbdcQADATsiNO4cFAPkvHpedPzc8kUcPgNGgZ5RNDZG05reoE9s2vSEP79MEGiQGy1qP8LA4ZcdtsJE48ONoLTBtTV0B9LsTnPceoIDBDQvS7W7vfjVY3q3eZ4A339J4eaAmKqU/sV58HvJh2RcnIBsDUw0ABqhBA5aV5V9XUFGiHfVeAiWwoFgJJrIXRH1tEMiDFV4oHoAEGlaWhgIGSGBO2nFomYY3mKjVglidaNYJGJDkWW2xxTfbjCbVaOGNqoX2GloR8ZeTaECS9pthRGJH2g0b3Agbk6hNANtteHD2GJUucfajCQBy5OOTQ25ZgUPvaVVQmbKh9510/qQpwXx3SQdfk8tZJOd5b6JJFplT3ZnmmX3qd5l1eg5q00HrtUkUn0AKaiGjClSAgKLYZcgWXwocGRcCFGCKwSB6ceqphwmYRUFYT/1WKlOdUpipmxW0mlCqHjYkAaeoZlqrqZ4qd+upQKaapn/AmgAegZ8KUtYtFAQQAgAh+QQFCgAbACwHAAQAzgALAAAF/+C2PUcmiCiZGUTrEkKBis8jQEquKwU5HyXIbEPgyX7BYa5wTNmEMwWsSXsqFbEh8DYs9mrgGjdK6GkPY5GOeU6ryz7UFopSQEzygOGhJBjoIgMDBAcBM0V/CYqLCQqFOwobiYyKjn2TlI6GKC2YjJZknouaZAcQlJUHl6eooJwKooobqoewrJSEmyKdt59NhRKFMxLEEA4RyMkMEAjDEhfGycqAG8TQx9IRDRDE3d3R2ctD1RLg0ttKEnbY5wZD3+zJ6M7X2RHi9Oby7u/r9g38UFjTh2xZJBEBMDAboogAgwkQI07IMUORwocSJwCgWDFBAIwZOaJIsOBjRogKJP8wTODw5ESVHVtm3AhzpEeQElOuNDlTZ0ycEUWKWFASqEahGwYUPbnxoAgEdlYSqDBkgoUNClAlIHbSAoOsqCRQnQHxq1axVb06FWFxLIqyaze0Tft1JVqyE+pWXMD1pF6bYl3+HTqAWNW8cRUFzmih0ZAAB2oGKukSAAGGRHWJgLiR6AylBLpuHKKUMlMCngMpDSAa9QIUggZVVvDaJobLeC3XZpvgNgCmtPcuwP3WgmXSq4do0DC6o2/guzcseECtUoO0hmcsGKDgOt7ssBd07wqesAIGZC1YIBa7PQHvb1+SFo+++HrJSQfB33xfav3i5eX3Hnb4CTJgegEq8tH/YQEOcIJzbm2G2EoYRLgBXFpVmFYDcREV4HIcnmUhiGBRouEMJGJGzHIspqgdXxK0yCKHRNXoIX4uorCdTyjkyNtdPWrA4Up82EbAbzMRxxZRR54WXVLDIRmRcag5d2R6ugl3ZXzNhTecchpMhIGVAKAYpgJjjsSklBEd99maZoo535ZvdamjBEpusJyctg3h4X8XqodBMx0tiNeg/oGJaKGABpogS40KSqiaEgBqlQWLUtqoVQnytekEjzo0hHqhRorppOZt2p923M2AAV+oBtpAnnPNoB6HaU6mAAIU+IXmi3j2mtFXuUoHKwXpzVrsjcgGOauKEjQrwq157hitGq2NoWmjh7z6Wmxb0m5w66+2VRAuXN/yFUAIACH5BAUKABsALAcABADOAAsAAAX/4CZuRiaM45MZqBgIRbs9AqTcuFLE7VHLOh7KB5ERdjJaEaU4ClO/lgKWjKKcMiJQ8KgumcieVdQMD8cbBeuAkkC6LYLhOxoQ2PF5Ys9PKPBMen17f0CCg4VSh32JV4t8jSNqEIOEgJKPlkYBlJWRInKdiJdkmQlvKAsLBxdABA4RsbIMBggtEhcQsLKxDBC2TAS6vLENdJLDxMZAubu8vjIbzcQRtMzJz79S08oQEt/guNiyy7fcvMbh4OezdAvGrakLAQwyABsELQkY9BP+//ckyPDD4J9BfAMh1GsBoImMeQUN+lMgUJ9CiRMa5msxoB9Gh/o8GmxYMZXIgxtR/yQ46S/gQAURR0pDwYDfywoyLPip5AdnCwsMFPBU4BPFhKBDi444quCmDKZOfwZ9KEGpCKgcN1jdALSpPqIYsabS+nSqvqplvYqQYAeDPgwKwjaMtiDl0oaqUAyo+3TuWwUAMPpVCfee0cEjVBGQq2ABx7oTWmQk4FglZMGN9fGVDMCuiH2AOVOu/PmyxM630gwM0CCn6q8LjVJ8GXvpa5Uwn95OTC/nNxkda1/dLSK475IjCD6dHbK1ZOa4hXP9DXs5chJ00UpVm5xo2qRpoxptwF2E4/IbJpB/SDz9+q9b1aNfQH08+p4a8uvX8B53fLP+ycAfemjsRUBgp1H20K+BghHgVgt1GXZXZpZ5lt4ECjxYR4ScUWiShEtZqBiIInRGWnERNnjiBglw+JyGnxUmGowsyiiZg189lNtPGACjV2+S9UjbU0JWF6SPvEk3QZEqsZYTk3UAaRSUnznJI5LmESCdBVSyaOWUWLK4I5gDUYVeV1T9l+FZClCAUVA09uSmRHBCKAECFEhW51ht6rnmWBXkaR+NjuHpJ40D3DmnQXt2F+ihZxlqVKOfQRACACH5BAUKABwALAcABADOAAsAAAX/ICdyUCkUo/g8mUG8MCGkKgspeC6j6XEIEBpBUeCNfECaglBcOVfJFK7YQwZHQ6JRZBUqTrSuVEuD3nI45pYjFuWKvjjSkCoRaBUMWxkwBGgJCXspQ36Bh4EEB0oKhoiBgyNLjo8Ki4QElIiWfJqHnISNEI+Ql5J9o6SgkqKkgqYihamPkW6oNBgSfiMMDQkGCBLCwxIQDhHIyQwQCGMKxsnKVyPCF9DREQ3MxMPX0cu4wt7J2uHWx9jlKd3o39MiuefYEcvNkuLt5O8c1ePI2tyELXGQwoGDAQf+iEC2xByDCRAjTlAgIUWCBRgCPJQ4AQBFXAs0coT40WLIjRxL/47AcHLkxIomRXL0CHPERZkpa4q4iVKiyp0tR/7kwHMkTUBBJR5dOCEBAVcKKtCAyOHpowXCpk7goABqBZdcvWploACpBKkpIJI1q5OD2rIWE0R1uTZu1LFwbWL9OlKuWb4c6+o9i3dEgw0RCGDUG9KlRw56gDY2qmCByZBaASi+TACA0TucAaTteCcy0ZuOK3N2vJlx58+LRQyY3Xm0ZsgjZg+oPQLi7dUcNXi0LOJw1pgNtB7XG6CBy+U75SYfPTSQAgZTNUDnQHt67wnbZyvwLgKiMN3oCZB3C76tdewpLFgIP2C88rbi4Y+QT3+8S5USMICZXWj1pkEDeUU3lOYGB3alSoEiMIjgX4WlgNF2EibIwQIXauWXSRg2SAOHIU5IIIMoZkhhWiJaiFVbKo6AQEgQXrTAazO1JhkBrBG3Y2Y6EsUhaGn95hprSN0oWpFE7rhkeaQBchGOEWnwEmc0uKWZj0LeuNV3W4Y2lZHFlQCSRjTIl8uZ+kG5HU/3sRlnTG2ytyadytnD3HrmuRcSn+0h1dycexIK1KCjYaCnjCCVqOFFJTZ5GkUUjESWaUIKU2lgCmAKKQIUjHapXRKE+t2og1VgankNYnohqKJ2CmKplso6GKz7WYCgqxeuyoF8u9IQAgA7",msg:null,msgText:"<em>Loading the next set of posts...</em>",selector:null,speed:"fast",start:h},state:{isDuringAjax:!1,isInvalidPage:!1,isDestroyed:!1,isDone:!1,isPaused:!1,isBeyondMaxPage:!1,currPage:1},debug:!1,behavior:h,binder:u(c),nextSelector:"div.navigation a:first",navSelector:"div.navigation",contentSelector:null,extraScrollPx:150,itemSelector:"div.post",animate:!1,pathParse:h,dataType:"html",appendCallback:!0,bufferPx:40,errorCallback:function(){},infid:0,pixelsFromNavToBottom:h,path:h,prefill:!1,maxPage:h},u.infinitescroll.prototype={_binding:function(t){var e=this,i=e.options;if(i.v="2.0b2.120520",i.behavior&&this["_binding_"+i.behavior]!==h)this["_binding_"+i.behavior].call(this);else{if("bind"!==t&&"unbind"!==t)return this._debug("Binding value "+t+" not valid"),!1;"unbind"===t?this.options.binder.unbind("smartscroll.infscr."+e.options.infid):this.options.binder[t]("smartscroll.infscr."+e.options.infid,function(){e.scroll()}),this._debug("Binding",t)}},_create:function(t,n){var o=u.extend(!0,{}
1,u.infinitescroll.defaults,t);this.options=o;var s=u(c);if(!this._validate(t))return!1;var e=u(o.nextSelector).attr("href");if(!e)return this._debug("Navigation selector not found"),!1;o.path=o.path||this._determinepath(e),o.contentSelector=o.contentSelector||this.element,o.loading.selector=o.loading.selector||o.contentSelector,o.loading.msg=o.loading.msg||u('<div id="infscr-loading"><img alt="Loading..." src="'+o.loading.img+'" /><div>'+o.loading.msgText+"</div></div>"),(new Image).src=o.loading.img,o.pixelsFromNavToBottom===h&&(o.pixelsFromNavToBottom=u(document).height()-u(o.navSelector).offset().top,this._debug("pixelsFromNavToBottom: "+o.pixelsFromNavToBottom));var i=this;return o.loading.start=o.loading.start||function(){u(o.navSelector).hide(),o.loading.msg.appendTo(o.loading.selector).show(o.loading.speed,u.proxy(function(){this.beginAjax(o)},i))},o.loading.finished=o.loading.finished||function(){o.state.isBeyondMaxPage||o.loading.msg.fadeOut(o.loading.speed)},o.callback=function(t,e,i){o.behavior&&t["_callback_"+o.behavior]!==h&&t["_callback_"+o.behavior].call(u(o.contentSelector)[0],e,i),n&&n.call(u(o.contentSelector)[0],e,o,i),o.prefill&&s.bind("resize.infinite-scroll",t._prefill)},t.debug&&(!Function.prototype.bind||"object"!=typeof console&&"function"!=typeof console||"object"!=typeof console.log||["log","info","warn","error","assert","dir","clear","profile","profileEnd"].forEach(function(t){console[t]=this.call(console[t],console)},Function.prototype.bind)),this._setup(),o.prefill&&this._prefill(),!0},_prefill:function(){var t=this,e=u(c);function i(){return t.options.contentSelector.height()<=e.height()}this._prefill=function(){i()&&t.scroll(),e.bind("resize.infinite-scroll",function(){i()&&(e.unbind("resize.infinite-scroll"),t.scroll())})},this._prefill()},_debug:function(){!0===this.options.debug&&("undefined"!=typeof console&&"function"==typeof console.log?1===Array.prototype.slice.call(arguments).length&&"string"==typeof Array.prototype.slice.call(arguments)[0]?console.log(Array.prototype.slice.call(arguments).toString()):console.log(Array.prototype.slice.call(arguments)):Function.prototype.bind||"undefined"==typeof console||"object"!=typeof console.log||Function.prototype.call.call(console.log,console,Array.prototype.slice.call(arguments)))},_determinepath:function(t){var e=this.options;if(e.behavior&&this["_determinepath_"+e.behavior]!==h)return this["_determinepath_"+e.behavior].call(this,t);if(e.pathParse)return this._debug("pathParse manual"),e.pathParse(t,this.options.state.currPage+1);if(t.match(/^(.*?)\b2\b(.*?$)/))t=t.match(/^(.*?)\b2\b(.*?$)/).slice(1);else if(t.match(/^(.*?)2(.*?$)/)){if(t.match(/^(.*?page=)2(\/.*|$)/))return t=t.match(/^(.*?page=)2(\/.*|$)/).slice(1);t=t.match(/^(.*?)2(.*?$)/).slice(1)}else{if(t.match(/^(.*?page=)1(\/.*|$)/))return t=t.match(/^(.*?page=)1(\/.*|$)/).slice(1);this._debug("Sorry, we couldn't parse your Next (Previous Posts) URL. Verify your the css selector points to the correct A tag. If you still get this error: yell, scream, and kindly ask for help at infinite-scroll.com."),e.state.isInvalidPage=!0}return this._debug("determinePath",t),t},_error:function(t){var e=this.options;e.behavior&&this["_error_"+e.behavior]!==h?this["_error_"+e.behavior].call(this,t):("destroy"!==t&&"end"!==t&&(t="unknown"),this._debug("Error",t),("end"===t||e.state.isBeyondMaxPage)&&this._showdonemsg(),e.state.isDone=!0,e.state.currPage=1,e.state.isPau
1sed=!1,e.state.isBeyondMaxPage=!1,this._binding("unbind"))},_loadcallback:function(t,e,i){var n,o=this.options,s=this.options.callback,a=o.state.isDone?"done":o.appendCallback?"append":"no-append";if(o.behavior&&this["_loadcallback_"+o.behavior]!==h)this["_loadcallback_"+o.behavior].call(this,t,e);else{switch(a){case"done":return this._showdonemsg(),!1;case"no-append":"html"===o.dataType&&(e=u(e="<div>"+e+"</div>").find(o.itemSelector));break;case"append":var r=t.children();if(0===r.length)return this._error("end");for(n=document.createDocumentFragment();t[0].firstChild;)n.appendChild(t[0].firstChild);this._debug("contentSelector",u(o.contentSelector)[0]),u(o.contentSelector)[0].appendChild(n),e=r.get()}if(o.loading.finished.call(u(o.contentSelector)[0],o),o.animate){var l=u(c).scrollTop()+u(o.loading.msg).height()+o.extraScrollPx+"px";u("html,body").animate({scrollTop:l},800,function(){o.state.isDuringAjax=!1})}o.animate||(o.state.isDuringAjax=!1),s(this,e,i),o.prefill&&this._prefill()}},_nearbottom:function(){var t=this.options,e=0+u(document).height()-t.binder.scrollTop()-u(c).height();return t.behavior&&this["_nearbottom_"+t.behavior]!==h?this["_nearbottom_"+t.behavior].call(this):(this._debug("math:",e,t.pixelsFromNavToBottom),e-t.bufferPx<t.pixelsFromNavToBottom)},_pausing:function(t){var e=this.options;if(!e.behavior||this["_pausing_"+e.behavior]===h){switch("pause"!==t&&"resume"!==t&&null!==t&&this._debug("Invalid argument. Toggling pause value instead"),t=!t||"pause"!==t&&"resume"!==t?"toggle":t){case"pause":e.state.isPau
1sed=!0;break;case"resume":e.state.isPaused=!1;break;case"toggle":e.state.isPaused=!e.state.isPaused}return this._debug("Paused",e.state.isPaused),!1}this["_pausing_"+e.behavior].call(this,t)},_setup:function(){var t=this.options;if(!t.behavior||this["_setup_"+t.behavior]===h)return this._binding("bind"),!1;this["_setup_"+t.behavior].call(this)},_showdonemsg:function(){var t=this.options;t.behavior&&this["_showdonemsg_"+t.behavior]!==h?this["_showdonemsg_"+t.behavior].call(this):(t.loading.msg.find("img").hide().parent().find("div").html(t.loading.finishedMsg).animate({opacity:1},2e3,function(){u(this).parent().fadeOut(t.loading.speed)}),t.errorCallback.call(u(t.contentSelector)[0],"done"))},_validate:function(t){for(var e in t)if(e.indexOf&&-1<e.indexOf("Selector")&&0===u(t[e]).length)return this._debug("Your "+e+" found no elements."),!1;return!0},bind:function(){this._binding("bind")},destroy:function(){return this.options.state.isDestroyed=!0,this.options.loading.finished(),this._error("destroy")},pause:function(){this._pausing("pause")},resume:function(){this._pausing("resume")},beginAjax:function(o){var s,a,t,r,l=this,e=o.path;if(o.state.currPage++,o.maxPage!=h&&o.state.currPage>o.maxPage)return o.state.isBeyondMaxPage=!0,void this.destroy();switch(s=u(o.contentSelector).is("table, tbody")?u("<tbody/>"):u("<div/>"),a="function"==typeof e?e(o.state.currPage):e.join(o.state.currPage),l._debug("heading into ajax",a),t="html"===o.dataType||"json"===o.dataType?o.dataType:"html+callback",o.appendCallback&&"html"===o.dataType&&(t+="+callback"),t){case"html+callback":l._debug("Using HTML via .load() method"),s.load(a+" "+o.itemSelector,h,function(t){l._loadcallback(s,t,a)});break;case"html":l._debug("Using "+t.toUpperCase()+" via $.ajax() method"),u.ajax({url:a,dataType:o.dataType,complete:function(t,e){(r=void 0!==t.isResolved?t.isResolved():"success"===e||"notmodified"===e)?l._loadcallback(s,t.responseText,a):l._error("end")}});break;case"json":l._debug("Using "+t.toUpperCase()+" via $.ajax() method"),u.ajax({dataType:"json",type:"GET",url:a,success:function(t,e,i){if(r=void 0!==i.isResolved?i.isResolved():"success"===e||"notmodified"===e,o.appendCallback)if(o.template!==h){var n=o.template(t);s.append(n),r?l._loadcallback(s,n):l._error("end")}else l._debug("template must be defined."),l._error("end");else r?l._loadcallback(s,t,a):l._error("end")},error:function(){l._debug("JSON ajax request failed."),l._error("end")}})}},retrieve:function(t){t=t||null;var e=this.options;if(e.behavior&&this["retrieve_"+e.behavior]!==h)this["retrieve_"+e.behavior].call(this,t);else{if(e.state.isDestroyed)return this._debug("Instance is destroyed"),!1;e.state.isDuringAjax=!0,e.loading.start.call(u(e.contentSelector)[0],e)}},scroll:function(){var t=this.options,e=t.state;t.behavior&&this["scroll_"+t.behavior]!==h?this["scroll_"+t.behavior].call(this):e.isDuringAjax||e.isInvalidPage||e.isDone||e.isDestroyed||e.isPaused||this._nearbottom()&&this.retrieve()},toggle:function(){this._pausing()},unbind:function(){this._binding("unbind")},update:function(t){u.isPlainObject(t)&&(this.options=u.extend(!0,this.options,t))}},u.fn.infinitescroll=function(e,i){switch(typeof e){case"string":var n=Array.prototype.slice.call(arguments,1);this.each(function(){var t=u.data(this,"infinitescroll");return!!t&&(!(!u.isFunction(t[e])||"_"===e.charAt(0))&&void t[e].apply(t,n))});break;case"object":this.each(function(){var t=u.data(this,"infinitescroll");t?t.update(e):(t=new u.infinitescroll(e,i,this)).failed||u.data(this,"infinitescroll",t)})}return this};var o,t=u.event;t.special.smartscroll={setup:function(){u(this).bind("scroll",t.special.smartscroll.handler)},teardown:function(){u(this).unbind("scroll",t.special.smartscroll.handler)},handler:function(t,e){var i=this,n=arguments;t.type="smartscroll",o&&clearTimeout(o),o=setTimeout(function(){u(i).trigger("smartscroll",n)},"execAsap"===e?0:100)}},u.fn.smartscroll=function(t){return t?this.bind("smartscroll",t):this.trigger("smartscroll",["execAsap"])}}(window,jQuery),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(o){"use strict";var s=[],e=[];e.push(/^[0-9]*$/.source),e.push(/([0-9]{1,2}\/){2}[0-9]{4}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),e.push(/[0-9]{4}([\/\-][0-9]{1,2}){2}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),e=new RegExp(e.join("|"));var f={Y:"years",m:"months",w:"weeks",d:"days",D:"totalDays",H:"hours",M:"minutes",S:"seconds"};
1var a=function(t,e,i){this.el=t,this.$el=o(t),this.interval=null,this.offset={},this.instanceNumber=s.length,s.push(this),this.$el.data("countdown-instance",this.instanceNumber),i&&(this.$el.on("update.countdown",i),this.$el.on("stoped.countdown",i),this.$el.on("finish.countdown",i)),this.setFinalDate(e),this.start()};o.extend(a.prototype,{start:function(){null!==this.interval&&clearInterval(this.interval);var t=this;this.update(),this.interval=setInterval(function(){t.update.call(t)},100)},stop:function(){clearInterval(this.interval),this.interval=null,this.dispatchEvent("stoped")},pause:function(){this.stop.call(this)},resume:function(){this.start.call(this)},remove:function(){this.stop(),s[this.instanceNumber]=null,delete this.$el.data().countdownInstance},setFinalDate:function(t){this.finalDate=function(t){if(t instanceof Date)return t;if(String(t).match(e))return String(t).match(/^[0-9]*$/)&&(t=Number(t)),String(t).match(/\-/)&&(t=String(t).replace(/\-/g,"/")),new Date(t);throw new Error("Couldn't cast `"+t+"` to a date object.")}(t)},update:function(){0!==this.$el.closest("html").length?(this.totalSecsLeft=this.finalDate.getTime()-(new Date).getTime(),this.totalSecsLeft=Math.ceil(this.totalSecsLeft/1e3),this.totalSecsLeft=this.totalSecsLeft<0?0:this.totalSecsLeft,this.offset={seconds:this.totalSecsLeft%60,minutes:Math.floor(this.totalSecsLeft/60)%60,hours:Math.floor(this.totalSecsLeft/60/60)%24,days:Math.floor(this.totalSecsLeft/60/60/24)%7,totalDays:Math.floor(this.totalSecsLeft/60/60/24),weeks:Math.floor(this.totalSecsLeft/60/60/24/7),months:Math.floor(this.totalSecsLeft/60/60/24/30),years:Math.floor(this.totalSecsLeft/60/60/24/365)},0===this.totalSecsLeft?(this.stop(),this.dispatchEvent("finish")):this.dispatchEvent("update")):this.remove()},dispatchEvent:function(t){var p,e=o.Event(t+".countdown");e.finalDate=this.finalDate,e.offset=o.extend({},this.offset),e.strftime=(p=this.offset,function(t){var e,i,n,o,s=t.match(/%(-|!)?[A-Z]{1}(:[^;]+;)?/gi);if(s)for(var a=0,r=s.length;a<r;++a){var l=s[a].match(/%(-|!)?([a-zA-Z]{1})(:[^;]+;)?/),c=new RegExp(l[0]),u=l[1]||"",h=l[3]||"",d=null;l=l[2],f.hasOwnProperty(l)&&(d=f[l],d=Number(p[d])),null!==d&&("!"===u&&(i=d,o=n=void 0,n="s",o="",(e=h)&&(n=1===(e=e.replace(/(:|;|\s)/gi,"").split(/\,/)).length?e[0]:(o=e[0],e[1])),d=1===Math.abs(i)?o:n),""===u&&d<10&&(d="0"+d.toString()),t=t.replace(c,d.toString()))}return t=t.replace(/%%/,"%")}),this.$el.trigger(e)}}),o.fn.countdown=function(){var n=Array.prototype.slice.call(arguments,0);return this.each(function(){var t=o(this).data("countdown-instance");if(void 0!==t){var e=s[t],i=n[0];a.prototype.hasOwnProperty(i)?e[i].apply(e,n.slice(1)):null===String(i).match(/^[$A-Z_][0-9A-Z_$]*$/i)?(e.setFinalDate.call(e,i),e.start()):o.error("Method %s does not exist on jQuery.countdown".replace(/\%s/gi,i))}else new a(this,n[0],n[1])})}}),function(x){x.flexslider=function(p,t){var f=x(p);f.vars=x.extend({},x.flexslider.defaults,t);var e,u=f.vars.namespace,m=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,h=("ontouchstart"in window||m||window.DocumentTouch&&document instanceof DocumentTouch)&&f.vars.touch,a="click touchend MSPointerUp keyup",r="",g="vertical"===f.vars.direction,v=f.vars.reverse,y=0<f.vars.itemWidth,b="fade"===f.vars.animation,d=""!==f.vars.asNavFor,w={};x.data(p,"flexslider",f),w={init:function(){f.animating=!1,f.currentSlide=parseInt(f.vars.startAt?f.vars.startAt:0,10),isNaN(f.currentSlide)&&(f.currentSlide=0),f.animatingTo=f.currentSlide,f.atEnd=0===f.currentSlide||f.currentSlide===f.last,f.containerSelector=f.vars.selector.substr(0,f.vars.selector.search(" ")),f.slides=x(f.vars.selector,f),f.container=x(f.containerSelector,f),f.count=f.slides.length,f.syncExists=0<x(f.vars.sync).length,"slide"===f.vars.animation&&(f.vars.animation="swing"),f.prop=g?"top":"marginLeft",f.args={},f.manualPause=!1,f.stopped=!1,f.started=!1,f.startTimeout=null,f.transitions=!f.vars.video&&!b&&f.vars.useCSS&&function(){var t=document.createElement("div"),e=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var i in e)if(void 0!==t.style[e[i]])return f.pfx=e[i].replace("Perspective","").toLowerCase(),f.prop="-"+f.pfx+"-transform",!0;return!1}(),(f.ensureAnimationEnd="")!==f.vars.controlsContainer&&(f.controlsContainer=0<x(f.vars.controlsContainer).length&&x(f.vars.controlsContainer)),""!==f.vars.manualControls&&(f.manualControls=0<x(f.vars.manualControls).length&&x(f.vars.manualControls)),f.vars.randomize&&(f.slides.sort(function(){return Math.round(Math.random())-.5}),f.container.empty().append(f.slides)),f.doMath(),f.setup("init"),f.vars.controlNav&&w.controlNav.setup(),f.vars.directionNav&&w.directionNav.setup(),f.vars.keyboard&&(1===x(f.containerSelector).length||f.vars.multipleKeyboard)&&x(document).bind("keyup",function(t){var e=t.keyCode;if(!f.animating&&(39===e||37===e)){var i=39===e?f.getTarget("next"):37===e&&f.getTarget("prev");f.flexAnimate(i,f.vars.pauseOnAction)}}
1),f.vars.mousewheel&&f.bind("mousewheel",function(t,e,i,n){t.preventDefault();var o=e<0?f.getTarget("next"):f.getTarget("prev");f.flexAnimate(o,f.vars.pauseOnAction)}),f.vars.pausePlay&&w.pausePlay.setup(),f.vars.slideshow&&f.vars.pauseInvisible&&w.pauseInvisible.init(),f.vars.slideshow&&(f.vars.pauseOnHover&&f.hover(function(){f.manualPlay||f.manualPause||f.pause()},function(){f.manualPause||f.manualPlay||f.stopped||f.play()}),f.vars.pauseInvisible&&w.pauseInvisible.isHidden()||(0<f.vars.initDelay?f.startTimeout=setTimeout(f.play,f.vars.initDelay):f.play())),d&&w.asNav.setup(),h&&f.vars.touch&&w.touch(),(!b||b&&f.vars.smoothHeight)&&x(window).bind("resize orientationchange focus",w.resize),f.find("img").attr("draggable","false"),setTimeout(function(){f.vars.start(f)},200)},asNav:{setup:function(){f.asNav=!0,f.animatingTo=Math.floor(f.currentSlide/f.move),f.currentItem=f.currentSlide,f.slides.removeClass(u+"active-slide").eq(f.currentItem).addClass(u+"active-slide"),m?(p._slider=f).slides.each(function(){this._gesture=new MSGesture,(this._gesture.target=this).addEventListener("MSPointerDown",function(t){t.preventDefault(),t.currentTarget._gesture&&t.currentTarget._gesture.addPointer(t.pointerId)},!1),this.addEventListener("MSGestureTap",function(t){t.preventDefault();var e=x(this),i=e.index();x(f.vars.asNavFor).data("flexslider").animating||e.hasClass("active")||(f.direction=f.currentItem<i?"next":"prev",f.flexAnimate(i,f.vars.pauseOnAction,!1,!0,!0))})}):f.slides.on(a,function(t){t.preventDefault();var e=x(this),i=e.index();e.offset().left-x(f).scrollLeft()<=0&&e.hasClass(u+"active-slide")?f.flexAnimate(f.getTarget("prev"),!0):x(f.vars.asNavFor).data("flexslider").animating||e.hasClass(u+"active-slide")||(f.direction=f.currentItem<i?"next":"prev",f.flexAnimate(i,f.vars.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){f.manualControls?w.controlNav.setupManual():w.controlNav.setupPaging()},setupPaging:function(){var t,e,i="thumbnails"===f.vars.controlNav?"control-thumbs":"control-paging",n=1;if(f.controlNavScaffold=x('<ol class="'+u+"control-nav "+u+i+'"></ol>'),1<f.pagingCount)for(var o=0;o<f.pagingCount;o++){if(e=f.slides.eq(o),t="thumbnails"===f.vars.controlNav?'<img src="'+e.attr("data-thumb")+'"/>':'<a style="width: 20px; height: 20px;">'+n+"</a>","thumbnails"===f.vars.controlNav&&!0===f.vars.thumbCaptions){var s=e.attr("data-thumbcaption");""!=s&&null!=s&&(t+='<span class="'+u+'caption">'+s+"</span>")}f.controlNavScaffold.append("<li>"+t+"</li>"),n++}f.controlsContainer?x(f.controlsContainer).append(f.controlNavScaffold):f.append(f.controlNavScaffold),w.controlNav.set(),w.controlNav.active(),f.controlNavScaffold.delegate("a, img",a,function(t){if(t.preventDefault(),""===r||r===t.type){var e=x(this),i=f.controlNav.index(e);e.hasClass(u+"active")||(f.direction=i>f.currentSlide?"next":"prev",f.flexAnimate(i,f.vars.pauseOnAction))}""===r&&(r=t.type),w.setToClearWatchedEvent()})},setupManual:function(){f.controlNav=f.manualControls,w.controlNav.active(),f.controlNav.bind(a,function(t){if(t.preventDefault(),""===r||r===t.type){var e=x(this),i=f.controlNav.index(e);e.hasClass(u+"active").width(20)||(i>f.currentSlide?f.direction="next":f.direction="prev",f.flexAnimate(i,f.vars.pauseOnAction))}""===r&&(r=t.type),w.setToClearWatchedEvent()})},set:function(){var t="thumbnails"===f.vars.controlNav?"img":"a";f.controlNav=x("."+u+"control-nav li "+t,f.controlsContainer?f.controlsContainer:f)},active:function(){f.controlNav.removeClass(u+"active").eq(f.animatingTo).addClass(u+"active")},update:function(t,e){1<f.pagingCount&&"add"===t?f.controlNavScaffold.append(x("<li><a>"+f.count+"</a></li>")):1===f.pagingCount?f.controlNavScaffold.find("li").remove():f.controlNav.eq(e).closest("li").remove(),w.controlNav.set(),1<f.pagingCount&&f.pagingCount!==f.controlNav.length?f.update(e,t):w.controlNav.active()}},directionNav:{setup:function(){var t=x('<ul class="'+u+'direction-nav"><li><a class="'+u+'prev" href="#">'+f.vars.prevText+'</a></li><li><a class="'+u+'next" href="#">'+f.vars.nextText+"</a></li></ul>");f.controlsContainer?(x(f.controlsContainer).append(t),f.directionNav=x("."+u+"direction-nav li a",f.controlsContainer)):(f.append(t),f.directionNav=x("."+u+"direction-nav li a",f)),w.directionNav.update(
1),f.directionNav.bind(a,function(t){var e;t.preventDefault(),""!==r&&r!==t.type||(e=x(this).hasClass(u+"next")?f.getTarget("next"):f.getTarget("prev"),f.flexAnimate(e,f.vars.pauseOnAction)),""===r&&(r=t.type),w.setToClearWatchedEvent()})},update:function(){var t=u+"disabled";1===f.pagingCount?f.directionNav.addClass(t).attr("tabindex","-1"):f.vars.animationLoop?f.directionNav.removeClass(t).removeAttr("tabindex"):0===f.animatingTo?f.directionNav.removeClass(t).filter("."+u+"prev").addClass(t).attr("tabindex","-1"):f.animatingTo===f.last?f.directionNav.removeClass(t).filter("."+u+"next").addClass(t).attr("tabindex","-1"):f.directionNav.removeClass(t).removeAttr("tabindex")}},pausePlay:{setup:function(){var t=x('<div class="'+u+'pauseplay"><a></a></div>');f.controlsContainer?(f.controlsContainer.append(t),f.pausePlay=x("."+u+"pauseplay a",f.controlsContainer)):(f.append(t),f.pausePlay=x("."+u+"pauseplay a",f)),w.pausePlay.update(f.vars.slideshow?u+"pause":u+"play"),f.pausePlay.bind(a,function(t){t.preventDefault(),""!==r&&r!==t.type||(x(this).hasClass(u+"pause")?(f.manualPause=!0,f.manualPlay=!1,f.pause()):(f.manualPause=!1,f.manualPlay=!0,f.play())),""===r&&(r=t.type),w.setToClearWatchedEvent()})},update:function(t){"play"===t?f.pausePlay.removeClass(u+"pause").addClass(u+"play").html(f.vars.playText):f.pausePlay.removeClass(u+"play").addClass(u+"pause").html(f.vars.pauseText)}},touch:function(){var o,s,a,r,l,c,u=!1,e=0,i=0,h=0;if(m){p.style.msTouchAction="none",p._gesture=new MSGesture,(p._gesture.target=p).addEventListener("MSPointerDown",function(t){t.stopPropagation(),f.animating?t.preventDefault():(f.pause(),p._gesture.addPointer(t.pointerId),h=0,r=g?f.h:f.w,c=Number(new Date),a=y&&v&&f.animatingTo===f.last?0:y&&v?f.limit-(f.itemW+f.vars.itemMargin)*f.move*f.animatingTo:y&&f.currentSlide===f.last?f.limit:y?(f.itemW+f.vars.itemMargin)*f.move*f.currentSlide:v?(f.last-f.currentSlide+f.cloneOffset)*r:(f.currentSlide+f.cloneOffset)*r)},!1),p._slider=f,p.addEventListener("MSGestureChange",function(t){t.stopPropagation();var e=t.target._slider;if(!e)return;var i=-t.translationX,n=-t.translationY;if(l=h+=g?n:i,u=g?Math.abs(h)<Math.abs(-i):Math.abs(h)<Math.abs(-n),t.detail===t.MSGESTURE_FLAG_INERTIA)return void setImmediate(function(){p._gesture.stop()});(!u||500<Number(new Date)-c)&&(t.preventDefault(),!b&&e.transitions&&(e.vars.animationLoop||(l=h/(0===e.currentSlide&&h<0||e.currentSlide===e.last&&0<h?Math.abs(h)/r+2:1)),e.setProps(a+l,"setTouch")))},!1),p.addEventListener("MSGestureEnd",function(t){t.stopPropagation();var e=t.target._slider;if(!e)return;if(e.animatingTo===e.currentSlide&&!u&&null!==l){var i=v?-l:l,n=0<i?e.getTarget("next"):e.getTarget("prev");e.canAdvance(n)&&(Number(new Date)-c<550&&50<Math.abs(i)||Math.abs(i)>r/2)?e.flexAnimate(n,e.vars.pauseOnAction):b||e.flexAnimate(e.currentSlide,e.vars.pauseOnAction,!0)}a=l=s=o=null,h=0},!1)}else{function n(t){e=t.touches[0].pageX,i=t.touches[0].pageY,l=g?o-i:o-e;(!(u=g?Math.abs(l)<Math.abs(e-s):Math.abs(l)<Math.abs(i-s))||500<Number(new Date)-c)&&(t.preventDefault(),!b&&f.transitions&&(f.vars.animationLoop||(l/=0===f.currentSlide&&l<0||f.currentSlide===f.last&&0<l?Math.abs(l)/r+2:1),f.setProps(a+l,"setTouch")))}function d(t){if(p.removeEventListener("touchmove",n,!1),f.animatingTo===f.currentSlide&&!u&&null!==l){var e=v?-l:l,i=0<e?f.getTarget("next"):f.getTarget("prev");f.canAdvance(i)&&(Number(new Date)-c<550&&50<Math.abs(e)||Math.abs(e)>r/2)?f.flexAnimate(i,f.vars.pauseOnAction):b||f.flexAnimate(f.currentSlide,f.vars.pauseOnAction,!0)}p.removeEventListener("touchend",d,!1),a=l=s=o=null}p.addEventListener("touchstart",function(t){f.animating?t.preventDefault():(window.navigator.msPointerEnabled||1===t.touches.length)&&(f.pause(),r=g?f.h:f.w,c=Number(new Date),e=t.touches[0].pageX,i=t.touches[0].pageY,a=y&&v&&f.animatingTo===f.last?0:y&&v?f.limit-(f.itemW+f.vars.itemMargin)*f.move*f.animatingTo:y&&f.currentSlide===f.last?f.limit:y?(f.itemW+f.vars.itemMargin)*f.move*f.currentSlide:v?(f.last-f.currentSlide+f.cloneOffset)*r:(f.currentSlide+f.cloneOffset)*r,o=g?i:e,s=g?e:i,p.addEventListener("touchmove",n,!1),p.addEventListener("touchend",d,!1))},!1)}},resize:function(){!f.animating&&f.is(":visible")&&(y||f.doMath(),b?w.smoothHeight():y?(f.slides.width(f.computedW),f.update(f.pagingCount),f.setProps()):g?(f.viewport.height(f.h),f.setProps(f.h,"setTotal")):(f.vars.smoothHeight&&w.smoothHeight(),f.newSlides.width(f.computedW),f.setProps(f.computedW,"setTotal")))},smoothHeight:function(t){if(!g||b){var e=b?f:f.viewport;t?e.animate({height:f.slides.eq(f.animatingTo).height()},t):e.height(f.slides.eq(f.animatingTo).height())}},sync:function(t){var e=x(f.vars.sync).data("flexslider"),i=f.animatingTo;switch(t){case"animate":e.flexAnimate(i,f.vars.pauseOnAction,!1,!0);break;case"play":e.playing||e.asNav||e.play();break;case"pause":e.pause()}},uniqueID:function(t){return t.filter("[id]").add(t.find("[id]")).each(function(){var t=x(this);t.attr("id",t.attr("id")+"_clone")}),t},pauseInvisible:{visProp:null,init:function(){var t=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var e=0;e<t.length;e++)t[e]+"Hidden"in document&&(w.pauseInvisible.visProp=t[e]+"Hidden");if(w.pauseInvisible.visProp){var i=w.pauseInvisible.visProp.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(i,function(){w.pauseInvisible.isHidden()?f.startTimeout?clearTimeout(f.startTimeout):f.pause():f.started?f.play():0<f.vars.initDelay?setTimeout(f.play,f.vars.initDelay):f.play()})}},isHidden:function(){return document[w.pauseInvisible.visProp]||!1}},setToClearWatchedEvent:function(){clearTimeout(e),e=setTimeout(function(){r=""},3e3)}}
vendor: 6,276 bytes, line 1
1,f.flexAnimate=function(t,e,i,n,o){if(f.vars.animationLoop||t===f.currentSlide||(f.direction=t>f.currentSlide?"next":"prev"),d&&1===f.pagingCount&&(f.direction=f.currentItem<t?"next":"prev"),!f.animating&&(f.canAdvance(t,o)||i)&&f.is(":visible")){if(d&&n){var s=x(f.vars.asNavFor).data("flexslider");if(f.atEnd=0===t||t===f.count-1,s.flexAnimate(t,!0,!1,!0,o),f.direction=f.currentItem<t?"next":"prev",s.direction=f.direction,Math.ceil((t+1)/f.visible)-1===f.currentSlide||0===t)return f.currentItem=t,f.slides.removeClass(u+"active-slide").eq(t).addClass(u+"active-slide"),!1;f.currentItem=t,f.slides.removeClass(u+"active-slide").eq(t).addClass(u+"active-slide"),t=Math.floor(t/f.visible)}if(f.animating=!0,f.animatingTo=t,e&&f.pause(),f.vars.before(f),f.syncExists&&!o&&w.sync("animate"),f.vars.controlNav&&w.controlNav.active(),y||f.slides.removeClass(u+"active-slide").eq(t).addClass(u+"active-slide"),f.atEnd=0===t||t===f.last,f.vars.directionNav&&w.directionNav.update(),t===f.last&&(f.vars.end(f),f.vars.animationLoop||f.pause()),b)h?(f.slides.eq(f.currentSlide).css({opacity:0,zIndex:1}),f.slides.eq(t).css({opacity:1,zIndex:2}),f.wrapup(c)):(f.slides.eq(f.currentSlide).css({zIndex:1}).animate({opacity:0},f.vars.animationSpeed,f.vars.easing),f.slides.eq(t).css({zIndex:2}).animate({opacity:1},f.vars.animationSpeed,f.vars.easing,f.wrapup));else{var a,r,l,c=g?f.slides.filter(":first").height():f.computedW;r=y?(a=f.vars.itemMargin,(l=(f.itemW+a)*f.move*f.animatingTo)>f.limit&&1!==f.visible?f.limit:l):0===f.currentSlide&&t===f.count-1&&f.vars.animationLoop&&"next"!==f.direction?v?(f.count+f.cloneOffset)*c:0:f.currentSlide===f.last&&0===t&&f.vars.animationLoop&&"prev"!==f.direction?v?0:(f.count+1)*c:v?(f.count-1-t+f.cloneOffset)*c:(t+f.cloneOffset)*c,f.setProps(r,"",f.vars.animationSpeed),f.transitions?(f.vars.animationLoop&&f.atEnd||(f.animating=!1,f.currentSlide=f.animatingTo),f.container.unbind("webkitTransitionEnd transitionend"),f.container.bind("webkitTransitionEnd transitionend",function(){clearTimeout(f.ensureAnimationEnd),f.wrapup(c)}),clearTimeout(f.ensureAnimationEnd),f.ensureAnimationEnd=setTimeout(function(){f.wrapup(c)},f.vars.animationSpeed+100)):f.container.animate(f.args,f.vars.animationSpeed,f.vars.easing,function(){f.wrapup(c)})}f.vars.smoothHeight&&w.smoothHeight(f.vars.animationSpeed)}},f.wrapup=function(t){b||y||(0===f.currentSlide&&f.animatingTo===f.last&&f.vars.animationLoop?f.setProps(t,"jumpEnd"):f.currentSlide===f.last&&0===f.animatingTo&&f.vars.animationLoop&&f.setProps(t,"jumpStart")),f.animating=!1,f.currentSlide=f.animatingTo,f.vars.after(f)},f.animateSlides=function(){f.animating||f.flexAnimate(f.getTarget("next"))},f.pause=function(){clearInterval(f.animatedSlides),f.animatedSlides=null,f.playing=!1,f.vars.pausePlay&&w.pausePlay.update("play"),f.syncExists&&w.sync("pause")},f.play=function(){f.playing&&clearInterval(f.animatedSlides),f.animatedSlides=f.animatedSlides||setInterval(f.animateSlides,f.vars.slideshowSpeed),f.started=f.playing=!0,f.vars.pausePlay&&w.pausePlay.update("pause"),f.syncExists&&w.sync("play")},f.stop=function(){f.pause(),f.stopped=!0},f.canAdvance=function(t,e){var i=d?f.pagingCount-1:f.last;return!!e||(!(!d||f.currentItem!==f.count-1||0!==t||"prev"!==f.direction)||(!d||0!==f.currentItem||t!==f.pagingCount-1||"next"===f.direction)&&(!(t===f.currentSlide&&!d)&&(!!f.vars.animationLoop||(!f.atEnd||0!==f.currentSlide||t!==i||"next"===f.direction)&&(!f.atEnd||f.currentSlide!==i||0!==t||"next"!==f.direction))))},f.getTarget=function(t){return"next"===(f.direction=t)?f.currentSlide===f.last?0:f.currentSlide+1:0===f.currentSlide?f.last:f.currentSlide-1},f.setProps=function(t,e,i){var n,o=(n=t||(f.itemW+f.vars.itemMargin)*f.move*f.animatingTo,-1*function(){if(y)return"setTouch"===e?t:v&&f.animatingTo===f.last?0:v?f.limit-(f.itemW+f.vars.itemMargin)*f.move*f.animatingTo:f.animatingTo===f.last?f.limit:n;switch(e){case"setTotal":return v?(f.count-1-f.currentSlide+f.cloneOffset)*t:(f.currentSlide+f.cloneOffset)*t;case"setTouch":return t;case"jumpEnd":return v?t:f.count*t;case"jumpStart":return v?f.count*t:t;default:return t}}()+"px");f.transitions&&(o=g?"translate3d(0,"+o+",0)":"translate3d("+o+",0,0)",i=void 0!==i?i/1e3+"s":"0s",f.container.css("-"+f.pfx+"-transition-duration",i),f.container.css("transition-duration",i)),f.args[f.prop]=o,(f.transitions||void 0===i)&&f.container.css(f.args),f.container.css("transform",o)},f.setup=function(t){var e,i;b?(f.slides.css({width:"100%",float:"left",marginRight:"-100%",position:"relative"}),"init"===t&&(h?f.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+f.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(f.currentSlide).css({opacity:1,zIndex:2}):0==f.vars.fadeFirstSlide?f.slides.css({opacity:0,display:"block",zIndex:1}).eq(f.currentSlide).css({zIndex:2}).css({opacity:1}):f.slides.css({opacity:0,display:"block",zIndex:1}).eq(f.currentSlide).css({zIndex:2}).animate({opacity:1},f.vars.animationSpeed,f.vars.easing)),f.vars.smoothHeight&&w.smoothHeight()):("init"===t&&(f.viewport=x('<div class="'+u+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(f).append(f.container),f.cloneCount=0,f.cloneOffset=0,v&&(i=x.makeArray(f.slides).reverse(),f.slides=x(i),f.container.empty().append(f.slides))),f.vars.animationLoop&&!y&&(f.cloneCount=2,f.cloneOffset=1,"init"!==t&&f.container.find(".clone").remove(),f.container.append(w.uniqueID(f.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(w.uniqueID(f.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))),f.newSlides=x(f.vars.selector,f),e=v?f.count-1-f.currentSlide+f.cloneOffset:f.currentSlide+f.cloneOffset,g&&!y?(f.container.height(200*(f.count+f.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){f.newSlides.css({display:"block"}),f.doMath(),f.viewport.height(f.h),f.setProps(e*f.h,"init")},"init"===t?100:0)):(f.container.width(200*(f.count+f.cloneCount)+"%"),f.setProps(e*f.computedW,"init"),setTimeout(function(){f.doMath(),f.newSlides.css({width:f.computedW,float:"left",display:"block"}),f.vars.smoothHeight&&w.smoothHeight()},"init"===t?100:0)));y||f.slides.removeClass(u+"active-slide").eq(f.currentSlide).addClass(u+"active-slide"),f.vars.init(f)}
1,f.doMath=function(){var t=f.slides.first(),e=f.vars.itemMargin,i=f.vars.minItems,n=f.vars.maxItems;f.w=void 0===f.viewport?f.width():f.viewport.width(),f.h=t.height(),f.boxPadding=t.outerWidth()-t.width(),y?(f.itemT=f.vars.itemWidth+e,f.minW=i?i*f.itemT:f.w,f.maxW=n?n*f.itemT-e:f.w,f.itemW=f.minW>f.w?(f.w-e*(i-1))/i:f.maxW<f.w?(f.w-e*(n-1))/n:f.vars.itemWidth>f.w?f.w:f.vars.itemWidth,f.visible=Math.floor(f.w/f.itemW),f.move=0<f.vars.move&&f.vars.move<f.visible?f.vars.move:f.visible,f.pagingCount=Math.ceil((f.count-f.visible)/f.move+1),f.last=f.pagingCount-1,f.limit=1===f.pagingCount?0:f.vars.itemWidth>f.w?f.itemW*(f.count-1)+e*(f.count-1):(f.itemW+e)*f.count-f.w-e):(f.itemW=f.w,f.pagingCount=f.count,f.last=f.count-1),f.computedW=f.itemW-f.boxPadding},f.update=function(t,e){f.doMath(),y||(t<f.currentSlide?f.currentSlide+=1:t<=f.currentSlide&&0!==t&&(f.currentSlide-=1),f.animatingTo=f.currentSlide),f.vars.controlNav&&!f.manualControls&&("add"===e&&!y||f.pagingCount>f.controlNav.length?w.controlNav.update("add"):("remove"===e&&!y||f.pagingCount<f.controlNav.length)&&(y&&f.currentSlide>f.last&&(f.currentSlide-=1,f.animatingTo-=1),w.controlNav.update("remove",f.last))),f.vars.directionNav&&w.directionNav.update()},f.addSlide=function(t,e){var i=x(t);f.count+=1,f.last=f.count-1,g&&v?void 0!==e?f.slides.eq(f.count-e).after(i):f.container.prepend(i):void 0!==e?f.slides.eq(e).before(i):f.container.append(i),f.update(e,"add"),f.slides=x(f.vars.selector+":not(.clone)",f),f.setup(),f.vars.added(f)},f.removeSlide=function(t){var e=isNaN(t)?f.slides.index(x(t)):t;f.count-=1,f.last=f.count-1,isNaN(t)?x(t,f.slides).remove():g&&v?f.slides.eq(f.last).remove():f.slides.eq(t).remove(),f.doMath(),f.update(e,"remove"),f.slides=x(f.vars.selector+":not(.clone)",f),f.setup(),f.vars.removed(f)},w.init()},x(window).blur(function(t){focused=!1}).focus(function(t){focused=!0}),x.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,fadeFirstSlide:!0,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){}},x.fn.flexslider=function(n){if(void 0===n&&(n={}),"object"==typeof n)return this.each(function(){var t=x(this),e=n.selector?n.selector:".slides > li",i=t.find(e);1===i.length&&!0===n.allowOneSlide||0===i.length?(i.fadeIn(400),n.start&&n.start(t)):void 0===t.data("flexslider")&&new x.flexslider(this,n)});var t=x(this).data("flexslider");switch(n){case"play":t.play();break;case"pause":t.pause();break;case"stop":t.stop();break;case"next":t.flexAnimate(t.getTarget("next"),!0);break;case"prev":case"previous":t.flexAnimate(t.getTarget("prev"),!0);break;default:"number"==typeof n&&t.flexAnimate(n,!0)}}}(jQuery),function(){var l,t,a,c,j,o,u,d,n,p,i,e,f,P,s,r,h,m,g,v=[].slice;l=/^\(?([^)]*)\)?(?:(.)(d+))?$/,e=document.createElement("div").style,c=null!=e.transition||null!=e.webkitTransition||null!=e.mozTransition||null!=e.oTransition,p=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame,t=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,o=function(t){var e;return(e=document.createElement("div")).innerHTML=t,e.children[0]},n=function(t,e){return t.className=t.className.replace(new RegExp("(^| )"+e.split(" ").join("|")+"( |$)","gi")," ")},j=function(t,e){return n(t,e),t.className+=" "+e},f=function(t,e){var i;return null!=document.createEvent?((i=document.createEvent("HTMLEvents")).initEvent(e,!0,!0),t.dispatchEvent(i)):void 0},d=function(){var t,e;return null!=(t=null!=(e=window.performance)&&"function"==typeof e.now?e.now():void 0)?t:+new Date},i=function(t,e){return null==e&&(e=0),e?(t*=Math.pow(10,e),t+=.5,t=Math.floor(t),t/=Math.pow(10,e)):Math.round(t)},P=function(t){return t<0?Math.ceil(t):Math.floor(t)},r=!(u=function(t){return t-i(t)}),(s=function(){var t,e,i,n,o;if(!r&&null!=window.jQuery){for(r=!0,o=[],e=0,i=(n=["html","text"]).length;e<i;e++)t=n[e],o.push(function(t){var i;return i=window.jQuery.fn[t],window.jQuery.fn[t]=function(t){var e;return null==t||null==(null!=(e=this[0])?e.odometer:void 0)?i.apply(this,arguments):this[0].odometer.update(t)}}(t));return o}}
1)(),setTimeout(s,0),(a=function(){function h(t){var e,i,n,o,s,a,r,l,c,u=this;if(this.options=t,this.el=this.options.el,null!=this.el.odometer)return this.el.odometer;for(e in this.el.odometer=this,r=h.options)n=r[e],null==this.options[e]&&(this.options[e]=n);null==(o=this.options).duration&&(o.duration=2e3),this.MAX_VALUES=this.options.duration/(1e3/30)/2|0,this.resetFormat(),this.value=this.cleanValue(null!=(l=this.options.value)?l:""),this.renderInside(),this.render();try{for(s=0,a=(c=["innerHTML","innerText","textContent"]).length;s<a;s++)i=c[s],null!=this.el[i]&&function(e){Object.defineProperty(u.el,e,{get:function(){var t;return"innerHTML"===e?u.inside.outerHTML:null!=(t=u.inside.innerText)?t:u.inside.textContent},set:function(t){return u.update(t)}})}(i)}catch(t){t,this.watchForMutations()}}return h.prototype.renderInside=function(){return this.inside=document.createElement("div"),this.inside.className="odometer-inside",this.el.innerHTML="",this.el.appendChild(this.inside)},h.prototype.watchForMutations=function(){var e=this;if(null!=t)try{return null==this.observer&&(this.observer=new t(function(){var t;return t=e.el.innerText,e.renderInside(),e.render(e.value),e.update(t)})),this.watchMutations=!0,this.startWatchingMutations()}catch(t){t}},h.prototype.startWatchingMutations=function(){return this.watchMutations?this.observer.observe(this.el,{childList:!0}):void 0},h.prototype.stopWatchingMutations=function(){var t;return null!=(t=this.observer)?t.disconnect():void 0},h.prototype.cleanValue=function(t){var e;return"string"==typeof t&&(t=(t=(t=t.replace(null!=(e=this.format.radix)?e:".","<radix>")).replace(/[.,]/g,"")).replace("<radix>","."),t=parseFloat(t,10)||0),i(t,this.format.precision)},h.prototype.bindTransitionEnd=function(){var t,e,i,n,o,s,a=this;if(!this.transitionEndBound){for(this.transitionEndBound=!0,e=!1,s=[],i=0,n=(o="transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd".split(" ")).length;i<n;i++)t=o[i],s.push(this.el.addEventListener(t,function(){return e||(e=!0,setTimeout(function(){return a.render(),e=!1,f(a.el,"odometerdone")},0)),!0},!1));return s}},h.prototype.resetFormat=function(){var t,e,i,n,o,s,a,r;if((t=null!=(a=this.options.format)?a:"(,ddd).dd")||(t="d"),!(i=l.exec(t)))throw new Error("Odometer: Unparsable digit format");return s=(r=i.slice(1,4))[0],o=r[1],n=(null!=(e=r[2])?e.length:void 0)||0,this.format={repeating:s,radix:o,precision:n}},h.prototype.render=function(t){var e,i,n,o,s,a,r;for(null==t&&(t=this.value),this.stopWatchingMutations(),this.resetFormat(),this.inside.innerHTML="",s=this.options.theme,o=[],a=0,r=(e=this.el.className.split(" ")).length;a<r;a++)(i=e[a]).length&&((n=/^odometer-theme-(.+)$/.exec(i))?s=n[1]:/^odometer(-|$)/.test(i)||o.push(i));return o.push("odometer"),c||o.push("odometer-no-transitions"),o.push(s?"odometer-theme-"+s:"odometer-auto-theme"),this.el.className=o.join(" "),this.ribbons={},this.formatDigits(t),this.startWatchingMutations()},h.prototype.formatDigits=function(t){var e,i,n,o,s,a,r,l,c;if(this.digits=[],this.options.formatFunction)for(o=0,a=(l=this.options.formatFunction(t).split("").reverse()).length;o<a;o++)(i=l[o]).match(/0-9/)?((e=this.renderDigit()).querySelector(".odometer-value").innerHTML=i,this.digits.push(e),this.insertDigit(e)):this.addSpacer(i);else for(n=!this.format.precision||!u(t)||!1,s=0,r=(c=t.toString().split("").reverse()).length;s<r;s++)"."===(e=c[s])&&(n=!0),this.addDigit(e,n)},h.prototype.update=function(t){var e,i=this;return(e=(t=this.cleanValue(t))-this.value)?(n(this.el,"odometer-animating-up odometer-animating-down odometer-animating"),j(this.el,0<e?"odometer-animating-up":"odometer-animating-down"),this.stopWatchingMutations(),this.animate(t),this.startWatchingMutations(),setTimeout(function(){return i.el.offsetHeight,j(i.el,"odometer-animating")},0),this.value=t):void 0},h.prototype.renderDigit=function(){return o('<span class="odometer-digit"><span class="odometer-digit-spacer">8</span><span class="odometer-digit-inner"><span class="odometer-ribbon"><span class="odometer-ribbon-inner"><span class="odometer-value"></span></span></span></span></span>')},h.prototype.insertDigit=function(t,e){return null!=e?this.inside.insertBefore(t,e):this.inside.children.length?this.inside.insertBefore(t,this.inside.children[0]):this.inside.appendChild(t)}
1,h.prototype.addSpacer=function(t,e,i){var n;return(n=o('<span class="odometer-formatting-mark"></span>')).innerHTML=t,i&&j(n,i),this.insertDigit(n,e)},h.prototype.addDigit=function(t,e){var i,n,o,s;if(null==e&&(e=!0),"-"===t)return this.addSpacer(t,null,"odometer-negation-mark");if("."===t)return this.addSpacer(null!=(s=this.format.radix)?s:".",null,"odometer-radix-mark");if(e)for(o=!1;;){if(!this.format.repeating.length){if(o)throw new Error("Bad odometer format without digits");this.resetFormat(),o=!0}if(i=this.format.repeating[this.format.repeating.length-1],this.format.repeating=this.format.repeating.substring(0,this.format.repeating.length-1),"d"===i)break;this.addSpacer(i)}return(n=this.renderDigit()).querySelector(".odometer-value").innerHTML=t,this.digits.push(n),this.insertDigit(n)},h.prototype.animate=function(t){return c&&"count"!==this.options.animation?this.animateSlide(t):this.animateCount(t)},h.prototype.animateCount=function(i){var n,o,s,a,r,l=this;if(o=+i-this.value)return a=s=d(),n=this.value,(r=function(){var t,e;return d()-a>l.options.duration?(l.value=i,l.render(),void f(l.el,"odometerdone")):(50<(t=d()-s)&&(s=d(),e=t/l.options.duration,n+=o*e,l.render(Math.round(n))),null!=p?p(r):setTimeout(r,50))})()},h.prototype.getDigitCount=function(){var t,e,i,n,o,s;for(t=o=0,s=(n=1<=arguments.length?v.call(arguments,0):[]).length;o<s;t=++o)i=n[t],n[t]=Math.abs(i);return e=Math.max.apply(Math,n),Math.ceil(Math.log(e+1)/Math.log(10))},h.prototype.getFractionalDigitCount=function(){var t,e,i,n,o,s,a;for(e=/^\-?\d*\.(\d*?)0*$/,t=s=0,a=(o=1<=arguments.length?v.call(arguments,0):[]).length;s<a;t=++s)n=o[t],o[t]=n.toString(),i=e.exec(o[t]),o[t]=null==i?0:i[1].length;return Math.max.apply(Math,o)},h.prototype.resetDigits=function(){return this.digits=[],this.ribbons=[],this.inside.innerHTML="",this.resetFormat()},h.prototype.animateSlide=function(t){var e,i,n,o,s,a,r,l,c,u,h,d,p,f,m,g,v,y,b,w,x,C,S,T,k,A,E;if(g=this.value,(l=this.getFractionalDigitCount(g,t))&&(t*=Math.pow(10,l),g*=Math.pow(10,l)),n=t-g){for(this.bindTransitionEnd(),o=this.getDigitCount(g,t),s=[],h=b=e=0;0<=o?b<o:o<b;h=0<=o?++b:--b){if(v=P(g/Math.pow(10,o-h-1)),a=(r=P(t/Math.pow(10,o-h-1)))-v,Math.abs(a)>this.MAX_VALUES){for(u=[],d=a/(this.MAX_VALUES+this.MAX_VALUES*e*.5),i=v;0<a&&i<r||a<0&&r<i;)u.push(Math.round(i)),i+=d;u[u.length-1]!==r&&u.push(r),e++}else u=function(){E=[];for(var t=v;v<=r?t<=r:r<=t;v<=r?t++:t--)E.push(t);return E}.apply(this);for(h=w=0,C=u.length;w<C;h=++w)c=u[h],u[h]=Math.abs(c%10);s.push(u)}for(this.resetDigits(),h=x=0,S=(A=s.reverse()).length;x<S;h=++x)for(u=A[h],this.digits[h]||this.addDigit(" ",l<=h),null==(y=this.ribbons)[h]&&(y[h]=this.digits[h].querySelector(".odometer-ribbon-inner")),this.ribbons[h].innerHTML="",n<0&&(u=u.reverse()),p=k=0,T=u.length;k<T;p=++k)c=u[p],(m=document.createElement("div")).className="odometer-value",m.innerHTML=c,this.ribbons[h].appendChild(m),p===u.length-1&&j(m,"odometer-last-value"),0===p&&j(m,"odometer-first-value");return v<0&&this.addDigit("-"),null!=(f=this.inside.querySelector(".odometer-radix-mark"))&&f.parent.removeChild(f),l?this.addSpacer(this.format.radix,this.digits[l-1],"odometer-radix-mark"):void 0}},h}()).options=null!=(m=window.odometerOptions)?m:{},setTimeout(function(){var t,e,i,n,o;if(window.odometerOptions){for(t in o=[],n=window.odometerOptions)e=n[t],o.push(null!=(i=a.options)[t]?(i=a.options)[t]:i[t]=e);return o}},0),a.init=function(){var t,e,i,n,o,s;if(null!=document.querySelectorAll){for(s=[],i=0,n=(e=document.querySelectorAll(a.options.selector||".odometer")).length;i<n;i++)t=e[i],s.push(t.odometer=new a({el:t,value:null!=(o=t.innerText)?o:t.textContent}));return s}},null!=(null!=(g=document.documentElement)?g.doScroll:void 0)&&null!=document.createEventObject?(h=document.onreadystatechange,document.onreadystatechange=function(){return"complete"===document.readyState&&!1!==a.options.auto&&a.init(),null!=h?h.apply(this,arguments):void 0}):document.addEventListener("DOMContentLoaded",function(){return!1!==a.options.auto?a.init():void 0},!1),"function"==typeof define&&define.amd?define(["jquery"],function(){return a}):!1===typeof exports?module.exports=a:window.Odometer=a}.call(this),function(){"use strict";var t=this,e=t.Chart,s=function(t){this.canvas=t.canvas,this.ctx=t;this.width=t.canvas.width,this.height=t.canvas.height;return this.aspectRatio=this.width/this.height,d.retinaScale(this),this};s.defaults={global:{animation:!0,animationSteps:60,animationEasing:"easeOutQuart",showScale:!0,scaleOverride:!1,scaleSteps:null,scaleStepWidth:null,scaleStartValue:null,scaleLineColor:"rgba(0,0,0,.1)",scaleLineWidth:1,scaleShowLabels:!0,scaleLabel:"<%=value%>",scaleIntegersOnly:!0,scaleBeginAtZero:!1,scaleFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",scaleFontSize:12,scaleFontStyle:"normal",scaleFontColor:"#666",responsive:!1,showTooltips:!0,tooltipEvents:["mousemove","touchstart","touchmove","mouseout"],tooltipFillColor:"rgba(0,0,0,0.8)",tooltipFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",tooltipFontSize:14,tooltipFontStyle:"normal",tooltipFontColor:"#fff",tooltipTitleFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",tooltipTitleFontSize:14,tooltipTitleFontStyle:"bold",tooltipTitleFontColor:"#fff",tooltipYPadding:6,tooltipXPadding:6,tooltipCaretSize:8,tooltipCornerRadius:6,tooltipXOffset:10,tooltipTemplate:"<%if (label){%><%=label%>: <%}%><%= value %>",multiTooltipTemplate:"<%= value %>
1",multiTooltipKeyBackground:"#fff",onAnimationProgress:function(){},onAnimationComplete:function(){}}},s.types={};var i,n,d=s.helpers={},p=d.each=function(t,e,i){var n,o=Array.prototype.slice.call(arguments,3);if(t)if(t.length===+t.length)for(n=0;n<t.length;n++)e.apply(i,[t[n],n].concat(o));else for(var s in t)e.apply(i,[t[s],s].concat(o))},a=d.clone=function(i){var n={};return p(i,function(t,e){i.hasOwnProperty(e)&&(n[e]=t)}),n},r=d.extend=function(n){return p(Array.prototype.slice.call(arguments,1),function(i){p(i,function(t,e){i.hasOwnProperty(e)&&(n[e]=t)})}),n},l=d.merge=function(t,e){var i=Array.prototype.slice.call(arguments,0);return i.unshift({}),r.apply(null,i)},f=d.indexOf=function(t,e){if(Array.prototype.indexOf)return t.indexOf(e);for(var i=0;i<t.length;i++)if(t[i]===e)return i;return-1},o=d.inherits=function(t){var e=this,i=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return e.apply(this,arguments)},n=function(){this.constructor=i};return n.prototype=e.prototype,i.prototype=new n,i.extend=o,t&&r(i.prototype,t),i.__super__=e.prototype,i},c=d.noop=function(){},u=d.uid=(i=0,function(){return"chart-"+i++}),h=d.warn=function(t){window.console&&"function"==typeof window.console.warn&&console.warn(t)},m=d.amd="function"==typeof t.define&&t.define.amd,g=d.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},v=d.max=function(t){return Math.max.apply(Math,t)},y=d.min=function(t){return Math.min.apply(Math,t)},b=(d.cap=function(t,e,i){if(g(e)){if(e<t)return e}else if(g(i)&&t<i)return i;return t},d.getDecimalPlaces=function(t){return t%1!=0&&g(t)?t.toString().split(".")[1].length:0}),w=d.radians=function(t){return t*(Math.PI/180)},x=(d.getAngleFromPoint=function(t,e){var i=e.x-t.x,n=e.y-t.y,o=Math.sqrt(i*i+n*n),s=2*Math.PI+Math.atan2(n,i);return i<0&&n<0&&(s+=2*Math.PI),{angle:s,distance:o}},d.aliasPixel=function(t){return t%2==0?0:.5}),C=(d.splineCurve=function(t,e,i,n){var o=Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)),s=Math.sqrt(Math.pow(i.x-e.x,2)+Math.pow(i.y-e.y,2)),a=n*o/(o+s),r=n*s/(o+s);return{inner:{x:e.x-a*(i.x-t.x),y:e.y-a*(i.y-t.y)},outer:{x:e.x+r*(i.x-t.x),y:e.y+r*(i.y-t.y)}}},d.calculateOrderOfMagnitude=function(t){return Math.floor(Math.log(t)/Math.LN10)}),S=(d.calculateScaleRange=function(t,e,i,n,o){var s=Math.floor(e/(1.5*i)),a=s<=2,r=v(t),l=y(t);r===l&&(r+=.5,.5<=l&&!n?l-=.5:r+=.5);for(var c=Math.abs(r-l),u=C(c),h=Math.ceil(r/(1*Math.pow(10,u)))*Math.pow(10,u),d=n?0:Math.floor(l/(1*Math.pow(10,u)))*Math.pow(10,u),p=h-d,f=Math.pow(10,u),m=Math.round(p/f);(s<m||2*m<s)&&!a;)if(s<m)f*=2,(m=Math.round(p/f))%1!=0&&(a=!0);else if(o&&0<=u){if(f/2%1!=0)break;f/=2,m=Math.round(p/f)}else f/=2,m=Math.round(p/f);return a&&(f=p/(m=2)),{steps:m,stepValue:f,min:d,max:d+m*f}},d.template=function(t,e){var i,n,o,s={};return n=e,o=/\W/.test(i=t)?new Function("obj","var p=[],print=function(){p.push.apply(p,arguments);};with(obj){p.push('"+i.replace(/[\r\t\n]/g," ").split("<%").join("\t").replace(/((^|%>)[^\t]*)'/g,"$1\r").replace(/\t=(.*?)%>/g,"',$1,'").split("\t").join("');").split("%>").join("p.push('").split("\r").join("\\'")+"');}return p.join('');"):s[i]=s[i],n?o(n):o}),T=(d.generateLabels=function(i,t,n,o){var s=new Array(t);return labelTemplateString&&p(s,function(t,e){s[e]=S(i,{value:n+o*(e+1)})}),s},d.easingEffects={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-1*t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return 1*((t=t/1-1)*t*t+1)},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-1*((t=t/1-1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return 1*(t/=1)*t*t*t*t},easeOutQuint:function(t){return 1*((t=t/1-1)*t*t*t*t+1)},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return-1*Math.cos(t/1*(Math.PI/2))+1},easeOutSine:function(t){return 1*Math.sin(t/1*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t/1)-1)},easeInExpo:function(t){return 0===t?1:1*Math.pow(2,10*(t/1-1))},easeOutExpo:function(t){return 1===t?1:1*(1-Math.pow(2,-10*t/1))},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return 1<=t?t:-1*(Math.sqrt(1-(t/=1)*t)-1)},easeOutCirc:function(t){return 1*Math.sqrt(1-(t=t/1-1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,i=0,n=1;return 0===t?0:1==(t/=1)?1:(i||(i=.3),e=n<Math.abs(1)?(n=1,i/4):i/(2*Math.PI)*Math.asin(1/n),-n*Math.pow(2,10*(t-=1))*Math.sin((1*t-e)*(2*Math.PI)/i))},easeOutElastic:function(t){var e=1.70158,i=0,n=1;return 0===t?0:1==(t/=1)?1:(i||(i=.3),e=n<Math.abs(1)?(n=1,i/4):i/(2*Math.PI)*Math.asin(1/n),n*Math.pow(2,-10*t)*Math.sin((1*t-e)*(2*Math.PI)/i)+1)},easeInOutElastic:function(t){var e=1.70158,i=0,n=1;return 0===t?0:2==(t/=.5)?1:(i||(i=.3*1.5*1),e=n<Math.abs(1)?(n=1,i/4):i/(2*Math.PI)*Math.asin(1/n),t<1?n*Math.pow(2,10*(t-=1))*Math.sin((1*t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((1*t-e)*(2*Math.PI)/i)*.5+1)},easeInBack:function(t){return 1*(t/=1)*t*(2.70158*t-1.70158)},easeOutBack:function(t){return 1*((t=t/1-1)*t*(2.70158*t+1.70158)+1)},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-T.easeOutBounce(1-t)},easeOutBounce:function(t){return(t/=1)<1/2.75?7.5625*t*t*1:t<2/2.75?1*(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?1*(7.5625*(t-=2.25/2.75)*t+.9375):1*(7.5625*(t-=2.625/2.75)*t+.984375)},easeInOutBounce:function(t){return t<.5?.5*T.easeInBounce(2*t):.5*T.easeOutBounce(2*t-1)+.5}}),k=d.requestAnimFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},A=(d.cancelAnimFrame=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame||function(t){return window.clearTimeout(t,1e3/60)},d.animationLoop=function(i,n,t,o,s,a){var r=0,l=T[t]||T.linear,c=function(){var t=++r/n,e=l(t);i.call(a,e,t,r),o.call(a,e,t),r<n?a.animationFrame=k(c):s.apply(a)};k(c)},d.getRelativePosition=function(t){var e,i,n=t.originalEvent||t,o=(t.currentTarget||t.srcElement).getBoundingClientRect();return i=n.touches?(e=n.touches[0].clientX-o.left,n.touches[0].clientY-o.top):(e=n.clientX-o.left,n.clientY-o.top),{x:e,y:i}}
1,d.addEvent=function(t,e,i){t.addEventListener?t.addEventListener(e,i):t.attachEvent?t.attachEvent("on"+e,i):t["on"+e]=i}),E=d.removeEvent=function(t,e,i){t.removeEventListener?t.removeEventListener(e,i,!1):t.detachEvent?t.detachEvent("on"+e,i):t["on"+e]=c},j=(d.bindEvents=function(e,t,i){e.events||(e.events={}),p(t,function(t){e.events[t]=function(){i.apply(e,arguments)},A(e.chart.canvas,t,e.events[t])})},d.unbindEvents=function(i,t){p(t,function(t,e){E(i.chart.canvas,e,t)})}),P=d.getMaximumSize=function(t){return t.parentNode.clientWidth},M=d.retinaScale=function(t){var e=t.ctx,i=t.canvas.width,n=t.canvas.height;window.devicePixelRatio&&(e.canvas.style.width=i+"px",e.canvas.style.height=n+"px",e.canvas.height=n*window.devicePixelRatio,e.canvas.width=i*window.devicePixelRatio,e.scale(window.devicePixelRatio,window.devicePixelRatio))},F=d.clear=function(t){t.ctx.clearRect(0,0,t.width,t.height)},L=d.fontString=function(t,e,i){return e+" "+t+"px "+i},I=d.longestText=function(i,t,e){i.font=t;var n=0;return p(e,function(t){var e=i.measureText(t).width;n=n<e?e:n}),n},N=d.drawRoundedRectangle=function(t,e,i,n,o,s){t.beginPath(),t.moveTo(e+s,i),t.lineTo(e+n-s,i),t.quadraticCurveTo(e+n,i,e+n,i+s),t.lineTo(e+n,i+o-s),t.quadraticCurveTo(e+n,i+o,e+n-s,i+o),t.lineTo(e+s,i+o),t.quadraticCurveTo(e,i+o,e,i+o-s),t.lineTo(e,i+s),t.quadraticCurveTo(e,i,e+s,i),t.closePath()};s.instances={},r((s.Type=function(t,e,i){this.options=e,this.chart=i,this.id=u(),s.instances[this.id]=this,e.responsive&&this.resize(),this.initialize.call(this,t)}).prototype,{initialize:function(){return this},clear:function(){return F(this.chart),this},stop:function(){return d.cancelAnimFrame.call(t,this.animationFrame),this},resize:function(t){this.stop();var e=this.chart.canvas,i=P(this.chart.canvas),n=i/this.chart.aspectRatio;return e.width=this.chart.width=i,e.height=this.chart.height=n,M(this.chart),"function"==typeof t&&t.apply(this,Array.prototype.slice.call(arguments,1)),this},reflow:c,render:function(t){return t&&this.reflow(),this.options.animation&&!t?d.animationLoop(this.draw,this.options.animationSteps,this.options.animationEasing,this.options.onAnimationProgress,this.options.onAnimationComplete,this):(this.draw(),this.options.onAnimationComplete.call(this)),this},generateLegend:function(){return S(this.options.legendTemplate,this)},destroy:function(){this.clear(),j(this,this.events),delete s.instances[this.id]},showTooltip:function(t,e){if(void 0===this.activeElements&&(this.activeElements=[]),function(t){var i=!1;return t.length!==this.activeElements.length?i=!0:(p(t,function(t,e){t!==this.activeElements[e]&&(i=!0)},this),i)}.call(this,t)||e){if(this.activeElements=t,this.draw(),0<t.length)if(this.datasets&&1<this.datasets.length){for(var i,c,n=this.datasets.length-1;0<=n&&(i=this.datasets[n].points||this.datasets[n].bars||this.datasets[n].segments,-1===(c=f(i,t[0])));n--);var u=[],h=[],o=function(t){var e,i,n,o,s,a=[],r=[],l=[];return d.each(this.datasets,function(t){(e=t.points||t.bars||t.segments)[c]&&a.push(e[c])}),d.each(a,function(t){r.push(t.x),l.push(t.y),u.push(d.template(this.options.multiTooltipTemplate,t)),h.push({fill:t._saved.fillColor||t.fillColor,stroke:t._saved.strokeColor||t.strokeColor})},this),s=y(l),n=v(l),o=y(r),i=v(r),{x:o>this.chart.width/2?o:i,y:(s+n)/2}}.call(this,c);new s.MultiTooltip({x:o.x,y:o.y,xPadding:this.options.tooltipXPadding,yPadding:this.options.tooltipYPadding,xOffset:this.options.tooltipXOffset,fillColor:this.options.tooltipFillColor,textColor:this.options.tooltipFontColor,fontFamily:this.options.tooltipFontFamily,fontStyle:this.options.tooltipFontStyle,fontSize:this.options.tooltipFontSize,titleTextColor:this.options.tooltipTitleFontColor,titleFontFamily:this.options.tooltipTitleFontFamily,titleFontStyle:this.options.tooltipTitleFontStyle,titleFontSize:this.options.tooltipTitleFontSize,cornerRadius:this.options.tooltipCornerRadius,labels:u,legendColors:h,legendColorBackground:this.options.multiTooltipKeyBackground,title:t[0].label,chart:this.chart,ctx:this.chart.ctx}).draw()}else p(t,function(t){var e=t.tooltipPosition();new s.Tooltip({x:Math.round(e.x),y:Math.round(e.y),xPadding:this.options.tooltipXPadding,yPadding:this.options.tooltipYPadding,fillColor:this.options.tooltipFillColor,textColor:this.options.tooltipFontColor,fontFamily:this.options.tooltipFontFamily,fontStyle:this.options.tooltipFontStyle,fontSize:this.options.tooltipFontSize,caretHeight:this.options.tooltipCaretSize,cornerRadius:this.options.tooltipCornerRadius,text:S(this.options.tooltipTemplate,t),chart:this.chart}).draw()},this);return this}},toBase64Image:function(){return this.chart.canvas.toDataURL.apply(this.chart.canvas,arguments)}}),s.Type.extend=function(t){var e=this,n=function(){return e.apply(this,arguments)};if(n.prototype=a(e.prototype),r(n.prototype,t),n.extend=s.Type.extend,t.name||e.prototype.name){var o=t.name||e.prototype.name,i=s.defaults[e.prototype.name]?a(s.defaults[e.prototype.name]):{};s.defaults[o]=r(i,t.defaults),s.types[o]=n,s.prototype[o]=function(t,e){var i=l(s.defaults.global,s.defaults[o],e||{});return new n(t,i,this)}}else h("Name not provided for this chart, so it hasn't been registered");return e},r((s.Element=function(t){r(this,t),this.initialize.apply(this,arguments),this.save()}).prototype,{initialize:function(){},restore:function(t){return t?p(t,function(t){this[t]=this._saved[t]},this):r(this,this._saved),this},save:function(){return this._saved=a(this),delete this._saved._saved,this},update:function(t){return p(t,function(t,e){this._saved[e]=this[e],this[e]=t},this),this},transition:function(t,i){return p(t,function(t,e){this[e]=(t-this._saved[e])*i+this._saved[e]},this),this},tooltipPosition:function(){return{x:this.x,y:this.y}}}),s.Element.extend=o,s.Point=s.Element.extend({display:!0,inRange:function(t,e){var i=this.hitDetectionRadius+this.radius;return Math.pow(t-this.x,2)+Math.pow(e-this.y,2)<Math.pow(i,2)},draw:function(){if(this.display){var t=this.ctx;t.beginPath(),t.arc(this.x,this.y,this.radius,0,2*Math.PI),t.closePath(),t.strokeStyle=this.strokeColor,t.lineWidth=this.strokeWidth,t.fillStyle=this.fillColor,t.fill(),t.stroke()}}}),s.Arc=s.Element.extend({inRange:function(t,e){var i=d.getAngleFromPoint(this,{x:t,y:e}),n=i.angle>=this.startAngle&&i.angle<=this.endAngle,o=i.distance>=this.innerRadius&&i.distance<=this.outerRadius;return n&&o},tooltipPosition:function(){var t=this.startAngle+(this.endAngle-this.startAngle)/2,e=(this.outerRadius-this.innerRadius)/2+this.innerRadius;return{x:this.x+Math.cos(t)*e,y:this.y+Math.sin(t)*e}},draw:function(t){var e=this.ctx;e.beginPath(),e.arc(this.x,this.y,this.outerRadius,this.startAngle,this.endAngle),e.arc(this.x,this.y,this.innerRadius,this.endAngle,this.startAngle,!0),e.closePath(),e.strokeStyle=this.strokeColor,e.lineWidth=this.strokeWidth,e.fillStyle=this.fillColor,e.fill(),e.lineJoin="bevel",this.showStroke&&e.stroke()}}),s.Rectangle=s.Element.extend({draw:function(){var t=this.ctx,e=this.width/2,i=this.x-e,n=this.x+e,o=this.base-(this.base-this.y),s=this.strokeWidth/2;this.showStroke&&(i+=s,n-=s,o+=s),t.beginPath(),t.fillStyle=this.fillColor,t.strokeStyle=this.strokeColor,t.lineWidth=this.strokeWidth,t.moveTo(i,this.base),t.lineTo(i,o),t.lineTo(n,o),t.lineTo(n,this.base),t.fill(),this.showStroke&&t.stroke()},height:function(){return this.base-this.y},inRange:function(t,e){return t>=this.x-this.width/2&&t<=this.x+this.width/2&&e>=this.y&&e<=this.base}}),s.Tooltip=s.Element.extend({draw:function(){var t=this.chart.ctx;t.font=L(this.fontSize,this.fontStyle,this.fontFamily),this.xAlign="center",this.yAlign="above";var e=t.measureText(this.text).width+2*this.xPadding,i=this.fontSize+2*this.yPadding,n=i+this.caretHeight+2;this.x+e/2>this.chart.width?this.xAlign="left":this.x-e/2<0&&(this.xAlign="right"),this.y-n<0&&(this.yAlign="below");var o=this.x-e/2,s=this.y-n;switch(t.fillStyle=this.fillColor,this.yAlign){case"above":t.beginPath(),t.moveTo(this.x,this.y-2),t.lineTo(this.x+this.caretHeight,this.y-(2+this.caretHeight)),t.lineTo(this.x-this.caretHeight,this.y-(2+this.caretHeight)),t.closePath(),t.fill();break;case"below":s=this.y+2+this.caretHeight,t.beginPath(),t.moveTo(this.x,this.y+2),t.lineTo(this.x+this.caretHeight,this.y+2+this.caretHeight),t.lineTo(this.x-this.caretHeight,this.y+2+this.caretHeight),t.closePath(),t.fill()}switch(this.xAlign){case"left":o=this.x-e+(this.cornerRadius+this.caretHeight);break;case"right":o=this.x-(this.cornerRadius+this.caretHeight)}N(t,o,s,e,i,this.cornerRadius),t.fill(),t.fillStyle=this.textColor,t.textAlign="center",t.textBaseline="middle",t.fillText(this.text,o+e/2,s+i/2)}}),s.MultiTooltip=s.Element.extend({initialize:function(){this.font=L(this.fontSize,this.fontStyle,this.fontFamily),this.titleFont=L(this.titleFontSize,this.titleFontStyle,this.titleFontFamily),this.height=this.labels.length*this.fontSize+(this.labels.length-1)*(this.fontSize/2)+2*this.yPadding+1.5*this.titleFontSize,this.ctx.font=this.titleFont;var t=this.ctx.measureText(this.title).width,e=I(this.ctx,this.font,this.labels)+this.fontSize+3,i=v([e,t]);this.width=i+2*this.xPadding;var n=this.height/2;this.y-n<0?this.y=n:this.y+n>this.chart.height&&(this.y=this.chart.height-n),this.x>this.chart.width/2?this.x-=this.xOffset+this.width:this.x+=this.xOffset},getLineHeight:function(t){var e=this.y-this.height/2+this.yPadding,i=t-1;return 0===t?e+this.titleFontSize/2:e+(1.5*this.fontSize*i+this.fontSize/2)+1.5*this.titleFontSize},draw:function(){N(this.ctx,this.x,this.y-this.height/2,this.width,this.height,this.cornerRadius);var i=this.ctx;i.fillStyle=this.fillColor,i.fill(),i.closePath(),i.textAlign="left",i.textBaseline="middle",i.fillStyle=this.titleTextColor,i.font=this.titleFont,i.fillText(this.title,this.x+this.xPadding,this.getLineHeight(0)),i.font=this.font,d.each(this.labels,function(t,e){i.fillStyle=this.textColor,i.fillText(t,this.x+this.xPadding+this.fontSize+3,this.getLineHeight(e+1)),i.fillStyle=this.legendColorBackgroun
1d,i.fillRect(this.x+this.xPadding,this.getLineHeight(e+1)-this.fontSize/2,this.fontSize,this.fontSize),i.fillStyle=this.legendColors[e].fill,i.fillRect(this.x+this.xPadding,this.getLineHeight(e+1)-this.fontSize/2,this.fontSize,this.fontSize)},this)}}),s.Scale=s.Element.extend({initialize:function(){this.fit()},buildYLabels:function(){this.yLabels=[];for(var t=b(this.stepValue),e=0;e<=this.steps;e++)this.yLabels.push(S(this.templateString,{value:(this.min+e*this.stepValue).toFixed(t)}));this.yLabelWidth=this.display&&this.showLabels?I(this.ctx,this.font,this.yLabels):0},addXLabel:function(t){this.xLabels.push(t),this.valuesCount++,this.fit()},removeXLabel:function(){this.xLabels.shift(),this.valuesCount--,this.fit()},fit:function(){this.startPoint=this.display?this.fontSize:0,this.endPoint=this.display?this.height-1.5*this.fontSize-5:this.height,this.startPoint+=this.padding,this.endPoint-=this.padding;var t,e=this.endPoint-this.startPoint;for(this.calculateYRange(e),this.buildYLabels(),this.calculateXLabelRotation();e>this.endPoint-this.startPoint;)e=this.endPoint-this.startPoint,t=this.yLabelWidth,this.calculateYRange(e),this.buildYLabels(),t<this.yLabelWidth&&this.calculateXLabelRotation()},calculateXLabelRotation:function(){this.ctx.font=this.font;var t,e=this.ctx.measureText(this.xLabels[0]).width,i=this.ctx.measureText(this.xLabels[this.xLabels.length-1]).width;if(this.xScalePaddingRight=i/2+3,this.xScalePaddingLeft=e/2>this.yLabelWidth+10?e/2:this.yLabelWidth+10,this.xLabelRotation=0,this.display){var n,o=I(this.ctx,this.font,this.xLabels);this.xLabelWidth=o;for(var s=Math.floor(this.calculateX(1)-this.calculateX(0))-6;this.xLabelWidth>s&&0===this.xLabelRotation||this.xLabelWidth>s&&this.xLabelRotation<=90&&0<this.xLabelRotation;)(n=Math.cos(w(this.xLabelRotation)))*i,(t=n*e)+this.fontSize/2>this.yLabelWidth+8&&(this.xScalePaddingLeft=t+this.fontSize/2),this.xScalePaddingRight=this.fontSize/2,this.xLabelRotation++,this.xLabelWidth=n*o;0<this.xLabelRotation&&(this.endPoint-=Math.sin(w(this.xLabelRotation))*o+3)}else this.xLabelWidth=0,this.xScalePaddingRight=this.padding,this.xScalePaddingLeft=this.padding},calculateYRange:c,drawingArea:function(){return this.startPoint-this.endPoint},calculateY:function(t){var e=this.drawingArea()/(this.min-this.max);return this.endPoint-e*(t-this.min)},calculateX:function(t){this.xLabelRotation;var e=(this.width-(this.xScalePaddingLeft+this.xScalePaddingRight))/(this.valuesCount-(this.offsetGridLines?0:1)),i=e*t+this.xScalePaddingLeft;return this.offsetGridLines&&(i+=e/2),Math.round(i)},update:function(t){d.extend(this,t),this.fit()},draw:function(){var s=this.ctx,o=(this.endPoint-this.startPoint)/this.steps,a=Math.round(this.xScalePaddingLeft);this.display&&(s.fillStyle=this.textColor,s.font=this.font,p(this.yLabels,function(t,e){var i=this.endPoint-o*e,n=Math.round(i);s.textAlign="right",s.textBaseline="middle",this.showLabels&&s.fillText(t,a-10,i),s.beginPath(),s.strokeStyle=0<e?(s.lineWidth=this.gridLineWidth,this.gridLineColor):(s.lineWidth=this.lineWidth,this.lineColor),n+=d.aliasPixel(s.lineWidth),s.moveTo(a,n),s.lineTo(this.width,n),s.stroke(),s.closePath(),s.lineWidth=this.lineWidth,s.strokeStyle=this.lineColor,s.beginPath(),s.moveTo(a-5,n),s.lineTo(a,n),s.stroke(),s.closePath()},this),p(this.xLabels,function(t,e){var i=this.calculateX(e)+x(this.lineWidth),n=this.calculateX(e-(this.offsetGridLines?.5:0))+x(this.lineWidth),o=0<this.xLabelRotation;s.beginPath(),s.strokeStyle=0<e?(s.lineWidth=this.gridLineWidth,this.gridLineColor):(s.lineWidth=this.lineWidth,this.lineColor),s.moveTo(n,this.endPoint),s.lineTo(n,this.startPoint-3),s.stroke(),s.closePath(),s.lineWidth=this.lineWidth,s.strokeStyle=this.lineColor,s.beginPath(),s.moveTo(n,this.endPoint),s.lineTo(n,this.endPoint+5),s.stroke(),s.closePath(),s.save(),s.translate(i,o?this.endPoint+12:this.endPoint+8),s.rotate(-1*w(this.xLabelRotation)),s.font=this.font,s.textAlign=o?"right":"center",s.textBaseline=o?"middle":"top",s.fillText(t,0,0),s.restore()},this))}}),s.RadialScale=s.Element.extend({initialize:function(){this.size=y([this.height,this.width]),this.drawingArea=this.display?this.size/2-(this.fontSize/2+this.backdropPaddingY):this.size/2},calculateCenterOffset:function(t){var e=this.drawingArea/(this.max-this.min);return(t-this.min)*e},update:function(){this.lineArc?this.drawingArea=this.display?this.size/2-(this.fontSize/2+this.backdropPaddingY):this.size/2:this.setScaleSize(),this.buildYLabels()},buildYLabels:function(){this.yLabels=[];for(var t=b(this.stepValue),e=0;e<=this.steps;e++)this.yLabels.push(S(this.templateString,{value:(this.min+e*this.stepValue).toFixed(t)}))},getCircumference:function(){return 2*Math.PI/this.valuesCount},setScaleSize:function(){var t,e,i,n,o,s,a,r,l,c,u,h,d=y([this.height/2-this.pointLabelFontSize-5,this.width/2]),p=this.width,f=0;for(this.ctx.font=L(this.pointLabelFontSize,this.pointLabelFontStyle,this.pointLabelFontFamily),e=0;e<this.valuesCount;e++)t=this.getPointPosition(e,d),i=this.ctx.measureText(S(this.templateString,{value:this.labels[e]})).width+5,0===e||e===this.valuesCount/2?(n=i/2,t.x+n>p&&(p=t.x+n,o=e),t.x-n<f&&(f=t.x-n,a=e)):e<this.valuesCount/2?t.x+i>p&&(p=t.x+i,o=e):e>this.valuesCount/2&&t.x-i<f&&(f=t.x-i,a=e);l=f,c=Math.ceil(p-this.width),s=this.getIndexAngle(o),r=this.getIndexAngle(a),u=c/Math.sin(s+Math.PI/2),h=l/Math.sin(r+Math.PI/2),u=g(u)?u:0,h=g(h)?h:0,this.drawingArea=d-(h+u)/2,this.setCenterPoint(h,u)},setCenterPoint:function(t,e){var i=this.width-e-this.drawingArea,n=t
1+this.drawingArea;this.xCenter=(n+i)/2,this.yCenter=this.height/2},getIndexAngle:function(t){return t*(2*Math.PI/this.valuesCount)-Math.PI/2},getPointPosition:function(t,e){var i=this.getIndexAngle(t);return{x:Math.cos(i)*e+this.xCenter,y:Math.sin(i)*e+this.yCenter}},draw:function(){if(this.display){var r=this.ctx;if(p(this.yLabels,function(t,e){if(0<e){var i,n=e*(this.drawingArea/this.steps),o=this.yCenter-n;if(0<this.lineWidth)if(r.strokeStyle=this.lineColor,r.lineWidth=this.lineWidth,this.lineArc)r.beginPath(),r.arc(this.xCenter,this.yCenter,n,0,2*Math.PI),r.closePath(),r.stroke();else{r.beginPath();for(var s=0;s<this.valuesCount;s++)i=this.getPointPosition(s,this.calculateCenterOffset(this.min+e*this.stepValue)),0===s?r.moveTo(i.x,i.y):r.lineTo(i.x,i.y);r.closePath(),r.stroke()}if(this.showLabels){if(r.font=L(this.fontSize,this.fontStyle,this.fontFamily),this.showLabelBackdrop){var a=r.measureText(t).width;r.fillStyle=this.backdropColor,r.fillRect(this.xCenter-a/2-this.backdropPaddingX,o-this.fontSize/2-this.backdropPaddingY,a+2*this.backdropPaddingX,this.fontSize+2*this.backdropPaddingY)}r.textAlign="center",r.textBaseline="middle",r.fillStyle=this.fontColor,r.fillText(t,this.xCenter,o)}}},this),!this.lineArc){r.lineWidth=this.angleLineWidth,r.strokeStyle=this.angleLineColor;for(var t=this.valuesCount-1;0<=t;t--){if(0<this.angleLineWidth){var e=this.getPointPosition(t,this.calculateCenterOffset(this.max));r.beginPath(),r.moveTo(this.xCenter,this.yCenter),r.lineTo(e.x,e.y),r.stroke(),r.closePath()}var i=this.getPointPosition(t,this.calculateCenterOffset(this.max)+5);r.font=L(this.pointLabelFontSize,this.pointLabelFontStyle,this.pointLabelFontFamily),r.fillStyle=this.pointLabelFontColor;var n=this.labels.length,o=this.labels.length/2,s=o/2,a=t<s||n-s<t,l=t===s||t===n-s;r.textAlign=0===t?"center":t===o?"center":t<o?"left":"right",r.textBaseline=l?"middle":a?"bottom":"top",r.fillText(this.labels[t],i.x,i.y)}}}}}),d.addEvent(window,"resize",function(){clearTimeout(n),n=setTimeout(function(){p(s.instances,function(t){t.options.responsive&&t.resize(t.render,!0)})},50)}),m?define(function(){return s}):"object"==typeof module&&module.exports&&(module.exports=s),(t.Chart=s).noConflict=function(){return t.Chart=e,s}}.call(this),function(){"use strict";var t=this.Chart,r=t.helpers;t.Type.extend({name:"Bar",defaults:{scaleBeginAtZero:!0,scaleShowGridLines:!0,scaleGridLineColor:"rgba(0,0,0,.05)",scaleGridLineWidth:1,barShowStroke:!0,barStrokeWidth:2,barValueSpacing:5,barDatasetSpacing:1,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<datasets.length; i++){%><li><span style="background-color:<%=datasets[i].fillColor%>"></span><%if(datasets[i].label){%><%=datasets[i].label%><%}%></li><%}%></ul>'},initialize:function(o){var a=this.options;this.ScaleClass=t.Scale.extend({offsetGridLines:!0,calculateBarX:function(t,e,i){var n=this.calculateBaseWidth(),o=this.calculateX(i)-n/2,s=this.calculateBarWidth(t);return o+s*e+e*a.barDatasetSpacing+s/2},calculateBaseWidth:function(){return this.calculateX(1)-this.calculateX(0)-2*a.barValueSpacing},calculateBarWidth:function(t){return(this.calculateBaseWidth()-(t-1)*a.barDatasetSpacing)/t}}),this.datasets=[],this.options.showTooltips&&r.bindEvents(this,this.options.tooltipEvents,function(t){var e="mouseout"!==t.type?this.getBarsAtEvent(t):[];this.eachBars(function(t){t.restore(["fillColor","strokeColor"])}),r.each(e,function(t){t.fillColor=t.highlightFill,t.strokeColor=t.highlightStroke}),this.showTooltip(e)}),this.BarClass=t.Rectangle.extend({strokeWidth:this.options.barStrokeWidth,showStroke:this.options.barShowStroke,ctx:this.chart.ctx}),r.each(o.datasets,function(i,t){var n={label:i.label||null,fillColor:i.fillColor,strokeColor:i.strokeColor,bars:[]};this.datasets.push(n),r.each(i.data,function(t,e){r.isNumber(t)&&n.bars.push(new this.BarClass({value:t,label:o.labels[e],datasetLabel:i.label,strokeColor:i.strokeColor,fillColor:i.fillColor,highlightFill:i.highlightFill||i.fillColor,highlightStroke:i.highlightStroke||i.strokeColor}))},this)}
1,this),this.buildScale(o.labels),this.BarClass.prototype.base=this.scale.endPoint,this.eachBars(function(t,e,i){r.extend(t,{width:this.scale.calculateBarWidth(this.datasets.length),x:this.scale.calculateBarX(this.datasets.length,i,e),y:this.scale.endPoint}),t.save()},this),this.render()},update:function(){this.scale.update(),r.each(this.activeElements,function(t){t.restore(["fillColor","strokeColor"])}),this.eachBars(function(t){t.save()}),this.render()},eachBars:function(i){r.each(this.datasets,function(t,e){r.each(t.bars,i,this,e)},this)},getBarsAtEvent:function(t){for(var e,i=[],n=r.getRelativePosition(t),o=function(t){i.push(t.bars[e])},s=0;s<this.datasets.length;s++)for(e=0;e<this.datasets[s].bars.length;e++)if(this.datasets[s].bars[e].inRange(n.x,n.y))return r.each(this.datasets,o),i;return i},buildScale:function(t){var n=this,e={templateString:this.options.scaleLabel,height:this.chart.height,width:this.chart.width,ctx:this.chart.ctx,textColor:this.options.scaleFontColor,fontSize:this.options.scaleFontSize,fontStyle:this.options.scaleFontStyle,fontFamily:this.options.scaleFontFamily,valuesCount:t.length,beginAtZero:this.options.scaleBeginAtZero,integersOnly:this.options.scaleIntegersOnly,calculateYRange:function(t){var e,i=r.calculateScaleRange((e=[],n.eachBars(function(t){e.push(t.value)}),e),t,this.fontSize,this.beginAtZero,this.integersOnly);r.extend(this,i)},xLabels:t,font:r.fontString(this.options.scaleFontSize,this.options.scaleFontStyle,this.options.scaleFontFamily),lineWidth:this.options.scaleLineWidth,lineColor:this.options.scaleLineColor,gridLineWidth:this.options.scaleShowGridLines?this.options.scaleGridLineWidth:0,gridLineColor:this.options.scaleShowGridLines?this.options.scaleGridLineColor:"rgba(0,0,0,0)",padding:this.options.showScale?0:this.options.barShowStroke?this.options.barStrokeWidth:0,showLabels:this.options.scaleShowLabels,display:this.options.showScale};this.options.scaleOverride&&r.extend(e,{calculateYRange:r.noop,steps:this.options.scaleSteps,stepValue:this.options.scaleStepWidth,min:this.options.scaleStartValue,max:this.options.scaleStartValue+this.options.scaleSteps*this.options.scaleStepWidth}),this.scale=new this.ScaleClass(e)},addData:function(t,i){r.each(t,function(t,e){r.isNumber(t)&&this.datasets[e].bars.push(new this.BarClass({value:t,label:i,x:this.scale.calculateBarX(this.datasets.length,e,this.scale.valuesCount+1),y:this.scale.endPoint,width:this.scale.calculateBarWidth(this.datasets.length),base:this.scale.endPoint,strokeColor:this.datasets[e].strokeColor,fillColor:this.datasets[e].fillColor}))},this),this.scale.addXLabel(i),this.update()},removeData:function(){this.scale.removeXLabel(),r.each(this.datasets,function(t){t.bars.shift()},this),this.update()},reflow:function(){r.extend(this.BarClass.prototype,{y:this.scale.endPoint,base:this.scale.endPoint});var t=r.extend({height:this.chart.height,width:this.chart.width});this.scale.update(t)},draw:function(t){var n=t||1;this.clear();this.chart.ctx;this.scale.draw(n),r.each(this.datasets,function(t,i){r.each(t.bars,function(t,e){t.base=this.scale.endPoint,t.transition({x:this.scale.calculateBarX(this.datasets.length,i,e),y:this.scale.calculateY(t.value),width:this.scale.calculateBarWidth(this.datasets.length)},n).draw()},this)},this)}})}.call(this),function(){"use strict";var e=this.Chart,n=e.helpers,t={segmentShowStroke:!0,segmentStrokeColor:"#fff",segmentStrokeWidth:2,percentageInnerCutout:50,animationSteps:100,animationEasing:"easeOutBounce",animateRotate:!0,animateScale:!1,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<segments.length; i++){%><li><span style="background-color:<%=segments[i].fillColor%>"></span><%if(segments[i].label){%><%=segments[i].label%><%}%></li><%}%></ul>'};e.Type.extend({name:"Doughnut",defaults:t,initialize:function(t){this.segments=[],this.outerRadius=(n.min([this.chart.width,this.chart.height])-this.options.segmentStrokeWidth/2)/2,this.SegmentArc=e.Arc.extend({ctx:this.chart.ctx,x:this.chart.width/2,y:this.chart.height/2}),this.options.showTooltips&&n.bindEvents(this,this.options.tooltipEvents,function(t){var e="mouseout"!==t.type?this.get
1SegmentsAtEvent(t):[];n.each(this.segments,function(t){t.restore(["fillColor"])}),n.each(e,function(t){t.fillColor=t.highlightColor}),this.showTooltip(e)}),this.calculateTotal(t),n.each(t,function(t,e){this.addData(t,e,!0)},this),this.render()},getSegmentsAtEvent:function(t){var e=[],i=n.getRelativePosition(t);return n.each(this.segments,function(t){t.inRange(i.x,i.y)&&e.push(t)},this),e},addData:function(t,e,i){var n=e||this.segments.length;this.segments.splice(n,0,new this.SegmentArc({value:t.value,outerRadius:this.options.animateScale?0:this.outerRadius,innerRadius:this.options.animateScale?0:this.outerRadius/100*this.options.percentageInnerCutout,fillColor:t.color,highlightColor:t.highlight||t.color,showStroke:this.options.segmentShowStroke,strokeWidth:this.options.segmentStrokeWidth,strokeColor:this.options.segmentStrokeColor,startAngle:1.5*Math.PI,circumference:this.options.animateRotate?0:this.calculateCircumference(t.value),label:t.label})),i||(this.reflow(),this.update())},calculateCircumference:function(t){return 2*Math.PI*(t/this.total)},calculateTotal:function(t){this.total=0,n.each(t,function(t){this.total+=t.value},this)},update:function(){this.calculateTotal(this.segments),n.each(this.activeElements,function(t){t.restore(["fillColor"])}),n.each(this.segments,function(t){t.save()}),this.render()},removeData:function(t){var e=n.isNumber(t)?t:this.segments.length-1;this.segments.splice(e,1),this.reflow(),this.update()},reflow:function(){n.extend(this.SegmentArc.prototype,{x:this.chart.width/2,y:this.chart.height/2}),this.outerRadius=(n.min([this.chart.width,this.chart.height])-this.options.segmentStrokeWidth/2)/2,n.each(this.segments,function(t){t.update({outerRadius:this.outerRadius,innerRadius:this.outerRadius/100*this.options.percentageInnerCutout})},this)},draw:function(t){var i=t||1;this.clear(),n.each(this.segments,function(t,e){t.transition({circumference:this.calculateCircumference(t.value),outerRadius:this.outerRadius,innerRadius:this.outerRadius/100*this.options.percentageInnerCutout},i),t.endAngle=t.startAngle+t.circumference,t.draw(),0===e&&(t.startAngle=1.5*Math.PI),e<this.segments.length-1&&(this.segments[e+1].startAngle=t.endAngle)},this)}}),e.types.Doughnut.extend({name:"Pie",defaults:n.merge(t,{percentageInnerCutout:0})})}.call(this),function(){"use strict";var i=this.Chart,s=i.helpers;i.Type.extend({name:"Line",defaults:{scaleShowGridLines:!0,scaleGridLineColor:"rgba(0,0,0,.05)",scaleGridLineWidth:1,bezierCurve:!0,bezierCurveTension:.4,pointDot:!0,pointDotRadius:4,pointDotStrokeWidth:1,pointHitDetectionRadius:20,datasetStroke:!0,datasetStrokeWidth:2,datasetFill:!0,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<datasets.length; i++){%><li><span style="background-color:<%=datasets[i].strokeColor%>"></span><%if(datasets[i].label){%><%=datasets[i].label%><%}%></li><%}%></ul>'},initialize:function(o){this.PointClass=i.Point.extend({strokeWidth:this.options.pointDotStrokeWidth,radius:this.options.pointDotRadius,display:this.options.pointDot,hitDetectionRadius:this.options.pointHitDetectionRadius,ctx:this.chart.ctx,inRange:function(t){return Math.pow(t-this.x,2)<Math.pow(this.radius+this.hitDetectionRadius,2)}}),this.datasets=[],this.options.showTooltips&&s.bindEvents(this,this.options.tooltipEvents,function(t){var e="mouseout"!==t.type?this.getPointsAtEvent(t):[];this.eachPoints(function(t){t.restore(["fillColor","strokeColor"])}),s.each(e,function(t){t.fillColor=t.highlightFill,t.strokeColor=t.highlightStroke}),this.showTooltip(e)}),s.each(o.datasets,function(i){var n={label:i.label||null,fillColor:i.fillColor,strokeColor:i.strokeColor,pointColor:i.pointColor,pointStrokeColor:i.pointStrokeColor,points:[]};this.datasets.push(n),s.each(i.data,function(t,e){s.isNumber(t)&&n.points.push(new this.PointClass({value:t,label:o.labels[e],datasetLabel:i.label,strokeColor:i.pointStrokeColor,fillColor:i.pointColor,highlightFill:i.pointHighlightFill||i.pointColor,highlightStroke:i.pointHighlightStroke||i.pointStrokeColor}))},this),this.buildScale(o.labels),this.eachPoints(function(t,e){s.extend(t,{x:this.scale.calculateX(e),y:this.scale.endPoint}),t.save()},this)},this),this.render()}
1,update:function(){this.scale.update(),s.each(this.activeElements,function(t){t.restore(["fillColor","strokeColor"])}),this.eachPoints(function(t){t.save()}),this.render()},eachPoints:function(e){s.each(this.datasets,function(t){s.each(t.points,e,this)},this)},getPointsAtEvent:function(t){var e=[],i=s.getRelativePosition(t);return s.each(this.datasets,function(t){s.each(t.points,function(t){t.inRange(i.x,i.y)&&e.push(t)})},this),e},buildScale:function(t){var n=this,e={templateString:this.options.scaleLabel,height:this.chart.height,width:this.chart.width,ctx:this.chart.ctx,textColor:this.options.scaleFontColor,fontSize:this.options.scaleFontSize,fontStyle:this.options.scaleFontStyle,fontFamily:this.options.scaleFontFamily,valuesCount:t.length,beginAtZero:this.options.scaleBeginAtZero,integersOnly:this.options.scaleIntegersOnly,calculateYRange:function(t){var e,i=s.calculateScaleRange((e=[],n.eachPoints(function(t){e.push(t.value)}),e),t,this.fontSize,this.beginAtZero,this.integersOnly);s.extend(this,i)},xLabels:t,font:s.fontString(this.options.scaleFontSize,this.options.scaleFontStyle,this.options.scaleFontFamily),lineWidth:this.options.scaleLineWidth,lineColor:this.options.scaleLineColor,gridLineWidth:this.options.scaleShowGridLines?this.options.scaleGridLineWidth:0,gridLineColor:this.options.scaleShowGridLines?this.options.scaleGridLineColor:"rgba(0,0,0,0)",padding:this.options.showScale?0:this.options.pointDotRadius+this.options.pointDotStrokeWidth,showLabels:this.options.scaleShowLabels,display:this.options.showScale};this.options.scaleOverride&&s.extend(e,{calculateYRange:s.noop,steps:this.options.scaleSteps,stepValue:this.options.scaleStepWidth,min:this.options.scaleStartValue,max:this.options.scaleStartValue+this.options.scaleSteps*this.options.scaleStepWidth}),this.scale=new i.Scale(e)},addData:function(t,i){s.each(t,function(t,e){s.isNumber(t)&&this.datasets[e].points.push(new this.PointClass({value:t,label:i,x:this.scale.calculateX(this.scale.valuesCount+1),y:this.scale.endPoint,strokeColor:this.datasets[e].pointStrokeColor,fillColor:this.datasets[e].pointColor}))},this),this.scale.addXLabel(i),this.update()},removeData:function(){this.scale.removeXLabel(),s.each(this.datasets,function(t){t.points.shift()},this),this.update()},reflow:function(){var t=s.extend({height:this.chart.height,width:this.chart.width});this.scale.update(t)},draw:function(t){var n=t||1;this.clear();var o=this.chart.ctx;this.scale.draw(n),s.each(this.datasets,function(i){s.each(i.points,function(t,e){t.transition({y:this.scale.calculateY(t.value),x:this.scale.calculateX(e)},n)},this),this.options.bezierCurve&&s.each(i.points,function(t,e){0===e?t.controlPoints=s.splineCurve(t,t,i.points[e+1],0):e>=i.points.length-1?t.controlPoints=s.splineCurve(i.points[e-1],t,t,0):t.controlPoints=s.splineCurve(i.points[e-1],t,i.points[e+1],this.options.bezierCurveTension)},this),o.lineWidth=this.options.datasetStrokeWidth,o.strokeStyle=i.strokeColor,o.beginPath(),s.each(i.points,function(t,e){0<e?this.options.bezierCurve?o.bezierCurveTo(i.points[e-1].controlPoints.outer.x,i.points[e-1].controlPoints.outer.y,t.controlPoints.inner.x,t.controlPoints.inner.y,t.x,t.y):o.lineTo(t.x,t.y):o.moveTo(t.x,t.y)},this),o.stroke(),this.options.datasetFill&&(o.lineTo(i.points[i.points.length-1].x,this.scale.endPoint),o.lineTo(this.scale.calculateX(0),this.scale.endPoint),o.fillStyle=i.fillColor,o.closePath(),o.fill()),s.each(i.points,function(t){t.draw()})},this)}})}.call(this),function(){"use strict";var e=this.Chart,n=e.helpers;e.Type.extend({name:"PolarArea",defaults:{scaleShowLabelBackdrop:!0,scaleBackdropColor:"rgba(255,255,255,0.75)",scaleBeginAtZero:!0,scaleBackdropPaddingY:2,scaleBackdropPaddingX:2,scaleShowLine:!0,segmentShowStroke:!0,segmentStrokeColor:"#fff",segmentStrokeWidth:2,animationSteps:100,animationEasing:"easeOutBounce",animateRotate:!0,animateScale:!1,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<segments.length; i++){%><li><span style="background-color:<%=segments[i].fillColor%>"></span><%if(segments[i].label){%><%=segments[i].label%><%}%></li><%}%></ul>'},initialize:function(t){this.segments=[],this.SegmentArc=e.Arc.extend({showStroke:this.options.segmentShowStroke,strokeWidth:this.options.segmentStrokeWidth,strokeColor:this.options.segmentStrokeColor,ctx:this.chart.ctx,innerRadius:0,x:this.chart.width/2,y:this.chart.height/2}),this.scale=new e.RadialScale({display:this.options.showScale,fontStyle:this.options.scaleFontStyle,fontSize:this.options.scaleFontSize,fontFamily:this.options.scaleFontFamily,fontColor:this.options.scaleFontColor,showLabels:this.options.scaleShowLabels,showLabelBackdrop:this.options.scaleShowLabelBackdrop,backdropColor:this.options.scaleBackdropColor,backdropPaddingY:this.options.scaleBackdropPaddingY,backdropPaddingX:this.options.scaleBackdropPaddingX,lineWidth:this.options.scaleShowLine?this.options.scaleLineWidth:0,lineColor:this.options.scaleLineColor,lineArc:!0,width:this.chart.width,height:this.chart.height,xCenter:this.chart.width/2,yCenter:this.chart.height/2,ctx:this.chart.ctx,templateString:this.options.scaleLabel,valuesCount:t.length}
1),this.updateScaleRange(t),this.scale.update(),n.each(t,function(t,e){this.addData(t,e,!0)},this),this.options.showTooltips&&n.bindEvents(this,this.options.tooltipEvents,function(t){var e="mouseout"!==t.type?this.getSegmentsAtEvent(t):[];n.each(this.segments,function(t){t.restore(["fillColor"])}),n.each(e,function(t){t.fillColor=t.highlightColor}),this.showTooltip(e)}),this.render()},getSegmentsAtEvent:function(t){var e=[],i=n.getRelativePosition(t);return n.each(this.segments,function(t){t.inRange(i.x,i.y)&&e.push(t)},this),e},addData:function(t,e,i){var n=e||this.segments.length;this.segments.splice(n,0,new this.SegmentArc({fillColor:t.color,highlightColor:t.highlight||t.color,label:t.label,value:t.value,outerRadius:this.options.animateScale?0:this.scale.calculateCenterOffset(t.value),circumference:this.options.animateRotate?0:this.scale.getCircumference(),startAngle:1.5*Math.PI})),i||(this.reflow(),this.update())},removeData:function(t){var e=n.isNumber(t)?t:this.segments.length-1;this.segments.splice(e,1),this.reflow(),this.update()},calculateTotal:function(t){this.total=0,n.each(t,function(t){this.total+=t.value},this),this.scale.valuesCount=this.segments.length},updateScaleRange:function(t){var e=[];n.each(t,function(t){e.push(t.value)});var i=this.options.scaleOverride?{steps:this.options.scaleSteps,stepValue:this.options.scaleStepWidth,min:this.options.scaleStartValue,max:this.options.scaleStartValue+this.options.scaleSteps*this.options.scaleStepWidth}:n.calculateScaleRange(e,n.min([this.chart.width,this.chart.height])/2,this.options.scaleFontSize,this.options.scaleBeginAtZero,this.options.scaleIntegersOnly);n.extend(this.scale,i,{size:n.min([this.chart.width,this.chart.height]),xCenter:this.chart.width/2,yCenter:this.chart.height/2})},update:function(){this.calculateTotal(this.segments),n.each(this.segments,function(t){t.save()}),this.render()},reflow:function(){n.extend(this.SegmentArc.prototype,{x:this.chart.width/2,y:this.chart.height/2}),this.updateScaleRange(this.segments),this.scale.update(),n.extend(this.scale,{xCenter:this.chart.width/2,yCenter:this.chart.height/2}),n.each(this.segments,function(t){t.update({outerRadius:this.scale.calculateCenterOffset(t.value)})},this)},draw:function(t){var i=t||1;this.clear(),n.each(this.segments,function(t,e){t.transition({circumference:this.scale.getCircumference(),outerRadius:this.scale.calculateCenterOffset(t.value)},i),t.endAngle=t.startAngle+t.circumference,0===e&&(t.startAngle=1.5*Math.PI),e<this.segments.length-1&&(this.segments[e+1].startAngle=t.endAngle),t.draw()},this),this.scale.draw()}})}.call(this),function(){"use strict";var e=this.Chart,a=e.helpers;e.Type.extend({name:"Radar",defaults:{scaleShowLine:!0,angleShowLineOut:!0,scaleShowLabels:!1,scaleBeginAtZero:!0,angleLineColor:"rgba(0,0,0,.1)",angleLineWidth:1,pointLabelFontFamily:"'Arial'",pointLabelFontStyle:"normal",pointLabelFontSize:10,pointLabelFontColor:"#666",pointDot:!0,pointDotRadius:3,pointDotStrokeWidth:1,pointHitDetectionRadius:20,datasetStroke:!0,datasetStrokeWidth:2,datasetFill:!0,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<datasets.length; i++){%><li><span style="background-color:<%=datasets[i].strokeColor%>"></span><%if(datasets[i].label){%><%=datasets[i].label%><%}%></li><%}%></ul>'},initialize:function(s){this.PointClass=e.Point.extend({strokeWidth:this.options.pointDotStrokeWidth,radius:this.options.pointDotRadius,display:this.options.pointDot,hitDetectionRadius:this.options.pointHitDetectionRadius,ctx:this.chart.ctx}),this.datasets=[],this.buildScale(s),this.options.showTooltips&&a.bindEvents(this,this.options.tooltipEvents,function(t){var e="mouseout"!==t.type?this.getPointsAtEvent(t):[];this.eachPoints(function(t){t.restore(["fillColor","strokeColor"])}),a.each(e,function(t){t.fillColor=t.highlightFill,t.strokeColor=t.highlightStroke}),this.showTooltip(e)}),a.each(s.datasets,function(n){var o={label:n.label||null,fillColor:n.fillColor,strokeColor:n.strokeColor,pointColor:n.pointColor,pointStrokeColor:n.pointStrokeColor,points:[]};this.datasets.push(o),a.each(n.data,function(t,e){var i;a.isNumber(t)&&(this.scale.animation||(i=this.scale.getPointPosition(e,this.scale.calculateCenterOffset(t))),o.points.push(new this.PointClass({value:t,label:s.labels[e],datasetLabel:n.label,x:this.options.animation?this.scale.xCenter:i.x,y:this.options.animation?this.scale.yCenter:i.y,strokeColor:n.pointStrokeColor,fillColor:n.pointColor,highlightFill:n.pointHighlightFill||n.pointColor,highlightStroke:n.pointHighlightStroke||n.pointStrokeColor})))},this)},this),this.render()},eachPoints:function(e){a.each(this.datasets,function(t){a.each(t.points,e,this)},this)},getPointsAtEvent:function(t){var e=a.getRelativePosition(t),i=a.getAngleFromPoint({x:this.scale.xCenter,y:this.scale.yCenter},e),n=2*Math.PI/this.scale.valuesCount,o=Math.round((i.angle-1.5*Math.PI)/n),s=[];return(o>=this.scale.valuesCount||o<0)&&(o=0),i.distance<=this.scale.drawingArea&&a.each(this.datasets,function(t){s.push(t.points[o])}),s},buildScale:function(t){this.scale=new e.RadialScale({display:this.options.showScale,fontStyle:this.options.scaleFontStyle,fontSize:this.options.scaleFontSize,fontFamily:this.options.scaleFontFamily,fontColor:this.options.scaleFontColor,showLabels:this.options.scaleShowLabels,showLabelBackdrop:this.options.scaleShowLabelBackdrop,backdropColor:this.options.scaleBackdropColor,backdropPaddingY:this.options.scaleBackdropPaddingY,backdropPaddingX:this.options.scaleBackdropPaddingX,lineWidth:this.options.scaleShowLine?this.options.scaleLineWidth:0,lineColor:this.options.scaleLineColor,angleLineColor:this.options.angleLineColor,angleLineWidth:this.options.angleShowLineOut?this.options.angleLineWidth:0,pointLabelFontColor:this.options.pointLabelFontColor,pointLabelFontSize:this.options.pointLabelFontSize,pointLabelFontFamily:this.options.pointLabelFontFamily,pointLabelFontStyle:this.options.pointLabelFontStyle,height:this.chart.height,width:this.chart.width,xCenter:this.chart.width/2,yCenter:this.chart.height/2,ctx:this.chart.ctx,templateString:this.options.scaleLabel,labels:t.labels,valuesCount:t.datasets[0].data.length}),this.scale.setScaleSize(),this.updateScaleRange(t.datasets),this.scale.buildYLabels()},updateScaleRange:function(t){var e,i=(e=[],a.each(t,function(t){t.data?e=e.concat(t.data):a.each(t.points,function(t){e.push(t.value)})}),e),n=this.options.scaleOverride?{steps:this.options.scaleSteps,stepValue:this.options.scaleStepWidth,min:this.options.scaleStartValue,max:this.options.scaleStartValue+this.options.scaleSteps*this.options.scaleStepWidth}:a.calculateScaleRange(i,a.min([this.chart.width,this.chart.height])/2,this.options.scaleFontSize,this.options.scaleBeginAtZero,this.options.scaleIntegersOnly);a.extend(this.scale,n)},addData:function(t,n){this.scale.valuesCount++,a.each(t,function(t,e){if(a.isNumber(t)){var i=this.scale.getPointPosition(this.scale.valuesCount,this.scale.calculateCenterOffset(t));this.datasets[e].points.push(new this.PointClass({value:t,label:n,x:i.x,y:i.y,strokeColor:this.datasets[e].pointStrokeColor,fillColor:this.datasets[e].pointColor}))}},this),this.scale.labels.push(n),this.reflow(),this.update()},removeData:function(){this.scale.valuesCount--,this.scale.labels.shift(),a.each(this.datasets,function(t){t.points.shift()},this),this.reflow(),this.update()},update:function(){this.eachPoints(function(t){t.save()}),this.reflow(),this.render()},reflow:function(){a.extend(this.scale,{width:this.chart.width,height:this.chart.height,size:a.min([this.chart.width,this.chart.height]),xCenter:this.chart.width/2,yCenter:this.chart.height/2}),this.updateScaleRange(this.datasets),this.scale.setScaleSize(),this.scale.buildYLabels()},draw:function(t){var i=t||1,n=this.chart.ctx;this.clear(),this.scale.draw(),a.each(this.datasets,function(t){a.each(t.points,function(t,e){t.transition(this.scale.getPointPosition(e,this.scale.calculateCenterOffset(t.value)),i)},this),n.lineWidth=this.options.datasetStrokeWidth,n.strokeStyle=t.strokeColor,n.beginPath(),a.each(t.points,function(t,e){0===e?n.moveTo(t.x,t.y):n.lineTo(t.x,t.y)},this),n.closePath(),n.stroke(),n.fillStyle=t.fillColor,n.fill(),a.each(t.points,function(t){t.draw()})},this)}})}.call(this),function(u,h){var c,d=/^([\-+])=\s*(\d+\.?\d*)/,t=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],t[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(t){return[t[1],t[2]/100,t[3]/100,t[4]]}}
vendor: 6,327 bytes, line 1
1],p=u.Color=function(t,e,i,n){return new u.Color.fn.parse(t,e,i,n)},f={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},m={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},a=p.support={},e=u("<p>")[0],g=u.each;function v(t,e,i){var n=m[e.type]||{};return null==t?i||!e.def?null:e.def:(t=n.floor?~~t:parseFloat(t),isNaN(t)?e.def:n.mod?(t+n.mod)%n.mod:t<0?0:n.max<t?n.max:t)}function r(a){var r=p(),l=r._rgba=[];return a=a.toLowerCase(),g(t,function(t,e){var i,n=e.re.exec(a),o=n&&e.parse(n),s=e.space||"rgba";if(o)return i=r[s](o),r[f[s].cache]=i[f[s].cache],l=r._rgba=i._rgba,!1}),l.length?("0,0,0,0"===l.join()&&u.extend(l,c.transparent),r):c[a]}function l(t,e,i){return 6*(i=(i+1)%1)<1?t+(e-t)*i*6:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}e.style.cssText="background-color:rgba(1,1,1,.5)",a.rgba=-1<e.style.backgroundColor.indexOf("rgba"),g(f,function(t,e){e.cache="_"+t,e.props.alpha={idx:3,type:"percent",def:1}}),p.fn=u.extend(p.prototype,{parse:function(o,t,e,i){if(o===h)return this._rgba=[null,null,null,null],this;(o.jquery||o.nodeType)&&(o=u(o).css(t),t=h);var s=this,n=u.type(o),a=this._rgba=[];return t!==h&&(o=[o,t,e,i],n="array"),"string"===n?this.parse(r(o)||c._default):"array"===n?(g(f.rgba.props,function(t,e){a[e.idx]=v(o[e.idx],e)}),this):"object"===n?(g(f,o instanceof p?function(t,e){o[e.cache]&&(s[e.cache]=o[e.cache].slice())}:function(t,i){var n=i.cache;g(i.props,function(t,e){if(!s[n]&&i.to){if("alpha"===t||null==o[t])return;s[n]=i.to(s._rgba)}s[n][e.idx]=v(o[t],e,!0)}),s[n]&&u.inArray(null,s[n].slice(0,3))<0&&(s[n][3]=1,i.from&&(s._rgba=i.from(s[n])))}),this):void 0},is:function(t){var o=p(t),s=!0,a=this;return g(f,function(t,e){var i,n=o[e.cache];return n&&(i=a[e.cache]||e.to&&e.to(a._rgba)||[],g(e.props,function(t,e){if(null!=n[e.idx])return s=n[e.idx]===i[e.idx]})),s}),s},_space:function(){var i=[],n=this;return g(f,function(t,e){n[e.cache]&&i.push(t)}),i.pop()},transition:function(t,a){var r=p(t),e=r._space(),i=f[e],n=0===this.alpha()?p("transparent"):this,l=n[i.cache]||i.to(n._rgba),c=l.slice();return r=r[i.cache],g(i.props,function(t,e){var i=e.idx,n=l[i],o=r[i],s=m[e.type]||{};null!==o&&(c[i]=null===n?o:(s.mod&&(o-n>s.mod/2?n+=s.mod:n-o>s.mod/2&&(n-=s.mod)),v((o-n)*a+n,e)))}),this[e](c)},blend:function(t){if(1===this._rgba[3])return this;var e=this._rgba.slice(),i=e.pop(),n=p(t)._rgba;return p(u.map(e,function(t,e){return(1-i)*n[e]+i*t}))},toRgbaString:function(){var t="rgba(",e=u.map(this._rgba,function(t,e){return null==t?2<e?1:0:t});return 1===e[3]&&(e.pop(),t="rgb("),t+e.join()+")"},toHslaString:function(){var t="hsla(",e=u.map(this.hsla(),function(t,e){return null==t&&(t=2<e?1:0),e&&e<3&&(t=Math.round(100*t)+"%"),t});return 1===e[3]&&(e.pop(),t="hsl("),t+e.join()+")"},toHexString:function(t){var e=this._rgba.slice(),i=e.pop();return t&&e.push(~~(255*i)),"#"+u.map(e,function(t){return 1===(t=(t||0).toString(16)).length?"0"+t:t}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),p.fn.parse.prototype=p.fn,f.hsla.to=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e,i,n=t[0]/255,o=t[1]/255,s=t[2]/255,a=t[3],r=Math.max(n,o,s),l=Math.min(n,o,s),c=r-l,u=r+l,h=.5*u;return e=l===r?0:n===r?60*(o-s)/c+360:o===r?60*(s-n)/c+120:60*(n-o)/c+240,i=0===c?0:h<=.5?c/u:c/(2-u),[Math.round(e)%360,i,h,null==a?1:a]},f.hsla.from=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e=t[0]/360,i=t[1],n=t[2],o=t[3],s=n<=.5?n*(1+i):n+i-n*i,a=2*n-s;return[Math.round(255*l(a,s,e+1/3)),Math.round(255*l(a,s,e)),Math.round(255*l(a,s,e-1/3)),o]},g(f,function(l,t){var i=t.props,a=t.cache,r=t.to,c=t.from;p.fn[l]=function(t){if(r&&!this[a]&&(this[a]=r(this._rgba)),t===h)return this[a].slice();var e,n=u.type(t),o="array"===n||"object"===n?t:arguments,s=this[a].slice();return g(i,function(t,e){var i=o["object"===n?t:e.idx];null==i&&(i=s[e.idx]),s[e.idx]=v(i,e)}),c?((e=p(c(s)))[a]=s,e):p(s)},g(i,function(a,r){p.fn[a]||(p.fn[a]=function(t){var e,i=u.type(t),n="alpha"===a?this._hsla?"hsla":"rgba":l,o=this[n](),s=o[r.idx];return"undefined"===i?s:("function"===i&&(t=t.call(this,s),i=u.type(t)),null==t&&r.empty?this:("string"===i&&(e=d.exec(t))&&(t=s+parseFloat(e[2])*("+"===e[1]?1:-1)),o[r.idx]=t,this[n](o)))})})}),p.hook=function(t){var e=t.split(" ");g(e,function(t,s){u.cssHooks[s]={set:function(t,e){var i,n,o="";if("transparent"!==e&&("string"!==u.type(e)||(i=r(e)))){if(e=p(i||e),!a.rgba&&1!==e._rgba[3]){for(n="backgroundColor"===s?t.parentNode:t;(""===o||"transparent"===o)&&n&&n.style;)try{o=u.css(n,"backgroundColor"),n=n.parentNode}catch(t){}e=e.blend(o&&"transparent"!==o?o:"_default")}e=e.toRgbaString()}try{t.style[s]=e}catch(t){}}},u.fx.step[s]=function(t){t.colorInit||(t.start=p(t.elem,s),t.end=p(t.end),t.colorInit=!0),u.cssHooks[s].set(t.elem,t.start.transition(t.end,t.pos))}})},p.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),u.cssHooks.borderColor={expand:function(i){var n={};return g(["Top","Right","Bottom","Left"],function(t,e){n["border"+e+"Color"]=i}),n}},c=u.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(jQuery),function(c,S,T){"use strict";var x,n,k={get:function(){return Z},init:function(t){return Z||new H(t)},VERSION:"0.6.26"},A=Object.prototype.hasOwnProperty,C=c.Math,o=c.getComputedStyle,E="touchstart",j="touchmove",P="touchcancel",M="touchend",F="skrollable",L=F+"-before",I=F+"-between",N=F+"-after",s="skrollr",a="no-"+s,r=s+"-desktop",l=s+"-mobile",u=.004,h=200,B="___skrollable_id",D=/^(?:input|textarea|button|select)$/i,e=/^\s+|\s+$/g,R=/^data(?:-(_\w+))?(?:-?(-?\d*\.?\d+p?))?(?:-?(start|end|top|center|bottom))?(?:-?(top|center|bottom))?$/,d=/\s*(@?[\w\-\[\]]+)\s*:\s*(.+?)\s*(?:;|$)/gi,p=/^(@?[a-z\-]+)\[(\w+)\]$/,O=/-([a-z0-9_])/g,z=function(t,e){return e.toUpperCase()}
1,i=/[\-+]?[\d]*\.?[\d]+/g,f=/\{\?\}/g,m=/rgba?\(\s*-?\d+\s*,\s*-?\d+\s*,\s*-?\d+/g,g=/[a-z\-]+-gradient/g,v="",y="",b=function(){var t=/^(?:O|Moz|webkit|ms)|(?:-(?:o|moz|webkit|ms)-)/;if(o){var e=o(n,null);for(var i in e)if(v=i.match(t)||+i==i&&e[i].match(t))break;v?"-"===(v=v[0]).slice(0,1)?v={"-webkit-":"webkit","-moz-":"Moz","-ms-":"ms","-o-":"O"}[y=v]:y="-"+v.toLowerCase()+"-":v=y=""}},w=function(){var t=c.requestAnimationFrame||c[v.toLowerCase()+"RequestAnimationFrame"],n=Tt();return!Bt&&t||(t=function(t){var e=Tt()-n,i=C.max(0,1e3/60-e);return c.setTimeout(function(){n=Tt(),t()},i)}),t},W={begin:function(){return 0},end:function(){return 1},linear:function(t){return t},quadratic:function(t){return t*t},cubic:function(t){return t*t*t},swing:function(t){return-C.cos(t*C.PI)/2+.5},sqrt:function(t){return C.sqrt(t)},outCubic:function(t){return C.pow(t-1,3)+1},bounce:function(t){var e;if(t<=.5083)e=3;else if(t<=.8489)e=9;else if(t<=.96208)e=27;else{if(!(t<=.99981))return 1;e=91}return 1-C.abs(3*C.cos(t*e*1.028)/e)}};function H(t){if(x=S.documentElement,n=S.body,b(),Z=this,nt=(t=t||{}).constants||{},t.easing)for(var e in t.easing)W[e]=t.easing[e];ut=t.edgeStrategy||"set",et={beforerender:t.beforerender,render:t.render,keyframe:t.keyframe},(it=!1!==t.forceHeight)&&(Et=t.scale||1),ot=t.mobileDeceleration||u,at=!1!==t.smoothScrolling,rt=t.smoothScrollingDuration||h,lt={targetTop:Z.getScrollTop()},(Bt=(t.mobileCheck||function(){return/Android|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent||navigator.vendor||c.opera)})())?((tt=S.getElementById("skrollr-body"))&&K(),_(),xt(x,[s,l],[a])):xt(x,[s,r],[a]),Z.refresh(),pt(c,"resize orientationchange",function(){var t=x.clientWidth,e=x.clientHeight;e===Lt&&t===Ft||(Lt=e,Ft=t,It=!0)});var i=w();return function t(){q(),dt=i(t)}(),Z}H.prototype.refresh=function(t){var e,i,n=!1;for(t===T?(n=!0,J=[],Nt=0,t=S.getElementsByTagName("*")):t.length===T&&(t=[t]),e=0,i=t.length;e<i;e++){var o=t[e],s=o,a=[],r=at,l=ut,c=!1;if(n&&B in o&&delete o[B],o.attributes){for(var u,h,d,p=0,f=o.attributes.length;p<f;p++){var m=o.attributes[p];if("data-anchor-target"!==m.name)if("data-smooth-scrolling"!==m.name)if("data-edge-strategy"!==m.name)if("data-emit-events"!==m.name){var g=m.name.match(R);if(null!==g){var v={props:m.value,element:o,eventType:m.name.replace(O,z)};a.push(v);var y=g[1];y&&(v.constant=y.substr(1));var b=g[2];/p$/.test(b)?(v.isPercentage=!0,v.offset=(0|b.slice(0,-1))/100):v.offset=0|b;var w=g[3],x=g[4]||w;w&&"start"!==w&&"end"!==w?(v.mode="relative",v.anchors=[w,x]):(v.mode="absolute","end"===w?v.isEnd=!0:v.isPercentage||(v.offset=v.offset*Et))}}else c=!0;else l=m.value;else r="off"!==m.value;else if(null===(s=S.querySelector(m.value)))throw'Unable to find anchor target "'+m.value+'"'}if(a.length)h=!n&&B in o?(d=o[B],u=J[d].styleAttr,J[d].classAttr):(d=o[B]=Nt++,u=o.style.cssText,wt(o)),J[d]={element:o,styleAttr:u,classAttr:h,anchorTarget:s,keyFrames:a,smoothScrolling:r,edgeStrategy:l,emitEvents:c,lastFrameIndex:-1},xt(o,[F],[])}}for(vt(),e=0,i=t.length;e<i;e++){var C=J[t[e][B]];C!==T&&($(C),U(C))}return Z},H.prototype.relativeToAbsolute=function(t,e,i){var n=x.clientHeight,o=t.getBoundingClientRect(),s=o.top,a=o.bottom-o.top;return"bottom"===e?s-=n:"center"===e&&(s-=n/2),"bottom"===i?s+=a:"center"===i&&(s+=a/2),(s+=Z.getScrollTop())+.5|0},H.prototype.animateTo=function(t,e){e=e||{};var i=Tt(),n=Z.getScrollTop();return(st={startTop:n,topDiff:t-n,targetTop:t,duration:e.duration||1e3,startTime:i,endTime:i+(e.duration||1e3),easing:W[e.easing||"linear"],done:e.done}).topDiff||(st.done&&st.done.call(Z,!1),st=T),Z},H.prototype.stopAnimateTo=function(){st&&st.done&&st.done.call(Z,!0),st=T},H.prototype.isAnimatingTo=function(){return!!st},H.prototype.isMobile=function(){return Bt},H.prototype.setScrollTop=function(t,e){return ct=!0===e,Bt?Dt=C.min(C.max(t,0),At):c.scrollTo(0,t),Z},H.prototype.getScrollTop=function(){return Bt?Dt:c.pageYOffset||x.scrollTop||n.scrollTop||0},H.prototype.getMaxScrollTop=function(){return At},H.prototype.on=function(t,e){return et[t]=e,Z},H.prototype.off=function(t){return delete et[t],Z},H.prototype.destroy=function(){var t;(t=c.cancelAnimationFrame||c[v.toLowerCase()+"CancelAnimationFrame"],!Bt&&t||(t=function(t){return c.clearTimeout(t)}),t)(dt),mt(),xt(x,[a],[s,r,l]);for(var e=0,i=J.length;e<i;e++)X(J[e].element);x.style.overflow=n.style.overflow="",x.style.height=n.style.height="",tt&&k.setStyle(tt,"transform","none"),jt="down",Bt=It=!(Pt=-(Et=1)),Dt=Nt=Lt=Ft=At=0,ht=ut=ct=lt=rt=at=st=ot=nt=it=et
1=tt=Z=T};var _=function(){var u,h,d,p,f,m,g,v,y,b,w;pt(x,[E,j,P,M].join(" "),function(t){var e=t.changedTouches[0];for(p=t.target;3===p.nodeType;)p=p.parentNode;switch(f=e.clientY,m=e.clientX,y=t.timeStamp,D.test(p.tagName)||t.preventDefault(),t.type){case E:u&&u.blur(),Z.stopAnimateTo(),u=p,h=g=f,d=m,y;break;case j:D.test(p.tagName)&&S.activeElement!==p&&t.preventDefault(),v=f-g,w=y-b,Z.setScrollTop(Dt-v,!0),g=f,b=y;break;default:case P:case M:var i=h-f,n=d-m;if(n*n+i*i<49){if(!D.test(u.tagName)){u.focus();var o=S.createEvent("MouseEvents");o.initMouseEvent("click",!0,!0,t.view,1,e.screenX,e.screenY,e.clientX,e.clientY,t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,0,null),u.dispatchEvent(o)}return}u=T;var s=v/w;s=C.max(C.min(s,3),-3);var a=C.abs(s/ot),r=s*a+.5*ot*a*a,l=Z.getScrollTop()-r,c=0;At<l?(c=(At-l)/r,l=At):l<0&&(c=-l/r,l=0),a*=1-c,Z.animateTo(l+.5|0,{easing:"outCubic",duration:a})}}),c.scrollTo(0,0),x.style.overflow=n.style.overflow="hidden"},q=function(){It&&(It=!1,vt());var t,e,i=Z.getScrollTop(),n=Tt();if(st)n>=st.endTime?(i=st.targetTop,t=st.done,st=T):(e=st.easing((n-st.startTime)/st.duration),i=st.startTop+e*st.topDiff|0),Z.setScrollTop(i,!0);else if(!ct){lt.targetTop-i&&(lt={startTop:Pt,topDiff:i-Pt,targetTop:i,startTime:Mt,endTime:Mt+rt}),n<=lt.endTime&&(e=W.sqrt((n-lt.startTime)/rt),i=lt.startTop+e*lt.topDiff|0)}if(Bt&&tt&&k.setStyle(tt,"transform","translate(0, "+-Dt+"px) "+ht),ct||Pt!==i){var o={curTop:i,lastTop:Pt,maxTop:At,direction:jt=Pt<i?"down":i<Pt?"up":jt};(ct=!1)!==(et.beforerender&&et.beforerender.call(Z,o))&&(!function(t,e){for(var i=0,n=J.length;i<n;i++){var o,s,a=J[i],r=a.element,l=a.smoothScrolling?t:e,c=a.keyFrames,u=c.length,h=c[0],d=c[c.length-1],p=l<h.frame,f=l>d.frame,m=p?h:d,g=a.emitEvents,v=a.lastFrameIndex;if(p||f){if(p&&-1===a.edge||f&&1===a.edge)continue;switch(p?(xt(r,[L],[N,I]),g&&-1<v&&(gt(r,h.eventType,jt),a.lastFrameIndex=-1)):(xt(r,[N],[L,I]),g&&v<u&&(gt(r,d.eventType,jt),a.lastFrameIndex=u)),a.edge=p?-1:1,a.edgeStrategy){case"reset":X(r);continue;case"ease":l=m.frame;break;default:case"set":var y=m.props;for(o in y)A.call(y,o)&&(s=Y(y[o].value),0===o.indexOf("@")?r.setAttribute(o.substr(1),s):k.setStyle(r,o,s));continue}}else 0!==a.edge&&(xt(r,[F,I],[L,N]),a.edge=0);for(var b=0;b<u-1;b++)if(l>=c[b].frame&&l<=c[b+1].frame){var w=c[b],x=c[b+1];for(o in w.props)if(A.call(w.props,o)){var C=(l-w.frame)/(x.frame-w.frame);C=w.props[o].easing(C),s=G(w.props[o].value,x.props[o].value,C),s=Y(s),0===o.indexOf("@")?r.setAttribute(o.substr(1),s):k.setStyle(r,o,s)}g&&v!==b&&(gt(r,"down"===jt?w.eventType:x.eventType,jt),a.lastFrameIndex=b);break}}}(i,Z.getScrollTop()),Pt=i,et.render&&et.render.call(Z,o)),t&&t.call(Z,!1)}Mt=n},$=function(t){for(var e=0,i=t.keyFrames.length;e<i;e++){for(var n,o,s,a,r=t.keyFrames[e],l={};null!==(a=d.exec(r.props));)s=a[1],o=a[2],n=null!==(n=s.match(p))?(s=n[1],n[2]):"linear",o=o.indexOf("!")?V(o):[o.slice(1)],l[s]={value:o,easing:W[n]};r.props=l}},V=function(t){var e=[];return m.lastIndex=0,t=t.replace(m,function(t){return t.replace(i,function(t){return t/255*100+"%"})}),y&&(g.lastIndex=0,t=t.replace(g,function(t){return y+t})),t=t.replace(i,function(t){return e.push(+t),"{?}"}),e.unshift(t),e},U=function(t){var e,i,n={};for(e=0,i=t.keyFrames.length;e<i;e++)Q(t.keyFrames[e],n);for(n={},e=t.keyFrames.length-1;0<=e;e--)Q(t.keyFrames[e],n)},Q=function(t,e){var i;for(i in e)A.call(t.props,i)||(t.props[i]=e[i]);for(i in t.props)e[i]=t.props[i]},G=function(t,e,i){var n,o=t.length;if(o!==e.length)throw"Can't interpolate between \""+t[0]+'" and "'+e[0]+'"';var s=[t[0]];for(n=1;n<o;n++)s[n]=t[n]+(e[n]-t[n])*i;return s},Y=function(t){var e=1;return f.lastIndex=0,t[0].replace(f,function(){return t[e++]})},X=function(t,e){for(var i,n,o=0,s=(t=[].concat(t)).length;o<s;o++)n=t[o],(i=J[n[B]])&&(e?(n.style.cssText=i.dirtyStyleAttr,xt(n,i.dirtyClassAttr)):(i.dirtyStyleAttr=n.style.cssText,i.dirtyClassAttr=wt(n),n.style.cssText=i.styleAttr,xt(n,i.classAttr)))},K=function(){ht="translateZ(0)",k.setStyle(tt,"transform",ht);var t=o(tt),e=t.getPropertyValue("transform"),i=t.getPropertyValue(y+"transform");e&&"none"!==e||i&&"none"!==i||(ht="")};
1k.setStyle=function(t,e,i){var n=t.style;if("zIndex"===(e=e.replace(O,z).replace("-","")))isNaN(i)?n[e]=i:n[e]=""+(0|i);else if("float"===e)n.styleFloat=n.cssFloat=i;else try{v&&(n[v+e.slice(0,1).toUpperCase()+e.slice(1)]=i),n[e]=i}catch(t){}};var Z,J,tt,et,it,nt,ot,st,at,rt,lt,ct,ut,ht,dt,pt=k.addEvent=function(t,e,i){for(var n,o=function(t){return(t=t||c.event).target||(t.target=t.srcElement),t.preventDefault||(t.preventDefault=function(){t.returnValue=!1,t.defaultPrevented=!0}),i.call(this,t)},s=0,a=(e=e.split(" ")).length;s<a;s++)n=e[s],t.addEventListener?t.addEventListener(n,i,!1):t.attachEvent("on"+n,o),Rt.push({element:t,name:n,listener:i})},ft=k.removeEvent=function(t,e,i){for(var n=0,o=(e=e.split(" ")).length;n<o;n++)t.removeEventListener?t.removeEventListener(e[n],i,!1):t.detachEvent("on"+e[n],i)},mt=function(){for(var t,e=0,i=Rt.length;e<i;e++)t=Rt[e],ft(t.element,t.name,t.listener);Rt=[]},gt=function(t,e,i){et.keyframe&&et.keyframe.call(Z,t,e,i)},vt=function(){var t=Z.getScrollTop();At=0,it&&!Bt&&(n.style.height=""),function(){var t,e,i,n,o,s,a,r,l,c,u,h=x.clientHeight,d=yt();for(r=0,l=J.length;r<l;r++)for(e=(t=J[r]).element,i=t.anchorTarget,o=0,s=(n=t.keyFrames).length;o<s;o++)c=(a=n[o]).offset,u=d[a.constant]||0,a.frame=c,a.isPercentage&&(c*=h,a.frame=c),"relative"===a.mode&&(X(e),a.frame=Z.relativeToAbsolute(i,a.anchors[0],a.anchors[1])-c,X(e,!0)),a.frame+=u,it&&!a.isEnd&&a.frame>At&&(At=a.frame);for(At=C.max(At,bt()),r=0,l=J.length;r<l;r++){for(o=0,s=(n=(t=J[r]).keyFrames).length;o<s;o++)u=d[(a=n[o]).constant]||0,a.isEnd&&(a.frame=At-a.offset+u);t.keyFrames.sort(kt)}}(),it&&!Bt&&(n.style.height=At+x.clientHeight+"px"),Bt?Z.setScrollTop(C.min(Z.getScrollTop(),At)):Z.setScrollTop(t,!0),ct=!0},yt=function(){var t,e,i=x.clientHeight,n={};for(t in nt)"function"==typeof(e=nt[t])?e=e.call(Z):/p$/.test(e)&&(e=e.slice(0,-1)/100*i),n[t]=e;return n},bt=function(){var t=tt&&tt.offsetHeight||0;return C.max(t,n.scrollHeight,n.offsetHeight,x.scrollHeight,x.offsetHeight,x.clientHeight)-x.clientHeight},wt=function(t){var e="className";return c.SVGElement&&t instanceof c.SVGElement&&(t=t[e],e="baseVal"),t[e]},xt=function(t,e,i){var n="className";if(c.SVGElement&&t instanceof c.SVGElement&&(t=t[n],n="baseVal"),i!==T){for(var o=t[n],s=0,a=i.length;s<a;s++)o=St(o).replace(St(i[s])," ");o=Ct(o);for(var r=0,l=e.length;r<l;r++)-1===St(o).indexOf(St(e[r]))&&(o+=" "+e[r]);t[n]=Ct(o)}else t[n]=e},Ct=function(t){return t.replace(e,"")},St=function(t){return" "+t+" "},Tt=Date.now||function(){return+new Date},kt=function(t,e){return t.frame-e.frame},At=0,Et=1,jt="down",Pt=-1,Mt=Tt(),Ft=0,Lt=0,It=!1,Nt=0,Bt=!1,Dt=0,Rt=[];"function"==typeof define&&define.amd?define("skrollr",function(){return k}):"undefined"!=typeof module&&module.exports?module.exports=k:c.skrollr=k}(window,document);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.