window.Modernizr=function(n,t,i){function b(n){k.cssText=n}function s(n,t){return typeof n===t}var r={},h=!0,u=t.documentElement,f="modernizr",p=t.createElement(f),k=p.style,d,nt={}.toString,c={},l=[],a=l.slice,e,w=function(n,i,r,e){var l,a,c,v,o=t.createElement("div"),h=t.body,s=h||t.createElement("body");if(parseInt(r,10))while(r--)c=t.createElement("div"),c.id=e?e[r]:f+(r+1),o.appendChild(c);return l=["&#173;",'<style id="s',f,'">',n,"<\/style>"].join(""),o.id=f,(h?o:s).innerHTML+=l,s.appendChild(o),h||(s.style.background="",s.style.overflow="hidden",v=u.style.overflow,u.style.overflow="hidden",u.appendChild(s)),a=i(o,n),h?o.parentNode.removeChild(o):(s.parentNode.removeChild(s),u.style.overflow=v),!!a},g=function(t){var i=n.matchMedia||n.msMatchMedia,r;return i?i(t).matches:(w("@media "+t+" { #"+f+" { position: absolute; } }",function(t){r=(n.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position=="absolute"}),r)},v={}.hasOwnProperty,y,o;y=!s(v,"undefined")&&!s(v.call,"undefined")?function(n,t){return v.call(n,t)}:function(n,t){return t in n&&s(n.constructor.prototype[t],"undefined")};Function.prototype.bind||(Function.prototype.bind=function(n){var t=this,i,r;if(typeof t!="function")throw new TypeError;return i=a.call(arguments,1),r=function(){var f,e,u;return this instanceof r?(f=function(){},f.prototype=t.prototype,e=new f,u=t.apply(e,i.concat(a.call(arguments))),Object(u)===u?u:e):t.apply(n,i.concat(a.call(arguments)))},r});for(o in c)y(c,o)&&(e=o.toLowerCase(),r[e]=c[o](),l.push((r[e]?"":"no-")+e));return r.addTest=function(n,t){if(typeof n=="object")for(var f in n)y(n,f)&&r.addTest(f,n[f]);else{if(n=n.toLowerCase(),r[n]!==i)return r;t=typeof t=="function"?t():t;typeof h!="undefined"&&h&&(u.className+=" "+(t?"":"no-")+n);r[n]=t}return r},b(""),p=d=null,function(n,t){function v(n,t){var i=n.createElement("p"),r=n.getElementsByTagName("head")[0]||n.documentElement;return i.innerHTML="x<style>"+t+"<\/style>",r.insertBefore(i.lastChild,r.firstChild)}function s(){var n=r.elements;return typeof n=="string"?n.split(" "):n}function u(n){var t=a[n[l]];return t||(t={},o++,n[l]=o,a[o]=t),t}function h(n,r,f){if(r||(r=t),i)return r.createElement(n);f||(f=u(r));var e;return e=f.cache[n]?f.cache[n].cloneNode():b.test(n)?(f.cache[n]=f.createElem(n)).cloneNode():f.createElem(n),e.canHaveChildren&&!w.test(n)&&!e.tagUrn?f.frag.appendChild(e):e}function y(n,r){if(n||(n=t),i)return n.createDocumentFragment();r=r||u(n);for(var e=r.frag.cloneNode(),f=0,o=s(),h=o.length;f<h;f++)e.createElement(o[f]);return e}function p(n,t){t.cache||(t.cache={},t.createElem=n.createElement,t.createFrag=n.createDocumentFragment,t.frag=t.createFrag());n.createElement=function(i){return r.shivMethods?h(i,n,t):t.createElem(i)};n.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+s().join().replace(/[\w\-]+/g,function(n){return t.createElem(n),t.frag.createElement(n),'c("'+n+'")'})+");return n}")(r,t.frag)}function c(n){n||(n=t);var f=u(n);return r.shivCSS&&!e&&!f.hasCSS&&(f.hasCSS=!!v(n,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),i||p(n,f),n}var f=n.html5||{},w=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,b=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,e,l="_html5shiv",o=0,a={},i,r;(function(){try{var n=t.createElement("a");n.innerHTML="<xyz><\/xyz>";e="hidden"in n;i=n.childNodes.length==1||function(){t.createElement("a");var n=t.createDocumentFragment();return typeof n.cloneNode=="undefined"||typeof n.createDocumentFragment=="undefined"||typeof n.createElement=="undefined"}()}catch(r){e=!0;i=!0}})();r={elements:f.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:f.shivCSS!==!1,supportsUnknownElements:i,shivMethods:f.shivMethods!==!1,type:"default",shivDocument:c,createElement:h,createDocumentFragment:y};n.html5=r;c(t)}(this,t),r._version="2.7.1",r.mq=g,r.testStyles=w,u.className=u.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(h?" js "+l.join(" "):""),r}(this,this.document),function(n,t,i){function h(n){return"[object Function]"==y.call(n)}function c(n){return"string"==typeof n}function l(){}function w(n){return!n||"loaded"==n||"complete"==n||"uninitialized"==n}function e(){var n=a.shift();v=1;n?n.t?s(function(){("c"==n.t?u.injectCss:u.injectJs)(n.s,0,n.a,n.x,n.e,1)},0):(n(),e()):v=0}function ut(n,i,f,h,c,l,y){function k(t){if(!nt&&w(p.readyState)&&(tt.r=nt=1,!v&&e(),p.onload=p.onreadystatechange=null,t)){"img"!=n&&s(function(){g.removeChild(p)},50);for(var u in r[i])r[i].hasOwnProperty(u)&&r[i][u].onload()}}var y=y||u.errorTimeout,p=t.createElement(n),nt=0,b=0,tt={t:f,s:i,e:c,a:l,x:y};1===r[i]&&(b=1,r[i]=[]);"object"==n?p.data=i:(p.src=i,p.type=n);p.width=p.height="0";p.onerror=p.onload=p.onreadystatechange=function(){k.call(this,b)};a.splice(h,0,tt);"img"!=n&&(b||2===r[i]?(g.insertBefore(p,d?null:o),s(k,y)):r[i].push(p))}function ft(n,t,i,r,u){return v=0,t=t||"j",c(n)?ut("c"==t?et:nt,n,t,this.i++,i,r,u):(a.splice(this.i++,0,n),1==a.length&&e()),this}function b(){var n=u;return n.loader={load:ft,i:0},n}var f=t.documentElement,s=n.setTimeout,o=t.getElementsByTagName("script")[0],y={}.toString,a=[],v=0,k="MozAppearance"in f.style,d=k&&!!t.createRange().compareNode,g=d?f:o.parentNode,f=n.opera&&"[object Opera]"==y.call(n.opera),f=!!t.attachEvent&&!f,nt=k?"object":f?"script":"img",et=f?"script":nt,tt=Array.isArray||function(n){return"[object Array]"==y.call(n)},p=[],r={},it={timeout:function(n,t){return t.length&&(n.timeout=t[0]),n}},rt,u;u=function(n){function a(n){for(var n=n.split("!"),f=p.length,t=n.pop(),e=n.length,t={url:t,origUrl:t,prefixes:n},u,r,i=0;i<e;i++)r=n[i].split("="),(u=it[r.shift()])&&(t=u(t,r));for(i=0;i<f;i++)t=p[i](t);return t}function f(n,t,u,f,e){var o=a(n),s=o.autoCallback;o.url.split(".").pop().split("?").shift();o.bypass||(t&&(t=h(t)?t:t[n]||t[f]||t[n.split("/").pop().split("?")[0]]),o.instead?o.instead(n,t,u,f,e):(r[o.url]?o.noexec=!0:r[o.url]=1,u.load(o.url,o.forceCSS||!o.forceJS&&"css"==o.url.split(".").pop().split("?").shift()?"c":i,o.noexec,o.attrs,o.timeout),(h(t)||h(s))&&u.load(function(){b();t&&t(o.origUrl,e,f);s&&s(o.origUrl,e,f);r[o.url]=2})))}function s(n,t){function a(n,o){if(n){if(c(n))o||(i=function(){var n=[].slice.call(arguments);s.apply(this,n);u()}),f(n,i,t,0,e);else if(Object(n)===n)for(r in v=function(){var t=0,i;for(i in n)n.hasOwnProperty(i)&&t++;return t}(),n)n.hasOwnProperty(r)&&(!o&&!--v&&(h(i)?i=function(){var n=[].slice.call(arguments);s.apply(this,n);u()}:i[r]=function(n){return function(){var t=[].slice.call(arguments);n&&n.apply(this,t);u()}}(s[r])),f(n[r],i,t,r,e))}else o||u()}var e=!!n.test,o=n.load||n.both,i=n.callback||l,s=i,u=n.complete||l,v,r;a(e?n.yep:n.nope,!!o);o&&a(o)}var e,t,o=this.yepnope.loader;if(c(n))f(n,0,o,0);else if(tt(n))for(e=0;e<n.length;e++)t=n[e],c(t)?f(t,0,o,0):tt(t)?u(t):Object(t)===t&&s(t,o);else Object(n)===n&&s(n,o)};u.addPrefix=function(n,t){it[n]=t};u.addFilter=function(n){p.push(n)};u.errorTimeout=1e4;null==t.readyState&&t.addEventListener&&(t.readyState="loading",t.addEventListener("DOMContentLoaded",rt=function(){t.removeEventListener("DOMContentLoaded",rt,0);t.readyState="complete"},0));n.yepnope=b();n.yepnope.executeStack=e;n.yepnope.injectJs=function(n,i,r,f,h,c){var a=t.createElement("script"),v,y,f=f||u.errorTimeout;a.src=n;for(y in r)a.setAttribute(y,r[y]);i=c?e:i||l;a.onreadystatechange=a.onload=function(){!v&&w(a.readyState)&&(v=1,i(),a.onload=a.onreadystatechange=null)};s(function(){v||(v=1,i(1))},f);h?a.onload():o.parentNode.insertBefore(a,o)};n.yepnope.injectCss=function(n,i,r,u,f,h){var u=t.createElement("link"),c,i=h?e:i||l;u.href=n;u.rel="stylesheet";u.type="text/css";for(c in r)u.setAttribute(c,r[c]);f||(o.parentNode.insertBefore(u,o),s(i,0))}}(this,document);Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))},function(n,t){function bt(n){var t=n.length,r=i.type(n);return i.isWindow(n)?!1:1===n.nodeType&&t?!0:"array"===r||"function"!==r&&(0===t||"number"==typeof t&&t>0&&t-1 in n)}function hf(n){var t=fi[n]={};return i.each(n.match(s)||[],function(n,i){t[i]=!0}),t}function bi(n,r,u,f){if(i.acceptData(n)){var h,o,c=i.expando,l=n.nodeType,s=l?i.cache:n,e=l?n[c]:n[c]&&c;if(e&&s[e]&&(f||s[e].data)||u!==t||"string"!=typeof r)return e||(e=l?n[c]=k.pop()||i.guid++:c),s[e]||(s[e]=l?{}:{toJSON:i.noop}),("object"==typeof r||"function"==typeof r)&&(f?s[e]=i.extend(s[e],r):s[e].data=i.extend(s[e].data,r)),o=s[e],f||(o.data||(o.data={}),o=o.data),u!==t&&(o[i.camelCase(r)]=u),"string"==typeof r?(h=o[r],null==h&&(h=o[i.camelCase(r)])):h=o,h}}function ki(n,t,r){if(i.acceptData(n)){var e,o,s=n.nodeType,u=s?i.cache:n,f=s?n[i.expando]:i.expando;if(u[f]){if(t&&(e=r?u[f]:u[f].data)){for(i.isArray(t)?t=t.concat(i.map(t,i.camelCase)):(t in e)?t=[t]:(t=i.camelCase(t),t=(t in e)?[t]:t.split(" ")),o=t.length;o--;)delete e[t[o]];if(r?!kt(e):!i.isEmptyObject(e))return}(r||(delete u[f].data,kt(u[f])))&&(s?i.cleanData([n],!0):i.support.deleteExpando||u!=u.window?delete u[f]:u[f]=null)}}}function di(n,r,u){if(u===t&&1===n.nodeType){var f="data-"+r.replace(eu,"-$1").toLowerCase();if(u=n.getAttribute(f),"string"==typeof u){try{u="true"===u?!0:"false"===u?!1:"null"===u?null:+u+""===u?+u:fu.test(u)?i.parseJSON(u):u}catch(e){}i.data(n,r,u)}else u=t}return u}function kt(n){var t;for(t in n)if(("data"!==t||!i.isEmptyObject(n[t]))&&"toJSON"!==t)return!1;return!0}function et(){return!0}function b(){return!1}function gi(){try{return r.activeElement}catch(n){}}function nr(n,t){do n=n[t];while(n&&1!==n.nodeType);return n}function dt(n,t,r){if(i.isFunction(t))return i.grep(n,function(n,i){return!!t.call(n,i,n)!==r});if(t.nodeType)return i.grep(n,function(n){return n===t!==r});if("string"==typeof t){if(ye.test(t))return i.filter(t,n,r);t=i.filter(t,n)}return i.grep(n,function(n){return i.inArray(n,t)>=0!==r})}function tr(n){var i=au.split("|"),t=n.createDocumentFragment();if(t.createElement)while(i.length)t.createElement(i.pop());return t}function ir(n,t){return i.nodeName(n,"table")&&i.nodeName(1===t.nodeType?t:t.firstChild,"tr")?n.getElementsByTagName("tbody")[0]||n.appendChild(n.ownerDocument.createElement("tbody")):n}function rr(n){return n.type=(null!==i.find.attr(n,"type"))+"/"+n.type,n}function ur(n){var t=no.exec(n.type);return t?n.type=t[1]:n.removeAttribute("type"),n}function gt(n,t){for(var u,r=0;null!=(u=n[r]);r++)i._data(u,"globalEval",!t||i._data(t[r],"globalEval"))}function fr(n,t){if(1===t.nodeType&&i.hasData(n)){var u,f,o,s=i._data(n),r=i._data(t,s),e=s.events;if(e){delete r.handle;r.events={};for(u in e)for(f=0,o=e[u].length;o>f;f++)i.event.add(t,u,e[u][f])}r.data&&(r.data=i.extend({},r.data))}}function cf(n,t){var r,f,u;if(1===t.nodeType){if(r=t.nodeName.toLowerCase(),!i.support.noCloneEvent&&t[i.expando]){u=i._data(t);for(f in u.events)i.removeEvent(t,f,u.handle);t.removeAttribute(i.expando)}"script"===r&&t.text!==n.text?(rr(t).text=n.text,ur(t)):"object"===r?(t.parentNode&&(t.outerHTML=n.outerHTML),i.support.html5Clone&&n.innerHTML&&!i.trim(t.innerHTML)&&(t.innerHTML=n.innerHTML)):"input"===r&&li.test(n.type)?(t.defaultChecked=t.checked=n.checked,t.value!==n.value&&(t.value=n.value)):"option"===r?t.defaultSelected=t.selected=n.defaultSelected:("input"===r||"textarea"===r)&&(t.defaultValue=n.defaultValue)}}function u(n,r){var s,e,h=0,f=typeof n.getElementsByTagName!==o?n.getElementsByTagName(r||"*"):typeof n.querySelectorAll!==o?n.querySelectorAll(r||"*"):t;if(!f)for(f=[],s=n.childNodes||n;null!=(e=s[h]);h++)!r||i.nodeName(e,r)?f.push(e):i.merge(f,u(e,r));return r===t||r&&i.nodeName(n,r)?i.merge([n],f):f}function lf(n){li.test(n.type)&&(n.defaultChecked=n.checked)}function er(n,t){if(t in n)return t;for(var r=t.charAt(0).toUpperCase()+t.slice(1),u=t,i=nf.length;i--;)if(t=nf[i]+r,t in n)return t;return u}function rt(n,t){return n=t||n,"none"===i.css(n,"display")||!i.contains(n.ownerDocument,n)}function or(n,t){for(var f,r,o,e=[],u=0,s=n.length;s>u;u++)r=n[u],r.style&&(e[u]=i._data(r,"olddisplay"),f=r.style.display,t?(e[u]||"none"!==f||(r.style.display=""),""===r.style.display&&rt(r)&&(e[u]=i._data(r,"olddisplay",lr(r.nodeName)))):e[u]||(o=rt(r),(f&&"none"!==f||!o)&&i._data(r,"olddisplay",o?f:i.css(r,"display"))));for(u=0;s>u;u++)r=n[u],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?e[u]||"":"none"));return n}function sr(n,t,i){var r=eo.exec(t);return r?Math.max(0,r[1]-(i||0))+(r[2]||"px"):t}function hr(n,t,r,u,f){for(var e=r===(u?"border":"content")?4:"width"===t?1:0,o=0;4>e;e+=2)"margin"===r&&(o+=i.css(n,r+p[e],!0,f)),u?("content"===r&&(o-=i.css(n,"padding"+p[e],!0,f)),"margin"!==r&&(o-=i.css(n,"border"+p[e]+"Width",!0,f))):(o+=i.css(n,"padding"+p[e],!0,f),"padding"!==r&&(o+=i.css(n,"border"+p[e]+"Width",!0,f)));return o}function cr(n,t,r){var e=!0,u="width"===t?n.offsetWidth:n.offsetHeight,f=v(n),o=i.support.boxSizing&&"border-box"===i.css(n,"boxSizing",!1,f);if(0>=u||null==u){if(u=y(n,t,f),(0>u||null==u)&&(u=n.style[t]),yt.test(u))return u;e=o&&(i.support.boxSizingReliable||u===n.style[t]);u=parseFloat(u)||0}return u+hr(n,t,r||(o?"border":"content"),e,f)+"px"}function lr(n){var u=r,t=du[n];return t||(t=ar(n,u),"none"!==t&&t||(ut=(ut||i("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(u.documentElement),u=(ut[0].contentWindow||ut[0].contentDocument).document,u.write("<!doctype html><html><body>"),u.close(),t=ar(n,u),ut.detach()),du[n]=t),t}function ar(n,t){var r=i(t.createElement(n)).appendTo(t.body),u=i.css(r[0],"display");return r.remove(),u}function ni(n,t,r,u){var f;if(i.isArray(t))i.each(t,function(t,i){r||co.test(n)?u(n,i):ni(n+"["+("object"==typeof i?t:"")+"]",i,r,u)});else if(r||"object"!==i.type(t))u(n,t);else for(f in t)ni(n+"["+f+"]",t[f],r,u)}function vr(n){return function(t,r){"string"!=typeof t&&(r=t,t="*");var u,f=0,e=t.toLowerCase().match(s)||[];if(i.isFunction(r))while(u=e[f++])"+"===u[0]?(u=u.slice(1)||"*",(n[u]=n[u]||[]).unshift(r)):(n[u]=n[u]||[]).push(r)}}function yr(n,r,u,f){function e(h){var c;return o[h]=!0,i.each(n[h]||[],function(n,i){var h=i(r,u,f);return"string"!=typeof h||s||o[h]?s?!(c=h):t:(r.dataTypes.unshift(h),e(h),!1)}),c}var o={},s=n===wi;return e(r.dataTypes[0])||!o["*"]&&e("*")}function ti(n,r){var f,u,e=i.ajaxSettings.flatOptions||{};for(u in r)r[u]!==t&&((e[u]?n:f||(f={}))[u]=r[u]);return f&&i.extend(!0,n,f),n}function af(n,i,r){for(var s,o,f,e,h=n.contents,u=n.dataTypes;"*"===u[0];)u.shift(),o===t&&(o=n.mimeType||i.getResponseHeader("Content-Type"));if(o)for(e in h)if(h[e]&&h[e].test(o)){u.unshift(e);break}if(u[0]in r)f=u[0];else{for(e in r){if(!u[0]||n.converters[e+" "+u[0]]){f=e;break}s||(s=e)}f=f||s}return f?(f!==u[0]&&u.unshift(f),r[f]):t}function vf(n,t,i,r){var h,u,f,s,e,o={},c=n.dataTypes.slice();if(c[1])for(f in n.converters)o[f.toLowerCase()]=n.converters[f];for(u=c.shift();u;)if(n.responseFields[u]&&(i[n.responseFields[u]]=t),!e&&r&&n.dataFilter&&(t=n.dataFilter(t,n.dataType)),e=u,u=c.shift())if("*"===u)u=e;else if("*"!==e&&e!==u){if(f=o[e+" "+u]||o["* "+u],!f)for(h in o)if(s=h.split(" "),s[1]===u&&(f=o[e+" "+s[0]]||o["* "+s[0]])){f===!0?f=o[h]:o[h]!==!0&&(u=s[0],c.unshift(s[1]));break}if(f!==!0)if(f&&n.throws)t=f(t);else try{t=f(t)}catch(l){return{state:"parsererror",error:f?l:"No conversion from "+e+" to "+u}}}return{state:"success",data:t}}function pr(){try{return new n.XMLHttpRequest}catch(t){}}function yf(){try{return new n.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function wr(){return setTimeout(function(){it=t}),it=i.now()}function br(n,t,i){for(var u,f=(ft[t]||[]).concat(ft["*"]),r=0,e=f.length;e>r;r++)if(u=f[r].call(i,t,n))return u}function kr(n,t,r){var h,e,o=0,l=wt.length,f=i.Deferred().always(function(){delete c.elem}),c=function(){if(e)return!1;for(var s=it||wr(),t=Math.max(0,u.startTime+u.duration-s),h=t/u.duration||0,i=1-h,r=0,o=u.tweens.length;o>r;r++)u.tweens[r].run(i);return f.notifyWith(n,[u,i,t]),1>i&&o?t:(f.resolveWith(n,[u]),!1)},u=f.promise({elem:n,props:i.extend({},t),opts:i.extend(!0,{specialEasing:{}},r),originalProperties:t,originalOptions:r,startTime:it||wr(),duration:r.duration,tweens:[],createTween:function(t,r){var f=i.Tween(n,u.opts,t,r,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(f),f},stop:function(t){var i=0,r=t?u.tweens.length:0;if(e)return this;for(e=!0;r>i;i++)u.tweens[i].run(1);return t?f.resolveWith(n,[u,t]):f.rejectWith(n,[u,t]),this}}),s=u.props;for(pf(s,u.opts.specialEasing);l>o;o++)if(h=wt[o].call(u,n,s,u.opts))return h;return i.map(s,br,u),i.isFunction(u.opts.start)&&u.opts.start.call(n,u),i.fx.timer(i.extend(c,{elem:n,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function pf(n,t){var r,f,e,u,o;for(r in n)if(f=i.camelCase(r),e=t[f],u=n[r],i.isArray(u)&&(e=u[1],u=n[r]=u[0]),r!==f&&(n[f]=u,delete n[r]),o=i.cssHooks[f],o&&"expand"in o){u=o.expand(u);delete n[f];for(r in u)r in n||(n[r]=u[r],t[r]=e)}else t[f]=e}function wf(n,t,r){var u,a,v,c,e,y,s=this,l={},o=n.style,h=n.nodeType&&rt(n),f=i._data(n,"fxshow");r.queue||(e=i._queueHooks(n,"fx"),null==e.unqueued&&(e.unqueued=0,y=e.empty.fire,e.empty.fire=function(){e.unqueued||y()}),e.unqueued++,s.always(function(){s.always(function(){e.unqueued--;i.queue(n,"fx").length||e.empty.fire()})}));1===n.nodeType&&("height"in t||"width"in t)&&(r.overflow=[o.overflow,o.overflowX,o.overflowY],"inline"===i.css(n,"display")&&"none"===i.css(n,"float")&&(i.support.inlineBlockNeedsLayout&&"inline"!==lr(n.nodeName)?o.zoom=1:o.display="inline-block"));r.overflow&&(o.overflow="hidden",i.support.shrinkWrapBlocks||s.always(function(){o.overflow=r.overflow[0];o.overflowX=r.overflow[1];o.overflowY=r.overflow[2]}));for(u in t)if(a=t[u],bo.exec(a)){if(delete t[u],v=v||"toggle"===a,a===(h?"hide":"show"))continue;l[u]=f&&f[u]||i.style(n,u)}if(!i.isEmptyObject(l)){f?"hidden"in f&&(h=f.hidden):f=i._data(n,"fxshow",{});v&&(f.hidden=!h);h?i(n).show():s.done(function(){i(n).hide()});s.done(function(){var t;i._removeData(n,"fxshow");for(t in l)i.style(n,t,l[t])});for(u in l)c=br(h?f[u]:0,u,s),u in f||(f[u]=c.start,h&&(c.end=c.start,c.start="width"===u||"height"===u?1:0))}}function f(n,t,i,r,u){return new f.prototype.init(n,t,i,r,u)}function ot(n,t){var r,i={height:n},u=0;for(t=t?1:0;4>u;u+=2-t)r=p[u],i["margin"+r]=i["padding"+r]=n;return t&&(i.opacity=i.width=n),i}function dr(n){return i.isWindow(n)?n:9===n.nodeType?n.defaultView||n.parentWindow:!1}var st,gr,o=typeof t,bf=n.location,r=n.document,nu=r.documentElement,kf=n.jQuery,df=n.$,ht={},k=[],ii="1.10.2",tu=k.concat,ri=k.push,l=k.slice,iu=k.indexOf,gf=ht.toString,d=ht.hasOwnProperty,ui=ii.trim,i=function(n,t){return new i.fn.init(n,t,gr)},ct=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,s=/\S+/g,ne=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,te=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,ru=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ie=/^[\],:{}\s]*$/,re=/(?:^|:|,)(?:\s*\[)+/g,ue=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,fe=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,ee=/^-ms-/,oe=/-([\da-z])/gi,se=function(n,t){return t.toUpperCase()},h=function(n){(r.addEventListener||"load"===n.type||"complete"===r.readyState)&&(uu(),i.ready())},uu=function(){r.addEventListener?(r.removeEventListener("DOMContentLoaded",h,!1),n.removeEventListener("load",h,!1)):(r.detachEvent("onreadystatechange",h),n.detachEvent("onload",h))},fi,fu,eu,ei,lt,g,nt,ou,at;i.fn=i.prototype={jquery:ii,constructor:i,init:function(n,u,f){var e,o;if(!n)return this;if("string"==typeof n){if(e="<"===n.charAt(0)&&">"===n.charAt(n.length-1)&&n.length>=3?[null,n,null]:te.exec(n),!e||!e[1]&&u)return!u||u.jquery?(u||f).find(n):this.constructor(u).find(n);if(e[1]){if(u=u instanceof i?u[0]:u,i.merge(this,i.parseHTML(e[1],u&&u.nodeType?u.ownerDocument||u:r,!0)),ru.test(e[1])&&i.isPlainObject(u))for(e in u)i.isFunction(this[e])?this[e](u[e]):this.attr(e,u[e]);return this}if(o=r.getElementById(e[2]),o&&o.parentNode){if(o.id!==e[2])return f.find(n);this.length=1;this[0]=o}return this.context=r,this.selector=n,this}return n.nodeType?(this.context=this[0]=n,this.length=1,this):i.isFunction(n)?f.ready(n):(n.selector!==t&&(this.selector=n.selector,this.context=n.context),i.makeArray(n,this))},selector:"",length:0,toArray:function(){return l.call(this)},get:function(n){return null==n?this.toArray():0>n?this[this.length+n]:this[n]},pushStack:function(n){var t=i.merge(this.constructor(),n);return t.prevObject=this,t.context=this.context,t},each:function(n,t){return i.each(this,n,t)},ready:function(n){return i.ready.promise().done(n),this},slice:function(){return this.pushStack(l.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(n){var i=this.length,t=+n+(0>n?i:0);return this.pushStack(t>=0&&i>t?[this[t]]:[])},map:function(n){return this.pushStack(i.map(this,function(t,i){return n.call(t,i,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:ri,sort:[].sort,splice:[].splice};i.fn.init.prototype=i.fn;i.extend=i.fn.extend=function(){var u,o,r,e,s,h,n=arguments[0]||{},f=1,l=arguments.length,c=!1;for("boolean"==typeof n&&(c=n,n=arguments[1]||{},f=2),"object"==typeof n||i.isFunction(n)||(n={}),l===f&&(n=this,--f);l>f;f++)if(null!=(s=arguments[f]))for(e in s)u=n[e],r=s[e],n!==r&&(c&&r&&(i.isPlainObject(r)||(o=i.isArray(r)))?(o?(o=!1,h=u&&i.isArray(u)?u:[]):h=u&&i.isPlainObject(u)?u:{},n[e]=i.extend(c,h,r)):r!==t&&(n[e]=r));return n};i.extend({expando:"jQuery"+(ii+Math.random()).replace(/\D/g,""),noConflict:function(t){return n.$===i&&(n.$=df),t&&n.jQuery===i&&(n.jQuery=kf),i},isReady:!1,readyWait:1,holdReady:function(n){n?i.readyWait++:i.ready(!0)},ready:function(n){if(n===!0?!--i.readyWait:!i.isReady){if(!r.body)return setTimeout(i.ready);i.isReady=!0;n!==!0&&--i.readyWait>0||(st.resolveWith(r,[i]),i.fn.trigger&&i(r).trigger("ready").off("ready"))}},isFunction:function(n){return"function"===i.type(n)},isArray:Array.isArray||function(n){return"array"===i.type(n)},isWindow:function(n){return null!=n&&n==n.window},isNumeric:function(n){return!isNaN(parseFloat(n))&&isFinite(n)},type:function(n){return null==n?n+"":"object"==typeof n||"function"==typeof n?ht[gf.call(n)]||"object":typeof n},isPlainObject:function(n){var r;if(!n||"object"!==i.type(n)||n.nodeType||i.isWindow(n))return!1;try{if(n.constructor&&!d.call(n,"constructor")&&!d.call(n.constructor.prototype,"isPrototypeOf"))return!1}catch(u){return!1}if(i.support.ownLast)for(r in n)return d.call(n,r);for(r in n);return r===t||d.call(n,r)},isEmptyObject:function(n){var t;for(t in n)return!1;return!0},error:function(n){throw Error(n);},parseHTML:function(n,t,u){if(!n||"string"!=typeof n)return null;"boolean"==typeof t&&(u=t,t=!1);t=t||r;var f=ru.exec(n),e=!u&&[];return f?[t.createElement(f[1])]:(f=i.buildFragment([n],t,e),e&&i(e).remove(),i.merge([],f.childNodes))},parseJSON:function(r){return n.JSON&&n.JSON.parse?n.JSON.parse(r):null===r?r:"string"==typeof r&&(r=i.trim(r),r&&ie.test(r.replace(ue,"@").replace(fe,"]").replace(re,"")))?Function("return "+r)():(i.error("Invalid JSON: "+r),t)},parseXML:function(r){var u,f;if(!r||"string"!=typeof r)return null;try{n.DOMParser?(f=new DOMParser,u=f.parseFromString(r,"text/xml")):(u=new ActiveXObject("Microsoft.XMLDOM"),u.async="false",u.loadXML(r))}catch(e){u=t}return u&&u.documentElement&&!u.getElementsByTagName("parsererror").length||i.error("Invalid XML: "+r),u},noop:function(){},globalEval:function(t){t&&i.trim(t)&&(n.execScript||function(t){n.eval.call(n,t)})(t)},camelCase:function(n){return n.replace(ee,"ms-").replace(oe,se)},nodeName:function(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()},each:function(n,t,i){var u,r=0,f=n.length,e=bt(n);if(i){if(e){for(;f>r;r++)if(u=t.apply(n[r],i),u===!1)break}else for(r in n)if(u=t.apply(n[r],i),u===!1)break}else if(e){for(;f>r;r++)if(u=t.call(n[r],r,n[r]),u===!1)break}else for(r in n)if(u=t.call(n[r],r,n[r]),u===!1)break;return n},trim:ui&&!ui.call("﻿ ")?function(n){return null==n?"":ui.call(n)}:function(n){return null==n?"":(n+"").replace(ne,"")},makeArray:function(n,t){var r=t||[];return null!=n&&(bt(Object(n))?i.merge(r,"string"==typeof n?[n]:n):ri.call(r,n)),r},inArray:function(n,t,i){var r;if(t){if(iu)return iu.call(t,n,i);for(r=t.length,i=i?0>i?Math.max(0,r+i):i:0;r>i;i++)if(i in t&&t[i]===n)return i}return-1},merge:function(n,i){var f=i.length,u=n.length,r=0;if("number"==typeof f)for(;f>r;r++)n[u++]=i[r];else while(i[r]!==t)n[u++]=i[r++];return n.length=u,n},grep:function(n,t,i){var u,f=[],r=0,e=n.length;for(i=!!i;e>r;r++)u=!!t(n[r],r),i!==u&&f.push(n[r]);return f},map:function(n,t,i){var u,r=0,e=n.length,o=bt(n),f=[];if(o)for(;e>r;r++)u=t(n[r],r,i),null!=u&&(f[f.length]=u);else for(r in n)u=t(n[r],r,i),null!=u&&(f[f.length]=u);return tu.apply([],f)},guid:1,proxy:function(n,r){var f,u,e;return"string"==typeof r&&(e=n[r],r=n,n=e),i.isFunction(n)?(f=l.call(arguments,2),u=function(){return n.apply(r||this,f.concat(l.call(arguments)))},u.guid=n.guid=n.guid||i.guid++,u):t},access:function(n,r,u,f,e,o,s){var h=0,l=n.length,c=null==u;if("object"===i.type(u)){e=!0;for(h in u)i.access(n,r,h,u[h],!0,o,s)}else if(f!==t&&(e=!0,i.isFunction(f)||(s=!0),c&&(s?(r.call(n,f),r=null):(c=r,r=function(n,t,r){return c.call(i(n),r)})),r))for(;l>h;h++)r(n[h],u,s?f:f.call(n[h],h,r(n[h],u)));return e?n:c?r.call(n):l?r(n[0],u):o},now:function(){return+new Date},swap:function(n,t,i,r){var f,u,e={};for(u in t)e[u]=n.style[u],n.style[u]=t[u];f=i.apply(n,r||[]);for(u in t)n.style[u]=e[u];return f}});i.ready.promise=function(t){if(!st)if(st=i.Deferred(),"complete"===r.readyState)setTimeout(i.ready);else if(r.addEventListener)r.addEventListener("DOMContentLoaded",h,!1),n.addEventListener("load",h,!1);else{r.attachEvent("onreadystatechange",h);n.attachEvent("onload",h);var u=!1;try{u=null==n.frameElement&&r.documentElement}catch(e){}u&&u.doScroll&&function f(){if(!i.isReady){try{u.doScroll("left")}catch(n){return setTimeout(f,50)}uu();i.ready()}}()}return st.promise(t)};i.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(n,t){ht["[object "+t+"]"]=t.toLowerCase()});gr=i(r),function(n,t){function u(n,t,i,r){var p,u,f,l,w,a,k,c,g,d;if((t?t.ownerDocument||t:y)!==s&&tt(t),t=t||s,i=i||[],!n||"string"!=typeof n)return i;if(1!==(l=t.nodeType)&&9!==l)return[];if(v&&!r){if(p=ar.exec(n))if(f=p[1]){if(9===l){if(u=t.getElementById(f),!u||!u.parentNode)return i;if(u.id===f)return i.push(u),i}else if(t.ownerDocument&&(u=t.ownerDocument.getElementById(f))&&ot(t,u)&&u.id===f)return i.push(u),i}else{if(p[2])return b.apply(i,t.getElementsByTagName(n)),i;if((f=p[3])&&e.getElementsByClassName&&t.getElementsByClassName)return b.apply(i,t.getElementsByClassName(f)),i}if(e.qsa&&(!h||!h.test(n))){if(c=k=o,g=t,d=9===l&&n,1===l&&"object"!==t.nodeName.toLowerCase()){for(a=ht(n),(k=t.getAttribute("id"))?c=k.replace(pr,"\\$&"):t.setAttribute("id",c),c="[id='"+c+"'] ",w=a.length;w--;)a[w]=c+ct(a[w]);g=oi.test(n)&&t.parentNode||t;d=a.join(",")}if(d)try{return b.apply(i,g.querySelectorAll(d)),i}catch(nt){}finally{k||t.removeAttribute("id")}}}return ir(n.replace(wt,"$1"),t,i,r)}function kt(){function n(i,u){return t.push(i+=" ")>r.cacheLength&&delete n[t.shift()],n[i]=u}var t=[];return n}function c(n){return n[o]=!0,n}function l(n){var t=s.createElement("div");try{return!!n(t)}catch(i){return!1}finally{t.parentNode&&t.parentNode.removeChild(t);t=null}}function dt(n,t){for(var u=n.split("|"),i=n.length;i--;)r.attrHandle[u[i]]=t}function hi(n,t){var i=t&&n,r=i&&1===n.nodeType&&1===t.nodeType&&(~t.sourceIndex||pi)-(~n.sourceIndex||pi);if(r)return r;if(i)while(i=i.nextSibling)if(i===t)return-1;return n?1:-1}function di(n){return function(t){var i=t.nodeName.toLowerCase();return"input"===i&&t.type===n}}function gi(n){return function(t){var i=t.nodeName.toLowerCase();return("input"===i||"button"===i)&&t.type===n}}function g(n){return c(function(t){return t=+t,c(function(i,r){for(var u,f=n([],i.length,t),e=f.length;e--;)i[u=f[e]]&&(i[u]=!(r[u]=i[u]))})})}function ci(){}function ht(n,t){var e,f,s,o,i,h,c,l=vi[n+" "];if(l)return t?0:l.slice(0);for(i=n,h=[],c=r.preFilter;i;){(!e||(f=or.exec(i)))&&(f&&(i=i.slice(f[0].length)||i),h.push(s=[]));e=!1;(f=sr.exec(i))&&(e=f.shift(),s.push({value:e,type:f[0].replace(wt," ")}),i=i.slice(e.length));for(o in r.filter)(f=bt[o].exec(i))&&(!c[o]||(f=c[o](f)))&&(e=f.shift(),s.push({value:e,type:o,matches:f}),i=i.slice(e.length));if(!e)break}return t?i.length:i?u.error(n):vi(n,h).slice(0)}function ct(n){for(var t=0,r=n.length,i="";r>t;t++)i+=n[t].value;return i}function gt(n,t,i){var r=t.dir,u=i&&"parentNode"===r,f=rr++;return t.first?function(t,i,f){while(t=t[r])if(1===t.nodeType||u)return n(t,i,f)}:function(t,i,e){var h,s,c,l=p+" "+f;if(e){while(t=t[r])if((1===t.nodeType||u)&&n(t,i,e))return!0}else while(t=t[r])if(1===t.nodeType||u)if(c=t[o]||(t[o]={}),(s=c[r])&&s[0]===l){if((h=s[1])===!0||h===at)return h===!0}else if(s=c[r]=[l],s[1]=n(t,i,e)||at,s[1]===!0)return!0}}function ni(n){return n.length>1?function(t,i,r){for(var u=n.length;u--;)if(!n[u](t,i,r))return!1;return!0}:n[0]}function lt(n,t,i,r,u){for(var e,o=[],f=0,s=n.length,h=null!=t;s>f;f++)(e=n[f])&&(!i||i(e,r,u))&&(o.push(e),h&&t.push(f));return o}function ti(n,t,i,r,u,f){return r&&!r[o]&&(r=ti(r)),u&&!u[o]&&(u=ti(u,f)),c(function(f,e,o,s){var l,c,a,p=[],y=[],w=e.length,k=f||tr(t||"*",o.nodeType?[o]:o,[]),v=!n||!f&&t?k:lt(k,p,n,o,s),h=i?u||(f?n:w||r)?[]:e:v;if(i&&i(v,h,o,s),r)for(l=lt(h,y),r(l,[],o,s),c=l.length;c--;)(a=l[c])&&(h[y[c]]=!(v[y[c]]=a));if(f){if(u||n){if(u){for(l=[],c=h.length;c--;)(a=h[c])&&l.push(v[c]=a);u(null,h=[],l,s)}for(c=h.length;c--;)(a=h[c])&&(l=u?rt.call(f,a):p[c])>-1&&(f[l]=!(e[l]=a))}}else h=lt(h===e?h.splice(w,h.length):h),u?u(null,e,h,s):b.apply(e,h)})}function ii(n){for(var s,u,i,e=n.length,h=r.relative[n[0].type],c=h||r.relative[" "],t=h?1:0,l=gt(function(n){return n===s},c,!0),a=gt(function(n){return rt.call(s,n)>-1},c,!0),f=[function(n,t,i){return!h&&(i||t!==yt)||((s=t).nodeType?l(n,t,i):a(n,t,i))}];e>t;t++)if(u=r.relative[n[t].type])f=[gt(ni(f),u)];else{if(u=r.filter[n[t].type].apply(null,n[t].matches),u[o]){for(i=++t;e>i;i++)if(r.relative[n[i].type])break;return ti(t>1&&ni(f),t>1&&ct(n.slice(0,t-1).concat({value:" "===n[t-2].type?"*":""})).replace(wt,"$1"),u,i>t&&ii(n.slice(t,i)),e>i&&ii(n=n.slice(i)),e>i&&ct(n))}f.push(u)}return ni(f)}function nr(n,t){var f=0,i=t.length>0,e=n.length>0,o=function(o,h,c,l,a){var y,g,k,w=[],d=0,v="0",nt=o&&[],tt=null!=a,it=yt,ut=o||e&&r.find.TAG("*",a&&h.parentNode||h),rt=p+=null==it?1:Math.random()||.1;for(tt&&(yt=h!==s&&h,at=f);null!=(y=ut[v]);v++){if(e&&y){for(g=0;k=n[g++];)if(k(y,h,c)){l.push(y);break}tt&&(p=rt,at=++f)}i&&((y=!k&&y)&&d--,o&&nt.push(y))}if(d+=v,i&&v!==d){for(g=0;k=t[g++];)k(nt,w,h,c);if(o){if(d>0)while(v--)nt[v]||w[v]||(w[v]=fr.call(l));w=lt(w)}b.apply(l,w);tt&&!o&&w.length>0&&d+t.length>1&&u.uniqueSort(l)}return tt&&(p=rt,yt=it),nt};return i?c(o):o}function tr(n,t,i){for(var r=0,f=t.length;f>r;r++)u(n,t[r],i);return i}function ir(n,t,i,u){var s,f,o,c,l,h=ht(n);if(!u&&1===h.length){if(f=h[0]=h[0].slice(0),f.length>2&&"ID"===(o=f[0]).type&&e.getById&&9===t.nodeType&&v&&r.relative[f[1].type]){if(t=(r.find.ID(o.matches[0].replace(k,d),t)||[])[0],!t)return i;n=n.slice(f.shift().value.length)}for(s=bt.needsContext.test(n)?0:f.length;s--;){if(o=f[s],r.relative[c=o.type])break;if((l=r.find[c])&&(u=l(o.matches[0].replace(k,d),oi.test(f[0].type)&&t.parentNode||t))){if(f.splice(s,1),n=u.length&&ct(f),!n)return b.apply(i,u),i;break}}}return ri(n,h)(u,t,!v,i,oi.test(n)),i}var ut,e,at,r,vt,li,ri,yt,nt,tt,s,a,v,h,it,pt,ot,o="sizzle"+-new Date,y=n.document,p=0,rr=0,ai=kt(),vi=kt(),yi=kt(),ft=!1,ui=function(n,t){return n===t?(ft=!0,0):0},st=typeof t,pi=-2147483648,ur={}.hasOwnProperty,w=[],fr=w.pop,er=w.push,b=w.push,wi=w.slice,rt=w.indexOf||function(n){for(var t=0,i=this.length;i>t;t++)if(this[t]===n)return t;return-1},fi="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",f="[\\x20\\t\\r\\n\\f]",et="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",bi=et.replace("w","w#"),ki="\\["+f+"*("+et+")"+f+"*(?:([*^$|!~]?=)"+f+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+bi+")|)|)"+f+"*\\]",ei=":("+et+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+ki.replace(3,8)+")*)|.*)\\)|)",wt=RegExp("^"+f+"+|((?:^|[^\\\\])(?:\\\\.)*)"+f+"+$","g"),or=RegExp("^"+f+"*,"+f+"*"),sr=RegExp("^"+f+"*([>+~]|"+f+")"+f+"*"),oi=RegExp(f+"*[+~]"),hr=RegExp("="+f+"*([^\\]'\"]*)"+f+"*\\]","g"),cr=RegExp(ei),lr=RegExp("^"+bi+"$"),bt={ID:RegExp("^#("+et+")"),CLASS:RegExp("^\\.("+et+")"),TAG:RegExp("^("+et.replace("w","w*")+")"),ATTR:RegExp("^"+ki),PSEUDO:RegExp("^"+ei),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+f+"*(even|odd|(([+-]|)(\\d*)n|)"+f+"*(?:([+-]|)"+f+"*(\\d+)|))"+f+"*\\)|)","i"),bool:RegExp("^(?:"+fi+")$","i"),needsContext:RegExp("^"+f+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+f+"*((?:-\\d)?\\d*)"+f+"*\\)|)(?=[^-]|$)","i")},si=/^[^{]+\{\s*\[native \w/,ar=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,vr=/^(?:input|select|textarea|button)$/i,yr=/^h\d$/i,pr=/'|\\/g,k=RegExp("\\\\([\\da-f]{1,6}"+f+"?|("+f+")|.)","ig"),d=function(n,t,i){var r="0x"+t-65536;return r!==r||i?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(55296|r>>10,56320|1023&r)};try{b.apply(w=wi.call(y.childNodes),y.childNodes);w[y.childNodes.length].nodeType}catch(wr){b={apply:w.length?function(n,t){er.apply(n,wi.call(t))}:function(n,t){for(var i=n.length,r=0;n[i++]=t[r++];);n.length=i-1}}}li=u.isXML=function(n){var t=n&&(n.ownerDocument||n).documentElement;return t?"HTML"!==t.nodeName:!1};e=u.support={};tt=u.setDocument=function(n){var i=n?n.ownerDocument||n:y,u=i.defaultView;return i!==s&&9===i.nodeType&&i.documentElement?(s=i,a=i.documentElement,v=!li(i),u&&u.attachEvent&&u!==u.top&&u.attachEvent("onbeforeunload",function(){tt()}),e.attributes=l(function(n){return n.className="i",!n.getAttribute("className")}),e.getElementsByTagName=l(function(n){return n.appendChild(i.createComment("")),!n.getElementsByTagName("*").length}),e.getElementsByClassName=l(function(n){return n.innerHTML="<div class='a'><\/div><div class='a i'><\/div>",n.firstChild.className="i",2===n.getElementsByClassName("i").length}),e.getById=l(function(n){return a.appendChild(n).id=o,!i.getElementsByName||!i.getElementsByName(o).length}),e.getById?(r.find.ID=function(n,t){if(typeof t.getElementById!==st&&v){var i=t.getElementById(n);return i&&i.parentNode?[i]:[]}},r.filter.ID=function(n){var t=n.replace(k,d);return function(n){return n.getAttribute("id")===t}}):(delete r.find.ID,r.filter.ID=function(n){var t=n.replace(k,d);return function(n){var i=typeof n.getAttributeNode!==st&&n.getAttributeNode("id");return i&&i.value===t}}),r.find.TAG=e.getElementsByTagName?function(n,i){return typeof i.getElementsByTagName!==st?i.getElementsByTagName(n):t}:function(n,t){var i,r=[],f=0,u=t.getElementsByTagName(n);if("*"===n){while(i=u[f++])1===i.nodeType&&r.push(i);return r}return u},r.find.CLASS=e.getElementsByClassName&&function(n,i){return typeof i.getElementsByClassName!==st&&v?i.getElementsByClassName(n):t},it=[],h=[],(e.qsa=si.test(i.querySelectorAll))&&(l(function(n){n.innerHTML="<select><option selected=''><\/option><\/select>";n.querySelectorAll("[selected]").length||h.push("\\["+f+"*(?:value|"+fi+")");n.querySelectorAll(":checked").length||h.push(":checked")}),l(function(n){var t=i.createElement("input");t.setAttribute("type","hidden");n.appendChild(t).setAttribute("t","");n.querySelectorAll("[t^='']").length&&h.push("[*^$]="+f+"*(?:''|\"\")");n.querySelectorAll(":enabled").length||h.push(":enabled",":disabled");n.querySelectorAll("*,:x");h.push(",.*:")})),(e.matchesSelector=si.test(pt=a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&l(function(n){e.disconnectedMatch=pt.call(n,"div");pt.call(n,"[s!='']:x");it.push("!=",ei)}),h=h.length&&RegExp(h.join("|")),it=it.length&&RegExp(it.join("|")),ot=si.test(a.contains)||a.compareDocumentPosition?function(n,t){var r=9===n.nodeType?n.documentElement:n,i=t&&t.parentNode;return n===i||!(!i||1!==i.nodeType||!(r.contains?r.contains(i):n.compareDocumentPosition&&16&n.compareDocumentPosition(i)))}:function(n,t){if(t)while(t=t.parentNode)if(t===n)return!0;return!1},ui=a.compareDocumentPosition?function(n,t){if(n===t)return ft=!0,0;var r=t.compareDocumentPosition&&n.compareDocumentPosition&&n.compareDocumentPosition(t);return r?1&r||!e.sortDetached&&t.compareDocumentPosition(n)===r?n===i||ot(y,n)?-1:t===i||ot(y,t)?1:nt?rt.call(nt,n)-rt.call(nt,t):0:4&r?-1:1:n.compareDocumentPosition?-1:1}:function(n,t){var r,u=0,o=n.parentNode,s=t.parentNode,f=[n],e=[t];if(n===t)return ft=!0,0;if(!o||!s)return n===i?-1:t===i?1:o?-1:s?1:nt?rt.call(nt,n)-rt.call(nt,t):0;if(o===s)return hi(n,t);for(r=n;r=r.parentNode;)f.unshift(r);for(r=t;r=r.parentNode;)e.unshift(r);while(f[u]===e[u])u++;return u?hi(f[u],e[u]):f[u]===y?-1:e[u]===y?1:0},i):s};u.matches=function(n,t){return u(n,null,null,t)};u.matchesSelector=function(n,t){if((n.ownerDocument||n)!==s&&tt(n),t=t.replace(hr,"='$1']"),!(!e.matchesSelector||!v||it&&it.test(t)||h&&h.test(t)))try{var i=pt.call(n,t);if(i||e.disconnectedMatch||n.document&&11!==n.document.nodeType)return i}catch(r){}return u(t,s,null,[n]).length>0};u.contains=function(n,t){return(n.ownerDocument||n)!==s&&tt(n),ot(n,t)};u.attr=function(n,i){(n.ownerDocument||n)!==s&&tt(n);var f=r.attrHandle[i.toLowerCase()],u=f&&ur.call(r.attrHandle,i.toLowerCase())?f(n,i,!v):t;return u===t?e.attributes||!v?n.getAttribute(i):(u=n.getAttributeNode(i))&&u.specified?u.value:null:u};u.error=function(n){throw Error("Syntax error, unrecognized expression: "+n);};u.uniqueSort=function(n){var r,u=[],t=0,i=0;if(ft=!e.detectDuplicates,nt=!e.sortStable&&n.slice(0),n.sort(ui),ft){while(r=n[i++])r===n[i]&&(t=u.push(i));while(t--)n.splice(u[t],1)}return n};vt=u.getText=function(n){var r,i="",u=0,t=n.nodeType;if(t){if(1===t||9===t||11===t){if("string"==typeof n.textContent)return n.textContent;for(n=n.firstChild;n;n=n.nextSibling)i+=vt(n)}else if(3===t||4===t)return n.nodeValue}else for(;r=n[u];u++)i+=vt(r);return i};r=u.selectors={cacheLength:50,createPseudo:c,match:bt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(n){return n[1]=n[1].replace(k,d),n[3]=(n[4]||n[5]||"").replace(k,d),"~="===n[2]&&(n[3]=" "+n[3]+" "),n.slice(0,4)},CHILD:function(n){return n[1]=n[1].toLowerCase(),"nth"===n[1].slice(0,3)?(n[3]||u.error(n[0]),n[4]=+(n[4]?n[5]+(n[6]||1):2*("even"===n[3]||"odd"===n[3])),n[5]=+(n[7]+n[8]||"odd"===n[3])):n[3]&&u.error(n[0]),n},PSEUDO:function(n){var r,i=!n[5]&&n[2];return bt.CHILD.test(n[0])?null:(n[3]&&n[4]!==t?n[2]=n[4]:i&&cr.test(i)&&(r=ht(i,!0))&&(r=i.indexOf(")",i.length-r)-i.length)&&(n[0]=n[0].slice(0,r),n[2]=i.slice(0,r)),n.slice(0,3))}},filter:{TAG:function(n){var t=n.replace(k,d).toLowerCase();return"*"===n?function(){return!0}:function(n){return n.nodeName&&n.nodeName.toLowerCase()===t}},CLASS:function(n){var t=ai[n+" "];return t||(t=RegExp("(^|"+f+")"+n+"("+f+"|$)"))&&ai(n,function(n){return t.test("string"==typeof n.className&&n.className||typeof n.getAttribute!==st&&n.getAttribute("class")||"")})},ATTR:function(n,t,i){return function(r){var f=u.attr(r,n);return null==f?"!="===t:t?(f+="","="===t?f===i:"!="===t?f!==i:"^="===t?i&&0===f.indexOf(i):"*="===t?i&&f.indexOf(i)>-1:"$="===t?i&&f.slice(-i.length)===i:"~="===t?(" "+f+" ").indexOf(i)>-1:"|="===t?f===i||f.slice(0,i.length+1)===i+"-":!1):!0}},CHILD:function(n,t,i,r,u){var s="nth"!==n.slice(0,3),e="last"!==n.slice(-4),f="of-type"===t;return 1===r&&0===u?function(n){return!!n.parentNode}:function(t,i,h){var a,k,c,l,v,w,b=s!==e?"nextSibling":"previousSibling",y=t.parentNode,g=f&&t.nodeName.toLowerCase(),d=!h&&!f;if(y){if(s){while(b){for(c=t;c=c[b];)if(f?c.nodeName.toLowerCase()===g:1===c.nodeType)return!1;w=b="only"===n&&!w&&"nextSibling"}return!0}if(w=[e?y.firstChild:y.lastChild],e&&d){for(k=y[o]||(y[o]={}),a=k[n]||[],v=a[0]===p&&a[1],l=a[0]===p&&a[2],c=v&&y.childNodes[v];c=++v&&c&&c[b]||(l=v=0)||w.pop();)if(1===c.nodeType&&++l&&c===t){k[n]=[p,v,l];break}}else if(d&&(a=(t[o]||(t[o]={}))[n])&&a[0]===p)l=a[1];else while(c=++v&&c&&c[b]||(l=v=0)||w.pop())if((f?c.nodeName.toLowerCase()===g:1===c.nodeType)&&++l&&(d&&((c[o]||(c[o]={}))[n]=[p,l]),c===t))break;return l-=u,l===r||0==l%r&&l/r>=0}}},PSEUDO:function(n,t){var f,i=r.pseudos[n]||r.setFilters[n.toLowerCase()]||u.error("unsupported pseudo: "+n);return i[o]?i(t):i.length>1?(f=[n,n,"",t],r.setFilters.hasOwnProperty(n.toLowerCase())?c(function(n,r){for(var u,f=i(n,t),e=f.length;e--;)u=rt.call(n,f[e]),n[u]=!(r[u]=f[e])}):function(n){return i(n,0,f)}):i}},pseudos:{not:c(function(n){var i=[],r=[],t=ri(n.replace(wt,"$1"));return t[o]?c(function(n,i,r,u){for(var e,o=t(n,null,u,[]),f=n.length;f--;)(e=o[f])&&(n[f]=!(i[f]=e))}):function(n,u,f){return i[0]=n,t(i,null,f,r),!r.pop()}}),has:c(function(n){return function(t){return u(n,t).length>0}}),contains:c(function(n){return function(t){return(t.textContent||t.innerText||vt(t)).indexOf(n)>-1}}),lang:c(function(n){return lr.test(n||"")||u.error("unsupported lang: "+n),n=n.replace(k,d).toLowerCase(),function(t){var i;do if(i=v?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return i=i.toLowerCase(),i===n||0===i.indexOf(n+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var i=n.location&&n.location.hash;return i&&i.slice(1)===t.id},root:function(n){return n===a},focus:function(n){return n===s.activeElement&&(!s.hasFocus||s.hasFocus())&&!!(n.type||n.href||~n.tabIndex)},enabled:function(n){return n.disabled===!1},disabled:function(n){return n.disabled===!0},checked:function(n){var t=n.nodeName.toLowerCase();return"input"===t&&!!n.checked||"option"===t&&!!n.selected},selected:function(n){return n.parentNode&&n.parentNode.selectedIndex,n.selected===!0},empty:function(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeName>"@"||3===n.nodeType||4===n.nodeType)return!1;return!0},parent:function(n){return!r.pseudos.empty(n)},header:function(n){return yr.test(n.nodeName)},input:function(n){return vr.test(n.nodeName)},button:function(n){var t=n.nodeName.toLowerCase();return"input"===t&&"button"===n.type||"button"===t},text:function(n){var t;return"input"===n.nodeName.toLowerCase()&&"text"===n.type&&(null==(t=n.getAttribute("type"))||t.toLowerCase()===n.type)},first:g(function(){return[0]}),last:g(function(n,t){return[t-1]}),eq:g(function(n,t,i){return[0>i?i+t:i]}),even:g(function(n,t){for(var i=0;t>i;i+=2)n.push(i);return n}),odd:g(function(n,t){for(var i=1;t>i;i+=2)n.push(i);return n}),lt:g(function(n,t,i){for(var r=0>i?i+t:i;--r>=0;)n.push(r);return n}),gt:g(function(n,t,i){for(var r=0>i?i+t:i;t>++r;)n.push(r);return n})}};r.pseudos.nth=r.pseudos.eq;for(ut in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[ut]=di(ut);for(ut in{submit:!0,reset:!0})r.pseudos[ut]=gi(ut);ci.prototype=r.filters=r.pseudos;r.setFilters=new ci;ri=u.compile=function(n,t){var r,u=[],f=[],i=yi[n+" "];if(!i){for(t||(t=ht(n)),r=t.length;r--;)i=ii(t[r]),i[o]?u.push(i):f.push(i);i=yi(n,nr(f,u))}return i};e.sortStable=o.split("").sort(ui).join("")===o;e.detectDuplicates=ft;tt();e.sortDetached=l(function(n){return 1&n.compareDocumentPosition(s.createElement("div"))});l(function(n){return n.innerHTML="<a href='#'><\/a>","#"===n.firstChild.getAttribute("href")})||dt("type|href|height|width",function(n,i,r){return r?t:n.getAttribute(i,"type"===i.toLowerCase()?1:2)});e.attributes&&l(function(n){return n.innerHTML="<input/>",n.firstChild.setAttribute("value",""),""===n.firstChild.getAttribute("value")})||dt("value",function(n,i,r){return r||"input"!==n.nodeName.toLowerCase()?t:n.defaultValue});l(function(n){return null==n.getAttribute("disabled")})||dt(fi,function(n,i,r){var u;return r?t:(u=n.getAttributeNode(i))&&u.specified?u.value:n[i]===!0?i.toLowerCase():null});i.find=u;i.expr=u.selectors;i.expr[":"]=i.expr.pseudos;i.unique=u.uniqueSort;i.text=u.getText;i.isXMLDoc=u.isXML;i.contains=u.contains}(n);fi={};i.Callbacks=function(n){n="string"==typeof n?fi[n]||hf(n):i.extend({},n);var s,f,c,e,o,l,r=[],u=!n.once&&[],a=function(t){for(f=n.memory&&t,c=!0,o=l||0,l=0,e=r.length,s=!0;r&&e>o;o++)if(r[o].apply(t[0],t[1])===!1&&n.stopOnFalse){f=!1;break}s=!1;r&&(u?u.length&&a(u.shift()):f?r=[]:h.disable())},h={add:function(){if(r){var t=r.length;(function u(t){i.each(t,function(t,f){var e=i.type(f);"function"===e?n.unique&&h.has(f)||r.push(f):f&&f.length&&"string"!==e&&u(f)})})(arguments);s?e=r.length:f&&(l=t,a(f))}return this},remove:function(){return r&&i.each(arguments,function(n,t){for(var u;(u=i.inArray(t,r,u))>-1;)r.splice(u,1),s&&(e>=u&&e--,o>=u&&o--)}),this},has:function(n){return n?i.inArray(n,r)>-1:!(!r||!r.length)},empty:function(){return r=[],e=0,this},disable:function(){return r=u=f=t,this},disabled:function(){return!r},lock:function(){return u=t,f||h.disable(),this},locked:function(){return!u},fireWith:function(n,t){return!r||c&&!u||(t=t||[],t=[n,t.slice?t.slice():t],s?u.push(t):a(t)),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!c}};return h};i.extend({Deferred:function(n){var u=[["resolve","done",i.Callbacks("once memory"),"resolved"],["reject","fail",i.Callbacks("once memory"),"rejected"],["notify","progress",i.Callbacks("memory")]],f="pending",r={state:function(){return f},always:function(){return t.done(arguments).fail(arguments),this},then:function(){var n=arguments;return i.Deferred(function(f){i.each(u,function(u,e){var s=e[0],o=i.isFunction(n[u])&&n[u];t[e[1]](function(){var n=o&&o.apply(this,arguments);n&&i.isFunction(n.promise)?n.promise().done(f.resolve).fail(f.reject).progress(f.notify):f[s+"With"](this===r?f.promise():this,o?[n]:arguments)})});n=null}).promise()},promise:function(n){return null!=n?i.extend(n,r):r}},t={};return r.pipe=r.then,i.each(u,function(n,i){var e=i[2],o=i[3];r[i[1]]=e.add;o&&e.add(function(){f=o},u[1^n][2].disable,u[2][2].lock);t[i[0]]=function(){return t[i[0]+"With"](this===t?r:this,arguments),this};t[i[0]+"With"]=e.fireWith}),r.promise(t),n&&n.call(t,t),t},when:function(n){var t=0,u=l.call(arguments),r=u.length,e=1!==r||n&&i.isFunction(n.promise)?r:0,f=1===e?n:i.Deferred(),h=function(n,t,i){return function(r){t[n]=this;i[n]=arguments.length>1?l.call(arguments):r;i===o?f.notifyWith(t,i):--e||f.resolveWith(t,i)}},o,c,s;if(r>1)for(o=Array(r),c=Array(r),s=Array(r);r>t;t++)u[t]&&i.isFunction(u[t].promise)?u[t].promise().done(h(t,s,u)).fail(f.reject).progress(h(t,c,o)):--e;return e||f.resolveWith(s,u),f.promise()}});i.support=function(t){var a,e,f,h,c,l,v,y,s,u=r.createElement("div");if(u.setAttribute("className","t"),u.innerHTML="  <link/><table><\/table><a href='/a'>a<\/a><input type='checkbox'/>",a=u.getElementsByTagName("*")||[],e=u.getElementsByTagName("a")[0],!e||!e.style||!a.length)return t;h=r.createElement("select");l=h.appendChild(r.createElement("option"));f=u.getElementsByTagName("input")[0];e.style.cssText="top:1px;float:left;opacity:.5";t.getSetAttribute="t"!==u.className;t.leadingWhitespace=3===u.firstChild.nodeType;t.tbody=!u.getElementsByTagName("tbody").length;t.htmlSerialize=!!u.getElementsByTagName("link").length;t.style=/top/.test(e.getAttribute("style"));t.hrefNormalized="/a"===e.getAttribute("href");t.opacity=/^0.5/.test(e.style.opacity);t.cssFloat=!!e.style.cssFloat;t.checkOn=!!f.value;t.optSelected=l.selected;t.enctype=!!r.createElement("form").enctype;t.html5Clone="<:nav><\/:nav>"!==r.createElement("nav").cloneNode(!0).outerHTML;t.inlineBlockNeedsLayout=!1;t.shrinkWrapBlocks=!1;t.pixelPosition=!1;t.deleteExpando=!0;t.noCloneEvent=!0;t.reliableMarginRight=!0;t.boxSizingReliable=!0;f.checked=!0;t.noCloneChecked=f.cloneNode(!0).checked;h.disabled=!0;t.optDisabled=!l.disabled;try{delete u.test}catch(p){t.deleteExpando=!1}f=r.createElement("input");f.setAttribute("value","");t.input=""===f.getAttribute("value");f.value="t";f.setAttribute("type","radio");t.radioValue="t"===f.value;f.setAttribute("checked","t");f.setAttribute("name","t");c=r.createDocumentFragment();c.appendChild(f);t.appendChecked=f.checked;t.checkClone=c.cloneNode(!0).cloneNode(!0).lastChild.checked;u.attachEvent&&(u.attachEvent("onclick",function(){t.noCloneEvent=!1}),u.cloneNode(!0).click());for(s in{submit:!0,change:!0,focusin:!0})u.setAttribute(v="on"+s,"t"),t[s+"Bubbles"]=v in n||u.attributes[v].expando===!1;u.style.backgroundClip="content-box";u.cloneNode(!0).style.backgroundClip="";t.clearCloneStyle="content-box"===u.style.backgroundClip;for(s in i(t))break;return t.ownLast="0"!==s,i(function(){var h,e,f,c="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",s=r.getElementsByTagName("body")[0];s&&(h=r.createElement("div"),h.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",s.appendChild(h).appendChild(u),u.innerHTML="<table><tr><td><\/td><td>t<\/td><\/tr><\/table>",f=u.getElementsByTagName("td"),f[0].style.cssText="padding:0;margin:0;border:0;display:none",y=0===f[0].offsetHeight,f[0].style.display="",f[1].style.display="none",t.reliableHiddenOffsets=y&&0===f[0].offsetHeight,u.innerHTML="",u.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",i.swap(s,null!=s.style.zoom?{zoom:1}:{},function(){t.boxSizing=4===u.offsetWidth}),n.getComputedStyle&&(t.pixelPosition="1%"!==(n.getComputedStyle(u,null)||{}).top,t.boxSizingReliable="4px"===(n.getComputedStyle(u,null)||{width:"4px"}).width,e=u.appendChild(r.createElement("div")),e.style.cssText=u.style.cssText=c,e.style.marginRight=e.style.width="0",u.style.width="1px",t.reliableMarginRight=!parseFloat((n.getComputedStyle(e,null)||{}).marginRight)),typeof u.style.zoom!==o&&(u.innerHTML="",u.style.cssText=c+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===u.offsetWidth,u.style.display="block",u.innerHTML="<div><\/div>",u.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==u.offsetWidth,t.inlineBlockNeedsLayout&&(s.style.zoom=1)),s.removeChild(h),h=u=f=e=null)}),a=h=c=l=e=f=null,t}({});fu=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/;eu=/([A-Z])/g;i.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(n){return n=n.nodeType?i.cache[n[i.expando]]:n[i.expando],!!n&&!kt(n)},data:function(n,t,i){return bi(n,t,i)},removeData:function(n,t){return ki(n,t)},_data:function(n,t,i){return bi(n,t,i,!0)},_removeData:function(n,t){return ki(n,t,!0)},acceptData:function(n){if(n.nodeType&&1!==n.nodeType&&9!==n.nodeType)return!1;var t=n.nodeName&&i.noData[n.nodeName.toLowerCase()];return!t||t!==!0&&n.getAttribute("classid")===t}});i.fn.extend({data:function(n,r){var e,f,o=null,s=0,u=this[0];if(n===t){if(this.length&&(o=i.data(u),1===u.nodeType&&!i._data(u,"parsedAttrs"))){for(e=u.attributes;e.length>s;s++)f=e[s].name,0===f.indexOf("data-")&&(f=i.camelCase(f.slice(5)),di(u,f,o[f]));i._data(u,"parsedAttrs",!0)}return o}return"object"==typeof n?this.each(function(){i.data(this,n)}):arguments.length>1?this.each(function(){i.data(this,n,r)}):u?di(u,n,i.data(u,n)):null},removeData:function(n){return this.each(function(){i.removeData(this,n)})}});i.extend({queue:function(n,r,u){var f;return n?(r=(r||"fx")+"queue",f=i._data(n,r),u&&(!f||i.isArray(u)?f=i._data(n,r,i.makeArray(u)):f.push(u)),f||[]):t},dequeue:function(n,t){t=t||"fx";var r=i.queue(n,t),e=r.length,u=r.shift(),f=i._queueHooks(n,t),o=function(){i.dequeue(n,t)};"inprogress"===u&&(u=r.shift(),e--);u&&("fx"===t&&r.unshift("inprogress"),delete f.stop,u.call(n,o,f));!e&&f&&f.empty.fire()},_queueHooks:function(n,t){var r=t+"queueHooks";return i._data(n,r)||i._data(n,r,{empty:i.Callbacks("once memory").add(function(){i._removeData(n,t+"queue");i._removeData(n,r)})})}});i.fn.extend({queue:function(n,r){var u=2;return"string"!=typeof n&&(r=n,n="fx",u--),u>arguments.length?i.queue(this[0],n):r===t?this:this.each(function(){var t=i.queue(this,n,r);i._queueHooks(this,n);"fx"===n&&"inprogress"!==t[0]&&i.dequeue(this,n)})},dequeue:function(n){return this.each(function(){i.dequeue(this,n)})},delay:function(n,t){return n=i.fx?i.fx.speeds[n]||n:n,t=t||"fx",this.queue(t,function(t,i){var r=setTimeout(t,n);i.stop=function(){clearTimeout(r)}})},clearQueue:function(n){return this.queue(n||"fx",[])},promise:function(n,r){var u,e=1,o=i.Deferred(),f=this,s=this.length,h=function(){--e||o.resolveWith(f,[f])};for("string"!=typeof n&&(r=n,n=t),n=n||"fx";s--;)u=i._data(f[s],n+"queueHooks"),u&&u.empty&&(e++,u.empty.add(h));return h(),o.promise(r)}});var tt,su,oi=/[\t\r\n\f]/g,he=/\r/g,ce=/^(?:input|select|textarea|button|object)$/i,le=/^(?:a|area)$/i,si=/^(?:checked|selected)$/i,a=i.support.getSetAttribute,vt=i.support.input;i.fn.extend({attr:function(n,t){return i.access(this,i.attr,n,t,arguments.length>1)},removeAttr:function(n){return this.each(function(){i.removeAttr(this,n)})},prop:function(n,t){return i.access(this,i.prop,n,t,arguments.length>1)},removeProp:function(n){return n=i.propFix[n]||n,this.each(function(){try{this[n]=t;delete this[n]}catch(i){}})},addClass:function(n){var e,t,r,u,o,f=0,h=this.length,c="string"==typeof n&&n;if(i.isFunction(n))return this.each(function(t){i(this).addClass(n.call(this,t,this.className))});if(c)for(e=(n||"").match(s)||[];h>f;f++)if(t=this[f],r=1===t.nodeType&&(t.className?(" "+t.className+" ").replace(oi," "):" ")){for(o=0;u=e[o++];)0>r.indexOf(" "+u+" ")&&(r+=u+" ");t.className=i.trim(r)}return this},removeClass:function(n){var e,t,r,u,o,f=0,h=this.length,c=0===arguments.length||"string"==typeof n&&n;if(i.isFunction(n))return this.each(function(t){i(this).removeClass(n.call(this,t,this.className))});if(c)for(e=(n||"").match(s)||[];h>f;f++)if(t=this[f],r=1===t.nodeType&&(t.className?(" "+t.className+" ").replace(oi," "):"")){for(o=0;u=e[o++];)while(r.indexOf(" "+u+" ")>=0)r=r.replace(" "+u+" "," ");t.className=n?i.trim(r):""}return this},toggleClass:function(n,t){var r=typeof n;return"boolean"==typeof t&&"string"===r?t?this.addClass(n):this.removeClass(n):i.isFunction(n)?this.each(function(r){i(this).toggleClass(n.call(this,r,this.className,t),t)}):this.each(function(){if("string"===r)for(var t,f=0,u=i(this),e=n.match(s)||[];t=e[f++];)u.hasClass(t)?u.removeClass(t):u.addClass(t);else(r===o||"boolean"===r)&&(this.className&&i._data(this,"__className__",this.className),this.className=this.className||n===!1?"":i._data(this,"__className__")||"")})},hasClass:function(n){for(var i=" "+n+" ",t=0,r=this.length;r>t;t++)if(1===this[t].nodeType&&(" "+this[t].className+" ").replace(oi," ").indexOf(i)>=0)return!0;return!1},val:function(n){var u,r,e,f=this[0];return arguments.length?(e=i.isFunction(n),this.each(function(u){var f;1===this.nodeType&&(f=e?n.call(this,u,i(this).val()):n,null==f?f="":"number"==typeof f?f+="":i.isArray(f)&&(f=i.map(f,function(n){return null==n?"":n+""})),r=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()],r&&"set"in r&&r.set(this,f,"value")!==t||(this.value=f))})):f?(r=i.valHooks[f.type]||i.valHooks[f.nodeName.toLowerCase()],r&&"get"in r&&(u=r.get(f,"value"))!==t?u:(u=f.value,"string"==typeof u?u.replace(he,""):null==u?"":u)):void 0}});i.extend({valHooks:{option:{get:function(n){var t=i.find.attr(n,"value");return null!=t?t:n.text}},select:{get:function(n){for(var e,t,o=n.options,r=n.selectedIndex,u="select-one"===n.type||0>r,s=u?null:[],h=u?r+1:o.length,f=0>r?h:u?r:0;h>f;f++)if(t=o[f],!(!t.selected&&f!==r||(i.support.optDisabled?t.disabled:null!==t.getAttribute("disabled"))||t.parentNode.disabled&&i.nodeName(t.parentNode,"optgroup"))){if(e=i(t).val(),u)return e;s.push(e)}return s},set:function(n,t){for(var u,r,f=n.options,e=i.makeArray(t),o=f.length;o--;)r=f[o],(r.selected=i.inArray(i(r).val(),e)>=0)&&(u=!0);return u||(n.selectedIndex=-1),e}}},attr:function(n,r,u){var f,e,s=n.nodeType;if(n&&3!==s&&8!==s&&2!==s)return typeof n.getAttribute===o?i.prop(n,r,u):(1===s&&i.isXMLDoc(n)||(r=r.toLowerCase(),f=i.attrHooks[r]||(i.expr.match.bool.test(r)?su:tt)),u===t?f&&"get"in f&&null!==(e=f.get(n,r))?e:(e=i.find.attr(n,r),null==e?t:e):null!==u?f&&"set"in f&&(e=f.set(n,u,r))!==t?e:(n.setAttribute(r,u+""),u):(i.removeAttr(n,r),t))},removeAttr:function(n,t){var r,u,e=0,f=t&&t.match(s);if(f&&1===n.nodeType)while(r=f[e++])u=i.propFix[r]||r,i.expr.match.bool.test(r)?vt&&a||!si.test(r)?n[u]=!1:n[i.camelCase("default-"+r)]=n[u]=!1:i.attr(n,r,""),n.removeAttribute(a?r:u)},attrHooks:{type:{set:function(n,t){if(!i.support.radioValue&&"radio"===t&&i.nodeName(n,"input")){var r=n.value;return n.setAttribute("type",t),r&&(n.value=r),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(n,r,u){var e,f,s,o=n.nodeType;if(n&&3!==o&&8!==o&&2!==o)return s=1!==o||!i.isXMLDoc(n),s&&(r=i.propFix[r]||r,f=i.propHooks[r]),u!==t?f&&"set"in f&&(e=f.set(n,u,r))!==t?e:n[r]=u:f&&"get"in f&&null!==(e=f.get(n,r))?e:n[r]},propHooks:{tabIndex:{get:function(n){var t=i.find.attr(n,"tabindex");return t?parseInt(t,10):ce.test(n.nodeName)||le.test(n.nodeName)&&n.href?0:-1}}}});su={set:function(n,t,r){return t===!1?i.removeAttr(n,r):vt&&a||!si.test(r)?n.setAttribute(!a&&i.propFix[r]||r,r):n[i.camelCase("default-"+r)]=n[r]=!0,r}};i.each(i.expr.match.bool.source.match(/\w+/g),function(n,r){var u=i.expr.attrHandle[r]||i.find.attr;i.expr.attrHandle[r]=vt&&a||!si.test(r)?function(n,r,f){var e=i.expr.attrHandle[r],o=f?t:(i.expr.attrHandle[r]=t)!=u(n,r,f)?r.toLowerCase():null;return i.expr.attrHandle[r]=e,o}:function(n,r,u){return u?t:n[i.camelCase("default-"+r)]?r.toLowerCase():null}});vt&&a||(i.attrHooks.value={set:function(n,r,u){return i.nodeName(n,"input")?(n.defaultValue=r,t):tt&&tt.set(n,r,u)}});a||(tt={set:function(n,i,r){var u=n.getAttributeNode(r);return u||n.setAttributeNode(u=n.ownerDocument.createAttribute(r)),u.value=i+="","value"===r||i===n.getAttribute(r)?i:t}},i.expr.attrHandle.id=i.expr.attrHandle.name=i.expr.attrHandle.coords=function(n,i,r){var u;return r?t:(u=n.getAttributeNode(i))&&""!==u.value?u.value:null},i.valHooks.button={get:function(n,i){var r=n.getAttributeNode(i);return r&&r.specified?r.value:t},set:tt.set},i.attrHooks.contenteditable={set:function(n,t,i){tt.set(n,""===t?!1:t,i)}},i.each(["width","height"],function(n,r){i.attrHooks[r]={set:function(n,i){return""===i?(n.setAttribute(r,"auto"),i):t}}}));i.support.hrefNormalized||i.each(["href","src"],function(n,t){i.propHooks[t]={get:function(n){return n.getAttribute(t,4)}}});i.support.style||(i.attrHooks.style={get:function(n){return n.style.cssText||t},set:function(n,t){return n.style.cssText=t+""}});i.support.optSelected||(i.propHooks.selected={get:function(n){var t=n.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}});i.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){i.propFix[this.toLowerCase()]=this});i.support.enctype||(i.propFix.enctype="encoding");i.each(["radio","checkbox"],function(){i.valHooks[this]={set:function(n,r){return i.isArray(r)?n.checked=i.inArray(i(n).val(),r)>=0:t}};i.support.checkOn||(i.valHooks[this].get=function(n){return null===n.getAttribute("value")?"on":n.value})});var hi=/^(?:input|select|textarea)$/i,ae=/^key/,ve=/^(?:mouse|contextmenu)|click/,hu=/^(?:focusinfocus|focusoutblur)$/,cu=/^([^.]*)(?:\.(.+)|)$/;i.event={global:{},add:function(n,r,u,f,e){var b,p,k,w,c,l,a,v,h,d,g,y=i._data(n);if(y){for(u.handler&&(w=u,u=w.handler,e=w.selector),u.guid||(u.guid=i.guid++),(p=y.events)||(p=y.events={}),(l=y.handle)||(l=y.handle=function(n){return typeof i===o||n&&i.event.triggered===n.type?t:i.event.dispatch.apply(l.elem,arguments)},l.elem=n),r=(r||"").match(s)||[""],k=r.length;k--;)b=cu.exec(r[k])||[],h=g=b[1],d=(b[2]||"").split(".").sort(),h&&(c=i.event.special[h]||{},h=(e?c.delegateType:c.bindType)||h,c=i.event.special[h]||{},a=i.extend({type:h,origType:g,data:f,handler:u,guid:u.guid,selector:e,needsContext:e&&i.expr.match.needsContext.test(e),namespace:d.join(".")},w),(v=p[h])||(v=p[h]=[],v.delegateCount=0,c.setup&&c.setup.call(n,f,d,l)!==!1||(n.addEventListener?n.addEventListener(h,l,!1):n.attachEvent&&n.attachEvent("on"+h,l))),c.add&&(c.add.call(n,a),a.handler.guid||(a.handler.guid=u.guid)),e?v.splice(v.delegateCount++,0,a):v.push(a),i.event.global[h]=!0);n=null}},remove:function(n,t,r,u,f){var y,o,h,b,p,a,c,l,e,w,k,v=i.hasData(n)&&i._data(n);if(v&&(a=v.events)){for(t=(t||"").match(s)||[""],p=t.length;p--;)if(h=cu.exec(t[p])||[],e=k=h[1],w=(h[2]||"").split(".").sort(),e){for(c=i.event.special[e]||{},e=(u?c.delegateType:c.bindType)||e,l=a[e]||[],h=h[2]&&RegExp("(^|\\.)"+w.join("\\.(?:.*\\.|)")+"(\\.|$)"),b=y=l.length;y--;)o=l[y],!f&&k!==o.origType||r&&r.guid!==o.guid||h&&!h.test(o.namespace)||u&&u!==o.selector&&("**"!==u||!o.selector)||(l.splice(y,1),o.selector&&l.delegateCount--,c.remove&&c.remove.call(n,o));b&&!l.length&&(c.teardown&&c.teardown.call(n,w,v.handle)!==!1||i.removeEvent(n,e,v.handle),delete a[e])}else for(e in a)i.event.remove(n,e+t[p],r,u,!0);i.isEmptyObject(a)&&(delete v.handle,i._removeData(n,"events"))}},trigger:function(u,f,e,o){var a,v,s,w,l,c,b,p=[e||r],h=d.call(u,"type")?u.type:u,y=d.call(u,"namespace")?u.namespace.split("."):[];if(s=c=e=e||r,3!==e.nodeType&&8!==e.nodeType&&!hu.test(h+i.event.triggered)&&(h.indexOf(".")>=0&&(y=h.split("."),h=y.shift(),y.sort()),v=0>h.indexOf(":")&&"on"+h,u=u[i.expando]?u:new i.Event(h,"object"==typeof u&&u),u.isTrigger=o?2:3,u.namespace=y.join("."),u.namespace_re=u.namespace?RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,u.result=t,u.target||(u.target=e),f=null==f?[u]:i.makeArray(f,[u]),l=i.event.special[h]||{},o||!l.trigger||l.trigger.apply(e,f)!==!1)){if(!o&&!l.noBubble&&!i.isWindow(e)){for(w=l.delegateType||h,hu.test(w+h)||(s=s.parentNode);s;s=s.parentNode)p.push(s),c=s;c===(e.ownerDocument||r)&&p.push(c.defaultView||c.parentWindow||n)}for(b=0;(s=p[b++])&&!u.isPropagationStopped();)u.type=b>1?w:l.bindType||h,a=(i._data(s,"events")||{})[u.type]&&i._data(s,"handle"),a&&a.apply(s,f),a=v&&s[v],a&&i.acceptData(s)&&a.apply&&a.apply(s,f)===!1&&u.preventDefault();if(u.type=h,!o&&!u.isDefaultPrevented()&&(!l._default||l._default.apply(p.pop(),f)===!1)&&i.acceptData(e)&&v&&e[h]&&!i.isWindow(e)){c=e[v];c&&(e[v]=null);i.event.triggered=h;try{e[h]()}catch(k){}i.event.triggered=t;c&&(e[v]=c)}return u.result}},dispatch:function(n){n=i.event.fix(n);var o,e,r,u,s,h=[],c=l.call(arguments),a=(i._data(this,"events")||{})[n.type]||[],f=i.event.special[n.type]||{};if(c[0]=n,n.delegateTarget=this,!f.preDispatch||f.preDispatch.call(this,n)!==!1){for(h=i.event.handlers.call(this,n,a),o=0;(u=h[o++])&&!n.isPropagationStopped();)for(n.currentTarget=u.elem,s=0;(r=u.handlers[s++])&&!n.isImmediatePropagationStopped();)(!n.namespace_re||n.namespace_re.test(r.namespace))&&(n.handleObj=r,n.data=r.data,e=((i.event.special[r.origType]||{}).handle||r.handler).apply(u.elem,c),e!==t&&(n.result=e)===!1&&(n.preventDefault(),n.stopPropagation()));return f.postDispatch&&f.postDispatch.call(this,n),n.result}},handlers:function(n,r){var e,o,f,s,c=[],h=r.delegateCount,u=n.target;if(h&&u.nodeType&&(!n.button||"click"!==n.type))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==n.type)){for(f=[],s=0;h>s;s++)o=r[s],e=o.selector+" ",f[e]===t&&(f[e]=o.needsContext?i(e,this).index(u)>=0:i.find(e,this,null,[u]).length),f[e]&&f.push(o);f.length&&c.push({elem:u,handlers:f})}return r.length>h&&c.push({elem:this,handlers:r.slice(h)}),c},fix:function(n){if(n[i.expando])return n;var e,o,s,u=n.type,f=n,t=this.fixHooks[u];for(t||(this.fixHooks[u]=t=ve.test(u)?this.mouseHooks:ae.test(u)?this.keyHooks:{}),s=t.props?this.props.concat(t.props):this.props,n=new i.Event(f),e=s.length;e--;)o=s[e],n[o]=f[o];return n.target||(n.target=f.srcElement||r),3===n.target.nodeType&&(n.target=n.target.parentNode),n.metaKey=!!n.metaKey,t.filter?t.filter(n,f):n},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(n,t){return null==n.which&&(n.which=null!=t.charCode?t.charCode:t.keyCode),n}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(n,i){var u,o,f,e=i.button,s=i.fromElement;return null==n.pageX&&null!=i.clientX&&(o=n.target.ownerDocument||r,f=o.documentElement,u=o.body,n.pageX=i.clientX+(f&&f.scrollLeft||u&&u.scrollLeft||0)-(f&&f.clientLeft||u&&u.clientLeft||0),n.pageY=i.clientY+(f&&f.scrollTop||u&&u.scrollTop||0)-(f&&f.clientTop||u&&u.clientTop||0)),!n.relatedTarget&&s&&(n.relatedTarget=s===n.target?i.toElement:s),n.which||e===t||(n.which=1&e?1:2&e?3:4&e?2:0),n}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==gi()&&this.focus)try{return this.focus(),!1}catch(n){}},delegateType:"focusin"},blur:{trigger:function(){return this===gi()&&this.blur?(this.blur(),!1):t},delegateType:"focusout"},click:{trigger:function(){return i.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):t},_default:function(n){return i.nodeName(n.target,"a")}},beforeunload:{postDispatch:function(n){n.result!==t&&(n.originalEvent.returnValue=n.result)}}},simulate:function(n,t,r,u){var f=i.extend(new i.Event,r,{type:n,isSimulated:!0,originalEvent:{}});u?i.event.trigger(f,null,t):i.event.dispatch.call(t,f);f.isDefaultPrevented()&&r.preventDefault()}};i.removeEvent=r.removeEventListener?function(n,t,i){n.removeEventListener&&n.removeEventListener(t,i,!1)}:function(n,t,i){var r="on"+t;n.detachEvent&&(typeof n[r]===o&&(n[r]=null),n.detachEvent(r,i))};i.Event=function(n,r){return this instanceof i.Event?(n&&n.type?(this.originalEvent=n,this.type=n.type,this.isDefaultPrevented=n.defaultPrevented||n.returnValue===!1||n.getPreventDefault&&n.getPreventDefault()?et:b):this.type=n,r&&i.extend(this,r),this.timeStamp=n&&n.timeStamp||i.now(),this[i.expando]=!0,t):new i.Event(n,r)};i.Event.prototype={isDefaultPrevented:b,isPropagationStopped:b,isImmediatePropagationStopped:b,preventDefault:function(){var n=this.originalEvent;this.isDefaultPrevented=et;n&&(n.preventDefault?n.preventDefault():n.returnValue=!1)},stopPropagation:function(){var n=this.originalEvent;this.isPropagationStopped=et;n&&(n.stopPropagation&&n.stopPropagation(),n.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=et;this.stopPropagation()}};i.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(n,t){i.event.special[n]={delegateType:t,bindType:t,handle:function(n){var u,f=this,r=n.relatedTarget,e=n.handleObj;return(!r||r!==f&&!i.contains(f,r))&&(n.type=e.origType,u=e.handler.apply(this,arguments),n.type=t),u}}});i.support.submitBubbles||(i.event.special.submit={setup:function(){return i.nodeName(this,"form")?!1:(i.event.add(this,"click._submit keypress._submit",function(n){var u=n.target,r=i.nodeName(u,"input")||i.nodeName(u,"button")?u.form:t;r&&!i._data(r,"submitBubbles")&&(i.event.add(r,"submit._submit",function(n){n._submit_bubble=!0}),i._data(r,"submitBubbles",!0))}),t)},postDispatch:function(n){n._submit_bubble&&(delete n._submit_bubble,this.parentNode&&!n.isTrigger&&i.event.simulate("submit",this.parentNode,n,!0))},teardown:function(){return i.nodeName(this,"form")?!1:(i.event.remove(this,"._submit"),t)}});i.support.changeBubbles||(i.event.special.change={setup:function(){return hi.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(i.event.add(this,"propertychange._change",function(n){"checked"===n.originalEvent.propertyName&&(this._just_changed=!0)}),i.event.add(this,"click._change",function(n){this._just_changed&&!n.isTrigger&&(this._just_changed=!1);i.event.simulate("change",this,n,!0)})),!1):(i.event.add(this,"beforeactivate._change",function(n){var t=n.target;hi.test(t.nodeName)&&!i._data(t,"changeBubbles")&&(i.event.add(t,"change._change",function(n){!this.parentNode||n.isSimulated||n.isTrigger||i.event.simulate("change",this.parentNode,n,!0)}),i._data(t,"changeBubbles",!0))}),t)},handle:function(n){var i=n.target;return this!==i||n.isSimulated||n.isTrigger||"radio"!==i.type&&"checkbox"!==i.type?n.handleObj.handler.apply(this,arguments):t},teardown:function(){return i.event.remove(this,"._change"),!hi.test(this.nodeName)}});i.support.focusinBubbles||i.each({focus:"focusin",blur:"focusout"},function(n,t){var u=0,f=function(n){i.event.simulate(t,n.target,i.event.fix(n),!0)};i.event.special[t]={setup:function(){0==u++&&r.addEventListener(n,f,!0)},teardown:function(){0==--u&&r.removeEventListener(n,f,!0)}}});i.fn.extend({on:function(n,r,u,f,e){var s,o;if("object"==typeof n){"string"!=typeof r&&(u=u||r,r=t);for(s in n)this.on(s,r,u,n[s],e);return this}if(null==u&&null==f?(f=r,u=r=t):null==f&&("string"==typeof r?(f=u,u=t):(f=u,u=r,r=t)),f===!1)f=b;else if(!f)return this;return 1===e&&(o=f,f=function(n){return i().off(n),o.apply(this,arguments)},f.guid=o.guid||(o.guid=i.guid++)),this.each(function(){i.event.add(this,n,f,u,r)})},one:function(n,t,i,r){return this.on(n,t,i,r,1)},off:function(n,r,u){var f,e;if(n&&n.preventDefault&&n.handleObj)return f=n.handleObj,i(n.delegateTarget).off(f.namespace?f.origType+"."+f.namespace:f.origType,f.selector,f.handler),this;if("object"==typeof n){for(e in n)this.off(e,r,n[e]);return this}return(r===!1||"function"==typeof r)&&(u=r,r=t),u===!1&&(u=b),this.each(function(){i.event.remove(this,n,u,r)})},trigger:function(n,t){return this.each(function(){i.event.trigger(n,t,this)})},triggerHandler:function(n,r){var u=this[0];return u?i.event.trigger(n,r,u,!0):t}});var ye=/^.[^:#\[\.,]*$/,pe=/^(?:parents|prev(?:Until|All))/,lu=i.expr.match.needsContext,we={children:!0,contents:!0,next:!0,prev:!0};i.fn.extend({find:function(n){var t,r=[],u=this,f=u.length;if("string"!=typeof n)return this.pushStack(i(n).filter(function(){for(t=0;f>t;t++)if(i.contains(u[t],this))return!0}));for(t=0;f>t;t++)i.find(n,u[t],r);return r=this.pushStack(f>1?i.unique(r):r),r.selector=this.selector?this.selector+" "+n:n,r},has:function(n){var t,r=i(n,this),u=r.length;return this.filter(function(){for(t=0;u>t;t++)if(i.contains(this,r[t]))return!0})},not:function(n){return this.pushStack(dt(this,n||[],!0))},filter:function(n){return this.pushStack(dt(this,n||[],!1))},is:function(n){return!!dt(this,"string"==typeof n&&lu.test(n)?i(n):n||[],!1).length},closest:function(n,t){for(var r,f=0,o=this.length,u=[],e=lu.test(n)||"string"!=typeof n?i(n,t||this.context):0;o>f;f++)for(r=this[f];r&&r!==t;r=r.parentNode)if(11>r.nodeType&&(e?e.index(r)>-1:1===r.nodeType&&i.find.matchesSelector(r,n))){r=u.push(r);break}return this.pushStack(u.length>1?i.unique(u):u)},index:function(n){return n?"string"==typeof n?i.inArray(this[0],i(n)):i.inArray(n.jquery?n[0]:n,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(n,t){var r="string"==typeof n?i(n,t):i.makeArray(n&&n.nodeType?[n]:n),u=i.merge(this.get(),r);return this.pushStack(i.unique(u))},addBack:function(n){return this.add(null==n?this.prevObject:this.prevObject.filter(n))}});i.each({parent:function(n){var t=n.parentNode;return t&&11!==t.nodeType?t:null},parents:function(n){return i.dir(n,"parentNode")},parentsUntil:function(n,t,r){return i.dir(n,"parentNode",r)},next:function(n){return nr(n,"nextSibling")},prev:function(n){return nr(n,"previousSibling")},nextAll:function(n){return i.dir(n,"nextSibling")},prevAll:function(n){return i.dir(n,"previousSibling")},nextUntil:function(n,t,r){return i.dir(n,"nextSibling",r)},prevUntil:function(n,t,r){return i.dir(n,"previousSibling",r)},siblings:function(n){return i.sibling((n.parentNode||{}).firstChild,n)},children:function(n){return i.sibling(n.firstChild)},contents:function(n){return i.nodeName(n,"iframe")?n.contentDocument||n.contentWindow.document:i.merge([],n.childNodes)}},function(n,t){i.fn[n]=function(r,u){var f=i.map(this,t,r);return"Until"!==n.slice(-5)&&(u=r),u&&"string"==typeof u&&(f=i.filter(u,f)),this.length>1&&(we[n]||(f=i.unique(f)),pe.test(n)&&(f=f.reverse())),this.pushStack(f)}});i.extend({filter:function(n,t,r){var u=t[0];return r&&(n=":not("+n+")"),1===t.length&&1===u.nodeType?i.find.matchesSelector(u,n)?[u]:[]:i.find.matches(n,i.grep(t,function(n){return 1===n.nodeType}))},dir:function(n,r,u){for(var e=[],f=n[r];f&&9!==f.nodeType&&(u===t||1!==f.nodeType||!i(f).is(u));)1===f.nodeType&&e.push(f),f=f[r];return e},sibling:function(n,t){for(var i=[];n;n=n.nextSibling)1===n.nodeType&&n!==t&&i.push(n);return i}});var au="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",be=/ jQuery\d+="(?:null|\d+)"/g,vu=RegExp("<(?:"+au+")[\\s/>]","i"),ci=/^\s+/,yu=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,pu=/<([\w:]+)/,wu=/<tbody/i,ke=/<|&#?\w+;/,de=/<(?:script|style|link)/i,li=/^(?:checkbox|radio)$/i,ge=/checked\s*(?:[^=]|=\s*.checked.)/i,bu=/^$|\/(?:java|ecma)script/i,no=/^true\/(.*)/,to=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,e={option:[1,"<select multiple='multiple'>","<\/select>"],legend:[1,"<fieldset>","<\/fieldset>"],area:[1,"<map>","<\/map>"],param:[1,"<object>","<\/object>"],thead:[1,"<table>","<\/table>"],tr:[2,"<table><tbody>","<\/tbody><\/table>"],col:[2,"<table><tbody><\/tbody><colgroup>","<\/colgroup><\/table>"],td:[3,"<table><tbody><tr>","<\/tr><\/tbody><\/table>"],_default:i.support.htmlSerialize?[0,"",""]:[1,"X<div>","<\/div>"]},io=tr(r),ai=io.appendChild(r.createElement("div"));e.optgroup=e.option;e.tbody=e.tfoot=e.colgroup=e.caption=e.thead;e.th=e.td;i.fn.extend({text:function(n){return i.access(this,function(n){return n===t?i.text(this):this.empty().append((this[0]&&this[0].ownerDocument||r).createTextNode(n))},null,n,arguments.length)},append:function(){return this.domManip(arguments,function(n){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=ir(this,n);t.appendChild(n)}})},prepend:function(){return this.domManip(arguments,function(n){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=ir(this,n);t.insertBefore(n,t.firstChild)}})},before:function(){return this.domManip(arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this)})},after:function(){return this.domManip(arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling)})},remove:function(n,t){for(var r,e=n?i.filter(n,this):this,f=0;null!=(r=e[f]);f++)t||1!==r.nodeType||i.cleanData(u(r)),r.parentNode&&(t&&i.contains(r.ownerDocument,r)&&gt(u(r,"script")),r.parentNode.removeChild(r));return this},empty:function(){for(var n,t=0;null!=(n=this[t]);t++){for(1===n.nodeType&&i.cleanData(u(n,!1));n.firstChild;)n.removeChild(n.firstChild);n.options&&i.nodeName(n,"select")&&(n.options.length=0)}return this},clone:function(n,t){return n=null==n?!1:n,t=null==t?n:t,this.map(function(){return i.clone(this,n,t)})},html:function(n){return i.access(this,function(n){var r=this[0]||{},f=0,o=this.length;if(n===t)return 1===r.nodeType?r.innerHTML.replace(be,""):t;if(!("string"!=typeof n||de.test(n)||!i.support.htmlSerialize&&vu.test(n)||!i.support.leadingWhitespace&&ci.test(n)||e[(pu.exec(n)||["",""])[1].toLowerCase()])){n=n.replace(yu,"<$1><\/$2>");try{for(;o>f;f++)r=this[f]||{},1===r.nodeType&&(i.cleanData(u(r,!1)),r.innerHTML=n);r=0}catch(s){}}r&&this.empty().append(n)},null,n,arguments.length)},replaceWith:function(){var t=i.map(this,function(n){return[n.nextSibling,n.parentNode]}),n=0;return this.domManip(arguments,function(r){var u=t[n++],f=t[n++];f&&(u&&u.parentNode!==f&&(u=this.nextSibling),i(this).remove(),f.insertBefore(r,u))},!0),n?this:this.remove()},detach:function(n){return this.remove(n,!0)},domManip:function(n,t,r){n=tu.apply([],n);var h,f,c,o,v,s,e=0,l=this.length,p=this,w=l-1,a=n[0],y=i.isFunction(a);if(y||!(1>=l||"string"!=typeof a||i.support.checkClone)&&ge.test(a))return this.each(function(i){var u=p.eq(i);y&&(n[0]=a.call(this,i,u.html()));u.domManip(n,t,r)});if(l&&(s=i.buildFragment(n,this[0].ownerDocument,!1,!r&&this),h=s.firstChild,1===s.childNodes.length&&(s=h),h)){for(o=i.map(u(s,"script"),rr),c=o.length;l>e;e++)f=s,e!==w&&(f=i.clone(f,!0,!0),c&&i.merge(o,u(f,"script"))),t.call(this[e],f,e);if(c)for(v=o[o.length-1].ownerDocument,i.map(o,ur),e=0;c>e;e++)f=o[e],bu.test(f.type||"")&&!i._data(f,"globalEval")&&i.contains(v,f)&&(f.src?i._evalUrl(f.src):i.globalEval((f.text||f.textContent||f.innerHTML||"").replace(to,"")));s=h=null}return this}});i.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(n,t){i.fn[n]=function(n){for(var u,r=0,f=[],e=i(n),o=e.length-1;o>=r;r++)u=r===o?this:this.clone(!0),i(e[r])[t](u),ri.apply(f,u.get());return this.pushStack(f)}});i.extend({clone:function(n,t,r){var f,h,o,e,s,c=i.contains(n.ownerDocument,n);if(i.support.html5Clone||i.isXMLDoc(n)||!vu.test("<"+n.nodeName+">")?o=n.cloneNode(!0):(ai.innerHTML=n.outerHTML,ai.removeChild(o=ai.firstChild)),!(i.support.noCloneEvent&&i.support.noCloneChecked||1!==n.nodeType&&11!==n.nodeType||i.isXMLDoc(n)))for(f=u(o),s=u(n),e=0;null!=(h=s[e]);++e)f[e]&&cf(h,f[e]);if(t)if(r)for(s=s||u(n),f=f||u(o),e=0;null!=(h=s[e]);e++)fr(h,f[e]);else fr(n,o);return f=u(o,"script"),f.length>0&&gt(f,!c&&u(n,"script")),f=s=h=null,o},buildFragment:function(n,t,r,f){for(var h,o,w,s,y,p,l,b=n.length,a=tr(t),c=[],v=0;b>v;v++)if(o=n[v],o||0===o)if("object"===i.type(o))i.merge(c,o.nodeType?[o]:o);else if(ke.test(o)){for(s=s||a.appendChild(t.createElement("div")),y=(pu.exec(o)||["",""])[1].toLowerCase(),l=e[y]||e._default,s.innerHTML=l[1]+o.replace(yu,"<$1><\/$2>")+l[2],h=l[0];h--;)s=s.lastChild;if(!i.support.leadingWhitespace&&ci.test(o)&&c.push(t.createTextNode(ci.exec(o)[0])),!i.support.tbody)for(o="table"!==y||wu.test(o)?"<table>"!==l[1]||wu.test(o)?0:s:s.firstChild,h=o&&o.childNodes.length;h--;)i.nodeName(p=o.childNodes[h],"tbody")&&!p.childNodes.length&&o.removeChild(p);for(i.merge(c,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=a.lastChild}else c.push(t.createTextNode(o));for(s&&a.removeChild(s),i.support.appendChecked||i.grep(u(c,"input"),lf),v=0;o=c[v++];)if((!f||-1===i.inArray(o,f))&&(w=i.contains(o.ownerDocument,o),s=u(a.appendChild(o),"script"),w&&gt(s),r))for(h=0;o=s[h++];)bu.test(o.type||"")&&r.push(o);return s=null,a},cleanData:function(n,t){for(var r,f,u,e,c=0,s=i.expando,h=i.cache,l=i.support.deleteExpando,a=i.event.special;null!=(r=n[c]);c++)if((t||i.acceptData(r))&&(u=r[s],e=u&&h[u])){if(e.events)for(f in e.events)a[f]?i.event.remove(r,f):i.removeEvent(r,f,e.handle);h[u]&&(delete h[u],l?delete r[s]:typeof r.removeAttribute!==o?r.removeAttribute(s):r[s]=null,k.push(u))}},_evalUrl:function(n){return i.ajax({url:n,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})}});i.fn.extend({wrapAll:function(n){if(i.isFunction(n))return this.each(function(t){i(this).wrapAll(n.call(this,t))});if(this[0]){var t=i(n,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]);t.map(function(){for(var n=this;n.firstChild&&1===n.firstChild.nodeType;)n=n.firstChild;return n}).append(this)}return this},wrapInner:function(n){return i.isFunction(n)?this.each(function(t){i(this).wrapInner(n.call(this,t))}):this.each(function(){var t=i(this),r=t.contents();r.length?r.wrapAll(n):t.append(n)})},wrap:function(n){var t=i.isFunction(n);return this.each(function(r){i(this).wrapAll(t?n.call(this,r):n)})},unwrap:function(){return this.parent().each(function(){i.nodeName(this,"body")||i(this).replaceWith(this.childNodes)}).end()}});var ut,v,y,vi=/alpha\([^)]*\)/i,ro=/opacity\s*=\s*([^)]*)/,uo=/^(top|right|bottom|left)$/,fo=/^(none|table(?!-c[ea]).+)/,ku=/^margin/,eo=RegExp("^("+ct+")(.*)$","i"),yt=RegExp("^("+ct+")(?!px)[a-z%]+$","i"),oo=RegExp("^([+-])=("+ct+")","i"),du={BODY:"block"},so={position:"absolute",visibility:"hidden",display:"block"},gu={letterSpacing:0,fontWeight:400},p=["Top","Right","Bottom","Left"],nf=["Webkit","O","Moz","ms"];i.fn.extend({css:function(n,r){return i.access(this,function(n,r,u){var e,o,s={},f=0;if(i.isArray(r)){for(o=v(n),e=r.length;e>f;f++)s[r[f]]=i.css(n,r[f],!1,o);return s}return u!==t?i.style(n,r,u):i.css(n,r)},n,r,arguments.length>1)},show:function(){return or(this,!0)},hide:function(){return or(this)},toggle:function(n){return"boolean"==typeof n?n?this.show():this.hide():this.each(function(){rt(this)?i(this).show():i(this).hide()})}});i.extend({cssHooks:{opacity:{get:function(n,t){if(t){var i=y(n,"opacity");return""===i?"1":i}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:i.support.cssFloat?"cssFloat":"styleFloat"},style:function(n,r,u,f){if(n&&3!==n.nodeType&&8!==n.nodeType&&n.style){var o,s,e,h=i.camelCase(r),c=n.style;if(r=i.cssProps[h]||(i.cssProps[h]=er(c,h)),e=i.cssHooks[r]||i.cssHooks[h],u===t)return e&&"get"in e&&(o=e.get(n,!1,f))!==t?o:c[r];if(s=typeof u,"string"===s&&(o=oo.exec(u))&&(u=(o[1]+1)*o[2]+parseFloat(i.css(n,r)),s="number"),!(null==u||"number"===s&&isNaN(u)||("number"!==s||i.cssNumber[h]||(u+="px"),i.support.clearCloneStyle||""!==u||0!==r.indexOf("background")||(c[r]="inherit"),e&&"set"in e&&(u=e.set(n,u,f))===t)))try{c[r]=u}catch(l){}}},css:function(n,r,u,f){var h,e,o,s=i.camelCase(r);return r=i.cssProps[s]||(i.cssProps[s]=er(n.style,s)),o=i.cssHooks[r]||i.cssHooks[s],o&&"get"in o&&(e=o.get(n,!0,u)),e===t&&(e=y(n,r,f)),"normal"===e&&r in gu&&(e=gu[r]),""===u||u?(h=parseFloat(e),u===!0||i.isNumeric(h)?h||0:e):e}});n.getComputedStyle?(v=function(t){return n.getComputedStyle(t,null)},y=function(n,r,u){var s,h,c,o=u||v(n),e=o?o.getPropertyValue(r)||o[r]:t,f=n.style;return o&&(""!==e||i.contains(n.ownerDocument,n)||(e=i.style(n,r)),yt.test(e)&&ku.test(r)&&(s=f.width,h=f.minWidth,c=f.maxWidth,f.minWidth=f.maxWidth=f.width=e,e=o.width,f.width=s,f.minWidth=h,f.maxWidth=c)),e}):r.documentElement.currentStyle&&(v=function(n){return n.currentStyle},y=function(n,i,r){var s,e,o,h=r||v(n),u=h?h[i]:t,f=n.style;return null==u&&f&&f[i]&&(u=f[i]),yt.test(u)&&!uo.test(i)&&(s=f.left,e=n.runtimeStyle,o=e&&e.left,o&&(e.left=n.currentStyle.left),f.left="fontSize"===i?"1em":u,u=f.pixelLeft+"px",f.left=s,o&&(e.left=o)),""===u?"auto":u});i.each(["height","width"],function(n,r){i.cssHooks[r]={get:function(n,u,f){return u?0===n.offsetWidth&&fo.test(i.css(n,"display"))?i.swap(n,so,function(){return cr(n,r,f)}):cr(n,r,f):t},set:function(n,t,u){var f=u&&v(n);return sr(n,t,u?hr(n,r,u,i.support.boxSizing&&"border-box"===i.css(n,"boxSizing",!1,f),f):0)}}});i.support.opacity||(i.cssHooks.opacity={get:function(n,t){return ro.test((t&&n.currentStyle?n.currentStyle.filter:n.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(n,t){var r=n.style,u=n.currentStyle,e=i.isNumeric(t)?"alpha(opacity="+100*t+")":"",f=u&&u.filter||r.filter||"";r.zoom=1;(t>=1||""===t)&&""===i.trim(f.replace(vi,""))&&r.removeAttribute&&(r.removeAttribute("filter"),""===t||u&&!u.filter)||(r.filter=vi.test(f)?f.replace(vi,e):f+" "+e)}});i(function(){i.support.reliableMarginRight||(i.cssHooks.marginRight={get:function(n,r){return r?i.swap(n,{display:"inline-block"},y,[n,"marginRight"]):t}});!i.support.pixelPosition&&i.fn.position&&i.each(["top","left"],function(n,r){i.cssHooks[r]={get:function(n,u){return u?(u=y(n,r),yt.test(u)?i(n).position()[r]+"px":u):t}}})});i.expr&&i.expr.filters&&(i.expr.filters.hidden=function(n){return 0>=n.offsetWidth&&0>=n.offsetHeight||!i.support.reliableHiddenOffsets&&"none"===(n.style&&n.style.display||i.css(n,"display"))},i.expr.filters.visible=function(n){return!i.expr.filters.hidden(n)});i.each({margin:"",padding:"",border:"Width"},function(n,t){i.cssHooks[n+t]={expand:function(i){for(var r=0,f={},u="string"==typeof i?i.split(" "):[i];4>r;r++)f[n+p[r]+t]=u[r]||u[r-2]||u[0];return f}};ku.test(n)||(i.cssHooks[n+t].set=sr)});var ho=/%20/g,co=/\[\]$/,tf=/\r?\n/g,lo=/^(?:submit|button|image|reset|file)$/i,ao=/^(?:input|select|textarea|keygen)/i;i.fn.extend({serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var n=i.prop(this,"elements");return n?i.makeArray(n):this}).filter(function(){var n=this.type;return this.name&&!i(this).is(":disabled")&&ao.test(this.nodeName)&&!lo.test(n)&&(this.checked||!li.test(n))}).map(function(n,t){var r=i(this).val();return null==r?null:i.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(tf,"\r\n")}}):{name:t.name,value:r.replace(tf,"\r\n")}}).get()}});i.param=function(n,r){var u,f=[],e=function(n,t){t=i.isFunction(t)?t():null==t?"":t;f[f.length]=encodeURIComponent(n)+"="+encodeURIComponent(t)};if(r===t&&(r=i.ajaxSettings&&i.ajaxSettings.traditional),i.isArray(n)||n.jquery&&!i.isPlainObject(n))i.each(n,function(){e(this.name,this.value)});else for(u in n)ni(u,n[u],r,e);return f.join("&").replace(ho,"+")};i.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(n,t){i.fn[t]=function(n,i){return arguments.length>0?this.on(t,null,n,i):this.trigger(t)}});i.fn.extend({hover:function(n,t){return this.mouseenter(n).mouseleave(t||n)},bind:function(n,t,i){return this.on(n,null,t,i)},unbind:function(n,t){return this.off(n,null,t)},delegate:function(n,t,i,r){return this.on(t,n,i,r)},undelegate:function(n,t,i){return 1===arguments.length?this.off(n,"**"):this.off(t,n||"**",i)}});var w,c,yi=i.now(),pi=/\?/,vo=/#.*$/,rf=/([?&])_=[^&]*/,yo=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,po=/^(?:GET|HEAD)$/,wo=/^\/\//,uf=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,ff=i.fn.load,ef={},wi={},of="*/".concat("*");try{c=bf.href}catch(go){c=r.createElement("a");c.href="";c=c.href}w=uf.exec(c.toLowerCase())||[];i.fn.load=function(n,r,u){if("string"!=typeof n&&ff)return ff.apply(this,arguments);var f,s,h,e=this,o=n.indexOf(" ");return o>=0&&(f=n.slice(o,n.length),n=n.slice(0,o)),i.isFunction(r)?(u=r,r=t):r&&"object"==typeof r&&(h="POST"),e.length>0&&i.ajax({url:n,type:h,dataType:"html",data:r}).done(function(n){s=arguments;e.html(f?i("<div>").append(i.parseHTML(n)).find(f):n)}).complete(u&&function(n,t){e.each(u,s||[n.responseText,t,n])}),this};i.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(n,t){i.fn[t]=function(n){return this.on(t,n)}});i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:c,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(w[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":of,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":i.parseJSON,"text xml":i.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(n,t){return t?ti(ti(n,i.ajaxSettings),t):ti(i.ajaxSettings,n)},ajaxPrefilter:vr(ef),ajaxTransport:vr(wi),ajax:function(n,r){function p(n,r,s,c){var a,rt,b,p,w,l=r;2!==o&&(o=2,g&&clearTimeout(g),y=t,d=c||"",f.readyState=n>0?4:0,a=n>=200&&300>n||304===n,s&&(p=af(u,f,s)),p=vf(u,p,f,a),a?(u.ifModified&&(w=f.getResponseHeader("Last-Modified"),w&&(i.lastModified[e]=w),w=f.getResponseHeader("etag"),w&&(i.etag[e]=w)),204===n||"HEAD"===u.type?l="nocontent":304===n?l="notmodified":(l=p.state,rt=p.data,b=p.error,a=!b)):(b=l,(n||!l)&&(l="error",0>n&&(n=0))),f.status=n,f.statusText=(r||l)+"",a?tt.resolveWith(h,[rt,l,f]):tt.rejectWith(h,[f,l,b]),f.statusCode(k),k=t,v&&nt.trigger(a?"ajaxSuccess":"ajaxError",[f,u,a?rt:b]),it.fireWith(h,[f,l]),v&&(nt.trigger("ajaxComplete",[f,u]),--i.active||i.event.trigger("ajaxStop")))}"object"==typeof n&&(r=n,n=t);r=r||{};var l,a,e,d,g,v,y,b,u=i.ajaxSetup({},r),h=u.context||u,nt=u.context&&(h.nodeType||h.jquery)?i(h):i.event,tt=i.Deferred(),it=i.Callbacks("once memory"),k=u.statusCode||{},rt={},ut={},o=0,ft="canceled",f={readyState:0,getResponseHeader:function(n){var t;if(2===o){if(!b)for(b={};t=yo.exec(d);)b[t[1].toLowerCase()]=t[2];t=b[n.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===o?d:null},setRequestHeader:function(n,t){var i=n.toLowerCase();return o||(n=ut[i]=ut[i]||n,rt[n]=t),this},overrideMimeType:function(n){return o||(u.mimeType=n),this},statusCode:function(n){var t;if(n)if(2>o)for(t in n)k[t]=[k[t],n[t]];else f.always(n[f.status]);return this},abort:function(n){var t=n||ft;return y&&y.abort(t),p(0,t),this}};if(tt.promise(f).complete=it.add,f.success=f.done,f.error=f.fail,u.url=((n||u.url||c)+"").replace(vo,"").replace(wo,w[1]+"//"),u.type=r.method||r.type||u.method||u.type,u.dataTypes=i.trim(u.dataType||"*").toLowerCase().match(s)||[""],null==u.crossDomain&&(l=uf.exec(u.url.toLowerCase()),u.crossDomain=!(!l||l[1]===w[1]&&l[2]===w[2]&&(l[3]||("http:"===l[1]?"80":"443"))===(w[3]||("http:"===w[1]?"80":"443")))),u.data&&u.processData&&"string"!=typeof u.data&&(u.data=i.param(u.data,u.traditional)),yr(ef,u,r,f),2===o)return f;v=u.global;v&&0==i.active++&&i.event.trigger("ajaxStart");u.type=u.type.toUpperCase();u.hasContent=!po.test(u.type);e=u.url;u.hasContent||(u.data&&(e=u.url+=(pi.test(e)?"&":"?")+u.data,delete u.data),u.cache===!1&&(u.url=rf.test(e)?e.replace(rf,"$1_="+yi++):e+(pi.test(e)?"&":"?")+"_="+yi++));u.ifModified&&(i.lastModified[e]&&f.setRequestHeader("If-Modified-Since",i.lastModified[e]),i.etag[e]&&f.setRequestHeader("If-None-Match",i.etag[e]));(u.data&&u.hasContent&&u.contentType!==!1||r.contentType)&&f.setRequestHeader("Content-Type",u.contentType);f.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+("*"!==u.dataTypes[0]?", "+of+"; q=0.01":""):u.accepts["*"]);for(a in u.headers)f.setRequestHeader(a,u.headers[a]);if(u.beforeSend&&(u.beforeSend.call(h,f,u)===!1||2===o))return f.abort();ft="abort";for(a in{success:1,error:1,complete:1})f[a](u[a]);if(y=yr(wi,u,r,f)){f.readyState=1;v&&nt.trigger("ajaxSend",[f,u]);u.async&&u.timeout>0&&(g=setTimeout(function(){f.abort("timeout")},u.timeout));try{o=1;y.send(rt,p)}catch(et){if(!(2>o))throw et;p(-1,et)}}else p(-1,"No Transport");return f},getJSON:function(n,t,r){return i.get(n,t,r,"json")},getScript:function(n,r){return i.get(n,t,r,"script")}});i.each(["get","post"],function(n,r){i[r]=function(n,u,f,e){return i.isFunction(u)&&(e=e||f,f=u,u=t),i.ajax({url:n,type:r,dataType:e,data:u,success:f})}});i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(n){return i.globalEval(n),n}}});i.ajaxPrefilter("script",function(n){n.cache===t&&(n.cache=!1);n.crossDomain&&(n.type="GET",n.global=!1)});i.ajaxTransport("script",function(n){if(n.crossDomain){var u,f=r.head||i("head")[0]||r.documentElement;return{send:function(t,i){u=r.createElement("script");u.async=!0;n.scriptCharset&&(u.charset=n.scriptCharset);u.src=n.url;u.onload=u.onreadystatechange=function(n,t){(t||!u.readyState||/loaded|complete/.test(u.readyState))&&(u.onload=u.onreadystatechange=null,u.parentNode&&u.parentNode.removeChild(u),u=null,t||i(200,"success"))};f.insertBefore(u,f.firstChild)},abort:function(){u&&u.onload(t,!0)}}}});ei=[];lt=/(=)\?(?=&|$)|\?\?/;i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=ei.pop()||i.expando+"_"+yi++;return this[n]=!0,n}});i.ajaxPrefilter("json jsonp",function(r,u,f){var e,s,o,h=r.jsonp!==!1&&(lt.test(r.url)?"url":"string"==typeof r.data&&!(r.contentType||"").indexOf("application/x-www-form-urlencoded")&&lt.test(r.data)&&"data");return h||"jsonp"===r.dataTypes[0]?(e=r.jsonpCallback=i.isFunction(r.jsonpCallback)?r.jsonpCallback():r.jsonpCallback,h?r[h]=r[h].replace(lt,"$1"+e):r.jsonp!==!1&&(r.url+=(pi.test(r.url)?"&":"?")+r.jsonp+"="+e),r.converters["script json"]=function(){return o||i.error(e+" was not called"),o[0]},r.dataTypes[0]="json",s=n[e],n[e]=function(){o=arguments},f.always(function(){n[e]=s;r[e]&&(r.jsonpCallback=u.jsonpCallback,ei.push(e));o&&i.isFunction(s)&&s(o[0]);o=s=t}),"script"):t});ou=0;at=n.ActiveXObject&&function(){var n;for(n in g)g[n](t,!0)};i.ajaxSettings.xhr=n.ActiveXObject?function(){return!this.isLocal&&pr()||yf()}:pr;nt=i.ajaxSettings.xhr();i.support.cors=!!nt&&"withCredentials"in nt;nt=i.support.ajax=!!nt;nt&&i.ajaxTransport(function(r){if(!r.crossDomain||i.support.cors){var u;return{send:function(f,e){var h,s,o=r.xhr();if(r.username?o.open(r.type,r.url,r.async,r.username,r.password):o.open(r.type,r.url,r.async),r.xhrFields)for(s in r.xhrFields)o[s]=r.xhrFields[s];r.mimeType&&o.overrideMimeType&&o.overrideMimeType(r.mimeType);r.crossDomain||f["X-Requested-With"]||(f["X-Requested-With"]="XMLHttpRequest");try{for(s in f)o.setRequestHeader(s,f[s])}catch(c){}o.send(r.hasContent&&r.data||null);u=function(n,f){var s,a,l,c;try{if(u&&(f||4===o.readyState))if(u=t,h&&(o.onreadystatechange=i.noop,at&&delete g[h]),f)4!==o.readyState&&o.abort();else{c={};s=o.status;a=o.getAllResponseHeaders();"string"==typeof o.responseText&&(c.text=o.responseText);try{l=o.statusText}catch(y){l=""}s||!r.isLocal||r.crossDomain?1223===s&&(s=204):s=c.text?200:404}}catch(v){f||e(-1,v)}c&&e(s,l,c,a)};r.async?4===o.readyState?setTimeout(u):(h=++ou,at&&(g||(g={},i(n).unload(at)),g[h]=u),o.onreadystatechange=u):u()},abort:function(){u&&u(t,!0)}}}});var it,pt,bo=/^(?:toggle|show|hide)$/,sf=RegExp("^(?:([+-])=|)("+ct+")([a-z%]*)$","i"),ko=/queueHooks$/,wt=[wf],ft={"*":[function(n,t){var f=this.createTween(n,t),s=f.cur(),r=sf.exec(t),e=r&&r[3]||(i.cssNumber[n]?"":"px"),u=(i.cssNumber[n]||"px"!==e&&+s)&&sf.exec(i.css(f.elem,n)),o=1,h=20;if(u&&u[3]!==e){e=e||u[3];r=r||[];u=+s||1;do o=o||".5",u/=o,i.style(f.elem,n,u+e);while(o!==(o=f.cur()/s)&&1!==o&&--h)}return r&&(u=f.start=+u||+s||0,f.unit=e,f.end=r[1]?u+(r[1]+1)*r[2]:+r[2]),f}]};i.Animation=i.extend(kr,{tweener:function(n,t){i.isFunction(n)?(t=n,n=["*"]):n=n.split(" ");for(var r,u=0,f=n.length;f>u;u++)r=n[u],ft[r]=ft[r]||[],ft[r].unshift(t)},prefilter:function(n,t){t?wt.unshift(n):wt.push(n)}});i.Tween=f;f.prototype={constructor:f,init:function(n,t,r,u,f,e){this.elem=n;this.prop=r;this.easing=f||"swing";this.options=t;this.start=this.now=this.cur();this.end=u;this.unit=e||(i.cssNumber[r]?"":"px")},cur:function(){var n=f.propHooks[this.prop];return n&&n.get?n.get(this):f.propHooks._default.get(this)},run:function(n){var r,t=f.propHooks[this.prop];return this.pos=r=this.options.duration?i.easing[this.easing](n,this.options.duration*n,0,1,this.options.duration):n,this.now=(this.end-this.start)*r+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),t&&t.set?t.set(this):f.propHooks._default.set(this),this}};f.prototype.init.prototype=f.prototype;f.propHooks={_default:{get:function(n){var t;return null==n.elem[n.prop]||n.elem.style&&null!=n.elem.style[n.prop]?(t=i.css(n.elem,n.prop,""),t&&"auto"!==t?t:0):n.elem[n.prop]},set:function(n){i.fx.step[n.prop]?i.fx.step[n.prop](n):n.elem.style&&(null!=n.elem.style[i.cssProps[n.prop]]||i.cssHooks[n.prop])?i.style(n.elem,n.prop,n.now+n.unit):n.elem[n.prop]=n.now}}};f.propHooks.scrollTop=f.propHooks.scrollLeft={set:function(n){n.elem.nodeType&&n.elem.parentNode&&(n.elem[n.prop]=n.now)}};i.each(["toggle","show","hide"],function(n,t){var r=i.fn[t];i.fn[t]=function(n,i,u){return null==n||"boolean"==typeof n?r.apply(this,arguments):this.animate(ot(t,!0),n,i,u)}});i.fn.extend({fadeTo:function(n,t,i,r){return this.filter(rt).css("opacity",0).show().end().animate({opacity:t},n,i,r)},animate:function(n,t,r,u){var o=i.isEmptyObject(n),e=i.speed(t,r,u),f=function(){var t=kr(this,i.extend({},n),e);(o||i._data(this,"finish"))&&t.stop(!0)};return f.finish=f,o||e.queue===!1?this.each(f):this.queue(e.queue,f)},stop:function(n,r,u){var f=function(n){var t=n.stop;delete n.stop;t(u)};return"string"!=typeof n&&(u=r,r=n,n=t),r&&n!==!1&&this.queue(n||"fx",[]),this.each(function(){var o=!0,t=null!=n&&n+"queueHooks",e=i.timers,r=i._data(this);if(t)r[t]&&r[t].stop&&f(r[t]);else for(t in r)r[t]&&r[t].stop&&ko.test(t)&&f(r[t]);for(t=e.length;t--;)e[t].elem!==this||null!=n&&e[t].queue!==n||(e[t].anim.stop(u),o=!1,e.splice(t,1));(o||!u)&&i.dequeue(this,n)})},finish:function(n){return n!==!1&&(n=n||"fx"),this.each(function(){var t,f=i._data(this),r=f[n+"queue"],e=f[n+"queueHooks"],u=i.timers,o=r?r.length:0;for(f.finish=!0,i.queue(this,n,[]),e&&e.stop&&e.stop.call(this,!0),t=u.length;t--;)u[t].elem===this&&u[t].queue===n&&(u[t].anim.stop(!0),u.splice(t,1));for(t=0;o>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete f.finish})}});i.each({slideDown:ot("show"),slideUp:ot("hide"),slideToggle:ot("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(n,t){i.fn[n]=function(n,i,r){return this.animate(t,n,i,r)}});i.speed=function(n,t,r){var u=n&&"object"==typeof n?i.extend({},n):{complete:r||!r&&t||i.isFunction(n)&&n,duration:n,easing:r&&t||t&&!i.isFunction(t)&&t};return u.duration=i.fx.off?0:"number"==typeof u.duration?u.duration:u.duration in i.fx.speeds?i.fx.speeds[u.duration]:i.fx.speeds._default,(null==u.queue||u.queue===!0)&&(u.queue="fx"),u.old=u.complete,u.complete=function(){i.isFunction(u.old)&&u.old.call(this);u.queue&&i.dequeue(this,u.queue)},u};i.easing={linear:function(n){return n},swing:function(n){return.5-Math.cos(n*Math.PI)/2}};i.timers=[];i.fx=f.prototype.init;i.fx.tick=function(){var u,n=i.timers,r=0;for(it=i.now();n.length>r;r++)u=n[r],u()||n[r]!==u||n.splice(r--,1);n.length||i.fx.stop();it=t};i.fx.timer=function(n){n()&&i.timers.push(n)&&i.fx.start()};i.fx.interval=13;i.fx.start=function(){pt||(pt=setInterval(i.fx.tick,i.fx.interval))};i.fx.stop=function(){clearInterval(pt);pt=null};i.fx.speeds={slow:600,fast:200,_default:400};i.fx.step={};i.expr&&i.expr.filters&&(i.expr.filters.animated=function(n){return i.grep(i.timers,function(t){return n===t.elem}).length});i.fn.offset=function(n){if(arguments.length)return n===t?this:this.each(function(t){i.offset.setOffset(this,n,t)});var r,e,f={top:0,left:0},u=this[0],s=u&&u.ownerDocument;if(s)return r=s.documentElement,i.contains(r,u)?(typeof u.getBoundingClientRect!==o&&(f=u.getBoundingClientRect()),e=dr(s),{top:f.top+(e.pageYOffset||r.scrollTop)-(r.clientTop||0),left:f.left+(e.pageXOffset||r.scrollLeft)-(r.clientLeft||0)}):f};i.offset={setOffset:function(n,t,r){var f=i.css(n,"position");"static"===f&&(n.style.position="relative");var e=i(n),o=e.offset(),l=i.css(n,"top"),a=i.css(n,"left"),v=("absolute"===f||"fixed"===f)&&i.inArray("auto",[l,a])>-1,u={},s={},h,c;v?(s=e.position(),h=s.top,c=s.left):(h=parseFloat(l)||0,c=parseFloat(a)||0);i.isFunction(t)&&(t=t.call(n,r,o));null!=t.top&&(u.top=t.top-o.top+h);null!=t.left&&(u.left=t.left-o.left+c);"using"in t?t.using.call(n,u):e.css(u)}};i.fn.extend({position:function(){if(this[0]){var n,r,t={top:0,left:0},u=this[0];return"fixed"===i.css(u,"position")?r=u.getBoundingClientRect():(n=this.offsetParent(),r=this.offset(),i.nodeName(n[0],"html")||(t=n.offset()),t.top+=i.css(n[0],"borderTopWidth",!0),t.left+=i.css(n[0],"borderLeftWidth",!0)),{top:r.top-t.top-i.css(u,"marginTop",!0),left:r.left-t.left-i.css(u,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent||nu;n&&!i.nodeName(n,"html")&&"static"===i.css(n,"position");)n=n.offsetParent;return n||nu})}});i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,r){var u=/Y/.test(r);i.fn[n]=function(f){return i.access(this,function(n,f,e){var o=dr(n);return e===t?o?r in o?o[r]:o.document.documentElement[f]:n[f]:(o?o.scrollTo(u?i(o).scrollLeft():e,u?e:i(o).scrollTop()):n[f]=e,t)},n,f,arguments.length,null)}});i.each({Height:"height",Width:"width"},function(n,r){i.each({padding:"inner"+n,content:r,"":"outer"+n},function(u,f){i.fn[f]=function(f,e){var o=arguments.length&&(u||"boolean"!=typeof f),s=u||(f===!0||e===!0?"margin":"border");return i.access(this,function(r,u,f){var e;return i.isWindow(r)?r.document.documentElement["client"+n]:9===r.nodeType?(e=r.documentElement,Math.max(r.body["scroll"+n],e["scroll"+n],r.body["offset"+n],e["offset"+n],e["client"+n])):f===t?i.css(r,u,s):i.style(r,u,f,s)},r,o?f:t,o,null)}})});i.fn.size=function(){return this.length};i.fn.andSelf=i.fn.addBack;"object"==typeof module&&module&&"object"==typeof module.exports?module.exports=i:(n.jQuery=n.$=i,"function"==typeof define&&define.amd&&define("jquery",[],function(){return i}))}(window),function(n,t,i){function r(i){var r=t.console;o[i]||(o[i]=!0,n.migrateWarnings.push(i),r&&r.warn&&!n.migrateMute&&(r.warn("JQMIGRATE: "+i),n.migrateTrace&&r.trace&&r.trace()))}function e(t,i,u,f){if(Object.defineProperty)try{Object.defineProperty(t,i,{configurable:!0,enumerable:!0,get:function(){return r(f),u},set:function(n){r(f);u=n}});return}catch(e){}n._definePropertyBroken=!0;t[i]=u}var o={},h,c,l;n.migrateWarnings=[];!n.migrateMute&&t.console&&t.console.log&&t.console.log("JQMIGRATE: Logging is active");n.migrateTrace===i&&(n.migrateTrace=!0);n.migrateReset=function(){o={};n.migrateWarnings.length=0};document.compatMode==="BackCompat"&&r("jQuery is not compatible with Quirks Mode");var s=n("<input/>",{size:1}).attr("size")&&n.attrFn,a=n.attr,g=n.attrHooks.value&&n.attrHooks.value.get||function(){return null},nt=n.attrHooks.value&&n.attrHooks.value.set||function(){return i},tt=/^(?:input|button)$/i,it=/^[238]$/,rt=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,ut=/^(?:checked|selected)$/i;e(n,"attrFn",s||{},"jQuery.attrFn is deprecated");n.attr=function(t,u,f,e){var o=u.toLowerCase(),h=t&&t.nodeType;return e&&(a.length<4&&r("jQuery.fn.attr( props, pass ) is deprecated"),t&&!it.test(h)&&(s?u in s:n.isFunction(n.fn[u])))?n(t)[u](f):(u==="type"&&f!==i&&tt.test(t.nodeName)&&t.parentNode&&r("Can't change the 'type' of an input or button in IE 6/7/8"),!n.attrHooks[o]&&rt.test(o)&&(n.attrHooks[o]={get:function(t,r){var u,f=n.prop(t,r);return f===!0||typeof f!="boolean"&&(u=t.getAttributeNode(r))&&u.nodeValue!==!1?r.toLowerCase():i},set:function(t,i,r){var u;return i===!1?n.removeAttr(t,r):(u=n.propFix[r]||r,u in t&&(t[u]=!0),t.setAttribute(r,r.toLowerCase())),r}},ut.test(o)&&r("jQuery.fn.attr('"+o+"') may use property instead of attribute")),a.call(n,t,u,f))};n.attrHooks.value={get:function(n,t){var i=(n.nodeName||"").toLowerCase();return i==="button"?g.apply(this,arguments):(i!=="input"&&i!=="option"&&r("jQuery.fn.attr('value') no longer gets properties"),t in n?n.value:null)},set:function(n,t){var i=(n.nodeName||"").toLowerCase();if(i==="button")return nt.apply(this,arguments);i!=="input"&&i!=="option"&&r("jQuery.fn.attr('value', val) no longer sets properties");n.value=t}};var f,u,v=n.fn.init,ft=n.parseJSON,et=/^([^<]*)(<[\w\W]+>)([^>]*)$/;n.fn.init=function(t,i,u){var f;return t&&typeof t=="string"&&!n.isPlainObject(i)&&(f=et.exec(n.trim(t)))&&f[0]&&(t.charAt(0)!=="<"&&r("$(html) HTML strings must start with '<' character"),f[3]&&r("$(html) HTML text after last tag is ignored"),f[0].charAt(0)==="#"&&(r("HTML string cannot start with a '#' character"),n.error("JQMIGRATE: Invalid selector string (XSS)")),i&&i.context&&(i=i.context),n.parseHTML)?v.call(this,n.parseHTML(f[2],i,!0),i,u):v.apply(this,arguments)};n.fn.init.prototype=n.fn;n.parseJSON=function(n){return!n&&n!==null?(r("jQuery.parseJSON requires a valid JSON string"),null):ft.apply(this,arguments)};n.uaMatch=function(n){n=n.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(n)||/(webkit)[ \/]([\w.]+)/.exec(n)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(n)||/(msie) ([\w.]+)/.exec(n)||n.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(n)||[];return{browser:t[1]||"",version:t[2]||"0"}};n.browser||(f=n.uaMatch(navigator.userAgent),u={},f.browser&&(u[f.browser]=!0,u.version=f.version),u.chrome?u.webkit=!0:u.webkit&&(u.safari=!0),n.browser=u);e(n,"browser",n.browser,"jQuery.browser is deprecated");n.sub=function(){function t(n,i){return new t.fn.init(n,i)}n.extend(!0,t,this);t.superclass=this;t.fn=t.prototype=this();t.fn.constructor=t;t.sub=this.sub;t.fn.init=function(r,u){return u&&u instanceof n&&!(u instanceof t)&&(u=t(u)),n.fn.init.call(this,r,u,i)};t.fn.init.prototype=t.fn;var i=t(document);return r("jQuery.sub() is deprecated"),t};n.ajaxSetup({converters:{"text json":n.parseJSON}});h=n.fn.data;n.fn.data=function(t){var f,u,e=this[0];return e&&t==="events"&&arguments.length===1&&(f=n.data(e,t),u=n._data(e,t),(f===i||f===u)&&u!==i)?(r("Use of jQuery.fn.data('events') is deprecated"),u):h.apply(this,arguments)};c=/\/(java|ecma)script/i;l=n.fn.andSelf||n.fn.addBack;n.fn.andSelf=function(){return r("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),l.apply(this,arguments)};n.clean||(n.clean=function(t,i,u,f){i=i||document;i=!i.nodeType&&i[0]||i;i=i.ownerDocument||i;r("jQuery.clean() is deprecated");var o,e,h,l,s=[];if(n.merge(s,n.buildFragment(t,i).childNodes),u)for(h=function(n){if(!n.type||c.test(n.type))return f?f.push(n.parentNode?n.parentNode.removeChild(n):n):u.appendChild(n)},o=0;(e=s[o])!=null;o++)n.nodeName(e,"script")&&h(e)||(u.appendChild(e),typeof e.getElementsByTagName!="undefined"&&(l=n.grep(n.merge([],e.getElementsByTagName("script")),h),s.splice.apply(s,[o+1,0].concat(l)),o+=l.length));return s});var ot=n.event.add,st=n.event.remove,ht=n.event.trigger,ct=n.fn.toggle,y=n.fn.live,p=n.fn.die,w="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",b=new RegExp("\\b(?:"+w+")\\b"),k=/(?:^|\s)hover(\.\S+|)\b/,d=function(t){return typeof t!="string"||n.event.special.hover?t:(k.test(t)&&r("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),t&&t.replace(k,"mouseenter$1 mouseleave$1"))};n.event.props&&n.event.props[0]!=="attrChange"&&n.event.props.unshift("attrChange","attrName","relatedNode","srcElement");n.event.dispatch&&e(n.event,"handle",n.event.dispatch,"jQuery.event.handle is undocumented and deprecated");n.event.add=function(n,t,i,u,f){n!==document&&b.test(t)&&r("AJAX events should be attached to document: "+t);ot.call(this,n,d(t||""),i,u,f)};n.event.remove=function(n,t,i,r,u){st.call(this,n,d(t)||"",i,r,u)};n.fn.error=function(){var n=Array.prototype.slice.call(arguments,0);return(r("jQuery.fn.error() is deprecated"),n.splice(0,0,"error"),arguments.length)?this.bind.apply(this,n):(this.triggerHandler.apply(this,n),this)};n.fn.toggle=function(t,i){if(!n.isFunction(t)||!n.isFunction(i))return ct.apply(this,arguments);r("jQuery.fn.toggle(handler, handler...) is deprecated");var u=arguments,e=t.guid||n.guid++,f=0,o=function(i){var r=(n._data(this,"lastToggle"+t.guid)||0)%f;return n._data(this,"lastToggle"+t.guid,r+1),i.preventDefault(),u[r].apply(this,arguments)||!1};for(o.guid=e;f<u.length;)u[f++].guid=e;return this.click(o)};n.fn.live=function(t,i,u){if(r("jQuery.fn.live() is deprecated"),y)return y.apply(this,arguments);n(this.context).on(t,this.selector,i,u);return this};n.fn.die=function(t,i){return(r("jQuery.fn.die() is deprecated"),p)?p.apply(this,arguments):(n(this.context).off(t,this.selector||"**",i),this)};n.event.trigger=function(n,t,i,u){return i||b.test(n)||r("Global events are undocumented and deprecated"),ht.call(this,n,t,i||document,u)};n.each(w.split("|"),function(t,i){n.event.special[i]={setup:function(){var t=this;return t!==document&&(n.event.add(document,i+"."+n.guid,function(){n.event.trigger(i,null,t,!0)}),n._data(this,i,n.guid++)),!1},teardown:function(){return this!==document&&n.event.remove(document,i+"."+n._data(this,i)),!1}}})}(jQuery,window);"undefined"==typeof jwplayer&&(jwplayer=function(){if(jwplayer.api)return jwplayer.api.selectPlayer.apply(this,arguments)},jwplayer.version="6.12.4950",jwplayer.vid=document.createElement("video"),jwplayer.audio=document.createElement("audio"),jwplayer.source=document.createElement("source"),function(){var u={},t=Array.prototype,f=Object.prototype,r=t.slice,h=t.concat,s=f.toString,w=f.hasOwnProperty,c=t.map,l=t.forEach,a=t.filter,v=t.every,e=t.some,y=t.indexOf,f=Array.isArray,p=Object.keys,n=function(t){return t instanceof n?t:this instanceof n?void 0:new n(t)},i=n.each=n.forEach=function(t,i,r){var f,e;if(null==t)return t;if(l&&t.forEach===l)t.forEach(i,r);else if(t.length===+t.length){for(f=0,e=t.length;f<e;f++)if(i.call(r,t[f],f,t)===u)return}else for(var o=n.keys(t),f=0,e=o.length;f<e;f++)if(i.call(r,t[o[f]],o[f],t)===u)return;return t},o;n.map=n.collect=function(n,t,r){var u=[];return null==n?u:c&&n.map===c?n.map(t,r):(i(n,function(n,i,f){u.push(t.call(r,n,i,f))}),u)};n.find=n.detect=function(n,t,i){var r;return o(n,function(n,u,f){if(t.call(i,n,u,f))return r=n,!0}),r};n.filter=n.select=function(n,t,r){var u=[];return null==n?u:a&&n.filter===a?n.filter(t,r):(i(n,function(n,i,f){t.call(r,n,i,f)&&u.push(n)}),u)};n.every=n.all=function(t,r,f){r||(r=n.identity);var e=!0;return null==t?e:v&&t.every===v?t.every(r,f):(i(t,function(n,t,i){if(!(e=e&&r.call(f,n,t,i)))return u}),!!e)};o=n.some=n.any=function(t,r,f){r||(r=n.identity);var o=!1;return null==t?o:e&&t.some===e?t.some(r,f):(i(t,function(n,t,i){if(o||(o=r.call(f,n,t,i)))return u}),!!o)};n.size=function(t){return null==t?0:t.length===+t.length?t.length:n.keys(t).length};n.after=function(n,t){return function(){if(1>--n)return t.apply(this,arguments)}};n.sortedIndex=function(t,i,r,u){var f,e,o;for(r=null==r?n.identity:n.isFunction(r)?r:n.property(r),i=r.call(u,i),f=0,e=t.length;f<e;)o=f+e>>>1,r.call(u,t[o])<i?f=o+1:e=o;return f};n.find=n.detect=function(n,t,i){var r;return o(n,function(n,u,f){if(t.call(i,n,u,f))return r=n,!0}),r};o=n.some=n.any=function(t,r,f){r||(r=n.identity);var o=!1;return null==t?o:e&&t.some===e?t.some(r,f):(i(t,function(n,t,i){if(o||(o=r.call(f,n,t,i)))return u}),!!o)};n.contains=n.include=function(t,i){return null==t?!1:(t.length!==+t.length&&(t=n.values(t)),0<=n.indexOf(t,i))};n.where=function(t,i){return n.filter(t,n.matches(i))};n.difference=function(i){var u=h.apply(t,r.call(arguments,1));return n.filter(i,function(t){return!n.contains(u,t)})};n.without=function(t){return n.difference(t,r.call(arguments,1))};n.indexOf=function(t,i,r){if(null==t)return-1;var u=0,f=t.length;if(r)if("number"==typeof r)u=0>r?Math.max(0,f+r):r;else return u=n.sortedIndex(t,i),t[u]===i?u:-1;if(y&&t.indexOf===y)return t.indexOf(i,r);for(;u<f;u++)if(t[u]===i)return u;return-1};n.partial=function(t){var i=r.call(arguments,1);return function(){for(var f=0,r=i.slice(),u=0,e=r.length;u<e;u++)r[u]===n&&(r[u]=arguments[f++]);for(;f<arguments.length;)r.push(arguments[f++]);return t.apply(this,r)}};n.memoize=function(t,i){var r={};return i||(i=n.identity),function(){var u=i.apply(this,arguments);return n.has(r,u)?r[u]:r[u]=t.apply(this,arguments)}};n.delay=function(n,t){var i=r.call(arguments,2);return setTimeout(function(){return n.apply(null,i)},t)};n.defer=function(t){return n.delay.apply(n,[t,1].concat(r.call(arguments,1)))};n.keys=function(t){if(!n.isObject(t))return[];if(p)return p(t);var r=[],i;for(i in t)n.has(t,i)&&r.push(i);return r};n.pick=function(n){var u={},f=h.apply(t,r.call(arguments,1));return i(f,function(t){t in n&&(u[t]=n[t])}),u};n.isArray=f||function(n){return"[object Array]"==s.call(n)};n.isObject=function(n){return n===Object(n)};i("Arguments Function String Number Date RegExp".split(" "),function(t){n["is"+t]=function(n){return s.call(n)=="[object "+t+"]"}});n.isArguments(arguments)||(n.isArguments=function(t){return!(!t||!n.has(t,"callee"))});"function"!=typeof/./&&(n.isFunction=function(n){return"function"==typeof n});n.isFinite=function(n){return isFinite(n)&&!isNaN(parseFloat(n))};n.isNaN=function(t){return n.isNumber(t)&&t!=+t};n.isBoolean=function(n){return!0===n||!1===n||"[object Boolean]"==s.call(n)};n.isNull=function(n){return null===n};n.isUndefined=function(n){return void 0===n};n.has=function(n,t){return w.call(n,t)};n.identity=function(n){return n};n.constant=function(n){return function(){return n}};n.property=function(n){return function(t){return t[n]}};n.matches=function(n){return function(t){if(t===n)return!0;for(var i in n)if(n[i]!==t[i])return!1;return!0}};n.result=function(t,i){if(null!=t){var r=t[i];return n.isFunction(r)?r.call(t):r}};this._=n}.call(jwplayer),function(n){function u(n){return function(){return i(n)}}function o(n,i,r,u,f){return function(){var e,o;if(f)r(n);else{try{if((e=n.responseXML)&&(o=e.firstChild,e.lastChild&&"parsererror"===e.lastChild.nodeName)){u&&u("Invalid XML",i,n);return}}catch(s){}if(e&&o)return r(n);(e=t.parseXML(n.responseText))&&e.firstChild?(n=t.extend({},n,{responseXML:e}),r(n)):u&&u(n.responseText?"Invalid XML":i,i,n)}}}var t=n.utils={},r=n._,f,i,e;t.exists=function(n){switch(typeof n){case"string":return 0<n.length;case"object":return null!==n;case"undefined":return!1}return!0};t.styleDimension=function(n){return n+(0<n.toString().indexOf("%")?"":"px")};t.getAbsolutePath=function(n,i){var u,e,r,o,f;if(t.exists(i)||(i=document.location.href),t.exists(n)){if(t.exists(n)?(u=n.indexOf("://"),e=n.indexOf("?"),u=0<u&&(0>e||e>u)):u=void 0,u)return n;for(u=i.substring(0,i.indexOf("://")+3),e=i.substring(u.length,i.indexOf("/",u.length+1)),0===n.indexOf("/")?r=n.split("/"):(r=i.split("?")[0],r=r.substring(u.length+e.length+1,r.lastIndexOf("/")),r=r.split("/").concat(n.split("/"))),o=[],f=0;f<r.length;f++)r[f]&&t.exists(r[f])&&"."!==r[f]&&(".."===r[f]?o.pop():o.push(r[f]));return u+e+"/"+o.join("/")}};t.extend=function(){var n=Array.prototype.slice.call(arguments,0);if(1<n.length){for(var r=n[0],u=function(n,t){void 0!==t&&null!==t&&(r[n]=t)},i=1;i<n.length;i++)t.foreach(n[i],u);return r}return null};f=window.console=window.console||{log:function(){}};t.log=function(){var n=Array.prototype.slice.call(arguments,0);"object"==typeof f.log?f.log(n):f.log.apply(f,n)};i=r.memoize(function(n){return null!==navigator.userAgent.toLowerCase().match(n)});t.isFF=u(/firefox/i);t.isChrome=u(/chrome/i);t.isIPod=u(/iP(hone|od)/i);t.isIPad=u(/iPad/i);t.isSafari602=u(/Macintosh.*Mac OS X 10_8.*6\.0\.\d* Safari/i);t.isIETrident=function(n){return n?(n=parseFloat(n).toFixed(1),i(RegExp("trident/.+rv:\\s*"+n,"i"))):i(/trident/i)};t.isMSIE=function(n){return n?(n=parseFloat(n).toFixed(1),i(RegExp("msie\\s*"+n,"i"))):i(/msie/i)};t.isIE=function(n){return n?(n=parseFloat(n).toFixed(1),11<=n?t.isIETrident(n):t.isMSIE(n)):t.isMSIE()||t.isIETrident()};t.isSafari=function(){return i(/safari/i)&&!i(/chrome/i)&&!i(/chromium/i)&&!i(/android/i)};t.isIOS=function(n){return n?i(RegExp("iP(hone|ad|od).+\\sOS\\s"+n,"i")):i(/iP(hone|ad|od)/i)};t.isAndroidNative=function(n){return t.isAndroid(n,!0)};t.isAndroid=function(n,r){return r&&i(/chrome\/[123456789]/i)&&!i(/chrome\/18/)?!1:n?(t.isInt(n)&&!/\./.test(n)&&(n=""+n+"."),i(RegExp("Android\\s*"+n,"i"))):i(/Android/i)};t.isMobile=function(){return t.isIOS()||t.isAndroid()};t.isIframe=function(){return window.frameElement&&"IFRAME"===window.frameElement.nodeName};t.saveCookie=function(n,t){document.cookie="jwplayer."+n+"="+t+"; path=/"};t.getCookies=function(){for(var n,i={},r=document.cookie.split("; "),t=0;t<r.length;t++)n=r[t].split("="),0===n[0].indexOf("jwplayer.")&&(i[n[0].substring(9,n[0].length)]=n[1]);return i};t.isInt=function(n){return 0==parseFloat(n)%1};t.typeOf=function(n){if(null===n)return"null";var t=typeof n;return"object"===t&&r.isArray(n)?"array":t};t.translateEventResponse=function(i,r){var u=t.extend({},r),f;return i!==n.events.JWPLAYER_FULLSCREEN||u.fullscreen?"object"==typeof u.data?(f=u.data,delete u.data,u=t.extend(u,f)):"object"==typeof u.metadata&&t.deepReplaceKeyName(u.metadata,["__dot__","__spc__","__dsh__","__default__"],["."," ","-","default"]):(u.fullscreen="true"===u.message,delete u.message),t.foreach(["position","duration","offset"],function(n,t){u[t]&&(u[t]=Math.round(1e3*u[t])/1e3)}),u};t.flashVersion=function(){if(t.isAndroid())return 0;var i=navigator.plugins,n;try{if("undefined"!==i&&(n=i["Shockwave Flash"]))return parseInt(n.description.replace(/\D+(\d+)\..*/,"$1"),10)}catch(r){}if("undefined"!=typeof window.ActiveXObject)try{if(n=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash"))return parseInt(n.GetVariable("$version").split(" ")[1].split(",")[0],10)}catch(u){}return 0};t.getScriptPath=function(n){for(var t,r=document.getElementsByTagName("script"),i=0;i<r.length;i++)if(t=r[i].src,t&&0<=t.indexOf(n))return t.substr(0,t.indexOf(n));return""};t.deepReplaceKeyName=function(i,r,u){switch(n.utils.typeOf(i)){case"array":for(var f=0;f<i.length;f++)i[f]=n.utils.deepReplaceKeyName(i[f],r,u);break;case"object":t.foreach(i,function(t,f){var s,e,o;if(r instanceof Array&&u instanceof Array){if(r.length!==u.length)return;s=r}else s=[r];for(e=t,o=0;o<s.length;o++)e=e.replace(RegExp(r[o],"g"),u[o]);i[e]=n.utils.deepReplaceKeyName(f,r,u);t!==e&&delete i[t]})}return i};e=t.pluginPathType={ABSOLUTE:0,RELATIVE:1,CDN:2};t.getPluginPathType=function(n){var i,r;if("string"==typeof n)return(n=n.split("?")[0],i=n.indexOf("://"),0<i)?e.ABSOLUTE:(r=n.indexOf("/"),n=t.extension(n),0>i&&0>r&&(!n||!isNaN(n))?e.CDN:e.RELATIVE)};t.getPluginName=function(n){return n.replace(/^(.*\/)?([^-]*)-?.*\.(swf|js)$/,"$2")};t.getPluginVersion=function(n){return n.replace(/[^-]*-?([^\.]*).*$/,"$1")};t.isYouTube=function(n,t){return"youtube"===t||/^(http|\/\/).*(youtube\.com|youtu\.be)\/.+/.test(n)};t.youTubeID=function(n){try{return/v[=\/]([^?&]*)|youtu\.be\/([^?]*)|^([\w-]*)$/i.exec(n).slice(1).join("").replace("?","")}catch(t){return""}};t.isRtmp=function(n,t){return 0===n.indexOf("rtmp")||"rtmp"===t};t.foreach=function(n,i){var r,u;for(r in n)"function"===t.typeOf(n.hasOwnProperty)?n.hasOwnProperty(r)&&(u=n[r],i(r,u)):(u=n[r],i(r,u))};t.isHTTPS=function(){return 0===window.location.href.indexOf("https")};t.repo=function(){var i="http://p.jwpcdn.com/"+n.version.split(/\W/).splice(0,2).join("/")+"/";try{t.isHTTPS()&&(i=i.replace("http://","https://ssl."))}catch(r){}return i};t.versionCheck=function(t){t=("0"+t).split(/\W/);var i=n.version.split(/\W/),r=parseFloat(t[0]),u=parseFloat(i[0]);return r>u||r===u&&parseFloat("0"+t[1])>parseFloat(i[1])?!1:!0};t.ajax=function(n,i,r,u){var f,h=!1,e,s,c,l;if(0<n.indexOf("#")&&(n=n.replace(/#.*$/,"")),n&&0<=n.indexOf("://")&&n.split("/")[2]!==window.location.href.split("/")[2]&&t.exists(window.XDomainRequest))f=new window.XDomainRequest,f.onload=o(f,n,i,r,u),f.ontimeout=f.onprogress=function(){},f.timeout=5e3;else if(t.exists(window.XMLHttpRequest))e=f=new window.XMLHttpRequest,s=n,f.onreadystatechange=function(){if(4===e.readyState)switch(e.status){case 200:o(e,s,i,r,u)();break;case 404:r("File not found",s,e)}};else return r&&r("",n,f),f;f.overrideMimeType&&f.overrideMimeType("text/xml");c=n;l=f;f.onerror=function(){r("Error loading file",c,l)};try{f.open("GET",n,!0)}catch(a){h=!0}return setTimeout(function(){if(h)r&&r(n,n,f);else try{f.send()}catch(t){r&&r(n,n,f)}},0),f};t.parseXML=function(n){var t;try{if(window.DOMParser){if(t=(new window.DOMParser).parseFromString(n,"text/xml"),t.childNodes&&t.childNodes.length&&"parsererror"===t.childNodes[0].firstChild.nodeName)return}else t=new window.ActiveXObject("Microsoft.XMLDOM"),t.async="false",t.loadXML(n)}catch(i){return}return t};t.between=function(n,t,i){return Math.max(Math.min(n,i),t)};t.seconds=function(n){if(r.isNumber(n))return n;n=n.replace(",",".");var t=n.split(":"),i=0;return"s"===n.slice(-1)?i=parseFloat(n):"m"===n.slice(-1)?i=60*parseFloat(n):"h"===n.slice(-1)?i=3600*parseFloat(n):1<t.length?(i=parseFloat(t[t.length-1]),i+=60*parseFloat(t[t.length-2]),3===t.length&&(i+=3600*parseFloat(t[t.length-3]))):i=parseFloat(n),i};t.serialize=function(n){return null===n?null:"true"===n.toString().toLowerCase()?!0:"false"===n.toString().toLowerCase()?!1:isNaN(Number(n))||5<n.length||0===n.length?n:Number(n)};t.addClass=function(n,i){var u=r.isString(n.className)?n.className.split(" "):[],f=r.isArray(i)?i:i.split(" ");r.each(f,function(n){r.contains(u,n)||u.push(n)});n.className=t.trim(u.join(" "))};t.removeClass=function(n,i){var u=r.isString(n.className)?n.className.split(" "):[],f=r.isArray(i)?i:i.split(" ");n.className=t.trim(r.difference(u,f).join(" "))};t.emptyElement=function(n){for(;n.firstChild;)n.removeChild(n.firstChild)};t.indexOf=r.indexOf;t.noop=function(){};t.canCast=function(){var t=n.cast;return!(!t||!r.isFunction(t.available)||!t.available())}}(jwplayer),function(n){function s(n){var t=document.createElement("style");return n&&t.appendChild(document.createTextNode(n)),t.type="text/css",document.getElementsByTagName("head")[0].appendChild(t),t}function h(n,t,r){return i.exists(t)?(r=r?" !important":"","string"==typeof t&&isNaN(t)?/png|gif|jpe?g/i.test(t)&&0>t.indexOf("url")?"url("+t+")":t+r:0===t||"z-index"===n||"opacity"===n?""+t+r:/color/i.test(n)?"#"+i.pad(t.toString(16).replace(/^0x/i,""),6)+r:Math.ceil(t)+"px"+r):""}function c(n,t){for(var u,f,i,r,e=0;e<n.length;e++)if(u=n[e],void 0!==u&&null!==u)for(f in t){for(i=f,i=i.split("-"),r=1;r<i.length;r++)i[r]=i[r].charAt(0).toUpperCase()+i[r].slice(1);i=i.join("");u.style[i]!==t[f]&&(u.style[i]=t[f])}}function o(n){var u=e[n].sheet,r,t,i,o,s;if(u){r=u.cssRules;t=l[n];i=n;o=f[i];i+=" { ";for(s in o)i+=s+": "+o[s]+"; ";if(i+="}",void 0!==t&&t<r.length&&r[t].selectorText===n){if(i===r[t].cssText)return;u.deleteRule(t)}else t=r.length,l[n]=t;try{u.insertRule(i,t)}catch(h){}}}var i=n.utils,e={},u,f={},t=null,l={},r;i.cssKeyframes=function(n,t){var i=e.keyframes,r;i||(i=s(),e.keyframes=i);i=i.sheet;r="@keyframes "+n+" { "+t+" }";try{i.insertRule(r,i.cssRules.length)}catch(u){}r=r.replace(/(keyframes|transform)/g,"-webkit-$1");try{i.insertRule(r,i.cssRules.length)}catch(f){}};r=i.css=function(n,i,r){var l,a,c,v;f[n]||(f[n]={});l=f[n];r=r||!1;a=!1;for(c in i)v=h(c,i[c],r),""!==v?v!==l[c]&&(l[c]=v,a=!0):void 0!==l[c]&&(delete l[c],a=!0);a&&(e[n]||(i=u&&u.sheet&&u.sheet.cssRules&&u.sheet.cssRules.length||0,(!u||5e4<i)&&(u=s()),e[n]=u),null!==t?t.styleSheets[n]=f[n]:o(n))};r.style=function(i,r,u){var f,e,o;if(!(void 0===i||null===i)){void 0===i.length&&(i=[i]);f={};for(e in r)f[e]=h(e,r[e]);if(null===t||u)c(i,f);else{r=(r=i.__cssRules)||{};for(o in f)r[o]=f[o];i.__cssRules=r;0>n._.indexOf(t.elements,i)&&t.elements.push(i)}}};r.block=function(n){null===t&&(t={id:n,styleSheets:{},elements:[]})};r.unblock=function(n){if(t&&(!n||t.id===n)){for(var i in t.styleSheets)o(i);for(n=0;n<t.elements.length;n++)i=t.elements[n],c(i,i.__cssRules);t=null}};i.clearCss=function(n){var t,i;for(t in f)0<=t.indexOf(n)&&delete f[t];for(i in e)0<=i.indexOf(n)&&o(i)};i.transform=function(n,t){var i={};t=t||"";i.transform=t;i["-webkit-transform"]=t;i["-ms-transform"]=t;i["-moz-transform"]=t;i["-o-transform"]=t;"string"==typeof n?r(n,i):r.style(n,i)};i.dragStyle=function(n,t){r(n,{"-webkit-user-select":t,"-moz-user-select":t,"-ms-user-select":t,"-webkit-user-drag":t,"user-select":t,"user-drag":t})};i.transitionStyle=function(n,t){navigator.userAgent.match(/5\.\d(\.\d)? safari/i)||r(n,{"-webkit-transition":t,"-moz-transition":t,"-o-transition":t,transition:t})};i.rotate=function(n,t){i.transform(n,"rotate("+t+"deg)")};i.rgbHex=function(n){return n=String(n).replace("#",""),3===n.length&&(n=n[0]+n[0]+n[1]+n[1]+n[2]+n[2]),"#"+n.substr(-6)};i.hexToRgba=function(n,t){var i="rgb",r=[parseInt(n.substr(1,2),16),parseInt(n.substr(3,2),16),parseInt(n.substr(5,2),16)];return void 0!==t&&100!==t&&(i+="a",r.push(t/100)),i+"("+r.join(",")+")"}}(jwplayer),function(n){var f=jwplayer._,r=n.foreach,t={mp4:"video/mp4",ogg:"video/ogg",oga:"audio/ogg",vorbis:"audio/ogg",webm:"video/webm",aac:"audio/mp4",mp3:"audio/mpeg",hls:"application/vnd.apple.mpegurl"},u={mp4:t.mp4,f4v:t.mp4,m4v:t.mp4,mov:t.mp4,m4a:t.aac,f4a:t.aac,aac:t.aac,mp3:t.mp3,ogv:t.ogg,ogg:t.ogg,oga:t.vorbis,vorbis:t.vorbis,webm:t.webm,m3u8:t.hls,m3u:t.hls,hls:t.hls},i=n.extensionmap={};r(u,function(n,t){i[n]={html5:t}});r({flv:"video",f4v:"video",mov:"video",m4a:"video",m4v:"video",mp4:"video",aac:"video",f4a:"video",mp3:"sound",smil:"rtmp",m3u8:"hls",hls:"hls"},function(n,t){i[n]||(i[n]={});i[n].flash=t});i.types=t;i.mimeType=function(n){var i;return f.find(t,function(t,r){if(t===n)return i=r,!0}),i};i.extType=function(n){return i.mimeType(u[n])}}(jwplayer.utils),function(n){var t=n.loaderstatus={NEW:0,LOADING:1,ERROR:2,COMPLETE:3};n.scriptloader=function(i){function f(n){r=t.ERROR;o.sendEvent(u.ERROR,n)}function e(n){r=t.COMPLETE;o.sendEvent(u.COMPLETE,n)}var u=jwplayer.events,o=n.extend(this,new u.eventdispatcher),r=t.NEW;this.load=function(){var s;if(r===t.NEW){if(s=n.scriptloader.loaders[i],s&&(r=s.getStatus(),2>r)){s.addEventListener(u.ERROR,f);s.addEventListener(u.COMPLETE,e);return}var h=document.getElementsByTagName("head")[0]||document.documentElement,o=document.createElement("script"),c=!1;o.onload=o.onreadystatechange=function(n){c||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(c=!0,e(n),o.onload=o.onreadystatechange=null,h&&o.parentNode&&h.removeChild(o))};o.onerror=f;o.src=i;h.insertBefore(o,h.firstChild);r=t.LOADING;n.scriptloader.loaders[i]=this}};this.getStatus=function(){return r}};n.scriptloader.loaders={}}(jwplayer.utils),function(n){n.trim=function(n){return n.replace(/^\s+|\s+$/g,"")};n.pad=function(n,t,i){for(i||(i="0");n.length<t;)n=i+n;return n};n.xmlAttribute=function(n,t){for(var i=0;i<n.attributes.length;i++)if(n.attributes[i].name&&n.attributes[i].name.toLowerCase()===t.toLowerCase())return n.attributes[i].value.toString();return""};n.extension=function(n){if(!n||"rtmp"===n.substr(0,4))return"";var t;return(t=-1<n.indexOf("(format=m3u8-")?"m3u8":!1,t)?t:(n=n.substring(n.lastIndexOf("/")+1,n.length).split("?")[0].split("#")[0],-1<n.lastIndexOf(".")?n.substr(n.lastIndexOf(".")+1,n.length).toLowerCase():void 0)};n.stringToColor=function(n){return n=n.replace(/(#|0x)?([0-9A-F]{3,6})$/gi,"$2"),3===n.length&&(n=n.charAt(0)+n.charAt(0)+n.charAt(1)+n.charAt(1)+n.charAt(2)+n.charAt(2)),parseInt(n,16)}}(jwplayer.utils),function(n){var t="touchmove",i="touchstart";n.touch=function(r){function h(n){n.type===i?(e=!0,u=l(f.DRAG_START,n)):n.type===t?e&&(o||(s(f.DRAG_START,n,u),o=!0),s(f.DRAG,n)):(e&&(o?s(f.DRAG_END,n):(n.cancelBubble=!0,s(f.TAP,n))),e=o=!1,u=null)}function s(n,t,i){c[n]&&(t.preventManipulation&&t.preventManipulation(),t.preventDefault&&t.preventDefault(),t=i?i:l(n,t))&&c[n](t)}function l(n,t){var i=null,r;return(t.touches&&t.touches.length?i=t.touches[0]:t.changedTouches&&t.changedTouches.length&&(i=t.changedTouches[0]),!i)?null:(r=a.getBoundingClientRect(),i={type:n,target:a,x:i.pageX-window.pageXOffset-r.left,y:i.pageY,deltaX:0,deltaY:0},n!==f.TAP&&u&&(i.deltaX=i.x-u.x,i.deltaY=i.y-u.y),i)}var a=r,e=!1,c={},u=null,o=!1,f=n.touchEvents;return document.addEventListener(t,h),document.addEventListener("touchend",function(n){e&&o&&s(f.DRAG_END,n);e=o=!1;u=null}),document.addEventListener("touchcancel",h),r.addEventListener(i,h),r.addEventListener("touchend",h),this.addEventListener=function(n,t){c[n]=t},this.removeEventListener=function(n){delete c[n]},this}}(jwplayer.utils),function(n){n.touchEvents={DRAG:"jwplayerDrag",DRAG_START:"jwplayerDragStart",DRAG_END:"jwplayerDragEnd",TAP:"jwplayerTap"}}(jwplayer.utils),function(n){n.key=function(t){var i,f,u,r;this.edition=function(){return u&&u.getTime()<+new Date?"invalid":i};this.token=function(){return f};n.exists(t)||(t="");try{t=n.tea.decrypt(t,"36QXq4W@GSBV^teR");r=t.split("/");(i=r[0])?/^(free|pro|premium|enterprise|ads)$/i.test(i)?(f=r[1],r[2]&&0<parseInt(r[2])&&(u=new Date,u.setTime(String(r[2])))):i="invalid":i="free"}catch(e){i="invalid"}}}(jwplayer.utils),function(n){var t=n.tea={},r,i;t.encrypt=function(n,u){var f,e;if(0==n.length)return"";f=t.strToLongs(i.encode(n));1>=f.length&&(f[1]=0);for(var a=t.strToLongs(i.encode(u).slice(0,16)),s=f.length,o=f[s-1],h=f[0],l,v=Math.floor(6+52/s),c=0;0<v--;)for(c+=2654435769,l=c>>>2&3,e=0;e<s;e++)h=f[(e+1)%s],o=(o>>>5^h<<2)+(h>>>3^o<<4)^(c^h)+(a[e&3^l]^o),o=f[e]+=o;return f=t.longsToStr(f),r.encode(f)};t.decrypt=function(n,u){var e;if(0==n.length)return"";for(var f=t.strToLongs(r.decode(n)),a=t.strToLongs(i.encode(u).slice(0,16)),s=f.length,o=f[s-1],h=f[0],l,c=2654435769*Math.floor(6+52/s);0!=c;){for(l=c>>>2&3,e=s-1;0<=e;e--)o=f[0<e?e-1:s-1],o=(o>>>5^h<<2)+(h>>>3^o<<4)^(c^h)+(a[e&3^l]^o),h=f[e]-=o;c-=2654435769}return f=t.longsToStr(f),f=f.replace(/\0+$/,""),i.decode(f)};t.strToLongs=function(n){for(var i=Array(Math.ceil(n.length/4)),t=0;t<i.length;t++)i[t]=n.charCodeAt(4*t)+(n.charCodeAt(4*t+1)<<8)+(n.charCodeAt(4*t+2)<<16)+(n.charCodeAt(4*t+3)<<24);return i};t.longsToStr=function(n){for(var i=Array(n.length),t=0;t<n.length;t++)i[t]=String.fromCharCode(n[t]&255,n[t]>>>8&255,n[t]>>>16&255,n[t]>>>24&255);return i.join("")};r={code:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(n,t){var s,h,c,e,o=[],a="",u,f,l=r.code;if(f=("undefined"==typeof t?0:t)?i.encode(n):n,u=f.length%3,0<u)for(;3>u++;)a+="=",f+="\x00";for(u=0;u<f.length;u+=3)s=f.charCodeAt(u),h=f.charCodeAt(u+1),c=f.charCodeAt(u+2),e=s<<16|h<<8|c,s=e>>18&63,h=e>>12&63,c=e>>6&63,e&=63,o[u/3]=l.charAt(s)+l.charAt(h)+l.charAt(c)+l.charAt(e);return o=o.join(""),o=o.slice(0,o.length-a.length)+a},decode:function(n,t){var f,s,h,e,a,c,o,l,u;for(t="undefined"==typeof t?!1:t,c=[],l=r.code,o=t?i.decode(n):n,u=0;u<o.length;u+=4)f=l.indexOf(o.charAt(u)),s=l.indexOf(o.charAt(u+1)),e=l.indexOf(o.charAt(u+2)),a=l.indexOf(o.charAt(u+3)),h=f<<18|s<<12|e<<6|a,f=h>>>16&255,s=h>>>8&255,h&=255,c[u/4]=String.fromCharCode(f,s,h),64==a&&(c[u/4]=String.fromCharCode(f,s)),64==e&&(c[u/4]=String.fromCharCode(f));return e=c.join(""),t?i.decode(e):e}};i={encode:function(n){return n=n.replace(/[\u0080-\u07ff]/g,function(n){return n=n.charCodeAt(0),String.fromCharCode(192|n>>6,128|n&63)}),n=n.replace(/[\u0800-\uffff]/g,function(n){return n=n.charCodeAt(0),String.fromCharCode(224|n>>12,128|n>>6&63,128|n&63)})},decode:function(n){return n=n.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(n){return n=(n.charCodeAt(0)&15)<<12|(n.charCodeAt(1)&63)<<6|n.charCodeAt(2)&63,String.fromCharCode(n)}),n=n.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(n){return n=(n.charCodeAt(0)&31)<<6|n.charCodeAt(1)&63,String.fromCharCode(n)})}}}(jwplayer.utils),function(n){n.events={COMPLETE:"COMPLETE",ERROR:"ERROR",API_READY:"jwplayerAPIReady",JWPLAYER_READY:"jwplayerReady",JWPLAYER_FULLSCREEN:"jwplayerFullscreen",JWPLAYER_RESIZE:"jwplayerResize",JWPLAYER_ERROR:"jwplayerError",JWPLAYER_SETUP_ERROR:"jwplayerSetupError",JWPLAYER_MEDIA_BEFOREPLAY:"jwplayerMediaBeforePlay",JWPLAYER_MEDIA_BEFORECOMPLETE:"jwplayerMediaBeforeComplete",JWPLAYER_MEDIA_BUFFER:"jwplayerMediaBuffer",JWPLAYER_MEDIA_BUFFER_FULL:"jwplayerMediaBufferFull",JWPLAYER_MEDIA_ERROR:"jwplayerMediaError",JWPLAYER_MEDIA_LOADED:"jwplayerMediaLoaded",JWPLAYER_MEDIA_COMPLETE:"jwplayerMediaComplete",JWPLAYER_MEDIA_SEEK:"jwplayerMediaSeek",JWPLAYER_MEDIA_TIME:"jwplayerMediaTime",JWPLAYER_MEDIA_VOLUME:"jwplayerMediaVolume",JWPLAYER_MEDIA_META:"jwplayerMediaMeta",JWPLAYER_MEDIA_MUTE:"jwplayerMediaMute",JWPLAYER_AUDIO_TRACKS:"jwplayerAudioTracks",JWPLAYER_AUDIO_TRACK_CHANGED:"jwplayerAudioTrackChanged",JWPLAYER_MEDIA_LEVELS:"jwplayerMediaLevels",JWPLAYER_MEDIA_LEVEL_CHANGED:"jwplayerMediaLevelChanged",JWPLAYER_CAPTIONS_CHANGED:"jwplayerCaptionsChanged",JWPLAYER_CAPTIONS_LIST:"jwplayerCaptionsList",JWPLAYER_CAPTIONS_LOADED:"jwplayerCaptionsLoaded",JWPLAYER_PLAYER_STATE:"jwplayerPlayerState",state:{BUFFERING:"BUFFERING",IDLE:"IDLE",PAUSED:"PAUSED",PLAYING:"PLAYING"},JWPLAYER_PLAYLIST_LOADED:"jwplayerPlaylistLoaded",JWPLAYER_PLAYLIST_ITEM:"jwplayerPlaylistItem",JWPLAYER_PLAYLIST_COMPLETE:"jwplayerPlaylistComplete",JWPLAYER_DISPLAY_CLICK:"jwplayerViewClick",JWPLAYER_PROVIDER_CLICK:"jwplayerProviderClick",JWPLAYER_VIEW_TAB_FOCUS:"jwplayerViewTabFocus",JWPLAYER_CONTROLS:"jwplayerViewControls",JWPLAYER_USER_ACTION:"jwplayerUserAction",JWPLAYER_INSTREAM_CLICK:"jwplayerInstreamClicked",JWPLAYER_INSTREAM_DESTROYED:"jwplayerInstreamDestroyed",JWPLAYER_AD_TIME:"jwplayerAdTime",JWPLAYER_AD_ERROR:"jwplayerAdError",JWPLAYER_AD_CLICK:"jwplayerAdClicked",JWPLAYER_AD_COMPLETE:"jwplayerAdComplete",JWPLAYER_AD_IMPRESSION:"jwplayerAdImpression",JWPLAYER_AD_COMPANIONS:"jwplayerAdCompanions",JWPLAYER_AD_SKIPPED:"jwplayerAdSkipped",JWPLAYER_AD_PLAY:"jwplayerAdPlay",JWPLAYER_AD_PAUSE:"jwplayerAdPause",JWPLAYER_AD_META:"jwplayerAdMeta",JWPLAYER_CAST_AVAILABLE:"jwplayerCastAvailable",JWPLAYER_CAST_SESSION:"jwplayerCastSession",JWPLAYER_CAST_AD_CHANGED:"jwplayerCastAdChanged"}}(jwplayer),function(n){var t=n.utils;n.events.eventdispatcher=function(i,r){function e(n,i,r){var u,f;if(n)for(u=0;u<n.length;u++)if(f=n[u],f){null!==f.count&&0==--f.count&&delete n[u];try{f.listener(i)}catch(e){t.log('Error handling "'+r+'" event listener ['+u+"]: "+e.toString(),f.listener,i)}}}var u,f;this.resetEventListeners=function(){u={};f=[]};this.resetEventListeners();this.addEventListener=function(n,i,r){try{t.exists(u[n])||(u[n]=[]);"string"===t.typeOf(i)&&(i=new Function("return "+i)());u[n].push({listener:i,count:r||null})}catch(f){t.log("error",f)}return!1};this.removeEventListener=function(n,i){var r;if(u[n]){try{if(void 0===i){u[n]=[];return}for(r=0;r<u[n].length;r++)if(u[n][r].listener.toString()===i.toString()){u[n].splice(r,1);break}}catch(f){t.log("error",f)}return!1}};this.addGlobalListener=function(n,i){try{"string"===t.typeOf(n)&&(n=new Function("return "+n)());f.push({listener:n,count:i||null})}catch(r){t.log("error",r)}return!1};this.removeGlobalListener=function(n){if(n){try{for(var i=f.length;i--;)f[i].listener.toString()===n.toString()&&f.splice(i,1)}catch(r){t.log("error",r)}return!1}};this.sendEvent=function(o,s){t.exists(s)||(s={});t.extend(s,{id:i,version:n.version,type:o});r&&t.log(o,s);e(u[o],s,o);e(f,s,o)}}}(window.jwplayer),function(n){var t={},i={};n.plugins=function(){};n.plugins.loadPlugins=function(r,u){return i[r]=new n.plugins.pluginloader(new n.plugins.model(t),u)};n.plugins.registerPlugin=function(i,r,u,f){var e=n.utils.getPluginName(i);t[e]||(t[e]=new n.plugins.plugin(i));t[e].registerPlugin(i,r,u,f)}}(jwplayer),function(n){n.plugins.model=function(t){this.addPlugin=function(i){var r=n.utils.getPluginName(i);return t[r]||(t[r]=new n.plugins.plugin(i)),t[r]};this.getPlugins=function(){return t}}}(jwplayer),function(n){var t=jwplayer.utils,i=jwplayer.events;n.pluginmodes={FLASH:0,JAVASCRIPT:1,HYBRID:2};n.plugin=function(r){function h(){switch(t.getPluginPathType(r)){case t.pluginPathType.ABSOLUTE:return r;case t.pluginPathType.RELATIVE:return t.getAbsolutePath(r,window.location.href)}}function l(){s=setTimeout(function(){f=t.loaderstatus.COMPLETE;o.sendEvent(i.COMPLETE)},1e3)}function a(){f=t.loaderstatus.ERROR;o.sendEvent(i.ERROR,{url:r})}var f=t.loaderstatus.NEW,u,e,c,s,o=new i.eventdispatcher;t.extend(this,o);this.load=function(){if(f===t.loaderstatus.NEW)if(0<r.lastIndexOf(".swf"))u=r,f=t.loaderstatus.COMPLETE,o.sendEvent(i.COMPLETE);else if(t.getPluginPathType(r)===t.pluginPathType.CDN)f=t.loaderstatus.COMPLETE,o.sendEvent(i.COMPLETE);else{f=t.loaderstatus.LOADING;var n=new t.scriptloader(h());n.addEventListener(i.COMPLETE,l);n.addEventListener(i.ERROR,a);n.load()}};this.registerPlugin=function(n,r,h,l){s&&(clearTimeout(s),s=void 0);c=r;h&&l?(u=l,e=h):"string"==typeof h?u=h:"function"==typeof h?e=h:!h&&!l&&(u=n);f=t.loaderstatus.COMPLETE;o.sendEvent(i.COMPLETE)};this.getStatus=function(){return f};this.getPluginName=function(){return t.getPluginName(r)};this.getFlashPath=function(){if(u)switch(t.getPluginPathType(u)){case t.pluginPathType.ABSOLUTE:return u;case t.pluginPathType.RELATIVE:return 0<r.lastIndexOf(".swf")?t.getAbsolutePath(u,window.location.href):t.getAbsolutePath(u,h())}return null};this.getJS=function(){return e};this.getTarget=function(){return c};this.getPluginmode=function(){return"undefined"!=typeof u&&"undefined"!=typeof e?n.pluginmodes.HYBRID:"undefined"!=typeof u?n.pluginmodes.FLASH:"undefined"!=typeof e?n.pluginmodes.JAVASCRIPT:void 0};this.getNewInstance=function(n,t,i){return new e(n,t,i)};this.getURL=function(){return r}}}(jwplayer.plugins),function(n){var t=n.utils,i=n.events,r=n._,u=t.foreach;n.plugins.pluginloader=function(n,f){function a(){c||(c=!0,h=t.loaderstatus.COMPLETE,e.sendEvent(i.COMPLETE))}function s(){if(!l&&((!o||0===r.keys(o).length)&&a(),!c)){var u=n.getPlugins();y=r.after(p,a);t.foreach(o,function(n){var f,r;n=t.getPluginName(n);r=u[n];n=r.getJS();f=r.getTarget();r=r.getStatus();r===t.loaderstatus.LOADING||r===t.loaderstatus.NEW||(n&&!t.versionCheck(f)&&e.sendEvent(i.ERROR,{message:"Incompatible player version"}),y())})}}function v(n){l||(e.sendEvent(i.ERROR,{message:"File not found"}),n.url&&t.log("File not found",n.url),s())}var h=t.loaderstatus.NEW,c=!1,o=f,p=r.size(o),y,l=!1,e=new i.eventdispatcher;t.extend(this,e);this.setupPlugins=function(i,r,f){var e={length:0,plugins:{}},s=0,o={},h=n.getPlugins();return u(r.plugins,function(n,u){var l=t.getPluginName(n),a=h[l],v=a.getFlashPath(),p=a.getJS(),y=a.getURL(),c;v&&(e.plugins[v]=t.extend({},u),e.plugins[v].pluginmode=a.getPluginmode(),e.length++);try{if(p&&r.plugins&&r.plugins[y]){c=document.createElement("div");c.id=i.id+"_"+l;c.style.position="absolute";c.style.top=0;c.style.zIndex=s+10;o[l]=a.getNewInstance(i,t.extend({},r.plugins[y]),c);s++;i.onReady(f(o[l],c,!0));i.onResize(f(o[l],c))}}catch(w){t.log("ERROR: Failed to load "+l+".")}}),i.plugins=o,e};this.load=function(){if(!(t.exists(f)&&"object"!==t.typeOf(f))){h=t.loaderstatus.LOADING;u(f,function(r){t.exists(r)&&(r=n.addPlugin(r),r.addEventListener(i.COMPLETE,s),r.addEventListener(i.ERROR,v))});var r=n.getPlugins();u(r,function(n,t){t.load()})}s()};this.destroy=function(){l=!0;e&&(e.resetEventListeners(),e=null)};this.pluginFailed=v;this.getStatus=function(){return h}}}(jwplayer),function(n){n.parsers={localName:function(n){return n?n.localName?n.localName:n.baseName?n.baseName:"":""},textContent:function(t){return t?t.textContent?n.utils.trim(t.textContent):t.text?n.utils.trim(t.text):"":""},getChildNode:function(n,t){return n.childNodes[t]},numChildren:function(n){return n.childNodes?n.childNodes.length:0}}}(jwplayer),function(n){var t=n.parsers;(t.jwparser=function(){}).parseEntry=function(i,r){for(var f,h,o=[],e=[],s=n.utils.xmlAttribute,u=0;u<i.childNodes.length;u++)f=i.childNodes[u],"jwplayer"===f.prefix&&(h=t.localName(f),"source"===h?(delete r.sources,o.push({file:s(f,"file"),"default":s(f,"default"),label:s(f,"label"),type:s(f,"type")})):"track"===h?(delete r.tracks,e.push({file:s(f,"file"),"default":s(f,"default"),kind:s(f,"kind"),label:s(f,"label")})):(r[h]=n.utils.serialize(t.textContent(f)),"file"===h&&r.sources&&delete r.sources)),r.file||(r.file=r.link);if(o.length)for(r.sources=[],u=0;u<o.length;u++)0<o[u].file.length&&(o[u]["default"]="true"===o[u]["default"]?!0:!1,o[u].label.length||delete o[u].label,r.sources.push(o[u]));if(e.length)for(r.tracks=[],u=0;u<e.length;u++)0<e[u].file.length&&(e[u]["default"]="true"===e[u]["default"]?!0:!1,e[u].kind=e[u].kind.length?e[u].kind:"captions",e[u].label.length||delete e[u].label,r.tracks.push(e[u]));return r}}(jwplayer),function(n){var u=jwplayer.utils,t=u.xmlAttribute,f=n.localName,i=n.textContent,e=n.numChildren,r=n.mediaparser=function(){};r.parseGroup=function(n,o){for(var s,l=[],c,v,a,h=0;h<e(n);h++)if(s=n.childNodes[h],"media"===s.prefix&&f(s))switch(f(s).toLowerCase()){case"content":t(s,"duration")&&(o.duration=u.seconds(t(s,"duration")));0<e(s)&&(o=r.parseGroup(s,o));t(s,"url")&&(o.sources||(o.sources=[]),o.sources.push({file:t(s,"url"),type:t(s,"type"),width:t(s,"width"),label:t(s,"label")}));break;case"title":o.title=i(s);break;case"description":o.description=i(s);break;case"guid":o.mediaid=i(s);break;case"thumbnail":o.image||(o.image=t(s,"url"));break;case"group":r.parseGroup(s,o);break;case"subtitle":c={};c.file=t(s,"url");c.kind="captions";0<t(s,"lang").length&&(v=c,s=t(s,"lang"),a={zh:"Chinese",nl:"Dutch",en:"English",fr:"French",de:"German",it:"Italian",ja:"Japanese",pt:"Portuguese",ru:"Russian",es:"Spanish"},s=a[s]?a[s]:s,v.label=s);l.push(c)}for(o.hasOwnProperty("tracks")||(o.tracks=[]),h=0;h<l.length;h++)o.tracks.push(l[h]);return o}}(jwplayer.parsers),function(n){function f(r){for(var f,o,u={},s=0;s<r.childNodes.length;s++)if(f=r.childNodes[s],o=i(f),o)switch(o.toLowerCase()){case"enclosure":u.file=e.xmlAttribute(f,"url");break;case"title":u.title=t(f);break;case"guid":u.mediaid=t(f);break;case"pubdate":u.date=t(f);break;case"description":u.description=t(f);break;case"link":u.link=t(f);break;case"category":u.tags=u.tags?u.tags+t(f):t(f)}return u=n.mediaparser.parseGroup(r,u),u=n.jwparser.parseEntry(r,u),new jwplayer.playlist.item(u)}var e=jwplayer.utils,t=n.textContent,r=n.getChildNode,u=n.numChildren,i=n.localName;n.rssparser={};n.rssparser.parse=function(n){for(var t,e,o,h=[],s=0;s<u(n);s++)if(t=r(n,s),"channel"===i(t).toLowerCase())for(e=0;e<u(t);e++)o=r(t,e),"item"===i(o).toLowerCase()&&h.push(f(o));return h}}(jwplayer.parsers),function(n){var t=n.utils,i=n._,r;n.playlist=function(t){var r=[];return t=i.isArray(t)?t:[t],i.each(t,function(t){r.push(new n.playlist.item(t))}),r};n.playlist.filterPlaylist=function(n,u){var f=[];return i.each(n,function(n){if(n=t.extend({},n),n.sources=r(n.sources,!1,u),n.sources.length){for(var i=0;i<n.sources.length;i++)n.sources[i].label=n.sources[i].label||i.toString();f.push(n)}}),f};r=n.playlist.filterSources=function(r,u,f){var e,o=[],s=u?n.embed.flashCanPlay:n.embed.html5CanPlay;if(r)return i.each(r,function(n){if(n&&n.file){var r=t.trim(""+n.file),i=n.type;i||(i=t.extension(r),i=t.extensionmap.extType(i));n=t.extend({},n,{file:r,type:i})}else n=void 0;n&&s(n.file,n.type,f)&&(e=e||n.type,n.type===e&&o.push(n))}),o}}(jwplayer),function(n){var t=n.item=function(i){var f=jwplayer.utils,r=f.extend({},t.defaults,i),u,e;for(r.tracks=i&&f.exists(i.tracks)?i.tracks:[],0===r.sources.length&&(r.sources=[new n.source(r)]),u=0;u<r.sources.length;u++)e=r.sources[u]["default"],r.sources[u]["default"]=e?"true"===e.toString():!1,r.sources[u]=new n.source(r.sources[u]);if(r.captions&&!f.exists(i.tracks)){for(i=0;i<r.captions.length;i++)r.tracks.push(r.captions[i]);delete r.captions}for(u=0;u<r.tracks.length;u++)r.tracks[u]=new n.track(r.tracks[u]);return r};t.defaults={description:void 0,image:void 0,mediaid:void 0,title:void 0,sources:[],tracks:[]}}(jwplayer.playlist),function(n){var r=n.utils,t=n.events,i=n.parsers;n.playlist.loader=function(){function e(r){var o,e,s;try{for(o=r.responseXML.childNodes,r="",e=0;e<o.length&&!(r=o[e],8!==r.nodeType);e++);"xml"===i.localName(r)&&(r=r.nextSibling);"rss"!==i.localName(r)?u("Not a valid RSS feed"):(s=new n.playlist(i.rssparser.parse(r)),f.sendEvent(t.JWPLAYER_PLAYLIST_LOADED,{playlist:s}))}catch(h){u()}}function o(n){u(n.match(/invalid/i)?"Not a valid RSS feed":"")}function u(n){f.sendEvent(t.JWPLAYER_ERROR,{message:n?n:"Error loading file"})}var f=new t.eventdispatcher;r.extend(this,f);this.load=function(n){r.ajax(n,e,o)}}}(jwplayer),function(n){var t=jwplayer.utils,i={file:void 0,label:void 0,type:void 0,"default":void 0};n.source=function(n){var r=t.extend({},i);return t.foreach(i,function(i){t.exists(n[i])&&(r[i]=n[i],delete n[i])}),r.type&&0<r.type.indexOf("/")&&(r.type=t.extensionmap.mimeType(r.type)),"m3u8"===r.type&&(r.type="hls"),"smil"===r.type&&(r.type="rtmp"),r}}(jwplayer.playlist),function(n){var t=jwplayer.utils,i={file:void 0,label:void 0,kind:"captions","default":!1};n.track=function(n){var r=t.extend({},i);return n||(n={}),t.foreach(i,function(i){t.exists(n[i])&&(r[i]=n[i],delete n[i])}),r}}(jwplayer.playlist),function(n){function u(n,i,r){var u=n.style;u.backgroundColor="#000";u.color="#FFF";u.width=t.styleDimension(r.width);u.height=t.styleDimension(r.height);u.display="table";u.opacity=1;r=document.createElement("p");u=r.style;u.verticalAlign="middle";u.textAlign="center";u.display="table-cell";u.font="15px/20px Arial, Helvetica, sans-serif";r.innerHTML=i.replace(":",":<br>");n.innerHTML="";n.appendChild(r)}var t=n.utils,i=n.events,f=n._,r=n.embed=function(e){function nt(){var u,b,y,k;if(!w){if(u=o.playlist,f.isArray(u)){if(0===u.length){a();return}if(1===u.length&&(!u[0].sources||0===u[0].sources.length||!u[0].sources[0].file)){a();return}}if(!p)if(f.isString(u))c=new n.playlist.loader,c.addEventListener(i.JWPLAYER_PLAYLIST_LOADED,function(n){o.playlist=n.playlist;p=!1;nt()}),c.addEventListener(i.JWPLAYER_ERROR,function(n){p=!1;a(n)}),p=!0,c.load(o.playlist);else if(s.getStatus()===t.loaderstatus.COMPLETE){for(u=0;u<o.modes.length;u++)if(b=o.modes[u],y=b.type,y&&r[y]&&(k=t.extend({},o),l=new r[y](h,b,k,s,e),l.supportsConfig()))return l.addEventListener(i.ERROR,rt),l.embed(),t.css("object.jwswf, .jwplayer:focus",{outline:"none"}),t.css(".jw-tab-focus:focus",{outline:"solid 2px #0B7EF4"}),e;o.fallback?(u="No suitable players found and fallback enabled",v(u,!0),t.log(u),new r.download(h,o,a)):(u="No suitable players found and fallback disabled",v(u,!1),t.log(u))}}}function rt(n){y(tt+n.message)}function ut(n){e.dispatchEvent(i.JWPLAYER_ERROR,{message:"Could not load plugin: "+n.message})}function a(n){n&&n.message?y("Error loading playlist: "+n.message):y(tt+"No playable sources found")}function v(n,t){clearTimeout(it);it=setTimeout(function(){e.dispatchEvent(i.JWPLAYER_SETUP_ERROR,{message:n,fallback:t})},0)}function y(n){w||(d.parentNode.replaceChild(h,d),o.fallback?(w=!0,u(h,n,o),v(n,!0)):v(n,!1))}var o=new r.config(e.config),b=o.width,k=o.height,tt="Error loading player: ",d=document.getElementById(e.id),s=n.plugins.loadPlugins(e.id,o.plugins),c,p=!1,w=!1,l=null,it=-1,g,h;return o.id=e.id,o.aspectratio?e.config.aspectratio=o.aspectratio:delete e.config.aspectratio,g=e,t.foreach(o.events,function(n,t){var i=g[n];"function"==typeof i&&i.call(g,t)}),h=document.createElement("div"),h.id=d.id,h.style.width=0<b.toString().indexOf("%")?b:b+"px",h.style.height=0<k.toString().indexOf("%")?k:k+"px",this.embed=function(){w||(s.addEventListener(i.COMPLETE,nt),s.addEventListener(i.ERROR,ut),s.load())},this.destroy=function(){l&&(l.destroy(),l=null);s&&(s.destroy(),s=null);c&&(c.resetEventListeners(),c=null)},this.errorScreen=y,this};n.embed.errorScreen=u}(jwplayer),function(n){function u(n){var u,f;if(n.playlist)for(u=0;u<n.playlist.length;u++)n.playlist[u]=new r(n.playlist[u]);else f={},t.foreach(r.defaults,function(t){i(n,f,t)}),f.sources||(n.levels?(f.sources=n.levels,delete n.levels):(u={},i(n,u,"file"),i(n,u,"type"),f.sources=u.file?[u]:[])),n.playlist=[new r(f)]}function i(n,i,r){t.exists(n[r])&&(i[r]=n[r],delete n[r])}var t=n.utils,r=n.playlist.item;(n.embed.config=function(i){var r={fallback:!0,height:270,primary:"html5",width:480,base:i.base?i.base:t.getScriptPath("jwplayer.js"),aspectratio:""},f,e;return i=t.extend({},r,n.defaults,i),r={type:"html5",src:i.base+"jwplayer.html5.js"},f={type:"flash",src:i.base+"jwplayer.flash.swf"},i.modes="flash"===i.primary?[f,r]:[r,f],i.listbar&&(i.playlistsize=i.listbar.size,i.playlistposition=i.listbar.position,i.playlistlayout=i.listbar.layout),i.flashplayer&&(f.src=i.flashplayer),i.html5player&&(r.src=i.html5player),u(i),f=i.aspectratio,"string"==typeof f&&t.exists(f)?(e=f.indexOf(":"),-1===e?r=0:(r=parseFloat(f.substr(0,e)),f=parseFloat(f.substr(e+1)),r=0>=r||0>=f?0:100*(f/r)+"%")):r=0,-1===i.width.toString().indexOf("%")?delete i.aspectratio:r?i.aspectratio=r:delete i.aspectratio,i}).addConfig=function(n,i){return u(i),t.extend(n,i)}}(jwplayer),function(n){function i(n,i){function f(n,t){u[r].style[n]=t}for(var u=document.querySelectorAll(n),r=0;r<u.length;r++)t.foreach(i,f)}var t=n.utils;n.embed.download=function(n,r,u){function h(n,t,i){return n=document.createElement(n),t&&(n.className="jwdownload"+t),i&&i.appendChild(n),n}var e=t.extend({},r),o,p=e.width?e.width:480,w=e.height?e.height:320,c,l,f,a,v,s,y;if(r=r.logo?r.logo:{prefix:t.repo(),file:"logo.png",margin:10},f=e.playlist,e=["mp4","aac","mp3"],f&&f.length){for(a=f[0],v=a.sources,f=0;f<v.length;f++)s=v[f],s.file&&(y=s.type||t.extensionmap.extType(t.extension(s.file)),0<=t.indexOf(e,y)?(o=s.file,c=a.image):t.isYouTube(s.file,y)&&(l=s.file));o?(u=o,n&&(o=h("a","display",n),h("div","icon",o),h("div","logo",o),u&&o.setAttribute("href",t.getAbsolutePath(u))),u="#"+n.id+" .jwdownload",n.style.width="",n.style.height="",i(u+"display",{width:t.styleDimension(Math.max(320,p)),height:t.styleDimension(Math.max(180,w)),background:"black center no-repeat "+(c?"url("+c+")":""),backgroundSize:"contain",position:"relative",border:"none",display:"block"}),i(u+"display div",{position:"absolute",width:"100%",height:"100%"}),i(u+"logo",{top:r.margin+"px",right:r.margin+"px",background:"top right no-repeat url("+r.prefix+r.file+")"}),i(u+"icon",{background:"center no-repeat url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAgNJREFUeNrs28lqwkAYB/CZqNVDDj2r6FN41QeIy8Fe+gj6BL275Q08u9FbT8ZdwVfotSBYEPUkxFOoks4EKiJdaDuTjMn3wWBO0V/+sySR8SNSqVRKIR8qaXHkzlqS9jCfzzWcTCYp9hF5o+59sVjsiRzcegSckFzcjT+ruN80TeSlAjCAAXzdJSGPFXRpAAMYwACGZQkSdhG4WCzehMNhqV6vG6vVSrirKVEw66YoSqDb7cqlUilE8JjHd/y1MQefVzqdDmiaJpfLZWHgXMHn8F6vJ1cqlVAkEsGuAn83J4gAd2RZymQygX6/L1erVQt+9ZPWb+CDwcCC2zXGJaewl/DhcHhK3DVj+KfKZrMWvFarcYNLomAv4aPRSFZVlTlcSPA5fDweW/BoNIqFnKV53JvncjkLns/n/cLdS+92O7RYLLgsKfv9/t8XlDn4eDyiw+HA9Jyz2eyt0+kY2+3WFC5hluej0Ha7zQQq9PPwdDq1Et1sNsx/nFBgCqWJ8oAK1aUptNVqcYWewE4nahfU0YQnk4ntUEfGMIU2m01HoLaCKbTRaDgKtaVLk9tBYaBcE/6Artdr4RZ5TB6/dC+9iIe/WgAMYADDpAUJAxjAAAYwgGFZgoS/AtNNTF7Z2bL0BYPBV3Jw5xFwwWcYxgtBP5OkE8i9G7aWGOOCruvauwADALMLMEbKf4SdAAAAAElFTkSuQmCC)"})):l?(r=l,n=h("iframe","",n),n.src="http://www.youtube.com/embed/"+t.youTubeID(r),n.width=p,n.height=w,n.style.border="none"):u()}}}(jwplayer),function(n){var t=n.utils,u=n.events,i={},r;(n.embed.flash=function(f,e,o,s,h){function c(n,t,i){var r=document.createElement("param");r.setAttribute("name",t);r.setAttribute("value",i);n.appendChild(r)}function v(n,t,i){return function(){try{i&&document.getElementById(h.id+"_wrapper").appendChild(t);var r=document.getElementById(h.id).getPluginConfig("display");"function"==typeof n.resize&&n.resize(r.width,r.height);t.style.left=r.x;t.style.top=r.h}catch(u){}}}function y(n){if(!n)return{};var i={},r=[];return t.foreach(n,function(n,u){var f=t.getPluginName(n);r.push(n);t.foreach(u,function(n,t){i[f+"."+n]=t})}),i.plugins=r.join(","),i}var l=new n.events.eventdispatcher,a=t.flashVersion();t.extend(this,l);this.embed=function(){var k;if(o.id=h.id,10>a)return l.sendEvent(u.ERROR,{message:"Flash version must be 10.0 or greater"}),!1;var n,r,b=f.id,w=h.config.listbar,p=t.extend({},o);for(n=document.getElementById(h.id),n.parentNode.replaceChild(f,n),b+"_wrapper"===f.parentNode.id?n=document.getElementById(b+"_wrapper"):(n=document.createElement("div"),r=document.createElement("div"),r.style.display="none",r.id=b+"_aspect",n.id=b+"_wrapper",n.style.position="relative",n.style.display="block",n.style.width=t.styleDimension(p.width),n.style.height=t.styleDimension(p.height),h.config.aspectratio&&(k=parseFloat(h.config.aspectratio),r.style.display="block",r.style.marginTop=h.config.aspectratio,n.style.height="auto",n.style.display="inline-block",w&&("bottom"===w.position?r.style.paddingBottom=w.size+"px":"right"===w.position&&(r.style.marginBottom=-1*w.size*(k/100)+"px"))),f.parentNode.replaceChild(n,f),n.appendChild(f),n.appendChild(r)),w=s.setupPlugins(h,p,v),0<w.length?t.extend(p,y(w.plugins)):delete p.plugins,"undefined"!=typeof p["dock.position"]&&"false"===p["dock.position"].toString().toLowerCase()&&(p.dock=p["dock.position"],delete p["dock.position"]),w=p.wmode||(p.height&&40>=p.height?"transparent":"opaque"),r="height width modes events primary base fallback volume".split(" "),k=0;k<r.length;k++)delete p[r[k]];r=t.getCookies();t.foreach(r,function(n,t){"undefined"==typeof p[n]&&(p[n]=t)});r=window.location.href.split("/");r.splice(r.length-1,1);r=r.join("/");p.base=r+"/";i[b]=p;t.isMSIE()?(f.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%" id="'+b+'" name="'+b+'" tabindex="0"><param name="movie" value="'+e.src+'"><param name="allowfullscreen" value="true"><param name="allowscriptaccess" value="always"><param name="seamlesstabbing" value="true"><param name="wmode" value="'+w+'"><param name="bgcolor" value="#000000"><\/object>',n=n.getElementsByTagName("object")[0],n.style.outline="none"):(n=document.createElement("object"),n.setAttribute("type","application/x-shockwave-flash"),n.setAttribute("data",e.src),n.setAttribute("width","100%"),n.setAttribute("height","100%"),n.setAttribute("bgcolor","#000000"),n.setAttribute("id",b),n.setAttribute("name",b),n.className="jwswf",c(n,"allowfullscreen","true"),c(n,"allowscriptaccess","always"),c(n,"seamlesstabbing","true"),c(n,"wmode",w),f.parentNode.replaceChild(n,f));h.config.aspectratio&&(n.style.position="absolute",n.style.left="0");h.container=n;h.setPlayer(n,"flash")};this.supportsConfig=function(){var n,i;if(a)if(o){if("string"===t.typeOf(o.playlist))return!0;try{if(n=o.playlist[0].sources,"undefined"==typeof n)return!0;for(i=0;i<n.length;i++)if(n[i].file&&r(n[i].file,n[i].type))return!0}catch(u){}}else return!0;return!1};this.destroy=function(){}}).getVars=function(n){return i[n]};r=n.embed.flashCanPlay=function(n,i){if(t.isYouTube(n,i)||t.isRtmp(n,i)||"hls"===i)return!0;var r=t.extensionmap[i?i:t.extension(n)];return r?!!r.flash:!1}}(jwplayer),function(n){var t=n.utils,r=t.extensionmap,u=n.events,i;n.embed.html5=function(r,f,e,o,s){function h(n,t,i){return function(){try{var u=document.querySelector("#"+r.id+" .jwmain");i&&u.appendChild(t);"function"==typeof n.resize&&(n.resize(u.clientWidth,u.clientHeight),setTimeout(function(){n.resize(u.clientWidth,u.clientHeight)},400));t.left=u.style.left;t.top=u.style.top}catch(f){}}}var c=new u.eventdispatcher;t.extend(this,c);this.embed=function(){if(n.html5){o.setupPlugins(s,e,h);t.emptyElement(r);var i=n.utils.extend({},e);delete i.volume;i=new n.html5.player(i);s.setPlayer(i,"html5")}else this.loadEmbedder()};this.loadEmbedder=function(){i=i||new t.scriptloader(f.src);i.addEventListener(u.ERROR,this.loadError);i.addEventListener(u.COMPLETE,this.embed);i.load()};this.loadError=function(n){this.sendEvent(n.type,{message:"HTML5 player not found"})};this.supportsConfig=function(){if(n.vid.canPlayType)try{if("string"===t.typeOf(e.playlist))return!0;for(var r=e.playlist[0].sources,i=0;i<r.length;i++)if(n.embed.html5CanPlay(r[i].file,r[i].type,e.androidhls))return!0}catch(u){}return!1};this.destroy=function(){i&&(i.resetEventListeners(),i=null)}};n.embed.html5CanPlay=function(i,u,f){var o,e;if(null!==navigator.userAgent.match(/BlackBerry/i)||t.isIE(9))return!1;if(t.isYouTube(i,u))return!0;if(o=t.extension(i),u=u||r.extType(o),"hls"===u)if(f){if(f=t.isAndroidNative,f(2)||f(3)||f("4.0"))return!1;if(t.isAndroid())return!0}else if(t.isAndroid())return!1;if(t.isRtmp(i,u)||(i=r[u]||r[o],!i||i.flash&&!i.html5))return!1;n:if(i=i.html5){try{e=!!n.vid.canPlayType(i);break n}catch(s){}e=!1}else e=!0;return e}}(jwplayer),function(n){var r=n.embed,u=n.embed.html5CanPlay,t=n.utils,f=n._,i=/\.(js|swf)$/;n.cast=n.cast||{};n.embed=t.extend(function(u){function v(){a="Adobe SiteCatalyst Error: Could not find Media Module"}var h=t.repo(),c=t.extend({},n.defaults),f=t.extend({},c,u.config),o=u.config,e=f.plugins,s=f.analytics,y=h+"jwpsrv.js",p=h+"sharing.js",w=h+"related.js",b=h+"gapro.js",c=n.key?n.key:c.key,l=new n.utils.key(c).edition(),a,e=e?e:{};"ads"==l&&f.advertising&&(i.test(f.advertising.client)?e[f.advertising.client]=f.advertising:e[h+f.advertising.client+".js"]=f.advertising);delete o.advertising;o.key=c;f.analytics&&i.test(f.analytics.client)&&(y=f.analytics.client);delete o.analytics;s&&!("ads"===l||"enterprise"===l)&&delete s.enabled;"free"!=l&&s&&!1===s.enabled||(e[y]=s?s:{});delete e.sharing;delete e.related;switch(l){case"ads":case"enterprise":if(o.sitecatalyst)try{window.s&&window.s.hasOwnProperty("Media")?new n.embed.sitecatalyst(u):v()}catch(k){v()}case"premium":f.related&&(i.test(f.related.client)&&(w=f.related.client),e[w]=f.related);f.ga&&(i.test(f.ga.client)&&(b=f.ga.client),e[b]=f.ga);case"pro":f.sharing&&(i.test(f.sharing.client)&&(p=f.sharing.client),e[p]=f.sharing);f.skin&&(o.skin=f.skin.replace(/^(beelden|bekle|five|glow|modieus|roundster|stormtrooper|vapor)$/i,t.repo()+"skins/$1.xml"))}return o.plugins=e,u.config=o,u=new r(u),a&&u.errorScreen(a),u},n.embed);n.embed.html5CanPlay=function(t,i){var r,e={file:t,type:i};return r=n.html5&&n.html5.chooseProvider?n.html5.chooseProvider(e)!==n.html5.VideoProvider:f.any(n.unregisteredProviders,function(n){return n.supports(e)}),r?!0:u.apply(this,arguments)}}(jwplayer),function(n){var t=jwplayer.utils;n.sitecatalyst=function(n){function r(n){f.debug&&t.log(n)}function y(n){return n=n.split("/"),n=n[n.length-1],n=n.split("?"),n[0]}function c(){if(!h){h=!0;var n=u.getPosition();r("stop: "+i+" : "+n);s.Media.stop(i,n)}}function l(){v||(c(),v=!0,r("close: "+i),s.Media.close(i),o=!0,e=0)}var u=n,f=t.extend({},u.config.sitecatalyst),p={onPlay:function(){if(!o){var n=u.getPosition();h=!1;r("play: "+i+" : "+n);s.Media.play(i,n)}},onPause:c,onBuffer:c,onIdle:l,onPlaylistItem:function(n){var s,r;try{o=!0;l();e=0;f.mediaName?s=f.mediaName:(r=u.getPlaylistItem(n.index),s=r.title?r.title:r.file?y(r.file):r.sources&&r.sources.length?y(r.sources[0].file):"");i=s;a=f.playerName?f.playerName:u.id}catch(h){t.log(h)}},onTime:function(){var n,t;if(o){if(n=u.getDuration(),-1==n)return;v=h=o=!1;r("open: "+i+" : "+n+" : "+a);s.Media.open(i,n,a);r("play: "+i+" : 0");s.Media.play(i,0)}n=u.getPosition();3<=Math.abs(n-e)&&(t=e,r("seek: "+t+" to "+n),r("stop: "+i+" : "+t),s.Media.stop(i,t),r("play: "+i+" : "+n),s.Media.play(i,n));e=n},onComplete:l},i,a,e,h=!0,v=!0,o;t.foreach(p,function(n){u[n](p[n])})}}(jwplayer.embed),function(n){function i(n,i){n[i]&&(n[i]=t.getAbsolutePath(n[i]))}var t=n.utils,r=n._,u=window.location.href;n.cast.setupCastConfig=function(r,f){var o=t.extend({},r.config),s,h,l,e,c;for(o.cast=t.extend({pageUrl:u},f),s="base autostart controls fallback fullscreen width height mobilecontrols modes playlistlayout playlistposition playlistsize primary stretching sharing related ga skin logo listbar events".split(" "),h=s.length;h--;)delete o[s[h]];s=o.plugins;delete o.plugins;for(l in s)if(s.hasOwnProperty(l)&&(e=s[l],e.client&&(/[\.\/]/.test(e.client)&&i(e,"client"),-1<e.client.indexOf("vast")))){if(h=o,e=t.extend({},e),e.client="vast",delete e.companiondiv,e.schedule){c=void 0;for(c in e.schedule)e.schedule.hasOwnProperty(c)&&i(e.schedule[c].ad||e.schedule[c],"tag")}i(e,"tag");h.advertising=e}return r.position&&(o.position=r.position),0<r.item&&(o.item=r.item),o.captionLabel=t.getCookies().captionLabel,o.playerVersion=n.version,o};n.cast.setupFlashCastConfig=function(i){var u=i.config,f;return u.playlist=i.getPlaylist(),(f=r.find(u.plugins,function(n,t){return 0<t.indexOf("vast.js")}))?(f.client="vast",f={advertising:f}):f={},u=r.pick(u,"id captionLabel cast key playlist repeat".split(" ")),u.cast.pageUrl=window.location.href,t.extend(u,{playerVersion:n.version,captionLabel:t.getCookies().captionLabel,volume:i.getVolume(),mute:i.getMute(),id:i.id,position:i.getPosition(),item:i.getPlaylistIndex()},f),u}}(window.jwplayer),function(n,t){function e(n,t){n[t]&&(n[t]=u.getAbsolutePath(n[t]))}var i=t.cast,u=t.utils,r=t.events,f=r.state,o={};i.NS="urn:x-cast:com.longtailvideo.jwplayer";i.debug=!1;i.availability=null;i.available=function(t){t=t||i.availability;var r=n.chrome,u="available";return r.cast&&r.cast.ReceiverAvailability&&(u=r.cast.ReceiverAvailability.AVAILABLE),t===u};i.controller=function(s,h){function bt(n,t){i.log("send command",n,t);var r={command:n};void 0!==t&&(r.args=t);c.sendMessage(i.NS,r,tt,function(n){i.log("error message",n);"Invalid namespace"===n.description&&w()})}function kt(n){n=!!i.available(n.availability);d.available!==n&&(d.available=n,st(r.JWPLAYER_CAST_AVAILABLE))}function dt(n){i.log("existing session",n);c||y||(y=n.session,y.addMessageListener(i.NS,et))}function et(n,u){var f=JSON.parse(u),e,o;if(!f)throw"Message not proper JSON";f.reconcile&&(y.removeMessageListener(i.NS,et),e=f.diff,o=y,e.id&&f.appid&&f.pageUrl||(e.id=t().id,f.appid=v.appid,f.pageUrl=pt,y=c=null),e.id===s.id&&f.appid===v.appid&&f.pageUrl===pt&&(c||(s.jwInstreamState()&&s.jwInstreamDestroy(!0),g(o),h.sendEvent(r.JWPLAYER_PLAYER_STATE,{oldstate:e.oldstate,newstate:e.newstate})),rt(f)),y=null)}function ot(n){d.active=!!n;n=d;var t;t=c&&c.receiver?c.receiver.friendlyName:"";n.deviceName=t;st(r.JWPLAYER_CAST_SESSION,{})}function st(n){var t=u.extend({},d);h.sendEvent(n,t)}function gt(t){var r=n.chrome;t.code!==r.cast.ErrorCode.CANCEL&&(i.log("Cast Session Error:",t,c),t.code===r.cast.ErrorCode.SESSION_ERROR&&w())}function ni(t){var r=n.chrome;t.code!==r.cast.ErrorCode.CANCEL&&(i.log("Cast Session Error:",t,c),t.code===r.cast.ErrorCode.SESSION_ERROR&&w())}function w(){c?(ct(),c.stop(nt,ti),at({item:0}),rt({type:"state",diff:{buffer:0,position:0,duration:0}})):nt()}function ti(n){i.error("Cast Session Stop error:",n,c);nt()}function g(e){var d,o;i.log("Session started:",e);c?(w(),it=e):(c=e,c.addMessageListener(i.NS,lt),c.addUpdateListener(ht),s.jwPause(!0),s.jwSetFullscreen(!1),k=h.getVideo(),ut=h.volume,ft=h.mute,a=new i.provider(bt),a.init(),h.setVideoProvider(a),s.jwPlay=function(n){!1===n?a.pause():a.play()},s.jwPause=function(n){s.jwPlay(!!n)},s.jwLoad=function(n){"number"===u.typeOf(n)&&h.setItem(n);a.load(n)},s.jwPlaylistItem=function(n){"number"===u.typeOf(n)&&h.setItem(n);a.playlistItem(n)},s.jwPlaylistNext=function(){s.jwPlaylistItem(h.item+1)},s.jwPlaylistPrev=function(){s.jwPlaylistItem(h.item-1)},s.jwSetVolume=function(n){u.exists(n)&&(n=Math.min(Math.max(0,n),100)|0,vt(n)&&(n=Math.max(0,Math.min(n/100,1)),c.setReceiverVolumeLevel(n,b,function(n){i.error("set volume error",n);b()})))},s.jwSetMute=function(n){u.exists(n)||(n=!p.mute);yt(n)&&c.setReceiverMuted(!!n,b,function(n){i.error("set muted error",n);b()})},s.jwGetVolume=function(){return p.volume|0},s.jwGetMute=function(){return!!p.mute},s.jwIsBeforePlay=function(){return!1},d=s.jwSetCurrentCaptions,s.jwSetCurrentCaptions=function(n){d(n);a.sendCommand("caption",n)},s.jwSkipAd=function(n){l&&(l.skipAd(n),n=l.getAdModel(),n.complete=!0,h.sendEvent(r.JWPLAYER_CAST_AD_CHANGED,n))},s.jwClickAd=function(i){if(l&&300<l.timeSinceClick()&&(l.clickAd(i),h.state!==f.PAUSED)){var u={tag:i.tag};i.sequence&&(u.sequence=i.sequence);i.podcount&&(u.podcount=i.podcount);t(s.id).dispatchEvent(r.JWPLAYER_AD_CLICK,u);n.open(i.clickthrough)}},s.jwPlayAd=s.jwPauseAd=s.jwSetControls=s.jwForceState=s.jwReleaseState=s.jwSetFullscreen=s.jwDetachMedia=s.jwAttachMedia=tt,o=t(s.id).plugins,o.vast&&o.vast.jwPauseAd!==tt&&(wt={jwPlayAd:o.vast.jwPlayAd,jwPauseAd:o.vast.jwPauseAd},o.vast.jwPlayAd=o.vast.jwPauseAd=tt),b(),ot(!0),e!==y&&(a.setup(t.cast.setupCastConfig(h,v),h),t.cast.loader.sendDummyMedia(e)))}function ht(n){i.log("Cast Session status",n);n?b():(a.sendEvent(r.JWPLAYER_PLAYER_STATE,{oldstate:h.state,newstate:f.BUFFERING}),nt())}function nt(){if(i.log("_sessionStopped"),c&&(ct(),c=null),k){delete s.jwSkipAd;delete s.jwClickAd;s.initializeAPI();var n=t(s.id).plugins;n.vast&&u.extend(n.vast,wt);h.volume=ut;h.mute=ft;h.setVideoProvider(k);h.duration=0;a&&(a.destroy(),a=null);l&&(l.destroy(),l=null);h.state!==f.IDLE?u.isIPad()||u.isIPod()?(s.jwStop(!0),k.sendEvent(r.JWPLAYER_PLAYER_STATE,{oldstate:f.BUFFERING,newstate:f.IDLE})):(h.state=f.IDLE,s.jwPlay(!0),s.jwSeek(h.position)):k.sendEvent(r.JWPLAYER_PLAYER_STATE,{oldstate:f.BUFFERING,newstate:f.IDLE});k=null}ot(!1);null!==it&&(g(it),it=null)}function ct(){c.removeUpdateListener(ht);c.removeMessageListener(i.NS,lt)}function lt(n,t){var i=JSON.parse(t);if(!i)throw"Message not proper JSON";rt(i)}function rt(n){if("state"===n.type)l&&(n.diff.newstate||n.diff.position)&&(l.destroy(),l=null,h.setVideoProvider(a),h.sendEvent(r.JWPLAYER_CAST_AD_CHANGED,{done:!0})),a.updateModel(n.diff,n.type),at(n.diff);else if("ad"===n.type){null===l&&(l=new i.adprovider(i.NS,c),l.init(),h.setVideoProvider(l));l.updateModel(n.diff,n.type);var t=l.getAdModel();n.diff.clickthrough&&(t.onClick=s.jwClickAd);n.diff.skipoffset&&(t.onSkipAd=s.jwSkipAd);h.sendEvent(r.JWPLAYER_CAST_AD_CHANGED,t);n.diff.complete&&l.resetAdModel()}else"connection"===n.type?!0===n.closed&&w():i.error("received unhandled message",n.type,n)}function at(n){void 0!==n.item&&h.item!==n.item&&(h.item=n.item,h.sendEvent(r.JWPLAYER_PLAYLIST_ITEM,{index:h.item}))}function b(){var n,t;c&&c.receiver&&(n=c.receiver.volume,n&&(t=100*n.level|0,yt(!!n.muted),vt(t)))}function vt(n){var t=p.volume!==n;return t&&(p.volume=n,a.sendEvent(r.JWPLAYER_MEDIA_VOLUME,{volume:n})),t}function yt(n){var t=p.mute!==n;return t&&(p.mute=n,a.sendEvent(r.JWPLAYER_MEDIA_MUTE,{mute:n})),t}function tt(){}var ut,ft,c=null,d={available:!1,active:!1,deviceName:""},p={volume:null,mute:null},pt=u.getAbsolutePath(n.location.href),v,a=null,l=null,k=null;ut=h.volume;ft=h.mute;var y=null,it=null,wt=null;v=u.extend({},o,h.cast);e(v,"loadscreen");e(v,"endscreen");e(v,"logo");!v.appid||n.cast&&n.cast.receiver||(i.loader.addEventListener("availability",kt),i.loader.addEventListener("session",dt),i.loader.initialize(v.appid));this.startCasting=function(){c||s.jwInstreamState()||n.chrome.cast.requestSession(g,gt)};this.stopCasting=w;this.openExtension=function(){s.jwInstreamState()||n.chrome.cast.requestSession(g,ni)}};i.log=function(){if(i.debug){var n=Array.prototype.slice.call(arguments,0);console.log.apply(console,n)}};i.error=function(){var n=Array.prototype.slice.call(arguments,0);console.error.apply(console,n)}}(window,jwplayer),function(n){function nt(n){i.log("existing session",n);t||u||(u=n.session,u.addMessageListener(i.NS,v))}function v(o,c){var l=JSON.parse(c),a=u;if(!l)throw"Message not proper JSON";l.reconcile&&(u.removeMessageListener(i.NS,v),l.receiverFriendlyName=u.receiver.friendlyName,l.pageUrl&&l.diff.id&&l.appid||(l.pageUrl=g,l.diff.id=n().id,l.appid=h,u=t=null),d[l.diff.id]&&h===l.appid&&l.pageUrl===g&&(r=l.diff.id,h=l.appid,f(r,"jwInstreamDestroy"),s(a),f(r,e.message,l),u=null))}function c(){t&&(t.removeUpdateListener(w),t.removeMessageListener(i.NS,p),t.stop(tt.bind(this),l.bind(this)),t=null);f(r,e.cleanup)}function tt(){"undefined"!=typeof o&&null!==o&&(s(o),o=null)}function y(n,r){t.sendMessage(i.NS,{command:n,args:r},b.noop,function(n){i.error("message send error",n)})}function s(s){var h=n(r);t?(c(),o=s):(t=s,t.addMessageListener(i.NS,p),t.addUpdateListener(w),h=n.cast.setupFlashCastConfig(h),u!==t&&(y("setup",h),n.cast.loader.sendDummyMedia(t)),f(r,e.connected,{receiverFriendlyName:s.receiver.friendlyName}))}function p(n,t){if(t){var i=JSON.parse(t);if(!i)throw"Message not proper JSON";f(r,e.message,i)}}function l(n){f(r,e.error,n||{})}function w(n){n?a():c()}function f(t,i,r){r?n(t).callInternal(i,r):n(t).callInternal(i)}function a(){var u,i;t&&t.receiver&&(i=t.receiver.volume,i&&(u=100*i.level|0,i=!!i.muted,n(r).setVolume(u).setMute(i)))}var i=n.cast,b=n.utils,it=n._,k=window.chrome||{},r,d={},e={},h,u,o,g=b.getAbsolutePath(window.location.href),t;i.NS="urn:x-cast:com.longtailvideo.jwplayer";i.flash={checkAvailability:function(n,t,r){e=r;h=t;d[n]=!0;i.loader.addEventListener("availability",function(t){"available"===t.availability&&f(n,e.available,t)});i.loader.addEventListener("session",nt);i.loader.initialize(t)},startCasting:function(n){r=n;k.cast.requestSession(s.bind(this),l.bind(this))},stopCasting:c,openExtension:function(n){r=n;k.cast.requestSession(s.bind(this),l.bind(this))},mute:function(n){t.setReceiverMuted(n,a,function(n){i.error("set muted error",n)})},volume:function(n){n=Math.max(0,Math.min(n/100,1));t.setReceiverVolumeLevel(n,a,function(n){i.error("set volume error",n)})},messageReceiver:y,canCastItem:function(t){return it.any(t.levels,function(t){return n.embed.html5CanPlay(t.file,t.type)||"hls"===t.type})}}}(window.jwplayer),function(n,t){function o(n){var i=new t.cast.media.MediaInfo("");i.contentType="video/mp4";i=new t.cast.media.LoadRequest(i);i.autoplay=!1;n.loadMedia(i)}function f(){t&&t.cast&&t.cast.isAvailable&&!i.apiConfig?(i.apiConfig=new t.cast.ApiConfig(new t.cast.SessionRequest(h),v,y,t.cast.AutoJoinPolicy.ORIGIN_SCOPED),t.cast.initialize(i.apiConfig,a,l)):15>p++&&setTimeout(f,1e3)}function c(){r&&(r.resetEventListeners(),r=null)}function l(){i.apiConfig=null}function a(){}function v(n){u.sendEvent("session",{session:n});n.sendMessage(i.NS,{whoami:1});0===n.media.length&&o(n)}function y(n){i.availability=n;u.sendEvent("availability",{availability:n})}window.chrome=t;var i=n.cast,s=n.utils,e=n.events,r,p=0,h=null,u=s.extend({initialize:function(n){h=n;null!==i.availability?u.sendEvent("availability",{availability:i.availability}):t&&t.cast?f():r||(r=new s.scriptloader("https://www.gstatic.com/cv/js/sender/v1/cast_sender.js"),r.addEventListener(e.ERROR,c),r.addEventListener(e.COMPLETE,f),r.load())}},new e.eventdispatcher("cast.loader"));n.cast.loader=u;n.cast.loader.sendDummyMedia=o}(window.jwplayer,window.chrome||{}),function(n,t){var u=[],r=n.utils,i=n.events,e=n._,o=0,f=i.state,s="getBuffer getCaptionsList getControls getCurrentCaptions getCurrentQuality getCurrentAudioTrack getDuration getFullscreen getHeight getLockState getMute getPlaylistIndex getSafeRegion getPosition getQualityLevels getState getVolume getWidth isBeforeComplete isBeforePlay releaseState".split(" "),h="playlistNext stop forceState playlistPrev seek setCurrentCaptions setControls setCurrentQuality setVolume setCurrentAudioTrack".split(" "),c={onBufferChange:i.JWPLAYER_MEDIA_BUFFER,onBufferFull:i.JWPLAYER_MEDIA_BUFFER_FULL,onError:i.JWPLAYER_ERROR,onSetupError:i.JWPLAYER_SETUP_ERROR,onFullscreen:i.JWPLAYER_FULLSCREEN,onMeta:i.JWPLAYER_MEDIA_META,onMute:i.JWPLAYER_MEDIA_MUTE,onPlaylist:i.JWPLAYER_PLAYLIST_LOADED,onPlaylistItem:i.JWPLAYER_PLAYLIST_ITEM,onPlaylistComplete:i.JWPLAYER_PLAYLIST_COMPLETE,onReady:i.API_READY,onResize:i.JWPLAYER_RESIZE,onComplete:i.JWPLAYER_MEDIA_COMPLETE,onSeek:i.JWPLAYER_MEDIA_SEEK,onTime:i.JWPLAYER_MEDIA_TIME,onVolume:i.JWPLAYER_MEDIA_VOLUME,onBeforePlay:i.JWPLAYER_MEDIA_BEFOREPLAY,onBeforeComplete:i.JWPLAYER_MEDIA_BEFORECOMPLETE,onDisplayClick:i.JWPLAYER_DISPLAY_CLICK,onControls:i.JWPLAYER_CONTROLS,onQualityLevels:i.JWPLAYER_MEDIA_LEVELS,onQualityChange:i.JWPLAYER_MEDIA_LEVEL_CHANGED,onCaptionsList:i.JWPLAYER_CAPTIONS_LIST,onCaptionsChange:i.JWPLAYER_CAPTIONS_CHANGED,onAdError:i.JWPLAYER_AD_ERROR,onAdClick:i.JWPLAYER_AD_CLICK,onAdImpression:i.JWPLAYER_AD_IMPRESSION,onAdTime:i.JWPLAYER_AD_TIME,onAdComplete:i.JWPLAYER_AD_COMPLETE,onAdCompanions:i.JWPLAYER_AD_COMPANIONS,onAdSkipped:i.JWPLAYER_AD_SKIPPED,onAdPlay:i.JWPLAYER_AD_PLAY,onAdPause:i.JWPLAYER_AD_PAUSE,onAdMeta:i.JWPLAYER_AD_META,onCast:i.JWPLAYER_CAST_SESSION,onAudioTrackChange:i.JWPLAYER_AUDIO_TRACK_CHANGED,onAudioTracks:i.JWPLAYER_AUDIO_TRACKS},l={onBuffer:f.BUFFERING,onPause:f.PAUSED,onPlay:f.PLAYING,onIdle:f.IDLE};n.api=function(o){function it(n,t){r.foreach(n,function(n,i){a[n]=function(n){return t(i,n)}})}function rt(n,t){var i="jw"+t.charAt(0).toUpperCase()+t.slice(1);a[t]=function(){var t=v.apply(this,[i].concat(Array.prototype.slice.call(arguments,0)));return n?a:t}}function ut(n,t){try{n.jwAddEventListener(t,'function(dat) { jwplayer("'+a.id+'").dispatchEvent("'+t+'", dat); }')}catch(u){if("flash"===a.renderingMode){var i=document.createElement("a");i.href=y.data;i.protocol!==location.protocol&&r.log("Warning: Your site ["+location.protocol+"] and JWPlayer ["+i.protocol+"] are hosted using different protocols")}r.log("Could not add internal listener")}}function b(n,t){return w[n]||(w[n]=[],y&&d&&ut(y,n)),w[n].push(t),a}function v(){if(d){if(y){var n=Array.prototype.slice.call(arguments,0),t=n.shift();if("function"==typeof y[t]){switch(n.length){case 6:return y[t](n[0],n[1],n[2],n[3],n[4],n[5]);case 5:return y[t](n[0],n[1],n[2],n[3],n[4]);case 4:return y[t](n[0],n[1],n[2],n[3]);case 3:return y[t](n[0],n[1],n[2]);case 2:return y[t](n[0],n[1]);case 1:return y[t](n[0])}return y[t]()}}return null}g.push(arguments)}var a=this,w={},k={},y,d=!1,g=[],p,nt={},tt={};return a.container=o,a.id=o.id,a.setup=function(t){if(n.embed){n.api.destroyPlayer(a.id);var i=new n.api(a.container);return n.api.addPlayer(i),i.config=t,i._embedder=new n.embed(i),i._embedder.embed(),i}return a},a.getContainer=function(){return a.container},a.addButton=function(n,t,i,u){try{tt[u]=i;v("jwDockAddButton",n,t,'jwplayer("'+a.id+'").callback("'+u+'")',u)}catch(f){r.log("Could not add dock button"+f.message)}},a.removeButton=function(n){v("jwDockRemoveButton",n)},a.callback=function(n){tt[n]&&tt[n]()},a.getMeta=function(){return a.getItemMeta()},a.getPlaylist=function(){var n=v("jwGetPlaylist");return"flash"===a.renderingMode&&r.deepReplaceKeyName(n,["__dot__","__spc__","__dsh__","__default__"],["."," ","-","default"]),n},a.getPlaylistItem=function(n){return r.exists(n)||(n=a.getPlaylistIndex()),a.getPlaylist()[n]},a.getRenderingMode=function(){return a.renderingMode},a.setFullscreen=function(n){return r.exists(n)?v("jwSetFullscreen",n):v("jwSetFullscreen",!v("jwGetFullscreen")),a},a.setMute=function(n){return r.exists(n)?v("jwSetMute",n):v("jwSetMute",!v("jwGetMute")),a},a.lock=function(){return a},a.unlock=function(){return a},a.load=function(t){return v("jwInstreamDestroy"),n(a.id).plugins.googima&&v("jwDestroyGoogima"),v("jwLoad",t),a},a.playlistItem=function(n){return v("jwPlaylistItem",parseInt(n,10)),a},a.resize=function(n,t){if("flash"!==a.renderingMode)v("jwResize",n,t);else{var i=document.getElementById(a.id+"_wrapper"),u=document.getElementById(a.id+"_aspect");u&&(u.style.display="none");i&&(i.style.display="block",i.style.width=r.styleDimension(n),i.style.height=r.styleDimension(t))}return a},a.play=function(n){if(n!==t)return v("jwPlay",n),a;n=a.getState();var i=p&&p.getState();return i&&(i===f.IDLE||i===f.PLAYING||i===f.BUFFERING?v("jwInstreamPause"):v("jwInstreamPlay")),n===f.PLAYING||n===f.BUFFERING?v("jwPause"):v("jwPlay"),a},a.pause=function(n){return n===t?(n=a.getState(),n===f.PLAYING||n===f.BUFFERING?v("jwPause"):v("jwPlay")):v("jwPause",n),a},a.createInstream=function(){return new n.api.instream(this,y)},a.setInstream=function(n){return p=n},a.loadInstream=function(n,t){return p=a.setInstream(a.createInstream()).init(t),p.loadItem(n),p},a.destroyPlayer=function(){d=!0;v("jwPlayerDestroy")},a.playAd=function(t){var i=n(a.id).plugins;i.vast?i.vast.jwPlayAd(t):v("jwPlayAd",t)},a.pauseAd=function(){var t=n(a.id).plugins;t.vast?t.vast.jwPauseAd():v("jwPauseAd")},it(l,function(n,t){return k[n]||(k[n]=[],b(i.JWPLAYER_PLAYER_STATE,function(t){var u=t.newstate,i,r,f;if(t=t.oldstate,u===n&&(i=k[u],i))for(r=0;r<i.length;r++)f=i[r],"function"==typeof f&&f.call(this,{oldstate:t,newstate:u})})),k[n].push(t),a}),it(c,b),r.foreach(s,function(n,t){rt(!1,t)}),r.foreach(h,function(n,t){rt(!0,t)}),a.remove=function(){var t,i,n,f;if(this._embedder&&this._embedder.destroy&&this._embedder.destroy(),g=[],t=1<e.size(e.where(u,{id:a.id})),t||r.clearCss("#"+a.id),i=document.getElementById(a.id+("flash"===a.renderingMode?"_wrapper":"")),i){if("html5"===a.renderingMode)a.destroyPlayer();else if(r.isMSIE(8)&&(n=document.getElementById(a.id),n&&n.parentNode)){n.style.display="none";for(f in n)"function"==typeof n[f]&&(n[f]=null);n.parentNode.removeChild(n)}t||(t=document.createElement("div"),t.id=a.id,i.parentNode.replaceChild(t,i))}u=e.filter(u,function(n){return n.uniqueId!==a.uniqueId})},a.registerPlugin=function(t,i,r,u){n.plugins.registerPlugin(t,i,r,u)},a.setPlayer=function(n,t){y=n;a.renderingMode=t},a.detachMedia=function(){if("html5"===a.renderingMode)return v("jwDetachMedia")},a.attachMedia=function(n){if("html5"===a.renderingMode)return v("jwAttachMedia",n)},a.getAudioTracks=function(){return v("jwGetAudioTracks")},a.removeEventListener=function(n,t){var i=w[n],r;if(i)for(r=i.length;r--;)i[r]===t&&i.splice(r,1)},a.dispatchEvent=function(n,t){var u=w[n],f;if(u)for(var u=u.slice(0),o=r.translateEventResponse(n,t),e=0;e<u.length;e++)if(f=u[e],"function"==typeof f)try{n===i.JWPLAYER_PLAYLIST_LOADED&&r.deepReplaceKeyName(o.playlist,["__dot__","__spc__","__dsh__","__default__"],["."," ","-","default"]);f.call(this,o)}catch(s){r.log("There was an error calling back an event handler",s)}},a.dispatchInstreamEvent=function(n){p&&p.dispatchEvent(n,arguments)},a.callInternal=v,a.playerReady=function(n){for(d=!0,y||a.setPlayer(document.getElementById(n.id)),a.container=document.getElementById(a.id),r.foreach(w,function(n){ut(y,n)}),b(i.JWPLAYER_PLAYLIST_ITEM,function(){nt={}}),b(i.JWPLAYER_MEDIA_META,function(n){r.extend(nt,n.metadata)}),b(i.JWPLAYER_VIEW_TAB_FOCUS,function(n){var t=a.getContainer();!0===n.hasFocus?r.addClass(t,"jw-tab-focus"):r.removeClass(t,"jw-tab-focus")}),a.dispatchEvent(i.API_READY);0<g.length;)v.apply(a,g.shift())},a.getItemMeta=function(){return nt},a};n.playerReady=function(t){var i=n.api.playerById(t.id);i||(i=n.api.selectPlayer(t.id));i.playerReady(t)};n.api.selectPlayer=function(t){var i;return r.exists(t)||(t=0),t.nodeType?i=t:"string"==typeof t&&(i=document.getElementById(t)),i?(t=n.api.playerById(i.id))?t:new n.api(i):"number"==typeof t?u[t]:null};n.api.playerById=function(n){for(var t=0;t<u.length;t++)if(u[t].id===n)return u[t];return null};n.api.addPlayer=function(n){for(var t=0;t<u.length;t++)if(u[t]===n)return n;return o++,n.uniqueId=o,u.push(n),n};n.api.destroyPlayer=function(n){n=e.where(u,{id:n});e.each(n,e.partial(e.result,e,"remove"))}}(window.jwplayer),function(n){var t=n.events,r=n.utils,i=t.state;n.api.instream=function(n,u){function e(t,i){return o[t]||(o[t]=[],u.jwInstreamAddEventListener(t,'function(dat) { jwplayer("'+n.id+'").dispatchInstreamEvent("'+t+'", dat); }')),o[t].push(i),this}function h(n,i){return s[n]||(s[n]=[],e(t.JWPLAYER_PLAYER_STATE,function(t){var u=t.newstate,e=t.oldstate,i,r,f;if(u===n&&(i=s[u],i))for(r=0;r<i.length;r++)f=i[r],"function"==typeof f&&f.call(this,{oldstate:e,newstate:u,type:t.type})})),s[n].push(i),this}var c,l,o={},s={},f=this;f.type="instream";f.init=function(){return n.callInternal("jwInitInstream"),f};f.loadItem=function(t,i){c=t;l=i||{};"array"===r.typeOf(t)?n.callInternal("jwLoadArrayInstream",c,l):n.callInternal("jwLoadItemInstream",c,l)};f.removeEvents=function(){o=s={}};f.removeEventListener=function(n,t){var i=o[n],r;if(i)for(r=i.length;r--;)i[r]===t&&i.splice(r,1)};f.dispatchEvent=function(n,t){var i=o[n],u;if(i)for(var i=i.slice(0),e=r.translateEventResponse(n,t[1]),f=0;f<i.length;f++)u=i[f],"function"==typeof u&&u.call(this,e)};f.onError=function(n){return e(t.JWPLAYER_ERROR,n)};f.onMediaError=function(n){return e(t.JWPLAYER_MEDIA_ERROR,n)};f.onFullscreen=function(n){return e(t.JWPLAYER_FULLSCREEN,n)};f.onMeta=function(n){return e(t.JWPLAYER_MEDIA_META,n)};f.onMute=function(n){return e(t.JWPLAYER_MEDIA_MUTE,n)};f.onComplete=function(n){return e(t.JWPLAYER_MEDIA_COMPLETE,n)};f.onPlaylistComplete=function(n){return e(t.JWPLAYER_PLAYLIST_COMPLETE,n)};f.onPlaylistItem=function(n){return e(t.JWPLAYER_PLAYLIST_ITEM,n)};f.onTime=function(n){return e(t.JWPLAYER_MEDIA_TIME,n)};f.onBuffer=function(n){return h(i.BUFFERING,n)};f.onPause=function(n){return h(i.PAUSED,n)};f.onPlay=function(n){return h(i.PLAYING,n)};f.onIdle=function(n){return h(i.IDLE,n)};f.onClick=function(n){return e(t.JWPLAYER_INSTREAM_CLICK,n)};f.onInstreamDestroyed=function(n){return e(t.JWPLAYER_INSTREAM_DESTROYED,n)};f.onAdSkipped=function(n){return e(t.JWPLAYER_AD_SKIPPED,n)};f.play=function(n){u.jwInstreamPlay(n)};f.pause=function(n){u.jwInstreamPause(n)};f.hide=function(){n.callInternal("jwInstreamHide")};f.destroy=function(){f.removeEvents();n.callInternal("jwInstreamDestroy")};f.setText=function(n){u.jwInstreamSetText(n?n:"")};f.getState=function(){return u.jwInstreamState()};f.setClick=function(n){u.jwInstreamClick&&u.jwInstreamClick(n)}}}(jwplayer),function(n){var t=n.api,i=t.selectPlayer,r=n._;t.selectPlayer=function(){var t=i.apply(this,arguments);return t?t:{registerPlugin:function(t,i,r){"jwpsrv"!==t&&n.plugins.registerPlugin(t,i,r)}}};n.unregisteredProviders=[];t.registerProvider=function(t){n&&n.html5&&r.isFunction(n.html5.registerProvider)?n.html5.registerProvider(t):n.unregisteredProviders.push(t)}}(jwplayer));jwplayer.key="/LxpvcIBTf/kK3b2zW4BzTSr4t4aMh+39YIj2glmXf0=";"undefined"==typeof jwplayer&&(jwplayer=function(){if(jwplayer.api)return jwplayer.api.selectPlayer.apply(this,arguments)},jwplayer.version="6.12.4956",jwplayer.vid=document.createElement("video"),jwplayer.audio=document.createElement("audio"),jwplayer.source=document.createElement("source"),function(){var u={},t=Array.prototype,f=Object.prototype,r=t.slice,h=t.concat,s=f.toString,w=f.hasOwnProperty,c=t.map,l=t.forEach,a=t.filter,v=t.every,e=t.some,y=t.indexOf,f=Array.isArray,p=Object.keys,n=function(t){return t instanceof n?t:(this instanceof n)?void 0:new n(t)},i=n.each=n.forEach=function(t,i,r){var f,e;if(null==t)return t;if(l&&t.forEach===l)t.forEach(i,r);else if(t.length===+t.length){for(f=0,e=t.length;f<e;f++)if(i.call(r,t[f],f,t)===u)return}else for(var o=n.keys(t),f=0,e=o.length;f<e;f++)if(i.call(r,t[o[f]],o[f],t)===u)return;return t},o;n.map=n.collect=function(n,t,r){var u=[];return null==n?u:c&&n.map===c?n.map(t,r):(i(n,function(n,i,f){u.push(t.call(r,n,i,f))}),u)};n.find=n.detect=function(n,t,i){var r;return o(n,function(n,u,f){if(t.call(i,n,u,f))return r=n,!0}),r};n.filter=n.select=function(n,t,r){var u=[];return null==n?u:a&&n.filter===a?n.filter(t,r):(i(n,function(n,i,f){t.call(r,n,i,f)&&u.push(n)}),u)};n.every=n.all=function(t,r,f){r||(r=n.identity);var e=!0;return null==t?e:v&&t.every===v?t.every(r,f):(i(t,function(n,t,i){if(!(e=e&&r.call(f,n,t,i)))return u}),!!e)};o=n.some=n.any=function(t,r,f){r||(r=n.identity);var o=!1;return null==t?o:e&&t.some===e?t.some(r,f):(i(t,function(n,t,i){if(o||(o=r.call(f,n,t,i)))return u}),!!o)};n.size=function(t){return null==t?0:t.length===+t.length?t.length:n.keys(t).length};n.after=function(n,t){return function(){if(1>--n)return t.apply(this,arguments)}};n.sortedIndex=function(t,i,r,u){var f,e,o;for(r=null==r?n.identity:n.isFunction(r)?r:n.property(r),i=r.call(u,i),f=0,e=t.length;f<e;)o=f+e>>>1,r.call(u,t[o])<i?f=o+1:e=o;return f};n.find=n.detect=function(n,t,i){var r;return o(n,function(n,u,f){if(t.call(i,n,u,f))return r=n,!0}),r};o=n.some=n.any=function(t,r,f){r||(r=n.identity);var o=!1;return null==t?o:e&&t.some===e?t.some(r,f):(i(t,function(n,t,i){if(o||(o=r.call(f,n,t,i)))return u}),!!o)};n.contains=n.include=function(t,i){return null==t?!1:(t.length!==+t.length&&(t=n.values(t)),0<=n.indexOf(t,i))};n.where=function(t,i){return n.filter(t,n.matches(i))};n.difference=function(i){var u=h.apply(t,r.call(arguments,1));return n.filter(i,function(t){return!n.contains(u,t)})};n.without=function(t){return n.difference(t,r.call(arguments,1))};n.indexOf=function(t,i,r){if(null==t)return-1;var u=0,f=t.length;if(r)if("number"==typeof r)u=0>r?Math.max(0,f+r):r;else return u=n.sortedIndex(t,i),t[u]===i?u:-1;if(y&&t.indexOf===y)return t.indexOf(i,r);for(;u<f;u++)if(t[u]===i)return u;return-1};n.partial=function(t){var i=r.call(arguments,1);return function(){for(var f=0,r=i.slice(),u=0,e=r.length;u<e;u++)r[u]===n&&(r[u]=arguments[f++]);for(;f<arguments.length;)r.push(arguments[f++]);return t.apply(this,r)}};n.memoize=function(t,i){var r={};return i||(i=n.identity),function(){var u=i.apply(this,arguments);return n.has(r,u)?r[u]:r[u]=t.apply(this,arguments)}};n.delay=function(n,t){var i=r.call(arguments,2);return setTimeout(function(){return n.apply(null,i)},t)};n.defer=function(t){return n.delay.apply(n,[t,1].concat(r.call(arguments,1)))};n.keys=function(t){if(!n.isObject(t))return[];if(p)return p(t);var r=[],i;for(i in t)n.has(t,i)&&r.push(i);return r};n.pick=function(n){var u={},f=h.apply(t,r.call(arguments,1));return i(f,function(t){t in n&&(u[t]=n[t])}),u};n.isArray=f||function(n){return"[object Array]"==s.call(n)};n.isObject=function(n){return n===Object(n)};i("Arguments Function String Number Date RegExp".split(" "),function(t){n["is"+t]=function(n){return s.call(n)=="[object "+t+"]"}});n.isArguments(arguments)||(n.isArguments=function(t){return!(!t||!n.has(t,"callee"))});"function"!=typeof/./&&(n.isFunction=function(n){return"function"==typeof n});n.isFinite=function(n){return isFinite(n)&&!isNaN(parseFloat(n))};n.isNaN=function(t){return n.isNumber(t)&&t!=+t};n.isBoolean=function(n){return!0===n||!1===n||"[object Boolean]"==s.call(n)};n.isNull=function(n){return null===n};n.isUndefined=function(n){return void 0===n};n.has=function(n,t){return w.call(n,t)};n.identity=function(n){return n};n.constant=function(n){return function(){return n}};n.property=function(n){return function(t){return t[n]}};n.matches=function(n){return function(t){if(t===n)return!0;for(var i in n)if(n[i]!==t[i])return!1;return!0}};n.result=function(t,i){if(null!=t){var r=t[i];return n.isFunction(r)?r.call(t):r}};this._=n}.call(jwplayer),function(n){function u(n){return function(){return i(n)}}function o(n,i,r,u,f){return function(){var e,o;if(f)r(n);else{try{if((e=n.responseXML)&&(o=e.firstChild,e.lastChild&&"parsererror"===e.lastChild.nodeName)){u&&u("Invalid XML",i,n);return}}catch(s){}if(e&&o)return r(n);(e=t.parseXML(n.responseText))&&e.firstChild?(n=t.extend({},n,{responseXML:e}),r(n)):u&&u(n.responseText?"Invalid XML":i,i,n)}}}var t=n.utils={},r=n._,f,i,e;t.exists=function(n){switch(typeof n){case"string":return 0<n.length;case"object":return null!==n;case"undefined":return!1}return!0};t.styleDimension=function(n){return n+(0<n.toString().indexOf("%")?"":"px")};t.getAbsolutePath=function(n,i){var u,e,r,o,f;if(t.exists(i)||(i=document.location.href),t.exists(n)){if(t.exists(n)?(u=n.indexOf("://"),e=n.indexOf("?"),u=0<u&&(0>e||e>u)):u=void 0,u)return n;for(u=i.substring(0,i.indexOf("://")+3),e=i.substring(u.length,i.indexOf("/",u.length+1)),0===n.indexOf("/")?r=n.split("/"):(r=i.split("?")[0],r=r.substring(u.length+e.length+1,r.lastIndexOf("/")),r=r.split("/").concat(n.split("/"))),o=[],f=0;f<r.length;f++)r[f]&&t.exists(r[f])&&"."!==r[f]&&(".."===r[f]?o.pop():o.push(r[f]));return u+e+"/"+o.join("/")}};t.extend=function(){var n=Array.prototype.slice.call(arguments,0);if(1<n.length){for(var r=n[0],u=function(n,t){void 0!==t&&null!==t&&(r[n]=t)},i=1;i<n.length;i++)t.foreach(n[i],u);return r}return null};f=window.console=window.console||{log:function(){}};t.log=function(){var n=Array.prototype.slice.call(arguments,0);"object"==typeof f.log?f.log(n):f.log.apply(f,n)};i=r.memoize(function(n){return null!==navigator.userAgent.toLowerCase().match(n)});t.isFF=u(/firefox/i);t.isChrome=u(/chrome/i);t.isIPod=u(/iP(hone|od)/i);t.isIPad=u(/iPad/i);t.isSafari602=u(/Macintosh.*Mac OS X 10_8.*6\.0\.\d* Safari/i);t.isIETrident=function(n){return n?(n=parseFloat(n).toFixed(1),i(RegExp("trident/.+rv:\\s*"+n,"i"))):i(/trident/i)};t.isMSIE=function(n){return n?(n=parseFloat(n).toFixed(1),i(RegExp("msie\\s*"+n,"i"))):i(/msie/i)};t.isIE=function(n){return n?(n=parseFloat(n).toFixed(1),11<=n?t.isIETrident(n):t.isMSIE(n)):t.isMSIE()||t.isIETrident()};t.isSafari=function(){return i(/safari/i)&&!i(/chrome/i)&&!i(/chromium/i)&&!i(/android/i)};t.isIOS=function(n){return n?i(RegExp("iP(hone|ad|od).+\\sOS\\s"+n,"i")):i(/iP(hone|ad|od)/i)};t.isAndroidNative=function(n){return t.isAndroid(n,!0)};t.isAndroid=function(n,r){return r&&i(/chrome\/[123456789]/i)&&!i(/chrome\/18/)?!1:n?(t.isInt(n)&&!/\./.test(n)&&(n=""+n+"."),i(RegExp("Android\\s*"+n,"i"))):i(/Android/i)};t.isMobile=function(){return t.isIOS()||t.isAndroid()};t.isIframe=function(){return window.frameElement&&"IFRAME"===window.frameElement.nodeName};t.saveCookie=function(n,t){document.cookie="jwplayer."+n+"="+t+"; path=/"};t.getCookies=function(){for(var n,i={},r=document.cookie.split("; "),t=0;t<r.length;t++)n=r[t].split("="),0===n[0].indexOf("jwplayer.")&&(i[n[0].substring(9,n[0].length)]=n[1]);return i};t.isInt=function(n){return 0==parseFloat(n)%1};t.typeOf=function(n){if(null===n)return"null";var t=typeof n;return"object"===t&&r.isArray(n)?"array":t};t.translateEventResponse=function(i,r){var u=t.extend({},r),f;return i!==n.events.JWPLAYER_FULLSCREEN||u.fullscreen?"object"==typeof u.data?(f=u.data,delete u.data,u=t.extend(u,f)):"object"==typeof u.metadata&&t.deepReplaceKeyName(u.metadata,["__dot__","__spc__","__dsh__","__default__"],["."," ","-","default"]):(u.fullscreen="true"===u.message,delete u.message),t.foreach(["position","duration","offset"],function(n,t){u[t]&&(u[t]=Math.round(1e3*u[t])/1e3)}),u};t.flashVersion=function(){if(t.isAndroid())return 0;var i=navigator.plugins,n;try{if("undefined"!==i&&(n=i["Shockwave Flash"]))return parseInt(n.description.replace(/\D+(\d+)\..*/,"$1"),10)}catch(r){}if("undefined"!=typeof window.ActiveXObject)try{if(n=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash"))return parseInt(n.GetVariable("$version").split(" ")[1].split(",")[0],10)}catch(u){}return 0};t.getScriptPath=function(n){for(var t,r=document.getElementsByTagName("script"),i=0;i<r.length;i++)if(t=r[i].src,t&&0<=t.indexOf(n))return t.substr(0,t.indexOf(n));return""};t.deepReplaceKeyName=function(i,r,u){switch(n.utils.typeOf(i)){case"array":for(var f=0;f<i.length;f++)i[f]=n.utils.deepReplaceKeyName(i[f],r,u);break;case"object":t.foreach(i,function(t,f){var s,e,o;if(r instanceof Array&&u instanceof Array){if(r.length!==u.length)return;s=r}else s=[r];for(e=t,o=0;o<s.length;o++)e=e.replace(RegExp(r[o],"g"),u[o]);i[e]=n.utils.deepReplaceKeyName(f,r,u);t!==e&&delete i[t]})}return i};e=t.pluginPathType={ABSOLUTE:0,RELATIVE:1,CDN:2};t.getPluginPathType=function(n){var i,r;if("string"==typeof n)return(n=n.split("?")[0],i=n.indexOf("://"),0<i)?e.ABSOLUTE:(r=n.indexOf("/"),n=t.extension(n),0>i&&0>r&&(!n||!isNaN(n))?e.CDN:e.RELATIVE)};t.getPluginName=function(n){return n.replace(/^(.*\/)?([^-]*)-?.*\.(swf|js)$/,"$2")};t.getPluginVersion=function(n){return n.replace(/[^-]*-?([^\.]*).*$/,"$1")};t.isYouTube=function(n,t){return"youtube"===t||/^(http|\/\/).*(youtube\.com|youtu\.be)\/.+/.test(n)};t.youTubeID=function(n){try{return/v[=\/]([^?&]*)|youtu\.be\/([^?]*)|^([\w-]*)$/i.exec(n).slice(1).join("").replace("?","")}catch(t){return""}};t.isRtmp=function(n,t){return 0===n.indexOf("rtmp")||"rtmp"===t};t.foreach=function(n,i){var r,u;for(r in n)"function"===t.typeOf(n.hasOwnProperty)?n.hasOwnProperty(r)&&(u=n[r],i(r,u)):(u=n[r],i(r,u))};t.isHTTPS=function(){return 0===window.location.href.indexOf("https")};t.repo=function(){var i="http://p.jwpcdn.com/"+n.version.split(/\W/).splice(0,2).join("/")+"/";try{t.isHTTPS()&&(i=i.replace("http://","https://ssl."))}catch(r){}return i};t.versionCheck=function(t){t=("0"+t).split(/\W/);var i=n.version.split(/\W/),r=parseFloat(t[0]),u=parseFloat(i[0]);return r>u||r===u&&parseFloat("0"+t[1])>parseFloat(i[1])?!1:!0};t.ajax=function(n,i,r,u){var f,h=!1,e,s,c,l;if(0<n.indexOf("#")&&(n=n.replace(/#.*$/,"")),n&&0<=n.indexOf("://")&&n.split("/")[2]!==window.location.href.split("/")[2]&&t.exists(window.XDomainRequest))f=new window.XDomainRequest,f.onload=o(f,n,i,r,u),f.ontimeout=f.onprogress=function(){},f.timeout=5e3;else if(t.exists(window.XMLHttpRequest))e=f=new window.XMLHttpRequest,s=n,f.onreadystatechange=function(){if(4===e.readyState)switch(e.status){case 200:o(e,s,i,r,u)();break;case 404:r("File not found",s,e)}};else return r&&r("",n,f),f;f.overrideMimeType&&f.overrideMimeType("text/xml");c=n;l=f;f.onerror=function(){r("Error loading file",c,l)};try{f.open("GET",n,!0)}catch(a){h=!0}return setTimeout(function(){if(h)r&&r(n,n,f);else try{f.send()}catch(t){r&&r(n,n,f)}},0),f};t.parseXML=function(n){var t;try{if(window.DOMParser){if(t=(new window.DOMParser).parseFromString(n,"text/xml"),t.childNodes&&t.childNodes.length&&"parsererror"===t.childNodes[0].firstChild.nodeName)return}else t=new window.ActiveXObject("Microsoft.XMLDOM"),t.async="false",t.loadXML(n)}catch(i){return}return t};t.between=function(n,t,i){return Math.max(Math.min(n,i),t)};t.seconds=function(n){if(r.isNumber(n))return n;n=n.replace(",",".");var t=n.split(":"),i=0;return"s"===n.slice(-1)?i=parseFloat(n):"m"===n.slice(-1)?i=60*parseFloat(n):"h"===n.slice(-1)?i=3600*parseFloat(n):1<t.length?(i=parseFloat(t[t.length-1]),i+=60*parseFloat(t[t.length-2]),3===t.length&&(i+=3600*parseFloat(t[t.length-3]))):i=parseFloat(n),i};t.serialize=function(n){return null===n?null:"true"===n.toString().toLowerCase()?!0:"false"===n.toString().toLowerCase()?!1:isNaN(Number(n))||5<n.length||0===n.length?n:Number(n)};t.addClass=function(n,i){var u=r.isString(n.className)?n.className.split(" "):[],f=r.isArray(i)?i:i.split(" ");r.each(f,function(n){r.contains(u,n)||u.push(n)});n.className=t.trim(u.join(" "))};t.removeClass=function(n,i){var u=r.isString(n.className)?n.className.split(" "):[],f=r.isArray(i)?i:i.split(" ");n.className=t.trim(r.difference(u,f).join(" "))};t.emptyElement=function(n){for(;n.firstChild;)n.removeChild(n.firstChild)};t.indexOf=r.indexOf;t.noop=function(){};t.canCast=function(){var t=n.cast;return!(!t||!r.isFunction(t.available)||!t.available())}}(jwplayer),function(n){function s(n){var t=document.createElement("style");return n&&t.appendChild(document.createTextNode(n)),t.type="text/css",document.getElementsByTagName("head")[0].appendChild(t),t}function h(n,t,r){return i.exists(t)?(r=r?" !important":"","string"==typeof t&&isNaN(t)?/png|gif|jpe?g/i.test(t)&&0>t.indexOf("url")?"url("+t+")":t+r:0===t||"z-index"===n||"opacity"===n?""+t+r:/color/i.test(n)?"#"+i.pad(t.toString(16).replace(/^0x/i,""),6)+r:Math.ceil(t)+"px"+r):""}function c(n,t){for(var u,e,i,r,f=0;f<n.length;f++)if(u=n[f],void 0!==u&&null!==u)for(e in t){for(i=e,i=i.split("-"),r=1;r<i.length;r++)i[r]=i[r].charAt(0).toUpperCase()+i[r].slice(1);i=i.join("");u.style[i]!==t[e]&&(u.style[i]=t[e])}}function o(n){var u=e[n].sheet,r,t,i,o,s;if(u){r=u.cssRules;t=l[n];i=n;o=f[i];i+=" { ";for(s in o)i+=s+": "+o[s]+"; ";if(i+="}",void 0!==t&&t<r.length&&r[t].selectorText===n){if(i===r[t].cssText)return;u.deleteRule(t)}else t=r.length,l[n]=t;try{u.insertRule(i,t)}catch(h){}}}var i=n.utils,e={},u,f={},t=null,l={},r;i.cssKeyframes=function(n,t){var i=e.keyframes,r;i||(i=s(),e.keyframes=i);i=i.sheet;r="@keyframes "+n+" { "+t+" }";try{i.insertRule(r,i.cssRules.length)}catch(u){}r=r.replace(/(keyframes|transform)/g,"-webkit-$1");try{i.insertRule(r,i.cssRules.length)}catch(f){}};r=i.css=function(n,i,r){var l,a,c,v;f[n]||(f[n]={});l=f[n];r=r||!1;a=!1;for(c in i)v=h(c,i[c],r),""!==v?v!==l[c]&&(l[c]=v,a=!0):void 0!==l[c]&&(delete l[c],a=!0);a&&(e[n]||(i=u&&u.sheet&&u.sheet.cssRules&&u.sheet.cssRules.length||0,(!u||5e4<i)&&(u=s()),e[n]=u),null!==t?t.styleSheets[n]=f[n]:o(n))};r.style=function(i,r,u){var f,e,o;if(!(void 0===i||null===i)){void 0===i.length&&(i=[i]);f={};for(e in r)f[e]=h(e,r[e]);if(null===t||u)c(i,f);else{r=(r=i.__cssRules)||{};for(o in f)r[o]=f[o];i.__cssRules=r;0>n._.indexOf(t.elements,i)&&t.elements.push(i)}}};r.block=function(n){null===t&&(t={id:n,styleSheets:{},elements:[]})};r.unblock=function(n){if(t&&(!n||t.id===n)){for(var i in t.styleSheets)o(i);for(n=0;n<t.elements.length;n++)i=t.elements[n],c(i,i.__cssRules);t=null}};i.clearCss=function(n){var t,i;for(t in f)0<=t.indexOf(n)&&delete f[t];for(i in e)0<=i.indexOf(n)&&o(i)};i.transform=function(n,t){var i={};t=t||"";i.transform=t;i["-webkit-transform"]=t;i["-ms-transform"]=t;i["-moz-transform"]=t;i["-o-transform"]=t;"string"==typeof n?r(n,i):r.style(n,i)};i.dragStyle=function(n,t){r(n,{"-webkit-user-select":t,"-moz-user-select":t,"-ms-user-select":t,"-webkit-user-drag":t,"user-select":t,"user-drag":t})};i.transitionStyle=function(n,t){navigator.userAgent.match(/5\.\d(\.\d)? safari/i)||r(n,{"-webkit-transition":t,"-moz-transition":t,"-o-transition":t,transition:t})};i.rotate=function(n,t){i.transform(n,"rotate("+t+"deg)")};i.rgbHex=function(n){return n=String(n).replace("#",""),3===n.length&&(n=n[0]+n[0]+n[1]+n[1]+n[2]+n[2]),"#"+n.substr(-6)};i.hexToRgba=function(n,t){var i="rgb",r=[parseInt(n.substr(1,2),16),parseInt(n.substr(3,2),16),parseInt(n.substr(5,2),16)];return void 0!==t&&100!==t&&(i+="a",r.push(t/100)),i+"("+r.join(",")+")"}}(jwplayer),function(n){var f=jwplayer._,r=n.foreach,t={mp4:"video/mp4",ogg:"video/ogg",oga:"audio/ogg",vorbis:"audio/ogg",webm:"video/webm",aac:"audio/mp4",mp3:"audio/mpeg",hls:"application/vnd.apple.mpegurl"},u={mp4:t.mp4,f4v:t.mp4,m4v:t.mp4,mov:t.mp4,m4a:t.aac,f4a:t.aac,aac:t.aac,mp3:t.mp3,ogv:t.ogg,ogg:t.ogg,oga:t.vorbis,vorbis:t.vorbis,webm:t.webm,m3u8:t.hls,m3u:t.hls,hls:t.hls},i=n.extensionmap={};r(u,function(n,t){i[n]={html5:t}});r({flv:"video",f4v:"video",mov:"video",m4a:"video",m4v:"video",mp4:"video",aac:"video",f4a:"video",mp3:"sound",smil:"rtmp",m3u8:"hls",hls:"hls"},function(n,t){i[n]||(i[n]={});i[n].flash=t});i.types=t;i.mimeType=function(n){var i;return f.find(t,function(t,r){if(t===n)return i=r,!0}),i};i.extType=function(n){return i.mimeType(u[n])}}(jwplayer.utils),function(n){var t=n.loaderstatus={NEW:0,LOADING:1,ERROR:2,COMPLETE:3};n.scriptloader=function(i){function f(n){r=t.ERROR;o.sendEvent(u.ERROR,n)}function e(n){r=t.COMPLETE;o.sendEvent(u.COMPLETE,n)}var u=jwplayer.events,o=n.extend(this,new u.eventdispatcher),r=t.NEW;this.load=function(){var s;if(r===t.NEW){if(s=n.scriptloader.loaders[i],s&&(r=s.getStatus(),2>r)){s.addEventListener(u.ERROR,f);s.addEventListener(u.COMPLETE,e);return}var h=document.getElementsByTagName("head")[0]||document.documentElement,o=document.createElement("script"),c=!1;o.onload=o.onreadystatechange=function(n){c||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(c=!0,e(n),o.onload=o.onreadystatechange=null,h&&o.parentNode&&h.removeChild(o))};o.onerror=f;o.src=i;h.insertBefore(o,h.firstChild);r=t.LOADING;n.scriptloader.loaders[i]=this}};this.getStatus=function(){return r}};n.scriptloader.loaders={}}(jwplayer.utils),function(n){n.trim=function(n){return n.replace(/^\s+|\s+$/g,"")};n.pad=function(n,t,i){for(i||(i="0");n.length<t;)n=i+n;return n};n.xmlAttribute=function(n,t){for(var i=0;i<n.attributes.length;i++)if(n.attributes[i].name&&n.attributes[i].name.toLowerCase()===t.toLowerCase())return n.attributes[i].value.toString();return""};n.extension=function(n){if(!n||"rtmp"===n.substr(0,4))return"";var t;return(t=-1<n.indexOf("(format=m3u8-")?"m3u8":!1,t)?t:(n=n.substring(n.lastIndexOf("/")+1,n.length).split("?")[0].split("#")[0],-1<n.lastIndexOf(".")?n.substr(n.lastIndexOf(".")+1,n.length).toLowerCase():void 0)};n.stringToColor=function(n){return n=n.replace(/(#|0x)?([0-9A-F]{3,6})$/gi,"$2"),3===n.length&&(n=n.charAt(0)+n.charAt(0)+n.charAt(1)+n.charAt(1)+n.charAt(2)+n.charAt(2)),parseInt(n,16)}}(jwplayer.utils),function(n){var t="touchmove",i="touchstart";n.touch=function(r){function h(n){n.type===i?(e=!0,u=l(f.DRAG_START,n)):n.type===t?e&&(o||(s(f.DRAG_START,n,u),o=!0),s(f.DRAG,n)):(e&&(o?s(f.DRAG_END,n):(n.cancelBubble=!0,s(f.TAP,n))),e=o=!1,u=null)}function s(n,t,i){c[n]&&(t.preventManipulation&&t.preventManipulation(),t.preventDefault&&t.preventDefault(),t=i?i:l(n,t))&&c[n](t)}function l(n,t){var i=null,r;return(t.touches&&t.touches.length?i=t.touches[0]:t.changedTouches&&t.changedTouches.length&&(i=t.changedTouches[0]),!i)?null:(r=a.getBoundingClientRect(),i={type:n,target:a,x:i.pageX-window.pageXOffset-r.left,y:i.pageY,deltaX:0,deltaY:0},n!==f.TAP&&u&&(i.deltaX=i.x-u.x,i.deltaY=i.y-u.y),i)}var a=r,e=!1,c={},u=null,o=!1,f=n.touchEvents;return document.addEventListener(t,h),document.addEventListener("touchend",function(n){e&&o&&s(f.DRAG_END,n);e=o=!1;u=null}),document.addEventListener("touchcancel",h),r.addEventListener(i,h),r.addEventListener("touchend",h),this.addEventListener=function(n,t){c[n]=t},this.removeEventListener=function(n){delete c[n]},this}}(jwplayer.utils),function(n){n.touchEvents={DRAG:"jwplayerDrag",DRAG_START:"jwplayerDragStart",DRAG_END:"jwplayerDragEnd",TAP:"jwplayerTap"}}(jwplayer.utils),function(n){n.key=function(t){var i,f,u,r;this.edition=function(){return u&&u.getTime()<(new Date).getTime()?"invalid":i};this.token=function(){return f};n.exists(t)||(t="");try{t=n.tea.decrypt(t,"36QXq4W@GSBV^teR");r=t.split("/");(i=r[0])?/^(free|pro|premium|enterprise|ads)$/i.test(i)?(f=r[1],r[2]&&0<parseInt(r[2])&&(u=new Date,u.setTime(String(r[2])))):i="invalid":i="free"}catch(e){i="invalid"}}}(jwplayer.utils),function(n){var t=n.tea={},r,i;t.encrypt=function(n,u){var f,o;if(0==n.length)return"";f=t.strToLongs(i.encode(n));1>=f.length&&(f[1]=0);for(var a=t.strToLongs(i.encode(u).slice(0,16)),s=f.length,e=f[s-1],h=f[0],l,v=Math.floor(6+52/s),c=0;0<v--;)for(c+=2654435769,l=c>>>2&3,o=0;o<s;o++)h=f[(o+1)%s],e=(e>>>5^h<<2)+(h>>>3^e<<4)^(c^h)+(a[o&3^l]^e),e=f[o]+=e;return f=t.longsToStr(f),r.encode(f)};t.decrypt=function(n,u){var e;if(0==n.length)return"";for(var f=t.strToLongs(r.decode(n)),a=t.strToLongs(i.encode(u).slice(0,16)),s=f.length,o=f[s-1],h=f[0],l,c=2654435769*Math.floor(6+52/s);0!=c;){for(l=c>>>2&3,e=s-1;0<=e;e--)o=f[0<e?e-1:s-1],o=(o>>>5^h<<2)+(h>>>3^o<<4)^(c^h)+(a[e&3^l]^o),h=f[e]-=o;c-=2654435769}return f=t.longsToStr(f),f=f.replace(/\0+$/,""),i.decode(f)};t.strToLongs=function(n){for(var i=Array(Math.ceil(n.length/4)),t=0;t<i.length;t++)i[t]=n.charCodeAt(4*t)+(n.charCodeAt(4*t+1)<<8)+(n.charCodeAt(4*t+2)<<16)+(n.charCodeAt(4*t+3)<<24);return i};t.longsToStr=function(n){for(var i=Array(n.length),t=0;t<n.length;t++)i[t]=String.fromCharCode(n[t]&255,n[t]>>>8&255,n[t]>>>16&255,n[t]>>>24&255);return i.join("")};r={code:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(n,t){var s,h,c,e,o=[],a="",u,f,l=r.code;if(f=("undefined"==typeof t?0:t)?i.encode(n):n,u=f.length%3,0<u)for(;3>u++;)a+="=",f+="\x00";for(u=0;u<f.length;u+=3)s=f.charCodeAt(u),h=f.charCodeAt(u+1),c=f.charCodeAt(u+2),e=s<<16|h<<8|c,s=e>>18&63,h=e>>12&63,c=e>>6&63,e&=63,o[u/3]=l.charAt(s)+l.charAt(h)+l.charAt(c)+l.charAt(e);return o=o.join(""),o.slice(0,o.length-a.length)+a},decode:function(n,t){var f,s,h,e,a,c,o,l,u;for(t="undefined"==typeof t?!1:t,c=[],l=r.code,o=t?i.decode(n):n,u=0;u<o.length;u+=4)f=l.indexOf(o.charAt(u)),s=l.indexOf(o.charAt(u+1)),e=l.indexOf(o.charAt(u+2)),a=l.indexOf(o.charAt(u+3)),h=f<<18|s<<12|e<<6|a,f=h>>>16&255,s=h>>>8&255,h&=255,c[u/4]=String.fromCharCode(f,s,h),64==a&&(c[u/4]=String.fromCharCode(f,s)),64==e&&(c[u/4]=String.fromCharCode(f));return e=c.join(""),t?i.decode(e):e}};i={encode:function(n){return n=n.replace(/[\u0080-\u07ff]/g,function(n){return n=n.charCodeAt(0),String.fromCharCode(192|n>>6,128|n&63)}),n.replace(/[\u0800-\uffff]/g,function(n){return n=n.charCodeAt(0),String.fromCharCode(224|n>>12,128|n>>6&63,128|n&63)})},decode:function(n){return n=n.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(n){return n=(n.charCodeAt(0)&15)<<12|(n.charCodeAt(1)&63)<<6|n.charCodeAt(2)&63,String.fromCharCode(n)}),n.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(n){return n=(n.charCodeAt(0)&31)<<6|n.charCodeAt(1)&63,String.fromCharCode(n)})}}}(jwplayer.utils),function(n){n.events={COMPLETE:"COMPLETE",ERROR:"ERROR",API_READY:"jwplayerAPIReady",JWPLAYER_READY:"jwplayerReady",JWPLAYER_FULLSCREEN:"jwplayerFullscreen",JWPLAYER_RESIZE:"jwplayerResize",JWPLAYER_ERROR:"jwplayerError",JWPLAYER_SETUP_ERROR:"jwplayerSetupError",JWPLAYER_MEDIA_BEFOREPLAY:"jwplayerMediaBeforePlay",JWPLAYER_MEDIA_BEFORECOMPLETE:"jwplayerMediaBeforeComplete",JWPLAYER_MEDIA_BUFFER:"jwplayerMediaBuffer",JWPLAYER_MEDIA_BUFFER_FULL:"jwplayerMediaBufferFull",JWPLAYER_MEDIA_ERROR:"jwplayerMediaError",JWPLAYER_MEDIA_LOADED:"jwplayerMediaLoaded",JWPLAYER_MEDIA_COMPLETE:"jwplayerMediaComplete",JWPLAYER_MEDIA_SEEK:"jwplayerMediaSeek",JWPLAYER_MEDIA_TIME:"jwplayerMediaTime",JWPLAYER_MEDIA_VOLUME:"jwplayerMediaVolume",JWPLAYER_MEDIA_META:"jwplayerMediaMeta",JWPLAYER_MEDIA_MUTE:"jwplayerMediaMute",JWPLAYER_AUDIO_TRACKS:"jwplayerAudioTracks",JWPLAYER_AUDIO_TRACK_CHANGED:"jwplayerAudioTrackChanged",JWPLAYER_MEDIA_LEVELS:"jwplayerMediaLevels",JWPLAYER_MEDIA_LEVEL_CHANGED:"jwplayerMediaLevelChanged",JWPLAYER_CAPTIONS_CHANGED:"jwplayerCaptionsChanged",JWPLAYER_CAPTIONS_LIST:"jwplayerCaptionsList",JWPLAYER_CAPTIONS_LOADED:"jwplayerCaptionsLoaded",JWPLAYER_PLAYER_STATE:"jwplayerPlayerState",state:{BUFFERING:"BUFFERING",IDLE:"IDLE",PAUSED:"PAUSED",PLAYING:"PLAYING"},JWPLAYER_PLAYLIST_LOADED:"jwplayerPlaylistLoaded",JWPLAYER_PLAYLIST_ITEM:"jwplayerPlaylistItem",JWPLAYER_PLAYLIST_COMPLETE:"jwplayerPlaylistComplete",JWPLAYER_DISPLAY_CLICK:"jwplayerViewClick",JWPLAYER_PROVIDER_CLICK:"jwplayerProviderClick",JWPLAYER_VIEW_TAB_FOCUS:"jwplayerViewTabFocus",JWPLAYER_CONTROLS:"jwplayerViewControls",JWPLAYER_USER_ACTION:"jwplayerUserAction",JWPLAYER_INSTREAM_CLICK:"jwplayerInstreamClicked",JWPLAYER_INSTREAM_DESTROYED:"jwplayerInstreamDestroyed",JWPLAYER_AD_TIME:"jwplayerAdTime",JWPLAYER_AD_ERROR:"jwplayerAdError",JWPLAYER_AD_CLICK:"jwplayerAdClicked",JWPLAYER_AD_COMPLETE:"jwplayerAdComplete",JWPLAYER_AD_IMPRESSION:"jwplayerAdImpression",JWPLAYER_AD_COMPANIONS:"jwplayerAdCompanions",JWPLAYER_AD_SKIPPED:"jwplayerAdSkipped",JWPLAYER_AD_PLAY:"jwplayerAdPlay",JWPLAYER_AD_PAUSE:"jwplayerAdPause",JWPLAYER_AD_META:"jwplayerAdMeta",JWPLAYER_CAST_AVAILABLE:"jwplayerCastAvailable",JWPLAYER_CAST_SESSION:"jwplayerCastSession",JWPLAYER_CAST_AD_CHANGED:"jwplayerCastAdChanged"}}(jwplayer),function(n){var t=n.utils;n.events.eventdispatcher=function(i,r){function e(n,i,r){var u,f;if(n)for(u=0;u<n.length;u++)if(f=n[u],f){null!==f.count&&0==--f.count&&delete n[u];try{f.listener(i)}catch(e){t.log('Error handling "'+r+'" event listener ['+u+"]: "+e.toString(),f.listener,i)}}}var u,f;this.resetEventListeners=function(){u={};f=[]};this.resetEventListeners();this.addEventListener=function(n,i,r){try{t.exists(u[n])||(u[n]=[]);"string"===t.typeOf(i)&&(i=new Function("return "+i)());u[n].push({listener:i,count:r||null})}catch(f){t.log("error",f)}return!1};this.removeEventListener=function(n,i){var r;if(u[n]){try{if(void 0===i){u[n]=[];return}for(r=0;r<u[n].length;r++)if(u[n][r].listener.toString()===i.toString()){u[n].splice(r,1);break}}catch(f){t.log("error",f)}return!1}};this.addGlobalListener=function(n,i){try{"string"===t.typeOf(n)&&(n=new Function("return "+n)());f.push({listener:n,count:i||null})}catch(r){t.log("error",r)}return!1};this.removeGlobalListener=function(n){if(n){try{for(var i=f.length;i--;)f[i].listener.toString()===n.toString()&&f.splice(i,1)}catch(r){t.log("error",r)}return!1}};this.sendEvent=function(o,s){t.exists(s)||(s={});t.extend(s,{id:i,version:n.version,type:o});r&&t.log(o,s);e(u[o],s,o);e(f,s,o)}}}(window.jwplayer),function(n){var t={},i={};n.plugins=function(){};n.plugins.loadPlugins=function(r,u){return i[r]=new n.plugins.pluginloader(new n.plugins.model(t),u),i[r]};n.plugins.registerPlugin=function(i,r,u,f){var e=n.utils.getPluginName(i);t[e]||(t[e]=new n.plugins.plugin(i));t[e].registerPlugin(i,r,u,f)}}(jwplayer),function(n){n.plugins.model=function(t){this.addPlugin=function(i){var r=n.utils.getPluginName(i);return t[r]||(t[r]=new n.plugins.plugin(i)),t[r]};this.getPlugins=function(){return t}}}(jwplayer),function(n){var t=jwplayer.utils,i=jwplayer.events;n.pluginmodes={FLASH:0,JAVASCRIPT:1,HYBRID:2};n.plugin=function(r){function h(){switch(t.getPluginPathType(r)){case t.pluginPathType.ABSOLUTE:return r;case t.pluginPathType.RELATIVE:return t.getAbsolutePath(r,window.location.href)}}function l(){s=setTimeout(function(){f=t.loaderstatus.COMPLETE;o.sendEvent(i.COMPLETE)},1e3)}function a(){f=t.loaderstatus.ERROR;o.sendEvent(i.ERROR,{url:r})}var f=t.loaderstatus.NEW,u,e,c,s,o=new i.eventdispatcher;t.extend(this,o);this.load=function(){if(f===t.loaderstatus.NEW)if(0<r.lastIndexOf(".swf"))u=r,f=t.loaderstatus.COMPLETE,o.sendEvent(i.COMPLETE);else if(t.getPluginPathType(r)===t.pluginPathType.CDN)f=t.loaderstatus.COMPLETE,o.sendEvent(i.COMPLETE);else{f=t.loaderstatus.LOADING;var n=new t.scriptloader(h());n.addEventListener(i.COMPLETE,l);n.addEventListener(i.ERROR,a);n.load()}};this.registerPlugin=function(n,r,h,l){s&&(clearTimeout(s),s=void 0);c=r;h&&l?(u=l,e=h):"string"==typeof h?u=h:"function"==typeof h?e=h:!h&&!l&&(u=n);f=t.loaderstatus.COMPLETE;o.sendEvent(i.COMPLETE)};this.getStatus=function(){return f};this.getPluginName=function(){return t.getPluginName(r)};this.getFlashPath=function(){if(u)switch(t.getPluginPathType(u)){case t.pluginPathType.ABSOLUTE:return u;case t.pluginPathType.RELATIVE:return 0<r.lastIndexOf(".swf")?t.getAbsolutePath(u,window.location.href):t.getAbsolutePath(u,h())}return null};this.getJS=function(){return e};this.getTarget=function(){return c};this.getPluginmode=function(){return"undefined"!=typeof u&&"undefined"!=typeof e?n.pluginmodes.HYBRID:"undefined"!=typeof u?n.pluginmodes.FLASH:"undefined"!=typeof e?n.pluginmodes.JAVASCRIPT:void 0};this.getNewInstance=function(n,t,i){return new e(n,t,i)};this.getURL=function(){return r}}}(jwplayer.plugins),function(n){var t=n.utils,i=n.events,r=n._,u=t.foreach;n.plugins.pluginloader=function(n,f){function a(){c||(c=!0,h=t.loaderstatus.COMPLETE,e.sendEvent(i.COMPLETE))}function s(){if(!l&&((!o||0===r.keys(o).length)&&a(),!c)){var u=n.getPlugins();y=r.after(p,a);t.foreach(o,function(n){var f,r;n=t.getPluginName(n);r=u[n];n=r.getJS();f=r.getTarget();r=r.getStatus();r===t.loaderstatus.LOADING||r===t.loaderstatus.NEW||(n&&!t.versionCheck(f)&&e.sendEvent(i.ERROR,{message:"Incompatible player version"}),y())})}}function v(n){l||(e.sendEvent(i.ERROR,{message:"File not found"}),n.url&&t.log("File not found",n.url),s())}var h=t.loaderstatus.NEW,c=!1,o=f,p=r.size(o),y,l=!1,e=new i.eventdispatcher;t.extend(this,e);this.setupPlugins=function(i,r,f){var e={length:0,plugins:{}},s=0,o={},h=n.getPlugins();return u(r.plugins,function(n,u){var l=t.getPluginName(n),a=h[l],v=a.getFlashPath(),p=a.getJS(),y=a.getURL(),c;v&&(e.plugins[v]=t.extend({},u),e.plugins[v].pluginmode=a.getPluginmode(),e.length++);try{if(p&&r.plugins&&r.plugins[y]){c=document.createElement("div");c.id=i.id+"_"+l;c.style.position="absolute";c.style.top=0;c.style.zIndex=s+10;o[l]=a.getNewInstance(i,t.extend({},r.plugins[y]),c);s++;i.onReady(f(o[l],c,!0));i.onResize(f(o[l],c))}}catch(w){t.log("ERROR: Failed to load "+l+".")}}),i.plugins=o,e};this.load=function(){if(!(t.exists(f)&&"object"!==t.typeOf(f))){h=t.loaderstatus.LOADING;u(f,function(r){t.exists(r)&&(r=n.addPlugin(r),r.addEventListener(i.COMPLETE,s),r.addEventListener(i.ERROR,v))});var r=n.getPlugins();u(r,function(n,t){t.load()})}s()};this.destroy=function(){l=!0;e&&(e.resetEventListeners(),e=null)};this.pluginFailed=v;this.getStatus=function(){return h}}}(jwplayer),function(n){n.parsers={localName:function(n){return n?n.localName?n.localName:n.baseName?n.baseName:"":""},textContent:function(t){return t?t.textContent?n.utils.trim(t.textContent):t.text?n.utils.trim(t.text):"":""},getChildNode:function(n,t){return n.childNodes[t]},numChildren:function(n){return n.childNodes?n.childNodes.length:0}}}(jwplayer),function(n){var t=n.parsers;(t.jwparser=function(){}).parseEntry=function(i,r){for(var e,h,o=[],f=[],s=n.utils.xmlAttribute,u=0;u<i.childNodes.length;u++)e=i.childNodes[u],"jwplayer"===e.prefix&&(h=t.localName(e),"source"===h?(delete r.sources,o.push({file:s(e,"file"),"default":s(e,"default"),label:s(e,"label"),type:s(e,"type")})):"track"===h?(delete r.tracks,f.push({file:s(e,"file"),"default":s(e,"default"),kind:s(e,"kind"),label:s(e,"label")})):(r[h]=n.utils.serialize(t.textContent(e)),"file"===h&&r.sources&&delete r.sources)),r.file||(r.file=r.link);if(o.length)for(r.sources=[],u=0;u<o.length;u++)0<o[u].file.length&&(o[u]["default"]="true"===o[u]["default"]?!0:!1,o[u].label.length||delete o[u].label,r.sources.push(o[u]));if(f.length)for(r.tracks=[],u=0;u<f.length;u++)0<f[u].file.length&&(f[u]["default"]="true"===f[u]["default"]?!0:!1,f[u].kind=f[u].kind.length?f[u].kind:"captions",f[u].label.length||delete f[u].label,r.tracks.push(f[u]));return r}}(jwplayer),function(n){var u=jwplayer.utils,t=u.xmlAttribute,f=n.localName,i=n.textContent,e=n.numChildren,r=n.mediaparser=function(){};r.parseGroup=function(n,o){for(var s,l=[],c,v,a,h=0;h<e(n);h++)if(s=n.childNodes[h],"media"===s.prefix&&f(s))switch(f(s).toLowerCase()){case"content":t(s,"duration")&&(o.duration=u.seconds(t(s,"duration")));0<e(s)&&(o=r.parseGroup(s,o));t(s,"url")&&(o.sources||(o.sources=[]),o.sources.push({file:t(s,"url"),type:t(s,"type"),width:t(s,"width"),label:t(s,"label")}));break;case"title":o.title=i(s);break;case"description":o.description=i(s);break;case"guid":o.mediaid=i(s);break;case"thumbnail":o.image||(o.image=t(s,"url"));break;case"group":r.parseGroup(s,o);break;case"subtitle":c={};c.file=t(s,"url");c.kind="captions";0<t(s,"lang").length&&(v=c,s=t(s,"lang"),a={zh:"Chinese",nl:"Dutch",en:"English",fr:"French",de:"German",it:"Italian",ja:"Japanese",pt:"Portuguese",ru:"Russian",es:"Spanish"},s=a[s]?a[s]:s,v.label=s);l.push(c)}for(o.hasOwnProperty("tracks")||(o.tracks=[]),h=0;h<l.length;h++)o.tracks.push(l[h]);return o}}(jwplayer.parsers),function(n){function f(r){for(var f,s,u={},o=0;o<r.childNodes.length;o++)if(f=r.childNodes[o],s=i(f),s)switch(s.toLowerCase()){case"enclosure":u.file=e.xmlAttribute(f,"url");break;case"title":u.title=t(f);break;case"guid":u.mediaid=t(f);break;case"pubdate":u.date=t(f);break;case"description":u.description=t(f);break;case"link":u.link=t(f);break;case"category":u.tags=u.tags?u.tags+t(f):t(f)}return u=n.mediaparser.parseGroup(r,u),u=n.jwparser.parseEntry(r,u),new jwplayer.playlist.item(u)}var e=jwplayer.utils,t=n.textContent,r=n.getChildNode,u=n.numChildren,i=n.localName;n.rssparser={};n.rssparser.parse=function(n){for(var e,o,h,s=[],t=0;t<u(n);t++)if(e=r(n,t),"channel"===i(e).toLowerCase())for(o=0;o<u(e);o++)h=r(e,o),"item"===i(h).toLowerCase()&&s.push(f(h));return s}}(jwplayer.parsers),function(n){var t=n.utils,i=n._,r;n.playlist=function(t){var r=[];return t=i.isArray(t)?t:[t],i.each(t,function(t){r.push(new n.playlist.item(t))}),r};n.playlist.filterPlaylist=function(n,u){var f=[];return i.each(n,function(n){if(n=t.extend({},n),n.sources=r(n.sources,!1,u),n.sources.length){for(var i=0;i<n.sources.length;i++)n.sources[i].label=n.sources[i].label||i.toString();f.push(n)}}),f};r=n.playlist.filterSources=function(r,u,f){var e,o=[],s=u?n.embed.flashCanPlay:n.embed.html5CanPlay;if(r)return i.each(r,function(n){if(n&&n.file){var r=t.trim(""+n.file),i=n.type;i||(i=t.extension(r),i=t.extensionmap.extType(i));n=t.extend({},n,{file:r,type:i})}else n=void 0;n&&s(n.file,n.type,f)&&(e=e||n.type,n.type===e&&o.push(n))}),o}}(jwplayer),function(n){var t=n.item=function(i){var f=jwplayer.utils,r=f.extend({},t.defaults,i),u,e;for(r.tracks=i&&f.exists(i.tracks)?i.tracks:[],0===r.sources.length&&(r.sources=[new n.source(r)]),u=0;u<r.sources.length;u++)e=r.sources[u]["default"],r.sources[u]["default"]=e?"true"===e.toString():!1,r.sources[u]=new n.source(r.sources[u]);if(r.captions&&!f.exists(i.tracks)){for(i=0;i<r.captions.length;i++)r.tracks.push(r.captions[i]);delete r.captions}for(u=0;u<r.tracks.length;u++)r.tracks[u]=new n.track(r.tracks[u]);return r};t.defaults={description:void 0,image:void 0,mediaid:void 0,title:void 0,sources:[],tracks:[]}}(jwplayer.playlist),function(n){var r=n.utils,t=n.events,i=n.parsers;n.playlist.loader=function(){function e(r){var o,e,s;try{for(o=r.responseXML.childNodes,r="",e=0;e<o.length&&!(r=o[e],8!==r.nodeType);e++);"xml"===i.localName(r)&&(r=r.nextSibling);"rss"!==i.localName(r)?u("Not a valid RSS feed"):(s=new n.playlist(i.rssparser.parse(r)),f.sendEvent(t.JWPLAYER_PLAYLIST_LOADED,{playlist:s}))}catch(h){u()}}function o(n){u(n.match(/invalid/i)?"Not a valid RSS feed":"")}function u(n){f.sendEvent(t.JWPLAYER_ERROR,{message:n?n:"Error loading file"})}var f=new t.eventdispatcher;r.extend(this,f);this.load=function(n){r.ajax(n,e,o)}}}(jwplayer),function(n){var t=jwplayer.utils,i={file:void 0,label:void 0,type:void 0,"default":void 0};n.source=function(n){var r=t.extend({},i);return t.foreach(i,function(i){t.exists(n[i])&&(r[i]=n[i],delete n[i])}),r.type&&0<r.type.indexOf("/")&&(r.type=t.extensionmap.mimeType(r.type)),"m3u8"===r.type&&(r.type="hls"),"smil"===r.type&&(r.type="rtmp"),r}}(jwplayer.playlist),function(n){var t=jwplayer.utils,i={file:void 0,label:void 0,kind:"captions","default":!1};n.track=function(n){var r=t.extend({},i);return n||(n={}),t.foreach(i,function(i){t.exists(n[i])&&(r[i]=n[i],delete n[i])}),r}}(jwplayer.playlist),function(n){function u(n,i,r){var u=n.style;u.backgroundColor="#000";u.color="#FFF";u.width=t.styleDimension(r.width);u.height=t.styleDimension(r.height);u.display="table";u.opacity=1;r=document.createElement("p");u=r.style;u.verticalAlign="middle";u.textAlign="center";u.display="table-cell";u.font="15px/20px Arial, Helvetica, sans-serif";r.innerHTML=i.replace(":",":<br>");n.innerHTML="";n.appendChild(r)}var t=n.utils,i=n.events,f=n._,r=n.embed=function(e){function nt(){var u,b,y,k;if(!w){if(u=o.playlist,f.isArray(u)){if(0===u.length){a();return}if(1===u.length&&(!u[0].sources||0===u[0].sources.length||!u[0].sources[0].file)){a();return}}if(!p)if(f.isString(u))c=new n.playlist.loader,c.addEventListener(i.JWPLAYER_PLAYLIST_LOADED,function(n){o.playlist=n.playlist;p=!1;nt()}),c.addEventListener(i.JWPLAYER_ERROR,function(n){p=!1;a(n)}),p=!0,c.load(o.playlist);else if(s.getStatus()===t.loaderstatus.COMPLETE){for(u=0;u<o.modes.length;u++)if(b=o.modes[u],y=b.type,y&&r[y]&&(k=t.extend({},o),l=new r[y](h,b,k,s,e),l.supportsConfig()))return l.addEventListener(i.ERROR,rt),l.embed(),t.css("object.jwswf, .jwplayer:focus",{outline:"none"}),t.css(".jw-tab-focus:focus",{outline:"solid 2px #0B7EF4"}),e;o.fallback?(u="No suitable players found and fallback enabled",v(u,!0),t.log(u),new r.download(h,o,a)):(u="No suitable players found and fallback disabled",v(u,!1),t.log(u))}}}function rt(n){y(tt+n.message)}function ut(n){e.dispatchEvent(i.JWPLAYER_ERROR,{message:"Could not load plugin: "+n.message})}function a(n){n&&n.message?y("Error loading playlist: "+n.message):y(tt+"No playable sources found")}function v(n,t){clearTimeout(it);it=setTimeout(function(){e.dispatchEvent(i.JWPLAYER_SETUP_ERROR,{message:n,fallback:t})},0)}function y(n){w||(d.parentNode.replaceChild(h,d),o.fallback?(w=!0,u(h,n,o),v(n,!0)):v(n,!1))}var o=new r.config(e.config),b=o.width,k=o.height,tt="Error loading player: ",d=document.getElementById(e.id),s=n.plugins.loadPlugins(e.id,o.plugins),c,p=!1,w=!1,l=null,it=-1,g,h;return o.id=e.id,o.aspectratio?e.config.aspectratio=o.aspectratio:delete e.config.aspectratio,g=e,t.foreach(o.events,function(n,t){var i=g[n];"function"==typeof i&&i.call(g,t)}),h=document.createElement("div"),h.id=d.id,h.style.width=0<b.toString().indexOf("%")?b:b+"px",h.style.height=0<k.toString().indexOf("%")?k:k+"px",this.embed=function(){w||(s.addEventListener(i.COMPLETE,nt),s.addEventListener(i.ERROR,ut),s.load())},this.destroy=function(){l&&(l.destroy(),l=null);s&&(s.destroy(),s=null);c&&(c.resetEventListeners(),c=null)},this.errorScreen=y,this};n.embed.errorScreen=u}(jwplayer),function(n){function u(n){var u,f;if(n.playlist)for(u=0;u<n.playlist.length;u++)n.playlist[u]=new r(n.playlist[u]);else f={},t.foreach(r.defaults,function(t){i(n,f,t)}),f.sources||(n.levels?(f.sources=n.levels,delete n.levels):(u={},i(n,u,"file"),i(n,u,"type"),f.sources=u.file?[u]:[])),n.playlist=[new r(f)]}function i(n,i,r){t.exists(n[r])&&(i[r]=n[r],delete n[r])}var t=n.utils,r=n.playlist.item;(n.embed.config=function(i){var r={fallback:!0,height:270,primary:"html5",width:480,base:i.base?i.base:t.getScriptPath("jwplayer.js"),aspectratio:""},f,e;return i=t.extend({},r,n.defaults,i),r={type:"html5",src:i.base+"jwplayer.html5.js"},f={type:"flash",src:i.base+"jwplayer.flash.swf"},i.modes="flash"===i.primary?[f,r]:[r,f],i.listbar&&(i.playlistsize=i.listbar.size,i.playlistposition=i.listbar.position,i.playlistlayout=i.listbar.layout),i.flashplayer&&(f.src=i.flashplayer),i.html5player&&(r.src=i.html5player),u(i),f=i.aspectratio,"string"==typeof f&&t.exists(f)?(e=f.indexOf(":"),-1===e?r=0:(r=parseFloat(f.substr(0,e)),f=parseFloat(f.substr(e+1)),r=0>=r||0>=f?0:100*(f/r)+"%")):r=0,-1===i.width.toString().indexOf("%")?delete i.aspectratio:r?i.aspectratio=r:delete i.aspectratio,i}).addConfig=function(n,i){return u(i),t.extend(n,i)}}(jwplayer),function(n){function i(n,i){function f(n,t){u[r].style[n]=t}for(var u=document.querySelectorAll(n),r=0;r<u.length;r++)t.foreach(i,f)}var t=n.utils;n.embed.download=function(n,r,u){function h(n,t,i){return n=document.createElement(n),t&&(n.className="jwdownload"+t),i&&i.appendChild(n),n}var e=t.extend({},r),o,p=e.width?e.width:480,w=e.height?e.height:320,c,l,f,a,v,s,y;if(r=r.logo?r.logo:{prefix:t.repo(),file:"logo.png",margin:10},f=e.playlist,e=["mp4","aac","mp3"],f&&f.length){for(a=f[0],v=a.sources,f=0;f<v.length;f++)s=v[f],s.file&&(y=s.type||t.extensionmap.extType(t.extension(s.file)),0<=t.indexOf(e,y)?(o=s.file,c=a.image):t.isYouTube(s.file,y)&&(l=s.file));o?(u=o,n&&(o=h("a","display",n),h("div","icon",o),h("div","logo",o),u&&o.setAttribute("href",t.getAbsolutePath(u))),u="#"+n.id+" .jwdownload",n.style.width="",n.style.height="",i(u+"display",{width:t.styleDimension(Math.max(320,p)),height:t.styleDimension(Math.max(180,w)),background:"black center no-repeat "+(c?"url("+c+")":""),backgroundSize:"contain",position:"relative",border:"none",display:"block"}),i(u+"display div",{position:"absolute",width:"100%",height:"100%"}),i(u+"logo",{top:r.margin+"px",right:r.margin+"px",background:"top right no-repeat url("+r.prefix+r.file+")"}),i(u+"icon",{background:"center no-repeat url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAgNJREFUeNrs28lqwkAYB/CZqNVDDj2r6FN41QeIy8Fe+gj6BL275Q08u9FbT8ZdwVfotSBYEPUkxFOoks4EKiJdaDuTjMn3wWBO0V/+sySR8SNSqVRKIR8qaXHkzlqS9jCfzzWcTCYp9hF5o+59sVjsiRzcegSckFzcjT+ruN80TeSlAjCAAXzdJSGPFXRpAAMYwACGZQkSdhG4WCzehMNhqV6vG6vVSrirKVEw66YoSqDb7cqlUilE8JjHd/y1MQefVzqdDmiaJpfLZWHgXMHn8F6vJ1cqlVAkEsGuAn83J4gAd2RZymQygX6/L1erVQt+9ZPWb+CDwcCC2zXGJaewl/DhcHhK3DVj+KfKZrMWvFarcYNLomAv4aPRSFZVlTlcSPA5fDweW/BoNIqFnKV53JvncjkLns/n/cLdS+92O7RYLLgsKfv9/t8XlDn4eDyiw+HA9Jyz2eyt0+kY2+3WFC5hluej0Ha7zQQq9PPwdDq1Et1sNsx/nFBgCqWJ8oAK1aUptNVqcYWewE4nahfU0YQnk4ntUEfGMIU2m01HoLaCKbTRaDgKtaVLk9tBYaBcE/6Artdr4RZ5TB6/dC+9iIe/WgAMYADDpAUJAxjAAAYwgGFZgoS/AtNNTF7Z2bL0BYPBV3Jw5xFwwWcYxgtBP5OkE8i9G7aWGOOCruvauwADALMLMEbKf4SdAAAAAElFTkSuQmCC)"})):l?(r=l,n=h("iframe","",n),n.src="http://www.youtube.com/embed/"+t.youTubeID(r),n.width=p,n.height=w,n.style.border="none"):u()}}}(jwplayer),function(n){var t=n.utils,u=n.events,i={},r;(n.embed.flash=function(f,e,o,s,h){function c(n,t,i){var r=document.createElement("param");r.setAttribute("name",t);r.setAttribute("value",i);n.appendChild(r)}function v(n,t,i){return function(){try{i&&document.getElementById(h.id+"_wrapper").appendChild(t);var r=document.getElementById(h.id).getPluginConfig("display");"function"==typeof n.resize&&n.resize(r.width,r.height);t.style.left=r.x;t.style.top=r.h}catch(u){}}}function y(n){if(!n)return{};var i={},r=[];return t.foreach(n,function(n,u){var f=t.getPluginName(n);r.push(n);t.foreach(u,function(n,t){i[f+"."+n]=t})}),i.plugins=r.join(","),i}var l=new n.events.eventdispatcher,a=t.flashVersion();t.extend(this,l);this.embed=function(){var k;if(o.id=h.id,10>a)return l.sendEvent(u.ERROR,{message:"Flash version must be 10.0 or greater"}),!1;var n,r,b=f.id,w=h.config.listbar,p=t.extend({},o);for(n=document.getElementById(h.id),n.parentNode.replaceChild(f,n),b+"_wrapper"===f.parentNode.id?n=document.getElementById(b+"_wrapper"):(n=document.createElement("div"),r=document.createElement("div"),r.style.display="none",r.id=b+"_aspect",n.id=b+"_wrapper",n.style.position="relative",n.style.display="block",n.style.width=t.styleDimension(p.width),n.style.height=t.styleDimension(p.height),h.config.aspectratio&&(k=parseFloat(h.config.aspectratio),r.style.display="block",r.style.marginTop=h.config.aspectratio,n.style.height="auto",n.style.display="inline-block",w&&("bottom"===w.position?r.style.paddingBottom=w.size+"px":"right"===w.position&&(r.style.marginBottom=-1*w.size*(k/100)+"px"))),f.parentNode.replaceChild(n,f),n.appendChild(f),n.appendChild(r)),w=s.setupPlugins(h,p,v),0<w.length?t.extend(p,y(w.plugins)):delete p.plugins,"undefined"!=typeof p["dock.position"]&&"false"===p["dock.position"].toString().toLowerCase()&&(p.dock=p["dock.position"],delete p["dock.position"]),w=p.wmode||(p.height&&40>=p.height?"transparent":"opaque"),r="height width modes events primary base fallback volume".split(" "),k=0;k<r.length;k++)delete p[r[k]];r=t.getCookies();t.foreach(r,function(n,t){"undefined"==typeof p[n]&&(p[n]=t)});r=window.location.href.split("/");r.splice(r.length-1,1);r=r.join("/");p.base=r+"/";i[b]=p;t.isMSIE()?(f.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%" id="'+b+'" name="'+b+'" tabindex="0"><param name="movie" value="'+e.src+'"><param name="allowfullscreen" value="true"><param name="allowscriptaccess" value="always"><param name="seamlesstabbing" value="true"><param name="wmode" value="'+w+'"><param name="bgcolor" value="#000000"><\/object>',n=n.getElementsByTagName("object")[0],n.style.outline="none"):(n=document.createElement("object"),n.setAttribute("type","application/x-shockwave-flash"),n.setAttribute("data",e.src),n.setAttribute("width","100%"),n.setAttribute("height","100%"),n.setAttribute("bgcolor","#000000"),n.setAttribute("id",b),n.setAttribute("name",b),n.className="jwswf",c(n,"allowfullscreen","true"),c(n,"allowscriptaccess","always"),c(n,"seamlesstabbing","true"),c(n,"wmode",w),f.parentNode.replaceChild(n,f));h.config.aspectratio&&(n.style.position="absolute",n.style.left="0");h.container=n;h.setPlayer(n,"flash")};this.supportsConfig=function(){var n,i;if(a)if(o){if("string"===t.typeOf(o.playlist))return!0;try{if(n=o.playlist[0].sources,"undefined"==typeof n)return!0;for(i=0;i<n.length;i++)if(n[i].file&&r(n[i].file,n[i].type))return!0}catch(u){}}else return!0;return!1};this.destroy=function(){}}).getVars=function(n){return i[n]};r=n.embed.flashCanPlay=function(n,i){if(t.isYouTube(n,i)||t.isRtmp(n,i)||"hls"===i)return!0;var r=t.extensionmap[i?i:t.extension(n)];return r?!!r.flash:!1}}(jwplayer),function(n){var t=n.utils,r=t.extensionmap,u=n.events,i;n.embed.html5=function(r,f,e,o,s){function h(n,t,i){return function(){try{var u=document.querySelector("#"+r.id+" .jwmain");i&&u.appendChild(t);"function"==typeof n.resize&&(n.resize(u.clientWidth,u.clientHeight),setTimeout(function(){n.resize(u.clientWidth,u.clientHeight)},400));t.left=u.style.left;t.top=u.style.top}catch(f){}}}var c=new u.eventdispatcher;t.extend(this,c);this.embed=function(){if(n.html5){o.setupPlugins(s,e,h);t.emptyElement(r);var i=n.utils.extend({},e);delete i.volume;i=new n.html5.player(i);s.setPlayer(i,"html5")}else this.loadEmbedder()};this.loadEmbedder=function(){i=i||new t.scriptloader(f.src);i.addEventListener(u.ERROR,this.loadError);i.addEventListener(u.COMPLETE,this.embed);i.load()};this.loadError=function(n){this.sendEvent(n.type,{message:"HTML5 player not found"})};this.supportsConfig=function(){if(n.vid.canPlayType)try{if("string"===t.typeOf(e.playlist))return!0;for(var r=e.playlist[0].sources,i=0;i<r.length;i++)if(n.embed.html5CanPlay(r[i].file,r[i].type,e.androidhls))return!0}catch(u){}return!1};this.destroy=function(){i&&(i.resetEventListeners(),i=null)}};n.embed.html5CanPlay=function(i,u,f){var o,e;if(null!==navigator.userAgent.match(/BlackBerry/i)||t.isIE(9))return!1;if(t.isYouTube(i,u))return!0;if(o=t.extension(i),u=u||r.extType(o),"hls"===u)if(f){if(f=t.isAndroidNative,f(2)||f(3)||f("4.0"))return!1;if(t.isAndroid())return!0}else if(t.isAndroid())return!1;if(t.isRtmp(i,u)||(i=r[u]||r[o],!i||i.flash&&!i.html5))return!1;n:if(i=i.html5){try{e=!!n.vid.canPlayType(i);break n}catch(s){}e=!1}else e=!0;return e}}(jwplayer),function(n){var r=n.embed,u=n.embed.html5CanPlay,t=n.utils,f=n._,i=/\.(js|swf)$/;n.cast=n.cast||{};n.embed=t.extend(function(u){function v(){a="Adobe SiteCatalyst Error: Could not find Media Module"}var h=t.repo(),c=t.extend({},n.defaults),f=t.extend({},c,u.config),o=u.config,e=f.plugins,s=f.analytics,y=h+"jwpsrv.js",p=h+"sharing.js",w=h+"related.js",b=h+"gapro.js",c=n.key?n.key:c.key,l=new n.utils.key(c).edition(),a,e=e?e:{};"ads"==l&&f.advertising&&(i.test(f.advertising.client)?e[f.advertising.client]=f.advertising:e[h+f.advertising.client+".js"]=f.advertising);delete o.advertising;o.key=c;f.analytics&&i.test(f.analytics.client)&&(y=f.analytics.client);delete o.analytics;!s||"ads"===l||"enterprise"===l||delete s.enabled;"free"!=l&&s&&!1===s.enabled||(e[y]=s?s:{});delete e.sharing;delete e.related;switch(l){case"ads":case"enterprise":if(o.sitecatalyst)try{window.s&&window.s.hasOwnProperty("Media")?new n.embed.sitecatalyst(u):v()}catch(k){v()}case"premium":f.related&&(i.test(f.related.client)&&(w=f.related.client),e[w]=f.related);f.ga&&(i.test(f.ga.client)&&(b=f.ga.client),e[b]=f.ga);case"pro":f.sharing&&(i.test(f.sharing.client)&&(p=f.sharing.client),e[p]=f.sharing);f.skin&&(o.skin=f.skin.replace(/^(beelden|bekle|five|glow|modieus|roundster|stormtrooper|vapor)$/i,t.repo()+"skins/$1.xml"))}return o.plugins=e,u.config=o,u=new r(u),a&&u.errorScreen(a),u},n.embed);n.embed.html5CanPlay=function(t,i){var r,e={file:t,type:i};return r=n.html5&&n.html5.chooseProvider?n.html5.chooseProvider(e)!==n.html5.VideoProvider:f.any(n.unregisteredProviders,function(n){return n.supports(e)}),r?!0:u.apply(this,arguments)}}(jwplayer),function(n){var t=jwplayer.utils;n.sitecatalyst=function(n){function r(n){f.debug&&t.log(n)}function y(n){return n=n.split("/"),n=n[n.length-1],n=n.split("?"),n[0]}function c(){if(!h){h=!0;var n=u.getPosition();r("stop: "+i+" : "+n);s.Media.stop(i,n)}}function l(){v||(c(),v=!0,r("close: "+i),s.Media.close(i),o=!0,e=0)}var u=n,f=t.extend({},u.config.sitecatalyst),p={onPlay:function(){if(!o){var n=u.getPosition();h=!1;r("play: "+i+" : "+n);s.Media.play(i,n)}},onPause:c,onBuffer:c,onIdle:l,onPlaylistItem:function(n){var s,r;try{o=!0;l();e=0;f.mediaName?s=f.mediaName:(r=u.getPlaylistItem(n.index),s=r.title?r.title:r.file?y(r.file):r.sources&&r.sources.length?y(r.sources[0].file):"");i=s;a=f.playerName?f.playerName:u.id}catch(h){t.log(h)}},onTime:function(){var n,t;if(o){if(n=u.getDuration(),-1==n)return;v=h=o=!1;r("open: "+i+" : "+n+" : "+a);s.Media.open(i,n,a);r("play: "+i+" : 0");s.Media.play(i,0)}n=u.getPosition();3<=Math.abs(n-e)&&(t=e,r("seek: "+t+" to "+n),r("stop: "+i+" : "+t),s.Media.stop(i,t),r("play: "+i+" : "+n),s.Media.play(i,n));e=n},onComplete:l},i,a,e,h=!0,v=!0,o;t.foreach(p,function(n){u[n](p[n])})}}(jwplayer.embed),function(n){function i(n,i){n[i]&&(n[i]=t.getAbsolutePath(n[i]))}var t=n.utils,r=n._,u=window.location.href;n.cast.setupCastConfig=function(r,f){var o=t.extend({},r.config),s,h,l,e,c;for(o.cast=t.extend({pageUrl:u},f),s="base autostart controls fallback fullscreen width height mobilecontrols modes playlistlayout playlistposition playlistsize primary stretching sharing related ga skin logo listbar events".split(" "),h=s.length;h--;)delete o[s[h]];s=o.plugins;delete o.plugins;for(l in s)if(s.hasOwnProperty(l)&&(e=s[l],e.client&&(/[\.\/]/.test(e.client)&&i(e,"client"),-1<e.client.indexOf("vast")))){if(h=o,e=t.extend({},e),e.client="vast",delete e.companiondiv,e.schedule){c=void 0;for(c in e.schedule)e.schedule.hasOwnProperty(c)&&i(e.schedule[c].ad||e.schedule[c],"tag")}i(e,"tag");h.advertising=e}return r.position&&(o.position=r.position),0<r.item&&(o.item=r.item),o.captionLabel=t.getCookies().captionLabel,o.playerVersion=n.version,o};n.cast.setupFlashCastConfig=function(i){var u=i.config,f;return u.playlist=i.getPlaylist(),(f=r.find(u.plugins,function(n,t){return 0<t.indexOf("vast.js")}))?(f.client="vast",f={advertising:f}):f={},u=r.pick(u,"id captionLabel cast key playlist repeat".split(" ")),u.cast.pageUrl=window.location.href,t.extend(u,{playerVersion:n.version,captionLabel:t.getCookies().captionLabel,volume:i.getVolume(),mute:i.getMute(),id:i.id,position:i.getPosition(),item:i.getPlaylistIndex()},f),u}}(window.jwplayer),function(n,t){function e(n,t){n[t]&&(n[t]=u.getAbsolutePath(n[t]))}var i=t.cast,u=t.utils,r=t.events,f=r.state,o={};i.NS="urn:x-cast:com.longtailvideo.jwplayer";i.debug=!1;i.availability=null;i.available=function(t){t=t||i.availability;var r=n.chrome,u="available";return r.cast&&r.cast.ReceiverAvailability&&(u=r.cast.ReceiverAvailability.AVAILABLE),t===u};i.controller=function(s,h){function bt(n,t){i.log("send command",n,t);var r={command:n};void 0!==t&&(r.args=t);c.sendMessage(i.NS,r,tt,function(n){i.log("error message",n);"Invalid namespace"===n.description&&w()})}function kt(n){n=!!i.available(n.availability);d.available!==n&&(d.available=n,st(r.JWPLAYER_CAST_AVAILABLE))}function dt(n){i.log("existing session",n);c||y||(y=n.session,y.addMessageListener(i.NS,et))}function et(n,u){var f=JSON.parse(u),e,o;if(!f)throw"Message not proper JSON";f.reconcile&&(y.removeMessageListener(i.NS,et),e=f.diff,o=y,e.id&&f.appid&&f.pageUrl||(e.id=t().id,f.appid=v.appid,f.pageUrl=pt,y=c=null),e.id===s.id&&f.appid===v.appid&&f.pageUrl===pt&&(c||(s.jwInstreamState()&&s.jwInstreamDestroy(!0),g(o),h.sendEvent(r.JWPLAYER_PLAYER_STATE,{oldstate:e.oldstate,newstate:e.newstate})),ft(f)),y=null)}function ot(n){d.active=!!n;n=d;var t;t=c&&c.receiver?c.receiver.friendlyName:"";n.deviceName=t;st(r.JWPLAYER_CAST_SESSION,{})}function st(n){var t=u.extend({},d);h.sendEvent(n,t)}function gt(t){var r=n.chrome;t.code!==r.cast.ErrorCode.CANCEL&&(i.log("Cast Session Error:",t,c),t.code===r.cast.ErrorCode.SESSION_ERROR&&w())}function ni(t){var r=n.chrome;t.code!==r.cast.ErrorCode.CANCEL&&(i.log("Cast Session Error:",t,c),t.code===r.cast.ErrorCode.SESSION_ERROR&&w())}function w(){c?(ct(),c.stop(nt,ti),at({item:0}),ft({type:"state",diff:{buffer:0,position:0,duration:0}})):nt()}function ti(n){i.error("Cast Session Stop error:",n,c);nt()}function g(e){var d,o;i.log("Session started:",e);c?(w(),it=e):(c=e,c.addMessageListener(i.NS,lt),c.addUpdateListener(ht),s.jwPause(!0),s.jwSetFullscreen(!1),k=h.getVideo(),rt=h.volume,ut=h.mute,a=new i.provider(bt),a.init(),h.setVideoProvider(a),s.jwPlay=function(n){!1===n?a.pause():a.play()},s.jwPause=function(n){s.jwPlay(!!n)},s.jwLoad=function(n){"number"===u.typeOf(n)&&h.setItem(n);a.load(n)},s.jwPlaylistItem=function(n){"number"===u.typeOf(n)&&h.setItem(n);a.playlistItem(n)},s.jwPlaylistNext=function(){s.jwPlaylistItem(h.item+1)},s.jwPlaylistPrev=function(){s.jwPlaylistItem(h.item-1)},s.jwSetVolume=function(n){u.exists(n)&&(n=Math.min(Math.max(0,n),100)|0,vt(n)&&(n=Math.max(0,Math.min(n/100,1)),c.setReceiverVolumeLevel(n,b,function(n){i.error("set volume error",n);b()})))},s.jwSetMute=function(n){u.exists(n)||(n=!p.mute);yt(n)&&c.setReceiverMuted(!!n,b,function(n){i.error("set muted error",n);b()})},s.jwGetVolume=function(){return p.volume|0},s.jwGetMute=function(){return!!p.mute},s.jwIsBeforePlay=function(){return!1},d=s.jwSetCurrentCaptions,s.jwSetCurrentCaptions=function(n){d(n);a.sendCommand("caption",n)},s.jwSkipAd=function(n){l&&(l.skipAd(n),n=l.getAdModel(),n.complete=!0,h.sendEvent(r.JWPLAYER_CAST_AD_CHANGED,n))},s.jwClickAd=function(i){if(l&&300<l.timeSinceClick()&&(l.clickAd(i),h.state!==f.PAUSED)){var u={tag:i.tag};i.sequence&&(u.sequence=i.sequence);i.podcount&&(u.podcount=i.podcount);t(s.id).dispatchEvent(r.JWPLAYER_AD_CLICK,u);n.open(i.clickthrough)}},s.jwPlayAd=s.jwPauseAd=s.jwSetControls=s.jwForceState=s.jwReleaseState=s.jwSetFullscreen=s.jwDetachMedia=s.jwAttachMedia=tt,o=t(s.id).plugins,o.vast&&o.vast.jwPauseAd!==tt&&(wt={jwPlayAd:o.vast.jwPlayAd,jwPauseAd:o.vast.jwPauseAd},o.vast.jwPlayAd=o.vast.jwPauseAd=tt),b(),ot(!0),e!==y&&(a.setup(t.cast.setupCastConfig(h,v),h),t.cast.loader.sendDummyMedia(e)))}function ht(n){i.log("Cast Session status",n);n?b():(a.sendEvent(r.JWPLAYER_PLAYER_STATE,{oldstate:h.state,newstate:f.BUFFERING}),nt())}function nt(){if(i.log("_sessionStopped"),c&&(ct(),c=null),k){delete s.jwSkipAd;delete s.jwClickAd;s.initializeAPI();var n=t(s.id).plugins;n.vast&&u.extend(n.vast,wt);h.volume=rt;h.mute=ut;h.setVideoProvider(k);h.duration=0;a&&(a.destroy(),a=null);l&&(l.destroy(),l=null);h.state!==f.IDLE?u.isIPad()||u.isIPod()?(s.jwStop(!0),k.sendEvent(r.JWPLAYER_PLAYER_STATE,{oldstate:f.BUFFERING,newstate:f.IDLE})):(h.state=f.IDLE,s.jwPlay(!0),s.jwSeek(h.position)):k.sendEvent(r.JWPLAYER_PLAYER_STATE,{oldstate:f.BUFFERING,newstate:f.IDLE});k=null}ot(!1);null!==it&&(g(it),it=null)}function ct(){c.removeUpdateListener(ht);c.removeMessageListener(i.NS,lt)}function lt(n,t){var i=JSON.parse(t);if(!i)throw"Message not proper JSON";ft(i)}function ft(n){if("state"===n.type)l&&(n.diff.newstate||n.diff.position)&&(l.destroy(),l=null,h.setVideoProvider(a),h.sendEvent(r.JWPLAYER_CAST_AD_CHANGED,{done:!0})),a.updateModel(n.diff,n.type),at(n.diff);else if("ad"===n.type){null===l&&(l=new i.adprovider(i.NS,c),l.init(),h.setVideoProvider(l));l.updateModel(n.diff,n.type);var t=l.getAdModel();n.diff.clickthrough&&(t.onClick=s.jwClickAd);n.diff.skipoffset&&(t.onSkipAd=s.jwSkipAd);h.sendEvent(r.JWPLAYER_CAST_AD_CHANGED,t);n.diff.complete&&l.resetAdModel()}else"connection"===n.type?!0===n.closed&&w():i.error("received unhandled message",n.type,n)}function at(n){void 0!==n.item&&h.item!==n.item&&(h.item=n.item,h.sendEvent(r.JWPLAYER_PLAYLIST_ITEM,{index:h.item}))}function b(){var n,t;c&&c.receiver&&(n=c.receiver.volume,n&&(t=100*n.level|0,yt(!!n.muted),vt(t)))}function vt(n){var t=p.volume!==n;return t&&(p.volume=n,a.sendEvent(r.JWPLAYER_MEDIA_VOLUME,{volume:n})),t}function yt(n){var t=p.mute!==n;return t&&(p.mute=n,a.sendEvent(r.JWPLAYER_MEDIA_MUTE,{mute:n})),t}function tt(){}var rt,ut,c=null,d={available:!1,active:!1,deviceName:""},p={volume:null,mute:null},pt=u.getAbsolutePath(n.location.href),v,a=null,l=null,k=null;rt=h.volume;ut=h.mute;var y=null,it=null,wt=null;v=u.extend({},o,h.cast);e(v,"loadscreen");e(v,"endscreen");e(v,"logo");!v.appid||n.cast&&n.cast.receiver||(i.loader.addEventListener("availability",kt),i.loader.addEventListener("session",dt),i.loader.initialize(v.appid));this.startCasting=function(){c||s.jwInstreamState()||n.chrome.cast.requestSession(g,gt)};this.stopCasting=w;this.openExtension=function(){s.jwInstreamState()||n.chrome.cast.requestSession(g,ni)}};i.log=function(){if(i.debug){var n=Array.prototype.slice.call(arguments,0);console.log.apply(console,n)}};i.error=function(){var n=Array.prototype.slice.call(arguments,0);console.error.apply(console,n)}}(window,jwplayer),function(n){function nt(n){i.log("existing session",n);t||u||(u=n.session,u.addMessageListener(i.NS,v))}function v(o,c){var l=JSON.parse(c),a=u;if(!l)throw"Message not proper JSON";l.reconcile&&(u.removeMessageListener(i.NS,v),l.receiverFriendlyName=u.receiver.friendlyName,l.pageUrl&&l.diff.id&&l.appid||(l.pageUrl=g,l.diff.id=n().id,l.appid=h,u=t=null),d[l.diff.id]&&h===l.appid&&l.pageUrl===g&&(r=l.diff.id,h=l.appid,f(r,"jwInstreamDestroy"),s(a),f(r,e.message,l),u=null))}function c(){t&&(t.removeUpdateListener(w),t.removeMessageListener(i.NS,p),t.stop(tt.bind(this),l.bind(this)),t=null);f(r,e.cleanup)}function tt(){"undefined"!=typeof o&&null!==o&&(s(o),o=null)}function y(n,r){t.sendMessage(i.NS,{command:n,args:r},b.noop,function(n){i.error("message send error",n)})}function s(s){var h=n(r);t?(c(),o=s):(t=s,t.addMessageListener(i.NS,p),t.addUpdateListener(w),h=n.cast.setupFlashCastConfig(h),u!==t&&(y("setup",h),n.cast.loader.sendDummyMedia(t)),f(r,e.connected,{receiverFriendlyName:s.receiver.friendlyName}))}function p(n,t){if(t){var i=JSON.parse(t);if(!i)throw"Message not proper JSON";f(r,e.message,i)}}function l(n){f(r,e.error,n||{})}function w(n){n?a():c()}function f(t,i,r){r?n(t).callInternal(i,r):n(t).callInternal(i)}function a(){var u,i;t&&t.receiver&&(i=t.receiver.volume,i&&(u=100*i.level|0,i=!!i.muted,n(r).setVolume(u).setMute(i)))}var i=n.cast,b=n.utils,it=n._,k=window.chrome||{},r,d={},e={},h,u,o,g=b.getAbsolutePath(window.location.href),t;i.NS="urn:x-cast:com.longtailvideo.jwplayer";i.flash={checkAvailability:function(n,t,r){e=r;h=t;d[n]=!0;i.loader.addEventListener("availability",function(t){"available"===t.availability&&f(n,e.available,t)});i.loader.addEventListener("session",nt);i.loader.initialize(t)},startCasting:function(n){r=n;k.cast.requestSession(s.bind(this),l.bind(this))},stopCasting:c,openExtension:function(n){r=n;k.cast.requestSession(s.bind(this),l.bind(this))},mute:function(n){t.setReceiverMuted(n,a,function(n){i.error("set muted error",n)})},volume:function(n){n=Math.max(0,Math.min(n/100,1));t.setReceiverVolumeLevel(n,a,function(n){i.error("set volume error",n)})},messageReceiver:y,canCastItem:function(t){return it.any(t.levels,function(t){return n.embed.html5CanPlay(t.file,t.type)||"hls"===t.type})}}}(window.jwplayer),function(n,t){function o(n){var i=new t.cast.media.MediaInfo("");i.contentType="video/mp4";i=new t.cast.media.LoadRequest(i);i.autoplay=!1;n.loadMedia(i)}function f(){t&&t.cast&&t.cast.isAvailable&&!i.apiConfig?(i.apiConfig=new t.cast.ApiConfig(new t.cast.SessionRequest(h),v,y,t.cast.AutoJoinPolicy.ORIGIN_SCOPED),t.cast.initialize(i.apiConfig,a,l)):15>p++&&setTimeout(f,1e3)}function c(){r&&(r.resetEventListeners(),r=null)}function l(){i.apiConfig=null}function a(){}function v(n){u.sendEvent("session",{session:n});n.sendMessage(i.NS,{whoami:1});0===n.media.length&&o(n)}function y(n){i.availability=n;u.sendEvent("availability",{availability:n})}window.chrome=t;var i=n.cast,s=n.utils,e=n.events,r,p=0,h=null,u=s.extend({initialize:function(n){h=n;null!==i.availability?u.sendEvent("availability",{availability:i.availability}):t&&t.cast?f():r||(r=new s.scriptloader("https://www.gstatic.com/cv/js/sender/v1/cast_sender.js"),r.addEventListener(e.ERROR,c),r.addEventListener(e.COMPLETE,f),r.load())}},new e.eventdispatcher("cast.loader"));n.cast.loader=u;n.cast.loader.sendDummyMedia=o}(window.jwplayer,window.chrome||{}),function(n,t){var u=[],r=n.utils,i=n.events,e=n._,o=0,f=i.state,s="getBuffer getCaptionsList getControls getCurrentCaptions getCurrentQuality getCurrentAudioTrack getDuration getFullscreen getHeight getLockState getMute getPlaylistIndex getSafeRegion getPosition getQualityLevels getState getVolume getWidth isBeforeComplete isBeforePlay releaseState".split(" "),h="playlistNext stop forceState playlistPrev seek setCurrentCaptions setControls setCurrentQuality setVolume setCurrentAudioTrack".split(" "),c={onBufferChange:i.JWPLAYER_MEDIA_BUFFER,onBufferFull:i.JWPLAYER_MEDIA_BUFFER_FULL,onError:i.JWPLAYER_ERROR,onSetupError:i.JWPLAYER_SETUP_ERROR,onFullscreen:i.JWPLAYER_FULLSCREEN,onMeta:i.JWPLAYER_MEDIA_META,onMute:i.JWPLAYER_MEDIA_MUTE,onPlaylist:i.JWPLAYER_PLAYLIST_LOADED,onPlaylistItem:i.JWPLAYER_PLAYLIST_ITEM,onPlaylistComplete:i.JWPLAYER_PLAYLIST_COMPLETE,onReady:i.API_READY,onResize:i.JWPLAYER_RESIZE,onComplete:i.JWPLAYER_MEDIA_COMPLETE,onSeek:i.JWPLAYER_MEDIA_SEEK,onTime:i.JWPLAYER_MEDIA_TIME,onVolume:i.JWPLAYER_MEDIA_VOLUME,onBeforePlay:i.JWPLAYER_MEDIA_BEFOREPLAY,onBeforeComplete:i.JWPLAYER_MEDIA_BEFORECOMPLETE,onDisplayClick:i.JWPLAYER_DISPLAY_CLICK,onControls:i.JWPLAYER_CONTROLS,onQualityLevels:i.JWPLAYER_MEDIA_LEVELS,onQualityChange:i.JWPLAYER_MEDIA_LEVEL_CHANGED,onCaptionsList:i.JWPLAYER_CAPTIONS_LIST,onCaptionsChange:i.JWPLAYER_CAPTIONS_CHANGED,onAdError:i.JWPLAYER_AD_ERROR,onAdClick:i.JWPLAYER_AD_CLICK,onAdImpression:i.JWPLAYER_AD_IMPRESSION,onAdTime:i.JWPLAYER_AD_TIME,onAdComplete:i.JWPLAYER_AD_COMPLETE,onAdCompanions:i.JWPLAYER_AD_COMPANIONS,onAdSkipped:i.JWPLAYER_AD_SKIPPED,onAdPlay:i.JWPLAYER_AD_PLAY,onAdPause:i.JWPLAYER_AD_PAUSE,onAdMeta:i.JWPLAYER_AD_META,onCast:i.JWPLAYER_CAST_SESSION,onAudioTrackChange:i.JWPLAYER_AUDIO_TRACK_CHANGED,onAudioTracks:i.JWPLAYER_AUDIO_TRACKS},l={onBuffer:f.BUFFERING,onPause:f.PAUSED,onPlay:f.PLAYING,onIdle:f.IDLE};n.api=function(o){function it(n,t){r.foreach(n,function(n,i){a[n]=function(n){return t(i,n)}})}function rt(n,t){var i="jw"+t.charAt(0).toUpperCase()+t.slice(1);a[t]=function(){var t=v.apply(this,[i].concat(Array.prototype.slice.call(arguments,0)));return n?a:t}}function ut(n,t){try{n.jwAddEventListener(t,'function(dat) { jwplayer("'+a.id+'").dispatchEvent("'+t+'", dat); }')}catch(u){if("flash"===a.renderingMode){var i=document.createElement("a");i.href=y.data;i.protocol!==location.protocol&&r.log("Warning: Your site ["+location.protocol+"] and JWPlayer ["+i.protocol+"] are hosted using different protocols")}r.log("Could not add internal listener")}}function b(n,t){return w[n]||(w[n]=[],y&&d&&ut(y,n)),w[n].push(t),a}function v(){if(d){if(y){var n=Array.prototype.slice.call(arguments,0),t=n.shift();if("function"==typeof y[t]){switch(n.length){case 6:return y[t](n[0],n[1],n[2],n[3],n[4],n[5]);case 5:return y[t](n[0],n[1],n[2],n[3],n[4]);case 4:return y[t](n[0],n[1],n[2],n[3]);case 3:return y[t](n[0],n[1],n[2]);case 2:return y[t](n[0],n[1]);case 1:return y[t](n[0])}return y[t]()}}return null}g.push(arguments)}var a=this,w={},k={},y,d=!1,g=[],p,nt={},tt={};return a.container=o,a.id=o.id,a.setup=function(t){if(n.embed){n.api.destroyPlayer(a.id);var i=new n.api(a.container);return n.api.addPlayer(i),i.config=t,i._embedder=new n.embed(i),i._embedder.embed(),i}return a},a.getContainer=function(){return a.container},a.addButton=function(n,t,i,u){try{tt[u]=i;v("jwDockAddButton",n,t,'jwplayer("'+a.id+'").callback("'+u+'")',u)}catch(f){r.log("Could not add dock button"+f.message)}},a.removeButton=function(n){v("jwDockRemoveButton",n)},a.callback=function(n){tt[n]&&tt[n]()},a.getMeta=function(){return a.getItemMeta()},a.getPlaylist=function(){var n=v("jwGetPlaylist");return"flash"===a.renderingMode&&r.deepReplaceKeyName(n,["__dot__","__spc__","__dsh__","__default__"],["."," ","-","default"]),n},a.getPlaylistItem=function(n){return r.exists(n)||(n=a.getPlaylistIndex()),a.getPlaylist()[n]},a.getRenderingMode=function(){return a.renderingMode},a.setFullscreen=function(n){return r.exists(n)?v("jwSetFullscreen",n):v("jwSetFullscreen",!v("jwGetFullscreen")),a},a.setMute=function(n){return r.exists(n)?v("jwSetMute",n):v("jwSetMute",!v("jwGetMute")),a},a.lock=function(){return a},a.unlock=function(){return a},a.load=function(t){return v("jwInstreamDestroy"),n(a.id).plugins.googima&&v("jwDestroyGoogima"),v("jwLoad",t),a},a.playlistItem=function(n){return v("jwPlaylistItem",parseInt(n,10)),a},a.resize=function(n,t){if("flash"!==a.renderingMode)v("jwResize",n,t);else{var i=document.getElementById(a.id+"_wrapper"),u=document.getElementById(a.id+"_aspect");u&&(u.style.display="none");i&&(i.style.display="block",i.style.width=r.styleDimension(n),i.style.height=r.styleDimension(t))}return a},a.play=function(n){if(n!==t)return v("jwPlay",n),a;n=a.getState();var i=p&&p.getState();return i&&(i===f.IDLE||i===f.PLAYING||i===f.BUFFERING?v("jwInstreamPause"):v("jwInstreamPlay")),n===f.PLAYING||n===f.BUFFERING?v("jwPause"):v("jwPlay"),a},a.pause=function(n){return n===t?(n=a.getState(),n===f.PLAYING||n===f.BUFFERING?v("jwPause"):v("jwPlay")):v("jwPause",n),a},a.createInstream=function(){return new n.api.instream(this,y)},a.setInstream=function(n){return p=n},a.loadInstream=function(n,t){return p=a.setInstream(a.createInstream()).init(t),p.loadItem(n),p},a.destroyPlayer=function(){d=!0;v("jwPlayerDestroy")},a.playAd=function(t){var i=n(a.id).plugins;i.vast?i.vast.jwPlayAd(t):v("jwPlayAd",t)},a.pauseAd=function(){var t=n(a.id).plugins;t.vast?t.vast.jwPauseAd():v("jwPauseAd")},it(l,function(n,t){return k[n]||(k[n]=[],b(i.JWPLAYER_PLAYER_STATE,function(t){var u=t.newstate,i,r,f;if(t=t.oldstate,u===n&&(i=k[u],i))for(r=0;r<i.length;r++)f=i[r],"function"==typeof f&&f.call(this,{oldstate:t,newstate:u})})),k[n].push(t),a}),it(c,b),r.foreach(s,function(n,t){rt(!1,t)}),r.foreach(h,function(n,t){rt(!0,t)}),a.remove=function(){var t,i,n,f;if(this._embedder&&this._embedder.destroy&&this._embedder.destroy(),g=[],t=1<e.size(e.where(u,{id:a.id})),t||r.clearCss("#"+a.id),i=document.getElementById(a.id+("flash"===a.renderingMode?"_wrapper":"")),i){if("html5"===a.renderingMode)a.destroyPlayer();else if(r.isMSIE(8)&&(n=document.getElementById(a.id),n&&n.parentNode)){n.style.display="none";for(f in n)"function"==typeof n[f]&&(n[f]=null);n.parentNode.removeChild(n)}t||(t=document.createElement("div"),t.id=a.id,i.parentNode.replaceChild(t,i))}u=e.filter(u,function(n){return n.uniqueId!==a.uniqueId})},a.registerPlugin=function(t,i,r,u){n.plugins.registerPlugin(t,i,r,u)},a.setPlayer=function(n,t){y=n;a.renderingMode=t},a.detachMedia=function(){if("html5"===a.renderingMode)return v("jwDetachMedia")},a.attachMedia=function(n){if("html5"===a.renderingMode)return v("jwAttachMedia",n)},a.getAudioTracks=function(){return v("jwGetAudioTracks")},a.removeEventListener=function(n,t){var i=w[n],r;if(i)for(r=i.length;r--;)i[r]===t&&i.splice(r,1)},a.dispatchEvent=function(n,t){var u=w[n],e;if(u)for(var u=u.slice(0),o=r.translateEventResponse(n,t),f=0;f<u.length;f++)if(e=u[f],"function"==typeof e)try{n===i.JWPLAYER_PLAYLIST_LOADED&&r.deepReplaceKeyName(o.playlist,["__dot__","__spc__","__dsh__","__default__"],["."," ","-","default"]);e.call(this,o)}catch(s){r.log("There was an error calling back an event handler",s)}},a.dispatchInstreamEvent=function(n){p&&p.dispatchEvent(n,arguments)},a.callInternal=v,a.playerReady=function(n){for(d=!0,y||a.setPlayer(document.getElementById(n.id)),a.container=document.getElementById(a.id),r.foreach(w,function(n){ut(y,n)}),b(i.JWPLAYER_PLAYLIST_ITEM,function(){nt={}}),b(i.JWPLAYER_MEDIA_META,function(n){r.extend(nt,n.metadata)}),b(i.JWPLAYER_VIEW_TAB_FOCUS,function(n){var t=a.getContainer();!0===n.hasFocus?r.addClass(t,"jw-tab-focus"):r.removeClass(t,"jw-tab-focus")}),a.dispatchEvent(i.API_READY);0<g.length;)v.apply(a,g.shift())},a.getItemMeta=function(){return nt},a};n.playerReady=function(t){var i=n.api.playerById(t.id);i||(i=n.api.selectPlayer(t.id));i.playerReady(t)};n.api.selectPlayer=function(t){var i;return r.exists(t)||(t=0),t.nodeType?i=t:"string"==typeof t&&(i=document.getElementById(t)),i?(t=n.api.playerById(i.id))?t:new n.api(i):"number"==typeof t?u[t]:null};n.api.playerById=function(n){for(var t=0;t<u.length;t++)if(u[t].id===n)return u[t];return null};n.api.addPlayer=function(n){for(var t=0;t<u.length;t++)if(u[t]===n)return n;return o++,n.uniqueId=o,u.push(n),n};n.api.destroyPlayer=function(n){n=e.where(u,{id:n});e.each(n,e.partial(e.result,e,"remove"))}}(window.jwplayer),function(n){var t=n.events,r=n.utils,i=t.state;n.api.instream=function(n,u){function e(t,i){return o[t]||(o[t]=[],u.jwInstreamAddEventListener(t,'function(dat) { jwplayer("'+n.id+'").dispatchInstreamEvent("'+t+'", dat); }')),o[t].push(i),this}function h(n,i){return s[n]||(s[n]=[],e(t.JWPLAYER_PLAYER_STATE,function(t){var u=t.newstate,e=t.oldstate,i,r,f;if(u===n&&(i=s[u],i))for(r=0;r<i.length;r++)f=i[r],"function"==typeof f&&f.call(this,{oldstate:e,newstate:u,type:t.type})})),s[n].push(i),this}var c,l,o={},s={},f=this;f.type="instream";f.init=function(){return n.callInternal("jwInitInstream"),f};f.loadItem=function(t,i){c=t;l=i||{};"array"===r.typeOf(t)?n.callInternal("jwLoadArrayInstream",c,l):n.callInternal("jwLoadItemInstream",c,l)};f.removeEvents=function(){o=s={}};f.removeEventListener=function(n,t){var i=o[n],r;if(i)for(r=i.length;r--;)i[r]===t&&i.splice(r,1)};f.dispatchEvent=function(n,t){var i=o[n],f;if(i)for(var i=i.slice(0),e=r.translateEventResponse(n,t[1]),u=0;u<i.length;u++)f=i[u],"function"==typeof f&&f.call(this,e)};f.onError=function(n){return e(t.JWPLAYER_ERROR,n)};f.onMediaError=function(n){return e(t.JWPLAYER_MEDIA_ERROR,n)};f.onFullscreen=function(n){return e(t.JWPLAYER_FULLSCREEN,n)};f.onMeta=function(n){return e(t.JWPLAYER_MEDIA_META,n)};f.onMute=function(n){return e(t.JWPLAYER_MEDIA_MUTE,n)};f.onComplete=function(n){return e(t.JWPLAYER_MEDIA_COMPLETE,n)};f.onPlaylistComplete=function(n){return e(t.JWPLAYER_PLAYLIST_COMPLETE,n)};f.onPlaylistItem=function(n){return e(t.JWPLAYER_PLAYLIST_ITEM,n)};f.onTime=function(n){return e(t.JWPLAYER_MEDIA_TIME,n)};f.onBuffer=function(n){return h(i.BUFFERING,n)};f.onPause=function(n){return h(i.PAUSED,n)};f.onPlay=function(n){return h(i.PLAYING,n)};f.onIdle=function(n){return h(i.IDLE,n)};f.onClick=function(n){return e(t.JWPLAYER_INSTREAM_CLICK,n)};f.onInstreamDestroyed=function(n){return e(t.JWPLAYER_INSTREAM_DESTROYED,n)};f.onAdSkipped=function(n){return e(t.JWPLAYER_AD_SKIPPED,n)};f.play=function(n){u.jwInstreamPlay(n)};f.pause=function(n){u.jwInstreamPause(n)};f.hide=function(){n.callInternal("jwInstreamHide")};f.destroy=function(){f.removeEvents();n.callInternal("jwInstreamDestroy")};f.setText=function(n){u.jwInstreamSetText(n?n:"")};f.getState=function(){return u.jwInstreamState()};f.setClick=function(n){u.jwInstreamClick&&u.jwInstreamClick(n)}}}(jwplayer),function(n){var t=n.api,i=t.selectPlayer,r=n._;t.selectPlayer=function(){var t=i.apply(this,arguments);return t?t:{registerPlugin:function(t,i,r){"jwpsrv"!==t&&n.plugins.registerPlugin(t,i,r)}}};n.unregisteredProviders=[];t.registerProvider=function(t){n&&n.html5&&r.isFunction(n.html5.registerProvider)?n.html5.registerProvider(t):n.unregisteredProviders.push(t)}}(jwplayer))