diff --git a/build/js/pe-ap-min.js b/build/js/pe-ap-min.js index 4685e30832b..394c81bf836 100644 --- a/build/js/pe-ap-min.js +++ b/build/js/pe-ap-min.js @@ -2,4 +2,4 @@ * Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW) * www.tbs.gc.ca/ws-nw/wet-boew/terms / www.sct.gc.ca/ws-nw/wet-boew/conditions */ -(function(c){var a,b;a=(typeof window.pe!=="undefined"&&window.pe!==null)?window.pe:{fn:{}};b={language:(c("html").attr("lang").length>0?c("html").attr("lang"):"en"),touchscreen:"ontouchstart" in document.documentElement,mobileview:(wet_boew_theme!==null&&typeof wet_boew_theme.mobileview==="function"),suffix:c('body script[src*="/pe-ap-min.js"]').length>0?"-min":"",header:c("#wb-head"),main:c("#wb-main"),secnav:c("#wb-sec"),footer:c("#wb-foot"),urlquery:"",svg:(c('').get(0).ownerSVGElement!==undefined),ie:(/(MSIE) ([\w.]+)/.exec(navigator.userAgent)||[])[2]||"0",_init:function(){var j,e,d,i,f,h,g=false;a.polyfills.init();a.urlquery=a.url(window.location.href).params;c("html").removeClass("no-js").addClass(wet_boew_theme!==null?wet_boew_theme.theme:"").addClass(a.touchscreen?"touchscreen":"");j=a.main.find("a").filter("[href*='#']");d=j.filter(":not([href^='#'])");e=j.filter("[href^='#']");if(a.mobilecheck()){a.mobile=true;c("body > div").attr("data-role","page").addClass("ui-page-active");c(document).on("mobileinit",function(){c.extend(c.mobile,{ajaxEnabled:false,pushStateEnabled:false,autoInitializePage:(g?true:false)});if(g){a.mobilelang()}});d.each(function(){i=c(this);f=a.url(i.attr("href"));if((i.attr("data-replace-hash")===undefined&&(f.hash.length>0&&window.location.hostname===f.host))||(i.attr("data-replace-hash")!==undefined&&i.attr("data-replace-hash")===true)){i.attr("href",f.removehash()+(f.params.length>0?"&":"?")+"hashtarget="+f.hash)}});c(document).on("pageinit",function(){e.off("click vclick").on("click vclick",function(){i=c(c(this).attr("href"));i.filter(":not(a, button, input, textarea, select)").attr("tabindex","-1");if(i.length>0){c.mobile.silentScroll(a.focus(i).offset().top)}});if(a.urlquery.hashtarget!==undefined){h=a.main.find("#"+a.urlquery.hashtarget);h.filter(":not(a, button, input, textarea, select)").attr("tabindex","-1");if(h.length>0){setTimeout(function(){c.mobile.silentScroll(a.focus(h).offset().top)},0)}}});a.add.css([a.add.themecsslocation+"jquery.mobile"+a.suffix+".css"]);a.add._load([a.add.liblocation+"jquery.mobile/jquery.mobile.min.js"])}else{e.on("click vclick",function(){i=c(c(this).attr("href"));i.filter(":not(a, button, input, textarea, select)").attr("tabindex","-1");if(i.length>0){a.focus(i)}});if(window.location.hash.length>0){i=c(window.location.hash);i.filter(":not(a, button, input, textarea, select)").attr("tabindex","-1");if(i.length>0){a.focus(i)}}}c.when.apply(c,c.map(c("*[data-ajax-replace], *[data-ajax-append]"),function(n){var m=c(n),l=false,k;if(m.attr("data-ajax-replace")!==undefined){l=true;k=m.attr("data-ajax-replace")}else{if(m.attr("data-ajax-append")!==undefined){k=m.attr("data-ajax-append")}}return c.get(k,function(o){if(l){m.empty()}m.append(c(o))},"html")})).always(function(){c(document).one("languageloaded",function(){if(a.pedisable()===true){return false}if(wet_boew_theme!==null){wet_boew_theme.init();if(a.mobile===true){c(document).one("mobileviewloaded",function(){if(typeof c.mobile!=="undefined"){a.mobilelang();c.mobile.initializePage()}else{g=true}});wet_boew_theme.mobileview()}}else{if(a.mobile===true){if(typeof c.mobile!=="undefined"){a.mobilelang();c.mobile.initializePage()}else{g=true}}}a.dance()});a.add.language(a.language)})},mobile:false,mobilecheck:function(){return(a.mobileview&&window.innerWidth<768&&(window.outerWidth-window.innerWidth<50)&&!(a.ie>0&&a.ie<9))},mobilelang:function(){c.mobile.collapsible.prototype.options.expandCueText=a.dic.get("%jqm-expand");c.mobile.collapsible.prototype.options.collapseCueText=a.dic.get("%jqm-collapse");c.mobile.dialog.prototype.options.closeBtnText=a.dic.get("%close");c.mobile.page.prototype.options.backBtnText=a.dic.get("%back");c.mobile.textinput.prototype.options.clearSearchButtonText=a.dic.get("%jqm-clear-search");c.mobile.selectmenu.prototype.options.closeText=a.dic.get("%close");c.mobile.listview.prototype.options.filterPlaceholder=a.dic.get("%jqm-filter")},pagecontainer:function(){return c("#wb-body-sec-sup,#wb-body-sec,#wb-body").add("body").eq(0)},resize:function(d){ResizeEvents.initialise();ResizeEvents.eventElement.bind("x-text-resize x-zoom-resize x-window-resize",function(){d()});return},url:function(f){var e=document.createElement("div"),d;e.innerHTML='x';d=e.firstChild;return{source:d.href,protocol:d.protocol.replace(":",""),host:d.hostname,port:d.port==="0"?"80":d.port,query:d.search,params:(function(){var j,i,k,h,l,g;i={};h=d.search.replace(/^\?/,"").split("&");for(l=0,g=h.length;l'+((e.length>25)?e.substr(0,24)+"...":e)+""})},at:function(d){return d.replace(/(^|[^\w]+)\@([a-zA-Z0-9_]{1,15}(\/[a-zA-Z0-9\-_]+)*)/g,function(e,g,f){return g+'@'+f+""})},hash:function(d){return d.replace(/(^|[^&\w'"]+)\#([a-zA-Z0-9_]+)/g,function(e,g,f){return g+'#'+f+""})},clean:function(d){return this.hash(this.at(this.link(d)))}}}()),pad:function(e,d){var f;f=String(e);while(f.lengthd)-(e0&&a.ie<7&&f!=="false")||f==="true"){c("html").addClass("no-js pe-disable");if(h){localStorage.setItem("pedisable","true")}d.innerHTML=''+a.dic.get("%pe-enable")+"";e.appendChild(d);return true}else{if(f==="false"||g!==null){if(h){localStorage.setItem("pedisable","false")}}}d.innerHTML=''+a.dic.get("%pe-disable")+"";e.appendChild(d);return false},menu:{navcurrent:function(d,l,f){var o,k,p,h,n,e=a.url(window.location.href).removehash(),m=[],g=[],j;d=(typeof d.jquery!=="undefined"?d:c(d));l=c((typeof l.jquery!=="undefined"?l:c(l)).find("a").get().reverse());f=(typeof f==="undefined")?"nav-current":f;l.each(function(i){var q=c(this);m[i]=q.attr("href");g[i]=q.text()});c(d.find("a").get().reverse()).each(function(){o=c(this);k=o.attr("href");p=o.text();j=(k===e);for(h=0,n=m.length;!j&&h!==n;h+=1){if(m[h]!=="#"&&(m[h]===k||g[h]===p)){j=true;break}}if(j){o.addClass(f);return false}});return(j?o:c())},buildmobile:function(d,q,i,e,p){var f=c('
'),h=(typeof d.jquery!=="undefined"?d:c(d)).find("> div, > ul, h"+q),j,g,n,m,l=(e!==undefined?e:false),o=(p!==undefined?p:false),k=a.dic.get("%all");if(h.get(0).tagName.toLowerCase()==="ul"){f.append(c('
    ').append(h.first().children("li")))}else{h.each(function(){var r=c(this);if(this.tagName.toLowerCase()==="h"+q){n=r.children("a");g=c('
    "+r.text()+"
    ");if(l){r=r.parent().find("a").eq(1).closest("ul, div, h"+q+1).first();j=r}else{j=r.next()}if(j.get(0).tagName.toLowerCase()==="ul"){if(!l){j.append(c("
  • ").append(r.children("a").html(k+" - "+n.html())))}m=j.find("li ul");m.each(function(t){var u=c(this),s;if((q+1+t)<7){n=u.prev("a");s=n.html();u.attr({"data-role":"listview","data-theme":i}).wrap('
    ");u.parent().prepend(""+s+"");u.append('
  • '+k+" - "+s+"
  • ");n.remove()}else{u.attr({"data-role":"listview","data-theme":i})}});g.append(c('
      ').append(j.children("li")));g.find("ul").wrap('
      '+(m.length>0?'
      ':"")+"
      ")}else{g.append(a.menu.buildmobile(r.parent(),q+1,i,false,o));if(!l){g.find('div[data-role="collapsible-set"]').eq(0).append(r.children("a").html(k+" - "+n.html()).attr({"data-role":"button","data-theme":i,"data-icon":"arrow-r","data-iconpos":"right"}))}}f.append(g)}else{if(this.tagName.toLowerCase()==="div"){f.append(r.children("a").attr({"data-role":"button","data-theme":i,"data-icon":"arrow-r","data-iconpos":"right"}))}}});f.children().wrapAll('
      ')}return f},expandcollapsemobile:function(h,d,f,e){var g=c((typeof h.jquery!=="undefined"?h:c(h))).find(d);if(e){g.parents('div[data-role="collapsible"]').attr("data-collapsed",f)}else{g.closest('div[data-role="collapsible"]').attr("data-collapsed",f)}},correctmobile:function(f){var d=(typeof f.jquery!=="undefined"?f:c(f)),e=d.parent();d.detach().find(".ui-collapsible-set").each(function(){var g=c(this);if(g.find("> ul .ui-collapsible").length>0){g=g.children("ul")}g.children().each(function(){var i=c(this),h=(this.tagName.toLowerCase()==="a"?i:i.find("a").first());if(i.prev().length>0){h.removeClass("ui-corner-top")}else{h.addClass("ui-corner-top")}if(i.next().length>0){h.removeClass("ui-corner-bottom")}else{h.addClass("ui-corner-bottom")}})});d.appendTo(e)}},polyfills:{init:function(){var d=a.add.liblocation;if(!window.localStorage){a.add._load(d+"polyfills/localstorage"+a.suffix+".js","localstorage-loaded");c("html").addClass("polyfill-localstorage")}else{c("html").addClass("localstorage")}},polyload:function(e,h,v){var t=this.polyfill,f,l,n,j={},x=[],u=[],m,d,g,s,k=a.add.liblocation,p=[],r=[],o=[],q,w;if(v){for(f in t){if(t.hasOwnProperty(f)){u.push(t[f].selector)}}s=c(u.join(","))}else{s=c()}for(f in t){if(t.hasOwnProperty(f)){l=t[f];n=s.length>0?s.filter(l.selector):s;if(n.length>0||c.inArray(f,e)>-1){if(typeof l.supported==="undefined"){l.supported=(typeof l.support_check==="function"?l.support_check():l.support_check);if(!l.supported){m=l.depends;if(typeof m!=="undefined"){d=a.add.depends(m);g=[];for(q=0,w=m.length;q!==w;q+=1){if(c.inArray(m[q],a.add.staged)===-1){g.push(m[q])}}if(g.length>0){j[f]=g}else{x.push(f)}}else{x.push(f)}c("html").addClass("polyfill-"+f);n.addClass("polyfill")}else{c("html").addClass(f)}}else{if(!l.supported&&typeof l.loaded==="undefined"){x.push(f)}}}}}for(q=0,w=x.length;q!==w;q+=1){l=t[x[q]];o[o.length]=(typeof l.load!=="undefined"?l.load:k+"polyfills/"+x[q]+a.suffix+".js");if(typeof l.init!=="undefined"){r.push(x[q])}l.loaded=true}p.push(j);p.push(r);a.add._load_arr(o,h,p)},polyfill:{datalist:{selector:"input[list]",update:function(d){d.datalist()},support_check:!!(document.createElement("datalist")&&window.HTMLDataListElement)},datepicker:{selector:'input[type="date"]',depends:["calendar","xregexp","outside"],update:function(d){d.datepicker()},support_check:function(){var e=document.createElement("input"),d;e.setAttribute("type","date");e.value=":)";e.style.cssText="position:absolute;visibility:hidden;";document.body.appendChild(e);d=(e.value!==":)");document.body.removeChild(e);return d}},detailssummary:{selector:"details",update:function(d){d.details()},support_check:function(){var h=document,f=h.createElement("details"),e,d,g;if(typeof f.open==="undefined"){return false}d=h.body||(function(){var i=h.documentElement;e=true;return i.insertBefore(h.createElement("body"),i.firstElementChild||i.firstChild)}());f.innerHTML="ab";f.style.display="block";d.appendChild(f);g=f.offsetHeight;f.open=true;g=g!==f.offsetHeight;d.removeChild(f);if(e){d.parentNode.removeChild(d)}return g}},mathml:{selector:"math",load:"http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=MML_HTMLorMML",support_check:function(){var d=false,e,g,f;if(document.createElementNS){e="http://www.w3.org/1998/Math/MathML";g=document.createElement("div");g.style.position="absolute";g.style.color="#fff";f=g.appendChild(document.createElementNS(e,"math")).appendChild(document.createElementNS(e,"mfrac"));f.appendChild(document.createElementNS(e,"mi")).appendChild(document.createTextNode("xx"));f.appendChild(document.createElementNS(e,"mi")).appendChild(document.createTextNode("yy"));document.body.appendChild(g);d=g.offsetHeight>g.offsetWidth;g.parentNode.removeChild(g)}return d}},progress:{selector:"progress",update:function(d){d.progress()},support_check:document.createElement("progress").position!==undefined},slider:{selector:'input[type="range"]',depends:["metadata"],init:function(){fdSlider.onDomReady()},update:function(){fdSlider.onDomReady()},support_check:function(){var e=document.createElement("input"),f,d;e.setAttribute("type","range");e.value=":)";e.style.cssText="position:absolute;visibility:hidden;";document.body.appendChild(e);f=document.defaultView;d=e.style.WebkitAppearance!==undefined&&f.getComputedStyle&&f.getComputedStyle(e,null).WebkitAppearance!=="textfield"&&(e.offsetHeight!==0);document.body.removeChild(e);return d}}}},add:(function(){return{head:document.head||document.getElementsByTagName("head"),liblocation:(function(){var d=c('body script[src*="/pe-ap"]').attr("src");return d.substr(0,d.lastIndexOf("/")+1)}()),themecsslocation:(function(){var d=(wet_boew_theme!==null?c('head link[rel="stylesheet"][href*="'+wet_boew_theme.theme+'"]'):"");return d.length>0?d.attr("href").substr(0,d.attr("href").lastIndexOf("/")+1):"theme-not-found/"}()),staged:[],_load:function(g,e){var d=a.add.head,h=(e!==undefined?e:"wet-boew-dependency-loaded");if(c.inArray(g,this.staged)>-1){c(document).trigger({type:h,js:g});return this}setTimeout(function f(){if(typeof d.item!=="undefined"){if(!d[0]){setTimeout(f,25);return}d=d[0]}var i=document.createElement("script"),j=false;a.add.set(i,"async","async");i.onload=i.onreadystatechange=function(){if((i.readyState&&i.readyState!=="complete"&&i.readyState!=="loaded")||j){return false}i.onload=i.onreadystatechange=null;j=true;c(document).trigger({type:h,js:g})};i.src=g;if((a.ie>0&&a.ie<9)||!d.insertBefore){c(i).appendTo(c(d)).delay(100)}else{d.insertBefore(i,d.firstChild)}},0);this.staged[this.staged.length]=g;return this},_load_arr:function(k,g,j){var e=0,f,d,h=g+"-single";c(document).on(h,function(){e+=1;if(e===k.length){c(document).off(h);c(document).trigger({type:g,payload:j})}});if(k.length>0){for(f=0,d=k.length;f0&&a.ie<10)||!e.insertBefore){c(d).appendTo(c(e)).attr("href",f)}else{e.insertBefore(d,e.firstChild)}return this},depends:function(g){var f=a.add.liblocation,e=c.map(g,function(d){return(/^http(s)?/i.test(d))?d:f+"dependencies/"+d+a.suffix+".js"});return e},language:function(e){var d=a.add.liblocation+"i18n/"+e+a.suffix+".js";a.add._load(d)},meta:function(e,f){var d;d=document.createElement("meta");a.add.set(d,"name",e).set(d,"content",f);a.add.head.appendChild(d);return this}}}()),dance:function(){var g,d,h=(typeof wet_boew_properties!=="undefined"&&wet_boew_properties!==null)?wet_boew_properties:false,e=c('[class^="wet-boew-"]'),f=[],j,k=[],l=["resize","equalheights"];e.each(function(){var m=c(this),i=m.attr("class").split(" "),n=[];for(g=0,d=i.length;g!==d;g+=1){if(i[g].indexOf("wet-boew-")===0){n.push(i[g].substr(9).toLowerCase())}}m.attr("data-load",n.join(","));f.push.apply(f,n)});if(h){f.push(h.globals)}f=a.array.noduplicates(f);for(g=0,d=f.length;g!==d;g+=1){j=f[g];if(typeof a.fn[j]!=="undefined"){if(typeof a.fn[j].polyfills!=="undefined"){k.push.apply(k,a.fn[j].polyfills)}if(typeof a.fn[j].depends!=="undefined"){l.push.apply(l,a.fn[j].depends)}}}c(document).one("wb-polyinit-loaded",function(o){var m=a.polyfills.polyfill,q=o.payload[0],p=o.payload[1],i=[],n;for(g=0,d=p.length;g!==d;g+=1){m[p[g]].init()}for(n in q){if(q.hasOwnProperty(n)){l.push.apply(l,q[n]);i.push(n)}}c(document).one("wb-pcalldeps-loaded",function(){c(document).one("wb-polydeps-loaded",function(r){p=r.payload[1];for(g=0,d=p.length;g!==d;g+=1){m[p[g]].init()}e.each(function(){var s=c(this),t=s.attr("data-load").split(",");for(g=0,d=t.length;g!==d;g+=1){if(typeof a.fn[t[g]]!=="undefined"){a.fn[t[g]]._exec(s)}}});if(h){for(g=0,d=h.globals.length;g!==d;g+=1){a.fn[h.globals[g]]._exec(document)}}window.onresize=function(){if(a.mobile!==a.mobilecheck()){window.location.href=decodeURI(a.url(window.location.href).removehash())}}});a.polyfills.polyload(i,"wb-polydeps-loaded",false)});a.add._load_arr(a.add.depends(a.array.noduplicates(l)),"wb-pcalldeps-loaded")});a.polyfills.polyload(a.array.noduplicates(k),"wb-polyinit-loaded",true)}};window.pe=c.extend(true,a,b);return window.pe}(jQuery))._init();(function(b){var a=window.pe||{fn:{}};a.fn.archived={type:"plugin",_exec:function(d){if(pe.mobile){return}var c=b('");b(window).on("scroll",function(){if(b(this).scrollTop()>10){c.fadeIn("normal").attr("aria-hidden","false")}else{c.fadeOut("normal").attr("aria-hidden","true")}});b(document).on("focusin",function(g){var f=b(g.target);if(c.attr("aria-hidden")==="false"&&(f.offset().top+f.outerHeight())<=(c.offset().top+c.outerHeight())){b(window).scrollTop(b(window).scrollTop()-c.outerHeight())}});if(b(window).scrollTop()<10||b(window).scrollTop()==="undefined"){c.fadeOut("normal").attr("aria-hidden","true")}else{c.fadeIn("normal").attr("aria-hidden","false")}pe.pagecontainer().append(c)}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.charts={type:"plugin",depends:["raphael"],polyfills:["detailssummary"],_exec:function(k){var p={},e,n=b(k),h=new Date().getTime(),j={},c={},q,m,g="";if(typeof(wet_boew_charts)!=="undefined"&&wet_boew_charts!==null){p=wet_boew_charts}e=b.extend(true,{"default-namespace":"wb-charts","graphclass-autocreate":true,"graphclass-overwrite-array-mode":true,"graphclass-typeof":"string","noencapsulation-autocreate":true,"topvalue-autocreate":true,"topvalue-typeof":"number","topvaluenegative-autocreate":true,"topvaluenegative-typeof":"boolean","bottomvalue-autocreate":true,"bottomvalue-typeof":"number","bottomvaluenegative-autocreate":true,"bottomvaluenegative-typeof":"boolean","nocutaxis-autocreate":true,"nocutaxis-typeof":"boolean","steps-autocreate":true,"steps-typeof":"number","decimal-autocreate":true,"decimal-typeof":"number","execdelay-autocreate":true,"execdelay-typeof":"number",serie:{type:"line",color:"blue"},serie2dAxis:{dasharray:"",fillopacity:100},heading2dAxis:{fill:"white",fillover:"blue",foreground:"black",foregroundover:"red"},"default-option":"type",type:"bar","type-autocreate":true,"endcaption-autocreate":true,"endcaption-typeof":"boolean",generateids:true,"generateids-typeof":"boolean",optionsClass:{"default-option":"type","type-autocreate":true,"color-autocreate":true,"overcolor-autocreate":true,"default-namespace":"wb-charts","dasharray-autocreate":true,"noencapsulation-autocreate":true,"fillopacity-autocreate":true,"fillopacity-typeof":"number"},width:b(k).width(),"width-typeof":"number",height:b(k).height(),"height-typeof":"number",maxwidth:"9999","maxwidth-typeof":"number",widthPadding:2,colors:["#be1e2d","#666699","#92d5ea","#ee8310","#8d10ee","#5a3b16","#26a4ed","#f45a90","#e9e744"],textColors:[],parseDirection:"x",drawDirection:"x",pieMargin:20,pieLabelsAsPercent:true,pieLabelPos:"inside",lineWeight:4,barGroupMargin:10,barMargin:1,font:{height:20,width:10,size:14},axis:{top:{tick:null,lenght:null,padding:null},right:{tick:null,lenght:null,padding:null},bottom:{tick:null,lenght:null,padding:null},left:{tick:null,lenght:null,padding:null},tick:true,lenght:4,padding:4,minNbIncrementStep:6}},p);function d(o){var r={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4","indianred ":"#cd5c5c","indigo ":"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};return(r[o.toLowerCase()]!=="undefined"?r[o.toLowerCase()]:(b.isArray(e.colors)?e.colors[0]:e.colors))}j.circleGraph={height:undefined,width:undefined,offset:{top:undefined,right:undefined,bottom:undefined,left:undefined},sizeMode:"minimal",maxWidth:600,minWidth:150,strokeWidth:3,minLevelWidth:25,levelPadding:10,nbPieByRow:undefined,props:{minWidth:100,minLevelWidth:50},captionFontSize:20,fontSize:10,piePadding:10,graphPadding:10,pieByRow:undefined,minPieWidth:undefined,graphTitle:undefined,legendContainer:undefined,paperContainer:undefined,paper:undefined,paperDOM:undefined,series:{},options:{},init:function(r,y){j.circleGraph.width=undefined;j.circleGraph.minWidth=150;j.circleGraph.minLevelWidth=25;j.circleGraph.levelPadding=10;j.circleGraph.series=r;j.circleGraph.options=y;j.circleGraph.width=j.circleGraph.options.width;var u=1,v=j.circleGraph.series.nbColLevel-1,x=(v*((j.circleGraph.minLevelWidth*2)+(j.circleGraph.levelPadding*2))+(v*(j.circleGraph.strokeWidth*2))),w=j.circleGraph.minWidth+(j.circleGraph.levelPadding*2)+(j.circleGraph.strokeWidth*2),o=x+w,s,t;j.circleGraph.pieByRow=u;if(!j.circleGraph.width||o>j.circleGraph.width){j.circleGraph.width=o}else{s=j.circleGraph.minWidth/o;t=j.circleGraph.minLevelWidth/o;j.circleGraph.minWidth=Math.floor(s*(j.circleGraph.width));j.circleGraph.minLevelWidth=Math.floor(t*(j.circleGraph.width))}j.circleGraph.height=j.circleGraph.width},generateGraph:function(s,v){j.circleGraph.paperContainer=s;j.circleGraph.paper=v;var o=1,u=1,r=0,t=0,w=false;b.each(j.circleGraph.series.series,function(){var M=[],z,O,A,P,H,y,x,I,E,B,L,N,C,K,G,D=[];w=false;O=b("
        ").appendTo((b.isArray(j.circleGraph.paperContainer)?b(j.circleGraph.paperContainer[u-1]):j.circleGraph.paperContainer));j.circleGraph.legendContainer=O;A=(b.isArray(j.circleGraph.paper)?j.circleGraph.paper[u-1]:j.circleGraph.paper);u+=1;if(o>=(j.circleGraph.pieByRow*(u+1))){r=0}P=0;H=false;b.each(this.cell,function(){if(this.value<0){H=true}if(j.circleGraph.options.decimal){this.value=Math.floor(this.value*Math.pow(10,j.circleGraph.options.decimal))}P+=this.value});y=(j.circleGraph.width/2)+(j.circleGraph.width*r);x=(j.circleGraph.width/2)+(j.circleGraph.width*r);E="#000";B=0;L=90;N=Math.PI/180;K=500;function J(S,Q){var R=(j.circleGraph.minWidth/2)+j.circleGraph.strokeWidth+j.circleGraph.levelPadding+(j.circleGraph.series.nbColLevel-S-Q-1)*(j.circleGraph.levelPadding+(j.circleGraph.strokeWidth*2)+j.circleGraph.minLevelWidth);return R}function F(R,Q){return(J(R,Q)+j.circleGraph.minLevelWidth+j.circleGraph.strokeWidth)}G=j.circleGraph.series.nbColLevel;b.each(this.cell,function(){var ai=this.colPos,W="",Q=G,ag=[],ab=[],al,aj,am,T,ad,ak,S,ae,ah,R,V,af,aq,Z,Y,U,an,aa,X,ap,ac,ao;b.each(j.circleGraph.series.heading,function(){if(this.colPos180),0,ak,S);ab.push("z");b.each(ag,function(){var ar=this,av=true,at,au;ar.still=false;b.each(D,function(){if(this.id===ar.id){ar.still=true;this.still=true;av=false;return false}});if(!this.topX1){at=J(this.level,this.height);au=F(this.level,this.height);this.topX1=y+au*Math.cos(-aj*N);this.topY1=x+au*Math.sin(-aj*N);this.bottomX1=y+at*Math.cos(-aj*N);this.bottomY1=x+at*Math.sin(-aj*N);this.r1=au;this.r2=at;this.startAngle=aj;this.bcolor=Raphael.hsb(B,1,1);this.color=Raphael.hsb(B,0.75,1);this.start=B;B+=0.05}if(av){this.still=true;D.push(this)}});b.each(D,function(){if(!this.still&&!this.ignoreMe){var aF=J(this.level,this.height),aG=F(this.level,this.height),aK=y+aG*Math.cos(-aj*N),aw=x+aG*Math.sin(-aj*N),av=y+aF*Math.cos(-aj*N),aD=x+aF*Math.sin(-aj*N),aB=[],ar=(aj-this.startAngle)/360*100,au="90-"+this.bcolor+"-"+this.color,aL,az,ax,at,aE,aH,aA,ay,aJ,aC,aI;aB.push("M",this.topX1,this.topY1);aB.push("A",aG,aG,0,+(aj-this.startAngle>180),0,Math.ceil(aK),Math.ceil(aw));aB.push("L",Math.ceil(av),Math.ceil(aD));aB.push("A",aF,aF,0,+(aj-this.startAngle>180),1,Math.ceil(this.bottomX1),Math.ceil(this.bottomY1));aB.push("z");if(j.circleGraph.options.decimal){ar=ar*(Math.pow(10,j.circleGraph.options.decimal))}ar=Math.ceil(ar*1000);ar=Math.floor(ar/1000);if(j.circleGraph.options.decimal){ar=ar/(Math.pow(10,j.circleGraph.options.decimal))}if(this.param.color){au=d(this.param.color)}if(!w){aL=b("
      • ").appendTo(b(O));az=b('').appendTo(b(aL));ax=new Raphael(b(az).get(0),j.circleGraph.options.font.size,j.circleGraph.options.font.size);at=ax.rect(2,2,j.circleGraph.options.font.size-(2*2)+(2/2),j.circleGraph.options.font.size-(2*2)+(2/2));b(aL).append(this.header);at.attr("fill",au)}aE=A.path(aB).attr({fill:au,stroke:E,"stroke-width":3,title:this.header+" ("+ar+"%)"});aH=((aj-this.startAngle)/2)+this.startAngle;aA=A.text(y+(aG*Math.cos(-aH*N)),x+(aG*Math.sin(-aH*N)),ar+"%").attr({fill:"#000",stroke:"none",opacity:1,"font-size":j.circleGraph.fontSize});ay=aA.getBBox();aJ=A.rect(ay.x-10,ay.y-10,ay.width+(2*10),ay.height+(2*10)).attr({fill:"#FFF",stroke:"black","stroke-width":"1",opacity:1});M.push({txt:aA,bg:aJ});aC=this.start;aI=Raphael.hsb(aC,1,0.3);if(this.param.overcolor){aI=d(this.param.overcolor)}aE.mouseover(function(){aE.stop().attr({fill:aI});aJ.stop().attr({"stroke-width":"3"});aA.insertAfter(z);aJ.insertBefore(aA);z=aA}).mouseout(function(){aE.stop().attr({fill:au});aJ.stop().attr({"stroke-width":"1"})});aJ.mouseover(function(){aE.stop().attr({fill:aI});aJ.stop().attr({"stroke-width":"3"});aA.insertAfter(z);aJ.insertBefore(aA);z=aA}).mouseout(function(){aE.stop().attr({fill:au});aJ.stop().attr({"stroke-width":"1"})});aA.mouseover(function(){aE.stop().attr({fill:aI});aJ.stop().attr({"stroke-width":"3"});aA.insertAfter(z);aJ.insertBefore(aA);z=aA}).mouseout(function(){aE.stop().attr({fill:au});aJ.stop().attr({"stroke-width":"1"})});this.ignoreMe=true}this.still=false});ae=Raphael.hsb(B,1,1);ah=Raphael.hsb(B,0.75,1);R=(ad-aj)/360*100;if(j.circleGraph.options.decimal){R=R*(Math.pow(10,j.circleGraph.options.decimal))}R=Math.ceil(R*1000);R=Math.floor(R/1000);if(j.circleGraph.options.decimal){R=R/(Math.pow(10,j.circleGraph.options.decimal))}V="90-"+ae+"-"+ah;if(this.param.color){V=d(this.param.color)}af=A.path(ab).attr({fill:V,stroke:E,"stroke-width":3,title:W+" ("+R+"%)"});if(!w){aq=b("
      • ").appendTo(b(O));Z=b('').appendTo(b(aq));Y=new Raphael(b(Z).get(0),j.circleGraph.options.font.size,j.circleGraph.options.font.size);U=Y.rect(2,2,j.circleGraph.options.font.size-(2*2)+(2/2),j.circleGraph.options.font.size-(2*2)+(2/2));b(aq).append(W);U.attr("fill",V)}an=L+(al/2);aa=A.text(y+(I*Math.cos(-an*N)),x+(I*Math.sin(-an*N)),R+"%").attr({fill:"#000",stroke:"none",opacity:1,"font-size":j.circleGraph.fontSize});X=aa.getBBox();ap=A.rect(X.x-10,X.y-10,X.width+(2*10),X.height+(2*10)).attr({fill:"#FFF",stroke:"black","stroke-width":"1",opacity:1});M.push({txt:aa,bg:ap});ac=B;ao=Raphael.hsb(ac,1,0.3);if(this.param.overcolor){ao=d(this.param.overcolor)}af.mouseover(function(){af.stop().attr({fill:ao});ap.stop().attr({"stroke-width":"3"});aa.insertAfter(z);ap.insertBefore(aa);z=aa}).mouseout(function(){af.stop().attr({fill:V});ap.stop().attr({"stroke-width":"1"})});ap.mouseover(function(){af.stop().attr({fill:ao});ap.stop().attr({"stroke-width":"3"});aa.insertAfter(z);ap.insertBefore(aa);z=aa}).mouseout(function(){af.stop().attr({fill:V});ap.stop().attr({"stroke-width":"1"})});aa.mouseover(function(){af.stop().attr({fill:ao});ap.stop().attr({"stroke-width":"3"});aa.insertAfter(z);ap.insertBefore(aa);z=aa}).mouseout(function(){af.stop().attr({fill:V});ap.stop().attr({"stroke-width":"1"})});L+=al;B+=0.1;o+=1;r+=1});b.each(D,function(){if(!this.ignoreMe){var ad=J(this.level,this.height),ae=F(this.level,this.height),ai=y+ae*Math.cos(-C*N),U=x+ae*Math.sin(-C*N),T=y+ad*Math.cos(-C*N),ab=x+ad*Math.sin(-C*N),Z=[],Q,S,R,V,X,aj,ac,af,Y,W,ah,aa,ag;Z.push("M",this.topX1,this.topY1);Z.push("A",ae,ae,0,+(C-this.startAngle>180),0,Math.ceil(ai),Math.ceil(U));Z.push("L",Math.ceil(T),Math.ceil(ab));Z.push("A",ad,ad,0,+(C-this.startAngle>180),1,Math.ceil(this.bottomX1),Math.ceil(this.bottomY1));Z.push("z");Q=(C-this.startAngle)/360*100;if(j.circleGraph.options.decimal){Q=Q*(Math.pow(10,j.circleGraph.options.decimal))}Q=Math.ceil(Q*1000);Q=Math.floor(Q/1000);if(j.circleGraph.options.decimal){Q=Q/(Math.pow(10,j.circleGraph.options.decimal))}S="90-"+this.bcolor+"-"+this.color;if(this.param.color){S=d(this.param.color)}if(!w){aj=b("
      • ").appendTo(b(O));X=b('').appendTo(b(aj));V=new Raphael(b(X).get(0),j.circleGraph.options.font.size,j.circleGraph.options.font.size);R=V.rect(2,2,j.circleGraph.options.font.size-(2*2)+(2/2),j.circleGraph.options.font.size-(2*2)+(2/2));b(aj).append(this.header);R.attr("fill",S)}ac=A.path(Z).attr({fill:S,stroke:E,"stroke-width":3,title:this.header+" ("+Q+"%)"});af=((C-this.startAngle)/2)+this.startAngle;Y=A.text(y+(ae*Math.cos(-af*N)),x+(ae*Math.sin(-af*N)),Q+"%").attr({fill:"#000",stroke:"none",opacity:1,"font-size":j.circleGraph.fontSize});W=Y.getBBox();ah=A.rect(W.x-10,W.y-10,W.width+(2*10),W.height+(2*10)).attr({fill:"#FFF",stroke:"black","stroke-width":"1",opacity:1});M.push({txt:Y,bg:ah});aa=this.start;ag=Raphael.hsb(aa,1,0.3);if(this.param.overcolor){ag=d(this.param.overcolor)}ac.mouseover(function(){ac.stop().attr({fill:ag});ah.stop().attr({"stroke-width":"3"});Y.insertAfter(z);ah.insertBefore(Y);z=Y}).mouseout(function(){ac.stop().attr({fill:S});ah.stop().attr({"stroke-width":"1"})});ah.mouseover(function(){ac.stop().attr({fill:ag});ah.stop().attr({"stroke-width":"3"});Y.insertAfter(z);ah.insertBefore(Y);z=Y}).mouseout(function(){ac.stop().attr({fill:S});ah.stop().attr({"stroke-width":"1"})});Y.mouseover(function(){ac.stop().attr({fill:ag});ah.stop().attr({"stroke-width":"3"});Y.insertAfter(z);ah.insertBefore(Y);z=Y}).mouseout(function(){ac.stop().attr({fill:S});ah.stop().attr({"stroke-width":"1"})});this.ignoreMe=true}});z=A.rect(0,0,1,1).attr({opacity:0});b.each(M,function(){this.txt.insertAfter(z);this.bg.insertBefore(this.txt)});z=M[M.length-1].txt;M=[];w=true})}};j.graph2dAxis={drawDirection:"x",height:undefined,width:undefined,offset:{top:undefined,right:undefined,bottom:undefined,left:undefined},cuttingOffset:undefined,xAxisOffset:undefined,cuttingPosPaper:undefined,NbColumnHeading:0,NbColumnHeaderLevel:undefined,zeroPos:undefined,cuttingPos:undefined,incrementation:undefined,nbStep:undefined,layout:{headingMinSize:undefined,nbColHeading:undefined},top:undefined,bottom:undefined,graphTitle:undefined,legendContainer:undefined,paperContainer:undefined,paper:undefined,paperDOM:undefined,series:{},options:{},setNbColumnHeading:function(){j.graph2dAxis.NbColumnHeading=0;j.graph2dAxis.NbColumnHeaderLevel=0;var o,r=[];b.each(j.graph2dAxis.series.heading,function(){if(!this.isGroup&&(this.colPos+this.width)>j.graph2dAxis.series.nbRowLevel){j.graph2dAxis.NbColumnHeading+=1;if(!r[this.level]||(this.header.length*j.graph2dAxis.options.font.width)>(r[this.level]*j.graph2dAxis.options.font.width)){r[this.level]=this.header.length*j.graph2dAxis.options.font.width}}if(this.level>j.graph2dAxis.NbColumnHeaderLevel||j.graph2dAxis.NbColumnHeaderLevel===undefined){j.graph2dAxis.NbColumnHeaderLevel=this.level}});j.graph2dAxis.NbColumnHeaderLevel+=1;o=(j.graph2dAxis.options.font.height*j.graph2dAxis.NbColumnHeaderLevel)+(j.graph2dAxis.options.axis.top.padding!==null?j.graph2dAxis.options.axis.top.padding:j.graph2dAxis.options.axis.padding);j.graph2dAxis.layout.headingMinSize=o},utils:{topRound:function(o){if(o>=0){o=Math.ceil(o)}else{o=Math.floor(o)}return o}},setHeightXLabel:function(){j.graph2dAxis.offset.top=(j.graph2dAxis.options.font.height/2);var r=Math.ceil((j.graph2dAxis.options.height-j.graph2dAxis.layout.headingMinSize)/j.graph2dAxis.options.font.height),o=r-j.graph2dAxis.NbColumnHeaderLevel;if(oj.graph2dAxis.bottom.toString().length){j.graph2dAxis.offset.left=j.graph2dAxis.options.font.width*j.graph2dAxis.top.toString().length}else{j.graph2dAxis.offset.left=j.graph2dAxis.options.font.width*j.graph2dAxis.bottom.toString().length}},setBottomOffset:function(){j.graph2dAxis.offset.bottom=j.graph2dAxis.options.height-(j.graph2dAxis.nbStep*j.graph2dAxis.options.font.height);if(j.graph2dAxis.cuttingPos>0){j.graph2dAxis.offset.bottom-=(2*j.graph2dAxis.options.font.height)}},setMetric:function(){var o,y,s,z,u=0,r,v,t,x,w;if(j.graph2dAxis.options.topvalue){if(j.graph2dAxis.options.topvaluenegative){o=-(j.graph2dAxis.options.topvalue)}else{o=j.graph2dAxis.options.topvalue}}if(j.graph2dAxis.options.bottomvalue){if(j.graph2dAxis.options.bottomvaluenegative){y=-(j.graph2dAxis.options.bottomvalue)}else{y=j.graph2dAxis.options.bottomvalue}}b.each(j.graph2dAxis.series.series,function(){b.each(this.cell,function(){if(o===undefined){o=this.value}if(othis.value){y=this.value}})});if(o>0){r=Math.floor(o);o=(o-r>0?r+1:r)}else{o=Math.ceil(o)}y=Math.floor(y);if(o===y){if(o>0){y=0}else{if(o<0){o=0}else{y=-5;o=5}}}v=j.graph2dAxis.utils.topRound(o-y);s=j.graph2dAxis.utils.topRound(v/j.graph2dAxis.nbStep);z=Math.round(j.graph2dAxis.nbStep*o/v);if(z>j.graph2dAxis.nbStep){z=j.graph2dAxis.nbStep}if(z<0){z=1}t=j.graph2dAxis.utils.topRound(o/(z-1));x=Math.abs(j.graph2dAxis.utils.topRound(y/(j.graph2dAxis.nbStep-z)));if(t>s&&(y>=0||(o>0&&0>y))){s=t}if(x>s&&(o<=0||(o>0&&0>y))){s=x}w=j.graph2dAxis.utils.topRound(v/(j.graph2dAxis.nbStep-2));if(!j.graph2dAxis.options.nocutaxis){if(w0){u=(j.graph2dAxis.nbStep-1);j.graph2dAxis.nbStep=j.graph2dAxis.nbStep-2;s=w}if(w=j.graph2dAxis.series.nbRowLevel){E-=j.graph2dAxis.series.nbRowLevel;t=t-j.graph2dAxis.series.nbRowLevel;z=Math.floor((j.graph2dAxis.options.width-j.graph2dAxis.offset.left)/(j.graph2dAxis.NbColumnHeading)*E);A=Math.floor((j.graph2dAxis.options.width-j.graph2dAxis.offset.left)/(j.graph2dAxis.NbColumnHeading)*t);w=z;w=Math.floor((A-z)/2)+z;w+=j.graph2dAxis.offset.left;x=(j.graph2dAxis.series.nbColLevel-this.height-this.level);o=(j.graph2dAxis.options.height-j.graph2dAxis.layout.headingMinSize)+(j.graph2dAxis.options.font.height*x);r=o+(this.height*j.graph2dAxis.options.font.height);u=o+((r-o)/2);B=z+j.graph2dAxis.offset.left;C=((j.graph2dAxis.options.width-j.graph2dAxis.offset.left)/(j.graph2dAxis.NbColumnHeading))*(this.width);y=r-o;s="50-#F4F4F4-#FFF";H="90-#FFF-#F4F4F4";if(this.param.fill){s=d(this.param.fill)}if(this.param.fillover){H=d(this.param.fillover)}G=j.graph2dAxis.paper.rect(B,o,C,y);G.attr("fill",s);G.attr("stroke-width","0");F=this.header;if((F.length*j.graph2dAxis.options.font.width)>C){F=F.substring(0,Math.floor(C/j.graph2dAxis.options.font.width))}v=j.graph2dAxis.paper.text(w,u,F);v.attr("text-anchor",D);v.attr("font-size",j.graph2dAxis.options.font.size+"px");v.attr("title",this.header);G.mouseover(function(){G.attr("fill",H)}).mouseout(function(){G.attr("fill",s)});v.mouseover(function(){G.attr("fill",H)}).mouseout(function(){G.attr("fill",s)})}})},yAxisLabel:function(){var t="M "+j.graph2dAxis.offset.left+" "+j.graph2dAxis.offset.top+" ",u,s,r,o;j.graph2dAxis.cuttingPosPaper=0;if(j.graph2dAxis.top<0){u=j.graph2dAxis.paper.text(j.graph2dAxis.offset.left-4,j.graph2dAxis.offset.top,0);u.attr("text-anchor","end");u.attr("font-size",j.graph2dAxis.options.font.size+"px");t+="L "+j.graph2dAxis.offset.left+" "+j.graph2dAxis.offset.top+" ";t+="L "+(j.graph2dAxis.offset.left+4)+" "+j.graph2dAxis.offset.top+" ";t+="L "+(j.graph2dAxis.offset.left-2)+" "+j.graph2dAxis.offset.top+" ";t+="L "+j.graph2dAxis.offset.left+" "+j.graph2dAxis.offset.top+" ";t+="L "+j.graph2dAxis.offset.left+" "+(j.graph2dAxis.offset.top+(j.graph2dAxis.options.font.height)-(j.graph2dAxis.options.font.height/4))+" ";t+="L "+(j.graph2dAxis.offset.left+10)+" "+(j.graph2dAxis.offset.top+(j.graph2dAxis.options.font.height))+" ";t+="L "+(j.graph2dAxis.offset.left-10)+" "+(j.graph2dAxis.offset.top+(j.graph2dAxis.options.font.height)-(j.graph2dAxis.options.font.height/2))+" ";j.graph2dAxis.paper.path(t);t="M "+j.graph2dAxis.offset.left+" "+(j.graph2dAxis.offset.top+j.graph2dAxis.options.font.height+(j.graph2dAxis.options.font.height/4))+" ";t+="L "+(j.graph2dAxis.offset.left+10)+" "+(j.graph2dAxis.offset.top+j.graph2dAxis.options.font.height+(j.graph2dAxis.options.font.height/2))+" ";t+="L "+(j.graph2dAxis.offset.left-10)+" "+(j.graph2dAxis.offset.top+j.graph2dAxis.options.font.height)+" ";t+="L "+(j.graph2dAxis.offset.left)+" "+(j.graph2dAxis.offset.top+j.graph2dAxis.options.font.height+(j.graph2dAxis.options.font.height/4))+" ";j.graph2dAxis.cuttingPosPaper=(j.graph2dAxis.offset.top+j.graph2dAxis.options.font.height);j.graph2dAxis.offset.top+=(2*j.graph2dAxis.options.font.height)}for(s=0,r=j.graph2dAxis.nbStep;ss&&j.graph2dAxis.bottom>0)||j.graph2dAxis.top<0){u=j.graph2dAxis.paper.text(j.graph2dAxis.offset.left-4,j.graph2dAxis.offset.top+(s*j.graph2dAxis.options.font.height),(j.graph2dAxis.top-(s*j.graph2dAxis.incrementation)));u.attr("text-anchor","end");u.attr("font-size",j.graph2dAxis.options.font.size+"px");t+="L "+j.graph2dAxis.offset.left+" "+(j.graph2dAxis.offset.top+(s*j.graph2dAxis.options.font.height))+" ";t+="L "+(j.graph2dAxis.offset.left+4)+" "+(j.graph2dAxis.offset.top+(s*j.graph2dAxis.options.font.height))+" ";t+="L "+(j.graph2dAxis.offset.left-2)+" "+(j.graph2dAxis.offset.top+(s*j.graph2dAxis.options.font.height))+" ";t+="L "+j.graph2dAxis.offset.left+" "+(j.graph2dAxis.offset.top+(s*j.graph2dAxis.options.font.height))+" "}}if(j.graph2dAxis.cuttingPos>j.graph2dAxis.nbStep&&j.graph2dAxis.bottom>0){t+="L "+j.graph2dAxis.offset.left+" "+(j.graph2dAxis.offset.top+(s*j.graph2dAxis.options.font.height)-(j.graph2dAxis.options.font.height/4))+" ";t+="L "+(j.graph2dAxis.offset.left-10)+" "+(j.graph2dAxis.offset.top+(s*j.graph2dAxis.options.font.height))+" ";t+="L "+(j.graph2dAxis.offset.left+10)+" "+(j.graph2dAxis.offset.top+(s*j.graph2dAxis.options.font.height)-(j.graph2dAxis.options.font.height/2))+" ";j.graph2dAxis.paper.path(t);t="M "+j.graph2dAxis.offset.left+" "+(j.graph2dAxis.offset.top+(s*j.graph2dAxis.options.font.height)+(j.graph2dAxis.options.font.height/4))+" ";t+="L "+(j.graph2dAxis.offset.left-10)+" "+(j.graph2dAxis.offset.top+(s*j.graph2dAxis.options.font.height)+(j.graph2dAxis.options.font.height/2))+" ";t+="L "+(j.graph2dAxis.offset.left+10)+" "+(j.graph2dAxis.offset.top+(s*j.graph2dAxis.options.font.height))+" ";t+="L "+(j.graph2dAxis.offset.left)+" "+(j.graph2dAxis.offset.top+(s*j.graph2dAxis.options.font.height)+(j.graph2dAxis.options.font.height/4))+" ";u=j.graph2dAxis.paper.text(j.graph2dAxis.offset.left-4,j.graph2dAxis.offset.top+((s+1)*j.graph2dAxis.options.font.height),0);u.attr("text-anchor","end");u.attr("font-size",j.graph2dAxis.options.font.size+"px");t+="L "+j.graph2dAxis.offset.left+" "+(j.graph2dAxis.offset.top+((s+1)*j.graph2dAxis.options.font.height))+" ";t+="L "+(j.graph2dAxis.offset.left+4)+" "+(j.graph2dAxis.offset.top+((s+1)*j.graph2dAxis.options.font.height))+" ";t+="L "+(j.graph2dAxis.offset.left-2)+" "+(j.graph2dAxis.offset.top+((s+1)*j.graph2dAxis.options.font.height))+" ";t+="L "+j.graph2dAxis.offset.left+" "+(j.graph2dAxis.offset.top+((s+1)*j.graph2dAxis.options.font.height))+" ";j.graph2dAxis.cuttingPosPaper=(j.graph2dAxis.offset.top+(s*j.graph2dAxis.options.font.height));j.graph2dAxis.options.height-=(2*j.graph2dAxis.options.font.height)}o=j.graph2dAxis.paper.path(t)},graph:function(){var u=0,r,s="line",v,o,t;b.each(j.graph2dAxis.series.series,function(){s=this.type;if(s==="bar"){u+=1;r="bar"}if(s==="stacked"&&(r!=="stacked"||r===undefined)){u+=1;r="stacked"}});r=undefined;v=-1;o=b("
          ").appendTo(b(j.graph2dAxis.paperContainer));t=0;j.graph2dAxis.legendContainer=o;b.each(j.graph2dAxis.series.series,function(){var E=this,R=b("
        • ").appendTo(b(o)),F=b('').appendTo(b(R)),D=new Raphael(b(F).get(0),j.graph2dAxis.options.font.size,j.graph2dAxis.options.font.size),A=D.rect(2,2,j.graph2dAxis.options.font.size-(2*2)+(2/2),j.graph2dAxis.options.font.size-(2*2)+(2/2)),Q,B="",x=0,H,G,J,S,K,O,P,L,I,N,M,z,C,w,y;s=this.type;if(j.graph2dAxis.options.colors[t]){Q=j.graph2dAxis.options.colors[t]}else{Q=j.graph2dAxis.options.colors[0]}if(E.param.color){Q=d(E.param.color)}if(E.param.dasharray){B=E.param.dasharray.toLowerCase();B=B.replace("space"," ").replace("dash","-").replace("dot",".").replace("none","")}if(G===undefined){G=E.header.rawValue}b.each(this.cell,function(){var U=(x*((j.graph2dAxis.options.width-j.graph2dAxis.offset.left)/j.graph2dAxis.NbColumnHeading)),T=((x+1)*((j.graph2dAxis.options.width-j.graph2dAxis.offset.left)/j.graph2dAxis.NbColumnHeading)),V=((T-U)/2)+U+j.graph2dAxis.offset.left;if(!this.isHeader){this.graphMinPos=U;this.graphMaxPos=T;this.graphCenterPos=V;this.graphValue=(((j.graph2dAxis.top-this.value)*(j.graph2dAxis.options.font.height*(j.graph2dAxis.nbStep-1))/(j.graph2dAxis.top-j.graph2dAxis.bottom))+j.graph2dAxis.offset.top);if(H===undefined){H=T-U}x+=1}});b(R).append(G);if(s==="line"||s==="area"){b.each(this.cell,function(){if(!this.isHeader){if(J===undefined){J="M "+this.graphCenterPos+" "}else{J+="L "+this.graphCenterPos+" "}J+=this.graphValue+" ";if(S===undefined){S=this.graphCenterPos}K=this.graphCenterPos}});if(s==="area"){if(j.graph2dAxis.cuttingPosPaper===0){J+="L "+K+" "+j.graph2dAxis.xAxisOffset+" ";J+="L "+S+" "+j.graph2dAxis.xAxisOffset+" ";J+="z"}else{if(j.graph2dAxis.top<0){J+=" L "+K+" "+(j.graph2dAxis.cuttingPosPaper+(j.graph2dAxis.options.font.height/2));J+=" L "+S+" "+j.graph2dAxis.cuttingPosPaper;J+=" z";O=j.graph2dAxis.paper.path(J);O.attr("stroke",Q);O.attr("stroke-dasharray",B);if(s==="area"){O.attr("fill",Q);O.attr("fill-opacity",(30/100))}J="M "+S+" "+(j.graph2dAxis.cuttingPosPaper-(j.graph2dAxis.options.font.height/2));J+=" L "+K+" "+j.graph2dAxis.cuttingPosPaper;J+=" L "+K+" "+j.graph2dAxis.xAxisOffset;J+=" L "+S+" "+j.graph2dAxis.xAxisOffset;J+=" z"}else{J+=" L "+K+" "+(j.graph2dAxis.cuttingPosPaper-(j.graph2dAxis.options.font.height/2));J+=" L "+S+" "+j.graph2dAxis.cuttingPosPaper;J+=" z";O=j.graph2dAxis.paper.path(J);O.attr("stroke",Q);O.attr("stroke-dasharray",B);if(s==="area"){O.attr("fill",Q);O.attr("fill-opacity",(30/100))}J="M "+S+" "+(j.graph2dAxis.cuttingPosPaper+(j.graph2dAxis.options.font.height/2));J+=" L "+K+" "+j.graph2dAxis.cuttingPosPaper;J+=" L "+K+" "+j.graph2dAxis.xAxisOffset;J+=" L "+S+" "+j.graph2dAxis.xAxisOffset;J+=" z"}}}O=j.graph2dAxis.paper.path(J);O.attr("stroke",Q);A.attr("stroke",Q);O.attr("stroke-dasharray",B);A.attr("stroke-dasharray",B);if(s==="area"){O.attr("fill",Q);A.attr("fill",Q);O.attr("fill-opacity",(30/100));A.attr("fill-opacity",(30/100))}else{A.attr("fill",Q)}}if(s==="bar"||s==="stacked"){if((r!=="stacked"&&s!=="stacked")||r!==s){v+=1}r=s;P=50;L=50;I=(u*100)+P+L;N=(P*H/I);M=(L*H/I);z=H-N-M;C=z/u;w=C*v;y=w+C;b.each(this.cell,function(){if(!this.isHeader){var V=this.graphMinPos+w+N+j.graph2dAxis.offset.left,U,T,W=C,Y="",X;if(j.graph2dAxis.xAxisOffset>=this.graphValue){U=this.graphValue;T=j.graph2dAxis.xAxisOffset-this.graphValue}else{U=j.graph2dAxis.xAxisOffset;T=this.graphValue-j.graph2dAxis.xAxisOffset}if(j.graph2dAxis.cuttingPosPaper===0){Y="M "+V+" "+U;Y+=" L "+(V+W)+" "+U;Y+=" L "+(V+W)+" "+(U+T);Y+=" L "+V+" "+(U+T);Y+=" z"}else{if(j.graph2dAxis.top<0){Y="M "+V+" "+U;Y+=" L "+(V+W)+" "+U;Y+=" L "+(V+W)+" "+j.graph2dAxis.cuttingPosPaper;Y+=" L "+V+" "+(j.graph2dAxis.cuttingPosPaper-(j.graph2dAxis.options.font.height/2));Y+=" z";X=j.graph2dAxis.paper.path(Y);X.attr("fill",Q);if(E.param.fillopacity){X.attr("fill-opacity",(E.param.fillopacity/100))}Y="M "+V+" "+j.graph2dAxis.cuttingPosPaper;Y+=" L "+(V+W)+" "+(j.graph2dAxis.cuttingPosPaper+(j.graph2dAxis.options.font.height/2));Y+=" L "+(V+W)+" "+(U+T);Y+=" L "+V+" "+(U+T);Y+=" z"}else{Y="M "+V+" "+U;Y+=" L "+(V+W)+" "+U;Y+=" L "+(V+W)+" "+(j.graph2dAxis.cuttingPosPaper-(j.graph2dAxis.options.font.height/2));Y+=" L "+V+" "+j.graph2dAxis.cuttingPosPaper;Y+=" z";X=j.graph2dAxis.paper.path(Y);X.attr("fill",Q);if(E.param.fillopacity){X.attr("fill-opacity",(E.param.fillopacity/100))}Y="M "+V+" "+(j.graph2dAxis.cuttingPosPaper+(j.graph2dAxis.options.font.height/2));Y+=" L "+(V+W)+" "+j.graph2dAxis.cuttingPosPaper;Y+=" L "+(V+W)+" "+(U+T);Y+=" L "+V+" "+(U+T);Y+=" z"}}X=j.graph2dAxis.paper.path(Y);X.attr("fill",Q);A.attr("fill",Q);if(E.param.fillopacity){X.attr("fill-opacity",(E.param.fillopacity/100));A.attr("fill-opacity",(E.param.fillopacity/100))}}})}t+=1})}};c={sourceTblSelf:undefined,param:{},parse:function(){c.sourceTblSelf=n;if(c.param.parseDirection==="y"||e.parseDirection==="y"){n=c.swapTable(c.sourceTblSelf)}c.setSeriesHeadingLenght();var r=[],o=[];b("tbody",n).each(function(){var t=[],s={headerList:[],series:[],param:c.classToJson(this)};b("tr",this).each(function(){var D=0,B=0,w=0,u=b(this).children(),E=[],C=[],y="",x,A=false,v="",z;b.each(t,function(){if(this.colpos===B&&this.rowspan>0){var F=Number(b(this.ele.obj).attr("colspan")!==undefined?b(this.ele.obj).attr("colspan"):1),G;for(G=1;G<=F;G+=1){this.ele.colPos=G+B;if(this.ele.isHeader){C.push(jQuery.extend(true,{},this.ele))}else{E.push(jQuery.extend(true,{},this.ele))}}B+=F;if(b(this.ele.obj).get(0).nodeName.toLowerCase()==="th"&&c.seriesHeadingLenght>B){D+=1;if(this.rowspan>=1){w=this.ele.id}}this.rowspan-=1}});b("th, td",this).each(function(){c.cellID+=1;var G=false,P=c.getCellValue(b(this).text()),H={id:c.cellID,isHeader:false,rowPos:c.rowPos,rawValue:b(this).text(),value:P.cellValue,unit:P.cellUnit,obj:b(this),param:c.classToJson(this)},Q=Number(b(this).attr("colspan")!==undefined?b(this).attr("colspan"):1),I=(b(this).attr("rowspan")!==undefined?b(this).attr("rowspan"):1),L="",J,R,M="",K,F,S,O,N;for(J=B,R=(B+Q);J1){O=I-1;t.push({ele:H,rowspan:O,colpos:B,groupId:w});if(H.isHeader&&c.seriesHeadingLenght>B){D+=1;H.isHeader=true;K={id:c.cellID,level:D,width:I,height:Q,header:b(this).text(),groupId:w,isGroup:true,rowPos:c.rowPos,param:c.classToJson(this)};s.headerList.push(K);w=c.cellID}}for(J=1;J<=Q;J+=1){H.colPos=J+B;if(H.isHeader){C.push(jQuery.extend(true,{},H))}else{E.push(jQuery.extend(true,{},H))}}B+=Q;if(c.seriesHeadingLenght===B){if(!H.isHeader){A=true;v="Serie heading not good, current cell value:"+b(this).text()}y=b(this).text();x=b(this);K={id:c.cellID,level:D,width:I,height:Q,header:b(this).text(),groupId:w,isGroup:false,rowPos:c.rowPos,param:c.classToJson(this)};s.headerList.push(K)}b.each(t,function(){if(this.colpos===B&&this.rowspan>0){var T=Number(b(this.ele.obj).attr("colspan")!==undefined?b(this.ele.obj).attr("colspan"):1),V,U;for(J=1;J<=T;J+=1){this.ele.colPos=J+B;if(this.ele.isHeader){C.push(jQuery.extend(true,{},this.ele))}else{E.push(jQuery.extend(true,{},this.ele))}}B+=T;V=(b(this.ele.obj).attr("headers")!==undefined?b(this.ele.obj).attr("headers"):"");U=c.removeDuplicateElement(V.split(" ").concat(o[c.rowPos].split(" ")));b(this.ele.obj).attr("headers",U.join(" "));this.rowspan-=1}})});z={cell:E,cellHeading:C,header:y,headerParam:c.classToJson(x),level:D,GroupId:w,rowPos:c.rowPos,isRejected:A,rejectedRaison:v};if((c.tBodySeries.nbRowLevel<=D||c.tBodySeries.nbRowLevel===undefined)&&!A){c.tBodySeries.nbRowLevel=(D+1)}s.series.push(z);c.rowPos+=1});c.tBodySeries.series.push(s)})},seriesHeadingLenght:0,setSeriesHeadingLenght:function(){b("tbody:first tr:first th",n).each(function(){var o=Number(b(this).attr("colspan")!==undefined?b(this).attr("colspan"):1);c.seriesHeadingLenght+=o})},rowPos:0,cellID:0,removeDuplicateElement:function(u){var o=[],t,r,s,v;label:for(t=0,r=u.length;t1&&t>1){J=u;G=u+t-1;for(J=u;J<=G;J+=1){for(H=v;H<=K;H+=1){D[H][J]=3}}}else{if(s>1){for(H=v;H<=K;H+=1){D[H][u]=3}}}I=b(this).clone();I.attr("colspan",s);I.attr("rowspan",t);(r[u]=r[u]||[])[v]=I;u=u+t});v+=1});o=b("");b.each(r,function(G){var t=b("");o.append(t);b.each(r[G],function(s,H){t.append(H)})});z=o.html();y='
          ";z=z.replace(//gi,y);z=z.replace(/<\/tbody>/gi,"
          '+F+" (Horizontal to Virtical)
          ");z=z.replace(/\n/g,"");z=z.replace(/"+A;break}}z=w.join("\n");b(z).insertAfter(n).hide();return b(z)},compute:function(){b.each(c.tBodySeries.series,function(){var r,o,s;b.each(this.series,function(){if(!this.isRejected){var v,u,t=0;b.each(this.cell,function(){if(!this.isHeader){if(this.value>v||v===undefined){v=this.value}if(this.valuer||r===undefined)&&!this.isRejected){r=v}if((us.length+w.length?this.slice(0,s.length):"")){var J=this.split(w).slice(u.length),D=r,F=u[u.length-1],E,K,C,G,z,y,B=false,H=false,I,A;for(E=0,K=J.length;E0){a.fn.charts.graphdelayed=true}if(a.fn.charts.graphstacked.length===0){clearTimeout(i);return}a.fn.charts._exec(a.fn.charts.graphstacked.shift());f+=1;var o=200;if(e.execdelay){o=e.execdelay}i=setTimeout(l,o)})()}return}a.fn.charts.graphprocessed=true;c.parse();if(!b(n).data().tblparser){a.fn.parsertable._exec(b(n))}q=function(){var r=b(n).data().tblparser,o=0,s=-1;b.each(r.theadRowStack,function(){b.each(this.cell,function(){if(this.uid>s){s=this.uid;var t={id:this.uid,uniqueID:this.uid,level:o,width:this.width,height:this.height,header:b(this.elem).text(),groupId:0,isGroup:(this.width>1?true:false),colPos:this.colpos-1,param:c.classToJson(b(this.elem))};if(!c.tBodySeries.ColHeading){c.tBodySeries.ColHeading=[]}c.tBodySeries.ColHeading.push(t)}});o+=1});c.tBodySeries.nbColLevel=r.theadRowStack.length;c.rowPos=r.theadRowStack.length-1};q();c.compute();e.width=parseFloat((c.param.width?c.param.width-e.widthPadding:e.width-e.widthPadding));e.width=parseFloat(e.width>(e.maxwidth-e.widthPadding)?e.maxwidth-e.widthPadding:e.width);e.height=parseFloat(c.param.height||e.height);m=c.tBodySeries.nbRowLevel;if(c.param.graph){g=c.param.graph}else{if(c.param.type){g=c.param.type}else{g=e.type}}b.each(c.tBodySeries.series,function(){var A=0,V=[],x=0,O=[],R,s,u="line",w=-1,I=[],D,z="",t={},M={},H=[],J,v=true,C=[],r,Q,B,G,T,F=[],L,S,o,P,y,E,N,U,W,K;if(c.param.type){u=c.param.type}if(this.param.graph){u=this.param.graph}D=u;b.each(this.series,function(){if(this.cellHeading.length===0){this.isRejected=true}if(!this.isRejected){v=false;var aa=false,X={},Z=[],Y="";if(this.cellHeading.length>m){X=this.cellHeading[m];if(w===X.id){I.push(jQuery.extend(true,{},X))}else{b.each(I,function(){for(R=0,s0){j.graph2dAxis.init(r,e)}if(Q.series.length>0){j.circleGraph.init(Q,e)}B=b("
          ").insertAfter(c.sourceTblSelf);b(B).width(e.width+e.widthPadding);b(B).addClass(e["default-namespace"]);if(c.param.graphclass){if(b.isArray(c.param.graphclass)){for(R=0,s=c.param.graphclass.length;R0){G=[];L=[];b.each(Q.series,function(){var X=b("
          "),Z=b("
          "),Y;b(X).append(this.header.rawValue);b(B).append(Z);L.push(Z);Y=new Raphael(b(Z).get(0),j.circleGraph.width,j.circleGraph.height);b(X).prependTo(b(Z));G.push(Y);S(this.header.obj,Z)});j.circleGraph.generateGraph(L,G)}}if(r.series.length>0){G=new Raphael(b(B).get(0),e.width,e.height);j.graph2dAxis.generateGraph(B,G)}if(!v){U=b(n).attr("aria-describedby");E=b("caption",n).data().tblparser;if(E.caption){N=b("
          ");b(B).prepend(N);if(b(E.caption).get(0).nodeType!==3){if(b(E.caption).get(0).nodeName.toLowerCase()==="caption"){b(N).append(b(E.caption).html())}else{b(N).append(b(E.caption).clone())}}else{b(N).append(b("").append(b(E.caption).text()))}if(E.description){P=E.description;if(P.length>1){P=b(P).wrapAll("
          ").parent()}y=b(P).attr("id");if(y===undefined||y===""){y="graphsourcedesc"+new Date().getTime();b(P).attr("id",y)}b(N).append(P);if(U===undefined||U===""){b(n).attr("aria-describedby",y)}}}S(E.caption,B);if(y){b.each(F,function(){b(this).attr("aria-describedby",y)})}if(b(n).attr("aria-label")===undefined||b(n).attr("aria-label")===""){b(n).attr("aria-label",(E.caption?b(E.caption).text()+" ":"")+a.dic.get("%table-mention"))}if(!c.param.noencapsulation){W=b("
          ");K=b("");b(W).appendTo(B);b(K).text((E.caption?b(E.caption).text()+" ":"")+a.dic.get("%table-mention")).appendTo(W).after(n);if(b("html").hasClass("polyfill-detailssummary")){b(W).details()}}else{b(n).appendTo(B)}}else{b(B).remove()}})}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.css3ie={type:"plugin",depends:(pe.ie>0&&pe.ie<9?["pie","resize"]:[]),_exec:function(j){if(pe.mobile||!(pe.ie>0&&pe.ie<9)){return}var l=b(".rounded, .pie-enhance"),g=false,k=b("#wb-core"),d=k.children("#wb-core-in"),i=k.css("margin-bottom"),h,c,f,e;f=function(){l.each(function(){PIE.attach(this)});return true};e=function(){l.each(function(){PIE.detach(this)});return false};if(window.PIE){l.filter(function(){return b(this).css("position")==="static"}).css("position","relative");if(pe.ie===7){h=document.body;c=h.getBoundingClientRect();if((c.left-c.right)/h.offsetWidth===-1){g=f()}else{k.css("margin-bottom",(d.offset().top+d.height())-(k.offset().top+k.height()))}}else{if(pe.ie===8){g=f()}else{g=f()}}pe.resize(function(){if(pe.ie===7){var m=document.body,n=m.getBoundingClientRect();if((n.left-n.right)/m.offsetWidth!==-1){g=e(l);k.css("margin-bottom",(d.offset().top+d.height())-(k.offset().top+k.height()))}else{if(!g){f()}k.css("margin-bottom",i)}}})}return j}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.deselectradio={type:"plugin",depends:[],_exec:function(d){var c=b('input[type="radio"]:not(.deselectable)').attr("role","radio").attr("aria-checked","false").addClass("deselectable");c.filter(":checked").attr("aria-checked","true");c.closest("fieldset").attr("role","radiogroup");c.on("click vclick",function(){var e=b(this);if(e.attr("aria-checked")==="true"){e.prop("checked",false).attr("aria-checked","false")}else{e.closest("fieldset").find('input[type="radio"]').prop("checked",false).attr("aria-checked","false");e.prop("checked",true).attr("aria-checked","true")}});return d}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.equalize={type:"plugin",depends:(pe.mobile?[]:["equalheights","resize"]),_exec:function(c){if(pe.mobile){return}b(".equalize").children().css("min-height","").parent().equalHeights(true);pe.resize(function(){b(".equalize").children().css("min-height","").parent().equalHeights(true)});return c}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.eventscalendar={type:"plugin",depends:["calendar","xregexp"],_exec:function(i){var v=new Date(),p=a.fn.calendar,h=a.fn.calendar.dates,m=v.getFullYear(),w=v.getMonth(),x=i.find(".year"),j=i.find(".month"),r,d,n,y,u,s,o,e,l,c,q,t,g,k,f;y=function(C){var B=!(b(C).hasClass("event-anchoring")),A={minDate:null,maxDate:null,iCount:0,list:[{a:1}]},z=null;if(C.find("ol").length>0){z=C.find("ol")}else{if(C.find("ul").length>0){z=C.find("ul")}}if(z.length>0){z.children("li").each(function(){var E=b(this),J=E.find("*:header:first"),N=J.text(),H=E.find("a").first(),L=H.attr("href"),F,G,D,P,O,M,K,I;if(!B){F=(E.attr("id")!==undefined)?E.attr("id"):u(6);E.attr("id",F);if(pe.ie>0){E.attr("tabindex","-1")}L="#"+F}G=new Date();D=E.find("time, span.datetime");if(D.length>1){P=(b(D[0]).get(0).nodeName.toLowerCase()==="time")?b(D[0]).attr("datetime").substr(0,10).split("-"):b(D[0]).attr("class").match(/datetime\s+\{date\:\s*(\d+-\d+-\d+)\}/)[1].substr(0,10).split("-");O=(b(D[1]).get(0).nodeName.toLowerCase()==="time")?b(D[1]).attr("datetime").substr(0,10).split("-"):b(D[1]).attr("class").match(/datetime\s+\{date\:\s*(\d+-\d+-\d+)\}/)[1].substr(0,10).split("-");G.setFullYear(P[0],P[1]-1,P[2]);for(K=0,I=h.daysBetween(P,O)+1;KA.maxDate){A.maxDate=G}A.list[A.iCount]={title:N,date:new Date(G.getTime()),href:L};G=new Date(G.setDate(G.getDate()+1));if(!J.hasClass("filter-"+(G.getFullYear())+"-"+p.strPad(G.getMonth()+1,2))){J.addClass("filter-"+(G.getFullYear())+"-"+p.strPad(G.getMonth()+1,2))}A.iCount+=1}}else{if(D.length===1){M=(b(D[0]).get(0).nodeName.toLowerCase()==="time")?b(D[0]).attr("datetime").substr(0,10).split("-"):b(D[0]).attr("class").match(/datetime\s+\{date\:\s*(\d+-\d+-\d+)\}/)[1].substr(0,10).split("-");G.setFullYear(M[0],M[1]-1,M[2]);if(A.minDate===null||GA.maxDate){A.maxDate=G}A.list[A.iCount]={title:N,date:G,href:L};if(!J.hasClass("filter-"+(G.getFullYear())+"-"+p.strPad(G.getMonth()+1,2))){J.addClass("filter-"+(G.getFullYear())+"-"+p.strPad(G.getMonth()+1,2))}A.iCount+=1}}})}window.events=A;return A};u=function(B){var A="",z,C;z=function(){C=Math.floor(Math.random()*62);if(C<10){return C}if(C<36){return String.fromCharCode(C+55)}return String.fromCharCode(C+61)};while(A.length'+F+"");K.append(J);D=b('
            ');J.on("keydown",{details:D},l);K.on("mouseover",{details:D},c);K.on("mouseout",{details:D},q);J.on("focus",{details:D},t);J.on("blur",{details:D},g);K.append(D)}else{D=K.find("ul.wb-invisible")}E=b('
          • '+A[H].title+"
          • ");if(pe.cssenabled){E.children("a").attr("tabindex","-1")}D.append(E);C=E.children("a");C.on("keydown",e);C.on("blur",{details:D},k);C.on("focus",{details:D},f)}}};o=function(A,B,z){b("."+z+" li.calendar-display-onshow").addClass("wb-invisible");b("."+z+" li.calendar-display-onshow").has(":header[class*=filter-"+A+"-"+p.strPad(parseInt(B,10)+1,2)+"]").removeClass("wb-invisible")};if(x.length>0&&j.length>0){m=x.text();if(j.hasClass("textformat")){r=b.inArray(j.text(),pe.dic.get("%calendar-monthNames"));w=r}else{w=j.text()-1}}d=y(i);n=b(i).attr("class").split(" ").slice(-1);if(b("#wb-main-in").css("padding-left")==="0px"){b("#"+n).css("margin-left","10px")}b("#"+n).on("calendarDisplayed",function(B,z,A,C){s(z,A,C,n,d.list);o(z,A,n)});p.create(n,m,w,true,p.getISOStringFromDate(d.minDate),p.getISOStringFromDate(d.maxDate))}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.feedback={type:"plugin",depends:[],_exec:function(j){var d=j.find("#feedback"),i=j.find("#web"),h=i.find("#access"),c=i.find("#mobile"),k=i.find("#computer"),m=j.find("#contact-coord"),n=m.find("#contact1"),l=m.find("#contact2"),g=m.find("#info"),f=document.referrer,e=pe.url(window.location.href).params,o;d.attr("aria-controls","web").on("keyup click load",function(p){o=(p.type==="load");if(!o&&b(this).val()==="web"){i.attr("aria-hidden","false").show("slow")}else{i.attr("aria-hidden","true").hide((o?"":"slow"))}});if(e.submit===undefined&&e.feedback!==undefined){d.find('option[value="'+e.feedback+'"]').attr("selected","selected")}d.trigger("load");h.attr("aria-controls","mobile computer").on("keyup click load",function(p){o=(p.type==="load");if(!o&&h.val()==="mobile"){c.attr("aria-hidden","false").show("slow");k.attr("aria-hidden","true").hide("slow")}else{k.attr("aria-hidden","false").show((o?"":"slow"));c.attr("aria-hidden","true").hide((o?"":"slow"))}}).trigger("load");n.on("keyup click load",function(p){o=(p.type==="load");if(!o&&b(this).val()==="yes"){g.attr("aria-hidden","false").show("slow")}else{if(o||((b(this).val()==="no"||b(this).val()===null)&&(l.val()==="no"||l.val()===null))){g.attr("aria-hidden","true").hide((o?"":"slow"))}}}).trigger("click");l.on("keyup click load",function(p){o=(p.type==="load");if(!o&&b(this).val()==="yes"){g.attr("aria-hidden","false").show("slow")}else{if(o||((b(this).val()==="no"||b(this).val()===null)&&(n.val()==="no"||n.val()===null))){g.attr("aria-hidden","true").hide((o?"":"slow"))}}}).trigger("load");i.find("#page").attr("value",f);j.find("input[type=reset]").on("click",function(){d.trigger("load");h.trigger("load");n.trigger("load");l.trigger("load")});return j}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.footnotes={type:"plugin",_exec:function(i){var e=b("#wb-main-in").not(".wet-boew-footnotes"),c=b(i),g,h,d,f;c.find("p.footnote-return a span span").remove();e.find("sup a.footnote-link").on("click",function(){var l=b(this),j=l.attr("href"),k="#"+l.parent().attr("id");if(k!==f){g();h=c.find(j+" + dd p.footnote-return a");f=j;d=h.attr("href");if(f!==d){h.attr("href",k)}}});c.find("dd p.footnote-return a").on("click",function(){b(this).on("focusout",function(){g()})});g=function(){if(f!==d){h.attr("href",d);f=d}}}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.formvalid={type:"plugin",depends:["validate","validateAdditional","metadata"],_exec:function(i){var f=i.find("form"),c=false,h=f.find("[required]").attr("aria-required","true"),e="errors-"+(f.attr("id")===undefined?"default":f.attr("id")),d;if(pe.language!=="en"){pe.add._load(pe.add.liblocation+"i18n/formvalid/messages_"+pe.language+pe.suffix+".js")}if(pe.language==="de"||pe.language==="nl"||pe.language==="pt"){pe.add._load(pe.add.liblocation+"i18n/formvalid/methods_"+pe.language+pe.suffix+".js")}h.attr("aria-required","true");f.find("label").each(function(){var j=b(this);j.html(j.html()+" ")});function g(n,l,m){var j=n.attr("class"),o=(j!==undefined?j.search(/validate\s?:\s?\{/):-1),k;if(o>-1){if(j.search("/"+l+"\\s?:/")===-1){k=j.substring(o,j.indexOf("{",o)+1);n.attr("class",j.replace(k,k+l+":"+m+", "))}}else{n.addClass("{validate:{"+l+":"+m+"}}")}return}f.find("input[pattern]").removeAttr("pattern");if(pe.ie>0&&pe.ie<9){h.removeAttr("required").each(function(){g(b(this),"required","true")});f.find('input[type="date"]').each(function(){var l=b(this),j=l.wrap("
            ").parent(),k=b(j.html().replace("type="+l.attr("type"),"type=text"));j.replaceWith(k)})}if(pe.mobile){f.attr("data-ajax","false").find('input[type="checkbox"]').closest("fieldset").attr("data-role","controlgroup")}d=f.validate({meta:"validate",focusInvalid:false,errorElement:"strong",errorPlacement:function(j,k){j.appendTo(f.find('label[for="'+b(k).attr("id")+'"]'))},showErrors:function(m,n){this.defaultShowErrors();var o=f.find("strong.error:not(:hidden)"),l=f.find("input.error, select.error, textarea.error"),k=f.find("#"+e),j;f.find('[aria-invalid="true"]').removeAttr("aria-invalid");if(o.length>0){if(k.length===0){k=b('