/*! * * Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW) * wet-boew.github.com/wet-boew/License-eng.txt / wet-boew.github.com/wet-boew/Licence-fra.txt * * Version: v3.0.5 Build: 2013-02-15 10:10 PM * */ (function(c){var a,b;a=(typeof window.pe!=="undefined"&&window.pe!==null)?window.pe:{fn:{}};b={language:"en",languages:["en","fr","es"],rtl:false,touchscreen:"ontouchstart" in document.documentElement,mobileview:(wet_boew_theme!==null&&typeof wet_boew_theme.mobileview==="function"),suffix:c('body script[src*="/pe-ap-"]').attr("src").indexOf("-min")!==-1?"-min":"",header:c("#wb-head"),bodydiv:c("body > div"),main:c("#wb-main"),secnav:c("#wb-sec"),footer:c("#wb-foot"),urlpage:"",urlhash:"",urlquery:"",svg:(c('').get(0).ownerSVGElement!==undefined),document:c(document),mobiletest:"",settings:(typeof wet_boew_properties!=="undefined"&&wet_boew_properties!==null)?wet_boew_properties:false,dic:{get:function(e,f,d){var g=(typeof e==="string"&&e!=="")|(typeof f==="string"&&f!=="")<<1|(typeof d==="string"&&d!=="")<<2;switch(g){case 1:return this.ind[e];case 3:return this.ind[e][f];case 7:return this.ind[e][f].replace("[MIXIN]",d);default:return""}},ago:function(e){var h,d,g,f;d=a.date.convert(e);f=(arguments.length>1?arguments[1]:new Date());h=parseInt((f.getTime()-d)/1000,10);h=h+(f.getTimezoneOffset()*60);g="";if(h<60){g=this.get("%minute-ago")}else{if(h<120){g=this.get("%couple-of-minutes")}else{if(h<(45*60)){g=this.get("%minutes-ago","mixin",(parseInt(h/60,10)).toString())}else{if(h<(90*60)){g=this.get("%hour-ago")}else{if(h<(24*60*60)){g=this.get("%hours-ago","mixin",(parseInt(h/3600,10)).toString())}else{if(h<(48*60*60)){g=this.get("%yesterday")}else{g=this.get("%days-ago","mixin",(parseInt(h/86400,10)).toString())}}}}}}return g}},ie:(/(MSIE) ([\w.]+)/.exec(navigator.userAgent)||[])[2]||"0",_init:function(){var d=c("html"),j,e,h,g,i,f=false;i=d.attr("lang");if(typeof i!=="undefined"&&i.length>0){a.language=i}i=c("head").attr("dir");if(typeof i!=="undefined"&&i.length>0){a.rtl=(i==="rtl")}a.mobiletest=document.createElement("div");a.mobiletest.setAttribute("id","mobiletest");document.body.appendChild(a.mobiletest);a.polyfills.init();a.urlpage=a.url(window.location.href);a.urlhash=a.urlpage.hash;a.urlquery=a.urlpage.params;d.removeClass("no-js").addClass(wet_boew_theme!==null?wet_boew_theme.theme:"").addClass(a.touchscreen?"touchscreen":"");j=a.bodydiv.find("#wb-main a, #wb-skip a").filter(function(){return this.href.indexOf("#")!==-1});e=j.filter(function(){return c(this).attr("href").indexOf("#")===0});if(a.mobilecheck()){a.mobile=true;a.bodydiv.attr("data-role","page").addClass("ui-page-active");i=navigator.userAgent.indexOf("BlackBerry");if(i===0){d.addClass("bb-pre6 bb-pre7")}else{if(i!==-1&&navigator.userAgent.indexOf("Version/6")!==-1){d.addClass("bb-pre7")}}a.document.on("mobileinit",function(){c.extend(c.mobile,{ajaxEnabled:false,pushStateEnabled:false,autoInitializePage:(f?true:false)});if(f){a.mobilelang()}});a.document.on("pageinit",function(){e.off("click vclick").on("click.hlinks vclick.hlinks",function(){h=c("#"+a.string.jqescape(c(this).attr("href").substring(1)));h.filter(":not(a, button, input, textarea, select)").attr("tabindex","-1");if(h.length>0){c.mobile.silentScroll(a.focus(h).offset().top)}});if(a.urlhash.length!==0){g=a.main.find("#"+a.string.jqescape(a.urlhash));g.filter(":not(a, button, input, textarea, select)").attr("tabindex","-1");if(g.length>0&&g.attr("data-role")!=="page"){setTimeout(function(){c.mobile.silentScroll(a.focus(g).offset().top)},200)}}});a.add.css([a.add.themecsslocation+"jquery.mobile"+a.suffix+".css"]);a.add._load([a.add.liblocation+"jquerymobile/jquery.mobile.min.js"])}else{e.on("click vclick",function(){h=c("#"+a.string.jqescape(c(this).attr("href").substring(1)));h.filter(":not(a, button, input, textarea, select)").attr("tabindex","-1");if(h.length>0){a.focus(h)}});if(a.urlhash.length>0){h=c("#"+a.string.jqescape(a.urlhash));h.filter(":not(a, button, input, textarea, select)").attr("tabindex","-1");if(h.length>0){a.focus(h)}}}c.when.apply(c,c.map(c("*[data-ajax-replace], *[data-ajax-append]"),function(n){var m=c(n),l=false,k;if(m.attr("data-ajax-replace")!==undefined){l=true;k=m.attr("data-ajax-replace")}else{if(m.attr("data-ajax-append")!==undefined){k=m.attr("data-ajax-append")}}return c.get(k,function(o){if(l){m.empty()}m.append(c(o))},"html")})).always(function(){a.document.one("languageloaded",function(){if(a.pedisable()===true){return false}if(wet_boew_theme!==null){wet_boew_theme.init();if(a.mobile){a.document.one("mobileviewloaded",function(){if(typeof c.mobile!=="undefined"){a.mobilelang();c.mobile.initializePage()}else{f=true}});wet_boew_theme.mobileview()}}else{if(a.mobile){if(typeof c.mobile!=="undefined"){a.mobilelang();c.mobile.initializePage()}else{f=true}}}a.dance()});a.add.language(a.language)})},mobile:false,mobilecheck:function(){return a.mobiletest.offsetWidth===1},mobilelang:function(){c.mobile.collapsible.prototype.options.expandCueText=a.dic.get("%jqm-expand");c.mobile.collapsible.prototype.options.collapseCueText=a.dic.get("%jqm-collapse");c.mobile.dialog.prototype.options.closeBtnText=a.dic.get("%close");c.mobile.page.prototype.options.backBtnText=a.dic.get("%back");c.mobile.textinput.prototype.options.clearSearchButtonText=a.dic.get("%jqm-clear-search");c.mobile.selectmenu.prototype.options.closeText=a.dic.get("%close");c.mobile.listview.prototype.options.filterPlaceholder=a.dic.get("%jqm-filter")},pagecontainer:function(){return c("#wb-body-sec-sup, #wb-body-sec, #wb-body-secr, #wb-body").add("body").eq(0)},resize:function(d){ResizeEvents.initialise();ResizeEvents.eventElement.bind("x-text-resize x-zoom-resize x-window-resize",function(){d()});return},url:function(f){var e=document.createElement("div"),d;e.innerHTML='x';d=e.firstChild;return{source:d.href,protocol:d.protocol.replace(":",""),host:d.hostname,port:d.port==="0"?"80":d.port,query:d.search,params:(function(){var j,i,k,h,l,g;i={};h=d.search.replace(/^\?/,"").split("&");for(l=0,g=h.length;l'+((e.length>25)?e.substr(0,24)+"...":e)+""})},at:function(d){return d.replace(/(^|[^\w]+)\@([a-zA-Z0-9_]{1,15}(\/[a-zA-Z0-9\-_]+)*)/g,function(e,g,f){return g+'@'+f+""})},hash:function(d){return d.replace(/(^|[^&\w'"]+)\#([a-zA-Z0-9_]+)/g,function(e,g,f){return g+'#'+f+""})},clean:function(d){return this.hash(this.at(this.link(d)))}}}()),pad:function(e,d){var f;f=String(e);while(f.length\|])/g,"\\$1")}},array:{noduplicates:function(d){var h,e,g,f=[],k={};for(h=0,e=d.length;h!==e;h+=1){k[d[h]]=0}for(g in k){if(k.hasOwnProperty(g)){f.push(g)}}return f},diff:function(l,k){var f,n,m,e,h,g,d=[];for(f=0,n=l.length;f!==n;f+=1){m=l[f];g=false;for(e=0,h=k.length;e!==h;e+=1){if(k[e]===m){g=true;break}}if(!g){d.push(m)}}},keys:function(e){var d=[];c.each(e,function(f){d.push(f)});return d}},date:{convert:function(e){if(e.constructor===Date){return e}if(e.constructor===Array){return new Date(e[0],e[1],e[2])}if(e.constructor===Number){return new Date(e)}if(e.constructor===String){return new Date(e)}if(typeof e==="object"){return new Date(e.year,e.month,e.date)}return NaN},compare:function(e,d){if(isFinite(e=this.convert(e).valueOf())&&isFinite(d=this.convert(d).valueOf())){return(e>d)-(eh){d=(f.getTimezoneOffset()-h.getTimezoneOffset())*k}else{d=(h.getTimezoneOffset()-f.getTimezoneOffset())*k}g=Math.abs(f.getTime()-h.getTime())-d;return Math.ceil(g/e)},to_iso_format:function(g,f){var e;e=this.convert(g);if(f){return e.getFullYear()+"-"+a.string.pad(e.getMonth()+1,2,"0")+"-"+a.string.pad(e.getDate(),2,"0")+" "+a.string.pad(e.getHours(),2,"0")+":"+a.string.pad(e.getMinutes(),2,"0")}return e.getFullYear()+"-"+a.string.pad(e.getMonth()+1,2,"0")+"-"+a.string.pad(e.getDate(),2,"0")},from_iso_format:function(e){var d=null;if(e){if(e.match(/\d{4}-\d{2}-\d{2}/)){d=new Date();d.setFullYear(e.substr(0,4),e.substr(5,2)-1,e.substr(8,2)-1)}return d}return null}},pedisable:function(){var k=(typeof localStorage!=="undefined"),e=(k?localStorage.getItem("pedisable"):null),j=(a.urlquery.pedisable!==undefined?a.urlquery.pedisable:e),d=document.getElementById("wb-tphp"),m=document.createElement("li"),l=a.urlquery,n,g="?",h=a.settings,i=c("html"),f=(h&&typeof h.pedisable_link==="boolean"?h.pedisable_link:true);if(d!==null){for(n in l){if(l.hasOwnProperty(n)&&n!=="pedisable"){g+=n+"="+l[n]+"&"}}if(j==="true"||(((a.ie>0&&a.ie<7)||i.hasClass("bb-pre6"))&&j!=="false")){i.addClass("no-js pe-disable");if(k){localStorage.setItem("pedisable","true")}if(f){m.innerHTML=''+a.dic.get("%pe-enable")+"";d.appendChild(m)}return true}else{if(j==="false"||e!==null){if(k){localStorage.setItem("pedisable","false")}}}if(f){m.innerHTML=''+a.dic.get("%pe-disable")+"";d.appendChild(m)}}return false},menu:{navcurrent:function(l,p,g){var o=window.location.hostname+window.location.pathname,q=window.location.search,f,n,t,e,i,r,u,s,k,h,d,j=false,m=a.ie!==0&&a.ie<8;l=typeof l.jquery!=="undefined"?l:c(l);f=l.find("a").get();g=(typeof g==="undefined")?"nav-current":g;u=f.length;while(u--){n=f[u];n.href=n.getAttribute("href")!==""?n.getAttribute("href"):"#";if((!m&&n.getAttribute("href").slice(0,1)!=="#")||(m&&(n.href.indexOf("#")===-1||o!==n.hostname+n.pathname.replace(/^([^\/])/,"/$1")))){t=n.hostname+n.pathname.replace(/^([^\/])/,"/$1");e=t.length;i=n.search;r=i.length;if((o.slice(-e)===t&&(r===0||q.slice(-r)===i))){j=true;break}}}if(!j){p=typeof p.jquery!=="undefined"?p:c(p);s=p.find("a").get();h=s.length;d=h;while(d--){k=s[d];s[d]=k.hostname+k.pathname.replace(/^([^\/])/,"/$1")}u=f.length;while(u--){n=f[u];if((!m&&n.getAttribute("href").slice(0,1)!=="#")||(m&&(n.href.indexOf("#")===-1||o!==n.hostname+n.pathname.replace(/^([^\/])/,"/$1")))){t=n.hostname+n.pathname.replace(/^([^\/])/,"/$1");e=t.length;d=h;while(d--){if(s[d].slice(-e)===t){j=true;break}}if(j){break}}}}return(j?c(n).addClass(g):c())},buildmobile:function(O,R,U,D,aa,S,i,z,P){var M="h"+R,J="<"+M+">",d="",T=(typeof O.jquery!=="undefined"?O:c(O)),v=T[0].parentNode,B=T.find("> div, > ul, "+M),C=B.get(),u,j,F,n,k,e,H,G,Z,K,W,p,w,t,o,l,A,Q,V,E,g=(D!==undefined?D:false),s=a.dic.get("%main-page"),x=(i!==undefined?i:true),f=false,L=(S!==undefined?S:U),N=(x?U:S),r='"}else{if(g){X+=a.menu.buildmobile(F.parent().find(".mb-sm"),R+1,N,false,aa,L,false,true)}else{X+=a.menu.buildmobile(F.parent(),R+1,N,false,aa,L,false,true,f)}}if(!g&&G.length>0&&(x||P||!aa)){X+=h+Z.href+'">'+Z.innerHTML+" - "+s+""}X+=""}else{if(k==="div"){e=F.children("a, ul");if(e.length>0){H=e[0];if(H.tagName.toLowerCase()==="a"){X+=h+H.href+'" data-theme="'+(x?N:L)+'">'+H.innerHTML+""}else{X+=r+H.innerHTML+""}}}}}if(x||P||!aa){X='
'+X+"
"}}}if(x){X='
'+X+"
"}return z?X:c(X)},correctmobile:function(f){var d=(typeof f.jquery!=="undefined"?f:c(f)),e=d.find(".wb-nested-menu");if(e.length!==0){e=e.get(0).parentNode.childNodes;e[e.length-1].getElementsByTagName("a")[0].className+=" ui-corner-bottom"}}},polyfills:{init:function(){var e=a.add.liblocation,d=c("html");if(!window.localStorage){a.add._load(e+"polyfills/localstorage"+a.suffix+".js","localstorage-loaded");d.addClass("polyfill-localstorage")}else{d.addClass("localstorage")}},polyload:function(e,h,u){var t=this.polyfill,f,l,n,j={},w=[],m,d,g,k=a.add.liblocation,p=[],r=[],o=[],s,v,q=c("html");for(f in t){if(t.hasOwnProperty(f)){l=t[f];n=u?c(l.selector):c();if(n.length!==0||c.inArray(f,e)!==-1){if(typeof l.supported==="undefined"){l.supported=(typeof l.support_check==="function"?l.support_check():l.support_check);if(!l.supported){m=l.depends;if(typeof m!=="undefined"){d=a.add.depends(m);g=[];for(s=0,v=m.length;s!==v;s+=1){if(c.inArray(m[s],a.add.staged)===-1){g.push(m[s])}}if(g.length!==0){j[f]=g}else{w.push(f)}}else{w.push(f)}q.addClass("polyfill-"+f);n.addClass("polyfill")}else{q.addClass(f)}}else{if(!l.supported&&typeof l.loaded==="undefined"){w.push(f)}}}}}for(s=0,v=w.length;s!==v;s+=1){l=t[w[s]];o[o.length]=(typeof l.load!=="undefined"?l.load:k+"polyfills/"+w[s]+a.suffix+".js");if(typeof l.init!=="undefined"){r.push(w[s])}l.loaded=true}p.push(j);p.push(r);a.add._load_arr(o,h,p)},enhance:function(d,g){if(c("html").hasClass("polyfill-"+d)){g=(typeof g.jquery!=="undefined"?g.get():g);var e=this.polyfill[d],f=g.length;while(f--){e.update(c(g[f]).addClass("polyfill"))}}},polyfill:{datalist:{selector:"input[list]",depends:["resize","outside"],update:function(d){d.datalist()},support_check:!!(document.createElement("datalist")&&window.HTMLDataListElement)},datepicker:{selector:'input[type="date"]',depends:["calendar","xregexp","outside"],update:function(d){d.datepicker()},support_check:function(){var e=document.createElement("input"),d;e.setAttribute("type","date");e.value=":)";e.style.cssText="position:absolute;visibility:hidden;";document.body.appendChild(e);d=(e.value!==":)");document.body.removeChild(e);return d}},detailssummary:{selector:"details",update:function(d){d.details()},support_check:function(){var h=document,f=h.createElement("details"),e,d,g;if(typeof f.open==="undefined"){return false}d=h.body||(function(){var i=h.documentElement;e=true;return i.insertBefore(h.createElement("body"),i.firstElementChild||i.firstChild)}());f.innerHTML="ab";f.style.display="block";d.appendChild(f);g=f.offsetHeight;f.open=true;g=g!==f.offsetHeight;d.removeChild(f);if(e){d.parentNode.removeChild(d)}return g}},mathml:{selector:"math",load:"https://webarchiveweb.wayback.bac-lac.canada.ca/web/20170330201943/http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=Accessible",support_check:function(){var f=false,g,j,k,e,d,h,i;if(document.createElementNS){g="http://www.w3.org/1998/Math/MathML";j=document.createElement("div");k=j.appendChild(document.createElement("div"));k.style.position="absolute";k.style.color="#fff";d=k.appendChild(document.createElementNS(g,"math")).appendChild(document.createElementNS(g,"mrow"));h=d.appendChild(document.createElementNS(g,"mo"));h.appendChild(document.createTextNode("|"));i=d.appendChild(document.createElementNS(g,"mfrac"));i.appendChild(document.createElementNS(g,"mi")).appendChild(document.createTextNode("xx"));i.appendChild(document.createElementNS(g,"mi")).appendChild(document.createTextNode("yy"));d.appendChild(document.createElementNS(g,"mo")).appendChild(document.createTextNode("|"));e=j.appendChild(document.createElement("div"));e.style.color="#fff";e.style.display="inline";e.appendChild(document.createTextNode("|xx|"));document.body.appendChild(j);f=k.offsetHeight>k.offsetWidth;k.style.position="static";k.style.display="inline";f=f&&k.offsetWidth0?d.attr("href").substr(0,d.attr("href").lastIndexOf("/")+1):"theme-not-found/"}()),staged:[],_load:function(g,e){var d=a.add.head,h=(e!==undefined?e:"wet-boew-dependency-loaded");if(c.inArray(g,this.staged)>-1){a.document.trigger({type:h,js:g});return this}setTimeout(function f(){if(typeof d.item!=="undefined"){if(!d[0]){setTimeout(f,25);return}d=d[0]}var i=document.createElement("script"),j=false;a.add.set(i,"async","async");i.onload=i.onreadystatechange=function(){if(j||(i.readyState&&i.readyState!=="complete"&&i.readyState!=="loaded")){return false}i.onload=i.onreadystatechange=null;j=true;a.document.trigger({type:h,js:g})};i.src=g;if((a.ie>0&&a.ie<9)||!d.insertBefore){c(i).appendTo(c(d)).delay(100)}else{d.insertBefore(i,d.firstChild)}},0);this.staged[this.staged.length]=g;return this},_load_arr:function(k,g,j){var e=0,f,d,h=g+"-single";a.document.on(h,function(){e+=1;if(e===k.length){a.document.off(h);a.document.trigger({type:g,payload:j})}});if(k.length>0){for(f=0,d=k.length;f0&&a.ie<10)||!e.insertBefore){c(d).appendTo(c(e)).attr("href",f)}else{e.insertBefore(d,e.firstChild)}return this},depends:function(g){var f=a.add.liblocation,e=c.map(g,function(d){return(/^http(s)?/i.test(d))?d:f+"dependencies/"+d+a.suffix+".js"});return e},language:function(e){var d;e=a.get_language(e,a.languages);d=a.add.liblocation+"i18n/"+(e!==null?e:"en")+a.suffix+".js";a.add._load(d)},meta:function(e,f){var d;d=document.createElement("meta");a.add.set(d,"name",e).set(d,"content",f);a.add.head.appendChild(d);return this}}}()),wb_load:function(e,h){if(typeof e==="undefined"){e={}}if(typeof h==="undefined"){h="wb-loaded"}var q,u,r=a.settings,n=typeof e.plugins!=="undefined"?e.plugins:{},d,l=typeof e.global!=="undefined"?e.global:[],v,j=typeof e.dep!=="undefined"?e.dep:[],g=typeof e.poly!=="undefined"?e.poly:[],t=typeof e.checkdom!=="undefined"?e.checkdom:false,f=typeof e.polycheckdom!=="undefined"?e.polycheckdom:false,m=t?c('[class^="wet-boew-"]'):c(),k=(new Date()).getTime(),o="wb-polyinit-loaded-"+k,s="wb-pcalldeps-loaded-"+k,p="wb-polydeps-loaded-"+k;for(d in n){if(n.hasOwnProperty(d)){m=m.add(n[d].addClass("wet-boew-"+d))}}m.each(function(){var w=c(this),i=w.attr("class").split(" "),x=[];for(q=0,u=i.length;q!==u;q+=1){if(i[q].indexOf("wet-boew-")===0){x.push(i[q].substr(9).toLowerCase())}}w.attr("data-load",x.join(","));l.push.apply(l,x)});if(r){l.push(r.globals)}l=a.array.noduplicates(l);for(q=0,u=l.length;q!==u;q+=1){v=l[q];if(typeof a.fn[v]!=="undefined"){if(typeof a.fn[v].polyfills!=="undefined"){g.push.apply(g,a.fn[v].polyfills)}if(typeof a.fn[v].depends!=="undefined"){j.push.apply(j,a.fn[v].depends)}}}a.document.one(o,function(y){var w=a.polyfills.polyfill,A=y.payload[0],z=y.payload[1],i=[],x;for(q=0,u=z.length;q!==u;q+=1){w[z[q]].init()}for(x in A){if(A.hasOwnProperty(x)){j.push.apply(j,A[x]);i.push(x)}}a.document.one(s,function(){a.document.one(p,function(B){z=typeof B.payload!=="undefined"?B.payload[1]:[];for(q=0,u=z.length;q!==u;q+=1){w[z[q]].init()}m.each(function(){var C=c(this),D=C.attr("data-load").split(",");for(q=0,u=D.length;q!==u;q+=1){if(typeof a.fn[D[q]]!=="undefined"){a.fn[D[q]]._exec(C)}}});if(r){for(q=0,u=r.globals.length;q!==u;q+=1){a.fn[r.globals[q]]._exec(document)}}a.document.trigger(h)});if(i.length!==0){a.polyfills.polyload(i,p,false)}else{a.document.trigger(p)}});a.add._load_arr(a.add.depends(a.array.noduplicates(j)),s)});a.polyfills.polyload(a.array.noduplicates(g),o,f)},dance:function(){var d="wb-init-loaded";a.document.one(d,function(){if(!(a.ie>0&&a.ie<9)){a.resize(function(){var e=a.mobilecheck();if(a.mobile!==e){a.mobile=e;window.location.href=decodeURI(a.url(window.location.href).removehash())}})}});a.wb_load({dep:["resize","equalheights"],checkdom:true,polycheckdom:true},d)}};window.pe=c.extend(true,a,b);return window.pe}(jQuery))._init();(function(b){var a=window.pe||{fn:{}};a.fn.archived={type:"plugin",_exec:function(f){if(pe.mobile){return}var c=b('"),e=b(window),d=e.scrollTop();e.on("scroll",function(){if(b(this).scrollTop()>10){c.fadeIn("normal").attr("aria-hidden","false")}else{c.fadeOut("normal").attr("aria-hidden","true")}});b(document).on("focusin",function(h){var g=b(h.target);if(c.attr("aria-hidden")==="false"&&(g.offset().top+g.outerHeight())<=(c.offset().top+c.outerHeight())){e.scrollTop(e.scrollTop()-c.outerHeight())}});if(d<10||d==="undefined"){c.attr("aria-hidden","true")}else{c.fadeIn("normal").attr("aria-hidden","false")}pe.pagecontainer().append(c);return f}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.charts={type:"plugin",depends:["raphael","parserTable","charts"],polyfills:["detailssummary"],_exec:function(c){a.fn.chartsGraph.generate(c)}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.css3ie={type:"plugin",depends:(pe.ie>0&&pe.ie<9?["pie","resize"]:[]),_exec:function(j){if(pe.mobile||!(pe.ie>0&&pe.ie<9)){return}var l=b(".rounded, .pie-enhance"),g=false,k=b("#wb-core"),d=k.children("#wb-core-in"),i=k.css("margin-bottom"),h,c,f,e;f=function(){l.each(function(){PIE.attach(this)});return true};e=function(){l.each(function(){PIE.detach(this)});return false};if(window.PIE){l.filter(function(){return b(this).css("position")==="static"}).css("position","relative");if(pe.ie===7){h=document.body;c=h.getBoundingClientRect();if((c.left-c.right)/h.offsetWidth===-1){g=f()}else{k.css("margin-bottom",(d.offset().top+d.height())-(k.offset().top+k.height()))}}else{if(pe.ie===8){g=f()}else{g=f()}}pe.resize(function(){if(pe.ie===7){var m=document.body,n=m.getBoundingClientRect();if((n.left-n.right)/m.offsetWidth!==-1){g=e(l);k.css("margin-bottom",(d.offset().top+d.height())-(k.offset().top+k.height()))}else{if(!g){f()}k.css("margin-bottom",i)}}})}return j}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.deselectradio={type:"plugin",depends:[],_exec:function(f){var c=document.getElementsByTagName("input"),e=c.length,d;while(e--){d=c[e];if(d.type==="radio"&&d.className.indexOf("deselect-off")===-1){d.className+=" deselectable"+(d.checked?" checked":"")}}b(document).on("click vclick",'input[type="radio"].deselectable',function(){if(this.className.indexOf(" checked")!==-1){this.checked=false;this.className=this.className.replace(" checked","")}else{var i=this.getAttribute("name"),g,h,j;if(i!==undefined){g=document.getElementsByName(i);j=g.length;while(j--){h=g[j];if(h.className.indexOf(" checked")!==-1){h.className=h.className.replace(" checked","")}}this.className+=" checked"}}});return f}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.equalize={type:"plugin",depends:(pe.mobile?[]:["equalheights","resize"]),_exec:function(c){if(pe.mobile){return}b(".equalize").children().css("min-height","").parent().equalHeights(true);pe.resize(function(){b(".equalize").children().css("min-height","").parent().equalHeights(true)});return c}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.eventscalendar={type:"plugin",depends:["calendar","xregexp"],_exec:function(h){var u=new Date(),o=a.fn.calendar,l=u.getFullYear(),v=u.getMonth(),w=h.find(".year"),i=h.find(".month"),q,d,m,x,t,r,n,e,k,c,p,s,g,j,f;x=function(B){var A=!(b(B).hasClass("event-anchoring")),z={minDate:null,maxDate:null,iCount:0,list:[{a:1}]},y=null;if(B.find("ol").length>0){y=B.find("ol")}else{if(B.find("ul").length>0){y=B.find("ul")}}if(y.length>0){y.children("li").each(function(){var D=b(this),I=D.find("*:header:first"),M=I.text(),G=D.find("a").first(),K=G.attr("href"),E,F,C,O,N,L,J,H;if(!A){E=(D.attr("id")!==undefined)?D.attr("id"):t(6);D.attr("id",E);if(pe.ie>0){D.attr("tabindex","-1")}K="#"+E}F=new Date();C=D.find("time, span.datetime");if(C.length>1){O=(b(C[0]).get(0).nodeName.toLowerCase()==="time")?b(C[0]).attr("datetime").substr(0,10).split("-"):b(C[0]).attr("class").match(/datetime\s+\{date\:\s*(\d+-\d+-\d+)\}/)[1].substr(0,10).split("-");N=(b(C[1]).get(0).nodeName.toLowerCase()==="time")?b(C[1]).attr("datetime").substr(0,10).split("-"):b(C[1]).attr("class").match(/datetime\s+\{date\:\s*(\d+-\d+-\d+)\}/)[1].substr(0,10).split("-");F.setFullYear(O[0],O[1]-1,O[2]);for(J=0,H=pe.date.daysBetween(O,N)+1;J<=H;J+=1){if(z.minDate===null||Fz.maxDate){z.maxDate=F}z.list[z.iCount]={title:M,date:new Date(F.getTime()),href:K};F=new Date(F.setDate(F.getDate()+1));if(!I.hasClass("filter-"+(F.getFullYear())+"-"+pe.string.pad(F.getMonth()+1,2))){I.addClass("filter-"+(F.getFullYear())+"-"+pe.string.pad(F.getMonth()+1,2))}z.iCount+=1}}else{if(C.length===1){L=(b(C[0]).get(0).nodeName.toLowerCase()==="time")?b(C[0]).attr("datetime").substr(0,10).split("-"):b(C[0]).attr("class").match(/datetime\s+\{date\:\s*(\d+-\d+-\d+)\}/)[1].substr(0,10).split("-");F.setFullYear(L[0],L[1]-1,L[2]);if(z.minDate===null||Fz.maxDate){z.maxDate=F}z.list[z.iCount]={title:M,date:F,href:K};if(!I.hasClass("filter-"+(F.getFullYear())+"-"+pe.string.pad(F.getMonth()+1,2))){I.addClass("filter-"+(F.getFullYear())+"-"+pe.string.pad(F.getMonth()+1,2))}z.iCount+=1}}})}window.events=z;return z};t=function(A){var z="",y,B;y=function(){B=Math.floor(Math.random()*62);if(B<10){return B}if(B<36){return String.fromCharCode(B+55)}return String.fromCharCode(B+61)};while(z.length'+E+"");J.append(I);C=b('
    ');I.on("keydown",{details:C},k);J.on("mouseover",{details:C},c);J.on("mouseout",{details:C},p);I.on("focus",{details:C},s);I.on("blur",{details:C},g);J.append(C)}else{C=J.find("ul.wb-invisible")}D=b('
  • '+z[G].title+"
  • ");if(pe.cssenabled){D.children("a").attr("tabindex","-1")}C.append(D);B=D.children("a");B.on("keydown",e);B.on("blur",{details:C},j);B.on("focus",{details:C},f)}}};n=function(z,A,y){b("."+y+" li.calendar-display-onshow").addClass("wb-invisible");b("."+y+" li.calendar-display-onshow").has(":header[class*=filter-"+z+"-"+pe.string.pad(parseInt(A,10)+1,2)+"]").removeClass("wb-invisible")};if(w.length>0&&i.length>0){l=w.text();if(i.hasClass("textformat")){q=b.inArray(i.text(),pe.dic.get("%calendar-monthNames"));v=q}else{v=i.text()-1}}d=x(h);m=b(h).attr("class").split(" ").slice(-1);if(b("#wb-main-in").css("padding-left")==="0px"){b("#"+m).css("margin-left","10px")}b("#"+m).on("calendarDisplayed",function(A,y,z,B){r(y,z,B,m,d.list);n(y,z,m)});o.create(m,l,v,true,d.minDate,d.maxDate);b("#"+m).attr("role","application")}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.feedback={type:"plugin",depends:[],_exec:function(j){var d=j.find("#feedback"),i=j.find("#web"),h=i.find("#access"),c=i.find("#mobile"),k=i.find("#computer"),m=j.find("#contact-coord"),n=m.find("#contact1"),l=m.find("#contact2"),g=m.find("#info"),f=document.referrer,e=pe.url(window.location.href).params,o;d.attr("aria-controls","web").on("keyup click load",function(p){o=(p.type==="load");if(!o&&this.value==="web"){this.setAttribute("aria-hidden","false");i.show("slow")}else{this.setAttribute("aria-hidden","true");if(o){i.css("display","none")}else{i.hide("slow")}}});if(e.submit===undefined&&e.feedback!==undefined){d.find('option[value="'+e.feedback+'"]').attr("selected","selected")}d.trigger("load");h.attr("aria-controls","mobile computer").on("keyup click load",function(p){o=(p.type==="load");if(!o&&this.value==="mobile"){c.attr("aria-hidden","false").show("slow");k.attr("aria-hidden","true").hide("slow")}else{k.attr("aria-hidden","false");c.attr("aria-hidden","true");if(o){k.css("display","block");c.css("display","none")}else{k.show("slow");c.hide("slow")}}}).trigger("load");n.on("keyup click load",function(p){o=(p.type==="load");if(!o&&this.value==="yes"){g.attr("aria-hidden","false").show("slow")}else{if(o||((this.value==="no"||this.value===null)&&(l.val()==="no"||l.val()===null))){g.attr("aria-hidden","true");if(o){g.css("display","none")}else{g.hide("slow")}}}}).trigger("load");l.on("keyup click load",function(p){o=(p.type==="load");if(!o&&this.value==="yes"){g.attr("aria-hidden","false").show("slow")}else{if(o||((this.value==="no"||this.value===null)&&(n.val()==="no"||n.val()===null))){g.attr("aria-hidden","true");if(o){g.css("display","none")}else{g.hide("slow")}}}}).trigger("load");i.find("#page").attr("value",f);j.find("input[type=reset]").on("click",function(){d.trigger("load");h.trigger("load");n.trigger("load");l.trigger("load")});return j}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.footnotes={type:"plugin",_exec:function(e){var c=b("#wb-main-in").not(".wet-boew-footnotes"),d=e.find("dd").attr("tabindex","-1");d.each(function(){var g=b(this),f=this.id+"-dt";g.attr("aria-labelledby",f).prev().attr("id",f)});d.find("p.footnote-return a").each(function(){var f=b(this);f.find("span span").remove();f.off("click vclick").on("click vclick",function(){var g=c.find(b(this).attr("href")).find("a");if(pe.mobile){b.mobile.silentScroll(pe.focus(g).offset().top)}else{pe.focus(g)}return false})});c.find("sup a.footnote-link").on("click vclick",function(){var f=e.find(b(this).attr("href"));f.find("p.footnote-return a").attr("href","#"+this.parentNode.id).off("click vclick").on("click vclick",function(){var g=c.find(b(this).attr("href")).find("a");if(pe.mobile===true){b.mobile.silentScroll(pe.focus(g).offset().top)}else{pe.focus(g)}return false});if(pe.mobile){b.mobile.silentScroll(pe.focus(f).offset().top)}else{pe.focus(f)}if(pe.ie>0&&pe.ie<8){f.addClass("footnote-focus").one("blur",function(){b(this).removeClass("footnote-focus")})}return false})}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.formvalid={type:"plugin",depends:["validate","validateAdditional","metadata"],languages:["ar","bg","ca","cs","da","de","el","es","et","eu","fa","fi","fr","he","hr","hu","it","ja","ka","kk","lt","lv","nl","no","pl","pt","pt_BR","pt_PT","ro","ru","si","sk","sl","sr","sv","th","tr","uk","vi","zh","zh_TW"],methods:["de","nl","pt"],_exec:function(g){var c=g.find("form"),j=c.get(0),s=j.getElementsByTagName("label"),r=s.length,e=j.getElementsByTagName("input"),h=b(e),u=e.length,k,n,o,m=false,i=c.find("[required]").attr("aria-required","true"),v="errors-"+(c.attr("id")===undefined?"default":c.attr("id")),f,p=pe.language.replace("-","_"),w=pe.get_language(p,a.fn.formvalid.languages,"_"),t=pe.get_language(p,a.fn.formvalid.methods,"_"),q;if(w!==null){pe.add._load(pe.add.liblocation+"i18n/formvalid/messages_"+w+pe.suffix+".js")}if(t!==null){pe.add._load(pe.add.liblocation+"i18n/formvalid/methods_"+t+pe.suffix+".js")}n=r;while(n--){s[n].innerHTML+=" "}function l(A,y,z){var d=A.attr("class"),B=(d!==undefined?d.search(/validate\s?:\s?\{/):-1),x;if(B>-1){if(d.search("/"+y+"\\s?:/")===-1){x=d.substring(B,d.indexOf("{",B)+1);A.attr("class",d.replace(x,x+y+":"+z+", "))}}else{A.addClass("{validate:{"+y+":"+z+"}}")}return}n=u;if(n!==0&&e[0].hasAttribute!==undefined){while(n--){k=e[n];if(o){if(k.hasAttribute("pattern")){k.removeAttribute("pattern")}}else{b(k).removeAttr("pattern")}}}if(pe.ie>0&&pe.ie<9){i.removeAttr("required").each(function(){l(b(this),"required","true")});h.filter('[type="date"]').each(function(){var y=b(this),d=y.wrap("
    ").parent(),x=b(d.html().replace("type="+y.attr("type"),"type=text"));d.replaceWith(x)})}if(pe.mobile){j.setAttribute("data-ajax","false");h.filter('[type="checkbox"]').closest("fieldset").attr("data-role","controlgroup")}f=c.validate({meta:"validate",focusInvalid:false,errorElement:"strong",errorPlacement:function(d,x){d.appendTo(c.find('label[for="'+x.attr("id")+'"]'))},showErrors:function(B,C){this.defaultShowErrors();var D=c.find("strong.error").filter(":not(:hidden)"),A=c.find("input.error, select.error, textarea.error"),z=c.find("#"+v),y=''+pe.dic.get("%error")+" ",x=pe.dic.get("%colon")+" ",d;c.find('[aria-invalid="true"]').removeAttr("aria-invalid");if(D.length>0){if(z.length===0){z=b('
    ').prependTo(c)}else{z.empty()}d="

    "+pe.dic.get("%form-not-submitted")+D.length+(D.length!==1?pe.dic.get("%errors-found"):pe.dic.get("%error-found"))+"

    ";z.append(d);if(m){pe.focus(z)}if(pe.ie===0||pe.ie>7){c.find(".errorContainer a").on("click vclick",function(){var E=pe.focus(b(b(this).attr("href"))).prev().offset().top;if(pe.mobile){b.mobile.silentScroll(E)}else{b(document).scrollTop(E)}return false})}m=false}else{z.detach()}},invalidHandler:function(x,d){m=true}});h.filter('[type="reset"]').on("click vclick touchstart",function(){f.resetForm();var d=c.find("#"+v);if(d.length>0){d.empty()}c.find('[aria-invalid="true"]').removeAttr("aria-invalid")});return g}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.langselect={type:"plugin",_exec:function(c){c.on("click",function(){var d=window.location.toString();if((d.search(/_f\.htm/)>-1)||(d.search(/-fra\./)>-1)){d=d.replace(/_f\./,"_e.").replace(/-fra\./,"-eng.")}else{d=d.replace(/_e\./,"_f.").replace(/-eng\./,"-fra.")}if(d.search(/lang=eng/)>-1){d=d.replace(/lang=eng/,"lang=fra")}else{d=d.replace(/lang=fra/,"lang=eng")}window.location=d;return false})}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.lightbox={type:"plugin",depends:["colorbox","metadata"],groupindex:0,_exec:function(g){var c,i,k,d,e,l,h,j,f=false;c={transition:"elastic",loop:true,current:pe.dic.get("%lb-current"),previous:pe.dic.get("%lb-prev"),next:pe.dic.get("%lb-next"),close:pe.dic.get("%close"),xhrError:pe.dic.get("%lb-xhr-error"),imgError:pe.dic.get("%lb-img-error"),maxWidth:"100%",maxHeight:"100%",slideshowStart:pe.dic.get("%start")+" "+pe.dic.get("%lb-slideshow"),slideshowStop:pe.dic.get("%stop")+" "+pe.dic.get("%lb-slideshow"),slideshow:false,slideshowAuto:false,onLoad:function(){var n=d.find("#cboxTitle"),m=n.next()},onComplete:function(){var n=d.find("#cboxTitle"),m=n.next();e=d.find("#cboxLoadedContent").attr("tabindex","0");e.attr("aria-label",n.text()+" "+m.text());if(e.children(".cboxPhoto").length===0){e.attr("role","document")}else{e.children().attr("alt",n.text())}pe.focus(e);f=true},onClosed:function(){f=false}};i={transition:(g.hasClass("transition-fade")?"fade":(g.hasClass("transition-none")?"none":undefined)),loop:g.hasClass("loop-none")?false:undefined,slideshow:g.hasClass("slideshow")?true:undefined,slideshowAuto:g.hasClass("slideshow-auto")?true:undefined};b.metadata.setType("attr","data-wet-boew");if(typeof wet_boew_lightbox!=="undefined"&&wet_boew_lightbox!==null){b.extend(c,wet_boew_lightbox,i,g.metadata())}else{b.extend(c,i,g.metadata())}k=g.find(".lb-item, .lb-gallery, .lb-hidden-gallery").on("vclick",function(){b.colorbox.launch(this)});k.filter(".lb-item").attr("aria-haspopup","true").each(function(){pe.fn.lightbox._init_colorbox(this,c)});k.filter(".lb-gallery, .lb-hidden-gallery").each(function(){var m="group"+(pe.fn.lightbox.groupindex+=1);b(this).find(".lb-item-gal").attr("aria-haspopup","true").each(function(){pe.fn.lightbox._init_colorbox(this,c,m)})});d=b("#colorbox #cboxContent").attr("role","dialog");d.find("#cboxNext, #cboxPrevious, #cboxClose").attr({tabindex:"0",role:"button","aria-controls":"cboxLoadedContent"});l=d.find("#cboxNext");h=d.find("#cboxPrevious");j=d.find("#cboxClose");d.on("keydown",function(n){var m=n.target.id;if(!(n.ctrlKey||n.altKey||n.metaKey)){if(n.keyCode===9){if(n.shiftKey&&m==="cboxLoadedContent"){pe.focus(j);n.preventDefault()}else{if(!n.shiftKey&&m==="cboxClose"){pe.focus(d.find("#cboxLoadedContent"));n.preventDefault()}}}else{if(n.keyCode===13||n.keyCode===32){if(m==="cboxLoadedContent"||m==="cboxNext"){b.colorbox.next();n.preventDefault()}else{if(m==="cboxPrevious"){b.colorbox.prev();n.preventDefault()}else{if(m==="cboxClose"){b.colorbox.close();n.preventDefault()}}}}}}})},_init_colorbox:function(f,e,g){var c=b(f),d=c.attr("href").substring(0,1)==="#",j=(g!==undefined),i=(j?g:false),h=this._get_title(f);c.colorbox((d||j||h)?b.extend((h?h:{}),e,{inline:d,rel:i}):e)},_get_title:function(c){var d=document.getElementById(c.getAttribute("data-title"));return(d&&d.innerHTML.length>0)?{title:d.innerHTML}:false}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.menubar={type:"plugin",depends:(a.mobile?[]:["resize","equalheights","hoverintent","outside"]),ignoreMenuBarClicks:false,_exec:function(j){if(pe.mobile){return}var d,h,m=j,f=m.parent(),p,l,g,c,e,o=pe.dic.get("%sub-menu-help"),n,k,i;e=function(s){g();var r=b(s).closest("li"),q=r.find(".mb-sm");q.attr({"aria-expanded":"true","aria-hidden":"false"}).toggleClass("mb-sm mb-sm-open");if((Math.floor(q.offset().left+q.width())-Math.floor(h.offset().left+h.width()))>=-1){q.css("right","0")}r.addClass("mb-active");return};l=function(s){var r=b(s),q=r.closest("li").find(".mb-sm-open");if(pe.cssenabled){q.find("a").attr("tabindex","0")}r.trigger("item-next");return};c=function(s){var r=b(s).closest("li"),q=r.find(".mb-sm-open");q.attr({"aria-expanded":"false","aria-hidden":"true"}).toggleClass("mb-sm mb-sm-open").css("right","");if(pe.cssenabled){q.find("a").attr("tabindex","-1")}r.removeClass("mb-active");return};g=function(){d.find(".mb-sm-open").each(function(){var q=b(this).closest("li");return c(q)});return};p=function(){var q=d.children("li:last"),r=(q.offset().top+q.outerHeight())-m.offset().top;return m.css("min-height",r)};h=m.children("div");d=h.children("ul");m.detach();m.attr("role","application");n=m.find("> div > ul").attr("role","menubar").get(0).getElementsByTagName("*");i=n.length;while(i--){k=n[i];if(k.tagName.toLowerCase()==="a"){k.setAttribute("role","menuitem")}else{k.setAttribute("role","presentation")}}pe.resize(p);m.find("ul.mb-menu > li").find("a:eq(0)").each(function(r,t){var q=b(t).addClass("knav-"+r+"-0-0"),s=q.closest("li").find(".mb-sm");if(s.length>0){q.attr("aria-haspopup","true").addClass("mb-has-sm").attr("href","#").wrapInner('');s.attr({role:"menu","aria-expanded":"false","aria-hidden":"true"}).find(":has(:header) ul").attr("role","menu");q.append(''+o+"");q.closest("li").hoverIntent({over:function(){return e(this)},out:function(){return c(this)},timeout:500});s.find("h3 a, h4 a, div.top-level > a, li.top-level a, div.mb-main-link > a").each(function(u){var w=b(this),v=w.parent();this.className+=" knav-"+r+"-"+(u+1)+"-0";if(v.is("h3, h4")){w.parent().next("ul").find("a").each(function(x){this.className+=" knav-"+r+"-"+(u+1)+"-"+(x+1)})}return});s.find("> ul li, > div > ul li").filter(":not(.top-level)").children("a").each(function(u){this.className+=" knav-"+r+"-0-"+(u+1)})}});if(pe.cssenabled){m.find(".mb-sm a").attr("tabindex","-1")}m.appendTo(f);p();m.find(".mb-sm").on("click vclick touchstart",function(q){if(q.stopPropagation){q.stopPropagation()}else{q.cancelBubble=true}}).parent().on("click vclick touchstart mouseenter mouseleave","> :header a",function(r){var q=r.type;if(q==="mouseenter"){a.fn.menubar.ignoreMenuBarClicks=true}else{if(q==="mouseleave"){a.fn.menubar.ignoreMenuBarClicks=false}else{if(b(this).closest("li").hasClass("mb-active")){if(q!=="click"||!a.fn.menubar.ignoreMenuBarClicks){c(this)}}else{e(this)}return false}}});m.on("keydown focusin section-next section-previous item-next item-previous close","li",function(z){var v,r,D=b(z.target),x=m.find(".mb-active"),C,A=z.keyCode,B=z.type,w,y,s,u,t,q;C=b.map(/\bknav-(\d+)-(\d+)-(\d+)/.exec(D.attr("class")),function(E){return parseInt(E,10)});if(B==="keydown"){if(!(z.ctrlKey||z.altKey||z.metaKey)){if(A===13){if(C[2]===0&&C[3]===0&&D.hasClass("mb-has-sm")){l(z.target);return false}}else{if(A===27){D.trigger("close");return false}else{if(A===32){if(C[2]===0&&C[3]===0&&D.hasClass("mb-has-sm")){l(z.target)}else{window.location=D.attr("href")}return false}else{if(A===37){D.trigger("section-previous");return false}else{if(A===38){if(C[2]===0&&C[3]===0){l(z.target)}else{D.trigger("item-previous")}return false}else{if(A===39){D.trigger("section-next");return false}else{if(A===40){if(C[2]===0&&C[3]===0){l(z.target)}else{D.trigger("item-next")}return false}else{if((A>47&&A<58)||(A>64&&A<91)){w=String.fromCharCode(A).toLowerCase();y=(C[2]!==0||C[3]!==0);s=D.text();u=x.find(".mb-sm-open a").filter(function(){var E=b(this);return(E.text().substring(0,1).toLowerCase()===w||(y&&E.text()===s))});if(u.length>0){if(y){u.each(function(E){if(b(this).text()===s){t=E;return false}});if(t<(u.length-1)){pe.focus(u.eq(t+1));return false}}pe.focus(u.eq(0))}return false}}}}}}}}}}else{if(B==="close"){if((!!C[2]<<1|!!C[3])===0){pe.focus(pe.main.find("#wb-cont").attr("tabindex","-1"))}else{pe.focus(x.find(".knav-"+C[1]+"-0-0"))}setTimeout(function(){return g()},5)}else{if(B==="section-previous"){q=!!C[2]<<1|!!C[3];switch(q){case 0:case 1:r=m.find(".knav-"+(C[1]-1)+"-0-0");if(r.length>0){pe.focus(r)}else{pe.focus(m.find("ul.mb-menu > li:last").find("a:eq(0)"))}break;case 2:case 3:r=x.find(".knav-"+(C[1])+"-"+(C[2]-1)+"-0");if(r.length>0&&C[2]>1){pe.focus(r)}else{r=m.find(".knav-"+(C[1]-1)+"-0-0");if(r.length>0){pe.focus(r)}else{pe.focus(m.find("ul.mb-menu > li:last").find("a:eq(0)"))}}break}return false}else{if(B==="section-next"){q=!!C[2]<<1|!!C[3];switch(q){case 0:case 1:v=m.find(".knav-"+(C[1]+1)+"-0-0");if(v.length>0){pe.focus(v)}else{pe.focus(m.find(".knav-0-0-0"))}break;case 2:case 3:v=x.find(".knav-"+(C[1])+"-"+(C[2]+1)+"-0");if(v.length>0){pe.focus(v)}else{v=m.find(".knav-"+(C[1]+1)+"-0-0");if(v.length>0){pe.focus(v)}else{pe.focus(m.find(".knav-0-0-0"))}}break}return false}else{if(B==="item-next"){v=x.find(".knav-"+C[1]+"-"+(C[2])+"-"+(C[3]+1));if(v.length===0){v=x.find(".knav-"+C[1]+"-"+(C[2]+1)+"-0")}if(v.length!==0){pe.focus(v)}else{pe.focus(x.find(".knav-"+C[1]+"-0-1, .knav-"+C[1]+"-1-0").first())}return false}else{if(B==="item-previous"){r=((C[2]!==0&&C[3]!==0)||(C[2]===0&&C[3]>1)?x.find(".knav-"+C[1]+"-"+(C[2])+"-"+(C[3]-1)):"");if(r.length===0){r=(C[2]!==0?x.find("a").filter('[class*="knav-'+C[1]+"-"+(C[2]-1)+'-"]:not(.knav-'+C[1]+"-0-0)").last():"")}if(r.length!==0){pe.focus(r)}else{pe.focus(x.find('[class*="knav-"]').last())}return false}else{if(B==="focusin"&&C[2]===0&&C[3]===0){g();if(D.find(".expandicon").length>0){e(z.target)}}}}}}}}});b(document).on("click vclick touchstart",function(){m.trigger("focusoutside")});m.on("focusoutside",function(){return g()});return m}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.multimedia={type:"plugin",polyfills:["progress"],icons:b(''),get_image:function(i,h,c,e){var d,f;c=c!==undefined?c:20;e=e!==undefined?e:20;if(pe.svg){d=a.fn.multimedia.icons.clone();d.attr({height:c,width:e});d.prepend(""+h+"");d.children(':not(g[id="'+i+'"])').remove();f=d.children("g");f.removeAttr("id");if(c!==20||e!==20){f.attr("transform","scale("+e/20+","+c/20+")")}return d.attr({role:"img","aria-label":h})}return b(''+h+'')},_exec:function(p){var d,m=false,f=p.children("audio, video").eq(0),l=f.is("video")?"video":"audio",g,e=l==="video"?f.attr("width"):"0",s=l==="video"?f.attr("height"):"0",j,k=true,c,r,o="video/mp4",i="audio/mp3",n=a.add.liblocation+"binary/multimedia.swf?seed="+Math.random(),q,h;if(p.attr("id")!==undefined){d=p.attr("id")}else{d="wet-boew-mediaplayer"+p.index();p.attr("id",d)}if(f.attr("id")!==undefined){g=f.attr("id")}else{g=d+"-media";f.attr("id",g)}if(f.children('track[kind="captions"]')){j=f.children('track[kind="captions"]').attr("src")}if(f.get(0).error===null&&f.get(0).currentSrc!==""&&f.get(0).currentSrc!==undefined){m=true}else{q="id="+p.attr("id");if(l==="video"){r=''+f.attr(';if(k&&f.find("source").filter('[type="'+o+'"]').length>0){q+="&height="+f.height()+"&width="+f.width()+"&posterimg="+encodeURI(a.url(f.attr("poster")).source)+"&media="+encodeURI(a.url(f.find("source").filter('[type="'+o+'"]').attr("src")).source);m=true}}else{if(k&&l==="audio"&&f.find("source").filter('[type="'+i+'"]').length>0){q+="&media="+a.url(f.find("source").filter('[type="'+i+'"]').attr("src")).source;m=true}else{m=false}}if(m){c=b(''+(typeof r==="string"?r:""));f.before(c);f.remove();f=c}else{if(r!==undefined){f.before(b(r));f.remove()}}}if(m){h=f.is("object")?f.children(":first-child"):f;b.extend(p.get(0),{object:f.get(0),evtmgr:h},a.fn.multimedia._intf);if(l==="video"){f.before(b('