1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 2(function($,Drupal,drupalSettings){if(!Drupal.atgeLivechatGdpr)Drupal.atgeLivechatGdpr={};Drupal.behaviors.atgeLivechatGdpr={attach:function(context,settings){if(drupalSettings.atge_live_chat.isGdprEnabled&&!Drupal.behaviors.atgeLivechatGdpr.gdprBannerClosed())$(document).on('click','#truste-consent-buttons #truste-consent-button,'+'.accessibleGsOptedOutMsg .submitPreferencesButtonLower, .accessibleGsOptedOutMsg .acceptAllButtonLower',function(){setTimeout(function(){if(drupalSettings.atge_live_chat.chat_type==='salesforce'){const liveChatId=$('input[name="liveChatId"]')[0].value;const chatButton=$('#liveagent_button_online_'+liveChatId);Drupal.behaviors.atgeLivechat.startChat(chatButton,liveChatId);}else if(drupalSettings.atge_live_chat.chat_type==='cxone')Drupal.behaviors.atgeCxOneLivechat.startChat();else Drupal.behaviors.atgeSynapsaLivechat.startChat();},1500);});},livechatAllowed:function(){const allowedCategories=Drupal.behaviors.atgeBaseGlobalFunctions.getCookie('cmapi_cookie_privacy');const consentModel=undefined!==window.trustArcCustom&&window.trustArcCustom.consentModel?window.trustArcCustom.consentModel:'';if(allowedCategories)return allowedCategories.includes('4');else return consentModel==='opt-out';},gdprBannerClosed:function(){const bannerClosed=Drupal.behaviors.atgeUtilityCookies.getCookie('cmapi_cookie_privacy');return bannerClosed;}};})(jQuery,Drupal,drupalSettings);; 3(function($,Drupal,drupalSettings){if(!Drupal.atgeLivechat)Drupal.atgeLivechat={};Drupal.behaviors.atgeLivechat={attach:function(context,settings){if(!drupalSettings.atge_live_chat.isGdprEnabled)Drupal.behaviors.atgeLivechat.processChat();},processChat:function(){if(drupalSettings.atge_live_chat.chat_enable){const liveChatId=$('input[name="liveChatId"]')[0].value;const chatButton=$('#liveagent_button_online_'+liveChatId);if(chatButton[0]&&!Drupal.behaviors.atgeUtilityCookies.getCookie('has_logged_in')){Drupal.behaviors.atgeLivechat.salesforceFunctions(liveChatId);Drupal.behaviors.atgeLivechat.startChat(chatButton,liveChatId);}}},salesforceFunctions:function(liveChatId){if(!window._laq)window._laq=[];window._laq.push(function(){liveagent.showWhenOnline(liveChatId,document.getElementById('liveagent_button_online_'+liveChatId));liveagent.showWhenOffline(liveChatId,document.getElementById('liveagent_button_offline_'+liveChatId));});},startChat:function(chatButton,liveChatId){const liveEnv=drupalSettings.atge_live_chat.sf_env_live;const liveDeployId=drupalSettings.atge_live_chat.deploy_id_live;const liveOrgId=drupalSettings.atge_live_chat.org_id_live;const proactiveEnv=drupalSettings.atge_live_chat.sf_env_proactive;const proactiveDeployId=drupalSettings.atge_live_chat.deploy_id_proactive;const proactiveOrgId=drupalSettings.atge_live_chat.org_id_proactive;if(drupalSettings.atge_live_chat.isGdprEnabled){if(Drupal.behaviors.atgeLivechatGdpr.livechatAllowed())if($('#block-proactive-chat')[0])Drupal.behaviors.atgeLivechat.initProactiveChat(proactiveEnv,proactiveDeployId,proactiveOrgId);else Drupal.behaviors.atgeLivechat.initLiveChat(liveEnv,liveDeployId,liveOrgId);}else if($('#block-proactive-chat')[0])Drupal.behaviors.atgeLivechat.initProactiveChat(proactiveEnv,proactiveDeployId,proactiveOrgId);else Drupal.behaviors.atgeLivechat.initLiveChat(liveEnv,liveDeployId,liveOrgId);chatButton.on('click',function(){Drupal.behaviors.atgeLivechat.initLiveChat(liveEnv,liveDeployId,liveOrgId);liveagent.startChat(liveChatId);});Drupal.behaviors.atgeLivechat.setupMutations(chatButton);},setupMutations:function(chatButton){const stickyEnable=drupalSettings.atge_live_chat.sticky_enable;let assignProactiveAlt=false;let callButton=$('ul[region="utility_bottom"] li a[data-gtm="phone"], '+'ul[region="footer"] li[data-gtm="phone"] a');let hideMobileProactive=false;let hideTabletProactive=false;if($('input[name="proactiveHideMobile"]')[0])hideMobileProactive=$('input[name="proactiveHideMobile"]')[0].value==='1'?true:false;if($('input[name="proactiveHideTablet"]')[0])hideTabletProactive=$('input[name="proactiveHideTablet"]')[0].value==='1'?true:false;let observer=new MutationObserver(function(mutations){mutations.forEach(function(mutationRecord){if(chatButton.css('display')==='none'){chatButton.parent().addClass('visually-hidden');chatButton.attr('tabindex','-1');if(stickyEnable&&callButton)callButton.parent().removeClass('visually-hidden');}else{chatButton.parent().removeClass('visually-hidden');if(stickyEnable&&callButton)callButton.parent().addClass('visually-hidden');if(!stickyEnable){let parentMenu=chatButton.closest('ul').find('li');parentMenu.css('flex','0 0 auto');chatButton.attr('tabindex','0');}}});if(!assignProactiveAlt)$('div[id^="liveagent_invite_button_"]').children('img').each(function(index){
3if(index===0)$(this).attr('alt','X Button');else $(this).attr('alt','Proactive Chat');if(hideMobileProactive)$(this).addClass('hide-on-mobile');if(hideTabletProactive)$(this).addClass('hide-on-tablet');assignProactiveAlt=true;});});observer.observe(chatButton[0],{attributes:true,attributeFilter:['style']});},initLiveChat:function(liveEnv,liveDeployId,liveOrgId){liveagent.init(liveEnv,liveDeployId,liveOrgId);},initProactiveChat:function(proactiveEnv,proactiveDeployId,proactiveOrgId){liveagent.init(proactiveEnv,proactiveDeployId,proactiveOrgId);}};})(jQuery,Drupal,drupalSettings);; 4(function($,Drupal,drupalSettings){'use strict';Drupal.behaviors.atgeModal={attach:function(context,settings){$('.modal-page-content').find('[data-gtm="call-to-action"]').attr('data-modal-action','close');},ipCountry:function(modal){let countryCookie=Drupal.behaviors.atgeUtilityCookies.getCookie('GeofeedIpCountry')||Drupal.behaviors.atgeUtilityCookies.getCookie('walGeoIPCountry');let stateCookie=Drupal.behaviors.atgeUtilityCookies.getCookie('GeofeedIpState')||Drupal.behaviors.atgeUtilityCookies.getCookie('walGeoIPState');let modalOptions=modal.data('modal-options');let visibility=modalOptions.atge_modal_visibility;let listCountries=modalOptions.atge_modal_countries?modalOptions.atge_modal_countries.toUpperCase():modalOptions.atge_modal_countries;let autoOpendefault=modalOptions.auto_open;if(listCountries!==undefined)listCountries=listCountries.split(/[\s,]+/);if(!countryCookie||!stateCookie)if(visibility)return false;else return autoOpendefault;if(!listCountries||!visibility)return autoOpendefault;else if(visibility==='hide')if(listCountries.includes(countryCookie)||listCountries.includes([countryCookie,stateCookie].join('/')))return false;else return true;else{if(visibility==="show")if(listCountries.includes(countryCookie)||listCountries.includes([countryCookie,stateCookie].join('/')))return true;else return false;}},mouseLeave:function(modal){let modalOptions=modal.data('modal-options');return modalOptions.atge_modal_mouse_leave??false;},atge_modal_show_to_returning_visitor:function(modal){const modalsShown=Drupal.behaviors.atgeUtilityCookies.getCookie('modalsShownReturningVisitor')??false;if(modalsShown=='true')return true;else{Drupal.behaviors.atgeUtilityCookies.setCookie('modalsShownReturningVisitor','true');return false;}},updateShownModalCookie:function(){Drupal.modalPage.modalShown=true;const modalsShown=Drupal.behaviors.atgeUtilityCookies.getCookie('modalsShown')??0;let intModalsShown=modalsShown?parseInt(modalsShown):0;Drupal.behaviors.atgeUtilityCookies.setCookie('modalsShown',intModalsShown+1);},canShowMoreModals:function(){let maxModals=drupalSettings.atge_modal.maxModals??-1;let modalsShown=Drupal.behaviors.atgeUtilityCookies.getCookie('modalsShown');let intModalsShown=modalsShown?parseInt(modalsShown):0;if(maxModals==-1)return true;else return intModalsShown<maxModals;},isModalGoingToShow:function(modal){let modal_options=modal.data('modal-options');let id_modal=$('#modal_id',modal).val()||modal_options.id;let can_show_cookie=Drupal.behaviors.atgeUtilityCookies.getCookie('dont_show_again_modal_id_'+id_modal);let can_show_again=(can_show_cookie===null)||(can_show_cookie===undefined)?true:false;let show_once=$(modal).find('#show_once').val();if(show_once!="1")Drupal.behaviors.atgeUtilityCookies.deleteCookie('hide_modal_id_'+id_modal);let hide_modal_cookie=Drupal.behaviors.atgeUtilityCookies.getCookie('hide_modal_id_'+id_modal)||Drupal.behaviors.atgeUtilityCookies.getCookie('please_do_not_show_again_modal_id_'+id_modal)||!can_show_again;let auto_open=true;if(hide_modal_cookie){auto_open=modal.data('modal-options').auto_open;return;}let canStillShowModals=Drupal.behaviors.atgeModal.canShowMoreModals();if(typeof modal.data('modal-options').auto_open!='undefined'&&typeof modal.data('modal-options').auto_open!='undefined'){if(canStillShowModals)auto_open=Drupal.behaviors.atgeModal.ipCountry(modal);else auto_open=false;if(modal_options.atge_modal_show_to_returning_visitor===1){let returningVisitor=Drupal.behaviors.atgeModal.atge_modal_show_to_returning_visitor(modal);if(returningVisitor===false)auto_open=false;}}return auto_open;}};})(jQuery,Drupal,drupalSettings);; 5(function($,Drupal,drupalSettings){if(!Drupal.atgeUtilityAnchor)Drupal.atgeUtilityAnchor={};Drupal.behaviors.atgeUtilityAnchor={anchor:function(elementId){elementId=elementId.replace('#','');let element=document.getElementById(elementId);if(element)element.scrollIntoView({behavior:"smooth"});},setScrollPadding:function(stickElements){let height=0;
5stickElements.forEach((element)=>{height+=$(element).outerHeight();});$('html').css('scroll-padding-top',height+'px');}};})(jQuery,Drupal,drupalSettings);; 6(function(Drupal,drupalSettings,window){'use strict';if(!Drupal.chmPerformance)Drupal.chmPerformance={};Drupal.chmPerformance.EventQueue={queue:[],isProcessing:false,add:function(eventData){this.queue.push({timestamp:performance.now(),data:eventData});this.process();},process:function(){if(this.isProcessing||this.queue.length===0)return;this.isProcessing=true;if(window.requestIdleCallback)window.requestIdleCallback(this._processEvents.bind(this),{timeout:2000});else window.setTimeout(this._processEvents.bind(this),0);},_processEvents:function(){while(this.queue.length>0){var event=this.queue.shift();this._sendEvent(event);}this.isProcessing=false;},_sendEvent:function(event){if(typeof window.gtag!=='undefined')window.gtag('event',event.data.eventName,event.data.eventParams);if(typeof window.dataLayer!=='undefined')window.dataLayer.push(event.data);}};Drupal.chmPerformance.DeferredScriptLoader={scriptsToLoad:[{src:'https://www.googletagmanager.com/gtag/js?id=GA_ID',async:true,defer:true,priority:'high'}],loadedScripts:{},init:function(){if(window.requestIdleCallback)window.requestIdleCallback(this.loadHighPriorityScripts.bind(this),{timeout:3000});else window.setTimeout(this.loadHighPriorityScripts.bind(this),1000);this.attachInteractionListeners();},loadHighPriorityScripts:function(){var self=this;this.scriptsToLoad.forEach(function(script){if(script.priority==='high'&&!self.loadedScripts[script.src])self.loadScript(script);});},attachInteractionListeners:function(){var self=this;var events=['click','touchstart','scroll'];events.forEach(function(eventName){document.addEventListener(eventName,function(){self.loadLowPriorityScripts();},{once:true});});},loadLowPriorityScripts:function(){var self=this;this.scriptsToLoad.forEach(function(script){if(script.priority!=='high'&&!self.loadedScripts[script.src])self.loadScript(script);});},loadScript:function(scriptConfig){var script=document.createElement('script');script.src=scriptConfig.src;script.async=scriptConfig.async||false;script.defer=scriptConfig.defer||false;script.onload=function(){Drupal.chmPerformance.DeferredScriptLoader.loadedScripts[scriptConfig.src]=true;};document.head.appendChild(script);}};Drupal.chmPerformance.NavigationMonitor={init:function(){if(window.PerformanceObserver)try{var observer=new PerformanceObserver(function(list){});observer.observe({entryTypes:['longtask']});}catch(e){}this.monitorNavigationTiming();},monitorNavigationTiming:function(){window.addEventListener('load',function(){var perfData=window.performance.timing;var pageLoadTime=perfData.loadEventEnd-perfData.navigationStart;Drupal.chmPerformance.EventQueue.add({eventName:'page_load_time',eventParam
6s:{value:pageLoadTime,event_category:'performance'}});});}};Drupal.chmPerformance.MobileMenuOptimization={init:function(){var menuButtons=document.querySelectorAll('[data-mobile-menu-trigger]');var self=this;menuButtons.forEach(function(button){button.addEventListener('click',function(e){e.target.classList.add('active');window.requestAnimationFrame(function(){Drupal.chmPerformance.EventQueue.add({eventName:'mobile_menu_click',eventParams:{menu_item:e.target.textContent,event_category:'navigation'}});});});});}};Drupal.chmPerformance.MobileMenuOptimization={init:function(){var menuButtons=document.querySelectorAll('[data-mobile-menu-trigger]');menuButtons.forEach(function(button){button.addEventListener('click',function(e){e.target.classList.add('active');window.requestAnimationFrame(function(){Drupal.chmPerformance.EventQueue.add({eventName:'mobile_menu_click',eventParams:{menu_item:e.target.textContent,event_category:'navigation'}});});});});}};Drupal.behaviors.chmPerformanceOptimization={attach:function(context,settings){Drupal.chmPerformance.DeferredScriptLoader.init();Drupal.chmPerformance.NavigationMonitor.init();Drupal.chmPerformance.MobileMenuOptimization.init();}};})(Drupal,drupalSettings,window);; 7(function($,Drupal,once){Drupal.behaviors.betterExposedFiltersAutoSubmit={attach:function(context){var selectors='form[data-bef-auto-submit-full-form], [data-bef-auto-submit-full-form] form, [data-bef-auto-submit]';$(selectors,context).addBack(selectors).each(function(i,e){var $form=$(e);var autoSubmitDelay=$form.data('bef-auto-submit-delay')||500;$(once('bef-auto-submit',$form)).on('change',triggerSubmit).on('keyup',Drupal.debounce(triggerSubmit,autoSubmitDelay));});function triggerSubmit(e){var ignoredKeyCodes=[16,17,18,20,33,34,35,36,37,38,39,40,9,13,27];var $target=$(e.target);var $submit=$target.closest('form').find('[data-bef-auto-submit-click]');if($target.is('[data-bef-auto-submit-exclude], :submit'))return true;if($target.is(':text:not(.hasDatepicker), textarea')&&$.inArray(e.keyCode,ignoredKeyCodes)===-1)$submit.click();else{if(e.type==='change')$submit.click();}}}};}(jQuery,Drupal,once));; 8(function($,Drupal){Drupal.behaviors.betterExposedFilters={attach:function(context){$('.bef-tree input[type=checkbox], .bef-checkboxes input[type=checkbox]').change(function(){_bef_highlight(this,context);}).filter(':checked').closest('.form-item',context).addClass('highlight');}};function _bef_highlight(elem,context){$elem=$(elem,context);$elem.attr('checked')?$elem.closest('.form-item',context).addClass('highlight'):$elem.closest('.form-item',context).removeClass('highlight');}})(jQuery,Drupal);;
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.