PageSourceSearch

https://www.chamberlain.edu/sites/g/files/krcnkv451/files/js/js_jg…4lvS-iq8og38kKb8X-Hri_QKjrzIPfXESD9_AI-EeuQ

js chamberlain.edu collected 2026-09-24 18:03:47 UTC 34,479 bytes, 7 lines download raw bytes

1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
2(function($,Drupal,window,document,undefined){if(!Drupal.atgeAnalytics)Drupal.atgeAnalytics={};var menuItemNameClicked=null;Drupal.behaviors.atgeAnalytics={navClick:function(menuType,menuItemName,externalId=null,context=null){if(menuItemNameClicked!==menuItemName){let menuItemMain=null;const themeAbbv=drupalSettings.atge_base.global.theme_abbv;if(context){const menuItem=$(context);if(menuItem.hasClass('menu__accordion--link'))if(menuItem.hasClass('menu__accordion--item-main'))menuItemMain=menuItem.closest('.menu__accordion--item-main').text();else if(menuItem.parent().hasClass('menu__accordion--item'))menuItemMain=concatenateSelections(context);else menuItemMain=menuItem.closest('.menu__accordion--subnav-1').closest('.menu__accordion--item').find('span.menu__accordion--item-main').text();else if(themeAbbv==='wal')if(menuItem.parents('.tb-megamenu-main-navigation---redesign')&&!menuItem.hasClass('menu__accordion--icon')){let menuItemMain1Title=menuItem.parents('.tb-megamenu-item.level-1').find('a').attr('title');let menuItemMain2Title=menuItem.parents('.tb-megamenu-item.level-2').find('a').attr('title');let menuItemMain3Title=menuItem.parents('.tb-megamenu-item.level-3').find('a').attr('title');let menuLevels=['level-1','level-2','level-3','level-4'];if(menuLevels.some((level)=>menuItem.hasClass(level)))if(menuItem.hasClass('level-1'))menuItemMain=menuItemMain1Title;else if(menuItem.hasClass('level-2'))menuItemMain=menuItemMain1Title+' > '+menuItem.find('a').attr('title');else if(menuItem.hasClass('level-3'))menuItemMain=menuItemMain1Title+' > '+menuItemMain2Title+' > '+menuItem.find('a').attr('title');else if(menuItem.hasClass('level-4'))menuItemMain=menuItemMain1Title+' > '+menuItemMain2Title+' > '+menuItemMain3Title+' > '+menuItem.attr('title');else menuItemMain=menuItem.attr('title');else if(menuItem.parent().hasClass('level-1'))menuItemMain=menuItemMain1Title;else if(menuItem.parent().hasClass('level-2'))menuItemMain=menuItemMain1Title+' > '+menuItem.attr('title');else if(menuItem.parent().hasClass('level-3'))menuItemMain=menuItemMain1Title+' > '+menuItemMain2Title+' > '+menuItem.attr('title');else if(menuItem.parent().hasClass('level-4'))menuItemMain=menuItemMain1Title+' > '+menuItemMain2Title+' > '+menuItemMain3Title+' > '+menuItem.attr('title');else menuItemMain=menuItem.attr('title');}else{if(menuItem.hasClass('menu__accordion--icon'))menuItemMain=concatenateSelections(context);}else menuItemMain=menuItem.closest('.tb-megamenu-item.level-1').find('a').attr('title');}if(menuItemName!==menuItemMain&&context)dataLayer.push({'event':'e_navigationClick','menuType':menuType,'menuItemName':menuItemName||'error','menuItemMain':menuItemMain,'external_id':externalId});else dataLayer.push({'event':'e_navigationClick','menuType':menuType,'menuItemName':menuItemName||'error','external_id':externalId});}menuItemNameClicked=menuItemName;},formSubmit:function(formName,formSourceCode,externalId=null){dataLayer.push({'event':'e_formSubmit','formName':formName,'formSourceCode':formSourceCode,'external_id':externalId});},multipleEventFormSubmit:function(formName,formSourceCode,externalId=null){dataLayer.push({'event':'e_formSubmit','formName':formName,'formSourceCode':formSourceCode,'formType':'multiple_event','external_id':externalId});},formFieldInput:function(formName,fieldName,fieldValue,formSourceCode,externalId=null){dataLayer.push({'event':'e_formFieldInput','formName':formName,'fieldName':fieldName,'fieldValue':fieldValue,'formSourceCode':formSourceCode,'external_id':externalId});},formFieldValue:function(formName,fieldName,fieldValue,stepNum,externalId=null){dataLayer.push({'event':'e_formFieldValue','fieldName':fieldName,'formName':formName,'formStepNumber':stepNum,'fieldValue':fieldValue,'external_id':externalId});},formDropDown:function(formName,fieldName,selectedValue,formSourceCode,externalId=null){dataLayer.push({'event':'e_formDropdown','fieldName':fieldName,'formName':formName,'selectedValue':selectedValue,'formSourceCode':formSourceCode,'external_id':externalId});},eventRegistration:function(eventType,eventName,externalId=null){dataLayer.push({'event':'e_eventRegistration','eventType':eventType,'eventName':eventName,'external_id':externalId});},mCatScore:function(score,externalId=null){dataLayer.push({'event':'e_mcatScore','mcatScore':score,'external_id':externalId});},formPageSubmit:function(formName,formPage,stepPage,externalId=null){dataLayer.push({'event':'e_formPageSubmit','formName':formName,'formPage':formPage,'formStepNumber':stepPage,'external_id':externalId});}
2,openChat:function(chatType,externalId=null){dataLayer.push({'event':'e_chatOpen','chatType':chatType,'external_id':externalId});},closeChat:function(chatType,externalId=null){dataLayer.push({'event':'e_chatClose','chatType':chatType,'external_id':externalId});},xButtonChat:function(chatType,externalId=null){dataLayer.push({'event':'e_chatXButton','chatType':chatType,'external_id':externalId});},searchClick:function(term,numResults,searchList,externalId=null){dataLayer.push({'event':'e_searchResults','searchTerm':term,'results':numResults,'searchList':searchList,'external_id':externalId});},searchFilter:function(query,filterSelected,searchList,externalId=null){dataLayer.push({'event':'e_searchFilter','searchQueryParameter':query,'filterSelected':filterSelected,'searchList':searchList,'external_id':externalId});},expandList:function(title,itemText,externalId=null){dataLayer.push({'event':'e_expandList','listName':title,'listItem':itemText,'external_id':externalId});},viewPreference:function(viewSelection,viewList,externalId=null){dataLayer.push({'event':'e_viewPreference','viewSelection':viewSelection,'viewList':viewList,'external_id':externalId});},eventData:function(email,programOfInterest,eventId=null,externalId=null){dataLayer.push({'event':'e_eventData','eventId':eventId,'email':email,'programOfInterest':programOfInterest,'external_id':externalId});Drupal.behaviors.atgeBaseGlobalFunctions.deleteMultipleCookies(['email','event_uuid','program']);},videoAutoplay:function(action,videoName=null,videoDuration=null){dataLayer.push({'event':'e_videoAutoplay','action':action,'videoName':videoName,'videoDuration':videoDuration});},callToAction:function(text,clickURL,ctaRegion){dataLayer.push({'event':'e_callToAction','clickText':text,'clickURL':clickURL,'ctaRegion':ctaRegion});},clickToCall:function(text,ctaRegion){dataLayer.push({'event':'e_clickToCall','clickText':text,'clickLocation':ctaRegion});}};function concatenateSelections(context){return $(context).parents('li').map(function(){return $(this).children().first().text().trim();}).get().reverse().join(' > ');}})(jQuery,Drupal,this,this.document);;
3(function($,Drupal,window,document,undefined){if(!Drupal.atgeContentSquare)Drupal.atgeContentSquare={};Drupal.behaviors.atgeContentSquare={attach:function(context,settings){$(document).ready(function(){if(typeof newrelic!='undefined'){if(sessionStorage.getItem("ContentsquareReplay"))newrelic.setCustomAttribute("ContentsquareReplay",sessionStorage.getItem("ContentsquareReplay"));if(sessionStorage.getItem("ContentsquareSID"))newrelic.setCustomAttribute("ContentsquareSID",sessionStorage.getItem("ContentsquareSID"));}});}};})(jQuery,Drupal,this,this.document);;
4(function(){'use strict';var keyCounter=0;var allWaypoints={};function Waypoint(options){if(!options)throw new Error('No options passed to Waypoint constructor');if(!options.element)throw new Error('No element option passed to Waypoint constructor');if(!options.handler)throw new Error('No handler option passed to Waypoint constructor');this.key='waypoint-'+keyCounter;this.options=Waypoint.Adapter.extend({},Waypoint.defaults,options);this.element=this.options.element;this.adapter=new Waypoint.Adapter(this.element);this.callback=options.handler;this.axis=this.options.horizontal?'horizontal':'vertical';this.enabled=this.options.enabled;this.triggerPoint=null;this.group=Waypoint.Group.findOrCreate({name:this.options.group,axis:this.axis});this.context=Waypoint.Context.findOrCreateByElement(this.options.context);if(Waypoint.offsetAliases[this.options.offset])this.options.offset=Waypoint.offsetAliases[this.options.offset];this.group.add(this);this.context.add(this);allWaypoints[this.key]=this;keyCounter+=1;}Waypoint.prototype.queueTrigger=function(direction){this.group.queueTrigger(this,direction);};Waypoint.prototype.trigger=function(args){if(!this.enabled)return;if(this.callback)this.callback.apply(this,args);};Waypoint.prototype.destroy=function(){this.context.remove(this);this.group.remove(this);delete allWaypoints[this.key];};Waypoint.prototype.disable=function(){this.enabled=false;return this;};Waypoint.prototype.enable=function(){this.context.refresh();this.enabled=true;return this;};Waypoint.prototype.next=function(){return this.group.next(this);};Waypoint.prototype.previous=function(){return this.group.previous(this);};Waypoint.invokeAll=function(method){var allWaypointsArray=[];
4for(var waypointKey in allWaypoints)allWaypointsArray.push(allWaypoints[waypointKey]);for(var i=0,end=allWaypointsArray.length;i<end;i++)allWaypointsArray[i][method]();};Waypoint.destroyAll=function(){Waypoint.invokeAll('destroy');};Waypoint.disableAll=function(){Waypoint.invokeAll('disable');};Waypoint.enableAll=function(){Waypoint.invokeAll('enable');};Waypoint.refreshAll=function(){Waypoint.Context.refreshAll();};Waypoint.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight;};Waypoint.viewportWidth=function(){return document.documentElement.clientWidth;};Waypoint.adapters=[];Waypoint.defaults={context:window,continuous:true,enabled:true,group:'default',horizontal:false,offset:0};Waypoint.offsetAliases={'bottom-in-view':function(){return this.context.innerHeight()-this.adapter.outerHeight();},'right-in-view':function(){return this.context.innerWidth()-this.adapter.outerWidth();}};window.Waypoint=Waypoint;}());;(function(){'use strict';function requestAnimationFrameShim(callback){window.setTimeout(callback,1000/60);}var keyCounter=0;var contexts={};var Waypoint=window.Waypoint;var oldWindowLoad=window.onload;function Context(element){this.element=element;this.Adapter=Waypoint.Adapter;this.adapter=new this.Adapter(element);this.key='waypoint-context-'+keyCounter;this.didScroll=false;this.didResize=false;this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()};this.waypoints={vertical:{},horizontal:{}};element.waypointContextKey=this.key;contexts[element.waypointContextKey]=this;keyCounter+=1;this.createThrottledScrollHandler();this.createThrottledResizeHandler();}Context.prototype.add=function(waypoint){var axis=waypoint.options.horizontal?'horizontal':'vertical';this.waypoints[axis][waypoint.key]=waypoint;this.refresh();};Context.prototype.checkEmpty=function(){var horizontalEmpty=this.Adapter.isEmptyObject(this.waypoints.horizontal);var verticalEmpty=this.Adapter.isEmptyObject(this.waypoints.vertical);if(horizontalEmpty&&verticalEmpty){this.adapter.off('.waypoints');delete contexts[this.key];}};Context.prototype.createThrottledResizeHandler=function(){var self=this;function resizeHandler(){self.handleResize();self.didResize=false;}this.adapter.on('resize.waypoints',function(){if(!self.didResize){self.didResize=true;Waypoint.requestAnimationFrame(resizeHandler);}});};Context.prototype.createThrottledScrollHandler=function(){var self=this;function scrollHandler(){self.handleScroll();self.didScroll=false;}this.adapter.on('scroll.waypoints',function(){if(!self.didScroll||Waypoint.isTouch){self.didScroll=true;Waypoint.requestAnimationFrame(scrollHandler);}});};Context.prototype.handleResize=function(){Waypoint.Context.refreshAll();};Context.prototype.handleScroll=function(){var triggeredGroups={};var axes={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:'right',backward:'left'},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:'down',backward:'up'}};for(var axisKey in axes){var axis=axes[axisKey];var isForward=axis.newScroll>axis.oldScroll;var direction=isForward?axis.forward:axis.backward;for(var waypointKey in this.waypoints[axisKey]){var waypoint=this.waypoints[axisKey][waypointKey];var wasBeforeTriggerPoint=axis.oldScroll<waypoint.triggerPoint;var nowAfterTriggerPoint=axis.newScroll>=waypoint.triggerPoint;var crossedForward=wasBeforeTriggerPoint&&nowAfterTriggerPoint;var crossedBackward=!wasBeforeTriggerPoint&&!nowAfterTriggerPoint;if(crossedForward||crossedBackward){waypoint.queueTrigger(direction);triggeredGroups[waypoint.group.id]=waypoint.group;}}}for(var groupKey in triggeredGroups)triggeredGroups[groupKey].flushTriggers();this.oldScroll={x:axes.horizontal.newScroll,y:axes.vertical.newScroll};};Context.prototype.innerHeight=function(){if(this.element==this.element.window)return Waypoint.viewportHeight();return this.adapter.innerHeight();};Context.prototype.remove=function(waypoint){delete this.waypoints[waypoint.axis][waypoint.key];this.checkEmpty();};Context.prototype.innerWidth=function(){if(this.element==this.element.window)return Waypoint.viewportWidth();return this.adapter.innerWidth();};Context.prototype.destroy=function(){var allWaypoints=[];
4for(var axis in this.waypoints)for(var waypointKey in this.waypoints[axis])allWaypoints.push(this.waypoints[axis][waypointKey]);for(var i=0,end=allWaypoints.length;i<end;i++)allWaypoints[i].destroy();};Context.prototype.refresh=function(){var isWindow=this.element==this.element.window;var contextOffset=isWindow?undefined:this.adapter.offset();var triggeredGroups={};var axes;this.handleScroll();axes={horizontal:{contextOffset:isWindow?0:contextOffset.left,contextScroll:isWindow?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:'right',backward:'left',offsetProp:'left'},vertical:{contextOffset:isWindow?0:contextOffset.top,contextScroll:isWindow?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:'down',backward:'up',offsetProp:'top'}};for(var axisKey in axes){var axis=axes[axisKey];for(var waypointKey in this.waypoints[axisKey]){var waypoint=this.waypoints[axisKey][waypointKey];var adjustment=waypoint.options.offset;var oldTriggerPoint=waypoint.triggerPoint;var elementOffset=0;var freshWaypoint=oldTriggerPoint==null;var contextModifier,wasBeforeScroll,nowAfterScroll;var triggeredBackward,triggeredForward;if(waypoint.element!==waypoint.element.window)elementOffset=waypoint.adapter.offset()[axis.offsetProp];if(typeof adjustment==='function')adjustment=adjustment.apply(waypoint);else{if(typeof adjustment==='string'){adjustment=parseFloat(adjustment);if(waypoint.options.offset.indexOf('%')>-1)adjustment=Math.ceil(axis.contextDimension*adjustment/100);}}contextModifier=axis.contextScroll-axis.contextOffset;waypoint.triggerPoint=elementOffset+contextModifier-adjustment;wasBeforeScroll=oldTriggerPoint<axis.oldScroll;nowAfterScroll=waypoint.triggerPoint>=axis.oldScroll;triggeredBackward=wasBeforeScroll&&nowAfterScroll;triggeredForward=!wasBeforeScroll&&!nowAfterScroll;if(!freshWaypoint&&triggeredBackward){waypoint.queueTrigger(axis.backward);triggeredGroups[waypoint.group.id]=waypoint.group;}else if(!freshWaypoint&&triggeredForward){waypoint.queueTrigger(axis.forward);triggeredGroups[waypoint.group.id]=waypoint.group;}else{if(freshWaypoint&&axis.oldScroll>=waypoint.triggerPoint){waypoint.queueTrigger(axis.forward);triggeredGroups[waypoint.group.id]=waypoint.group;}}}}Waypoint.requestAnimationFrame(function(){for(var groupKey in triggeredGroups)triggeredGroups[groupKey].flushTriggers();});return this;};Context.findOrCreateByElement=function(element){return Context.findByElement(element)||new Context(element);};Context.refreshAll=function(){for(var contextId in contexts)contexts[contextId].refresh();};Context.findByElement=function(element){return contexts[element.waypointContextKey];};window.onload=function(){if(oldWindowLoad)oldWindowLoad();Context.refreshAll();};Waypoint.requestAnimationFrame=function(callback){var requestFn=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||requestAnimationFrameShim;requestFn.call(window,callback);};Waypoint.Context=Context;}());;(function(){'use strict';function byTriggerPoint(a,b){return a.triggerPoint-b.triggerPoint;}function byReverseTriggerPoint(a,b){return b.triggerPoint-a.triggerPoint;}var groups={vertical:{},horizontal:{}};var Waypoint=window.Waypoint;function Group(options){this.name=options.name;this.axis=options.axis;this.id=this.name+'-'+this.axis;this.waypoints=[];this.clearTriggerQueues();groups[this.axis][this.name]=this;}Group.prototype.add=function(waypoint){this.waypoints.push(waypoint);};Group.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]};};Group.prototype.flushTriggers=function(){for(var direction in this.triggerQueues){var waypoints=this.triggerQueues[direction];var reverse=direction==='up'||direction==='left';waypoints.sort(reverse?byReverseTriggerPoint:byTriggerPoint);for(var i=0,end=waypoints.length;i<end;i+=1){var waypoint=waypoints[i];if(waypoint.options.continuous||i===waypoints.length-1)waypoint.trigger([direction]);}}this.clearTriggerQueues();};Group.prototype.next=function(waypoint){this.waypoints.sort(byTriggerPoint);var index=Waypoint.Adapter.inArray(waypoint,this.waypoints);var isLast=index===this.waypoints.length-1;return isLast?null:this.waypoints[index+1];};Group.prototype.previous=function(waypoint){this.waypoints.sort(byTriggerPoint);var index=Waypoint.Adapter.inArray(waypoint,this.waypoints);return index?this.waypoints[index-1]:null;};Group.prototype.queueTrigger=function(waypoint,direction){this.triggerQueues[direction].push(waypoint);};Group.prototype.remove=function(waypoint){var index=Waypoint.Adapter.inArray(waypoint,this.waypoints);if(index>-1)this.waypoints.splice(index,1);};Group.prototype.first=function(){return this.waypoints[0];};Group.prototype.last=function(){return this.waypoints[this.waypoints.length-1];};Group.findOrCreate=function(options){return groups[options.axis][options.name]||new Group(options);};Waypoint.Group=Group;}());;(function(){'use strict';var $=window.jQuery;var Waypoint=window.Waypoint;function JQueryAdapter(element){this.$element=$(element);}
4$.each(['innerHeight','innerWidth','off','offset','on','outerHeight','outerWidth','scrollLeft','scrollTop'],function(i,method){JQueryAdapter.prototype[method]=function(){var args=Array.prototype.slice.call(arguments);return this.$element[method].apply(this.$element,args);};});$.each(['extend','inArray','isEmptyObject'],function(i,method){JQueryAdapter[method]=$[method];});Waypoint.adapters.push({name:'jquery',Adapter:JQueryAdapter});Waypoint.Adapter=JQueryAdapter;}());;(function(){'use strict';var Waypoint=window.Waypoint;function createExtension(framework){return function(){var waypoints=[];var overrides=arguments[0];if(framework.isFunction(arguments[0])){overrides=framework.extend({},arguments[1]);overrides.handler=arguments[0];}this.each(function(){var options=framework.extend({},overrides,{element:this});if(typeof options.context==='string')options.context=framework(this).closest(options.context)[0];waypoints.push(new Waypoint(options));});return waypoints;};}if(window.jQuery)window.jQuery.fn.waypoint=createExtension(window.jQuery);if(window.Zepto)window.Zepto.fn.waypoint=createExtension(window.Zepto);}());;;
5(function(){'use strict';var $=window.jQuery;var Waypoint=window.Waypoint;function Sticky(options){this.options=$.extend({},Waypoint.defaults,Sticky.defaults,options);this.element=this.options.element;this.$element=$(this.element);this.createWrapper();this.createWaypoint();}Sticky.prototype.createWaypoint=function(){var originalHandler=this.options.handler;this.waypoint=new Waypoint($.extend({},this.options,{element:this.wrapper,handler:$.proxy(function(direction){var shouldBeStuck=this.options.direction.indexOf(direction)>-1;var wrapperHeight=shouldBeStuck?this.$element.outerHeight(true):'';this.$wrapper.height(wrapperHeight);this.$element.toggleClass(this.options.stuckClass,shouldBeStuck);if(originalHandler)originalHandler.call(this,direction);},this)}));};Sticky.prototype.createWrapper=function(){if(this.options.wrapper)this.$element.wrap(this.options.wrapper);this.$wrapper=this.$element.parent();this.wrapper=this.$wrapper[0];};Sticky.prototype.destroy=function(){if(this.$element.parent()[0]===this.wrapper){this.waypoint.destroy();this.$element.removeClass(this.options.stuckClass);if(this.options.wrapper)this.$element.unwrap();}};Sticky.defaults={wrapper:'<div class="sticky-wrapper" />',stuckClass:'stuck',direction:'down right'};Waypoint.Sticky=Sticky;}());;;
6(function($,Drupal,drupalSettings){if(!Drupal.atgeAnchorMenuScrollingInteractions)Drupal.atgeAnchorMenuScrollingInteractions={};Drupal.behaviors.atgeAnchorMenuScrollingInteractions={attach:function(context,settings){let currentWidth=$(window).width();$(once('addAnchorHeader','.c-atge-anchor',context)).each(function(){let itemContainer=$(this).find('.field--name-field-atge-anchor-item');let anchorHasHeading=$(this).attr('data-has-heading');let anchorHeading=$(this).attr('data-heading');if(anchorHasHeading==='1'){var newItem=$('<div>',{class:'field__item hide-on-desktop hide-on-tablet'}).prepend($('<li>',{'data-quickedit-entity-id':'paragraph/47050',class:'paragraph paragraph--type--atge-anchor-item paragraph--view-mode--default c-atge-anchor-item c-atge-anchor-item--default c-anchor__menu--item c-rum-anchor__menu--item'}).append($('<a>',{href:'#',class:'c-anchor__nav--link c-anchor__menu--item--active',text:anchorHeading,title:anchorHeading,'aria-label':anchorHeading,target:'_self'})));itemContainer.prepend(newItem);}sectionComponentShow();});let isAnimating=false;const getHeight=(selectorVisible,selectorDefault)=>{return currentWidth<1024?$(selectorVisible).outerHeight()||0:$(selectorDefault).outerHeight()||0;};const themeAbbv=drupalSettings.atge_base.global.theme_abbv;const headerSelector=themeAbbv==='chm'?'.region__header .grid__container':'.region__header';let heightUtility=getHeight('.region__footer--utility--bar:visible','.region__utility-top:visible');if(themeAbbv=='ruv')heightUtility=0;
6const heightMenuHeader=getHeight('.menu__mobile--header:visible',`${headerSelector}:visible`);const heightMenuAnchor=$('.c-anchor__menu:visible').outerHeight()||0;const heightOffset=heightMenuHeader+heightMenuAnchor+heightUtility;$('.c-anchor__menu a[href]').each(function(){const $this=$(this);const element=this;const $menu=$this.closest('.c-anchor__menu');if(Drupal.behaviors.atgeAnchorMenuScrollingInteractions.isToggleItemAnchor($this)){if(currentWidth>=1024||!$menu.hasClass('drop-down'))$(this).removeClass('c-anchor__menu--item--active');const observer=new MutationObserver(function(mutations){mutations.forEach(function(mutation){if(mutation.type==='attributes'&&mutation.attributeName==='class'){const target=mutation.target;const $target=$(mutation.target);const hasActive=target.classList.contains('c-anchor__menu--item--active');const hadActive=$this.data('had-active')||false;let anchorToggleValue=Drupal.behaviors.atgeAnchorMenuScrollingInteractions.getToggleItemAnchorValue($target);if(hasActive&&!hadActive){let activateToggleItemResult=Drupal.behaviors.sectionToggleUtils.activateToggleItem(anchorToggleValue,context);$this.data('had-active',true);if(!activateToggleItemResult){const url=Drupal.behaviors.atgeAnchorMenuScrollingInteractions.getToggleItemUrlValue($target);if(url)window.location.href=url;}}else{if(!hasActive&&hadActive)$this.data('had-active',false);}}});});observer.observe(element,{attributes:true,attributeFilter:['class']});$this.data('classObserver',observer);}});$('.c-anchor__menu a[href]').on('click',{value:'c-anchor'},function(e){const rawHref=$(this).attr('href')||$(this).data('hash');if(!rawHref||rawHref.startsWith('http://')||rawHref.startsWith('https://')||rawHref.startsWith('//'))return;e.preventDefault();e.stopPropagation();const $this=$(this);const $menu=$this.closest('.c-anchor__menu');if($menu.hasClass('drop-down')){selectControl($this);if($menu.find('.c-anchor__menu--items').hasClass('select-open'))return;}if($(window).width()<=1024&&$('.c-anchor__menu').hasClass('horizontal-overflow'))$('.c-anchor__menu a').removeClass('c-anchor__menu--item--active');if($this.hasClass('link--external')){window.location.href=$this.attr('href');return;}if(Drupal.behaviors.atgeAnchorMenuScrollingInteractions.isToggleItemAnchor($this)){e.stopImmediatePropagation();if(currentWidth>=1024)selectControl($this);return true;}const href=$(this).attr('href')||$(this).data('hash');const $target=$(href);if(!$target.length)return false;if(isAnimating)return;isAnimating=true;setTimeout(function(){$('html, body').animate({scrollTop:$target.offset().top-heightOffset},10,'linear',function(){isAnimating=false;});},10);});$(document).ready(function(){if(currentWidth<1024)duplicatedEvents($('.c-anchor__menu a[href]'));once('once-toggle-item-anchor-value',context.querySelectorAll('.c-section-toggle__items')).forEach((element)=>{const anchorToggleValue=Drupal.behaviors.sectionToggleUtils.getToggleItemValueFromUrl();Drupal.behaviors.sectionToggleUtils.activateToggleItem(anchorToggleValue,context);});});function duplicatedEvents(element){let $element=element;let elementEvents=$._data($element[0],"events");let count=0;elementEvents.click.forEach(function(event){if(event.data!==undefined&&event.data.value=='c-anchor'){if(count>0)$element.off('click',event.handler);count++;}});}function selectControl(link){const $links=link.closest('.c-anchor__menu--items').find('.c-anchor__menu--item > a');const isActive=link.hasClass('c-anchor__menu--item--active');let $active=$links.filter('.c-anchor__menu--item--active');
6if(isActive)toggleDropdown(link,$links);else{$active.removeClass('c-anchor__menu--item--active').find('a').removeClass('c-anchor__menu--item--active');link.addClass('c-anchor__menu--item--active').find('a').addClass('c-anchor__menu--item--active');toggleDropdown(link,$links);}}function toggleDropdown(link,$links){if((currentWidth<1024)){const $itemsList=link.closest('.c-anchor__menu--items');const $fieldItems=$itemsList.find('.field__items');if($itemsList.hasClass('select-open')){$itemsList.removeClass('select-open');link.attr('href',link.data('hash'));if(themeAbbv==='cv'){$fieldItems.find('> .field__item').each(function(){if($(this).data('original-index')==='clone')$(this).remove();});const $allItems=$fieldItems.find('> .field__item').toArray();$allItems.sort(function(a,b){return $(a).data('original-index')-$(b).data('original-index');});$.each($allItems,function(){$fieldItems.append(this);});}$links.each(function(){if(!$(this).hasClass('c-anchor__menu--item--active')){$(this).parent().hide();$(this).closest('.field__item').addClass('visually-hidden');}});}else{$itemsList.addClass('select-open');link.attr('href','');if(themeAbbv==='cv'){$fieldItems.find('> .field__item').each(function(i){if($(this).data('original-index')===undefined)$(this).data('original-index',i);});const $activeItem=link.closest('.field__item');const $activeClone=$activeItem.clone(false);const $cloneLink=$activeClone.removeData().data('original-index','clone').find('a');$cloneLink.removeClass('c-anchor__menu--item--active').attr('href',link.data('hash'));$cloneLink.on('click',function(e){e.preventDefault();e.stopPropagation();selectControl(link);});$fieldItems.prepend($activeClone);}$links.each(function(){$(this).parent().show();$(this).closest('.field__item').removeClass('visually-hidden');});}}}function sectionComponentShow(){$('.c-anchor__menu--items').each(function(){let $active,$links=$(this).find('.c-anchor__menu--item > a');let hasOneActive=false;if(!hasOneActive){$active=$($links.filter('[href="'+location.hash+'"]')[0]||$links[0]);$active.addClass('c-anchor__menu--item--active');$active.find('a').addClass('c-anchor__menu--item--active');}$links.each(function(){if($(this).hasClass('c-anchor__menu--item--active')){hasOneActive=true;$active=$(this);}});if($('.c-anchor__menu').hasClass('drop-down')){$links.each(function(){if((currentWidth>=1024))$(this).parent().show();else{if(!$(this).hasClass('c-anchor__menu--item--active'))$(this).parent().hide();}});if((currentWidth<1024))$links.each(function(){if(!$(this).hasClass('c-anchor__menu--item--active'))$(this).closest('.field__item').addClass('visually-hidden');});}});}$(document).ready(function(){$(document).scroll(function(){let hashIdExists=$('[id]').length>0;if($(window).width()>=1024||!$('.c-anchor__menu').hasClass('horizontal-overflow')){if(hashIdExists)$('[id]').each(function(i,anchor){let anchorTopHeight=$(anchor).offset().top;windowScrollTop=$(window).scrollTop()+heightOffset+20;if(windowScrollTop>=anchorTopHeight)if($('[data-hash="#'+$(anchor).attr('id')+'"]').length){let hideActive=$('.c-anchor__menu--item--active');$(hideActive).removeClass('c-anchor__menu--item--active');$('[data-hash="#'+$(anchor).attr('id')+'"]').addClass('c-anchor__menu--item--active');$('[data-hash="#'+$(anchor).attr('id')+'"]').parent().show();if(currentWidth<1024)if(!$('.c-anchor__menu--items').hasClass('select-open')){$(hideActive).parent().parent().addClass('visually-hidden');$('[data-hash="#'+$(anchor).attr('id')+'"]').parent().parent().removeClass('visually-hidden');}}});if($(window).width()<1024&&$('.c-anchor__menu').hasClass('drop-down')){let heightMenuHeaderMobile=$('.menu__mobile--header').outerHeight();$('.c-anchor__section').each(function(i,anchor){let anchorTopHeight=$(anchor).offset().top-3;let windowScrollTop=$(window).scrollTop()+heightMenuHeaderMobile+heightMenuAnchor;if(windowScrollTop>=anchorTopHeight)if($('[data-hash="#'+$(anchor).attr('id')+'"]').length){let hideActive=$('.c-anchor__menu--item--active');$(hideActive).removeClass('c-anchor__menu--item--active');$('[data-hash="#'+$(anchor).attr('id')+'"]').addClass('c-anchor__menu--item--active');$('[data-hash="#'+$(anchor).attr('id')+'"]').parent().show();if(!$('.c-anchor__menu--items').hasClass('select-open')){$(hideActive).parent().parent().addClass('visually-hidden');$('[data-hash="#'+$(anchor).attr('id')+'"]').parent().parent().removeClass('visually-hidden');}}});}}
6});});}};Drupal.behaviors.atgeAnchorMenuScrollingInteractions.isToggleItemAnchor=function(el){const anchorToggleValue=Drupal.behaviors.atgeAnchorMenuScrollingInteractions.getToggleItemAnchorValue(el);return anchorToggleValue!==null?anchorToggleValue:null;};Drupal.behaviors.atgeAnchorMenuScrollingInteractions.getToggleItemAnchorValue=function(el){try{url=Drupal.behaviors.atgeAnchorMenuScrollingInteractions.getToggleItemUrlValue(el);const searchParams=new URLSearchParams(url.split('?')[1]);return searchParams.get('openToggleItem');}catch(error){return null;}};Drupal.behaviors.atgeAnchorMenuScrollingInteractions.getSafeNavigationUrl=function(rawUrl){try{if(!rawUrl)return null;const parsedUrl=new URL(rawUrl,window.location.origin);if((parsedUrl.protocol!=='http:'&&parsedUrl.protocol!=='https:')||parsedUrl.origin!==window.location.origin)return null;return parsedUrl.href;}catch(error){return null;}};Drupal.behaviors.atgeAnchorMenuScrollingInteractions.getToggleItemUrlValue=function(el){try{let url=el.attr('href');const dataHash=el.attr('data-hash');const hasOpenToggleInUrl=!!url&&url.includes('/?openToggleItem');const hasOpenToggleInDataHash=!!dataHash&&dataHash.includes('/?openToggleItem');if(!hasOpenToggleInUrl&&!hasOpenToggleInDataHash)return null;if(!url)url=dataHash;return Drupal.behaviors.atgeAnchorMenuScrollingInteractions.getSafeNavigationUrl(url);}catch(error){return null;}};})(jQuery,Drupal,drupalSettings);;
7(function($,Drupal,drupalSettings){if(!Drupal.atgeAnchorMenuStickyInteractions)Drupal.atgeAnchorMenuStickyInteractions={};Drupal.behaviors.atgeAnchorMenuStickyInteractions={attach:function(context,settings){const themeAbbv=drupalSettings.atge_base.global.theme_abbv;var sticky=null,stickyCreated=false;function stickyAnchor(){var stickyAnchor=$(context).find('.c-anchor__menu'),mobileSticky=$(stickyAnchor).find('.sticky'),isInLayoutBuilder=$(context).find('.layout-builder');if(stickyAnchor.length&&($(window).width()>768||mobileSticky.length)&&!stickyCreated&&!isInLayoutBuilder.length){stickyCreated=true;stickyAnchor.each(function(i,anchor){let offsetVal=($(window).width()<1024)?($(context).find('.menu__mobile--header').outerHeight()):$(context).find('.region__header').outerHeight();if(themeAbbv==='wal'){let heightWalUtilityTop=($(window).width()<1024)?0:($(context).find('.region__utility-top').outerHeight()||0);offsetVal+=heightWalUtilityTop;let footerSticky=($(window).width()<1024)?$(context).find('.region__footer--utility--bar').outerHeight():0;offsetVal+=footerSticky;}if(themeAbbv==='cv'){let heightCvUtilityTop=($(window).width()<1024)?0:$(context).find('.region__utility-top').outerHeight();offsetVal=heightCvUtilityTop;let heightCvHeader=($(window).width()<1024)?0:$(context).find('.header--wrapper').outerHeight();offsetVal+=heightCvHeader;}if(themeAbbv==='chm'){offsetVal=($(window).width()<1024)?($(context).find('.menu__mobile--header').outerHeight()):$(context).find('.region__header').outerHeight();if($(context).find('.region__header > .header-personal--menu-alternative > #block-chm-base-2025-utilitynavigation').length){let $utilityNav=$(context).find('#block-chm-base-2025-utilitynavigation').parent();if($utilityNav.is(':visible')){let heightChmUtilityTop=($(window).width()<1024)?0:$utilityNav.outerHeight();offsetVal-=heightChmUtilityTop;}}if($(context).find('#toolbar-bar').length){let adminToolbarTop=($(window).width()<1024)?0:$(context).find('#toolbar-bar').outerHeight();offsetVal+=adminToolbarTop;}}sticky=new Waypoint.Sticky({element:$(anchor),offset:offsetVal,handler:function(direction){if(direction==='down')this.element.css('top',offsetVal);}});$(anchor).parent().show().addClass('sticky-anchor-wrapper');});}else{if(sticky!=null&&$(window).width()<=768&&!mobileSticky.length){sticky.destroy();stickyCreated=false;}}}function refreshWP(){Waypoint.refreshAll();}function refreshLoop(){clearTimeout(refreshLoop.timer);refreshLoop.timer=setTimeout(function(){refreshWP();requestAnimationFrame(refreshLoop);},300);}$(window).on('load',stickyAnchor);$(window).on('orientationchange',refreshWP);$(window).resize(refreshWP);requestAnimationFrame(refreshLoop);}};})(jQuery,Drupal,drupalSettings);;

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.