1/*! 2 * 3 * Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW) 4 * wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 5 * 6 * Version: v3.0.14 Build: 2014-03-28 12:46 PM EDT 7 * 8 */ 9(function($){var pe,_pe;pe=(typeof window.pe!=="undefined"&&window.pe!==null)?window.pe:{fn:{}};_pe={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:$('body script[src*="/pe-ap"]').attr("src").indexOf("-min")!==-1?"-min":"",header:$("#wb-head"),bodydiv:$("body > div"),main:$("#wb-main"),secnav:$("#wb-sec"),footer:$("#wb-foot"),html:$("html"),document:$(document),window:$(window),urlpage:"",urlhash:"",urlquery:"",svg:($('<svg xmlns="http://www.w3.org/2000/svg" />').get(0).ownerSVGElement!==undefined),mobiletest:"",resizetest:"",settings:(typeof wet_boew_properties!=="undefined"&&wet_boew_properties!==null)?wet_boew_properties:false,scrollTopInit:0,leftMouseButton:0,dic:{get:function(key,state,mixin){var truthiness=(typeof key==="string"&&key!=="")|(typeof state==="string"&&state!=="")<<1|(typeof mixin==="string"&&mixin!=="")<<2;switch(truthiness){case 1:return this.ind[key];case 3:return this.ind[key][state];case 7:return this.ind[key][state].replace("[MIXIN]",mixin);default:return""}},ago:function(time_value){var delta,parsed_date,r,relative_to;parsed_date=pe.date.convert(time_value);relative_to=(arguments.length>1?arguments[1]:new Date());delta=parseInt((relative_to.getTime()-parsed_date)/1000,10);delta=delta+(relative_to.getTimezoneOffset()*60);r="";if(delta<60){r=this.get("%minute-ago")}else{if(delta<120){r=this.get("%couple-of-minutes")}else{if(delta<(45*60)){r=this.get("%minutes-ago","mixin",(parseInt(delta/60,10)).toString())}else{if(delta<(90*60)){r=this.get("%hour-ago")}else{if(delta<(24*60*60)){r=this.get("%hours-ago","mixin",(parseInt(delta/3600,10)).toString())}else{if(delta<(48*60*60)){r=this.get("%yesterday")}else{r=this.get("%days-ago","mixin",(parseInt(delta/86400,10)).toString())}}}}}}return r}},ie:(/(MSIE) ([\w.]+)/.exec(navigator.userAgent)||[])[2]||"0",preIE10:false,preIE9:false,preIE8:false,preIE7:false,_init:function(){var $html=pe.html,hlinks_same=[],target,validTarget=false,test,test_elms,silentscroll_fired=false,pageinit_fired=false,init_on_mobileinit=false;if(pe.ie>0&&pe.ie<10){pe.preIE10=true;if(pe.ie<9){pe.preIE9=true;if(pe.ie<8){pe.preIE8=true;if(pe.ie<7){pe.preIE7=true}}}}test=$html.attr("lang");if(typeof test!=="undefined"&&test.length>0){pe.language=test}test=$("head").attr("dir");if(typeof test!=="undefined"&&test.length>0){pe.rtl=(test==="rtl")}pe.mobiletest=document.createElement("div");pe.mobiletest.setAttribute("id","mobiletest");pe.resizetest=document.createElement("span");pe.resizetest.innerHTML=" ";pe.resizetest.setAttribute("id","resizetest");test_elms=document.createElement("div");test_elms.appendChild(pe.mobiletest);test_elms.appendChild(pe.resizetest);document.body.appendChild(test_elms);pe.polyfills.init();pe.urlpage=pe.url(window.location.href);pe.urlhash=pe.urlpage.hash;pe.urlquery=pe.urlpage.params;$html.removeClass("no-js").addClass(wet_boew_theme!==null?wet_boew_theme.theme:"").addClass(pe.touchscreen?"touchscreen":"").addClass(!pe.preIE9?"ie"+parseInt(pe.ie,10):"");if(pe.mobilecheck()){pe.mobile=true;pe.bodydiv.attr("data-role","page").addClass("ui-page-active");test=navigator.userAgent.indexOf("BlackBerry");if(test===0){$html.addClass("bb-pre6 bb-pre7")}else{if(test!==-1&&navigator.userAgent.indexOf("Version/6")!==-1){$html.addClass("bb-pre7")}}pe.bodydiv.attr("data-role","page").addClass("ui-page-active");pe.scrollTopInit=pe.window.scrollTop();if(pe.scrollTopInit===0){window.onload=function(){setTimeout(function(){pe.scrollTopInit=pe.window.scrollTop()},1)}}if(pe.urlhash.length!==0){target=pe.main.find("#"+pe.string.jqescape(pe.urlhash));target.filter(":not(a, button, input, textarea, select)").attr("tabindex","-1");validTarget=(target.length!==0&&target.attr("data-role")!=="page")}pe.document.on("silentscroll.wbinit",function(){silentscroll_fired=true;if(pageinit_fired){pe.document.off("silentscroll.wbinit")}if(validTarget||pe.scrollTopInit>1){$.mobile.silentScroll(validTarget?pe.focus(target).offset().top:pe.scrollTopInit)}});pe.document.on("mobileinit",function(){$.extend($.mobile,{ajaxEnabled:false,pushStateEnabled:false,autoInitializePage:(init_on_mobileinit?true:false)});if(init_on_mobileinit){pe.mobilelang()}});pe.document.on("pageinit",function(){pageinit_fired=true;if(silentscroll_fired){pe.document.off("silentscroll.wbinit")}pe.bodydiv.removeAttr("tabindex");
9$(hlinks_same).off("click vclick").on("click.hlinks vclick.hlinks",function(e){var hash=this.hash,node=document.getElementById(hash.substring(1)),$node,nodeName,role,button=e.button;if(node!==null&&(typeof button==="undefined"||button===pe.leftMouseButton)){$node=$(node);nodeName=node.nodeName.toLowerCase();if(nodeName!=="a"&&nodeName!=="button"&&nodeName!=="input"&&nodeName!=="textarea"&&nodeName!=="select"){node.setAttribute("tabindex","-1")}pe.focus($node);role=$node.jqmData("role");if(role===undefined||(role!=="page"&&role!=="dialog"&&role!=="popup")){window.location.hash=hash}}});pe.document.on("expand",function(e){var yPos=$(e.target).offset().top;if(yPos<_pe.window.scrollTop()){$.mobile.silentScroll(yPos)}})});pe.add.css([pe.add.themecsslocation+"jquery.mobile"+pe.suffix+".css"]);pe.add._load([pe.add.liblocation+"jquerymobile/jquery.mobile.min.js"])}$.when.apply($,$.map($("*[data-ajax-replace], *[data-ajax-append]"),function(o){var $o=$(o),replace=false,url;if($o.attr("data-ajax-replace")!==undefined){replace=true;url=$o.attr("data-ajax-replace")}else{if($o.attr("data-ajax-append")!==undefined){url=$o.attr("data-ajax-append")}}return $.get(url,function(data){if(replace){$o.empty()}$o.append($.trim(data))},"html")})).always(function(){var hlinks=document.getElementsByTagName("a"),hlink,pathname=window.location.pathname,search=window.location.search,len=hlinks.length,href,node,nodeName;while(len--){hlink=hlinks[len];href=hlink.getAttribute("href");if(href!==null&&href.length!==1&&href.indexOf("#")!==-1&&hlink.getAttribute("data-rel")===null&&(pathname.indexOf(hlink.pathname)!==-1)&&hlink.search===search){hlinks_same.push(hlink)}}if(!pe.mobile){$(hlinks_same).on("click.hlinks",function(e){var hash=this.hash,node=document.getElementById(hash.substring(1)),$node,nodeName,button=e.button;if(node!==null&&(typeof button==="undefined"||button===pe.leftMouseButton)){$node=$(node);nodeName=node.nodeName.toLowerCase();if(nodeName!=="a"&&nodeName!=="button"&&nodeName!=="input"&&nodeName!=="textarea"&&nodeName!=="select"){node.setAttribute("tabindex","-1")}window.location.hash=hash;pe.focus($node)}});if(pe.urlhash.length>0){node=document.getElementById(pe.urlhash);if(node!==null){nodeName=node.nodeName.toLowerCase();if(nodeName!=="a"&&nodeName!=="button"&&nodeName!=="input"&&nodeName!=="textarea"&&nodeName!=="select"){node.setAttribute("tabindex","-1")}pe.focus(node)}}}pe.document.one("languageloaded",function(){if(wet_boew_theme!==null){wet_boew_theme.init()}if(pe.pedisable()===true){return false}if(wet_boew_theme!==null){if(pe.mobile){pe.document.one("mobileviewloaded",function(){if(typeof $.mobile!=="undefined"){pe.mobilelang();$.mobile.initializePage()}else{init_on_mobileinit=true}});wet_boew_theme.mobileview()}}else{if(pe.mobile){if(typeof $.mobile!=="undefined"){pe.mobilelang();$.mobile.initializePage()}else{init_on_mobileinit=true}}}pe.dance()});pe.add.language(pe.language)})},mobile:false,mobilecheck:function(){return pe.mobiletest.offsetWidth===1},mobilelang:function(){$.mobile.collapsible.prototype.options.expandCueText=pe.dic.get("%jqm-expand");$.mobile.collapsible.prototype.options.collapseCueText=pe.dic.get("%jqm-collapse");$.mobile.dialog.prototype.options.closeBtnText=pe.dic.get("%close");$.mobile.page.prototype.options.backBtnText=pe.dic.get("%back");$.mobile.textinput.prototype.options.clearSearchButtonText=pe.dic.get("%jqm-clear-search");$.mobile.selectmenu.prototype.options.closeText=pe.dic.get("%close");$.mobile.listview.prototype.options.filterPlaceholder=pe.dic.get("%jqm-filter")},pagecontainer:function(){return $("#wb-body-sec-sup, #wb-body-sec, #wb-body-secr, #wb-body").add("body").eq(0)},resizeutil:{sizes:[],events:["wb-text-resize","wb-window-resize-width","wb-window-resize-height"],events_all:"",initialized:false,init:function(){var ru=pe.resizeutil;if(!ru.initialized){ru.sizes=[pe.resizetest.offsetHeight,pe.window.width(),pe.window.height()];ru.events_all=ru.events.join(" ");window.setInterval(function(){pe.resizeutil.test()},500);ru.initialized=true}},test:function(){var curr_sizes=[pe.resizetest.offsetHeight,pe.window.width(),pe.window.height()],i,len,ru=pe.resizeutil;for(i=0,len=curr_sizes.length;i!==len;i+=1){if(curr_sizes[i]!==ru.sizes[i]){pe.document.trigger(ru.events[i],curr_sizes)}}ru.sizes=curr_sizes;return}},resize:function(callback){pe.document.on(pe.resizeutil.events_all,function(e,sizes){callback(e,sizes)});return},url:function(uri){var el=document.createElement("div"),a;el.innerHTML='<a href="'+uri+'">x</a>';a=el.firstChild;return{source:a.href,protocol:a.protocol.replace(":",""),host:a.hostname,port:a.port==="0"?"80":a.port,query:a.search,params:(function(){var key,ret,s,seg,_i,_len;ret={};seg=a.search.replace(/^\?/,"").split("&");for(_i=0,_len=seg.length;_i<_len;_i+=1){key=seg[_i];if(key){s=key.split("=");ret[s[0]]=s[1]}}return ret}()),file:a.pathname.match(/\/([^\/?#]+)$/i)?a.pathname.match(/\/([^\/?#]+)$/i)[1]:"",hash:a.hash.replace("#",""),path:a.pathname.replace(/^([^\/])/,"/$1"),relative:a.href.match(/tps?:\/\/[^\/]+(.+)/)?a.href.match(/tps?:\/\/[^\/]+(.+)/)[1]:"",segments:a.pathname.replace(/^\//,"").split("/"),removehash:function(){return this.source.replace(/#([A-Za-z0-9\-_=&\.:]+)/,"")}}},cssenabled:function(){return pe.mobiletest.offsetWidth<2},limit:function(elm){var count;count=$(elm).attr("class").match(/\blimit-\d+/);if(!count){return 0}return Number(count[0].replace(/limit-/i,""))},focus:function(elm){setTimeout(function(){var $elm=typeof elm.jquery!=="undefined"?elm.focus():$(elm).focus(),$archivedVisible=$(".archived[aria-hidden=false]");if($archivedVisible.length!==0){document.documentElement.scrollTop-=$archivedVisible.outerHeight()}return $elm},0);return elm},string:{ify:(function(){return{link:function(t){return t.replace(/[a-z]+:\/\/[a-z0-9\-_]+\.[a-z0-9\-_@:~%&\?\+#\/.=]+[^:\.,\)\s*$]/ig,function(m){return'<a href="'+m+'">'+((m.length>25)?m.substr(0,24)+"...":m)+"</a>"})},at:function(t){return t.replace(/(^|[^\w]+)\@([a-zA-Z0-9_]{1,15}(\/[a-zA-Z0-9\-_]+)*)/g,function(m,m1,m2){return m1+'@<a href="http://twitter.com/'+m2+'">
9'+m2+"</a>"})},hash:function(t){return t.replace(/(^|[^&\w'"]+)\#([a-zA-Z0-9_]+)/g,function(m,m1,m2){return m1+'#<a href="http://search.twitter.com/search?q=%23'+m2+'">'+m2+"</a>"})},clean:function(tweet){return this.hash(this.at(this.link(tweet)))}}}()),pad:function(number,length){var str;str=String(number);while(str.length<length){str="0"+str}return str},jqescape:function(str){return str.replace(/([;&,\.\+\*\~':"\!\^#$%@\[\]\(\)=>\|])/g,"\\$1")}},array:{noduplicates:function(arr){var i,_ilen,j,out=[],obj={};for(i=0,_ilen=arr.length;i!==_ilen;i+=1){obj[arr[i]]=0}for(j in obj){if(obj.hasOwnProperty(j)){out.push(j)}}return out},diff:function(arr1,arr2){var i,_ilen,_iarr,j,_jlen,match,out=[];for(i=0,_ilen=arr1.length;i!==_ilen;i+=1){_iarr=arr1[i];match=false;for(j=0,_jlen=arr2.length;j!==_jlen;j+=1){if(arr2[j]===_iarr){match=true;break}}if(!match){out.push(_iarr)}}},keys:function(obj){var keys=[];$.each(obj,function(key){keys.push(key)});return keys}},date:{convert:function(d){if(d.constructor===Date){return d}if(d.constructor===Array){return new Date(d[0],d[1],d[2])}if(d.constructor===Number){return new Date(d)}if(d.constructor===String){return new Date(d)}if(typeof d==="object"){return new Date(d.year,d.month,d.date)}return NaN},compare:function(a,b){if(isFinite(a=this.convert(a).valueOf())&&isFinite(b=this.convert(b).valueOf())){return(a>b)-(a<b)}return NaN},in_range:function(d,start,end){if(isFinite(d=this.convert(d).valueOf())&&isFinite(start=this.convert(start).valueOf())&&isFinite(end=this.convert(end).valueOf())){return start<=d&&d<=end}return NaN},daysInMonth:function(iYear,iMonth){return 32-new Date(iYear,iMonth,32).getDate()},daysBetween:function(datelow,datehigh){var date1=pe.date.convert(datelow),date2=pe.date.convert(datehigh),DSTAdjust=0,oneMinute=1000*60,oneDay=oneMinute*60*24,diff;date1.setHours(0);date1.setMinutes(0);date1.setSeconds(0);date2.setHours(0);date2.setMinutes(0);date2.setSeconds(0);if(date2>date1){DSTAdjust=(date2.getTimezoneOffset()-date1.getTimezoneOffset())*oneMinute}else{DSTAdjust=(date1.getTimezoneOffset()-date2.getTimezoneOffset())*oneMinute}diff=Math.abs(date2.getTime()-date1.getTime())-DSTAdjust;return Math.ceil(diff/oneDay)},to_iso_format:function(d,timepresent){var date;date=this.convert(d);if(timepresent){return date.getFullYear()+"-"+pe.string.pad(date.getMonth()+1,2,"0")+"-"+pe.string.pad(date.getDate(),2,"0")+" "+pe.string.pad(date.getHours(),2,"0")+":"+pe.string.pad(date.getMinutes(),2,"0")}return date.getFullYear()+"-"+pe.string.pad(date.getMonth()+1,2,"0")+"-"+pe.string.pad(date.getDate(),2,"0")},from_iso_format:function(s){var date=null;if(s){if(s.match(/\d{4}-\d{2}-\d{2}/)){date=new Date();date.setFullYear(s.substr(0,4),s.substr(5,2)-1,s.substr(8,2)-1)}return date}return null}},data:{getData:function(elm,data_name){var $elm=typeof elm.jquery!=="undefined"?elm:$(elm),dataAttr=$elm.attr("data-"+data_name),dataObj=null;if(dataAttr){dataObj=this.toObject(dataAttr)}$.data(elm,data_name,dataObj);return dataObj},toObject:function(data_string){var obj=null;try{obj=$.parseJSON(data_string)}catch(e){if(data_string.indexOf("{")===-1){data_string="{"+data_string+"}"}obj=eval("("+data_string+")")}return obj}},pedisable:function(){var lsenabled=(typeof localStorage!=="undefined"),disablels=(lsenabled?localStorage.getItem("pedisable"):null),disable=(pe.urlquery.pedisable!==undefined?pe.urlquery.pedisable:disablels),tphp=document.getElementById("wb-tphp"),li=document.createElement("li"),qparams=pe.urlquery,qparam,newquery="?",settings=pe.settings,$html=pe.html,pedisable_link=(settings&&typeof settings.pedisable_link==="boolean"?settings.pedisable_link:true);if(tphp!==null){for(qparam in qparams){if(qparams.hasOwnProperty(qparam)&&qparam!=="pedisable"){newquery+=qparam+"="+qparams[qparam]+"&"}}try{if(disable==="true"||((pe.preIE7||$html.hasClass("bb-pre6"))&&disable!=="false")){$html.addClass("no-js pe-disable");if(lsenabled){localStorage.setItem("pedisable","true")}if(pedisable_link){li.innerHTML='<a href="'+newquery+'pedisable=false">'+pe.dic.get("%pe-enable")+"</a>";tphp.appendChild(li)}return true}else{if(disable==="false"||disablels!==null){if(lsenabled){localStorage.setItem("pedisable","false")}}}}catch(error){}if(pedisable_link){li.innerHTML='<a href="'+newquery+'pedisable=true">'+pe.dic.get("%pe-disable")+"</a>";tphp.appendChild(li)}}return false},menu:{navcurrent:function(menusrc,bcsrc,navclass){var pageurl=window.location.hostname+window.location.pathname.replace(/^([^\/])/,"/$1"),pageurlquery=window.location.search,link,linkhref,linkurl,linkurllen,linkquery,linkquerylen,linkindex,menulinks,menulink=[],menulinkurl=[],menulinkslen,bclinks,bclinkslen,bcindex,bclink,bclinkurl,match=false,hrefBug=pe.preIE8;menusrc=typeof menusrc.jquery!=="undefined"?menusrc:$(menusrc);menulinks=menusrc.find("a").get();navclass=(typeof navclass==="undefined")?"nav-current":navclass;menulinkslen=menulinks.length;while(menulinkslen--){link=menulinks[menulinkslen];linkhref=link.getAttribute("href");if(linkhref!==null){if(hrefBug&&linkhref!==window.location.href){linkhref=linkhref.replace(window.location.href,"")}if(linkhref.length!==0&&linkhref.slice(0,1)!=="#"){linkurl=link.hostname+link.pathname.replace(/^([^\/])/,"/$1");linkquery=link.search;linkquerylen=linkquery.length;if(pageurl.slice(-linkurl.length)===linkurl&&(linkquerylen===0||pageurlquery.slice(-linkquerylen)===linkquery)){match=true;break}menulink.push(link);menulinkurl.push(linkurl)}}}if(!match){bclink=[];bclinkurl=[];bcsrc=typeof bcsrc.jquery!=="undefined"?bcsrc:$(bcsrc);bclinks=bcsrc.find("a").get();bclinkslen=bclinks.length;for(bcindex=0;bcindex!==bclinkslen;bcindex+=1){link=bclinks[bcindex];linkhref=link.getAttribute("href");if(hrefBug&&linkhref!==window.location.href){linkhref=linkhref.replace(window.location.href,"")}if(linkhref.length!==0&&linkhref.slice(0,1)!=="#"){bclink.push(link);bclinkurl.push(link.hostname+link.pathname.replace(/^([^\/])/,"/$1"))}}bclinkslen=bclinkurl.length;for(linkindex=0,menulinkslen=menulink.length;linkindex!==menulinkslen;linkindex+=1){link=menulink[linkindex];linkurl=menulinkurl[linkindex];linkurllen=linkurl.length;linkquery=link.search;linkquerylen=linkquery.length;bcindex=bclinkslen;while(bcindex--){if(bclinkurl[bcindex].slice(-linkurllen)===linkurl&&(linkquerylen===0||bclink[bcindex].search.slice(-linkquerylen)===linkquery)){match=true;break}}if(match){break}}}return(match?$(link).addClass(navclass):$())},buildmobile:function(menusrc,hlevel,theme_1,mbar,collapseTopOnly,theme_2,top,returnString,collapsible){var heading="h"+hlevel,headingOpen="<"+heading+">",headingClose="</"+heading+">",m=(typeof menusrc.jquery!=="undefined"?menusrc:$(menusrc)),mDOM=m[0].parentNode,mItems=m.find("> div, > ul, > "+heading+", > section > "+heading),mItemsDOM=mItems.get(),mItems_i,mItems_len,mItem,mItemDOM,mItemTag,nextDOM,prevDOM,hlink,hlinkDOM,navCurrent,navCurrentNoCSS,nested,nested_i,nested_len,hne
9stDOM,hnestTag,hnestLinkDOM,hnestLinkDOM2,menubar=(mbar!==undefined?mbar:false),mainText=pe.dic.get("%main-page"),toplevel=(top!==undefined?top:true),secnav2Top=false,theme2=(theme_2!==undefined?theme_2:theme_1),theme1=(toplevel?theme_1:theme_2),listView='<ul data-role="listview" data-theme="'+theme2+'">',listItems,listItem,listItem2,sectionOpenStart='<div data-theme="',sectionOpenEnd='" class="wb-nested-menu',sectionOpen1=sectionOpenStart+theme1+sectionOpenEnd,sectionOpen2=sectionOpenStart+theme2+sectionOpenEnd,sectionLinkStart='<a data-role="button" data-theme="',sectionLinkEnd='" data-icon="arrow-d" data-iconpos="left" data-corners="false" href="',sectionLinkOpen1='">'+headingOpen+sectionLinkStart+theme1+sectionLinkEnd,sectionLinkOpen2=sectionLinkStart+theme2+sectionLinkEnd,sectionLinkClose="</a>"+headingClose,link='<a data-role="button" data-icon="arrow-r" data-iconpos="right" data-corners="false" href="',disableLink='javascript:;" class="ui-disabled',menu,url,i,len;collapseTopOnly=(collapseTopOnly!==undefined?collapseTopOnly:true);collapsible=(collapsible!==undefined?collapsible:false);returnString=(returnString!==undefined?returnString:false);if(mItemsDOM.length!==0){if(menubar&&mDOM.getElementsByTagName(heading).length===0){menu=sectionOpen1+'"><ul data-role="listview" data-theme="'+theme1+'">';mItemsDOM=mDOM.getElementsByTagName("a");for(mItems_i=0,mItems_len=mItemsDOM.length;mItems_i<mItems_len;mItems_i+=1){mItemDOM=mItemsDOM[mItems_i];menu+='<li><a href="'+mItemDOM.href+'">'+mItemDOM.innerHTML+"</a></li>"}menu+="</ul></div>"}else{menu="";for(mItems_i=0,mItems_len=mItemsDOM.length;mItems_i<mItems_len;mItems_i+=1){mItemDOM=mItemsDOM[mItems_i];mItem=$(mItemDOM);mItemTag=mItemDOM.tagName.toLowerCase();if(mItemTag===heading){menu+=sectionOpen1;hlink=mItem.children("a");if(hlink.length!==0){hlinkDOM=hlink[0];url=hlinkDOM.getAttribute("href");navCurrent=(hlinkDOM.className.indexOf("nav-current")!==-1);navCurrentNoCSS=(hlinkDOM.className.indexOf("nav-current-nocss")!==-1);menu+=(navCurrent&&!navCurrentNoCSS?" nav-current":"")}else{navCurrent=false;url=disableLink}if(toplevel){secnav2Top=(mItemDOM.className.indexOf("top-section")!==-1)}if(toplevel||collapsible||!collapseTopOnly){menu+='" data-role="collapsible"'+(secnav2Top||navCurrent?' data-collapsed="false">':">")+headingOpen+mItem.text()+headingClose}else{menu+=sectionLinkOpen1+url+'">'+mItem.text()+sectionLinkClose}nextDOM=mItem.next()[0];if(typeof nextDOM!=="undefined"){if(nextDOM.tagName.toLowerCase()==="ul"){menu+=listView;nested=nextDOM.querySelector("li ul");if(nested!==null&&nested.length!==0){hnestTag="h"+(hlevel+1);listItems=nextDOM.children;for(i=0,len=listItems.length;i!==len;i+=1){listItem=listItems[i];hnestDOM=listItem.getElementsByTagName("li");menu+="<li>";if(hnestDOM.length!==0){hnestLinkDOM=listItem.children[0];menu+=sectionOpen2+'"><'+hnestTag+' class="wb-nested-li-heading">'+sectionLinkOpen2+hnestLinkDOM.href+'">'+hnestLinkDOM.innerHTML+"</a></"+hnestTag+">"+listView;for(nested_i=0,nested_len=hnestDOM.length;nested_i!==nested_len;nested_i+=1){listItem2=hnestDOM[nested_i];hnestLinkDOM2=listItem2.querySelector("a");menu+='<li data-corners="false" data-shadow="false" data-iconshadow="true" data-icon="arrow-r" data-iconpos="right"><a href="'+hnestLinkDOM2.href+'">'+hnestLinkDOM2.innerHTML+"</a></li>"}menu+="</ul></div>"}else{menu+=listItem.innerHTML}menu+="</li>"}}else{menu+=nextDOM.innerHTML}menu+="</ul>"}else{if(menubar){menu+=pe.menu.buildmobile(mItem.parent().find(".mb-sm"),hlevel+1,theme1,false,collapseTopOnly,theme2,false,true)}else{menu+=pe.menu.buildmobile(mItem.parent(),hlevel+1,theme1,false,collapseTopOnly,theme2,false,true,secnav2Top)}}}if(!menubar&&hlink.length>0&&(toplevel||collapsible||!collapseTopOnly)){menu+=link+hlinkDOM.href+'">'+hlinkDOM.innerHTML+" - "+mainText+"</a>"}menu+="</div>"}else{if(mItemTag==="ul"){prevDOM=mItem.prev()[0];if((typeof prevDOM==="undefined"||prevDOM.tagName.toLowerCase()!==heading)&&mItemDOM.parentNode.tagName.toLowerCase()!=="li"){menu+=listView+mItemDOM.innerHTML+"</ul>"}}else{if(mItemTag==="div"){hnestDOM=mItem.children("a").get();if(hnestDOM.length!==0){for(i=0,len=hnestDOM.length;i!==len;i+=1){hnestLinkDOM=hnestDOM[i];menu+=link+hnestLinkDOM.href+'" data-theme="'+(toplevel?theme1:theme2)+'">'+hnestLinkDOM.innerHTML+"</a>"}}else{if(mItemDOM.children.length!==0){menu+=pe.menu.buildmobile(mItemDOM,hlevel,theme1,false,collapseTopOnly,theme2,false,true,secnav2Top)}}}}}}if(toplevel||collapsible||!collapseTopOnly){menu='<div data-role="collapsible-set" data-inset="false" data-theme="'+theme1+'"'+(toplevel?' class="ui-corner-all"':"")+">"+menu+"</div>"}}
9if(toplevel){menu='<div data-role="controlgroup" data-theme="'+theme1+'">'+menu+"</div>"}}return returnString?menu:$(menu)},correctmobile:function(menusrc){var original=(typeof menusrc.jquery!=="undefined"?menusrc:$(menusrc)),menus=original.find(".wb-nested-menu");if(menus.length!==0){menus=menus.get(0).parentNode.childNodes;menus[menus.length-1].getElementsByTagName("a")[0].className+=" ui-corner-bottom"}}},polyfills:{init:function(){var lib=pe.add.liblocation,$html=pe.html;if(!window.localStorage){pe.add._load(lib+"polyfills/localstorage"+pe.suffix+".js","localstorage-loaded");$html.addClass("polyfill-localstorage")}else{$html.addClass("localstorage")}},polyload:function(force,msg,checkdom){var polyfills=this.polyfill,polyname,polyprefs,elms,polydep={},loadnow=[],deps,dep_paths,dep_needed,lib=pe.add.liblocation,payload=[],needsinit=[],js=[],i,_len,$html=pe.html;for(polyname in polyfills){if(polyfills.hasOwnProperty(polyname)){polyprefs=polyfills[polyname];elms=checkdom?$(polyprefs.selector):$();if(elms.length!==0||$.inArray(polyname,force)!==-1){if(typeof pol
9yprefs.supported==="undefined"){polyprefs.supported=(typeof polyprefs.support_check==="function"?polyprefs.support_check():polyprefs.support_check);if(!polyprefs.supported){deps=polyprefs.depends;if(typeof deps!=="undefined"){dep_paths=pe.add.depends(deps);dep_needed=[];for(i=0,_len=deps.length;i!==_len;i+=1){if($.inArray(deps[i],pe.add.staged)===-1){dep_needed.push(deps[i])}}if(dep_needed.length!==0){polydep[polyname]=dep_needed}else{loadnow.push(polyname)}}else{loadnow.push(polyname)}$html.addClass("polyfill-"+polyname);elms.addClass("polyfill")}else{$html.addClass(polyname)}}else{if(!polyprefs.supported&&typeof polyprefs.loaded==="undefined"){loadnow.push(polyname)}}}}}_len=loadnow.length;while(_len--){polyprefs=polyfills[loadnow[_len]];js[js.length]=(typeof polyprefs.load!=="undefined"?polyprefs.load:lib+"polyfills/"+loadnow[_len]+pe.suffix+".js");if(typeof polyprefs.init!=="undefined"){needsinit.push(loadnow[_len])}polyprefs.loaded=true}payload.push(polydep);payload.push(needsinit);pe.add._load_arr(js,msg,payload)},enhance:function(poly_name,objs){if(pe.html.hasClass("polyfill-"+poly_name)){objs=(typeof objs.jquery!=="undefined"?objs.get():objs);var polyobj=this.polyfill[poly_name],objs_len=objs.length;while(objs_len--){polyobj.update($(objs[objs_len]).addClass("polyfill"))}}},polyfill:{datalist:{selector:"input[list]",update:function(elms){elms.datalist()},support_check:!!(document.createElement("datalist")&&window.HTMLDataListElement)},datepicker:{selector:'input[type="date"]',depends:["calendar","xregexp"],update:function(elms){elms.datepicker()},support_check:function(){var el=document.createElement("input"),supported;el.setAttribute("type","date");el.value=":)";el.style.cssText="position:absolute;visibility:hidden;";document.body.appendChild(el);supported=(el.value!==":)");document.body.removeChild(el);return supported}},detailssummary:{selector:"details",init:function(){$("details").details()},update:function(elms){elms.details()},support_check:function(){var doc=document,el=doc.createElement("details"),fake,root,diff;if(typeof el.open==="undefined"){return false}root=doc.body||(function(){var de=doc.documentElement;fake=true;return de.insertBefore(doc.createElement("body"),de.firstElementChild||de.firstChild)}());el.innerHTML="<summary>a</summary>b";el.style.display="block";root.appendChild(el);diff=el.offsetHeight;el.open=true;diff=diff!==el.offsetHeight;root.removeChild(el);if(fake){root.parentNode.removeChild(root)}return diff}},mathml:{selector:"math",load:"http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=Accessible",support_check:function(){var hasMathML=false,ns,divParent,div,divCompare,mrow,mo,mfrac;if(document.createElementNS){ns="http://www.w3.org/1998/Math/MathML";divParent=document.createElement("div");div=divParent.appendChild(document.createElement("div"));div.style.position="absolute";div.style.color="#fff";mrow=div.appendChild(document.createElementNS(ns,"math")).appendChild(document.createElementNS(ns,"mrow"));mo=mrow.appendChild(document.createElementNS(ns,"mo"));mo.appendChild(document.createTextNode("|"));mfrac=mrow.appendChild(document.createElementNS(ns,"mfrac"));mfrac.appendChild(document.createElementNS(ns,"mi")).appendChild(document.createTextNode("xx"));mfrac.appendChild(document.createElementNS(ns,"mi")).appendChild(document.createTextNode("yy"));mrow.appendChild(document.createElementNS(ns,"mo")).appendChild(document.createTextNode("|"));divCompare=divParent.appendChild(document.createElement("div"));divCompare.style.color="#fff";divCompare.style.display="inline";divCompare.appendChild(document.createTextNode("|xx|"));document.body.appendChild(divParent);hasMathML=div.offsetHeight>div.offsetWidth;div.style.position="static";div.style.display="inline";hasMathML=hasMathML&&div.offsetWidth<divCompare.offsetWidth;divParent.parentNode.removeChild(divParent)}return hasMathML}},progress:{selector:"progress",update:function(elms){elms.progress()},support_check:document.createElement("progress").position!==undefined},slider:{selector:'input[type="range"]',init:function(){fdSlider.onDomReady()},update:function(){fdSlider.onDomReady()},support_check:function(){var el=document.createElement("input"),defaultView,bool;el.setAttribute("type","range");el.value=":)";el.style.cssText="position:absolute;visibility:hidden;";document.body.appendChild(el);defaultView=document.defaultView;bool=el.style.WebkitAppearance!==undefined&&defaultView.getComputedStyle&&defaultView.getComputedStyle(el,null).WebkitAppearance!=="textfield"&&(el.offsetHeight!==0);document.body.removeChild(el);return bool}}}}
9,get_language:function(lang,supported,sep){var d;sep=(typeof sep==="undefined")?"-":sep;if(typeof supported.indexOf==="undefined"){supported.indexOf=function(val){var i,len;for(i=0,len=this.length;i<len;i+=1){if(this[i]===val){return i}}return -1}}if(supported.indexOf(lang)!==-1){return lang}else{d=lang.indexOf(sep);if(d!==-1){lang=lang.substr(0,d);if(supported.indexOf(lang)!==-1){return lang}}}return null},add:(function(){return{head:document.head||document.getElementsByTagName("head")[0],liblocation:(function(){var pefile=$('body script[src*="/pe-ap"]').attr("src");return pefile.substr(0,pefile.lastIndexOf("/")+1)}()),themecsslocation:(function(){var themecss=(wet_boew_theme!==null?$('head link[rel="stylesheet"][href*="'+wet_boew_theme.theme+'"]'):"");return themecss.length>0?themecss.attr("href").substr(0,themecss.attr("href").lastIndexOf("/")+1):"theme-not-found/"}()),staged:[],_load:function(js,message){var head=pe.add.head,msg=(message!==undefined?message:"wet-boew-dependency-loaded");if($.inArray(js,this.staged)>-1){pe.document.trigger({type:msg,js:js});return this}setTimeout(function timeout(){if(typeof head.item!=="undefined"){if(!head[0]){setTimeout(timeout,25);return}head=head[0]}var scriptElem=document.createElement("script"),scriptdone=false;pe.add.set(scriptElem,"async","async");scriptElem.onload=scriptElem.onreadystatechange=function(){if(scriptdone||(scriptElem.readyState&&scriptElem.readyState!=="complete"&&scriptElem.readyState!=="loaded")){return false}scriptElem.onload=scriptElem.onreadystatechange=null;scriptdone=true;pe.document.trigger({type:msg,js:js})};scriptElem.src=js;if(pe.preIE9||!head.insertBefore){$(scriptElem).appendTo($(head)).delay(100)}else{head.insertBefore(scriptElem,head.firstChild)}},0);this.staged[this.staged.length]=js;return this},_load_arr:function(js,msg_all,payload){var js_loaded=0,i,_len,msg_single=msg_all+"-single";pe.document.on(msg_single,function(){js_loaded+=1;if(js_loaded===js.length){pe.document.off(msg_single);pe.document.trigger({type:msg_all,payload:payload})}});if(js.length>0){for(i=0,_len=js.length;i<_len;i+=1){pe.add._load(js[i],msg_single)}}else{pe.document.off(msg_single);pe.document.trigger({type:msg_all,payload:payload})}return this},set:function(elm,name,value){elm.setAttribute(name,value);return this},css:function(css){var head=pe.add.head,styleElement=document.createElement("link");pe.add.set(styleElement,"rel","stylesheet").set(styleElement,"href",css);if(pe.preIE10||!head.insertBefore){$(styleElement).appendTo($(head)).attr("href",css)}else{head.insertBefore(styleElement,head.firstChild)}return this},depends:function(d){var lib=pe.add.liblocation,c_d=$.map(d,function(a){return(/^http(s)?/i.test(a))?a:lib+"dependencies/"+a+pe.suffix+".js"});return c_d},language:function(lang){var url;lang=pe.get_language(lang,pe.languages);url=pe.add.liblocation+"i18n/"+(lang!==null?lang:"en")+pe.suffix+".js";pe.add._load(url)},meta:function(name,content){var styleElement;styleElement=document.createElement("meta");pe.add.set(styleElement,"name",name).set(styleElement,"content",content);pe.add.head.appendChild(styleElement);return this}}}()),wb_load:function(options,finished_event){if(typeof options==="undefined"){options={}}if(typeof finished_event==="undefined"){finished_event="wb-loaded"}var i,_len,settings=pe.settings,plugins=typeof options.plugins!=="undefined"?options.plugins:{},plug,pcalls=typeof options.global!=="undefined"?options.global:[],pcall,dep=typeof options.dep!=="undefined"?options.dep:[],poly=typeof options.poly!=="undefined"?options.poly:[],checkdom=typeof options.checkdom!=="undefined"?options.checkdom:false,polycheckdom=typeof options.polycheckdom!=="undefined"?options.polycheckdom:false,wetboew=checkdom?$('[class^="wet-boew-"]'):$(),time=(new Date()).getTime(),event_polyinit="wb-polyinit-loaded-"+time,event_pcalldeps="wb-pcalldeps-loaded-"+time,event_polydep="wb-polydeps-loaded-"+time;for(plug in plugins){if(plugins.hasOwnProperty(plug)){wetboew=wetboew.add(plugins[plug].addClass("wet-boew-"+plug))}}wetboew.each(function(){var _node=$(this),classes=_node.attr("class").split(" "),_pcalls=[];
9for(i=0,_len=classes.length;i!==_len;i+=1){if(classes[i].indexOf("wet-boew-")===0){_pcalls.push(classes[i].substr(9).toLowerCase())}}_node.attr("data-load",_pcalls.join(","));pcalls.push.apply(pcalls,_pcalls)});if(settings){pcalls.push(settings.globals)}pcalls=pe.array.noduplicates(pcalls);for(i=0,_len=pcalls.length;i!==_len;i+=1){pcall=pcalls[i];if(typeof pe.fn[pcall]!=="undefined"){if(typeof pe.fn[pcall].polyfills!=="undefined"){poly.push.apply(poly,pe.fn[pcall].polyfills)}if(typeof pe.fn[pcall].depends!=="undefined"){dep.push.apply(dep,pe.fn[pcall].depends)}}}pe.document.one(event_polyinit,function(e){var polyfills=pe.polyfills.polyfill,polydeps=e.payload[0],polyinit=e.payload[1],polydeps_load=[],polyname;for(i=0,_len=polyinit.length;i!==_len;i+=1){polyfills[polyinit[i]].init()}for(polyname in polydeps){if(polydeps.hasOwnProperty(polyname)){dep.push.apply(dep,polydeps[polyname]);polydeps_load.push(polyname)}}pe.document.one(event_pcalldeps,function(){pe.document.one(event_polydep,function(e){polyinit=typeof e.payload!=="undefined"?e.payload[1]:[];for(i=0,_len=polyinit.length;i!==_len;i+=1){polyfills[polyinit[i]].init()}var _len2=wetboew.length,_node,_fcall;while(_len2--){_node=wetboew.eq(_len2);_fcall=_node.attr("data-load").split(",");for(i=0,_len=_fcall.length;i!==_len;i+=1){if(typeof pe.fn[_fcall[i]]!=="undefined"){pe.fn[_fcall[i]]._exec(_node)}}}if(settings){for(i=0,_len=settings.globals.length;i!==_len;i+=1){pe.fn[settings.globals[i]]._exec(document)}}pe.document.trigger(finished_event)});if(polydeps_load.length!==0){pe.polyfills.polyload(polydeps_load,event_polydep,false)}else{pe.document.trigger(event_polydep)}});pe.add._load_arr(pe.add.depends(pe.array.noduplicates(dep)),event_pcalldeps)});pe.polyfills.polyload(pe.array.noduplicates(poly),event_polyinit,polycheckdom)},dance:function(){var loading_finished="wb-init-loaded";pe.document.one(loading_finished,function(){if(!pe.preIE9){pe.resize(function(){var mobilecheck=pe.mobilecheck();if(pe.mobile!==mobilecheck){pe.mobile=mobilecheck;window.location.reload()}})}});pe.resizeutil.init();pe.wb_load({dep:["equalheights"],checkdom:true,polycheckdom:true},loading_finished)}};window.pe=$.extend(true,pe,_pe);return window.pe}(jQuery))._init();(function(b){var a=window.pe||{fn:{}};a.fn.archived={type:"plugin",_exec:function(f){if(a.mobile){return}var c=b('<div class="archived" role="toolbar"><a class="archived-top-page" href="#archived" role="link">'+a.dic.get("%archived-page")+"</a></div>"),e=a.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")}});a.document.on("focusin",function(h){var g=b(h.target);if(c.attr("aria-hidden")==="false"&&typeof g.offset()!=="undefined"&&g.offset().top<=(c.offset().top+c.outerHeight())){setTimeout(function(){e.scrollTop(g.offset().top-c.outerHeight())},100)}});if(d<10||d==="undefined"){c.attr("aria-hidden","true")}else{c.fadeIn("normal").attr("aria-hidden","false")}a.pagecontainer().append(c);return f}};window.pe=a;return a}(jQuery));(function(){var a=window.pe||{fn:{}};a.fn.charts={type:"plugin",depends:["raphael","parserTable","charts"],polyfills:["detailssummary"],_exec:function(b){a.fn.chartsGraph.generate(b)}};window.pe=a;return a}());(function(b){var a=window.pe||{fn:{}};a.fn.css3ie={type:"plugin",depends:(a.preIE9?["pie"]:[]),_exec:function(j){if(a.mobile||!a.preIE9){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(a.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(a.ie===8){g=f()}else{g=f()}}a.resize(function(){if(a.ie===7){var m=document.body,n=m.getBoundingClientRect();
9if((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(){var a=window.pe||{fn:{}};a.fn.deselectradio={type:"plugin",depends:[],_exec:function(e){var b=document.getElementsByTagName("input"),d=b.length,c;while(d--){c=b[d];if(c.type==="radio"&&c.className.indexOf("deselect-off")===-1){c.className+=" deselectable"+(c.checked?" checked":"")}}a.document.on("click vclick",'input[type="radio"].deselectable',function(k){var h,f,g,j,i=k.button;if(typeof i==="undefined"||i===a.leftMouseButton){if(this.className.indexOf(" checked")!==-1){this.checked=false;this.className=this.className.replace(" checked","")}else{h=this.getAttribute("name");if(h!==undefined){f=document.getElementsByName(h);j=f.length;while(j--){g=f[j];if(g.className.indexOf(" checked")!==-1){g.className=g.className.replace(" checked","")}}this.className+=" checked"}}}});return e}};window.pe=a;return a}());(function(b){var a=window.pe||{fn:{}};a.fn.equalize={type:"plugin",depends:(a.mobile?[]:["equalheights"]),_exec:function(c){if(a.mobile){return}b(".equalize").children().css("min-height","").parent().equalHeights(true);a.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(a.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("-");O[1]=O[1]-1;N[1]=N[1]-1;F.setFullYear(O[0],O[1],O[2]);for(J=0,H=a.date.daysBetween(O,N)+1;J<H;J+=1){if(z.minDate===null||F<z.minDate){z.minDate=F}if(z.maxDate===null||F>z.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())+"-"+a.string.pad(F.getMonth()+1,2))){I.addClass("filter-"+(F.getFullYear())+"-"+a.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||F<z.minDate){z.minDate=F}if(z.maxDate===null||F>z.maxDate){z.maxDate=F}z.list[z.iCount]={title:M,date:F,href:K};if(!I.hasClass("filter-"+(F.getFullYear())+"-"+a.string.pad(F.getMonth()+1,2))){I.addClass("filter-"+(F.getFullYear())+"-"+a.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<A){z+=y()}return"id"+z};k=function(A){var z,y;switch(A.keyCode){case 13:case 32:case 38:case 40:a.focus(A.data.details.find("a").first());return false;case 37:z=b(this).closest("li").index();y=b(this).closest("ol").children("li:lt("+z+")").children("a").last();a.focus(y);return false;case 39:z=b(this).closest("li").index();y=b(this).closest("ol").children("li:gt("+z+")").children("a").first();a.focus(y);return false;case 27:b(this).siblings(".ev-details").removeClass("ev-details").addClass("wb-invisible");return false}};e=function(B){var z,y,A;switch(B.keyCode){case 38:z=b(this).closest("li").index();A=b(this).closest("ul").children("li").length;a.focus(b(this).closest("ul").children("li").eq((z-1)%A).children("a"));return false;case 40:z=b(this).closest("li").index();A=b(this).closest("ul").children("li").length;a.focus(b(this).closest("ul").children("li").eq((z+1)%A).children("a"));return false;case 37:z=b(this).closest("li[id^=cal-]").index();y=b(this).closest("ol").children("li:lt("+z+")").children("a").last();a.focus(y);return false;case 39:z=b(this).closest("li[id^=cal-]").index();y=b(this).closest("ol").children("li:gt("+z+")").children("a").first();a.focus(y);return false;case 27:a.focus(b(this).closest("li[id^=cal-]").children(".cal-event"));return false}};c=function(y){y.data.details.dequeue();y.data.details.removeClass("wb-invisible");y.data.details.addClass("ev-details")};p=function(y){y.data.details.delay(100).queue(function(){b(this).removeClass("ev-details");b(this).addClass("wb-invisible");b(this).dequeue()})};s=function(y){y.data.details.removeClass("wb-invisible");y.data.details.addClass("ev-details")};g=function(y){setTimeout(function(){if(y.data.details.find("a:focus").length===0){y.data.details.removeClass("ev-details");y.data.details.addClass("wb-invisible")}},5)};j=function(y){setTimeout(function(){if(y.data.details.find("a:focus").length===0){y.data.details.removeClass("ev-details");y.data.details.addClass("wb-invisible")}},5)};f=function(y){y.data.details.removeClass("wb-invisible");y.data.details.addClass("ev-details")};r=function(H,F,K,A,z){var G,L,y,J,E,C,I,D,B;K.each(function(N,M){b(M).css("z-index",31-N)});for(G=0,L=z.length;G!==L;G+=1){y=new Date(z[G].date);if(y.getMonth()===F&&y.getFullYear()===H){J=b(K[y.getDate()-1]);E=J.children("div").html();if(J.children("a").length<1){J.empty();I=b('<a href="#ev-'+J.attr("id")+'" class="cal-event">'+E+"</a>");J.append(I);C=b('<ul class="wb-invisible"></ul>');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('<li><a href="'+z[G].href+'">'+z[G].title+"</a></li>");if(a.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+"-"+a.str
9ing.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(),a.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("aria-label",a.dic.get("%calendar"))}};window.pe=a;return a}(jQuery));(function(){var a=window.pe||{fn:{}};a.fn.feedback={type:"plugin",depends:[],_exec:function(k){var c=k.find("#feedback"),h=k.find("#web"),g=h.find("#access"),b=h.find("#mobile"),l=h.find("#computer"),n=k.find("#contact-coord"),o=n.find("#contact1"),i=o.attr("type"),j=(typeof i!=="undefined"&&i.toLowerCase()==="checkbox"),m=n.find("#contact2"),f=n.find("#info"),e=document.referrer,d=a.url(window.location.href).params;c.attr("aria-controls","web").on("keyup click load",function(r){var q=(r.type==="load"),p=r.button;if(typeof p==="undefined"||p===a.leftMouseButton){if(!q&&this.value==="web"){this.setAttribute("aria-hidden","false");h.show("slow")}else{this.setAttribute("aria-hidden","true");if(q){h.css("display","none")}else{h.hide("slow")}}}});if(d.submit===undefined&&d.feedback!==undefined){c.find('option[value="'+d.feedback+'"]').attr("selected","selected")}c.trigger("load");g.attr("aria-controls","mobile computer").on("keyup click load",function(r){var q=(r.type==="load"),p=r.button;if(typeof p==="undefined"||p===a.leftMouseButton){if(!q&&this.value==="mobile"){b.attr("aria-hidden","false").show("slow");l.attr("aria-hidden","true").hide("slow")}else{l.attr("aria-hidden","false");b.attr("aria-hidden","true");if(q){l.css("display","block");b.css("display","none")}else{l.show("slow");b.hide("slow")}}}}).trigger("load");o.on("keyup click load",function(r){var q=(r.type==="load"),p=r.button;if(typeof p==="undefined"||p===a.leftMouseButton){if(!q&&(this.checked||(!j&&this.value==="yes"))){f.attr("aria-hidden","false").show("slow")}else{if(q||(!this.checked&&!m.prop("checked"))||(!j&&this.value!=="yes"&&m.val()!=="yes")){f.attr("aria-hidden","true");if(q){f.css("display","none")}else{f.hide("slow")}}}}}).trigger("load");m.on("keyup click load",function(r){var q=(r.type==="load"),p=r.button;if(typeof p==="undefined"||p===a.leftMouseButton){if(!q&&(this.checked||(!j&&this.value==="yes"))){f.attr("aria-hidden","false").show("slow")}else{if(q||(!this.checked&&!o.prop("checked"))||(!j&&this.value!=="yes"&&o.val()!=="yes")){f.attr("aria-hidden","true");if(q){f.css("display","none")}else{f.hide("slow")}}}}}).trigger("load");h.find("#page").attr("value",e);k.find("input[type=reset]").on("click",function(q){var p=q.button;if(typeof p==="undefined"||p===a.leftMouseButton){c.trigger("load");g.trigger("load");o.trigger("load");m.trigger("load")}});return k}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.footnotes={type:"plugin",_exec:function(e){var c=a.main.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 g,f,h=b(this);h.find("span span").remove();
9h.off("click vclick").on("click vclick",function(j){var i=j.button;if(typeof i==="undefined"||i===a.leftMouseButton){g=a.string.jqescape(b(this).attr("href")).substring(1),f=c.find(g).find("a");if(a.mobile){b.mobile.silentScroll(a.focus(f).offset().top)}else{a.focus(f)}return false}})});c.find("sup a.footnote-link").on("click vclick",function(h){var f=e.find(a.string.jqescape(b(this).attr("href")).substring(1)),g=h.button;if(typeof g==="undefined"||g===a.leftMouseButton){f.find("p.footnote-return a").attr("href","#"+this.parentNode.id).off("click vclick").on("click vclick",function(l){var j=l.button,k,i;if(typeof j==="undefined"||j===a.leftMouseButton){k=a.string.jqescape(b(this).attr("href")).substring(1);i=c.find(k).find("a");if(a.mobile===true){b.mobile.silentScroll(a.focus(i).offset().top)}else{a.focus(i)}return false}});if(a.mobile){b.mobile.silentScroll(a.focus(f).offset().top)}else{a.focus(f)}if(a.preIE8){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","ko","lt","lv","my","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(h){var d=h.find("form"),m=d.get(0),w=m.getElementsByTagName("label"),v=w.length,e=d.find("input, select, textarea"),f,k=e.filter("input"),s=k.filter("[pattern]"),p,q,j,o,c,n=false,l=d.find("[required]").attr("aria-required","true"),y="errors-"+(d.attr("id")===undefined?"default":d.attr("id")),g,r=a.language.replace("-","_"),z=a.get_language(r,a.fn.formvalid.languages,"_"),x=a.get_language(r,a.fn.formvalid.methods,"_"),u=a.add.liblocation,t=a.suffix+".js";h.append('<div class="arialive wb-invisible" aria-live="polite" aria-relevant="all"></div>');if(z!==null){a.add._load(u+"i18n/formvalid/messages_"+z+t)}if(x!==null){a.add._load(u+"i18n/formvalid/methods_"+x+t)}q=v;while(q--){w[q].innerHTML+=" "}q=s.length;while(q--){s.eq(q).removeAttr("pattern")}if(a.mobile){m.setAttribute("data-ajax","false");k.filter('[type="checkbox"]').closest("fieldset").attr("data-role","controlgroup")}k.filter('[type="reset"]').on("click vclick touchstart",function(B){var i,A=B.button;if(typeof A==="undefined"||A===a.leftMouseButton){g.resetForm();i=d.find("#"+y);if(i.length>0){i.empty()}d.find('[aria-invalid="true"]').removeAttr("aria-invalid")}});if(a.preIE9){l.removeAttr("required").each(function(){this.setAttribute("data-rule-required","true")});k.filter('[type="date"]').each(function(){var B=b(this),i=B.wrap("<div/>").parent(),A=b(i.html().replace("type=date","type=text"));i.replaceWith(A)});e=d.find("input, select, textarea")}g=d.validate({meta:"validate",focusInvalid:false,errorElement:"strong",errorPlacement:function(A,B){var D=B.attr("type"),i,C;if(typeof D!=="undefined"){D=D.toLowerCase();if(D==="radio"||D==="checkbox"){i=B.closest("fieldset");if(i.length!==0){C=i.children("legend");if(C.length!==0&&i.find('input[name="'+B.attr("name")+'"]')!==1){A.appendTo(C);return}}}}A.appendTo(d.find('label[for="'+B.attr("id")+'"]'));return},showErrors:function(C){this.defaultShowErrors();var I=d.find("strong.error").filter(":not(:hidden)"),A=d.find("input.error, select.error, textarea.error"),F=d.find("#"+y),E='<span class="prefix">'+a.dic.get("%error")+" ",i=a.dic.get("%colon")+" </span>",D=a.dic.get("%hyphen"),J=h.find(".arialive")[0],G,K,H,B;d.find('[aria-invalid="true"]').removeAttr("aria-invalid");if(I.length!==0){if(F.length===0){F=b('<div id="'+y+'" class="errorContainer" tabindex="-1"/>').prependTo(d)}else{F.empty()}G="<p>"+a.dic.get("%form-not-submitted")+I.length+(I.length!==1?a.dic.get("%errors-found"):a.dic.get("%error-found"))+"</p><ul>";A.attr("aria-invalid","true");I.each(function(N){var P=b(this),O=E+(N+1)+i,M=P.closest("label"),Q=M.find(".field-name"),L;if(Q.length===0){L=P.closest("fieldset");if(L.length!==0){Q=L.find("legend .field-name")}}P.find("span.prefix").detach();G+='<li><a href="#'+M.attr("for")+'">'+O+(Q.length!==0?Q.html()+D:"")+this.innerHTML+"</a></li>";P.prepend(O)});G+="</ul>";F.append(G);if(n){a.focus(F)}else{p=0;for(K in C){if(C.hasOwnProperty(K)){p+=1;break}}if(p!==0){q=I.length;for(p=0;p!==q;p+=1){H=I[p].parentNode;if(H.getAttribute("for")===K){B=H.innerHTML;if(B!==J.innerHTML){J.innerHTML=B}break}}}else{if(J.innerHTML.length!==0){J.innerHTML=""}}}d.find(".errorContainer a").on("click vclick",function(R){var Q=this.href.substring(this.href.indexOf("#")),L=b(Q),M=L.prev(),P=M.length===0?L.closest("fieldset").find("legend"):[],O=M.length!==0?M.offset().top:(P.length!==0?P.offset().top:-1),N=R.button;if(typeof N==="undefined"||N===a.leftMouseButton){a.focus(L);if(a.mobile){b.mobile.silentScroll(O)}else{a.document.scrollTop(O)}return false}});n=false}else{if(J.innerHTML.length!==0){J.innerHTML=""}F.detach()}},invalidHandler:function(){n=true}});o=e.filter('[class*="{validate"]');for(p=0,q=o.length;p!==q;p+=1){f=o.eq(p);c=f.attr("class");j=c.indexOf("{validate");f.rules("add",a.data.toObject(c.substring(c.indexOf("{",j+1),c.indexOf("}",j+1)+1)))}return h}};window.pe=a;return a}(jQuery));(function(){var a=window.pe||{fn:{}};a.fn.langselect={type:"plugin",_exec:function(b){b.on("click",function(f){var c=window.location.toString(),d=f.button;if(typeof d==="undefined"||d===a.leftMouseButton){if((c.search(/_f\.htm/)!==-1)||(c.search(/-fra\./)!==-1)||(c.search(/-fra\./)!==-1)){c=c.replace(/_f\./,"_e.").replace(/-fra\./,"-eng.").replace(/-fr\./,"-en.")}else{c=c.replace(/_e\./,"_f.").replace(/-eng\./,"-fra.").replace(/-en\./,"-fr.")}if(c.search(/lang=/)!==-1){if(c.search(/lang=eng/)!==-1){c=c.replace(/lang=eng/,"lang=fra")}else{if(c.search(/lang=fra/)!==-1){c=c.replace(/lang=fra/,"lang=eng")}else{if(c.search(/lang=en/)!==-1){c=c.replace(/lang=en/,"lang=fr")}else{c=c.replace(/lang=fr/,"lang=en")}}}}window.location=c;return false}})}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.lightbox={type:"plugin",depends:["colorbox"],groupindex:0,_exec:function(g){var o,n,e,p,v,u,l,d,j,c,r,q,t,k,h,f,s,i,m=false;o={transition:"elastic",loop:true,current:a.dic.get("%lb-current"),previous:a.dic.get("%lb-prev"),next:a.dic.get("%lb-next"),close:a.dic.get("%close"),xhrError:a.dic.get("%lb-xhr-error"),imgError:a.dic.get("%lb-img-error"),maxWidth:"100%",maxHeight:"100%",slideshowStart:a.dic.get("%start")+" "+a.dic.get("%lb-slideshow"),slideshowStop:a.dic.get("%stop")+" "+a.dic.get("%lb-slideshow"),slideshow:false,slideshowAuto:false,onComplete:function(){var B=j.text(),y=d.text(),x,A,z,w;c=l.find("#cboxLoadedContent");A=c.children(".cboxPhoto");e.attr("aria-label",(y+(B.length!==0?" - "+B:"")));if(A.length===0){c.attr({tabindex:"0",role:"document","aria-labelledby":"
9cboxTitle"})}else{A.attr({alt:y,tabindex:"0"});x=b.colorbox.element().find("img");z=x.attr("aria-describedby");w=x.attr("longdesc");if(typeof z!=="undefined"){A.attr("aria-describedby",z)}if(typeof w!=="undefined"){A.attr("longdesc",w)}}a.focus(e);m=true},onClosed:function(){m=false}};n={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,photo:g.hasClass("force-photo")?true:false};b.extend(o,(typeof wet_boew_lightbox!=="undefined"?wet_boew_lightbox:{}),n,a.data.getData(g,"wet-boew"));p=g.find(".lb-item, .lb-gallery, .lb-hidden-gallery").get();for(h=0,s=p.length;h!==s;h+=1){u=p[h];if(u.className.indexOf("lb-item")!==-1){a.fn.lightbox._init_colorbox(u,o)}else{k="group"+(a.fn.lightbox.groupindex+=1);v=b(u).find(".lb-item-gal").get();for(f=0,i=v.length;f!==i;f+=1){a.fn.lightbox._init_colorbox(v[f],o,k)}}}e=b("#colorbox").attr("tabindex","0");l=b("#cboxContent");d=l.find("#cboxTitle");j=l.find("#cboxCurrent");r=l.find("#cboxNext");q=l.find("#cboxPrevious");t=l.find("#cboxClose");r.add(q).add(t).attr({tabindex:"0",role:"button","aria-controls":"cboxLoadedContent"});e.on("keydown",function(x){var w=x.target.id;if(!(x.ctrlKey||x.altKey||x.metaKey)){if(x.keyCode===9){if(x.shiftKey&&w==="colorbox"){a.focus(t);x.preventDefault()}else{if((!x.shiftKey&&w==="cboxClose")||(x.shiftKey&&w==="cboxLoadedContent")){a.focus(e);x.preventDefault()}}}else{if(x.keyCode===13||x.keyCode===32){if(w==="cboxLoadedContent"||w==="colorbox"||w==="cboxNext"){b.colorbox.next();x.preventDefault()}else{if(w==="cboxPrevious"){b.colorbox.prev();x.preventDefault()}else{if(w==="cboxClose"){b.colorbox.close();x.preventDefault()}}}}}}})},_init_colorbox:function(i,c,k){var g=b(i),e=g.attr("href").substring(0,1)==="#",j=(k!==undefined),d=(j?k:false),l=document.getElementById(i.getAttribute("data-title")),f=a.data.getData(g,"wet-boew-lightbox"),h={inline:e,rel:d};g.colorbox(b.extend(c,(e||j||l)?(l&&l.innerHTML.length>0)?b.extend({title:l.innerHTML},h):h:{}),(f!==null)?{data:f.postData}:{})}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.menubar={type:"plugin",depends:(a.mobile?[]:["hoverintent"]),ignoreMenuBarClicks:false,_exec:function(j){if(a.mobile){return}var d,i,k=j,f,e,h=k.parent(),m,c,g,l=a.dic.get("%sub-menu-help");g=function(p){var o=b(p).closest("li"),n=o.find(".mb-sm");if(n.length!==0){c();n.attr({"aria-expanded":"true","aria-hidden":"false"}).toggleClass("mb-sm mb-sm-open").find("a").attr("tabindex","0");if((Math.floor(n.offset().left+n.width())-Math.floor(i.offset().left+i.width()))>=-1){n.css("right","0")}o.addClass("mb-active")}return};c=function(o){var n=o===undefined?d.find(".mb-sm-open"):b(o).find(".mb-sm-open");n.attr({"aria-expanded":"false","aria-hidden":"true"}).toggleClass("mb-sm mb-sm-open").css("right","");if(a.cssenabled){n.find("a").attr("tabindex","-1")}return n.closest("li").removeClass("mb-active")};m=function(){var n=d.children("li:last"),o=(n.offset().top+n.outerHeight())-k.offset().top;return k.css("min-height",o)};i=k.children("div");d=i.children("ul");k.detach();k.find("> div > ul").attr("role","menubar");a.resize(m);f=k.find("ul.mb-menu > li").find("a:eq(0)");e=f.length;f.each(function(v,A){var p=b(A).addClass("knav-"+v+"-0-0").attr({role:"menuitem","aria-posinset":(v+1),"aria-setsize":e}),t=p.closest("li").find(".mb-sm"),n,o,z,w,y,B,s,r,u,q,x;if(t.length>0){p.attr("aria-haspopup","true").addClass("mb-has-sm").attr("href","#").wrapInner('<span class="expandicon"><span class="sublink"></span></span>');t.attr({role:"menu","aria-expanded":"false","aria-hidden":"true"}).find(":has(:header) ul").attr("role","menu");p.append('<span class="wb-invisible"> '+l+"</span>");p.closest("li").hoverIntent({over:function(){return g(this)},out:function(){return c(this)},timeout:500});n=t.find("h3, h4, div.top-level, li.top-level, div.mb-main-link");for(s=0,u=n.length;s!==u;s+=1){o=n.eq(s);z=o[0].nodeName.toLowerCase();w=o.children("a");x=s+1;if(w.length!==0){w.addClass("knav-"+v+"-"+x+"-0")}else{o.addClass("no-link");w=o}w.attr({role:"menuitem","aria-posinset":x,"aria-setsize":u});if(z==="h3"||z==="h4"){o.children("a").attr("aria-haspopup","true");B=o.next("ul").find("a").get();for(r=0,q=B.length;r!==q;r+=1){y=B[r];x=r+1;y.className+=" knav-"+v+"-"+(s+1)+"-"+(r+1);y.setAttribute("role","menuitem");y.setAttribute("aria-posinset",x);
9y.setAttribute("aria-setsize",q)}}}B=t.find("> ul li, > div > ul li").filter(":not(.top-level)").children("a").get();for(s=0,u=B.length;s!==u;s+=1){y=B[s];x=s+1;y.className+=" knav-"+v+"-0-"+(s+1);y.setAttribute("role","menuitem");y.setAttribute("aria-posinset",x);y.setAttribute("aria-setsize",u)}}});if(a.cssenabled){k.find(".mb-sm a").attr("tabindex","-1")}k.appendTo(h);m();k.on("click vclick touchstart focusin",function(n){if(n.stopPropagation){n.stopPropagation()}else{n.cancelBubble=true}}).parent().on("click vclick touchstart mouseenter mouseleave","> :header a",function(p){var o=p.type,n=p.button;switch(o){case"mouseenter":a.fn.menubar.ignoreMenuBarClicks=true;break;case"mouseleave":a.fn.menubar.ignoreMenuBarClicks=false;break;default:if(b(this).closest("li").hasClass("mb-active")){if(o!=="click"||((typeof n==="undefined"||n===a.leftMouseButton)&&!a.fn.menubar.ignoreMenuBarClicks)){c(this)}}else{g(this)}return false}});k.on("keydown focusin section-next section-previous item-next item-previous close","li",function(y){var t,o,z=y.target,C=b(z),w=k.find(".mb-active"),B=b.map(/\bknav-(\d+)-(\d+)-(\d+)/.exec(C.attr("class")),function(E){return parseInt(E,10)}),D=y.keyCode,A=y.type,v,x,q,s,r,n=!!B[2]<<1|!!B[3],p,u;switch(A){case"keydown":if(!(y.ctrlKey||y.altKey||y.metaKey)){switch(D){case 13:case 32:if(n===0&&C.attr("aria-haspopup")==="true"){C.trigger("item-next")}else{window.location=C.attr("href")}return false;case 27:C.trigger("close");return false;case 37:C.trigger("section-previous");return false;case 38:if(n===0){C.trigger("item-next")}else{C.trigger("item-previous")}return false;case 39:C.trigger("section-next");return false;case 40:C.trigger("item-next");return false;default:if((D>47&&D<91)||(D>95&&D<112)||(D>185&&D<223)){v=String.fromCharCode(D).toLowerCase();x=(B[2]!==0||B[3]!==0);q=C.text();s=w.find(".mb-sm-open a").filter(function(){var E=b(this);return(E.text().substring(0,1).toLowerCase()===v||(x&&E.text()===q))});if(s.length!==0){if(x){r=s.length;for(p=0,u=r;p!==u;p+=1){if(s.eq(p).text()===q){r=p;break}}if(r<(s.length-1)){a.focus(s.eq(r+1));return false}}a.focus(s.eq(0))}return false}break}}break;case"close":if(n===0){a.focus(a.main.find("#wb-cont").attr("tabindex","-1"))}else{a.focus(w.find(".knav-"+B[1]+"-0-0"))}setTimeout(function(){return c()},5);break;case"section-previous":switch(n){case 0:case 1:o=k.find(".knav-"+(B[1]-1)+"-0-0");if(o.length>0){a.focus(o)}else{a.focus(k.find("ul.mb-menu > li:last").find("a:eq(0)"))}break;case 2:case 3:o=w.find(".knav-"+(B[1])+"-"+(B[2]-1)+"-0, .knav-"+(B[1])+"-"+(B[2]-1)+"-1").first();if(o.length>0&&B[2]>1){a.focus(o)}else{o=k.find(".knav-"+(B[1]-1)+"-0-0");if(o.length>0){a.focus(o)}else{a.focus(k.find("ul.mb-menu > li:last").find("a:eq(0)"))}}break}break;case"section-next":switch(n){case 0:case 1:t=k.find(".knav-"+(B[1]+1)+"-0-0");if(t.length>0){a.focus(t)}else{a.focus(k.find(".knav-0-0-0"))}break;case 2:case 3:t=w.find(".knav-"+(B[1])+"-"+(B[2]+1)+"-0, .knav-"+(B[1])+"-"+(B[2]+1)+"-1").first();if(t.length>0){a.focus(t)}else{t=k.find(".knav-"+(B[1]+1)+"-0-0");if(t.length>0){a.focus(t)}else{a.focus(k.find(".knav-0-0-0"))}}break}break;case"item-next":if(n===0){g(z)}t=w.find(".knav-"+B[1]+"-"+(B[2])+"-"+(B[3]+1));if(t.length===0){t=w.find(".knav-"+B[1]+"-"+(B[2]+1)+"-0, .knav-"+B[1]+"-"+(B[2]+1)+"-1").first()}if(t.length!==0){a.focus(t)}else{a.focus(w.find(".knav-"+B[1]+"-0-1, .knav-"+B[1]+"-1-0, .knav-"+B[1]+"-1-1").first())}break;case"item-previous":o=(n===3||(n===1&&B[3]>1)?w.find(".knav-"+B[1]+"-"+(B[2])+"-"+(B[3]-1)):"");if(o.length===0){o=(B[2]!==0?w.find("a").filter('[class*="knav-'+B[1]+"-"+(B[2]-1)+'-"]:not(.knav-'+B[1]+"-0-0)").last():"")}if(o.length!==0){a.focus(o)}else{a.focus(w.find('[class*="knav-"]').last())}break;case"focusin":if(n===0){c();if(C.find(".expandicon").length>0){g(y.target)}}break}});a.document.on("touchstart focusin",function(){return c()});return k}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.multimedia={type:"plugin",polyfills:["progress"],icons:b('<svg xmlns="http://www.w3.org/2000/svg" version="1.1"><g id="play"><path d="M 14.299775,10.18788 5.7002247,4.610169 5.7867772,15.389831 14.299775,10.18788 z" /></g><g id="pause" style="display:inline"><path d="M 5.3405667,4.610169 5.3405667,15.389831 8.9169966,15.389831 8.9169966,4.610169 5.3405667,4.610169 z M 11.083003,4.610169 11.083003,15.389831 14.659433,15.389831 14.659433,4.610169 11.083003,4.610169 z" /></g><g id="rewind" transform="matrix(-1,0,0,-1,20,20)"><path d="M 8.4182018,15.389831 16.924761,10.187472 8.3244655,4.610169 8.3478995,8.03154 3.0752388,4.610169 3.168975,15.389831 8.3947677,12.202801 8.4182018,15.389831 z" /></g><g id="ff"><path d="M 16.929004,10.187879 8.3294498,4.610169 8.4160023,15.389831 16.929004,10.187879 z M 11.67055,10.187879 3.0709963,4.610169 3.157549,15.389831 11.67055,10.187879 z" /></g><g id="mute_off"><path d="M 12.476712,4.599486 9.3409347,7.735268 5.5431537,7.735268 5.5431537,12.22989 9.3235137,12.22989 12.476712,15.400514 12.476712,4.599486 z"/></g><g id="mute_on"><path d="M 12.466782,4.5994858 9.3309993,7.7352682 5.5332183,7.7352682 5.5332183,12.22989 9.3135782,12.22989 12.466782,15.400514 12.466782,4.5994858 z" /><path d="M 10,1.75 C 5.454363,1.75 1.78125,5.4543629 1.78125,10 1.78125,14.545637 5.454363,18.25 10,18.25 14.545637,18.25 18.25,14.545637 18.25,10 18.25,5.4543629 14.545637,1.75 10,1.75 z M 10,3.25 C 11.602784,3.25 13.062493,3.7896774 14.21875,4.71875 L 4.71875,14.21875 C 3.8057703,13.065541 3.28125,11.593619 3.28125,10 3.28125,6.2650231 6.2650232,3.25 10,3.25 z M 15.25,5.8125 C 16.169282,6.9656383 16.75,8.4065929 16.75,10 16.75,13.734977 13.734977,16.75 10,16.75 8.4063811,16.75 6.9279359,16.200753 5.78125,15.28125 L 15.25,5.8125 z"/></g><g id="cc"><path d="M 9.2241211,6.4042969 9.2241211,8.4003906 C 8.8914318,8.1725317 8.5564712,8.0039121 8.2192383,7.8945312 7.88655,7.7851623 7.5401961,7.7304748 7.1801758,7.7304687 6.4965774,7.7304748 5.9633748,7.9309955 5.5805664,8.3320313 5.2023079,8.7285207 5.0131804,9.2845097 5.0131836,10 5.0131804,10.715498 5.2023079,11.273766 5.5805664,11.674805 5.9633748,12.071291 6.4965774,12.269533 7.1801758,12.269531 7.5629826,12.269533 7.9252869,12.212567 8.2670898,12.098633 8.6134373,11.984702 8.9324474,11.816083 9.2241211,11.592773 L 9.2241211,13.595703 C 8.8413016,13.736979 8.4516536,13.841797 8.0551758,13.910156 7.6632429,13.983073 7.2690376,14.019531 6.8725586,14.019531 5.4916956,14.019531 4.4116185,
913.666341 3.6323242,12.959961 2.8530264,12.249025 2.4633783,11.262372 2.4633789,10 2.4633783,8.7376353 2.8530264,7.7532613 3.6323242,7.046875 4.4116185,6.335945 5.4916956,5.9804766 6.8725586,5.9804687 7.2735948,5.9804766 7.6678002,6.0169349 8.0551758,6.0898437 8.4470963,6.1582108 8.8367443,6.2630284 9.2241211,6.4042969" /><path d="M 17.536621,6.4042969 17.536621,8.4003906 C 17.203932,8.1725317 16.868971,8.0039121 16.531738,7.8945312 16.19905,7.7851623 15.852696,7.7304748 15.492676,7.7304687 14.809077,7.7304748 14.275875,7.9309955 13.893066,8.3320313 13.514808,8.7285207 13.32568,9.2845097 13.325684,10 13.32568,10.715498 13.514808,11.273766 13.893066,11.674805 14.275875,12.071291 14.809077,12.269533 15.492676,12.269531 15.875483,12.269533 16.237787,12.212567 16.57959,12.098633 16.925937,11.984702 17.244947,11.816083 17.536621,11.592773 L 17.536621,13.595703 C 17.153802,13.736979 16.764154,13.841797 16.367676,13.910156 15.975743,13.983073 15.581538,14.019531 15.185059,14.019531 13.804196,14.019531 12.724119,13.666341 11.944824,12.959961 11.165526,12.249025 10.775878,11.262372 10.775879,10 10.775878,8.7376353 11.165526,7.7532613 11.944824,7.046875 12.724119,6.335945 13.804196,5.9804766 15.185059,5.9804687 15.586095,5.9804766 15.9803,6.0169349 16.367676,6.0898437 16.759596,6.1582108 17.149244,6.2630284 17.536621,6.4042969" /></g><g id="overlay"><rect rx="3" ry="3" width="20" height="20" style="fill:#000;opacity:0.4"/><polygon points="5,5 15,10, 5,15" fill="#FFF" style="fill:#FFF;" /></g><g id="loading"><rect rx="3" ry="3" width="20" height="20" style="fill:#000;opacity:0.4"/><g id="spinner" style="stroke-linecap:round;stroke:#FFF;stroke-width:1.5px" transform="translate(9.8,9.8)">
9<line x1="0" y1="5" x2="0" y2="7" transform="rotate(0,0,0)" opacity="0.09"/><line x1="0" y1="5" x2="0" y2="7" transform="rotate(30,0,0)" opacity="0.17"/><line x1="0" y1="5" x2="0" y2="7" transform="rotate(60,0,0)" opacity="0.25"/><line x1="0" y1="5" x2="0" y2="7" transform="rotate(90,0,0)" opacity="0.33"/><line x1="0" y1="5" x2="0" y2="7" transform="rotate(120,0,0)" opacity="0.42"/><line x1="0" y1="5" x2="0" y2="7" transform="rotate(150,0,0)" opacity="0.50"/><line x1="0" y1="5" x2="0" y2="7" transform="rotate(180,0,0)" opacity="0.58"/><line x1="0" y1="5" x2="0" y2="7" transform="rotate(210,0,0)" opacity="0.66"/><line x1="0" y1="5" x2="0" y2="7" transform="rotate(240,0,0)" opacity="0.75"/><line x1="0" y1="5" x2="0" y2="7" transform="rotate(270,0,0)" opacity="0.83"/><line x1="0" y1="5" x2="0" y2="7" transform="rotate(300,0,0)" opacity="0.91"/><line x1="0" y1="5" x2="0" y2="7" transform="rotate(330,0,0)" opacity="1"/></g></g></svg>'),seed:0,get_image:function(i,h,c,e){var d,f;c=c!==undefined?c:20;e=e!==undefined?e:20;if(a.svg){d=a.fn.multimedia.icons.clone();d.attr({height:c,width:e});d.prepend("<title>"+h+"</title>");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('<img src="'+a.add.liblocation+"images/multimedia/"+i+'.png" alt="'+h+'" height="'+c+'" width="'+e+'" />')},_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"+a.fn.multimedia.seed++;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='<img src="'+f.attr("poster")+'" width="'+e+'" height="'+s+'" alt="'+f.attr("title")+'"/>';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('<object play="" pause="" id="'+g+'" width="'+e+'" height="'+s+'" class="'+l+'" type="application/x-shockwave-flash" data="'+n+'" tabindex="-1"><param name="movie" value="'+n+'"/><param name="flashvars" value="'+q+'"/><param name="allowScriptAccess" value="always"/><param name="bgcolor" value="#000000"/><param name="wmode" value="opaque"/>'+(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('<button class="wb-mm-overlay" type="button" data-role="none"/>').append(a.fn.multimedia.get_image("overlay",a.dic.get("%play"),100,100)).attr("title",a.dic.get("%play")))}f.after(a.fn.multimedia._get_ui(g,l==="video"?true:false));if(a.html.hasClass("polyfill-progress")){p.find("progress").progress()}a.window.on("resize",{media:f,ratio:s/e},function(u){var t=u.data.media.parent().width()*u.data.ratio;u.data.media.height(t);f.parent().find(".wb-mm-overlay").height(t)});setTimeout(function(){a.window.trigger("resize")},1);p.on("click",function(x){var t=b(x.target),u=x.button,w,v;if(typeof u==="undefined"||u===a.leftMouseButton){if(t.hasClass("playpause")||x.target===this.object||t.hasClass("wb-mm-overlay")){if(this.getPaused()===true){this.play()}else{this.pause()}}if(t.hasClass("cc")){this.setCaptionsVisible(!this.getCaptionsVisible())}if(t.hasClass("mute")){this.setMuted(!this.getMuted())}if(t.is("progress")||t.hasClass("wb-progress-inner")||t.hasClass("wb-progress-outer")){w=(x.pageX-t.offset().left)/t.width();this.setCurrentTime(this.getDuration()*w)}if(t.hasClass("rewind")||t.hasClass("fastforward")){v=this.getDuration()*0.05;if(t.hasClass("rewind")){v*=-1}this.setCurrentTime(this.getCurrentTime()+v)}}});p.on("keydown",function(w){var u=b(this),t=0;if((w.which===32||w.which===13)&&w.target===this.object){u.find(".wb-mm-control
9s .playpause").click();return false}if(w.keyCode===37){u.find(".wb-mm-controls .rewind").click();return false}if(w.keyCode===39){u.find(".wb-mm-controls .fastforward").click();return false}if(w.keyCode===38){t=Math.round(this.getVolume()*10)/10+0.1;t=t<1?t:1;this.setVolume(t);return false}if(w.keyCode===40){t=Math.round(this.getVolume()*10)/10-0.1;t=t>0?t:0;this.setVolume(t);return false}return true});h.on("timeupdate seeked canplay play volumechange pause ended waiting captionsloaded captionsloadfailed captionsvisiblechange progress",b.proxy(function(x){var v=b(this),t,w,y,u;switch(x.type){case"play":t=v.find(".playpause");t.empty().append(a.fn.multimedia.get_image("pause",a.dic.get("%pause")));t.attr("title",a.dic.get("%pause"));v.find(".wb-mm-overlay").hide();break;case"pause":case"ended":t=v.find(".playpause");t.empty().append(a.fn.multimedia.get_image("play",a.dic.get("%play")));t.attr("title",a.dic.get("%play"));y=v.find(".wb-mm-overlay");y.empty().append(a.fn.multimedia.get_image("overlay",a.dic.get("%play"),100,100)).attr("title",a.dic.get("%play"));y.show();clearTimeout(this.loading);this.loading=false;break;case"volumechange":t=v.find(".mute").empty();if(this.getMuted()){t.append(a.fn.multimedia.get_image("mute_on",a.dic.get("%mute","disable")));t.attr("title",a.dic.get("%mute","disable"))}else{t.append(a.fn.multimedia.get_image("mute_off",a.dic.get("%mute","enable")));t.attr("title",a.dic.get("%mute","enable"))}break;case"captionsvisiblechange":t=v.find(".cc").empty();if(this.getCaptionsVisible()){t.append(a.fn.multimedia.get_image("cc",a.dic.get("%closed-caption","disable")));t.attr("title",a.dic.get("%closed-caption","disable"))}else{t.append(a.fn.multimedia.get_image("cc",a.dic.get("%closed-caption","enable")));t.attr("title",a.dic.get("%closed-caption","enable"))}break;case"timeupdate":w=Math.round(this.getCurrentTime()/this.getDuration()*1000)/10;u=v.find(".wb-mm-timeline progress");u.attr("value",w);v.find(".wb-mm-timeline-current span:not(.wb-invisible)").text(a.fn.multimedia._format_time(this.getCurrentTime()));v.find(".wb-mm-timeline-total span:not(.wb-invisible)").text(a.fn.multimedia._format_time(this.getDuration()));if(b.data(x.target,"captions")!==undefined){a.fn.multimedia._update_captions(v.find(".wb-mm-captionsarea"),this.getCurrentTime(),b.data(x.target,"captions"))}break;case"captionsloaded":b.data(x.target,"captions",x.captions);break;case"captionsloadfailed":v.find(".wb-mm-captionsarea").append("<p>"+a.dic.get("%closed-caption-error")+"</p>");break;case"waiting":if(this.getPaused()===false&&!this.loading){this.loading=setTimeout(function(){y=v.find(".wb-mm-overlay");y.empty().append(a.fn.multimedia._get_loading_ind(this,"loading",a.dic.get("%loading"),100,100));y.show()},500)}break;case"canplay":clearTimeout(this.loading);this.loading=false;if(this.getPaused()===false){y=v.find(".wb-mm-overlay");y.empty().append(a.fn.multimedia.get_image("overlay",a.dic.get("%play"),100,100)).attr("title",a.dic.get("%play"));y.hide()}break;case"progress":if(this.getWaiting()===true){if(this.getBuffering()===false){this.setBuffering(true);h.trigger("waiting")}}else{if(this.getBuffering()===true){this.setBuffering(false);h.trigger("canplay")}}this.setPreviousTime(this.getCurrentTime());break}},p.get(0)));if(j!==undefined){f.after(b('<div class="wb-mm-captionsarea"/>').hide());a.fn.multimedia._load_captions(h,j)}}return p},_get_loading_ind:function(d,c,i,j,g){var f=a.fn.multimedia.get_image(c,i,j,g).attr("title",i),e=0,k,l;if(f.is("svg")){k=f.find("#spinner");l=k.attr("transform");clearInterval(d.spin);d.spin=setInterval(function(){k.attr("transform",l+",rotate("+(e+=20)+" 0 0)")},50)}return f},_get_ui:function(h,g){var e=b('<div class="wb-mm-controls">'),d=b('<div class="wb-mm-controls-start">'),f=b('<div class="wb-mm-timeline" tabindex="0"><p class="wb-mm-timeline-current"><span class="wb-invisible">'+a.dic.get("%position")+'</span><span>00:00:00</span></p><p class="wb-mm-timeline-total"><span class="wb-invisible">'+a.dic.get("%duration")+'</span><span>--:--:--</span></p><p class="wb-mm-timeline-inner"><span class="wb-invisible">'+a.dic.get("%percentage")+'</span>
9<progress value="0" max="100" aria-live="off" /></p>'),c=b('<div class="wb-mm-controls-end">');d.append(b("<button>").attr({type:"button","class":"rewind","aria-controls":h,title:a.dic.get("%rewind"),"data-role":"none"}).append(a.fn.multimedia.get_image("rewind",a.dic.get("%rewind"))));d.append(b("<button>").attr({type:"button","class":"playpause","aria-controls":h,title:a.dic.get("%play"),"data-role":"none"}).append(a.fn.multimedia.get_image("play",a.dic.get("%play"))));d.append(b("<button>").attr({type:"button","class":"fastforward","aria-controls":h,title:a.dic.get("%fast-forward"),"data-role":"none"}).append(a.fn.multimedia.get_image("ff",a.dic.get("%fast-forward"))));if(g===true){c.append(b("<button>").attr({type:"button","class":"cc","aria-controls":h,title:a.dic.get("%closed-caption","enable"),"data-role":"none"}).append(a.fn.multimedia.get_image("cc",a.dic.get("%closed-caption","enable"))))}else{e.addClass("wb-mm-no-cc")}c.append(b("<button>").attr({type:"button","class":"mute","aria-controls":h,title:a.dic.get("%mute","enable"),"data-role":"none"}).append(a.fn.multimedia.get_image("mute_off",a.dic.get("%mute","enable"))));e.append(d).append(f).append(c);return e},_intf:{play:function(){try{this.object.play()}catch(c){this.object.doPlay()}},pause:function(){try{this.object.pause()}catch(c){this.object.doPause()}},getPaused:function(){return(typeof this.object.paused!=="function"?this.object.paused:this.object.paused())},getPlayed:function(){return(typeof this.object.played!=="function"?this.object.played:this.object.played())},getEnded:function(){return(typeof this.object.ended!=="function"?this.object.ended:this.object.ended())},getSeeking:function(){return(typeof this.object.seeking!=="function"?this.object.seeking:this.object.seeking())},getDuration:function(){return(typeof this.object.duration!=="function"?this.object.duration:this.object.duration())},getBuffered:function(){return(typeof this.object.buffered!=="function"?(this.object.buffered.length>0?this.object.buffered.end(0):0):this.object.buffered())},getCurrentTime:function(){return(typeof this.object.currentTime!=="function"?this.object.currentTime:this.object.currentTime())},setCurrentTime:function(c){if(typeof this.object.currentTime!=="function"){this.object.currentTime=c}else{this.object.setCurrentTime(c)}},getPreviousTime:function(){return(typeof this.object.previousTime!=="undefined"?this.object.previousTime:0)},setPreviousTime:function(c){this.object.previousTime=c},getCaptionsVisible:function(){return b(this).find(".wb-mm-captionsarea").is(":visible")},setCaptionsVisible:function(c){if(c){b(this).find(".wb-mm-captionsarea").show()}else{b(this).find(".wb-mm-captionsarea").hide()}b(this.evtmgr).trigger("captionsvisiblechange")},getMuted:function(){return(typeof this.object.muted!=="function"?this.object.muted:this.object.muted())},setMuted:function(c){if(typeof this.object.muted!=="function"){this.object.muted=c}else{this.object.setMuted(c)}},getVolume:function(){return(typeof this.object.volume!=="function"?this.object.volume:this.object.volume())},setVolume:function(c){if(typeof this.object.volume!=="function"){this.object.volume=c}else{this.object.setVolume(c)}},getWaiting:function(){return this.getPaused()===false&&this.getCurrentTime()===this.getPreviousTime()}
9,getBuffering:function(){return(typeof this.object.buffering!=="undefined"?this.object.buffering:false)},setBuffering:function(c){this.object.buffering=c}},_format_time:function(g){var e="",d,h,f;g=Math.floor(g);for(d=2;d>=0;d-=1){f=Math.pow(60,d);h=Math.floor(g/f);if(e!==""){e+=":"}e+=a.string.pad(h,2);g-=f*h}return e},_load_captions:function(g,d){var m,e,f,i,l,h,j,k;m=function(o){var t,q=0,r,n,c;if(o!==undefined){if(o.substring(o.length-1)==="s"){return parseFloat(o.substring(0,o.length-1))}else{t=o.split(":").reverse();for(r=0,n=t.length;r<n;r+=1){c=(r===0)?parseFloat(t[r]):parseInt(t[r],10);q+=c*Math.pow(60,r)}return q}}return -1};e=function(o){var n=".wet-boew-tt",p=o.find(n),c=[];p.each(function(){var t=b(this),s=-1,q=-1,r;if(t.attr("data-begin")!==undefined){s=m(t.attr("data-begin"));q=t.attr("data-end")!==undefined?m(t.attr("data-end")):m(t.attr("data-dur"))+s}else{if(t.attr("data")!==undefined){r=t.attr("data");r=r.replace(/(begin|dur|end)/gi,'"$1"').replace(/'/g,'"');r=b.parseJSON(r);s=m(r.begin);q=r.end!==undefined?m(r.end):m(r.dur)+s}}t=t.clone();t.find(n).detach();c[c.length]={text:t.html(),begin:s,end:q}});return c};f=function(o){var n="[begin]",p=o.find(n),c=[];p.each(function(){var s=b(this),r=-1,q=-1;r=m(s.attr("begin"));q=s.attr("end")!==undefined?m(s.attr("end")):m(s.attr("dur"))+r;s=s.clone();s.find(n).detach();c[c.length]={text:s.html(),begin:r,end:q}});return c};i=function(n){var c={type:"captionsloaded",captions:e(n)};g.trigger(c)};l=function(c){b.ajax({url:c,context:g,dataType:"html",dataFilter:function(n){return n.replace(/<img [^>]*>/gi,"")},success:function(o){var n={type:"captionsloaded"};if(o.indexOf("<html")>-1){n.captions=e(b(o))}else{n.captions=f(b(o))}b(this).trigger(n)},error:function(n,p,o){b(this).trigger({type:"captionsloadfailed",error:o})}})};if(d!==undefined){h=a.url(window.location.href);j=a.url(d);if(j.removehash()===h.source){k=b("#"+j.hash);if(k.length>0){i(k);return}g.trigger({type:"captionsloadfailed",error:new Error('Object with id "'+j.anchor+'" not found')});return}else{l(j.source);return}}g.trigger({type:"captionsloadfailed",error:new Error("Caption source is missing")})},_update_captions:function(f,h,e){var i,g,d;f.empty();for(i=0,g=e.length;i<g;i+=1){d=e[i];if(h>=d.begin&&h<=d.end){f.append(b("<div>"+d.text+"</div>"))}}}};a.triggermediaevent=function(d,c){b("#"+d).find("param:eq(0)").trigger(c)};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.prettify={type:"plugin",depends:["prettify"],executed:false,_exec:function(g){if(!a.fn.prettify.executed){var c,k,d=b("body").find("pre"),e=g.attr("class").split(" "),f,l,j,h=a.add.liblocation;for(f=0,l=e.length;f<l;f+=1){j=e[f];if(j.length<12&&j.indexOf("lang-")===0){a.add._load([h+"dependencies/prettify/"+j+a.suffix+".js"])}}c={linenums:false,allpre:false};k={linenums:g.hasClass("linenums")?true:undefined,allpre:g.hasClass("all-pre")?true:undefined};if(typeof wet_boew_prettify!=="undefined"&&wet_boew_prettify!==null){b.extend(c,wet_boew_prettify,k)}else{b.extend(c,k)}if(c.allpre){d.addClass("prettyprint")}if(c.linenums){d.filter(".prettyprint").addClass("linenums")}prettyPrint();a.fn.prettify.executed=true}}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.sessiontimeout={type:"plugin",_exec:function(i){var p,e='<div class="sOverlay jqmOverlay"> </div>',n,f,t,h,k,q,s,m,o,l,j,d=a.dic.get("%st-already-timeout-msg"),c=a.dic.get("%st-timeout-msg"),r,g=0;p={ajaxLimiter:200000,inactivity:1200000,reactionTime:180000,sessionalive:1200000,logouturl:"./",refreshOnClick:true,refreshCallbackUrl:"./",regex:/^([0-9]+(?:\.[0-9]*)?)\s*(.*s)?$/,powers:{ms:1,cs:10,ds:100,s:1000,das:10000,hs:100000,ks:1000000}};b.extend(p,(typeof wet_boew_sessiontimeout!=="undefined"?wet_boew_sessiontimeout:{}),a.data.getData(i,"wet-boew"));t=function(){if(p.refreshCallbackUrl.length>2){b.post(p.refreshCallbackUrl,function(u){if(u&&u.replace(/\s/g,"")==="true"){k()}else{alert(d);o()}})}};h=function(){clearTimeout(n);n=setTimeout(s,l(p.inactivity))};k=function(){clearTimeout(f);f=setTimeout(t,l(p.sessionalive))};q=function(){var v=document.activeElement,u;b(document.body).append(e);u=confirm(c.replace("#expireTime#",j()));v.focus();b(".jqmOverlay").detach();return u};s=function(){var u=m();if(q()&&m()-u<=p.reactionTime){t();h();k()}else{o()}};m=function(){return(new Date()).getTime()};o=function(){window.location.href=p.logouturl};l=function(w){var u,v,x;
9if(typeof w==="undefined"||w===null){return null}u=p.regex.exec(b.trim(w.toString()));if(u[2]){v=parseFloat(u[1]);x=p.powers[u[2]]||1;return v*x}else{return w}};j=function(){var w=new Date(m()+p.reactionTime),v=w.getHours(),x=w.getMinutes(),y=w.getSeconds(),u=v<12?" AM":" PM";v=v%12;if(v===0){v=12}v=v<10?"0"+v:v;x=x<10?"0"+x:x;y=y<10?"0"+y:y;return v+":"+x+":"+y+u};h();k();if(p.refreshOnClick){a.document.on("click",function(u){if(typeof u.button==="undefined"||u.button===a.leftMouseButton){if(r>=1&&(m()-g)>p.ajaxLimiter){g=m();r=0;t()}else{r=m()}h();k()}})}return i}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.share={type:"plugin",depends:["bookmark"],_exec:function(n){var e,q,d,g,m,o,r,p,k,j,l,c,i,s,f,h;e={url:"",sourceTag:"",title:"",description:"",sites:[],compact:false,hint:pe.dic.get("%share-text")+pe.dic.get("%share-hint")+pe.dic.get("%new-window"),popup:true,popupTag:"h2",popupText:pe.dic.get("%share-text"),includeDisclaimer:true,popupDisclaimer:pe.dic.get("%share-disclaimer"),hideText:(pe.dic.get("%hide")+" - "),addFavorite:false,favoriteText:pe.dic.get("%favourite"),addEmail:false,emailText:pe.dic.get("%email"),emailSubject:pe.dic.get("%share-email-subject"),emailBody:pe.dic.get("%share-email-body"),manualBookmark:pe.dic.get("%share-manual"),addShowAll:false,showAllText:pe.dic.get("%share-showall"),showAllTitle:pe.dic.get("%share-showall-title"),addAnalytics:false,analyticsName:"/share/{r}/{s}",addSites:{}};q={compact:n.hasClass("compact")?true:undefined,popup:n.hasClass("popup-none")?false:undefined,addFavorite:n.hasClass("favourite")?true:undefined,addEmail:n.hasClass("email")?true:undefined,addShowAll:n.hasClass("showall")?true:undefined,addAnalytics:n.hasClass("analytics")?true:undefined};b.extend(e,(typeof wet_boew_share!=="undefined"?wet_boew_share:{}),q,a.data.getData(n,"wet-boew"));s=e.addSites;if(s.length!==0){for(f in s){if(s.hasOwnProperty(f)){h=s[f];b.bookmark.addSite(f,h.display,h.icon,h.lang,h.category,h.url)}}}n.bookmark(e);if(e.popup&&pe.cssenabled){if(e.popupTag.substring(0,1)==="h"){n.wrapInner("<section />")}d=n.find(".bookmark_popup").detach();g=d[0];g.setAttribute("id","bookmark_popup");g.setAttribute("aria-hidden","true");d.prepend('<p class="popup_title">'+e.popupText+"</p>");o=g.getElementsByTagName("ul")[0];o.setAttribute("role","menu");p=o.getElementsByTagName("a");r=b(p);j=p.length;l=j;while(l--){k=p[l];k.setAttribute("role","menuitem");k.setAttribute("rel","external");k.setAttribute("aria-posinset",(l+1));k.setAttribute("aria-setsize",j);c=k.getElementsByTagName("span");if(c.length>0){c=c[0];k.title=c.title;c.removeAttribute("title")}}if(e.addEmail){i=d.find('a[href*="mailto:"]').removeAttr("target").removeAttr("rel");i.attr("title",i.attr("title").replace(pe.dic.get("%new-window"),""))}if(e.addFavorite){i=d.find('a[href*="#"]').removeAttr("target").removeAttr("rel").attr("title",e.favoriteText+pe.dic.get("%share-fav-title"))}if(e.includeDisclaimer){d.append('<p class="popup_disclaimer">'+e.popupDisclaimer+"</p>")}n.append(d);d.on("click vclick touchstart focusin",function(u){var t=u.button;if(typeof t==="undefined"||t===a.leftMouseButton){if(u.stopPropagation){u.stopImmediatePropagation()}else{u.cancelBubble=true}}}).on("click vclick touchstart","a",function(u){var t=u.button;if(typeof t==="undefined"||t===a.leftMouseButton){window.open(this.href,"_blank");d.trigger("close");return false}});m=n.find(".bookmark_popup_text").off("click vclick touchstart keydown").wrap("<"+e.popupTag+" />");m.attr({role:"button","aria-controls":"bookmark_popup","aria-haspopup":"true"}).on("click vclick touchstart keydown",function(v){var u=v.keyCode,t=v.button;if(v.type==="keydown"){if(!(v.ctrlKey||v.altKey||v.metaKey)){if(u===13||u===32){v.preventDefault();if(d.attr("aria-hidden")==="true"){d.trigger("open")}else{d.trigger("close")}}else{if(u===38||u===40){v.preventDefault();d.trigger("open")}}}}else{if(typeof t==="undefined"||t===a.leftMouseButton){if(d.attr("aria-hidden")==="true"){d.trigger("open")}else{d.trigger("close")}return false}}});d.on("keydown open close closenofocus",function(A){if(A.type==="
9keydown"){if(!(A.ctrlKey||A.altKey||A.metaKey)){var B=b(A.target),D=A.keyCode,t,y,w,x,z,v,C,u;switch(D){case 27:d.trigger("close");return false;case 37:B=B.closest("li").prev().find("a");if(B.length===0){B=r}pe.focus(B.last());return false;case 38:t=A.target.offsetLeft;B=B.closest("li").prevAll().find("a").filter(function(){return(this.offsetLeft===t)});if(B.length>0){pe.focus(B.first())}else{B=r.filter(function(){return(this.offsetLeft<t)});if(B.length>0){pe.focus(B.last())}else{t=p[p.length-1].offsetLeft;B=r.filter(function(){return(this.offsetLeft>t)});if(B.length>0){pe.focus(B.last())}else{pe.focus(r.last())}}}return false;case 39:B=B.closest("li").next().find("a");if(B.length===0){B=r}pe.focus(B.first());return false;case 40:t=A.target.offsetLeft;B=B.closest("li").nextAll().find("a").filter(function(){return(this.offsetLeft===t)});if(B.length>0){pe.focus(B.first())}else{B=r.filter(function(){return(this.offsetLeft>t)});if(B.length>0){pe.focus(B.first())}else{pe.focus(r.first())}}return false;default:if((D>47&&D<91)||(D>95&&D<112)||(D>185&&D<223)){y=String.fromCharCode(A.keyCode).toLowerCase();u=B.text();w=r.filter(function(){C=b(this).text();return(C.substring(1,2).toLowerCase()===y)});if(w.length!==0){if(B.hasClass("bookmark_popup_text")||u.substring(1,2).toLowerCase()!==y){pe.focus(w.eq(0))}else{x=w.length;for(v=0,z=x;v!==z;v+=1){if(w.eq(v).text()===u){x=v;break}}if(x<(w.length-1)){pe.focus(w.eq(x+1));return false}pe.focus(w.eq(0))}}return false}}}}else{if(A.type==="open"){m.text(e.hideText+e.popupText);d.attr("aria-hidden","false").addClass("show");pe.focus(d.find("li a").first())}else{if(A.type==="close"||A.type==="closenofocus"){m.text(e.popupText);d.attr("aria-hidden","true").removeClass("show");if(A.type==="close"){pe.focus(m.first())}}}}});a.document.on("click vclick touchstart focusin",function(v){var u=v.target.className,t=v.button;if(d.attr("aria-hidden")==="false"&&(u===null||u.indexOf("bookmark_popup_text")===-1)){if(v.type==="focusin"){d.trigger("closenofocus")}else{if(typeof t==="undefined"||t===a.leftMouseButton){d.trigger("close")}}}})}else{n.addClass("popup-none")}return n}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.slideout={type:"plugin",opened:false,_exec:function(i){var z=10,y=a.dic.get("%table-contents"),l=a.dic.get("%hide"),x=l+'<span class="wb-invisible"> '+y+"</span>",v=2,w=false,s,j=true,c=true,r,t,d,u=0,g,n,m,k,e,p,o,h=a.preIE7,f=b("#wb-core-in"),q=a.add.liblocation+"images/slideout/";o={imgShow:{src:q+a.dic.get("%show-image"),height:147,width:30,alt:a.dic.get("%show-toc")+y},imgHide:{src:q+a.dic.get("%hide-image"),height:147,width:30,alt:l+y}};b.extend(o,(typeof wet_boew_slideout!=="undefined"?wet_boew_slideout:{}),a.data.getData(i,"wet-boew"));if(!a.cssenabled()){return}m=i.wrap('<div><div id="slideoutWrapper"><div id="slideoutInnerWrapper"></div></div></div>').parent();g=m.parent();n=g.parent();g.detach();i.attr({role:"menu",id:"slideout-body"}).find("ul, li").attr("role","presentation");if(j){i.find('a[href="'+window.location.href+'"]').replaceWith('<span class="so-active">'+b(this).text()+"</span>")}e=i.find("a").attr("role","menuitem");s=function(){if(!w){var A=f.offset().left;if(A<=z){A=0}g.css("top",f.offset().top);g.css("right",A)}};r=function(C){var A,B=C.button;if(typeof B==="undefined"||B===a.leftMouseButton){t.off("click vclick touchstart",r);e.off("click vclick touchstart",r);d.off("click vclick touchstart",r);g.off("keydown",k);i.off("keydown",k);a.document.off("click vclick touchstart",p);if(!w){A=g.position();if(a.ie<=0||document.documentMode!==undefined){g.removeClass("slideoutWrapper").addClass("slideoutWrapperRel").css({top:A.top-f.offset().top,right:z-10})}setTimeout(function(){i.show()},50);a.focus(e.eq(0))}w=!w;g.animate({width:parseInt(g.css("width"),10)===(o.imgShow.width+v)?i.outerWidth()+(o.imgShow.width+v):(o.imgShow.width+v)+"px"},function(){if(!w){i.hide();g.find("#slideoutInnerWrapper").css("width",o.imgHide.width);if(a.ie<=0||document.documentMode!==undefined){g.addClass("slideoutWrapper");g.removeClass("slideoutWrapperRel");g.css("width",(o.imgShow.width+v)+"px").css("top",f.offset().top);s()}}else{if(h&&document.documentMode===undefined){i.find("ul").html(i.find("ul").html())}}t.on("click vclick touchstart",r);e.on("click vclick touchstart",r);d.on("click vclick touchstart",r);
9g.on("keydown",k);i.on("keydown",k);a.document.on("click vclick touchstart",p)});if(w){g.find("#slideoutToggle a img").attr({src:o.imgHide.src,title:o.imgHide.alt,alt:o.imgHide.alt});g.find("#slideoutToggle a");i.attr("aria-hidden","false");g.find("#slideoutInnerWrapper").css("width","")}else{g.find("#slideoutToggle a img").attr({src:o.imgShow.src,title:o.imgShow.alt,alt:o.imgShow.alt});g.find("#slideoutToggle a");i.attr("aria-hidden","true")}if(typeof C!=="undefined"&&b(C.target).is(d)){return false}}};k=function(F){var G=b(F.target),I=F.keyCode,H=G.is('[role="menuitem"]'),D,E,A,C,B;if(H){e.each(function(J){if(b(this).is(G)){D=J;return false}})}if(!(F.ctrlKey||F.altKey||F.metaKey)){switch(F.keyCode){case 9:if(w&&((F.shiftKey&&G.is(t))||(!F.shiftKey&&G.is(d)))){t.trigger("click");a.focus(t);return false}break;case 13:G.trigger("click");if(G.is(d)){a.focus(t);return false}break;case 27:if(w){r();a.focus(t);return false}break;case 32:G.trigger("click");if(G.is(d)){a.focus(t);return false}break;case 38:if(!H){if(w){a.focus(e.eq(e.length-1))}else{t.trigger("click")}}else{if(D===0){a.focus(e.eq(e.length-1))}else{a.focus(e.eq(D-1))}}return false;case 40:if(!H){if(w){a.focus(e.eq(0))}else{t.trigger("click")}}else{if(D===e.length-1){a.focus(e.eq(0))}else{a.focus(e.eq(D+1))}}return false;default:if((I>47&&I<91)||(I>95&&I<112)||(I>185&&I<223)){E=String.fromCharCode(I).toLowerCase();A=G.text();B=i.find("a").filter(function(){return(b(this).text().substring(0,1).toLowerCase()===E||b(this).text()===A)});if(B.length>0){B.each(function(J){if(b(this).text()===A){C=J;return false}});if(C<(B.length-1)){a.focus(B.eq(C+1));return false}a.focus(B.eq(0))}return false}}}else{if(F.metaKey&&F.keycode===9){if(G.is(t)){t.trigger("click");return false}}}};e.on("click vclick touchstart",r);g.on("keydown",k);i.on("keydown",k);p=function(C){var A=b(C.target),B=C.button;if(typeof B==="undefined"||B===a.leftMouseButton){if(w&&!A.is(i)&&!A.is(g)&&A.closest(i).length===0){r()}}};a.document.on("click vclick touchstart",p);i.append('<a href="#" id="slideoutClose" role="button" aria-controls="slideout-body">'+x+"</a>");d=i.find("#slideoutClose");m.css("padding",(v/2)+"px").prepend('<div id="slideoutToggle" class="slideoutToggle"><a id="toggleLink" role="button" aria-controls="slideout-body" aria-label="'+o.imgShow.alt+'" href="#" onclick="return false;"><img width="'+o.imgShow.width+'px" height="'+o.imgShow.height+'px" src="'+o.imgShow.src+'" alt="'+o.imgShow.alt+'" /></a></div>');t=m.find("#toggleLink");g.find("#slideoutToggle").css({width:o.imgShow.width,height:o.imgShow.height});i.addClass("tabbedSlideout");u=i.outerHeight();g.css("width",(o.imgShow.width+v)+"px").css("top",f.offset().top);i.hide().attr("aria-hidden","true");m.css("width",o.imgHide.width);if(h&&document.documentMode===undefined){c=false}if(c){g.addClass("slideoutWrapper");a.resize(s);s()}else{g.addClass("so-ie7");g.addClass("slideoutWrapperRel").css({right:z-10,top:"0"})}t.on("click vclick touchstart",r);d.on("click vclick touchstart",r);n.append(g);g.unwrap();if(h){a.html.css("overflowY","auto")}}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.tabbedinterface={type:"plugin",depends:(a.mobile?[]:["easytabs"]),mobile:function(m){var c,o,d=m.children(".tabs-panel").children("div"),k=m.children(".tabs").children("li"),n,e=b(".wet-boew-tabbedinterface").index(m),g='<div data-role="collapsible-set" data-mini="true" data-content-theme="b" data-theme="b">',l=0,j,q,f,p,i,h;n=k.find('a[href="#'+a.urlhash+'"]');if(n.length===0){n=k.find('a[href="'+this._get_active_panel(e)+'"]')}if(n.length>0){k.removeClass("default");n.parent("li").addClass("default")}for(i=0,h=k.length;i<h;i+=1){if(k.eq(i).hasClass("default")){l=i;break}}q=this._get_heading_level(m);f="<h"+q+">";p="</h"+q+">";for(i=0,h=d.length;i<h;i+=1){j=k.eq(i).children("a");g+='<div data-role="collapsible"'+(i===l?' data-collapsed="false"':"")+' data-tab="'+this._get_hash(j.attr("href"))+'">'+f+j.html()+p+"</div>"}c=b(g);o=c.find("div");while(h--){o.eq(h).append(d.eq(h))}m.empty().append(c);this._init_panel_links(o,o,"data-tab",function(s){var r=s.button;if(typeof r==="undefined"||r===a.leftMouseButton){s.data.tab.trigger("expand");return false}});o.on("expand",function(){a.fn.tabbedinterface._set_active_panel(b(this).data("tab"),e);setTimeout(function(){a.window.trigger("resize")},1)});return m},_exec:function(i){if(a.mobile){return a.fn.tabbedinterface.mobile(i).trigger("create")}var f,v=i.children(".tabs"),d=v.find("a").filter(":not(.tabs-toggle)"),
9c=i.children(".tabs-panel"),t=b(".wet-boew-tabbedinterface"),h,k=c.children(),e,s,m,o,n,g,y,A,l=a.dic.get("%pause"),x=a.dic.get("%tab-rotation","disable"),z=a.dic.get("%play"),j=a.dic.get("%tab-rotation","enable"),r=" "+a.dic.get("%hyphen")+" ",q,u,p=t.length>1?" "+(t.index(i)+1):"",C,B="-link",w;o={panelActiveClass:"active",tabActiveClass:"active",defaultTab:"li:first-child",autoHeight:true,cycle:false,carousel:false,autoPlay:false,animate:false,animationSpeed:"normal",updateHash:false};n={defaultTab:((i.find(".default").length)?".default":undefined),autoHeight:i.hasClass("auto-height-none")?false:undefined,cycle:(i.hasClass("cycle-slow")?8000:(i.hasClass("cycle-fast")?2000:(i.hasClass("cycle")?6000:undefined))),carousel:i.hasClass("style-carousel")?true:undefined,autoPlay:i.hasClass("auto-play")?true:undefined,animate:(i.hasClass("animate")||i.hasClass("animate-slow")||i.hasClass("animate-fast"))?true:undefined,animationSpeed:(i.hasClass("animate-slow")?"slow":(i.hasClass("animate-fast")?"fast":undefined))};b.extend(o,(typeof wet_boew_tabbedinterface!=="undefined"?wet_boew_tabbedinterface:{}),n,a.data.getData(i,"wet-boew"));h=b("<h"+this._get_heading_level(i)+' class="wb-invisible">').text(a.dic.get("%tab-list")+p);if(a.preIE9){h.wrap("<div>")}h.insertBefore(v);v.attr({role:"tablist","aria-live":"off"}).children("li").attr("role","presentation");d.attr({role:"tab","aria-selected":"false"});c.attr("id",k.eq(0).attr("id")+"-parent");k.attr({tabindex:"-1",role:"tabpanel","aria-hidden":"true"}).each(function(){if(a.ie!==0){this.setAttribute("aria-labelledby",this.id+B)}});f=v.find(".default a");if(f.length===0){f=v.find("li:first-child a")}f.attr("aria-selected","true");w=f.attr("href");k.filter(w.substring(w.indexOf("#"))).attr("aria-hidden","false");d.off("click vclick").on("keydown click",function(H){var E=b(H.target),G=H.button,L,D,F,K,I,J;if(H.type==="keydown"){J=H.keyCode===13||H.keyCode===32;I=H.keyCode===37||H.keyCode===38;K=H.keyCode===39||H.keyCode===40;if((J||I||K)&&!(H.ctrlKey||H.altKey||H.metaKey)){if(o.cycle){q()}if(!J){A(I?y(d):g(d),d,k,o,false)}}}else{if(typeof G==="undefined"||G===a.leftMouseButton){D=E.attr("href");F=D.substring(D.indexOf("#"));if(E.is(d.filter("."+o.tabActiveClass))){a.focus(k.filter(F))}L=k.filter(F);if(!L.data("easytabs").lastHeight){L.data("easytabs").lastHeight=L.outerHeight()}}}});g=function(D){var E=D.filter("."+o.tabActiveClass).parent().next(":not(.tabs-toggle)");return(E.length===0?D.first():E.children("a"))};y=function(D){var E=D.filter("."+o.tabActiveClass).parent().prev();return(E.length===0?D.last():E.children("a"))};A=function(J,K,F,D,G){var L,I,M,E=J.attr("href"),H=E.substring(E.indexOf("#"));F.stop(true,true);if(D.animate){I=F.filter("."+D.panelActiveClass).removeClass(D.panelActiveClass).attr("aria-hidden","true");M=F.filter(H);I.fadeOut(D.animationSpeed,function(){return M.fadeIn(D.animationSpeed,function(){return b(this).addClass(D.panelActiveClass).attr("aria-hidden","false")})})}else{F.removeClass(D.panelActiveClass).attr("aria-hidden","true").hide();F.filter(H).show().addClass(D.panelActiveClass).attr("aria-hidden","false")}K.removeClass(D.tabActiveClass).attr("aria-selected","false").parent().removeClass(D.tabActiveClass);J.addClass(D.tabActiveClass).attr("aria-selected","true").parent().addClass(D.tabActiveClass);L=J.parent().siblings(".tabs-toggle");if(!G&&(L.length===0||L.data("state")==="stopped")){return a.focus(J)}};u=function(){if(s.data("state")==="stopped"){m(d,k,o);e.removeClass("tabs-start").addClass("tabs-stop").html(l+'<span class="wb-invisible">'+r+x+"</span>");return b(".wb-invisible",e).text(r+x)}if(s.data("state")==="started"){return q()}};if(o.autoHeight&&!i.hasClass("tabs-style-4")&&!i.hasClass("tabs-style-5")){k.show();c.equalHeights(true)}i.easytabs(b.extend({},o,{cycle:false}));if(o.cycle){m=function(D,G,F){var E,H;E=D.filter("."+F.tabActiveClass);H=E.siblings(".tabs-roller");v.addClass("started");i.find(".tabs-toggle").data("state","started");return H.show().animate({width:E.parent().width()},F.cycle-200,"linear",function(){b(this).width(0).hide();A(g(D),D,G,F,true);return i.data("interval",setTimeout(function(){return m(D,G,F)},0))})};q=function(){clearTimeout(i.data("interval"));i.find(".tabs-roller").width(0).hide().stop();i.find(".tabs-toggle").data("state","stopped");v.removeClass("started");e.removeClass("tabs-stop").addClass("tabs-start").html(z+'<span class="wb-invisible">'+r+j+"</span>");return b(".wb-invisible",e).text(r+j)};C=c.attr("id");v.append('<li class="tabs-toggle"><a class="tabs-prev" href="javascript:;" role="button"> <span class="wb-invisible">'+a.dic.get("%previous")+"</span></a></li>");v.find(".tabs-prev").on("click",function(E){var D=E.button;if(typeof D==="undefined"||D===a.leftMouseButton){A(y(d),d,k,o,true)}});v.append('<li class="tabs-toggle"><a class="tabs-next" href="javascript:;" role="button"> <span class="wb-invisible">'+a.dic.get("%next")+"</span></a></li>");v.find(".tabs-next").on("click",function(E){var D=E.button;if(typeof D==="undefined"||D===a.leftMouseButton){A(g(d),d,k,o,true)}});s=b('<li class="tabs-toggle"><a class="tabs-stop" href="javascript:;" role="button">'+l+'<span class="wb-invisible">'+r+x+"</span></a></li>");e=s.find("a");v.append(s);s.click(u).on("keydown",function(D){if(D.keyCode===32&&!(D.ctrlKey||D.altKey||D.metaKey)){u();return D.preventDefault()}});v.find("li a").not(s.find("a")).on("click",function(E){var D=E.button;if(typeof D==="undefined"||D===a.leftMouseButton){return q()}});d.each(function(){var D;D=b('<div class="tabs-roller">').hide().on("click",function(){return b(this).siblings("a").trigger("click")});if(a.preIE8){b(".tabs-style-2 .tabs, .tabs-style-2 .tabs li").css("filter","")}return b(this).parent().append(D)});m(d,k,o);if(!o.autoPlay){q()}
9a.document.on("keydown",function(D){if(D.keyCode===27){if(s.data("state")==="started"){a.focus(i.find(".tabs ."+o.tabActiveClass));q()}}});e.on("focus blur",function(D){e.attr("aria-live",D.type==="focus"?"polite":"off")})}i.find("a").filter('[href^="#"]').each(function(){var G=b(this),E,D=G.attr("href"),F=D.substring(D.indexOf("#"));if(F.length>1){E=b(F,k);if(E.length){return G.on("click",function(K){var H,J,I=K.button;if(typeof I==="undefined"||I===a.leftMouseButton){H=E.parents('[role="tabpanel"]:hidden');if(H.length!==0){K.preventDefault();J=H.attr("id");H.parent().siblings(".tabs").find("a").filter('[href="#'+J+'"]').trigger("click");return E.get(0).scrollIntoView(true)}}})}}});this._init_panel_links(k,d,"href",function(D){D.data.tab.trigger("click");if(o.cycle){q()}return false});return i.attr("class",i.attr("class").replace(/\bwidget-style-/,"style-"))},_init_panel_links:function(g,e,d,j){var h,i,f=g.find("a").filter('[href^="#"]'),c=f.length;while(c--){i=this._get_hash(f[c].href);if(i.length>1){h=e.filter("["+d+'="'+i+'"]');if(h.length!==0){b(f[c]).off("click.hlinks vclick.hlinks").on("click vclick",{tab:h},j)}}}},_get_heading_level:function(f){var e=f.find(":header"),d,c;if(e.length!==0){d=parseInt(e.prop("tagName").substr(1),10)}else{c=f;while(e.length===0){c=c.parent();e=c.find(":header")}d=parseInt(e.prop("tagName").substr(1),10)+1}return d},_set_active_panel:function(e,c){if(typeof window.sessionStorage!=="undefined"){try{window.sessionStorage.setItem("activePanel-"+c,e)}catch(d){}}},_get_active_panel:function(c){if(typeof window.sessionStorage!=="undefined"){return window.sessionStorage.getItem("activePanel-"+c)}return null},_get_hash:function(c){return c!==null?c.substring(c.indexOf("#")):""}};window.pe=a;return a}(jQuery));(function(){var a=window.pe||{fn:{}};a.fn.texthighlight={type:"plugin",_exec:function(c){function b(g,j){var d,h,f,e;g=g.replace(/^\s+|\s+$/g,"");g=g.replace(/\|+/g,"");d=g.split("+");if(d.length>0){g="";for(f=0,e=d.length;f<e;f+=1){g+=d[f]+" "}g=g.replace(/^\s+|\s+$|\"|\(|\)/g,"")}g=g.replace(/\s+/g,"|");g=decodeURIComponent(g);g="(?=([^>]*<))([\\s'])?("+g+")(?!>)";h=j.html().replace(new RegExp(g,"gi"),function(m,l,k,i){return(typeof k==="undefined"?"":k)+'<span class="texthighlight"><mark>'+i+"</mark></span>"});j.html(h);return null}if(a.urlquery.texthighlight!==undefined){b(a.urlquery.texthighlight,c)}return this}};window.pe=a;return a}());(function(b){var a=window.pe||{fn:{}};a.fn.webwidget={type:"plugin",weather:{_parse_entries:function(d,e,g){var f=d[1],c='<li><a href="'+f.link+'">'+f.title+'</a> <span class="widget-datestamp">['+a.date.to_iso_format(f.publishedDate,true)+"]</span></li>";return g.empty().append(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://weather.gc.ca/rss/$1/$2_$3.xml");e=a.urlpage.protocol+"://ajax.googleapis.com/ajax/services/feed/load?v=1.0&callback=?&q="+encodeURIComponent(decodeURIComponent(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<d.length?e:d.length);g=d.sort(function(l,i){return a.date.compare(i.publishedDate,l.publishedDate)});for(h=0;h<j;h+=1){f=g[h];c+='<li><a href="'+f.link+'">'+f.title+"</a>"+(f.publishedDate!==""?' <span class="widget-datestamp">['+a.date.to_iso_format(f.publishedDate,true)+"]</span>":"")+"</li>"}return k.empty().append(c)},_map_entries:function(c){return c.responseData.feed.entries},_json_request:function(d,c){var e;e=a.urlpage.protocol+"://ajax.googleapis.com/ajax/services/feed/load?v=1.0&callback=?&q="+encodeURIComponent(decodeURIComponent(d));if(c>0){e+="&num="+c}return e}},_exec:function(l,m){var p,c,s,g,j,k,h,q,t,o,f,n,e,r,d;g=a.limit(l);s=l.find("a").map(function(){var i=this.href;if(!m&&/twitter.com/i.test(i)){m="twitter"}if(!m&&/weather.gc.ca/i.test(i)){m="weather"}if(!m){m="rss"}return i});d=m==="twitter"?"a":"li";p=b("<"+d+' class="widget-state-loading"><img src="'+a.add.liblocation+'images/webfeeds/ajax-loader.gif" alt="'+a.dic.get("%loading")+'" /></'+d+">");c=l.find(".widget-content, .twitter-timeline");c.append(p);if(m!=="twitter"){j=a.fn.webwidget[m];q=s.length-1;k=[];o=j._parse_entries;h=q;f=[];t=function(v){v=j._map_entries(v);for(var u=0,i=v.length;u<i;u+=1){k.push(v[u])}if(!q){o(k,g,c)}q-=1;return q};n=function(){p.remove();c.find("li").show()};e=[];while(h>=0){e[h]=b.ajax({url:j._json_request(s[h],g),dataType:"json",timeout:1000}).done(t);f.push(h-=1)}b.when.apply(null,e).always(n);b.extend({},f)}else{r=a.urlpage.protocol;a.add._load((r.indexOf("http")===-1?"http":r)+"://platform.twitter.com/widgets.js")}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;k<h.keycell.length;k+=1){b(h.keycell[k].elem).addClass("table-keycell")}}if(h.desccell){for(k=0;k<h.desccell.length;k+=1){b(h.desccell[k].elem).addClass("table-desccell")}}if(h.layoutCell){for(k=0;k<h.layoutCell.length;k+=1){b(h.layoutCell[k].elem).addClass("table-layoutCell")}}if(h.row){for(k=0;k<h.row.length;k+=1){for(g=0;g<h.row[k].cell.length;g+=1){if(h.row[k].cell[g].type===3){if(h.row[k].cell[g].col.type===3){b(h.row[k].cell[g].elem).addClass("table-summarycol"+h.row[k].cell[g].collevel)}if(h.row[k].type===3){b(h.row[k].cell[g].elem).addClass("table-summaryrow"+h.row[k].cell[g].rowlevel);if(h.row[k].level===0&&h.row[k].header.elem){b(h.row[k].header.elem).addClass("table-summaryrow"+h.row[k].cell[g].rowlevel)}}}}if(h.row[k].type&&h.row[k].type===3&&h.row[k].rowgroup.elem&&k>0&&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 j=b(this),i=j.data().tblparser;if(i.type===7){j.addClass("table-headgroup"+i.scope+i.level)}});if(h.colgroup){for(k=0;k<h.colgroup.length;k+=1){if(h.colgroup[k].elem&&((k>0&&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;k<h.lstrowgroup.length;k+=1){if(h.lstrowgroup[k].elem&&h.lstrowgroup[k].type===2&&k>0){b(h.lstrowgroup[k].elem).addClass("table-rowgroupmarker")}}}if(!c.noheaderhighlight||c.columnhighlight){m=function(p){var o=[],n=b(p),j=n.data().tblparser,i;if(j.row&&j.row.header&&!c.norowheaderhighlight){for(k=0,i=j.row.header.length;k!==i;k+=1){o.push(j.row.header[k].elem)}if(j.addrowheaders){for(k=0,i=j.addrowheaders.length;k!==i;k+=1){o.push(j.addrowheaders[k].elem)}}}if(j.col&&j.col.header&&!c.nocolheaderhighlight){for(k=0,i=j.col.header.length;k!==i;k+=1){o.push(j.col.header[k].elem)}if(j.addcolheaders){for(k=0,i=j.addcolheaders.length;k!==i;k+=1){o.push(j.addcolheaders[k].elem)}}}b(p).data().cellsheader=o};b("td, th",f).on("mouseenter focusin",function(){var n=b(this),i=n.data().tblparser,j;if(!c.noheaderhighlight){clearTimeout(d);j=b("th.table-hover",f);if(i.type!==1){if(!n.data().cellsheader){m(this)}b.each(n.data().cellsheader,function(){var o=b(this);o.addClass("table-hover");o.data().zebrafor=i.uid})}else{if(i.scope==="row"&&!c.norowheaderhighlight){n.addClass("table-hover");n.data().zebrafor=i.uid}}b.each(j,function(){var o=b(this);if(o.data().zebrafor&&o.data().zebrafor!==i.uid){o.removeClass("table-hover");delete o.data().zebrafor}})}if(c.columnhighlight&&i.col&&i.col.elem){b(i.col.elem).addClass("table-hover")}});b("td, th",f).on("mouseleave focusout",function(){var i=b(this).data().tblparser,j=this;if(!c.noheaderhighlight){d=setTimeout(function(){var p,n,o=b(j),q;if(i.type===1){o.removeClass("table-hover");delete o.data().zebrafor;return}for(p=0,n=o.data().cellsheader.length;p!==n;p+=1){q=b(b(j).data().cellsheader[p]);if(q.data().zebrafor===i.uid){q.removeClass("table-hover");delete q.data().zebrafor}}},25)}if(c.columnhighlight&&i.col&&i.col.elem){b(i.col.elem).removeClass("table-hover")}})}e=(f.children("tr").add(f.children("tbody").children("tr"))).filter(function(){return b(this).children("td").length>0});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");
9e.filter(":even").addClass("table-odd")}else{l=[];for(k=0;k<h.col.length;k+=1){if(h.col[k].elem){l.push(h.col[k].elem)}}b(l).filter(":odd").addClass("table-even");b(l).filter(":even").addClass("table-odd")}}},_exec:function(f){var d,k,j,g,o=true,h,c,n,m=[],l=false,e=[];c={noheaderhighlight:false,norowheaderhighlight:false,nocolheaderhighlight:false,columnhighlight:false,nohover:false,vectorstripe:false,complextableparsing:false};n={noheaderhighlight:f.hasClass("noheaderhighlight")?true:undefined,norowheaderhighlight:f.hasClass("norowheaderhighlight")?true:undefined,nocolheaderhighlight:f.hasClass("nocolheaderhighlight")?true:undefined,columnhighlight:f.hasClass("columnhighlight")?true:undefined,nohover:f.hasClass("nohover")?true:undefined,vectorstripe:f.hasClass("vectorstripe")?true:undefined,complextableparsing:f.hasClass("complextableparsing")?true:undefined};b.extend(c,(typeof wet_boew_zebra!=="undefined"?wet_boew_zebra:{}),n);if(f.is("table")){if(c.complextableparsing||c.noheaderhighlight||c.norowheaderhighlight||c.nocolheaderhighlight||c.nohover||c.vectorstripe){o=false}if(o&&(f.children("tbody").length>1||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)<b("th",f).length){o=false}h=0;b("tr:eq(2)",f).children().each(function(){var i=this.nodeName.toLowerCase();if(!o){return}if(i==="th"&&h>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));a.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));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.