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||8e.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&&5h&&7")[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=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'); 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(''+v.text+""),c.data(this,"summaryElement")));c.prop(this,"open",c.prop(this,"open"));s=!1})});