').appendTo("body");if(f.css("display")!=="none"){return}f.remove();g=h.wrap('
').parent();h.wrap('
');h.attr({role:"menu",id:"slideout-body"}).find("ul, li").attr("role","presentation");if(i){h.find('a[href="'+window.location.href+'"]').replaceWith('
'+b(this).text()+"")}e=h.find("a").attr("role","menuitem");n=function(){if(!r){var u=b("#wb-core-in").offset().left;if(u<=t){u=0}g.css("top",b("#wb-core-in").offset().top);g.css("right",u)}};m=function(v){o.off("click vclick touchstart",m);e.off("click vclick touchstart",m);d.off("click vclick touchstart",m);g.off("keydown",j);h.off("keydown",j);b(document).off("click vclick touchstart",l);if(!r){var u=g.position();if(pe.ie<=0||document.documentMode!==undefined){g.removeClass("slideoutWrapper").addClass("slideoutWrapperRel").css({top:u.top-b("#wb-core-in").offset().top,right:t-10})}setTimeout(function(){h.show()},50);pe.focus(e.eq(0))}r=!r;g.animate({width:parseInt(g.css("width"),10)===(k.imgShow.width+q)?h.outerWidth()+(k.imgShow.width+q):(k.imgShow.width+q)+"px"},function(){if(!r){h.hide();g.find("#slideoutInnerWrapper").css("width",k.imgHide.width);if(pe.ie<=0||document.documentMode!==undefined){g.addClass("slideoutWrapper");g.removeClass("slideoutWrapperRel");g.css("width",(k.imgShow.width+q)+"px").css("top",b("#wb-core-in").offset().top);n()}}else{if(parseInt(pe.ie,10)===7&&document.documentMode===undefined){h.find("ul").html(h.find("ul").html())}}o.on("click vclick touchstart",m);e.on("click vclick touchstart",m);d.on("click vclick touchstart",m);g.on("keydown",j);h.on("keydown",j);b(document).on("click vclick touchstart",l)});if(r){g.find("#slideoutToggle a img").attr({src:k.imgHide.src,title:k.imgHide.alt,alt:k.imgHide.alt});g.find("#slideoutToggle a");h.attr("aria-hidden","false");g.find("#slideoutInnerWrapper").css("width","")}else{g.find("#slideoutToggle a img").attr({src:k.imgShow.src,title:k.imgShow.alt,alt:k.imgShow.alt});g.find("#slideoutToggle a");h.attr("aria-hidden","true")}if(b(v.target).is(d)){return false}};j=function(A){var z=b(A.target),y=z.is('[role="menuitem"]'),u,B,x,v,w;if(y){e.each(function(C){if(b(this).is(z)){u=C;return false}})}if(!(A.ctrlKey||A.altKey||A.metaKey)){switch(A.keyCode){case 9:if(r&&((A.shiftKey&&z.is(o))||(!A.shiftKey&&z.is(d)))){o.trigger("click");pe.focus(o);return false}break;case 13:z.trigger("click");if(z.is(d)){pe.focus(o);return false}break;case 27:if(r){m();pe.focus(o);return false}break;case 32:z.trigger("click");if(z.is(d)){pe.focus(o);return false}break;case 38:if(!y){if(r){pe.focus(e.eq(e.length-1))}else{o.trigger("click")}}else{if(u===0){pe.focus(e.eq(e.length-1))}else{pe.focus(e.eq(u-1))}}return false;case 40:if(!y){if(r){pe.focus(e.eq(0))}else{o.trigger("click")}}else{if(u===e.length-1){pe.focus(e.eq(0))}else{pe.focus(e.eq(u+1))}}return false;default:if((A.keyCode>47&&A.keyCode<58)||(A.keyCode>64&&A.keyCode<91)){B=String.fromCharCode(A.keyCode).toLowerCase();x=b(A.target).text();w=h.find("a").filter(function(){return(b(this).text().substring(0,1).toLowerCase()===B||b(this).text()===x)});if(w.length>0){w.each(function(C){if(b(this).text()===x){v=C;return false}});if(v<(w.length-1)){pe.focus(w.eq(v+1));return false}pe.focus(w.eq(0))}return false}}}else{if(A.metaKey&&A.keycode===9){if(z.is(o)){o.trigger("click");return false}}}};e.on("click vclick touchstart",m);g.on("keydown",j);h.on("keydown",j);l=function(u){if(r&&!b(u.target).is(h)&&!b(u.target).is(g)&&b(u.target).closest(h).length===0){m()}};b(document).on("click vclick touchstart",l);h.append('
'+s+"");d=h.find("#slideoutClose");g.find("#slideoutInnerWrapper").css("padding",(q/2)+"px").prepend('
');o=g.find("#toggleLink");g.find("#slideoutToggle").css({width:k.imgShow.width,height:k.imgShow.height});h.addClass("tabbedSlideout");p=h.outerHeight();g.css("width",(k.imgShow.width+q)+"px").css("top",b("#wb-core-in").offset().top);h.hide().attr("aria-hidden","true");g.find("#slideoutInnerWrapper").css("width",k.imgHide.width);if(pe.ie>0&&pe.ie<8&&document.documentMode===undefined){c=false}if(c){g.addClass("slideoutWrapper");pe.resize(n);n()}else{g.addClass("so-ie7");g.addClass("slideoutWrapperRel").css({right:t-10,top:"0"})}o.on("click vclick touchstart",m);d.on("click vclick touchstart",m);if(parseInt(pe.ie,10)===7){b("html").css("overflowY","auto")}}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.tabbedinterface={type:"plugin",depends:(pe.mobile?[]:["metadata","easytabs","equalheights"]),mobile:function(i,k){if(typeof k==="undefined"||!k){i.find(".wet-boew-tabbedinterface").each(function(){a.fn.tabbedinterface.mobile(b(this),true)})}var h=i.children(".tabs").children("li"),c=i.children(".tabs-panel").children("div"),j=0,e='
',o,l,n,d,m,g,f;for(g=0,f=h.length;g
";m="";c.each(function(p){e+='"+d+h.eq(p).children("a").text()+m+this.innerHTML+"
"});e+="";i.html(e);return i},_exec:function(h){if(pe.mobile){return a.fn.tabbedinterface.mobile(h).trigger("create")}var f,r=h.children(".tabs"),d=r.find("a").filter(":not(.tabs-toggle)"),c=h.children(".tabs-panel"),j=c.children(),e,p,l,n,m,g,s,v,k=pe.dic.get("%pause"),t=pe.dic.get("%tab-rotation","disable"),u=pe.dic.get("%play"),i=pe.dic.get("%tab-rotation","enable"),o,q,x,w="-link";n={panelActiveClass:"active",tabActiveClass:"active",defaultTab:"li:first-child",autoHeight:true,cycle:false,carousel:false,autoPlay:false,animate:false,animationSpeed:"normal",updateHash:false};m={defaultTab:((h.find(".default").length)?".default":undefined),autoHeight:h.hasClass("auto-height-none")?false:undefined,cycle:(h.hasClass("cycle-slow")?8000:(h.hasClass("cycle-fast")?2000:(h.hasClass("cycle")?6000:undefined))),carousel:h.hasClass("style-carousel")?true:undefined,autoPlay:h.hasClass("auto-play")?true:undefined,animate:(h.hasClass("animate")||h.hasClass("animate-slow")||h.hasClass("animate-fast"))?true:undefined,animationSpeed:(h.hasClass("animate-slow")?"slow":(h.hasClass("animate-fast")?"fast":undefined))};b.metadata.setType("attr","data-wet-boew");if(typeof wet_boew_tabbedinterface!=="undefined"&&wet_boew_tabbedinterface!==null){b.extend(n,wet_boew_tabbedinterface,m,h.metadata())}else{b.extend(n,m,h.metadata())}r.attr("role","tablist").children("li").attr("role","presentation");d.attr({role:"tab","aria-selected":"false"});c.attr("id",j.eq(0).attr("id")+"-parent");j.attr({tabindex:"-1",role:"tabpanel","aria-hidden":"true"}).each(function(){if(pe.ie!==0){this.setAttribute("aria-labelledby",this.id+w)}});f=r.find(".default a");if(f.length===0){f=r.find("li:first-child a")}f.attr("aria-selected","true");j.filter(this.hash).attr("aria-hidden","false");d.on("keydown click",function(z){var y=b(z.target),A;if(z.type==="keydown"){if(z.keyCode===13||z.keyCode===32){if(z.stopPropagation){z.stopImmediatePropagation()}else{z.cancelBubble=true}z.preventDefault();if(!y.is(d.filter("."+n.tabActiveClass))){v(y,d,j,n,false)}else{pe.focus(j.filter(y.attr("href")))}}else{if(z.keyCode===37||z.keyCode===38){v(s(d),d,j,n,false);z.preventDefault()}else{if(z.keyCode===39||z.keyCode===40){v(g(d),d,j,n,false);z.preventDefault()}}}}else{A=j.filter(y.attr("href"));if(!A.data("easytabs").lastHeight){A.data("easytabs").lastHeight=A.outerHeight()}}});g=function(y){var z=y.filter("."+n.tabActiveClass).parent().next(":not(.tabs-toggle)");return(z.length===0?y.first():z.children("a"))};s=function(y){var z=y.filter("."+n.tabActiveClass).parent().prev();return(z.length===0?y.last():z.children("a"))};v=function(z,y,D,C,B){var A,F,E;D.stop(true,true);if(C.animate){F=D.filter("."+C.panelActiveClass).removeClass(C.panelActiveClass).attr("aria-hidden","true");E=D.filter(z.attr("href"));F.fadeOut(C.animationSpeed,function(){return E.fadeIn(C.animationSpeed,function(){return b(this).addClass(C.panelActiveClass).attr("aria-hidden","false")})})}else{D.removeClass(C.panelActiveClass).attr("aria-hidden","true").hide();D.filter(z.attr("href")).show().addClass(C.panelActiveClass).attr("aria-hidden","false")}y.removeClass(C.tabActiveClass).attr("aria-selected","false").parent().removeClass(C.tabActiveClass);z.addClass(C.tabActiveClass).attr("aria-selected","true").parent().addClass(C.tabActiveClass);A=z.parent().siblings(".tabs-toggle");if(!B&&(A.length===0||A.data("state")==="stopped")){return pe.focus(z)}};q=function(){if(p.data("state")==="stopped"){l(d,j,n);e.removeClass("tabs-start").addClass("tabs-stop").html(k+'
'+t+"");return b(".wb-invisible",e).text(t)}if(p.data("state")==="started"){return o()}};if(n.autoHeight&&!h.hasClass("tabs-style-4")&&!h.hasClass("tabs-style-5")){j.show();c.equalHeights(true)}h.easytabs(b.extend({},n,{cycle:false}));if(n.cycle){l=function(y,B,A){var z,C;z=y.filter("."+A.tabActiveClass);C=z.siblings(".tabs-roller");h.find(".tabs-toggle").data("state","started");return C.show().animate({width:z.parent().width()},A.cycle-200,"linear",function(){b(this).width(0).hide();v(g(y),y,B,A,true);return h.data("interval",setTimeout(function(){return l(y,B,A)},0))})};o=function(){clearTimeout(h.data("interval"));h.find(".tabs-roller").width(0).hide().stop();h.find(".tabs-toggle").data("state","stopped");e.removeClass("tabs-stop").addClass("tabs-start").html(u+'
'+i+"");return b(".wb-invisible",e).text(i)};x=c.attr("id");r.append('
'+pe.dic.get("%previous")+"");r.find(".tabs-prev").on("click",function(){v(s(d),d,j,n,true)});r.append('
'+pe.dic.get("%next")+"");r.find(".tabs-next").on("click",function(){v(g(d),d,j,n,true)});p=b('
'+k+''+t+"");e=p.find("a");r.append(p);p.click(q).on("keydown",function(y){if(y.keyCode===32){q();return y.preventDefault()}});r.find("li a").not(p.find("a")).on("click",function(){return o()});d.each(function(){var y;y=b('
').hide().on("click",function(){return b(this).siblings("a").trigger("click")}).on("hover",function(){return b(this).css("cursor","text")});if(pe.ie>0&&pe.ie<8){b(".tabs-style-2 .tabs, .tabs-style-2 .tabs li").css("filter","")}return b(this).parent().append(y)});l(d,j,n);if(!n.autoPlay){o()}}h.find("a").filter('[href^="#"]').each(function(){var A=b(this),y,z;z=A.attr("href");if(z.length>1){y=b(z,j);if(y.length){return A.on("click",function(D){var B,C;B=y.parents('[role="tabpanel"]:hidden');if(B){D.preventDefault();C=B.attr("id");B.parent().siblings(".tabs").find("a").filter('[href="#'+C+'"]').trigger("click");return y.get(0).scrollIntoView(true)}})}}});return h.attr("class",h.attr("class").replace(/\bwidget-style-/,"style-"))}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.texthighlight={type:"plugin",_exec:function(d){function c(h,k){var e,j,g,f;h=h.replace(/^\s+|\s+$/g,"");h=h.replace(/\|+/g,"");e=h.split("+");if(e.length>0){h="";for(g=0,f=e.length;g
]*<))([\\s'])?("+h+")(?!>)";j=k.html().replace(new RegExp(h,"gi"),function(n,m,l,i){return(typeof l==="undefined"?"":l)+''+i+""});k.html(j);return null}if(pe.urlquery.texthighlight!==undefined){c(pe.urlquery.texthighlight,d)}return this}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.wamethod={type:"plugin",_exec:function(j){var g=j.find("#summary"),i=g.find("td"),e=j.find("#checklist input"),d=g.find("span").html("0"),f=d.filter("#rsltAAA").length>0;i.find("td").attr("aria-live","polite").attr("aria-relevant","text").attr("aria-atomic","true").attr("aria-busy","false");e.on("change",function(){var l=e.filter('[id^="ap"]:checked, [id^="an"]:checked').length,m=l+e.filter('[id^="af"]:checked').length,q=e.filter('[id^="aap"]:checked, [id^="aan"]:checked').length,p=q+e.filter('[id^="aaf"]:checked').length,o=e.filter('[id^="aaap"]:checked, [id^="aaan"]:checked').length,n=o+e.filter('[id^="aaaf"]:checked').length,k=e.filter('[id^="an"]:checked, [id^="aan"]:checked, [id^="aaan"]:checked').length;i.attr("aria-busy","true");d.filter("#rsltA").html(l);d.filter("#percA").html(Math.round(l/0.25));d.filter("#rsltAA").html(q);d.filter("#percAA").html(Math.round(q/0.13));d.filter("#naTotal").html(k);if(f){d.filter("#rsltAAA").html(o);d.filter("#percAAA").html(Math.round(o/0.23))}d.filter("#evalTotal").html(m+p+n);d.filter("#percEvalTotal").html(Math.round((m+p+n)/0.61));d.filter("#rsltTotal").html(l+q+o);d.filter("#percTotal").html(Math.round((l+q+o)/0.61));d.filter("#percNATotal").html(Math.round(k/0.61));i.attr("aria-busy","false")});function c(){j.find("h2, #checklist h3, .last").each(function(){var k=b(this);k.before("<"+k.get(0).tagName+' class="print">'+k.text()+""+k.get(0).tagName+">");k.hide()})}function h(){j.find("h2, #checklist h3, .last").each(function(){j.find(".print").remove();j.find("h2, #checklist h3, .last").show()})}if(pe.ie>0&&pe.ie<9){window.onbeforeprint=c;window.onafterprint=h}return j}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.webwidget={type:"plugin",twitter:{_parse_entries:function(d,e,k){var j,h,c,g,f;j=(e>0&&e';for(h=0;h '+pe.string.ify.clean(f.text)+' '+pe.dic.ago(f.created_at)+""}c+="";return k.replaceWith(c)},_map_entries:function(c){return c},_json_request:function(c){if(c.toLowerCase().indexOf("!/search/")>-1){return c.replace("http://","https://").replace(/https:\/\/twitter.com\/#!\/search\/(.+$)/,function(e,d){return"http://search.twitter.com/search.json?q="+encodeURI(decodeURI(d))})}return c.replace("http://","https://").replace(/https:\/\/twitter.com\/#!\/(.+$)/i,function(e,d){return"http://twitter.com/status/user_timeline/"+encodeURI(decodeURI(d))+".json?callback=?"})}},weather:{_parse_entries:function(d,e,g){var f=d[1],c='- '+f.title+'['+pe.date.to_iso_format(f.publishedDate,true)+"]
";return g.replaceWith(c)},_map_entries:function(c){return c.responseData.feed.entries},_json_request:function(d,c){var e;d=d.replace(/^.*?\.gc\.ca\/([a-z]+).+\/(.*?)_[a-z]+_([ef])\.html/i,"http://www.weatheroffice.gc.ca/rss/$1/$2_$3.xml");e="http://ajax.googleapis.com/ajax/services/feed/load?v=1.0&callback=?&q="+encodeURI(decodeURI(d));if(c>0){e+="&num="+c}return e}},rss:{_parse_entries:function(d,e,k){var j,h,c,g,f;j=(e>0&&e';for(h=0;h'+f.title+'['+pe.date.to_iso_format(f.publishedDate,true)+"]"}c+="";return k.replaceWith(c)},_map_entries:function(c){return c.responseData.feed.entries},_json_request:function(d,c){var e;e="http://ajax.googleapis.com/ajax/services/feed/load?v=1.0&callback=?&q="+encodeURI(decodeURI(d));if(c>0){e+="&num="+c}return e}},_exec:function(h,j){var o,m,d,e,g,f,l,n,k,c;d=a.limit(h);m=h.find("a").map(function(){var i=this.href;if(!j&&/twitter.com/i.test(i)){j="twitter"}if(!j&&/weatheroffice.gc.ca/i.test(i)){j="weather"}if(!j){j="rss"}return i});o=b('
');h.find(".widget-content").replaceWith(o);e=a.fn.webwidget[j];l=m.length-1;g=[];k=e._parse_entries;f=m.length-1;c=[];n=function(q){var p,i;q=e._map_entries(q);for(p=0,i=q.length;p=0){b.getJSON(e._json_request(m[f]),n);c.push(f-=1)}b.extend({},c);return}};window.pe=a;return window.pe}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.zebra={type:"plugin",fnZebraComplexTable:function(f,c){var h,k,g,m,d,e,l;if(!b(f).data().tblparser){a.fn.parsertable.parse(b(f))}h=b(f).data().tblparser;if(h.keycell){for(k=0;k0&&h.row[k-1].type&&h.row[k-1].type===3&&h.row[k-1].rowgroup.uid!==h.row[k].rowgroup.uid){b(h.row[k].rowgroup.elem).addClass("table-rowgroupmarker")}}}b("th",f).each(function(){var i=b(this);if(i.data().tblparser.type===7){i.addClass("table-headgroup"+i.data().tblparser.scope+i.data().tblparser.level)}});if(h.colgroup){for(k=0;k0&&h.colgroup[k].type===3&&h.colgroup[k-1].type===3&&h.colgroup[k-1].level>h.colgroup[k].level)||(h.colgroup[k].type===2&&((k>0&&h.colgroup[0].type===2)||(k>1&&h.colgroup[0].type===1))))){b(h.colgroup[k].elem).addClass("table-colgroupmarker")}}}if(h.lstrowgroup){for(k=0;k0){b(h.lstrowgroup[k].elem).addClass("table-rowgroupmarker")}}}if(!c.noheaderhighlight||c.columnhighlight){m=function(n){var j=[],i=b(n).data().tblparser;if(i.row&&i.row.header&&!c.norowheaderhighlight){for(k=0;k0});e.on("mouseleave focusout",function(i){i.stopPropagation();b(this).removeClass("table-hover")});e.on("mouseenter focusin",function(i){i.stopPropagation();b(this).addClass("table-hover")});if(c.vectorstripe){if(!c.columnhighlight){e.filter(":odd").addClass("table-even");e.filter(":even").addClass("table-odd")}else{l=[];for(k=0;k1||f.children("thead").children("tr").length>1||f.children("colgroup").length>2)){o=false}if(o&&(f.children("colgroup").length===2&&f.children("colgroup:first").children("col").length>1)){o=false}if(o&&(b("tr:first th, tr:first td, tr",f).length)0){o=false;return}h+=1});if(o){d=(f.children("tr").add(f.children("tbody").children("tr"))).filter(function(){return b(this).children("td").length>0});d.on("mouseleave focusout",function(i){i.stopPropagation();b(this).removeClass("table-hover")});d.on("mouseenter focusin",function(i){i.stopPropagation();b(this).addClass("table-hover")});if(!c.columnhighlight){d.filter(":odd").addClass("table-even");d.filter(":even").addClass("table-odd")}else{k=f.children("colgroup:last").children("col");b(k).filter(":odd").addClass("table-even");b(k).filter(":even").addClass("table-odd")}return}if(a.fn.parsertable){a.fn.zebra.fnZebraComplexTable(f,c);return}if(a.fn.zebra.complexTblStack){a.fn.zebra.complexTblStack.push(f);a.fn.zebra.complexTblOptsStack.push(jQuery.extend(true,{},c));return}a.fn.zebra.complexTblStack=[];a.fn.zebra.complexTblOptsStack=[];a.fn.zebra.complexTblStack.push(f);a.fn.zebra.complexTblOptsStack.push(jQuery.extend(true,{},c));b(document).on("depsTableParserLoaded",function(){while(a.fn.zebra.complexTblStack.length>0){a.fn.zebra.fnZebraComplexTable(a.fn.zebra.complexTblStack.shift(),a.fn.zebra.complexTblOptsStack.shift())}});a.wb_load({dep:["parserTable"]},"depsTableParserLoaded")}else{if(f.is("dl")){b(f).children().each(function(){var i=b(this);switch(this.nodeName.toLowerCase()){case"dt":if(l){l=false;i.addClass("list-even")}else{l=true;i.addClass("list-odd")}e=[];m.push(i.get(0));i.data().dlitem=e;e.push(i.get(0));break;case"dd":if(l){i.addClass("list-odd")}else{i.addClass("list-even")}m.push(i.get(0));i.data().dlitem=e;e.push(i.get(0));break;default:break}});if(!c.nohover){b(m).on("mouseleave focusout",function(i){i.stopPropagation();b(b(this).data().dlitem).removeClass("list-hover")});b(m).on("mouseenter focusin",function(i){i.stopPropagation();b(b(this).data().dlitem).addClass("list-hover")})}}else{j=f.children("li");g=(f.parents("li").length+1)%2;j.filter(":odd").addClass(g===0?"list-odd":"list-even");j.filter(":even").addClass(g===1?"list-odd":"list-even");if(!c.nohover){j.on("mouseleave focusout",function(i){i.stopPropagation();b(this).removeClass("list-hover")});j.on("mouseenter focusin",function(i){i.stopPropagation();b(this).addClass("list-hover")})}}}}};window.pe=a;return a}(jQuery));
\ No newline at end of file
diff --git a/build/js/polyfills/datalist-min.js b/build/js/polyfills/datalist-min.js
index d800df01ae8..102f8e923a2 100644
--- a/build/js/polyfills/datalist-min.js
+++ b/build/js/polyfills/datalist-min.js
@@ -2,6 +2,6 @@
* 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.2a1
+ * Version: ${wet-boew-build.version}
*/
(function(a){a.fn.datalist=function(){return a(this).each(function(f){var g=a(this),j=a("#"+g.attr("list")),e,k,d=[],h,c,i,b;h=function(n){var l,m;if(n.length!==0){l=n.toLowerCase();m=k.filter(function(){var p=a(this),o=p.find("span.al-value").html();if(o.length===0){o=p.find("span.al-label").html()}return(l.length===0||o.toLowerCase().indexOf(l)===0)})}else{m=k}e.empty().append(m);if(m.length!==0){e.removeClass("al-hide");g.attr("aria-expanded","true")}else{e.addClass("al-hide");g.attr("aria-expanded","false")}};c=function(){e.addClass("al-hide").empty();g.attr({"aria-expanded":"false","aria-activedescendent":""})};i=function(){e.css("width",g.innerWidth());if(pe.ie>0&&pe.ie<8){e.css("top",g.innerHeight()+13)}};pe.resize(i);j.find("option").each(function(o){var n=a(this),m=n.attr("value"),l=n.attr("label");if(m==="undefined"){m=n.text()}d.push(''+(m!=="undefined"?m:"")+''+(l!=="undefined"?l:"")+"")});g.attr({autocomplete:"off",role:"textbox","aria-haspopup":"true","aria-autocomplete":"list","aria-owns":"wb-autolist-"+f,"aria-activedescendent":""}).wrap('');b=g.parent();e=a('');k=a(d.join(""));g.after(e);i();g.on("keyup keydown click vclick touchstart focus",function(o){var n=o.type,l=o.keyCode,m;if(n==="keyup"){if(!(o.ctrlKey||o.altKey||o.metaKey)){if((l>47&&l<58)||(l>64&&l<91)||l===32||l===8){h(g.val())}}}else{if(n==="keydown"){if(!(o.ctrlKey||o.metaKey)){if(!o.altKey&&!e.hasClass("al-hide")){if(l===27){c();return false}else{if((l===38||l===40)&&g.attr("aria-activedescendent")===""){if(l===38){m=e.find("a").last()}else{m=e.find("a").eq(0)}g.attr("aria-activedescendent",m.parent().attr("id"));pe.focus(m);return false}}}else{if(l===38||l===40){h("");return false}}}}else{if(n==="click"||n==="vclick"){if(!e.hasClass("al-hide")){c()}else{h("")}return false}else{if(n==="focus"&&pe.ie>0&&pe.ie<8){e.addClass("al-hide").empty()}}}}});e.on("keyup keydown click vclick touchstart","a, span",function(o){var r=o.type,q=o.keyCode,p=a(o.target),l,n,t,m=g.val(),s;if(r==="keyup"){if(!(o.ctrlKey||o.altKey||o.metaKey)){if((q>47&&q<58)||(q>64&&q<91)||q===32){g.val(m+String.fromCharCode(q));pe.focus(g);h(g.val())}else{if(q===8){if(g.val().length>0){g.val(m.substring(0,m.length-1));h(g.val())}pe.focus(g)}}}}else{if(r==="keydown"){if(!(o.ctrlKey||o.altKey||o.metaKey)){if(q===13){s=p.find("span.al-value").html();if(s.length===0){s=p.find("span.al-label").html()}g.val(s);pe.focus(g);c();return false}else{if(q===9||q===27){pe.focus(g);c();return false}else{if(q===38||q===40){l=e.find("a");if(l.length!==0){n=l.index(p);if(q===38){t=((n-1)===-1?l.last():l.eq(n-1))}else{t=((n+1)===l.length?l.eq(0):l.eq(n+1))}g.attr("aria-activedescendent",t.parent().attr("id"));pe.focus(t)}return false}}}}}else{if(r==="click"||r==="vclick"||r==="touchstart"){if(!p.hasClass("al-option")){p=p.parent()}s=p.find("span.al-value").html();if(s.length===0){s=p.find("span.al-label").html()}g.val(s);pe.focus(g);c()}}}});a(b).on("focusoutside",function(l){c()});a(document).on("click vclick touchstart",function(l){if(!e.hasClass("al-hide")&&!a(l.target).is(g)){c()}})})};a("input[list]").datalist()}(jQuery));
\ No newline at end of file
diff --git a/build/js/polyfills/datepicker-min.js b/build/js/polyfills/datepicker-min.js
index cb9e1e489ae..15a5563877c 100644
--- a/build/js/polyfills/datepicker-min.js
+++ b/build/js/polyfills/datepicker-min.js
@@ -2,6 +2,6 @@
* 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.2a1
+ * Version: ${wet-boew-build.version}
*/
(function(a){a.fn.datepicker=function(){return a(this).each(function(){var o,t,n=pe.fn.calendar,l,k,f,w=new Date(),c,u="YYYY-MM-DD",m,h,v,p,s,i,g,x=w.getMonth(),b,r,q,j=w.getFullYear(),d,e=a(this);if(e.hasClass("picker-field")){return}e.addClass("picker-field");f=function(y,B){var z=d.find('label[for="'+y+'"]').text(),A=a('');A.on("click vclick touchstart",function(){q(y,B);return false});e.after(A);l.slideUp(0)};o=function(C,E,D,G,B,z,F){B=pe.date.from_iso_format(B);z=pe.date.from_iso_format(z);var A=(E===B.getFullYear()&&D===B.getMonth()),y=(E===z.getFullYear()&&D===z.getMonth());G.each(function(H,K){if((!A&&!y)||(A===true&&H>=B.getDate())||(y===true&&H<=z.getDate())){var L=a(K).children("div"),J=a(''),I=L.parent();I.empty();J.append(L.html());J.appendTo(I);J.on("keydown",function(O){var M=a(this).closest(".cal-container"),N=M.attr("id");if(!(O.ctrlKey||O.altKey||O.metaKey)){switch(O.keyCode){case 27:q(C,C+"-picker");return false;case 32:a(this).trigger("click");return false;case 33:if(O.shiftKey){b(N,E,D,B,z,new Date(E-1,D,H+1))}else{b(N,E,D,B,z,new Date(E,D-1,H+1))}return false;case 34:if(O.shiftKey){b(N,E,D,B,z,new Date(E+1,D,H+1))}else{b(N,E,D,B,z,new Date(E,D+1,H+1))}return false;case 35:pe.focus(a(this).closest("ol").children("li").children("a").last());return false;case 36:pe.focus(a(this).closest("ol").children("li").children("a").first());return false;case 37:b(N,E,D,B,z,new Date(E,D,H));return false;case 38:b(N,E,D,B,z,new Date(E,D,H-6));return false;case 39:b(N,E,D,B,z,new Date(E,D,H+2));return false;case 40:b(N,E,D,B,z,new Date(E,D,H+8));return false}}else{if(O.ctrlKey&&!(O.altKey||O.metaKey)){switch(O.keyCode){case 35:b(N,E,D,B,z,new Date(E,11,31));return false;case 36:b(N,E,D,B,z,new Date(E,0,1));return false}}}});J.on("click vclick touchstart",{fieldid:C,year:E,month:D,day:H+1,days:G,format:F},function(M){t(M.data.fieldid,M.data.year,M.data.month+1,M.data.day,M.data.format);r(M.data.fieldid,M.data.year,M.data.month,M.data.days,M.data.format);q(M.data.fieldid,M.data.fieldid+"-picker");return false})}})};b=function(y,A,C,B,D,z){if(z.getTime()D.getTime()){z=D;z.setDate(z.getDate()+1)}}if(z.getMonth()!==C||z.getFullYear()!==A){n.create(y,z.getFullYear(),z.getMonth(),true,B,D)}pe.focus(a("#"+y).find(".cal-day-list").children("li:eq("+(z.getDate()-1)+")").children("a"))};r=function(A,E,C,H,G){var D,y,z,F;a(H).removeClass("datepicker-selected");a(H).find(".datepicker-selected-text").detach();G=G.replace("DD","(? [0-9]{2})");G=G.replace("D","(? [0-9] )");G=G.replace("MM","(? [0-9]{2})");G=G.replace("M","(? [0-9])");G=G.replace("YYYY","(? [0-9]{4})");G=G.replace("YY","(? [0-9]{2})");D="^"+G+"$";y=a("#"+A).attr("value");F=new XRegExp(D,"x");try{if(y!==""){z=a.parseJSON(y.replace(F,'{"year":"${c}", "month":"${b}", "day":"${a}"}'));if(z.year===E&&z.month===C+1){a(H[z.day-1]).addClass("datepicker-selected");a(H[z.day-1]).children("a").append(' ['+pe.dic.get("%datepicker-selected")+"]")}}}catch(B){}};t=function(y,A,C,z,B){d.find("#"+y).attr("value",m(A,C,z,B))};q=function(z,A){var y=d.find("#"+A+"-toggle");y.toggleClass("picker-toggle-hidden picker-toggle-visible");l.unbind("focusout.calendar");l.unbind("focusin.calendar");if(y.hasClass("picker-toggle-visible")){v(z);l.find("a").attr("tabindex",0);l.slideDown("fast",function(){s(a(this))});l.attr("aria-hidden","false");y.children("a").children("span").text(pe.dic.get("%datepicker-hide"));if(l.find(".cal-prevmonth a").length!==0){pe.focus(l.find(".cal-prevmonth a"))}else{if(l.find(".cal-nextmonth a").length!==0){pe.focus(l.find(".cal-nextmonth a"))}else{pe.focus(l.find(".cal-goto a"))}}}else{h(a("#"+z));pe.focus(d.find("#"+z))}};v=function(y){a(".picker-field").each(function(){if(a(this).attr("id")!==y){h(a(this))}})};h=function(D){var z,C,A,y,B;z=D.attr("id");C=z+"-picker";A=a("#"+C);y=a("#"+C+"-toggle");B=a('label[for="'+z+'"]').text();A.find("a").attr("tabindex","-1");A.slideUp("fast",function(){s(a(this))});A.attr("aria-hidden","true");n.hideGoToForm(C);y.children("a").children("span").text(pe.dic.get("%datepicker-show")+B);y.removeClass("picker-toggle-visible");y.addClass("picker-toggle-hidden")};s=function(y){var z=a("#wb-main-in"),A;if(pe.ie===7){A=y.height()+y.offset().top-z.offset().top+50;if(z.height()>=A){z.css("min-height","")}else{if(z.height()0&&pe.ie<7){A=y.height()+y.offset().top-z.offset().top+50;if(z.height()>=A){z.css("height","")}else{if(z.height()');l.on("keyup",function(y){if(y.keyCode===27){v();pe.focus(e.parent().find("#"+p+"-picker-toggle"))}});c.parent().after(l);l.on("calendarDisplayed",function(B,y,A,C){var z=a(this);o(p,y,A,C,g,i,u);r(p,y,A,C,u);z.on("click vclick touchstart",function(D){if(D.stopPropagation){D.stopImmediatePropagation()}else{D.cancelBubble=true}});z.on("focusoutside",function(){if(l.attr("aria-hidden")==="false"){h(a("#"+l.attr("id").slice(0,-7)));return false}});a(document).on("click vclick touchstart",function(){if(l.attr("aria-hidden")==="false"){h(a("#"+l.attr("id").slice(0,-7)));return false}})});n.create(k,j,x,true,g,i);f(p,k);a('
').appendTo(l).click(function(){q(p,k)});l.find("a").attr("tabindex","-1")}})};a('input[type="date"]').datepicker()}(jQuery));
\ No newline at end of file
diff --git a/build/js/polyfills/progress-min.js b/build/js/polyfills/progress-min.js
index 9ea8b02183b..a9ba6245daa 100644
--- a/build/js/polyfills/progress-min.js
+++ b/build/js/polyfills/progress-min.js
@@ -2,6 +2,6 @@
* 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.2a1
+ * Version: ${wet-boew-build.version}
*/
(function(a){a.fn.progress=function(){return a(this).each(function(){var d=a(this),c=d.children(".wb-progress-outer, .wb-progress-undefined"),e,f,b={role:"progressbar"};d.off("DOMAttrModified propertychange");if(d.is("[value]")){if(c.length<1){c=a('
');d.append(c)}e=a([d.attr("max")||"1.0",d.attr("value")]).map(function(){try{return parseFloat(this)}catch(g){return null}});b["aria-valuemin"]=0;b["aria-valuemax"]=e[0];b["aria-valuenow"]=e[1];if(b["aria-valuenow"]>b["aria-valuemax"]){b["aria-valuenow"]=b["aria-valuemax"]}f=(b["aria-valuenow"]/b["aria-valuemax"])*100;c.children(".wb-progress-inner").css("width",f+"%")}else{if(d.not("[value]")&&c.length<1){c=a('
');d.append(c)}}d.attr(b);setTimeout(function(){d.on("DOMAttrModified propertychange",function(){d.progress()})},0)})};a("progress").progress()}(jQuery));
\ No newline at end of file
diff --git a/src/js/dependencies/charts.js b/src/js/dependencies/charts.js
index 92bac5f3012..2b2d839a955 100644
--- a/src/js/dependencies/charts.js
+++ b/src/js/dependencies/charts.js
@@ -2809,9 +2809,7 @@ label:
.appendTo(tblSrcContainer)
.after(self);
- if ($('html').hasClass('polyfill-detailssummary')) {
- $(tblSrcContainer).addClass('polyfill').details();
- }
+ _pe.polyfills.enhance('detailssummary', tblSrcContainer);
} else {
// Move the table inside the figure element