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

- old
+ new

@@ -1,43 +1,44 @@ -jQuery.webshims.register("dom-extend",function(c,h,k,m,p){var w=h.modules,q=/\s*,\s*/,r={},n={},i={},u={},f={},g=c.fn.val,E=function(b,a,d,e,o){return o?g.call(c(b)):g.call(c(b),d)};c.fn.val=function(b){var a=this[0];arguments.length&&null==b&&(b="");if(!arguments.length)return!a||1!==a.nodeType?g.call(this):c.prop(a,"value",b,"val",!0);if(c.isArray(b))return g.apply(this,arguments);var d=c.isFunction(b);return this.each(function(e){a=this;1===a.nodeType&&(d?(e=b.call(a,e,c.prop(a,"value",p,"val", -!0)),null==e&&(e=""),c.prop(a,"value",e,"val")):c.prop(a,"value",b,"val"))})};var x="_webshimsLib"+Math.round(1E3*Math.random()),C=function(b,a,d){b=b.jquery?b[0]:b;if(!b)return d||{};var e=c.data(b,x);d!==p&&(e||(e=c.data(b,x,{})),a&&(e[a]=d));return a?e&&e[a]:e};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(b){c.fn[b.name]=function(){return this.map(function(){var a=C(this, -"shadowData");return a&&a[b.prop]||this})}});["removeAttr","prop","attr"].forEach(function(b){r[b]=c[b];c[b]=function(a,d,e,o,A){var j="val"==o,s=!j?r[b]:E;if(!a||!n[d]||1!==a.nodeType||!j&&o&&"attr"==b&&c.attrFn[d])return s(a,d,e,o,A);var v=(a.nodeName||"").toLowerCase(),z=i[v],B="attr"==b&&(!1===e||null===e)?"removeAttr":b,g,h,l;z||(z=i["*"]);z&&(z=z[d]);z&&(g=z[B]);if(g){if("value"==d)h=g.isVal,g.isVal=j;if("removeAttr"===B)return g.value.call(a);if(e===p)return g.get?g.get.call(a):g.value;g.set&& -("attr"==b&&!0===e&&(e=d),l=g.set.call(a,e));if("value"==d)g.isVal=h}else l=s(a,d,e,o,A);if((e!==p||"removeAttr"===B)&&f[v]&&f[v][d]){var u;u="removeAttr"==B?!1:"prop"==B?!!e:!0;f[v][d].forEach(function(d){if(!d.only||(d.only="prop"==b)||"attr"==d.only&&"prop"!=b)d.call(a,e,u,j?"val":B,b)})}return l};u[b]=function(a,d,e){i[a]||(i[a]={});i[a][d]||(i[a][d]={});var o=i[a][d][b],f=function(a,c,v){return c&&c[a]?c[a]:v&&v[a]?v[a]:"prop"==b&&"value"==d?function(a){return e.isVal?E(this,d,a,!1,0===arguments.length): -r[b](this,d,a)}:"prop"==b&&"value"==a&&e.value.apply?function(a){var j=r[b](this,d);j&&j.apply&&(j=j.apply(this,arguments));return j}:function(a){return r[b](this,d,a)}};i[a][d][b]=e;if(e.value===p){if(!e.set)e.set=e.writeable?f("set",e,o):h.cfg.useStrict&&"prop"==d?function(){throw d+" is readonly on "+a;}:c.noop;if(!e.get)e.get=f("get",e,o)}["value","get","set"].forEach(function(a){e[a]&&(e["_sup"+a]=f(a,o))})}});var l=!c.browser.msie||8<parseInt(c.browser.version,10),D=function(){var b=h.getPrototypeOf(m.createElement("foobar")), -a=Object.prototype.hasOwnProperty;return function(d,c,o){var f=m.createElement(d),j=h.getPrototypeOf(f);if(l&&j&&b!==j&&(!f[c]||!a.call(f,c))){var s=f[c];o._supvalue=function(){return s&&s.apply?s.apply(this,arguments):s};j[c]=o.value}else o._supvalue=function(){var a=C(this,"propValue");return a&&a[c]&&a[c].apply?a[c].apply(this,arguments):a&&a[c]},t.extendValue(d,c,o.value);o.value._supvalue=o._supvalue}}(),t=function(){var b={};h.addReady(function(a,d){var j={},s=function(b){j[b]||(j[b]=c(a.getElementsByTagName(b)), -d[0]&&c.nodeName(d[0],b)&&(j[b]=j[b].add(d)))};c.each(b,function(a,b){s(a);!b||!b.forEach?h.warn("Error: with "+a+"-property. methods: "+b):b.forEach(function(b){j[a].each(b)})});j=null});var a,d=c([]),e=function(d,e){b[d]?b[d].push(e):b[d]=[e];c.isDOMReady&&(a||c(m.getElementsByTagName(d))).each(e)};return{createTmpCache:function(b){c.isDOMReady&&(a=a||c(m.getElementsByTagName(b)));return a||d},flushTmpCache:function(){a=null},content:function(a,b){e(a,function(){var a=c.attr(this,b);null!=a&&c.attr(this, -b,a)})},createElement:function(a,b){e(a,b)},extendValue:function(a,b,d){e(a,function(){c(this).each(function(){C(this,"propValue",{})[b]=this[b];this[b]=d})})}}}(),y=function(b,a){if(b.defaultValue===p)b.defaultValue="";if(!b.removeAttr)b.removeAttr={value:function(){b[a||"prop"].set.call(this,b.defaultValue);b.removeAttr._supvalue.call(this)}};if(!b.attr)b.attr={}};c.extend(h,{getID:function(){var b=(new Date).getTime();return function(a){var a=c(a),d=a.attr("id");d||(b++,d="ID-"+b,a.attr("id",d)); -return d}}(),extendUNDEFProp:function(b,a){c.each(a,function(a,c){a in b||(b[a]=c)})},createPropDefault:y,data:C,moveToFirstEvent:function(){var b=c._data?"_data":"data";return function(a,d,e){if((a=(c[b](a,"events")||{})[d])&&1<a.length)d=a.pop(),e||(e="bind"),"bind"==e&&a.delegateCount?a.splice(a.delegateCount,0,d):a.unshift(d)}}(),addShadowDom:function(){var b,a,d,e,f={init:!1,start:function(){if(!this.init&&m.body)this.init=!0,this.height=c(m).height(),this.width=c(m).width(),setInterval(function(){var a= -c(m).height(),b=c(m).width();if(a!=f.height||b!=f.width)f.height=a,f.width=b,e({type:"docresize"})},600)}};e=function(e){clearTimeout(b);b=setTimeout(function(){if("resize"==e.type){var b=c(k).width(),s=c(k).width();if(s==a&&b==d)return;a=s;d=b;if(m.body)f.height=c(m).height(),f.width=c(m).width()}c.event.trigger("updateshadowdom")},40)};c(k).bind("resize",e);c.event.customEvent.updateshadowdom=!0;return function(a,b,d){d=d||{};a.jquery&&(a=a[0]);b.jquery&&(b=b[0]);var v=c.data(a,x)||c.data(a,x,{}), -e=c.data(b,x)||c.data(b,x,{}),g={};if(d.shadowFocusElement){if(d.shadowFocusElement){if(d.shadowFocusElement.jquery)d.shadowFocusElement=d.shadowFocusElement[0];g=c.data(d.shadowFocusElement,x)||c.data(d.shadowFocusElement,x,g)}}else d.shadowFocusElement=b;v.hasShadow=b;g.nativeElement=e.nativeElement=a;g.shadowData=e.shadowData=v.shadowData={nativeElement:a,shadowElement:b,shadowFocusElement:d.shadowFocusElement};d.shadowChilds&&d.shadowChilds.each(function(){C(this,"shadowData",e.shadowData)}); -if(d.data)g.shadowData.data=e.shadowData.data=v.shadowData.data=d.data;d=null;h.ready("DOM",function(){f.start()})}}(),propTypes:{standard:function(b){y(b);if(!b.prop)b.prop={set:function(a){b.attr.set.call(this,""+a)},get:function(){return b.attr.get.call(this)||b.defaultValue}}},"boolean":function(b){y(b);if(!b.prop)b.prop={set:function(a){a?b.attr.set.call(this,""):b.removeAttr.value.call(this)},get:function(){return null!=b.attr.get.call(this)}}},src:function(){var b=m.createElement("a");b.style.display= -"none";return function(a,d){y(a);if(!a.prop)a.prop={set:function(b){a.attr.set.call(this,b)},get:function(){var a=this.getAttribute(d),f;if(null==a)return"";b.setAttribute("href",a+"");if(!c.support.hrefNormalized){try{c(b).insertAfter(this),f=b.getAttribute("href",4)}catch(g){f=b.getAttribute("href",4)}c(b).detach()}return f||b.href}}}}(),enumarated:function(b){y(b);if(!b.prop)b.prop={set:function(a){b.attr.set.call(this,a)},get:function(){var a=(b.attr.get.call(this)||"").toLowerCase();if(!a||-1== -b.limitedTo.indexOf(a))a=b.defaultValue;return a}}}},reflectProperties:function(b,a){"string"==typeof a&&(a=a.split(q));a.forEach(function(a){h.defineNodeNamesProperty(b,a,{prop:{set:function(b){c.attr(this,a,b)},get:function(){return c.attr(this,a)||""}}})})},defineNodeNameProperty:function(b,a,d){n[a]=!0;if(d.reflect)h.propTypes[d.propType||"standard"](d,a);["prop","attr","removeAttr"].forEach(function(e){var f=d[e];f&&(f="prop"===e?c.extend({writeable:!0},f):c.extend({},f,{writeable:!0}),u[e](b, -a,f),"*"!=b&&h.cfg.extendNative&&"prop"==e&&f.value&&c.isFunction(f.value)&&D(b,a,f),d[e]=f)});d.initAttr&&t.content(b,a);return d},defineNodeNameProperties:function(b,a,d,c){for(var f in a)!c&&a[f].initAttr&&t.createTmpCache(b),d&&!a[f][d]&&(a[f][d]={},["value","set","get"].forEach(function(b){b in a[f]&&(a[f][d][b]=a[f][b],delete a[f][b])})),a[f]=h.defineNodeNameProperty(b,f,a[f]);c||t.flushTmpCache();return a},createElement:function(b,a,d){var f;c.isFunction(a)&&(a={after:a});t.createTmpCache(b); -a.before&&t.createElement(b,a.before);d&&(f=h.defineNodeNameProperties(b,d,!1,!0));a.after&&t.createElement(b,a.after);t.flushTmpCache();return f},onNodeNamesPropertyModify:function(b,a,d,e){"string"==typeof b&&(b=b.split(q));c.isFunction(d)&&(d={set:d});b.forEach(function(b){f[b]||(f[b]={});"string"==typeof a&&(a=a.split(q));d.initAttr&&t.createTmpCache(b);a.forEach(function(a){f[b][a]||(f[b][a]=[],n[a]=!0);if(d.set){if(e)d.set.only=e;f[b][a].push(d.set)}d.initAttr&&t.content(b,a)});t.flushTmpCache()})}, -defineNodeNamesBooleanProperty:function(b,a,d){d||(d={});if(c.isFunction(d))d.set=d;h.defineNodeNamesProperty(b,a,{attr:{set:function(b){this.setAttribute(a,b);d.set&&d.set.call(this,!0)},get:function(){return null==this.getAttribute(a)?p:a}},removeAttr:{value:function(){this.removeAttribute(a);d.set&&d.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:d.initAttr||!1})},contentAttr:function(b,a,d){if(b.nodeName){if(d===p)return b=b.attributes[a]||{},d=b.specified?b.value:null,null==d?p:d; -"boolean"==typeof d?d?b.setAttribute(a,a):b.removeAttribute(a):b.setAttribute(a,d)}},activeLang:function(){var b=[],a={},d,f,g=/:\/\/|^\.*\//,i=function(a,b,d){return b&&d&&-1!==c.inArray(b,d.availabeLangs||[])?(a.loading=!0,d=d.langSrc,g.test(d)||(d=h.cfg.basePath+d),h.loader.loadScript(d+b+".js",function(){a.langObj[b]?(a.loading=!1,s(a,!0)):c(function(){a.langObj[b]&&s(a,!0);a.loading=!1})}),!0):!1},j=function(b){a[b]&&a[b].forEach(function(a){a.callback()})},s=function(a,b){if(a.activeLang!=d&& -a.activeLang!==f){var c=w[a.module].options;if(a.langObj[d]||f&&a.langObj[f])a.activeLang=d,a.callback(a.langObj[d]||a.langObj[f],d),j(a.module);else if(!b&&!i(a,d,c)&&!i(a,f,c)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],d),j(a.module)}};return function(j){if("string"==typeof j&&j!==d)d=j,f=d.split("-")[0],d==f&&(f=!1),c.each(b,function(a,b){s(b)});else if("object"==typeof j)if(j.register)a[j.register]||(a[j.register]=[]),a[j.register].push(j),j.callback();else{if(!j.activeLang)j.activeLang= -"";b.push(j);s(j)}return d}}()});c.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(b,a){h[b]=function(b,c,f,g){"string"==typeof b&&(b=b.split(q));var j={};b.forEach(function(b){j[b]=h[a](b,c,f,g)});return j}});h.isReady("webshimLocalization",!0)}); -(function(c,h){var k=c.webshims.browserVersion;if(!(c.browser.mozilla&&5<k)&&(!c.browser.msie||12>k&&7<k)){var m={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},p=function(c,h){c.getAttribute("role")||c.setAttribute("role",h)};c.webshims.addReady(function(k,q){c.each(m,function(h,f){for(var g=c(h,k).add(q.filter(h)),i=0,m=g.length;i<m;i++)p(g[i],f)});if(k===h){var r=h.getElementsByTagName("header")[0],n=h.getElementsByTagName("footer"),i=n.length; -r&&!c(r).closest("section, article")[0]&&p(r,"banner");i&&(r=n[i-1],c(r).closest("section, article")[0]||p(r,"contentinfo"))}})}})(jQuery,document); -(function(c,h,k){var m=h.audio&&h.video,p=!1,w=k.cfg.mediaelement,q=k.bugs,r=function(){k.ready("mediaelement-swf",function(){if(!k.mediaelement.createSWF)k.modules["mediaelement-swf"].test=c.noop,k.reTest(["mediaelement-swf"],m)})},n;if(m){var i=document.createElement("video");h.videoBuffered="buffered"in i;p="loop"in i;k.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(","));h.videoBuffered||(k.addPolyfill("mediaelement-native-fix",{f:"mediaelement", -test:h.videoBuffered,d:["dom-support"]}),k.reTest("mediaelement-native-fix"))}if(m&&!w.preferFlash){var u=function(f){var g=f.target.parentNode;!w.preferFlash&&(c(f.target).is("audio, video")||g&&c("source:last",g)[0]==f.target)&&k.ready("DOM mediaelement",function(){n&&r();k.ready("WINDOWLOAD mediaelement-swf",function(){setTimeout(function(){n&&!w.preferFlash&&k.mediaelement.createSWF&&!c(f.target).closest("audio, video").is(".nonnative-api-active")?(w.preferFlash=!0,document.removeEventListener("error", -u,!0),c("audio, video").mediaLoad(),k.info("switching mediaelements option to 'preferFlash', due to an error with native player: "+f.target.src)):n||document.removeEventListener("error",u,!0)},20)})})};document.addEventListener("error",u,!0);c("audio, video").each(function(){this.error&&u({target:this})})}q.track=!1;h.track&&function(){if(!q.track)q.track="number"!=typeof c("<track />")[0].readyState;if(!q.track)try{new TextTrackCue(2,3,"")}catch(f){q.track=!0}var g=k.cfg.track,h=function(f){c(f.target).filter("track").each(i)}, -i=function(){if(q.track||!g.override&&3==c.prop(this,"readyState"))g.override=!0,k.reTest("track"),document.removeEventListener("error",h,!0),this&&c.nodeName(this,"track")?k.error("track support was overwritten. Please check your vtt including your vtt mime-type"):k.info("track support was overwritten. due to bad browser support")},u=function(){document.addEventListener("error",h,!0);q.track?i():c("track").each(i)};g.override||(k.isReady("track")?u():c(u))}();k.register("mediaelement-core",function(c, -g,i,u,k){n=swfobject.hasFlashPlayerVersion("9.0.115");var l=g.mediaelement,D=function(a,b){var a=c(a),d={src:a.attr("src")||"",elem:a,srcProp:a.prop("src")};if(!d.src)return d;var e=a.attr("type");if(e)d.type=e,d.container=c.trim(e.split(";")[0]);else if(b||(b=a[0].nodeName.toLowerCase(),"source"==b&&(b=(a.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),e=l.getTypeForSrc(d.src,b))d.type=e,d.container=e;if(e=a.attr("media"))d.media=e;return d},t=!n&&"postMessage"in i&&m,y= -function(){var a;return function(){!a&&t&&(a=!0,g.loader.loadScript("https://www.youtube.com/player_api"),c(function(){g.polyfill("mediaelement-yt")}))}}(),b=function(){n?r():y()};g.addPolyfill("mediaelement-yt",{test:!t,d:["dom-support"]});l.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", +jQuery.webshims.register("dom-extend",function(c,g,h,n,p){var v=g.modules,q=/\s*,\s*/,o={},s={},i={},z={},m={},f=c.fn.val,j=function(b,a,d,e,t){return t?f.call(c(b)):f.call(c(b),d)};c.fn.val=function(b){var a=this[0];arguments.length&&null==b&&(b="");if(!arguments.length)return!a||1!==a.nodeType?f.call(this):c.prop(a,"value",b,"val",!0);if(c.isArray(b))return f.apply(this,arguments);var d=c.isFunction(b);return this.each(function(e){a=this;1===a.nodeType&&(d?(e=b.call(a,e,c.prop(a,"value",p,"val", +!0)),null==e&&(e=""),c.prop(a,"value",e,"val")):c.prop(a,"value",b,"val"))})};var y="_webshimsLib"+Math.round(1E3*Math.random()),C=function(b,a,d){b=b.jquery?b[0]:b;if(!b)return d||{};var e=c.data(b,y);d!==p&&(e||(e=c.data(b,y,{})),a&&(e[a]=d));return a?e&&e[a]:e};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(b){c.fn[b.name]=function(){return this.map(function(){var a=C(this, +"shadowData");return a&&a[b.prop]||this})}});["removeAttr","prop","attr"].forEach(function(b){o[b]=c[b];c[b]=function(a,d,e,t,D){var w="val"==t,r=!w?o[b]:j;if(!a||!s[d]||1!==a.nodeType||!w&&t&&"attr"==b&&c.attrFn[d])return r(a,d,e,t,D);var k=(a.nodeName||"").toLowerCase(),A=i[k],B="attr"==b&&(!1===e||null===e)?"removeAttr":b,f,g,l;A||(A=i["*"]);A&&(A=A[d]);A&&(f=A[B]);if(f){if("value"==d)g=f.isVal,f.isVal=w;if("removeAttr"===B)return f.value.call(a);if(e===p)return f.get?f.get.call(a):f.value;f.set&& +("attr"==b&&!0===e&&(e=d),l=f.set.call(a,e));if("value"==d)f.isVal=g}else l=r(a,d,e,t,D);if((e!==p||"removeAttr"===B)&&m[k]&&m[k][d]){var h;h="removeAttr"==B?!1:"prop"==B?!!e:!0;m[k][d].forEach(function(k){if(!k.only||(k.only="prop"==b)||"attr"==k.only&&"prop"!=b)k.call(a,e,h,w?"val":B,b)})}return l};z[b]=function(a,d,e){i[a]||(i[a]={});i[a][d]||(i[a][d]={});var t=i[a][d][b],f=function(a,r,k){return r&&r[a]?r[a]:k&&k[a]?k[a]:"prop"==b&&"value"==d?function(a){return e.isVal?j(this,d,a,!1,0===arguments.length): +o[b](this,d,a)}:"prop"==b&&"value"==a&&e.value.apply?function(a){var k=o[b](this,d);k&&k.apply&&(k=k.apply(this,arguments));return k}:function(k){return o[b](this,d,k)}};i[a][d][b]=e;if(e.value===p){if(!e.set)e.set=e.writeable?f("set",e,t):g.cfg.useStrict&&"prop"==d?function(){throw d+" is readonly on "+a;}:c.noop;if(!e.get)e.get=f("get",e,t)}["value","get","set"].forEach(function(a){e[a]&&(e["_sup"+a]=f(a,t))})}});var E=!c.browser.msie||8<parseInt(c.browser.version,10),l=function(){var b=g.getPrototypeOf(n.createElement("foobar")), +a=Object.prototype.hasOwnProperty;return function(d,e,c){var f=n.createElement(d),w=g.getPrototypeOf(f);if(E&&w&&b!==w&&(!f[e]||!a.call(f,e))){var r=f[e];c._supvalue=function(){return r&&r.apply?r.apply(this,arguments):r};w[e]=c.value}else c._supvalue=function(){var a=C(this,"propValue");return a&&a[e]&&a[e].apply?a[e].apply(this,arguments):a&&a[e]},u.extendValue(d,e,c.value);c.value._supvalue=c._supvalue}}(),u=function(){var b={};g.addReady(function(a,d){var e={},r=function(k){e[k]||(e[k]=c(a.getElementsByTagName(k)), +d[0]&&c.nodeName(d[0],k)&&(e[k]=e[k].add(d)))};c.each(b,function(a,b){r(a);!b||!b.forEach?g.warn("Error: with "+a+"-property. methods: "+b):b.forEach(function(b){e[a].each(b)})});e=null});var a,d=c([]),e=function(d,e){b[d]?b[d].push(e):b[d]=[e];c.isDOMReady&&(a||c(n.getElementsByTagName(d))).each(e)};return{createTmpCache:function(b){c.isDOMReady&&(a=a||c(n.getElementsByTagName(b)));return a||d},flushTmpCache:function(){a=null},content:function(a,b){e(a,function(){var a=c.attr(this,b);null!=a&&c.attr(this, +b,a)})},createElement:function(a,b){e(a,b)},extendValue:function(a,b,d){e(a,function(){c(this).each(function(){C(this,"propValue",{})[b]=this[b];this[b]=d})})}}}(),x=function(b,a){if(b.defaultValue===p)b.defaultValue="";if(!b.removeAttr)b.removeAttr={value:function(){b[a||"prop"].set.call(this,b.defaultValue);b.removeAttr._supvalue.call(this)}};if(!b.attr)b.attr={}};c.extend(g,{getID:function(){var b=(new Date).getTime();return function(a){var a=c(a),d=a.attr("id");d||(b++,d="ID-"+b,a.attr("id",d)); +return d}}(),extendUNDEFProp:function(b,a){c.each(a,function(a,e){a in b||(b[a]=e)})},createPropDefault:x,data:C,moveToFirstEvent:function(){var b=c._data?"_data":"data";return function(a,d,e){if((a=(c[b](a,"events")||{})[d])&&1<a.length)d=a.pop(),e||(e="bind"),"bind"==e&&a.delegateCount?a.splice(a.delegateCount,0,d):a.unshift(d)}}(),addShadowDom:function(){var b,a,d,e={init:!1,runs:0,test:function(){var a=e.getHeight(),b=e.getWidth();a!=e.height||b!=e.width?(e.height=a,e.width=b,e.handler({type:"docresize"}), +e.runs++,30>e.runs&&setTimeout(e.test,30)):e.runs=0},handler:function(f){clearTimeout(b);b=setTimeout(function(){if("resize"==f.type){var b=c(h).width(),j=c(h).width();if(j==a&&b==d)return;a=j;d=b;e.height=e.getHeight();e.width=e.getWidth()}c.event.trigger("updateshadowdom")},"resize"==f.type?50:9)},_create:function(){c.each({Height:"getHeight",Width:"getWidth"},function(a,b){var d=n.body,c=n.documentElement;e[b]=function(){return Math.max(d["scroll"+a],c["scroll"+a],d["offset"+a],c["offset"+a],c["client"+ +a])}})},start:function(){if(!this.init&&n.body)this.init=!0,this._create(),this.height=e.getHeight(),this.width=e.getWidth(),setInterval(this.test,400),c(this.test),c(h).bind("load",this.test),c(h).bind("resize",this.handler),function(){var a=c.fn.animate,b;c.fn.animate=function(){clearTimeout(b);b=setTimeout(function(){e.test();e.handler({type:"animationstart"})},19);return a.apply(this,arguments)}}()}};c.event.customEvent.updateshadowdom=!0;g.docObserve=function(){g.ready("DOM",function(){e.start()})}; +return function(a,b,d){d=d||{};a.jquery&&(a=a[0]);b.jquery&&(b=b[0]);var e=c.data(a,y)||c.data(a,y,{}),k=c.data(b,y)||c.data(b,y,{}),f={};if(d.shadowFocusElement){if(d.shadowFocusElement){if(d.shadowFocusElement.jquery)d.shadowFocusElement=d.shadowFocusElement[0];f=c.data(d.shadowFocusElement,y)||c.data(d.shadowFocusElement,y,f)}}else d.shadowFocusElement=b;e.hasShadow=b;f.nativeElement=k.nativeElement=a;f.shadowData=k.shadowData=e.shadowData={nativeElement:a,shadowElement:b,shadowFocusElement:d.shadowFocusElement}; +d.shadowChilds&&d.shadowChilds.each(function(){C(this,"shadowData",k.shadowData)});if(d.data)f.shadowData.data=k.shadowData.data=e.shadowData.data=d.data;d=null;g.docObserve()}}(),propTypes:{standard:function(b){x(b);if(!b.prop)b.prop={set:function(a){b.attr.set.call(this,""+a)},get:function(){return b.attr.get.call(this)||b.defaultValue}}},"boolean":function(b){x(b);if(!b.prop)b.prop={set:function(a){a?b.attr.set.call(this,""):b.removeAttr.value.call(this)},get:function(){return null!=b.attr.get.call(this)}}}, +src:function(){var b=n.createElement("a");b.style.display="none";return function(a,d){x(a);if(!a.prop)a.prop={set:function(b){a.attr.set.call(this,b)},get:function(){var a=this.getAttribute(d),f;if(null==a)return"";b.setAttribute("href",a+"");if(!c.support.hrefNormalized){try{c(b).insertAfter(this),f=b.getAttribute("href",4)}catch(j){f=b.getAttribute("href",4)}c(b).detach()}return f||b.href}}}}(),enumarated:function(b){x(b);if(!b.prop)b.prop={set:function(a){b.attr.set.call(this,a)},get:function(){var a= +(b.attr.get.call(this)||"").toLowerCase();if(!a||-1==b.limitedTo.indexOf(a))a=b.defaultValue;return a}}}},reflectProperties:function(b,a){"string"==typeof a&&(a=a.split(q));a.forEach(function(a){g.defineNodeNamesProperty(b,a,{prop:{set:function(b){c.attr(this,a,b)},get:function(){return c.attr(this,a)||""}}})})},defineNodeNameProperty:function(b,a,d){s[a]=!0;if(d.reflect)g.propTypes[d.propType||"standard"](d,a);["prop","attr","removeAttr"].forEach(function(e){var f=d[e];f&&(f="prop"===e?c.extend({writeable:!0}, +f):c.extend({},f,{writeable:!0}),z[e](b,a,f),"*"!=b&&g.cfg.extendNative&&"prop"==e&&f.value&&c.isFunction(f.value)&&l(b,a,f),d[e]=f)});d.initAttr&&u.content(b,a);return d},defineNodeNameProperties:function(b,a,d,e){for(var c in a)!e&&a[c].initAttr&&u.createTmpCache(b),d&&!a[c][d]&&(a[c][d]={},["value","set","get"].forEach(function(b){b in a[c]&&(a[c][d][b]=a[c][b],delete a[c][b])})),a[c]=g.defineNodeNameProperty(b,c,a[c]);e||u.flushTmpCache();return a},createElement:function(b,a,d){var e;c.isFunction(a)&& +(a={after:a});u.createTmpCache(b);a.before&&u.createElement(b,a.before);d&&(e=g.defineNodeNameProperties(b,d,!1,!0));a.after&&u.createElement(b,a.after);u.flushTmpCache();return e},onNodeNamesPropertyModify:function(b,a,d,e){"string"==typeof b&&(b=b.split(q));c.isFunction(d)&&(d={set:d});b.forEach(function(b){m[b]||(m[b]={});"string"==typeof a&&(a=a.split(q));d.initAttr&&u.createTmpCache(b);a.forEach(function(a){m[b][a]||(m[b][a]=[],s[a]=!0);if(d.set){if(e)d.set.only=e;m[b][a].push(d.set)}d.initAttr&& +u.content(b,a)});u.flushTmpCache()})},defineNodeNamesBooleanProperty:function(b,a,d){d||(d={});if(c.isFunction(d))d.set=d;g.defineNodeNamesProperty(b,a,{attr:{set:function(b){this.setAttribute(a,b);d.set&&d.set.call(this,!0)},get:function(){return null==this.getAttribute(a)?p:a}},removeAttr:{value:function(){this.removeAttribute(a);d.set&&d.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:d.initAttr||!1})},contentAttr:function(b,a,d){if(b.nodeName){if(d===p)return b=b.attributes[a]||{}, +d=b.specified?b.value:null,null==d?p:d;"boolean"==typeof d?d?b.setAttribute(a,a):b.removeAttribute(a):b.setAttribute(a,d)}},activeLang:function(){var b=[],a={},d,e,f=/:\/\/|^\.*\//,j=function(a,b,d){return b&&d&&-1!==c.inArray(b,d.availabeLangs||[])?(a.loading=!0,d=d.langSrc,f.test(d)||(d=g.cfg.basePath+d),g.loader.loadScript(d+b+".js",function(){a.langObj[b]?(a.loading=!1,r(a,!0)):c(function(){a.langObj[b]&&r(a,!0);a.loading=!1})}),!0):!1},i=function(b){a[b]&&a[b].forEach(function(a){a.callback()})}, +r=function(a,b){if(a.activeLang!=d&&a.activeLang!==e){var c=v[a.module].options;if(a.langObj[d]||e&&a.langObj[e])a.activeLang=d,a.callback(a.langObj[d]||a.langObj[e],d),i(a.module);else if(!b&&!j(a,d,c)&&!j(a,e,c)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],d),i(a.module)}};return function(k){if("string"==typeof k&&k!==d)d=k,e=d.split("-")[0],d==e&&(e=!1),c.each(b,function(a,b){r(b)});else if("object"==typeof k)if(k.register)a[k.register]||(a[k.register]=[]),a[k.register].push(k), +k.callback();else{if(!k.activeLang)k.activeLang="";b.push(k);r(k)}return d}}()});c.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(b,a){g[b]=function(b,c,f,j){"string"==typeof b&&(b=b.split(q));var i={};b.forEach(function(b){i[b]=g[a](b,c,f,j)});return i}});g.isReady("webshimLocalization",!0)}); +(function(c,g){var h=c.webshims.browserVersion;if(!(c.browser.mozilla&&5<h)&&(!c.browser.msie||12>h&&7<h)){var n={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},p=function(c,g){c.getAttribute("role")||c.setAttribute("role",g)};c.webshims.addReady(function(h,q){c.each(n,function(i,g){for(var f=c(i,h).add(q.filter(i)),j=0,y=f.length;j<y;j++)p(f[j],g)});if(h===g){var o=g.getElementsByTagName("header")[0],s=g.getElementsByTagName("footer"),i=s.length; +o&&!c(o).closest("section, article")[0]&&p(o,"banner");i&&(o=s[i-1],c(o).closest("section, article")[0]||p(o,"contentinfo"))}})}})(jQuery,document); +(function(c,g,h){var n=g.audio&&g.video,p=!1,v=h.cfg.mediaelement,q=h.bugs,o="jwplayer"==v.player?"mediaelement-swf":"mediaelement-jaris",s=function(){h.ready(o,function(){if(!h.mediaelement.createSWF)h.mediaelement.loadSwf=!0,h.reTest([o],n)})},i;if(n){var z=document.createElement("video");g.videoBuffered="buffered"in z;p="loop"in z;h.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(","));g.videoBuffered||(h.addPolyfill("mediaelement-native-fix", +{f:"mediaelement",test:g.videoBuffered,d:["dom-support"]}),h.reTest("mediaelement-native-fix"))}if(n&&!v.preferFlash){var m=function(f){var j=f.target.parentNode;!v.preferFlash&&(c(f.target).is("audio, video")||j&&c("source:last",j)[0]==f.target)&&h.ready("DOM mediaelement",function(){i&&s();h.ready("WINDOWLOAD "+o,function(){setTimeout(function(){i&&!v.preferFlash&&h.mediaelement.createSWF&&!c(f.target).closest("audio, video").is(".nonnative-api-active")?(v.preferFlash=!0,document.removeEventListener("error", +m,!0),c("audio, video").mediaLoad(),h.info("switching mediaelements option to 'preferFlash', due to an error with native player: "+f.target.src)):i||document.removeEventListener("error",m,!0)},20)})})};document.addEventListener("error",m,!0);c("audio, video").each(function(){this.error&&m({target:this})})}q.track=!1;g.track&&function(){if(!q.track)q.track="number"!=typeof c("<track />")[0].readyState;if(!q.track)try{new TextTrackCue(2,3,"")}catch(f){q.track=!0}var j=h.cfg.track,i=function(f){c(f.target).filter("track").each(g)}, +g=function(){if(q.track||!j.override&&3==c.prop(this,"readyState"))j.override=!0,h.reTest("track"),document.removeEventListener("error",i,!0),this&&c.nodeName(this,"track")?h.error("track support was overwritten. Please check your vtt including your vtt mime-type"):h.info("track support was overwritten. due to bad browser support")},m=function(){document.addEventListener("error",i,!0);q.track?g():c("track").each(g)};j.override||(h.isReady("track")?m():c(m))}();h.register("mediaelement-core",function(c, +j,h,m,z){i=swfobject.hasFlashPlayerVersion("9.0.115");var l=j.mediaelement,u=function(a,b){var a=c(a),d={src:a.attr("src")||"",elem:a,srcProp:a.prop("src")};if(!d.src)return d;var e=a.attr("type");if(e)d.type=e,d.container=c.trim(e.split(";")[0]);else if(b||(b=a[0].nodeName.toLowerCase(),"source"==b&&(b=(a.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),e=l.getTypeForSrc(d.src,b))d.type=e,d.container=e;if(e=a.attr("media"))d.media=e;return d},x=!i&&"postMessage"in h&&n,b= +function(){var a;return function(){!a&&x&&(a=!0,j.loader.loadScript("https://www.youtube.com/player_api"),c(function(){j.polyfill("mediaelement-yt")}))}}(),a=function(){i?s():b()};j.addPolyfill("mediaelement-yt",{test:!x,d:["dom-support"]});l.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"]}};l.mimeTypes.source=c.extend({},l.mimeTypes.audio,l.mimeTypes.video);l.getTypeForSrc=function(a,b){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;c.each(l.mimeTypes[b],function(b,c){if(-1!==c.indexOf(a))return d=b,!1});return d};l.srces=function(a,b){a=c(a);if(b)a.removeAttr("src").removeAttr("type").find("source").remove(),c.isArray(b)||(b=[b]),b.forEach(function(b){var c=u.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 b=[],d=a[0].nodeName.toLowerCase(),e=D(a,d);e.src?b.push(e):c("source",a).each(function(){e=D(this,d);e.src&&b.push(e)});return b}};c.fn.loadMediaSrc=function(a,b){return this.each(function(){b!==k&&(c(this).removeAttr("poster"),b&&c.attr(this,"poster",b));l.srces(this,a);c(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.canThirdPlaySrces=function(a,b){var d="";if(n||t)a=c(a),b=b||l.srces(a),c.each(b,function(a,b){if(b.container&&b.src&&(n&&-1!=l.swfMimeTypes.indexOf(b.container)||t&&"video/youtube"==b.container))return d=b,!1});return d};var a={};l.canNativePlaySrces=function(b,d){var e="";if(m){var b=c(b),g=(b[0].nodeName||"").toLowerCase();if(!a[g])return e;d=d||l.srces(b);c.each(d,function(c,d){if(d.type&&a[g].prop._supvalue.call(b[0],d.type))return e=d,!1})}return e};l.setError=function(a,b){b||(b="can't play sources"); -c(a).pause().data("mediaerror",b);g.warn("mediaelementError: "+b);setTimeout(function(){c(a).data("mediaerror")&&c(a).trigger("mediaerror")},1)};var d=function(){var a;return function(c,e,f){g.ready(n?"mediaelement-swf":"mediaelement-yt",function(){l.createSWF?l.createSWF(c,e,f):a||(a=!0,b(),d(c,e,f))});!a&&t&&!l.createSWF&&y()}}(),e=function(a,b,c,f,g){c||!1!==c&&b&&"third"==b.isActive?(c=l.canThirdPlaySrces(a,f))?d(a,c,b):g?l.setError(a,!1):e(a,b,!1,f,!0):(c=l.canNativePlaySrces(a,f))?b&&"third"== -b.isActive&&l.setActive(a,"html5",b):g?(l.setError(a,!1),b&&"third"==b.isActive&&l.setActive(a,"html5",b)):e(a,b,!0,f,!0)},o=/^(?:embed|object|datalist)$/i,A=function(a,b){var d=g.data(a,"mediaelementBase")||g.data(a,"mediaelementBase",{}),i=l.srces(a),h=a.parentNode;clearTimeout(d.loadTimer);c.data(a,"mediaerror",!1);if(i.length&&h&&!(1!=h.nodeType||o.test(h.nodeName||"")))b=b||g.data(a,"mediaelement"),e(a,b,w.preferFlash||k,i)};c(u).bind("ended",function(a){var b=g.data(a.target,"mediaelement"); -(!p||b&&"html5"!=b.isActive||c.prop(a.target,"loop"))&&setTimeout(function(){!c.prop(a.target,"paused")&&c.prop(a.target,"loop")&&c(a.target).prop("currentTime",0).play()},1)});p||g.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(b){var d=g.defineNodeNameProperty(b,"load",{prop:{value:function(){var a=g.data(this,"mediaelement");A(this,a);m&&(!a||"html5"==a.isActive)&&d.prop._supvalue&&d.prop._supvalue.apply(this,arguments)}}});a[b]=g.defineNodeNameProperty(b, -"canPlayType",{prop:{value:function(d){var e="";m&&a[b].prop._supvalue&&(e=a[b].prop._supvalue.call(this,d),"no"==e&&(e=""));!e&&n&&(d=c.trim((d||"").split(";")[0]),-1!=l.swfMimeTypes.indexOf(d)&&(e="maybe"));return e}}})});g.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var a=this,b=g.data(a,"mediaelementBase")||g.data(a,"mediaelementBase",{});clearTimeout(b.loadTimer);b.loadTimer=setTimeout(function(){A(a);a=null},9)}});i=function(){g.addReady(function(a,b){c("video, audio", -a).add(b.filter("video, audio")).each(function(){c.browser.msie&&8<g.browserVersion&&c.prop(this,"paused")&&!c.prop(this,"readyState")&&c(this).is('audio[preload="none"][controls]:not([autoplay])')?c(this).prop("preload","metadata").mediaLoad():A(this);if(m){var a,b,d=this,e=function(){var a=c.prop(d,"buffered");if(a){for(var b="",e=0,g=a.length;e<g;e++)b+=a.end(e);return b}},i=function(){var a=e();a!=b&&(b=a,c(d).triggerHandler("progress"))};c(this).bind("play loadstart progress",function(c){"progress"== -c.type&&(b=e());clearTimeout(a);a=setTimeout(i,999)}).bind("emptied stalled mediaerror abort suspend",function(c){"emptied"==c.type&&(b=!1);clearTimeout(a)})}})})};h.track&&!q.track&&g.defineProperty(TextTrack.prototype,"shimActiveCues",{get:function(){return this._shimActiveCues||this.activeCues}});m?(g.isReady("mediaelement-core",!0),i(),g.ready("WINDOWLOAD mediaelement",b)):g.ready("mediaelement-swf",i);c(function(){g.loader.loadList(["track-ui"])})})})(jQuery,Modernizr,jQuery.webshims); -jQuery.webshims.register("details",function(c,h,k,m,p,w){var q=function(i){var h=c(i).parent("details");if(h[0]&&h.children(":first").get(0)===i)return h},r=function(i,h){var i=c(i),h=c(h),f=c.data(h[0],"summaryElement");c.data(i[0],"detailsElement",h);if(!f||i[0]!==f[0])f&&(f.hasClass("fallback-summary")?f.remove():f.unbind(".summaryPolyfill").removeData("detailsElement").removeAttr("role").removeAttr("tabindex").removeAttr("aria-expanded").removeClass("summary-button").find("span.details-open-indicator").remove()), -c.data(h[0],"summaryElement",i),h.prop("open",h.prop("open"))};h.createElement("summary",function(){var i=q(this);if(i&&!c.data(this,"detailsElement")){var k,f,g=c.attr(this,"tabIndex")||"0";r(this,i);c(this).bind("focus.summaryPolyfill",function(){c(this).addClass("summary-has-focus")}).bind("blur.summaryPolyfill",function(){c(this).removeClass("summary-has-focus")}).bind("mouseenter.summaryPolyfill",function(){c(this).addClass("summary-has-hover")}).bind("mouseleave.summaryPolyfill",function(){c(this).removeClass("summary-has-hover")}).bind("click.summaryPolyfill", -function(g){var h=q(this);if(h){if(!f&&g.originalEvent)return f=!0,g.stopImmediatePropagation(),g.preventDefault(),c(this).trigger("click"),f=!1;clearTimeout(k);k=setTimeout(function(){g.isDefaultPrevented()||h.prop("open",!h.prop("open"))},0)}}).bind("keydown.summaryPolyfill",function(g){if((13==g.keyCode||32==g.keyCode)&&!g.isDefaultPrevented())f=!0,g.preventDefault(),c(this).trigger("click"),f=!1}).attr({tabindex:g,role:"button"}).prepend('<span class="details-open-indicator" />');h.moveToFirstEvent(this, -"click")}});var n;h.defineNodeNamesBooleanProperty("details","open",function(h){var k=c(c.data(this,"summaryElement"));if(k){var f=h?"removeClass":"addClass",g=c(this);if(!n&&w.animate){g.stop().css({width:"",height:""});var m={width:g.width(),height:g.height()}}k.attr("aria-expanded",""+h);g[f]("closed-details-summary").children().not(k[0])[f]("closed-details-child");!n&&w.animate&&(h={width:g.width(),height:g.height()},g.css(m).animate(h,{complete:function(){c(this).css({width:"",height:""})}}))}}); -h.createElement("details",function(){n=!0;var h=c.data(this,"summaryElement");h||(h=c("> summary:first-child",this),h[0]?r(h,this):(c(this).prependPolyfill('<summary class="fallback-summary">'+w.text+"</summary>"),c.data(this,"summaryElement")));c.prop(this,"open",c.prop(this,"open"));n=!1})}); +-1!=a.indexOf("youtube.com/v/"))return"video/youtube";var a=a.split("?")[0].split("."),a=a[a.length-1],d;c.each(l.mimeTypes[b],function(b,c){if(-1!==c.indexOf(a))return d=b,!1});return d};l.srces=function(a,b){a=c(a);if(b)a.removeAttr("src").removeAttr("type").find("source").remove(),c.isArray(b)||(b=[b]),b.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 b=[],d=a[0].nodeName.toLowerCase(),e=u(a,d);e.src?b.push(e):c("source",a).each(function(){e=u(this,d);e.src&&b.push(e)});return b}};c.fn.loadMediaSrc=function(a,b){return this.each(function(){b!==z&&(c(this).removeAttr("poster"),b&&c.attr(this,"poster",b));l.srces(this,a);c(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.canThirdPlaySrces=function(a,b){var d="";if(i||x)a=c(a),b=b||l.srces(a),c.each(b,function(a,b){if(b.container&&b.src&&(i&&-1!=l.swfMimeTypes.indexOf(b.container)||x&&"video/youtube"==b.container))return d=b,!1});return d};var d={};l.canNativePlaySrces=function(a,b){var e="";if(n){var a=c(a),j=(a[0].nodeName||"").toLowerCase();if(!d[j])return e;b=b||l.srces(a);c.each(b,function(b,c){if(c.type&&d[j].prop._supvalue.call(a[0],c.type))return e=c,!1})}return e};l.setError=function(a,b){b||(b="can't play sources"); +c(a).pause().data("mediaerror",b);j.warn("mediaelementError: "+b);setTimeout(function(){c(a).data("mediaerror")&&c(a).trigger("mediaerror")},1)};var e=function(){var c;return function(d,f,g){j.ready(i?o:"mediaelement-yt",function(){l.createSWF?l.createSWF(d,f,g):c||(c=!0,a(),e(d,f,g))});!c&&x&&!l.createSWF&&b()}}(),t=function(a,b,c,d,f){c||!1!==c&&b&&"third"==b.isActive?(c=l.canThirdPlaySrces(a,d))?e(a,c,b):f?l.setError(a,!1):t(a,b,!1,d,!0):(c=l.canNativePlaySrces(a,d))?b&&"third"==b.isActive&&l.setActive(a, +"html5",b):f?(l.setError(a,!1),b&&"third"==b.isActive&&l.setActive(a,"html5",b)):t(a,b,!0,d,!0)},D=/^(?:embed|object|datalist)$/i,w=function(a,b){var d=j.data(a,"mediaelementBase")||j.data(a,"mediaelementBase",{}),e=l.srces(a),i=a.parentNode;clearTimeout(d.loadTimer);c.data(a,"mediaerror",!1);if(e.length&&i&&!(1!=i.nodeType||D.test(i.nodeName||"")))b=b||j.data(a,"mediaelement"),t(a,b,v.preferFlash||z,e)};c(m).on("ended",function(a){var b=j.data(a.target,"mediaelement");(!p||b&&"html5"!=b.isActive|| +c.prop(a.target,"loop"))&&setTimeout(function(){!c.prop(a.target,"paused")&&c.prop(a.target,"loop")&&c(a.target).prop("currentTime",0).play()},1)});p||j.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(a){var b=j.defineNodeNameProperty(a,"load",{prop:{value:function(){var a=j.data(this,"mediaelement");w(this,a);n&&(!a||"html5"==a.isActive)&&b.prop._supvalue&&b.prop._supvalue.apply(this,arguments)}}});d[a]=j.defineNodeNameProperty(a,"canPlayType",{prop:{value:function(b){var e= +"";n&&d[a].prop._supvalue&&(e=d[a].prop._supvalue.call(this,b),"no"==e&&(e=""));!e&&i&&(b=c.trim((b||"").split(";")[0]),-1!=l.swfMimeTypes.indexOf(b)&&(e="maybe"));return e}}})});j.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var a=this,b=j.data(a,"mediaelementBase")||j.data(a,"mediaelementBase",{});clearTimeout(b.loadTimer);b.loadTimer=setTimeout(function(){w(a);a=null},9)}});h=function(){j.addReady(function(a,b){c("video, audio",a).add(b.filter("video, audio")).each(function(){c.browser.msie&& +8<j.browserVersion&&c.prop(this,"paused")&&!c.prop(this,"readyState")&&c(this).is('audio[preload="none"][controls]:not([autoplay])')?c(this).prop("preload","metadata").mediaLoad():w(this);if(n){var a,b,d=this,e=function(){var a=c.prop(d,"buffered");if(a){for(var b="",e=0,i=a.length;e<i;e++)b+=a.end(e);return b}},i=function(){var a=e();a!=b&&(b=a,c(d).triggerHandler("progress"))};c(this).on({"play loadstart progress":function(c){"progress"==c.type&&(b=e());clearTimeout(a);a=setTimeout(i,999)},"emptied stalled mediaerror abort suspend":function(c){"emptied"== +c.type&&(b=!1);clearTimeout(a)}})}})})};g.track&&!q.track&&j.defineProperty(TextTrack.prototype,"shimActiveCues",{get:function(){return this._shimActiveCues||this.activeCues}});n?(j.isReady("mediaelement-core",!0),h(),j.ready("WINDOWLOAD mediaelement",a)):j.ready(o,h);c(function(){j.loader.loadList(["track-ui"])})})})(jQuery,Modernizr,jQuery.webshims); +jQuery.webshims.register("details",function(c,g,h,n,p,v){var q=function(i){var g=c(i).parent("details");if(g[0]&&g.children(":first").get(0)===i)return g},o=function(i,g){var i=c(i),g=c(g),h=c.data(g[0],"summaryElement");c.data(i[0],"detailsElement",g);if(!h||i[0]!==h[0])h&&(h.hasClass("fallback-summary")?h.remove():h.unbind(".summaryPolyfill").removeData("detailsElement").removeAttr("role").removeAttr("tabindex").removeAttr("aria-expanded").removeClass("summary-button").find("span.details-open-indicator").remove()), +c.data(g[0],"summaryElement",i),g.prop("open",g.prop("open"))};g.createElement("summary",function(){var i=q(this);if(i&&!c.data(this,"detailsElement")){var h,m,f=c.attr(this,"tabIndex")||"0";o(this,i);c(this).on({"focus.summaryPolyfill":function(){c(this).addClass("summary-has-focus")},"blur.summaryPolyfill":function(){c(this).removeClass("summary-has-focus")},"mouseenter.summaryPolyfill":function(){c(this).addClass("summary-has-hover")},"mouseleave.summaryPolyfill":function(){c(this).removeClass("summary-has-hover")}, +"click.summaryPolyfill":function(f){var g=q(this);if(g){if(!m&&f.originalEvent)return m=!0,f.stopImmediatePropagation(),f.preventDefault(),c(this).trigger("click"),m=!1;clearTimeout(h);h=setTimeout(function(){f.isDefaultPrevented()||g.prop("open",!g.prop("open"))},0)}},"keydown.summaryPolyfill":function(f){if((13==f.keyCode||32==f.keyCode)&&!f.isDefaultPrevented())m=!0,f.preventDefault(),c(this).trigger("click"),m=!1}}).attr({tabindex:f,role:"button"}).prepend('<span class="details-open-indicator" />'); +g.moveToFirstEvent(this,"click")}});var s;g.defineNodeNamesBooleanProperty("details","open",function(g){var h=c(c.data(this,"summaryElement"));if(h){var m=g?"removeClass":"addClass",f=c(this);if(!s&&v.animate){f.stop().css({width:"",height:""});var j={width:f.width(),height:f.height()}}h.attr("aria-expanded",""+g);f[m]("closed-details-summary").children().not(h[0])[m]("closed-details-child");!s&&v.animate&&(g={width:f.width(),height:f.height()},f.css(j).animate(g,{complete:function(){c(this).css({width:"", +height:""})}}))}});g.createElement("details",function(){s=!0;var g=c.data(this,"summaryElement");g||(g=c("> summary:first-child",this),g[0]?o(g,this):(c(this).prependPolyfill('<summary class="fallback-summary">'+v.text+"</summary>"),c.data(this,"summaryElement")));c.prop(this,"open",c.prop(this,"open"));s=!1})});