!function(define){!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){function c(a){var b="length"in a&&a.length,c=ea.type(a);return"function"!==c&&!ea.isWindow(a)&&(!(1!==a.nodeType||!b)||("array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a))}function d(a,b,c){if(ea.isFunction(b))return ea.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return ea.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(ma.test(b))return ea.filter(b,a,c);b=ea.filter(b,a)}return ea.grep(a,function(a){return ea.inArray(a,b)>=0!==c})}function e(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}function f(a){var b=ua[a]={};return ea.each(a.match(ta)||[],function(a,c){b[c]=!0}),b}function g(){oa.addEventListener?(oa.removeEventListener("DOMContentLoaded",h,!1),a.removeEventListener("load",h,!1)):(oa.detachEvent("onreadystatechange",h),a.detachEvent("onload",h))}function h(){(oa.addEventListener||"load"===event.type||"complete"===oa.readyState)&&(g(),ea.ready())}function i(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(za,"-$1").toLowerCase();if(c=a.getAttribute(d),"string"==typeof c){try{c="true"===c||"false"!==c&&("null"===c?null:+c+""===c?+c:ya.test(c)?ea.parseJSON(c):c)}catch(e){}ea.data(a,b,c)}else c=void 0}return c}function j(a){var b;for(b in a)if(("data"!==b||!ea.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function k(a,b,c,d){if(ea.acceptData(a)){var e,f,g=ea.expando,h=a.nodeType,i=h?ea.cache:a,j=h?a[g]:a[g]&&g;if(j&&i[j]&&(d||i[j].data)||void 0!==c||"string"!=typeof b)return j||(j=h?a[g]=W.pop()||ea.guid++:g),i[j]||(i[j]=h?{}:{toJSON:ea.noop}),"object"!=typeof b&&"function"!=typeof b||(d?i[j]=ea.extend(i[j],b):i[j].data=ea.extend(i[j].data,b)),f=i[j],d||(f.data||(f.data={}),f=f.data),void 0!==c&&(f[ea.camelCase(b)]=c),"string"==typeof b?(e=f[b],null==e&&(e=f[ea.camelCase(b)])):e=f,e}}function l(a,b,c){if(ea.acceptData(a)){var d,e,f=a.nodeType,g=f?ea.cache:a,h=f?a[ea.expando]:ea.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){ea.isArray(b)?b=b.concat(ea.map(b,ea.camelCase)):b in d?b=[b]:(b=ea.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;for(;e--;)delete d[b[e]];if(c?!j(d):!ea.isEmptyObject(d))return}(c||(delete g[h].data,j(g[h])))&&(f?ea.cleanData([a],!0):ca.deleteExpando||g!=g.window?delete g[h]:g[h]=null)}}}function m(){return!0}function n(){return!1}function o(){try{return oa.activeElement}catch(a){}}function p(a){var b=Ka.split("|"),c=a.createDocumentFragment();if(c.createElement)for(;b.length;)c.createElement(b.pop());return c}function q(a,b){var c,d,e=0,f=typeof a.getElementsByTagName!==xa?a.getElementsByTagName(b||"*"):typeof a.querySelectorAll!==xa?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||ea.nodeName(d,b)?f.push(d):ea.merge(f,q(d,b));return void 0===b||b&&ea.nodeName(a,b)?ea.merge([a],f):f}function r(a){Ea.test(a.type)&&(a.defaultChecked=a.checked)}function s(a,b){return ea.nodeName(a,"table")&&ea.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function t(a){return a.type=(null!==ea.find.attr(a,"type"))+"/"+a.type,a}function u(a){var b=Va.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function v(a,b){for(var c,d=0;null!=(c=a[d]);d++)ea._data(c,"globalEval",!b||ea._data(b[d],"globalEval"))}function w(a,b){if(1===b.nodeType&&ea.hasData(a)){var c,d,e,f=ea._data(a),g=ea._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;d")).appendTo(b.documentElement),b=($a[0].contentWindow||$a[0].contentDocument).document,b.write(),b.close(),c=y(a,b),$a.detach()),_a[a]=c),c}function A(a,b){return{get:function(){var c=a();if(null!=c)return c?void delete this.get:(this.get=b).apply(this,arguments)}}}function B(a,b){if(b in a)return b;for(var c=b.charAt(0).toUpperCase()+b.slice(1),d=b,e=mb.length;e--;)if(b=mb[e]+c,b in a)return b;return d}function C(a,b){for(var c,d,e,f=[],g=0,h=a.length;g=0&&c=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==ea.type(a)||a.nodeType||ea.isWindow(a))return!1;try{if(a.constructor&&!ba.call(a,"constructor")&&!ba.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(ca.ownLast)for(b in a)return ba.call(a,b);for(b in a);return void 0===b||ba.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?_[aa.call(a)]||"object":typeof a},globalEval:function(b){b&&ea.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(ga,"ms-").replace(ha,ia)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,d){var e,f=0,g=a.length,h=c(a);if(d){if(h)for(;fw.cacheLength&&delete a[b.shift()],a[c+" "]=d}var b=[];return a}function d(a){return a[N]=!0,a}function e(a){var b=G.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function f(a,b){for(var c=a.split("|"),d=a.length;d--;)w.attrHandle[c[d]]=b}function g(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||V)-(~a.sourceIndex||V);if(d)return d;if(c)for(;c=c.nextSibling;)if(c===b)return-1;return a?1:-1}function h(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function i(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function j(a){return d(function(b){return b=+b,d(function(c,d){for(var e,f=a([],c.length,b),g=f.length;g--;)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function k(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}function l(){}function m(a){for(var b=0,c=a.length,d="";b1?function(b,c,d){for(var e=a.length;e--;)if(!a[e](b,c,d))return!1;return!0}:a[0]}function p(a,c,d){for(var e=0,f=c.length;e-1&&(d[j]=!(g[j]=l))}}else t=q(t===g?t.splice(o,t.length):t),f?f(null,g,t,i):$.apply(g,t)})}function s(a){for(var b,c,d,e=a.length,f=w.relative[a[0].type],g=f||w.relative[" "],h=f?1:0,i=n(function(a){return a===b},g,!0),j=n(function(a){return aa(b,a)>-1},g,!0),k=[function(a,c,d){var e=!f&&(d||c!==C)||((b=c).nodeType?i(a,c,d):j(a,c,d));return b=null,e}];h1&&o(k),h>1&&m(a.slice(0,h-1).concat({value:" "===a[h-2].type?"*":""})).replace(ia,"$1"),c,h0,f=a.length>0,g=function(d,g,h,i,j){var k,l,m,n=0,o="0",p=d&&[],r=[],s=C,t=d||f&&w.find.TAG("*",j),u=P+=null==s?1:Math.random()||.1,v=t.length;for(j&&(C=g!==G&&g);o!==v&&null!=(k=t[o]);o++){if(f&&k){for(l=0;m=a[l++];)if(m(k,g,h)){i.push(k);break}j&&(P=u)}e&&((k=!m&&k)&&n--,d&&p.push(k))}if(n+=o,e&&o!==n){for(l=0;m=c[l++];)m(p,r,g,h);if(d){if(n>0)for(;o--;)p[o]||r[o]||(r[o]=Y.call(i));r=q(r)}$.apply(i,r),j&&!d&&r.length>0&&n+c.length>1&&b.uniqueSort(i)}return j&&(P=u,C=s),p};return e?d(g):g}var u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N="sizzle"+1*new Date,O=a.document,P=0,Q=0,R=c(),S=c(),T=c(),U=function(a,b){return a===b&&(E=!0),0},V=1<<31,W={}.hasOwnProperty,X=[],Y=X.pop,Z=X.push,$=X.push,_=X.slice,aa=function(a,b){for(var c=0,d=a.length;c+~]|"+ca+")"+ca+"*"),la=new RegExp("="+ca+"*([^\\]'\"]*?)"+ca+"*\\]","g"),ma=new RegExp(ga),na=new RegExp("^"+ea+"$"),oa={ID:new RegExp("^#("+da+")"),CLASS:new RegExp("^\\.("+da+")"),TAG:new RegExp("^("+da.replace("w","w*")+")"),ATTR:new RegExp("^"+fa),PSEUDO:new RegExp("^"+ga),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ca+"*(even|odd|(([+-]|)(\\d*)n|)"+ca+"*(?:([+-]|)"+ca+"*(\\d+)|))"+ca+"*\\)|)","i"),bool:new RegExp("^(?:"+ba+")$","i"),needsContext:new RegExp("^"+ca+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ca+"*((?:-\\d)?\\d*)"+ca+"*\\)|)(?=[^-]|$)","i")},pa=/^(?:input|select|textarea|button)$/i,qa=/^h\d$/i,ra=/^[^{]+\{\s*\[native \w/,sa=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ta=/[+~]/,ua=/'|\\/g,va=new RegExp("\\\\([\\da-f]{1,6}"+ca+"?|("+ca+")|.)","ig"),wa=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:d<0?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},xa=function(){F()};try{$.apply(X=_.call(O.childNodes),O.childNodes),X[O.childNodes.length].nodeType}catch(ya){$={apply:X.length?function(a,b){Z.apply(a,_.call(b))}:function(a,b){for(var c=a.length,d=0;a[c++]=b[d++];);a.length=c-1}}}v=b.support={},y=b.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return!!b&&"HTML"!==b.nodeName},F=b.setDocument=function(a){var b,c,d=a?a.ownerDocument||a:O;return d!==G&&9===d.nodeType&&d.documentElement?(G=d,H=d.documentElement,c=d.defaultView,c&&c!==c.top&&(c.addEventListener?c.addEventListener("unload",xa,!1):c.attachEvent&&c.attachEvent("onunload",xa)),I=!y(d),v.attributes=e(function(a){return a.className="i",!a.getAttribute("className")}),v.getElementsByTagName=e(function(a){return a.appendChild(d.createComment("")),!a.getElementsByTagName("*").length}),v.getElementsByClassName=ra.test(d.getElementsByClassName),v.getById=e(function(a){return H.appendChild(a).id=N,!d.getElementsByName||!d.getElementsByName(N).length}),v.getById?(w.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&I){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},w.filter.ID=function(a){var b=a.replace(va,wa);return function(a){return a.getAttribute("id")===b}}):(delete w.find.ID,w.filter.ID=function(a){var b=a.replace(va,wa);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),w.find.TAG=v.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):v.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){for(;c=f[e++];)1===c.nodeType&&d.push(c);return d}return f},w.find.CLASS=v.getElementsByClassName&&function(a,b){if(I)return b.getElementsByClassName(a)},K=[],J=[],(v.qsa=ra.test(d.querySelectorAll))&&(e(function(a){H.appendChild(a).innerHTML="",a.querySelectorAll("[msallowcapture^='']").length&&J.push("[*^$]="+ca+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||J.push("\\["+ca+"*(?:value|"+ba+")"),a.querySelectorAll("[id~="+N+"-]").length||J.push("~="),a.querySelectorAll(":checked").length||J.push(":checked"),a.querySelectorAll("a#"+N+"+*").length||J.push(".#.+[+~]")}),e(function(a){var b=d.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&J.push("name"+ca+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||J.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),J.push(",.*:")})),(v.matchesSelector=ra.test(L=H.matches||H.webkitMatchesSelector||H.mozMatchesSelector||H.oMatchesSelector||H.msMatchesSelector))&&e(function(a){v.disconnectedMatch=L.call(a,"div"),L.call(a,"[s!='']:x"),K.push("!=",ga)}),J=J.length&&new RegExp(J.join("|")),K=K.length&&new RegExp(K.join("|")),b=ra.test(H.compareDocumentPosition),M=b||ra.test(H.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)for(;b=b.parentNode;)if(b===a)return!0;return!1},U=b?function(a,b){if(a===b)return E=!0,0;var c=!a.compareDocumentPosition-!b.compareDocumentPosition;return c?c:(c=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&c||!v.sortDetached&&b.compareDocumentPosition(a)===c?a===d||a.ownerDocument===O&&M(O,a)?-1:b===d||b.ownerDocument===O&&M(O,b)?1:D?aa(D,a)-aa(D,b):0:4&c?-1:1)}:function(a,b){if(a===b)return E=!0,0;var c,e=0,f=a.parentNode,h=b.parentNode,i=[a],j=[b];if(!f||!h)return a===d?-1:b===d?1:f?-1:h?1:D?aa(D,a)-aa(D,b):0;if(f===h)return g(a,b);for(c=a;c=c.parentNode;)i.unshift(c);for(c=b;c=c.parentNode;)j.unshift(c);for(;i[e]===j[e];)e++;return e?g(i[e],j[e]):i[e]===O?-1:j[e]===O?1:0},d):G},b.matches=function(a,c){return b(a,null,null,c)},b.matchesSelector=function(a,c){if((a.ownerDocument||a)!==G&&F(a),c=c.replace(la,"='$1']"),v.matchesSelector&&I&&(!K||!K.test(c))&&(!J||!J.test(c)))try{var d=L.call(a,c);if(d||v.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return b(c,G,null,[a]).length>0},b.contains=function(a,b){return(a.ownerDocument||a)!==G&&F(a),M(a,b)},b.attr=function(a,b){(a.ownerDocument||a)!==G&&F(a);var c=w.attrHandle[b.toLowerCase()],d=c&&W.call(w.attrHandle,b.toLowerCase())?c(a,b,!I):void 0;return void 0!==d?d:v.attributes||!I?a.getAttribute(b):(d=a.getAttributeNode(b))&&d.specified?d.value:null},b.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},b.uniqueSort=function(a){var b,c=[],d=0,e=0;if(E=!v.detectDuplicates,D=!v.sortStable&&a.slice(0),a.sort(U),E){for(;b=a[e++];)b===a[e]&&(d=c.push(e));for(;d--;)a.splice(c[d],1)}return D=null,a},x=b.getText=function(a){var b,c="",d=0,e=a.nodeType;if(e){if(1===e||9===e||11===e){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=x(a)}else if(3===e||4===e)return a.nodeValue}else for(;b=a[d++];)c+=x(b);return c},w=b.selectors={cacheLength:50,createPseudo:d,match:oa,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(va,wa),a[3]=(a[3]||a[4]||a[5]||"").replace(va,wa),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||b.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&b.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return oa.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&ma.test(c)&&(b=z(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(va,wa).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=R[a+" "];return b||(b=new RegExp("(^|"+ca+")"+a+"("+ca+"|$)"))&&R(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,c,d){return function(e){var f=b.attr(e,a);return null==f?"!="===c:!c||(f+="","="===c?f===d:"!="===c?f!==d:"^="===c?d&&0===f.indexOf(d):"*="===c?d&&f.indexOf(d)>-1:"$="===c?d&&f.slice(-d.length)===d:"~="===c?(" "+f.replace(ha," ")+" ").indexOf(d)>-1:"|="===c&&(f===d||f.slice(0,d.length+1)===d+"-"))}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){for(;p;){for(l=b;l=l[p];)if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){for(k=q[N]||(q[N]={}),j=k[a]||[],n=j[0]===P&&j[1],m=j[0]===P&&j[2],l=n&&q.childNodes[n];l=++n&&l&&l[p]||(m=n=0)||o.pop();)if(1===l.nodeType&&++m&&l===b){k[a]=[P,n,m];break}}else if(s&&(j=(b[N]||(b[N]={}))[a])&&j[0]===P)m=j[1];else for(;(l=++n&&l&&l[p]||(m=n=0)||o.pop())&&((h?l.nodeName.toLowerCase()!==r:1!==l.nodeType)||!++m||(s&&((l[N]||(l[N]={}))[a]=[P,m]),l!==b)););return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,c){var e,f=w.pseudos[a]||w.setFilters[a.toLowerCase()]||b.error("unsupported pseudo: "+a);return f[N]?f(c):f.length>1?(e=[a,a,"",c],w.setFilters.hasOwnProperty(a.toLowerCase())?d(function(a,b){for(var d,e=f(a,c),g=e.length;g--;)d=aa(a,e[g]),a[d]=!(b[d]=e[g])}):function(a){return f(a,0,e)}):f}},pseudos:{not:d(function(a){var b=[],c=[],e=A(a.replace(ia,"$1"));return e[N]?d(function(a,b,c,d){for(var f,g=e(a,null,d,[]),h=a.length;h--;)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,d,f){return b[0]=a,e(b,null,f,c),b[0]=null,!c.pop()}}),has:d(function(a){return function(c){return b(a,c).length>0}}),contains:d(function(a){return a=a.replace(va,wa),function(b){return(b.textContent||b.innerText||x(b)).indexOf(a)>-1}}),lang:d(function(a){return na.test(a||"")||b.error("unsupported lang: "+a),a=a.replace(va,wa).toLowerCase(),function(b){var c;do if(c=I?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===H},focus:function(a){return a===G.activeElement&&(!G.hasFocus||G.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!w.pseudos.empty(a)},header:function(a){return qa.test(a.nodeName)},input:function(a){return pa.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:j(function(){return[0]}),last:j(function(a,b){return[b-1]}),eq:j(function(a,b,c){return[c<0?c+b:c]}),even:j(function(a,b){for(var c=0;c=0;)a.push(d);return a}),gt:j(function(a,b,c){for(var d=c<0?c+b:c;++d2&&"ID"===(g=f[0]).type&&v.getById&&9===b.nodeType&&I&&w.relative[f[1].type]){if(b=(w.find.ID(g.matches[0].replace(va,wa),b)||[])[0],!b)return c;j&&(b=b.parentNode),a=a.slice(f.shift().value.length)}for(e=oa.needsContext.test(a)?0:f.length;e--&&(g=f[e],!w.relative[h=g.type]);)if((i=w.find[h])&&(d=i(g.matches[0].replace(va,wa),ta.test(f[0].type)&&k(b.parentNode)||b))){if(f.splice(e,1),a=d.length&&m(f),!a)return $.apply(c,d),c;break}}return(j||A(a,l))(d,b,!I,c,ta.test(a)&&k(b.parentNode)||b),c},v.sortStable=N.split("").sort(U).join("")===N,v.detectDuplicates=!!E,F(),v.sortDetached=e(function(a){return 1&a.compareDocumentPosition(G.createElement("div"))}),e(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||f("type|href|height|width",function(a,b,c){if(!c)return a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),v.attributes&&e(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||f("value",function(a,b,c){if(!c&&"input"===a.nodeName.toLowerCase())return a.defaultValue}),e(function(a){return null==a.getAttribute("disabled")})||f(ba,function(a,b,c){var d;if(!c)return a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),b}(a);ea.find=ja,ea.expr=ja.selectors,ea.expr[":"]=ea.expr.pseudos,ea.unique=ja.uniqueSort,ea.text=ja.getText,ea.isXMLDoc=ja.isXML,ea.contains=ja.contains;var ka=ea.expr.match.needsContext,la=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ma=/^.[^:#\[\.,]*$/;ea.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?ea.find.matchesSelector(d,a)?[d]:[]:ea.find.matches(a,ea.grep(b,function(a){return 1===a.nodeType}))},ea.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(ea(a).filter(function(){for(b=0;b1?ea.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(d(this,a||[],!1))},not:function(a){return this.pushStack(d(this,a||[],!0))},is:function(a){return!!d(this,"string"==typeof a&&ka.test(a)?ea(a):a||[],!1).length}});var na,oa=a.document,pa=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,qa=ea.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:pa.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||na).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof ea?b[0]:b,ea.merge(this,ea.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:oa,!0)),la.test(c[1])&&ea.isPlainObject(b))for(c in b)ea.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}if(d=oa.getElementById(c[2]),d&&d.parentNode){if(d.id!==c[2])return na.find(a);this.length=1,this[0]=d}return this.context=oa,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):ea.isFunction(a)?"undefined"!=typeof na.ready?na.ready(a):a(ea):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),ea.makeArray(a,this))};qa.prototype=ea.fn,na=ea(oa);var ra=/^(?:parents|prev(?:Until|All))/,sa={children:!0,contents:!0,next:!0,prev:!0};ea.extend({dir:function(a,b,c){for(var d=[],e=a[b];e&&9!==e.nodeType&&(void 0===c||1!==e.nodeType||!ea(e).is(c));)1===e.nodeType&&d.push(e),e=e[b];return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),ea.fn.extend({has:function(a){var b,c=ea(a,this),d=c.length;return this.filter(function(){for(b=0;b-1:1===c.nodeType&&ea.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?ea.unique(f):f)},index:function(a){return a?"string"==typeof a?ea.inArray(this[0],ea(a)):ea.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(ea.unique(ea.merge(this.get(),ea(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}}),ea.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return ea.dir(a,"parentNode")},parentsUntil:function(a,b,c){return ea.dir(a,"parentNode",c)},next:function(a){return e(a,"nextSibling")},prev:function(a){return e(a,"previousSibling")},nextAll:function(a){return ea.dir(a,"nextSibling")},prevAll:function(a){return ea.dir(a,"previousSibling")},nextUntil:function(a,b,c){return ea.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return ea.dir(a,"previousSibling",c)},siblings:function(a){return ea.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return ea.sibling(a.firstChild)},contents:function(a){return ea.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:ea.merge([],a.childNodes)}},function(a,b){ea.fn[a]=function(c,d){var e=ea.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=ea.filter(d,e)),this.length>1&&(sa[a]||(e=ea.unique(e)),ra.test(a)&&(e=e.reverse())),this.pushStack(e)}});var ta=/\S+/g,ua={};ea.Callbacks=function(a){a="string"==typeof a?ua[a]||f(a):ea.extend({},a);var b,c,d,e,g,h,i=[],j=!a.once&&[],k=function(f){for(c=a.memory&&f,d=!0,g=h||0,h=0,e=i.length,b=!0;i&&g-1;)i.splice(d,1),b&&(d<=e&&e--,d<=g&&g--)}),this},has:function(a){return a?ea.inArray(a,i)>-1:!(!i||!i.length)},empty:function(){return i=[],e=0,this},disable:function(){return i=j=c=void 0,this},disabled:function(){return!i},lock:function(){return j=void 0,c||l.disable(),this},locked:function(){return!j},fireWith:function(a,c){return!i||d&&!j||(c=c||[],c=[a,c.slice?c.slice():c],b?j.push(c):k(c)),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!d}};return l},ea.extend({Deferred:function(a){var b=[["resolve","done",ea.Callbacks("once memory"),"resolved"],["reject","fail",ea.Callbacks("once memory"),"rejected"],["notify","progress",ea.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return ea.Deferred(function(c){ea.each(b,function(b,f){var g=ea.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&ea.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?ea.extend(a,d):d}},e={};return d.pipe=d.then,ea.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b,c,d,e=0,f=X.call(arguments),g=f.length,h=1!==g||a&&ea.isFunction(a.promise)?g:0,i=1===h?a:ea.Deferred(),j=function(a,c,d){return function(e){c[a]=this,d[a]=arguments.length>1?X.call(arguments):e,d===b?i.notifyWith(c,d):--h||i.resolveWith(c,d)}};if(g>1)for(b=new Array(g),c=new Array(g),d=new Array(g);e0||(va.resolveWith(oa,[ea]),ea.fn.triggerHandler&&(ea(oa).triggerHandler("ready"),ea(oa).off("ready")))}}}),ea.ready.promise=function(b){if(!va)if(va=ea.Deferred(),"complete"===oa.readyState)setTimeout(ea.ready);else if(oa.addEventListener)oa.addEventListener("DOMContentLoaded",h,!1),a.addEventListener("load",h,!1);else{oa.attachEvent("onreadystatechange",h),a.attachEvent("onload",h);var c=!1;try{c=null==a.frameElement&&oa.documentElement}catch(d){}c&&c.doScroll&&!function a(){if(!ea.isReady){try{c.doScroll("left")}catch(b){return setTimeout(a,50)}g(),ea.ready()}}()}return va.promise(b)};var wa,xa="undefined";for(wa in ea(ca))break;ca.ownLast="0"!==wa,ca.inlineBlockNeedsLayout=!1,ea(function(){var a,b,c,d;c=oa.getElementsByTagName("body")[0],c&&c.style&&(b=oa.createElement("div"),d=oa.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==xa&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",ca.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(d))}),function(){var a=oa.createElement("div");if(null==ca.deleteExpando){ca.deleteExpando=!0;try{delete a.test}catch(b){ca.deleteExpando=!1}}a=null}(),ea.acceptData=function(a){var b=ea.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return(1===c||9===c)&&(!b||b!==!0&&a.getAttribute("classid")===b)};var ya=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,za=/([A-Z])/g;ea.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?ea.cache[a[ea.expando]]:a[ea.expando],!!a&&!j(a)},data:function(a,b,c){return k(a,b,c)},removeData:function(a,b){return l(a,b)},_data:function(a,b,c){return k(a,b,c,!0)},_removeData:function(a,b){return l(a,b,!0)}}),ea.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=ea.data(f),1===f.nodeType&&!ea._data(f,"parsedAttrs"))){for(c=g.length;c--;)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=ea.camelCase(d.slice(5)),i(f,d,e[d])));ea._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){ea.data(this,a)}):arguments.length>1?this.each(function(){ea.data(this,a,b)}):f?i(f,a,ea.data(f,a)):void 0},removeData:function(a){return this.each(function(){ea.removeData(this,a)})}}),ea.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=ea._data(a,b),c&&(!d||ea.isArray(c)?d=ea._data(a,b,ea.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=ea.queue(a,b),d=c.length,e=c.shift(),f=ea._queueHooks(a,b),g=function(){ea.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return ea._data(a,c)||ea._data(a,c,{empty:ea.Callbacks("once memory").add(function(){ea._removeData(a,b+"queue"),ea._removeData(a,c)})})}}),ea.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length
a",ca.leadingWhitespace=3===b.firstChild.nodeType,ca.tbody=!b.getElementsByTagName("tbody").length,ca.htmlSerialize=!!b.getElementsByTagName("link").length,ca.html5Clone="<:nav>"!==oa.createElement("nav").cloneNode(!0).outerHTML,a.type="checkbox",a.checked=!0,c.appendChild(a),ca.appendChecked=a.checked,b.innerHTML="",ca.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue,c.appendChild(b),b.innerHTML="",ca.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,ca.noCloneEvent=!0,b.attachEvent&&(b.attachEvent("onclick",function(){ca.noCloneEvent=!1}),b.cloneNode(!0).click()),null==ca.deleteExpando){ca.deleteExpando=!0;try{delete b.test}catch(d){ca.deleteExpando=!1}}}(),function(){var b,c,d=oa.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(ca[b+"Bubbles"]=c in a)||(d.setAttribute(c,"t"),ca[b+"Bubbles"]=d.attributes[c].expando===!1);d=null}();var Fa=/^(?:input|select|textarea)$/i,Ga=/^key/,Ha=/^(?:mouse|pointer|contextmenu)|click/,Ia=/^(?:focusinfocus|focusoutblur)$/,Ja=/^([^.]*)(?:\.(.+)|)$/;ea.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=ea._data(a);if(q){for(c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=ea.guid++),(g=q.events)||(g=q.events={}),(k=q.handle)||(k=q.handle=function(a){return typeof ea===xa||a&&ea.event.triggered===a.type?void 0:ea.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(ta)||[""],h=b.length;h--;)f=Ja.exec(b[h])||[],n=p=f[1],o=(f[2]||"").split(".").sort(),n&&(j=ea.event.special[n]||{},n=(e?j.delegateType:j.bindType)||n,j=ea.event.special[n]||{},l=ea.extend({type:n,origType:p,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&ea.expr.match.needsContext.test(e),namespace:o.join(".")},i),(m=g[n])||(m=g[n]=[],m.delegateCount=0,j.setup&&j.setup.call(a,d,o,k)!==!1||(a.addEventListener?a.addEventListener(n,k,!1):a.attachEvent&&a.attachEvent("on"+n,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,l):m.push(l),ea.event.global[n]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=ea.hasData(a)&&ea._data(a);if(q&&(k=q.events)){for(b=(b||"").match(ta)||[""],j=b.length;j--;)if(h=Ja.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n){for(l=ea.event.special[n]||{},n=(d?l.delegateType:l.bindType)||n,m=k[n]||[],h=h[2]&&new RegExp("(^|\\.)"+o.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=m.length;f--;)g=m[f],!e&&p!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(m.splice(f,1),g.selector&&m.delegateCount--,l.remove&&l.remove.call(a,g));i&&!m.length&&(l.teardown&&l.teardown.call(a,o,q.handle)!==!1||ea.removeEvent(a,n,q.handle),delete k[n])}else for(n in k)ea.event.remove(a,n+b[j],c,d,!0);ea.isEmptyObject(k)&&(delete q.handle,ea._removeData(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,j,k,l,m=[d||oa],n=ba.call(b,"type")?b.type:b,o=ba.call(b,"namespace")?b.namespace.split("."):[];if(h=k=d=d||oa,3!==d.nodeType&&8!==d.nodeType&&!Ia.test(n+ea.event.triggered)&&(n.indexOf(".")>=0&&(o=n.split("."),n=o.shift(),o.sort()),g=n.indexOf(":")<0&&"on"+n,b=b[ea.expando]?b:new ea.Event(n,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=o.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+o.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:ea.makeArray(c,[b]),j=ea.event.special[n]||{},e||!j.trigger||j.trigger.apply(d,c)!==!1)){if(!e&&!j.noBubble&&!ea.isWindow(d)){for(i=j.delegateType||n,Ia.test(i+n)||(h=h.parentNode);h;h=h.parentNode)m.push(h),k=h;k===(d.ownerDocument||oa)&&m.push(k.defaultView||k.parentWindow||a)}for(l=0;(h=m[l++])&&!b.isPropagationStopped();)b.type=l>1?i:j.bindType||n,f=(ea._data(h,"events")||{})[b.type]&&ea._data(h,"handle"),f&&f.apply(h,c),f=g&&h[g],f&&f.apply&&ea.acceptData(h)&&(b.result=f.apply(h,c),b.result===!1&&b.preventDefault());if(b.type=n,!e&&!b.isDefaultPrevented()&&(!j._default||j._default.apply(m.pop(),c)===!1)&&ea.acceptData(d)&&g&&d[n]&&!ea.isWindow(d)){k=d[g],k&&(d[g]=null),ea.event.triggered=n;try{d[n]()}catch(p){}ea.event.triggered=void 0,k&&(d[g]=k)}return b.result}},dispatch:function(a){a=ea.event.fix(a);var b,c,d,e,f,g=[],h=X.call(arguments),i=(ea._data(this,"events")||{})[a.type]||[],j=ea.event.special[a.type]||{};if(h[0]=a,a.delegateTarget=this,!j.preDispatch||j.preDispatch.call(this,a)!==!1){for(g=ea.event.handlers.call(this,a,i),b=0;(e=g[b++])&&!a.isPropagationStopped();)for(a.currentTarget=e.elem,f=0;(d=e.handlers[f++])&&!a.isImmediatePropagationStopped();)a.namespace_re&&!a.namespace_re.test(d.namespace)||(a.handleObj=d,a.data=d.data,c=((ea.event.special[d.origType]||{}).handle||d.handler).apply(e.elem,h),void 0!==c&&(a.result=c)===!1&&(a.preventDefault(),a.stopPropagation()));return j.postDispatch&&j.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(e=[],f=0;f=0:ea.find(c,this,null,[i]).length),e[c]&&e.push(d);e.length&&g.push({elem:i,handlers:e})}return h]","i"),Na=/^\s+/,Oa=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Pa=/<([\w:]+)/,Qa=/\s*$/g,Xa={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:ca.htmlSerialize?[0,"",""]:[1,"X
","
"]},Ya=p(oa),Za=Ya.appendChild(oa.createElement("div"));Xa.optgroup=Xa.option,Xa.tbody=Xa.tfoot=Xa.colgroup=Xa.caption=Xa.thead,Xa.th=Xa.td,ea.extend({clone:function(a,b,c){var d,e,f,g,h,i=ea.contains(a.ownerDocument,a);if(ca.html5Clone||ea.isXMLDoc(a)||!Ma.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(Za.innerHTML=a.outerHTML,Za.removeChild(f=Za.firstChild)),!(ca.noCloneEvent&&ca.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||ea.isXMLDoc(a)))for(d=q(f),h=q(a),g=0;null!=(e=h[g]);++g)d[g]&&x(e,d[g]);if(b)if(c)for(h=h||q(a),d=d||q(f),g=0;null!=(e=h[g]);g++)w(e,d[g]);else w(a,f);return d=q(f,"script"),d.length>0&&v(d,!i&&q(a,"script")),d=h=e=null,f},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,k,l=a.length,m=p(b),n=[],o=0;o")+k[2],e=k[0];e--;)h=h.lastChild;if(!ca.leadingWhitespace&&Na.test(f)&&n.push(b.createTextNode(Na.exec(f)[0])),!ca.tbody)for(f="table"!==i||Qa.test(f)?""!==k[1]||Qa.test(f)?0:h:h.firstChild,e=f&&f.childNodes.length;e--;)ea.nodeName(j=f.childNodes[e],"tbody")&&!j.childNodes.length&&f.removeChild(j);for(ea.merge(n,h.childNodes),h.textContent="";h.firstChild;)h.removeChild(h.firstChild);h=m.lastChild}else n.push(b.createTextNode(f));for(h&&m.removeChild(h),ca.appendChecked||ea.grep(q(n,"input"),r),o=0;f=n[o++];)if((!d||ea.inArray(f,d)===-1)&&(g=ea.contains(f.ownerDocument,f),h=q(m.appendChild(f),"script"),g&&v(h),c))for(e=0;f=h[e++];)Ua.test(f.type||"")&&c.push(f);return h=null,m},cleanData:function(a,b){for(var c,d,e,f,g=0,h=ea.expando,i=ea.cache,j=ca.deleteExpando,k=ea.event.special;null!=(c=a[g]);g++)if((b||ea.acceptData(c))&&(e=c[h],f=e&&i[e])){if(f.events)for(d in f.events)k[d]?ea.event.remove(c,d):ea.removeEvent(c,d,f.handle);i[e]&&(delete i[e],j?delete c[h]:typeof c.removeAttribute!==xa?c.removeAttribute(h):c[h]=null,W.push(e))}}}),ea.fn.extend({text:function(a){return Da(this,function(a){return void 0===a?ea.text(this):this.empty().append((this[0]&&this[0].ownerDocument||oa).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=s(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=s(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?ea.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||ea.cleanData(q(c)),c.parentNode&&(b&&ea.contains(c.ownerDocument,c)&&v(q(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){for(1===a.nodeType&&ea.cleanData(q(a,!1));a.firstChild;)a.removeChild(a.firstChild);a.options&&ea.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null!=a&&a,b=null==b?a:b,this.map(function(){return ea.clone(this,a,b)})},html:function(a){return Da(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(La,""):void 0;if("string"==typeof a&&!Sa.test(a)&&(ca.htmlSerialize||!Ma.test(a))&&(ca.leadingWhitespace||!Na.test(a))&&!Xa[(Pa.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Oa,"<$1>");try{for(;c1&&"string"==typeof m&&!ca.checkClone&&Ta.test(m))return this.each(function(c){var d=k.eq(c);n&&(a[0]=m.call(this,c,d.html())),d.domManip(a,b)});if(j&&(h=ea.buildFragment(a,this[0].ownerDocument,!1,this),c=h.firstChild,1===h.childNodes.length&&(h=c),c)){for(f=ea.map(q(h,"script"),t),e=f.length;i
t
",e=b.getElementsByTagName("td"),e[0].style.cssText="margin:0;border:0;padding:0;display:none",h=0===e[0].offsetHeight,h&&(e[0].style.display="",e[1].style.display="none",h=0===e[0].offsetHeight),c.removeChild(d))}var c,d,e,f,g,h,i;c=oa.createElement("div"),c.innerHTML="
a",e=c.getElementsByTagName("a")[0],d=e&&e.style,d&&(d.cssText="float:left;opacity:.5",ca.opacity="0.5"===d.opacity,ca.cssFloat=!!d.cssFloat,c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",ca.clearCloneStyle="content-box"===c.style.backgroundClip,ca.boxSizing=""===d.boxSizing||""===d.MozBoxSizing||""===d.WebkitBoxSizing,ea.extend(ca,{reliableHiddenOffsets:function(){return null==h&&b(),h},boxSizingReliable:function(){return null==g&&b(),g},pixelPosition:function(){return null==f&&b(),f},reliableMarginRight:function(){return null==i&&b(),i}}))}(),ea.swap=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e};var fb=/alpha\([^)]*\)/i,gb=/opacity\s*=\s*([^)]*)/,hb=/^(none|table(?!-c[ea]).+)/,ib=new RegExp("^("+Aa+")(.*)$","i"),jb=new RegExp("^([+-])=("+Aa+")","i"),kb={position:"absolute",visibility:"hidden",display:"block"},lb={letterSpacing:"0",fontWeight:"400"},mb=["Webkit","O","Moz","ms"];ea.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bb(a,"opacity");return""===c?"1":c}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:ca.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=ea.camelCase(b),i=a.style;if(b=ea.cssProps[h]||(ea.cssProps[h]=B(i,h)),g=ea.cssHooks[b]||ea.cssHooks[h],void 0===c)return g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b];if(f=typeof c,"string"===f&&(e=jb.exec(c))&&(c=(e[1]+1)*e[2]+parseFloat(ea.css(a,b)),f="number"),null!=c&&c===c&&("number"!==f||ea.cssNumber[h]||(c+="px"),ca.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),!(g&&"set"in g&&void 0===(c=g.set(a,c,d)))))try{i[b]=c}catch(j){}}},css:function(a,b,c,d){var e,f,g,h=ea.camelCase(b);return b=ea.cssProps[h]||(ea.cssProps[h]=B(a.style,h)),g=ea.cssHooks[b]||ea.cssHooks[h],g&&"get"in g&&(f=g.get(a,!0,c)),void 0===f&&(f=bb(a,b,d)),"normal"===f&&b in lb&&(f=lb[b]),""===c||c?(e=parseFloat(f),c===!0||ea.isNumeric(e)?e||0:f):f}}),ea.each(["height","width"],function(a,b){ea.cssHooks[b]={get:function(a,c,d){if(c)return hb.test(ea.css(a,"display"))&&0===a.offsetWidth?ea.swap(a,kb,function(){return F(a,b,d)}):F(a,b,d)},set:function(a,c,d){var e=d&&ab(a);return D(a,c,d?E(a,b,d,ca.boxSizing&&"border-box"===ea.css(a,"boxSizing",!1,e),e):0)}}}),ca.opacity||(ea.cssHooks.opacity={get:function(a,b){return gb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=ea.isNumeric(b)?"alpha(opacity="+100*b+")":"",f=d&&d.filter||c.filter||"";c.zoom=1,(b>=1||""===b)&&""===ea.trim(f.replace(fb,""))&&c.removeAttribute&&(c.removeAttribute("filter"),""===b||d&&!d.filter)||(c.filter=fb.test(f)?f.replace(fb,e):f+" "+e)}}),ea.cssHooks.marginRight=A(ca.reliableMarginRight,function(a,b){if(b)return ea.swap(a,{display:"inline-block"},bb,[a,"marginRight"])}),ea.each({margin:"",padding:"",border:"Width"},function(a,b){ea.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];d<4;d++)e[a+Ba[d]+b]=f[d]||f[d-2]||f[0];return e}},cb.test(a)||(ea.cssHooks[a+b].set=D)}),ea.fn.extend({css:function(a,b){return Da(this,function(a,b,c){var d,e,f={},g=0;if(ea.isArray(b)){for(d=ab(a),e=b.length;g1)},show:function(){return C(this,!0)},hide:function(){return C(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){Ca(this)?ea(this).show():ea(this).hide()})}}),ea.Tween=G,G.prototype={constructor:G,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||"swing",this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(ea.cssNumber[c]?"":"px")},cur:function(){var a=G.propHooks[this.prop];return a&&a.get?a.get(this):G.propHooks._default.get(this)},run:function(a){var b,c=G.propHooks[this.prop];return this.options.duration?this.pos=b=ea.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):G.propHooks._default.set(this),this}},G.prototype.init.prototype=G.prototype,G.propHooks={_default:{get:function(a){var b;return null==a.elem[a.prop]||a.elem.style&&null!=a.elem.style[a.prop]?(b=ea.css(a.elem,a.prop,""),b&&"auto"!==b?b:0):a.elem[a.prop]},set:function(a){ea.fx.step[a.prop]?ea.fx.step[a.prop](a):a.elem.style&&(null!=a.elem.style[ea.cssProps[a.prop]]||ea.cssHooks[a.prop])?ea.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}},G.propHooks.scrollTop=G.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},ea.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2}},ea.fx=G.prototype.init,ea.fx.step={};var nb,ob,pb=/^(?:toggle|show|hide)$/,qb=new RegExp("^(?:([+-])=|)("+Aa+")([a-z%]*)$","i"),rb=/queueHooks$/,sb=[K],tb={"*":[function(a,b){var c=this.createTween(a,b),d=c.cur(),e=qb.exec(b),f=e&&e[3]||(ea.cssNumber[a]?"":"px"),g=(ea.cssNumber[a]||"px"!==f&&+d)&&qb.exec(ea.css(c.elem,a)),h=1,i=20;if(g&&g[3]!==f){f=f||g[3],e=e||[],g=+d||1;do h=h||".5",g/=h,ea.style(c.elem,a,g+f);while(h!==(h=c.cur()/d)&&1!==h&&--i)}return e&&(g=c.start=+g||+d||0,c.unit=f,c.end=e[1]?g+(e[1]+1)*e[2]:+e[2]),c}]};ea.Animation=ea.extend(M,{tweener:function(a,b){ea.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");for(var c,d=0,e=a.length;d
a",d=b.getElementsByTagName("a")[0],c=oa.createElement("select"),e=c.appendChild(oa.createElement("option")),a=b.getElementsByTagName("input")[0],d.style.cssText="top:1px",ca.getSetAttribute="t"!==b.className,ca.style=/top/.test(d.getAttribute("style")),ca.hrefNormalized="/a"===d.getAttribute("href"),ca.checkOn=!!a.value,ca.optSelected=e.selected,ca.enctype=!!oa.createElement("form").enctype,c.disabled=!0,ca.optDisabled=!e.disabled,a=oa.createElement("input"),a.setAttribute("value",""),ca.input=""===a.getAttribute("value"),a.value="t",a.setAttribute("type","radio"),ca.radioValue="t"===a.value}();var ub=/\r/g;ea.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=ea.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,ea(this).val()):a,null==e?e="":"number"==typeof e?e+="":ea.isArray(e)&&(e=ea.map(e,function(a){return null==a?"":a+""})),b=ea.valHooks[this.type]||ea.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=ea.valHooks[e.type]||ea.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(ub,""):null==c?"":c)}}}),ea.extend({valHooks:{option:{get:function(a){var b=ea.find.attr(a,"value");return null!=b?b:ea.trim(ea.text(a))}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||e<0,g=f?null:[],h=f?e+1:d.length,i=e<0?h:f?e:0;i=0)try{d.selected=c=!0}catch(h){d.scrollHeight}else d.selected=!1;return c||(a.selectedIndex=-1),e}}}}),ea.each(["radio","checkbox"],function(){ea.valHooks[this]={set:function(a,b){if(ea.isArray(b))return a.checked=ea.inArray(ea(a).val(),b)>=0}},ca.checkOn||(ea.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var vb,wb,xb=ea.expr.attrHandle,yb=/^(?:checked|selected)$/i,zb=ca.getSetAttribute,Ab=ca.input;ea.fn.extend({attr:function(a,b){return Da(this,ea.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){ea.removeAttr(this,a)})}}),ea.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(a&&3!==f&&8!==f&&2!==f)return typeof a.getAttribute===xa?ea.prop(a,b,c):(1===f&&ea.isXMLDoc(a)||(b=b.toLowerCase(),d=ea.attrHooks[b]||(ea.expr.match.bool.test(b)?wb:vb)),void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=ea.find.attr(a,b),null==e?void 0:e):null!==c?d&&"set"in d&&void 0!==(e=d.set(a,c,b))?e:(a.setAttribute(b,c+""),c):void ea.removeAttr(a,b))},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(ta);if(f&&1===a.nodeType)for(;c=f[e++];)d=ea.propFix[c]||c,ea.expr.match.bool.test(c)?Ab&&zb||!yb.test(c)?a[d]=!1:a[ea.camelCase("default-"+c)]=a[d]=!1:ea.attr(a,c,""),a.removeAttribute(zb?c:d)},attrHooks:{type:{set:function(a,b){if(!ca.radioValue&&"radio"===b&&ea.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}}}),wb={set:function(a,b,c){return b===!1?ea.removeAttr(a,c):Ab&&zb||!yb.test(c)?a.setAttribute(!zb&&ea.propFix[c]||c,c):a[ea.camelCase("default-"+c)]=a[c]=!0,c}},ea.each(ea.expr.match.bool.source.match(/\w+/g),function(a,b){var c=xb[b]||ea.find.attr;xb[b]=Ab&&zb||!yb.test(b)?function(a,b,d){var e,f;return d||(f=xb[b],xb[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,xb[b]=f),e}:function(a,b,c){if(!c)return a[ea.camelCase("default-"+b)]?b.toLowerCase():null}}),Ab&&zb||(ea.attrHooks.value={set:function(a,b,c){return ea.nodeName(a,"input")?void(a.defaultValue=b):vb&&vb.set(a,b,c)}}),zb||(vb={set:function(a,b,c){var d=a.getAttributeNode(c);if(d||a.setAttributeNode(d=a.ownerDocument.createAttribute(c)),d.value=b+="","value"===c||b===a.getAttribute(c))return b}},xb.id=xb.name=xb.coords=function(a,b,c){var d;if(!c)return(d=a.getAttributeNode(b))&&""!==d.value?d.value:null},ea.valHooks.button={get:function(a,b){var c=a.getAttributeNode(b);if(c&&c.specified)return c.value},set:vb.set},ea.attrHooks.contenteditable={set:function(a,b,c){vb.set(a,""!==b&&b,c)}},ea.each(["width","height"],function(a,b){ea.attrHooks[b]={set:function(a,c){if(""===c)return a.setAttribute(b,"auto"),c}}})),ca.style||(ea.attrHooks.style={get:function(a){return a.style.cssText||void 0},set:function(a,b){return a.style.cssText=b+""}});var Bb=/^(?:input|select|textarea|button|object)$/i,Cb=/^(?:a|area)$/i;ea.fn.extend({prop:function(a,b){return Da(this,ea.prop,a,b,arguments.length>1)},removeProp:function(a){return a=ea.propFix[a]||a,this.each(function(){try{this[a]=void 0,delete this[a]}catch(b){}})}}),ea.extend({propFix:{for:"htmlFor",class:"className"},prop:function(a,b,c){var d,e,f,g=a.nodeType;if(a&&3!==g&&8!==g&&2!==g)return f=1!==g||!ea.isXMLDoc(a),f&&(b=ea.propFix[b]||b,e=ea.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=ea.find.attr(a,"tabindex");return b?parseInt(b,10):Bb.test(a.nodeName)||Cb.test(a.nodeName)&&a.href?0:-1}}}}),ca.hrefNormalized||ea.each(["href","src"],function(a,b){ea.propHooks[b]={get:function(a){return a.getAttribute(b,4)}}}),ca.optSelected||(ea.propHooks.selected={get:function(a){var b=a.parentNode;return b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex),null}}),ea.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ea.propFix[this.toLowerCase()]=this}),ca.enctype||(ea.propFix.enctype="encoding");var Db=/[\t\r\n\f]/g;ea.fn.extend({addClass:function(a){var b,c,d,e,f,g,h=0,i=this.length,j="string"==typeof a&&a;if(ea.isFunction(a))return this.each(function(b){ea(this).addClass(a.call(this,b,this.className))});if(j)for(b=(a||"").match(ta)||[];h=0;)d=d.replace(" "+e+" "," ");g=a?ea.trim(d):"",c.className!==g&&(c.className=g)}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):ea.isFunction(a)?this.each(function(c){ea(this).toggleClass(a.call(this,c,this.className,b),b)}):this.each(function(){if("string"===c)for(var b,d=0,e=ea(this),f=a.match(ta)||[];b=f[d++];)e.hasClass(b)?e.removeClass(b):e.addClass(b);else c!==xa&&"boolean"!==c||(this.className&&ea._data(this,"__className__",this.className),this.className=this.className||a===!1?"":ea._data(this,"__className__")||"")})},hasClass:function(a){for(var b=" "+a+" ",c=0,d=this.length;c=0)return!0;return!1}}),ea.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(a,b){ea.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),ea.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}});var Eb=ea.now(),Fb=/\?/,Gb=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;ea.parseJSON=function(b){if(a.JSON&&a.JSON.parse)return a.JSON.parse(b+"");var c,d=null,e=ea.trim(b+"");return e&&!ea.trim(e.replace(Gb,function(a,b,e,f){return c&&b&&(d=0),0===d?a:(c=e||b,d+=!f-!e,"")}))?Function("return "+e)():ea.error("Invalid JSON: "+b)},ea.parseXML=function(b){var c,d;if(!b||"string"!=typeof b)return null;try{a.DOMParser?(d=new DOMParser,c=d.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b))}catch(e){c=void 0}return c&&c.documentElement&&!c.getElementsByTagName("parsererror").length||ea.error("Invalid XML: "+b),c};var Hb,Ib,Jb=/#.*$/,Kb=/([?&])_=[^&]*/,Lb=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Mb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Nb=/^(?:GET|HEAD)$/,Ob=/^\/\//,Pb=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Qb={},Rb={},Sb="*/".concat("*");try{Ib=location.href}catch(Tb){Ib=oa.createElement("a"),Ib.href="",Ib=Ib.href}Hb=Pb.exec(Ib.toLowerCase())||[],ea.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ib,type:"GET",isLocal:Mb.test(Hb[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Sb,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":ea.parseJSON,"text xml":ea.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?P(P(a,ea.ajaxSettings),b):P(ea.ajaxSettings,a)},ajaxPrefilter:N(Qb),ajaxTransport:N(Rb),ajax:function(a,b){function c(a,b,c,d){var e,k,r,s,u,w=b;2!==t&&(t=2,h&&clearTimeout(h),j=void 0,g=d||"",v.readyState=a>0?4:0,e=a>=200&&a<300||304===a,c&&(s=Q(l,v,c)),s=R(l,s,v,e),e?(l.ifModified&&(u=v.getResponseHeader("Last-Modified"),u&&(ea.lastModified[f]=u),u=v.getResponseHeader("etag"),u&&(ea.etag[f]=u)),204===a||"HEAD"===l.type?w="nocontent":304===a?w="notmodified":(w=s.state,k=s.data,r=s.error,e=!r)):(r=w,!a&&w||(w="error",a<0&&(a=0))),v.status=a,v.statusText=(b||w)+"",e?o.resolveWith(m,[k,w,v]):o.rejectWith(m,[v,w,r]),v.statusCode(q),q=void 0,i&&n.trigger(e?"ajaxSuccess":"ajaxError",[v,l,e?k:r]),p.fireWith(m,[v,w]),i&&(n.trigger("ajaxComplete",[v,l]),--ea.active||ea.event.trigger("ajaxStop")))}"object"==typeof a&&(b=a,a=void 0),b=b||{};var d,e,f,g,h,i,j,k,l=ea.ajaxSetup({},b),m=l.context||l,n=l.context&&(m.nodeType||m.jquery)?ea(m):ea.event,o=ea.Deferred(),p=ea.Callbacks("once memory"),q=l.statusCode||{},r={},s={},t=0,u="canceled",v={readyState:0,getResponseHeader:function(a){var b;if(2===t){if(!k)for(k={};b=Lb.exec(g);)k[b[1].toLowerCase()]=b[2];b=k[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===t?g:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return t||(a=s[c]=s[c]||a,r[a]=b),this},overrideMimeType:function(a){return t||(l.mimeType=a),this},statusCode:function(a){var b;if(a)if(t<2)for(b in a)q[b]=[q[b],a[b]];else v.always(a[v.status]);return this},abort:function(a){var b=a||u;return j&&j.abort(b),c(0,b),this}};if(o.promise(v).complete=p.add,v.success=v.done,v.error=v.fail,l.url=((a||l.url||Ib)+"").replace(Jb,"").replace(Ob,Hb[1]+"//"),l.type=b.method||b.type||l.method||l.type,l.dataTypes=ea.trim(l.dataType||"*").toLowerCase().match(ta)||[""],null==l.crossDomain&&(d=Pb.exec(l.url.toLowerCase()),l.crossDomain=!(!d||d[1]===Hb[1]&&d[2]===Hb[2]&&(d[3]||("http:"===d[1]?"80":"443"))===(Hb[3]||("http:"===Hb[1]?"80":"443")))),l.data&&l.processData&&"string"!=typeof l.data&&(l.data=ea.param(l.data,l.traditional)),O(Qb,l,b,v),2===t)return v;i=ea.event&&l.global,i&&0===ea.active++&&ea.event.trigger("ajaxStart"),l.type=l.type.toUpperCase(),l.hasContent=!Nb.test(l.type),f=l.url,l.hasContent||(l.data&&(f=l.url+=(Fb.test(f)?"&":"?")+l.data,delete l.data),l.cache===!1&&(l.url=Kb.test(f)?f.replace(Kb,"$1_="+Eb++):f+(Fb.test(f)?"&":"?")+"_="+Eb++)),l.ifModified&&(ea.lastModified[f]&&v.setRequestHeader("If-Modified-Since",ea.lastModified[f]),ea.etag[f]&&v.setRequestHeader("If-None-Match",ea.etag[f])),(l.data&&l.hasContent&&l.contentType!==!1||b.contentType)&&v.setRequestHeader("Content-Type",l.contentType),v.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+("*"!==l.dataTypes[0]?", "+Sb+"; q=0.01":""):l.accepts["*"]);for(e in l.headers)v.setRequestHeader(e,l.headers[e]);if(l.beforeSend&&(l.beforeSend.call(m,v,l)===!1||2===t))return v.abort();u="abort";for(e in{success:1,error:1,complete:1})v[e](l[e]);if(j=O(Rb,l,b,v)){v.readyState=1,i&&n.trigger("ajaxSend",[v,l]),l.async&&l.timeout>0&&(h=setTimeout(function(){v.abort("timeout")},l.timeout));try{t=1,j.send(r,c)}catch(w){if(!(t<2))throw w;c(-1,w)}}else c(-1,"No Transport");return v},getJSON:function(a,b,c){return ea.get(a,b,c,"json")},getScript:function(a,b){return ea.get(a,void 0,b,"script")}}),ea.each(["get","post"],function(a,b){ea[b]=function(a,c,d,e){return ea.isFunction(c)&&(e=e||d,d=c,c=void 0),ea.ajax({url:a,type:b,dataType:e,data:c,success:d})}}),ea._evalUrl=function(a){return ea.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},ea.fn.extend({wrapAll:function(a){if(ea.isFunction(a))return this.each(function(b){ea(this).wrapAll(a.call(this,b))});if(this[0]){var b=ea(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){for(var a=this;a.firstChild&&1===a.firstChild.nodeType;)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return ea.isFunction(a)?this.each(function(b){ea(this).wrapInner(a.call(this,b))}):this.each(function(){var b=ea(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=ea.isFunction(a);return this.each(function(c){ea(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){ea.nodeName(this,"body")||ea(this).replaceWith(this.childNodes)}).end()}}),ea.expr.filters.hidden=function(a){return a.offsetWidth<=0&&a.offsetHeight<=0||!ca.reliableHiddenOffsets()&&"none"===(a.style&&a.style.display||ea.css(a,"display"))},ea.expr.filters.visible=function(a){return!ea.expr.filters.hidden(a)};var Ub=/%20/g,Vb=/\[\]$/,Wb=/\r?\n/g,Xb=/^(?:submit|button|image|reset|file)$/i,Yb=/^(?:input|select|textarea|keygen)/i;ea.param=function(a,b){var c,d=[],e=function(a,b){b=ea.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=ea.ajaxSettings&&ea.ajaxSettings.traditional),ea.isArray(a)||a.jquery&&!ea.isPlainObject(a))ea.each(a,function(){e(this.name,this.value)});else for(c in a)S(c,a[c],b,e);return d.join("&").replace(Ub,"+")},ea.fn.extend({serialize:function(){return ea.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=ea.prop(this,"elements");return a?ea.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!ea(this).is(":disabled")&&Yb.test(this.nodeName)&&!Xb.test(a)&&(this.checked||!Ea.test(a))}).map(function(a,b){var c=ea(this).val();return null==c?null:ea.isArray(c)?ea.map(c,function(a){return{name:b.name,value:a.replace(Wb,"\r\n")}}):{name:b.name,value:c.replace(Wb,"\r\n")}}).get()}}),ea.ajaxSettings.xhr=void 0!==a.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&T()||U()}:T;var Zb=0,$b={},_b=ea.ajaxSettings.xhr();a.attachEvent&&a.attachEvent("onunload",function(){for(var a in $b)$b[a](void 0,!0)}),ca.cors=!!_b&&"withCredentials"in _b,_b=ca.ajax=!!_b,_b&&ea.ajaxTransport(function(a){if(!a.crossDomain||ca.cors){var b;return{send:function(c,d){var e,f=a.xhr(),g=++Zb;if(f.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(e in a.xhrFields)f[e]=a.xhrFields[e];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType),a.crossDomain||c["X-Requested-With"]||(c["X-Requested-With"]="XMLHttpRequest");for(e in c)void 0!==c[e]&&f.setRequestHeader(e,c[e]+"");f.send(a.hasContent&&a.data||null),b=function(c,e){var h,i,j;if(b&&(e||4===f.readyState))if(delete $b[g],b=void 0,f.onreadystatechange=ea.noop,e)4!==f.readyState&&f.abort();else{j={},h=f.status,"string"==typeof f.responseText&&(j.text=f.responseText);try{i=f.statusText}catch(k){i=""}h||!a.isLocal||a.crossDomain?1223===h&&(h=204):h=j.text?200:404}j&&d(h,i,j,f.getAllResponseHeaders())},a.async?4===f.readyState?setTimeout(b):f.onreadystatechange=$b[g]=b:b()},abort:function(){b&&b(void 0,!0)}}}}),ea.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(a){return ea.globalEval(a),a}}}),ea.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),ea.ajaxTransport("script",function(a){if(a.crossDomain){var b,c=oa.head||ea("head")[0]||oa.documentElement;return{send:function(d,e){b=oa.createElement("script"),b.async=!0,a.scriptCharset&&(b.charset=a.scriptCharset),b.src=a.url,b.onload=b.onreadystatechange=function(a,c){(c||!b.readyState||/loaded|complete/.test(b.readyState))&&(b.onload=b.onreadystatechange=null,b.parentNode&&b.parentNode.removeChild(b),b=null,c||e(200,"success"))},c.insertBefore(b,c.firstChild)},abort:function(){b&&b.onload(void 0,!0)}}}});var ac=[],bc=/(=)\?(?=&|$)|\?\?/;ea.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=ac.pop()||ea.expando+"_"+Eb++;return this[a]=!0,a}}),ea.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(bc.test(b.url)?"url":"string"==typeof b.data&&!(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&bc.test(b.data)&&"data");if(h||"jsonp"===b.dataTypes[0])return e=b.jsonpCallback=ea.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(bc,"$1"+e):b.jsonp!==!1&&(b.url+=(Fb.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||ea.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,ac.push(e)),g&&ea.isFunction(f)&&f(g[0]),g=f=void 0}),"script"}),ea.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||oa;var d=la.exec(a),e=!c&&[];return d?[b.createElement(d[1])]:(d=ea.buildFragment([a],b,e),e&&e.length&&ea(e).remove(),ea.merge([],d.childNodes))};var cc=ea.fn.load;ea.fn.load=function(a,b,c){if("string"!=typeof a&&cc)return cc.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>=0&&(d=ea.trim(a.slice(h,a.length)),a=a.slice(0,h)),ea.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(f="POST"),g.length>0&&ea.ajax({url:a,type:f,dataType:"html",data:b}).done(function(a){e=arguments,g.html(d?ea("
").append(ea.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){g.each(c,e||[a.responseText,b,a])}),this},ea.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){ea.fn[b]=function(a){return this.on(b,a)}}),ea.expr.filters.animated=function(a){return ea.grep(ea.timers,function(b){return a===b.elem}).length};var dc=a.document.documentElement;ea.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=ea.css(a,"position"),l=ea(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=ea.css(a,"top"),i=ea.css(a,"left"),j=("absolute"===k||"fixed"===k)&&ea.inArray("auto",[f,i])>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),ea.isFunction(b)&&(b=b.call(a,c,h)),null!=b.top&&(m.top=b.top-h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in b?b.using.call(a,m):l.css(m)}},ea.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){ea.offset.setOffset(this,a,b)});var b,c,d={top:0,left:0},e=this[0],f=e&&e.ownerDocument;if(f)return b=f.documentElement,ea.contains(b,e)?(typeof e.getBoundingClientRect!==xa&&(d=e.getBoundingClientRect()),c=V(f),{top:d.top+(c.pageYOffset||b.scrollTop)-(b.clientTop||0),left:d.left+(c.pageXOffset||b.scrollLeft)-(b.clientLeft||0)}):d},position:function(){if(this[0]){var a,b,c={top:0,left:0},d=this[0];return"fixed"===ea.css(d,"position")?b=d.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),ea.nodeName(a[0],"html")||(c=a.offset()),c.top+=ea.css(a[0],"borderTopWidth",!0),c.left+=ea.css(a[0],"borderLeftWidth",!0)),{top:b.top-c.top-ea.css(d,"marginTop",!0),left:b.left-c.left-ea.css(d,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||dc;a&&!ea.nodeName(a,"html")&&"static"===ea.css(a,"position");)a=a.offsetParent;return a||dc})}}),ea.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c=/Y/.test(b);ea.fn[a]=function(d){return Da(this,function(a,d,e){var f=V(a);return void 0===e?f?b in f?f[b]:f.document.documentElement[d]:a[d]:void(f?f.scrollTo(c?ea(f).scrollLeft():e,c?e:ea(f).scrollTop()):a[d]=e)},a,d,arguments.length,null)}}),ea.each(["top","left"],function(a,b){ea.cssHooks[b]=A(ca.pixelPosition,function(a,c){if(c)return c=bb(a,b),db.test(c)?ea(a).position()[b]+"px":c})}),ea.each({Height:"height",Width:"width"},function(a,b){ea.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){ea.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return Da(this,function(b,c,d){var e;return ea.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement, Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?ea.css(b,c,g):ea.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),ea.fn.size=function(){return this.length},ea.fn.andSelf=ea.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return ea});var ec=a.jQuery,fc=a.$;return ea.noConflict=function(b){return a.$===ea&&(a.$=fc),b&&a.jQuery===ea&&(a.jQuery=ec),ea},typeof b===xa&&(a.jQuery=a.$=ea),ea}),function(){function a(a,b,c){for(var d=(c||0)-1,e=a?a.length:0;++dh||"undefined"==typeof g)return 1;if(g-1)&&gb});return c.pop(),d.pop(),q}function n(a,b){return a+Hb(Sb()*(b-a+1))}function o(a,b,c){for(var d=-1,e=s(),f=a?a.length:0,g=[],h=c?[]:g;++d-1:ac(a,function(a){return(e=a===b)&&gb}),e}function V(a,b,c){var d=!0;b=Qa(b,c,3);var e=-1,f=a?a.length:0;if("number"==typeof f)for(;++ee&&(e=h)}else b=Qa(b,c,3),Z(a,function(a,c,f){var g=b(a,c,f);g>d&&(d=g,e=a)});return e}function ca(a,b,c){var d=1/0,e=d;"function"!=typeof b&&c&&c[b]===a&&(b=null);var f=-1,g=a?a.length:0;if(null==b&&"number"==typeof g)for(;++f>>1;c(a[g])2?q(a,17,d(arguments,2),null,b):q(a,1,null,null,b)}function Ga(a){for(var b=arguments.length>1?l(arguments,!0,!1,1):z(a),c=-1,d=b.length;++c-1?a:0;var d=-1,e=Array(a);for(b=i(b,c,1);++d/g,jb=/($^)/,kb=/['\n\r\t\u2028\u2029\\]/g,lb="[object Arguments]",mb="[object Array]",nb="[object Boolean]",ob="[object Date]",pb="[object Function]",qb="[object Number]",rb="[object Object]",sb="[object RegExp]",tb="[object String]",ub={boolean:!1,function:!0,object:!0,number:!1,string:!1,undefined:!1},vb={"\\":"\\","'":"'","\n":"n","\r":"r","\t":"t","\u2028":"u2028","\u2029":"u2029"},wb=ub[typeof window]&&window||this,xb=ub[typeof exports]&&exports&&!exports.nodeType&&exports,yb=ub[typeof module]&&module&&!module.nodeType&&module,zb=yb&&yb.exports===xb&&xb,Ab=ub[typeof global]&&global;!Ab||Ab.global!==Ab&&Ab.window!==Ab||(wb=Ab);var Bb=[],Cb=Object.prototype,Db=wb._,Eb=Cb.toString,Fb=RegExp("^"+String(Eb).replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/toString| for [^\]]+/g,".*?")+"$"),Gb=Math.ceil,Hb=Math.floor,Ib=Cb.hasOwnProperty,Jb=Bb.push,Kb=Cb.propertyIsEnumerable,Lb=t(Lb=Object.create)&&Lb,Mb=t(Mb=Array.isArray)&&Mb,Nb=wb.isFinite,Ob=wb.isNaN,Pb=t(Pb=Object.keys)&&Pb,Qb=Math.max,Rb=Math.min,Sb=Math.random;f.prototype=e.prototype;var Tb={};!function(){var a={0:1,length:1};Tb.spliceObjects=(Bb.splice.call(a,0,1),!a[0])}(1),e.templateSettings={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:ib,variable:""},Lb||(h=function(){function a(){}return function(b){if(J(b)){a.prototype=b;var c=new a;a.prototype=null}return c||wb.Object()}}()),v(arguments)||(v=function(a){return a&&"object"==typeof a&&"number"==typeof a.length&&Ib.call(a,"callee")&&!Kb.call(a,"callee")||!1});var Ub=Mb||function(a){return a&&"object"==typeof a&&"number"==typeof a.length&&Eb.call(a)==mb||!1},Vb=function(a){var b,c=a,d=[];if(!c)return d;if(!ub[typeof a])return d;for(b in c)Ib.call(c,b)&&d.push(b);return d},Wb=Pb?function(a){return J(a)?Pb(a):[]}:Vb,Xb={"&":"&","<":"<",">":">",'"':""","'":"'"},Yb=B(Xb),Zb=RegExp("("+Wb(Yb).join("|")+")","g"),$b=RegExp("["+Wb(Xb).join("")+"]","g"),_b=function(a,b){var c,d=a,e=d;if(!d)return e;if(!ub[typeof d])return e;for(c in d)if(b(d[c],c,a)===gb)return e;return e},ac=function(a,b){var c,d=a,e=d;if(!d)return e;if(!ub[typeof d])return e;for(c in d)if(Ib.call(d,c)&&b(d[c],c,a)===gb)return e;return e};I(/x/)&&(I=function(a){return"function"==typeof a&&Eb.call(a)==pb});var bc=p(function(a,b,c){Ib.call(a,c)?a[c]++:a[c]=1}),cc=p(function(a,b,c){(Ib.call(a,c)?a[c]:a[c]=[]).push(b)}),dc=p(function(a,b,c){a[c]=b}),ec=aa,fc=t(fc=Date.now)&&fc||function(){return(new Date).getTime()};e.after=Ea,e.bind=Fa,e.bindAll=Ga,e.chain=ab,e.compact=na,e.compose=Ha,e.countBy=bc,e.debounce=Ia,e.defaults=y,e.defer=Ja,e.delay=Ka,e.difference=oa,e.filter=W,e.flatten=qa,e.forEach=Z,e.functions=z,e.groupBy=cc,e.indexBy=dc,e.initial=sa,e.intersection=ta,e.invert=B,e.invoke=_,e.keys=Wb,e.map=aa,e.max=ba,e.memoize=La,e.min=ca,e.omit=Q,e.once=Ma,e.pairs=R,e.partial=Na,e.pick=S,e.pluck=ec,e.range=wa,e.reject=fa,e.rest=xa,e.shuffle=ha,e.sortBy=ka,e.tap=bb,e.throttle=Oa,e.times=Za,e.toArray=la,e.union=za,e.uniq=Aa,e.values=T,e.where=ma,e.without=Ba,e.wrap=Pa,e.zip=Ca,e.collect=aa,e.drop=xa,e.each=Z,e.extend=w,e.methods=z,e.object=Da,e.select=W,e.tail=xa,e.unique=Aa,e.clone=x,e.contains=U,e.escape=Ra,e.every=V,e.find=X,e.has=A,e.identity=Sa,e.indexOf=ra,e.isArguments=v,e.isArray=Ub,e.isBoolean=C,e.isDate=D,e.isElement=E,e.isEmpty=F,e.isEqual=G,e.isFinite=H,e.isFunction=I,e.isNaN=K,e.isNull=L,e.isNumber=M,e.isObject=J,e.isRegExp=N,e.isString=O,e.isUndefined=P,e.lastIndexOf=va,e.mixin=Ta,e.noConflict=Ua,e.random=Wa,e.reduce=da,e.reduceRight=ea,e.result=Xa,e.size=ia,e.some=ja,e.sortedIndex=ya,e.template=Ya,e.unescape=$a,e.uniqueId=_a,e.all=V,e.any=ja,e.detect=X,e.findWhere=Y,e.foldl=da,e.foldr=ea,e.include=U,e.inject=da,e.first=pa,e.last=ua,e.sample=ga,e.take=pa,e.head=pa,Ta(e),e.VERSION="2.4.2",e.prototype.chain=cb,e.prototype.value=db,Z(["pop","push","reverse","shift","sort","splice","unshift"],function(a){var b=Bb[a];e.prototype[a]=function(){var a=this.__wrapped__;return b.apply(a,arguments),Tb.spliceObjects||0!==a.length||delete a[0],this}}),Z(["concat","join","slice"],function(a){var b=Bb[a];e.prototype[a]=function(){var a=this.__wrapped__,c=b.apply(a,arguments);return this.__chain__&&(c=new f(c),c.__chain__=!0),c}}),"function"==typeof define&&"object"==typeof define.amd&&define.amd?(wb._=e,define(function(){return e})):xb&&yb?zb?(yb.exports=e)._=e:xb._=e:wb._=e}.call(this),function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a:a(jQuery)}(function(a){function b(b){var g=b||window.event,h=i.call(arguments,1),j=0,l=0,m=0,n=0,o=0,p=0;if(b=a.event.fix(g),b.type="mousewheel","detail"in g&&(m=g.detail*-1),"wheelDelta"in g&&(m=g.wheelDelta),"wheelDeltaY"in g&&(m=g.wheelDeltaY),"wheelDeltaX"in g&&(l=g.wheelDeltaX*-1),"axis"in g&&g.axis===g.HORIZONTAL_AXIS&&(l=m*-1,m=0),j=0===m?l:m,"deltaY"in g&&(m=g.deltaY*-1,j=m),"deltaX"in g&&(l=g.deltaX,0===m&&(j=l*-1)),0!==m||0!==l){if(1===g.deltaMode){var q=a.data(this,"mousewheel-line-height");j*=q,m*=q,l*=q}else if(2===g.deltaMode){var r=a.data(this,"mousewheel-page-height");j*=r,m*=r,l*=r}if(n=Math.max(Math.abs(m),Math.abs(l)),(!f||n=1?"floor":"ceil"](j/f),l=Math[l>=1?"floor":"ceil"](l/f),m=Math[m>=1?"floor":"ceil"](m/f),k.settings.normalizeOffset&&this.getBoundingClientRect){var s=this.getBoundingClientRect();o=b.clientX-s.left,p=b.clientY-s.top}return b.deltaX=l,b.deltaY=m,b.deltaFactor=f,b.offsetX=o,b.offsetY=p,b.deltaMode=0,h.unshift(b,j,l,m),e&&clearTimeout(e),e=setTimeout(c,200),(a.event.dispatch||a.event.handle).apply(this,h)}}function c(){f=null}function d(a,b){return k.settings.adjustOldDeltas&&"mousewheel"===a.type&&b%120===0}var e,f,g=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],h="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],i=Array.prototype.slice;if(a.event.fixHooks)for(var j=g.length;j;)a.event.fixHooks[g[--j]]=a.event.mouseHooks;var k=a.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var c=h.length;c;)this.addEventListener(h[--c],b,!1);else this.onmousewheel=b;a.data(this,"mousewheel-line-height",k.getLineHeight(this)),a.data(this,"mousewheel-page-height",k.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var c=h.length;c;)this.removeEventListener(h[--c],b,!1);else this.onmousewheel=null;a.removeData(this,"mousewheel-line-height"),a.removeData(this,"mousewheel-page-height")},getLineHeight:function(b){var c=a(b),d=c["offsetParent"in a.fn?"offsetParent":"parent"]();return d.length||(d=a("body")),parseInt(d.css("fontSize"),10)||parseInt(c.css("fontSize"),10)||16},getPageHeight:function(b){return a(b).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};a.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})}),function(a,b){"use strict";var c=["fixed","relative","absolute"],d="mousewheel resize",e=a(b),f=function(c,d){_.bindAll(this,"handleScroll","onScroll"),this.$el=a(c),this.el=this.$el[0],this.options=_.defaults(d||{},{watchOn:b}),this.$watchOn=a(this.options.watchOn),this._prepareContainer(),this.inViewport=!1,this.callbacks={scrollin:a.Callbacks(),scrollout:a.Callbacks(),scroll:a.Callbacks()},this.listen()};f.prototype={_prepareContainer:function(){if(this.$watchOn[0]!==b){var a=this.$watchOn.css("position"),d=_.contains(c,a);d||this.$watchOn.css("position","relative")}},listen:function(){this.$watchOn.on("scroll",this.onScroll),e.on(d,this.onScroll)},destroy:function(){this.$watchOn.off("scroll",this.onScroll),e.off(d,this.onScroll),this.$el.data("scrollWatch",null)},on:function(a,b,c,d){return _.isFunction(b)&&(d=c,c=b,b={}),b=_.extend({},this.options,b),c=_.bind(c,d||this.$el),b.delay&&(c=this._createDelayedCallback(a,c,b)),this.callbacks[a].add(c),this.$watchOn.scroll(),this},_createDelayedCallback:function(a,b,c){return function(){var a=arguments;_.delay(function(){b.apply(this,a)},c.delay)}},handleScroll:function(a){var b=this.visibility,c=this.surroundVisibility,d=this.isInViewport(!1),e=this.isInViewport(!0),f=this.$watchOn.scrollTop();return this.lastOffset===!1?this.direction=!1:this.direction=f>this.lastOffset?"down":"up",this.lastOffset=f,this.visibility=d,this.surroundVisibility=e,this.inViewport||1!==d?this.inViewport&&0===d&&(this.inViewport=!1,this.dfd?this.dfd.done(_.bind(this.trigger,this,"scrollout")):this.trigger("scrollout")):(this.inViewport=!0,this.trigger("scrollin")),(d!==b||e!==c||a)&&this.trigger("scroll"),this},onScroll:function(a){this.running||(this.running=!0,this.originalEvent=a,this.handleScroll(),this.running=!1)},trigger:function(a){return("scroll"===a||a!==this.lastTriggered)&&(this.lastTriggered=a,void this.callbacks[a].fire({direction:this.direction,visibility:this.visibility,surroundVisibility:this.surroundVisibility,originalEvent:this.originalEvent}))},_getOffsetTop:function(){if(this.$watchOn[0]===b)return this.$el.offset().top;var a=this.el,c=0;do c+=a.offsetTop,a=a.offsetParent;while(a&&a!==this.$watchOn[0]);return c},isInViewport:function(a){var b=this.$watchOn.scrollTop(),c=this.$watchOn.height(),d=b+c,e=this._getOffsetTop(),f=this.el.offsetHeight,g=e+f;a&&(b-=c,d+=c);var h=f>=c;return h&&b>=e&&d<=g?1:!h&&e>=b&&g<=d?1:e>b&&ed?(d-e)/f:g>b&&g=d?(f=a,e=f/c):(e=b,f=e*c),{width:f,height:e}},refresh:function(){fastdom.read(function(){if(this.$el.is(":visible")){var a=this.$parent.width(),b=this.$parent.height(),c={width:0,height:0};"cover"===this.options.mode?c=this._calculateCoverSize(a,b,this._getContentRatio()):"fit"===this.options.mode&&(c=this._calculateFitSize(a,b,this._getContentRatio()));var d={top:"50%",left:"50%",width:c.width+"px",height:c.height+"px",marginLeft:-c.width/2+"px",marginTop:-c.height/2+"px"};"right"===this.options.anchor&&(d.marginLeft="0",d.right="0",d.left="auto"),"left"===this.options.anchor&&(d.marginLeft="0",d.right="auto",d.left="0"),this.state.css=d}},this),fastdom.write(function(){return this.state.css?(this.$el.css(this.state.css),this.$el.addClass("autoscale autoscale-background-cover"),this.$parent.addClass("autoscale-parent"),void(this.raf=!1)):void(this.raf=!1)},this)},onResize:function(){this.raf||b.requestAnimationFrame(this.refresh),this.raf=!0}},a.fn[d]=function(b){return this.each(function(){if(a.data(this,"plugin_"+d)){var e=a.data(this,"plugin_"+d);e.setOptions(b),e.refresh()}else a.data(this,"plugin_"+d,new c(this,b))})};var g=function(){a("[data-autoscale]").autoscale()};a(g),f.on("load",function(){g(),fastdom.defer(g)})}(jQuery,window),function(a){"use strict";$.fn.viewportHeight=function(b){return this.each(function(){a.attachTo(this,b)})},a.refreshAll()}(window.ViewportHeight),function(a,b,c,d){"use strict";function e(b,c){this.el=b,this.$el=a(b),c=c||{};var d=c.container||this.$el.data("sticky-element-container");this.$container=d?this.$el.closest(d):this.$el.parent(),this.$stateElement=c.stateElement,this.options=a.extend({},c),this._name=f,this.initialize()}var f="sticky",g=a(b),h=b.requestAnimationFrame||b.mozRequestAnimationFrame||b.webkitRequestAnimationFrame||b.msRequestAnimationFrame;b.requestAnimationFrame=h,e.prototype={initialize:function(){this.$stateElement&&this.$stateElement.data("sticky-enabled",!0),this.$el.addClass("sticky-element sticky-top"),this.onResize=a.proxy(this.onResize,this),this.listen()},listen:function(){g.on("resize",this.onResize),this.$container.scrollWatch({watchOn:this.options.watchOn}).on("scroll",this.onScroll,this)},destroy:function(){g.off("resize",this.onResize),this.$container.scrollWatch().destroy(),this.$el.removeClass("sticky-element sticky-top sticky-centered sticky-bottom")},refresh:function(){this.$container.scrollWatch().handleScroll(!0),this.raf=!1},onScroll:function(a){if(this.$stateElement&&this.$stateElement.data("sticky-enabled")===!1)return void this.unstick();a=a||{};var b=Math.abs(a.visibility),c=a.visibility>0,d=!c;if(1===b)this.stick();else if(0===b){var e="up"===a.direction?"top":"bottom";this.unstick(e)}else if(c)this.unstick("top");else if(d){var f=this.$el.outerHeight()/this.$container.height();"up"===a.direction&&b>=f?this.stick():this.unstick("bottom")}},unstick:function(a){this.$el.removeClass("sticky-bottom sticky-centered sticky-top"),a&&this.$el.addClass("sticky-"+a)},stick:function(){this.$el.removeClass("sticky-top sticky-bottom").addClass("sticky-centered")},onResize:function(){this.raf||b.requestAnimationFrame(a.proxy(this.refresh,this)),this.raf=!0}},a.fn[f]=function(b){return this.each(function(){a.data(this,"plugin_"+f)||a.data(this,"plugin_"+f,new e(this,b)),a.data(this,"plugin_"+f).onResize()})},g.on("load",function(){a("[data-sticky-element]").sticky()})}(jQuery,window,document),function(){function m(){return function(){}}function p(a){return function(){return this[a]}}function s(a){return function(){return a}}function u(a,b,c){if("string"==typeof a){if(0===a.indexOf("#")&&(a=a.slice(1)),u.xa[a])return u.xa[a];a=u.w(a)}if(!a||!a.nodeName)throw new TypeError("The element or ID supplied is not valid. (videojs)");return a.player||new u.s(a,b,c)}function D(a){a.u("vjs-lock-showing")}function E(a,c,d,e){return d!==b?(a.a.style[c]=-1!==(""+d).indexOf("%")||-1!==(""+d).indexOf("px")?d:"auto"===d?"":d+"px",e||a.j("resize"),a):a.a?(d=a.a.style[c],e=d.indexOf("px"),-1!==e?parseInt(d.slice(0,e),10):parseInt(a.a["offset"+u.$(c)],10)):0}function F(a,b){var c,d,e,f;return c=a.a,d=u.ad(c),f=e=c.offsetWidth,c=a.handle,a.g.Cd?(f=d.top,d=b.changedTouches?b.changedTouches[0].pageY:b.pageY,c&&(c=c.w().offsetHeight,f+=c/2,e-=c),Math.max(0,Math.min(1,(f-d+e)/e))):(e=d.left,d=b.changedTouches?b.changedTouches[0].pageX:b.pageX,c&&(c=c.w().offsetWidth,e+=c/2,f-=c),Math.max(0,Math.min(1,(d-e)/f)))}function ca(a,b){a.Z(b),b.d("click",u.bind(a,function(){D(this)}))}function H(a){a.pa=f,a.wa.n("vjs-lock-showing"),a.a.setAttribute("aria-pressed",f),a.I&&0Chrome or download the latest Adobe Flash Player.'},"GENERATED_CDN_VSN"!==u.Tb&&(v.options.flash.swf=u.Fc+"vjs.zencdn.net/"+u.Tb+"/video-js.swf"),u.xa={},u.la=u.CoreObject=m(),u.la.extend=function(a){var b,c;a=a||{},b=a.init||a.i||this.prototype.init||this.prototype.i||m(),c=function(){b.apply(this,arguments)},c.prototype=u.k.create(this.prototype),c.prototype.constructor=c,c.extend=u.la.extend,c.create=u.la.create;for(var d in a)a.hasOwnProperty(d)&&(c.prototype[d]=a[d]);return c},u.la.create=function(){var a=u.k.create(this.prototype);return this.apply(a,arguments),a},u.d=function(a,b,c){var d=u.getData(a);d.z||(d.z={}),d.z[b]||(d.z[b]=[]),c.t||(c.t=u.t++),d.z[b].push(c),d.W||(d.disabled=l,d.W=function(b){if(!d.disabled){b=u.kc(b);var c=d.z[b.type];if(c)for(var c=c.slice(0),e=0,f=c.length;eu.Gc,u.Jc=/Firefox/i.test(u.F),u.Gd=/Chrome/i.test(u.F),u.ac=!!("ontouchstart"in window||window.Hc&&document instanceof window.Hc),u.xb=function(a){var b,c,d,e;if(b={},a&&a.attributes&&0d?"0"+d:d)+":")+(10>c?"0"+c:c)},u.Tc=function(){document.body.focus(),document.onselectstart=s(l)},u.Bd=function(){document.onselectstart=s(f)},u.trim=function(a){return(a+"").replace(/^\s+|\s+$/g,"")},u.round=function(a,b){return b||(b=0),Math.round(a*Math.pow(10,b))/Math.pow(10,b)},u.tb=function(a,b){return{length:1,start:function(){return a},end:function(){return b}}},u.get=function(a,b,c){var d,e;"undefined"==typeof XMLHttpRequest&&(window.XMLHttpRequest=function(){try{return new window.ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(a){}try{return new window.ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(b){}try{return new window.ActiveXObject("Msxml2.XMLHTTP")}catch(c){}throw Error("This browser does not support XMLHttpRequest.")}),e=new XMLHttpRequest;try{e.open("GET",a)}catch(f){c(f)}d=0===a.indexOf("file:")||0===window.location.href.indexOf("file:")&&-1===a.indexOf("http"),e.onreadystatechange=function(){4===e.readyState&&(200===e.status||d&&0===e.status?b(e.responseText):c&&c())};try{e.send()}catch(g){c&&c(g)}},u.td=function(a){try{var b=window.localStorage||l;b&&(b.volume=a)}catch(c){22==c.code||1014==c.code?u.log("LocalStorage Full (VideoJS)",c):18==c.code?u.log("LocalStorage not allowed (VideoJS)",c):u.log("LocalStorage Error (VideoJS)",c)}},u.mc=function(a){return a.match(/^https?:\/\//)||(a=u.e("div",{innerHTML:'x'}).firstChild.href),a},u.log=function(){u.log.history=u.log.history||[],u.log.history.push(arguments),window.console&&window.console.log(Array.prototype.slice.call(arguments))},u.ad=function(a){var b,c;return a.getBoundingClientRect&&a.parentNode&&(b=a.getBoundingClientRect()),b?(a=document.documentElement,c=document.body,{left:b.left+(window.pageXOffset||c.scrollLeft)-(a.clientLeft||c.clientLeft||0),top:b.top+(window.pageYOffset||c.scrollTop)-(a.clientTop||c.clientTop||0)}):{left:0,top:0}},u.c=u.la.extend({i:function(a,b,c){if(this.b=a,this.g=u.k.copy(this.g),b=this.options(b),this.Q=b.id||(b.el&&b.el.id?b.el.id:a.id()+"_component_"+u.t++),this.gd=b.name||h,this.a=b.el||this.e(),this.G=[],this.qb={},this.V={},(a=this.g)&&a.children){var d=this;u.k.ua(a.children,function(a,b){b!==l&&!b.loadEvent&&(d[a]=d.Z(a,b))})}this.L(c)}}),t=u.c.prototype,t.D=function(){if(this.j("dispose"),this.G)for(var a=this.G.length-1;0<=a;a--)this.G[a].D&&this.G[a].D();this.V=this.qb=this.G=h,this.o(),this.a.parentNode&&this.a.parentNode.removeChild(this.a),u.vc(this.a),this.a=h},t.b=f,t.K=p("b"),t.options=function(a){return a===b?this.g:this.g=u.k.ic(this.g,a)},t.e=function(a,b){return u.e(a,b)},t.w=p("a"),t.id=p("Q"),t.name=p("gd"),t.children=p("G"),t.Z=function(a,b){var c,d;return"string"==typeof a?(d=a,b=b||{},c=b.componentClass||u.$(d),b.name=d,c=new window.videojs[c](this.b||this,b)):c=a,this.G.push(c),"function"==typeof c.id&&(this.qb[c.id()]=c),(d=d||c.name&&c.name())&&(this.V[d]=c),"function"==typeof c.el&&c.el()&&(this.sa||this.a).appendChild(c.el()),c},t.removeChild=function(a){if("string"==typeof a&&(a=this.V[a]),a&&this.G){for(var b=l,c=this.G.length-1;0<=c;c--)if(this.G[c]===a){b=f,this.G.splice(c,1);break}b&&(this.qb[a.id]=h,this.V[a.name]=h,(b=a.w())&&b.parentNode===(this.sa||this.a)&&(this.sa||this.a).removeChild(a.w()))}},t.T=s(""),t.d=function(a,b){return u.d(this.a,a,u.bind(this,b)),this},t.o=function(a,b){return u.o(this.a,a,b),this},t.U=function(a,b){return u.U(this.a,a,u.bind(this,b)),this},t.j=function(a,b){return u.j(this.a,a,b),this},t.L=function(a){return a&&(this.aa?a.call(this):(this.Sa===b&&(this.Sa=[]),this.Sa.push(a))),this},t.Ua=function(){this.aa=f;var a=this.Sa;if(a&&0'+(this.qa||"Need Text")+"
",qd:"button","aria-live":"polite",tabIndex:0},b),u.c.prototype.e.call(this,a,b)},t.T=function(){return"vjs-control "+u.c.prototype.T.call(this)},t.p=m(),t.Oa=function(){u.d(document,"keyup",u.bind(this,this.ba))},t.ba=function(a){32!=a.which&&13!=a.which||(a.preventDefault(),this.p())},t.Na=function(){u.o(document,"keyup",u.bind(this,this.ba))},u.O=u.c.extend({i:function(a,b){u.c.call(this,a,b),this.Sc=this.V[this.g.barName],this.handle=this.V[this.g.handleName],a.d(this.tc,u.bind(this,this.update)),this.d("mousedown",this.Pa),this.d("touchstart",this.Pa),this.d("focus",this.Oa),this.d("blur",this.Na),this.d("click",this.p),this.b.d("controlsvisible",u.bind(this,this.update)),a.L(u.bind(this,this.update)),this.P={}}}),t=u.O.prototype,t.e=function(a,b){return b=b||{},b.className+=" vjs-slider",b=u.k.B({qd:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},b),u.c.prototype.e.call(this,a,b)},t.Pa=function(a){a.preventDefault(),u.Tc(),this.P.move=u.bind(this,this.Hb),this.P.end=u.bind(this,this.Ib),u.d(document,"mousemove",this.P.move),u.d(document,"mouseup",this.P.end),u.d(document,"touchmove",this.P.move),u.d(document,"touchend",this.P.end),this.Hb(a)},t.Ib=function(){u.Bd(),u.o(document,"mousemove",this.P.move,l),u.o(document,"mouseup",this.P.end,l),u.o(document,"touchmove",this.P.move,l),u.o(document,"touchend",this.P.end,l),this.update()},t.update=function(){if(this.a){var a,b=this.yb(),c=this.handle,d=this.Sc;if(isNaN(b)&&(b=0),a=b,c){a=this.a.offsetWidth;var e=c.w().offsetWidth;a=e?e/a:0,b*=1-a,a=b+a/2,c.w().style.left=u.round(100*b,2)+"%"}d.w().style.width=u.round(100*a,2)+"%"}},t.Oa=function(){u.d(document,"keyup",u.bind(this,this.ba))},t.ba=function(a){37==a.which?(a.preventDefault(),this.yc()):39==a.which&&(a.preventDefault(),this.zc())},t.Na=function(){u.o(document,"keyup",u.bind(this,this.ba))},t.p=function(a){a.stopImmediatePropagation(),a.preventDefault()},u.ea=u.c.extend(),u.ea.prototype.defaultValue=0,u.ea.prototype.e=function(a,b){return b=b||{},b.className+=" vjs-slider-handle",b=u.k.B({innerHTML:''+this.defaultValue+""},b),u.c.prototype.e.call(this,"div",b)},u.ma=u.c.extend(),u.ma.prototype.e=function(){var a=this.options().Vc||"ul";return this.sa=u.e(a,{className:"vjs-menu-content"}),a=u.c.prototype.e.call(this,"div",{append:this.sa,className:"vjs-menu"}),a.appendChild(this.sa),u.d(a,"click",function(a){a.preventDefault(),a.stopImmediatePropagation()}),a},u.N=u.q.extend({i:function(a,b){u.q.call(this,a,b),this.selected(b.selected)}}),u.N.prototype.e=function(a,b){return u.q.prototype.e.call(this,"li",u.k.B({className:"vjs-menu-item",innerHTML:this.g.label},b))},u.N.prototype.p=function(){this.selected(f)},u.N.prototype.selected=function(a){a?(this.n("vjs-selected"),this.a.setAttribute("aria-selected",f)):(this.u("vjs-selected"),this.a.setAttribute("aria-selected",l))},u.R=u.q.extend({i:function(a,b){u.q.call(this,a,b),this.wa=this.Ka(),this.Z(this.wa),this.I&&0===this.I.length&&this.C(),this.d("keyup",this.ba),this.a.setAttribute("aria-haspopup",f),this.a.setAttribute("role","button")}}),t=u.R.prototype,t.pa=l,t.Ka=function(){var a=new u.ma(this.b);if(this.options().title&&a.w().appendChild(u.e("li",{className:"vjs-menu-title",innerHTML:u.$(this.A),zd:-1})),this.I=this.createItems())for(var b=0;bCurrent Time 0:00',"aria-live":"off"}),a.appendChild(u.e("div").appendChild(this.content)),a},u.Ya.prototype.Ca=function(){var a=this.b.Nb?this.b.v.currentTime:this.b.currentTime();this.content.innerHTML='Current Time '+u.La(a,this.b.duration())},u.Za=u.c.extend({i:function(a,b){u.c.call(this,a,b),a.d("timeupdate",u.bind(this,this.Ca))}}),u.Za.prototype.e=function(){var a=u.c.prototype.e.call(this,"div",{className:"vjs-duration vjs-time-controls vjs-control"});return this.content=u.e("div",{className:"vjs-duration-display",innerHTML:'Duration Time 0:00',"aria-live":"off"}),a.appendChild(u.e("div").appendChild(this.content)),a},u.Za.prototype.Ca=function(){var a=this.b.duration();a&&(this.content.innerHTML='Duration Time '+u.La(a))},u.cc=u.c.extend({i:function(a,b){u.c.call(this,a,b)}}),u.cc.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-time-divider",innerHTML:"
/
"})},u.fb=u.c.extend({i:function(a,b){u.c.call(this,a,b),a.d("timeupdate",u.bind(this,this.Ca))}}),u.fb.prototype.e=function(){var a=u.c.prototype.e.call(this,"div",{className:"vjs-remaining-time vjs-time-controls vjs-control"});return this.content=u.e("div",{className:"vjs-remaining-time-display",innerHTML:'Remaining Time -0:00',"aria-live":"off"}),a.appendChild(u.e("div").appendChild(this.content)),a},u.fb.prototype.Ca=function(){this.b.duration()&&(this.content.innerHTML='Remaining Time -'+u.La(this.b.duration()-this.b.currentTime()))},u.Ga=u.q.extend({i:function(a,b){u.q.call(this,a,b)}}),u.Ga.prototype.qa="Fullscreen",u.Ga.prototype.T=function(){return"vjs-fullscreen-control "+u.q.prototype.T.call(this)},u.Ga.prototype.p=function(){this.b.H?(this.b.ob(),this.a.children[0].children[0].innerHTML="Fullscreen"):(this.b.ya(),this.a.children[0].children[0].innerHTML="Non-Fullscreen")},u.eb=u.c.extend({i:function(a,b){u.c.call(this,a,b)}}),u.eb.prototype.g={children:{seekBar:{}}},u.eb.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-progress-control vjs-control"})},u.Zb=u.O.extend({i:function(a,b){u.O.call(this,a,b),a.d("timeupdate",u.bind(this,this.Ba)),a.L(u.bind(this,this.Ba))}}),t=u.Zb.prototype,t.g={children:{loadProgressBar:{},playProgressBar:{},seekHandle:{}},barName:"playProgressBar",handleName:"seekHandle"},t.tc="timeupdate",t.e=function(){return u.O.prototype.e.call(this,"div",{className:"vjs-progress-holder","aria-label":"video progress bar"})},t.Ba=function(){var a=this.b.Nb?this.b.v.currentTime:this.b.currentTime();this.a.setAttribute("aria-valuenow",u.round(100*this.yb(),2)),this.a.setAttribute("aria-valuetext",u.La(a,this.b.duration()))},t.yb=function(){var a;return"Flash"===this.b.ia&&this.b.seeking()?(a=this.b.v,a=a.rc?a.rc:this.b.currentTime()):a=this.b.currentTime(),a/this.b.duration()},t.Pa=function(a){u.O.prototype.Pa.call(this,a),this.b.Nb=f,this.Dd=!this.b.paused(),this.b.pause()},t.Hb=function(a){a=F(this,a)*this.b.duration(),a==this.b.duration()&&(a-=.1),this.b.currentTime(a)},t.Ib=function(a){u.O.prototype.Ib.call(this,a),this.b.Nb=l,this.Dd&&this.b.play()},t.zc=function(){this.b.currentTime(this.b.currentTime()+5)},t.yc=function(){this.b.currentTime(this.b.currentTime()-5)},u.ab=u.c.extend({i:function(a,b){u.c.call(this,a,b),a.d("progress",u.bind(this,this.update))}}),u.ab.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-load-progress",innerHTML:'Loaded: 0%'})},u.ab.prototype.update=function(){this.a.style&&(this.a.style.width=u.round(100*this.b.Ja(),2)+"%")},u.Xb=u.c.extend({i:function(a,b){u.c.call(this,a,b)}}),u.Xb.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-play-progress",innerHTML:'Progress: 0%'})},u.gb=u.ea.extend(),u.gb.prototype.defaultValue="00:00",u.gb.prototype.e=function(){return u.ea.prototype.e.call(this,"div",{className:"vjs-seek-handle"})},u.ib=u.c.extend({i:function(a,b){u.c.call(this,a,b),a.h&&a.h.m&&a.h.m.volumeControl===l&&this.n("vjs-hidden"),a.d("loadstart",u.bind(this,function(){a.h.m&&a.h.m.volumeControl===l?this.n("vjs-hidden"):this.u("vjs-hidden")}))}}),u.ib.prototype.g={children:{volumeBar:{}}},u.ib.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-volume-control vjs-control"})},u.hb=u.O.extend({i:function(a,b){u.O.call(this,a,b),a.d("volumechange",u.bind(this,this.Ba)),a.L(u.bind(this,this.Ba)),setTimeout(u.bind(this,this.update),0)}}),t=u.hb.prototype,t.Ba=function(){this.a.setAttribute("aria-valuenow",u.round(100*this.b.volume(),2)),this.a.setAttribute("aria-valuetext",u.round(100*this.b.volume(),2)+"%")},t.g={children:{volumeLevel:{},volumeHandle:{}},barName:"volumeLevel",handleName:"volumeHandle"},t.tc="volumechange",t.e=function(){return u.O.prototype.e.call(this,"div",{className:"vjs-volume-bar","aria-label":"volume level"})},t.Hb=function(a){this.b.muted()&&this.b.muted(l),this.b.volume(F(this,a))},t.yb=function(){return this.b.muted()?0:this.b.volume()},t.zc=function(){this.b.volume(this.b.volume()+.1)},t.yc=function(){this.b.volume(this.b.volume()-.1)},u.dc=u.c.extend({i:function(a,b){u.c.call(this,a,b)}}),u.dc.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-volume-level",innerHTML:''})},u.jb=u.ea.extend(),u.jb.prototype.defaultValue="00:00",u.jb.prototype.e=function(){return u.ea.prototype.e.call(this,"div",{className:"vjs-volume-handle"})},u.da=u.q.extend({i:function(a,b){u.q.call(this,a,b),a.d("volumechange",u.bind(this,this.update)),a.h&&a.h.m&&a.h.m.volumeControl===l&&this.n("vjs-hidden"),a.d("loadstart",u.bind(this,function(){a.h.m&&a.h.m.volumeControl===l?this.n("vjs-hidden"):this.u("vjs-hidden")}))}}),u.da.prototype.e=function(){return u.q.prototype.e.call(this,"div",{className:"vjs-mute-control vjs-control",innerHTML:'
Mute
'})},u.da.prototype.p=function(){this.b.muted(this.b.muted()?l:f)},u.da.prototype.update=function(){var a=this.b.volume(),b=3;for(0===a||this.b.muted()?b=0:.33>a?b=1:.67>a&&(b=2),this.b.muted()?"Unmute"!=this.a.children[0].children[0].innerHTML&&(this.a.children[0].children[0].innerHTML="Unmute"):"Mute"!=this.a.children[0].children[0].innerHTML&&(this.a.children[0].children[0].innerHTML="Mute"),a=0;4>a;a++)u.u(this.a,"vjs-vol-"+a);u.n(this.a,"vjs-vol-"+b)},u.oa=u.R.extend({i:function(a,b){u.R.call(this,a,b),a.d("volumechange",u.bind(this,this.update)),a.h&&a.h.m&&a.h.m.Dc===l&&this.n("vjs-hidden"),a.d("loadstart",u.bind(this,function(){a.h.m&&a.h.m.Dc===l?this.n("vjs-hidden"):this.u("vjs-hidden")})),this.n("vjs-menu-button")}}),u.oa.prototype.Ka=function(){var a=new u.ma(this.b,{Vc:"div"}),b=new u.hb(this.b,u.k.B({Cd:f},this.g.Vd));return a.Z(b),a},u.oa.prototype.p=function(){u.da.prototype.p.call(this),u.R.prototype.p.call(this)},u.oa.prototype.e=function(){return u.q.prototype.e.call(this,"div",{className:"vjs-volume-menu-button vjs-menu-button vjs-control",innerHTML:'
Mute
'})},u.oa.prototype.update=u.da.prototype.update,u.cb=u.q.extend({i:function(a,b){u.q.call(this,a,b),(!a.poster()||!a.controls())&&this.C(),a.d("play",u.bind(this,this.C))}}),u.cb.prototype.e=function(){var a=u.e("div",{className:"vjs-poster",tabIndex:-1}),b=this.b.poster();return b&&("backgroundSize"in a.style?a.style.backgroundImage='url("'+b+'")':a.appendChild(u.e("img",{src:b}))),a},u.cb.prototype.p=function(){this.K().controls()&&this.b.play()},u.Wb=u.c.extend({i:function(a,b){u.c.call(this,a,b),a.d("canplay",u.bind(this,this.C)),a.d("canplaythrough",u.bind(this,this.C)),a.d("playing",u.bind(this,this.C)),a.d("seeked",u.bind(this,this.C)), a.d("seeking",u.bind(this,this.show)),a.d("seeked",u.bind(this,this.C)),a.d("error",u.bind(this,this.show)),a.d("waiting",u.bind(this,this.show))}}),u.Wb.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-loading-spinner"})},u.Wa=u.q.extend(),u.Wa.prototype.e=function(){return u.q.prototype.e.call(this,"div",{className:"vjs-big-play-button",innerHTML:'',"aria-label":"play video"})},u.Wa.prototype.p=function(){this.b.play()},u.r=u.c.extend({i:function(a,b,c){u.c.call(this,a,b,c);var d,e;e=this,d=this.K(),a=function(){if(d.controls()&&!d.Rb()){var a,b;e.d("mousedown",e.p),e.d("touchstart",function(a){a.preventDefault(),a.stopPropagation(),b=this.b.ja()}),a=function(a){a.stopPropagation(),b&&this.b.Mb()},e.d("touchmove",a),e.d("touchleave",a),e.d("touchcancel",a),e.d("touchend",a);var c,g,h;c=0,e.d("touchstart",function(){c=(new Date).getTime(),h=f}),a=function(){h=l},e.d("touchmove",a),e.d("touchleave",a),e.d("touchcancel",a),e.d("touchend",function(){h===f&&(g=(new Date).getTime()-c,250>g&&this.j("tap"))}),e.d("tap",e.md)}},b=u.bind(e,e.pd),this.L(a),d.d("controlsenabled",a),d.d("controlsdisabled",b)}}),u.r.prototype.pd=function(){this.o("tap"),this.o("touchstart"),this.o("touchmove"),this.o("touchleave"),this.o("touchcancel"),this.o("touchend"),this.o("click"),this.o("mousedown")},u.r.prototype.p=function(a){0===a.button&&this.K().controls()&&(this.K().paused()?this.K().play():this.K().pause())},u.r.prototype.md=function(){this.K().ja(!this.K().ja())},u.r.prototype.m={volumeControl:f,fullscreenResize:l,progressEvents:l,timeupdateEvents:l},u.media={},u.media.Va="play pause paused currentTime setCurrentTime duration buffered volume setVolume muted setMuted width height supportsFullScreen enterFullScreen src load currentSrc preload setPreload autoplay setAutoplay loop setLoop error networkState readyState seeking initialTime startOffsetTime played seekable ended videoTracks audioTracks videoWidth videoHeight textTracks defaultPlaybackRate playbackRate mediaGroup controller controls defaultMuted".split(" ");for(var i=u.media.Va.length-1;0<=i;i--)u.r.prototype[u.media.Va[i]]=ea();u.l=u.r.extend({i:function(a,b,c){if(this.m.volumeControl=u.l.Uc(),this.m.movingMediaElementInDOM=!u.Kc,this.m.fullscreenResize=f,u.r.call(this,a,b,c),(b=b.source)&&this.a.currentSrc===b.src&&0'}),d=u.k.B({data:a,width:"100%",height:"100%"},d),u.k.ua(d,function(a,b){g+=a+'="'+b+'" '}),'"+f+""},u.f.yd=function(a,b){return a+"&"+b},u.f.Ac=function(a){var b={rb:"",Ob:""};if(!a)return b;var c,d=a.indexOf("&");return-1!==d?c=d+1:(d=c=a.lastIndexOf("/")+1,0===d&&(d=c=a.length)),b.rb=a.substring(0,d),b.Ob=a.substring(c,a.length),b},u.f.ed=function(a){return a in u.f.Bc},u.f.Qc=/^rtmp[set]?:\/\//i,u.f.dd=function(a){return u.f.Qc.test(a)},u.Pc=u.c.extend({i:function(a,b,c){if(u.c.call(this,a,b,c),a.g.sources&&0!==a.g.sources.length)a.src(a.g.sources);else for(b=0,c=a.g.techOrder;b")?(b=d,d=u.trim(a[++e])):b=this.fa.length,b={id:b,index:this.fa.length},c=d.split(" --> "),b.startTime=Y(c[0]),b.va=Y(c[1]),c=[];a[++e]&&(d=u.trim(a[e]));)c.push(d);b.text=c.join("
"),this.fa.push(b)}this.ha=2,this.j("loaded")},t.update=function(){if(0=this.Ma||this.Ma===b?g=this.wb!==b?this.wb:0:(k=f,g=this.Db!==b?this.Db:h.length-1);;){if(e=h[g],e.va<=a)j=Math.max(j,e.va),e.Ia&&(e.Ia=l);else if(a'+a[i].text+"";this.a.innerHTML=h,this.j("cuechange")}}},t.reset=function(){this.Ma=0,this.Lb=this.b.duration(),this.Db=this.wb=0},u.Ub=u.X.extend(),u.Ub.prototype.A="captions",u.$b=u.X.extend(),u.$b.prototype.A="subtitles",u.Vb=u.X.extend(),u.Vb.prototype.A="chapters",u.bc=u.c.extend({i:function(a,b,c){if(u.c.call(this,a,b,c),a.g.tracks&&0=this.I.length&&this.C()}}),u.S.prototype.ta=function(){var a,b=[];b.push(new u.bb(this.b,{kind:this.A}));for(var c=0;ca.readyState())return this.Id=a,void a.d("loaded",u.bind(this,this.Ka));b=a;break}if(c=this.wa=new u.ma(this.b),c.a.appendChild(u.e("li",{className:"vjs-menu-title",innerHTML:u.$(this.A),zd:-1})),b){a=b.fa;for(var g,d=0,e=a.length;dd||(a.length=d)}else for(d in b)aa.call(b,d)&&void 0!==b[d]&&(a[d]=b[d]);return a}function i(a,b,d){return null==a?a:("object"==typeof a&&!a.nodeType&&c(a.length)?e(a,b,d):b.call(d||a,a),a)}function j(a){return function(b,c){var d=a();return b=d>=(b||0),c?b&&d<=c:b}}function k(a){var b=W.devicePixelRatio;return null==a?b||(k(2)?2:k(1.5)?1.5:k(1)?1:0):!!isFinite(a)&&(b&&b>0?b>=a:(a="only all and (min--moz-device-pixel-ratio:"+a+")",!!Ba(a).matches||!!Ba(a.replace("-moz-","")).matches))}function l(a){return a.replace(wa,"$1").replace(va,function(a,b){return b.toUpperCase()})}function m(a){return"data-"+(a?a.replace(wa,"$1").replace(ua,"$1-$2").toLowerCase():a)}function n(a){var b;return a&&"string"==typeof a?"true"===a||"false"!==a&&("undefined"===a?b:"null"===a?null:(b=parseFloat(a))===+b?b:a):a}function o(a){return!!a&&(1===a.nodeType?a:!(!a[0]||1!==a[0].nodeType)&&a[0])}function p(a,b){var c,d=arguments.length,f=o(this),g={},h=!1;if(d){if(ea(a)&&(h=!0,a=a[0]),"string"==typeof a){if(a=m(a),1===d)return g=f.getAttribute(a),h?n(g):g;if(this===f||2>(c=this.length||1))f.setAttribute(a,b);else for(;c--;)c in this&&p.apply(this[c],arguments)}else if(a instanceof Object)for(c in a)a.hasOwnProperty(c)&&p.call(this,c,a[c]);return this}return f.dataset&&DOMStringMap?f.dataset:(e(f.attributes,function(a){a&&(c=String(a.name).match(wa))&&(g[l(c[1])]=a.value)}),g)}function q(a){return this&&"string"==typeof a&&(a=d(a),i(this,function(b){e(a,function(a){a&&b.removeAttribute(m(a))})})),this}function r(a,b,c){return p.apply(a,ba.call(arguments,1))}function s(a,b){return q.call(a,b)}function t(a){for(var b,c=[],d=0,e=a.length;d=0&&c.left<=Ca()}function z(a,b){var c=x(o(a),b);return!!c&&c.bottom>=0&&c.top<=Da()}function A(a,b){var c=x(o(a),b);return!!c&&c.bottom>=0&&c.top<=Da()&&c.right>=0&&c.left<=Ca()}function B(a){var b={img:1,input:1,source:3,embed:3,track:3,iframe:5,audio:5,video:5,script:5},c=b[a.nodeName.toLowerCase()]||-1;return 4>c?c:null!=a.getAttribute("src")?5:-5}function C(a,c,d){var e;return a&&null!=c||b("store"),d="string"==typeof d&&d,i(a,function(a){e=d?a.getAttribute(d):0na?ma:na,pa=ma+na-oa,qa=function(){return ma},ra=function(){return na},sa=/[^a-z0-9_\-\.]/gi,ta=/^[\W\s]+|[\W\s]+$|/g,ua=/([a-z])([A-Z])/g,va=/-(.)/g,wa=/^data-(.+)$/,xa=Object.create||function(a){function b(){}return b.prototype=a,new b},ya=function(a,b){return b=b||T,a.replace(ta,"")+"."+b.replace(ta,"")},za={allLoaded:ya("allLoaded"),crossover:ya("crossover")},Aa=W.matchMedia||W.msMatchMedia,Ba=Aa||function(){return{}},Ca=function(a,b,c){var d=b.clientWidth,e=a.innerWidth;return c&&dparseInt(c.width,10);)a[d]=a[d-1],--d;a[d]=c}return a},d=function(a,c){for(var d,e,f=b.devicePixelRatio||1,g=0,h=0;h=d)));h++);return c[Math.min(h,g)]};return function(b,e){for(var f=b.width(),g=b.height(),h=[],i=function(a,b){return"width"===b?f:"height"===b?g:a},j=0;j=c.length&&(d=0,e=0),f<0&&(f=e),f=Math.min(f,e);var j=c.slice(d+f,e-f);if(c=c.slice(d,f),e=c.length,!e)return void i(c,g,!0);for(var k,l=0,m=function(){ l++,l===e&&(i(c,g,!j),b(j,0,0,f,g))},n=0;n=this.images.length&&(this.options.start=this.images.length-1),this.options.start<0&&(this.options.start=0),this.isBody=c===document.body;var l=a(b);this.$container=a(c),this.$root=this.isBody?j?l:a(document):this.$container,this.originalImages=this.images,this.images=e(this.options.alwaysTestWindowResolution?l:this.$root,this.originalImages),f(this.images,this.options.start||0,this.options.preload||1);var m=this.$container.children(".backstretch").first();if(this.$wrap=m.length?m:a('
').css(this.options.bypassCss?{}:d.wrap).appendTo(this.$container),!this.options.bypassCss){if(!this.isBody){var n=this.$container.css("position"),o=this.$container.css("zIndex");this.$container.css({position:"static"===n?"relative":n,zIndex:"auto"===o?0:o,background:"none"}),this.$wrap.css({zIndex:-999998})}this.$wrap.css({position:this.isBody&&j?"fixed":"absolute"})}this.index=this.options.start,this.show(this.index),l.on("resize.backstretch",a.proxy(this.resize,this)).on("orientationchange.backstretch",a.proxy(function(){this.isBody&&0===b.pageYOffset&&(b.scrollTo(0,1),this.resize())},this))};i.prototype={resize:function(){try{var d=this.options.alwaysTestWindowResolution?a(b):this.$root,g=d.width(),h=d.height(),i=g/(this._lastResizeContainerWidth||0),j=h/(this._lastResizeContainerHeight||0),k=this.options.resolutionChangeRatioTreshold||0;if((g!==this._lastResizeContainerWidth||h!==this._lastResizeContainerHeight)&&(Math.abs(i-1)>=k||isNaN(i)||Math.abs(j-1)>=k||isNaN(j))&&(this._lastResizeContainerWidth=g,this._lastResizeContainerHeight=h,this.images=e(d,this.originalImages),this.options.preload&&f(this.images,(this.index+1)%this.images.length,this.options.preload),1===this.images.length&&this._currentImage!==this.images[0])){var l=this;clearTimeout(l._selectAnotherResolutionTimeout),l._selectAnotherResolutionTimeout=setTimeout(function(){l.show(0)},this.options.resolutionRefreshRate)}var m,n={left:0,top:0,right:"auto",bottom:"auto"},o=this.isBody?this.$root.width():this.$root.innerWidth(),p=o,q=this.isBody?b.innerHeight?b.innerHeight:this.$root.height():this.$root.innerHeight(),r=p/this.$img.data("ratio"),s=a.Event("backstretch.resize",{relatedTarget:this.$container[0]}),t=this._currentImage.alignX===c?this.options.alignX:this._currentImage.alignX,u=this._currentImage.alignY===c?this.options.alignY:this._currentImage.alignY;r>=q?n.top=-(r-q)*u:(r=q,p=r*this.$img.data("ratio"),m=(p-o)/2,n.left=-(p-o)*t),this.options.bypassCss||this.$wrap.css({width:o,height:q}).find("img:not(.deleteable)").css({width:p,height:r}).css(n),this.$container.trigger(s,this)}catch(v){}return this},show:function(b){if(!(Math.abs(b)>this.images.length-1)){var e=this,f=e.$wrap.find("img").addClass("deleteable"),g={relatedTarget:e.$container[0]};e.$container.trigger(a.Event("backstretch.before",g),[e,b]),this.index=b,clearTimeout(e._cycleTimeout),e.$img=a(""),this.options.bypassCss?e.$img.css({display:"none"}):e.$img.css(d.img),e.$img.bind("load",function(d){var h=a(this),i=this.width||a(d.target).width(),j=this.height||a(d.target).height();h.data("ratio",i/j);var k=h.data("options").fade!==c?h.data("options").fade:e.options.speed||e.options.fade,l=function(){f.remove(),!e.paused&&e.images.length>1&&e.cycle(),a(["after","show"]).each(function(){e.$container.trigger(a.Event("backstretch."+this,g),[e,b])})};e.firstShow&&!e.options.fadeFirst||!k?(a(this).show(),l()):a(this).fadeIn(k,l),e.firstShow=!1,e.resize()}).appendTo(e.$wrap);var h=e.images[b];return e.$img.attr("src",h.url),e.$img.attr("alt",h.alt||""),e.$img.data("options",h),e._currentImage=h,e}},next:function(){return this.show(this.index1){clearTimeout(this._cycleTimeout);var b=this._currentImage&&this._currentImage.duration||this.options.duration;this._cycleTimeout=setTimeout(a.proxy(function(){this.paused||this.next()},this),b)}return this},destroy:function(c){a(b).off("resize.backstretch orientationchange.backstretch"),clearTimeout(this._cycleTimeout),c||this.$wrap.remove(),this.$container.removeData("backstretch")}};var j=function(){var a=navigator.userAgent,c=navigator.platform,d=a.match(/AppleWebKit\/([0-9]+)/),e=!!d&&d[1],f=a.match(/Fennec\/([0-9]+)/),g=!!f&&f[1],h=a.match(/Opera Mobi\/([0-9]+)/),i=!!h&&h[1],j=a.match(/MSIE ([0-9]+)/),k=!!j&&j[1];return!((c.indexOf("iPhone")>-1||c.indexOf("iPad")>-1||c.indexOf("iPod")>-1)&&e&&e<534||b.operamini&&"[object OperaMini]"==={}.toString.call(b.operamini)||h&&i<7458||a.indexOf("Android")>-1&&e&&e<533||g&&g<6||"palmGetResource"in b&&e&&e<534||a.indexOf("MeeGo")>-1&&a.indexOf("NokiaBrowser/8.5.0")>-1||k&&k<=6)}()}(jQuery,window),function(){var a=Shorthand.MediaRenderer={},b=(document.documentElement,"loading"),c="loaded",d="already_loaded",e=1e3;a.OFFSET_TOP=0,a.buildInitialState=function(){return{sections:[],lastRenderedCaption:!1}},a.attachSection=function(b){var c=b.querySelector("[data-foreground-canvas]"),d={canvas:c,scrollContainer:c.parentNode.parentNode};a.state.sections.push(d)},a.tick=function(){requestAnimationFrame(a.tick),a.getVisibleCanvases(function(b){b.forEach(function(b){var c=b.canvas,d=b.normalizedY;a.getCanvasImages(c,function(e,f){var g=c.clientHeight,h=b.scrollContainer.clientHeight,i={renderWidth:c.clientWidth,renderHeight:g,scrollHeight:h,imageHeight:h/e.length},j=a.buildRenderStack(e,d,i),k=null;if(a.shouldShowCaption(i,d)&&(k=a.getCaptionToRender(j)),a.renderCaption(k,c.parentNode),!(0===j.length||c.lastRenderStack&&_.isEqual(c.lastRenderStack,j))){c.lastRenderStack=j;var l=c.getContext("2d");j.forEach(function(b){a.drawImage(l,b.img,b.boxing)})}})})})},a.buildRenderStack=function(b,e,f){var g=(a.state,[]);return b.forEach(function(h,i){var j=a.getImageSrcState(h),k=b.length-1===i;if(a.doShowImage(f,h,i,k,e)){if(j.state===c||j.state===d){var l=a.getScaledImage(f,h),m=a.calculateImageBoxing(f,e,i,l,h.transition);g.push({id:h.id,img:l,boxing:m,caption:h.caption,transition:h.transition,index:i})}var n=Date.now();if(a.doShowInstantImage(j,n)){var o=a.getInstantImageTransitionOpacity(j,n),m=a.calculateImageBoxing(f,e,i,h.instantImg,h.transition);m.opacity=m.opacity*o,g.push({id:h.id,img:h.instantImg,boxing:m,caption:h.caption,transition:h.transition})}}}),g},a.getInstantImageTransitionOpacity=function(a,c){if(a.state===b)return 1;var d=c-a.loadedAt,f=d/e;return 1-f},a.doShowInstantImage=function(a,c){return a.state===b||a.state!==d&&!!(a.loadedAt&&c-a.loadedAt<=e)},a.getImageSrcState=function(e){var f=e.img.src;if(f in e.srcStates)return e.srcStates[f];var g=e.srcStates[f]={state:b,loadedAt:!1,whenLoaded:a.loadSource(f),src:f};return g.whenLoaded.then(function(a){g.state=a.wasAlreadyLoaded?d:c,g.loadedAt=Date.now(),g.img=a.img}),g},a.doShowImage=function(a,b,c,d,e){var f=c*a.imageHeight,g=(c+1)*a.imageHeight,h=e+a.renderHeight;return(b.transition||0===c)&&(f-=a.renderHeight),d&&(g+=a.renderHeight),e>=f&&h<=g||e<=g&&h>=g},a.getCanvasImages=function(a,b){if(a.revealImages){var c=a.revealImages;return c.forEach(function(a){a.img.src!==a.currentSrc&&(a.currentSrc=a.img.src)}),b(c)}var d=a.getElementsByClassName("reveal-media-item"),c=Array.prototype.map.call(d,function(a){var b=a.querySelector("[data-reveal-caption]"),c=a.getElementsByClassName("reveal-media-image")[0],d=new Image;d.src=c.getAttribute("data-instant-image");var e={id:a.getAttribute("data-id"),img:c,srcStates:{},transition:a.getAttribute("data-transition"),instantImg:d,caption:b};return e});a.revealImages=c,b(c)},a.loadSource=function(a){var b=$.Deferred(),c=new Image;c.src=a;var d=Date.now();return c.addEventListener("load",function(a){var e=Date.now(),f={wasAlreadyLoaded:!1};e-d<15&&(f.wasAlreadyLoaded=!0),f.img=c,b.resolve(f)}),b},a.drawImage=function(a,b,c){a.globalAlpha=c.opacity,a.drawImage(b,c.sx,c.sy,c.sWidth,c.sHeight,c.dx,c.dy,c.dWidth,c.dHeight)},a.getScaledImage=function(b,c){var d=a.getImageSrcState(c);d.scaledCache||(d.scaledCache={img:void 0,width:void 0,height:void 0});var e=d.scaledCache;if(e.width===b.renderWidth&&e.height===b.renderHeight)return e.img;var f=document.createElement("canvas"),g=f.getContext("2d");f.width=f.naturalWidth=b.renderWidth,f.height=f.naturalHeight=b.renderHeight;var h=d.img,i=0,j=0,k=!1,l=a.calculateImageBoxing(b,i,j,h,k);return a.drawImage(g,h,l),e.img=f,e.width=b.renderWidth,e.height=b.renderHeight,e.img},a.calculateTransitionPercentage=function(a,b,c,d){var e=b*c.imageHeight,f=d?e-c.renderHeight:e,g=e-f,h=a-f,i=h/g;return i=Math.max(i,0),i=Math.min(i,1)},a.calculateImageBoxing=function(b,c,d,e,f){var g=e.naturalWidth/b.renderWidth,h=e.naturalHeight/b.renderHeight,i=Math.min(g,h),j=e.naturalWidth/i,k=e.naturalHeight/i,l=j-b.renderWidth,m=k-b.renderHeight,n={};return n.sx=l*i/2,n.sy=m*i/2,n.sWidth=e.naturalWidth-l*i,n.sHeight=e.naturalHeight-m*i,n.dWidth=b.renderWidth,n.dHeight=b.renderHeight,n.dx=0,n.dy=0,n.opacity=1,n.transitionPercentage=a.calculateTransitionPercentage(c,d,b,f),f in a.Transitions?a.Transitions[f](n):n},a.Transitions={up:function(a){var b=1-a.transitionPercentage;return a.sy=a.sy+a.sHeight*b,a.sHeight=a.sHeight*a.transitionPercentage,a.dy=a.dy+a.dHeight*b,a.dHeight=a.dHeight*a.transitionPercentage,a},down:function(a){return a.sHeight=a.sHeight*a.transitionPercentage,a.dHeight=a.dHeight*a.transitionPercentage,a},right:function(a){return a.sWidth=a.sWidth*a.transitionPercentage,a.dWidth=a.dWidth*a.transitionPercentage,a},left:function(a){var b=1-a.transitionPercentage;return a.sx=a.sx+a.sWidth*b,a.sWidth=a.sWidth*a.transitionPercentage,a.dx=a.dx+a.dWidth*b,a.dWidth=a.dWidth*a.transitionPercentage,a},fade:function(a){return a.opacity=a.transitionPercentage,a}},a.getVisibleCanvases=function(b){var c=a.state.sections.map(function(b){return{canvas:b.canvas,normalizedY:a.getNormalizedY(b.scrollContainer),scrollContainer:b.scrollContainer}}).filter(function(a){return a.normalizedY!==!1});b(c)},a.getNormalizedY=function(b){var c=Shorthand.Viewport.getHeight(),d=b.getBoundingClientRect(),e=d.top-a.OFFSET_TOP,f=d.bottom-a.OFFSET_TOP,g=e>=0&&e<=c,h=f>=0&&f<=c,i=e<0&&f>0;return!!(g||h||i)&&-e}}(),function(){"use strict";var a=Shorthand.MediaRenderer,b=.6,c=.25,d="state-hide-caption",e="state-no-caption";a.getMostVisibleItem=function(a){if(0===a.length)return null;var b=a.reduce(function(a,b){return b.boxing.transitionPercentage>=a.boxing.transitionPercentage?b:a},{boxing:{transitionPercentage:0},caption:null});return b},a.getCaptionToRender=function(d){if(0===d.length)return null;var e=a.getMostVisibleItem(d),f=d.reduce(function(a,b){var c=b.boxing.transitionPercentage,d=a.boxing.transitionPercentage;return c>0&&c<=d?b:a});if(e.boxing.transitionPercentage<=b)return null;var g=e.caption;if(f)if(f.boxing.transitionPercentage>b)g=f.caption;else if(f.boxing.transitionPercentage>c)return e.caption&&f.caption?"":null;return g?g.outerHTML:null},a.renderCaption=function(b,c){var d=c.captionDisplay;d||(d=document.createElement("div"),d.setAttribute("data-caption-display",!0),d.setAttribute("class","reveal-caption-display"),c.parentNode.appendChild(d),c.captionDisplay=d),b!==a.state.lastRenderedCaption&&(b?a.showCaption(b,d):""===b?a.hideCaption(d):a.hideCaptionDisplay(d),a.state.lastRenderedCaption=b)},a.shouldShowCaption=function(a,c){var d=(a.renderHeight*b-a.renderHeight,a.scrollHeight-a.renderHeight),e=c>d;return!e&&!e},a.showCaption=function(a,b){b.className=b.className.replace(d,""),b.className=b.className.replace(e,""),b.innerHTML=a},a.hideCaption=function(a){a.className.indexOf(d)===-1&&(a.className+=" "+d)},a.hideCaptionDisplay=function(a){a.className.indexOf(e)===-1&&(a.className+=" "+e)}}(),function(){"use strict";function a(a){return Array.prototype.slice.call(a)}var b=Shorthand.MediaRenderer;b.state=b.buildInitialState();var c=a(document.querySelectorAll("[data-reveal-media]"));c.forEach(b.attachSection),b.tick()}(),function(a){"use strict";var b=a.SectionScrollmation={};fastdom.onError=function(a){console.log(a)},b.ImageScrollmation=function(a){this.initialize.apply(this,[a])},_.extend(b.ImageScrollmation.prototype,{initialize:function(b){_.bindAll(this),this.options=b,this.$el=$(b.el),this.el=this.$el[0],this.ui={container:b.container||$(this.$el.data("scrollmation-container")),window:$(a),text:this.$el.find(".scrollmation-text")},this.isBackground=b.isBackground,this.ui.slidesContainer=this.$el.find("[data-scrollmation-slides]"),this.$el.addClass("scrollmation"),this._prepareSlides(),this.slides&&(this.listen(),this.running=!1)},listen:function(){this.$el.on("scrollmation:slide:activate",this._toggleActivation.bind(this)),this.ui.window.on("resize scroll mousewheel",this.tick)},destroy:function(){this.ui.window.off("resize scroll mousewheel",this.tick),this.$el.off()},_toggleActivation:function(a,b){$.inArray(b,this.slides)!==-1&&$.each(this.slides,function(a,c){c&&(b===c?c.activate():c.deactivate())})},tick:function(){this.running||a.requestAnimationFrame(this._refresh),this.running=!0},_refresh:function(){this.stickyCheck(),fastdom.read(function(){var a=this.scrollPercentage=this.getScrollPercentage(),b=this.getSlideAtPercentage(a);b&&b!==this.activeSlide&&(this.activeSlide&&"image"!==this.activeSlide.mediaType&&this.activeSlide.isFullScreen||fastdom.write(function(){this.$el.trigger("scrollmation:slide:activate",b),this.activeSlide=b},this))},this),this.running=!1},stickyCheck:function(){fastdom.read(function(){var a=Math.floor(this.ui.text[0].getBoundingClientRect().height),b=Math.floor(this.el.getBoundingClientRect().height),c=this.ui.slidesContainer.data("plugin_sticky"),d=a=a},this)},getImageAtPercentage:function(a){var b=1/this.images.length;return _.find(this.images,function(c,d){var e=(d+1)*b;return e>=a},this)},_prepareSlides:function(){this.prepareSlides(),this.ui.window.resize()},prepareSlides:function(){this.slides=this.ui.slidesContainer.find("[data-scrollmation-slide]").map(this._makeSlide).get()},render:function(){this._refresh()},getContentRatio:function(){return this.$el.data("scrollmation-content-ratio")},_makeSlide:function(a,c){var d=c.tagName.toLowerCase();return"div"===d||"img"===d||0!==$(c).find("img").length?new b.ImageSlide({el:c,isBackground:this.isBackground}):new b.TwoColumnVideoSlide({el:c})}}),b.ImageSlide=function(a){this.initialize.apply(this,[a])},_.extend(b.ImageSlide.prototype,{className:"scrollmation-slide",activeClass:"active",mediaType:"image",initialize:function(a){this.options=a,this.$el=$(a.el),this.el=this.$el[0],this.$el.addClass(this.className),_.bindAll(this),this._autoscale()},activate:function(){this._autoscale(),this.$el.addClass(this.activeClass)},deactivate:function(){this.$el.removeClass(this.activeClass)},_autoscale:function(){this.options.isBackground&&this.$el.autoscale({mode:"cover"})}}),b.TwoColumnVideoSlide=function(a){this.initialize.apply(this,[a])},_.extend(b.TwoColumnVideoSlide.prototype,b.ImageSlide.prototype,{mediaType:"video",isFullScreen:!1,initialize:function(){b.ImageSlide.prototype.initialize.apply(this,arguments),this.videoJsElement=videojs(this.$el.find(".video-js").get(0)),this.videoJsElement.on("fullscreenchange",this.onFullScreenChange)},onFullScreenChange:function(){this.isFullScreen=this.videoJsElement.isFullScreen}}),$("[data-scrollmation]").each(function(){var a=$(this);new b.ImageScrollmation({el:a[0],isBackground:"background"===a.data("scrollmation")})})}(window),function(){"use strict";var a=Shorthand.RevealSection={},b=Shorthand.MediaRenderer,c=300;a.resizeCanvases=function(a){a.each(function(a,d){b.getCanvasImages(d,function(a){var b=d.parentNode.parentNode,e=d.clientHeight,f=e+c;d.width=b.clientWidth,d.height=e,d.parentNode.parentNode.style.height=a.length*f+"px",d.lastRenderStack=!1})})},a.handleResize=function(){if(0!==b.state.sections.length){var c=$(".section-reveal canvas");a.resizeCanvases(c)}},$(window).on("resize orientationchange load",a.handleResize),a.handleResize(),$(".section-reveal [data-reveal-media]").sticky()}(),function(a,b){"use strict";b.helpers.transitionEnd=function(){var a,b=document.createElement("bootstrap"),c={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(a in c)if(void 0!==b.style[a])return c[a]}()}($,Shorthand),function(){"use strict";$(function(){var a=!1,b=$(window),c=0,d=function(){fastdom.read(function(){Modernizr.mq("only all")&&b.width()>1e3&&(c=$(".scrollmation-two-column:not(.hide) .secondary-column").width(),fastdom.write(function(){$(".scrollmation-two-column .scrollmation-slides").each(function(){$(this).css("width",0!==c?c:"")})}))}),a=!1},e=function(){a||window.requestAnimationFrame(d),a=!0};b.on("load",e),b.on("resize",e)})}(),function(a,b,c){"use strict";b.isMobile()&&a("#story-body .section-text-over-image").css("background-attachment","scroll")}($,window.Device)}(!1); //# sourceMappingURL=common.3146.min.js.map