!function(){for(var a,b=function(){},c=["assert","clear","count","debug","dir","dirxml","error","exception","group","groupCollapsed","groupEnd","info","log","markTimeline","profile","profileEnd","table","time","timeEnd","timeStamp","trace","warn"],d=c.length,e=window.console=window.console||{};d--;)a=c[d],e[a]||(e[a]=b)}(),window.zhongFramework.customModernizrBuild=function(a,b,c){function d(a){n.cssText=a}function e(a,b){return typeof a===b}var f,g,h,i="2.7.1",j={},k=b.documentElement,l="modernizr",m=b.createElement(l),n=m.style,o=({}.toString,{}),p=[],q=p.slice,r=function(a,c,d,e){var f,g,h,i,j=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))for(;d--;)h=b.createElement("div"),h.id=e?e[d]:l+(d+1),j.appendChild(h);return f=["",'"].join(""),j.id=l,(m?j:n).innerHTML+=f,n.appendChild(j),m||(n.style.background="",n.style.overflow="hidden",i=k.style.overflow,k.style.overflow="hidden",k.appendChild(n)),g=c(j,a),m?j.parentNode.removeChild(j):(n.parentNode.removeChild(n),k.style.overflow=i),!!g},s={}.hasOwnProperty;h=e(s,"undefined")||e(s.call,"undefined")?function(a,b){return b in a&&e(a.constructor.prototype[b],"undefined")}:function(a,b){return s.call(a,b)},Function.prototype.bind||(Function.prototype.bind=function(a){var b=this;if("function"!=typeof b)throw new TypeError;var c=q.call(arguments,1),d=function(){if(this instanceof d){var e=function(){};e.prototype=b.prototype;var f=new e,g=b.apply(f,c.concat(q.call(arguments)));return Object(g)===g?g:f}return b.apply(a,c.concat(q.call(arguments)))};return d}),o.fontface=function(){var a;return r('@font-face {font-family:"font";src:url("https://")}',function(c,d){var e=b.getElementById("smodernizr"),f=e.sheet||e.styleSheet,g=f?f.cssRules&&f.cssRules[0]?f.cssRules[0].cssText:f.cssText||"":"";a=/src/i.test(g)&&0===g.indexOf(d.split(" ")[0])}),a};for(var t in o)h(o,t)&&(g=t.toLowerCase(),j[g]=o[t](),p.push((j[g]?"":"no-")+g));return j.addTest=function(a,b){if("object"==typeof a)for(var d in a)h(a,d)&&j.addTest(d,a[d]);else{if(a=a.toLowerCase(),j[a]!==c)return j;b="function"==typeof b?b():b,"undefined"!=typeof enableClasses&&enableClasses&&(k.className+=" "+(b?"":"no-")+a),j[a]=b}return j},d(""),m=f=null,j._version=i,j.testStyles=r,j}(this,this.document),navigator.userAgent.toLowerCase().match(/(android (2.0|2.1))|(windows phone os 7)/)&&(window.zhongFramework.Modernizr.fontface=!1),jQuery.fn.addTransition=function(a,b,c){var d=800;return"undefined"!=typeof a?"fast"===a?d=400:"slow"===a&&(d=1400):a="medium","undefined"==typeof b&&(b="all"),this.addClass("transition_"+a+"-"+b),function(e){setTimeout(function(){e.removeClass("transition_"+a+"-"+b),"undefined"!=typeof c&&e.addClass(c)},d)}(this),this},jQuery.fn.ctrlARIA=function(a,b){if("alive"===a)this.attr({"aria-live":"assertive","aria-relevant":"all","aria-atomic":"true"});else if("off"===a)this.attr({"aria-live":"off","aria-relevant":"","aria-atomic":""});else{if("reset"===a)return function(a){setTimeout(function(){a.attr({"aria-live":"","aria-relevant":"","aria-atomic":""})},0)}(this),this;"hidden"===a?"true"!==b?this.attr("aria-hidden","false"):this.attr("aria-hidden","true"):"true"!==b?this.attr("aria-busy","false"):this.attr("aria-busy","true")}return this[0].offsetWidth,this},function(a,b){"use strict";function c(){a(this).removeAttr("tabindex").off("blur focusout",c)}var d,e,f,g,h,i,j,k,l=b.cache.$body=a(document.body),m=b.cache.$window=a(window),n=b.cache.$document=a(document),o=b.cache.$htmlBody=a("html, body"),p=b.cache.$layoutWidthRailElements=a(".zf--encloser"),q=b.cache.$mainBody=a(document.getElementById("zf--main-body")),r=b.cache.$allMenuContainers=a(".zf--menu-container"),s=b.params.fontResizingRate=10,t=document.body.className,u=document.getElementsByTagName("html")[0].className,v=m.width(),w=!1,x=!1,y=null,z=null,A=!1,B=b.helpers.throwError=function(a){try{throw new Error(a)}catch(b){console.error(b.stack)}},C=(b.helpers.nodeHasClass=function(a,b){return a?(" "+a.className+" ").replace(/[\n\t]/g," ").indexOf(" "+b+" ")>-1:void B("Element undefined")},b.helpers.nodeRemoveClass=function(a,b){return a?(a.classList?a.classList.remove(b):a.className=a.className.replace(new RegExp("[ ]?"+b,"g"),""),a):void B("Element undefined")}),D=b.helpers.nodeAddClass=function(a,b){return a?(a.classList?a.classList.add(b):a.className+=" "+b,a):void B("Element undefined")},E=(b.helpers.nodeRemove=function(a){return a?a.parentNode.removeChild(a):void B("Element undefined")},b.helpers.nodeAppendChild=function(a,b,c){if(!a)return void B("Element undefined");var d=document.createElement(b);return"undefined"!=typeof c&&(d.innerHTML=c),a.appendChild(d),d},b.helpers.includeScript=function(a){a=a.replace(/^\s+|\s+$/g,"");var b=document.createElement("script");b.type="text/javascript",b.async=!0,b.text=a,document.getElementsByTagName("head")[0].appendChild(b)},b.helpers.includeScriptSrc=function(a){var b=document.createElement("script");b.type="text/javascript",b.async=!0,b.src=a;document.getElementsByTagName("head")[0];document.getElementsByTagName("head")[0].appendChild(b)}),F=b.helpers.forceElementFocus=function(a){a.attr("tabindex",-1).on("blur focusout",c).focus()};b.actions={setLayoutWidthMode:function(a){if("inherit"!==b.self.customLayoutWidth&&"custom"!==a){for(var c,d=0;d
-1)){if(document.getElementById("zf--welcome-message-popover"))return void setTimeout(function(){b.actions.showAlertsPanel(c,d)},1e3);"low"===d.priority?(i.setAttribute("aria-role","dialog"),i.setAttribute("aria-live","off"),b.helpers.nodeAddClass(i,"zf--alerts-panel_low-priority")):"mid"===d.priority?(i.setAttribute("aria-role","dialog"),i.setAttribute("aria-live","polite"),b.helpers.nodeAddClass(i,"zf--alerts-panel_mid-priority")):(i.setAttribute("aria-role","alert-dialog"),i.setAttribute("aria-live","polite"),b.helpers.nodeAddClass(i,"zf--alerts-panel_high-priority")),"undefined"!=typeof c&&(document.getElementById("zf--alerts-panel--content").innerHTML=c),"ok-button"===d.providedControl?b.helpers.nodeRemoveClass(j,"removed"):"none"===d.providedControl||b.helpers.nodeRemoveClass(k,"removed"),b.helpers.nodeRemoveClass(i,"removed"),i.offsetWidth,b.helpers.nodeAddClass(i,"active"),("high-contrast"===b.self.layoutMode||"full-access"===b.self.layoutMode)&&("low"===d.priority||"mid"===d.priority?b.helpers.nodeAddClass(i,"highlight-yellow"):"full-access"===b.self.layoutMode&&b.helpers.nodeAddClass(i,"highlight-red")),"high"===d.priority&&F(a(i)),A=!0}}},hideAlertsPanel:function(){if(A){b.helpers.nodeRemoveClass(i,"active"),setTimeout(function(){b.helpers.nodeAddClass(i,"removed"),b.helpers.nodeAddClass(j,"removed"),b.helpers.nodeAddClass(k,"removed")},"full-access"===b.self.layoutMode?0:800);var a=new Date;a.setTime(a.getTime()+b.params.cookiesExpireDate),document.cookie="zhongFrameworkAlertsPanel=closed; expires="+a.toGMTString()+"; path="+b.params.cookiesBasePath+";",A=!1}},changeRootFontSize:function(a){!x&&b.params.enableFontSizeRelativizer&&b.actions.applyFontSizeRelativizer(),a?(b.self.currentFontSize=b.self.currentFontSize+s,b.self.currentFontSize>400&&(b.self.currentFontSize=400)):(b.self.currentFontSize=b.self.currentFontSize-s,b.self.currentFontSize<40&&(b.self.currentFontSize=40)),b.actions.setRootFontSize(b.self.currentFontSize)},revertRootFontSize:function(){b.self.currentFontSize=b.params.defaultFontSize,b.actions.setRootFontSize(b.params.defaultFontSize)},setRootFontSize:function(a){document.documentElement.style.fontSize=a+"%",b.actions.saveUserSettings()},saveUserSettings:function(){var a=new Date;a.setTime(a.getTime()+b.params.cookiesExpireDate),document.cookie="zhongFrameworkGraphicMode="+b.self.graphicMode+"; expires="+a.toGMTString()+"; path="+b.params.cookiesBasePath+";",document.cookie="zhongFrameworkFontSize="+b.self.currentFontSize+"; expires="+a.toGMTString()+"; path="+b.params.cookiesBasePath+";",document.cookie="zhongFrameworkLayoutWidth="+b.self.layoutWidthMode+"; expires="+a.toGMTString()+"; path="+b.params.cookiesBasePath+";",document.cookie="zhongFrameworkCustomLayoutWidth="+b.self.customLayoutWidth+"; expires="+a.toGMTString()+"; path="+b.params.cookiesBasePath+";"},showSocialPanelContainer:function(){C(f,"removed"),f.offsetWidth,D(f,"active"),C(h,"active"),setTimeout(function(){D(h,"visually-hidden")},500)},hideSocialPanelContainer:function(){C(f,"active"),setTimeout(function(){D(f,"removed")},500),C(h,"visually-hidden"),h.offsetWidth,D(h,"active"),a("*").unbind("focus",b.actions.focusOutOfSocialPanel)},focusOutOfSocialPanel:function(){a(f).find(document.activeElement).size()||(a("*").unbind("focus",b.actions.focusOutOfSocialPanel),b.actions.hideSocialPanelContainer())},addAccessibleAlertsToLinks:function(){a('a[target="_blank"]').append(' ( '+b.params.newWindowLinkText+" )"),a('a[href^="http:// "]:not(a[href*="'+b.params.http_host+'"])').append(' ( '+b.params.externalLinkText+" )")},applyFontSizeRelativizer:function(){if(!(u.indexOf("lt-ie9")>-1)){var c,d,e,f=[],g=[],h=document.styleSheets,i=[];for(c=h.length-1;c>=0;c--)if(!(h[c].href&&h[c].href.indexOf("zf/assets/css")>-1))for(i=h[c].rules||h[c].cssRules,d=i.length-1;d>=0;d--)i[d].style&&(e=i[d].style.fontSize,e&&e.indexOf("px")>-1&&(f.push(i[d].selectorText),g.push(parseInt(e))));if(!b.params.enableInlineStyleFilterFontSize&&!b.params.enableInlineStyleFilterRemoveAll){var j,k=document.getElementsByClassName("zf--guest-view");for(c=k.length-1;c>=0;c--)for(j=k[c].getElementsByTagName("*"),d=j.length-1;d>=0;d--)j[d].style.fontSize&&j[d].style.fontSize.indexOf("px")>-1&&(f.push(j[d]),g.push(parseInt(j[d].style.fontSize)))}var l,m=parseInt(window.getComputedStyle(document.documentElement,null).fontSize),n=b.self.currentFontSize-b.params.defaultFontSize;for(c=f.length-1;c>=0;c--)a(f[c]).each(function(){l=g[c]/m,l+=l*n/100,this.style.fontSize=l+"rem"});x=!0}}},b.mixins={makeFloatingMenuAccessibleToKeyboards:function(b){var c=a(b),d=c.find("a");d.bind("focus",function(){var b=a(this),c=b.parent();c.next("li").children("ul").size()&&c.next("li").children("ul").removeClass("zf--visible-floating-menu"),c.prev("li").children("ul").size()&&c.prev("li").children("ul").removeClass("zf--visible-floating-menu"),c.children("ul").size()&&c.children("ul").addClass("zf--visible-floating-menu")}),d.bind("blur",function(){setTimeout(function(){c.find(document.activeElement).size()||c.find(".zf--visible-floating-menu").removeClass("zf--visible-floating-menu")},0)})},makeColumnSticky:function(a,b){if(!(a.innerHeight()>b.innerHeight())){var c,d,e,f=!1,g=!1,h=a.offset().top;m.height()>a.innerHeight()&&m.scroll(function(){return c=m.scrollTop(),f?(h>c&&(a.removeClass("zf--sticky-side-column").css({width:""}),h=a.offset().top,f=!1),d=b.offset().top+b.innerHeight(),e=c+a.innerHeight(),void(e>d?a.css("top",d-e+"px"):a.css("top","0"))):c').addClass("collapsed").append('').css("height",function(){return a(this).find(".accordion-block-inner").height()/100*20+a(this).find(".accordion-block-readMore").innerHeight()+6}).find(".accordion-block-readMore").click(function(){var b=a(this).parent();b.hasClass("collapsed")?b.removeClass("collapsed").addTransition("fast").css("height",function(){return b.find(".accordion-block-inner").height()+b.find(".accordion-block-readMore").innerHeight()+6}):b.addClass("collapsed").addTransition("fast").css("height",function(){return b.find(".accordion-block-inner").height()/100*20+b.find(".accordion-block-readMore").innerHeight()+6})})},collapsableSubMenuButtonsHandler:function(){var c="",d="";t.indexOf("high-contrast-menus-navigation-mode--collapsable")>-1&&(c=''),t.indexOf("full-access-menus-navigation-mode--collapsable")>-1&&(c='"),""!==c&&(r.find(".parent:not(.active)>ul").addClass("removed").parent().children("a").after(c+b.params.expandSubmenuText+d),r.find(".parent.active>ul").parent().children("a").after(c+b.params.hideSubmenuText+d).siblings(".zf--collapsable-sub-menus-button").addClass("active"),a(".zf--collapsable-sub-menus-button").click(function(){var c=a(this);c.hasClass("active")?(c.removeClass("active").parent().children("ul").addClass("removed"),"high-contrast"===b.self.layoutMode?c.attr("title",b.params.expandSubmenuText):c.html(b.params.expandSubmenuText)):(c.addClass("active").siblings("ul").ctrlARIA("alive").removeClass("removed").ctrlARIA("reset"),"high-contrast"===b.self.layoutMode?c.attr("title",b.params.hideSubmenuText):c.html(b.params.hideSubmenuText))}))},socialPanelHandler:function(){if(b.params.enableSocialButtonsExpandable===!0){var c=null;if(t.indexOf("social-buttons-panel-activation-button-position--logo")>-1){if(!document.getElementById("zf--site-logo--skin"))return;c=document.getElementById("zf--site-logo--skin")}else if(t.indexOf("social-buttons-panel-activation-button-position--title")>-1){if(!document.getElementById("zf--site-title"))return;c=document.getElementById("zf--site-title")}else if(t.indexOf("social-buttons-panel-activation-button-position--site-banner")>-1){if(!document.getElementById("zf--site-banner"))return;c=document.getElementById("zf--site-banner")}"zf--site-banner"!==c.id&&c.appendChild(function(){var a=document.getElementById("zf--social-buttons-panel-activation-button");return a.parentNode.removeChild(a),a}()),f=document.getElementById("zf--social-buttons-panel"),g=document.getElementById("zf--social-buttons-panel-close-button"),h=document.getElementById("zf--social-buttons-panel-activation-button"),C(g,"removed"),C(h,"removed");var d=!1;a(h).click(function(){d||(b.components.socialButtons.init(),d=!0),b.actions.showSocialPanelContainer(),a("*").bind("focus",b.actions.focusOutOfSocialPanel)}),a(g).click(function(){b.actions.hideSocialPanelContainer()})}},sameHeightGroupedHostsHandler:function(){b.params.sameHeightGroupedHosts&&v>719&&a(".zf--grouped-hosts-row").each(function(){var b=a(this).find(".zf--grouped-host--skin");if(1!==b.length){var c;if(c=u.indexOf("lt-ie10")>-1?a(this).find("[class*=zf--block-coat--]"):b.find("[class*=zf--block-coat--]"),0!==c.length){for(var d=c.eq(0).outerHeight(),e=1;e-1?c.find("[class*=zf--block-coat--] [class*=zf--block-coat--]").css("min-height","0"):c.find("[class*=zf--block-coat--]").css("min-height","0")}}})},userLayoutWidthResizeHandler:function(){if(document.getElementById("zf--layout-width-resizer")){if(u.indexOf("ie7")>-1)return void b.helpers.nodeRemove(document.getElementById("zf--layout-width-resizer"));if(b.helpers.isClientPortable)return void b.helpers.nodeRemove(document.getElementById("zf--layout-width-resizer"));u.indexOf("ie8")>-1&&(a(".zf--layout-width-resize-handle").css("opacity","0"),a(".zf--layout-width-resize-handle").hover(function(){a(this).css("opacity","0.7")},function(){a(this).css("opacity","0")}));var c,d,e,f,g,h="-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;";a(".zf--layout-width-resize-trigger").mousedown(function(i){d=i.pageX,c=p.eq(0).width(),l.addClass("custom-layout-width").removeClass("full-layout-width").removeClass("liquid-layout-width").removeClass("fixed-layout-width"),p.css("width",c+"px"),f=a(this).is("#zf--layout-width-resize-handle-left")||a(this).is("#zf--layout-width-resize-icon")?1:-1,l.attr("unselectable","on").attr("onselectstart","return false;").attr("onmousedown","return false;"),e=document.getElementsByTagName("body")[0].getAttribute("style")||"",document.getElementsByTagName("body")[0].setAttribute("style",e+h);var j=function(a){g=c+2*(d-a.pageX)*f,p.css("width",g)},k=function(){l.unbind("mousemove",j).unbind("mouseup",k),b.self.customLayoutWidth=g,b.self.layoutWidthMode="custom",e=document.getElementsByTagName("body")[0].getAttribute("style"),e=e.replace(h,""),document.getElementsByTagName("body")[0].setAttribute("style",e),l.removeAttr("unselectable").removeAttr("onselectstart").removeAttr("onmousedown"),b.actions.saveUserSettings()};l.bind("mousemove",j).bind("mouseup",k)})}},welcomeMessagePopoverHandler:function(){b.helpers.isClientFirstTimeVisit&&"undefined"!=typeof b.components.welcomeMessagePopover&&(b.components.welcomeMessagePopover.show(),"undefined"!=typeof b.components.welcomeMessagePopover.showOverlayBG&&b.components.welcomeMessagePopover.showOverlayBG())},stickySideColumnsHandler:function(){(b.params.enableStickyLeftColumn||b.params.enableStickyRightColumn)&&(b.helpers.isClientPortable||719>v||u.indexOf("ie7")>-1||(b.params.enableStickyLeftColumn&&a("#zf--left-column--skin").size()&&b.mixins.makeColumnSticky(a("#zf--left-column--skin"),a("#zf--main-content")),b.params.enableStickyRightColumn&&a("#zf--right-column--skin").size()&&b.mixins.makeColumnSticky(a("#zf--right-column--skin"),a("#zf--main-content"))))},javascriptTooltipsHandler:function(){if(!b.helpers.isClientPortable&&!("default-layout"===b.self.layoutMode&&"never"===b.params.tooltipsEnabled||"high-contrast"===b.self.layoutMode&&"never"===b.params.tooltipsEnabledHighContrast)){var c=".show-tooltip";"default-layout"===b.self.layoutMode&&"on-title"===b.params.tooltipsEnabled&&(c="[title]"),"high-contrast"===b.self.layoutMode&&"on-title"===b.params.tooltipsEnabledHighContrast&&(c="[title]");var f,g,h,i,j,k,o,p,q,r,s,t,v,w=!1;a(c).hover(function(){""===a(this).attr("title")||w||(w=!0,g=a(this),h=g.attr("title"),f=a(''+h+""),l.append(f),g.attr("data-zf-tooltipped-title",h).attr("title",""),f.fadeIn(460),k=f.outerWidth(),o=f.outerHeight(),f.css("min-width",k+"px"),u.indexOf("ie8")>-1&&f.css("min-width","0px"),"high-contrast"!==b.self.layoutMode?g.mousemove(function(a){d=a.pageX+14-m.scrollLeft(),e=a.pageY+16-m.scrollTop(),d+k>m.width()-14&&(d=m.width()-k-14),e+o>n.height()-16&&(e=n.height()-o-16),f.css("left",d).css("top",e)}):(f.addClass("bottom-screen-positioning"),this.offsetWidth,f.css({"margin-left":"-"+k/2+"px",bottom:"1em"})))},function(){f&&(a(this).attr("title")||a(this).attr("title",f.text()).attr("data-zf-tooltipped-title",""),f.remove(),w=!1)}),b.params.tooltipsEnabledOnKeyboardFocus&&(a(c).focusin(function(){""===a(this).attr("title")||w||(w=!0,g=a(this),f=a(''+g.attr("title")+""),l.append(f),f.fadeIn(460),k=f.outerWidth(),o=f.outerHeight(),p=g.outerWidth(),q=g.outerHeight(),f.css("min-width",k+"px"),u.indexOf("ie8")>-1&&f.css("min-width","0px"),d=g.offset().left+p/2-k/2-m.scrollLeft(),e=g.offset().top+q+9-m.scrollTop(),d+k>m.width()-14&&(d=m.width()-k-14,f.removeClass("with-top-arrow")),e+o>n.height()-16&&(e=n.height()-o-16,f.removeClass("with-top-arrow")),0>d&&(d=0,f.removeClass("with-top-arrow")),f.css("left",d).css("top",e))}),a(c).focusout(function(){f&&(f.remove(),w=!1)})),"high-contrast"===b.self.layoutMode&&b.params.tooltipsEnabledOnAltHighContrast&&a("img").hover(function(){var b=a(this).attr("alt");""!==b&&"undefined"!=typeof b&&b!==!1&&(j=a(this),i=a(''+j.attr("alt")+""),l.append(i),i.fadeIn(460),r=i.outerWidth(),s=i.outerHeight(),t=j.outerWidth(),v=j.outerHeight(),i.css("min-width",r+"px"),u.indexOf("ie8")>-1&&i.css("min-width","0px"),j.mousemove(function(){d=j.offset().left+j.outerWidth()/2-r/2-m.scrollLeft(),e=j.offset().top-s-9-m.scrollTop(),d+r>m.width()-14&&(d=m.width()-r-14,i.removeClass("with-bottom-arrow")),e+s>n.height()-16&&(e=n.height()-s-16,i.removeClass("with-bottom-arrow")),0>d&&(d=0,i.removeClass("with-bottom-arrow")),i.css("left",d).css("top",e)}))},function(){i&&i.remove()})}},fontFaceFallbackHandler:function(){if(!b.customModernizrBuild.fontface){if(!window.getComputedStyle)return;E(b.params.cufonLib);var c=a(".zf--zhong-icon");c.each(function(){this.innerHTML=window.getComputedStyle(this,":before").getPropertyValue("content")});var d=setInterval(function(){"undefined"!=typeof Cufon&&(E(b.params.cufonZhongFrameworkIcons),Cufon.replace(".zf--zhong-icon"),Cufon.CSS.ready(function(){c.each(function(){this.className=this.className.replace(/zf--zhong-icon-[^ ]*/g,"")})}),clearInterval(d))},40)}},internalAnchorsFocusHandler:function(){var b=a(".zf--internal-anchor");b.click(function(){var b=a(this.href.substring(this.href.indexOf("#")));b.addTransition().addClass("focused-element-highlight-effect"),F(b),function(a){setTimeout(function(){a.addTransition().removeClass("focused-element-highlight-effect")},400)}(b)})},onDocumentReadyHandler:function(){u.indexOf("ie7")>-1&&(t=t.replace(/main-menu-alignment--[^ ]+/g,"main-menu-alignment--center"),t=t.replace(/main-menu-style--[^ ]+/g,"main-menu-style--horizontal-floating"),t=t.replace(/side-menu-style--[^ ]+/g,"side-menu-style--standard"),t=t.replace(/site-banner-alignment--[^ ]+/g,"site-banner-alignment--center"),t=t.replace(/full-width-logo--[^ ]+/g,"full-width-logo--false"),document.body.className=t),b.handlers.internalAnchorsFocusHandler(),b.handlers.alertsPanelHandler(),"default-layout"===b.self.layoutMode&&(b.helpers.isClientPortable&&t.indexOf("fixed-top-bar")>-1&&l.removeClass("fixed-top-bar"),b.handlers.layoutWidthSwitcherHandler(),b.params.topMenuFloating&&b.mixins.makeFloatingMenuAccessibleToKeyboards("#zf--main-menu"),b.params.sideMenuFloating&&b.mixins.makeFloatingMenuAccessibleToKeyboards("#zf--main-body .zf--menu-container"),(t.indexOf("side-menu-style--expandable")>-1||b.helpers.isClientPortable&&t.indexOf("side-menu-style--floating")>-1)&&b.mixins.makeMenuExpandable(q.find(".zf--menu-container"),".parent"),b.helpers.isClientPortable&&(t.indexOf("main-menu-style--vertical-floating")>-1||t.indexOf("main-menu-style--horizontal-floating")>-1)&&b.mixins.makeMenuExpandable(a(document.getElementById("zf--main-menu")),".parent"),b.handlers.userLayoutWidthResizeHandler(),b.handlers.welcomeMessagePopoverHandler()),"full-access"===b.self.layoutMode&&b.actions.addAccessibleAlertsToLinks(),("high-contrast"===b.self.layoutMode||"full-access"===b.self.layoutMode)&&b.handlers.collapsableSubMenuButtonsHandler(),"mobile-layout"===b.self.layoutMode&&(t.indexOf("mobile-menus-navigation-mode--expandible")>-1&&b.mixins.makeMenuExpandable(r,".parent"),b.params.enableMobileMainMenuActivationButton&&b.mixins.addActivationButtonMobile("zf--main-menu"),b.params.enableMobileSideMenuActivationButton&&b.mixins.addActivationButtonMobile("zf--side-menu")),("default-layout"===b.self.layoutMode||"mobile-layout"===b.self.layoutMode)&&(t.indexOf("parent-platform-release-class--Joomla3")>-1&&(a("#zf--search").find("button").removeClass("btn-primary").removeClass("btn").removeClass("button"),a("#zf--login").find("button").removeClass("btn-primary").removeClass("btn").removeClass("button")),b.handlers.fontResizerHandler(),b.handlers.nightModeTransitionHandler(),b.handlers.scrollToTopAnimationHandler(),b.handlers.socialPanelHandler(),b.handlers.fontFaceFallbackHandler(),b.handlers.toolboxHandler()),("default-layout"===b.self.layoutMode||"high-contrast"===b.self.layoutMode)&&b.handlers.javascriptTooltipsHandler(),"full-access"!==b.self.layoutMode&&b.params.enableFontSizeRelativizer&&b.self.currentFontSize-b.params.defaultFontSize!==0&&b.actions.applyFontSizeRelativizer()},onWindowLoadHandler:function(){"default-layout"===b.self.layoutMode&&(b.handlers.sameHeightGroupedHostsHandler(),b.handlers.stickySideColumnsHandler()),("default-layout"===b.self.layoutMode||"mobile-layout"===b.self.layoutMode)&&b.handlers.accordionBlockSnippetHandler(),b.params.enableSocialButtons&&(b.params.enableSocialButtonsExpandable&&"high-contrast"!==b.self.layoutMode&&"full-access"!==b.self.layoutMode||b.components.socialButtons.init()),setTimeout(function(){0===m.scrollTop()&&b.helpers.isClientPortable&&window.scrollTo(0,1)},1)}},n.ready(b.handlers.onDocumentReadyHandler),m.load(b.handlers.onWindowLoadHandler)}(jQuery,window.zhongFramework);