vendor/assets/javascripts/webshims/minified/shims/combos/22.js in webshims-rails-0.4.3 vs vendor/assets/javascripts/webshims/minified/shims/combos/22.js in webshims-rails-0.4.4

- old
+ new

@@ -1,61 +1,57 @@ -(function(){var b=Function.prototype.call,a=Object.prototype,d=Array.prototype.slice,k,g;if(!Function.prototype.bind)Function.prototype.bind=function(n){var b=this;if("function"!=typeof b)throw new TypeError;var j=d.call(arguments,1),m=function(){if(this instanceof m){var a=function(){};a.prototype=b.prototype;var a=new a,g=b.apply(a,j.concat(d.call(arguments)));return null!==g&&Object(g)===g?g:a}return b.apply(n,j.concat(d.call(arguments)))};return m};g=b.bind(a.toString);k=b.bind(a.hasOwnProperty); -if(!Array.isArray)Array.isArray=function(b){return"[object Array]"==g(b)};if(!Array.prototype.forEach)Array.prototype.forEach=function(b,a){var j=f(this),m=0,c=j.length>>>0;if("[object Function]"!=g(b))throw new TypeError;for(;m<c;)m in j&&b.call(a,j[m],m,j),m++};if(!Array.prototype.map)Array.prototype.map=function(b,a){var j=f(this),m=j.length>>>0,c=Array(m);if("[object Function]"!=g(b))throw new TypeError;for(var e=0;e<m;e++)e in j&&(c[e]=b.call(a,j[e],e,j));return c};if(!Array.prototype.filter)Array.prototype.filter= -function(b,a){var j=f(this),m=j.length>>>0,c=[];if("[object Function]"!=g(b))throw new TypeError;for(var e=0;e<m;e++)e in j&&b.call(a,j[e],e,j)&&c.push(j[e]);return c};if(!Array.prototype.every)Array.prototype.every=function(b,a){var j=f(this),m=j.length>>>0;if("[object Function]"!=g(b))throw new TypeError;for(var e=0;e<m;e++)if(e in j&&!b.call(a,j[e],e,j))return!1;return!0};if(!Array.prototype.some)Array.prototype.some=function(b,a){var j=f(this),e=j.length>>>0;if("[object Function]"!=g(b))throw new TypeError; -for(var c=0;c<e;c++)if(c in j&&b.call(a,j[c],c,j))return!0;return!1};if(!Array.prototype.reduce)Array.prototype.reduce=function(b){var a=f(this),e=a.length>>>0;if("[object Function]"!=g(b))throw new TypeError;if(!e&&1==arguments.length)throw new TypeError;var c=0,i;if(2<=arguments.length)i=arguments[1];else{do{if(c in a){i=a[c++];break}if(++c>=e)throw new TypeError;}while(1)}for(;c<e;c++)c in a&&(i=b.call(void 0,i,a[c],c,a));return i};if(!Array.prototype.reduceRight)Array.prototype.reduceRight=function(b){var a= -f(this),c=a.length>>>0;if("[object Function]"!=g(b))throw new TypeError;if(!c&&1==arguments.length)throw new TypeError;var e,c=c-1;if(2<=arguments.length)e=arguments[1];else{do{if(c in a){e=a[c--];break}if(0>--c)throw new TypeError;}while(1)}do c in this&&(e=b.call(void 0,e,a[c],c,a));while(c--);return e};if(!Array.prototype.indexOf)Array.prototype.indexOf=function(b){var c=f(this),a=c.length>>>0;if(!a)return-1;var e=0;1<arguments.length&&(e=y(arguments[1]));for(e=0<=e?e:a-Math.abs(e);e<a;e++)if(e in -c&&c[e]===b)return e;return-1};if(!Array.prototype.lastIndexOf)Array.prototype.lastIndexOf=function(b){var c=f(this),e=c.length>>>0;if(!e)return-1;var a=e-1;1<arguments.length&&(a=y(arguments[1]));for(a=0<=a?a:e-Math.abs(a);0<=a;a--)if(a in c&&b===c[a])return a;return-1};if(2!=[1,2].splice(0).length){var i=Array.prototype.splice;Array.prototype.splice=function(b,a){return!arguments.length?[]:i.apply(this,[void 0===b?0:b,void 0===a?this.length-b:a].concat(d.call(arguments,2)))}}if(!Object.keys){var c= -!0,u="toString,toLocaleString,valueOf,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,constructor".split(","),h=u.length,s;for(s in{toString:null})c=!1;Object.keys=function(b){if("object"!=typeof b&&"function"!=typeof b||null===b)throw new TypeError("Object.keys called on a non-object");var a=[],e;for(e in b)k(b,e)&&a.push(e);if(c)for(e=0;e<h;e++){var g=u[e];k(b,g)&&a.push(g)}return a}}if(!Date.prototype.toISOString)Date.prototype.toISOString=function(){var b,a,e;if(!isFinite(this))throw new RangeError; -b=[this.getUTCFullYear(),this.getUTCMonth()+1,this.getUTCDate(),this.getUTCHours(),this.getUTCMinutes(),this.getUTCSeconds()];for(a=b.length;a--;)e=b[a],10>e&&(b[a]="0"+e);return b.slice(0,3).join("-")+"T"+b.slice(3).join(":")+"."+("000"+this.getUTCMilliseconds()).slice(-3)+"Z"};if(!Date.now)Date.now=function(){return(new Date).getTime()};if(!Date.prototype.toJSON)Date.prototype.toJSON=function(){if("function"!=typeof this.toISOString)throw new TypeError;return this.toISOString()};b="\t\n\u000b\u000c\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"; -if(!String.prototype.trim||b.trim()){var b="["+b+"]",q=RegExp("^"+b+b+"*"),e=RegExp(b+b+"*$");String.prototype.trim=function(){return(""+this).replace(q,"").replace(e,"")}}if("0".split(void 0,0).length){var C=String.prototype.split;String.prototype.split=function(b,a){return void 0===b&&0===a?[]:C.apply(this,arguments)}}if("".substr&&"b"!=="0b".substr(-1)){var D=String.prototype.substr;String.prototype.substr=function(b,a){return D.call(this,0>b?0>(b=this.length+b)?0:b:b,a)}}var y=function(b){b=+b; -b!==b?b=-1:0!==b&&b!==1/0&&b!==-(1/0)&&(b=(0<b||-1)*Math.floor(Math.abs(b)));return b},o="a"!="a"[0],f=function(b){if(null==b)throw new TypeError;return o&&"string"==typeof b&&b?b.split(""):Object(b)}})(); +(function(){var b=Function.prototype.call,a=Object.prototype,d=Array.prototype.slice,k,g;if(!Function.prototype.bind)Function.prototype.bind=function(e){var b=this;if("function"!=typeof b)throw new TypeError;var f=d.call(arguments,1),o=function(){if(this instanceof o){var a=function(){};a.prototype=b.prototype;var a=new a,g=b.apply(a,f.concat(d.call(arguments)));return null!==g&&Object(g)===g?g:a}return b.apply(e,f.concat(d.call(arguments)))};return o};g=b.bind(a.toString);k=b.bind(a.hasOwnProperty); +if(!Array.isArray)Array.isArray=function(e){return"[object Array]"==g(e)};if(!Array.prototype.forEach)Array.prototype.forEach=function(e,b){var f=l(this),o=0,a=f.length>>>0;if("[object Function]"!=g(e))throw new TypeError;for(;o<a;)o in f&&e.call(b,f[o],o,f),o++};if(!Array.prototype.map)Array.prototype.map=function(e,b){var f=l(this),o=f.length>>>0,a=Array(o);if("[object Function]"!=g(e))throw new TypeError;for(var c=0;c<o;c++)c in f&&(a[c]=e.call(b,f[c],c,f));return a};if(!Array.prototype.filter)Array.prototype.filter= +function(e,b){var f=l(this),a=f.length>>>0,c=[];if("[object Function]"!=g(e))throw new TypeError;for(var j=0;j<a;j++)j in f&&e.call(b,f[j],j,f)&&c.push(f[j]);return c};if(!Array.prototype.every)Array.prototype.every=function(e,b){var f=l(this),a=f.length>>>0;if("[object Function]"!=g(e))throw new TypeError;for(var c=0;c<a;c++)if(c in f&&!e.call(b,f[c],c,f))return!1;return!0};if(!Array.prototype.some)Array.prototype.some=function(e,b){var f=l(this),a=f.length>>>0;if("[object Function]"!=g(e))throw new TypeError; +for(var c=0;c<a;c++)if(c in f&&e.call(b,f[c],c,f))return!0;return!1};if(!Array.prototype.reduce)Array.prototype.reduce=function(e){var b=l(this),c=b.length>>>0;if("[object Function]"!=g(e))throw new TypeError;if(!c&&1==arguments.length)throw new TypeError;var a=0,j;if(2<=arguments.length)j=arguments[1];else{do{if(a in b){j=b[a++];break}if(++a>=c)throw new TypeError;}while(1)}for(;a<c;a++)a in b&&(j=e.call(void 0,j,b[a],a,b));return j};if(!Array.prototype.reduceRight)Array.prototype.reduceRight=function(e){var b= +l(this),a=b.length>>>0;if("[object Function]"!=g(e))throw new TypeError;if(!a&&1==arguments.length)throw new TypeError;var c,a=a-1;if(2<=arguments.length)c=arguments[1];else{do{if(a in b){c=b[a--];break}if(0>--a)throw new TypeError;}while(1)}do a in this&&(c=e.call(void 0,c,b[a],a,b));while(a--);return c};if(!Array.prototype.indexOf)Array.prototype.indexOf=function(e){var b=l(this),a=b.length>>>0;if(!a)return-1;var c=0;1<arguments.length&&(c=D(arguments[1]));for(c=0<=c?c:a-Math.abs(c);c<a;c++)if(c in +b&&b[c]===e)return c;return-1};if(!Array.prototype.lastIndexOf)Array.prototype.lastIndexOf=function(e){var b=l(this),a=b.length>>>0;if(!a)return-1;var c=a-1;1<arguments.length&&(c=D(arguments[1]));for(c=0<=c?c:a-Math.abs(c);0<=c;c--)if(c in b&&e===b[c])return c;return-1};if(2!=[1,2].splice(0).length){var i=Array.prototype.splice;Array.prototype.splice=function(e,b){return!arguments.length?[]:i.apply(this,[void 0===e?0:e,void 0===b?this.length-e:b].concat(d.call(arguments,2)))}}if(!Object.keys){var c= +!0,t="toString,toLocaleString,valueOf,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,constructor".split(","),h=t.length,p;for(p in{toString:null})c=!1;Object.keys=function(e){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError("Object.keys called on a non-object");var b=[],a;for(a in e)k(e,a)&&b.push(a);if(c)for(a=0;a<h;a++){var j=t[a];k(e,j)&&b.push(j)}return b}}if(!Date.prototype.toISOString)Date.prototype.toISOString=function(){var e,b,a;if(!isFinite(this))throw new RangeError; +e=[this.getUTCFullYear(),this.getUTCMonth()+1,this.getUTCDate(),this.getUTCHours(),this.getUTCMinutes(),this.getUTCSeconds()];for(b=e.length;b--;)a=e[b],10>a&&(e[b]="0"+a);return e.slice(0,3).join("-")+"T"+e.slice(3).join(":")+"."+("000"+this.getUTCMilliseconds()).slice(-3)+"Z"};if(!Date.now)Date.now=function(){return(new Date).getTime()};if(!Date.prototype.toJSON)Date.prototype.toJSON=function(){if("function"!=typeof this.toISOString)throw new TypeError;return this.toISOString()};b="\t\n\u000b\u000c\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"; +if(!String.prototype.trim||b.trim()){var b="["+b+"]",q=RegExp("^"+b+b+"*"),u=RegExp(b+b+"*$");String.prototype.trim=function(){return(""+this).replace(q,"").replace(u,"")}}if("0".split(void 0,0).length){var j=String.prototype.split;String.prototype.split=function(b,a){return void 0===b&&0===a?[]:j.apply(this,arguments)}}if("".substr&&"b"!=="0b".substr(-1)){var v=String.prototype.substr;String.prototype.substr=function(b,a){return v.call(this,0>b?0>(b=this.length+b)?0:b:b,a)}}var D=function(b){b=+b; +b!==b?b=-1:0!==b&&b!==1/0&&b!==-(1/0)&&(b=(0<b||-1)*Math.floor(Math.abs(b)));return b},m="a"!="a"[0],l=function(b){if(null==b)throw new TypeError;return m&&"string"==typeof b&&b?b.split(""):Object(b)}})(); (function(b,a){var d=!(!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor);d&&!b.browser.msie&&Object.defineProperty&&Object.prototype.__defineGetter__&&function(){try{var b=document.createElement("foo");Object.defineProperty(b,"bar",{get:function(){return!0}});d=!!b.bar}catch(a){d=!1}b=null}();Modernizr.objectAccessor=!(!(d||Object.prototype.__defineGetter__&&Object.prototype.__lookupSetter__)||b.browser.opera&&!(11<=a.browserVersion));Modernizr.advancedObjectProperties=d; if(!d||!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor||!Object.defineProperty){var k=Function.prototype.call.bind(Object.prototype.hasOwnProperty);a.objectCreate=function(b,i,c,d){var h;h=function(){};h.prototype=b;h=new h;if(!d&&!("__proto__"in h)&&!Modernizr.objectAccessor)h.__proto__=b;i&&a.defineProperties(h,i);if(c)h.options=jQuery.extend(!0,{},h.options||{},c),c=h.options;h._create&&jQuery.isFunction(h._create)&&h._create(c);return h};a.defineProperties=function(b, -i){for(var c in i)k(i,c)&&a.defineProperty(b,c,i[c]);return b};a.defineProperty=function(b,a,c){if("object"!=typeof c||null===c)return b;if(k(c,"value"))return b[a]=c.value,b;b.__defineGetter__&&("function"==typeof c.get&&b.__defineGetter__(a,c.get),"function"==typeof c.set&&b.__defineSetter__(a,c.set));return b};a.getPrototypeOf=function(b){return Object.getPrototypeOf&&Object.getPrototypeOf(b)||b.__proto__||b.constructor&&b.constructor.prototype};a.getOwnPropertyDescriptor=function(b,a){if("object"!== -typeof b&&"function"!==typeof b||null===b)throw new TypeError("Object.getOwnPropertyDescriptor called on a non-object");var c;if(Object.defineProperty&&Object.getOwnPropertyDescriptor)try{return c=Object.getOwnPropertyDescriptor(b,a)}catch(d){}c={configurable:!0,enumerable:!0,writable:!0,value:void 0};var h=b.__lookupGetter__&&b.__lookupGetter__(a),s=b.__lookupSetter__&&b.__lookupSetter__(a);if(!h&&!s){if(!k(b,a))return;c.value=b[a];return c}delete c.writable;delete c.value;c.get=c.set=void 0;if(h)c.get= -h;if(s)c.set=s;return c}}})(jQuery,jQuery.webshims); -(function(b,a,d){var k=a.audio&&a.video,g=!1,i=d.cfg.mediaelement,c=d.bugs,u=function(){d.ready("mediaelement-swf",function(){if(!d.mediaelement.createSWF)d.modules["mediaelement-swf"].test=b.noop,d.reTest(["mediaelement-swf"],k)})},h;if(k){var s=document.createElement("video");a.videoBuffered="buffered"in s;g="loop"in s;d.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(","));a.videoBuffered||(d.addPolyfill("mediaelement-native-fix",{f:"mediaelement", -test:a.videoBuffered,d:["dom-support"]}),d.reTest("mediaelement-native-fix"))}if(k&&!i.preferFlash){var q=function(a){var c=a.target.parentNode;!i.preferFlash&&(b(a.target).is("audio, video")||c&&b("source:last",c)[0]==a.target)&&d.ready("DOM mediaelement",function(){h&&u();d.ready("WINDOWLOAD mediaelement-swf",function(){setTimeout(function(){h&&!i.preferFlash&&d.mediaelement.createSWF&&!b(a.target).closest("audio, video").is(".nonnative-api-active")?(i.preferFlash=!0,document.removeEventListener("error", -q,!0),b("audio, video").mediaLoad(),d.info("switching mediaelements option to 'preferFlash', due to an error with native player: "+a.target.src)):h||document.removeEventListener("error",q,!0)},20)})})};document.addEventListener("error",q,!0);b("audio, video").each(function(){this.error&&q({target:this})})}c.track=!1;a.track&&function(){if(!c.track)c.track="number"!=typeof b("<track />")[0].readyState;if(!c.track)try{new TextTrackCue(2,3,"")}catch(a){c.track=!0}var h=d.cfg.track,i=function(a){b(a.target).filter("track").each(g)}, -g=function(){if(c.track||!h.override&&3==b.prop(this,"readyState"))h.override=!0,d.reTest("track"),document.removeEventListener("error",i,!0),this&&b.nodeName(this,"track")?d.error("track support was overwritten. Please check your vtt including your vtt mime-type"):d.info("track support was overwritten. due to bad browser support")},k=function(){document.addEventListener("error",i,!0);c.track?g():b("track").each(g)};h.override||(d.isReady("track")?k():b(k))}();d.register("mediaelement-core",function(b, -d,q,s,o){h=swfobject.hasFlashPlayerVersion("9.0.115");var f=d.mediaelement,n=function(a,c){var a=b(a),d={src:a.attr("src")||"",elem:a,srcProp:a.prop("src")};if(!d.src)return d;var t=a.attr("type");if(t)d.type=t,d.container=b.trim(t.split(";")[0]);else if(c||(c=a[0].nodeName.toLowerCase(),"source"==c&&(c=(a.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),t=f.getTypeForSrc(d.src,c))d.type=t,d.container=t;if(t=a.attr("media"))d.media=t;return d},w=!h&&"postMessage"in q&&k,j= -function(){var a;return function(){!a&&w&&(a=!0,d.loader.loadScript("https://www.youtube.com/player_api"),b(function(){d.polyfill("mediaelement-yt")}))}}(),m=function(){h?u():j()};d.addPolyfill("mediaelement-yt",{test:!w,d:["dom-support"]});f.mimeTypes={audio:{"audio/ogg":["ogg","oga","ogm"],'audio/ogg;codecs="opus"':"opus","audio/mpeg":["mp2","mp3","mpga","mpega"],"audio/mp4":"mp4,mpg4,m4r,m4a,m4p,m4b,aac".split(","),"audio/wav":["wav"],"audio/3gpp":["3gp","3gpp"],"audio/webm":["webm"],"audio/fla":["flv", -"f4a","fla"],"application/x-mpegURL":["m3u8","m3u"]},video:{"video/ogg":["ogg","ogv","ogm"],"video/mpeg":["mpg","mpeg","mpe"],"video/mp4":["mp4","mpg4","m4v"],"video/quicktime":["mov","qt"],"video/x-msvideo":["avi"],"video/x-ms-asf":["asf","asx"],"video/flv":["flv","f4v"],"video/3gpp":["3gp","3gpp"],"video/webm":["webm"],"application/x-mpegURL":["m3u8","m3u"],"video/MP2T":["ts"]}};f.mimeTypes.source=b.extend({},f.mimeTypes.audio,f.mimeTypes.video);f.getTypeForSrc=function(a,c){if(-1!=a.indexOf("youtube.com/watch?")|| --1!=a.indexOf("youtube.com/v/"))return"video/youtube";var a=a.split("?")[0].split("."),a=a[a.length-1],d;b.each(f.mimeTypes[c],function(b,c){if(-1!==c.indexOf(a))return d=b,!1});return d};f.srces=function(a,c){a=b(a);if(c)a.removeAttr("src").removeAttr("type").find("source").remove(),b.isArray(c)||(c=[c]),c.forEach(function(b){var c=s.createElement("source");"string"==typeof b&&(b={src:b});c.setAttribute("src",b.src);b.type&&c.setAttribute("type",b.type);b.media&&c.setAttribute("media",b.media);a.append(c)}); -else{var c=[],d=a[0].nodeName.toLowerCase(),f=n(a,d);f.src?c.push(f):b("source",a).each(function(){f=n(this,d);f.src&&c.push(f)});return c}};b.fn.loadMediaSrc=function(a,c){return this.each(function(){c!==o&&(b(this).removeAttr("poster"),c&&b.attr(this,"poster",c));f.srces(this,a);b(this).mediaLoad()})};f.swfMimeTypes="video/3gpp,video/x-msvideo,video/quicktime,video/x-m4v,video/mp4,video/m4p,video/x-flv,video/flv,audio/mpeg,audio/aac,audio/mp4,audio/x-m4a,audio/m4a,audio/mp3,audio/x-fla,audio/fla,youtube/flv,jwplayer/jwplayer,video/youtube".split(","); -f.canThirdPlaySrces=function(a,c){var d="";if(h||w)a=b(a),c=c||f.srces(a),b.each(c,function(b,a){if(a.container&&a.src&&(h&&-1!=f.swfMimeTypes.indexOf(a.container)||w&&"video/youtube"==a.container))return d=a,!1});return d};var p={};f.canNativePlaySrces=function(a,c){var d="";if(k){var a=b(a),h=(a[0].nodeName||"").toLowerCase();if(!p[h])return d;c=c||f.srces(a);b.each(c,function(b,c){if(c.type&&p[h].prop._supvalue.call(a[0],c.type))return d=c,!1})}return d};f.setError=function(a,c){c||(c="can't play sources"); -b(a).pause().data("mediaerror",c);d.warn("mediaelementError: "+c);setTimeout(function(){b(a).data("mediaerror")&&b(a).trigger("mediaerror")},1)};var B=function(){var b;return function(a,c,e){d.ready(h?"mediaelement-swf":"mediaelement-yt",function(){f.createSWF?f.createSWF(a,c,e):b||(b=!0,m(),B(a,c,e))});!b&&w&&!f.createSWF&&j()}}(),z=function(b,a,c,d,e){c||!1!==c&&a&&"third"==a.isActive?(c=f.canThirdPlaySrces(b,d))?B(b,c,a):e?f.setError(b,!1):z(b,a,!1,d,!0):(c=f.canNativePlaySrces(b,d))?a&&"third"== -a.isActive&&f.setActive(b,"html5",a):e?(f.setError(b,!1),a&&"third"==a.isActive&&f.setActive(b,"html5",a)):z(b,a,!0,d,!0)},F=/^(?:embed|object|datalist)$/i,A=function(a,c){var h=d.data(a,"mediaelementBase")||d.data(a,"mediaelementBase",{}),j=f.srces(a),g=a.parentNode;clearTimeout(h.loadTimer);b.data(a,"mediaerror",!1);if(j.length&&g&&!(1!=g.nodeType||F.test(g.nodeName||"")))c=c||d.data(a,"mediaelement"),z(a,c,i.preferFlash||o,j)};b(s).bind("ended",function(a){var c=d.data(a.target,"mediaelement"); -(!g||c&&"html5"!=c.isActive||b.prop(a.target,"loop"))&&setTimeout(function(){!b.prop(a.target,"paused")&&b.prop(a.target,"loop")&&b(a.target).prop("currentTime",0).play()},1)});g||d.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(a){var c=d.defineNodeNameProperty(a,"load",{prop:{value:function(){var b=d.data(this,"mediaelement");A(this,b);k&&(!b||"html5"==b.isActive)&&c.prop._supvalue&&c.prop._supvalue.apply(this,arguments)}}});p[a]=d.defineNodeNameProperty(a, -"canPlayType",{prop:{value:function(c){var d="";k&&p[a].prop._supvalue&&(d=p[a].prop._supvalue.call(this,c),"no"==d&&(d=""));!d&&h&&(c=b.trim((c||"").split(";")[0]),-1!=f.swfMimeTypes.indexOf(c)&&(d="maybe"));return d}}})});d.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var b=this,a=d.data(b,"mediaelementBase")||d.data(b,"mediaelementBase",{});clearTimeout(a.loadTimer);a.loadTimer=setTimeout(function(){A(b);b=null},9)}});q=function(){d.addReady(function(a,c){b("video, audio", -a).add(c.filter("video, audio")).each(function(){b.browser.msie&&8<d.browserVersion&&b.prop(this,"paused")&&!b.prop(this,"readyState")&&b(this).is('audio[preload="none"][controls]:not([autoplay])')?b(this).prop("preload","metadata").mediaLoad():A(this);if(k){var a,c,f=this,h=function(){var a=b.prop(f,"buffered");if(a){for(var c="",d=0,h=a.length;d<h;d++)c+=a.end(d);return c}},j=function(){var a=h();a!=c&&(c=a,b(f).triggerHandler("progress"))};b(this).bind("play loadstart progress",function(b){"progress"== -b.type&&(c=h());clearTimeout(a);a=setTimeout(j,999)}).bind("emptied stalled mediaerror abort suspend",function(b){"emptied"==b.type&&(c=!1);clearTimeout(a)})}})})};a.track&&!c.track&&d.defineProperty(TextTrack.prototype,"shimActiveCues",{get:function(){return this._shimActiveCues||this.activeCues}});k?(d.isReady("mediaelement-core",!0),q(),d.ready("WINDOWLOAD mediaelement",m)):d.ready("mediaelement-swf",q);b(function(){d.loader.loadList(["track-ui"])})})})(jQuery,Modernizr,jQuery.webshims); -jQuery.webshims.register("mediaelement-swf",function(b,a,d,k,g,i){var c=a.mediaelement,u=d.swfobject,h=Modernizr.audio&&Modernizr.video,s=u.hasFlashPlayerVersion("9.0.115"),q=0,d={paused:!0,ended:!1,currentSrc:"",duration:d.NaN,readyState:0,networkState:0,videoHeight:0,videoWidth:0,error:null,buffered:{start:function(b){if(b)a.error("buffered index size error");else return 0},end:function(b){if(b)a.error("buffered index size error");else return 0},length:0}},e=Object.keys(d),C={currentTime:0,volume:1, -muted:!1};Object.keys(C);var D=b.extend({isActive:"html5",activating:"html5",wasSwfReady:!1,_bufferedEnd:0,_bufferedStart:0,_metadata:!1,_durationCalcs:-1,_callMeta:!1,currentTime:0,_ppFlag:g},d,C),y=/^jwplayer-/,o=function(b){if(b=k.getElementById(b.replace(y,"")))return b=a.data(b,"mediaelement"),"third"==b.isActive?b:null},f=function(b){return(b=a.data(b,"mediaelement"))&&"third"==b.isActive?b:null},n=function(a,l){l=b.Event(l);l.preventDefault();b.event.trigger(l,g,a)},w=i.playerPath||a.cfg.basePath+ -"jwplayer/"+(i.playerName||"player.swf"),j=i.pluginPath||a.cfg.basePath+"swf/jwwebshims.swf";a.extendUNDEFProp(i.jwParams,{allowscriptaccess:"always",allowfullscreen:"true",wmode:"transparent"});a.extendUNDEFProp(i.jwVars,{screencolor:"ffffffff"});a.extendUNDEFProp(i.jwAttrs,{bgcolor:"#000000"});var m=function(a,l){var d=a.duration;if(!(d&&0<a._durationCalcs)){try{if(a.duration=a.jwapi.getPlaylist()[0].duration,!a.duration||0>=a.duration||a.duration===a._lastDuration)a.duration=d}catch(e){}a.duration&& -a.duration!=a._lastDuration?(n(a._elem,"durationchange"),("audio"==a._elemNodeName||a._callMeta)&&c.jwEvents.Model.META(b.extend({duration:a.duration},l),a),a._durationCalcs--):a._durationCalcs++}},p=function(b,a){3>b&&clearTimeout(a._canplaythroughTimer);if(3<=b&&3>a.readyState)a.readyState=b,n(a._elem,"canplay"),clearTimeout(a._canplaythroughTimer),a._canplaythroughTimer=setTimeout(function(){p(4,a)},4E3);if(4<=b&&4>a.readyState)a.readyState=b,n(a._elem,"canplaythrough");a.readyState=b};b.extend(b.event.customEvent, -{updatemediaelementdimensions:!0,flashblocker:!0,swfstageresize:!0,mediaelementapichange:!0});c.jwEvents={View:{PLAY:function(b){var a=o(b.id);if(a&&!a.stopPlayPause&&(a._ppFlag=!0,a.paused==b.state)){a.paused=!b.state;if(a.ended)a.ended=!1;n(a._elem,b.state?"play":"pause")}}},Model:{BUFFER:function(a){var l=o(a.id);if(l&&"percentage"in a&&l._bufferedEnd!=a.percentage){l.networkState=100==a.percentage?1:2;(isNaN(l.duration)||5<a.percentage&&25>a.percentage||100===a.percentage)&&m(l,a);if(l.ended)l.ended= -!1;if(l.duration){2<a.percentage&&20>a.percentage?p(3,l):20<a.percentage&&p(4,l);if(l._bufferedEnd&&l._bufferedEnd>a.percentage)l._bufferedStart=l.currentTime||0;l._bufferedEnd=a.percentage;l.buffered.length=1;if(100==a.percentage)l.networkState=1,p(4,l);b.event.trigger("progress",g,l._elem,!0)}}},META:function(b,a){if(a=a&&a.networkState?a:o(b.id))if("duration"in b){if(!a._metadata||!((!b.height||a.videoHeight==b.height)&&b.duration===a.duration)){a._metadata=!0;var c=a.duration;if(b.duration)a.duration= -b.duration;a._lastDuration=a.duration;if(b.height||b.width)a.videoHeight=b.height||0,a.videoWidth=b.width||0;if(!a.networkState)a.networkState=2;1>a.readyState&&p(1,a);a.duration&&c!==a.duration&&n(a._elem,"durationchange");n(a._elem,"loadedmetadata")}}else a._callMeta=!0},TIME:function(b){var a=o(b.id);if(a&&a.currentTime!==b.position){a.currentTime=b.position;a.duration&&a.duration<a.currentTime&&m(a,b);2>a.readyState&&p(2,a);if(a.ended)a.ended=!1;n(a._elem,"timeupdate")}},STATE:function(a){var b= -o(a.id);if(b)switch(a.newstate){case "BUFFERING":if(b.ended)b.ended=!1;p(1,b);n(b._elem,"waiting");break;case "PLAYING":b.paused=!1;b._ppFlag=!0;b.duration||m(b,a);3>b.readyState&&p(3,b);if(b.ended)b.ended=!1;n(b._elem,"playing");break;case "PAUSED":if(!b.paused&&!b.stopPlayPause)b.paused=!0,b._ppFlag=!0,n(b._elem,"pause");break;case "COMPLETED":4>b.readyState&&p(4,b),b.ended=!0,n(b._elem,"ended")}}},Controller:{ERROR:function(b){var a=o(b.id);a&&c.setError(a._elem,b.message)},SEEK:function(b){var a= -o(b.id);if(a){if(a.ended)a.ended=!1;if(a.paused)try{a.jwapi.sendEvent("play","false")}catch(c){}if(a.currentTime!=b.position)a.currentTime=b.position,n(a._elem,"timeupdate")}},VOLUME:function(b){var a=o(b.id);if(a&&(b=b.percentage/100,a.volume!=b))a.volume=b,n(a._elem,"volumechange")},MUTE:function(b){if(!b.state){var a=o(b.id);if(a&&a.muted!=b.state)a.muted=b.state,n(a._elem,"volumechange")}}}};var B=function(a){var l=!0;b.each(c.jwEvents,function(c,d){b.each(d,function(b){try{a.jwapi["add"+c+"Listener"](b, -"jQuery.webshims.mediaelement.jwEvents."+c+"."+b)}catch(d){return l=!1}})});return l},z=function(b){var a=b.actionQueue.length,c=0,d;if(a&&"third"==b.isActive)for(;b.actionQueue.length&&a>c;)c++,d=b.actionQueue.shift(),b.jwapi[d.fn].apply(b.jwapi,d.args);if(b.actionQueue.length)b.actionQueue=[]},F=function(a){a&&(a._ppFlag===g&&b.prop(a._elem,"autoplay")||!a.paused)&&setTimeout(function(){if("third"==a.isActive&&(a._ppFlag===g||!a.paused))try{b(a._elem).play()}catch(c){}},1)},A=function(a){if(a&& -"video"==a._elemNodeName){var c,d,e,f,v,r,h,j,i=function(i,g){if(g&&i&&!(1>g||1>i||"third"!=a.isActive))if(c&&(c.remove(),c=!1),f=i,v=g,clearTimeout(h),d="auto"==a._elem.style.width,e="auto"==a._elem.style.height,d||e){r=r||b(a._elem).getShadowElement();var k;d&&!e?(k=r.height(),i*=k/g,g=k):!d&&e&&(k=r.width(),g*=k/i,i=k);j=!0;setTimeout(function(){j=!1},9);r.css({width:i,height:g})}},g=function(){if(!("third"!=a.isActive||b.prop(a._elem,"readyState")&&b.prop(this,"videoWidth"))){var r=b.prop(a._elem, -"poster");if(r&&(d="auto"==a._elem.style.width,e="auto"==a._elem.style.height,d||e))c&&(c.remove(),c=!1),c=b('<img style="position: absolute; height: auto; width: auto; top: 0px; left: 0px; visibility: hidden;" />'),c.bind("load error alreadycomplete",function(){clearTimeout(h);var a=this,d=a.naturalWidth||a.width||a.offsetWidth,G=a.naturalHeight||a.height||a.offsetHeight;G&&d?(i(d,G),a=null):setTimeout(function(){d=a.naturalWidth||a.width||a.offsetWidth;G=a.naturalHeight||a.height||a.offsetHeight; -i(d,G);c&&(c.remove(),c=!1);a=null},9);b(this).unbind()}).prop("src",r).appendTo("body").each(function(){this.complete||this.error?b(this).triggerHandler("alreadycomplete"):(clearTimeout(h),h=setTimeout(function(){b(a._elem).triggerHandler("error")},9999))})}};b(a._elem).bind("loadedmetadata",function(){i(b.prop(this,"videoWidth"),b.prop(this,"videoHeight"))}).bind("emptied",g).bind("swfstageresize updatemediaelementdimensions",function(){j||i(f,v)}).bind("emptied",function(){f=void 0;v=void 0}).triggerHandler("swfstageresize"); -g();b.prop(a._elem,"readyState")&&i(b.prop(a._elem,"videoWidth"),b.prop(a._elem,"videoHeight"))}};c.playerResize=function(a){a&&(a=k.getElementById(a.replace(y,"")))&&b(a).triggerHandler("swfstageresize")};b(k).bind("emptied",function(a){a=f(a.target);F(a)});var E;c.jwPlayerReady=function(c){var d=o(c.id),e=0,f=function(){if(!(9<e))if(e++,B(d)){if(d.wasSwfReady)b(d._elem).mediaLoad();else{var h=parseFloat(c.version,10);(5.1>h||6<=h)&&a.warn("mediaelement-swf is only testet with jwplayer 5.6+")}d.wasSwfReady= -!0;d.tryedReframeing=0;z(d);F(d)}else clearTimeout(d.reframeTimer),d.reframeTimer=setTimeout(f,9*e),2<e&&9>d.tryedReframeing&&(d.tryedReframeing++,d.shadowElem.css({overflow:"visible"}),setTimeout(function(){d.shadowElem.css({overflow:"hidden"})},16))};if(d&&d.jwapi){if(!d.tryedReframeing)d.tryedReframeing=0;clearTimeout(E);d.jwData=c;d.shadowElem.removeClass("flashblocker-assumed");b.prop(d._elem,"volume",d.volume);b.prop(d._elem,"muted",d.muted);f()}};var H=b.noop;if(h){var K={play:1,playing:1}, -t="play,pause,playing,canplay,progress,waiting,ended,loadedmetadata,durationchange,emptied".split(","),J=t.map(function(a){return a+".webshimspolyfill"}).join(" "),L=function(c){var d=a.data(c.target,"mediaelement");d&&(c.originalEvent&&c.originalEvent.type===c.type)==("third"==d.activating)&&(c.stopImmediatePropagation(),K[c.type]&&d.isActive!=d.activating&&b(c.target).pause())},H=function(c){b(c).unbind(J).bind(J,L);t.forEach(function(b){a.moveToFirstEvent(c,b)})};H(k)}c.setActive=function(c,d, -e){e||(e=a.data(c,"mediaelement"));if(e&&e.isActive!=d){"html5"!=d&&"third"!=d&&a.warn("wrong type for mediaelement activating: "+d);var f=a.data(c,"shadowData");e.activating=d;b(c).pause();e.isActive=d;"third"==d?(f.shadowElement=f.shadowFocusElement=e.shadowElem[0],b(c).addClass("swf-api-active nonnative-api-active").hide().getShadowElement().show()):(b(c).removeClass("swf-api-active nonnative-api-active").show().getShadowElement().hide(),f.shadowElement=f.shadowFocusElement=!1);b(c).trigger("mediaelementapichange")}}; -var O=function(){var a="_bufferedEnd,_bufferedStart,_metadata,_ppFlag,currentSrc,currentTime,duration,ended,networkState,paused,videoHeight,videoWidth,_callMeta,_durationCalcs".split(","),b=a.length;return function(c){if(c){var d=b,e=c.networkState;for(p(0,c);--d;)delete c[a[d]];c.actionQueue=[];c.buffered.length=0;e&&n(c._elem,"emptied")}}}(),I=function(a,c){var d=a._elem,e=a.shadowElem;b(d)[c?"addClass":"removeClass"]("webshims-controls");"audio"==a._elemNodeName&&!c?e.css({width:0,height:0}):e.css({width:d.style.width|| -b(d).width(),height:d.style.height||b(d).height()})};c.createSWF=function(d,e,f){if(s){1>q?q=1:q++;var g=b.extend({},i.jwVars,{image:b.prop(d,"poster")||"",file:e.srcProp}),k=b(d).data("jwvars")||{};f||(f=a.data(d,"mediaelement"));if(f&&f.swfCreated)c.setActive(d,"third",f),O(f),f.currentSrc=e.srcProp,b.extend(g,k),i.changeJW(g,d,e,f,"load"),x(d,"sendEvent",["LOAD",g]);else{var v=b.prop(d,"controls"),r="jwplayer-"+a.getID(d),n=b.extend({},i.jwParams,b(d).data("jwparams")),m=d.nodeName.toLowerCase(), -p=b.extend({},i.jwAttrs,{name:r,id:r},b(d).data("jwattrs")),o=b('<div class="polyfill-'+m+' polyfill-mediaelement" id="wrapper-'+r+'"><div id="'+r+'"></div>').css({position:"relative",overflow:"hidden"}),f=a.data(d,"mediaelement",a.objectCreate(D,{actionQueue:{value:[]},shadowElem:{value:o},_elemNodeName:{value:m},_elem:{value:d},currentSrc:{value:e.srcProp},swfCreated:{value:!0},buffered:{value:{start:function(b){if(b>=f.buffered.length)a.error("buffered index size error");else return 0},end:function(b){if(b>= -f.buffered.length)a.error("buffered index size error");else return(f.duration-f._bufferedStart)*f._bufferedEnd/100+f._bufferedStart},length:0}}}));I(f,v);o.insertBefore(d);h&&b.extend(f,{volume:b.prop(d,"volume"),muted:b.prop(d,"muted")});b.extend(g,{id:r,controlbar:v?i.jwVars.controlbar||("video"==m?"over":"bottom"):"video"==m?"none":"bottom",icons:""+(v&&"video"==m)},k,{playerready:"jQuery.webshims.mediaelement.jwPlayerReady"});g.plugins=g.plugins?g.plugins+(","+j):j;a.addShadowDom(d,o);H(d);c.setActive(d, -"third",f);i.changeJW(g,d,e,f,"embed");b(d).bind("updatemediaelementdimensions updateshadowdom",function(){I(f,b.prop(d,"controls"))});A(f);u.embedSWF(w,r,"100%","100%","9.0.0",!1,g,n,p,function(c){if(c.success)f.jwapi=c.ref,v||b(c.ref).attr("tabindex","-1").css("outline","none"),setTimeout(function(){if(!c.ref.parentNode&&o[0].parentNode||"none"==c.ref.style.display)o.addClass("flashblocker-assumed"),b(d).trigger("flashblocker"),a.warn("flashblocker assumed");b(c.ref).css({minHeight:"2px",minWidth:"2px", -display:"block"})},9),E||(clearTimeout(E),E=setTimeout(function(){var d=b(c.ref);1<d[0].offsetWidth&&1<d[0].offsetHeight&&0===location.protocol.indexOf("file:")?a.error("Add your local development-directory to the local-trusted security sandbox: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html"):(2>d[0].offsetWidth||2>d[0].offsetHeight)&&a.warn("JS-SWF connection can't be established on hidden or unconnected flash objects")},8E3))})}}else setTimeout(function(){b(d).mediaLoad()}, -1)};var x=function(a,b,c,d){return(d=d||f(a))?(d.jwapi&&d.jwapi[b]?d.jwapi[b].apply(d.jwapi,c||[]):(d.actionQueue.push({fn:b,args:c}),10<d.actionQueue.length&&setTimeout(function(){5<d.actionQueue.length&&d.actionQueue.shift()},99)),d):!1};["audio","video"].forEach(function(c){var d={},g,i=function(a){"audio"==c&&("videoHeight"==a||"videoWidth"==a)||(d[a]={get:function(){var b=f(this);return b?b[a]:h&&g[a].prop._supget?g[a].prop._supget.apply(this):D[a]},writeable:!1})},j=function(a,b){i(a);delete d[a].writeable; -d[a].set=b};j("volume",function(b){var c=f(this);if(c){if(b*=100,!isNaN(b)){var d=c.muted;(0>b||100<b)&&a.error("volume greater or less than allowed "+b/100);x(this,"sendEvent",["VOLUME",b],c);if(d)try{c.jwapi.sendEvent("mute","true")}catch(e){}b/=100;if(!(c.volume==b||"third"!=c.isActive))c.volume=b,n(c._elem,"volumechange")}}else if(g.volume.prop._supset)return g.volume.prop._supset.apply(this,arguments)});j("muted",function(a){var b=f(this);if(b){if(a=!!a,x(this,"sendEvent",["mute",""+a],b),!(b.muted== -a||"third"!=b.isActive))b.muted=a,n(b._elem,"volumechange")}else if(g.muted.prop._supset)return g.muted.prop._supset.apply(this,arguments)});j("currentTime",function(a){var b=f(this);if(b){if(a*=1,!isNaN(a)){if(b.paused)clearTimeout(b.stopPlayPause),b.stopPlayPause=setTimeout(function(){b.paused=!0;b.stopPlayPause=!1},50);x(this,"sendEvent",["SEEK",""+a],b);if(b.paused){if(0<b.readyState)b.currentTime=a,n(b._elem,"timeupdate");try{b.jwapi.sendEvent("play","false")}catch(c){}}}}else if(g.currentTime.prop._supset)return g.currentTime.prop._supset.apply(this, -arguments)});["play","pause"].forEach(function(a){d[a]={value:function(){var b=f(this);if(b)b.stopPlayPause&&clearTimeout(b.stopPlayPause),x(this,"sendEvent",["play","play"==a],b),setTimeout(function(){if("third"==b.isActive&&(b._ppFlag=!0,b.paused!=("play"!=a)))b.paused="play"!=a,n(b._elem,a)},1);else if(g[a].prop._supvalue)return g[a].prop._supvalue.apply(this,arguments)}}});e.forEach(i);a.onNodeNamesPropertyModify(c,"controls",function(d,e){var g=f(this);b(this)[e?"addClass":"removeClass"]("webshims-controls"); -if(g){try{x(this,e?"showControls":"hideControls",[c],g)}catch(h){a.warn("you need to generate a crossdomain.xml")}"audio"==c&&I(g,e);b(g.jwapi).attr("tabindex",e?"0":"-1")}});g=a.defineNodeNameProperties(c,d,"prop")});if(s){var M=b.cleanData,N=b.browser.msie&&9>a.browserVersion,P={object:1,OBJECT:1};b.cleanData=function(a){var b,c,d;if(a&&(c=a.length)&&q)for(b=0;b<c;b++)if(P[a[b].nodeName]){if("sendEvent"in a[b]){q--;try{a[b].sendEvent("play",!1)}catch(e){}}if(N)try{for(d in a[b])"function"==typeof a[b][d]&& -(a[b][d]=null)}catch(f){}}return M.apply(this,arguments)}}h||(["poster","src"].forEach(function(b){a.defineNodeNamesProperty("src"==b?["audio","video","source"]:["video"],b,{reflect:!0,propType:"src"})}),["autoplay","controls"].forEach(function(b){a.defineNodeNamesBooleanProperty(["audio","video"],b)}),a.defineNodeNamesProperties(["audio","video"],{HAVE_CURRENT_DATA:{value:2},HAVE_ENOUGH_DATA:{value:4},HAVE_FUTURE_DATA:{value:3},HAVE_METADATA:{value:1},HAVE_NOTHING:{value:0},NETWORK_EMPTY:{value:0}, -NETWORK_IDLE:{value:1},NETWORK_LOADING:{value:2},NETWORK_NO_SOURCE:{value:3}},"prop"))}); +d){for(var c in d)k(d,c)&&a.defineProperty(b,c,d[c]);return b};a.defineProperty=function(b,a,c){if("object"!=typeof c||null===c)return b;if(k(c,"value"))return b[a]=c.value,b;b.__defineGetter__&&("function"==typeof c.get&&b.__defineGetter__(a,c.get),"function"==typeof c.set&&b.__defineSetter__(a,c.set));return b};a.getPrototypeOf=function(b){return Object.getPrototypeOf&&Object.getPrototypeOf(b)||b.__proto__||b.constructor&&b.constructor.prototype};a.getOwnPropertyDescriptor=function(b,a){if("object"!== +typeof b&&"function"!==typeof b||null===b)throw new TypeError("Object.getOwnPropertyDescriptor called on a non-object");var c;if(Object.defineProperty&&Object.getOwnPropertyDescriptor)try{return c=Object.getOwnPropertyDescriptor(b,a)}catch(d){}c={configurable:!0,enumerable:!0,writable:!0,value:void 0};var h=b.__lookupGetter__&&b.__lookupGetter__(a),p=b.__lookupSetter__&&b.__lookupSetter__(a);if(!h&&!p){if(!k(b,a))return;c.value=b[a];return c}delete c.writable;delete c.value;c.get=c.set=void 0;if(h)c.get= +h;if(p)c.set=p;return c}}})(jQuery,jQuery.webshims); +(function(b,a,d){var k=a.audio&&a.video,g=!1,i=d.cfg.mediaelement,c=d.bugs,t="jwplayer"==i.player?"mediaelement-swf":"mediaelement-jaris",h=function(){d.ready(t,function(){if(!d.mediaelement.createSWF)d.mediaelement.loadSwf=!0,d.reTest([t],k)})},p;if(k){var q=document.createElement("video");a.videoBuffered="buffered"in q;g="loop"in q;d.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(","));a.videoBuffered||(d.addPolyfill("mediaelement-native-fix", +{f:"mediaelement",test:a.videoBuffered,d:["dom-support"]}),d.reTest("mediaelement-native-fix"))}if(k&&!i.preferFlash){var u=function(a){var c=a.target.parentNode;!i.preferFlash&&(b(a.target).is("audio, video")||c&&b("source:last",c)[0]==a.target)&&d.ready("DOM mediaelement",function(){p&&h();d.ready("WINDOWLOAD "+t,function(){setTimeout(function(){p&&!i.preferFlash&&d.mediaelement.createSWF&&!b(a.target).closest("audio, video").is(".nonnative-api-active")?(i.preferFlash=!0,document.removeEventListener("error", +u,!0),b("audio, video").mediaLoad(),d.info("switching mediaelements option to 'preferFlash', due to an error with native player: "+a.target.src)):p||document.removeEventListener("error",u,!0)},20)})})};document.addEventListener("error",u,!0);b("audio, video").each(function(){this.error&&u({target:this})})}c.track=!1;a.track&&function(){if(!c.track)c.track="number"!=typeof b("<track />")[0].readyState;if(!c.track)try{new TextTrackCue(2,3,"")}catch(a){c.track=!0}var v=d.cfg.track,h=function(a){b(a.target).filter("track").each(g)}, +g=function(){if(c.track||!v.override&&3==b.prop(this,"readyState"))v.override=!0,d.reTest("track"),document.removeEventListener("error",h,!0),this&&b.nodeName(this,"track")?d.error("track support was overwritten. Please check your vtt including your vtt mime-type"):d.info("track support was overwritten. due to bad browser support")},i=function(){document.addEventListener("error",h,!0);c.track?g():b("track").each(g)};v.override||(d.isReady("track")?i():b(i))}();d.register("mediaelement-core",function(b, +d,q,m,l){p=swfobject.hasFlashPlayerVersion("9.0.115");var e=d.mediaelement,u=function(a,c){var a=b(a),d={src:a.attr("src")||"",elem:a,srcProp:a.prop("src")};if(!d.src)return d;var s=a.attr("type");if(s)d.type=s,d.container=b.trim(s.split(";")[0]);else if(c||(c=a[0].nodeName.toLowerCase(),"source"==c&&(c=(a.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),s=e.getTypeForSrc(d.src,c))d.type=s,d.container=s;if(s=a.attr("media"))d.media=s;return d},f=!p&&"postMessage"in q&&k,o= +function(){var a;return function(){!a&&f&&(a=!0,d.loader.loadScript("https://www.youtube.com/player_api"),b(function(){d.polyfill("mediaelement-yt")}))}}(),r=function(){p?h():o()};d.addPolyfill("mediaelement-yt",{test:!f,d:["dom-support"]});e.mimeTypes={audio:{"audio/ogg":["ogg","oga","ogm"],'audio/ogg;codecs="opus"':"opus","audio/mpeg":["mp2","mp3","mpga","mpega"],"audio/mp4":"mp4,mpg4,m4r,m4a,m4p,m4b,aac".split(","),"audio/wav":["wav"],"audio/3gpp":["3gp","3gpp"],"audio/webm":["webm"],"audio/fla":["flv", +"f4a","fla"],"application/x-mpegURL":["m3u8","m3u"]},video:{"video/ogg":["ogg","ogv","ogm"],"video/mpeg":["mpg","mpeg","mpe"],"video/mp4":["mp4","mpg4","m4v"],"video/quicktime":["mov","qt"],"video/x-msvideo":["avi"],"video/x-ms-asf":["asf","asx"],"video/flv":["flv","f4v"],"video/3gpp":["3gp","3gpp"],"video/webm":["webm"],"application/x-mpegURL":["m3u8","m3u"],"video/MP2T":["ts"]}};e.mimeTypes.source=b.extend({},e.mimeTypes.audio,e.mimeTypes.video);e.getTypeForSrc=function(a,c){if(-1!=a.indexOf("youtube.com/watch?")|| +-1!=a.indexOf("youtube.com/v/"))return"video/youtube";var a=a.split("?")[0].split("."),a=a[a.length-1],d;b.each(e.mimeTypes[c],function(b,c){if(-1!==c.indexOf(a))return d=b,!1});return d};e.srces=function(a,c){a=b(a);if(c)a.removeAttr("src").removeAttr("type").find("source").remove(),b.isArray(c)||(c=[c]),c.forEach(function(b){var c=m.createElement("source");"string"==typeof b&&(b={src:b});c.setAttribute("src",b.src);b.type&&c.setAttribute("type",b.type);b.media&&c.setAttribute("media",b.media);a.append(c)}); +else{var c=[],e=a[0].nodeName.toLowerCase(),d=u(a,e);d.src?c.push(d):b("source",a).each(function(){d=u(this,e);d.src&&c.push(d)});return c}};b.fn.loadMediaSrc=function(a,c){return this.each(function(){c!==l&&(b(this).removeAttr("poster"),c&&b.attr(this,"poster",c));e.srces(this,a);b(this).mediaLoad()})};e.swfMimeTypes="video/3gpp,video/x-msvideo,video/quicktime,video/x-m4v,video/mp4,video/m4p,video/x-flv,video/flv,audio/mpeg,audio/aac,audio/mp4,audio/x-m4a,audio/m4a,audio/mp3,audio/x-fla,audio/fla,youtube/flv,jwplayer/jwplayer,video/youtube".split(","); +e.canThirdPlaySrces=function(a,c){var d="";if(p||f)a=b(a),c=c||e.srces(a),b.each(c,function(b,a){if(a.container&&a.src&&(p&&-1!=e.swfMimeTypes.indexOf(a.container)||f&&"video/youtube"==a.container))return d=a,!1});return d};var w={};e.canNativePlaySrces=function(a,c){var d="";if(k){var a=b(a),f=(a[0].nodeName||"").toLowerCase();if(!w[f])return d;c=c||e.srces(a);b.each(c,function(b,c){if(c.type&&w[f].prop._supvalue.call(a[0],c.type))return d=c,!1})}return d};e.setError=function(a,c){c||(c="can't play sources"); +b(a).pause().data("mediaerror",c);d.warn("mediaelementError: "+c);setTimeout(function(){b(a).data("mediaerror")&&b(a).trigger("mediaerror")},1)};var E=function(){var b;return function(a,c,s){d.ready(p?t:"mediaelement-yt",function(){e.createSWF?e.createSWF(a,c,s):b||(b=!0,r(),E(a,c,s))});!b&&f&&!e.createSWF&&o()}}(),y=function(b,a,c,d,f){c||!1!==c&&a&&"third"==a.isActive?(c=e.canThirdPlaySrces(b,d))?E(b,c,a):f?e.setError(b,!1):y(b,a,!1,d,!0):(c=e.canNativePlaySrces(b,d))?a&&"third"==a.isActive&&e.setActive(b, +"html5",a):f?(e.setError(b,!1),a&&"third"==a.isActive&&e.setActive(b,"html5",a)):y(b,a,!0,d,!0)},z=/^(?:embed|object|datalist)$/i,x=function(a,c){var f=d.data(a,"mediaelementBase")||d.data(a,"mediaelementBase",{}),h=e.srces(a),g=a.parentNode;clearTimeout(f.loadTimer);b.data(a,"mediaerror",!1);if(h.length&&g&&!(1!=g.nodeType||z.test(g.nodeName||"")))c=c||d.data(a,"mediaelement"),y(a,c,i.preferFlash||l,h)};b(m).on("ended",function(a){var c=d.data(a.target,"mediaelement");(!g||c&&"html5"!=c.isActive|| +b.prop(a.target,"loop"))&&setTimeout(function(){!b.prop(a.target,"paused")&&b.prop(a.target,"loop")&&b(a.target).prop("currentTime",0).play()},1)});g||d.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(a){var c=d.defineNodeNameProperty(a,"load",{prop:{value:function(){var b=d.data(this,"mediaelement");x(this,b);k&&(!b||"html5"==b.isActive)&&c.prop._supvalue&&c.prop._supvalue.apply(this,arguments)}}});w[a]=d.defineNodeNameProperty(a,"canPlayType",{prop:{value:function(c){var d= +"";k&&w[a].prop._supvalue&&(d=w[a].prop._supvalue.call(this,c),"no"==d&&(d=""));!d&&p&&(c=b.trim((c||"").split(";")[0]),-1!=e.swfMimeTypes.indexOf(c)&&(d="maybe"));return d}}})});d.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var b=this,a=d.data(b,"mediaelementBase")||d.data(b,"mediaelementBase",{});clearTimeout(a.loadTimer);a.loadTimer=setTimeout(function(){x(b);b=null},9)}});q=function(){d.addReady(function(a,c){b("video, audio",a).add(c.filter("video, audio")).each(function(){b.browser.msie&& +8<d.browserVersion&&b.prop(this,"paused")&&!b.prop(this,"readyState")&&b(this).is('audio[preload="none"][controls]:not([autoplay])')?b(this).prop("preload","metadata").mediaLoad():x(this);if(k){var a,c,e=this,f=function(){var a=b.prop(e,"buffered");if(a){for(var c="",d=0,P=a.length;d<P;d++)c+=a.end(d);return c}},h=function(){var a=f();a!=c&&(c=a,b(e).triggerHandler("progress"))};b(this).on({"play loadstart progress":function(b){"progress"==b.type&&(c=f());clearTimeout(a);a=setTimeout(h,999)},"emptied stalled mediaerror abort suspend":function(b){"emptied"== +b.type&&(c=!1);clearTimeout(a)}})}})})};a.track&&!c.track&&d.defineProperty(TextTrack.prototype,"shimActiveCues",{get:function(){return this._shimActiveCues||this.activeCues}});k?(d.isReady("mediaelement-core",!0),q(),d.ready("WINDOWLOAD mediaelement",r)):d.ready(t,q);b(function(){d.loader.loadList(["track-ui"])})})})(jQuery,Modernizr,jQuery.webshims); +jQuery.webshims.register("mediaelement-swf",function(b,a,d,k,g,i){var c=a.mediaelement,t=d.swfobject,h=Modernizr.audio&&Modernizr.video,p=t.hasFlashPlayerVersion("9.0.115"),q=0,d={paused:!0,ended:!1,currentSrc:"",duration:d.NaN,readyState:0,networkState:0,videoHeight:0,videoWidth:0,error:null,buffered:{start:function(b){if(b)a.error("buffered index size error");else return 0},end:function(b){if(b)a.error("buffered index size error");else return 0},length:0}},u=Object.keys(d),j={currentTime:0,volume:1, +muted:!1};Object.keys(j);var v=b.extend({isActive:"html5",activating:"html5",wasSwfReady:!1,_bufferedEnd:0,_bufferedStart:0,_metadata:!1,_durationCalcs:-1,_callMeta:!1,currentTime:0,_ppFlag:g},d,j),D=/^jwplayer-/,m=function(b){if(b=k.getElementById(b.replace(D,"")))return b=a.data(b,"mediaelement"),"third"==b.isActive?b:null},l=function(b){return(b=a.data(b,"mediaelement"))&&"third"==b.isActive?b:null},e=function(a,B){B=b.Event(B);B.preventDefault();b.event.trigger(B,g,a)},J=i.playerPath||a.cfg.basePath+ +"jwplayer/"+(i.playerName||"player.swf"),f=i.pluginPath||a.cfg.basePath+"swf/jwwebshims.swf";a.extendUNDEFProp(i.params,{allowscriptaccess:"always",allowfullscreen:"true",wmode:"transparent"});a.extendUNDEFProp(i.vars,{screencolor:"ffffffff"});a.extendUNDEFProp(i.attrs,{bgcolor:"#000000"});var o=function(a,B){var d=a.duration;if(!(d&&0<a._durationCalcs)){try{if(a.duration=a.jwapi.getPlaylist()[0].duration,!a.duration||0>=a.duration||a.duration===a._lastDuration)a.duration=d}catch(Q){}a.duration&& +a.duration!=a._lastDuration?(e(a._elem,"durationchange"),("audio"==a._elemNodeName||a._callMeta)&&c.jwEvents.Model.META(b.extend({duration:a.duration},B),a),a._durationCalcs--):a._durationCalcs++}},r=function(b,a){3>b&&clearTimeout(a._canplaythroughTimer);if(3<=b&&3>a.readyState)a.readyState=b,e(a._elem,"canplay"),clearTimeout(a._canplaythroughTimer),a._canplaythroughTimer=setTimeout(function(){r(4,a)},4E3);if(4<=b&&4>a.readyState)a.readyState=b,e(a._elem,"canplaythrough");a.readyState=b};b.extend(b.event.customEvent, +{updatemediaelementdimensions:!0,flashblocker:!0,swfstageresize:!0,mediaelementapichange:!0});c.jwEvents={View:{PLAY:function(b){var a=m(b.id);if(a&&!a.stopPlayPause&&(a._ppFlag=!0,a.paused==b.state)){a.paused=!b.state;if(a.ended)a.ended=!1;e(a._elem,b.state?"play":"pause")}}},Model:{BUFFER:function(a){var c=m(a.id);if(c&&"percentage"in a&&c._bufferedEnd!=a.percentage){c.networkState=100==a.percentage?1:2;(isNaN(c.duration)||5<a.percentage&&25>a.percentage||100===a.percentage)&&o(c,a);if(c.ended)c.ended= +!1;if(c.duration){2<a.percentage&&20>a.percentage?r(3,c):20<a.percentage&&r(4,c);if(c._bufferedEnd&&c._bufferedEnd>a.percentage)c._bufferedStart=c.currentTime||0;c._bufferedEnd=a.percentage;c.buffered.length=1;if(100==a.percentage)c.networkState=1,r(4,c);b.event.trigger("progress",g,c._elem,!0)}}},META:function(a,b){if(b=b&&b.networkState?b:m(a.id))if("duration"in a){if(!b._metadata||!((!a.height||b.videoHeight==a.height)&&a.duration===b.duration)){b._metadata=!0;var c=b.duration;if(a.duration)b.duration= +a.duration;b._lastDuration=b.duration;if(a.height||a.width)b.videoHeight=a.height||0,b.videoWidth=a.width||0;if(!b.networkState)b.networkState=2;1>b.readyState&&r(1,b);b.duration&&c!==b.duration&&e(b._elem,"durationchange");e(b._elem,"loadedmetadata")}}else b._callMeta=!0},TIME:function(b){var a=m(b.id);if(a&&a.currentTime!==b.position){a.currentTime=b.position;a.duration&&a.duration<a.currentTime&&o(a,b);2>a.readyState&&r(2,a);if(a.ended)a.ended=!1;e(a._elem,"timeupdate")}},STATE:function(b){var a= +m(b.id);if(a)switch(b.newstate){case "BUFFERING":if(a.ended)a.ended=!1;r(1,a);e(a._elem,"waiting");break;case "PLAYING":a.paused=!1;a._ppFlag=!0;a.duration||o(a,b);3>a.readyState&&r(3,a);if(a.ended)a.ended=!1;e(a._elem,"playing");break;case "PAUSED":if(!a.paused&&!a.stopPlayPause)a.paused=!0,a._ppFlag=!0,e(a._elem,"pause");break;case "COMPLETED":4>a.readyState&&r(4,a),a.ended=!0,e(a._elem,"ended")}}},Controller:{ERROR:function(a){var b=m(a.id);b&&c.setError(b._elem,a.message)},SEEK:function(a){var b= +m(a.id);if(b){if(b.ended)b.ended=!1;if(b.paused)try{b.jwapi.sendEvent("play","false")}catch(c){}if(b.currentTime!=a.position)b.currentTime=a.position,e(b._elem,"timeupdate")}},VOLUME:function(a){var b=m(a.id);if(b&&(a=a.percentage/100,b.volume!=a))b.volume=a,e(b._elem,"volumechange")},MUTE:function(a){if(!a.state){var b=m(a.id);if(b&&b.muted!=a.state)b.muted=a.state,e(b._elem,"volumechange")}}}};var w=function(a){var d=!0;b.each(c.jwEvents,function(c,e){b.each(e,function(b){try{a.jwapi["add"+c+"Listener"](b, +"jQuery.webshims.mediaelement.jwEvents."+c+"."+b)}catch(e){return d=!1}})});return d},E=function(a){var b=a.actionQueue.length,c=0,d;if(b&&"third"==a.isActive)for(;a.actionQueue.length&&b>c;)c++,d=a.actionQueue.shift(),a.jwapi[d.fn].apply(a.jwapi,d.args);if(a.actionQueue.length)a.actionQueue=[]},y=function(a){a&&(a._ppFlag===g&&b.prop(a._elem,"autoplay")||!a.paused)&&setTimeout(function(){if("third"==a.isActive&&(a._ppFlag===g||!a.paused))try{b(a._elem).play()}catch(c){}},1)};c.playerResize=function(a){a&& +(a=k.getElementById(a.replace(D,"")))&&b(a).triggerHandler("swfstageresize")};b(k).on("emptied",function(a){a=l(a.target);y(a)});var z;c.jwPlayerReady=function(c){var d=m(c.id),e=0,f=function(){if(!(9<e))if(e++,w(d)){if(d.wasSwfReady)b(d._elem).mediaLoad();else{var h=parseFloat(c.version,10);(5.1>h||6<=h)&&a.warn("mediaelement-swf is only testet with jwplayer 5.6+")}d.wasSwfReady=!0;d.tryedReframeing=0;E(d);y(d)}else clearTimeout(d.reframeTimer),d.reframeTimer=setTimeout(f,9*e),2<e&&9>d.tryedReframeing&& +(d.tryedReframeing++,d.shadowElem.css({overflow:"visible"}),setTimeout(function(){d.shadowElem.css({overflow:"hidden"})},16))};if(d&&d.jwapi){if(!d.tryedReframeing)d.tryedReframeing=0;clearTimeout(z);d.jwData=c;d.shadowElem.removeClass("flashblocker-assumed");b.prop(d._elem,"volume",d.volume);b.prop(d._elem,"muted",d.muted);f()}};var x=b.noop;if(h){var K={play:1,playing:1},H="play,pause,playing,canplay,progress,waiting,ended,loadedmetadata,durationchange,emptied".split(","),I=H.map(function(a){return a+ +".webshimspolyfill"}).join(" "),s=function(c){var d=a.data(c.target,"mediaelement");d&&(c.originalEvent&&c.originalEvent.type===c.type)==("third"==d.activating)&&(c.stopImmediatePropagation(),K[c.type]&&d.isActive!=d.activating&&b(c.target).pause())},x=function(c){b(c).off(I).on(I,s);H.forEach(function(b){a.moveToFirstEvent(c,b)})};x(k)}c.setActive=function(c,d,e){e||(e=a.data(c,"mediaelement"));if(e&&e.isActive!=d){"html5"!=d&&"third"!=d&&a.warn("wrong type for mediaelement activating: "+d);var f= +a.data(c,"shadowData");e.activating=d;b(c).pause();e.isActive=d;"third"==d?(f.shadowElement=f.shadowFocusElement=e.shadowElem[0],b(c).addClass("swf-api-active nonnative-api-active").hide().getShadowElement().show()):(b(c).removeClass("swf-api-active nonnative-api-active").show().getShadowElement().hide(),f.shadowElement=f.shadowFocusElement=!1);b(c).trigger("mediaelementapichange")}};var L=function(){var a="_bufferedEnd,_bufferedStart,_metadata,_ppFlag,currentSrc,currentTime,duration,ended,networkState,paused,videoHeight,videoWidth,_callMeta,_durationCalcs".split(","), +b=a.length;return function(c){if(c){var d=b,f=c.networkState;for(r(0,c);--d;)delete c[a[d]];c.actionQueue=[];c.buffered.length=0;f&&e(c._elem,"emptied")}}}(),G=function(a,c){var d=a._elem,e=a.shadowElem;b(d)[c?"addClass":"removeClass"]("webshims-controls");"audio"==a._elemNodeName&&!c?e.css({width:0,height:0}):e.css({width:d.style.width||b(d).width(),height:d.style.height||b(d).height()})};c.createSWF=function(d,e,n){if(p){1>q?q=1:q++;var g=b.extend({},i.vars,{image:b.prop(d,"poster")||"",file:e.srcProp}), +k=b(d).data("vars")||{};n||(n=a.data(d,"mediaelement"));if(n&&n.swfCreated)c.setActive(d,"third",n),L(n),n.currentSrc=e.srcProp,b.extend(g,k),i.changeSWF(g,d,e,n,"load"),A(d,"sendEvent",["LOAD",g]);else{var F=b.prop(d,"controls"),C="jwplayer-"+a.getID(d),l=b.extend({},i.params,b(d).data("params")),j=d.nodeName.toLowerCase(),o=b.extend({},i.attrs,{name:C,id:C},b(d).data("attrs")),m=b('<div class="polyfill-'+j+' polyfill-mediaelement" id="wrapper-'+C+'"><div id="'+C+'"></div>').css({position:"relative", +overflow:"hidden"}),n=a.data(d,"mediaelement",a.objectCreate(v,{actionQueue:{value:[]},shadowElem:{value:m},_elemNodeName:{value:j},_elem:{value:d},currentSrc:{value:e.srcProp},swfCreated:{value:!0},buffered:{value:{start:function(b){if(b>=n.buffered.length)a.error("buffered index size error");else return 0},end:function(b){if(b>=n.buffered.length)a.error("buffered index size error");else return(n.duration-n._bufferedStart)*n._bufferedEnd/100+n._bufferedStart},length:0}}}));G(n,F);m.insertBefore(d); +h&&b.extend(n,{volume:b.prop(d,"volume"),muted:b.prop(d,"muted")});b.extend(g,{id:C,controlbar:F?i.vars.controlbar||("video"==j?"over":"bottom"):"video"==j?"none":"bottom",icons:""+(F&&"video"==j)},k,{playerready:"jQuery.webshims.mediaelement.jwPlayerReady"});g.plugins=g.plugins?g.plugins+(","+f):f;a.addShadowDom(d,m);x(d);c.setActive(d,"third",n);i.changeSWF(g,d,e,n,"embed");b(d).on("updatemediaelementdimensions updateshadowdom",function(){G(n,b.prop(d,"controls"))});t.embedSWF(J,C,"100%","100%", +"9.0.0",!1,g,l,o,function(c){if(c.success)n.jwapi=c.ref,F||b(c.ref).attr("tabindex","-1").css("outline","none"),setTimeout(function(){if(!c.ref.parentNode&&m[0].parentNode||"none"==c.ref.style.display)m.addClass("flashblocker-assumed"),b(d).trigger("flashblocker"),a.warn("flashblocker assumed");b(c.ref).css({minHeight:"2px",minWidth:"2px",display:"block"})},9),z||(clearTimeout(z),z=setTimeout(function(){var d=b(c.ref);1<d[0].offsetWidth&&1<d[0].offsetHeight&&0===location.protocol.indexOf("file:")? +a.error("Add your local development-directory to the local-trusted security sandbox: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html"):(2>d[0].offsetWidth||2>d[0].offsetHeight)&&a.warn("JS-SWF connection can't be established on hidden or unconnected flash objects")},8E3))})}}else setTimeout(function(){b(d).mediaLoad()},1)};var A=function(a,b,c,d){return(d=d||l(a))?(d.jwapi&&d.jwapi[b]?d.jwapi[b].apply(d.jwapi,c||[]):(d.actionQueue.push({fn:b,args:c}),10< +d.actionQueue.length&&setTimeout(function(){5<d.actionQueue.length&&d.actionQueue.shift()},99)),d):!1};["audio","video"].forEach(function(c){var d={},f,g=function(a){"audio"==c&&("videoHeight"==a||"videoWidth"==a)||(d[a]={get:function(){var b=l(this);return b?b[a]:h&&f[a].prop._supget?f[a].prop._supget.apply(this):v[a]},writeable:!1})},i=function(a,b){g(a);delete d[a].writeable;d[a].set=b};i("volume",function(b){var c=l(this);if(c){if(b*=100,!isNaN(b)){var d=c.muted;(0>b||100<b)&&a.error("volume greater or less than allowed "+ +b/100);A(this,"sendEvent",["VOLUME",b],c);if(d)try{c.jwapi.sendEvent("mute","true")}catch(g){}b/=100;if(!(c.volume==b||"third"!=c.isActive))c.volume=b,e(c._elem,"volumechange")}}else if(f.volume.prop._supset)return f.volume.prop._supset.apply(this,arguments)});i("muted",function(a){var b=l(this);if(b){if(a=!!a,A(this,"sendEvent",["mute",""+a],b),!(b.muted==a||"third"!=b.isActive))b.muted=a,e(b._elem,"volumechange")}else if(f.muted.prop._supset)return f.muted.prop._supset.apply(this,arguments)});i("currentTime", +function(a){var b=l(this);if(b){if(a*=1,!isNaN(a)){if(b.paused)clearTimeout(b.stopPlayPause),b.stopPlayPause=setTimeout(function(){b.paused=!0;b.stopPlayPause=!1},50);A(this,"sendEvent",["SEEK",""+a],b);if(b.paused){if(0<b.readyState)b.currentTime=a,e(b._elem,"timeupdate");try{b.jwapi.sendEvent("play","false")}catch(c){}}}}else if(f.currentTime.prop._supset)return f.currentTime.prop._supset.apply(this,arguments)});["play","pause"].forEach(function(a){d[a]={value:function(){var b=l(this);if(b)b.stopPlayPause&& +clearTimeout(b.stopPlayPause),A(this,"sendEvent",["play","play"==a],b),setTimeout(function(){if("third"==b.isActive&&(b._ppFlag=!0,b.paused!=("play"!=a)))b.paused="play"!=a,e(b._elem,a)},1);else if(f[a].prop._supvalue)return f[a].prop._supvalue.apply(this,arguments)}}});u.forEach(g);a.onNodeNamesPropertyModify(c,"controls",function(d,e){var f=l(this);b(this)[e?"addClass":"removeClass"]("webshims-controls");if(f){try{A(this,e?"showControls":"hideControls",[c],f)}catch(g){a.warn("you need to generate a crossdomain.xml")}"audio"== +c&&G(f,e);b(f.jwapi).attr("tabindex",e?"0":"-1")}});f=a.defineNodeNameProperties(c,d,"prop")});if(p){var M=b.cleanData,N=b.browser.msie&&9>a.browserVersion,O={object:1,OBJECT:1};b.cleanData=function(a){var b,c,d;if(a&&(c=a.length)&&q)for(b=0;b<c;b++)if(O[a[b].nodeName]){if("sendEvent"in a[b]){q--;try{a[b].sendEvent("play",!1)}catch(e){}}if(N)try{for(d in a[b])"function"==typeof a[b][d]&&(a[b][d]=null)}catch(f){}}return M.apply(this,arguments)}}h||(["poster","src"].forEach(function(b){a.defineNodeNamesProperty("src"== +b?["audio","video","source"]:["video"],b,{reflect:!0,propType:"src"})}),["autoplay","controls"].forEach(function(b){a.defineNodeNamesBooleanProperty(["audio","video"],b)}),a.defineNodeNamesProperties(["audio","video"],{HAVE_CURRENT_DATA:{value:2},HAVE_ENOUGH_DATA:{value:4},HAVE_FUTURE_DATA:{value:3},HAVE_METADATA:{value:1},HAVE_NOTHING:{value:0},NETWORK_EMPTY:{value:0},NETWORK_IDLE:{value:1},NETWORK_LOADING:{value:2},NETWORK_NO_SOURCE:{value:3}},"prop"))});