jQuery.webshims.register("dom-extend",function(a,f,j,k,n){var t=f.modules,p=/\s*,\s*/,x={},o={},u={},y={},i={},g=a.fn.val,H=function(d,b,c,e,r){return r?g.call(a(d)):g.call(a(d),c)};a.fn.val=function(d){var b=this[0];arguments.length&&null==d&&(d="");if(!arguments.length)return!b||1!==b.nodeType?g.call(this):a.prop(b,"value",d,"val",!0);if(a.isArray(d))return g.apply(this,arguments);var c=a.isFunction(d);return this.each(function(e){b=this;1===b.nodeType&&(c?(e=d.call(b,e,a.prop(b,"value",n,"val", !0)),null==e&&(e=""),a.prop(b,"value",e,"val")):a.prop(b,"value",d,"val"))})};var D="_webshimsLib"+Math.round(1E3*Math.random()),v=function(d,b,c){d=d.jquery?d[0]:d;if(!d)return c||{};var e=a.data(d,D);c!==n&&(e||(e=a.data(d,D,{})),b&&(e[b]=c));return b?e&&e[b]:e};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(d){a.fn[d.name]=function(){return this.map(function(){var a=v(this, "shadowData");return a&&a[d.prop]||this})}});["removeAttr","prop","attr"].forEach(function(d){x[d]=a[d];a[d]=function(b,c,e,r,f){var l="val"==r,s=!l?x[d]:H;if(!b||!o[c]||1!==b.nodeType||!l&&r&&"attr"==d&&a.attrFn[c])return s(b,c,e,r,f);var E=(b.nodeName||"").toLowerCase(),z=u[E],A="attr"==d&&(!1===e||null===e)?"removeAttr":d,g,h,j;z||(z=u["*"]);z&&(z=z[c]);z&&(g=z[A]);if(g){if("value"==c)h=g.isVal,g.isVal=l;if("removeAttr"===A)return g.value.call(b);if(e===n)return g.get?g.get.call(b):g.value;g.set&& ("attr"==d&&!0===e&&(e=c),j=g.set.call(b,e));if("value"==c)g.isVal=h}else j=s(b,c,e,r,f);if((e!==n||"removeAttr"===A)&&i[E]&&i[E][c]){var k;k="removeAttr"==A?!1:"prop"==A?!!e:!0;i[E][c].forEach(function(a){if(!a.only||(a.only="prop"==d)||"attr"==a.only&&"prop"!=d)a.call(b,e,k,l?"val":A,d)})}return j};y[d]=function(b,c,e){u[b]||(u[b]={});u[b][c]||(u[b][c]={});var r=u[b][c][d],B=function(a,b,E){return b&&b[a]?b[a]:E&&E[a]?E[a]:"prop"==d&&"value"==c?function(a){return e.isVal?H(this,c,a,!1,0===arguments.length): x[d](this,c,a)}:"prop"==d&&"value"==a&&e.value.apply?function(a){var b=x[d](this,c);b&&b.apply&&(b=b.apply(this,arguments));return b}:function(a){return x[d](this,c,a)}};u[b][c][d]=e;if(e.value===n){if(!e.set)e.set=e.writeable?B("set",e,r):f.cfg.useStrict&&"prop"==c?function(){throw c+" is readonly on "+b;}:a.noop;if(!e.get)e.get=B("get",e,r)}["value","get","set"].forEach(function(a){e[a]&&(e["_sup"+a]=B(a,r))})}});var h=!a.browser.msie||8j&&7")[0].readyState;if(!p.track)try{new TextTrackCue(2,3,"")}catch(f){p.track=!0}var g=j.cfg.track,k=function(f){a(f.target).filter("track").each(o)}, o=function(){if(p.track||!g.override&&3==a.prop(this,"readyState"))g.override=!0,j.reTest("track"),document.removeEventListener("error",k,!0),this&&a.nodeName(this,"track")?j.error("track support was overwritten. Please check your vtt including your vtt mime-type"):j.info("track support was overwritten. due to bad browser support")},n=function(){document.addEventListener("error",k,!0);p.track?o():a("track").each(o)};g.override||(j.isReady("track")?n():a(n))}();j.register("mediaelement-core",function(a, g,j,u,v){o=swfobject.hasFlashPlayerVersion("9.0.115");var h=g.mediaelement,q=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=h.getTypeForSrc(d.src,c))d.type=e,d.container=e;if(e=b.attr("media"))d.media=e;return d},w=!o&&"postMessage"in j&&k,y= function(){var b;return function(){!b&&w&&(b=!0,g.loader.loadScript("https://www.youtube.com/player_api"),a(function(){g.polyfill("mediaelement-yt")}))}}(),d=function(){o?x():y()};g.addPolyfill("mediaelement-yt",{test:!w,d:["dom-support"]});h.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"]}};h.mimeTypes.source=a.extend({},h.mimeTypes.audio,h.mimeTypes.video);h.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(h.mimeTypes[c],function(a,c){if(-1!==c.indexOf(b))return d=a,!1});return d};h.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=u.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(),e=q(b,d);e.src?c.push(e):a("source",b).each(function(){e=q(this,d);e.src&&c.push(e)});return c}};a.fn.loadMediaSrc=function(b,c){return this.each(function(){c!==v&&(a(this).removeAttr("poster"),c&&a.attr(this,"poster",c));h.srces(this,b);a(this).mediaLoad()})};h.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(","); h.canThirdPlaySrces=function(b,c){var d="";if(o||w)b=a(b),c=c||h.srces(b),a.each(c,function(a,b){if(b.container&&b.src&&(o&&-1!=h.swfMimeTypes.indexOf(b.container)||w&&"video/youtube"==b.container))return d=b,!1});return d};var b={};h.canNativePlaySrces=function(c,d){var e="";if(k){var c=a(c),f=(c[0].nodeName||"").toLowerCase();if(!b[f])return e;d=d||h.srces(c);a.each(d,function(a,d){if(d.type&&b[f].prop._supvalue.call(c[0],d.type))return e=d,!1})}return e};h.setError=function(b,c){c||(c="can't play sources"); a(b).pause().data("mediaerror",c);g.warn("mediaelementError: "+c);setTimeout(function(){a(b).data("mediaerror")&&a(b).trigger("mediaerror")},1)};var c=function(){var a;return function(b,e,f){g.ready(o?"mediaelement-swf":"mediaelement-yt",function(){h.createSWF?h.createSWF(b,e,f):a||(a=!0,d(),c(b,e,f))});!a&&w&&!h.createSWF&&y()}}(),e=function(a,b,d,f,g){d||!1!==d&&b&&"third"==b.isActive?(d=h.canThirdPlaySrces(a,f))?c(a,d,b):g?h.setError(a,!1):e(a,b,!1,f,!0):(d=h.canNativePlaySrces(a,f))?b&&"third"== b.isActive&&h.setActive(a,"html5",b):g?(h.setError(a,!1),b&&"third"==b.isActive&&h.setActive(a,"html5",b)):e(a,b,!0,f,!0)},r=/^(?:embed|object|datalist)$/i,B=function(b,c){var d=g.data(b,"mediaelementBase")||g.data(b,"mediaelementBase",{}),f=h.srces(b),j=b.parentNode;clearTimeout(d.loadTimer);a.data(b,"mediaerror",!1);if(f.length&&j&&!(1!=j.nodeType||r.test(j.nodeName||"")))c=c||g.data(b,"mediaelement"),e(b,c,t.preferFlash||v,f)};a(u).bind("ended",function(b){var c=g.data(b.target,"mediaelement"); (!n||c&&"html5"!=c.isActive||a.prop(b.target,"loop"))&&setTimeout(function(){!a.prop(b.target,"paused")&&a.prop(b.target,"loop")&&a(b.target).prop("currentTime",0).play()},1)});n||g.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(c){var d=g.defineNodeNameProperty(c,"load",{prop:{value:function(){var a=g.data(this,"mediaelement");B(this,a);k&&(!a||"html5"==a.isActive)&&d.prop._supvalue&&d.prop._supvalue.apply(this,arguments)}}});b[c]=g.defineNodeNameProperty(c, "canPlayType",{prop:{value:function(d){var e="";k&&b[c].prop._supvalue&&(e=b[c].prop._supvalue.call(this,d),"no"==e&&(e=""));!e&&o&&(d=a.trim((d||"").split(";")[0]),-1!=h.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(){B(a);a=null},9)}});j=function(){g.addReady(function(b,c){a("video, audio", b).add(c.filter("video, audio")).each(function(){a.browser.msie&&8=b.duration||b.duration===b._lastDuration)b.duration=c}catch(d){}b.duration&& b.duration!=b._lastDuration?(q(b._elem,"durationchange"),("audio"==b._elemNodeName||b._callMeta)&&p.jwEvents.Model.META(a.extend({duration:b.duration},m),b),b._durationCalcs--):b._durationCalcs++}},b=function(a,m){3>a&&clearTimeout(m._canplaythroughTimer);if(3<=a&&3>m.readyState)m.readyState=a,q(m._elem,"canplay"),clearTimeout(m._canplaythroughTimer),m._canplaythroughTimer=setTimeout(function(){b(4,m)},4E3);if(4<=a&&4>m.readyState)m.readyState=a,q(m._elem,"canplaythrough");m.readyState=a};a.extend(a.event.customEvent, {updatemediaelementdimensions:!0,flashblocker:!0,swfstageresize:!0,mediaelementapichange:!0});p.jwEvents={View:{PLAY:function(a){var b=v(a.id);if(b&&!b.stopPlayPause&&(b._ppFlag=!0,b.paused==a.state)){b.paused=!a.state;if(b.ended)b.ended=!1;q(b._elem,a.state?"play":"pause")}}},Model:{BUFFER:function(c){var m=v(c.id);if(m&&"percentage"in c&&m._bufferedEnd!=c.percentage){m.networkState=100==c.percentage?1:2;(isNaN(m.duration)||5c.percentage||100===c.percentage)&&d(m,c);if(m.ended)m.ended= !1;if(m.duration){2c.percentage?b(3,m):20c.percentage)m._bufferedStart=m.currentTime||0;m._bufferedEnd=c.percentage;m.buffered.length=1;if(100==c.percentage)m.networkState=1,b(4,m);a.event.trigger("progress",n,m._elem,!0)}}},META:function(a,c){if(c=c&&c.networkState?c:v(a.id))if("duration"in a){if(!c._metadata||!((!a.height||c.videoHeight==a.height)&&a.duration===c.duration)){c._metadata=!0;var d=c.duration;if(a.duration)c.duration= a.duration;c._lastDuration=c.duration;if(a.height||a.width)c.videoHeight=a.height||0,c.videoWidth=a.width||0;if(!c.networkState)c.networkState=2;1>c.readyState&&b(1,c);c.duration&&d!==c.duration&&q(c._elem,"durationchange");q(c._elem,"loadedmetadata")}}else c._callMeta=!0},TIME:function(a){var c=v(a.id);if(c&&c.currentTime!==a.position){c.currentTime=a.position;c.duration&&c.durationc.readyState&&b(2,c);if(c.ended)c.ended=!1;q(c._elem,"timeupdate")}},STATE:function(a){var c= v(a.id);if(c)switch(a.newstate){case "BUFFERING":if(c.ended)c.ended=!1;b(1,c);q(c._elem,"waiting");break;case "PLAYING":c.paused=!1;c._ppFlag=!0;c.duration||d(c,a);3>c.readyState&&b(3,c);if(c.ended)c.ended=!1;q(c._elem,"playing");break;case "PAUSED":if(!c.paused&&!c.stopPlayPause)c.paused=!0,c._ppFlag=!0,q(c._elem,"pause");break;case "COMPLETED":4>c.readyState&&b(4,c),c.ended=!0,q(c._elem,"ended")}}},Controller:{ERROR:function(a){var b=v(a.id);b&&p.setError(b._elem,a.message)},SEEK:function(a){var b= v(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,q(b._elem,"timeupdate")}},VOLUME:function(a){var b=v(a.id);if(b&&(a=a.percentage/100,b.volume!=a))b.volume=a,q(b._elem,"volumechange")},MUTE:function(a){if(!a.state){var b=v(a.id);if(b&&b.muted!=a.state)b.muted=a.state,q(b._elem,"volumechange")}}}};var c=function(b){var c=!0;a.each(p.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},e=function(a){var b=a.actionQueue.length,c=0,d;if(b&&"third"==a.isActive)for(;a.actionQueue.length&&b>c;)c++,d=a.actionQueue.shift(),a.jwapi[d.fn].apply(a.jwapi,d.args);if(a.actionQueue.length)a.actionQueue=[]},r=function(b){b&&(b._ppFlag===n&&a.prop(b._elem,"autoplay")||!b.paused)&&setTimeout(function(){if("third"==b.isActive&&(b._ppFlag===n||!b.paused))try{a(b._elem).play()}catch(c){}},1)},B=function(b){if(b&& "video"==b._elemNodeName){var c,d,e,f,g,C,j,l,h=function(h,i){if(i&&h&&!(1>i||1>h||"third"!=b.isActive))if(c&&(c.remove(),c=!1),f=h,g=i,clearTimeout(j),d="auto"==b._elem.style.width,e="auto"==b._elem.style.height,d||e){C=C||a(b._elem).getShadowElement();var k;d&&!e?(k=C.height(),h*=k/i,i=k):!d&&e&&(k=C.width(),i*=k/h,h=k);l=!0;setTimeout(function(){l=!1},9);C.css({width:h,height:i})}},i=function(){if(!("third"!=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(''),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?(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(j),j=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",i).bind("swfstageresize updatemediaelementdimensions",function(){l||h(f,g)}).bind("emptied",function(){f=void 0;g=void 0}).triggerHandler("swfstageresize"); i();a.prop(b._elem,"readyState")&&h(a.prop(b._elem,"videoWidth"),a.prop(b._elem,"videoHeight"))}};p.playerResize=function(b){b&&(b=k.getElementById(b.replace(D,"")))&&a(b).triggerHandler("swfstageresize")};a(k).bind("emptied",function(a){a=h(a.target);r(a)});var l;p.jwPlayerReady=function(b){var d=v(b.id),I=0,g=function(){if(!(9h||6<=h)&&f.warn("mediaelement-swf is only testet with jwplayer 5.6+")}d.wasSwfReady= !0;d.tryedReframeing=0;e(d);r(d)}else clearTimeout(d.reframeTimer),d.reframeTimer=setTimeout(g,9*I),2d.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(l);d.jwData=b;d.shadowElem.removeClass("flashblocker-assumed");a.prop(d._elem,"volume",d.volume);a.prop(d._elem,"muted",d.muted);g()}};var s=a.noop;if(o){var E={play:1,playing:1}, z="play,pause,playing,canplay,progress,waiting,ended,loadedmetadata,durationchange,emptied".split(","),A=z.map(function(a){return a+".webshimspolyfill"}).join(" "),K=function(b){var c=f.data(b.target,"mediaelement");c&&(b.originalEvent&&b.originalEvent.type===b.type)==("third"==c.activating)&&(b.stopImmediatePropagation(),E[b.type]&&c.isActive!=c.activating&&a(b.target).pause())},s=function(b){a(b).unbind(A).bind(A,K);z.forEach(function(a){f.moveToFirstEvent(b,a)})};s(k)}p.setActive=function(b,c, d){d||(d=f.data(b,"mediaelement"));if(d&&d.isActive!=c){"html5"!=c&&"third"!=c&&f.warn("wrong type for mediaelement activating: "+c);var e=f.data(b,"shadowData");d.activating=c;a(b).pause();d.isActive=c;"third"==c?(e.shadowElement=e.shadowFocusElement=d.shadowElem[0],a(b).addClass("swf-api-active nonnative-api-active").hide().getShadowElement().show()):(a(b).removeClass("swf-api-active nonnative-api-active").show().getShadowElement().hide(),e.shadowElement=e.shadowFocusElement=!1);a(b).trigger("mediaelementapichange")}}; var L=function(){var a="_bufferedEnd,_bufferedStart,_metadata,_ppFlag,currentSrc,currentTime,duration,ended,networkState,paused,videoHeight,videoWidth,_callMeta,_durationCalcs".split(","),c=a.length;return function(d){if(d){var e=c,f=d.networkState;for(b(0,d);--e;)delete d[a[e]];d.actionQueue=[];d.buffered.length=0;f&&q(d._elem,"emptied")}}}(),J=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()})};p.createSWF=function(b,c,d){if(u){1>y?y=1:y++;var e=a.extend({},t.jwVars,{image:a.prop(b,"poster")||"",file:c.srcProp}),g=a(b).data("jwvars")||{};d||(d=f.data(b,"mediaelement"));if(d&&d.swfCreated)p.setActive(b,"third",d),L(d),d.currentSrc=c.srcProp,a.extend(e,g),t.changeJW(e,b,c,d,"load"),G(b,"sendEvent",["LOAD",e]);else{var h=a.prop(b,"controls"),C="jwplayer-"+f.getID(b),j=a.extend({},t.jwParams,a(b).data("jwparams")),i=b.nodeName.toLowerCase(), k=a.extend({},t.jwAttrs,{name:C,id:C},a(b).data("jwattrs")),n=a('
').css({position:"relative",overflow:"hidden"}),d=f.data(b,"mediaelement",f.objectCreate(H,{actionQueue:{value:[]},shadowElem:{value:n},_elemNodeName:{value:i},_elem:{value:b},currentSrc:{value:c.srcProp},swfCreated:{value:!0},buffered:{value:{start:function(a){if(a>=d.buffered.length)f.error("buffered index size error");else return 0},end:function(a){if(a>= d.buffered.length)f.error("buffered index size error");else return(d.duration-d._bufferedStart)*d._bufferedEnd/100+d._bufferedStart},length:0}}}));J(d,h);n.insertBefore(b);o&&a.extend(d,{volume:a.prop(b,"volume"),muted:a.prop(b,"muted")});a.extend(e,{id:C,controlbar:h?t.jwVars.controlbar||("video"==i?"over":"bottom"):"video"==i?"none":"bottom",icons:""+(h&&"video"==i)},g,{playerready:"jQuery.webshims.mediaelement.jwPlayerReady"});e.plugins=e.plugins?e.plugins+(","+F):F;f.addShadowDom(b,n);s(b);p.setActive(b, "third",d);t.changeJW(e,b,c,d,"embed");a(b).bind("updatemediaelementdimensions updateshadowdom",function(){J(d,a.prop(b,"controls"))});B(d);x.embedSWF(w,C,"100%","100%","9.0.0",!1,e,j,k,function(c){if(c.success)d.jwapi=c.ref,h||a(c.ref).attr("tabindex","-1").css("outline","none"),setTimeout(function(){if(!c.ref.parentNode&&n[0].parentNode||"none"==c.ref.style.display)n.addClass("flashblocker-assumed"),a(b).trigger("flashblocker"),f.warn("flashblocker assumed");a(c.ref).css({minHeight:"2px",minWidth:"2px", display:"block"})},9),l||(clearTimeout(l),l=setTimeout(function(){var b=a(c.ref);1b[0].offsetWidth||2>b[0].offsetHeight)&&f.info("JS-SWF connection can't be established on hidden or unconnected flash objects")},8E3))})}}else setTimeout(function(){a(b).mediaLoad()}, 1)};var G=function(a,b,c,d){return(d=d||h(a))?(d.jwapi&&d.jwapi[b]?d.jwapi[b].apply(d.jwapi,c||[]):(d.actionQueue.push({fn:b,args:c}),10b||100f.browserVersion,O={object:1,OBJECT:1};a.cleanData=function(b){var a,c,d;if(b&&(c=b.length)&&y)for(a=0;a