vendor/assets/javascripts/webshims/minified/shims/combos/10.js in webshims-rails-0.2 vs vendor/assets/javascripts/webshims/minified/shims/combos/10.js in webshims-rails-0.3
- old
+ new
@@ -1,76 +1,76 @@
-(function(){var a=Function.prototype.call,b=Object.prototype,h=Array.prototype.slice,k,j;if(!Function.prototype.bind)Function.prototype.bind=function(a){var e=this;if("function"!=typeof e)throw new TypeError;var d=h.call(arguments,1),m=function(){if(this instanceof m){var b=function(){};b.prototype=e.prototype;var b=new b,j=e.apply(b,d.concat(h.call(arguments)));return null!==j&&Object(j)===j?j:b}return e.apply(a,d.concat(h.call(arguments)))};return m};j=a.bind(b.toString);k=a.bind(b.hasOwnProperty);
-if(!Array.isArray)Array.isArray=function(a){return"[object Array]"==j(a)};if(!Array.prototype.forEach)Array.prototype.forEach=function(a,e){var b=q(this),d=0,l=b.length>>>0;if("[object Function]"!=j(a))throw new TypeError;for(;d<l;)d in b&&a.call(e,b[d],d,b),d++};if(!Array.prototype.map)Array.prototype.map=function(a,e){var b=q(this),d=b.length>>>0,l=Array(d);if("[object Function]"!=j(a))throw new TypeError;for(var g=0;g<d;g++)g in b&&(l[g]=a.call(e,b[g],g,b));return l};if(!Array.prototype.filter)Array.prototype.filter=
-function(a,b){var d=q(this),e=d.length>>>0,l=[];if("[object Function]"!=j(a))throw new TypeError;for(var g=0;g<e;g++)g in d&&a.call(b,d[g],g,d)&&l.push(d[g]);return l};if(!Array.prototype.every)Array.prototype.every=function(a,d){var b=q(this),e=b.length>>>0;if("[object Function]"!=j(a))throw new TypeError;for(var g=0;g<e;g++)if(g in b&&!a.call(d,b[g],g,b))return!1;return!0};if(!Array.prototype.some)Array.prototype.some=function(a,b){var d=q(this),e=d.length>>>0;if("[object Function]"!=j(a))throw new TypeError;
-for(var g=0;g<e;g++)if(g in d&&a.call(b,d[g],g,d))return!0;return!1};if(!Array.prototype.reduce)Array.prototype.reduce=function(a){var d=q(this),b=d.length>>>0;if("[object Function]"!=j(a))throw new TypeError;if(!b&&1==arguments.length)throw new TypeError;var e=0,g;if(2<=arguments.length)g=arguments[1];else{do{if(e in d){g=d[e++];break}if(++e>=b)throw new TypeError;}while(1)}for(;e<b;e++)e in d&&(g=a.call(void 0,g,d[e],e,d));return g};if(!Array.prototype.reduceRight)Array.prototype.reduceRight=function(a){var d=
-q(this),b=d.length>>>0;if("[object Function]"!=j(a))throw new TypeError;if(!b&&1==arguments.length)throw new TypeError;var e,b=b-1;if(2<=arguments.length)e=arguments[1];else{do{if(b in d){e=d[b--];break}if(0>--b)throw new TypeError;}while(1)}do b in this&&(e=a.call(void 0,e,d[b],b,d));while(b--);return e};if(!Array.prototype.indexOf)Array.prototype.indexOf=function(a){var b=q(this),d=b.length>>>0;if(!d)return-1;var e=0;1<arguments.length&&(e=s(arguments[1]));for(e=0<=e?e:d-Math.abs(e);e<d;e++)if(e in
-b&&b[e]===a)return e;return-1};if(!Array.prototype.lastIndexOf)Array.prototype.lastIndexOf=function(a){var e=q(this),b=e.length>>>0;if(!b)return-1;var d=b-1;1<arguments.length&&(d=s(arguments[1]));for(d=0<=d?d:b-Math.abs(d);0<=d;d--)if(d in e&&a===e[d])return d;return-1};if(!Object.keys){var d=!0,e="toString,toLocaleString,valueOf,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,constructor".split(","),t=e.length,g;for(g in{toString:null})d=!1;Object.keys=function(a){if("object"!=typeof a&&"function"!=
-typeof a||null===a)throw new TypeError("Object.keys called on a non-object");var b=[],j;for(j in a)k(a,j)&&b.push(j);if(d)for(j=0;j<t;j++){var g=e[j];k(a,g)&&b.push(g)}return b}}if(!Date.prototype.toISOString)Date.prototype.toISOString=function(){var a,d,b;if(!isFinite(this))throw new RangeError;a=[this.getUTCFullYear(),this.getUTCMonth()+1,this.getUTCDate(),this.getUTCHours(),this.getUTCMinutes(),this.getUTCSeconds()];for(d=a.length;d--;)b=a[d],10>b&&(a[d]="0"+b);return a.slice(0,3).join("-")+"T"+
-a.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()};a="\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||a.trim()){var a="["+a+"]",o=RegExp("^"+a+a+"*"),l=
-RegExp(a+a+"*$");String.prototype.trim=function(){return(""+this).replace(o,"").replace(l,"")}}var s=function(a){a=+a;a!==a?a=-1:0!==a&&a!==1/0&&a!==-(1/0)&&(a=(0<a||-1)*Math.floor(Math.abs(a)));return a},v="a"!="a"[0],q=function(a){if(null==a)throw new TypeError;return v&&"string"==typeof a&&a?a.split(""):Object(a)}})();
-(function(a,b){var h=!(!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor);h&&!a.browser.msie&&Object.defineProperty&&Object.prototype.__defineGetter__&&function(){try{var a=document.createElement("foo");Object.defineProperty(a,"bar",{get:function(){return!0}});h=!!a.bar}catch(d){h=!1}a=null}();Modernizr.objectAccessor=!(!(h||Object.prototype.__defineGetter__&&Object.prototype.__lookupSetter__)||a.browser.opera&&!(11<=b.browserVersion));Modernizr.advancedObjectProperties=h;
-if(!h||!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor||!Object.defineProperty){var k=Function.prototype.call.bind(Object.prototype.hasOwnProperty);b.objectCreate=function(a,d,e,k){var g;g=function(){};g.prototype=a;g=new g;if(!k&&!("__proto__"in g)&&!Modernizr.objectAccessor)g.__proto__=a;d&&b.defineProperties(g,d);if(e)g.options=jQuery.extend(!0,{},g.options||{},e),e=g.options;g._create&&jQuery.isFunction(g._create)&&g._create(e);return g};b.defineProperties=function(a,
-d){for(var e in d)k(d,e)&&b.defineProperty(a,e,d[e]);return a};b.defineProperty=function(a,d,b){if("object"!=typeof b||null===b)return a;if(k(b,"value"))return a[d]=b.value,a;a.__defineGetter__&&("function"==typeof b.get&&a.__defineGetter__(d,b.get),"function"==typeof b.set&&a.__defineSetter__(d,b.set));return a};b.getPrototypeOf=function(a){return Object.getPrototypeOf&&Object.getPrototypeOf(a)||a.__proto__||a.constructor&&a.constructor.prototype};b.getOwnPropertyDescriptor=function(a,b){if("object"!==
-typeof a&&"function"!==typeof a||null===a)throw new TypeError("Object.getOwnPropertyDescriptor called on a non-object");var e;if(Object.defineProperty&&Object.getOwnPropertyDescriptor)try{return e=Object.getOwnPropertyDescriptor(a,b)}catch(h){}e={configurable:!0,enumerable:!0,writable:!0,value:void 0};var g=a.__lookupGetter__&&a.__lookupGetter__(b),o=a.__lookupSetter__&&a.__lookupSetter__(b);if(!g&&!o){if(!k(a,b))return;e.value=a[b];return e}delete e.writable;delete e.value;e.get=e.set=void 0;if(g)e.get=
-g;if(o)e.set=o;return e}}})(jQuery,jQuery.webshims);(function(a){if(!Modernizr.genericDOM){var b=document,h,k,j=/<([\w:]+)/,d={option:1,optgroup:1,legend:1,thead:1,tr:1,td:1,col:1,area:1};a.webshims.fixHTML5=function(a){if("string"!=typeof a||d[(j.exec(a)||["",""])[1].toLowerCase()])return a;if(!k){h=b.body;if(!h)return a;k=b.createElement("div");k.style.display="none"}var t=k.cloneNode(!1);h.appendChild(t);t.innerHTML=a;h.removeChild(t);return t.childNodes}}})(jQuery);
-jQuery.webshims.register("dom-extend",function(a,b,h,k,j){var d=b.modules,e=/\s*,\s*/,t={},g={},o={},l={},s={},v=a.fn.val,q=function(f,c,i,b,d){return d?v.call(a(f)):v.call(a(f),i)};a.fn.val=function(f){var c=this[0];arguments.length&&null==f&&(f="");if(!arguments.length)return!c||1!==c.nodeType?v.call(this):a.prop(c,"value",f,"val",!0);if(a.isArray(f))return v.apply(this,arguments);var i=a.isFunction(f);return this.each(function(b){c=this;1===c.nodeType&&(i?(b=f.call(c,b,a.prop(c,"value",j,"val",
-!0)),null==b&&(b=""),a.prop(c,"value",b,"val")):a.prop(c,"value",f,"val"))})};var u="_webshimsLib"+Math.round(1E3*Math.random()),n=function(f,c,i){f=f.jquery?f[0]:f;if(!f)return i||{};var b=a.data(f,u);i!==j&&(b||(b=a.data(f,u,{})),c&&(b[c]=i));return c?b&&b[c]:b};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(f){a.fn[f.name]=function(){return this.map(function(){var a=n(this,
-"shadowData");return a&&a[f.prop]||this})}});["removeAttr","prop","attr"].forEach(function(f){t[f]=a[f];a[f]=function(c,i,b,d,e){var l="val"==d,z=!l?t[f]:q;if(!c||!g[i]||1!==c.nodeType||!l&&d&&"attr"==f&&a.attrFn[i])return z(c,i,b,d,e);var A=(c.nodeName||"").toLowerCase(),x=o[A],k="attr"==f&&(!1===b||null===b)?"removeAttr":f,h,m,n;x||(x=o["*"]);x&&(x=x[i]);x&&(h=x[k]);if(h){if("value"==i)m=h.isVal,h.isVal=l;if("removeAttr"===k)return h.value.call(c);if(b===j)return h.get?h.get.call(c):h.value;h.set&&
-("attr"==f&&!0===b&&(b=i),n=h.set.call(c,b));if("value"==i)h.isVal=m}else n=z(c,i,b,d,e);if((b!==j||"removeAttr"===k)&&s[A]&&s[A][i]){var r;r="removeAttr"==k?!1:"prop"==k?!!b:!0;s[A][i].forEach(function(a){if(!a.only||(a.only="prop"==f)||"attr"==a.only&&"prop"!=f)a.call(c,b,r,l?"val":k,f)})}return n};l[f]=function(c,i,d){o[c]||(o[c]={});o[c][i]||(o[c][i]={});var e=o[c][i][f],g=function(a,c,b){return c&&c[a]?c[a]:b&&b[a]?b[a]:"prop"==f&&"value"==i?function(a){return d.isVal?q(this,i,a,!1,0===arguments.length):
-t[f](this,i,a)}:"prop"==f&&"value"==a&&d.value.apply?function(a){var c=t[f](this,i);c&&c.apply&&(c=c.apply(this,arguments));return c}:function(a){return t[f](this,i,a)}};o[c][i][f]=d;if(d.value===j){if(!d.set)d.set=d.writeable?g("set",d,e):b.cfg.useStrict&&"prop"==i?function(){throw i+" is readonly on "+c;}:a.noop;if(!d.get)d.get=g("get",d,e)}["value","get","set"].forEach(function(a){d[a]&&(d["_sup"+a]=g(a,e))})}});var p=!a.browser.msie||8<parseInt(a.browser.version,10),m=function(){var a=b.getPrototypeOf(k.createElement("foobar")),
-c=Object.prototype.hasOwnProperty;return function(i,d,e){var g=k.createElement(i),l=b.getPrototypeOf(g);if(p&&l&&a!==l&&(!g[d]||!c.call(g,d))){var j=g[d];e._supvalue=function(){return j&&j.apply?j.apply(this,arguments):j};l[d]=e.value}else e._supvalue=function(){var a=n(this,"propValue");return a&&a[d]&&a[d].apply?a[d].apply(this,arguments):a&&a[d]},r.extendValue(i,d,e.value);e.value._supvalue=e._supvalue}}(),r=function(){var f={};b.addReady(function(c,i){var d={},e=function(f){d[f]||(d[f]=a(c.getElementsByTagName(f)),
-i[0]&&a.nodeName(i[0],f)&&(d[f]=d[f].add(i)))};a.each(f,function(a,c){e(a);!c||!c.forEach?b.warn("Error: with "+a+"-property. methods: "+c):c.forEach(function(c){d[a].each(c)})});d=null});var c,i=a([]),d=function(i,b){f[i]?f[i].push(b):f[i]=[b];a.isDOMReady&&(c||a(k.getElementsByTagName(i))).each(b)};return{createTmpCache:function(f){a.isDOMReady&&(c=c||a(k.getElementsByTagName(f)));return c||i},flushTmpCache:function(){c=null},content:function(c,f){d(c,function(){var c=a.attr(this,f);null!=c&&a.attr(this,
-f,c)})},createElement:function(a,c){d(a,c)},extendValue:function(c,f,i){d(c,function(){a(this).each(function(){n(this,"propValue",{})[f]=this[f];this[f]=i})})}}}(),w=function(a,c){if(a.defaultValue===j)a.defaultValue="";if(!a.removeAttr)a.removeAttr={value:function(){a[c||"prop"].set.call(this,a.defaultValue);a.removeAttr._supvalue.call(this)}}};a.extend(b,{getID:function(){var f=(new Date).getTime();return function(c){var c=a(c),i=c.attr("id");i||(f++,i="ID-"+f,c.attr("id",i));return i}}(),extendUNDEFProp:function(f,
-c){a.each(c,function(a,c){a in f||(f[a]=c)})},createPropDefault:w,data:n,moveToFirstEvent:function(){var f=a._data?"_data":"data";return function(c,i,b){if((c=(a[f](c,"events")||{})[i])&&1<c.length)i=c.pop(),b||(b="bind"),"bind"==b&&c.delegateCount?c.splice(c.delegateCount,0,i):c.unshift(i)}}(),addShadowDom:function(f,c,b){b=b||{};f.jquery&&(f=f[0]);c.jquery&&(c=c[0]);if(!b.shadowFocusElement)b.shadowFocusElement=c;var d=a.data(f,u)||a.data(f,u,{}),e=a.data(c,u)||a.data(c,u,{});d.hasShadow=c;e.nativeElement=
-f;e.shadowData=d.shadowData={nativeElement:f,shadowElement:c,shadowFocusElement:b.shadowFocusElement};b.shadowChilds&&b.shadowChilds.each(function(){n(this,"shadowData",e.shadowData)});if(b.data)d.shadowData.data=b.data,e.shadowData.data=b.data;b=null},propTypes:{standard:function(a){w(a);if(!a.prop)a.prop={set:function(c){a.attr.set.call(this,""+c)},get:function(){return a.attr.get.call(this)||a.defaultValue}}},"boolean":function(a){w(a);if(!a.prop)a.prop={set:function(c){c?a.attr.set.call(this,
-""):a.removeAttr.value.call(this)},get:function(){return null!=a.attr.get.call(this)}}}},reflectProperties:function(f,c){"string"==typeof c&&(c=c.split(e));c.forEach(function(c){b.defineNodeNamesProperty(f,c,{prop:{set:function(f){a.attr(this,c,f)},get:function(){return a.attr(this,c)||""}}})})},defineNodeNameProperty:function(f,c,d){g[c]=!0;if(d.reflect)b.propTypes[d.propType||"standard"](d);["prop","attr","removeAttr"].forEach(function(e){var g=d[e];g&&(g="prop"===e?a.extend({writeable:!0},g):a.extend({},
-g,{writeable:!0}),l[e](f,c,g),"*"!=f&&b.cfg.extendNative&&"prop"==e&&g.value&&a.isFunction(g.value)&&m(f,c,g),d[e]=g)});d.initAttr&&r.content(f,c);return d},defineNodeNameProperties:function(a,c,d,e){for(var g in c)!e&&c[g].initAttr&&r.createTmpCache(a),d&&(c[g][d]?b.log("override: "+a+"["+g+"] for "+d):(c[g][d]={},["value","set","get"].forEach(function(a){a in c[g]&&(c[g][d][a]=c[g][a],delete c[g][a])}))),c[g]=b.defineNodeNameProperty(a,g,c[g]);e||r.flushTmpCache();return c},createElement:function(f,
-c,d){var e;a.isFunction(c)&&(c={after:c});r.createTmpCache(f);c.before&&r.createElement(f,c.before);d&&(e=b.defineNodeNameProperties(f,d,!1,!0));c.after&&r.createElement(f,c.after);r.flushTmpCache();return e},onNodeNamesPropertyModify:function(b,c,d,D){"string"==typeof b&&(b=b.split(e));a.isFunction(d)&&(d={set:d});b.forEach(function(a){s[a]||(s[a]={});"string"==typeof c&&(c=c.split(e));d.initAttr&&r.createTmpCache(a);c.forEach(function(c){s[a][c]||(s[a][c]=[],g[c]=!0);if(d.set){if(D)d.set.only=D;
-s[a][c].push(d.set)}d.initAttr&&r.content(a,c)});r.flushTmpCache()})},defineNodeNamesBooleanProperty:function(d,c,e){e||(e={});if(a.isFunction(e))e.set=e;b.defineNodeNamesProperty(d,c,{attr:{set:function(a){this.setAttribute(c,a);e.set&&e.set.call(this,!0)},get:function(){return null==this.getAttribute(c)?j:c}},removeAttr:{value:function(){this.removeAttribute(c);e.set&&e.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:e.initAttr||!1})},contentAttr:function(a,c,d){if(a.nodeName){if(d===
-j)return d=(a.attributes[c]||{}).value,null==d?j:d;"boolean"==typeof d?d?a.setAttribute(c,c):a.removeAttribute(c):a.setAttribute(c,d)}},activeLang:function(){var f=[],c={},e,g,l=/:\/\/|^\.*\//,j=function(c,d,f){return d&&f&&-1!==a.inArray(d,f.availabeLangs||[])?(c.loading=!0,f=f.langSrc,l.test(f)||(f=b.cfg.basePath+f),b.loader.loadScript(f+d+".js",function(){c.langObj[d]?(c.loading=!1,k(c,!0)):a(function(){c.langObj[d]&&k(c,!0);c.loading=!1})}),!0):!1},h=function(a){c[a]&&c[a].forEach(function(a){a.callback()})},
-k=function(a,c){if(a.activeLang!=e&&a.activeLang!==g){var b=d[a.module].options;if(a.langObj[e]||g&&a.langObj[g])a.activeLang=e,a.callback(a.langObj[e]||a.langObj[g],e),h(a.module);else if(!c&&!j(a,e,b)&&!j(a,g,b)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],e),h(a.module)}};return function(d){if("string"==typeof d&&d!==e)e=d,g=e.split("-")[0],e==g&&(g=!1),a.each(f,function(a,c){k(c)});else if("object"==typeof d)if(d.register)c[d.register]||(c[d.register]=[]),c[d.register].push(d),
-d.callback();else{if(!d.activeLang)d.activeLang="";f.push(d);k(d)}return e}}()});a.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(a,c){b[a]=function(a,d,f,g){"string"==typeof a&&(a=a.split(e));var l={};a.forEach(function(a){l[a]=b[c](a,d,f,g)});return l}});b.isReady("webshimLocalization",!0)});
-(function(a,b){var h=a.webshims.browserVersion;if(!(a.browser.mozilla&&5<h)&&(!a.browser.msie||12>h&&7<h)){var k={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},j=function(a,b){a.getAttribute("role")||a.setAttribute("role",b)};a.webshims.addReady(function(d,e){a.each(k,function(b,g){for(var h=a(b,d).add(e.filter(b)),k=0,o=h.length;k<o;k++)j(h[k],g)});if(d===b){var h=b.getElementsByTagName("header")[0],g=b.getElementsByTagName("footer"),o=g.length;
-h&&!a(h).closest("section, article")[0]&&j(h,"banner");o&&(h=g[o-1],a(h).closest("section, article")[0]||j(h,"contentinfo"))}})}})(jQuery,document);
-(function(a,b,h){var k=b.audio&&b.video,j=!1;if(k)a=document.createElement("video"),b.videoBuffered="buffered"in a,j="loop"in a,h.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(",")),b.videoBuffered||(h.addPolyfill("mediaelement-native-fix",{f:"mediaelement",test:b.videoBuffered,d:["dom-support"]}),h.reTest("mediaelement-native-fix"));jQuery.webshims.register("mediaelement-core",function(a,b,h,g,o){var l=b.mediaelement,s=b.cfg.mediaelement,
-v=function(f,c){var f=a(f),g={src:f.attr("src")||"",elem:f,srcProp:f.prop("src")};if(!g.src)return g;var h=f.attr("type");if(h)g.type=h,g.container=a.trim(h.split(";")[0]);else if(c||(c=f[0].nodeName.toLowerCase(),"source"==c&&(c=(f.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),h=l.getTypeForSrc(g.src,c))g.type=h,g.container=h,b.warn("you should always provide a proper mime-type using the source element. "+g.src+" detected as: "+h),a.nodeName(f[0],"source")&&f.attr("type",
-h);if(h=f.attr("media"))g.media=h;return g},q=swfobject.hasFlashPlayerVersion("9.0.115"),u=function(){b.ready("mediaelement-swf",function(){if(!l.createSWF)b.modules["mediaelement-swf"].test=a.noop,b.reTest(["mediaelement-swf"],k)})};l.mimeTypes={audio:{"audio/ogg":["ogg","oga","ogm"],"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"]}};l.mimeTypes.source=a.extend({},l.mimeTypes.audio,l.mimeTypes.video);l.getTypeForSrc=function(b,c){if(-1!=b.indexOf("youtube.com/watch?")||-1!=b.indexOf("youtube.com/v/"))return"video/youtube";
-var b=b.split("?")[0].split("."),b=b[b.length-1],e;a.each(l.mimeTypes[c],function(a,c){if(-1!==c.indexOf(b))return e=a,!1});return e};l.srces=function(b,c){b=a(b);if(c)b.removeAttr("src").removeAttr("type").find("source").remove(),a.isArray(c)||(c=[c]),c.forEach(function(a){var c=g.createElement("source");"string"==typeof a&&(a={src:a});c.setAttribute("src",a.src);a.type&&c.setAttribute("type",a.type);a.media&&c.setAttribute("media",a.media);b.append(c)});else{var c=[],e=b[0].nodeName.toLowerCase(),
-h=v(b,e);h.src?c.push(h):a("source",b).each(function(){h=v(this,e);h.src&&c.push(h)});return c}};a.fn.loadMediaSrc=function(b,c){return this.each(function(){c!==o&&(a(this).removeAttr("poster"),c&&a.attr(this,"poster",c));l.srces(this,b);a(this).mediaLoad()})};l.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(",");
-l.canSwfPlaySrces=function(b,c){var e="";q&&(b=a(b),c=c||l.srces(b),a.each(c,function(a,c){if(c.container&&c.src&&-1!=l.swfMimeTypes.indexOf(c.container))return e=c,!1}));return e};var n={};l.canNativePlaySrces=function(b,c){var e="";if(k){var b=a(b),g=(b[0].nodeName||"").toLowerCase();if(!n[g])return e;c=c||l.srces(b);a.each(c,function(a,c){if(c.type&&n[g].prop._supvalue.call(b[0],c.type))return e=c,!1})}return e};l.setError=function(f,c){c||(c="can't play sources");a(f).pause().data("mediaerror",
-c);b.warn("mediaelementError: "+c);setTimeout(function(){a(f).data("mediaerror")&&a(f).trigger("mediaerror")},1)};var p=function(){var a;return function(c,d,g){b.ready("mediaelement-swf",function(){l.createSWF?l.createSWF(c,d,g):a||(a=!0,u(),p(c,d,g))})}}(),m=function(a,c,b,d,e){b||!1!==b&&c&&"flash"==c.isActive?(b=l.canSwfPlaySrces(a,d))?p(a,b,c):e?l.setError(a,!1):m(a,c,!1,d,!0):(b=l.canNativePlaySrces(a,d))?c&&"flash"==c.isActive&&l.setActive(a,"html5",c):e?(l.setError(a,!1),c&&"flash"==c.isActive&&
-l.setActive(a,"html5",c)):m(a,c,!0,d,!0)},r=/^(?:embed|object|datalist)$/i,w=function(f,c){var g=b.data(f,"mediaelementBase")||b.data(f,"mediaelementBase",{}),h=l.srces(f),j=f.parentNode;clearTimeout(g.loadTimer);a.data(f,"mediaerror",!1);if(h.length&&j&&!(1!=j.nodeType||r.test(j.nodeName||"")))c=c||b.data(f,"mediaelement"),m(f,c,s.preferFlash||o,h)};a(g).bind("ended",function(f){var c=b.data(f.target,"mediaelement");(!j||c&&"html5"!=c.isActive||a.prop(f.target,"loop"))&&setTimeout(function(){!a.prop(f.target,
-"paused")&&a.prop(f.target,"loop")&&a(f.target).prop("currentTime",0).play()},1)});j||b.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(f){var c=b.defineNodeNameProperty(f,"load",{prop:{value:function(){var a=b.data(this,"mediaelement");w(this,a);k&&(!a||"html5"==a.isActive)&&c.prop._supvalue&&c.prop._supvalue.apply(this,arguments)}}});n[f]=b.defineNodeNameProperty(f,"canPlayType",{prop:{value:function(b){var c="";k&&n[f].prop._supvalue&&(c=n[f].prop._supvalue.call(this,
-b),"no"==c&&(c=""));!c&&q&&(b=a.trim((b||"").split(";")[0]),-1!=l.swfMimeTypes.indexOf(b)&&(c="maybe"));return c}}})});b.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var a=this,c=b.data(a,"mediaelementBase")||b.data(a,"mediaelementBase",{});clearTimeout(c.loadTimer);c.loadTimer=setTimeout(function(){w(a);a=null},9)}});h=function(){b.addReady(function(f,c){a("video, audio",f).add(c.filter("video, audio")).each(function(){a.browser.msie&&8<b.browserVersion&&a.prop(this,
-"paused")&&!a.prop(this,"readyState")&&a(this).is('audio[preload="none"][controls]:not([autoplay])')?a(this).prop("preload","metadata").mediaLoad():w(this);if(k){var c,f,g=this,h=function(){var c=a.prop(g,"buffered");if(c){for(var b="",e=0,f=c.length;e<f;e++)b+=c.end(e);return b}},j=function(){var c=h();c!=f&&(f=c,a(g).triggerHandler("progress"))};a(this).bind("play loadstart progress",function(a){"progress"==a.type&&(f=h());clearTimeout(c);c=setTimeout(j,999)}).bind("emptied stalled mediaerror abort suspend",
-function(a){"emptied"==a.type&&(f=!1);clearTimeout(c)})}})})};k?(b.isReady("mediaelement-core",!0),h(),q&&b.ready("WINDOWLOAD mediaelement",u)):b.ready("mediaelement-swf",h)})})(jQuery,Modernizr,jQuery.webshims);
-jQuery.webshims.register("mediaelement-swf",function(a,b,h,k,j,d){var e=b.mediaelement,t=h.swfobject,g=Modernizr.audio&&Modernizr.video,o=t.hasFlashPlayerVersion("9.0.115"),l=0,h={paused:!0,ended:!1,currentSrc:"",duration:h.NaN,readyState:0,networkState:0,videoHeight:0,videoWidth:0,error:null,buffered:{start:function(a){if(a)b.error("buffered index size error");else return 0},end:function(a){if(a)b.error("buffered index size error");else return 0},length:0}},s=Object.keys(h),v={currentTime:0,volume:1,
-muted:!1};Object.keys(v);var q=a.extend({isActive:"html5",activating:"html5",wasSwfReady:!1,_bufferedEnd:0,_bufferedStart:0,_metadata:!1,_durationCalcs:-1,_callMeta:!1,currentTime:0,_ppFlag:j},h,v),u=/^jwplayer-/,n=function(a){if(a=k.getElementById(a.replace(u,"")))return a=b.data(a,"mediaelement"),"flash"==a.isActive?a:null},p=function(a){return(a=b.data(a,"mediaelement"))&&"flash"==a.isActive?a:null},m=function(c,b){b=a.Event(b);b.preventDefault();a.event.trigger(b,j,c)},r=d.playerPath||b.cfg.basePath+
-"jwplayer/"+(d.playerName||"player.swf"),w=d.pluginPath||b.cfg.basePath+"swf/jwwebshims.swf";b.extendUNDEFProp(d.jwParams,{allowscriptaccess:"always",allowfullscreen:"true",wmode:"transparent"});b.extendUNDEFProp(d.jwVars,{screencolor:"ffffffff"});b.extendUNDEFProp(d.jwAttrs,{bgcolor:"#000000"});var f=function(c,b){var d=c.duration;if(!(d&&0<c._durationCalcs)){try{if(c.duration=c.jwapi.getPlaylist()[0].duration,!c.duration||0>=c.duration||c.duration===c._lastDuration)c.duration=d}catch(f){}c.duration&&
-c.duration!=c._lastDuration?(m(c._elem,"durationchange"),("audio"==c._elemNodeName||c._callMeta)&&e.jwEvents.Model.META(a.extend({duration:c.duration},b),c),c._durationCalcs--):c._durationCalcs++}},c=function(a,b){3>a&&clearTimeout(b._canplaythroughTimer);if(3<=a&&3>b.readyState)b.readyState=a,m(b._elem,"canplay"),clearTimeout(b._canplaythroughTimer),b._canplaythroughTimer=setTimeout(function(){c(4,b)},4E3);if(4<=a&&4>b.readyState)b.readyState=a,m(b._elem,"canplaythrough");b.readyState=a};e.jwEvents=
-{View:{PLAY:function(a){var c=n(a.id);if(c&&!c.stopPlayPause&&(c._ppFlag=!0,c.paused==a.state)){c.paused=!a.state;if(c.ended)c.ended=!1;m(c._elem,a.state?"play":"pause")}}},Model:{BUFFER:function(b){var d=n(b.id);if(d&&"percentage"in b&&d._bufferedEnd!=b.percentage){d.networkState=100==b.percentage?1:2;(isNaN(d.duration)||5<b.percentage&&25>b.percentage||100===b.percentage)&&f(d,b);if(d.ended)d.ended=!1;if(d.duration){2<b.percentage&&20>b.percentage?c(3,d):20<b.percentage&&c(4,d);if(d._bufferedEnd&&
-d._bufferedEnd>b.percentage)d._bufferedStart=d.currentTime||0;d._bufferedEnd=b.percentage;d.buffered.length=1;if(100==b.percentage)d.networkState=1,c(4,d);a.event.trigger("progress",j,d._elem,!0)}}},META:function(a,b){if(b=b&&b.networkState?b:n(a.id))if("duration"in a){if(!b._metadata||!((!a.height||b.videoHeight==a.height)&&a.duration===b.duration)){b._metadata=!0;var d=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&&c(1,b);b.duration&&d!==b.duration&&m(b._elem,"durationchange");m(b._elem,"loadedmetadata")}}else b._callMeta=!0},TIME:function(a){var b=n(a.id);if(b&&b.currentTime!==a.position){b.currentTime=a.position;b.duration&&b.duration<b.currentTime&&f(b,a);2>b.readyState&&c(2,b);if(b.ended)b.ended=!1;m(b._elem,"timeupdate")}},STATE:function(a){var b=n(a.id);if(b)switch(a.newstate){case "BUFFERING":if(b.ended)b.ended=!1;c(1,b);m(b._elem,"waiting");
-break;case "PLAYING":b.paused=!1;b._ppFlag=!0;b.duration||f(b,a);3>b.readyState&&c(3,b);if(b.ended)b.ended=!1;m(b._elem,"playing");break;case "PAUSED":if(!b.paused&&!b.stopPlayPause)b.paused=!0,b._ppFlag=!0,m(b._elem,"pause");break;case "COMPLETED":4>b.readyState&&c(4,b),b.ended=!0,m(b._elem,"ended")}}},Controller:{ERROR:function(a){var b=n(a.id);b&&e.setError(b._elem,a.message)},SEEK:function(a){var b=n(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,m(b._elem,"timeupdate")}},VOLUME:function(a){var b=n(a.id);if(b&&(a=a.percentage/100,b.volume!=a))b.volume=a,m(b._elem,"volumechange")},MUTE:function(a){if(!a.state){var b=n(a.id);if(b&&b.muted!=a.state)b.muted=a.state,m(b._elem,"volumechange")}}}};var i=function(b){var c=!0;a.each(e.jwEvents,function(d,e){a.each(e,function(a){try{b.jwapi["add"+d+"Listener"](a,"jQuery.webshims.mediaelement.jwEvents."+d+"."+a)}catch(e){return c=!1}})});return c},D=function(a){var b=
-a.actionQueue.length,c=0,d;if(b&&"flash"==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=[]},F=function(b){b&&(b._ppFlag===j&&a.prop(b._elem,"autoplay")||!b.paused)&&setTimeout(function(){if("flash"==b.isActive&&(b._ppFlag===j||!b.paused))try{a(b._elem).play()}catch(c){}},1)},I=function(b){if(b&&"video"==b._elemNodeName){var c,d,e,f,g,h,j,l,i=function(i,k){if(k&&i&&!(1>k||1>i||"flash"!=b.isActive))if(c&&
-(c.remove(),c=!1),f=i,g=k,clearTimeout(j),d="auto"==b._elem.style.width,e="auto"==b._elem.style.height,d||e){h=h||a(b._elem).getShadowElement();var m;d&&!e?(m=h.height(),i*=m/k,k=m):!d&&e&&(m=h.width(),k*=m/i,i=m);l=!0;setTimeout(function(){l=!1},9);h.css({width:i,height:k})}},k=function(){if(!("flash"!=b.isActive||a.prop(b._elem,"readyState")&&a.prop(this,"videoWidth"))){var f=a.prop(b._elem,"poster");if(f&&(d="auto"==b._elem.style.width,e="auto"==b._elem.style.height,d||e))c&&(c.remove(),c=!1),
-c=a('<img style="position: absolute; height: auto; width: auto; top: 0px; left: 0px; visibility: hidden;" />'),c.bind("load error alreadycomplete",function(){clearTimeout(j);var b=this,d=b.naturalWidth||b.width||b.offsetWidth,e=b.naturalHeight||b.height||b.offsetHeight;e&&d?(i(d,e),b=null):setTimeout(function(){d=b.naturalWidth||b.width||b.offsetWidth;e=b.naturalHeight||b.height||b.offsetHeight;i(d,e);c&&(c.remove(),c=!1);b=null},9);a(this).unbind()}).prop("src",f).appendTo("body").each(function(){this.complete||
-this.error?a(this).triggerHandler("alreadycomplete"):(clearTimeout(j),j=setTimeout(function(){a(b._elem).triggerHandler("error")},9999))})}};a(b._elem).bind("loadedmetadata",function(){i(a.prop(this,"videoWidth"),a.prop(this,"videoHeight"))}).bind("emptied",k).bind("swfstageresize",function(){l||i(f,g)}).bind("emptied",function(){f=void 0;g=void 0}).triggerHandler("swfstageresize");k();a.prop(b._elem,"readyState")&&i(a.prop(b._elem,"videoWidth"),a.prop(b._elem,"videoHeight"))}};e.playerResize=function(b){b&&
-(b=k.getElementById(b.replace(u,"")))&&a(b).triggerHandler("swfstageresize")};a(k).bind("emptied",function(a){a=p(a.target);F(a)});var E;e.jwPlayerReady=function(c){var d=n(c.id),e=0,f=function(){if(!(9<e))if(e++,i(d)){if(d.wasSwfReady)a(d._elem).mediaLoad();else{var g=parseFloat(c.version,10);(5.6>g||6<=g)&&b.warn("mediaelement-swf is only testet with jwplayer 5.6+")}d.wasSwfReady=!0;d.tryedReframeing=0;D(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");a.prop(d._elem,"volume",d.volume);a.prop(d._elem,"muted",d.muted);f()}};var z=a.noop;if(g){var A={play:1,playing:1},x="play,pause,playing,canplay,progress,waiting,ended,loadedmetadata,durationchange,emptied".split(","),G=x.map(function(a){return a+
-".webshimspolyfill"}).join(" "),J=function(c){var d=b.data(c.target,"mediaelement");d&&(c.originalEvent&&c.originalEvent.type===c.type)==("flash"==d.activating)&&(c.stopImmediatePropagation(),A[c.type]&&d.isActive!=d.activating&&a(c.target).pause())},z=function(c){a(c).unbind(G).bind(G,J);x.forEach(function(a){b.moveToFirstEvent(c,a)})};z(k)}e.setActive=function(c,d,e){e||(e=b.data(c,"mediaelement"));if(e&&e.isActive!=d){"html5"!=d&&"flash"!=d&&b.warn("wrong type for mediaelement activating: "+d);
-var f=b.data(c,"shadowData");e.activating=d;a(c).pause();e.isActive=d;"flash"==d?(f.shadowElement=f.shadowFocusElement=e.shadowElem[0],a(c).hide().getShadowElement().show()):(a(c).show().getShadowElement().hide(),f.shadowElement=f.shadowFocusElement=!1)}};var K=function(){var a="_bufferedEnd,_bufferedStart,_metadata,_ppFlag,currentSrc,currentTime,duration,ended,networkState,paused,videoHeight,videoWidth,_callMeta,_durationCalcs".split(","),b=a.length;return function(d){if(d){var e=b,f=d.networkState;
-for(c(0,d);--e;)delete d[a[e]];d.actionQueue=[];d.buffered.length=0;f&&m(d._elem,"emptied")}}}(),H=function(b,c){var d=b._elem,e=b.shadowElem;a(d)[c?"addClass":"removeClass"]("webshims-controls");"audio"==b._elemNodeName&&!c?e.css({width:0,height:0}):e.css({width:d.style.width||a(d).width(),height:d.style.height||a(d).height()})};e.createSWF=function(c,f,h){if(o){1>l?l=1:l++;var i=a.extend({},d.jwVars,{image:a.prop(c,"poster")||"",file:f.srcProp}),j=a(c).data("jwvars")||{};if(h&&h.swfCreated)e.setActive(c,
-"flash",h),K(h),h.currentSrc=f.srcProp,a.extend(i,j),d.changeJW(i,c,f,h,"load"),B(c,"sendEvent",["LOAD",i]);else{var k=a.prop(c,"controls"),C="jwplayer-"+b.getID(c),m=a.extend({},d.jwParams,a(c).data("jwparams")),n=c.nodeName.toLowerCase(),s=a.extend({},d.jwAttrs,{name:C,id:C},a(c).data("jwattrs")),p=a('<div class="polyfill-'+n+' polyfill-mediaelement" id="wrapper-'+C+'"><div id="'+C+'"></div>').css({position:"relative",overflow:"hidden"}),h=b.data(c,"mediaelement",b.objectCreate(q,{actionQueue:{value:[]},
-shadowElem:{value:p},_elemNodeName:{value:n},_elem:{value:c},currentSrc:{value:f.srcProp},swfCreated:{value:!0},buffered:{value:{start:function(a){if(a>=h.buffered.length)b.error("buffered index size error");else return 0},end:function(a){if(a>=h.buffered.length)b.error("buffered index size error");else return(h.duration-h._bufferedStart)*h._bufferedEnd/100+h._bufferedStart},length:0}}}));H(h,k);p.insertBefore(c);g&&a.extend(h,{volume:a.prop(c,"volume"),muted:a.prop(c,"muted")});a.extend(i,{id:C,
-controlbar:k?d.jwVars.controlbar||("video"==n?"over":"bottom"):"video"==n?"none":"bottom",icons:""+(k&&"video"==n)},j,{playerready:"jQuery.webshims.mediaelement.jwPlayerReady"});i.plugins=i.plugins?i.plugins+(","+w):w;b.addShadowDom(c,p);z(c);e.setActive(c,"flash",h);d.changeJW(i,c,f,h,"embed");I(h);t.embedSWF(r,C,"100%","100%","9.0.0",!1,i,m,s,function(d){if(d.success)h.jwapi=d.ref,k||a(d.ref).attr("tabindex","-1").css("outline","none"),setTimeout(function(){if(!d.ref.parentNode&&p[0].parentNode||
-"none"==d.ref.style.display)p.addClass("flashblocker-assumed"),a(c).trigger("flashblocker"),b.warn("flashblocker assumed");a(d.ref).css({minHeight:"2px",minWidth:"2px",display:"block"})},9),E||(clearTimeout(E),E=setTimeout(function(){var c=a(d.ref);1<c[0].offsetWidth&&1<c[0].offsetHeight&&0===location.protocol.indexOf("file:")?b.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>c[0].offsetWidth||2>c[0].offsetHeight)&&b.info("JS-SWF connection can't be established on hidden or unconnected flash objects")},8E3))})}}else setTimeout(function(){a(c).mediaLoad()},1)};var B=function(a,b,c,d){return(d=d||p(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={},e,f=function(a){"audio"==c&&
-("videoHeight"==a||"videoWidth"==a)||(d[a]={get:function(){var b=p(this);return b?b[a]:g&&e[a].prop._supget?e[a].prop._supget.apply(this):q[a]},writeable:!1})},h=function(a,b){f(a);delete d[a].writeable;d[a].set=b};h("volume",function(a){var c=p(this);if(c){if(a*=100,!isNaN(a)){var d=c.muted;(0>a||100<a)&&b.error("volume greater or less than allowed "+a/100);B(this,"sendEvent",["VOLUME",a],c);if(d)try{c.jwapi.sendEvent("mute","true")}catch(f){}a/=100;if(!(c.volume==a||"flash"!=c.isActive))c.volume=
-a,m(c._elem,"volumechange")}}else if(e.volume.prop._supset)return e.volume.prop._supset.apply(this,arguments)});h("muted",function(a){var b=p(this);if(b){if(a=!!a,B(this,"sendEvent",["mute",""+a],b),!(b.muted==a||"flash"!=b.isActive))b.muted=a,m(b._elem,"volumechange")}else if(e.muted.prop._supset)return e.muted.prop._supset.apply(this,arguments)});h("currentTime",function(a){var b=p(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);B(this,"sendEvent",["SEEK",""+a],b);if(b.paused){if(0<b.readyState)b.currentTime=a,m(b._elem,"timeupdate");try{b.jwapi.sendEvent("play","false")}catch(c){}}}}else if(e.currentTime.prop._supset)return e.currentTime.prop._supset.apply(this,arguments)});["play","pause"].forEach(function(a){d[a]={value:function(){var b=p(this);if(b)b.stopPlayPause&&clearTimeout(b.stopPlayPause),B(this,"sendEvent",["play","play"==a],b),setTimeout(function(){if("flash"==b.isActive&&(b._ppFlag=
-!0,b.paused!=("play"!=a)))b.paused="play"!=a,m(b._elem,a)},1);else if(e[a].prop._supvalue)return e[a].prop._supvalue.apply(this,arguments)}}});s.forEach(f);b.onNodeNamesPropertyModify(c,"controls",function(d,e){var f=p(this);a(this)[e?"addClass":"removeClass"]("webshims-controls");if(f){try{B(this,e?"showControls":"hideControls",[c],f)}catch(g){b.warn("you need to generate a crossdomain.xml")}"audio"==c&&H(f,e);a(f.jwapi).attr("tabindex",e?"0":"-1")}});e=b.defineNodeNameProperties(c,d,"prop")});if(o){var L=
-a.cleanData,M=a.browser.msie&&9>b.browserVersion,N={object:1,OBJECT:1};a.cleanData=function(a){var b,c,d;if(a&&(c=a.length)&&l)for(b=0;b<c;b++)if(N[a[b].nodeName]){if("sendEvent"in a[b]){l--;try{a[b].sendEvent("play",!1)}catch(e){}}if(M)try{for(d in a[b])"function"==typeof a[b][d]&&(a[b][d]=null)}catch(f){}}return L.apply(this,arguments)}}if(!g){var y=k.createElement("a");y.style.display="none";["poster","src"].forEach(function(c){b.defineNodeNamesProperty("src"==c?["audio","video","source"]:["video"],
-c,{prop:{get:function(){var b=this.getAttribute(c),d;if(null==b)return"";y.setAttribute("href",b+"");if(!a.support.hrefNormalized){try{a(y).appendTo(this),d=y.getAttribute("href",4)}catch(e){d=y.getAttribute("href",4)}a(y).detach()}return d||y.href},set:function(b){a.attr(this,c,b)}}})});["autoplay","controls"].forEach(function(a){b.defineNodeNamesBooleanProperty(["audio","video"],a)});b.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")}});
+(function(){var a=Function.prototype.call,b=Object.prototype,k=Array.prototype.slice,h,i;if(!Function.prototype.bind)Function.prototype.bind=function(a){var d=this;if("function"!=typeof d)throw new TypeError;var b=k.call(arguments,1),m=function(){if(this instanceof m){var g=function(){};g.prototype=d.prototype;var g=new g,i=d.apply(g,b.concat(k.call(arguments)));return null!==i&&Object(i)===i?i:g}return d.apply(a,b.concat(k.call(arguments)))};return m};i=a.bind(b.toString);h=a.bind(b.hasOwnProperty);
+if(!Array.isArray)Array.isArray=function(a){return"[object Array]"==i(a)};if(!Array.prototype.forEach)Array.prototype.forEach=function(a,d){var g=q(this),m=0,b=g.length>>>0;if("[object Function]"!=i(a))throw new TypeError;for(;m<b;)m in g&&a.call(d,g[m],m,g),m++};if(!Array.prototype.map)Array.prototype.map=function(a,g){var d=q(this),b=d.length>>>0,j=Array(b);if("[object Function]"!=i(a))throw new TypeError;for(var e=0;e<b;e++)e in d&&(j[e]=a.call(g,d[e],e,d));return j};if(!Array.prototype.filter)Array.prototype.filter=
+function(a,d){var g=q(this),b=g.length>>>0,j=[];if("[object Function]"!=i(a))throw new TypeError;for(var e=0;e<b;e++)e in g&&a.call(d,g[e],e,g)&&j.push(g[e]);return j};if(!Array.prototype.every)Array.prototype.every=function(a,g){var d=q(this),b=d.length>>>0;if("[object Function]"!=i(a))throw new TypeError;for(var e=0;e<b;e++)if(e in d&&!a.call(g,d[e],e,d))return!1;return!0};if(!Array.prototype.some)Array.prototype.some=function(a,d){var g=q(this),b=g.length>>>0;if("[object Function]"!=i(a))throw new TypeError;
+for(var e=0;e<b;e++)if(e in g&&a.call(d,g[e],e,g))return!0;return!1};if(!Array.prototype.reduce)Array.prototype.reduce=function(a){var g=q(this),d=g.length>>>0;if("[object Function]"!=i(a))throw new TypeError;if(!d&&1==arguments.length)throw new TypeError;var b=0,e;if(2<=arguments.length)e=arguments[1];else{do{if(b in g){e=g[b++];break}if(++b>=d)throw new TypeError;}while(1)}for(;b<d;b++)b in g&&(e=a.call(void 0,e,g[b],b,g));return e};if(!Array.prototype.reduceRight)Array.prototype.reduceRight=function(a){var g=
+q(this),d=g.length>>>0;if("[object Function]"!=i(a))throw new TypeError;if(!d&&1==arguments.length)throw new TypeError;var b,d=d-1;if(2<=arguments.length)b=arguments[1];else{do{if(d in g){b=g[d--];break}if(0>--d)throw new TypeError;}while(1)}do d in this&&(b=a.call(void 0,b,g[d],d,g));while(d--);return b};if(!Array.prototype.indexOf)Array.prototype.indexOf=function(a){var g=q(this),d=g.length>>>0;if(!d)return-1;var b=0;1<arguments.length&&(b=p(arguments[1]));for(b=0<=b?b:d-Math.abs(b);b<d;b++)if(b in
+g&&g[b]===a)return b;return-1};if(!Array.prototype.lastIndexOf)Array.prototype.lastIndexOf=function(a){var g=q(this),d=g.length>>>0;if(!d)return-1;var b=d-1;1<arguments.length&&(b=p(arguments[1]));for(b=0<=b?b:d-Math.abs(b);0<=b;b--)if(b in g&&a===g[b])return b;return-1};if(!Object.keys){var g=!0,d="toString,toLocaleString,valueOf,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,constructor".split(","),u=d.length,e;for(e in{toString:null})g=!1;Object.keys=function(a){if("object"!=typeof a&&"function"!=
+typeof a||null===a)throw new TypeError("Object.keys called on a non-object");var b=[],i;for(i in a)h(a,i)&&b.push(i);if(g)for(i=0;i<u;i++){var e=d[i];h(a,e)&&b.push(e)}return b}}if(!Date.prototype.toISOString)Date.prototype.toISOString=function(){var a,b,g;if(!isFinite(this))throw new RangeError;a=[this.getUTCFullYear(),this.getUTCMonth()+1,this.getUTCDate(),this.getUTCHours(),this.getUTCMinutes(),this.getUTCSeconds()];for(b=a.length;b--;)g=a[b],10>g&&(a[b]="0"+g);return a.slice(0,3).join("-")+"T"+
+a.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()};a="\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||a.trim()){var a="["+a+"]",o=RegExp("^"+a+a+"*"),j=
+RegExp(a+a+"*$");String.prototype.trim=function(){return(""+this).replace(o,"").replace(j,"")}}var p=function(a){a=+a;a!==a?a=-1:0!==a&&a!==1/0&&a!==-(1/0)&&(a=(0<a||-1)*Math.floor(Math.abs(a)));return a},v="a"!="a"[0],q=function(a){if(null==a)throw new TypeError;return v&&"string"==typeof a&&a?a.split(""):Object(a)}})();
+(function(a,b){var k=!(!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor);k&&!a.browser.msie&&Object.defineProperty&&Object.prototype.__defineGetter__&&function(){try{var a=document.createElement("foo");Object.defineProperty(a,"bar",{get:function(){return!0}});k=!!a.bar}catch(b){k=!1}a=null}();Modernizr.objectAccessor=!(!(k||Object.prototype.__defineGetter__&&Object.prototype.__lookupSetter__)||a.browser.opera&&!(11<=b.browserVersion));Modernizr.advancedObjectProperties=k;
+if(!k||!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor||!Object.defineProperty){var h=Function.prototype.call.bind(Object.prototype.hasOwnProperty);b.objectCreate=function(a,g,d,h){var e;e=function(){};e.prototype=a;e=new e;if(!h&&!("__proto__"in e)&&!Modernizr.objectAccessor)e.__proto__=a;g&&b.defineProperties(e,g);if(d)e.options=jQuery.extend(!0,{},e.options||{},d),d=e.options;e._create&&jQuery.isFunction(e._create)&&e._create(d);return e};b.defineProperties=function(a,
+g){for(var d in g)h(g,d)&&b.defineProperty(a,d,g[d]);return a};b.defineProperty=function(a,b,d){if("object"!=typeof d||null===d)return a;if(h(d,"value"))return a[b]=d.value,a;a.__defineGetter__&&("function"==typeof d.get&&a.__defineGetter__(b,d.get),"function"==typeof d.set&&a.__defineSetter__(b,d.set));return a};b.getPrototypeOf=function(a){return Object.getPrototypeOf&&Object.getPrototypeOf(a)||a.__proto__||a.constructor&&a.constructor.prototype};b.getOwnPropertyDescriptor=function(a,b){if("object"!==
+typeof a&&"function"!==typeof a||null===a)throw new TypeError("Object.getOwnPropertyDescriptor called on a non-object");var d;if(Object.defineProperty&&Object.getOwnPropertyDescriptor)try{return d=Object.getOwnPropertyDescriptor(a,b)}catch(k){}d={configurable:!0,enumerable:!0,writable:!0,value:void 0};var e=a.__lookupGetter__&&a.__lookupGetter__(b),o=a.__lookupSetter__&&a.__lookupSetter__(b);if(!e&&!o){if(!h(a,b))return;d.value=a[b];return d}delete d.writable;delete d.value;d.get=d.set=void 0;if(e)d.get=
+e;if(o)d.set=o;return d}}})(jQuery,jQuery.webshims);(function(a){if(!Modernizr.genericDOM){var b=document,k,h,i=/<([\w:]+)/,g={option:1,optgroup:1,legend:1,thead:1,tr:1,td:1,col:1,area:1};a.webshims.fixHTML5=function(a){if("string"!=typeof a||g[(i.exec(a)||["",""])[1].toLowerCase()])return a;if(!h){k=b.body;if(!k)return a;h=b.createElement("div");h.style.display="none"}var u=h.cloneNode(!1);k.appendChild(u);u.innerHTML=a;k.removeChild(u);return u.childNodes}}})(jQuery);
+jQuery.webshims.register("dom-extend",function(a,b,k,h,i){var g=b.modules,d=/\s*,\s*/,u={},e={},o={},j={},p={},v=a.fn.val,q=function(f,c,l,b,d){return d?v.call(a(f)):v.call(a(f),l)};a.fn.val=function(f){var c=this[0];arguments.length&&null==f&&(f="");if(!arguments.length)return!c||1!==c.nodeType?v.call(this):a.prop(c,"value",f,"val",!0);if(a.isArray(f))return v.apply(this,arguments);var l=a.isFunction(f);return this.each(function(b){c=this;1===c.nodeType&&(l?(b=f.call(c,b,a.prop(c,"value",i,"val",
+!0)),null==b&&(b=""),a.prop(c,"value",b,"val")):a.prop(c,"value",f,"val"))})};var r="_webshimsLib"+Math.round(1E3*Math.random()),n=function(f,c,l){f=f.jquery?f[0]:f;if(!f)return l||{};var b=a.data(f,r);l!==i&&(b||(b=a.data(f,r,{})),c&&(b[c]=l));return c?b&&b[c]:b};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(f){a.fn[f.name]=function(){return this.map(function(){var a=n(this,
+"shadowData");return a&&a[f.prop]||this})}});["removeAttr","prop","attr"].forEach(function(f){u[f]=a[f];a[f]=function(c,l,b,d,g){var j="val"==d,z=!j?u[f]:q;if(!c||!e[l]||1!==c.nodeType||!j&&d&&"attr"==f&&a.attrFn[l])return z(c,l,b,d,g);var A=(c.nodeName||"").toLowerCase(),x=o[A],h="attr"==f&&(!1===b||null===b)?"removeAttr":f,m,k,n;x||(x=o["*"]);x&&(x=x[l]);x&&(m=x[h]);if(m){if("value"==l)k=m.isVal,m.isVal=j;if("removeAttr"===h)return m.value.call(c);if(b===i)return m.get?m.get.call(c):m.value;m.set&&
+("attr"==f&&!0===b&&(b=l),n=m.set.call(c,b));if("value"==l)m.isVal=k}else n=z(c,l,b,d,g);if((b!==i||"removeAttr"===h)&&p[A]&&p[A][l]){var s;s="removeAttr"==h?!1:"prop"==h?!!b:!0;p[A][l].forEach(function(a){if(!a.only||(a.only="prop"==f)||"attr"==a.only&&"prop"!=f)a.call(c,b,s,j?"val":h,f)})}return n};j[f]=function(c,l,d){o[c]||(o[c]={});o[c][l]||(o[c][l]={});var g=o[c][l][f],e=function(a,c,b){return c&&c[a]?c[a]:b&&b[a]?b[a]:"prop"==f&&"value"==l?function(a){return d.isVal?q(this,l,a,!1,0===arguments.length):
+u[f](this,l,a)}:"prop"==f&&"value"==a&&d.value.apply?function(a){var c=u[f](this,l);c&&c.apply&&(c=c.apply(this,arguments));return c}:function(a){return u[f](this,l,a)}};o[c][l][f]=d;if(d.value===i){if(!d.set)d.set=d.writeable?e("set",d,g):b.cfg.useStrict&&"prop"==l?function(){throw l+" is readonly on "+c;}:a.noop;if(!d.get)d.get=e("get",d,g)}["value","get","set"].forEach(function(a){d[a]&&(d["_sup"+a]=e(a,g))})}});var t=!a.browser.msie||8<parseInt(a.browser.version,10),m=function(){var a=b.getPrototypeOf(h.createElement("foobar")),
+c=Object.prototype.hasOwnProperty;return function(l,d,g){var e=h.createElement(l),j=b.getPrototypeOf(e);if(t&&j&&a!==j&&(!e[d]||!c.call(e,d))){var i=e[d];g._supvalue=function(){return i&&i.apply?i.apply(this,arguments):i};j[d]=g.value}else g._supvalue=function(){var a=n(this,"propValue");return a&&a[d]&&a[d].apply?a[d].apply(this,arguments):a&&a[d]},s.extendValue(l,d,g.value);g.value._supvalue=g._supvalue}}(),s=function(){var f={};b.addReady(function(c,l){var d={},g=function(f){d[f]||(d[f]=a(c.getElementsByTagName(f)),
+l[0]&&a.nodeName(l[0],f)&&(d[f]=d[f].add(l)))};a.each(f,function(a,c){g(a);!c||!c.forEach?b.warn("Error: with "+a+"-property. methods: "+c):c.forEach(function(c){d[a].each(c)})});d=null});var c,l=a([]),d=function(b,l){f[b]?f[b].push(l):f[b]=[l];a.isDOMReady&&(c||a(h.getElementsByTagName(b))).each(l)};return{createTmpCache:function(f){a.isDOMReady&&(c=c||a(h.getElementsByTagName(f)));return c||l},flushTmpCache:function(){c=null},content:function(c,f){d(c,function(){var c=a.attr(this,f);null!=c&&a.attr(this,
+f,c)})},createElement:function(a,c){d(a,c)},extendValue:function(c,f,b){d(c,function(){a(this).each(function(){n(this,"propValue",{})[f]=this[f];this[f]=b})})}}}(),w=function(a,c){if(a.defaultValue===i)a.defaultValue="";if(!a.removeAttr)a.removeAttr={value:function(){a[c||"prop"].set.call(this,a.defaultValue);a.removeAttr._supvalue.call(this)}}};a.extend(b,{getID:function(){var f=(new Date).getTime();return function(c){var c=a(c),b=c.attr("id");b||(f++,b="ID-"+f,c.attr("id",b));return b}}(),extendUNDEFProp:function(f,
+c){a.each(c,function(a,c){a in f||(f[a]=c)})},createPropDefault:w,data:n,moveToFirstEvent:function(){var f=a._data?"_data":"data";return function(c,b,d){if((c=(a[f](c,"events")||{})[b])&&1<c.length)b=c.pop(),d||(d="bind"),"bind"==d&&c.delegateCount?c.splice(c.delegateCount,0,b):c.unshift(b)}}(),addShadowDom:function(f,c,b){b=b||{};f.jquery&&(f=f[0]);c.jquery&&(c=c[0]);if(!b.shadowFocusElement)b.shadowFocusElement=c;var d=a.data(f,r)||a.data(f,r,{}),g=a.data(c,r)||a.data(c,r,{});d.hasShadow=c;g.nativeElement=
+f;g.shadowData=d.shadowData={nativeElement:f,shadowElement:c,shadowFocusElement:b.shadowFocusElement};b.shadowChilds&&b.shadowChilds.each(function(){n(this,"shadowData",g.shadowData)});if(b.data)d.shadowData.data=b.data,g.shadowData.data=b.data;b=null},propTypes:{standard:function(a){w(a);if(!a.prop)a.prop={set:function(c){a.attr.set.call(this,""+c)},get:function(){return a.attr.get.call(this)||a.defaultValue}}},"boolean":function(a){w(a);if(!a.prop)a.prop={set:function(c){c?a.attr.set.call(this,
+""):a.removeAttr.value.call(this)},get:function(){return null!=a.attr.get.call(this)}}}},reflectProperties:function(f,c){"string"==typeof c&&(c=c.split(d));c.forEach(function(c){b.defineNodeNamesProperty(f,c,{prop:{set:function(b){a.attr(this,c,b)},get:function(){return a.attr(this,c)||""}}})})},defineNodeNameProperty:function(f,c,d){e[c]=!0;if(d.reflect)b.propTypes[d.propType||"standard"](d);["prop","attr","removeAttr"].forEach(function(g){var e=d[g];e&&(e="prop"===g?a.extend({writeable:!0},e):a.extend({},
+e,{writeable:!0}),j[g](f,c,e),"*"!=f&&b.cfg.extendNative&&"prop"==g&&e.value&&a.isFunction(e.value)&&m(f,c,e),d[g]=e)});d.initAttr&&s.content(f,c);return d},defineNodeNameProperties:function(a,c,d,g){for(var e in c)!g&&c[e].initAttr&&s.createTmpCache(a),d&&(c[e][d]?b.log("override: "+a+"["+e+"] for "+d):(c[e][d]={},["value","set","get"].forEach(function(a){a in c[e]&&(c[e][d][a]=c[e][a],delete c[e][a])}))),c[e]=b.defineNodeNameProperty(a,e,c[e]);g||s.flushTmpCache();return c},createElement:function(f,
+c,d){var g;a.isFunction(c)&&(c={after:c});s.createTmpCache(f);c.before&&s.createElement(f,c.before);d&&(g=b.defineNodeNameProperties(f,d,!1,!0));c.after&&s.createElement(f,c.after);s.flushTmpCache();return g},onNodeNamesPropertyModify:function(b,c,g,C){"string"==typeof b&&(b=b.split(d));a.isFunction(g)&&(g={set:g});b.forEach(function(a){p[a]||(p[a]={});"string"==typeof c&&(c=c.split(d));g.initAttr&&s.createTmpCache(a);c.forEach(function(c){p[a][c]||(p[a][c]=[],e[c]=!0);if(g.set){if(C)g.set.only=C;
+p[a][c].push(g.set)}g.initAttr&&s.content(a,c)});s.flushTmpCache()})},defineNodeNamesBooleanProperty:function(f,c,d){d||(d={});if(a.isFunction(d))d.set=d;b.defineNodeNamesProperty(f,c,{attr:{set:function(a){this.setAttribute(c,a);d.set&&d.set.call(this,!0)},get:function(){return null==this.getAttribute(c)?i:c}},removeAttr:{value:function(){this.removeAttribute(c);d.set&&d.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:d.initAttr||!1})},contentAttr:function(a,c,b){if(a.nodeName){if(b===
+i)return b=(a.attributes[c]||{}).value,null==b?i:b;"boolean"==typeof b?b?a.setAttribute(c,c):a.removeAttribute(c):a.setAttribute(c,b)}},activeLang:function(){var d=[],c={},l,e,j=/:\/\/|^\.*\//,i=function(c,d,f){return d&&f&&-1!==a.inArray(d,f.availabeLangs||[])?(c.loading=!0,f=f.langSrc,j.test(f)||(f=b.cfg.basePath+f),b.loader.loadScript(f+d+".js",function(){c.langObj[d]?(c.loading=!1,h(c,!0)):a(function(){c.langObj[d]&&h(c,!0);c.loading=!1})}),!0):!1},m=function(a){c[a]&&c[a].forEach(function(a){a.callback()})},
+h=function(a,c){if(a.activeLang!=l&&a.activeLang!==e){var b=g[a.module].options;if(a.langObj[l]||e&&a.langObj[e])a.activeLang=l,a.callback(a.langObj[l]||a.langObj[e],l),m(a.module);else if(!c&&!i(a,l,b)&&!i(a,e,b)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],l),m(a.module)}};return function(b){if("string"==typeof b&&b!==l)l=b,e=l.split("-")[0],l==e&&(e=!1),a.each(d,function(a,c){h(c)});else if("object"==typeof b)if(b.register)c[b.register]||(c[b.register]=[]),c[b.register].push(b),
+b.callback();else{if(!b.activeLang)b.activeLang="";d.push(b);h(b)}return l}}()});a.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(a,c){b[a]=function(a,f,g,e){"string"==typeof a&&(a=a.split(d));var j={};a.forEach(function(a){j[a]=b[c](a,f,g,e)});return j}});b.isReady("webshimLocalization",!0)});
+(function(a,b){var k=a.webshims.browserVersion;if(!(a.browser.mozilla&&5<k)&&(!a.browser.msie||12>k&&7<k)){var h={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},i=function(a,b){a.getAttribute("role")||a.setAttribute("role",b)};a.webshims.addReady(function(g,d){a.each(h,function(b,e){for(var h=a(b,g).add(d.filter(b)),k=0,o=h.length;k<o;k++)i(h[k],e)});if(g===b){var k=b.getElementsByTagName("header")[0],e=b.getElementsByTagName("footer"),o=e.length;
+k&&!a(k).closest("section, article")[0]&&i(k,"banner");o&&(k=e[o-1],a(k).closest("section, article")[0]||i(k,"contentinfo"))}})}})(jQuery,document);
+(function(a,b,k){var h=b.audio&&b.video,i=!1;if(h)a=document.createElement("video"),b.videoBuffered="buffered"in a,i="loop"in a,k.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(",")),b.videoBuffered||(k.addPolyfill("mediaelement-native-fix",{f:"mediaelement",test:b.videoBuffered,d:["dom-support"]}),k.reTest("mediaelement-native-fix"));jQuery.webshims.register("mediaelement-core",function(a,b,k,e,o){var j=b.mediaelement,p=b.cfg.mediaelement,
+v=function(b,c){var b=a(b),d={src:b.attr("src")||"",elem:b,srcProp:b.prop("src")};if(!d.src)return d;var e=b.attr("type");if(e)d.type=e,d.container=a.trim(e.split(";")[0]);else if(c||(c=b[0].nodeName.toLowerCase(),"source"==c&&(c=(b.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),e=j.getTypeForSrc(d.src,c))d.type=e,d.container=e;if(e=b.attr("media"))d.media=e;return d},q=swfobject.hasFlashPlayerVersion("9.0.115"),r=function(){b.ready("mediaelement-swf",function(){if(!j.createSWF)b.modules["mediaelement-swf"].test=
+a.noop,b.reTest(["mediaelement-swf"],h)})};j.mimeTypes={audio:{"audio/ogg":["ogg","oga","ogm"],"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"]}};j.mimeTypes.source=a.extend({},j.mimeTypes.audio,j.mimeTypes.video);j.getTypeForSrc=function(b,c){if(-1!=b.indexOf("youtube.com/watch?")||-1!=b.indexOf("youtube.com/v/"))return"video/youtube";var b=b.split("?")[0].split("."),b=b[b.length-1],d;a.each(j.mimeTypes[c],function(a,c){if(-1!==c.indexOf(b))return d=a,!1});return d};j.srces=function(b,c){b=a(b);if(c)b.removeAttr("src").removeAttr("type").find("source").remove(),
+a.isArray(c)||(c=[c]),c.forEach(function(a){var c=e.createElement("source");"string"==typeof a&&(a={src:a});c.setAttribute("src",a.src);a.type&&c.setAttribute("type",a.type);a.media&&c.setAttribute("media",a.media);b.append(c)});else{var c=[],d=b[0].nodeName.toLowerCase(),j=v(b,d);j.src?c.push(j):a("source",b).each(function(){j=v(this,d);j.src&&c.push(j)});return c}};a.fn.loadMediaSrc=function(b,c){return this.each(function(){c!==o&&(a(this).removeAttr("poster"),c&&a.attr(this,"poster",c));j.srces(this,
+b);a(this).mediaLoad()})};j.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(",");j.canSwfPlaySrces=function(b,c){var d="";q&&(b=a(b),c=c||j.srces(b),a.each(c,function(a,b){if(b.container&&b.src&&-1!=j.swfMimeTypes.indexOf(b.container))return d=b,!1}));return d};var n={};j.canNativePlaySrces=function(b,
+c){var d="";if(h){var b=a(b),e=(b[0].nodeName||"").toLowerCase();if(!n[e])return d;c=c||j.srces(b);a.each(c,function(a,c){if(c.type&&n[e].prop._supvalue.call(b[0],c.type))return d=c,!1})}return d};j.setError=function(f,c){c||(c="can't play sources");a(f).pause().data("mediaerror",c);b.warn("mediaelementError: "+c);setTimeout(function(){a(f).data("mediaerror")&&a(f).trigger("mediaerror")},1)};var t=function(){var a;return function(c,e,g){b.ready("mediaelement-swf",function(){j.createSWF?j.createSWF(c,
+e,g):a||(a=!0,r(),t(c,e,g))})}}(),m=function(a,b,d,e,g){d||!1!==d&&b&&"flash"==b.isActive?(d=j.canSwfPlaySrces(a,e))?t(a,d,b):g?j.setError(a,!1):m(a,b,!1,e,!0):(d=j.canNativePlaySrces(a,e))?b&&"flash"==b.isActive&&j.setActive(a,"html5",b):g?(j.setError(a,!1),b&&"flash"==b.isActive&&j.setActive(a,"html5",b)):m(a,b,!0,e,!0)},s=/^(?:embed|object|datalist)$/i,w=function(f,c){var e=b.data(f,"mediaelementBase")||b.data(f,"mediaelementBase",{}),i=j.srces(f),h=f.parentNode;clearTimeout(e.loadTimer);a.data(f,
+"mediaerror",!1);if(i.length&&h&&!(1!=h.nodeType||s.test(h.nodeName||"")))c=c||b.data(f,"mediaelement"),m(f,c,p.preferFlash||o,i)};a(e).bind("ended",function(f){var c=b.data(f.target,"mediaelement");(!i||c&&"html5"!=c.isActive||a.prop(f.target,"loop"))&&setTimeout(function(){!a.prop(f.target,"paused")&&a.prop(f.target,"loop")&&a(f.target).prop("currentTime",0).play()},1)});i||b.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(f){var c=b.defineNodeNameProperty(f,
+"load",{prop:{value:function(){var a=b.data(this,"mediaelement");w(this,a);h&&(!a||"html5"==a.isActive)&&c.prop._supvalue&&c.prop._supvalue.apply(this,arguments)}}});n[f]=b.defineNodeNameProperty(f,"canPlayType",{prop:{value:function(b){var c="";h&&n[f].prop._supvalue&&(c=n[f].prop._supvalue.call(this,b),"no"==c&&(c=""));!c&&q&&(b=a.trim((b||"").split(";")[0]),-1!=j.swfMimeTypes.indexOf(b)&&(c="maybe"));return c}}})});b.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var a=
+this,c=b.data(a,"mediaelementBase")||b.data(a,"mediaelementBase",{});clearTimeout(c.loadTimer);c.loadTimer=setTimeout(function(){w(a);a=null},9)}});k=function(){b.addReady(function(e,c){a("video, audio",e).add(c.filter("video, audio")).each(function(){a.browser.msie&&8<b.browserVersion&&a.prop(this,"paused")&&!a.prop(this,"readyState")&&a(this).is('audio[preload="none"][controls]:not([autoplay])')?a(this).prop("preload","metadata").mediaLoad():w(this);if(h){var c,e,f=this,j=function(){var b=a.prop(f,
+"buffered");if(b){for(var c="",d=0,e=b.length;d<e;d++)c+=b.end(d);return c}},i=function(){var b=j();b!=e&&(e=b,a(f).triggerHandler("progress"))};a(this).bind("play loadstart progress",function(a){"progress"==a.type&&(e=j());clearTimeout(c);c=setTimeout(i,999)}).bind("emptied stalled mediaerror abort suspend",function(a){"emptied"==a.type&&(e=!1);clearTimeout(c)})}})})};h?(b.isReady("mediaelement-core",!0),k(),q&&b.ready("WINDOWLOAD mediaelement",r)):b.ready("mediaelement-swf",k)})})(jQuery,Modernizr,
+jQuery.webshims);
+jQuery.webshims.register("mediaelement-swf",function(a,b,k,h,i,g){var d=b.mediaelement,u=k.swfobject,e=Modernizr.audio&&Modernizr.video,o=u.hasFlashPlayerVersion("9.0.115"),j=0,k={paused:!0,ended:!1,currentSrc:"",duration:k.NaN,readyState:0,networkState:0,videoHeight:0,videoWidth:0,error:null,buffered:{start:function(a){if(a)b.error("buffered index size error");else return 0},end:function(a){if(a)b.error("buffered index size error");else return 0},length:0}},p=Object.keys(k),v={currentTime:0,volume:1,
+muted:!1};Object.keys(v);var q=a.extend({isActive:"html5",activating:"html5",wasSwfReady:!1,_bufferedEnd:0,_bufferedStart:0,_metadata:!1,_durationCalcs:-1,_callMeta:!1,currentTime:0,_ppFlag:i},k,v),r=/^jwplayer-/,n=function(a){if(a=h.getElementById(a.replace(r,"")))return a=b.data(a,"mediaelement"),"flash"==a.isActive?a:null},t=function(a){return(a=b.data(a,"mediaelement"))&&"flash"==a.isActive?a:null},m=function(b,c){c=a.Event(c);c.preventDefault();a.event.trigger(c,i,b)},s=g.playerPath||b.cfg.basePath+
+"jwplayer/"+(g.playerName||"player.swf"),w=g.pluginPath||b.cfg.basePath+"swf/jwwebshims.swf";b.extendUNDEFProp(g.jwParams,{allowscriptaccess:"always",allowfullscreen:"true",wmode:"transparent"});b.extendUNDEFProp(g.jwVars,{screencolor:"ffffffff"});b.extendUNDEFProp(g.jwAttrs,{bgcolor:"#000000"});var f=function(b,c){var e=b.duration;if(!(e&&0<b._durationCalcs)){try{if(b.duration=b.jwapi.getPlaylist()[0].duration,!b.duration||0>=b.duration||b.duration===b._lastDuration)b.duration=e}catch(f){}b.duration&&
+b.duration!=b._lastDuration?(m(b._elem,"durationchange"),("audio"==b._elemNodeName||b._callMeta)&&d.jwEvents.Model.META(a.extend({duration:b.duration},c),b),b._durationCalcs--):b._durationCalcs++}},c=function(a,b){3>a&&clearTimeout(b._canplaythroughTimer);if(3<=a&&3>b.readyState)b.readyState=a,m(b._elem,"canplay"),clearTimeout(b._canplaythroughTimer),b._canplaythroughTimer=setTimeout(function(){c(4,b)},4E3);if(4<=a&&4>b.readyState)b.readyState=a,m(b._elem,"canplaythrough");b.readyState=a};d.jwEvents=
+{View:{PLAY:function(a){var b=n(a.id);if(b&&!b.stopPlayPause&&(b._ppFlag=!0,b.paused==a.state)){b.paused=!a.state;if(b.ended)b.ended=!1;m(b._elem,a.state?"play":"pause")}}},Model:{BUFFER:function(b){var d=n(b.id);if(d&&"percentage"in b&&d._bufferedEnd!=b.percentage){d.networkState=100==b.percentage?1:2;(isNaN(d.duration)||5<b.percentage&&25>b.percentage||100===b.percentage)&&f(d,b);if(d.ended)d.ended=!1;if(d.duration){2<b.percentage&&20>b.percentage?c(3,d):20<b.percentage&&c(4,d);if(d._bufferedEnd&&
+d._bufferedEnd>b.percentage)d._bufferedStart=d.currentTime||0;d._bufferedEnd=b.percentage;d.buffered.length=1;if(100==b.percentage)d.networkState=1,c(4,d);a.event.trigger("progress",i,d._elem,!0)}}},META:function(a,b){if(b=b&&b.networkState?b:n(a.id))if("duration"in a){if(!b._metadata||!((!a.height||b.videoHeight==a.height)&&a.duration===b.duration)){b._metadata=!0;var d=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&&c(1,b);b.duration&&d!==b.duration&&m(b._elem,"durationchange");m(b._elem,"loadedmetadata")}}else b._callMeta=!0},TIME:function(a){var b=n(a.id);if(b&&b.currentTime!==a.position){b.currentTime=a.position;b.duration&&b.duration<b.currentTime&&f(b,a);2>b.readyState&&c(2,b);if(b.ended)b.ended=!1;m(b._elem,"timeupdate")}},STATE:function(a){var b=n(a.id);if(b)switch(a.newstate){case "BUFFERING":if(b.ended)b.ended=!1;c(1,b);m(b._elem,"waiting");
+break;case "PLAYING":b.paused=!1;b._ppFlag=!0;b.duration||f(b,a);3>b.readyState&&c(3,b);if(b.ended)b.ended=!1;m(b._elem,"playing");break;case "PAUSED":if(!b.paused&&!b.stopPlayPause)b.paused=!0,b._ppFlag=!0,m(b._elem,"pause");break;case "COMPLETED":4>b.readyState&&c(4,b),b.ended=!0,m(b._elem,"ended")}}},Controller:{ERROR:function(a){var b=n(a.id);b&&d.setError(b._elem,a.message)},SEEK:function(a){var b=n(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,m(b._elem,"timeupdate")}},VOLUME:function(a){var b=n(a.id);if(b&&(a=a.percentage/100,b.volume!=a))b.volume=a,m(b._elem,"volumechange")},MUTE:function(a){if(!a.state){var b=n(a.id);if(b&&b.muted!=a.state)b.muted=a.state,m(b._elem,"volumechange")}}}};var l=function(b){var c=!0;a.each(d.jwEvents,function(d,e){a.each(e,function(a){try{b.jwapi["add"+d+"Listener"](a,"jQuery.webshims.mediaelement.jwEvents."+d+"."+a)}catch(e){return c=!1}})});return c},C=function(a){var b=
+a.actionQueue.length,c=0,d;if(b&&"flash"==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=[]},F=function(b){b&&(b._ppFlag===i&&a.prop(b._elem,"autoplay")||!b.paused)&&setTimeout(function(){if("flash"==b.isActive&&(b._ppFlag===i||!b.paused))try{a(b._elem).play()}catch(c){}},1)},H=function(b){if(b&&"video"==b._elemNodeName){var c,d,e,f,g,j,i,l,h=function(h,k){if(k&&h&&!(1>k||1>h||"flash"!=b.isActive))if(c&&
+(c.remove(),c=!1),f=h,g=k,clearTimeout(i),d="auto"==b._elem.style.width,e="auto"==b._elem.style.height,d||e){j=j||a(b._elem).getShadowElement();var m;d&&!e?(m=j.height(),h*=m/k,k=m):!d&&e&&(m=j.width(),k*=m/h,h=m);l=!0;setTimeout(function(){l=!1},9);j.css({width:h,height:k})}},k=function(){if(!("flash"!=b.isActive||a.prop(b._elem,"readyState")&&a.prop(this,"videoWidth"))){var f=a.prop(b._elem,"poster");if(f&&(d="auto"==b._elem.style.width,e="auto"==b._elem.style.height,d||e))c&&(c.remove(),c=!1),
+c=a('<img style="position: absolute; height: auto; width: auto; top: 0px; left: 0px; visibility: hidden;" />'),c.bind("load error alreadycomplete",function(){clearTimeout(i);var b=this,d=b.naturalWidth||b.width||b.offsetWidth,e=b.naturalHeight||b.height||b.offsetHeight;e&&d?(h(d,e),b=null):setTimeout(function(){d=b.naturalWidth||b.width||b.offsetWidth;e=b.naturalHeight||b.height||b.offsetHeight;h(d,e);c&&(c.remove(),c=!1);b=null},9);a(this).unbind()}).prop("src",f).appendTo("body").each(function(){this.complete||
+this.error?a(this).triggerHandler("alreadycomplete"):(clearTimeout(i),i=setTimeout(function(){a(b._elem).triggerHandler("error")},9999))})}};a(b._elem).bind("loadedmetadata",function(){h(a.prop(this,"videoWidth"),a.prop(this,"videoHeight"))}).bind("emptied",k).bind("swfstageresize updatemediaelementdimensions",function(){l||h(f,g)}).bind("emptied",function(){f=void 0;g=void 0}).triggerHandler("swfstageresize");k();a.prop(b._elem,"readyState")&&h(a.prop(b._elem,"videoWidth"),a.prop(b._elem,"videoHeight"))}};
+d.playerResize=function(b){b&&(b=h.getElementById(b.replace(r,"")))&&a(b).triggerHandler("swfstageresize")};a(h).bind("emptied",function(a){a=t(a.target);F(a)});var D;d.jwPlayerReady=function(c){var d=n(c.id),e=0,f=function(){if(!(9<e))if(e++,l(d)){if(d.wasSwfReady)a(d._elem).mediaLoad();else{var g=parseFloat(c.version,10);(5.6>g||6<=g)&&b.warn("mediaelement-swf is only testet with jwplayer 5.6+")}d.wasSwfReady=!0;d.tryedReframeing=0;C(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(D);d.jwData=c;d.shadowElem.removeClass("flashblocker-assumed");a.prop(d._elem,"volume",d.volume);a.prop(d._elem,"muted",d.muted);f()}};var z=a.noop;if(e){var A={play:1,playing:1},x="play,pause,playing,canplay,progress,waiting,ended,loadedmetadata,durationchange,emptied".split(","),
+G=x.map(function(a){return a+".webshimspolyfill"}).join(" "),I=function(c){var d=b.data(c.target,"mediaelement");d&&(c.originalEvent&&c.originalEvent.type===c.type)==("flash"==d.activating)&&(c.stopImmediatePropagation(),A[c.type]&&d.isActive!=d.activating&&a(c.target).pause())},z=function(c){a(c).unbind(G).bind(G,I);x.forEach(function(a){b.moveToFirstEvent(c,a)})};z(h)}d.setActive=function(c,d,e){e||(e=b.data(c,"mediaelement"));if(e&&e.isActive!=d){"html5"!=d&&"flash"!=d&&b.warn("wrong type for mediaelement activating: "+
+d);var f=b.data(c,"shadowData");e.activating=d;a(c).pause();e.isActive=d;"flash"==d?(f.shadowElement=f.shadowFocusElement=e.shadowElem[0],a(c).hide().getShadowElement().show()):(a(c).show().getShadowElement().hide(),f.shadowElement=f.shadowFocusElement=!1)}};var J=function(){var a="_bufferedEnd,_bufferedStart,_metadata,_ppFlag,currentSrc,currentTime,duration,ended,networkState,paused,videoHeight,videoWidth,_callMeta,_durationCalcs".split(","),b=a.length;return function(d){if(d){var e=b,f=d.networkState;
+for(c(0,d);--e;)delete d[a[e]];d.actionQueue=[];d.buffered.length=0;f&&m(d._elem,"emptied")}}}(),E=function(b,c){var d=b._elem,e=b.shadowElem;a(d)[c?"addClass":"removeClass"]("webshims-controls");"audio"==b._elemNodeName&&!c?e.css({width:0,height:0}):e.css({width:d.style.width||a(d).width(),height:d.style.height||a(d).height()})};d.createSWF=function(c,f,h){if(o){1>j?j=1:j++;var i=a.extend({},g.jwVars,{image:a.prop(c,"poster")||"",file:f.srcProp}),l=a(c).data("jwvars")||{};h||(h=b.data(c,"mediaelement"));
+if(h&&h.swfCreated)d.setActive(c,"flash",h),J(h),h.currentSrc=f.srcProp,a.extend(i,l),g.changeJW(i,c,f,h,"load"),B(c,"sendEvent",["LOAD",i]);else{var k=a.prop(c,"controls"),m="jwplayer-"+b.getID(c),n=a.extend({},g.jwParams,a(c).data("jwparams")),p=c.nodeName.toLowerCase(),t=a.extend({},g.jwAttrs,{name:m,id:m},a(c).data("jwattrs")),r=a('<div class="polyfill-'+p+' polyfill-mediaelement" id="wrapper-'+m+'"><div id="'+m+'"></div>').css({position:"relative",overflow:"hidden"}),h=b.data(c,"mediaelement",
+b.objectCreate(q,{actionQueue:{value:[]},shadowElem:{value:r},_elemNodeName:{value:p},_elem:{value:c},currentSrc:{value:f.srcProp},swfCreated:{value:!0},buffered:{value:{start:function(a){if(a>=h.buffered.length)b.error("buffered index size error");else return 0},end:function(a){if(a>=h.buffered.length)b.error("buffered index size error");else return(h.duration-h._bufferedStart)*h._bufferedEnd/100+h._bufferedStart},length:0}}}));E(h,k);r.insertBefore(c);e&&a.extend(h,{volume:a.prop(c,"volume"),muted:a.prop(c,
+"muted")});a.extend(i,{id:m,controlbar:k?g.jwVars.controlbar||("video"==p?"over":"bottom"):"video"==p?"none":"bottom",icons:""+(k&&"video"==p)},l,{playerready:"jQuery.webshims.mediaelement.jwPlayerReady"});i.plugins=i.plugins?i.plugins+(","+w):w;b.addShadowDom(c,r);z(c);d.setActive(c,"flash",h);g.changeJW(i,c,f,h,"embed");a(c).bind("updatemediaelementdimensions",function(){E(h,a.prop(c,"controls"))});H(h);u.embedSWF(s,m,"100%","100%","9.0.0",!1,i,n,t,function(d){if(d.success)h.jwapi=d.ref,k||a(d.ref).attr("tabindex",
+"-1").css("outline","none"),setTimeout(function(){if(!d.ref.parentNode&&r[0].parentNode||"none"==d.ref.style.display)r.addClass("flashblocker-assumed"),a(c).trigger("flashblocker"),b.warn("flashblocker assumed");a(d.ref).css({minHeight:"2px",minWidth:"2px",display:"block"})},9),D||(clearTimeout(D),D=setTimeout(function(){var c=a(d.ref);1<c[0].offsetWidth&&1<c[0].offsetHeight&&0===location.protocol.indexOf("file:")?b.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>c[0].offsetWidth||2>c[0].offsetHeight)&&b.info("JS-SWF connection can't be established on hidden or unconnected flash objects")},8E3))})}}else setTimeout(function(){a(c).mediaLoad()},1)};var B=function(a,b,c,d){return(d=d||t(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=t(this);return b?b[a]:e&&f[a].prop._supget?f[a].prop._supget.apply(this):q[a]},writeable:!1})},h=function(a,b){g(a);delete d[a].writeable;d[a].set=b};h("volume",function(a){var c=t(this);if(c){if(a*=100,!isNaN(a)){var d=c.muted;(0>a||100<a)&&b.error("volume greater or less than allowed "+a/100);B(this,"sendEvent",["VOLUME",a],c);if(d)try{c.jwapi.sendEvent("mute","true")}catch(e){}a/=100;if(!(c.volume==a||"flash"!=c.isActive))c.volume=
+a,m(c._elem,"volumechange")}}else if(f.volume.prop._supset)return f.volume.prop._supset.apply(this,arguments)});h("muted",function(a){var b=t(this);if(b){if(a=!!a,B(this,"sendEvent",["mute",""+a],b),!(b.muted==a||"flash"!=b.isActive))b.muted=a,m(b._elem,"volumechange")}else if(f.muted.prop._supset)return f.muted.prop._supset.apply(this,arguments)});h("currentTime",function(a){var b=t(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);B(this,"sendEvent",["SEEK",""+a],b);if(b.paused){if(0<b.readyState)b.currentTime=a,m(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=t(this);if(b)b.stopPlayPause&&clearTimeout(b.stopPlayPause),B(this,"sendEvent",["play","play"==a],b),setTimeout(function(){if("flash"==b.isActive&&(b._ppFlag=
+!0,b.paused!=("play"!=a)))b.paused="play"!=a,m(b._elem,a)},1);else if(f[a].prop._supvalue)return f[a].prop._supvalue.apply(this,arguments)}}});p.forEach(g);b.onNodeNamesPropertyModify(c,"controls",function(d,e){var f=t(this);a(this)[e?"addClass":"removeClass"]("webshims-controls");if(f){try{B(this,e?"showControls":"hideControls",[c],f)}catch(g){b.warn("you need to generate a crossdomain.xml")}"audio"==c&&E(f,e);a(f.jwapi).attr("tabindex",e?"0":"-1")}});f=b.defineNodeNameProperties(c,d,"prop")});if(o){var K=
+a.cleanData,L=a.browser.msie&&9>b.browserVersion,M={object:1,OBJECT:1};a.cleanData=function(a){var b,c,d;if(a&&(c=a.length)&&j)for(b=0;b<c;b++)if(M[a[b].nodeName]){if("sendEvent"in a[b]){j--;try{a[b].sendEvent("play",!1)}catch(e){}}if(L)try{for(d in a[b])"function"==typeof a[b][d]&&(a[b][d]=null)}catch(f){}}return K.apply(this,arguments)}}if(!e){var y=h.createElement("a");y.style.display="none";["poster","src"].forEach(function(c){b.defineNodeNamesProperty("src"==c?["audio","video","source"]:["video"],
+c,{prop:{get:function(){var b=this.getAttribute(c),d;if(null==b)return"";y.setAttribute("href",b+"");if(!a.support.hrefNormalized){try{a(y).appendTo(this),d=y.getAttribute("href",4)}catch(e){d=y.getAttribute("href",4)}a(y).detach()}return d||y.href},set:function(b){a.attr(this,c,b)}}})});["autoplay","controls"].forEach(function(a){b.defineNodeNamesBooleanProperty(["audio","video"],a)});b.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")}});