text: // Opta Widgets v2.0.63954 - Licenses ./licenses.txt
  /*
   HTML5 Shiv v3.6.2 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
  */
  (function(a,c){function b(){var a=C.elements;return"string"==typeof a?a.split(" "):a}function d(a){var b=B[a[z]];b||(b={},y++,a[z]=y,B[y]=b);return b}function e(a,b,e){b||(b=c);if(F)return b.createElement(a);e||(e=d(b));b=e.cache[a]?e.cache[a].cloneNode():w.test(a)?(e.cache[a]=e.createElem(a)).cloneNode():e.createElem(a);return b.canHaveChildren&&!r.test(a)?e.frag.appendChild(b):b}function l(a,c){c.cache||(c.cache={},c.createElem=a.createElement,c.createFrag=a.createDocumentFragment,c.frag=c.createFrag());
  a.createElement=function(b){return C.shivMethods?e(b,a,c):c.createElem(b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+b().join().replace(/[\w\-]+/g,function(a){c.createElem(a);c.frag.createElement(a);return'c("'+a+'")'})+");return n}")(C,c.frag)}function p(a){a||(a=c);var b=d(a);F||l(a,b);return a}var s=a.optahtml5||{},r=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,w=/^(?: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,
  z="_optahtml5shiv",y=0,B={},F;(function(){try{var a=c.createElement("a");a.innerHTML="<xyz></xyz>";var b;if(!(b=1==a.childNodes.length)){c.createElement("a");var d=c.createDocumentFragment();b="undefined"==typeof d.cloneNode||"undefined"==typeof d.createDocumentFragment||"undefined"==typeof d.createElement}F=b}catch(e){F=!0}})();var C={elements:s.elements||"opta",version:"3.6.2",shivCSS:!1!==s.shivCSS,supportsUnknownElements:F,shivMethods:!1!==s.shivMethods,type:"default",shivDocument:p,createElement:e,
  createDocumentFragment:function(a,e){a||(a=c);if(F)return a.createDocumentFragment();e=e||d(a);for(var u=e.frag.cloneNode(),l=0,p=b(),w=p.length;l<w;l++)u.createElement(p[l]);return u}};a.optahtml5=C;p(c)})(this,document);
  (function(a,c){c(a)})("undefined"!==typeof window?window:this,function(a,c){function b(n){var a=n.length,t=f.type(n);return"function"===t||f.isWindow(n)?!1:1===n.nodeType&&a?!0:"array"===t||0===a||"number"===typeof a&&0<a&&a-1 in n}function d(n,a,t){if(f.isFunction(a))return f.grep(n,function(n,f){return!!a.call(n,f,n)!==t});if(a.nodeType)return f.grep(n,function(n){return n===a!==t});if("string"===typeof a){if(xb.test(a))return f.filter(a,n,t);a=f.filter(a,n)}return f.grep(n,function(n){return 0<=
  f.inArray(n,a)!==t})}function e(n,a){do n=n[a];while(n&&1!==n.nodeType);return n}function l(a){var k=Ya[a]={};f.each(a.match(fa)||[],function(a,n){k[n]=!0});return k}function p(){J.addEventListener?(J.removeEventListener("DOMContentLoaded",s,!1),a.removeEventListener("load",s,!1)):(J.detachEvent("onreadystatechange",s),a.detachEvent("onload",s))}function s(){if(J.addEventListener||"load"===event.type||"complete"===J.readyState)p(),f.ready()}function r(a,k,t){if(void 0===t&&1===a.nodeType)if(t="data-"+
  k.replace(yb,"-$1").toLowerCase(),t=a.getAttribute(t),"string"===typeof t){try{t="true"===t?!0:"false"===t?!1:"null"===t?null:+t+""===t?+t:zb.test(t)?f.parseJSON(t):t}catch(b){}f.data(a,k,t)}else t=void 0;return t}function w(a){for(var k in a)if(("data"!==k||!f.isEmptyObject(a[k]))&&"toJSON"!==k)return!1;return!0}function z(a,k,t,b){if(f.acceptData(a)){var c=f.expando,g=a.nodeType,d=g?f.cache:a,e=g?a[c]:a[c]&&c;if(e&&d[e]&&(b||d[e].data)||void 0!==t||"string"!==typeof k){e||(e=g?a[c]=ga.pop()||f.guid++:
  c);d[e]||(d[e]=g?{}:{toJSON:f.noop});if("object"===typeof k||"function"===typeof k)b?d[e]=f.extend(d[e],k):d[e].data=f.extend(d[e].data,k);a=d[e];b||(a.data||(a.data={}),a=a.data);void 0!==t&&(a[f.camelCase(k)]=t);"string"===typeof k?(t=a[k],null==t&&(t=a[f.camelCase(k)])):t=a;return t}}}function y(a,k,t){if(f.acceptData(a)){var b,c,g=a.nodeType,d=g?f.cache:a,e=g?a[f.expando]:f.expando;if(d[e]){if(k&&(b=t?d[e]:d[e].data)){f.isArray(k)?k=k.concat(f.map(k,f.camelCase)):k in b?k=[k]:(k=f.camelCase(k),
  k=k in b?[k]:k.split(" "));for(c=k.length;c--;)delete b[k[c]];if(t?!w(b):!f.isEmptyObject(b))return}if(!t&&(delete d[e].data,!w(d[e])))return;g?f.cleanData([a],!0):G.deleteExpando||d!=d.window?delete d[e]:d[e]=null}}}function B(){return!0}function F(){return!1}function C(){try{return J.activeElement}catch(a){}}function m(a){var k=Za.split("|");a=a.createDocumentFragment();if(a.createElement)for(;k.length;)a.createElement(k.pop());return a}function q(a,k){var t,b,c=0,g=typeof a.getElementsByTagName!==
  ca?a.getElementsByTagName(k||"*"):typeof a.querySelectorAll!==ca?a.querySelectorAll(k||"*"):void 0;if(!g)for(g=[],t=a.childNodes||a;null!=(b=t[c]);c++)!k||f.nodeName(b,k)?g.push(b):f.merge(g,q(b,k));return void 0===k||k&&f.nodeName(a,k)?f.merge([a],g):g}function u(a){Na.test(a.type)&&(a.defaultChecked=a.checked)}function D(a,k){return f.nodeName(a,"table")&&f.nodeName(11!==k.nodeType?k:k.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function H(a){a.type=
  (null!==f.find.attr(a,"type"))+"/"+a.type;return a}function A(a){var k=Ab.exec(a.type);k?a.type=k[1]:a.removeAttribute("type");return a}function g(a,k){for(var t,b=0;null!=(t=a[b]);b++)f._data(t,"globalEval",!k||f._data(k[b],"globalEval"))}function x(a,k){if(1===k.nodeType&&f.hasData(a)){var t,b,c;b=f._data(a);var g=f._data(k,b),d=b.events;if(d)for(t in delete g.handle,g.events={},d)for(b=0,c=d[t].length;b<c;b++)f.event.add(k,t,d[t][b]);g.data&&(g.data=f.extend({},g.data))}}function E(n,k){var t,
  b=f(k.createElement(n)).appendTo(k.body),c=a.getDefaultComputedStyle&&(t=a.getDefaultComputedStyle(b[0]))?t.display:f.css(b[0],"display");b.detach();return c}function O(a){var k=J,t=$a[a];t||(t=E(a,k),"none"!==t&&t||(Ca=(Ca||f("<iframe frameborder='0' width='0' height='0'/>")).appendTo(k.documentElement),k=(Ca[0].contentWindow||Ca[0].contentDocument).document,k.write(),k.close(),t=E(a,k),Ca.detach()),$a[a]=t);return t}function X(a,k){return{get:function(){var t=a();if(null!=t)if(t)delete this.get;
  else return(this.get=k).apply(this,arguments)}}}function U(a,k){if(k in a)return k;for(var t=k.charAt(0).toUpperCase()+k.slice(1),b=k,f=ab.length;f--;)if(k=ab[f]+t,k in a)return k;return b}function V(a,k){for(var t,b,c,g=[],d=0,e=a.length;d<e;d++)b=a[d],b.style&&(g[d]=f._data(b,"olddisplay"),t=b.style.display,k?(g[d]||"none"!==t||(b.style.display=""),""===b.style.display&&ra(b)&&(g[d]=f._data(b,"olddisplay",O(b.nodeName)))):(c=ra(b),(t&&"none"!==t||!c)&&f._data(b,"olddisplay",c?t:f.css(b,"display"))));
  for(d=0;d<e;d++)b=a[d],!b.style||k&&"none"!==b.style.display&&""!==b.style.display||(b.style.display=k?g[d]||"":"none");return a}function $(a,k,t){return(a=Bb.exec(k))?Math.max(0,a[1]-(t||0))+(a[2]||"px"):k}function S(a,k,t,b,c){k=t===(b?"border":"content")?4:"width"===k?1:0;for(var g=0;4>k;k+=2)"margin"===t&&(g+=f.css(a,t+sa[k],!0,c)),b?("content"===t&&(g-=f.css(a,"padding"+sa[k],!0,c)),"margin"!==t&&(g-=f.css(a,"border"+sa[k]+"Width",!0,c))):(g+=f.css(a,"padding"+sa[k],!0,c),"padding"!==t&&(g+=
  f.css(a,"border"+sa[k]+"Width",!0,c)));return g}function ka(a,k,t){var b=!0,c="width"===k?a.offsetWidth:a.offsetHeight,g=ta(a),d=G.boxSizing&&"border-box"===f.css(a,"boxSizing",!1,g);if(0>=c||null==c){c=ua(a,k,g);if(0>c||null==c)c=a.style[k];if(Fa.test(c))return c;b=d&&(G.boxSizingReliable()||c===a.style[k]);c=parseFloat(c)||0}return c+S(a,k,t||(d?"border":"content"),b,g)+"px"}function P(a,k,t,b,f){return new P.prototype.init(a,k,t,b,f)}function oa(){setTimeout(function(){za=void 0});return za=f.now()}
  function da(a,k){var t,b={height:a},f=0;for(k=k?1:0;4>f;f+=2-k)t=sa[f],b["margin"+t]=b["padding"+t]=a;k&&(b.opacity=b.width=a);return b}function v(a,k,t){for(var b,f=(Da[k]||[]).concat(Da["*"]),c=0,g=f.length;c<g;c++)if(b=f[c].call(t,k,a))return b}function K(a,k){var t,b,c,g,d;for(t in a)if(b=f.camelCase(t),c=k[b],g=a[t],f.isArray(g)&&(c=g[1],g=a[t]=g[0]),t!==b&&(a[b]=g,delete a[t]),(d=f.cssHooks[b])&&"expand"in d)for(t in g=d.expand(g),delete a[b],g)t in a||(a[t]=g[t],k[t]=c);else k[b]=c}function I(a,
  k,b){var c,g=0,d=Ga.length,e=f.Deferred().always(function(){delete m.elem}),m=function(){if(c)return!1;for(var k=za||oa(),k=Math.max(0,q.startTime+q.duration-k),b=1-(k/q.duration||0),t=0,f=q.tweens.length;t<f;t++)q.tweens[t].run(b);e.notifyWith(a,[q,b,k]);if(1>b&&f)return k;e.resolveWith(a,[q]);return!1},q=e.promise({elem:a,props:f.extend({},k),opts:f.extend(!0,{specialEasing:{}},b),originalProperties:k,originalOptions:b,startTime:za||oa(),duration:b.duration,tweens:[],createTween:function(k,b){var t=
  f.Tween(a,q.opts,k,b,q.opts.specialEasing[k]||q.opts.easing);q.tweens.push(t);return t},stop:function(k){var b=0,t=k?q.tweens.length:0;if(c)return this;for(c=!0;b<t;b++)q.tweens[b].run(1);k?e.resolveWith(a,[q,k]):e.rejectWith(a,[q,k]);return this}});b=q.props;for(K(b,q.opts.specialEasing);g<d;g++)if(k=Ga[g].call(q,a,b,q.opts))return k;f.map(b,v,q);f.isFunction(q.opts.start)&&q.opts.start.call(a,q);f.fx.timer(f.extend(m,{elem:a,anim:q,queue:q.opts.queue}));return q.progress(q.opts.progress).done(q.opts.done,
  q.opts.complete).fail(q.opts.fail).always(q.opts.always)}function Y(a){return function(k,b){"string"!==typeof k&&(b=k,k="*");var c,g=0,d=k.toLowerCase().match(fa)||[];if(f.isFunction(b))for(;c=d[g++];)"+"===c.charAt(0)?(c=c.slice(1)||"*",(a[c]=a[c]||[]).unshift(b)):(a[c]=a[c]||[]).push(b)}}function la(a,k,b,c){function g(m){var v;d[m]=!0;f.each(a[m]||[],function(a,n){var f=n(k,b,c);if("string"===typeof f&&!e&&!d[f])return k.dataTypes.unshift(f),g(f),!1;if(e)return!(v=f)});return v}var d={},e=a===
  Oa;return g(k.dataTypes[0])||!d["*"]&&g("*")}function L(a,k){var b,c,g=f.ajaxSettings.flatOptions||{};for(c in k)void 0!==k[c]&&((g[c]?a:b||(b={}))[c]=k[c]);b&&f.extend(!0,a,b);return a}function Z(a,k,b,c){var g;if(f.isArray(k))f.each(k,function(k,f){b||Cb.test(a)?c(a,f):Z(a+"["+("object"===typeof f?k:"")+"]",f,b,c)});else if(b||"object"!==f.type(k))c(a,k);else for(g in k)Z(a+"["+g+"]",k[g],b,c)}function Q(){try{return new a.XMLHttpRequest}catch(n){}}function ha(a){return f.isWindow(a)?a:9===a.nodeType?
  a.defaultView||a.parentWindow:!1}var ga=[],ba=ga.slice,pa=ga.concat,aa=ga.push,N=ga.indexOf,ia={},Aa=ia.toString,ea=ia.hasOwnProperty,G={},f=function(a,k){return new f.fn.init(a,k)},Db=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,Eb=/^-ms-/,Fb=/-([\da-z])/gi,Gb=function(a,k){return k.toUpperCase()};f.fn=f.prototype={jquery:"1.11.2",constructor:f,selector:"",length:0,toArray:function(){return ba.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:ba.call(this)},pushStack:function(a){a=
  f.merge(this.constructor(),a);a.prevObject=this;a.context=this.context;return a},each:function(a,k){return f.each(this,a,k)},map:function(a){return this.pushStack(f.map(this,function(k,b){return a.call(k,b,k)}))},slice:function(){return this.pushStack(ba.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var k=this.length;a=+a+(0>a?k:0);return this.pushStack(0<=a&&a<k?[this[a]]:[])},end:function(){return this.prevObject||this.constructor(null)},
  push:aa,sort:ga.sort,splice:ga.splice};f.extend=f.fn.extend=function(){var a,k,b,c,g,d=arguments[0]||{},e=1,m=arguments.length,v=!1;"boolean"===typeof d&&(v=d,d=arguments[e]||{},e++);"object"===typeof d||f.isFunction(d)||(d={});e===m&&(d=this,e--);for(;e<m;e++)if(null!=(g=arguments[e]))for(c in g)a=d[c],b=g[c],d!==b&&(v&&b&&(f.isPlainObject(b)||(k=f.isArray(b)))?(k?(k=!1,a=a&&f.isArray(a)?a:[]):a=a&&f.isPlainObject(a)?a:{},d[c]=f.extend(v,a,b)):void 0!==b&&(d[c]=b));return d};f.extend({expando:"jQuery"+
  ("1.11.2"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw Error(a);},noop:function(){},isFunction:function(a){return"function"===f.type(a)},isArray:Array.isArray||function(a){return"array"===f.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return!f.isArray(a)&&0<=a-parseFloat(a)+1},isEmptyObject:function(a){for(var k in a)return!1;return!0},isPlainObject:function(a){var k;if(!a||"object"!==f.type(a)||a.nodeType||f.isWindow(a))return!1;try{if(a.constructor&&
  !ea.call(a,"constructor")&&!ea.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(b){return!1}if(G.ownLast)for(k in a)return ea.call(a,k);for(k in a);return void 0===k||ea.call(a,k)},type:function(a){return null==a?a+"":"object"===typeof a||"function"===typeof a?ia[Aa.call(a)]||"object":typeof a},globalEval:function(n){n&&f.trim(n)&&(a.execScript||function(n){a.eval.call(a,n)})(n)},camelCase:function(a){return a.replace(Eb,"ms-").replace(Fb,Gb)},nodeName:function(a,k){return a.nodeName&&
  a.nodeName.toLowerCase()===k.toLowerCase()},each:function(a,k,t){var f,c=0,g=a.length;f=b(a);if(t)if(f)for(;c<g&&(f=k.apply(a[c],t),!1!==f);c++);else for(c in a){if(f=k.apply(a[c],t),!1===f)break}else if(f)for(;c<g&&(f=k.call(a[c],c,a[c]),!1!==f);c++);else for(c in a)if(f=k.call(a[c],c,a[c]),!1===f)break;return a},trim:function(a){return null==a?"":(a+"").replace(Db,"")},makeArray:function(a,k){var t=k||[];null!=a&&(b(Object(a))?f.merge(t,"string"===typeof a?[a]:a):aa.call(t,a));return t},inArray:function(a,
  k,b){var f;if(k){if(N)return N.call(k,a,b);f=k.length;for(b=b?0>b?Math.max(0,f+b):b:0;b<f;b++)if(b in k&&k[b]===a)return b}return-1},merge:function(a,k){for(var b=+k.length,f=0,c=a.length;f<b;)a[c++]=k[f++];if(b!==b)for(;void 0!==k[f];)a[c++]=k[f++];a.length=c;return a},grep:function(a,k,b){for(var f=[],c=0,g=a.length,d=!b;c<g;c++)b=!k(a[c],c),b!==d&&f.push(a[c]);return f},map:function(a,k,f){var c,g=0,d=a.length,e=[];if(b(a))for(;g<d;g++)c=k(a[g],g,f),null!=c&&e.push(c);else for(g in a)c=k(a[g],
  g,f),null!=c&&e.push(c);return pa.apply([],e)},guid:1,proxy:function(a,k){var b,c;"string"===typeof k&&(c=a[k],k=a,a=c);if(f.isFunction(a))return b=ba.call(arguments,2),c=function(){return a.apply(k||this,b.concat(ba.call(arguments)))},c.guid=a.guid=a.guid||f.guid++,c},now:function(){return+new Date},support:G});f.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,k){ia["[object "+k+"]"]=k.toLowerCase()});var Ba=function(a){function k(a,n,k,b){var f,c,t,g,d;
  (n?n.ownerDocument||n:G)!==C&&X(n);n=n||C;k=k||[];g=n.nodeType;if("string"!==typeof a||!a||1!==g&&9!==g&&11!==g)return k;if(!b&&V){if(11!==g&&(f=Ca.exec(a)))if(t=f[1])if(9===g)if((c=n.getElementById(t))&&c.parentNode){if(c.id===t)return k.push(c),k}else return k;else{if(n.ownerDocument&&(c=n.ownerDocument.getElementById(t))&&$(n,c)&&c.id===t)return k.push(c),k}else{if(f[2])return T.apply(k,n.getElementsByTagName(a)),k;if((t=f[3])&&r.getElementsByClassName)return T.apply(k,n.getElementsByClassName(t)),
  k}if(r.qsa&&(!S||!S.test(a))){c=f=L;t=n;d=1!==g&&a;if(1===g&&"object"!==n.nodeName.toLowerCase()){g=B(a);(f=n.getAttribute("id"))?c=f.replace(Da,"\\$&"):n.setAttribute("id",c);c="[id='"+c+"'] ";for(t=g.length;t--;)g[t]=c+E(g[t]);t=ra.test(a)&&q(n.parentNode)||n;d=g.join(",")}if(d)try{return T.apply(k,t.querySelectorAll(d)),k}catch(e){}finally{f||n.removeAttribute("id")}}}return U(a.replace(ja,"$1"),n,k,b)}function b(){function a(k,b){n.push(k+" ")>I.cacheLength&&delete a[n.shift()];return a[k+" "]=
  b}var n=[];return a}function f(a){a[L]=!0;return a}function c(a){var n=C.createElement("div");try{return!!a(n)}catch(k){return!1}finally{n.parentNode&&n.parentNode.removeChild(n)}}function g(a,n){for(var k=a.split("|"),b=a.length;b--;)I.attrHandle[k[b]]=n}function d(a,n){var k=n&&a,b=k&&1===a.nodeType&&1===n.nodeType&&(~n.sourceIndex||ha)-(~a.sourceIndex||ha);if(b)return b;if(k)for(;k=k.nextSibling;)if(k===n)return-1;return a?1:-1}function e(a){return function(n){return"input"===n.nodeName.toLowerCase()&&
  n.type===a}}function m(a){return function(n){var k=n.nodeName.toLowerCase();return("input"===k||"button"===k)&&n.type===a}}function v(a){return f(function(n){n=+n;return f(function(k,b){for(var c,f=a([],k.length,n),t=f.length;t--;)k[c=f[t]]&&(k[c]=!(b[c]=k[c]))})})}function q(a){return a&&"undefined"!==typeof a.getElementsByTagName&&a}function x(){}function E(a){for(var n=0,k=a.length,b="";n<k;n++)b+=a[n].value;return b}function u(a,n,k){var b=n.dir,c=k&&"parentNode"===b,f=P++;return n.first?function(n,
  k,f){for(;n=n[b];)if(1===n.nodeType||c)return a(n,k,f)}:function(n,k,t){var g,d,e=[Z,f];if(t)for(;n=n[b];){if((1===n.nodeType||c)&&a(n,k,t))return!0}else for(;n=n[b];)if(1===n.nodeType||c){d=n[L]||(n[L]={});if((g=d[b])&&g[0]===Z&&g[1]===f)return e[2]=g[2];d[b]=e;if(e[2]=a(n,k,t))return!0}}}function l(a){return 1<a.length?function(n,k,b){for(var c=a.length;c--;)if(!a[c](n,k,b))return!1;return!0}:a[0]}function K(a,n,k,b,c){for(var f,t=[],g=0,d=a.length,e=null!=n;g<d;g++)if(f=a[g])if(!k||k(f,b,c))t.push(f),
  e&&n.push(g);return t}function p(a,n,b,c,t,g){c&&!c[L]&&(c=p(c));t&&!t[L]&&(t=p(t,g));return f(function(f,g,d,e){var m,M,v=[],q=[],R=g.length,W;if(!(W=f)){W=n||"*";for(var x=d.nodeType?[d]:d,E=[],u=0,l=x.length;u<l;u++)k(W,x[u],E);W=E}W=!a||!f&&n?W:K(W,v,a,d,e);x=b?t||(f?a:R||c)?[]:g:W;b&&b(W,x,d,e);if(c)for(m=K(x,q),c(m,[],d,e),d=m.length;d--;)if(M=m[d])x[q[d]]=!(W[q[d]]=M);if(f){if(t||a){if(t){m=[];for(d=x.length;d--;)(M=x[d])&&m.push(W[d]=M);t(null,x=[],m,e)}for(d=x.length;d--;)(M=x[d])&&-1<(m=
  t?aa(f,M):v[d])&&(f[m]=!(g[m]=M))}}else x=K(x===g?x.splice(R,x.length):x),t?t(null,g,x,e):T.apply(g,x)})}function w(a){var n,k,b,c=a.length,f=I.relative[a[0].type];k=f||I.relative[" "];for(var t=f?1:0,g=u(function(a){return a===n},k,!0),d=u(function(a){return-1<aa(n,a)},k,!0),e=[function(a,k,b){a=!f&&(b||k!==F)||((n=k).nodeType?g(a,k,b):d(a,k,b));n=null;return a}];t<c;t++)if(k=I.relative[a[t].type])e=[u(l(e),k)];else{k=I.filter[a[t].type].apply(null,a[t].matches);if(k[L]){for(b=++t;b<c&&!I.relative[a[b].type];b++);
  return p(1<t&&l(e),1<t&&E(a.slice(0,t-1).concat({value:" "===a[t-2].type?"*":""})).replace(ja,"$1"),k,t<b&&w(a.slice(t,b)),b<c&&w(a=a.slice(b)),b<c&&E(a))}e.push(k)}return l(e)}function O(a,n){var b=0<n.length,c=0<a.length,t=function(f,t,g,d,e){var m,M,v,q=0,R="0",W=f&&[],x=[],E=F,u=f||c&&I.find.TAG("*",e),l=Z+=null==E?1:Math.random()||0.1,p=u.length;for(e&&(F=t!==C&&t);R!==p&&null!=(m=u[R]);R++){if(c&&m){for(M=0;v=a[M++];)if(v(m,t,g)){d.push(m);break}e&&(Z=l)}b&&((m=!v&&m)&&q--,f&&W.push(m))}q+=
  R;if(b&&R!==q){for(M=0;v=n[M++];)v(W,x,t,g);if(f){if(0<q)for(;R--;)W[R]||x[R]||(x[R]=ga.call(d));x=K(x)}T.apply(d,x);e&&!f&&0<x.length&&1<q+n.length&&k.uniqueSort(d)}e&&(Z=l,F=E);return W};return b?f(t):t}var s,r,I,y,D,B,z,U,F,Y,A,X,C,H,V,S,la,ka,$,L="sizzle"+1*new Date,G=a.document,Z=0,P=0,J=b(),oa=b(),Q=b(),da=function(a,n){a===n&&(A=!0);return 0},ha=-2147483648,N={}.hasOwnProperty,ea=[],ga=ea.pop,ba=ea.push,T=ea.push,ca=ea.slice,aa=function(a,n){for(var k=0,b=a.length;k<b;k++)if(a[k]===n)return k;
  return-1},pa="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+".replace("w","w#"),ia="\\[[\\x20\\t\\r\\n\\f]*((?:\\\\.|[\\w-]|[^\\x00-\\xa0])+)(?:[\\x20\\t\\r\\n\\f]*([*^$|!~]?=)[\\x20\\t\\r\\n\\f]*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+pa+"))|)[\\x20\\t\\r\\n\\f]*\\]",fa=":((?:\\\\.|[\\w-]|[^\\x00-\\xa0])+)(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ia+")*)|.*)\\)|)",qa=RegExp("[\\x20\\t\\r\\n\\f]+","g"),ja=RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$",
  "g"),sa=/^[\x20\t\r\n\f]*,[\x20\t\r\n\f]*/,ta=/^[\x20\t\r\n\f]*([>+~]|[\x20\t\r\n\f])[\x20\t\r\n\f]*/,ua=RegExp("=[\\x20\\t\\r\\n\\f]*([^\\]'\"]*?)[\\x20\\t\\r\\n\\f]*\\]","g"),xa=RegExp(fa),ya=RegExp("^"+pa+"$"),na={ID:/^#((?:\\.|[\w-]|[^\x00-\xa0])+)/,CLASS:/^\.((?:\\.|[\w-]|[^\x00-\xa0])+)/,TAG:RegExp("^("+"(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+".replace("w","w*")+")"),ATTR:RegExp("^"+ia),PSEUDO:RegExp("^"+fa),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)",
  "i"),bool:RegExp("^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$","i"),needsContext:RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},za=/^(?:input|select|textarea|button)$/i,Ba=/^h\d$/i,ma=/^[^{]+\{\s*\[native \w/,Ca=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ra=/[+~]/,Da=/'|\\/g,va=RegExp("\\\\([\\da-f]{1,6}[\\x20\\t\\r\\n\\f]?|([\\x20\\t\\r\\n\\f])|.)",
  "ig"),wa=function(a,n,k){a="0x"+n-65536;return a!==a||k?n:0>a?String.fromCharCode(a+65536):String.fromCharCode(a>>10|55296,a&1023|56320)},Aa=function(){X()};try{T.apply(ea=ca.call(G.childNodes),G.childNodes),ea[G.childNodes.length].nodeType}catch(Ea){T={apply:ea.length?function(a,n){ba.apply(a,ca.call(n))}:function(a,n){for(var k=a.length,b=0;a[k++]=n[b++];);a.length=k-1}}}r=k.support={};D=k.isXML=function(a){return(a=a&&(a.ownerDocument||a).documentElement)?"HTML"!==a.nodeName:!1};X=k.setDocument=
  function(a){var n=a?a.ownerDocument||a:G;if(n===C||9!==n.nodeType||!n.documentElement)return C;C=n;H=n.documentElement;(a=n.defaultView)&&a!==a.top&&(a.addEventListener?a.addEventListener("unload",Aa,!1):a.attachEvent&&a.attachEvent("onunload",Aa));V=!D(n);r.attributes=c(function(a){a.className="i";return!a.getAttribute("className")});r.getElementsByTagName=c(function(a){a.appendChild(n.createComment(""));return!a.getElementsByTagName("*").length});r.getElementsByClassName=ma.test(n.getElementsByClassName);
  r.getById=c(function(a){H.appendChild(a).id=L;return!n.getElementsByName||!n.getElementsByName(L).length});r.getById?(I.find.ID=function(a,n){if("undefined"!==typeof n.getElementById&&V){var k=n.getElementById(a);return k&&k.parentNode?[k]:[]}},I.filter.ID=function(a){var n=a.replace(va,wa);return function(a){return a.getAttribute("id")===n}}):(delete I.find.ID,I.filter.ID=function(a){var n=a.replace(va,wa);return function(a){return(a="undefined"!==typeof a.getAttributeNode&&a.getAttributeNode("id"))&&
  a.value===n}});I.find.TAG=r.getElementsByTagName?function(a,n){if("undefined"!==typeof n.getElementsByTagName)return n.getElementsByTagName(a);if(r.qsa)return n.querySelectorAll(a)}:function(a,n){var k,b=[],c=0,f=n.getElementsByTagName(a);if("*"===a){for(;k=f[c++];)1===k.nodeType&&b.push(k);return b}return f};I.find.CLASS=r.getElementsByClassName&&function(a,n){if(V)return n.getElementsByClassName(a)};la=[];S=[];if(r.qsa=ma.test(n.querySelectorAll))c(function(a){H.appendChild(a).innerHTML="<a id='"+
  L+"'></a><select id='"+L+"-\f]' msallowcapture=''><option selected=''></option></select>";a.querySelectorAll("[msallowcapture^='']").length&&S.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")");a.querySelectorAll("[selected]").length||S.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)");a.querySelectorAll("[id~="+L+"-]").length||S.push("~=");a.querySelectorAll(":checked").length||S.push(":checked");
  a.querySelectorAll("a#"+L+"+*").length||S.push(".#.+[+~]")}),c(function(a){var k=n.createElement("input");k.setAttribute("type","hidden");a.appendChild(k).setAttribute("name","D");a.querySelectorAll("[name=d]").length&&S.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?=");a.querySelectorAll(":enabled").length||S.push(":enabled",":disabled");a.querySelectorAll("*,:x");S.push(",.*:")});(r.matchesSelector=ma.test(ka=H.matches||H.webkitMatchesSelector||H.mozMatchesSelector||H.oMatchesSelector||H.msMatchesSelector))&&
  c(function(a){r.disconnectedMatch=ka.call(a,"div");ka.call(a,"[s!='']:x");la.push("!=",fa)});S=S.length&&RegExp(S.join("|"));la=la.length&&RegExp(la.join("|"));$=(a=ma.test(H.compareDocumentPosition))||ma.test(H.contains)?function(a,n){var k=9===a.nodeType?a.documentElement:a,b=n&&n.parentNode;return a===b||!!(b&&1===b.nodeType&&(k.contains?k.contains(b):a.compareDocumentPosition&&a.compareDocumentPosition(b)&16))}:function(a,n){if(n)for(;n=n.parentNode;)if(n===a)return!0;return!1};da=a?function(a,
  k){if(a===k)return A=!0,0;var b=!a.compareDocumentPosition-!k.compareDocumentPosition;if(b)return b;b=(a.ownerDocument||a)===(k.ownerDocument||k)?a.compareDocumentPosition(k):1;return b&1||!r.sortDetached&&k.compareDocumentPosition(a)===b?a===n||a.ownerDocument===G&&$(G,a)?-1:k===n||k.ownerDocument===G&&$(G,k)?1:Y?aa(Y,a)-aa(Y,k):0:b&4?-1:1}:function(a,k){if(a===k)return A=!0,0;var b,c=0;b=a.parentNode;var f=k.parentNode,t=[a],g=[k];if(!b||!f)return a===n?-1:k===n?1:b?-1:f?1:Y?aa(Y,a)-aa(Y,k):0;if(b===
  f)return d(a,k);for(b=a;b=b.parentNode;)t.unshift(b);for(b=k;b=b.parentNode;)g.unshift(b);for(;t[c]===g[c];)c++;return c?d(t[c],g[c]):t[c]===G?-1:g[c]===G?1:0};return n};k.matches=function(a,n){return k(a,null,null,n)};k.matchesSelector=function(a,n){(a.ownerDocument||a)!==C&&X(a);n=n.replace(ua,"='$1']");if(r.matchesSelector&&V&&!(la&&la.test(n)||S&&S.test(n)))try{var b=ka.call(a,n);if(b||r.disconnectedMatch||a.document&&11!==a.document.nodeType)return b}catch(c){}return 0<k(n,C,null,[a]).length};
  k.contains=function(a,n){(a.ownerDocument||a)!==C&&X(a);return $(a,n)};k.attr=function(a,n){(a.ownerDocument||a)!==C&&X(a);var k=I.attrHandle[n.toLowerCase()],k=k&&N.call(I.attrHandle,n.toLowerCase())?k(a,n,!V):void 0;return void 0!==k?k:r.attributes||!V?a.getAttribute(n):(k=a.getAttributeNode(n))&&k.specified?k.value:null};k.error=function(a){throw Error("Syntax error, unrecognized expression: "+a);};k.uniqueSort=function(a){var n,k=[],b=0,c=0;A=!r.detectDuplicates;Y=!r.sortStable&&a.slice(0);a.sort(da);
  if(A){for(;n=a[c++];)n===a[c]&&(b=k.push(c));for(;b--;)a.splice(k[b],1)}Y=null;return a};y=k.getText=function(a){var n,k="",b=0;n=a.nodeType;if(!n)for(;n=a[b++];)k+=y(n);else if(1===n||9===n||11===n){if("string"===typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)k+=y(a)}else if(3===n||4===n)return a.nodeValue;return k};I=k.selectors={cacheLength:50,createPseudo:f,match:na,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",
  first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){a[1]=a[1].replace(va,wa);a[3]=(a[3]||a[4]||a[5]||"").replace(va,wa);"~="===a[2]&&(a[3]=" "+a[3]+" ");return a.slice(0,4)},CHILD:function(a){a[1]=a[1].toLowerCase();"nth"===a[1].slice(0,3)?(a[3]||k.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&k.error(a[0]);return a},PSEUDO:function(a){var n,k=!a[6]&&a[2];if(na.CHILD.test(a[0]))return null;a[3]?a[2]=a[4]||a[5]||"":k&&
  xa.test(k)&&(n=B(k,!0))&&(n=k.indexOf(")",k.length-n)-k.length)&&(a[0]=a[0].slice(0,n),a[2]=k.slice(0,n));return a.slice(0,3)}},filter:{TAG:function(a){var n=a.replace(va,wa).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===n}},CLASS:function(a){var n=J[a+" "];return n||(n=RegExp("(^|[\\x20\\t\\r\\n\\f])"+a+"([\\x20\\t\\r\\n\\f]|$)"))&&J(a,function(a){return n.test("string"===typeof a.className&&a.className||"undefined"!==typeof a.getAttribute&&
  a.getAttribute("class")||"")})},ATTR:function(a,n,b){return function(c){c=k.attr(c,a);if(null==c)return"!="===n;if(!n)return!0;c+="";return"="===n?c===b:"!="===n?c!==b:"^="===n?b&&0===c.indexOf(b):"*="===n?b&&-1<c.indexOf(b):"$="===n?b&&c.slice(-b.length)===b:"~="===n?-1<(" "+c.replace(qa," ")+" ").indexOf(b):"|="===n?c===b||c.slice(0,b.length+1)===b+"-":!1}},CHILD:function(a,n,k,b,c){var f="nth"!==a.slice(0,3),t="last"!==a.slice(-4),g="of-type"===n;return 1===b&&0===c?function(a){return!!a.parentNode}:
  function(n,k,d){var e,m,M,v,q;k=f!==t?"nextSibling":"previousSibling";var R=n.parentNode,W=g&&n.nodeName.toLowerCase();d=!d&&!g;if(R){if(f){for(;k;){for(m=n;m=m[k];)if(g?m.nodeName.toLowerCase()===W:1===m.nodeType)return!1;q=k="only"===a&&!q&&"nextSibling"}return!0}q=[t?R.firstChild:R.lastChild];if(t&&d)for(d=R[L]||(R[L]={}),e=d[a]||[],v=e[0]===Z&&e[1],M=e[0]===Z&&e[2],m=v&&R.childNodes[v];m=++v&&m&&m[k]||(M=v=0)||q.pop();){if(1===m.nodeType&&++M&&m===n){d[a]=[Z,v,M];break}}else if(d&&(e=(n[L]||(n[L]=
  {}))[a])&&e[0]===Z)M=e[1];else for(;(m=++v&&m&&m[k]||(M=v=0)||q.pop())&&((g?m.nodeName.toLowerCase()!==W:1!==m.nodeType)||!++M||(d&&((m[L]||(m[L]={}))[a]=[Z,M]),m!==n)););M-=c;return M===b||0===M%b&&0<=M/b}}},PSEUDO:function(a,n){var b,c=I.pseudos[a]||I.setFilters[a.toLowerCase()]||k.error("unsupported pseudo: "+a);return c[L]?c(n):1<c.length?(b=[a,a,"",n],I.setFilters.hasOwnProperty(a.toLowerCase())?f(function(a,k){for(var b,f=c(a,n),t=f.length;t--;)b=aa(a,f[t]),a[b]=!(k[b]=f[t])}):function(a){return c(a,
  0,b)}):c}},pseudos:{not:f(function(a){var n=[],k=[],b=z(a.replace(ja,"$1"));return b[L]?f(function(a,n,k,c){c=b(a,null,c,[]);for(var f=a.length;f--;)if(k=c[f])a[f]=!(n[f]=k)}):function(a,c,f){n[0]=a;b(n,null,f,k);n[0]=null;return!k.pop()}}),has:f(function(a){return function(n){return 0<k(a,n).length}}),contains:f(function(a){a=a.replace(va,wa);return function(n){return-1<(n.textContent||n.innerText||y(n)).indexOf(a)}}),lang:f(function(a){ya.test(a||"")||k.error("unsupported lang: "+a);a=a.replace(va,
  wa).toLowerCase();return function(n){var k;do if(k=V?n.lang:n.getAttribute("xml:lang")||n.getAttribute("lang"))return k=k.toLowerCase(),k===a||0===k.indexOf(a+"-");while((n=n.parentNode)&&1===n.nodeType);return!1}}),target:function(k){var b=a.location&&a.location.hash;return b&&b.slice(1)===k.id},root:function(a){return a===H},focus:function(a){return a===C.activeElement&&(!C.hasFocus||C.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return!1===a.disabled},disabled:function(a){return!0===
  a.disabled},checked:function(a){var n=a.nodeName.toLowerCase();return"input"===n&&!!a.checked||"option"===n&&!!a.selected},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return!0===a.selected},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(6>a.nodeType)return!1;return!0},parent:function(a){return!I.pseudos.empty(a)},header:function(a){return Ba.test(a.nodeName)},input:function(a){return za.test(a.nodeName)},button:function(a){var n=a.nodeName.toLowerCase();return"input"===
  n&&"button"===a.type||"button"===n},text:function(a){var n;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(n=a.getAttribute("type"))||"text"===n.toLowerCase())},first:v(function(){return[0]}),last:v(function(a,n){return[n-1]}),eq:v(function(a,n,k){return[0>k?k+n:k]}),even:v(function(a,n){for(var k=0;k<n;k+=2)a.push(k);return a}),odd:v(function(a,n){for(var k=1;k<n;k+=2)a.push(k);return a}),lt:v(function(a,n,k){for(n=0>k?k+n:k;0<=--n;)a.push(n);return a}),gt:v(function(a,n,k){for(k=
  0>k?k+n:k;++k<n;)a.push(k);return a})}};I.pseudos.nth=I.pseudos.eq;for(s in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})I.pseudos[s]=e(s);for(s in{submit:!0,reset:!0})I.pseudos[s]=m(s);x.prototype=I.filters=I.pseudos;I.setFilters=new x;B=k.tokenize=function(a,n){var b,c,f,t,g,d,e;if(g=oa[a+" "])return n?0:g.slice(0);g=a;d=[];for(e=I.preFilter;g;){if(!b||(c=sa.exec(g)))c&&(g=g.slice(c[0].length)||g),d.push(f=[]);b=!1;if(c=ta.exec(g))b=c.shift(),f.push({value:b,type:c[0].replace(ja," ")}),g=
  g.slice(b.length);for(t in I.filter)!(c=na[t].exec(g))||e[t]&&!(c=e[t](c))||(b=c.shift(),f.push({value:b,type:t,matches:c}),g=g.slice(b.length));if(!b)break}return n?g.length:g?k.error(a):oa(a,d).slice(0)};z=k.compile=function(a,n){var k,b=[],c=[],f=Q[a+" "];if(!f){n||(n=B(a));for(k=n.length;k--;)f=w(n[k]),f[L]?b.push(f):c.push(f);f=Q(a,O(c,b));f.selector=a}return f};U=k.select=function(a,n,k,b){var c,f,t,g,d="function"===typeof a&&a,e=!b&&B(a=d.selector||a);k=k||[];if(1===e.length){f=e[0]=e[0].slice(0);
  if(2<f.length&&"ID"===(t=f[0]).type&&r.getById&&9===n.nodeType&&V&&I.relative[f[1].type]){n=(I.find.ID(t.matches[0].replace(va,wa),n)||[])[0];if(!n)return k;d&&(n=n.parentNode);a=a.slice(f.shift().value.length)}for(c=na.needsContext.test(a)?0:f.length;c--;){t=f[c];if(I.relative[g=t.type])break;if(g=I.find[g])if(b=g(t.matches[0].replace(va,wa),ra.test(f[0].type)&&q(n.parentNode)||n)){f.splice(c,1);a=b.length&&E(f);if(!a)return T.apply(k,b),k;break}}}(d||z(a,e))(b,n,!V,k,ra.test(a)&&q(n.parentNode)||
  n);return k};r.sortStable=L.split("").sort(da).join("")===L;r.detectDuplicates=!!A;X();r.sortDetached=c(function(a){return a.compareDocumentPosition(C.createElement("div"))&1});c(function(a){a.innerHTML="<a href='#'></a>";return"#"===a.firstChild.getAttribute("href")})||g("type|href|height|width",function(a,n,k){if(!k)return a.getAttribute(n,"type"===n.toLowerCase()?1:2)});r.attributes&&c(function(a){a.innerHTML="<input/>";a.firstChild.setAttribute("value","");return""===a.firstChild.getAttribute("value")})||
  g("value",function(a,n,k){if(!k&&"input"===a.nodeName.toLowerCase())return a.defaultValue});c(function(a){return null==a.getAttribute("disabled")})||g("checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",function(a,n,k){var b;if(!k)return!0===a[n]?n.toLowerCase():(b=a.getAttributeNode(n))&&b.specified?b.value:null});return k}(a);f.find=Ba;f.expr=Ba.selectors;f.expr[":"]=f.expr.pseudos;f.unique=Ba.uniqueSort;f.text=Ba.getText;
  f.isXMLDoc=Ba.isXML;f.contains=Ba.contains;var bb=f.expr.match.needsContext,cb=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,xb=/^.[^:#\[\.,]*$/;f.filter=function(a,k,b){var c=k[0];b&&(a=":not("+a+")");return 1===k.length&&1===c.nodeType?f.find.matchesSelector(c,a)?[c]:[]:f.find.matches(a,f.grep(k,function(a){return 1===a.nodeType}))};f.fn.extend({find:function(a){var k,b=[],c=this,g=c.length;if("string"!==typeof a)return this.pushStack(f(a).filter(function(){for(k=0;k<g;k++)if(f.contains(c[k],this))return!0}));for(k=
  0;k<g;k++)f.find(a,c[k],b);b=this.pushStack(1<g?f.unique(b):b);b.selector=this.selector?this.selector+" "+a:a;return b},filter:function(a){return this.pushStack(d(this,a||[],!1))},not:function(a){return this.pushStack(d(this,a||[],!0))},is:function(a){return!!d(this,"string"===typeof a&&bb.test(a)?f(a):a||[],!1).length}});var Ea,J=a.document,Ib=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(f.fn.init=function(a,k){var b,c;if(!a)return this;if("string"===typeof a){b="<"===a.charAt(0)&&">"===a.charAt(a.length-
  1)&&3<=a.length?[null,a,null]:Ib.exec(a);if(!b||!b[1]&&k)return!k||k.jquery?(k||Ea).find(a):this.constructor(k).find(a);if(b[1]){if(k=k instanceof f?k[0]:k,f.merge(this,f.parseHTML(b[1],k&&k.nodeType?k.ownerDocument||k:J,!0)),cb.test(b[1])&&f.isPlainObject(k))for(b in k)if(f.isFunction(this[b]))this[b](k[b]);else this.attr(b,k[b])}else{if((c=J.getElementById(b[2]))&&c.parentNode){if(c.id!==b[2])return Ea.find(a);this.length=1;this[0]=c}this.context=J;this.selector=a}return this}if(a.nodeType)return this.context=
  this[0]=a,this.length=1,this;if(f.isFunction(a))return"undefined"!==typeof Ea.ready?Ea.ready(a):a(f);void 0!==a.selector&&(this.selector=a.selector,this.context=a.context);return f.makeArray(a,this)}).prototype=f.fn;Ea=f(J);var Jb=/^(?:parents|prev(?:Until|All))/,Kb={children:!0,contents:!0,next:!0,prev:!0};f.extend({dir:function(a,k,b){var c=[];for(a=a[k];a&&9!==a.nodeType&&(void 0===b||1!==a.nodeType||!f(a).is(b));)1===a.nodeType&&c.push(a),a=a[k];return c},sibling:function(a,k){for(var b=[];a;a=
  a.nextSibling)1===a.nodeType&&a!==k&&b.push(a);return b}});f.fn.extend({has:function(a){var k,b=f(a,this),c=b.length;return this.filter(function(){for(k=0;k<c;k++)if(f.contains(this,b[k]))return!0})},closest:function(a,k){for(var b,c=0,g=this.length,d=[],e=bb.test(a)||"string"!==typeof a?f(a,k||this.context):0;c<g;c++)for(b=this[c];b&&b!==k;b=b.parentNode)if(11>b.nodeType&&(e?-1<e.index(b):1===b.nodeType&&f.find.matchesSelector(b,a))){d.push(b);break}return this.pushStack(1<d.length?f.unique(d):d)},
  index:function(a){return a?"string"===typeof a?f.inArray(this[0],f(a)):f.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,k){return this.pushStack(f.unique(f.merge(this.get(),f(a,k))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});f.each({parent:function(a){return(a=a.parentNode)&&11!==a.nodeType?a:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,k,b){return f.dir(a,
  "parentNode",b)},next:function(a){return e(a,"nextSibling")},prev:function(a){return e(a,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,k,b){return f.dir(a,"nextSibling",b)},prevUntil:function(a,k,b){return f.dir(a,"previousSibling",b)},siblings:function(a){return f.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,
  "iframe")?a.contentDocument||a.contentWindow.document:f.merge([],a.childNodes)}},function(a,k){f.fn[a]=function(b,c){var g=f.map(this,k,b);"Until"!==a.slice(-5)&&(c=b);c&&"string"===typeof c&&(g=f.filter(c,g));1<this.length&&(Kb[a]||(g=f.unique(g)),Jb.test(a)&&(g=g.reverse()));return this.pushStack(g)}});var fa=/\S+/g,Ya={};f.Callbacks=function(a){a="string"===typeof a?Ya[a]||l(a):f.extend({},a);var k,b,c,g,d,e,m=[],v=!a.once&&[],q=function(f){b=a.memory&&f;c=!0;d=e||0;e=0;g=m.length;for(k=!0;m&&
  d<g;d++)if(!1===m[d].apply(f[0],f[1])&&a.stopOnFalse){b=!1;break}k=!1;m&&(v?v.length&&q(v.shift()):b?m=[]:x.disable())},x={add:function(){if(m){var c=m.length;(function Hb(k){f.each(k,function(k,b){var c=f.type(b);"function"===c?a.unique&&x.has(b)||m.push(b):b&&b.length&&"string"!==c&&Hb(b)})})(arguments);k?g=m.length:b&&(e=c,q(b))}return this},remove:function(){m&&f.each(arguments,function(a,n){for(var b;-1<(b=f.inArray(n,m,b));)m.splice(b,1),k&&(b<=g&&g--,b<=d&&d--)});return this},has:function(a){return a?
  -1<f.inArray(a,m):!(!m||!m.length)},empty:function(){m=[];g=0;return this},disable:function(){m=v=b=void 0;return this},disabled:function(){return!m},lock:function(){v=void 0;b||x.disable();return this},locked:function(){return!v},fireWith:function(a,n){!m||c&&!v||(n=n||[],n=[a,n.slice?n.slice():n],k?v.push(n):q(n));return this},fire:function(){x.fireWith(this,arguments);return this},fired:function(){return!!c}};return x};f.extend({Deferred:function(a){var k=[["resolve","done",f.Callbacks("once memory"),
  "resolved"],["reject","fail",f.Callbacks("once memory"),"rejected"],["notify","progress",f.Callbacks("memory")]],b="pending",c={state:function(){return b},always:function(){g.done(arguments).fail(arguments);return this},then:function(){var a=arguments;return f.Deferred(function(n){f.each(k,function(k,b){var t=f.isFunction(a[k])&&a[k];g[b[1]](function(){var a=t&&t.apply(this,arguments);if(a&&f.isFunction(a.promise))a.promise().done(n.resolve).fail(n.reject).progress(n.notify);else n[b[0]+"With"](this===
  c?n.promise():this,t?[a]:arguments)})});a=null}).promise()},promise:function(a){return null!=a?f.extend(a,c):c}},g={};c.pipe=c.then;f.each(k,function(a,n){var f=n[2],d=n[3];c[n[1]]=f.add;d&&f.add(function(){b=d},k[a^1][2].disable,k[2][2].lock);g[n[0]]=function(){g[n[0]+"With"](this===g?c:this,arguments);return this};g[n[0]+"With"]=f.fireWith});c.promise(g);a&&a.call(g,g);return g},when:function(a){var k=0,b=ba.call(arguments),c=b.length,g=1!==c||a&&f.isFunction(a.promise)?c:0,d=1===g?a:f.Deferred(),
  e=function(a,n,k){return function(b){n[a]=this;k[a]=1<arguments.length?ba.call(arguments):b;k===m?d.notifyWith(n,k):--g||d.resolveWith(n,k)}},m,v,q;if(1<c)for(m=Array(c),v=Array(c),q=Array(c);k<c;k++)b[k]&&f.isFunction(b[k].promise)?b[k].promise().done(e(k,q,b)).fail(d.reject).progress(e(k,v,m)):--g;g||d.resolveWith(q,b);return d.promise()}});var Ha;f.fn.ready=function(a){f.ready.promise().done(a);return this};f.extend({isReady:!1,readyWait:1,holdReady:function(a){a?f.readyWait++:f.ready(!0)},ready:function(a){if(!0===
  a?!--f.readyWait:!f.isReady){if(!J.body)return setTimeout(f.ready);f.isReady=!0;!0!==a&&0<--f.readyWait||(Ha.resolveWith(J,[f]),f.fn.triggerHandler&&(f(J).triggerHandler("ready"),f(J).off("ready")))}}});f.ready.promise=function(n){if(!Ha)if(Ha=f.Deferred(),"complete"===J.readyState)setTimeout(f.ready);else if(J.addEventListener)J.addEventListener("DOMContentLoaded",s,!1),a.addEventListener("load",s,!1);else{J.attachEvent("onreadystatechange",s);a.attachEvent("onload",s);var k=!1;try{k=null==a.frameElement&&
  J.documentElement}catch(b){}k&&k.doScroll&&function R(){if(!f.isReady){try{k.doScroll("left")}catch(a){return setTimeout(R,50)}p();f.ready()}}()}return Ha.promise(n)};var ca="undefined",db;for(db in f(G))break;G.ownLast="0"!==db;G.inlineBlockNeedsLayout=!1;f(function(){var a,k,b;(k=J.getElementsByTagName("body")[0])&&k.style&&(a=J.createElement("div"),b=J.createElement("div"),b.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",k.appendChild(b).appendChild(a),typeof a.style.zoom!==
  ca&&(a.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",G.inlineBlockNeedsLayout=a=3===a.offsetWidth)&&(k.style.zoom=1),k.removeChild(b))});(function(){var a=J.createElement("div");if(null==G.deleteExpando){G.deleteExpando=!0;try{delete a.test}catch(k){G.deleteExpando=!1}}})();f.acceptData=function(a){var k=f.noData[(a.nodeName+" ").toLowerCase()],b=+a.nodeType||1;return 1!==b&&9!==b?!1:!k||!0!==k&&a.getAttribute("classid")===k};var zb=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,
  yb=/([A-Z])/g;f.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!w(a)},data:function(a,k,b){return z(a,k,b)},removeData:function(a,k){return y(a,k)},_data:function(a,k,b){return z(a,k,b,!0)},_removeData:function(a,k){return y(a,k,!0)}});f.fn.extend({data:function(a,k){var b,c,g,d=this[0],e=d&&d.attributes;if(void 0===a){if(this.length&&(g=f.data(d),1===d.nodeType&&
  !f._data(d,"parsedAttrs"))){for(b=e.length;b--;)e[b]&&(c=e[b].name,0===c.indexOf("data-")&&(c=f.camelCase(c.slice(5)),r(d,c,g[c])));f._data(d,"parsedAttrs",!0)}return g}return"object"===typeof a?this.each(function(){f.data(this,a)}):1<arguments.length?this.each(function(){f.data(this,a,k)}):d?r(d,a,f.data(d,a)):void 0},removeData:function(a){return this.each(function(){f.removeData(this,a)})}});f.extend({queue:function(a,k,b){var c;if(a)return k=(k||"fx")+"queue",c=f._data(a,k),b&&(!c||f.isArray(b)?
  c=f._data(a,k,f.makeArray(b)):c.push(b)),c||[]},dequeue:function(a,k){k=k||"fx";var b=f.queue(a,k),c=b.length,g=b.shift(),d=f._queueHooks(a,k),e=function(){f.dequeue(a,k)};"inprogress"===g&&(g=b.shift(),c--);g&&("fx"===k&&b.unshift("inprogress"),delete d.stop,g.call(a,e,d));!c&&d&&d.empty.fire()},_queueHooks:function(a,k){var b=k+"queueHooks";return f._data(a,b)||f._data(a,b,{empty:f.Callbacks("once memory").add(function(){f._removeData(a,k+"queue");f._removeData(a,b)})})}});f.fn.extend({queue:function(a,
  k){var b=2;"string"!==typeof a&&(k=a,a="fx",b--);return arguments.length<b?f.queue(this[0],a):void 0===k?this:this.each(function(){var b=f.queue(this,a,k);f._queueHooks(this,a);"fx"===a&&"inprogress"!==b[0]&&f.dequeue(this,a)})},dequeue:function(a){return this.each(function(){f.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,k){var b,c=1,g=f.Deferred(),d=this,e=this.length,m=function(){--c||g.resolveWith(d,[d])};"string"!==typeof a&&(k=a,a=void 0);for(a=
  a||"fx";e--;)(b=f._data(d[e],a+"queueHooks"))&&b.empty&&(c++,b.empty.add(m));m();return g.promise(k)}});var Ia=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,sa=["Top","Right","Bottom","Left"],ra=function(a,k){a=k||a;return"none"===f.css(a,"display")||!f.contains(a.ownerDocument,a)},xa=f.access=function(a,k,b,c,g,d,e){var m=0,v=a.length,q=null==b;if("object"===f.type(b))for(m in g=!0,b)f.access(a,k,m,b[m],!0,d,e);else if(void 0!==c&&(g=!0,f.isFunction(c)||(e=!0),q&&(e?(k.call(a,c),k=null):(q=k,k=function(a,
  n,k){return q.call(f(a),k)})),k))for(;m<v;m++)k(a[m],b,e?c:c.call(a[m],m,k(a[m],b)));return g?a:q?k.call(a):v?k(a[0],b):d},Na=/^(?:checkbox|radio)$/i;(function(){var a=J.createElement("input"),k=J.createElement("div"),b=J.createDocumentFragment();k.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";G.leadingWhitespace=3===k.firstChild.nodeType;G.tbody=!k.getElementsByTagName("tbody").length;G.htmlSerialize=!!k.getElementsByTagName("link").length;G.html5Clone="<:nav></:nav>"!==
  J.createElement("nav").cloneNode(!0).outerHTML;a.type="checkbox";a.checked=!0;b.appendChild(a);G.appendChecked=a.checked;k.innerHTML="<textarea>x</textarea>";G.noCloneChecked=!!k.cloneNode(!0).lastChild.defaultValue;b.appendChild(k);k.innerHTML="<input type='radio' checked='checked' name='t'/>";G.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked;G.noCloneEvent=!0;k.attachEvent&&(k.attachEvent("onclick",function(){G.noCloneEvent=!1}),k.cloneNode(!0).click());if(null==G.deleteExpando){G.deleteExpando=
  !0;try{delete k.test}catch(c){G.deleteExpando=!1}}})();(function(){var n,k,b=J.createElement("div");for(n in{submit:!0,change:!0,focusin:!0})k="on"+n,(G[n+"Bubbles"]=k in a)||(b.setAttribute(k,"t"),G[n+"Bubbles"]=!1===b.attributes[k].expando)})();var Pa=/^(?:input|select|textarea)$/i,Lb=/^key/,Mb=/^(?:mouse|pointer|contextmenu)|click/,eb=/^(?:focusinfocus|focusoutblur)$/,fb=/^([^.]*)(?:\.(.+)|)$/;f.event={global:{},add:function(a,k,b,c,g){var d,e,m,v,q,x,E,u,l;if(m=f._data(a)){b.handler&&(v=b,b=v.handler,
  g=v.selector);b.guid||(b.guid=f.guid++);(e=m.events)||(e=m.events={});(q=m.handle)||(q=m.handle=function(a){return typeof f===ca||a&&f.event.triggered===a.type?void 0:f.event.dispatch.apply(q.elem,arguments)},q.elem=a);k=(k||"").match(fa)||[""];for(m=k.length;m--;)d=fb.exec(k[m])||[],u=x=d[1],l=(d[2]||"").split(".").sort(),u&&(d=f.event.special[u]||{},u=(g?d.delegateType:d.bindType)||u,d=f.event.special[u]||{},x=f.extend({type:u,origType:x,data:c,handler:b,guid:b.guid,selector:g,needsContext:g&&f.expr.match.needsContext.test(g),
  namespace:l.join(".")},v),(E=e[u])||(E=e[u]=[],E.delegateCount=0,d.setup&&!1!==d.setup.call(a,c,l,q)||(a.addEventListener?a.addEventListener(u,q,!1):a.attachEvent&&a.attachEvent("on"+u,q))),d.add&&(d.add.call(a,x),x.handler.guid||(x.handler.guid=b.guid)),g?E.splice(E.delegateCount++,0,x):E.push(x),f.event.global[u]=!0);a=null}},remove:function(a,k,b,c,g){var d,e,m,v,q,x,u,E,l,K,p,I=f.hasData(a)&&f._data(a);if(I&&(x=I.events)){k=(k||"").match(fa)||[""];for(q=k.length;q--;)if(m=fb.exec(k[q])||[],l=
  p=m[1],K=(m[2]||"").split(".").sort(),l){u=f.event.special[l]||{};l=(c?u.delegateType:u.bindType)||l;E=x[l]||[];m=m[2]&&RegExp("(^|\\.)"+K.join("\\.(?:.*\\.|)")+"(\\.|$)");for(v=d=E.length;d--;)e=E[d],!g&&p!==e.origType||b&&b.guid!==e.guid||m&&!m.test(e.namespace)||c&&!(c===e.selector||"**"===c&&e.selector)||(E.splice(d,1),e.selector&&E.delegateCount--,u.remove&&u.remove.call(a,e));v&&!E.length&&(u.teardown&&!1!==u.teardown.call(a,K,I.handle)||f.removeEvent(a,l,I.handle),delete x[l])}else for(l in x)f.event.remove(a,
  l+k[q],b,c,!0);f.isEmptyObject(x)&&(delete I.handle,f._removeData(a,"events"))}},trigger:function(b,k,c,g){var d,e,m,v,q,x,u=[c||J],E=ea.call(b,"type")?b.type:b;q=ea.call(b,"namespace")?b.namespace.split("."):[];m=d=c=c||J;if(3!==c.nodeType&&8!==c.nodeType&&!eb.test(E+f.event.triggered)&&(0<=E.indexOf(".")&&(q=E.split("."),E=q.shift(),q.sort()),e=0>E.indexOf(":")&&"on"+E,b=b[f.expando]?b:new f.Event(E,"object"===typeof b&&b),b.isTrigger=g?2:3,b.namespace=q.join("."),b.namespace_re=b.namespace?RegExp("(^|\\.)"+
  q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=c),k=null==k?[b]:f.makeArray(k,[b]),q=f.event.special[E]||{},g||!q.trigger||!1!==q.trigger.apply(c,k))){if(!g&&!q.noBubble&&!f.isWindow(c)){v=q.delegateType||E;eb.test(v+E)||(m=m.parentNode);for(;m;m=m.parentNode)u.push(m),d=m;d===(c.ownerDocument||J)&&u.push(d.defaultView||d.parentWindow||a)}for(x=0;(m=u[x++])&&!b.isPropagationStopped();)b.type=1<x?v:q.bindType||E,(d=(f._data(m,"events")||{})[b.type]&&f._data(m,"handle"))&&
  d.apply(m,k),(d=e&&m[e])&&d.apply&&f.acceptData(m)&&(b.result=d.apply(m,k),!1===b.result&&b.preventDefault());b.type=E;if(!(g||b.isDefaultPrevented()||q._default&&!1!==q._default.apply(u.pop(),k))&&f.acceptData(c)&&e&&c[E]&&!f.isWindow(c)){(d=c[e])&&(c[e]=null);f.event.triggered=E;try{c[E]()}catch(l){}f.event.triggered=void 0;d&&(c[e]=d)}return b.result}},dispatch:function(a){a=f.event.fix(a);var b,c,g,d,e=[],m=ba.call(arguments);b=(f._data(this,"events")||{})[a.type]||[];var v=f.event.special[a.type]||
  {};m[0]=a;a.delegateTarget=this;if(!v.preDispatch||!1!==v.preDispatch.call(this,a)){e=f.event.handlers.call(this,a,b);for(b=0;(g=e[b++])&&!a.isPropagationStopped();)for(a.currentTarget=g.elem,d=0;(c=g.handlers[d++])&&!a.isImmediatePropagationStopped();)if(!a.namespace_re||a.namespace_re.test(c.namespace))a.handleObj=c,a.data=c.data,c=((f.event.special[c.origType]||{}).handle||c.handler).apply(g.elem,m),void 0!==c&&!1===(a.result=c)&&(a.preventDefault(),a.stopPropagation());v.postDispatch&&v.postDispatch.call(this,
  a);return a.result}},handlers:function(a,b){var c,g,d,e,m=[],v=b.delegateCount,q=a.target;if(v&&q.nodeType&&(!a.button||"click"!==a.type))for(;q!=this;q=q.parentNode||this)if(1===q.nodeType&&(!0!==q.disabled||"click"!==a.type)){d=[];for(e=0;e<v;e++)g=b[e],c=g.selector+" ",void 0===d[c]&&(d[c]=g.needsContext?0<=f(c,this).index(q):f.find(c,this,null,[q]).length),d[c]&&d.push(g);d.length&&m.push({elem:q,handlers:d})}v<b.length&&m.push({elem:this,handlers:b.slice(v)});return m},fix:function(a){if(a[f.expando])return a;
  var b,c,g;b=a.type;var d=a,e=this.fixHooks[b];e||(this.fixHooks[b]=e=Mb.test(b)?this.mouseHooks:Lb.test(b)?this.keyHooks:{});g=e.props?this.props.concat(e.props):this.props;a=new f.Event(d);for(b=g.length;b--;)c=g[b],a[c]=d[c];a.target||(a.target=d.srcElement||J);3===a.target.nodeType&&(a.target=a.target.parentNode);a.metaKey=!!a.metaKey;return e.filter?e.filter(a,d):a},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),
  fixHooks:{},keyHooks:{props:["char","charCode","key","keyCode"],filter:function(a,b){null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode);return a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,f,g=b.button,d=b.fromElement;null==a.pageX&&null!=b.clientX&&(c=a.target.ownerDocument||J,f=c.documentElement,c=c.body,a.pageX=b.clientX+(f&&f.scrollLeft||c&&c.scrollLeft||0)-(f&&f.clientLeft||
  c&&c.clientLeft||0),a.pageY=b.clientY+(f&&f.scrollTop||c&&c.scrollTop||0)-(f&&f.clientTop||c&&c.clientTop||0));!a.relatedTarget&&d&&(a.relatedTarget=d===a.target?b.toElement:d);a.which||void 0===g||(a.which=g&1?1:g&2?3:g&4?2:0);return a}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==C()&&this.focus)try{return this.focus(),!1}catch(a){}},delegateType:"focusin"},blur:{trigger:function(){if(this===C()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(f.nodeName(this,
  "input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(a){return f.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,b,c,g){a=f.extend(new f.Event,c,{type:a,isSimulated:!0,originalEvent:{}});g?f.event.trigger(a,null,b):f.event.dispatch.call(b,a);a.isDefaultPrevented()&&c.preventDefault()}};f.removeEvent=J.removeEventListener?function(a,b,c){a.removeEventListener&&
  a.removeEventListener(b,c,!1)}:function(a,b,c){b="on"+b;a.detachEvent&&(typeof a[b]===ca&&(a[b]=null),a.detachEvent(b,c))};f.Event=function(a,b){if(!(this instanceof f.Event))return new f.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&!1===a.returnValue?B:F):this.type=a;b&&f.extend(this,b);this.timeStamp=a&&a.timeStamp||f.now();this[f.expando]=!0};f.Event.prototype={isDefaultPrevented:F,isPropagationStopped:F,isImmediatePropagationStopped:F,
  preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=B;a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=B;a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=B;a&&a.stopImmediatePropagation&&a.stopImmediatePropagation();this.stopPropagation()}};f.each({mouseenter:"mouseover",mouseleave:"mouseout",
  pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){f.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,n=a.relatedTarget,g=a.handleObj;if(!n||n!==this&&!f.contains(this,n))a.type=g.origType,c=g.handler.apply(this,arguments),a.type=b;return c}}});G.submitBubbles||(f.event.special.submit={setup:function(){if(f.nodeName(this,"form"))return!1;f.event.add(this,"click._submit keypress._submit",function(a){a=a.target;(a=f.nodeName(a,"input")||f.nodeName(a,"button")?a.form:
  void 0)&&!f._data(a,"submitBubbles")&&(f.event.add(a,"submit._submit",function(a){a._submit_bubble=!0}),f._data(a,"submitBubbles",!0))})},postDispatch:function(a){a._submit_bubble&&(delete a._submit_bubble,this.parentNode&&!a.isTrigger&&f.event.simulate("submit",this.parentNode,a,!0))},teardown:function(){if(f.nodeName(this,"form"))return!1;f.event.remove(this,"._submit")}});G.changeBubbles||(f.event.special.change={setup:function(){if(Pa.test(this.nodeName)){if("checkbox"===this.type||"radio"===
  this.type)f.event.add(this,"propertychange._change",function(a){"checked"===a.originalEvent.propertyName&&(this._just_changed=!0)}),f.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1);f.event.simulate("change",this,a,!0)});return!1}f.event.add(this,"beforeactivate._change",function(a){a=a.target;Pa.test(a.nodeName)&&!f._data(a,"changeBubbles")&&(f.event.add(a,"change._change",function(a){!this.parentNode||a.isSimulated||a.isTrigger||f.event.simulate("change",
  this.parentNode,a,!0)}),f._data(a,"changeBubbles",!0))})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||"radio"!==b.type&&"checkbox"!==b.type)return a.handleObj.handler.apply(this,arguments)},teardown:function(){f.event.remove(this,"._change");return!Pa.test(this.nodeName)}});G.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){f.event.simulate(b,a.target,f.event.fix(a),!0)};f.event.special[b]={setup:function(){var g=this.ownerDocument||
  this,d=f._data(g,b);d||g.addEventListener(a,c,!0);f._data(g,b,(d||0)+1)},teardown:function(){var g=this.ownerDocument||this,d=f._data(g,b)-1;d?f._data(g,b,d):(g.removeEventListener(a,c,!0),f._removeData(g,b))}}});f.fn.extend({on:function(a,b,c,g,d){var e,m;if("object"===typeof a){"string"!==typeof b&&(c=c||b,b=void 0);for(e in a)this.on(e,b,c,a[e],d);return this}null==c&&null==g?(g=b,c=b=void 0):null==g&&("string"===typeof b?(g=c,c=void 0):(g=c,c=b,b=void 0));if(!1===g)g=F;else if(!g)return this;
  1===d&&(m=g,g=function(a){f().off(a);return m.apply(this,arguments)},g.guid=m.guid||(m.guid=f.guid++));return this.each(function(){f.event.add(this,a,g,c,b)})},one:function(a,b,c,f){return this.on(a,b,c,f,1)},off:function(a,b,c){var g;if(a&&a.preventDefault&&a.handleObj)return g=a.handleObj,f(a.delegateTarget).off(g.namespace?g.origType+"."+g.namespace:g.origType,g.selector,g.handler),this;if("object"===typeof a){for(g in a)this.off(g,b,a[g]);return this}if(!1===b||"function"===typeof b)c=b,b=void 0;
  !1===c&&(c=F);return this.each(function(){f.event.remove(this,a,c,b)})},trigger:function(a,b){return this.each(function(){f.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];if(c)return f.event.trigger(a,b,c,!0)}});var Za="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Nb=/ jQuery\d+="(?:null|\d+)"/g,gb=RegExp("<(?:"+Za+")[\\s/>]","i"),Qa=/^\s+/,hb=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,
  ib=/<([\w:]+)/,jb=/<tbody/i,Ob=/<|&#?\w+;/,Pb=/<(?:script|style|link)/i,Qb=/checked\s*(?:[^=]|=\s*.checked.)/i,kb=/^$|\/(?:java|ecma)script/i,Ab=/^true\/(.*)/,Rb=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,T={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:G.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},Ra=m(J).appendChild(J.createElement("div"));T.optgroup=T.option;T.tbody=T.tfoot=T.colgroup=T.caption=T.thead;T.th=T.td;f.extend({clone:function(a,b,c){var d,e,m,v,E,u=f.contains(a.ownerDocument,a);G.html5Clone||f.isXMLDoc(a)||!gb.test("<"+a.nodeName+">")?m=a.cloneNode(!0):(Ra.innerHTML=a.outerHTML,Ra.removeChild(m=Ra.firstChild));if(!(G.noCloneEvent&&G.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||
  f.isXMLDoc(a)))for(d=q(m),E=q(a),v=0;null!=(e=E[v]);++v)if(d[v]){var l=d[v],K=void 0,p=void 0,I=void 0;if(1===l.nodeType){K=l.nodeName.toLowerCase();if(!G.noCloneEvent&&l[f.expando]){I=f._data(l);for(p in I.events)f.removeEvent(l,p,I.handle);l.removeAttribute(f.expando)}if("script"===K&&l.text!==e.text)H(l).text=e.text,A(l);else if("object"===K)l.parentNode&&(l.outerHTML=e.outerHTML),G.html5Clone&&e.innerHTML&&!f.trim(l.innerHTML)&&(l.innerHTML=e.innerHTML);else if("input"===K&&Na.test(e.type))l.defaultChecked=
  l.checked=e.checked,l.value!==e.value&&(l.value=e.value);else if("option"===K)l.defaultSelected=l.selected=e.defaultSelected;else if("input"===K||"textarea"===K)l.defaultValue=e.defaultValue}}if(b)if(c)for(E=E||q(a),d=d||q(m),v=0;null!=(e=E[v]);v++)x(e,d[v]);else x(a,m);d=q(m,"script");0<d.length&&g(d,!u&&q(a,"script"));return m},buildFragment:function(a,b,c,d){for(var e,v,x,E,l,K,p=a.length,I=m(b),r=[],w=0;w<p;w++)if((v=a[w])||0===v)if("object"===f.type(v))f.merge(r,v.nodeType?[v]:v);else if(Ob.test(v)){x=
  x||I.appendChild(b.createElement("div"));E=(ib.exec(v)||["",""])[1].toLowerCase();K=T[E]||T._default;x.innerHTML=K[1]+v.replace(hb,"<$1></$2>")+K[2];for(e=K[0];e--;)x=x.lastChild;!G.leadingWhitespace&&Qa.test(v)&&r.push(b.createTextNode(Qa.exec(v)[0]));if(!G.tbody)for(e=(v="table"!==E||jb.test(v)?"<table>"!==K[1]||jb.test(v)?0:x:x.firstChild)&&v.childNodes.length;e--;)f.nodeName(l=v.childNodes[e],"tbody")&&!l.childNodes.length&&v.removeChild(l);f.merge(r,x.childNodes);for(x.textContent="";x.firstChild;)x.removeChild(x.firstChild);
  x=I.lastChild}else r.push(b.createTextNode(v));x&&I.removeChild(x);G.appendChecked||f.grep(q(r,"input"),u);for(w=0;v=r[w++];)if(!d||-1===f.inArray(v,d))if(a=f.contains(v.ownerDocument,v),x=q(I.appendChild(v),"script"),a&&g(x),c)for(e=0;v=x[e++];)kb.test(v.type||"")&&c.push(v);return I},cleanData:function(a,b){for(var c,g,d,e,m=0,v=f.expando,q=f.cache,x=G.deleteExpando,E=f.event.special;null!=(c=a[m]);m++)if(b||f.acceptData(c))if(e=(d=c[v])&&q[d]){if(e.events)for(g in e.events)E[g]?f.event.remove(c,
  g):f.removeEvent(c,g,e.handle);q[d]&&(delete q[d],x?delete c[v]:typeof c.removeAttribute!==ca?c.removeAttribute(v):c[v]=null,ga.push(d))}}});f.fn.extend({text:function(a){return xa(this,function(a){return void 0===a?f.text(this):this.empty().append((this[0]&&this[0].ownerDocument||J).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||D(this,a).appendChild(a)})},prepend:function(){return this.domManip(arguments,
  function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=D(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?f.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||f.cleanData(q(c)),c.parentNode&&
  (b&&f.contains(c.ownerDocument,c)&&g(q(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){for(1===a.nodeType&&f.cleanData(q(a,!1));a.firstChild;)a.removeChild(a.firstChild);a.options&&f.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){a=null==a?!1:a;b=null==b?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){return xa(this,function(a){var b=this[0]||{},c=0,n=this.length;if(void 0===a)return 1===
  b.nodeType?b.innerHTML.replace(Nb,""):void 0;if("string"===typeof a&&!(Pb.test(a)||!G.htmlSerialize&&gb.test(a)||!G.leadingWhitespace&&Qa.test(a)||T[(ib.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(hb,"<$1></$2>");try{for(;c<n;c++)b=this[c]||{},1===b.nodeType&&(f.cleanData(q(b,!1)),b.innerHTML=a);b=0}catch(g){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];this.domManip(arguments,function(b){a=this.parentNode;f.cleanData(q(this));a&&a.replaceChild(b,
  this)});return a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=pa.apply([],a);var c,g,d,e,m=0,v=this.length,x=this,E=v-1,l=a[0],u=f.isFunction(l);if(u||1<v&&"string"===typeof l&&!G.checkClone&&Qb.test(l))return this.each(function(c){var f=x.eq(c);u&&(a[0]=l.call(this,c,f.html()));f.domManip(a,b)});if(v&&(e=f.buildFragment(a,this[0].ownerDocument,!1,this),c=e.firstChild,1===e.childNodes.length&&(e=c),c)){d=f.map(q(e,"script"),H);for(g=
  d.length;m<v;m++)c=e,m!==E&&(c=f.clone(c,!0,!0),g&&f.merge(d,q(c,"script"))),b.call(this[m],c,m);if(g)for(e=d[d.length-1].ownerDocument,f.map(d,A),m=0;m<g;m++)c=d[m],kb.test(c.type||"")&&!f._data(c,"globalEval")&&f.contains(e,c)&&(c.src?f._evalUrl&&f._evalUrl(c.src):f.globalEval((c.text||c.textContent||c.innerHTML||"").replace(Rb,"")));e=c=null}return this}});f.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){f.fn[a]=function(a){for(var c=
  0,n=[],g=f(a),d=g.length-1;c<=d;c++)a=c===d?this:this.clone(!0),f(g[c])[b](a),aa.apply(n,a.get());return this.pushStack(n)}});var Ca,$a={};(function(){var a;G.shrinkWrapBlocks=function(){if(null!=a)return a;a=!1;var b,c,f;if((c=J.getElementsByTagName("body")[0])&&c.style)return b=J.createElement("div"),f=J.createElement("div"),f.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(f).appendChild(b),typeof b.style.zoom!==ca&&(b.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",
  b.appendChild(J.createElement("div")).style.width="5px",a=3!==b.offsetWidth),c.removeChild(f),a}})();var lb=/^margin/,Fa=RegExp("^("+Ia+")(?!px)[a-z%]+$","i"),ta,ua,Sb=/^(top|right|bottom|left)$/;a.getComputedStyle?(ta=function(b){return b.ownerDocument.defaultView.opener?b.ownerDocument.defaultView.getComputedStyle(b,null):a.getComputedStyle(b,null)},ua=function(a,b,c){var g,d,e=a.style;d=(c=c||ta(a))?c.getPropertyValue(b)||c[b]:void 0;c&&(""!==d||f.contains(a.ownerDocument,a)||(d=f.style(a,b)),
  Fa.test(d)&&lb.test(b)&&(a=e.width,b=e.minWidth,g=e.maxWidth,e.minWidth=e.maxWidth=e.width=d,d=c.width,e.width=a,e.minWidth=b,e.maxWidth=g));return void 0===d?d:d+""}):J.documentElement.currentStyle&&(ta=function(a){return a.currentStyle},ua=function(a,b,c){var f,g,d,e=a.style;d=(c=c||ta(a))?c[b]:void 0;null==d&&e&&e[b]&&(d=e[b]);if(Fa.test(d)&&!Sb.test(b)){c=e.left;if(g=(f=a.runtimeStyle)&&f.left)f.left=a.currentStyle.left;e.left="fontSize"===b?"1em":d;d=e.pixelLeft+"px";e.left=c;g&&(f.left=g)}return void 0===
  d?d:d+""||"auto"});(function(){function b(){var c,k,f,n;if((k=J.getElementsByTagName("body")[0])&&k.style){c=J.createElement("div");f=J.createElement("div");f.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px";k.appendChild(f).appendChild(c);c.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute";d=e=!1;v=!0;a.getComputedStyle&&(d="1%"!==(a.getComputedStyle(c,
  null)||{}).top,e="4px"===(a.getComputedStyle(c,null)||{width:"4px"}).width,n=c.appendChild(J.createElement("div")),n.style.cssText=c.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",n.style.marginRight=n.style.width="0",c.style.width="1px",v=!parseFloat((a.getComputedStyle(n,null)||{}).marginRight),c.removeChild(n));c.innerHTML="<table><tr><td></td><td>t</td></tr></table>";n=c.getElementsByTagName("td");n[0].style.cssText=
  "margin:0;border:0;padding:0;display:none";if(m=0===n[0].offsetHeight)n[0].style.display="",n[1].style.display="none",m=0===n[0].offsetHeight;k.removeChild(f)}}var c,g,d,e,m,v;c=J.createElement("div");c.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";if(g=(g=c.getElementsByTagName("a")[0])&&g.style)g.cssText="float:left;opacity:.5",G.opacity="0.5"===g.opacity,G.cssFloat=!!g.cssFloat,c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",G.clearCloneStyle=
  "content-box"===c.style.backgroundClip,G.boxSizing=""===g.boxSizing||""===g.MozBoxSizing||""===g.WebkitBoxSizing,f.extend(G,{reliableHiddenOffsets:function(){null==m&&b();return m},boxSizingReliable:function(){null==e&&b();return e},pixelPosition:function(){null==d&&b();return d},reliableMarginRight:function(){null==v&&b();return v}})})();f.swap=function(a,b,c,f){var g,d={};for(g in b)d[g]=a.style[g],a.style[g]=b[g];c=c.apply(a,f||[]);for(g in b)a.style[g]=d[g];return c};var Sa=/alpha\([^)]*\)/i,
  Tb=/opacity\s*=\s*([^)]*)/,Ub=/^(none|table(?!-c[ea]).+)/,Bb=RegExp("^("+Ia+")(.*)$","i"),Vb=RegExp("^([+-])=("+Ia+")","i"),Wb={position:"absolute",visibility:"hidden",display:"block"},mb={letterSpacing:"0",fontWeight:"400"},ab=["Webkit","O","Moz","ms"];f.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=ua(a,"opacity");return""===c?"1":c}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},
  cssProps:{"float":G.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,c,g){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var d,e,m,v=f.camelCase(b),q=a.style;b=f.cssProps[v]||(f.cssProps[v]=U(q,v));m=f.cssHooks[b]||f.cssHooks[v];if(void 0!==c){if(e=typeof c,"string"===e&&(d=Vb.exec(c))&&(c=(d[1]+1)*d[2]+parseFloat(f.css(a,b)),e="number"),null!=c&&c===c&&("number"!==e||f.cssNumber[v]||(c+="px"),G.clearCloneStyle||""!==c||0!==b.indexOf("background")||(q[b]="inherit"),!(m&&"set"in m&&void 0===(c=
  m.set(a,c,g)))))try{q[b]=c}catch(x){}}else return m&&"get"in m&&void 0!==(d=m.get(a,!1,g))?d:q[b]}},css:function(a,b,c,g){var d,e;e=f.camelCase(b);b=f.cssProps[e]||(f.cssProps[e]=U(a.style,e));(e=f.cssHooks[b]||f.cssHooks[e])&&"get"in e&&(d=e.get(a,!0,c));void 0===d&&(d=ua(a,b,g));"normal"===d&&b in mb&&(d=mb[b]);return""===c||c?(a=parseFloat(d),!0===c||f.isNumeric(a)?a||0:d):d}});f.each(["height","width"],function(a,b){f.cssHooks[b]={get:function(a,c,g){if(c)return Ub.test(f.css(a,"display"))&&0===
  a.offsetWidth?f.swap(a,Wb,function(){return ka(a,b,g)}):ka(a,b,g)},set:function(a,c,g){var n=g&&ta(a);return $(a,c,g?S(a,b,g,G.boxSizing&&"border-box"===f.css(a,"boxSizing",!1,n),n):0)}}});G.opacity||(f.cssHooks.opacity={get:function(a,b){return Tb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?0.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,g=a.currentStyle,d=f.isNumeric(b)?"alpha(opacity="+100*b+")":"",e=g&&g.filter||c.filter||"";c.zoom=1;if((1<=b||""===
  b)&&""===f.trim(e.replace(Sa,""))&&c.removeAttribute&&(c.removeAttribute("filter"),""===b||g&&!g.filter))return;c.filter=Sa.test(e)?e.replace(Sa,d):e+" "+d}});f.cssHooks.marginRight=X(G.reliableMarginRight,function(a,b){if(b)return f.swap(a,{display:"inline-block"},ua,[a,"marginRight"])});f.each({margin:"",padding:"",border:"Width"},function(a,b){f.cssHooks[a+b]={expand:function(c){var f=0,g={};for(c="string"===typeof c?c.split(" "):[c];4>f;f++)g[a+sa[f]+b]=c[f]||c[f-2]||c[0];return g}};lb.test(a)||
  (f.cssHooks[a+b].set=$)});f.fn.extend({css:function(a,b){return xa(this,function(a,b,c){var k,g={},n=0;if(f.isArray(b)){c=ta(a);for(k=b.length;n<k;n++)g[b[n]]=f.css(a,b[n],!1,c);return g}return void 0!==c?f.style(a,b,c):f.css(a,b)},a,b,1<arguments.length)},show:function(){return V(this,!0)},hide:function(){return V(this)},toggle:function(a){return"boolean"===typeof a?a?this.show():this.hide():this.each(function(){ra(this)?f(this).show():f(this).hide()})}});f.Tween=P;P.prototype={constructor:P,init:function(a,
  b,c,g,d,e){this.elem=a;this.prop=c;this.easing=d||"swing";this.options=b;this.start=this.now=this.cur();this.end=g;this.unit=e||(f.cssNumber[c]?"":"px")},cur:function(){var a=P.propHooks[this.prop];return a&&a.get?a.get(this):P.propHooks._default.get(this)},run:function(a){var b,c=P.propHooks[this.prop];this.pos=this.options.duration?b=f.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):b=a;this.now=(this.end-this.start)*b+this.start;this.options.step&&this.options.step.call(this.elem,
  this.now,this);c&&c.set?c.set(this):P.propHooks._default.set(this);return this}};P.prototype.init.prototype=P.prototype;P.propHooks={_default:{get:function(a){return null==a.elem[a.prop]||a.elem.style&&null!=a.elem.style[a.prop]?(a=f.css(a.elem,a.prop,""))&&"auto"!==a?a:0:a.elem[a.prop]},set:function(a){if(f.fx.step[a.prop])f.fx.step[a.prop](a);else a.elem.style&&(null!=a.elem.style[f.cssProps[a.prop]]||f.cssHooks[a.prop])?f.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}};P.propHooks.scrollTop=
  P.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}};f.easing={linear:function(a){return a},swing:function(a){return 0.5-Math.cos(a*Math.PI)/2}};f.fx=P.prototype.init;f.fx.step={};var za,Ja,Xb=/^(?:toggle|show|hide)$/,nb=RegExp("^(?:([+-])=|)("+Ia+")([a-z%]*)$","i"),Yb=/queueHooks$/,Ga=[function(a,b,c){var g,d,e,m,q,x,E=this,l={},u=a.style,K=a.nodeType&&ra(a),p=f._data(a,"fxshow");c.queue||(m=f._queueHooks(a,"fx"),null==m.unqueued&&(m.unqueued=0,q=m.empty.fire,
  m.empty.fire=function(){m.unqueued||q()}),m.unqueued++,E.always(function(){E.always(function(){m.unqueued--;f.queue(a,"fx").length||m.empty.fire()})}));1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[u.overflow,u.overflowX,u.overflowY],x=f.css(a,"display"),d="none"===x?f._data(a,"olddisplay")||O(a.nodeName):x,"inline"===d&&"none"===f.css(a,"float")&&(G.inlineBlockNeedsLayout&&"inline"!==O(a.nodeName)?u.zoom=1:u.display="inline-block"));c.overflow&&(u.overflow="hidden",G.shrinkWrapBlocks()||
  E.always(function(){u.overflow=c.overflow[0];u.overflowX=c.overflow[1];u.overflowY=c.overflow[2]}));for(g in b)if(d=b[g],Xb.exec(d)){delete b[g];e=e||"toggle"===d;if(d===(K?"hide":"show"))if("show"===d&&p&&void 0!==p[g])K=!0;else continue;l[g]=p&&p[g]||f.style(a,g)}else x=void 0;if(f.isEmptyObject(l))"inline"===("none"===x?O(a.nodeName):x)&&(u.display=x);else for(g in p?"hidden"in p&&(K=p.hidden):p=f._data(a,"fxshow",{}),e&&(p.hidden=!K),K?f(a).show():E.done(function(){f(a).hide()}),E.done(function(){var b;
  f._removeData(a,"fxshow");for(b in l)f.style(a,b,l[b])}),l)b=v(K?p[g]:0,g,E),g in p||(p[g]=b.start,K&&(b.end=b.start,b.start="width"===g||"height"===g?1:0))}],Da={"*":[function(a,b){var c=this.createTween(a,b),g=c.cur(),d=nb.exec(b),e=d&&d[3]||(f.cssNumber[a]?"":"px"),m=(f.cssNumber[a]||"px"!==e&&+g)&&nb.exec(f.css(c.elem,a)),v=1,q=20;if(m&&m[3]!==e){e=e||m[3];d=d||[];m=+g||1;do v=v||".5",m/=v,f.style(c.elem,a,m+e);while(v!==(v=c.cur()/g)&&1!==v&&--q)}d&&(m=c.start=+m||+g||0,c.unit=e,c.end=d[1]?m+
  (d[1]+1)*d[2]:+d[2]);return c}]};f.Animation=f.extend(I,{tweener:function(a,b){f.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");for(var c,g=0,d=a.length;g<d;g++)c=a[g],Da[c]=Da[c]||[],Da[c].unshift(b)},prefilter:function(a,b){b?Ga.unshift(a):Ga.push(a)}});f.speed=function(a,b,c){var g=a&&"object"===typeof a?f.extend({},a):{complete:c||!c&&b||f.isFunction(a)&&a,duration:a,easing:c&&b||b&&!f.isFunction(b)&&b};g.duration=f.fx.off?0:"number"===typeof g.duration?g.duration:g.duration in f.fx.speeds?f.fx.speeds[g.duration]:
  f.fx.speeds._default;if(null==g.queue||!0===g.queue)g.queue="fx";g.old=g.complete;g.complete=function(){f.isFunction(g.old)&&g.old.call(this);g.queue&&f.dequeue(this,g.queue)};return g};f.fn.extend({fadeTo:function(a,b,c,g){return this.filter(ra).css("opacity",0).show().end().animate({opacity:b},a,c,g)},animate:function(a,b,c,g){var d=f.isEmptyObject(a),e=f.speed(b,c,g);b=function(){var b=I(this,f.extend({},a),e);(d||f._data(this,"finish"))&&b.stop(!0)};b.finish=b;return d||!1===e.queue?this.each(b):
  this.queue(e.queue,b)},stop:function(a,b,c){var g=function(a){var b=a.stop;delete a.stop;b(c)};"string"!==typeof a&&(c=b,b=a,a=void 0);b&&!1!==a&&this.queue(a||"fx",[]);return this.each(function(){var b=!0,k=null!=a&&a+"queueHooks",d=f.timers,e=f._data(this);if(k)e[k]&&e[k].stop&&g(e[k]);else for(k in e)e[k]&&e[k].stop&&Yb.test(k)&&g(e[k]);for(k=d.length;k--;)d[k].elem!==this||null!=a&&d[k].queue!==a||(d[k].anim.stop(c),b=!1,d.splice(k,1));!b&&c||f.dequeue(this,a)})},finish:function(a){!1!==a&&(a=
  a||"fx");return this.each(function(){var b,c=f._data(this),g=c[a+"queue"];b=c[a+"queueHooks"];var d=f.timers,e=g?g.length:0;c.finish=!0;f.queue(this,a,[]);b&&b.stop&&b.stop.call(this,!0);for(b=d.length;b--;)d[b].elem===this&&d[b].queue===a&&(d[b].anim.stop(!0),d.splice(b,1));for(b=0;b<e;b++)g[b]&&g[b].finish&&g[b].finish.call(this);delete c.finish})}});f.each(["toggle","show","hide"],function(a,b){var c=f.fn[b];f.fn[b]=function(a,g,f){return null==a||"boolean"===typeof a?c.apply(this,arguments):this.animate(da(b,
  !0),a,g,f)}});f.each({slideDown:da("show"),slideUp:da("hide"),slideToggle:da("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){f.fn[a]=function(a,c,g){return this.animate(b,a,c,g)}});f.timers=[];f.fx.tick=function(){var a,b=f.timers,c=0;for(za=f.now();c<b.length;c++)a=b[c],a()||b[c]!==a||b.splice(c--,1);b.length||f.fx.stop();za=void 0};f.fx.timer=function(a){f.timers.push(a);a()?f.fx.start():f.timers.pop()};f.fx.interval=13;f.fx.start=function(){Ja||
  (Ja=setInterval(f.fx.tick,f.fx.interval))};f.fx.stop=function(){clearInterval(Ja);Ja=null};f.fx.speeds={slow:600,fast:200,_default:400};f.fn.delay=function(a,b){a=f.fx?f.fx.speeds[a]||a:a;return this.queue(b||"fx",function(b,c){var g=setTimeout(b,a);c.stop=function(){clearTimeout(g)}})};(function(){var a,b,c,g,f;b=J.createElement("div");b.setAttribute("className","t");b.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";g=b.getElementsByTagName("a")[0];c=J.createElement("select");
  f=c.appendChild(J.createElement("option"));a=b.getElementsByTagName("input")[0];g.style.cssText="top:1px";G.getSetAttribute="t"!==b.className;G.style=/top/.test(g.getAttribute("style"));G.hrefNormalized="/a"===g.getAttribute("href");G.checkOn=!!a.value;G.optSelected=f.selected;G.enctype=!!J.createElement("form").enctype;c.disabled=!0;G.optDisabled=!f.disabled;a=J.createElement("input");a.setAttribute("value","");G.input=""===a.getAttribute("value");a.value="t";a.setAttribute("type","radio");G.radioValue=
  "t"===a.value})();var Zb=/\r/g;f.fn.extend({val:function(a){var b,c,g,d=this[0];if(arguments.length)return g=f.isFunction(a),this.each(function(c){1===this.nodeType&&(c=g?a.call(this,c,f(this).val()):a,null==c?c="":"number"===typeof c?c+="":f.isArray(c)&&(c=f.map(c,function(a){return null==a?"":a+""})),b=f.valHooks[this.type]||f.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,c,"value")||(this.value=c))});if(d){if((b=f.valHooks[d.type]||f.valHooks[d.nodeName.toLowerCase()])&&
  "get"in b&&void 0!==(c=b.get(d,"value")))return c;c=d.value;return"string"===typeof c?c.replace(Zb,""):null==c?"":c}}});f.extend({valHooks:{option:{get:function(a){var b=f.find.attr(a,"value");return null!=b?b:f.trim(f.text(a))}},select:{get:function(a){for(var b,c=a.options,g=a.selectedIndex,d=(a="select-one"===a.type||0>g)?null:[],e=a?g+1:c.length,m=0>g?e:a?g:0;m<e;m++)if(b=c[m],!(!b.selected&&m!==g||(G.optDisabled?b.disabled:null!==b.getAttribute("disabled"))||b.parentNode.disabled&&f.nodeName(b.parentNode,
  "optgroup"))){b=f(b).val();if(a)return b;d.push(b)}return d},set:function(a,b){for(var c,g,d=a.options,e=f.makeArray(b),m=d.length;m--;)if(g=d[m],0<=f.inArray(f.valHooks.option.get(g),e))try{g.selected=c=!0}catch(v){g.scrollHeight}else g.selected=!1;c||(a.selectedIndex=-1);return d}}}});f.each(["radio","checkbox"],function(){f.valHooks[this]={set:function(a,b){if(f.isArray(b))return a.checked=0<=f.inArray(f(a).val(),b)}};G.checkOn||(f.valHooks[this].get=function(a){return null===a.getAttribute("value")?
  "on":a.value})});var ma,ob,qa=f.expr.attrHandle,Ta=/^(?:checked|selected)$/i,ya=G.getSetAttribute,Ka=G.input;f.fn.extend({attr:function(a,b){return xa(this,f.attr,a,b,1<arguments.length)},removeAttr:function(a){return this.each(function(){f.removeAttr(this,a)})}});f.extend({attr:function(a,b,c){var g,d,e=a.nodeType;if(a&&3!==e&&8!==e&&2!==e){if(typeof a.getAttribute===ca)return f.prop(a,b,c);1===e&&f.isXMLDoc(a)||(b=b.toLowerCase(),g=f.attrHooks[b]||(f.expr.match.bool.test(b)?ob:ma));if(void 0!==
  c)if(null===c)f.removeAttr(a,b);else{if(g&&"set"in g&&void 0!==(d=g.set(a,c,b)))return d;a.setAttribute(b,c+"");return c}else{if(g&&"get"in g&&null!==(d=g.get(a,b)))return d;d=f.find.attr(a,b);return null==d?void 0:d}}},removeAttr:function(a,b){var c,g,d=0,e=b&&b.match(fa);if(e&&1===a.nodeType)for(;c=e[d++];)g=f.propFix[c]||c,f.expr.match.bool.test(c)?Ka&&ya||!Ta.test(c)?a[g]=!1:a[f.camelCase("default-"+c)]=a[g]=!1:f.attr(a,c,""),a.removeAttribute(ya?c:g)},attrHooks:{type:{set:function(a,b){if(!G.radioValue&&
  "radio"===b&&f.nodeName(a,"input")){var c=a.value;a.setAttribute("type",b);c&&(a.value=c);return b}}}}});ob={set:function(a,b,c){!1===b?f.removeAttr(a,c):Ka&&ya||!Ta.test(c)?a.setAttribute(!ya&&f.propFix[c]||c,c):a[f.camelCase("default-"+c)]=a[c]=!0;return c}};f.each(f.expr.match.bool.source.match(/\w+/g),function(a,b){var c=qa[b]||f.find.attr;qa[b]=Ka&&ya||!Ta.test(b)?function(a,b,g){var f,d;g||(d=qa[b],qa[b]=f,f=null!=c(a,b,g)?b.toLowerCase():null,qa[b]=d);return f}:function(a,b,c){if(!c)return a[f.camelCase("default-"+
  b)]?b.toLowerCase():null}});Ka&&ya||(f.attrHooks.value={set:function(a,b,c){if(f.nodeName(a,"input"))a.defaultValue=b;else return ma&&ma.set(a,b,c)}});ya||(ma={set:function(a,b,c){var g=a.getAttributeNode(c);g||a.setAttributeNode(g=a.ownerDocument.createAttribute(c));g.value=b+="";if("value"===c||b===a.getAttribute(c))return b}},qa.id=qa.name=qa.coords=function(a,b,c){var g;if(!c)return(g=a.getAttributeNode(b))&&""!==g.value?g.value:null},f.valHooks.button={get:function(a,b){var c=a.getAttributeNode(b);
  if(c&&c.specified)return c.value},set:ma.set},f.attrHooks.contenteditable={set:function(a,b,c){ma.set(a,""===b?!1:b,c)}},f.each(["width","height"],function(a,b){f.attrHooks[b]={set:function(a,c){if(""===c)return a.setAttribute(b,"auto"),c}}}));G.style||(f.attrHooks.style={get:function(a){return a.style.cssText||void 0},set:function(a,b){return a.style.cssText=b+""}});var $b=/^(?:input|select|textarea|button|object)$/i,ac=/^(?:a|area)$/i;f.fn.extend({prop:function(a,b){return xa(this,f.prop,a,b,1<
  arguments.length)},removeProp:function(a){a=f.propFix[a]||a;return this.each(function(){try{this[a]=void 0,delete this[a]}catch(b){}})}});f.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(a,b,c){var g,d,e;e=a.nodeType;if(a&&3!==e&&8!==e&&2!==e){if(e=1!==e||!f.isXMLDoc(a))b=f.propFix[b]||b,d=f.propHooks[b];return void 0!==c?d&&"set"in d&&void 0!==(g=d.set(a,c,b))?g:a[b]=c:d&&"get"in d&&null!==(g=d.get(a,b))?g:a[b]}},propHooks:{tabIndex:{get:function(a){var b=f.find.attr(a,"tabindex");
  return b?parseInt(b,10):$b.test(a.nodeName)||ac.test(a.nodeName)&&a.href?0:-1}}}});G.hrefNormalized||f.each(["href","src"],function(a,b){f.propHooks[b]={get:function(a){return a.getAttribute(b,4)}}});G.optSelected||(f.propHooks.selected={get:function(a){if(a=a.parentNode)a.selectedIndex,a.parentNode&&a.parentNode.selectedIndex;return null}});f.each("tabIndex readOnly maxLength cellSpacing cellPadding rowSpan colSpan useMap frameBorder contentEditable".split(" "),function(){f.propFix[this.toLowerCase()]=
  this});G.enctype||(f.propFix.enctype="encoding");var Ua=/[\t\r\n\f]/g;f.fn.extend({addClass:function(a){var b,c,g,d,e,m=0,v=this.length;b="string"===typeof a&&a;if(f.isFunction(a))return this.each(function(b){f(this).addClass(a.call(this,b,this.className))});if(b)for(b=(a||"").match(fa)||[];m<v;m++)if(c=this[m],g=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(Ua," "):" ")){for(e=0;d=b[e++];)0>g.indexOf(" "+d+" ")&&(g+=d+" ");g=f.trim(g);c.className!==g&&(c.className=g)}return this},removeClass:function(a){var b,
  c,g,d,e,m=0,v=this.length;b=0===arguments.length||"string"===typeof a&&a;if(f.isFunction(a))return this.each(function(b){f(this).removeClass(a.call(this,b,this.className))});if(b)for(b=(a||"").match(fa)||[];m<v;m++)if(c=this[m],g=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(Ua," "):"")){for(e=0;d=b[e++];)for(;0<=g.indexOf(" "+d+" ");)g=g.replace(" "+d+" "," ");g=a?f.trim(g):"";c.className!==g&&(c.className=g)}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"===typeof b&&
  "string"===c?b?this.addClass(a):this.removeClass(a):f.isFunction(a)?this.each(function(c){f(this).toggleClass(a.call(this,c,this.className,b),b)}):this.each(function(){if("string"===c)for(var b,g=0,d=f(this),k=a.match(fa)||[];b=k[g++];)d.hasClass(b)?d.removeClass(b):d.addClass(b);else if(c===ca||"boolean"===c)this.className&&f._data(this,"__className__",this.className),this.className=this.className||!1===a?"":f._data(this,"__className__")||""})},hasClass:function(a){a=" "+a+" ";for(var b=0,c=this.length;b<
  c;b++)if(1===this[b].nodeType&&0<=(" "+this[b].className+" ").replace(Ua," ").indexOf(a))return!0;return!1}});f.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){f.fn[b]=function(a,c){return 0<arguments.length?this.on(b,null,a,c):this.trigger(b)}});f.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||
  a)},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,g){return this.on(b,a,c,g)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}});var Va=f.now(),Wa=/\?/,bc=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;f.parseJSON=function(b){if(a.JSON&&a.JSON.parse)return a.JSON.parse(b+"");var c,g=null,d=f.trim(b+
  "");return d&&!f.trim(d.replace(bc,function(a,b,f,d){c&&b&&(g=0);if(0===g)return a;c=f||b;g+=!d-!f;return""}))?Function("return "+d)():f.error("Invalid JSON: "+b)};f.parseXML=function(b){var c,g;if(!b||"string"!==typeof b)return null;try{a.DOMParser?(g=new DOMParser,c=g.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b))}catch(d){c=void 0}c&&c.documentElement&&!c.getElementsByTagName("parsererror").length||f.error("Invalid XML: "+b);return c};var na,
  ja,cc=/#.*$/,pb=/([?&])_=[^&]*/,dc=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,ec=/^(?:GET|HEAD)$/,fc=/^\/\//,qb=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,rb={},Oa={},sb="*/".concat("*");try{ja=location.href}catch(mc){ja=J.createElement("a"),ja.href="",ja=ja.href}na=qb.exec(ja.toLowerCase())||[];f.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ja,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(na[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",
  accepts:{"*":sb,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?L(L(a,f.ajaxSettings),b):L(f.ajaxSettings,a)},ajaxPrefilter:Y(rb),ajaxTransport:Y(Oa),ajax:function(a,
  b){function c(a,b,g,d){var k,n,E,t;t=b;if(2!==O){O=2;v&&clearTimeout(v);x=void 0;m=d||"";D.readyState=0<a?4:0;d=200<=a&&300>a||304===a;if(g){E=l;for(var w=D,s,y,B,z,U=E.contents,F=E.dataTypes;"*"===F[0];)F.shift(),void 0===y&&(y=E.mimeType||w.getResponseHeader("Content-Type"));if(y)for(z in U)if(U[z]&&U[z].test(y)){F.unshift(z);break}if(F[0]in g)B=F[0];else{for(z in g){if(!F[0]||E.converters[z+" "+F[0]]){B=z;break}s||(s=z)}B=B||s}B?(B!==F[0]&&F.unshift(B),E=g[B]):E=void 0}a:{g=l;s=E;y=D;B=d;var Y,
  A,C,w={},U=g.dataTypes.slice();if(U[1])for(A in g.converters)w[A.toLowerCase()]=g.converters[A];for(z=U.shift();z;)if(g.responseFields[z]&&(y[g.responseFields[z]]=s),!C&&B&&g.dataFilter&&(s=g.dataFilter(s,g.dataType)),C=z,z=U.shift())if("*"===z)z=C;else if("*"!==C&&C!==z){A=w[C+" "+z]||w["* "+z];if(!A)for(Y in w)if(E=Y.split(" "),E[1]===z&&(A=w[C+" "+E[0]]||w["* "+E[0]])){!0===A?A=w[Y]:!0!==w[Y]&&(z=E[0],U.unshift(E[1]));break}if(!0!==A)if(A&&g["throws"])s=A(s);else try{s=A(s)}catch(X){E={state:"parsererror",
  error:A?X:"No conversion from "+C+" to "+z};break a}}E={state:"success",data:s}}if(d)l.ifModified&&((t=D.getResponseHeader("Last-Modified"))&&(f.lastModified[e]=t),(t=D.getResponseHeader("etag"))&&(f.etag[e]=t)),204===a||"HEAD"===l.type?t="nocontent":304===a?t="notmodified":(t=E.state,k=E.data,n=E.error,d=!n);else if(n=t,a||!t)t="error",0>a&&(a=0);D.status=a;D.statusText=(b||t)+"";d?p.resolveWith(u,[k,t,D]):p.rejectWith(u,[D,t,n]);D.statusCode(r);r=void 0;q&&K.trigger(d?"ajaxSuccess":"ajaxError",
  [D,l,d?k:n]);I.fireWith(u,[D,t]);q&&(K.trigger("ajaxComplete",[D,l]),--f.active||f.event.trigger("ajaxStop"))}}"object"===typeof a&&(b=a,a=void 0);b=b||{};var g,d,e,m,v,q,x,E,l=f.ajaxSetup({},b),u=l.context||l,K=l.context&&(u.nodeType||u.jquery)?f(u):f.event,p=f.Deferred(),I=f.Callbacks("once memory"),r=l.statusCode||{},w={},s={},O=0,y="canceled",D={readyState:0,getResponseHeader:function(a){var b;if(2===O){if(!E)for(E={};b=dc.exec(m);)E[b[1].toLowerCase()]=b[2];b=E[a.toLowerCase()]}return null==
  b?null:b},getAllResponseHeaders:function(){return 2===O?m:null},setRequestHeader:function(a,b){var c=a.toLowerCase();O||(a=s[c]=s[c]||a,w[a]=b);return this},overrideMimeType:function(a){O||(l.mimeType=a);return this},statusCode:function(a){var b;if(a)if(2>O)for(b in a)r[b]=[r[b],a[b]];else D.always(a[D.status]);return this},abort:function(a){a=a||y;x&&x.abort(a);c(0,a);return this}};p.promise(D).complete=I.add;D.success=D.done;D.error=D.fail;l.url=((a||l.url||ja)+"").replace(cc,"").replace(fc,na[1]+
  "//");l.type=b.method||b.type||l.method||l.type;l.dataTypes=f.trim(l.dataType||"*").toLowerCase().match(fa)||[""];null==l.crossDomain&&(g=qb.exec(l.url.toLowerCase()),l.crossDomain=!(!g||g[1]===na[1]&&g[2]===na[2]&&(g[3]||("http:"===g[1]?"80":"443"))===(na[3]||("http:"===na[1]?"80":"443"))));l.data&&l.processData&&"string"!==typeof l.data&&(l.data=f.param(l.data,l.traditional));la(rb,l,b,D);if(2===O)return D;(q=f.event&&l.global)&&0===f.active++&&f.event.trigger("ajaxStart");l.type=l.type.toUpperCase();
  l.hasContent=!ec.test(l.type);e=l.url;l.hasContent||(l.data&&(e=l.url+=(Wa.test(e)?"&":"?")+l.data,delete l.data),!1===l.cache&&(l.url=pb.test(e)?e.replace(pb,"$1_="+Va++):e+(Wa.test(e)?"&":"?")+"_="+Va++));l.ifModified&&(f.lastModified[e]&&D.setRequestHeader("If-Modified-Since",f.lastModified[e]),f.etag[e]&&D.setRequestHeader("If-None-Match",f.etag[e]));(l.data&&l.hasContent&&!1!==l.contentType||b.contentType)&&D.setRequestHeader("Content-Type",l.contentType);D.setRequestHeader("Accept",l.dataTypes[0]&&
  l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+("*"!==l.dataTypes[0]?", "+sb+"; q=0.01":""):l.accepts["*"]);for(d in l.headers)D.setRequestHeader(d,l.headers[d]);if(l.beforeSend&&(!1===l.beforeSend.call(u,D,l)||2===O))return D.abort();y="abort";for(d in{success:1,error:1,complete:1})D[d](l[d]);if(x=la(Oa,l,b,D)){D.readyState=1;q&&K.trigger("ajaxSend",[D,l]);l.async&&0<l.timeout&&(v=setTimeout(function(){D.abort("timeout")},l.timeout));try{O=1,x.send(w,c)}catch(B){if(2>O)c(-1,B);else throw B;
  }}else c(-1,"No Transport");return D},getJSON:function(a,b,c){return f.get(a,b,c,"json")},getScript:function(a,b){return f.get(a,void 0,b,"script")}});f.each(["get","post"],function(a,b){f[b]=function(a,c,g,d){f.isFunction(c)&&(d=d||g,g=c,c=void 0);return f.ajax({url:a,type:b,dataType:d,data:c,success:g})}});f._evalUrl=function(a){return f.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})};f.fn.extend({wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,
  b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var a=this;a.firstChild&&1===a.firstChild.nodeType;)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return f.isFunction(a)?this.each(function(b){f(this).wrapInner(a.call(this,b))}):this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?
  a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()}});f.expr.filters.hidden=function(a){return 0>=a.offsetWidth&&0>=a.offsetHeight||!G.reliableHiddenOffsets()&&"none"===(a.style&&a.style.display||f.css(a,"display"))};f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)};var gc=/%20/g,Cb=/\[\]$/,tb=/\r?\n/g,hc=/^(?:submit|button|image|reset|file)$/i,ic=/^(?:input|select|textarea|keygen)/i;f.param=
  function(a,b){var c,g=[],d=function(a,b){b=f.isFunction(b)?b():null==b?"":b;g[g.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};void 0===b&&(b=f.ajaxSettings&&f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){d(this.name,this.value)});else for(c in a)Z(c,a[c],b,d);return g.join("&").replace(gc,"+")};f.fn.extend({serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=f.prop(this,"elements");
  return a?f.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!f(this).is(":disabled")&&ic.test(this.nodeName)&&!hc.test(a)&&(this.checked||!Na.test(a))}).map(function(a,b){var c=f(this).val();return null==c?null:f.isArray(c)?f.map(c,function(a){return{name:b.name,value:a.replace(tb,"\r\n")}}):{name:b.name,value:c.replace(tb,"\r\n")}}).get()}});f.ajaxSettings.xhr=void 0!==a.ActiveXObject?function(){var b;if(!(b=!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&
  Q()))a:{try{b=new a.ActiveXObject("Microsoft.XMLHTTP");break a}catch(c){}b=void 0}return b}:Q;var jc=0,La={},Ma=f.ajaxSettings.xhr();a.attachEvent&&a.attachEvent("onunload",function(){for(var a in La)La[a](void 0,!0)});G.cors=!!Ma&&"withCredentials"in Ma;(Ma=G.ajax=!!Ma)&&f.ajaxTransport(function(a){if(!a.crossDomain||G.cors){var b;return{send:function(c,g){var d,e=a.xhr(),m=++jc;e.open(a.type,a.url,a.async,a.username,a.password);if(a.xhrFields)for(d in a.xhrFields)e[d]=a.xhrFields[d];a.mimeType&&
  e.overrideMimeType&&e.overrideMimeType(a.mimeType);a.crossDomain||c["X-Requested-With"]||(c["X-Requested-With"]="XMLHttpRequest");for(d in c)void 0!==c[d]&&e.setRequestHeader(d,c[d]+"");e.send(a.hasContent&&a.data||null);b=function(c,d){var v,q,x;if(b&&(d||4===e.readyState))if(delete La[m],b=void 0,e.onreadystatechange=f.noop,d)4!==e.readyState&&e.abort();else{x={};v=e.status;"string"===typeof e.responseText&&(x.text=e.responseText);try{q=e.statusText}catch(l){q=""}v||!a.isLocal||a.crossDomain?1223===
  v&&(v=204):v=x.text?200:404}x&&g(v,q,x,e.getAllResponseHeaders())};a.async?4===e.readyState?setTimeout(b):e.onreadystatechange=La[m]=b:b()},abort:function(){b&&b(void 0,!0)}}}});f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(a){f.globalEval(a);return a}}});f.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1);a.crossDomain&&(a.type="GET",
  a.global=!1)});f.ajaxTransport("script",function(a){if(a.crossDomain){var b,c=J.head||f("head")[0]||J.documentElement;return{send:function(g,f){b=J.createElement("script");b.async=!0;a.scriptCharset&&(b.charset=a.scriptCharset);b.src=a.url;b.onload=b.onreadystatechange=function(a,c){if(c||!b.readyState||/loaded|complete/.test(b.readyState))b.onload=b.onreadystatechange=null,b.parentNode&&b.parentNode.removeChild(b),b=null,c||f(200,"success")};c.insertBefore(b,c.firstChild)},abort:function(){if(b)b.onload(void 0,
  !0)}}}});var ub=[],Xa=/(=)\?(?=&|$)|\?\?/;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=ub.pop()||f.expando+"_"+Va++;this[a]=!0;return a}});f.ajaxPrefilter("json jsonp",function(b,c,g){var d,e,m,v=!1!==b.jsonp&&(Xa.test(b.url)?"url":"string"===typeof b.data&&!(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&Xa.test(b.data)&&"data");if(v||"jsonp"===b.dataTypes[0])return d=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,v?b[v]=b[v].replace(Xa,
  "$1"+d):!1!==b.jsonp&&(b.url+=(Wa.test(b.url)?"&":"?")+b.jsonp+"="+d),b.converters["script json"]=function(){m||f.error(d+" was not called");return m[0]},b.dataTypes[0]="json",e=a[d],a[d]=function(){m=arguments},g.always(function(){a[d]=e;b[d]&&(b.jsonpCallback=c.jsonpCallback,ub.push(d));m&&f.isFunction(e)&&e(m[0]);m=e=void 0}),"script"});f.parseHTML=function(a,b,c){if(!a||"string"!==typeof a)return null;"boolean"===typeof b&&(c=b,b=!1);b=b||J;var g=cb.exec(a);c=!c&&[];if(g)return[b.createElement(g[1])];
  g=f.buildFragment([a],b,c);c&&c.length&&f(c).remove();return f.merge([],g.childNodes)};var vb=f.fn.load;f.fn.load=function(a,b,c){if("string"!==typeof a&&vb)return vb.apply(this,arguments);var g,d,e,m=this,v=a.indexOf(" ");0<=v&&(g=f.trim(a.slice(v,a.length)),a=a.slice(0,v));f.isFunction(b)?(c=b,b=void 0):b&&"object"===typeof b&&(e="POST");0<m.length&&f.ajax({url:a,type:e,dataType:"html",data:b}).done(function(a){d=arguments;m.html(g?f("<div>").append(f.parseHTML(a)).find(g):a)}).complete(c&&function(a,
  b){m.each(c,d||[a.responseText,b,a])});return this};f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}});f.expr.filters.animated=function(a){return f.grep(f.timers,function(b){return a===b.elem}).length};var wb=a.document.documentElement;f.offset={setOffset:function(a,b,c){var g,d,e,m=f.css(a,"position"),v=f(a),q={};"static"===m&&(a.style.position="relative");e=v.offset();d=f.css(a,"top");g=f.css(a,"left");("absolute"===
  m||"fixed"===m)&&-1<f.inArray("auto",[d,g])?(g=v.position(),d=g.top,g=g.left):(d=parseFloat(d)||0,g=parseFloat(g)||0);f.isFunction(b)&&(b=b.call(a,c,e));null!=b.top&&(q.top=b.top-e.top+d);null!=b.left&&(q.left=b.left-e.left+g);"using"in b?b.using.call(a,q):v.css(q)}};f.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){f.offset.setOffset(this,a,b)});var b,c,g={top:0,left:0},d=(c=this[0])&&c.ownerDocument;if(d){b=d.documentElement;if(!f.contains(b,c))return g;
  typeof c.getBoundingClientRect!==ca&&(g=c.getBoundingClientRect());c=ha(d);return{top:g.top+(c.pageYOffset||b.scrollTop)-(b.clientTop||0),left:g.left+(c.pageXOffset||b.scrollLeft)-(b.clientLeft||0)}}},position:function(){if(this[0]){var a,b,c={top:0,left:0},g=this[0];"fixed"===f.css(g,"position")?b=g.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),f.nodeName(a[0],"html")||(c=a.offset()),c.top+=f.css(a[0],"borderTopWidth",!0),c.left+=f.css(a[0],"borderLeftWidth",!0));return{top:b.top-
  c.top-f.css(g,"marginTop",!0),left:b.left-c.left-f.css(g,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||wb;a&&!f.nodeName(a,"html")&&"static"===f.css(a,"position");)a=a.offsetParent;return a||wb})}});f.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c=/Y/.test(b);f.fn[a]=function(g){return xa(this,function(a,g,d){var e=ha(a);if(void 0===d)return e?b in e?e[b]:e.document.documentElement[g]:a[g];e?e.scrollTo(c?f(e).scrollLeft():
  d,c?d:f(e).scrollTop()):a[g]=d},a,g,arguments.length,null)}});f.each(["top","left"],function(a,b){f.cssHooks[b]=X(G.pixelPosition,function(a,c){if(c)return c=ua(a,b),Fa.test(c)?f(a).position()[b]+"px":c})});f.each({Height:"height",Width:"width"},function(a,b){f.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,g){f.fn[g]=function(g,d){var e=arguments.length&&(c||"boolean"!==typeof g),m=c||(!0===g||!0===d?"margin":"border");return xa(this,function(b,c,g){return f.isWindow(b)?b.document.documentElement["client"+
  a]:9===b.nodeType?(c=b.documentElement,Math.max(b.body["scroll"+a],c["scroll"+a],b.body["offset"+a],c["offset"+a],c["client"+a])):void 0===g?f.css(b,c,m):f.style(b,c,g,m)},b,e?g:void 0,e,null)}})});f.fn.size=function(){return this.length};f.fn.andSelf=f.fn.addBack;var kc=a.jQuery,lc=a.$;f.noConflict=function(b){a.$===f&&(a.$=lc);b&&a.jQuery===f&&(a.jQuery=kc);return f};typeof c===ca&&(a.jQuery=a.$=f);return f});
  (function(a){var c=function(){var b;return function(c){var d=!1;"string"===typeof c?(d=c===b,b=c):(d=c.equals(b),b=a.clone(c,!0));return!d}},b=function(){var a=[];return function(b){var c=!s(a,function(a){return"object"===typeof b||b instanceof Array?b.equals(a):b===a});c&&a.push(b);return c}},d=function(a){this.channel=a||"/"},e=function(a,b,c){var d,e;if(null!=a)if(Array.prototype.forEach&&a.forEach===Array.prototype.forEach)a.forEach(b,c);else if(a.length===+a.length)for(d=0,e=a.length;d<e&&b.call(c,
  a[d],d,a)!=={};d++);else for(d in a)if(a.hasOwnProperty(d)&&b.call(c,a[d],d,a)==={})break},l=function(a,b,c){var d=!0;if(null==a)return d;if(Array.prototype.every&&a.every===Array.prototype.every)return a.every(b,c);e(a,function(a,e,g){if(!(d=d&&b.call(c,a,e,g)))return{}});return!!d},p=function(a,b){return 0>=a?b():function(){if(1>--a)return b.apply(this,arguments)}},s=function(a,b,c){var d=!1;if(null==a)return d;if(Array.prototype.some&&a.some===Array.prototype.some)return a.some(b,c);e(a,function(a,
  e,g){if(d||(d=b.call(c,a,e,g)))return breaker});return!!d},r=function(a,b){var c,d;if(a.bind===Function.prototype.bind&&Function.prototype.bind)return nativeBind.apply(a,slice.call(arguments,1));if("function"!==typeof a)throw new TypeError;c=slice.call(arguments,2);return d=function(){var e,l;if(!(this instanceof d))return a.apply(b,c.concat(slice.call(arguments)));ctor.prototype=a.prototype;e=new ctor;ctor.prototype=null;l=a.apply(e,c.concat(slice.call(arguments)));return Object(l)===l?l:e}},w=function(a,
  b,c){var d,e;return function(){var l=this,g=arguments,x=c&&!d;clearTimeout(d);d=setTimeout(function(){d=null;c||(e=a.apply(l,g))},b);x&&(e=a.apply(l,g));return e}},z=function(a,b){var c,d,e=0,l=function(){e=new Date;c=null;d=a.apply(void 0,void 0)};return function(){var g=new Date,x=b-(g-e),E=arguments;0>=x?(clearTimeout(c),c=null,e=g,d=a.apply(this,E)):c||(c=setTimeout(l,x));return d}};d.prototype.subscribe=function(){return 1===arguments.length?new y(this.channel,arguments[0].topic,arguments[0].callback):
  new y(this.channel,arguments[0],arguments[1])};d.prototype.publish=function(){var a=1===arguments.length?"[object String]"===Object.prototype.toString.call(arguments[0])?{topic:arguments[0]}:arguments[0]:{topic:arguments[0],data:arguments[1]};a.channel=this.channel;return C.configuration.bus.publish(a)};var y=function(a,b,c){this.channel=a;this.topic=b;this.callback=c;this.constraints=[];this.context=null;C.configuration.bus.publish({channel:"postal",topic:"subscription.created",data:{event:"subscription.created",
  channel:a,topic:b}});C.configuration.bus.subscribe(this)};y.prototype={unsubscribe:function(){C.configuration.bus.unsubscribe(this);C.configuration.bus.publish({channel:"postal",topic:"subscription.removed",data:{event:"subscription.removed",channel:this.channel,topic:this.topic}})},defer:function(){var a=this.callback;this.callback=function(b){setTimeout(a,0,b)};return this},disposeAfter:function(a){if(isNaN(a)||0>=a)throw"The value provided to disposeAfter (maxCalls) must be a number greater than zero.";
  var b=this.callback,c=p(a,r(function(){this.unsubscribe()},this));this.callback=function(){b.apply(this.context,arguments);c()};return this},distinctUntilChanged:function(){this.withConstraint(new c);return this},distinct:function(){this.withConstraint(new b);return this},once:function(){this.disposeAfter(1)},withConstraint:function(a){if("function"!==typeof a)throw"Predicate constraint must be a function";this.constraints.push(a);return this},withConstraints:function(a){var b=this;a instanceof Array&&
  e(a,function(a){b.withConstraint(a)});return b},withContext:function(a){this.context=a;return this},withDebounce:function(a){var b=this.callback;if(isNaN(a))throw"Milliseconds must be a number";this.callback=w(b,a);return this},withDelay:function(a){var b=this.callback;if(isNaN(a))throw"Milliseconds must be a number";this.callback=function(c){setTimeout(function(){b(c)},a)};return this},withThrottle:function(a){var b=this.callback;if(isNaN(a))throw"Milliseconds must be a number";this.callback=z(b,
  a);return this},subscribe:function(a){this.callback=a;return this}};var B=function(a,b){C.configuration.resolver.compare(a.topic,b.topic)&&l(a.constraints,function(c){return c.call(a.context,b.data,b)})&&"function"===typeof a.callback&&a.callback.call(a.context,b.data,b)},F={addWireTap:function(a){var b=this;b.wireTaps.push(a);return function(){var c=b.wireTaps.indexOf(a);-1!==c&&b.wireTaps.splice(c,1)}},publish:function(a){a.timeStamp=new Date;e(this.wireTaps,function(b){b(a.data,a)});this.subscriptions[a.channel]&&
  e(this.subscriptions[a.channel],function(b){for(var c=0,d=b.length,e;c<d;)(e=b[c++])&&B(e,a)});return a},reset:function(){this.subscriptions&&(e(this.subscriptions,function(a){e(a,function(a){for(;a.length;)a.pop().unsubscribe()})}),this.subscriptions={})},subscribe:function(a){var b;this.subscriptions[a.channel]||(this.subscriptions[a.channel]={});(b=this.subscriptions[a.channel][a.topic])||(b=this.subscriptions[a.channel][a.topic]=[]);b.push(a);return a},subscriptions:{},wireTaps:[],unsubscribe:function(a){if(this.subscriptions[a.channel][a.topic]){var b=
  this.subscriptions[a.channel][a.topic].length,c;for(c=0;c<b;c++)if(this.subscriptions[a.channel][a.topic][c]===a){this.subscriptions[a.channel][a.topic].splice(c,1);break}}}};F.subscriptions.postal={};var C={configuration:{bus:F,resolver:{cache:{},compare:function(a,b){if(this.cache[b]&&this.cache[b][a])return!0;var c=("^"+a.replace(/\./g,"\\.").replace(/\*/g,"[A-Z,a-z,0-9]*").replace(/#/g,".*")+"$").replace("\\..*$","(\\..*)*$").replace("^.*\\.","^(.*\\.)*");if(c=RegExp(c).test(b))this.cache[b]||
  (this.cache[b]={}),this.cache[b][a]=!0;return c},reset:function(){this.cache={}}},DEFAULT_CHANNEL:"/",SYSTEM_CHANNEL:"postal"},ChannelDefinition:d,SubscriptionDefinition:y,channel:function(a){return new d(a)},subscribe:function(a){return new y(a.channel||"/",a.topic,a.callback)},publish:function(a){a.channel=a.channel||"/";return C.configuration.bus.publish(a)},addWireTap:function(a){return this.configuration.bus.addWireTap(a)},linkChannels:function(b,c){var d=[];b=b instanceof Array?b:[b];c=c instanceof
  Array?c:[c];e(b,function(b){e(c,function(c){var e=c.channel||"/";d.push(C.subscribe({channel:b.channel||"/",topic:b.topic||"#",callback:function(b,d){var m=a.clone(d,!0);m.topic="function"===typeof c.topic?c.topic(d.topic):c.topic||d.topic;m.channel=e;m.data=b;C.publish(m)}}))})});return d},utils:{getSubscribersFor:function(){var a=arguments[0],b=arguments[1];1===arguments.length&&(a=arguments[0].channel||C.configuration.DEFAULT_CHANNEL,b=arguments[0].topic);return C.configuration.bus.subscriptions[a]&&
  C.configuration.bus.subscriptions[a].hasOwnProperty(b)?C.configuration.bus.subscriptions[a][b]:[]},reset:function(){C.configuration.bus.reset();C.configuration.resolver.reset()}}};a.postal=C})(jQuery);
  (function(a){function c(){}function b(a){X=[a]}function d(a,b,c){return a&&a.apply&&a.apply(b.context||b,c)}function e(e){function ka(a){pa++||(aa(),L&&(E[Q]={s:[a]}),K&&(a=K.apply(e,[a])),d(oa,e,[a,D,e]),d(v,e,[e,D]))}function P(a){pa++||(aa(),L&&a!=H&&(E[Q]=a),d(da,e,[e,a]),d(v,e,[e,a]))}e=a.extend({},U,e);var oa=e.success,da=e.error,v=e.complete,K=e.dataFilter,I=e.callbackParameter,Y=e.callback,la=e.cache,L=e.pageCache,Z=e.charset,Q=e.url,ha=e.data,ga=e.timeout,ba,pa=0,aa=c,N,ia,Aa;g&&g(function(a){a.done(oa).fail(da);
  oa=a.resolve;da=a.reject}).promise(e);e.abort=function(){!pa++&&aa()};if(!1===d(e.beforeSend,e,[e])||pa)return e;Q=Q||s;ha=ha?"string"==typeof ha?ha:a.param(ha,e.traditional):s;Q+=ha?(/\?/.test(Q)?"&":"?")+ha:s;I&&(Q+=(/\?/.test(Q)?"&":"?")+encodeURIComponent(I)+"=?");la||L||(Q+=(/\?/.test(Q)?"&":"?")+"_"+(new Date).getTime()+"=");Q=Q.replace(/=\?(&|$)/,"="+Y+"$1");L&&(ba=E[Q])?ba.s?ka(ba.s[0]):P(ba):(A[Y]=b,N=a(u)[0],N.id=z+O++,Z&&(N[p]=Z),V&&11.6>V.version()?(ia=a(u)[0]).text="document.getElementById('"+
  N.id+"')."+B+"()":N[l]=l,$&&(N.htmlFor=N.id,N.event=y),N[F]=N[B]=N[C]=function(a){if(!N[m]||!/i/.test(N[m])){try{N[y]&&N[y]()}catch(b){}a=X;X=0;a?ka(a[0]):P(r)}},N.src=Q,aa=function(a){Aa&&clearTimeout(Aa);N[C]=N[F]=N[B]=null;x[q](N);ia&&x[q](ia)},x[w](N,I=x.firstChild),ia&&x[w](ia,I),Aa=0<ga&&setTimeout(function(){P(H)},ga));return e}var l="async",p="charset",s="",r="error",w="insertBefore",z="_jqjsp",y="onclick",B="on"+r,F="onload",C="onreadystatechange",m="readyState",q="removeChild",u="<script>",
  D="success",H="timeout",A=window,g=a.Deferred,x=a("head")[0]||document.documentElement,E={},O=0,X,U={callback:z,url:location.href},V=A.opera,$=!!a("<div>").html("\x3c!--[if IE]><i><![endif]--\x3e").find("i").length;e.setup=function(b){a.extend(U,b)};a.jsonp=e})(jQuery);
  (function(a){function c(c){function l(){c?r.removeData(c):F&&delete b[F]}function p(){w.id=setTimeout(function(){w.fn()},C)}var s=this,r,w={},z=c?a.fn:a,y=arguments,B=4,F=y[1],C=y[2],m=y[3];"string"!==typeof F&&(B--,F=c=0,C=y[1],m=y[2]);c?(r=s.eq(0),r.data(c,w=r.data(c)||{})):F&&(w=b[F]||(b[F]={}));w.id&&clearTimeout(w.id);delete w.id;if(m)w.fn=function(a){"string"===typeof m&&(m=z[m]);!0!==m.apply(s,d.call(y,B))||a?l():p()},p();else{if(w.fn)return void 0===C?l():w.fn(!1===C),!0;l()}}"$:nomunge";
  var b={},d=Array.prototype.slice;a.doTimeout=function(){return c.apply(window,[0].concat(d.call(arguments)))};a.fn.doTimeout=function(){var a=d.call(arguments),b=c.apply(this,["doTimeout"+a[0]].concat(a));return"number"===typeof a[0]||"number"===typeof a[1]?this:b}})(jQuery);
  (function(a){a.extend({tablesorter:new function(){function b(a){"undefined"!==typeof console&&"undefined"!==typeof console.log?console.log(a):alert(a)}function c(a,d){b(a+" ("+((new Date).getTime()-d.getTime())+"ms)")}function e(b,c,d){if(!c)return"";var e=b.config,m=e.textExtraction,l="",l="simple"===m?e.supportsTextContent?c.textContent:a(c).text():"function"===typeof m?m(c,b,d):"object"===typeof m&&m.hasOwnProperty(d)?m[d](c,b,d):e.supportsTextContent?c.textContent:a(c).text();return a.trim(l)}
  function l(a){var c=a.config,d=c.$tbodies=c.$table.children("tbody:not(."+c.cssInfoBlock+")"),m,l,q,p,u,r,w="";if(0===d.length)return c.debug?b("*Empty table!* Not building a parser cache"):"";d=d[0].rows;if(d[0])for(m=[],l=d[0].cells.length,q=0;q<l;q++){p=c.$headers.filter(":not([colspan])");p=p.add(c.$headers.filter('[colspan="1"]')).filter('[data-column="'+q+'"]:last');u=c.headers[q];r=A.getParserById(A.getData(p,u,"sorter"));c.empties[q]=A.getData(p,u,"empty")||c.emptyTo||(c.emptyToBottom?"bottom":
  "top");c.strings[q]=A.getData(p,u,"string")||c.stringTo||"max";if(!r)a:{p=a;u=d;r=-1;for(var s=q,y=void 0,z=A.parsers.length,v=!1,K="",y=!0;""===K&&y;)r++,u[r]?(v=u[r].cells[s],K=e(p,v,s),p.config.debug&&b("Checking if value was empty on row "+r+", column: "+s+': "'+K+'"')):y=!1;for(;0<=--z;)if((y=A.parsers[z])&&"text"!==y.id&&y.is&&y.is(K,p,v)){r=y;break a}r=A.getParserById("text")}c.debug&&(w+="column:"+q+"; parser:"+r.id+"; string:"+c.strings[q]+"; empty: "+c.empties[q]+"\n");m.push(r)}c.debug&&
  b(w);c.parsers=m}function p(g){var m=g.tBodies,q=g.config,l,p,u=q.parsers,r,w,s,y,z,B,D,v=[];q.cache={};if(!u)return q.debug?b("*Empty table!* Not building a cache"):"";q.debug&&(D=new Date);q.showProcessing&&A.isProcessing(g,!0);for(y=0;y<m.length;y++)if(q.cache[y]={row:[],normalized:[]},!a(m[y]).hasClass(q.cssInfoBlock)){l=m[y]&&m[y].rows.length||0;p=m[y].rows[0]&&m[y].rows[0].cells.length||0;for(w=0;w<l;++w)if(z=a(m[y].rows[w]),B=[],z.hasClass(q.cssChildRow))q.cache[y].row[q.cache[y].row.length-
  1]=q.cache[y].row[q.cache[y].row.length-1].add(z);else{q.cache[y].row.push(z);for(s=0;s<p;++s)r=e(g,z[0].cells[s],s),r=u[s].format(r,g,z[0].cells[s],s),B.push(r),"numeric"===(u[s].type||"").toLowerCase()&&(v[s]=Math.max(Math.abs(r)||0,v[s]||0));B.push(q.cache[y].normalized.length);q.cache[y].normalized.push(B)}q.cache[y].colMax=v}q.showProcessing&&A.isProcessing(g);q.debug&&c("Building cache for "+l+" rows",D)}function s(b,e){var m=b.config,q=b.tBodies,l=[],p=m.cache,u,r,w,s,y,z,B,v,K,I,D;if(p[0]){m.debug&&
  (D=new Date);for(v=0;v<q.length;v++)if(u=a(q[v]),u.length&&!u.hasClass(m.cssInfoBlock)){y=A.processTbody(b,u,!0);u=p[v].row;r=p[v].normalized;s=(w=r.length)?r[0].length-1:0;for(z=0;z<w;z++)if(I=r[z][s],l.push(u[I]),!m.appender||!m.removeRows)for(K=u[I].length,B=0;B<K;B++)y.append(u[I][B]);A.processTbody(b,y,!1)}m.appender&&m.appender(b,l);m.debug&&c("Rebuilt table",D);e||A.applyWidget(b);a(b).trigger("sortEnd",b)}}function r(b){var c=[],d={},e=0,m=a(b).find("thead:eq(0), tfoot").children("tr"),q,
  l,p,u,r,w,s,y,v,K;for(q=0;q<m.length;q++)for(r=m[q].cells,l=0;l<r.length;l++){u=r[l];w=u.parentNode.rowIndex;s=w+"-"+u.cellIndex;y=u.rowSpan||1;v=u.colSpan||1;"undefined"===typeof c[w]&&(c[w]=[]);for(p=0;p<c[w].length+1;p++)if("undefined"===typeof c[w][p]){K=p;break}d[s]=K;e=Math.max(K,e);a(u).attr({"data-column":K});for(p=w;p<w+y;p++)for("undefined"===typeof c[p]&&(c[p]=[]),s=c[p],u=K;u<K+v;u++)s[u]="x"}b.config.columns=e;return d}function w(g){var e=r(g),m,q,l,p,u,w,s,z=g.config;z.headerList=[];
  z.headerContent=[];z.debug&&(s=new Date);p=z.cssIcon?'<i class="'+z.cssIcon+'"></i>':"";z.$headers=a(g).find(z.selectorHeaders).each(function(b){q=a(this);m=z.headers[b];z.headerContent[b]=this.innerHTML;u=z.headerTemplate.replace(/\{content\}/g,this.innerHTML).replace(/\{icon\}/g,p);z.onRenderTemplate&&(l=z.onRenderTemplate.apply(q,[b,u]))&&"string"===typeof l&&(u=l);this.innerHTML=u;z.onRenderHeader&&z.onRenderHeader.apply(q,[b]);this.column=e[this.parentNode.rowIndex+"-"+this.cellIndex];var c=
  A.getData(q,m,"sortInitialOrder")||z.sortInitialOrder;this.order=/^d/i.test(c)||1===c?[1,0,2]:[0,1,2];this.count=-1;this.lockedOrder=!1;w=A.getData(q,m,"lockedOrder")||!1;"undefined"!==typeof w&&!1!==w&&(this.order=this.lockedOrder=/^d/i.test(w)||1===w?[1,1,1]:[0,0,0]);q.addClass(z.cssHeader);z.headerList[b]=this;q.parent().addClass(z.cssHeaderRow);q.attr("tabindex",0)});y(g);z.debug&&(c("Built headers:",s),b(z.$headers))}function z(b,c,d){var e=a(b);e.find(b.config.selectorRemove).remove();l(b);
  p(b);D(e,c,d)}function y(b){var c,d=b.config;d.$headers.each(function(b,g){c="false"===A.getData(g,d.headers[b],"sorter");g.sortDisabled=c;a(g)[c?"addClass":"removeClass"]("sorter-false")})}function B(b){var c,d,e,m=b.config,q=m.sortList,l=[m.cssAsc,m.cssDesc],p=a(b).find("tfoot tr").children().removeClass(l.join(" "));m.$headers.removeClass(l.join(" "));e=q.length;for(c=0;c<e;c++)if(2!==q[c][1]&&(b=m.$headers.not(".sorter-false").filter('[data-column="'+q[c][0]+'"]'+(1===e?":last":"")),b.length))for(d=
  0;d<b.length;d++)b[d].sortDisabled||(b.eq(d).addClass(l[q[c][1]]),p.length&&p.filter('[data-column="'+q[c][0]+'"]').eq(d).addClass(l[q[c][1]]))}function F(b){if(b.config.widthFixed&&0===a(b).find("colgroup").length){var c=a("<colgroup>"),d=a(b).width();a(b.tBodies[0]).find("tr:first").children("td").each(function(){c.append(a("<col>").css("width",parseInt(a(this).width()/d*1E3,10)/10+"%"))});a(b).prepend(c)}}function C(b,c){var d,e,m,q=b.config,l=c||q.sortList;q.sortList=[];a.each(l,function(b,c){d=
  [parseInt(c[0],10),parseInt(c[1],10)];if(m=q.headerList[d[0]])q.sortList.push(d),e=a.inArray(d[1],m.order),m.count=0<=e?e:d[1]%(q.sortReset?3:2)})}function m(b,c,d){var e,m,l=b.config,p=!d[l.sortMultiSortKey],u=a(b);u.trigger("sortStart",b);c.count=d[l.sortResetKey]?2:(c.count+1)%(l.sortReset?3:2);l.sortRestart&&(m=c,l.$headers.each(function(){this===m||!p&&a(this).is("."+l.cssDesc+",."+l.cssAsc)||(this.count=-1)}));m=c.column;if(p){l.sortList=[];if(null!==l.sortForce)for(e=l.sortForce,d=0;d<e.length;d++)e[d][0]!==
  m&&l.sortList.push(e[d]);e=c.order[c.count];if(2>e&&(l.sortList.push([m,e]),1<c.colSpan))for(d=1;d<c.colSpan;d++)l.sortList.push([m+d,e])}else if(l.sortAppend&&1<l.sortList.length&&A.isValueInArray(l.sortAppend[0][0],l.sortList)&&l.sortList.pop(),A.isValueInArray(m,l.sortList))for(d=0;d<l.sortList.length;d++)c=l.sortList[d],e=l.headerList[c[0]],c[0]===m&&(c[1]=e.order[e.count],2===c[1]&&(l.sortList.splice(d,1),e.count=-1));else if(e=c.order[c.count],2>e&&(l.sortList.push([m,e]),1<c.colSpan))for(d=
  1;d<c.colSpan;d++)l.sortList.push([m+d,e]);if(null!==l.sortAppend)for(e=l.sortAppend,d=0;d<e.length;d++)e[d][0]!==m&&l.sortList.push(e[d]);u.trigger("sortBegin",b);setTimeout(function(){B(b);q(b);s(b)},1)}function q(b){var e=0,m=b.config,l=m.sortList,q=l.length,p=b.tBodies.length,u,r,w,s,y,z,B,v,K;if(!m.serverSideSorting&&m.cache[0]){m.debug&&(u=new Date);for(w=0;w<p;w++)y=m.cache[w].colMax,K=(z=m.cache[w].normalized)&&z[0]?z[0].length-1:0,z.sort(function(c,d){for(r=0;r<q;r++){s=l[r][0];v=l[r][1];
  B=/n/i.test(m.parsers&&m.parsers[s]?m.parsers[s].type||"":"")?"Numeric":"Text";B+=0===v?"":"Desc";/Numeric/.test(B)&&m.strings[s]&&(e="boolean"===typeof m.string[m.strings[s]]?(0===v?1:-1)*(m.string[m.strings[s]]?-1:1):m.strings[s]?m.string[m.strings[s]]||0:0);var p=a.tablesorter["sort"+B](b,c[s],d[s],s,y[s],e);if(p)return p}return c[K]-d[K]});m.debug&&c("Sorting on "+l.toString()+" and dir "+v+" time",u)}}function u(a,b){a.trigger("updateComplete");"function"===typeof b&&b(a[0])}function D(a,b,c){!1===
  b||a[0].isProcessing?u(a,c):a.trigger("sorton",[a[0].config.sortList,function(){u(a,c)}])}function H(b){var c=b.config,d=c.$table,u,r;c.$headers.find(c.selectorSort).add(c.$headers.filter(c.selectorSort)).unbind("mousedown.tablesorter mouseup.tablesorter sort.tablesorter keypress.tablesorter").bind("mousedown.tablesorter mouseup.tablesorter sort.tablesorter keypress.tablesorter",function(d,e){if(!d.keyCode||13===d.keyCode){var l=(/TH|TD/.test(this.tagName)?a(this):a(this).parents("th, td").filter(":last"))[0];
  if(d.keyCode){if(13!==d.keyCode)return!1}else if(1!==(d.which||d.button)&&"sort"!==d.type)return!1;if("mousedown"===d.type)return r=(new Date).getTime(),"INPUT"===d.target.tagName?"":!c.cancelSelection;if("mouseup"===d.type&&!0!==e&&250<(new Date).getTime()-r)return!1;c.delayInit&&!c.cache&&p(b);l.sortDisabled||m(b,l,d)}});c.cancelSelection&&c.$headers.attr("unselectable","on").bind("selectstart",!1).css({"user-select":"none",MozUserSelect:"none"});d.unbind("sortReset update updateRows updateCell updateAll addRows sorton appendCache applyWidgetId applyWidgets refreshWidgets destroy mouseup mouseleave ".split(" ").join(".tablesorter ")).bind("sortReset.tablesorter",
  function(a){a.stopPropagation();c.sortList=[];B(b);q(b);s(b)}).bind("updateAll.tablesorter",function(a,c,d){a.stopPropagation();A.restoreHeaders(b);w(b);H(b);z(b,c,d)}).bind("update.tablesorter updateRows.tablesorter",function(a,c,d){a.stopPropagation();y(b);z(b,c,d)}).bind("updateCell.tablesorter",function(m,l,q,p){m.stopPropagation();d.find(c.selectorRemove).remove();var u,r,w;u=d.find("tbody");m=u.index(a(l).parents("tbody").filter(":last"));var s=a(l).parents("tr").filter(":last");l=a(l)[0];u.length&&
  0<=m&&(r=u.eq(m).find("tr").index(s),w=l.cellIndex,u=c.cache[m].normalized[r].length-1,c.cache[m].row[b.config.cache[m].normalized[r][u]]=s,c.cache[m].normalized[r][w]=c.parsers[w].format(e(b,l,w),b,l,w),D(d,q,p))}).bind("addRows.tablesorter",function(a,m,q,p){a.stopPropagation();var r=m.filter("tr").length,w=[],s=m[0].cells.length,y=d.find("tbody").index(m.closest("tbody"));c.parsers||l(b);for(a=0;a<r;a++){for(u=0;u<s;u++)w[u]=c.parsers[u].format(e(b,m[a].cells[u],u),b,m[a].cells[u],u);w.push(c.cache[y].row.length);
  c.cache[y].row.push([m[a]]);c.cache[y].normalized.push(w);w=[]}D(d,q,p)}).bind("sorton.tablesorter",function(a,c,e,m){a.stopPropagation();d.trigger("sortStart",this);C(b,c);B(b);d.trigger("sortBegin",this);q(b);s(b,m);"function"===typeof e&&e(b)}).bind("appendCache.tablesorter",function(a,c,d){a.stopPropagation();s(b,d);"function"===typeof c&&c(b)}).bind("applyWidgetId.tablesorter",function(a,d){a.stopPropagation();A.getWidgetById(d).format(b,c,c.widgetOptions)}).bind("applyWidgets.tablesorter",function(a,
  c){a.stopPropagation();A.applyWidget(b,c)}).bind("refreshWidgets.tablesorter",function(a,c,d){a.stopPropagation();A.refreshWidgets(b,c,d)}).bind("destroy.tablesorter",function(a,c,d){a.stopPropagation();A.destroy(b,c,d)})}var A=this;A.version="2.10.0";A.parsers=[];A.widgets=[];A.defaults={theme:"default",widthFixed:!1,showProcessing:!1,headerTemplate:"{content}",onRenderTemplate:null,onRenderHeader:null,cancelSelection:!0,dateFormat:"mmddyyyy",sortMultiSortKey:"shiftKey",sortResetKey:"ctrlKey",usNumberFormat:!0,
  delayInit:!1,serverSideSorting:!1,headers:{},ignoreCase:!0,sortForce:null,sortList:[],sortAppend:null,sortInitialOrder:"asc",sortLocaleCompare:!1,sortReset:!1,sortRestart:!1,emptyTo:"bottom",stringTo:"max",textExtraction:"simple",textSorter:null,widgets:[],widgetOptions:{zebra:["even","odd"]},initWidgets:!0,initialized:null,tableClass:"tablesorter",cssAsc:"sort-ascending",cssChildRow:"tablesorter-childRow",cssDesc:"sort-descending",cssHeader:"header",cssHeaderRow:"tablesorter-headerRow",cssIcon:"tablesorter-icon",
  cssInfoBlock:"tablesorter-infoOnly",cssProcessing:"tablesorter-processing",selectorHeaders:"> thead th, > thead td",selectorSort:"th, td",selectorRemove:".remove-me",debug:!1,headerList:[],empties:{},strings:{},parsers:[]};A.benchmark=c;A.construct=function(c){return this.each(function(){if(!this.tHead||0===this.tBodies.length||!0===this.hasInitialized)return this.config&&this.config.debug?b("stopping initialization! No thead, tbody or tablesorter has already been initialized"):"";var d=a(this),e=
  this,m,q="",u=a.metadata;e.hasInitialized=!1;e.isProcessing=!0;e.config={};m=a.extend(!0,e.config,A.defaults,c);a.data(e,"tablesorter",m);m.debug&&a.data(e,"startoveralltimer",new Date);m.supportsTextContent="x"===a("<span>x</span>")[0].textContent;m.supportsDataObject=1.4<=parseFloat(a.fn.jquery);m.string={max:1,min:-1,"max+":1,"max-":-1,zero:0,none:0,"null":0,top:!0,bottom:!1};/tablesorter\-/.test(d.attr("class"))||(q=""!==m.theme?" tablesorter-"+m.theme:"");m.$table=d.addClass(m.tableClass+q);
  m.$tbodies=d.children("tbody:not(."+m.cssInfoBlock+")");w(e);F(e);l(e);m.delayInit||p(e);H(e);m.supportsDataObject&&"undefined"!==typeof d.data().sortlist?m.sortList=d.data().sortlist:u&&d.metadata()&&d.metadata().sortlist&&(m.sortList=d.metadata().sortlist);A.applyWidget(e,!0);0<m.sortList.length?d.trigger("sorton",[m.sortList,{},!m.initWidgets]):m.initWidgets&&A.applyWidget(e);m.showProcessing&&d.unbind("sortBegin.tablesorter sortEnd.tablesorter").bind("sortBegin.tablesorter sortEnd.tablesorter",
  function(a){A.isProcessing(e,"sortBegin"===a.type)});e.hasInitialized=!0;e.isProcessing=!1;m.debug&&A.benchmark("Overall initialization time",a.data(e,"startoveralltimer"));d.trigger("tablesorter-initialized",e);"function"===typeof m.initialized&&m.initialized(e)})};A.isProcessing=function(b,c,d){b=a(b);var e=b[0].config;b=d||b.find("."+e.cssHeader);c?(0<e.sortList.length&&(b=b.filter(function(){return this.sortDisabled?!1:A.isValueInArray(parseFloat(a(this).attr("data-column")),e.sortList)})),b.addClass(e.cssProcessing)):
  b.removeClass(e.cssProcessing)};A.processTbody=function(b,c,d){if(d)return b.isProcessing=!0,c.before('<span class="tablesorter-savemyplace"/>'),d=a.fn.detach?c.detach():c.remove();d=a(b).find("span.tablesorter-savemyplace");c.insertAfter(d);d.remove();b.isProcessing=!1};A.clearTableBody=function(b){a(b)[0].config.$tbodies.empty()};A.restoreHeaders=function(b){var c=b.config;c.$headers.each(function(b){a(this).find(".tablesorter-header-inner").length&&a(this).html(c.headerContent[b])})};A.destroy=
  function(b,c,d){b=a(b)[0];if(b.hasInitialized){A.refreshWidgets(b,!0,!0);var e=a(b),m=b.config,l=e.find("thead:first"),q=l.find("tr."+m.cssHeaderRow).removeClass(m.cssHeaderRow),u=e.find("tfoot:first > tr").children("th, td");l.find("tr").not(q).remove();e.removeData("tablesorter").unbind("sortReset update updateAll updateRows updateCell addRows sorton appendCache applyWidgetId applyWidgets refreshWidgets destroy mouseup mouseleave keypress sortBegin sortEnd ".split(" ").join(".tablesorter "));m.$headers.add(u).removeClass(m.cssHeader+
  " "+m.cssAsc+" "+m.cssDesc).removeAttr("data-column");q.find(m.selectorSort).unbind("mousedown.tablesorter mouseup.tablesorter keypress.tablesorter");A.restoreHeaders(b);!1!==c&&e.removeClass(m.tableClass+" tablesorter-"+m.theme);b.hasInitialized=!1;"function"===typeof d&&d(b)}};A.regex=[/(^([+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi,/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[\/\-]\d{1,4}[\/\-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,/^0x[0-9a-f]+$/i];A.sortText=
  function(a,b,c,d){if(b===c)return 0;var e=a.config,m=e.string[e.empties[d]||e.emptyTo],l=A.regex;if(""===b&&0!==m)return"boolean"===typeof m?m?-1:1:-m||-1;if(""===c&&0!==m)return"boolean"===typeof m?m?1:-1:m||1;if("function"===typeof e.textSorter)return e.textSorter(b,c,a,d);a=b.replace(l[0],"\\0$1\\0").replace(/\\0$/,"").replace(/^\\0/,"").split("\\0");d=c.replace(l[0],"\\0$1\\0").replace(/\\0$/,"").replace(/^\\0/,"").split("\\0");b=parseInt(b.match(l[2]),16)||1!==a.length&&b.match(l[1])&&Date.parse(b);
  if(c=parseInt(c.match(l[2]),16)||b&&c.match(l[1])&&Date.parse(c)||null){if(b<c)return-1;if(b>c)return 1}e=Math.max(a.length,d.length);for(b=0;b<e;b++){c=isNaN(a[b])?a[b]||0:parseFloat(a[b])||0;l=isNaN(d[b])?d[b]||0:parseFloat(d[b])||0;if(isNaN(c)!==isNaN(l))return isNaN(c)?1:-1;typeof c!==typeof l&&(c+="",l+="");if(c<l)return-1;if(c>l)return 1}return 0};A.sortTextDesc=function(a,b,c,d){if(b===c)return 0;var e=a.config,m=e.string[e.empties[d]||e.emptyTo];return""===b&&0!==m?"boolean"===typeof m?m?
  -1:1:m||1:""===c&&0!==m?"boolean"===typeof m?m?1:-1:-m||-1:"function"===typeof e.textSorter?e.textSorter(c,b,a,d):A.sortText(a,c,b)};A.getTextValue=function(a,b,c){if(b){var d=a?a.length:0,e=b+c;for(b=0;b<d;b++)e+=a.charCodeAt(b);return c*e}return 0};A.sortNumeric=function(a,b,c,d,e,m){if(b===c)return 0;a=a.config;d=a.string[a.empties[d]||a.emptyTo];if(""===b&&0!==d)return"boolean"===typeof d?d?-1:1:-d||-1;if(""===c&&0!==d)return"boolean"===typeof d?d?1:-1:d||1;isNaN(b)&&(b=A.getTextValue(b,e,m));
  isNaN(c)&&(c=A.getTextValue(c,e,m));return b-c};A.sortNumericDesc=function(a,b,c,d,e,m){if(b===c)return 0;a=a.config;d=a.string[a.empties[d]||a.emptyTo];if(""===b&&0!==d)return"boolean"===typeof d?d?-1:1:d||1;if(""===c&&0!==d)return"boolean"===typeof d?d?1:-1:-d||-1;isNaN(b)&&(b=A.getTextValue(b,e,m));isNaN(c)&&(c=A.getTextValue(c,e,m));return c-b};A.characterEquivalents={a:"\u00e1\u00e0\u00e2\u00e3\u00e4\u0105\u00e5",A:"\u00c1\u00c0\u00c2\u00c3\u00c4\u0104\u00c5",c:"\u00e7\u0107\u010d",C:"\u00c7\u0106\u010c",
  e:"\u00e9\u00e8\u00ea\u00eb\u011b\u0119",E:"\u00c9\u00c8\u00ca\u00cb\u011a\u0118",i:"\u00ed\u00ec\u0130\u00ee\u00ef\u0131",I:"\u00cd\u00cc\u0130\u00ce\u00cf",o:"\u00f3\u00f2\u00f4\u00f5\u00f6",O:"\u00d3\u00d2\u00d4\u00d5\u00d6",ss:"\u00df",SS:"\u1e9e",u:"\u00fa\u00f9\u00fb\u00fc\u016f",U:"\u00da\u00d9\u00db\u00dc\u016e"};A.replaceAccents=function(a){var b,c="[",d=A.characterEquivalents;if(!A.characterRegex){A.characterRegexArray={};for(b in d)"string"===typeof b&&(c+=d[b],A.characterRegexArray[b]=
  RegExp("["+d[b]+"]","g"));A.characterRegex=RegExp(c+"]")}if(A.characterRegex.test(a))for(b in d)"string"===typeof b&&(a=a.replace(A.characterRegexArray[b],b));return a};A.isValueInArray=function(a,b){var c,d=b.length;for(c=0;c<d;c++)if(b[c][0]===a)return!0;return!1};A.addParser=function(a){var b,c=A.parsers.length,d=!0;for(b=0;b<c;b++)A.parsers[b].id.toLowerCase()===a.id.toLowerCase()&&(d=!1);d&&A.parsers.push(a)};A.getParserById=function(a){var b,c=A.parsers.length;for(b=0;b<c;b++)if(A.parsers[b].id.toLowerCase()===
  a.toString().toLowerCase())return A.parsers[b];return!1};A.addWidget=function(a){A.widgets.push(a)};A.getWidgetById=function(a){var b,c,d=A.widgets.length;for(b=0;b<d;b++)if((c=A.widgets[b])&&c.hasOwnProperty("id")&&c.id.toLowerCase()===a.toLowerCase())return c};A.applyWidget=function(b,e){b=a(b)[0];var m=b.config,l=m.widgetOptions,q=[],u,p,w;m.debug&&(u=new Date);m.widgets.length&&(m.widgets=a.grep(m.widgets,function(b,c){return a.inArray(b,m.widgets)===c}),a.each(m.widgets||[],function(a,b){(w=
  A.getWidgetById(b))&&w.id&&(w.priority||(w.priority=10),q[a]=w)}),q.sort(function(a,b){return a.priority<b.priority?-1:a.priority===b.priority?0:1}),a.each(q,function(c,d){d&&(e?(d.hasOwnProperty("options")&&(l=b.config.widgetOptions=a.extend(!0,{},d.options,l)),d.hasOwnProperty("init")&&d.init(b,d,m,l)):!e&&d.hasOwnProperty("format")&&d.format(b,m,l,!1))}));m.debug&&(p=m.widgets.length,c("Completed "+(!0===e?"initializing ":"applying ")+p+" widget"+(1!==p?"s":""),u))};A.refreshWidgets=function(c,
  d,e){c=a(c)[0];var m,l=c.config,q=l.widgets,u=A.widgets,p=u.length;for(m=0;m<p;m++)u[m]&&u[m].id&&(d||0>a.inArray(u[m].id,q))&&(l.debug&&b("Refeshing widgets: Removing "+u[m].id),u[m].hasOwnProperty("remove")&&u[m].remove(c,l,l.widgetOptions));!0!==e&&A.applyWidget(c,d)};A.getData=function(b,c,d){var e="";b=a(b);var m,l;if(!b.length)return"";m=a.metadata?b.metadata():!1;l=" "+(b.attr("class")||"");"undefined"!==typeof b.data(d)||"undefined"!==typeof b.data(d.toLowerCase())?e+=b.data(d)||b.data(d.toLowerCase()):
  m&&"undefined"!==typeof m[d]?e+=m[d]:c&&"undefined"!==typeof c[d]?e+=c[d]:" "!==l&&l.match(" "+d+"-")&&(e=l.match(RegExp("\\s"+d+"-([\\w-]+)"))[1]||"");return a.trim(e)};A.formatFloat=function(b,c){if("string"!==typeof b||""===b)return b;var d;b=(c&&c.config?!1!==c.config.usNumberFormat:"undefined"!==typeof c?c:1)?b.replace(/,/g,""):b.replace(/[\s|\.]/g,"").replace(/,/g,".");/^\s*\([.\d]+\)/.test(b)&&(b=b.replace(/^\s*\(/,"-").replace(/\)/,""));d=parseFloat(b);return isNaN(d)?a.trim(b):d};A.isDigit=
  function(a){return isNaN(a)?/^[\-+(]?\d+[)]?$/.test(a.toString().replace(/[,.'"\s]/g,"")):!0}}});var c=a.tablesorter;a.fn.extend({tablesorter:c.construct});c.addParser({id:"text",is:function(){return!0},format:function(b,d){var e=d.config;b&&(b=a.trim(e.ignoreCase?b.toLocaleLowerCase():b),b=e.sortLocaleCompare?c.replaceAccents(b):b);return b},type:"text"});c.addParser({id:"digit",is:function(a){return c.isDigit(a)},format:function(b,d){var e=c.formatFloat((b||"").replace(/[^\w,. \-()]/g,""),d);return b&&
  "number"===typeof e?e:b?a.trim(b&&d.config.ignoreCase?b.toLocaleLowerCase():b):b},type:"numeric"});c.addParser({id:"currency",is:function(a){return/^\(?\d+[\u00a3$\u20ac\u00a4\u00a5\u00a2?.]|[\u00a3$\u20ac\u00a4\u00a5\u00a2?.]\d+\)?$/.test((a||"").replace(/[,. ]/g,""))},format:function(b,d){var e=c.formatFloat((b||"").replace(/[^\w,. \-()]/g,""),d);return b&&"number"===typeof e?e:b?a.trim(b&&d.config.ignoreCase?b.toLocaleLowerCase():b):b},type:"numeric"});c.addParser({id:"ipAddress",is:function(a){return/^\d{1,3}[\.]\d{1,3}[\.]\d{1,3}[\.]\d{1,3}$/.test(a)},
  format:function(a,d){var e,l=a?a.split("."):"",p="",s=l.length;for(e=0;e<s;e++)p+=("00"+l[e]).slice(-3);return a?c.formatFloat(p,d):a},type:"numeric"});c.addParser({id:"url",is:function(a){return/^(https?|ftp|file):\/\//.test(a)},format:function(b){return b?a.trim(b.replace(/(https?|ftp|file):\/\//,"")):b},type:"text"});c.addParser({id:"isoDate",is:function(a){return/^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}/.test(a)},format:function(a,d){return a?c.formatFloat(""!==a?(new Date(a.replace(/-/g,"/"))).getTime()||
  "":"",d):a},type:"numeric"});c.addParser({id:"percent",is:function(a){return/(\d\s?%|%\s?\d)/.test(a)},format:function(a,d){return(a=a.replace(",","."))?c.formatFloat(a.replace(/%/g,""),d):a},type:"numeric"});c.addParser({id:"usLongDate",is:function(a){return/^[A-Z]{3,10}\.?\s+\d{1,2},?\s+(\d{4})(\s+\d{1,2}:\d{2}(:\d{2})?(\s+[AP]M)?)?$/i.test(a)||/^\d{1,2}\s+[A-Z]{3,10}\s+\d{4}/i.test(a)},format:function(a,d){return a?c.formatFloat((new Date(a.replace(/(\S)([AP]M)$/i,"$1 $2"))).getTime()||"",d):a},
  type:"numeric"});c.addParser({id:"shortDate",is:function(a){return/(^\d{1,2}[\/\s]\d{1,2}[\/\s]\d{4})|(^\d{4}[\/\s]\d{1,2}[\/\s]\d{1,2})/.test((a||"").replace(/\s+/g," ").replace(/[\-.,]/g,"/"))},format:function(a,d,e,l){if(a){e=d.config;var p=e.headerList[l],s=p.shortDateFormat;"undefined"===typeof s&&(s=p.shortDateFormat=c.getData(p,e.headers[l],"dateFormat")||e.dateFormat);a=a.replace(/\s+/g," ").replace(/[\-.,]/g,"/");"mmddyyyy"===s?a=a.replace(/(\d{1,2})[\/\s](\d{1,2})[\/\s](\d{4})/,"$3/$1/$2"):
  "ddmmyyyy"===s?a=a.replace(/(\d{1,2})[\/\s](\d{1,2})[\/\s](\d{4})/,"$3/$2/$1"):"yyyymmdd"===s&&(a=a.replace(/(\d{4})[\/\s](\d{1,2})[\/\s](\d{1,2})/,"$1/$2/$3"))}return a?c.formatFloat((new Date(a)).getTime()||"",d):a},type:"numeric"});c.addParser({id:"time",is:function(a){return/^(([0-2]?\d:[0-5]\d)|([0-1]?\d:[0-5]\d\s?([AP]M)))$/i.test(a)},format:function(a,d){return a?c.formatFloat((new Date("2000/01/01 "+a.replace(/(\S)([AP]M)$/i,"$1 $2"))).getTime()||"",d):a},type:"numeric"});c.addParser({id:"metadata",
  is:function(){return!1},format:function(b,c,e){b=c.config;b=b.parserMetadataName?b.parserMetadataName:"sortValue";return a(e).metadata()[b]},type:"numeric"});c.addWidget({id:"zebra",priority:90,format:function(b,d,e){var l,p,s,r,w,z,y=RegExp(d.cssChildRow,"i"),B=d.$tbodies;d.debug&&(w=new Date);for(b=0;b<B.length;b++)l=B.eq(b),z=l.children("tr").length,1<z&&(s=0,l=l.children("tr:visible"),l.each(function(){p=a(this);y.test(this.className)||s++;r=0===s%2;p.removeClass(e.zebra[r?1:0]).addClass(e.zebra[r?
  0:1])}));d.debug&&c.benchmark("Applying Zebra widget",w)},remove:function(b,c,e){var l;c=c.$tbodies;var p=(e.zebra||["even","odd"]).join(" ");for(e=0;e<c.length;e++)l=a.tablesorter.processTbody(b,c.eq(e),!0),l.children().removeClass(p),a.tablesorter.processTbody(b,l,!1)}})})(jQuery);
  (function(a){function c(a,b){var c=d.indexOf(a.charAt(b));if(-1===c)throw"Cannot decode base64";return c}function b(a,b){var c=a.charCodeAt(b);if(255<c)throw"INVALID_CHARACTER_ERR: DOM Exception 5";return c}var d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";a.base64={decode:function(a){var b=0,d,s,r=a.length,w=[];a=String(a);if(0===r)return a;if(0!==r%4)throw"Cannot decode base64";"="===a.charAt(r-1)&&(b=1,"="===a.charAt(r-2)&&(b=2),r-=4);for(d=0;d<r;d+=4)s=c(a,d)<<18|c(a,d+
  1)<<12|c(a,d+2)<<6|c(a,d+3),w.push(String.fromCharCode(s>>16,s>>8&255,s&255));switch(b){case 1:s=c(a,d)<<18|c(a,d+1)<<12|c(a,d+2)<<6;w.push(String.fromCharCode(s>>16,s>>8&255));break;case 2:s=c(a,d)<<18|c(a,d+1)<<12,w.push(String.fromCharCode(s>>16))}return w.join("")},encode:function(a){if(1!==arguments.length)throw"SyntaxError: exactly one argument required";a=String(a);var c,p,s=[],r=a.length-a.length%3;if(0===a.length)return a;for(c=0;c<r;c+=3)p=b(a,c)<<16|b(a,c+1)<<8|b(a,c+2),s.push(d.charAt(p>>
  18)),s.push(d.charAt(p>>12&63)),s.push(d.charAt(p>>6&63)),s.push(d.charAt(p&63));switch(a.length-r){case 1:p=b(a,c)<<16;s.push(d.charAt(p>>18)+d.charAt(p>>12&63)+"==");break;case 2:p=b(a,c)<<16|b(a,c+1)<<8,s.push(d.charAt(p>>18)+d.charAt(p>>12&63)+d.charAt(p>>6&63)+"=")}return s.join("")},VERSION:"1.0"}})(jQuery);
  (function(a){function c(a){for(var b=-1,c=a.length,d=0,e=[],l;;){for(;;){b+=1;if(b>=c)return e;if(null!=p[a.charAt(b)])break}for(e[d]=p[a.charAt(b)]<<2;;){b+=1;if(b>=c)return e;if(null!=p[a.charAt(b)])break}l=p[a.charAt(b)];e[d]|=l>>>4;d+=1;l&=15;if(0===l&&b===c-1)return e;for(e[d]=l<<4;;){b+=1;if(b>=c)return e;if(null!=p[a.charAt(b)])break}l=p[a.charAt(b)];e[d]|=l>>>2;d+=1;l&=3;if(0===l&&b===c-1)return e;for(e[d]=l<<6;;){b+=1;if(b>=c)return e;if(null!=p[a.charAt(b)])break}e[d]|=p[a.charAt(b)];d+=
  1}}function b(a){for(var b=[],c=0,d=0,e=a.length;;){b[c]=(255&a[d])<<24;d+=1;if(d>=e)break;b[c]|=(255&a[d])<<16;d+=1;if(d>=e)break;b[c]|=(255&a[d])<<8;d+=1;if(d>=e)break;b[c]|=255&a[d];d+=1;if(d>=e)break;c+=1}return b}function d(a,b){var c=[];c[0]=a[0]^b[0];c[1]=a[1]^b[1];return c}function e(a,b){for(var c=a[0],d=a[1],e=0,l=32;0<l--;)c+=(d<<4^d>>>5)+d^e+b[e&3],c|=0,e-=1640531527,e|=0,d+=(c<<4^c>>>5)+c^e+b[e>>>11&3],d|=0;e=[];e[0]=c;e[1]=d;return e}var l,p,s,r;s={"\x00":0,"\u0001":1,"\u0002":2,"\u0003":3,
  "\u0004":4,"\u0005":5,"\u0006":6,"\u0007":7,"\b":8,"\t":9,"\n":10,"\x0B":11,"\f":12,"\r":13,"\u000e":14,"\u000f":15,"\u0010":16,"\u0011":17,"\u0012":18,"\u0013":19,"\u0014":20,"\u0015":21,"\u0016":22,"\u0017":23,"\u0018":24,"\u0019":25,"\u001a":26,"\u001b":27,"\u001c":28,"\u001d":29,"\u001e":30,"\u001f":31," ":32,"!":33,'"':34,"#":35,$:36,"%":37,"&":38,"'":39,"(":40,")":41,"*":42,"+":43,",":44,"-":45,".":46,"/":47,0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,":":58,";":59,"<":60,"=":61,">":62,
  "?":63,"@":64,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,"[":91,"\\":92,"]":93,"^":94,_:95,"`":96,a:97,b:98,c:99,d:100,e:101,f:102,g:103,h:104,i:105,j:106,k:107,l:108,m:109,n:110,o:111,p:112,q:113,r:114,s:115,t:116,u:117,v:118,w:119,x:120,y:121,z:122,"{":123,"|":124,"}":125,"~":126,"\u007f":127,"\u0080":128,"\u0081":129,"\u0082":130,"\u0083":131,"\u0084":132,"\u0085":133,"\u0086":134,"\u0087":135,"\u0088":136,"\u0089":137,
  "\u008a":138,"\u008b":139,"\u008c":140,"\u008d":141,"\u008e":142,"\u008f":143,"\u0090":144,"\u0091":145,"\u0092":146,"\u0093":147,"\u0094":148,"\u0095":149,"\u0096":150,"\u0097":151,"\u0098":152,"\u0099":153,"\u009a":154,"\u009b":155,"\u009c":156,"\u009d":157,"\u009e":158,"\u009f":159,"\u00a0":160,"\u00a1":161,"\u00a2":162,"\u00a3":163,"\u00a4":164,"\u00a5":165,"\u00a6":166,"\u00a7":167,"\u00a8":168,"\u00a9":169,"\u00aa":170,"\u00ab":171,"\u00ac":172,"\u00ad":173,"\u00ae":174,"\u00af":175,"\u00b0":176,
  "\u00b1":177,"\u00b2":178,"\u00b3":179,"\u00b4":180,"\u00b5":181,"\u00b6":182,"\u00b7":183,"\u00b8":184,"\u00b9":185,"\u00ba":186,"\u00bb":187,"\u00bc":188,"\u00bd":189,"\u00be":190,"\u00bf":191,"\u00c0":192,"\u00c1":193,"\u00c2":194,"\u00c3":195,"\u00c4":196,"\u00c5":197,"\u00c6":198,"\u00c7":199,"\u00c8":200,"\u00c9":201,"\u00ca":202,"\u00cb":203,"\u00cc":204,"\u00cd":205,"\u00ce":206,"\u00cf":207,"\u00d0":208,"\u00d1":209,"\u00d2":210,"\u00d3":211,"\u00d4":212,"\u00d5":213,"\u00d6":214,"\u00d7":215,
  "\u00d8":216,"\u00d9":217,"\u00da":218,"\u00db":219,"\u00dc":220,"\u00dd":221,"\u00de":222,"\u00df":223,"\u00e0":224,"\u00e1":225,"\u00e2":226,"\u00e3":227,"\u00e4":228,"\u00e5":229,"\u00e6":230,"\u00e7":231,"\u00e8":232,"\u00e9":233,"\u00ea":234,"\u00eb":235,"\u00ec":236,"\u00ed":237,"\u00ee":238,"\u00ef":239,"\u00f0":240,"\u00f1":241,"\u00f2":242,"\u00f3":243,"\u00f4":244,"\u00f5":245,"\u00f6":246,"\u00f7":247,"\u00f8":248,"\u00f9":249,"\u00fa":250,"\u00fb":251,"\u00fc":252,"\u00fd":253,"\u00fe":254,
  "\u00ff":255};r={};for(l in s)s.hasOwnProperty(l)&&(r[s[l]]=l);p={A:0,B:1,C:2,D:3,E:4,F:5,G:6,H:7,I:8,J:9,K:10,L:11,M:12,N:13,O:14,P:15,Q:16,R:17,S:18,T:19,U:20,V:21,W:22,X:23,Y:24,Z:25,a:26,b:27,c:28,d:29,e:30,f:31,g:32,h:33,i:34,j:35,k:36,l:37,m:38,n:39,o:40,p:41,q:42,r:43,s:44,t:45,u:46,v:47,w:48,x:49,y:50,z:51,0:52,1:53,2:54,3:55,4:56,5:57,6:58,7:59,8:60,9:61,"-":62,_:63};for(l in p)p.hasOwnProperty(l);a.teajs={decrypt:function(a,l){if(!l)return alert("decrypt: no key"),!1;var p=[],B=[],p=[],
  F=[],C=[],m=[],q,u=[],D=0,H,A=[];B[0]=1633837924;B[1]=1650680933;B[2]=1667523942;B[3]=1684366951;p[0]=1633837924;p[1]=1650680933;F=p;u=0;H=l.length;for(q=[];!(u>=H);)null===s[l.charAt(u)]?q[u]=247:q[u]=s[l.charAt(u)],u+=1;var u=[],g=H=0,x=q.length,E=15-x%16;u[H]=E;for(H+=1;g<x;)u[H]=q[g],H+=1,g+=1;for(q=E;0<q;)u[H]=0,H+=1,q-=1;u=b(u);for(H=u.length;!(D>=H);)C[0]=u[D],D+=1,C[1]=u[D],D+=1,m[0]=u[D],D+=1,m[1]=u[D],D+=1,p=e(d(C,p),B),F=e(d(m,F),B),q=p[0],p[0]=p[1],p[1]=F[0],F[0]=F[1],F[1]=q;A[0]=p[0];
  A[1]=p[1];A[2]=F[0];A[3]=F[1];p=A;if(!a)return"";F=[];F=b(c(a));C=0;m=F.length;D=[1633837924,1650680933];u=[];A=[];B=[];for(q=0;!(C>=m);){A[0]=F[C];C+=1;A[1]=F[C];C+=1;u=D;H=A[0];g=A[1];x=0;E=32;for(x=-957401312;0<E--;)g-=(H<<4^H>>>5)+H^x+p[x>>>11&3],g|=0,x+=1640531527,x|=0,H-=(g<<4^g>>>5)+g^x+p[x&3],H|=0;x=[];x[0]=H;x[1]=g;u=d(u,x);B[q]=u[0];q+=1;B[q]=u[1];q+=1;D[0]=A[0];D[1]=A[1]}p=[];C=F=0;for(m=B.length;!(C>=m);)p[F]=255&B[C]>>>24,F+=1,p[F]=255&B[C]>>>16,F+=1,p[F]=255&B[C]>>>8,F+=1,p[F]=255&B[C],
  F+=1,C+=1;F=0;B=[];C=0;m=7&p[F];F+=1;for(m=p.length-m;F<m;)B[C]=p[F],C+=1,F+=1;p=0;F=B.length;for(C="";!(p>=F);)C+=r[255&B[p]],p+=1;return C}}})(jQuery);
  (function(a){a.fn.jcarousel=function(c){var b,d,e,l,p,s,r,w,z,y,B,F=!0,C,m,q,u,D=function(){y&&(clearTimeout(B),B=setTimeout(g.onAutoScroll,g.delay))},H=function(){!0===g.show_pips&&(r.removeClass("jcarousel-pip-selected"),a(r[z-1]).addClass("jcarousel-pip-selected"))},A={page_width:400,delay:5E3,show_pips:!0,multipage:!1,arrow_width:40,onNext:function(a){var c=function(){d.css({marginLeft:"+="+g.page_width});d.append(e[0]);F=!0};if(F){if(d.is(":animated"))return!1;F=!1;e=b.find(".page");d.animate({marginLeft:"-="+
  g.page_width},!0===a?0:400,c);D();z+=1;z>w&&(z=1);H()}},onPrevious:function(a){if(F){if(d.is(":animated"))return!1;F=!1;e=b.find(".page");d.css({marginLeft:"-="+g.page_width});d.prepend(e[e.length-1]);F=!0;d.animate({marginLeft:"+="+g.page_width},!0===a?0:400);D();z-=1;0>=z&&(z=w);H()}},onAutoScroll:function(){if(y&&(d.is(":hover")||l.is(":hover")||p.is(":hover")))D();else A.onNext()},scrollTo:function(a){a=z-(a+1);var b;if(0>a)for(b=a;0>b;b+=1)g.onNext(!0);else if(0<a)for(b=0;b<a;b+=1)g.onPrevious(!0)},
  onPipClick:function(){var b=a(this);g.scrollTo(b.data("idx"))},updateOrientation:function(a){a=b.parent().width();g.page_width=a;b.width(a);d.width((g.page_width+g.arrow_width)*w);e.css("width",g.page_width);e.css("height",g.page_width/g.original.w*g.height);400>b.width()?b.closest(".opta-widget-container").addClass("narrow"):b.closest(".opta-widget-container").removeClass("narrow")},onTouchStart:function(a){a=a.originalEvent.changedTouches[0];C=a.pageX;m=a.pageY;u=q=!1},onTouchMove:function(a){var b=
  a.originalEvent.changedTouches[0],c=Math.abs(b.pageX-C),d=Math.abs(b.pageY-m);if(10<c&&!q&&!u){if("A"!==a.target.tagName){if(0<C-b.pageX)g.onNext();else g.onPrevious();q=!0;a.preventDefault()}}else if(10<d||u)u=!0},onTouchEnd:function(a){u=q=!1}},g=a.extend({},A,c);return this.each(function(){var c=function(){var a,b,c;a='<div class="jcarousel-pips">';for(b=0;b<e.length;b+=1)c=0===b?" jcarousel-pip-selected":"",a+='<span class="jcarousel-pip'+c+'" data-idx="'+b+'">\u25cf</span> ';return a+"</div>"},
  m,q;b=a(this);d=b.find(".strip");e=b.find(".page");w=e.length;if(g.multipage){b.addClass("multipage");g.page_width-=g.arrow_width;m=g.per_page||Math.round(g.page_width/g.width);for(q=0;q<w/m;q+=1)b.find(".page:nth-child(n+"+(q*m+1)+"):nth-child(-n+"+(q+1)*m+")").addClass("pageset pageset-"+q).data("set",q).removeClass("page").width(g.page_width/m);for(q=0;q<w/m;q+=1)b.find(".pageset-"+q).wrapInner('<div class="page-contents"></div>').wrapAll('<div class="page"></div>');d=b.find(".strip");e=b.find(".page");
  w=e.length;g.page_width+=g.arrow_width}b.addClass("jcarousel");d.width((g.page_width+g.arrow_width)*w);void 0===navigator||"iPad"!==navigator.platform&&"iPhone"!==navigator.platform||d.parent().width(g.page_width);e.css("width",g.page_width);e.css("height",g.height);void 0!==navigator&&"Win32"!==navigator.platform&&-1===navigator.userAgent.indexOf("MSIE 10.0")&&e.find("img").attr("height","").attr("width","");g.original={w:g.page_width,h:g.height};1<w&&(l=a('<div class="jcarousel-sprite jcarousel-nav jcarousel-next"></div>'),
  p=a('<div class="jcarousel-sprite jcarousel-nav jcarousel-previous"></div>'),b.append(p),b.append(l));z=1;!0===g.show_pips&&(s=a(c()),b.parent().append(s),r=s.find(".jcarousel-pip"),r.on("click",g.onPipClick));1<w&&(l.on("click",g.onNext),p.on("click",g.onPrevious),b.on("touchstart",g.onTouchStart),b.on("touchmove",g.onTouchMove),b.on("touchend",g.onTouchEnd),$jqOpta.events.subscribe("widget.screensize.*",$jqOpta._.debounce(function(){F&&g.updateOrientation(g)},250)));y=0<Number(g.delay)&&1<w;1<w&&
  D()})}})(jQuery);var $jqOpta=jQuery.noConflict(!0);if("undefined"===typeof opta_widget_id)var opta_widget_id=-1;$jqOpta.bootstrapped=new $jqOpta.Deferred;$jqOpta.booting=!1;$jqOpta.booted=!1;$jqOpta.kickstart=!1;$jqOpta.expansions={};$jqOpta.events=$jqOpta.postal.channel("Events");$jqOpta.widgets={};$jqOpta.m={};$jqOpta.components={};$jqOpta.pd=[];$jqOpta.hasLocalStorage=function(){try{return localStorage.setItem("OptaV2","OptaV2"),localStorage.removeItem("OptaV2"),!0}catch(a){return!1}}();
  $jqOpta.Widget=function(a){a.load_width=$jqOpta("#opta-widget-id-"+a.id).width()||Number(a.data.width)||void 0;a.narrow=(a.data.load_width||0)<(Number(a.data.narrow_limit)||0);this.optaWidget=a;void 0===$jqOpta[a.widget_name]&&console&&"function"===typeof console.error?console.error(a.widget_name+" not found"):this.widget=new $jqOpta[a.widget_name](a)};
  $jqOpta.Widget.prototype.destroy=function(a){"function"===typeof this.widget.destroy?this.widget.destroy(a):a&&$jqOpta("#opta-widget-idx-"+this.optaWidget.id).remove();delete $jqOpta.widgets[this.optaWidget.id];delete this.optaWidget;delete this.widget};$jqOpta(function(){void 0!==_optaParams&&(void 0!==_optaParams.sync&&"delay"===_optaParams.sync?$jqOpta(window).load(function(){$jqOpta.widgetStart(_optaParams)}):"wait"!==_optaParams.sync&&$jqOpta.widgetStart(_optaParams));$jqOpta.ajaxSetup({cache:!0})});
  (function(){var a=function(){var a=$jqOpta.trn("loading"),b=0;$jqOpta.gaTracking();$jqOpta.analytics=new $jqOpta.Analytics;(function(){var a=0;0<$jqOpta("div.opta-widget-container").size()&&$jqOpta("div.opta-widget-container").each(function(){if(void 0!==$jqOpta(this).attr("id")){var b=Number($jqOpta(this).attr("id").substring(16));b>=a&&(a=b+1)}});b=a})();$jqOpta.utils.isRetina();$jqOpta.kickstart=!1;$jqOpta("opta:not(opta opta)").each(function(d){var e={},l=$jqOpta(this),p=l.find("opta"),s="",r=
  l.attr("widget"),w,z;w=[];var y=[],B,F=!0;d+=b;"incremental"===$jqOpta.settings.id_type&&(d=opta_widget_id+=1);void 0!==l.attr("id_suffix")&&(d=l.attr("id_suffix"));p={id:d,idx:"#opta-widget-idx-"+d,kids:p};if(void 0===l.attr("load")||"false"!==l.attr("load")){$jqOpta.each(l.context.attributes,function(a,b){e[b.name]=b.value});z=$jqOpta.getSportId(e.actual_sport||e.sport||"football");w=e.competition||e.competition_p1||e.competition1||e.competition_p2||e.competition2;w=w.split(",");if(void 0===e.tpl_src&&
  3===z){if(void 0!==$jqOpta.permittedWidgets[r]&&void 0!==$jqOpta.permittedWidgets[r][z])for(B in w)w.hasOwnProperty(B)&&y.push(w[B])}else for(B in w)w.hasOwnProperty(B)&&(98===z&&(w[B]=w[B].replace(/[^\d]/g,"")),($jqOpta.permittedWidget(r,z,w[B],l.attr("sub"))||"adwidget"===r)&&y.push(w[B]));$jqOpta.optaTags.push({data:e,tag:l.context.outerHTML,permitted:0<y.length});if(0<y.length||$jqOpta(this).attr("tpl_src")){if("matchstats"===r||"matchstatsplus"===r||"teamstats"===r||"playercompare"===r||"teamstatsplus"===
  r||"pro_matchstats"===r||"seasonalteamstats"===r)s=void 0===$jqOpta(this).attr("sub")?"":"_"+$jqOpta(this).attr("sub");"ticker"===$jqOpta(e).attr("widget")&&(e.live="true");d=$jqOpta('<div id="opta-widget-id-'+d+'" class="opta-loader"><p>'+a+"</p></div>");p.data=e;l.replaceWith(d);p.dom=$jqOpta(p.idx);"formation"===r||"averageposition"===r||"chalkboard"===r||"passingcombination"===r||"wagonwheel"===r?"undefined"===typeof HTMLCanvasElement&&($jqOpta.loadError(p,{title:$jqOpta.trn("This widget did not load"),
  message:$jqOpta.trn("No browser support")}),F=!1):"heatmap"===r&&"undefined"!==typeof HTMLCanvasElement?r="heatmapcanvas":"heatmapflash"===r&&(r="heatmap");if(F){l=e.sport;switch(e.sport){case "icehockey":"livescore"===r&&(l="basketball");break;case "rugby":if("commentary"===r||"matchstats"===r&&"_teamstats"===s||"matchstats"===r&&"_lineup"===s||"standings"===r)l="football";break;case "rugbyleague":if("refereedata"===r||"squadprofile"===r)l="rugby"}p.data.opta_widget=void 0===p.data.sub?p.data.widget:
  p.data.widget+"_"+p.data.sub;$jqOpta.loadTemplate(l,r,s,p)}}else p.data=e,$jqOpta.events.trigger.permissionDenied(p)}});$jqOpta.booted=!0;$jqOpta.booting=!1;!0===$jqOpta.kickstart&&$jqOpta.reload()};$jqOpta.optaTags=[];$jqOpta.gmtChangeover={spring:14275908E5,fall:14457384E5};$jqOpta.gmtOffset=(new Date).getTime()>$jqOpta.gmtChangeover.fall?0:1;$jqOpta.reload=function(){if(!1===$jqOpta.booted&&!1===$jqOpta.booting)return $jqOpta.widgetStart(_optaParams);!0===$jqOpta.booting&&!1===$jqOpta.booted?$jqOpta.kickstart=
  !0:!0===$jqOpta.booted&&!1===$jqOpta.booting&&a()};$jqOpta.widgetStart=function(c){var b=$jqOpta.extend({anim:"none",language:"en",timezone:0,callbacks:[]},c),d=function(){var c=function(a){var c,d,e,l,p,s,m,q,u={};b.customer_id=a["@attributes"].id;$jqOpta.settings.customer_id=b.customer_id;a.subscriptions.sport instanceof Array||(a.subscriptions.sport=[a.subscriptions.sport]);for(c=0;c<a.subscriptions.sport.length;c+=1)for(d=a.subscriptions.sport[c],e=Number(d["@attributes"].id),d.comp instanceof
  Array||(d.comp=[d.comp]),l=0;l<d.comp.length;l+=1)for(p=d.comp[l],s=Number(p["@attributes"].id),p.widget instanceof Array||(p.widget=[p.widget]),m=0;m<p.widget.length;m+=1)q=p.widget[m]["@attributes"],u[q.name]=u[q.name]||{},u[q.name][e]=u[q.name][e]||{},u[q.name][e][s]=!0;void 0!==u.heatmap&&(u.heatmapflash=$jqOpta.extend(u.heatmapflash,u.heatmap),u.heatmapcanvas=$jqOpta.extend(u.heatmapcanvas,u.heatmap));return $jqOpta.permittedWidgets=u},d=function(a){var c,d,e,l,p,s,m,q,u,D,H;if(a.translations&&
  a.translations.translation_set)for(a.translations.translation_set instanceof Array||(a.translations.translation_set=[a.translations.translation_set]),c=0;c<a.translations.translation_set.length;c+=1)for(d=a.translations.translation_set[c],e=Number(d["@attributes"].trans_id),d.lang instanceof Array||(d.lang=[d.lang]),p=0;p<d.lang.length;p+=1)for(s=d.lang[p],l=s["@attributes"].id,s.translation instanceof Array||(s.translation=[s.translation]),m=0;m<s.translation.length;m+=1)for(q=s.translation[m],u=
  q["@attributes"].type,q.file instanceof Array||(q.file=[q.file]),D=0;D<q.file.length;D+=1)switch(H=q.file[D]?q.file[D]["@attributes"]:!1,u){case "CP":$jqOpta.trans.files[u+"_"+b.customer_id+"_"+e+"_"+l.replace("-","_")+"_"+H.sport+"_"+H.season]=!0;break;case "TN":$jqOpta.trans.files[u+"_"+b.customer_id+"_"+e+"_"+l.replace("-","_")+"_"+H.sport+"_"+H.season+"_"+H.competition]=!0;break;case "PN":$jqOpta.trans.files[u+"_"+b.customer_id+"_"+e+"_"+l.replace("-","_")+"_"+H.sport+"_"+H.season+"_"+H.competition+
  "_"+H.team]=!0;break;case "WT":$jqOpta.trans.files[u+"_"+b.customer_id+"_"+e+"_"+l.replace("-","_")]=!0}};$jqOpta.ajax({url:$jqOpta.settings.widgetFeedBaseUrl+"../customer/c_"+b.custID+".json",cache:!0,dataType:"jsonp",jsonp:!1,jsonpCallback:"c_"+b.custID,timeout:1E4,success:function(b){c(b);d(b);$jqOpta.pd=$jqOpta.utils.fixSingle(b.domain);$jqOpta.dmok=function(){var a,b=$jqOpta.pd,c=b.length;a=["hostname","location"];var d=document[a[1]][a[0]],e;if(b instanceof Array)for(a=0;a<c;a+=1){e=b[a];if(e===
  d)return!0;e=e.replace(/\*/g,"[^ ]*");e=RegExp("^"+e+"$");if(d.match(e))return!0}return!1}();$jqOpta.trans.load.widget(function(){$jqOpta.events.publish("widget.application.init",$jqOpta.settings);$jqOpta.bootstrapped.resolve();a()})},error:function(a,b,c){console.log("Error",a,b,c)}})},e,l=function(){var a=window.addEventListener||window.attachEvent,b=window.addEventListener?"":window.attachEvent?"on":"",c=$jqOpta(window),d={w:c.width(),h:c.height()},e=function(){var a=c.width(),b=c.height();return d.w!==
  a?(d={w:a,h:b},!0):!1};a(b+"orientationchange",$jqOpta._.throttle(function(){e()&&$jqOpta.events.publish("widget.screensize.orientationchange",d)},250),!1);a(b+"resize",$jqOpta._.throttle(function(){e()&&$jqOpta.events.publish("widget.screensize.resize",d)},250),!1)};if(!0===$jqOpta.booting||!0===$jqOpta.booted)$jqOpta.kickstart=!0,$jqOpta.reload();else{$jqOpta.booting=!0;$jqOpta.extend($jqOpta.settings,b);c=$jqOpta.settings.language.split("_");$jqOpta.settings.locale={orig:$jqOpta.settings.language,
  lang:c[0]||"en",region:c[1],rtl:!1};$jqOpta.settings.locale.lang=$jqOpta.settings.locale.lang.toLowerCase();$jqOpta.settings.locale.region||($jqOpta.settings.locale.region=$jqOpta.trans.setDefaultRegion($jqOpta.settings.locale.lang));$jqOpta.settings.locale.region=$jqOpta.settings.locale.region.toUpperCase();$jqOpta.settings.locale.full=$jqOpta.settings.locale.lang+"_"+$jqOpta.settings.locale.region;switch($jqOpta.settings.locale.lang){case "ar":$jqOpta.settings.locale.rtl=!0}$jqOpta.settings.language=
  c[0];$jqOpta.settings.translation_id=$jqOpta.settings.translation_id||1;$jqOpta.lang={};!1!==$jqOpta.settings.load_date_js&&(e=$jqOpta.ajax({cache:!0,url:$jqOpta.settings.baseUrl+"js/date/date-"+$jqOpta.settings.locale.full.replace("_","-")+".js",dataType:"script"}));l();$jqOpta.when(e).then(function(){d()})}};$jqOpta.widget_promise={};$jqOpta.lib_promise={};$jqOpta.loadTemplate=function(a,b,d,e){var l;if(void 0!==$jqOpta[a+"_"+b+d])e.widget_name=a+"_"+b+d,$jqOpta.widgets[e.id]=new $jqOpta.Widget(e);
  else if(void 0===$jqOpta.widget_promise[e.data.tpl_src||a+"_"+b+"_"+d]){$jqOpta.widget_promise[e.data.tpl_src||a+"_"+b+"_"+d]=$jqOpta.ajax({cache:!0,url:void 0===e.data.tpl_src?$jqOpta.settings.baseUrl+"js/tpl/"+a+"/"+b+d+".js":e.data.tpl_src,dataType:"script",success:function(){},error:function(){$jqOpta.loadError(e,{message:$jqOpta.trn("Error loading")+" ("+$jqOpta.rtrn("^"+b+"$","i")+"). "+$jqOpta.trn("Please try again later")+"."})}});void 0===$jqOpta.lib_promise.ppscript&&void 0!==e.data.player_popup&&
  "true"===e.data.player_popup&&void 0===$jqOpta.football_playerprofile&&($jqOpta.lib_promise.ppscript=$jqOpta.ajax({cache:!0,url:$jqOpta.settings.baseUrl+"js/tpl/football/playerprofile.js",dataType:"script",error:function(){$jqOpta.loadError(e,{message:$jqOpta.trn("Error loading")+" ("+$jqOpta.rtrn("^"+b+"$","i")+"). "+$jqOpta.trn("Please try again later")+"."})}}));if(void 0===$jqOpta.lib_promise.kinetic&&void 0===$jqOpta.Kinetic&&("formation"===b||"averageposition"===b||"chalkboard"===b&&"football"===
  a||"passingcombination"===b||"heatmapcanvas"===b||"wagonwheel"===b)||"test"===b)$jqOpta.lib_promise.kinetic=$jqOpta.ajax({cache:!0,url:$jqOpta.settings.baseUrl+"js/lib/opta.kinetic.4.3.2.js",dataType:"script",error:function(){$jqOpta.loadError(e,{message:$jqOpta.trn("Error loading")+" "+$jqOpta.rtrn("^"+b+"$","i")+". "+$jqOpta.trn("Please try again later")+"."})}});void 0===$jqOpta.lib_promise.raphael&&void 0===$jqOpta.Raphael&&("rugby"===a&&"formation"===b||"scoringzones"===b||"sprintlocation"===
  b||"goalreplay"===b||"attackingthirds"===b||"shotchart"===b||"chalkboard"===b&&"rugby"===a||"trackingheatmap"===b||"actionareas"===b||"teamstatsplus"===b||"matchdaylive"===b||"matchstatsplus"===b&&"_playerstats"===d)&&($jqOpta.lib_promise.raphael=$jqOpta.ajax({cache:!0,url:$jqOpta.settings.baseUrl+"js/lib/raphael-2.1.2.js",dataType:"script",error:function(){$jqOpta.loadError(e,{message:$jqOpta.trn("Error loading")+" "+$jqOpta.rtrn("^"+b+"$","i")+". "+$jqOpta.trn("Please try again later")+"."})}}));
  void 0===$jqOpta.lib_promise.d3&&void 0===$jqOpta.d3&&"bracket"===b&&($jqOpta.lib_promise.d3=$jqOpta.ajax({cache:!0,url:$jqOpta.settings.baseUrl+"js/lib/opta.d3.js",dataType:"script",error:function(){$jqOpta.loadError(e,{message:$jqOpta.trn("Error loading")+" "+$jqOpta.rtrn("^"+b+"$","i")+". "+$jqOpta.trn("Please try again later")+"."})}}));void 0===$jqOpta.lib_promise.socketio&&void 0===$jqOpta.io&&"livecommentary"===b&&($jqOpta.lib_promise.socketio=$jqOpta.ajax({cache:!0,url:$jqOpta.settings.baseUrl+
  "js/lib/socket.io.js",dataType:"script",error:function(){$jqOpta.loadError(e,{message:$jqOpta.trn("Error loading")+" "+$jqOpta.rtrn("^"+b+"$","i")+". "+$jqOpta.trn("Please try again later")+"."})}}));void 0!==$jqOpta.lib_promise.tennis||"tennis"!==a||"seasonschedule"!==b&&"livescores"!==b||(l=new $jqOpta.FeedRequest($jqOpta.FeedRequest.FEED_TRANS_TENNIS,{lang_id:$jqOpta.settings.locale.full}),$jqOpta.lib_promise.tennis=$jqOpta.jsonp({cache:!0,url:l.url,dataType:"jsonp",callback:l.getFeedCallback(),
  error:function(){$jqOpta.loadError(e,{message:$jqOpta.trn("Error loading")+" "+$jqOpta.rtrn("^"+a+"$","i")+". "+$jqOpta.trn("Please try again later")+"."})},success:function(a){var b,c;a=a.d.split("\u00a6");for(b=0;b<a.length;b+=1)c=a[b].split("|"),$jqOpta.trans.data.widget[c[0]]=c[1]}}));void 0===$jqOpta.lib_promise.highcharts&&void 0===$jqOpta.Highcharts&&("cricket"===a&&("manhattanworm"===b||"probability"===b)||"football"===a&&("playertracking"===b||"seasonstandings"===b)||"basketballsd"===a&&
  "matchprogression"===b)&&($jqOpta.lib_promise.highcharts=$jqOpta.ajax({cache:!0,url:$jqOpta.settings.baseUrl+"js/lib/opta.highcharts.3.0.2.js",dataType:"script",error:function(){$jqOpta.loadError(e,{message:$jqOpta.trn("Error loading")+" "+$jqOpta.rtrn("^"+b+"$","i")+". "+$jqOpta.trn("Please try again later")+"."})}}));void 0===$jqOpta.lib_promise.ppslider&&void 0===$jqOpta.PPSliderClass&&"cricket"===a&&"probability"===b&&($jqOpta.lib_promise.ppslider=$jqOpta.ajax({cache:!0,url:$jqOpta.settings.baseUrl+
  "js/lib/opta.ppslider.js",dataType:"script",error:function(){$jqOpta.loadError(e,{message:$jqOpta.trn("Error loading")+" "+$jqOpta.rtrn("^"+b+"$","i")+". "+$jqOpta.trn("Please try again later")+"."})}}));void 0===$jqOpta.lib_promise.historical_comp&&"football"===a&&"matchpreview"===b&&(l=new $jqOpta.FeedRequest($jqOpta.FeedRequest.FEED_TRANS_HISTORICAL_COMP,{lang_id:$jqOpta.settings.locale.full}),$jqOpta.lib_promise.historical_comp=$jqOpta.jsonp({cache:!0,url:l.url,dataType:"jsonp",callback:l.getFeedCallback(),
  error:function(){$jqOpta.loadError(e,{message:$jqOpta.trn("Error loading")+" "+$jqOpta.rtrn("^"+a+"$","i")+". "+$jqOpta.trn("Please try again later")+"."})},success:function(a){var b,c;a=a.d.split("\u00a6");void 0===$jqOpta.trans.data.historical_comps&&($jqOpta.trans.data.historical_comps={});for(b=0;b<a.length;b+=1)c=a[b].split("|"),$jqOpta.trans.data.historical_comps[c[0]]=c[1]}}))}$jqOpta.when($jqOpta.widget_promise[e.data.tpl_src||a+"_"+b+"_"+d],$jqOpta.lib_promise.ppscript,$jqOpta.lib_promise.kinetic,
  $jqOpta.lib_promise.raphael,$jqOpta.lib_promise.d3,$jqOpta.lib_promise.tennis,$jqOpta.lib_promise.highcharts,$jqOpta.lib_promise.ppslider,$jqOpta.lib_promise.historical_comp,$jqOpta.lib_promise.socketio).then(function(){e.widget_name=a+"_"+b+d;$jqOpta.widgets[e.id]=new $jqOpta.Widget(e)})};$jqOpta.displayWidget=function(a,b,d,e){e='<div id="opta-widget-idx-'+a.id+'" class="opta-widget-container'+(void 0!==e?" "+e:"")+(void 0===a.data.classes?"":" "+a.data.classes)+" opta-"+a.data.widget+'" data-widget-id="'+
  a.id+'"></div>';var l="#opta-widget-id-"+a.id,p="#opta-widget-idx-"+a.id,s='<div id="opta-widget-idxx-'+a.id+'" style="display:none;"></div>',r,w=!1;0===$jqOpta(p).length&&($jqOpta(e).insertAfter($jqOpta(l)),a.dom=$jqOpta(a.idx));if(!0===d){$jqOpta(p).html(b);"function"===typeof window.beforeShowWidget&&beforeShowWidget(p);$jqOpta(p).hide();switch($jqOpta.settings.anim){case "none":$jqOpta(p).prev("div").hide().empty().remove();$jqOpta(p).show();break;case "down":$jqOpta(p).prev("div").fadeOut(400,
  function(){$jqOpta(p).slideDown(800);$jqOpta(this).empty().remove()});break;case "opta":$jqOpta(p).prev("div").fadeOut(1E3,function(){$jqOpta(p).show(2E3);$jqOpta(this).empty().remove()})}"function"===typeof window.afterShowWidget&&afterShowWidget(p)}else if($jqOpta(p+" .expansion-holder").each(function(){var a=$jqOpta(this).html(),b;w=!0;""!==a&&(b=$jqOpta(this).data().expansion,$jqOpta.expansions[b]=a)}),w){$jqOpta(s).insertAfter($jqOpta(p));$jqOpta("#opta-widget-idxx-"+a.id).html(b);for(r in $jqOpta.expansions)$jqOpta.expansions.hasOwnProperty(r)&&
  $jqOpta("#opta-widget-idxx-"+a.id).find("."+r).html($jqOpta.expansions[r]);$jqOpta(p).html($jqOpta("#opta-widget-idxx-"+a.id).html());$jqOpta("#opta-widget-idxx-"+a.id).empty().remove()}else $jqOpta(p).html(b)};$jqOpta.feedData=[];$jqOpta.callbackCounts=[];$jqOpta.getFeeds=function(a,b){var d,e=b.length,l=[],p=function(a,b,c,d){var e=new $jqOpta.Deferred,p=new $jqOpta.FeedRequest($jqOpta.FeedRequest[c.feedType],c.feedParams,e,c.feedLife,c.trn);$jqOpta.FeedMonitor.requestFeed(p);e.done(function(a){a=
  $jqOpta.extend(!0,{},a);a.feed_type=c.feedType.replace("FEED_","");a.request_params=p.params;l[d]=a});e.fail(function(){l[d]="failed"});$jqOpta.when(e).always(function(){var c,d=!0;for(c=0;c<b;c+=1)void 0===l[c]&&(d=!1);d&&a(l)})};for(d=0;d<e;d+=1)p(a,e,b[d],d)};$jqOpta.getFeed=function(a){var b=1E3*Math.floor(10*Math.random());$jqOpta.doTimeout(b,function(){0===Math.floor(2*Math.random())?a.reject("reason for failure"):a.resolve("success")})};$jqOpta.srtTab=function(a,b,d){$jqOpta(a+" table").hasClass("tablesorter")&&
  ($jqOpta(a+" table.tablesorter thead tr:first-child th:nth-child(2)").hasClass("fullcombined")?$jqOpta(a+" table").tablesorter({headers:{0:{sorter:!1},1:{sorter:!1},2:{sorter:!1}},sortInitialOrder:"desc",sortList:b?[b]:void 0}):void 0!==d?$jqOpta(a+" table").tablesorter({headers:d,sortInitialOrder:"desc",sortList:b?[b]:void 0}):$jqOpta(a+" table").tablesorter({headers:{1:{sorter:!1}},sortInitialOrder:"desc",sortList:b?[b]:void 0}),$jqOpta(a+" table.tablesorter thead th.header").children().each(function(){$jqOpta(this).wrap("<span>")}))};
  $jqOpta.fn.srtTHL=function(a){var b,d=0,e=$jqOpta(this).html(),l=$jqOpta(this).attr("class");$jqOpta(this).closest("thead").find("th").each(function(){e===$jqOpta(this).html()&&l===$jqOpta(this).attr("class")&&(b=d);$jqOpta(this).hasClass("sort-ascending")&&$jqOpta(this).removeClass("sort-ascending");$jqOpta(this).hasClass("sort-descending")&&$jqOpta(this).removeClass("sort-descending");d+=1});$jqOpta(".tablesorter thead th:nth-child(2)").hasClass("fullcombined")&&(b-=2);$jqOpta(this).closest("table").find("tbody td").each(function(){$jqOpta(this).hasClass("sorted-column")&&
  $jqOpta(this).removeClass("sorted-column")});"desc"===a?$jqOpta(this).addClass("sort-descending"):$jqOpta(this).addClass("sort-ascending");$jqOpta(this).closest("table").find("tbody tr").each(function(){$jqOpta(this).find("td").eq(b).addClass("sorted-column")})};$jqOpta.ga={};$jqOpta.gaTracking=function(){var a,b,d;if(void 0===window._gat)return!1;_optaParams.gaq=_optaParams.gaq||[];for(a=0;a<_optaParams.gaq.length;a+=1)for(d in b=_optaParams.gaq[a],b.tracker=_gat._createTracker(b._setAccount,"OptaWidgets"),
  b)if(b.hasOwnProperty(d)&&"tracker"!==d&&"_setAccount"!==d&&"_trackPageview"!==d)if(b[d]instanceof Array)b.tracker[d](b[d][0]||null,b[d][1]||null,b[d][2]||null,b[d][3]||null);else b.tracker[d](b[d])};$jqOpta.trackGAEvent=function(a){var b,d,e;if(void 0===window._gat||!0===_optaParams.suppressAnalytics||!_optaParams.gaq||!_optaParams.gaq.length)return"";if(!(a instanceof Object&&a.widget&&a.action&&a.sport&&a.season&&a.comp))throw"Invalid GA Event Tracking data";for(b=0;b<_optaParams.gaq.length;b+=
  1){e=_optaParams.gaq[b].tracker;e._setCustomVar(2,"competition",a.comp,3);e._setCustomVar(3,"season",a.season,3);if(a.extra&&a.extra instanceof Array)for(d=0;d<a.extra.length&&!(1<d);d+=1)e._setCustomVar(4+d,a.extra[d].key,a.extra[d].value,3);e._trackEvent(a.widget,a.action,a.sport,$jqOpta.intval(a.rndTime),!1);if(a.extra&&a.extra instanceof Array)for(d=0;d<a.extra.length&&!(1<d);d+=1)e._deleteCustomVar(4+d)}};$jqOpta.rndCG=function(a){var b=a.length,d="<colgroup>",e;for(e=0;e<b;e+=1)d+='<col width="'+
  a[e],$jqOpta.isNum(a[e])&&(d+="%"),d+='">';return d+"</colgroup>"};$jqOpta.renderError=function(a,b,d,e){b="<h2><span>"+d+'</span></h2><div class="'+b+'"><p>'+e+"</p></div>";$jqOpta(a).html(b)};$jqOpta.enablePlayerPopups=function(a){var b,d="#opta-widget-idx-"+a.id;a.data.player_popup&&(b=$jqOpta("#opta-widget-popup"),0===b.length&&(b=$jqOpta("<div/>",{id:"opta-widget-popup"}).appendTo($jqOpta("body")),b.append('<div class="opta-widget-container"><h2><span></span><span class="close"><a href="#">'+
  $jqOpta.trn("close")+'</a></span></h2><div class="profile-container"><div class="profile"></div></div></div>'),b.hide()),$jqOpta(d+" a.opta-popup").each(function(){$jqOpta(this).click(function(d){var l=$jqOpta(this).attr("href"),p=Math.max(d.pageX-200,0)+"px",s=d.pageY+20+"px",l=l.split("-"),r=$jqOpta("#opta-widget-popup div.profile");$jqOpta("#opta-widget-popup h2 span:first-child").html("");r.addClass("opta-widget-popup-content");r.html("");b.css({left:p,top:s});a.data.season=l[1];a.data.competition=
  l[2];a.data.team=l[3];a.data.player=l[4];d.preventDefault();b.show();$jqOpta.football_playerprofile(a,!0);$jqOpta.enablePopupCloseLink();$jqOpta.trackGAEvent({sport:a.data.sport,widget:a.data.widget,action:"player_link_popup",comp:a.data.competition,season:a.data.season})})}))};$jqOpta.enablePopupCloseLink=function(){$jqOpta("#opta-widget-popup span.close a").each(function(){$jqOpta(this).click(function(a){a.preventDefault();$jqOpta("#opta-widget-popup").hide()})})};$jqOpta.sndUI=function(a,b,d){var e;
  "true"===a&&0===$jqOpta(b).find("span.opta-audio").length&&(a=void 0!==d&&"true"===d?"opta-logo ":"",e=$jqOpta.settings.soundEnabled?'<span class="opta-audio '+a+'sound-enabled" title="'+$jqOpta.trn("soundDisable")+'">'+$jqOpta.trn("soundDisable")+"</span>":'<span class="opta-audio '+a+'sound-disabled" title="'+$jqOpta.trn("soundEnable")+'">'+$jqOpta.trn("soundEnable")+"</span>",$jqOpta("div"+b+" > h2").after(e),e=$jqOpta(b+" .opta-audio"),e.on("click",function(a){a.preventDefault();e.hasClass("sound-disabled")?
  (e.removeClass("sound-disabled"),e.addClass("sound-enabled"),e.text($jqOpta.trn("soundDisable")),e.attr("title",$jqOpta.trn("soundDisable")),$jqOpta.settings.soundEnabled=!0,$jqOpta.createCookie("opta_audio_"+b.substr(1),1)):(e.removeClass("sound-enabled"),e.addClass("sound-disabled"),e.text($jqOpta.trn("soundEnable")),e.attr("title",$jqOpta.trn("soundEnable")),$jqOpta.settings.soundEnabled=!1,$jqOpta.createCookie("opta_audio_"+b.substr(1),0))}),(1===$jqOpta.readCookie("opta_audio_"+b.substr(1))&&
  e.hasClass("sound-disabled")||0===$jqOpta.readCookie("opta_audio_"+b.substr(1))&&e.hasClass("sound-enabled"))&&e.click())};$jqOpta.goalAlerts=function(a,b,d){var e=$jqOpta(b).find(d);0<e.length&&($jqOpta.settings.soundEnabled&&$jqOpta.sndA(a),$jqOpta.doTimeout(5E3,function(){e.each(function(){$jqOpta(this).removeClass("goal-alert")})}))};$jqOpta.sndA=function(a){var b;b='<div class="goal-sound"><object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="1" height="1" id="goal-alert">'+
  ('<param name="src" value="'+$jqOpta.settings.baseUrl+'assets/sounds/applause.wav" />');b+='<param name="autostart" value="true" />';b+="\x3c!--[if !IE]>--\x3e";b+='<object type="audio/x-wav" data="'+$jqOpta.settings.baseUrl+'assets/sounds/applause.wav" width="1" height="1">';b+='<param name="autoplay" value="true" />';b+="</object>";b+="\x3c!--<![endif]--\x3e";b+="</object></div>";$jqOpta(a).append(b)};$jqOpta.evnID=function(a){switch(a){case "f":return["end-period",$jqOpta.trn("FT (fulltime)")];
  case "g":return["goal",$jqOpta.trn("Goal")];case "h":return["kickoff",$jqOpta.trn("HT (halftime)")];case "k":return["kickoff",$jqOpta.trn("KO (kickoff)")];case "ks":return["kickoff",$jqOpta.trn("SH (second half)")];case "o":return["own-goal",$jqOpta.trn("Goal"),$jqOpta.trn("OG (own goal)")];case "p":return["penalty-in-game-scored",$jqOpta.trn("Goal"),$jqOpta.trn("P (penalty)")];case "pm":return["penalty-in-game-miss",$jqOpta.trn("Missed Penalty")];case "ps":return["penalty-shootout-scored",$jqOpta.trn("Goal"),
  $jqOpta.trn("P (penalty)")];case "r":return["red-card",$jqOpta.trn("Red Card")];case "s":return["substitution",$jqOpta.trn("Substitution")];case "sb":return["icon-substitution",$jqOpta.trn("Substitution")];case "y":return["yellow-card",$jqOpta.trn("Yellow Card")];case "2":return["double-yellow",$jqOpta.trn("Second Yellow Card")]}};$jqOpta.rndMns=function(a,b){var d,e="";"SO"===a?e+="("+$jqOpta.trn("SO (shootout)")+")":""===a?e+="&nbsp;":(d='<abbr title="'+$jqOpta.trn("minute")+'">'+$jqOpta.trn("min (minute symbol)")+
  "</abbr>",e+=a+d,void 0!==b&&""!==b&&(e+="+"+b+d));return e};$jqOpta.rndTabC=function(a,b){var d=$jqOpta(b).find(".ranking-category option:eq(0)").attr("value");"all"===a.data.category&&$jqOpta.rndTabD(b,d);$jqOpta(b).find(".ranking-category select").change(function(){$jqOpta.rndTabD(b,$jqOpta(b).find("option:selected").val())})};$jqOpta.rndTabD=function(a,b){$jqOpta(a).find(".ranking-container").children("div:not(."+b+")").hide();$jqOpta(a).find(".ranking-container").children("div."+b).show()};$jqOpta.actTabs=
  function(a,b,d,e,l,p,s,r,w,z){var y=!1;$jqOpta(b).each(function(){var a=$jqOpta(this),b=a.find(z||"ul.tabs-nav"),c=s||0,b=b.width()-c,d=0,c=a.find((z||"ul.tabs-nav")+" > li"),a=e?a.find(e):a.find("ul.tabs-content > li");0<c.length&&c.length===a.length&&!0!==p&&(c.each(function(){d+=$jqOpta(this).width()}),d>b&&(y=!0))});$jqOpta(b).each(function(){var p=$jqOpta(this),s=p.find(z||"ul.tabs-nav"),C=p.find((z||"ul.tabs-nav")+" > li"),m=e?p.find(e):p.find("ul.tabs-content > li"),q=b.split(" "),u=r||a+"-"+
  q[0].substring(1),q=$jqOpta.readCookie(u),D=Number(l)-1||0,H;if(D>=C.length||0>D)D=0;0<C.length&&C.length===m.length&&(C.removeClass("tabs-selected"),m.removeClass("tabs-selected"),$jqOpta.isNum(q)&&C.length>q&&(D=q),$jqOpta(C[D]).addClass("tabs-selected"),$jqOpta(m[D]).addClass("tabs-selected"),y&&!s.parent().hasClass("opta-dropdown")&&(s.wrap('<div class="opta-dropdown" />'),H=p.find("div.opta-dropdown"),H.prepend("<span>"+$jqOpta(C[D]).text()+"<span></span></span>"),H.click(function(a){a.preventDefault();
  H.hasClass("active")?H.removeClass("active"):H.addClass("active")})),C.each(function(a){$jqOpta(this).click(function(b){b.preventDefault();C.removeClass("tabs-selected");m.removeClass("tabs-selected");$jqOpta(this).addClass("tabs-selected");$jqOpta(m[a]).addClass("tabs-selected");$jqOpta.createCookie(u,a);s.parent().hasClass("opta-dropdown")&&s.parent().find("span").html($jqOpta(this).text()+"<span></span>");void 0!==d&&$jqOpta.events.trigger.tab(this,d,a);"function"===typeof w&&w.call(p,this,m[a])})}),
  "function"===typeof w&&w.call(p,$jqOpta(this).find(".tabs-nav .tabs-selected")[0],m[D]))})};$jqOpta.runCallbacks=function(a){var b=$jqOpta("#opta-widget-idx-"+a.id),d,e=$jqOpta.settings.callbacks;if(0<e.length)for(d=0;d<e.length;d+=1)if(""!==e[d]&&"function"===typeof e[d])e[d](b,a.data,a.id)};$jqOpta.optaPlayerStatsDropdowns=function(a){var b="#opta-widget-idx-"+a.id+" .team-container";$jqOpta(b).each(function(){var d;d=b.split(" ");var e=$jqOpta(this).find("form").attr("id")||"",l="playerstats-"+
  d[0].substring(1)+"-"+d[1].substring(1)+"-"+e.slice(0,-1),e=$jqOpta.readCookie(l),p=[];$jqOpta(this).children("div").each(function(){p.push($jqOpta(this).attr("id"))});for(d=0;d<p.length;d+=1)0!==d&&$jqOpta("#"+p[d]).hide();$jqOpta(this).find(".playerstats-filter-select").on("change",function(){var b=$jqOpta(this),d=b.find("option:selected"),e=d.val();$jqOpta.createCookie(l,e);b.closest(".team-container").children("div:not(#"+e+")").hide();b.closest(".team-container").children("div#"+e).show();b.find("select").blur();
  $jqOpta.events.trigger.dropdown(a,b.attr("id"),e,d.text())});null!==e&&$jqOpta(this).find("option[value="+e+"]").each(function(){$jqOpta(this).attr("selected","selected").change()})})};$jqOpta.runExpansions=function(a,b){var d=a.kids,e=a.data,l=a.id,p=$jqOpta._.object($jqOpta.readCookieArray(e.widget+"_"+l));0<d.length&&$jqOpta("#opta-widget-idx-"+l+" "+b).each(function(){var b=$jqOpta(this),r=b.data().expansion,w={},z="",y=e.widget+"_"+l+"[";$jqOpta._.each(r.split("_"),function(a,b){var c=a.split("-");
  w[c[0]]=c[1];z+=0<b?"-"+c[1]:c[1]});y+=z+"]";b.click(function(p){var z="",C,m,q,u=" .expansion",D,H="",A={},g=function(a,b){return w[a]?(A[a]||(A[a]=!0,u+="_"+a+"-"+w[a])," "+b+a+'="'+w[a]+'"'):e[a]?" "+b+a+'="'+e[a]+'"':" "+q.name+'="'+q.value+'"'},x=function(a,b){return a.name>b.name?1:a.name<b.name?-1:0},E=function(d){b.data().expansion===d.id.toString().substring(0,b.data().expansion.length)&&(m+=1,m===C&&(D.slideDown(400,function(){var d=b.data().expansion.split("_"),d=$jqOpta._.object($jqOpta._.map(d,
  function(a){a=a.split("-");return[a[0],Number(a[1])||a[1]]}));$jqOpta.events.trigger.expansiondone("open",a,d,b.data().expansion)}),b.removeClass("details-loading").addClass("details-expanded")))};p.preventDefault();for(C=0;C<d.length;C+=1){z+='<div class="opta-expansion">';H="<opta";p=$jqOpta._.toArray(d[C].attributes);p.sort(x);for(m=0;m<p.length;m+=1)switch(q=p[m],q.name){case "live":case "season":case "match":case "competition":case "team":case "player":H+=g(q.name,"");break;case "preselect_match":H+=
  g("match","preselect_");break;case "preselect_team":H+=g("team","preselect_");break;case "widget":z+='<div class="opta-'+q.value+'">';default:H+=" "+q.name+'="'+q.value+'"'}D=$jqOpta("#opta-widget-idx-"+l+u).first();H+=' parent_id="'+l+'" id_suffix="'+r+"_"+C+'" width="'+D.width()+'"></opta>';z+=H+"</div></div>"}b.hasClass("details-collapsed")?(""===D.html()||void 0===D.html()?(b.removeClass("details-collapsed").addClass("details-loading"),D.html(z),D.hide(),m=0,$jqOpta.events.subscribe("widget.#.load",
  E),$jqOpta.events.subscribe("widget.#.error",E),$jqOpta.widgetStart(_optaParams)):(b.removeClass("details-collapsed").addClass("details-expanded"),D.slideDown(400,function(){var d=b.data().expansion.split("_"),d=$jqOpta._.object($jqOpta._.map(d,function(a){a=a.split("-");return[a[0],Number(a[1])||a[1]]}));$jqOpta.events.trigger.expansiondone("open",a,d,b.data().expansion)})),$jqOpta.createCookie(y,"o")):(b.removeClass("details-expanded").addClass("details-collapsed"),D.slideUp(400,function(){var d=
  b.data().expansion.split("_"),d=$jqOpta._.object($jqOpta._.map(d,function(a){a=a.split("-");return[a[0],Number(a[1])||a[1]]}));$jqOpta.events.trigger.expansiondone("closed",a,d,b.data().expansion)}),$jqOpta.createCookie(y,"c"))});"o"===p[z]&&b.click()})};$jqOpta.highlightLinks=function(a,b){var d,e=b.length;$jqOpta(a).hover(function(){for(d=0;d<e;d+=1)$jqOpta(this).find(b[d]).addClass("hover-effect");$jqOpta(this).find(".opta-event-link").addClass("hover-effect");$jqOpta(this).find("button").addClass("hover-effect")},
  function(){for(d=0;d<e;d+=1)$jqOpta(this).find(b[d]).removeClass("hover-effect")})}})();
  (function(a){function c(a,b){return!b&&a instanceof Array?a:Array.prototype.slice.call(a)}function b(a,b){return void 0!==a?a:b}function d(a,c,e,l){if(a instanceof d)return a=a.slice(c,c+e),a._littleEndian=b(l,a._littleEndian),a;if(!(this instanceof d))return new d(a,c,e,l);this.buffer=a=d.wrapBuffer(a);this._isArrayBuffer=r.ArrayBuffer&&a instanceof ArrayBuffer;this._isPixelData=r.PixelData&&a instanceof CanvasPixelArray;this._isDataView=r.DataView&&this._isArrayBuffer;this._isNodeBuffer=r.NodeBuffer&&
  a instanceof Buffer;if(!(this._isNodeBuffer||this._isArrayBuffer||this._isPixelData||a instanceof Array))throw new TypeError("jDataView buffer has an incompatible type");this._littleEndian=!!l;l="byteLength"in a?a.byteLength:a.length;this.byteOffset=c=b(c,0);this.byteLength=e=b(e,l-c);this._isDataView?this._view=new DataView(a,c,e):this._checkBounds(c,e,l);this._engineAction=this._isDataView?this._dataViewAction:this._isNodeBuffer?this._nodeBufferAction:this._isArrayBuffer?this._arrayBufferAction:
  this._arrayAction}function e(a){if(r.NodeBuffer)return new Buffer(a,"binary");for(var b=new (r.ArrayBuffer?Uint8Array:Array)(a.length),c=0,d=a.length;c<d;c++)b[c]=a.charCodeAt(c)&255;return b}function l(a){return 0<=a&&31>a?1<<a:l[a]||(l[a]=Math.pow(2,a))}function p(a,b){this.lo=a;this.hi=b}function s(a,b){p.apply(this,arguments)}var r={NodeBuffer:"Buffer"in a&&"readInt16LE"in Buffer.prototype,DataView:"DataView"in a&&("getFloat64"in DataView.prototype||"getFloat64"in new DataView(new ArrayBuffer(1))),
  ArrayBuffer:"ArrayBuffer"in a,PixelData:"CanvasPixelArray"in a&&"ImageData"in a&&"document"in a};r.NodeBuffer&&function(a){try{a.writeFloatLE(Infinity,0)}catch(b){r.NodeBuffer=!1}}(new Buffer(4));if(r.PixelData){var w=function(a,b){var c=w.context2d.createImageData((a+3)/4,1).data;c.byteLength=a;if(void 0!==b)for(var d=0;d<a;d++)c[d]=b[d];return c};w.context2d=document.createElement("canvas").getContext("2d")}var z={Int8:1,Int16:2,Int32:4,Uint8:1,Uint16:2,Uint32:4,Float32:4,Float64:8},y={Int8:"Int8",
  Int16:"Int16",Int32:"Int32",Uint8:"UInt8",Uint16:"UInt16",Uint32:"UInt32",Float32:"Float",Float64:"Double"};d.wrapBuffer=function(a){switch(typeof a){case "number":if(r.NodeBuffer)a=new Buffer(a),a.fill(0);else if(r.ArrayBuffer)a=(new Uint8Array(a)).buffer;else if(r.PixelData)a=w(a);else{a=Array(a);for(var b=0;b<a.length;b++)a[b]=0}return a;case "string":a=e(a);default:return"length"in a&&!(r.NodeBuffer&&a instanceof Buffer||r.ArrayBuffer&&a instanceof ArrayBuffer||r.PixelData&&a instanceof CanvasPixelArray)&&
  (r.NodeBuffer?a=new Buffer(a):r.ArrayBuffer?a instanceof ArrayBuffer||(a=(new Uint8Array(a)).buffer,a instanceof ArrayBuffer||(a=(new Uint8Array(c(a,!0))).buffer)):a=r.PixelData?w(a.length,a):c(a)),a}};d.createBuffer=function(){return d.wrapBuffer(arguments)};d.Uint64=p;p.prototype={valueOf:function(){return this.lo+l(32)*this.hi},toString:function(){return Number.prototype.toString.apply(this.valueOf(),arguments)}};p.fromNumber=function(a){var b=Math.floor(a/l(32));a-=b*l(32);return new p(a,b)};
  d.Int64=s;s.prototype="create"in Object?Object.create(p.prototype):new p;s.prototype.valueOf=function(){return this.hi<l(31)?p.prototype.valueOf.apply(this,arguments):-(l(32)-this.lo+l(32)*(l(32)-1-this.hi))};s.fromNumber=function(a){var b;0<=a?(b=p.fromNumber(a),a=b.lo,b=b.hi):(b=Math.floor(a/l(32)),a-=b*l(32),b+=l(32));return new s(a,b)};d.prototype={_offset:0,_bitOffset:0,compatibility:r,_checkBounds:function(a,c,d){if("number"!==typeof a)throw new TypeError("Offset is not a number.");if("number"!==
  typeof c)throw new TypeError("Size is not a number.");if(0>c)throw new RangeError("Length is negative.");if(0>a||a+c>b(d,this.byteLength))throw new RangeError("Offsets are out of bounds.");},_action:function(a,c,d,e,l){return this._engineAction(a,c,b(d,this._offset),b(e,this._littleEndian),l)},_dataViewAction:function(a,b,c,d,e){this._offset=c+z[a];return b?this._view["get"+a](c,d):this._view["set"+a](c,e,d)},_nodeBufferAction:function(a,b,c,d,e){this._offset=c+z[a];a=y[a]+("Int8"===a||"Uint8"===
  a?"":d?"LE":"BE");c+=this.byteOffset;return b?this.buffer["read"+a](c):this.buffer["write"+a](e,c)},_arrayBufferAction:function(c,d,e,l,p){var s=z[c];c=a[c+"Array"];l=b(l,this._littleEndian);if(1===s||0===(this.byteOffset+e)%s&&l)return c=new c(this.buffer,this.byteOffset+e,1),this._offset=e+s,d?c[0]:c[0]=p;s=new Uint8Array(d?this.getBytes(s,e,l,!0):s);c=new c(s.buffer,0,1);if(d)return c[0];c[0]=p;this._setBytes(e,s,l)},_arrayAction:function(a,b,c,d,e){return b?this["_get"+a](c,d):this["_set"+a](c,
  e,d)},_getBytes:function(a,d,e){e=b(e,this._littleEndian);d=b(d,this._offset);a=b(a,this.byteLength-d);this._checkBounds(d,a);d+=this.byteOffset;this._offset=d-this.byteOffset+a;d=this._isArrayBuffer?new Uint8Array(this.buffer,d,a):(this.buffer.slice||Array.prototype.slice).call(this.buffer,d,d+a);return e||1>=a?d:c(d).reverse()},getBytes:function(a,d,e,l){a=this._getBytes(a,d,b(e,!0));return l?c(a):a},_setBytes:function(a,d,e){var l=d.length;if(0!==l){e=b(e,this._littleEndian);a=b(a,this._offset);
  this._checkBounds(a,l);!e&&1<l&&(d=c(d,!0).reverse());a+=this.byteOffset;if(this._isArrayBuffer)(new Uint8Array(this.buffer,a,l)).set(d);else if(this._isNodeBuffer)(d instanceof Buffer?d:new Buffer(d)).copy(this.buffer,a);else for(e=0;e<l;e++)this.buffer[a+e]=d[e];this._offset=a-this.byteOffset+l}},setBytes:function(a,c,d){this._setBytes(a,c,b(d,!0))},getString:function(a,c,d){if(this._isNodeBuffer)return c=b(c,this._offset),a=b(a,this.byteLength-c),this._checkBounds(c,a),this._offset=c+a,this.buffer.toString(d||
  "binary",this.byteOffset+c,this.byteOffset+this._offset);c=this._getBytes(a,c,!0);var e="";a=c.length;for(var l=0;l<a;l++)e+=String.fromCharCode(c[l]);"utf8"===d&&(e=decodeURIComponent(escape(e)));return e},setString:function(a,c,d){this._isNodeBuffer?(a=b(a,this._offset),this._checkBounds(a,c.length),this._offset=a+this.buffer.write(c,this.byteOffset+a,d||"binary")):("utf8"===d&&(c=unescape(encodeURIComponent(c))),this._setBytes(a,e(c),!0))},getChar:function(a){return this.getString(1,a)},setChar:function(a,
  b){this.setString(a,b)},tell:function(){return this._offset},seek:function(a){this._checkBounds(a,0);return this._offset=a},skip:function(a){return this.seek(this._offset+a)},slice:function(a,c,e){a=0>a?a+this.byteLength:a;c=b(c,this.byteLength);c=0>c?c+this.byteLength:c;return e?new d(this.getBytes(c-a,a,!0,!0),void 0,void 0,this._littleEndian):new d(this.buffer,this.byteOffset+a,c-a,this._littleEndian)},_getFloat64:function(a,b){var c=this._getBytes(8,a,b),d=1-2*(c[7]>>7),e=((c[7]<<1&255)<<3|c[6]>>
  4)-1023,c=(c[6]&15)*l(48)+c[5]*l(40)+c[4]*l(32)+c[3]*l(24)+c[2]*l(16)+c[1]*l(8)+c[0];return 1024===e?0!==c?NaN:Infinity*d:-1023===e?d*c*l(-1074):d*(1+c*l(-52))*l(e)},_getFloat32:function(a,b){var c=this._getBytes(4,a,b),d=1-2*(c[3]>>7),e=(c[3]<<1&255|c[2]>>7)-127,c=(c[2]&127)<<16|c[1]<<8|c[0];return 128===e?0!==c?NaN:Infinity*d:-127===e?d*c*l(-149):d*(1+c*l(-23))*l(e)},_get64:function(a,c,d){d=b(d,this._littleEndian);c=b(c,this._offset);for(var e=d?[0,4]:[4,0],l=0;2>l;l++)e[l]=this.getUint32(c+e[l],
  d);this._offset=c+8;return new a(e[0],e[1])},getInt64:function(a,b){return this._get64(s,a,b)},getUint64:function(a,b){return this._get64(p,a,b)},_getInt32:function(a,b){var c=this._getBytes(4,a,b);return c[3]<<24|c[2]<<16|c[1]<<8|c[0]},_getUint32:function(a,b){return this._getInt32(a,b)>>>0},_getInt16:function(a,b){return this._getUint16(a,b)<<16>>16},_getUint16:function(a,b){var c=this._getBytes(2,a,b);return c[1]<<8|c[0]},_getInt8:function(a){return this._getUint8(a)<<24>>24},_getUint8:function(a){return this._getBytes(1,
  a)[0]},_getBitRangeData:function(a,c){var d=(b(c,this._offset)<<3)+this._bitOffset,e=d+a,d=d>>>3,l=this._getBytes((e+7>>>3)-d,d,!0),p=0;if(this._bitOffset=e&7)this._bitOffset-=8;for(var e=0,g=l.length;e<g;e++)p=p<<8|l[e];return{start:d,bytes:l,wideValue:p}},getSigned:function(a,b){var c=32-a;return this.getUnsigned(a,b)<<c>>c},getUnsigned:function(a,b){var c=this._getBitRangeData(a,b).wideValue>>>-this._bitOffset;return 32>a?c&~(-1<<a):c},_setBinaryFloat:function(a,b,c,d,e){var p=0>b?1:0,g,s=~(-1<<
  d-1),r=1-s;0>b&&(b=-b);0===b?b=g=0:isNaN(b)?(g=2*s+1,b=1):Infinity===b?(g=2*s+1,b=0):(g=Math.floor(Math.log(b)/Math.LN2),g>=r&&g<=s?(b=Math.floor((b*l(-g)-1)*l(c)),g+=s):(b=Math.floor(b/l(r-c)),g=0));for(s=[];8<=c;)s.push(b%256),b=Math.floor(b/256),c-=8;g=g<<c|b;for(d+=c;8<=d;)s.push(g&255),g>>>=8,d-=8;s.push(p<<d|g);this._setBytes(a,s,e)},_setFloat32:function(a,b,c){this._setBinaryFloat(a,b,23,8,c)},_setFloat64:function(a,b,c){this._setBinaryFloat(a,b,52,11,c)},_set64:function(a,c,d,e){d instanceof
  a||(d=a.fromNumber(d));e=b(e,this._littleEndian);c=b(c,this._offset);a=e?{lo:0,hi:4}:{lo:4,hi:0};for(var l in a)this.setUint32(c+a[l],d[l],e);this._offset=c+8},setInt64:function(a,b,c){this._set64(s,a,b,c)},setUint64:function(a,b,c){this._set64(p,a,b,c)},_setUint32:function(a,b,c){this._setBytes(a,[b&255,b>>>8&255,b>>>16&255,b>>>24],c)},_setUint16:function(a,b,c){this._setBytes(a,[b&255,b>>>8&255],c)},_setUint8:function(a,b){this._setBytes(a,[b&255])},setUnsigned:function(a,b,c){a=this._getBitRangeData(c,
  a);var d=a.wideValue,e=a.bytes,d=d&~(~(-1<<c)<<-this._bitOffset),d=d|(32>c?b&~(-1<<c):b)<<-this._bitOffset;for(b=e.length-1;0<=b;b--)e[b]=d&255,d>>>=8;this._setBytes(a.start,e,!0)}};var B=d.prototype,F;for(F in z)(function(a){B["get"+a]=function(b,c){return this._action(a,!0,b,c)};B["set"+a]=function(b,c,d){this._action(a,!1,b,d,c)}})(F);B._setInt32=B._setUint32;B._setInt16=B._setUint16;B._setInt8=B._setUint8;B.setSigned=B.setUnsigned;for(var C in B)"set"===C.slice(0,3)&&function(a){B["write"+a]=
  function(){Array.prototype.unshift.call(arguments,void 0);this["set"+a].apply(this,arguments)}}(C.slice(3));$jqOpta.jDataView=d})(function(){return this}());
  $jqOpta.FeedRequest=function(a,c,b,d,e){this.feed_type=a;this.params=$jqOpta.extend({},c);this.url=this.getUrl();this.promise=b;this.additional_feed_requests=[];this.max_age=Math.max(/^MA/.test(a)?15:30,d);this.trn={};this.trn.comps=void 0;this.trn.teams=void 0;this.trn.players=void 0;this.trn.managers=void 0;this.trn.officials=void 0;this.trn.venues=void 0;this.trn.countries=void 0;if(e&&e.comps instanceof Array)for(this.trn.comps={},a=0;a<e.comps.length;a+=1)this.trn.comps[e.comps[a]]=!0;if(e&&
  e.teams instanceof Array)for(this.trn.teams={},a=0;a<e.teams.length;a+=1)this.trn.teams[e.teams[a]]=!0;if(e&&e.players instanceof Array)for(this.trn.players={},a=0;a<e.players.length;a+=1)this.trn.players[e.players[a]]=!0;if(e&&e.managers instanceof Array)for(this.trn.managers={},a=0;a<e.managers.length;a+=1)this.trn.players[e.managers[a]]=!0;if(e&&e.officials instanceof Array)for(this.trn.officials={},a=0;a<e.officials.length;a+=1)this.trn.players[e.officials[a]]=!0;if(e&&e.venues instanceof Array)for(this.trn.venues=
  {},a=0;a<e.venues.length;a+=1)this.trn.players[e.venues[a]]=!0;if(e&&e.countries instanceof Array)for(this.trn.countries={},a=0;a<e.countries.length;a+=1)this.trn.players[e.countries[a]]=!0};
  $jqOpta.FeedRequest.prototype.getUrl=function(){var a=$jqOpta.FeedRequest["URL_"+this.feed_type],c=function(a){return(a||"").toString().replace(/[^0-9\,]+/g,"")};if(void 0===a)throw"Bad feed type '"+this.feed_type+"' passed in feed request";a=a.replace("[CO]","basketballsd"!==this.params.sport?c(this.params.competition):this.params.competition);a=a.replace("[SE]","basketballsd"!==this.params.sport?c(this.params.season):this.params.season);a=a.replace("[GA]","basketballsd"!==this.params.sport?c(this.params.match):
  this.params.match);a=a.replace("[TE]",c(this.params.team));a=a.replace("[RO]",c(this.params.round));a=a.replace("[T1]",c(this.params.team1));a=a.replace("[T2]",c(this.params.team2));a=a.replace("[CH]",this.params.channel);a=a.replace("[DF]",this.params.date_from);a=a.replace("[DT]",this.params.date_to);a=a.replace("[ST]",this.params.stage);a="pt"===$jqOpta.settings.language&&"BR"===$jqOpta.settings.locale.region&&this.feed_type===$jqOpta.FeedRequest.FEED_F13?a.replace("[LA]","ptb"):a.replace("[LA]",
  $jqOpta.trim(this.params.language)||$jqOpta.trim($jqOpta.settings.language));a=a.replace("[VE]",c(this.params.venue));a=a.replace(/\[CU\]/g,$jqOpta.trim(this.params.cust_id));a=a.replace("[LN]",$jqOpta.trim(this.params.lang_id));a=a.replace("[TR]",c(this.params.trans_id));a=a.replace("[SP]",c(this.params.sport_id));a=a.replace("[BU]",$jqOpta.settings.widgetFeedBaseUrl);if("F55"===this.feed_type||"F55a"===this.feed_type||"F55o"===this.feed_type)a=a.replace("[PH]",c(this.params.phase)),a=a.replace("[IN]",
  c(this.params.interval));"OW1"===this.feed_type&&(a=a.replace(/\[CHANNEL\]/g,this.params.channel));/^(PRF\d+|MA\d+)/.test(this.feed_type)&&(this.params.callback_name="_clbk");if("PRF01"===this.feed_type)this.params.category_id&&(a+="&ctgId="+c(this.params.category_id)),this.params.category&&(this.params.category instanceof Array||(this.params.category=[this.params.category]),$jqOpta._.each(this.params.category,function(b){a+="&ctg="+b})),this.params.keyword&&(this.params.keyword instanceof Array||
  (this.params.keyword=[this.params.keyword]),$jqOpta._.each(this.params.keyword,function(b){a+="&kwd="+b})),this.params.search&&(a+="&ft="+this.params.search),this.params.fields&&(a+="&_fld="+this.params.fields),this.params.page&&(a+="&_pgNm="+this.params.page),this.params.count&&(a+="&_pgSz="+this.params.count),this.params.team&&(a+="&lnk=urn:perform:gsm:soccer:team:"+this.params.team),a+="&_lcl="+(this.params.language||$jqOpta.settings.locale.lang);else if("PRF02"===this.feed_type)a=a.replace("[ARTICLE_UUID]",
  this.params.article);else if("PRF03"===this.feed_type)this.params.category&&(this.params.category instanceof Array||(this.params.category=[this.params.category]),$jqOpta._.each(this.params.category,function(b){a+="&ctgId="+b})),this.params.channel&&(a+="&chnlTl="+this.params.channel),this.params.channel_id&&(a+="&chnlId="+this.params.channel_id),this.params.keyword&&(this.params.keyword instanceof Array||(this.params.keyword=[this.params.keyword]),$jqOpta._.each(this.params.keyword,function(b){a+=
  "&kwd="+b})),this.params.search&&(a+="&ft="+this.params.search),a+=this.params.fields?"&_fld="+this.params.fields:"&_fld=tl,desc,pt,id,thmb,kwd,mGrp,ctgId",this.params.date_from&&(a+="&_dlt="+this.params.date_from),this.params.count&&(a+="&_pgSz="+Number(this.params.count)),this.params.page&&(a+="&_pgNm="+Number(this.params.page)),a+="&lng="+(this.params.language||$jqOpta.settings.locale.lang),a+="&_ord="+(this.params.ord||"pt"),a+="&_ordSrt="+(this.params.ordSrt||"desc");else if("MA1COMPDATE"===
  this.feed_type||"MA1FIXTURES"===this.feed_type||"MA1STAGE"===this.feed_type)a+="&_pgNm=",a+=Number(this.params.page)||1,a+="&_pgSz=",a+=Number(this.params.count)||50;"http"!==a.substr(0,4)&&"//"!==a.substr(0,2)&&(a=void 0!==$jqOpta.settings.feed_base_url?$jqOpta.settings.feed_base_url+a:"https:"===window.location.protocol?"https://secure.omo.akamai.opta.net/"+a:"http://omo.akamai.opta.net/"+a);return a};
  $jqOpta.FeedRequest.prototype.getFeedCallback=function(){var a;if(void 0!==this.callback)return this.callback;switch(this.feed_type){case $jqOpta.FeedRequest.FEED_TRANS_WIDGET:return"WT_"+this.params.cust_id+"_"+this.params.trans_id+"_"+this.params.lang_id;case $jqOpta.FeedRequest.FEED_TRANS_COMP:return"CP_"+this.params.cust_id+"_"+this.params.trans_id+"_"+this.params.lang_id+"_"+this.params.sport_id+"_"+this.params.season;case $jqOpta.FeedRequest.FEED_TRANS_TEAM:return"TN_"+this.params.cust_id+"_"+
  this.params.trans_id+"_"+this.params.lang_id+"_"+this.params.sport_id+"_"+this.params.season+"_"+this.params.competition;case $jqOpta.FeedRequest.FEED_TRANS_PLAYER:return"PN_"+this.params.cust_id+"_"+this.params.trans_id+"_"+this.params.lang_id+"_"+this.params.sport_id+"_"+this.params.season+"_"+this.params.competition+"_"+this.params.team;case $jqOpta.FeedRequest.FEED_TRANS_PLAYER_CHANGES:return"PC_"+this.params.sport_id+"_"+this.params.lang_id;case $jqOpta.FeedRequest.FEED_TRANS_VENUE:return"VE_"+
  this.params.cust_id+"_"+this.params.trans_id+"_"+this.params.lang_id+"_"+this.params.sport_id+"_"+this.params.season+"_"+this.params.competition;case $jqOpta.FeedRequest.FEED_TRANS_OFFICIAL:return"OF_"+this.params.cust_id+"_"+this.params.trans_id+"_"+this.params.lang_id+"_"+this.params.sport_id+"_"+this.params.season+"_"+this.params.competition;case $jqOpta.FeedRequest.FEED_TRANS_MANAGER:return"MA_"+this.params.cust_id+"_"+this.params.trans_id+"_"+this.params.lang_id+"_"+this.params.sport_id+"_"+
  this.params.season+"_"+this.params.competition;case $jqOpta.FeedRequest.FEED_TRANS_COUNTRY:return"CN_"+this.params.cust_id+"_"+this.params.trans_id+"_"+this.params.lang_id;case $jqOpta.FeedRequest.FEED_SHORT_COMP:return $jqOpta.FeedRequest.FEED_SHORT_COMP;case $jqOpta.FeedRequest.FEED_SHORT_TEAM:return $jqOpta.FeedRequest.FEED_SHORT_TEAM;case $jqOpta.FeedRequest.FEED_TRANS_TENNIS:return"TE_"+this.params.lang_id;case $jqOpta.FeedRequest.FEED_TRANS_HISTORICAL_COMP:return"HC_"+this.params.lang_id;case $jqOpta.FeedRequest.FEED_OW1:return"optahw_"+
  this.params.channel;case $jqOpta.FeedRequest.FEED_MA1MATCH:return"MA1MATCH_m"+this.params.match;case "PRF01":return a=this.feed_type+"_"+this.params.competition+"_"+this.params.season,this.params.keyword&&(a+="_k"+$jqOpta.sha1(this.params.keyword)),this.params.count&&(a+="_p"+this.params.page),this.params.count&&(a+="_c"+this.params.count),a;case $jqOpta.FeedRequest.FEED_TWITTER:return"twitter_"+this.params.channel;case $jqOpta.FeedRequest.FEED_VIDEOPLAYER:return"opta_videoplayer";default:return a=
  this.feed_type+"_"+this.params.competition+"_"+this.params.season,this.params.match&&(a+="_m"+this.params.match),this.params.team&&(a+="_t"+this.params.team),this.params.lang&&(a+="_l"+this.params.lang_id),this.params.trans_id&&(a+="_tr"+this.params.trans_id),this.params.sport_id&&(a+="_sp"+this.params.sport_id),this.params.venue&&(a+="_v"+this.params.venue),a=a.replace(/[\s]/g,""),a=a.replace(/[\,\&\.-]/g,"_")}throw"BAD";};$jqOpta.FeedRequest.prototype.triggerCallback=function(a){this.callback(a)};
  (function(a){a.FEED_F1="F1";a.FEED_F1_JSON="F1_JSON";a.FEED_F1A="F1";a.FEED_F2="F2";a.FEED_F3="F3";a.FEED_F7="F9";a.FEED_F9="F9";a.FEED_F9_JSON="F9_JSON";a.FEED_F13="F13";a.FEED_F13M="F13M";a.FEED_F15="F15";a.FEED_F15_JSON="F15_JSON";a.FEED_F23="F23";a.FEED_F24="F24";a.FEED_F26="F26";a.FEED_F27="F27";a.FEED_F27a="F27a";a.FEED_F28="F28";a.FEED_F30="F30";a.FEED_F30_JSON="F30_JSON";a.FEED_F31="F31";a.FEED_F36="F36";a.FEED_F37="F37";a.FEED_F4="F4";a.FEED_F40="F40";a.FEED_F40_JSON="F40_JSON";a.FEED_F45=
  "F45";a.FEED_F53="F53";a.FEED_F53a="F53a";a.FEED_F54="F54";a.FEED_F55="F55";a.FEED_F55a="F55a";a.FEED_F55o="F55o";a.FEED_F56="F56";a.FEED_F57="F57";a.FEED_F57o="F57o";a.FEED_FBCAREER="FBCAREER";a.FEED_RUF1="RUF1";a.FEED_RUF2="RUF2";a.FEED_RUF3="RUF3";a.FEED_RU3="RU3";a.FEED_RU4="RU4";a.FEED_RU5="RU5";a.FEED_RU51="RU51";a.FEED_RUF7="RUF7";a.FEED_RUF9="RUF9";a.FEED_RU10="RU10";a.FEED_RUF13="RUF13";a.FEED_RUF13M="RUF13M";a.FEED_RU23="RU23";a.FEED_RU24="RU24";a.FEED_RLF1="RLF1";a.FEED_RL2="RL2";a.FEED_RL7=
  "RL7";a.FEED_RLF9="RLF9";a.FEED_RL10="RL10";a.FEED_RLF13="RLF13";a.FEED_RLF13M="RLF13M";a.FEED_RL23="RL23";a.FEED_RL24="RL24";a.FEED_RL29="RL29";a.FEED_AFL1="AFL1";a.FEED_AFL3="AFL3";a.FEED_AFL9="AFL9";a.FEED_NET1="NET1";a.FEED_NET3="NET3";a.FEED_NET9="NET9";a.FEED_BSBTABLES="BSBTABLES";a.FEED_BSBH2H="BSBH2H";a.FEED_BSBMATCHES="BSBMATCHES";a.FEED_BSBMATCHESLIVE="BSBMATCHESLIVE";a.FEED_BSBMATCH="BSBMATCH";a.FEED_BBTABLES="BBTABLES";a.FEED_BBH2H="BBH2H";a.FEED_BBMATCHES="BBMATCHES";a.FEED_BBMATCHESLIVE=
  "BBMATCHESLIVE";a.FEED_BBMATCH="BBMATCH";a.FEED_MA1COMPDATE="MA1COMPDATE";a.FEED_MA1FIXTURES="MA1FIXTURES";a.FEED_MA1STAGE="MA1STAGE";a.FEED_MA1MATCH="MA1MATCH";a.FEED_MA2="MA2";a.FEED_MA3="MA3";a.FEED_HBTABLES="HBTABLES";a.FEED_HBMATCHES="HBMATCHES";a.FEED_HBMATCHESLIVE="HBMATCHESLIVE";a.FEED_VBTABLES="VBTABLES";a.FEED_VBMATCHES="VBMATCHES";a.FEED_VBMATCHESLIVE="VBMATCHESLIVE";a.FEED_C1="C1";a.FEED_C1m="C1m";a.FEED_C1e="C1e";a.FEED_C1a="C1a";a.FEED_C1i="C1i";a.FEED_C1o="C1o";a.FEED_C1w="C1w";a.FEED_C1c=
  "C1c";a.FEED_C1n="C1n";a.FEED_C1s="C1s";a.FEED_C2="C2";a.FEED_C3="C3";a.FEED_C5="C5";a.FEED_C6="C6";a.FEED_C7="C7";a.FEED_C9="C9";a.FEED_C10="C10";a.FEED_C11="C11";a.FEED_C12="C12";a.FEED_C30="C30";a.FEED_C50="C50";a.FEED_IH1="IH1";a.FEED_IH3="IH3";a.FEED_IH9="IH9";a.FEED_IHTABLES="IHTABLES";a.FEED_IHH2H="IHH2H";a.FEED_IHMATCHES="IHMATCHES";a.FEED_IHMATCH="IHMATCH";a.FEED_BB1="BB1";a.FEED_BB3="BB3";a.FEED_BB9="BB9";a.FEED_BB24="BB24";a.FEED_BBTABLES="BBTABLES";a.FEED_BBH2H="BBH2H";a.FEED_BBMATCHES=
  "BBMATCHES";a.FEED_BBMATCH="BBMATCH";a.FEED_BSBTABLES="BSBTABLES";a.FEED_BSBH2H="BSBH2H";a.FEED_BSBMATCHES="BSBMATCHES";a.FEED_BSBMATCH="BSBMATCH";a.FEED_AFTABLES="AFTABLES";a.FEED_AFH2H="AFH2H";a.FEED_AFMATCHES="AFMATCHES";a.FEED_AFMATCH="AFMATCH";a.FEED_IHTABLES="IHTABLES";a.FEED_IHH2H="IHH2H";a.FEED_IHMATCHES="IHMATCHES";a.FEED_IHMATCH="IHMATCH";a.FEED_HBL1="HBL1";a.FEED_HBL3="HBL3";a.FEED_VBL1="VBL1";a.FEED_VBL3="VBL3";a.FEED_G1="G1";a.FEED_G2="G2";a.FEED_G2M="G2M";a.FEED_G15="G15";a["FEED_MR1-L-NT"]=
  "MR1-L-NT";a["FEED_MR2-L-NT"]="MR2-L-NT";a.FEED_MR4="MR4";a.FEED_MR5="MR5";a.FEED_MR6="MR6";a.FEED_MR8="MR8";a.FEED_MR9="MR9";a.FEED_MR10="MR10";a.FEED_MR12="MR12";a.FEED_TAB1="TAB1";a.FEED_TAB2="TAB2";a.FEED_TAB4="TAB4";a.FEED_TAB7="TAB7";a.FEED_TAB15="TAB15";a.FEED_OW1="OW1";a.FEED_PRF01="PRF01";a.FEED_PRF02="PRF02";a.FEED_PRF03="PRF03";a.FEED_SHORT_COMP="SHORT_COMP";a.FEED_TRANS_WIDGET="TRANS_WIDGET";a.FEED_TRANS_COMP="TRANS_COMP";a.FEED_TRANS_TEAM="TRANS_TEAM";a.FEED_TRANS_PLAYER="TRANS_PLAYER";
  a.FEED_TRANS_PLAYER_CHANGES="TRANS_PLAYER_CHANGES";a.FEED_TRANS_VENUE="TRANS_VENUE";a.FEED_TRANS_OFFICIAL="TRANS_OFFICIAL";a.FEED_TRANS_MANAGER="TRANS_MANAGER";a.FEED_TRANS_COUNTRY="TRANS_COUNTRY";a.FEED_TRANS_TENNIS="TRANS_TENNIS";a.FEED_TRANS_HISTORICAL_COMP="TRANS_HISTORICAL_COMP";a.FEED_TWITTER="TWITTER";a.FEED_VIDEOPLAYER="VIDEOPLAYER";a.URL_F1="competition.php?feed_type=f1_packed&competition=[CO]&season_id=[SE]";a.URL_F1_JSON="competition.php?feed_type=f1&competition=[CO]&season_id=[SE]";a.URL_F2=
  "?feed_type=F2&game_id=[GA]";a.URL_F3="competition.php?feed_type=f3_packed&competition=[CO]&season_id=[SE]";a.URL_F9="?feed_type=f9_packed&game_id=[GA]";a.URL_F9_JSON="?feed_type=f9&game_id=[GA]";a.URL_F13="?feed_type=F13&game_id=[GA]&language=[LA]";a.URL_F13M="?feed_type=F13m&game_id=[GA]&language=[LA]";a.URL_F15="competition.php?feed_type=f15_packed&competition=[CO]&season_id=[SE]";a.URL_F15_JSON="competition.php?feed_type=f15&competition=[CO]&season_id=[SE]";a.URL_F23="competition.php?feed_type=F23&competition=[CO]&season_id=[SE]";
  a.URL_F24="?feed_type=f24_packed&game_id=[GA]";a.URL_F26="competition.php?feed_type=f26_packed&competition=[CO]&season_id=[SE]";a.URL_F27="index.php?feed_type=F27&game_id=[GA]";a.URL_F27a="team_game.php?feed_type=F27&game_id=[GA]&team_id=[TE]";a.URL_F28="index.php?feed_type=f28&game_id=[GA]";a.URL_F30="team_competition.php?feed_type=f30_packed&competition=[CO]&season_id=[SE]&team_id=[TE]";a.URL_F30_JSON="team_competition.php?feed_type=f30&competition=[CO]&season_id=[SE]&team_id=[TE]";a.URL_F31="?feed_type=F31&game_id=[GA]";
  a.URL_F36="competition.php?feed_type=f36_packed&competition=[CO]&season_id=[SE]";a.URL_F37="competition.php?feed_type=f37&competition=[CO]&season_id=[SE]";a.URL_F4="?feed_type=f4&game_id=[GA]&language=[LA]";a.URL_F40="competition.php?feed_type=f40_packed&competition=[CO]&season_id=[SE]";a.URL_F40_JSON="competition.php?feed_type=f40&competition=[CO]&season_id=[SE]";a.URL_F45="competition.php?feed_type=F45&competition=[CO]&season_id=[SE]&venue_id=[VE]";a.URL_F53="?feed_type=F53&game_id=[GA]";a.URL_F53a=
  "?feed_type=F53a&game_id=[GA]";a.URL_F54="?feed_type=F54&game_id=[GA]";a.URL_F55="team_game.php?feed_type=F55&game_id=[GA]&team_id=[PH][IN]";a.URL_F55a="team_game.php?feed_type=F55a&game_id=[GA]&team_id=[PH][IN]";a.URL_F55o="team_game.php?feed_type=F55o&game_id=[GA]&team_id=[PH][IN]";a.URL_F56="team_competition.php?feed_type=f56&competition=[CO]&season_id=[SE]&team_id=[TE]";a.URL_F57="?feed_type=F57&game_id=[GA]";a.URL_F57o="?feed_type=F57o&game_id=[GA]";a.URL_FBCAREER="core.php?feed_type=opta_core&sport=soccer&method=career&id=[TE]&type=team";
  a.URL_RUF1="competition.php?feed_type=ruf1&competition=[CO]&season_id=[SE]";a.URL_RUF2="?feed_type=RUF2&game_id=[GA]";a.URL_RUF3="competition.php?feed_type=ruf3&competition=[CO]&season_id=[SE]";a.URL_RU3="competition.php?feed_type=ru3&competition=[CO]&season_id=[SE]";a.URL_RU4="competition.php?feed_type=ru4&competition=[CO]&season_id=[SE]";a.URL_RU5="competition.php?feed_type=ru5&competition=[CO]&season_id=[SE]";a.URL_RU51="?feed_type=ru51&game_id=[GA]";a.URL_RUF7="?feed_type=ru7&game_id=[GA]";a.URL_RUF9=
  "?feed_type=ruf9&game_id=[GA]";a.URL_RU10="competition.php?feed_type=RU10&competition=[CO]&season_id=[SE]";a.URL_RUF13="?feed_type=RUF13&game_id=[GA]&language=[LA]";a.URL_RUF13M="?feed_type=RUF13m&game_id=[GA]&language=[LA]";a.URL_RU23="competition.php?feed_type=RU23&competition=[CO]&season_id=[SE]";a.URL_RU24="competition.php?feed_type=RU24&competition=[CO]&season_id=[SE]";a.URL_RLF1="competition.php?feed_type=rlf1&competition=[CO]&season_id=[SE]";a.URL_RL2="competition.php?feed_type=rl2&competition=[CO]&season_id=[SE]";
  a.URL_RL7="?feed_type=rl7&game_id=[GA]";a.URL_RLF9="?feed_type=rlf9&game_id=[GA]";a.URL_RL10="competition.php?feed_type=RL10&competition=[CO]&season_id=[SE]";a.URL_RLF13="?feed_type=RLF13&game_id=[GA]";a.URL_RLF13M="?feed_type=RLF13M&game_id=[GA]";a.URL_RL23="competition.php?feed_type=RL23&competition=[CO]&season_id=[SE]";a.URL_RL24="competition.php?feed_type=RL24&competition=[CO]&season_id=[SE]";a.URL_RL29="?feed_type=RL29&game_id=[GA]";a.URL_AFL1="competition.php?feed_type=afl1&competition=[CO]&season_id=[SE]";
  a.URL_AFL3="competition.php?feed_type=afl3&competition=[CO]&season_id=[SE]";a.URL_AFL9="?feed_type=afl9&game_id=[GA]";a.URL_BSBTABLES="core.php?feed_type=opta_core&sport=baseball&method=tables&id=[CO]&type=season&tabletype=total";a.URL_BSBH2H="core.php?feed_type=opta_core&sport=baseball&method=head2head&team_A_id=[T1]&team_B_id=[T2]";a.URL_BSBMATCHES="core.php?feed_type=opta_core&sport=baseball&method=matches&id=[CO]&type=season";a.URL_BSBMATCHESLIVE="core.php?feed_type=opta_core&sport=baseball&method=matches_live&id=[CO]&type=season";
  a.URL_BSBMATCH="core.php?feed_type=opta_core&sport=baseball&method=matches&id=[GA]&type=match&detailed=yes&statistics=yes";a.URL_BBTABLES="core.php?feed_type=opta_core&sport=basketball&method=tables&id=[CO]&type=season&tabletype=total";a.URL_BBH2H="core.php?feed_type=opta_core&sport=basketball&method=head2head&team_A_id=[T1]&team_B_id=[T2]";a.URL_BBMATCHES="core.php?feed_type=opta_core&sport=basketball&method=matches&id=[CO]&type=season";a.URL_BBMATCHESLIVE="core.php?feed_type=opta_core&sport=basketball&method=matches_live&id=[CO]&type=season";
  a.URL_BBMATCH="core.php?feed_type=opta_core&sport=basketball&method=matches&id=[GA]&type=match&detailed=yes&statistics=yes";a.URL_HBTABLES="core.php?feed_type=opta_core&sport=handball&method=tables&id=[CO]&type=season&tabletype=total";a.URL_HBMATCHES="core.php?feed_type=opta_core&sport=handball&method=matches&id=[CO]&type=season";a.URL_HBMATCHESLIVE="core.php?feed_type=opta_core&sport=handball&method=matches_live&id=[CO]&type=season";a.URL_VBTABLES="core.php?feed_type=opta_core&sport=volleyball&method=tables&id=[CO]&type=season&tabletype=total";
  a.URL_VBMATCHES="core.php?feed_type=opta_core&sport=volleyball&method=matches&id=[CO]&type=season";a.URL_VBMATCHESLIVE="core.php?feed_type=opta_core&sport=volleyball&method=matches_live&id=[CO]&type=season";a.URL_C1="competition.php?feed_type=C1&competition=0&season_id=0";a.URL_C1m="competition.php?feed_type=C1m&competition=0&season_id=0";a.URL_C1e="competition.php?feed_type=C1e&competition=0&season_id=0";a.URL_C1a="competition.php?feed_type=C1a&competition=0&season_id=0";a.URL_C1i="competition.php?feed_type=C1i&competition=0&season_id=0";
  a.URL_C1o="competition.php?feed_type=C1o&competition=0&season_id=0";a.URL_C1w="competition.php?feed_type=C1w&competition=0&season_id=0";a.URL_C1c="competition.php?feed_type=C1c&competition=0&season_id=0";a.URL_C1n="competition.php?feed_type=C1n&competition=0&season_id=0";a.URL_C1s="competition.php?feed_type=C1s&competition=0&season_id=0";a.URL_C2="?feed_type=c2&game_id=[GA]";a.URL_C3="?feed_type=c3&game_id=[GA]";a.URL_C5="competition.php?feed_type=C5&competition=[CO]&season_id=0";a.URL_C6="team_game.php?feed_type=c6&game_id=[GA]&team_id=[TE]";
  a.URL_C7="team_game.php?feed_type=c7&game_id=[GA]&team_id=[TE]";a.URL_C9="competition.php?feed_type=C9&competition=0&season_id=0";a.URL_C10="competition.php?feed_type=C10&competition=[CO]&season_id=0";a.URL_C11="competition.php?feed_type=c11&competition=[CO]&season_id=0";a.URL_C12="?feed_type=C12&game_id=[GA]";a.URL_C30="competition.php?feed_type=C30&competition=[CO]&season_id=0";a.URL_C50="?feed_type=c50&game_id=[GA]";a.URL_IH1="competition.php?feed_type=IH1&competition=[CO]&season_id=[SE]";a.URL_IH3=
  "competition.php?feed_type=IH3&competition=[CO]&season_id=[SE]";a.URL_IH9="?feed_type=IH9&game_id=[GA]";a.URL_IHTABLES="core.php?feed_type=opta_core&sport=hockey&method=tables&id=[CO]&type=season&tabletype=total";a.URL_IHH2H="core.php?feed_type=opta_core&sport=hockey&method=head2head&team_A_id=[T1]&team_B_id=[T2]";a.URL_IHMATCHES="core.php?feed_type=opta_core&sport=hockey&method=matches&id=[CO]&type=season";a.URL_IHMATCH="core.php?feed_type=opta_core&sport=hockey&method=matches&id=[GA]&type=match";
  a.URL_NET1="competition.php?feed_type=NET1&competition=[CO]&season_id=[SE]";a.URL_NET3="competition.php?feed_type=NET3&competition=[CO]&season_id=[SE]";a.URL_NET9="?feed_type=NET9&game_id=[GA]";a.URL_BB1="competition.php?feed_type=BB1&competition=[CO]&season_id=[SE]";a.URL_BB3="competition.php?feed_type=BB3&competition=[CO]&season_id=[SE]";a.URL_BB9="?feed_type=BB9&game_id=[GA]";a.URL_BB24="?feed_type=BB24&game_id=[GA]";a.URL_BBTABLES="core.php?feed_type=opta_core&sport=basketball&method=tables&id=[CO]&type=season&tabletype=total";
  a.URL_BBH2H="core.php?feed_type=opta_core&sport=basketball&method=head2head&team_A_id=[T1]&team_B_id=[T2]";a.URL_BBMATCHES="core.php?feed_type=opta_core&sport=basketball&method=matches&id=[CO]&type=season";a.URL_BBMATCH="core.php?feed_type=opta_core&sport=basketball&method=matches&id=[GA]&type=match";a.URL_MA1COMPDATE="//api.performfeeds.com/basketballdata/match/1t97ffnd5cp761lay7ucgk9qak?_rt=c&comp=[CO]&mt.mDt=[[DF]T00:00:00ZTO[DT]T00:00:00Z]&_fmt=jsonp";a.URL_MA1FIXTURES="//api.performfeeds.com/basketballdata/match/1t97ffnd5cp761lay7ucgk9qak?_rt=c&tmcl=[SE]&_fmt=jsonp";
  a.URL_MA1STAGE="//api.performfeeds.com/basketballdata/match/1t97ffnd5cp761lay7ucgk9qak?_rt=c&stg=[ST]&_fmt=jsonp";a.URL_MA1MATCH="//api.performfeeds.com/basketballdata/match/1t97ffnd5cp761lay7ucgk9qak/[GA]?_rt=c&_fmt=jsonp";a.URL_MA2="//api.performfeeds.com/basketballdata/matchstats/1t97ffnd5cp761lay7ucgk9qak/[GA]?_rt=c&_fmt=jsonp";a.URL_MA3="//api.performfeeds.com/basketballdata/matchevent/1t97ffnd5cp761lay7ucgk9qak/[GA]?_rt=c&_fmt=jsonp";a.URL_BSBTABLES="core.php?feed_type=opta_core&sport=baseball&method=tables&id=[CO]&type=season&tabletype=total";
  a.URL_BSBH2H="core.php?feed_type=opta_core&sport=baseball&method=head2head&team_A_id=[T1]&team_B_id=[T2]";a.URL_BSBMATCHES="core.php?feed_type=opta_core&sport=baseball&method=matches&id=[CO]&type=season";a.URL_BSBMATCH="core.php?feed_type=opta_core&sport=baseball&method=matches&id=[GA]&type=match";a.URL_AFTABLES="core.php?feed_type=opta_core&sport=americanfootball&method=tables&id=[CO]&type=season&tabletype=total";a.URL_AFH2H="core.php?feed_type=opta_core&sport=americanfootball&method=head2head&team_A_id=[T1]&team_B_id=[T2]";
  a.URL_AFMATCHES="core.php?feed_type=opta_core&sport=americanfootball&method=matches&id=[CO]&type=season";a.URL_AFMATCH="core.php?feed_type=opta_core&sport=americanfootball&method=matches&id=[GA]&type=match";a.URL_IHTABLES="core.php?feed_type=opta_core&sport=hockey&method=tables&id=[CO]&type=season&tabletype=total";a.URL_IHH2H="core.php?feed_type=opta_core&sport=hockey&method=head2head&team_A_id=[T1]&team_B_id=[T2]";a.URL_IHMATCHES="core.php?feed_type=opta_core&sport=hockey&method=matches&id=[CO]&type=season";
  a.URL_IHMATCH="core.php?feed_type=opta_core&sport=hockey&method=matches&id=[GA]&type=match";a.URL_HBL1="competition.php?feed_type=HBL1&competition=[CO]&season_id=[SE]";a.URL_HBL3="competition.php?feed_type=HBL3&competition=[CO]&season_id=[SE]";a.URL_VBL1="competition.php?feed_type=VBL1&competition=[CO]&season_id=[SE]";a.URL_VBL3="competition.php?feed_type=VBL3&competition=[CO]&season_id=[SE]";a.URL_G1="competition.php?feed_type=G1&competition=[CO]&season_id=[SE]";a.URL_G2="?feed_type=g2&game_id=[GA]";
  a.URL_G2M="?feed_type=g2m&game_id=[GA]";a.URL_G15="competition.php?feed_type=G15&competition=[CO]&season_id=[SE]";$jqOpta.FeedRequest["URL_MR1-L-NT"]="?feed_type=MR1-L-NT&game_id=[GA]";$jqOpta.FeedRequest["URL_MR2-L-NT"]="?feed_type=MR2-L-NT&game_id=[GA]";a.URL_MR4="competition.php?feed_type=MR4&competition=[CO]&season_id=[SE]";a.URL_MR5="competition.php?feed_type=MR5&competition=[CO]&season_id=[SE]";a.URL_MR6="competition.php?feed_type=MR6&competition=[CO]&season_id=[SE]";a.URL_MR8="?feed_type=MR8&game_id=[GA]";
  a.URL_MR9="competition.php?feed_type=MR9&competition=[CO]&season_id=[SE]";a.URL_MR10="competition.php?feed_type=MR10&competition=[CO]&season_id=[SE]";a.URL_MR12="competition.php?feed_type=MR12&competition=[CO]&season_id=[SE]";a.URL_TAB1="competition.php?feed_type=TAB1&competition=0&season_id=[SE]";a.URL_TAB2="competition.php?feed_type=TAB2&competition=[CO]&season_id=[SE]";a.URL_TAB4="?feed_type=TAB4&game_id=[GA]";a.URL_TAB7="?feed_type=TAB7&game_id=[GA]";a.URL_TAB15="competition.php?feed_type=TAB15&competition=[CO]&season_id=[SE]";
  a.URL_OW1="//s3-eu-west-1.amazonaws.com/widget.cloud.opta.net/headlines/[CHANNEL]/[CHANNEL].json";a.URL_SHORT_COMP="[BU]assets/json/compShortNames.js";a.URL_TRANS_WIDGET="[BU]../translations_v2/[CU]/WT_[CU]_[TR]_[LN].json";a.URL_TRANS_COMP="[BU]../translations_v2/[CU]/CP_[CU]_[TR]_[LN]_[SP]_[SE].json";a.URL_TRANS_TEAM="[BU]../translations_v2/[CU]/TN_[CU]_[TR]_[LN]_[SP]_[SE]_[CO].json";a.URL_TRANS_PLAYER="[BU]../translations_v2/[CU]/PN_[CU]_[TR]_[LN]_[SP]_[SE]_[CO]_[TE].json";a.URL_TRANS_PLAYER_CHANGES=
  "[BU]../translations_v2/[CU]/changes/player/PC_[SP]_[LN].json";a.URL_TRANS_COUNTRY="[BU]../translations_v2/[CU]/CN_[CU]_[TR]_[LN].json";a.URL_TRANS_MANAGER="[BU]../translations_v2/[CU]/MA_[CU]_[TR]_[LN]_[SP]_[SE]_[CO].json";a.URL_TRANS_OFFICIAL="[BU]../translations_v2/[CU]/OF_[CU]_[TR]_[LN]_[SP]_[SE]_[CO].json";a.URL_TRANS_VENUE="[BU]../translations_v2/[CU]/VE_[CU]_[TR]_[LN]_[SP]_[SE]_[CO].json";a.URL_TRANS_TENNIS="[BU]../translations_v2/tennis/TE_[LN].json";a.URL_TRANS_HISTORICAL_COMP="[BU]../translations_v2/historical_comp/HC_[LN].json";
  a.URL_TWITTER="//widget.cloud.opta.net.s3.amazonaws.com/data/twitter/twitter_[CH].json";a.URL_VIDEOPLAYER="//widget.cloud.opta.net.s3.amazonaws.com/data/opta_videoplayer.json";a.URL_TRN_SCRIPT="";a.URL_PRF01="//opta-article.performfeeds.com/article/1t97ffnd5cp761lay7ucgk9qak?_fmt=jsonp&_rt=c";a.URL_PRF02="//opta-article.performfeeds.com/article/1t97ffnd5cp761lay7ucgk9qak/[ARTICLE_UUID]?_fmt=jsonp&_rt=c&_fld=tsr,bd,hl,pt,lut,vdo,img,ctg,kwd,pt";a.URL_PRF03="//opta-vod.performfeeds.com/vod/1t97ffnd5cp761lay7ucgk9qak/?_fmt=jsonp&_rt=c"})($jqOpta.FeedRequest);
  $jqOpta.FeedMonitor={};$jqOpta.FeedMonitor.pending_feed_requests={};$jqOpta.FeedMonitor.feeds=[];
  $jqOpta.FeedMonitor.requestFeed=function(a){var c,b,d=!0,e=(new Date).getTime();a.max_age=Math.max(/^MA/.test(a.feed_type)?15:30,a.max_age);a=$jqOpta.extend(!0,{},a);void 0!==$jqOpta.FeedMonitor.pending_feed_requests[a.url]&&(a.no_loopback=!0,$jqOpta.FeedMonitor.pending_feed_requests[a.url].additional_feed_requests.push(a),d=!1);if($jqOpta.FeedMonitor.feeds.length)for(c=0;c<$jqOpta.FeedMonitor.feeds.length;c+=1)b=$jqOpta.FeedMonitor.feeds[c],b.url===a.url&&e<b.last_request+1E3*a.max_age&&(b.data.error?
  a.promise.reject(b.data):(a.last_feed_request=b.last_request,$jqOpta.FeedMonitor.getTranslationScript(a,b.data)),d=!1);d&&($jqOpta.FeedMonitor.pending_feed_requests[a.url]=a,$jqOpta.FeedMonitor.getFeed(a))};
  $jqOpta.FeedMonitor.getFeed=function(a){var c,b={url:a.url,dataType:a.response_type||"jsonp",cache:!0,timeout:3E4,success:function(b,c,l){"script"===a.response_type?$jqOpta.FeedMonitor.storeFeed(a,b):void 0===b.response||"Error"!==b.response.substr(0,5)&&"Sorry"!==b.response.substr(0,5)?$jqOpta.FeedMonitor.decodeData(a,b):$jqOpta.FeedMonitor.failFeed(a,l,-2,b.response)},error:function(b,c,l){$jqOpta.FeedMonitor.failFeed(a,b,c,l)}};-1!==a.url.indexOf("omo.akamai.")&&(b.data={user:"owv2",psw:"wacRUs5U"},
  "script"!==a.response_type&&navigator.userAgent.match(/AppleWebKit/)&&!navigator.userAgent.match(/Chrome/)&&(c=new Date,b.data._=c.getFullYear().toString()+c.getMonth().toString()+c.getDate().toString()+c.getHours().toString()+c.getMinutes().toString()));"jsonp"!==a.response_type&&void 0!==a.response_type?(b.jsonp=void 0!==a.params.callback_name?a.params.callback_name:"jsoncallback",b.jsonpCallback=a.getFeedCallback(),$jqOpta.ajax(b)):(b.callbackParameter=void 0!==a.params.callback_name?a.params.callback_name:
  "jsoncallback",b.callback=a.getFeedCallback(),$jqOpta.jsonp(b))};
  $jqOpta.FeedMonitor.getTranslationScript=function(a,c){(function(){var b=new $jqOpta.Deferred;b.done(function(){$jqOpta["trn_"+a.trans_script_type](c,a,function(b){$jqOpta.FeedMonitor.storeFeed(a,b)})});b.fail(function(){return $jqOpta.FeedMonitor.failFeed(a,null,"error",c.message)});if(c instanceof Object&&void 0!==c.response)return b.reject();switch(a.feed_type){case "BBMATCH":case "BBMATCHES":case "BBH2H":case "FBCAREER":case "F15":case "F1":case "F1_JSON":case "F1A":case "F2":case "F24":case "F26":case "F26a":case "F27":case "F27a":case "F28":case "F3":case "F30":case "F31":case "F36":case "F40":case "F45":case "F7":case "F9":case "HBMATCHES":case "HBTABLES":case "RUF1":case "RUF3":case "RUF7":case "RUF9":case "RU23":case "VBL1":case "HBL1":case "F9_JSON":case "F30_JSON":case "F40_JSON":case "F53":case "F53a":case "F54":case "F55":case "F55o":case "F55a":case "BB1":case "BB3":case "MA1COMPDATE":case "MA1FIXTURES":case "MA1MATCH":case "MA1STAGE":case "MA2":case "MA3":a.trans_script_type=a.feed_type;
  switch(a.trans_script_type){case "F1_JSON":a.trans_script_type="F1A";break;case "F26a":a.trans_script_type="F26";break;case "F27a":a.trans_script_type="F27";break;case "F1":a.trans_script_type="F1A";break;case "RUF1":a.trans_script_type="F1A";break;case "RUF3":a.trans_script_type="F3";break;case "RUF9":a.trans_script_type="F9";break;case "F9_JSON":a.trans_script_type="F9";break;case "F30_JSON":a.trans_script_type="F30";break;case "F40_JSON":a.trans_script_type="F40";break;case "VBL1":a.trans_script_type=
  "HBL1";break;case "F55o":a.trans_script_type="F55";break;case "MA1COMPDATE":case "MA1FIXTURES":case "MA1MATCH":case "MA1STAGE":a.trans_script_type="MA1";break;case "MA3":a.trans_script_type="MA2"}if(void 0!==$jqOpta["trn_"+a.trans_script_type])return b.resolve();b=new $jqOpta.FeedRequest("TRN_SCRIPT",{},b,99999);b.response_type="script";b.feed_type="trn";b.url=$jqOpta.settings.baseUrl+"js/trn/"+a.trans_script_type+".js";$jqOpta.FeedMonitor.requestFeed(b);break;default:$jqOpta.FeedMonitor.storeFeed(a,
  c)}})()};
  $jqOpta.FeedMonitor.decodeData=function(a,c){var b=new $jqOpta.Deferred,d,e;b.done(function(){$jqOpta["bin_"+a.feed_type+"_"+e](d,a,function(b){$jqOpta.FeedMonitor.getTranslationScript(a,b)})});b.fail(function(){return $jqOpta.FeedMonitor.failFeed(a,null,"error",c.message)});if(void 0!==c.response)return b.reject();if(a.url.match(/([A-Za-z0-9\[\]]+)_packed|feedproxy/i)){c=$jqOpta.base64.decode(c.data);c=$jqOpta.teajs.decrypt(c,"P!Fgob$*LKDF D)(F IDD&P?/");c=c.toString();d=new $jqOpta.jDataView(c);d._littleEndian=
  !1;e=d.getInt8();if(void 0!==$jqOpta["bin_"+a.feed_type+"_"+e])return b.resolve();b=new $jqOpta.FeedRequest("TRN_SCRIPT",{},b,99999);b.response_type="script";b.feed_type="bin";b.url=$jqOpta.settings.baseUrl+"js/bin/"+a.feed_type+"_"+e+".js";$jqOpta.FeedMonitor.requestFeed(b)}else $jqOpta.FeedMonitor.getTranslationScript(a,c)};
  $jqOpta.FeedMonitor.storeFeed=function(a,c){var b,d,e=new $jqOpta.Feed(a,c);e.url.match(/^http\:\/\/omoproxy\.leeds\.optadev\.com/)&&(b=function(a){a=decodeURIComponent(a).split("&");var b={},c,d;for(d=0;d<a.length;d+=1)c=a[d].split("="),b[unescape(c[0])]=unescape(c[1]);return b},b=b(e.url.split("?url=")[1]),e.url=b.url);if("script"!==a.response_type){if($jqOpta.FeedMonitor.feeds.length)for(b=$jqOpta.FeedMonitor.feeds.length-1;0<=b;b-=1)d=$jqOpta.FeedMonitor.feeds[b],d.url===e.url&&$jqOpta.FeedMonitor.feeds.splice(b,
  1);$jqOpta.FeedMonitor.feeds.push(e)}a.promise.resolve(c);if($jqOpta.FeedMonitor.pending_feed_requests[a.url]&&(e=$jqOpta.FeedMonitor.pending_feed_requests[a.url],$jqOpta.FeedMonitor.pending_feed_requests[a.url]=void 0,e.additional_feed_requests.length))for(b=0;b<e.additional_feed_requests.length;b+=1)$jqOpta.FeedMonitor.getTranslationScript(e.additional_feed_requests[b],c)};
  $jqOpta.FeedMonitor.failFeed=function(a,c,b,d){var e=new $jqOpta.Feed(a,{error:b||-1,message:d||"Unknown"}),l;if("script"!==a.response_type){if($jqOpta.FeedMonitor.feeds.length)for(c=$jqOpta.FeedMonitor.feeds.length-1;0<=c;c-=1)l=$jqOpta.FeedMonitor.feeds[c],l.url===e.url&&$jqOpta.FeedMonitor.feeds.splice(c,1);$jqOpta.FeedMonitor.feeds.push(e)}a.promise.reject({error:b,message:d});if($jqOpta.FeedMonitor.pending_feed_requests[a.url]){e=$jqOpta.FeedMonitor.pending_feed_requests[a.url];if(e.additional_feed_requests.length)for(c=
  0;c<e.additional_feed_requests.length;c+=1)e.additional_feed_requests[c].promise.reject({error:b,message:d});$jqOpta.FeedMonitor.pending_feed_requests[a.url]=void 0}};$jqOpta.Feed=function(a,c){this.url=a.url;this.data=c;this.last_updated=(new Date).getTime();this.last_request=void 0!==a.last_feed_request?a.last_feed_request:(new Date).getTime()};$jqOpta.trans={};$jqOpta.trans.files={};$jqOpta.trans.data={widget:{},comps:{},teams:{},players:{},venues:{},officials:{},managers:{},countries:{},country_names:{}};
  $jqOpta.trans.load={};$jqOpta.trans.loaded={players:{},player_changes:{}};
  $jqOpta.trans.setDefaultRegion=function(a){var c;switch(a){case "ar":c="SA";break;case "ca":c="ES";break;case "de":c="DE";break;case "en":c="GB";break;case "es":c="ES";break;case "fa":c="IR";break;case "fr":c="FR";break;case "id":c="ID";break;case "it":c="IT";break;case "ja":c="JP";break;case "ko":c="KR";break;case "nl":c="NL";break;case "pl":c="PL";break;case "pt":c="PT";break;case "ru":c="RU";break;case "th":c="TH";break;case "tr":c="TR";break;case "vi":c="VN";break;case "zh":c="CN"}return c};
  $jqOpta.trans.load.widget=function(a){var c=new $jqOpta.Deferred;$jqOpta.isEmptyObject($jqOpta.trans.data.widget)?(c.done(function(a){var c=$jqOpta.trans.data;a=a.d;var e,l,p={};a=a.split("\u00a6");for(e=0;e<a.length;e+=1)l=a[e].split("|"),p[l[0]]=l[1];c.widget=p}),c.fail(function(){}),c.always(a),a=$jqOpta.trans.files["WT_"+$jqOpta.settings.customer_id+"_"+$jqOpta.settings.translation_id+"_"+$jqOpta.settings.locale.full]?{cust_id:$jqOpta.settings.customer_id,trans_id:$jqOpta.settings.translation_id,
  lang_id:$jqOpta.settings.locale.full}:{cust_id:"default",trans_id:1,lang_id:$jqOpta.settings.locale.full},c=new $jqOpta.FeedRequest($jqOpta.FeedRequest.FEED_TRANS_WIDGET,a,c,99999),$jqOpta.FeedMonitor.requestFeed(c)):a()};$jqOpta.trans.widget=function(a){return $jqOpta.trans.data.widget[a]||a};
  $jqOpta.trans.load.comps=function(a,c,b,d){var e=new $jqOpta.Deferred,l;l="default";$jqOpta.trans.files["CP_"+$jqOpta.settings.customer_id+"_"+$jqOpta.settings.translation_id+"_"+$jqOpta.settings.locale.full+"_"+a+"_"+c]||(l="default");if(void 0!==$jqOpta.trans.data.comps[a]&&void 0!==$jqOpta.trans.data.comps[a][c])b(d);else return e.done(function(b){$jqOpta.trans.data.comps[a]=$jqOpta.trans.data.comps[a]||{};var d=$jqOpta.trans.data.comps[a];b=b.d;var e,l,z={};b=b.split("\u00a6");for(e=0;e<b.length;e+=
  1)l=b[e].split("|"),z[l[0]]=new $jqOpta.trans.nameObj("COMP",{full:l[1],"short":l[2],abbr:l[3]});d[c]=z}),e.fail(function(){}),e.always(function(){b(d)}),l=new $jqOpta.FeedRequest($jqOpta.FeedRequest.FEED_TRANS_COMP,{cust_id:l,trans_id:$jqOpta.settings.translation_id||1,lang_id:$jqOpta.settings.locale.full,sport_id:a,season:c},e,99999),$jqOpta.FeedMonitor.requestFeed(l),e};
  $jqOpta.trans.comp=function(a,c,b,d){return $jqOpta.trans.data.comps[a]&&$jqOpta.trans.data.comps[a][c]&&$jqOpta.trans.data.comps[a][c][b]?$jqOpta.trans.data.comps[a][c][b]:new $jqOpta.trans.nameObj("COMP",{full:$jqOpta.trans.widget(d)})};
  $jqOpta.trans.load.teams=function(a,c,b,d,e){var l=new $jqOpta.Deferred,p="default";!$jqOpta.trans.files["TN_"+$jqOpta.settings.customer_id+"_"+$jqOpta.settings.translation_id+"_"+$jqOpta.settings.locale.full+"_"+a+"_"+c+"_"+b]&&$jqOpta.settings.locale.full&&(p="default");void 0!==$jqOpta.trans.data.teams[a]&&void 0!==$jqOpta.trans.data.teams[a][c]&&void 0!==$jqOpta.trans.data.teams[a][c][b]?d(e):(l.done(function(d){$jqOpta.trans.data.teams[a]=$jqOpta.trans.data.teams[a]||{};$jqOpta.trans.data.teams[a][c]=
  $jqOpta.trans.data.teams[a][c]||{};var e=$jqOpta.trans.data.teams[a][c];d=d.d;var l,p,y={};d=d.split("\u00a6");for(l=0;l<d.length;l+=1)p=d[l].split("|"),y[p[0]]={name:p[1]},p[2]&&(y[p[0]]["short"]=p[2]),p[3]&&(y[p[0]].abbr=p[3]);e[b]=y}),l.fail(function(){}),l.always(function(){d(e)}),l=new $jqOpta.FeedRequest($jqOpta.FeedRequest.FEED_TRANS_TEAM,{cust_id:p,trans_id:$jqOpta.settings.translation_id||1,lang_id:$jqOpta.settings.locale.full,sport_id:a,season:c,competition:b},l,99999),$jqOpta.FeedMonitor.requestFeed(l))};
  $jqOpta.trans.team=function(a,c,b,d,e){return $jqOpta.trans.data.teams[a]&&$jqOpta.trans.data.teams[a][c]&&$jqOpta.trans.data.teams[a][c][b]&&$jqOpta.trans.data.teams[a][c][b][d]?$jqOpta.trans.data.teams[a][c][b][d]:{name:$jqOpta.trn(e)}};
  $jqOpta.trans.load.players=function(a,c,b,d,e,l){var p=new $jqOpta.Deferred,s="default",r=function(a){var b,c,d={};a=a.split("\u00a6");for(b=0;b<a.length;b+=1)c=a[b].split("|"),d[c[0]]={first:c[1]||"",last:c[2]||"",full:"",known:""},c[3]&&(d[c[0]].known=c[3]),d[c[0]].first&&d[c[0]].last?d[c[0]].full=d[c[0]].first+" "+d[c[0]].last:d[c[0]].last?d[c[0]].full=d[c[0]].last:d[c[0]].first&&(d[c[0]].full=d[c[0]].first);return d};$jqOpta.trans.files["PN_"+$jqOpta.settings.customer_id+"_"+$jqOpta.settings.translation_id+
  "_"+$jqOpta.settings.locale.full+"_"+a+"_"+c+"_"+b+"_"+d]||(s="default");void 0!==$jqOpta.trans.loaded.players[a]&&!0===$jqOpta.trans.loaded.players[a][d]?e(d,l):(p.done(function(b){$jqOpta.trans.data.players[a]=$jqOpta.trans.data.players[a]||{};$jqOpta.extend($jqOpta.trans.data.players[a],r(b.d))}),p.fail(function(){}),p.always(function(){$jqOpta.trans.loaded.players[a]=$jqOpta.trans.loaded.players[a]||{};$jqOpta.trans.loaded.players[a][d]=!0;e(d,l)}),c=new $jqOpta.FeedRequest($jqOpta.FeedRequest.FEED_TRANS_PLAYER,
  {cust_id:s,trans_id:$jqOpta.settings.translation_id||1,lang_id:$jqOpta.settings.locale.full,sport_id:a,season:c,competition:b,team:d},p,99999),$jqOpta.FeedMonitor.requestFeed(c))};
  $jqOpta.trans.load.player_changes=function(a,c,b){var d=new $jqOpta.Deferred;d.done(function(b){b=b.d;var c,d,s={};b=b.split("\u00a6");for(c=0;c<b.length;c+=1)d=b[c].split("|"),s[d[0]]={first:d[1]||"",last:d[2]||"",full:"",known:""},d[3]&&(s[d[0]].known=d[3]),s[d[0]].first&&s[d[0]].last?s[d[0]].full=s[d[0]].first+" "+s[d[0]].last:s[d[0]].last?s[d[0]].full=s[d[0]].last:s[d[0]].first&&(s[d[0]].full=s[d[0]].first);$jqOpta.trans.data.players[a]=$jqOpta.trans.data.players[a]||{};$jqOpta.extend($jqOpta.trans.data.players[a],
  s)});d.fail(function(){});d.always(function(){c(b)});d=new $jqOpta.FeedRequest($jqOpta.FeedRequest.FEED_TRANS_PLAYER_CHANGES,{cust_id:"default",lang_id:$jqOpta.settings.locale.full,sport_id:a},d,300);$jqOpta.FeedMonitor.requestFeed(d)};$jqOpta.trans.player=function(a,c,b,d,e,l,p){if($jqOpta.trans.data.players[a]&&$jqOpta.trans.data.players[a][d])return $jqOpta.trans.data.players[a][d];e=e||"";l=l||"";a={is_unknown:!0,first:e,last:l,full:e+" "+l};p&&(a.known=p);return a};
  $jqOpta.trans.load.venues=function(a,c,b,d,e){var l=new $jqOpta.Deferred,p;void 0!==$jqOpta.trans.data.venues[a]&&void 0!==$jqOpta.trans.data.venues[a][c]&&void 0!==$jqOpta.trans.data.venues[a][c][b]?d(e):(l.done(function(d){$jqOpta.trans.data.venues[a]=$jqOpta.trans.data.venues[a]||{};$jqOpta.trans.data.venues[a][c]=$jqOpta.trans.data.venues[a][c]||{};var e=$jqOpta.trans.data.venues[a][c];d=d.d;var l,p,y={};d=d.split("\u00a6");for(l=0;l<d.length;l+=1)p=d[l].split("|"),y[p[0]]=p[1];e[b]=y}),l.fail(function(){}),
  l.always(function(){d(e)}),p=$jqOpta.trans.files["VE_"+$jqOpta.settings.customer_id+"_"+$jqOpta.settings.translation_id+"_"+$jqOpta.settings.locale.full]?{cust_id:$jqOpta.settings.customer_id,trans_id:$jqOpta.settings.translation_id,lang_id:$jqOpta.settings.locale.full,sport_id:a,season:c,competition:b}:{cust_id:"default",trans_id:1,lang_id:$jqOpta.settings.locale.full,sport_id:a,season:c,competition:b},l=new $jqOpta.FeedRequest($jqOpta.FeedRequest.FEED_TRANS_VENUE,p,l,99999),$jqOpta.FeedMonitor.requestFeed(l))};
  $jqOpta.trans.venue=function(a,c,b,d,e){return $jqOpta.trans.data.venues[a]&&$jqOpta.trans.data.venues[a][c]&&$jqOpta.trans.data.venues[a][c][b]&&$jqOpta.trans.data.venues[a][c][b][d]?$jqOpta.trans.data.venues[a][c][b][d]:$jqOpta.trn(e)};
  $jqOpta.trans.load.officials=function(a,c,b,d,e){var l=new $jqOpta.Deferred,p;void 0!==$jqOpta.trans.data.officials[a]&&void 0!==$jqOpta.trans.data.officials[a][c]&&void 0!==$jqOpta.trans.data.officials[a][c][b]?d(e):(l.done(function(d){$jqOpta.trans.data.officials[a]=$jqOpta.trans.data.officials[a]||{};$jqOpta.trans.data.officials[a][c]=$jqOpta.trans.data.officials[a][c]||{};var e=$jqOpta.trans.data.officials[a][c];d=d.d;var l,p,y,B={};d=d.split("\u00a6");for(l=0;l<d.length;l+=1)if(y=d[l].split("|"),
  null!==y[1]||void 0!==y[1])p=void 0!==y[1]&&y[1].match(/^(\S+)\s(.*)/)?y[1].match(/^(\S+)\s(.*)/).slice(1):[y[1],""],B[y[0]]={first:p[0],last:p[1],full:y[1]};e[b]=B}),l.fail(function(){}),l.always(function(){d(e)}),p=$jqOpta.trans.files["OF_"+$jqOpta.settings.customer_id+"_"+$jqOpta.settings.translation_id+"_"+$jqOpta.settings.locale.full]?{cust_id:$jqOpta.settings.customer_id,trans_id:$jqOpta.settings.translation_id,lang_id:$jqOpta.settings.locale.full,sport_id:a,season:c,competition:b}:{cust_id:"default",
  trans_id:1,lang_id:$jqOpta.settings.locale.full,sport_id:a,season:c,competition:b},l=new $jqOpta.FeedRequest($jqOpta.FeedRequest.FEED_TRANS_OFFICIAL,p,l,99999),$jqOpta.FeedMonitor.requestFeed(l))};
  $jqOpta.trans.official=function(a,c,b,d,e){var l=(e||"").match(/^(\S+)\s(.*)/),l=null!==l?l.slice(1):["",e];return $jqOpta.trans.data.officials[a]&&$jqOpta.trans.data.officials[a][c]&&$jqOpta.trans.data.officials[a][c][b]&&$jqOpta.trans.data.officials[a][c][b][d]?$jqOpta.trans.data.officials[a][c][b][d]:{first:l[0]||"",last:l[1]||"",full:e||""}};
  $jqOpta.trans.load.managers=function(a,c,b,d,e){var l=new $jqOpta.Deferred,p;void 0!==$jqOpta.trans.data.managers[a]&&void 0!==$jqOpta.trans.data.managers[a][c]&&void 0!==$jqOpta.trans.data.managers[a][c][b]?d(e):(l.done(function(d){$jqOpta.trans.data.managers[a]=$jqOpta.trans.data.managers[a]||{};$jqOpta.trans.data.managers[a][c]=$jqOpta.trans.data.managers[a][c]||{};var e=$jqOpta.trans.data.managers[a][c];d=d.d;var l,p,y={};d=d.split("\u00a6");for(l=0;l<d.length;l+=1)p=d[l].split("|"),y[p[0]]={first:p[1],
  last:p[2],full:p[1]+" "+p[2]};e[b]=y}),l.fail(function(){}),l.always(function(){d(e)}),p=$jqOpta.trans.files["MA_"+$jqOpta.settings.customer_id+"_"+$jqOpta.settings.translation_id+"_"+$jqOpta.settings.locale.full]?{cust_id:$jqOpta.settings.customer_id,trans_id:$jqOpta.settings.translation_id,lang_id:$jqOpta.settings.locale.full,sport_id:a,season:c,competition:b}:{cust_id:"default",trans_id:1,lang_id:$jqOpta.settings.locale.full,sport_id:a,season:c,competition:b},l=new $jqOpta.FeedRequest($jqOpta.FeedRequest.FEED_TRANS_MANAGER,
  p,l,99999),$jqOpta.FeedMonitor.requestFeed(l))};$jqOpta.trans.manager=function(a,c,b,d,e){return $jqOpta.trans.data.managers[a]&&$jqOpta.trans.data.managers[a][c]&&$jqOpta.trans.data.managers[a][c][b]&&$jqOpta.trans.data.managers[a][c][b][d]?$jqOpta.trans.data.managers[a][c][b][d]:{first:e.first||"",last:e.last||"",full:e.full||e.first+" "+e.last}};
  $jqOpta.trans.load.countries=function(a,c){var b=new $jqOpta.Deferred,d;$jqOpta.isEmptyObject($jqOpta.trans.data.countries)?(b.done(function(a){var b=$jqOpta.trans.data;a=a.d;var c,d,r={};a=a.split("\u00a6");for(c=0;c<a.length;c+=1)d=a[c].split("|"),r[d[0]]={enName:d[1],name:d[2]||d[1]},$jqOpta.trans.data.country_names[d[1]]=d[2]||d[1];b.countries=r}),b.fail(function(){}),b.always(function(){a(c)}),d=$jqOpta.trans.files["CN_"+$jqOpta.settings.customer_id+"_"+$jqOpta.settings.translation_id+"_"+$jqOpta.settings.locale.full]?
  {cust_id:$jqOpta.settings.customer_id,trans_id:$jqOpta.settings.translation_id,lang_id:$jqOpta.settings.locale.full}:{cust_id:"default",trans_id:1,lang_id:$jqOpta.settings.locale.full},b=new $jqOpta.FeedRequest($jqOpta.FeedRequest.FEED_TRANS_COUNTRY,d,b,99999),$jqOpta.FeedMonitor.requestFeed(b)):a(c)};$jqOpta.trans.country=function(a,c){return $jqOpta.trans.data.countries[a]||$jqOpta.trn(c)};$jqOpta.trans.country_name=function(a){return $jqOpta.trans.data.country_names[a]||$jqOpta.trn(a)};
  $jqOpta.trans.nameObj=function(a,c){this.type=a;this.full=c.full;this["short"]=c["short"];this.abbr=c.abbr};$jqOpta.trans.nameObj.prototype.getName=function(a){switch(this.type){case "COMP":switch(a){case "abbr":return this.abbr||this["short"]||this.full;case "short":return this["short"]||this.full;default:return this.full}}};
  (function(a){a.StorageItem=function(a){this.prefix=void 0===a.prefix?"OPTAV2":a.prefix;this.key=a.key;this.data=a.data;this.expiry=a.expiry||(new Date).getTime()};a.StorageItem.prototype.getKey=function(){return this.prefix+":"+this.key};a.StorageItem.prototype.toString=function(){return JSON.stringify({d:this.data,e:this.expiry})};a.StorageItem.prototype.hasExpired=function(){return(new Date).getTime()>=this.expiry};a.StorageItem.prototype.save=function(){this.key&&(a.hasLocalStorage?localStorage.setItem(this.getKey(),
  this):this.createCookie())};a.StorageItem.prototype.load=function(c){var b;(b=a.hasLocalStorage?localStorage.getItem(this.getKey()):this.readCookie())?(b=a.parseJSON(b),this.data=b.d,this.expiry=b.e,this.hasExpired()?(c&&this.remove(),c=null):c=this.data):c=b;return c};a.StorageItem.prototype.remove=function(){a.hasLocalStorage?localStorage.removeItem(this.getKey()):(this.data=null,this.expiry=(new Date).getTime()-864E5,this.createCookie())};a.StorageItem.prototype.createCookie=function(){var a=null!==
  this.data?encodeURIComponent(this):"";document.cookie=this.getKey()+"="+a+"; expires="+(new Date(this.expiry)).toGMTString()+"; path=/"};a.StorageItem.prototype.readCookie=function(){var a=document.cookie.split("; "),b=a.length,d,e;for(e=0;e<b;e+=1)if(d=a[e].split("="),d[0]===this.getKey())return decodeURIComponent(d[1]);return null};a.StorageItem.prototype.removeCookie=function(){this.createCookie(this.getKey(),void 0,-86400)};a.storage={setItem:function(c,b,d,e){d=d||7200;return(new a.StorageItem({prefix:e,
  key:c,data:b,expiry:(new Date).getTime()+1E3*d})).save()},getItem:function(c,b,d){c=new a.StorageItem({key:c,prefix:b});void 0===d&&(d=!0);return c.load(d)},removeItem:function(c,b){return(new a.StorageItem({key:c,prefix:b})).remove()}}})($jqOpta);
  $jqOpta.utils={loadModels:function(a){var c=$jqOpta.Deferred(),b,d=0,e=function(){d+=1;d>=b&&(c.resolve(),"function"===typeof a.success&&a.success(d))},l=function(b,d,e){c.reject();"function"===typeof a.error&&a.error(b,d,e)};"string"===typeof a&&(a=$jqOpta.utils.fixSingle(a));a instanceof Array&&(a={models:a});b=a.models.length;$jqOpta._.each(a.models,function(a){$jqOpta.ajax({url:$jqOpta.settings.baseUrl+"js/model/"+a+".model.js",dataType:"script",cache:!0}).done(e).fail(l)});return c},loadComponents:function(a){var c=
  $jqOpta,b=c.Deferred(),d,e=0,l=function(){e+=1;e>=d&&(b.resolve(),"function"===typeof a.success&&a.success(e))},p=function(c,d,e){b.reject();"function"===typeof a.error&&a.error(c,d,e)};"string"===typeof a&&(a=c.utils.fixSingle(a));a instanceof Array&&(a={components:a});d=a.components.length;c._.each(a.components,function(a){c.ajax({url:c.settings.baseUrl+"js/components/"+a+".js",dataType:"script",cache:!0}).done(l).fail(p)});return b},findMatch:function(a,c){var b,d,e;a="g"+Number(a);c=$jqOpta.utils.fixSingle(c);
  b=c.length;for(d=0;d<b;d+=1)if(e=c[d],e["@attributes"].uID===a)return e},tableSort:function(a,c){var b=[],d={},e=$jqOpta(a+" table.tablesorter"),l,p=[];1===e.length&&(c=void 0===c?"desc":c,l="asc"===c?0:1,e.find("thead tr th").each(function(a,c){if($jqOpta(c).hasClass("opta-sortable")){d['"'+a+'"']={sorter:!0};var e=$jqOpta(c).html();$jqOpta(c).html("<span>"+e+"</span>");$jqOpta(c).hasClass("opta-sortable-last-name")}else $jqOpta(c).addClass("sorter-false");$jqOpta(c).hasClass("opta-sortable-default")&&
  0===b.length&&(p=[],p.push(a),p.push(l),b.push(p))}),e.tablesorter({headers:d,sortInitialOrder:c,sortList:0<b.length?b:void 0}))},playAccordion:function(a,c,b,d,e,l,p,s){var r=null!==$jqOpta.readCookie(a);$jqOpta(c).each(function(){var c=$jqOpta(this).find(b),z=$jqOpta(this).find(d),y=l||"slow",B=a+"-"+c.parent().index(),F=$jqOpta.readCookie(B),C=function(){var b=!1;$jqOpta.createCookie(a,1);e&&$jqOpta(z).find("opta").each(function(){var a=$jqOpta(this),d=a.attr("widget"),d=a.attr("sub")?d+"_"+a.attr("sub"):
  d,e=function(){z.slideDown(y);c.removeClass("loading");c.addClass("expanded")};b=!0;$jqOpta.events.subscribe("widget."+d+".load",e);$jqOpta.events.subscribe("widget."+d+".error",e);p&&""===a.attr("width")&&a.attr("width",$jqOpta(p).width());"false"===a.attr("load")&&a.attr("load","true")});b?(c.removeClass("collapsed"),c.addClass("loading"),$jqOpta.widgetStart(_optaParams)):c.hasClass("expanded")?(z.slideUp(y),c.removeClass("expanded"),c.addClass("collapsed"),$jqOpta.createCookie(B,"-")):(z.slideDown(y),
  c.removeClass("collapsed"),c.addClass("expanded"),$jqOpta.createCookie(B,"+"))};c.click(function(a){a.preventDefault();C()});!0!==s&&("+"===F||!1===r&&c.hasClass("expanded")?(y=0,c.removeClass("expanded"),C(),y=l||"slow"):c.removeClass("expanded"))})},setAccordionCookies:function(a,c,b){var d=function(a){"-"!==$jqOpta.readCookie(c+"-"+a)&&$jqOpta.createCookie(c+"-"+a,"+")};void 0!==a&&"false"!==a&&null===$jqOpta.readCookie(c)&&($jqOpta.createCookie(c,1),"true"===a?$jqOpta._.each($jqOpta._.range(b),
  d):(a=Number(a)-1,d(a)))},dates:function(a){var c=a.date_obj||Date.parseExact(a.date_str,a.date_format),b;a.utc_offset&&c.add(a.utc_offset).hours();switch(a.tz){case "BST":c=c.add(-1).hours()}b=new Date(c.getTime()+-6E4*c.getTimezoneOffset());a=(new Date(c)).add(a.user_offset||0).hours().add(a.timezone).hours();return{utc:c,locale:b,user:a}},castParams:function(a){var c={};$jqOpta._.each(a,function(a,d){c[d]="true"===a?!0:"false"===a?!1:"0"===a?0:"1"===a?1:Number(a)||a});return c},castVal:function(a){return"true"===
  a?!0:"false"===a?!1:"0"===a?0:"1"===a?1:Number(a)||a}};$jqOpta.abbr=function(a,c,b){return void 0===b?'<abbr title="'+$jqOpta.trn(a)+'">'+$jqOpta.trn(c)+"</abbr>":'<abbr title="'+$jqOpta.trn(a)+'" class="'+b+'">'+$jqOpta.trn(c)+"</abbr>"};$jqOpta.trn=$jqOpta.trans.widget;$jqOpta.pad2=function(a,c){void 0!==c&&100>Number(a)&&(a="0"+a);10>Number(a)&&(a="0"+a);return a};
  $jqOpta.rtrn=function(a,c,b){var d;a=RegExp(a,c);for(d in $jqOpta.lang)if($jqOpta.lang.hasOwnProperty(d)&&d.match(a)){b=$jqOpta.lang[d];break}return b};$jqOpta.createCookie=function(a,c,b,d){var e=$jqOpta;!0!==b||d||(d=7200);/^(.+)\[(.+)\]$/.test(a)?(a=a.match(/^(.+)\[(.+)\]$/),b=e.readCookie(a[1])||{},b[a[2]]=c,e.storage.setItem(a[1],b,d)):e.storage.setItem(a,c,d)};
  $jqOpta.readCookie=function(a){var c=$jqOpta;return/^(.+)\[(.+)\]$/.test(a)?(a=a.match(/^(.+)\[(.+)\]$/),(c.storage.getItem(a[1])||{})[a[2]]||null):c.storage.getItem(a)||null};$jqOpta.readCookieArray=function(a){a=$jqOpta.readCookie(a);return a=$jqOpta._.map(a,function(a,b){return[b,a]})};$jqOpta.readCookieArrayObj=$jqOpta.readCookie;$jqOpta.cookieIsSet=function(a,c){return $jqOpta.readCookie(a)===c?!0:!1};$jqOpta.getRandy=function(a){void 0===a&&(a="10000000000");return Math.ceil(Math.random()*a)};
  $jqOpta.rndNum=function(a){var c,b="",d=$jqOpta.settings.number_format||[],e=/(\d+)(\d{3})/;if(void 0===a||!$jqOpta.isNum(Number(a)))return 0;a=String(a).split(".");c=a[0];1<a.length&&(b="en"===$jqOpta.settings.language?d[1]||".":d[1]||",",b+=a[1]);for(;e.test(c);)c="en"===$jqOpta.settings.language?c.replace(e,"$1"+(d[0]||",")+"$2"):c.replace(e,"$1"+(d[0]||".")+"$2");return c+b};$jqOpta.isNum=function(a){return!isNaN(parseFloat(a))&&isFinite(a)};
  $jqOpta.cmToFtIn=function(a){a=0.032808399*parseInt(a,10);return{ft:Math.floor(a),"in":Math.floor(a%1*12)}};$jqOpta.cmToM=function(a){return Math.round(parseInt(a,10)/100*100)/100};$jqOpta.kgToLbs=function(a){return Math.round(2.20462262*parseInt(a,10))};$jqOpta.intval=function(a,c){var b;b=typeof a;return"boolean"===b?+a:"string"===b?(b=parseInt(a,c||10),isNaN(b)||!isFinite(b)?0:b):"number"===b&&isFinite(a)?a||0:0};
  $jqOpta.loadError=function(a,c){var b=c||{},d=b.title||$jqOpta.trn("Data is not available yet!"),e=b.message||$jqOpta.trn("Data is not available yet!");$jqOpta.displayWidget(a,'<h2 class="opta-error"><span>'+d+'</span></h2><div class="opta-error '+(b.divClass||a.data.widget)+'"><p class="opta-widget-error">'+e+"</p></div>",void 0!==b.first_time?b.first_time:!0,"errorMsgDialog");$jqOpta.events.trigger.error(a,"load_fail","Widget failed to load")};
  $jqOpta.cloneObj=function(a){var c,b;if(null===a||"object"!==typeof a)return a;c=a.constructor();for(b in a)a.hasOwnProperty(b)&&(c[b]=a[b]);return c};$jqOpta.imageDims=function(a,c){void 0!==c&&(/x/g.test(a)?"small"===c?a="20x30":"medium"===c?a="40x60":"large"===c&&(a="103x155"):"small"===c?a="20":"medium"===c?a="65":"large"===c&&(a="150"));return a};
  $jqOpta.calcTime=function(a,c){var b,d=Number(a);switch(c){case "1":case "FirstHalf":b=45<d?"45+"+(d-45).toString():a;break;case "2":case "SecondHalf":b=90<d?"90+"+(d-90).toString():a;break;case "3":case "ExtraFirstHalf":b=105<d?"105+"+(d-105).toString():a;break;case "4":case "ExtraSecondHalf":b=120<d?"120+"+(d-120).toString():a;break;case "5":case "ShootOut":b=a}return b};
  $jqOpta.img=function(a,c,b,d,e){switch(c){case "flags":return $jqOpta.settings.imageUrl+"&sport=football&entity=flags&description=countries&dimensions="+d+"&id="+e;case "icons":return $jqOpta.settings.imageUrl+"&sport="+a+"&entity=icons&description="+b+"&dimensions="+d+"&id="+e+"#id="+e;default:return $jqOpta.settings.imageUrl+"&sport="+a+"&entity="+c+"&description="+b+"&dimensions="+d+"&id="+e}};
  $jqOpta.utils.isRetina=function(){void 0===$jqOpta.is_retina&&(1<window.devicePixelRatio?$jqOpta.is_retina=!0:window.matchMedia&&window.matchMedia("(-webkit-min-device-pixel-ratio: 1.5),(min--moz-device-pixel-ratio: 1.5),(-o-min-device-pixel-ratio: 3/2),(min-resolution: 1.5dppx)").matches?$jqOpta.is_retina=!0:$jqOpta.is_retina=!1);return $jqOpta.is_retina};
  $jqOpta.image=function(a){var c=function(b){b=(b||"").toString();switch(a.type){case "team":switch(b){case "20":return 65;case "65":return 150;case "150":if($jqOpta._.contains([22,87],Number(a.widget.data.competition)))return 300}break;case "player":switch(b){case "20x30":return"40x60";case "40x60":return"103x155"}}return b};a.is_retina=!0===$jqOpta.settings.use_retina&&$jqOpta.utils.isRetina()&&void 0===a.widget.data.image_size;a.size=$jqOpta.imageDims(a.size,a.widget.data.image_size);a.classes=
  a.classes||"";a.is_retina&&!0!==a.no_retina&&(a.original_size=a.size,a.size=c(a.original_size),a.classes+=" image-"+a.type+"-"+a.original_size);a:switch(a.type){case "flags":c=$jqOpta.settings.imageUrl+"&sport=football&entity=flags&description=countries&dimensions="+dims+"&id="+a.id;break a;default:if(!a.description)switch(a.type){case "team":a.description="badges"}c=$jqOpta.settings.imageUrl+"&sport="+(a.sport||a.widget.data.sport)+"&entity="+a.type+"&description="+a.description+"&dimensions="+a.size+
  "&id="+a.id}a.src=c;a.toString=function(){h="";h='<img src="'+a.src+'"';a.dom_id&&(h+=' id="'+a.dom_id+'"');a.alt&&(h+=' alt="'+a.alt+'"');a.title&&(h+=' title="'+a.title+'"');a.classes&&""!==a.classes&&(h+=' class="'+a.classes+'"');a.width&&(h+=' width="'+a.width+'"');a.height&&(h+=' height="'+a.height+'"');return h+=">"};return a};$jqOpta.imgError=function(){};
  $jqOpta.enableLinkTracking=function(a){var c=function(a){a=a.split("&");var c={},e,l;for(l=0;l<a.length;l+=1)e=a[l].split("="),c[decodeURI(e[0])]=decodeURI(e[1]);return c};$jqOpta("#opta-widget-idx-"+a.id+" a.opta-event-link").on("click",function(){var b=$jqOpta(this),d=b.attr("href").split("?"),d=c(d[1]);$jqOpta.trackGAEvent({sport:a.data.sport,widget:a.data.widget,action:b.data("type")+"_link",comp:d.competition,season:d.season,extra:[{key:"match",value:d.match}]});$jqOpta.doTimeout(300,function(){window.location=
  b.attr("href")});return!1})};$jqOpta.dumpTags=function(){var a,c="";for(a=0;a<$jqOpta.optaTags.length;a+=1)c+=$jqOpta.optaTags[a].tag+"\n\n";return c};
  $jqOpta.getSportId=function(a){switch(a){case "football":return 1;case "knockout":return 1;case "rugby":return 2;case "cricket":return 3;case "golf":return 4;case "rugbyleague":return 5;case "motorsport":return 6;case "basketball":return 7;case "basketballsd":return 98;case "tennis":return 8;case "futsal":return 9;case "handball":return 11;case "icehockey":return 14;case "volleyball":return 17;case "cycling":return 18;case "mixed":return 19;case "afl":return 20;case "netball":return 21;case "americanfootball":return 51;
  case "baseball":return 52;default:return!1}};$jqOpta.getPlayers=function(a,c,b,d,e){var l,p=[],s;new $jqOpta.Deferred;d instanceof Array||(d=[d]);for(l=0;l<d.length;l+=1)s={sport:a,competition:c,season:b,team:d[l]},p.push({feedType:"FEED_PLAYERS",feedData:"",feedParams:s,feedLife:3600});$jqOpta.getFeeds(function(){var a={},b,c;for(b=0;b<$jqOpta.feedData[99].length;b+=1)for(c=0;c<$jqOpta.feedData[99][b].teams.length;c+=1)a=$jqOpta.extend(a,$jqOpta.feedData[99][b].teams[c].players);e(a)},p,99)};
  $jqOpta.getTeams=function(a,c,b,d){var e,l=[],p;new $jqOpta.Deferred;c instanceof Array||(c=[c]);for(e=0;e<c.length;e+=1)p={sport:a,competition:c[e],season:b},l.push({feedType:"FEED_TEAM",feedData:"",feedParams:p,feedLife:9999});$jqOpta.getFeeds(function(){var a={},b,c,e,l;for(b=0;b<$jqOpta.feedData[98].length;b+=1)for(e=$jqOpta.feedData[98][b].d,e=e.split("\u00a6"),c=0;c<e.length;c+=1)l=e[c].split("|"),a[l[0]]={name:l[1]},l[2]&&(a[l[0]]["short"]=l[2]),l[3]&&(a[l[0]].abbr=l[3]);d(a)},l,98)};
  $jqOpta.getPlayersNew=function(a,c,b,d,e){new $jqOpta.Deferred;$jqOpta.getFeeds(function(){var a={},b,c,d,w;for(b=0;b<$jqOpta.feedData[97].length;b+=1)for(d=$jqOpta.feedData[97][b].d,d=d.split("\u00a6"),c=0;c<d.length;c+=1)w=d[c].split("|"),a[w[0]]={first:w[1],last:w[2]},w[3]&&(a[w[0]]["short"]=w[3]),w[4]&&(a[w[0]].known=w[4]);e(a)},[{feedType:"FEED_PLAYER",feedData:"",feedParams:{sport:a,competition:c,season:b,team:d},feedLife:9999}],97)};$jqOpta.isRTL=function(){return $jqOpta.settings.locale.rtl};
  $jqOpta.utils.binary={};$jqOpta.utils.binary.intToDate=function(a){return new Date(Number(a+"000"))};
  $jqOpta.utils.dateFromIso=function(a,c){var b=new Date(a),d,e,l;void 0!==c&&(b.add(c+$jqOpta.gmtOffset).hours(),b.add(b.getTimezoneOffset()).minutes());if(!isNaN(b))return b;e=/^(\d{4}\-\d\d\-\d\d([tT][\d:\.]*)?)([zZ]|([+\-])(\d\d):(\d\d))?$/.exec(a)||[];if(e[1]){b=e[1].split(/\D/);d=0;for(l=b.length;d<l;d+=1)b[d]=parseInt(b[d],10)||0;b[1]-=1;b=new Date(Date.UTC.apply(Date,b));if(!b.getDate())return new Date(NaN);e[5]&&(d=60*parseInt(e[5],10),e[6]&&(d+=parseInt(e[6],10)),"+"===e[4]&&(d*=-1),d&&b.setUTCMinutes(b.getUTCMinutes()+
  d),void 0!==c&&(b.add(c+$jqOpta.gmtOffset).hours(),b.add(b.getTimezoneOffset()).minutes()));return b}return new Date(NaN)};
  $jqOpta.utils.nth=function(a,c){var b=a.toString(),d,e=function(a){return void 0===c?$jqOpta.trn("nth ("+a+")"):"<"+c+">"+$jqOpta.trn("nth ("+a+")")+"</"+c+">"};if("en"===$jqOpta.settings.language){if(1<b.length){d=b.substr(-2);switch(d){case "11":case "12":case "13":return b+e("th")}d=b.substr(-1)}else d=b;switch(d){case "1":return b+e("st");case "2":return b+e("nd");case "3":return b+e("rd");default:return b+e("th")}}switch(b){case "1":return b+e("st");case "2":return b+e("nd");case "3":return"3"+
  e("rd");default:return b+e("th")}};$jqOpta.utils.pad=function(a,c){var b,d;a+="";d=c-a.length;for(b=0;b<d;b+=1)a="0"+a;return a};$jqOpta.utils.fixSingle=function(a){if(void 0===a)return[];a instanceof Array||(a=[a]);return a};$jqOpta.utils.translateText=function(a){var c,b={};for(c in a)a.hasOwnProperty(c)&&(b[c]=a[c]instanceof Array?$jqOpta.abbr(a[c][0],a[c][1],a[c][2]):$jqOpta.trn(a[c]));return b};
  $jqOpta.externalLink=function(a,c,b,d,e,l,p,s,r,w,z){var y="",B=function(b,c){""!==c&&void 0!==c&&(y=""===y?-1<a.indexOf("?")?y+"&":y+"?":y+"&",y+=b+"="+c)};if(!a)return b;B("season",d);B("competition",e);B("match",l);B("team",p);B("player",s);""!==c&&(c+=" ");!1!==r&&(c+="external-link");d='<a href="'+a+y+'"';""!==c&&(d+=' class="'+c+'"');w&&(d+=' title="'+w+'"');return z?a+y:d+(">"+b+"</a>")};
  $jqOpta.permittedWidget=function(a,c,b,d){return void 0!==$jqOpta.permittedWidgets[a]&&void 0!==$jqOpta.permittedWidgets[a][c]&&(!0===$jqOpta.permittedWidgets[a][c][b]||$jqOpta.permittedWidgets[a][c][b]instanceof Object&&!0===$jqOpta.permittedWidgets[a][c][b][d])};$jqOpta.utils.tracabStatFix=function(a,c){switch(c.charAt(0)){case "i":case "f":"string"===typeof a&&(a=Number(a.replace(",",".")));break;case "b":"boolean"!==typeof a&&(a="true"===a?!0:!1)}return a};
  $jqOpta.tabby=function(a,c,b,d){$jqOpta(a).each(function(){var a=$jqOpta(this).find(c),l=$jqOpta(this).find(b);a.length===l.length&&a.each(function(b){var c=$jqOpta(this);c.click(function(r){$jqOpta.events.trigger.tabby(this,d);r.preventDefault();a.removeClass("selected");c.addClass("selected");l.removeClass("selected");$jqOpta(l[b]).addClass("selected");l.hide();$jqOpta(l[b]).show()});0===b&&c.click()})})};
  $jqOpta.actRadio=function(a,c,b,d){$jqOpta(c).each(function(){var e=$jqOpta(this).find('input[type="radio"]'),l=c.split(" "),p=a+"-"+b+"-"+l[0].substring(1),s=$jqOpta.readCookie(p),r=[];e.each(function(){var a=this.value;r.push(a);null===s&&$jqOpta(this).attr("checked")&&(s=a);$jqOpta(this).click(function(){$jqOpta.events.trigger.radioTab(this,d);$jqOpta._.each(r,function(a){$jqOpta(c).find("."+a).hide()});$jqOpta(c+" ."+a).show();$jqOpta.createCookie(p,a)})});e.each(function(){this.value===s&&this.click()})})};
  $jqOpta.utils.widthFromString=function(a){return void 0===a||void 0===a.length||2>a.length?0:Number(a.substr(0,a.length-2))};$jqOpta.utils.trimSplit=function(a,c){var b=[];void 0!==a&&$jqOpta._.each(a.split(c),function(a){b.push($jqOpta.trim(a))});return b};
  $jqOpta.utils.isPlaceholderTeam=function(a,c){var b=[];a=Number(a);switch(c||1){case 1:b=[1908,1909,1910,1911,1912,1913,1914,1915,1932,1933,1934,1935,1936,1937,2517,2519,2518,2520,1938,1939,5550,5551,5552,5553,5554,5555,5556,5557,1916,1917,1918,1919,1920,1921,1922,1923,5370,5371,5372,5373,5374,5375,5376,5377,5378,5379,5380,5381,5382,5383,5384,5385,5386,5387,5388,5389,5390,5391,5392,5393,5394,5395,5996,5397,5398,5399,5400,10852,10851,10853,10855,10856,10857,10854,10858,9156,9155,9153,9154,10773,10774,
  7977,7978,7979,7980]}return-1!==$jqOpta._.indexOf(b,a)};
  (function(a){a.binary={tsToDate:function(a){a=new Date(1E3*a);return{locale:a,utc:new Date(a.getTime()+6E4*a.getTimezoneOffset())}},readString:function(a){for(var b="",d;;){d=a.getChar();if(0===d.charCodeAt(0))break;b+=d}return decodeURIComponent(escape(b))},getPlayerPosition:function(a,b){switch(a){case 1:return"Goalkeeper";case 2:return"Defender";case 3:return"Midfielder";case 4:return"F9"===b?"Striker":"Forward";case 5:return"Substitute";default:return a}},getMatchStatus:function(a){switch(a){case 0:return"Abandoned";
  case 1:return"Postponed";case 2:return"PreMatch";case 3:return"Live";case 4:return"FullTime";default:return a}},getGameState:function(a){switch(a){case 1:return"PreMatch";case 4:return"First Half";case 5:return"Half Time";case 6:return"Second Half";case 7:return"Extra Time";case 8:return"Extra First Half";case 9:return"Extra Half Time";case 10:return"Extra Second Half";case 11:return"Full Time";case 12:return"Penalty Shootout";case 13:return"PostMatch";case 14:return"Abandoned";default:return a}},
  getEventPeriod:function(a){switch(a){case 15:return"PreMatch";case 1:return"FirstHalf";case 10:return"HalfTime";case 2:return"SecondHalf";case 11:return"SecondHalf";case 3:return"ExtraFirstHalf";case 12:return"ExtraHalfTime";case 4:return"ExtraSecondHalf";case 13:return"ExtraSecondHalf";case 5:return"ShootOut";case 14:return"FullTime";case 16:return"PreMatch";default:return a}},getMatchPeriod:function(a){switch(a){case 1:return"FirstHalf";case 2:return"SecondHalf";case 3:return"ExtraFirstHalf";case 4:return"ExtraSecondHalf";
  case 5:return"ShootOut";default:return a}},getQualifier:function(a){switch(a){case 10:return"Hand";case 11:return"6-seconds violation";case 12:return"Dangerous play";case 13:return"Foul";case 31:return"Yellow";case 32:return"SecondYellow";case 33:return"StraightRed";case 34:return"Referee abuse";case 35:return"Argument";case 36:return"Fight";case 37:return"Time wasting";case 39:return"Crowd interaction";case 40:return"Other";case 41:return"Injury";case 42:return"Tactical";case 91:return"Dive";case 93:return"Dive";
  case 132:return"Dive";case 142:return"Flag to Checker";case 158:return"Persistent Infringement";case 159:return"Foul and Abusive Language";case 161:return"Encroachment";case 162:return"Leaving field";case 163:return"Entering field";case 164:return"Spitting";case 165:return"Professional foul";case 166:return"Handling on the line";case 171:return"Rescinded Card";case 172:return"No impact on timing";case 184:return"Dissent";case 189:return"Not visible";case 191:return"Off the ball foul";case 243:return"Unsporting behaviour";
  case 244:return"Not Retreating";case 245:return"Serious Foul";case 283:return"Coach ID";case 289:return"Denied goal-scoring opportunity";default:return a}},getGroup:function(a){switch(a){case 1:return"A";case 2:return"B";case 3:return"C";case 4:return"D";case 5:return"E";case 6:return"F";case 7:return"G";case 8:return"H";case 9:return"1";case 10:return"2";case 11:return"3";case 12:return"4";case 13:return"5";case 14:return"6";case 15:return"7";case 16:return"8";case 17:return"9";case 18:return"10";
  case 19:return"East";case 20:return"West";case 21:return"11";case 22:return"12";case 23:return"I";case 25:return"J";case 26:return"K";case 27:return"L";default:return a}},getCoachType:function(a){switch(a){case 1:return"Manager";case 2:return"Assistant Manager";default:return a}}}})($jqOpta);
  $jqOpta.checkPermissions=function(){var a,c;console.info("Checking "+window.location.hostname);for(a=0;a<$jqOpta.optaTags.length;a+=1)c=$jqOpta.optaTags[a].data.sport+" "+$jqOpta.optaTags[a].data.widget+"(C:"+$jqOpta.optaTags[a].data.competition+")",$jqOpta.optaTags[a].permitted?console.info("OK: "+c):console.error("DENIED: "+c);$jqOpta.dmok?console.info("OK: Website permitted to use widgets."):console.error("DENIED: Website not permitted to use widgets.");return $jqOpta.settings.custID};
  $jqOpta.callbacks={};
  $jqOpta.callbacks.tooltip=function(a,c,b){var d,e=c.widget;void 0!==c.sub&&(e+="_"+c.sub);if(void 0===_optaParams.callbackSettings||void 0===_optaParams.callbackSettings.tooltip||-1<$jqOpta.inArray(e,_optaParams.callbackSettings.tooltip))0===$jqOpta("#opta-widget-idx-"+b+" div.opta-tooltip").length?(d=$jqOpta("<div></div>").addClass("opta-tooltip").addClass("opta-tooltip-"+e),$jqOpta("#opta-widget-idx-"+b).append(d)):d=$jqOpta("#opta-widget-idx-"+b+" div.opta-tooltip").hide(),$jqOpta("#opta-widget-idx-"+
  b+" .jqtip").each(function(){var a=$jqOpta(this),b;void 0===a.data("title")?(b=a.attr("title"),a.attr("title",""),a.data("title",b)):b=a.data("title");a.hover(function(c){var r;r=b.split(": ");var w;2===r.length?w="<span>"+r[0]+":</span> "+r[1]:"teamranking"===e?(w="<span>"+r[0]+"</span>",r[1]&&(w+=r[1])):"bettingteamstats"===e||"bettingheadtohead"===e?(r=b.split(":"),w=2===r.length?r[1].substring(3)+"</br />"+r[0]+":"+r[1].substring(0,2):r[0]):w=r[0];a.css({cursor:"pointer"});d.html(w).show();r=
  d.width();r=Math.min(Math.max(10,c.clientX-r/2),$jqOpta(window).width()-(r+30));d.css({top:c.clientY+18,left:r})},function(){d.hide()})})};
  $jqOpta.events.trigger={load:function(a){$jqOpta.events.publish("widget."+a.data.opta_widget+".load",{id:a.id,data:a.data})},refresh:function(a){$jqOpta.events.publish("widget."+a.data.opta_widget+".refresh",{id:a.id,data:a.data})},expansion:function(a,c,b){$jqOpta.events.publish("widget."+c.data.opta_widget+".expansion",{id:c.id,data:$jqOpta.extend(c.data,b),expansion:{action:a,info:b}})},expansiondone:function(a,c,b,d){$jqOpta.events.publish("widget."+c.data.opta_widget+".expansiondone",{id:c.id,
  data:$jqOpta.extend(c.data,b),expansion:{action:a,info:b,tag:d}})},tab:function(a,c,b){var d=c.data;a=$jqOpta(a).find("a");a={id:a.attr("href").substr(1),name:a.text(),idx:b};$jqOpta.events.publish("widget."+c.data.opta_widget+".tab",{id:c.id,data:d,tab:a})},dropdown:function(a,c,b,d,e){c={id:a.id,data:a.data,select_id:c,option:{value:b,text:d}};e&&(c.extra=e);$jqOpta.events.publish("widget."+a.data.opta_widget+".dropdown",c)},click:function(a,c,b){c={id:a.id,data:a.data,type:c};b&&(c.extra=b);$jqOpta.events.publish("widget."+
  a.data.opta_widget+".click",c)},error:function(a,c,b,d,e){$jqOpta.events.publish("widget."+a.data.opta_widget+".error",{id:a.id,type:c,message:b,data:$jqOpta.extend(a.data,d),extra:e||{}})},tabby:function(a,c){var b=c.data,d;a=$jqOpta(a);d={id:a.attr("href").substr(1),name:a.text()};$jqOpta.events.publish("widget."+c.data.opta_widget+".tab",{id:c.id,data:b,tab:d})},radioTab:function(a,c){var b=c.data,d;a=$jqOpta(a);d={id:a.val(),name:a.attr("name")};$jqOpta.events.publish("widget."+c.data.opta_widget+
  ".tab",{id:c.id,data:b,tab:d})},redrawMe:function(a){$jqOpta.events.publish("widget."+a+".redrawme",{widget:a})},permissionDenied:function(a){$jqOpta.events.publish("widget."+a.data.widget+".permission_denied",{id:a.id,data:a.data})}};$jqOpta.Analytics=function(){this.gaq={};this.init()};
  $jqOpta.Analytics.prototype.init=function(){var a=this;!0!==$jqOpta.settings.suppressAnalytics&&void 0===window._gat?($jqOpta.ajax({cache:!0,url:("https:"==document.location.protocol?"https://ssl":"http://www")+".google-analytics.com/ga.js",dataType:"script",success:function(){a.setupGaTracking()}}),this.initTrackers()):!0!==$jqOpta.settings.suppressAnalytics&&(a.setupGaTracking(),this.initTrackers())};
  $jqOpta.Analytics.prototype.setupGaTracking=function(){var a;if(void 0!==window._gat){if(a=window._gat._createTracker("UA-31431448-1","OptaWidgets"))a._setAllowLinker(!0),a._setCustomVar(1,"custID",$jqOpta.settings.custID,1),a._setSampleRate(10);this.gaq.tracker=a}};
  $jqOpta.Analytics.prototype.trackGAPageView=function(a){this.gaq.tracker&&("string"===typeof a&&(a={url:a}),this.gaq.tracker._trackPageview(a.url),a.start&&this.gaq.tracker._trackTiming(a.url,a.category,a.type,(new Date).getTime()-a.start,$jqOpta.settings.custID,5))};
  $jqOpta.Analytics.prototype.trackGAEvent=function(a){if(this.gaq.tracker){if(!(a instanceof Object)|!a.category||!a.action)throw"Invalid GA Event Tracking data";this.gaq.tracker._trackEvent(a.category,a.action,a.label,a.value,a.noninteraction||!0)}};
  $jqOpta.Analytics.prototype.initTrackers=function(){var a=this;$jqOpta.events.subscribe("widget.*.load",function(c,b){a.trackGAPageView("/"+c.data.sport+"/"+c.data.opta_widget+"/"+(c.data.competition||c.data.competition_p1||c.data.competition1||c.data.competition_p2||c.data.competition2)+"/"+(c.data.season||c.data.season_p1||c.data.season1||c.data.season_p2||c.data.season2)+"/"+("true"===c.data.live?"setlive":"notsetlive")+"/")});$jqOpta.events.subscribe("widget.*.expansion",function(c,b){a.trackGAEvent({category:b.topic,
  action:c.expansion.action,label:c.data.sport})});$jqOpta.events.subscribe("widget.*.tab",function(c,b){a.trackGAEvent({category:b.topic,action:c.tab.id,label:c.data.sport})})};
  (function(){var a=this,c=a._,b={},d=Array.prototype,e=Object.prototype,l=d.push,p=d.slice,s=d.concat,r=e.toString,w=e.hasOwnProperty,z=d.forEach,y=d.map,B=d.reduce,F=d.reduceRight,C=d.filter,m=d.every,q=d.some,u=d.indexOf,D=d.lastIndexOf,e=Array.isArray,H=Object.keys,A=Function.prototype.bind,g=function(a){if(a instanceof g)return a;if(!(this instanceof g))return new g(a);this._wrapped=a};"undefined"!==typeof exports?("undefined"!==typeof module&&module.exports&&(exports=module.exports=g),exports._=
  g):a._=g;g.VERSION="1.4.4";var x=g.each=g.forEach=function(a,c,d){if(null!=a)if(z&&a.forEach===z)a.forEach(c,d);else if(a.length===+a.length)for(var e=0,l=a.length;e<l&&c.call(d,a[e],e,a)!==b;e++);else for(e in a)if(g.has(a,e)&&c.call(d,a[e],e,a)===b)break};g.map=g.collect=function(a,b,c){var d=[];if(null==a)return d;if(y&&a.map===y)return a.map(b,c);x(a,function(a,e,g){d[d.length]=b.call(c,a,e,g)});return d};g.reduce=g.foldl=g.inject=function(a,b,c,d){var e=2<arguments.length;null==a&&(a=[]);if(B&&
  a.reduce===B)return d&&(b=g.bind(b,d)),e?a.reduce(b,c):a.reduce(b);x(a,function(a,g,l){e?c=b.call(d,c,a,g,l):(c=a,e=!0)});if(!e)throw new TypeError("Reduce of empty array with no initial value");return c};g.reduceRight=g.foldr=function(a,b,c,d){var e=2<arguments.length;null==a&&(a=[]);if(F&&a.reduceRight===F)return d&&(b=g.bind(b,d)),e?a.reduceRight(b,c):a.reduceRight(b);var l=a.length;if(l!==+l)var m=g.keys(a),l=m.length;x(a,function(g,p,q){p=m?m[--l]:--l;e?c=b.call(d,c,a[p],p,q):(c=a[p],e=!0)});
  if(!e)throw new TypeError("Reduce of empty array with no initial value");return c};g.find=g.detect=function(a,b,c){var d;E(a,function(a,e,g){if(b.call(c,a,e,g))return d=a,!0});return d};g.filter=g.select=function(a,b,c){var d=[];if(null==a)return d;if(C&&a.filter===C)return a.filter(b,c);x(a,function(a,e,g){b.call(c,a,e,g)&&(d[d.length]=a)});return d};g.reject=function(a,b,c){return g.filter(a,function(a,d,e){return!b.call(c,a,d,e)},c)};g.every=g.all=function(a,c,d){c||(c=g.identity);var e=!0;if(null==
  a)return e;if(m&&a.every===m)return a.every(c,d);x(a,function(a,g,l){if(!(e=e&&c.call(d,a,g,l)))return b});return!!e};var E=g.some=g.any=function(a,c,d){c||(c=g.identity);var e=!1;if(null==a)return e;if(q&&a.some===q)return a.some(c,d);x(a,function(a,g,l){if(e||(e=c.call(d,a,g,l)))return b});return!!e};g.contains=g.include=function(a,b){return null==a?!1:u&&a.indexOf===u?-1!=a.indexOf(b):E(a,function(a){return a===b})};g.invoke=function(a,b){var c=p.call(arguments,2),d=g.isFunction(b);return g.map(a,
  function(a){return(d?b:a[b]).apply(a,c)})};g.pluck=function(a,b){return g.map(a,function(a){return a[b]})};g.where=function(a,b,c){return g.isEmpty(b)?c?null:[]:g[c?"find":"filter"](a,function(a){for(var c in b)if(b[c]!==a[c])return!1;return!0})};g.findWhere=function(a,b){return g.where(a,b,!0)};g.max=function(a,b,c){if(!b&&g.isArray(a)&&a[0]===+a[0]&&65535>a.length)return Math.max.apply(Math,a);if(!b&&g.isEmpty(a))return-Infinity;var d={computed:-Infinity,value:-Infinity};x(a,function(a,e,g){e=b?
  b.call(c,a,e,g):a;e>=d.computed&&(d={value:a,computed:e})});return d.value};g.min=function(a,b,c){if(!b&&g.isArray(a)&&a[0]===+a[0]&&65535>a.length)return Math.min.apply(Math,a);if(!b&&g.isEmpty(a))return Infinity;var d={computed:Infinity,value:Infinity};x(a,function(a,e,g){e=b?b.call(c,a,e,g):a;e<d.computed&&(d={value:a,computed:e})});return d.value};g.shuffle=function(a){var b,c=0,d=[];x(a,function(a){b=g.random(c++);d[c-1]=d[b];d[b]=a});return d};var O=function(a){return g.isFunction(a)?a:function(b){return b[a]}};
  g.sortBy=function(a,b,c){var d=O(b);return g.pluck(g.map(a,function(a,b,e){return{value:a,index:b,criteria:d.call(c,a,b,e)}}).sort(function(a,b){var c=a.criteria,d=b.criteria;if(c!==d){if(c>d||void 0===c)return 1;if(c<d||void 0===d)return-1}return a.index<b.index?-1:1}),"value")};var X=function(a,b,c,d){var e={},l=O(b||g.identity);x(a,function(b,g){var m=l.call(c,b,g,a);d(e,m,b)});return e};g.groupBy=function(a,b,c){return X(a,b,c,function(a,b,c){(g.has(a,b)?a[b]:a[b]=[]).push(c)})};g.multiGroupBy=
  function(a,b,c){var d;if(!b.length)return a;a=g.groupBy(a,b[0],c);b=b.slice(1);for(d in a)a.hasOwnProperty(d)&&(a[d]=g.multiGroupBy(a[d],b,c));return a};g.countBy=function(a,b,c){return X(a,b,c,function(a,b){g.has(a,b)||(a[b]=0);a[b]++})};g.sortedIndex=function(a,b,c,d){c=null==c?g.identity:O(c);b=c.call(d,b);for(var e=0,l=a.length;e<l;){var m=e+l>>>1;c.call(d,a[m])<b?e=m+1:l=m}return e};g.toArray=function(a){return a?g.isArray(a)?p.call(a):a.length===+a.length?g.map(a,g.identity):g.values(a):[]};
  g.size=function(a){return null==a?0:a.length===+a.length?a.length:g.keys(a).length};g.first=g.head=g.take=function(a,b,c){return null==a?void 0:null==b||c?a[0]:p.call(a,0,b)};g.initial=function(a,b,c){return p.call(a,0,a.length-(null==b||c?1:b))};g.last=function(a,b,c){return null==a?void 0:null==b||c?a[a.length-1]:p.call(a,Math.max(a.length-b,0))};g.rest=g.tail=g.drop=function(a,b,c){return p.call(a,null==b||c?1:b)};g.compact=function(a){return g.filter(a,g.identity)};var U=function(a,b,c){x(a,function(a){g.isArray(a)?
  b?l.apply(c,a):U(a,b,c):c.push(a)});return c};g.flatten=function(a,b){return U(a,b,[])};g.without=function(a){return g.difference(a,p.call(arguments,1))};g.uniq=g.unique=function(a,b,c,d){g.isFunction(b)&&(d=c,c=b,b=!1);c=c?g.map(a,c,d):a;var e=[],l=[];x(c,function(c,d){(b?d&&l[l.length-1]===c:g.contains(l,c))||(l.push(c),e.push(a[d]))});return e};g.union=function(){return g.uniq(s.apply(d,arguments))};g.intersection=function(a){var b=p.call(arguments,1);return g.filter(g.uniq(a),function(a){return g.every(b,
  function(b){return 0<=g.indexOf(b,a)})})};g.difference=function(a){var b=s.apply(d,p.call(arguments,1));return g.filter(a,function(a){return!g.contains(b,a)})};g.zip=function(){for(var a=p.call(arguments),b=g.max(g.pluck(a,"length")),c=Array(b),d=0;d<b;d++)c[d]=g.pluck(a,""+d);return c};g.object=function(a,b){if(null==a)return{};for(var c={},d=0,e=a.length;d<e;d++)b?c[a[d]]=b[d]:c[a[d][0]]=a[d][1];return c};g.indexOf=function(a,b,c){if(null==a)return-1;var d=0,e=a.length;if(c)if("number"==typeof c)d=
  0>c?Math.max(0,e+c):c;else return d=g.sortedIndex(a,b),a[d]===b?d:-1;if(u&&a.indexOf===u)return a.indexOf(b,c);for(;d<e;d++)if(a[d]===b)return d;return-1};g.lastIndexOf=function(a,b,c){if(null==a)return-1;var d=null!=c;if(D&&a.lastIndexOf===D)return d?a.lastIndexOf(b,c):a.lastIndexOf(b);for(c=d?c:a.length;c--;)if(a[c]===b)return c;return-1};g.range=function(a,b,c){1>=arguments.length&&(b=a||0,a=0);c=arguments[2]||1;for(var d=Math.max(Math.ceil((b-a)/c),0),e=0,g=Array(d);e<d;)g[e++]=a,a+=c;return g};
  g.bind=function(a,b){if(a.bind===A&&A)return A.apply(a,p.call(arguments,1));var c=p.call(arguments,2);return function(){return a.apply(b,c.concat(p.call(arguments)))}};g.partial=function(a){var b=p.call(arguments,1);return function(){return a.apply(this,b.concat(p.call(arguments)))}};g.bindAll=function(a){var b=p.call(arguments,1);0===b.length&&(b=g.functions(a));x(b,function(b){a[b]=g.bind(a[b],a)});return a};g.memoize=function(a,b){var c={};b||(b=g.identity);return function(){var d=b.apply(this,
  arguments);return g.has(c,d)?c[d]:c[d]=a.apply(this,arguments)}};g.delay=function(a,b){var c=p.call(arguments,2);return setTimeout(function(){return a.apply(null,c)},b)};g.defer=function(a){return g.delay.apply(g,[a,1].concat(p.call(arguments,1)))};g.throttle=function(a,b){var c,d,e,g,l=0,m=function(){l=new Date;e=null;g=a.apply(c,d)};return function(){var p=new Date,q=b-(p-l);c=this;d=arguments;0>=q?(clearTimeout(e),e=null,l=p,g=a.apply(c,d)):e||(e=setTimeout(m,q));return g}};g.debounce=function(a,
  b,c){var d,e;return function(){var g=this,l=arguments,m=c&&!d;clearTimeout(d);d=setTimeout(function(){d=null;c||(e=a.apply(g,l))},b);m&&(e=a.apply(g,l));return e}};g.once=function(a){var b=!1,c;return function(){if(b)return c;b=!0;c=a.apply(this,arguments);a=null;return c}};g.wrap=function(a,b){return function(){var c=[a];l.apply(c,arguments);return b.apply(this,c)}};g.compose=function(){var a=arguments;return function(){for(var b=arguments,c=a.length-1;0<=c;c--)b=[a[c].apply(this,b)];return b[0]}};
  g.after=function(a,b){return 0>=a?b():function(){if(1>--a)return b.apply(this,arguments)}};g.keys=H||function(a){if(a!==Object(a))throw new TypeError("Invalid object");var b=[],c;for(c in a)g.has(a,c)&&(b[b.length]=c);return b};g.values=function(a){var b=[],c;for(c in a)g.has(a,c)&&b.push(a[c]);return b};g.pairs=function(a){var b=[],c;for(c in a)g.has(a,c)&&b.push([c,a[c]]);return b};g.invert=function(a){var b={},c;for(c in a)g.has(a,c)&&(b[a[c]]=c);return b};g.functions=g.methods=function(a){var b=
  [],c;for(c in a)g.isFunction(a[c])&&b.push(c);return b.sort()};g.extend=function(a){x(p.call(arguments,1),function(b){if(b)for(var c in b)a[c]=b[c]});return a};g.pick=function(a){var b={},c=s.apply(d,p.call(arguments,1));x(c,function(c){c in a&&(b[c]=a[c])});return b};g.omit=function(a){var b={},c=s.apply(d,p.call(arguments,1)),e;for(e in a)g.contains(c,e)||(b[e]=a[e]);return b};g.defaults=function(a){x(p.call(arguments,1),function(b){if(b)for(var c in b)null==a[c]&&(a[c]=b[c])});return a};g.clone=
  function(a){return g.isObject(a)?g.isArray(a)?a.slice():g.extend({},a):a};g.tap=function(a,b){b(a);return a};var V=function(a,b,c,d){if(a===b)return 0!==a||1/a==1/b;if(null==a||null==b)return a===b;a instanceof g&&(a=a._wrapped);b instanceof g&&(b=b._wrapped);var e=r.call(a);if(e!=r.call(b))return!1;switch(e){case "[object String]":return a==String(b);case "[object Number]":return a!=+a?b!=+b:0==a?1/a==1/b:a==+b;case "[object Date]":case "[object Boolean]":return+a==+b;case "[object RegExp]":return a.source==
  b.source&&a.global==b.global&&a.multiline==b.multiline&&a.ignoreCase==b.ignoreCase}if("object"!=typeof a||"object"!=typeof b)return!1;for(var l=c.length;l--;)if(c[l]==a)return d[l]==b;c.push(a);d.push(b);var l=0,m=!0;if("[object Array]"==e){if(l=a.length,m=l==b.length)for(;l--&&(m=V(a[l],b[l],c,d)););}else{var e=a.constructor,p=b.constructor;if(e!==p&&!(g.isFunction(e)&&e instanceof e&&g.isFunction(p)&&p instanceof p))return!1;for(var q in a)if(g.has(a,q)&&(l++,!(m=g.has(b,q)&&V(a[q],b[q],c,d))))break;
  if(m){for(q in b)if(g.has(b,q)&&!l--)break;m=!l}}c.pop();d.pop();return m};g.isEqual=function(a,b){return V(a,b,[],[])};g.isEmpty=function(a){if(null==a)return!0;if(g.isArray(a)||g.isString(a))return 0===a.length;for(var b in a)if(g.has(a,b))return!1;return!0};g.isElement=function(a){return!(!a||1!==a.nodeType)};g.isArray=e||function(a){return"[object Array]"==r.call(a)};g.isObject=function(a){return a===Object(a)};x("Arguments Function String Number Date RegExp".split(" "),function(a){g["is"+a]=
  function(b){return r.call(b)=="[object "+a+"]"}});g.isArguments(arguments)||(g.isArguments=function(a){return!(!a||!g.has(a,"callee"))});"function"!==typeof/./&&(g.isFunction=function(a){return"function"===typeof a});g.isFinite=function(a){return isFinite(a)&&!isNaN(parseFloat(a))};g.isNaN=function(a){return g.isNumber(a)&&a!=+a};g.isBoolean=function(a){return!0===a||!1===a||"[object Boolean]"==r.call(a)};g.isNull=function(a){return null===a};g.isUndefined=function(a){return void 0===a};g.has=function(a,
  b){return w.call(a,b)};g.noConflict=function(){a._=c;return this};g.identity=function(a){return a};g.times=function(a,b,c){for(var d=Array(a),e=0;e<a;e++)d[e]=b.call(c,e);return d};g.random=function(a,b){null==b&&(b=a,a=0);return a+Math.floor(Math.random()*(b-a+1))};var $={escape:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","/":"&#x2F;"}};$.unescape=g.invert($.escape);var S={escape:RegExp("["+g.keys($.escape).join("")+"]","g"),unescape:RegExp("("+g.keys($.unescape).join("|")+")","g")};
  g.each(["escape","unescape"],function(a){g[a]=function(b){return null==b?"":(""+b).replace(S[a],function(b){return $[a][b]})}});g.result=function(a,b){if(null==a)return null;var c=a[b];return g.isFunction(c)?c.call(a):c};g.mixin=function(a){x(g.functions(a),function(b){var c=g[b]=a[b];g.prototype[b]=function(){var a=[this._wrapped];l.apply(a,arguments);a=c.apply(g,a);return this._chain?g(a).chain():a}})};var ka=0;g.uniqueId=function(a){var b=++ka+"";return a?a+b:b};g.templateSettings={evaluate:/<%([\s\S]+?)%>/g,
  interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var P=/(.)^/,oa={"'":"'","\\":"\\","\r":"r","\n":"n","\t":"t","\u2028":"u2028","\u2029":"u2029"},da=/\\|'|\r|\n|\t|\u2028|\u2029/g;g.template=function(a,b,c){var d;c=g.defaults({},c,g.templateSettings);var e=RegExp([(c.escape||P).source,(c.interpolate||P).source,(c.evaluate||P).source].join("|")+"|$","g"),l=0,m="__p+='";a.replace(e,function(b,c,d,e,g){m+=a.slice(l,g).replace(da,function(a){return"\\"+oa[a]});c&&(m+="'+\n((__t=("+c+"))==null?'':_.escape(__t))+\n'");
  d&&(m+="'+\n((__t=("+d+"))==null?'':__t)+\n'");e&&(m+="';\n"+e+"\n__p+='");l=g+b.length;return b});m+="';\n";c.variable||(m="with(obj||{}){\n"+m+"}\n");m="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+m+"return __p;\n";try{d=new Function(c.variable||"obj","_",m)}catch(p){throw p.source=m,p;}if(b)return d(b,g);b=function(a){return d.call(this,a,g)};b.source="function("+(c.variable||"obj")+"){\n"+m+"}";return b};g.chain=function(a){return g(a).chain()};g.mixin(g);
  x("pop push reverse shift sort splice unshift".split(" "),function(a){var b=d[a];g.prototype[a]=function(){var c=this._wrapped;b.apply(c,arguments);"shift"!=a&&"splice"!=a||0!==c.length||delete c[0];return this._chain?g(c).chain():c}});x(["concat","join","slice"],function(a){var b=d[a];g.prototype[a]=function(){var a=b.apply(this._wrapped,arguments);return this._chain?g(a).chain():a}});g.extend(g.prototype,{chain:function(){this._chain=!0;return this},value:function(){return this._wrapped}})}).call($jqOpta);
  $jqOpta.settings={imageUrl:"https:"===window.location.protocol?"//secure.omo.akamai.opta.net/image.php?secure=true&h=secure.omo.akamai.opta.net":"//omo.akamai.opta.net/image.php?h=omo.akamai.opta.net",baseUrl:"https:"===window.location.protocol?"https://s3-eu-west-1.amazonaws.com/widget.cloud.opta.net/2.0/":"http://widget.cloud.opta.net/2.0/",apiUrl:"//api.widget.cloud.opta.net",soundEnabled:!1};void 0===$jqOpta.settings.widgetFeedBaseUrl&&($jqOpta.settings.widgetFeedBaseUrl=$jqOpta.settings.baseUrl);
  if(-1!==$jqOpta.settings.widgetFeedBaseUrl.indexOf("optadev")||-1!==$jqOpta.settings.widgetFeedBaseUrl.indexOf("cloud.opta.net")&&"https:"!==window.location.protocol)$jqOpta.settings.widgetFeedBaseUrl="//widget.cloud.opta.net/2.0/";
  