1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 2(function($,window,Drupal,drupalSettings,loadjs,{isFocusable,tabbable}){Drupal.behaviors.AJAX={attach(context,settings){function loadAjaxBehavior(base){const elementSettings=settings.ajax[base];if(typeof elementSettings.selector==='undefined')elementSettings.selector=`#${base}`;once('drupal-ajax',$(elementSettings.selector)).forEach((el)=>{elementSettings.element=el;elementSettings.base=base;Drupal.ajax(elementSettings);});}Object.keys(settings.ajax||{}).forEach(loadAjaxBehavior);Drupal.ajax.bindAjaxLinks(document.body);once('ajax','.use-ajax-submit').forEach((el)=>{const elementSettings={};elementSettings.url=$(el.form).attr('action');elementSettings.setClick=true;elementSettings.event='click';elementSettings.progress={type:'throbber'};elementSettings.base=el.id;elementSettings.element=el;Drupal.ajax(elementSettings);});},detach(context,settings,trigger){if(trigger==='unload')Drupal.ajax.expired().forEach((instance)=>{Drupal.ajax.instances[instance.instanceIndex]=null;});}};Drupal.AjaxError=function(xmlhttp,uri,customMessage){let statusCode;let statusText;let responseText;if(xmlhttp.status)statusCode=`\n${Drupal.t('An AJAX HTTP error occurred.')}\n${Drupal.t('HTTP Result Code: !status',{'!status':xmlhttp.status})}`;else statusCode=`\n${Drupal.t('An AJAX HTTP request terminated abnormally.')}`;statusCode+=`\n${Drupal.t('Debugging information follows.')}`;const pathText=`\n${Drupal.t('Path: !uri',{'!uri':uri})}`;statusText='';try{statusText=`\n${Drupal.t('StatusText: !statusText',{'!statusText':xmlhttp.statusText.trim()})}`;}catch(e){}responseText='';try{responseText=`\n${Drupal.t('ResponseText: !responseText',{'!responseText':xmlhttp.responseText.trim()})}`;}catch(e){}responseText=responseText.replace(/<("[^"]*"|'[^']*'|[^'">])*>/gi,'');responseText=responseText.replace(/[\n]+\s+/g,'\n');const readyStateText=xmlhttp.status===0?`\n${Drupal.t('ReadyState: !readyState',{'!readyState':xmlhttp.readyState})}`:'';customMessage=customMessage?`\n${Drupal.t('CustomMessage: !customMessage',{'!customMessage':customMessage})}`:'';this.message=statusCode+pathText+statusText+customMessage+responseText+readyStateText;this.name='AjaxError';if(!Drupal.AjaxError.messages)Drupal.AjaxError.messages=new Drupal.Message();Drupal.AjaxError.messages.add(Drupal.t("Oops, something went wrong. Check your browser's developer console for more details."),{type:'error'});};Drupal.AjaxError.prototype=new Error();Drupal.AjaxError.prototype.constructor=Drupal.AjaxError;Drupal.ajax=function(settings){if(arguments.length!==1)throw new Error('Drupal.ajax() function must be called with one configuration object only');const base=settings.base||false;const element=settings.element||false;delete settings.base;delete settings.element;if(!settings.progress&&!element)settings.progress=false;const ajax=new Drupal.Ajax(base,element,settings);ajax.instanceIndex=Drupal.ajax.instances.length;Drupal.ajax.instances.push(ajax);return ajax;};Drupal.ajax.instances=[];Drupal.ajax.expired=function(){return Drupal.ajax.instances.filter((instance)=>instance&&instance.element!==false&&!document.body.contains(instance.element));};Drupal.ajax.bindAjaxLinks=(element)=>{once('ajax','.use-ajax',element).forEach((ajaxLink)=>{const $linkElement=$(ajaxLink);const elementSettings={progress:{type:'throbber'},dialogType:$linkElement.data('dialog-type'),dialog:$linkElement.data('dialog-options'),dialogRenderer:$linkElement.data('dialog-renderer'),base:$linkElement.attr('id'),element:ajaxLink};const href=$linkElement.attr('href');if(href){elementSettings.url=href;elementSettings.event='click';}const httpMethod=$linkElement.data('ajax-http-method');if(httpMethod)elementSettings.httpMethod=httpMethod;Drupal.ajax(elementSettings);});};Drupal.Ajax=function(base,element,elementSettings){const defaults={httpMethod:'POST',event:element?'mousedown':null,keypress:true,selector:base?`#${base}`:null,effect:'none',speed:'none',method:'replaceWith',progress:{type:'throbber',message:Drupal.t('Processing...')},submit:{js:true}};$.extend(this,defaults,elementSettings);this.commands=new Drupal.AjaxCommands();this.instanceIndex=false;if(this.wrapper)this.wrapper=`#${this.wrapper}`;this.element=element;this.preCommandsFocusedElementSelector=null;this.elementSettings=elementSettings;if(this.element&&this.element.form)this.$form=$(this.element.form);if(!this.url){const $element=$(this.element);if(this.element.tagName==='A')this.url=$element.attr('href');else{if(this.element&&element.form)this.url=this.$form.attr('action');}}const originalUrl=this.url;this.url=this.url.replace(/\/nojs(\/|$|\?|#)/,'/ajax$1');if(drupalSettings.ajaxTrustedUrl[originalUrl])drupalSettings.ajaxTrustedUrl[this.url]=true;const ajax=this;ajax.options={url:ajax.url,data:ajax.submit,isInProgress(){return ajax.ajaxing;},beforeSerialize(elementSettings,options){return ajax.beforeSerialize(elementSettings,options);},beforeSubmit(formValues,elementSettings,options){ajax.ajaxing=true;ajax.preCommandsFocusedElementSelector=null;return ajax.beforeSubmit(formValues,elementSettings,options);},beforeSend(xmlhttprequest,options){ajax.ajaxing=true;return ajax.beforeSend(xmlhttprequest,options);},success(response,status,xmlhttprequest){ajax.preCommandsFocusedElementSelector=document.activeElement.getAttribute('data-drupal-selector');if(typeof response==='string')response=$.parseJSON(response);if(response!==null&&!drupalSettings.ajaxTrustedUrl[ajax.url])if(xmlhttprequest.getResponseHeader('X-Drupal-Ajax-Token')!=='1'){const customMessage=Drupal.t('The response failed verification so will not be processed.');return ajax.error(xmlhttprequest,ajax.url,customMessage);}return (Promise.resolve(ajax.success(response,status)).then(()=>{ajax.ajaxing=false;
2$(document).trigger('ajaxSuccess',[xmlhttprequest,this]);$(document).trigger('ajaxComplete',[xmlhttprequest,this]);if(--$.active===0)$(document).trigger('ajaxStop');}));},error(xmlhttprequest,status,error){ajax.ajaxing=false;},complete(xmlhttprequest,status){if(status==='error'||status==='parsererror')return ajax.error(xmlhttprequest,ajax.url);},dataType:'json',jsonp:false,method:ajax.httpMethod};if(elementSettings.dialog)ajax.options.data.dialogOptions=elementSettings.dialog;if(!ajax.options.url.includes('?'))ajax.options.url+='?';else ajax.options.url+='&';let wrapper=`drupal_${elementSettings.dialogType||'ajax'}`;if(elementSettings.dialogRenderer)wrapper+=`.${elementSettings.dialogRenderer}`;ajax.options.url+=`${Drupal.ajax.WRAPPER_FORMAT}=${wrapper}`;$(ajax.element).on(elementSettings.event,function(event){if(!drupalSettings.ajaxTrustedUrl[ajax.url]&&!Drupal.url.isLocal(ajax.url))throw new Error(Drupal.t('The callback URL is not local and not trusted: !url',{'!url':ajax.url}));return ajax.eventResponse(this,event);});if(elementSettings.keypress)$(ajax.element).on('keypress',function(event){return ajax.keypressResponse(this,event);});if(elementSettings.prevent)$(ajax.element).on(elementSettings.prevent,false);};Drupal.ajax.WRAPPER_FORMAT='_wrapper_format';Drupal.Ajax.AJAX_REQUEST_PARAMETER='_drupal_ajax';Drupal.Ajax.prototype.execute=function(){if(this.ajaxing)return;try{this.beforeSerialize(this.element,this.options);return $.ajax(this.options);}catch(e){this.ajaxing=false;window.alert(`An error occurred while attempting to process ${this.options.url}: ${e.message}`);return $.Deferred().reject();}};Drupal.Ajax.prototype.keypressResponse=function(element,event){const ajax=this;if(event.which===13||(event.which===32&&element.type!=='text'&&element.type!=='textarea'&&element.type!=='tel'&&element.type!=='number')){event.preventDefault();event.stopPropagation();$(element).trigger(ajax.elementSettings.event);}};Drupal.Ajax.prototype.eventResponse=function(element,event){event.preventDefault();event.stopPropagation();const ajax=this;if(ajax.ajaxing)return;try{if(ajax.$form){if(ajax.setClick)element.form.clk=element;ajax.$form.ajaxSubmit(ajax.options);}else{ajax.beforeSerialize(ajax.element,ajax.options);$.ajax(ajax.options);}}catch(e){ajax.ajaxing=false;window.alert(`An error occurred while attempting to process ${ajax.options.url}: ${e.message}`);}};Drupal.Ajax.prototype.beforeSerialize=function(element,options){if(this.$form&&document.body.contains(this.$form.get(0))){const settings=this.settings||drupalSettings;Drupal.detachBehaviors(this.$form.get(0),settings,'serialize');}options.data[Drupal.Ajax.AJAX_REQUEST_PARAMETER]=1;const pageState=drupalSettings.ajaxPageState;options.data['ajax_page_state[theme]']=pageState.theme;options.data['ajax_page_state[theme_token]']=pageState.theme_token;options.data['ajax_page_state[libraries]']=pageState.libraries;};Drupal.Ajax.prototype.beforeSubmit=function(formValues,element,options){};Drupal.Ajax.prototype.beforeSend=function(xmlhttprequest,options){if(this.$form){options.extraData=options.extraData||{};options.extraData.ajax_iframe_upload='1';const v=$.fieldValue(this.element);if(v!==null)options.extraData[this.element.name]=v;}$(this.element).prop('disabled',true);if(!this.progress||!this.progress.type)return;const progressIndicatorMethod=`setProgressIndicator${this.progress.type.slice(0,1).toUpperCase()}${this.progress.type.slice(1).toLowerCase()}`;if(progressIndicatorMethod in this&&typeof this[progressIndicatorMethod]==='function')this[progressIndicatorMethod].call(this);};Drupal.theme.ajaxProgressThrobber=(message)=>{const messageMarkup=typeof message==='string'?Drupal.theme('ajaxProgressMessage',message):'';const throbber='<div class="throbber"> </div>';return `<div class="ajax-progress ajax-progress-throbber">${throbber}${messageMarkup}</div>`;};Drupal.theme.ajaxProgressIndicatorFullscreen=()=>'<div class="ajax-progress ajax-progress-fullscreen"> </div>';Drupal.theme.ajaxProgressMessage=(message)=>`<div class="message">${message}</div>`;Drupal.theme.ajaxProgressBar=($element)=>$('<div class="ajax-progress ajax-progress-bar"></div>').append($element);Drupal.Ajax.prototype.setProgressIndicatorBar=function(){const progressBar=new Drupal.ProgressBar(`ajax-progress-${this.element.i
2d}`,$.noop,this.progress.method,$.noop);if(this.progress.message)progressBar.setProgress(-1,this.progress.message);if(this.progress.url)progressBar.startMonitoring(this.progress.url,this.progress.interval||1500);this.progress.element=$(Drupal.theme('ajaxProgressBar',progressBar.element));this.progress.object=progressBar;$(this.element).after(this.progress.element);};Drupal.Ajax.prototype.setProgressIndicatorThrobber=function(){this.progress.element=$(Drupal.theme('ajaxProgressThrobber',this.progress.message));if($(this.element).closest('[data-drupal-ajax-container]').length)$(this.element).closest('[data-drupal-ajax-container]').after(this.progress.element);else $(this.element).after(this.progress.element);};Drupal.Ajax.prototype.setProgressIndicatorFullscreen=function(){this.progress.element=$(Drupal.theme('ajaxProgressIndicatorFullscreen'));$('body').append(this.progress.element);};Drupal.Ajax.prototype.commandExecutionQueue=function(response,status){const ajaxCommands=this.commands;return Object.keys(response||{}).reduce((executionQueue,key)=>executionQueue.then(()=>{const {command}=response[key];if(command&&ajaxCommands[command])return ajaxCommands[command](this,response[key],status);}),Promise.resolve());};Drupal.Ajax.prototype.success=function(response,status){if(this.progress.element)$(this.progress.element).remove();if(this.progress.object)this.progress.object.stopMonitoring();$(this.element).prop('disabled',false);const elementParents=$(this.element).parents('[data-drupal-selector]').addBack().toArray();const focusChanged=Object.keys(response||{}).some((key)=>{const {command,method}=response[key];return (command==='focusFirst'||command==='openDialog'||(command==='invoke'&&method==='focus'));});return (this.commandExecutionQueue(response,status).then(()=>{if(!focusChanged){let target=false;if(this.element){if($(this.element).data('refocus-blur')&&this.preCommandsFocusedElementSelector)target=document.querySelector(`[data-drupal-selector="${this.preCommandsFocusedElementSelector}"]`);if(!target&&!$(this.element).data('disable-refocus')){for(let n=elementParents.length-1;!target&&n>=0;n--)target=document.querySelector(`[data-drupal-selector="${elementParents[n].getAttribute('data-drupal-selector')}"]`);}}if(target)$(target).trigger('focus');}if(this.$form&&document.body.contains(this.$form.get(0))){const settings=this.settings||drupalSettings;Drupal.attachBehaviors(this.$form.get(0),settings);}this.settings=null;}).catch((error)=>console.error(Drupal.t('An error occurred during the execution of the Ajax response: !error',{'!error':error}))));};Drupal.Ajax.prototype.getEffect=function(response){const type=response.effect||this.effect;const speed=response.speed||this.speed;const effect={};if(type==='none'){effect.showEffect='show';effect.hideEffect='hide';effect.showSpeed='';}else if(type==='fade'){effect.showEffect='fadeIn';effect.hideEffect='fadeOut';effect.showSpeed=speed;}else{effect.showEffect=`${type}Toggle`;effect.hideEffect=`${type}Toggle`;effect.showSpeed=speed;}return effect;};Drupal.Ajax.prototype.error=function(xmlhttprequest,uri,customMessage){if(this.progress.element)$(this.progress.element).remove();if(this.progress.object)this.progress.object.stopMonitoring();$(this.wrapper).show();$(this.element).prop('disabled',false);if(this.$form&&document.body.contains(this.$form.get(0))){const settings=this.settings||drupalSettings;Drupal.attachBehaviors(this.$form.get(0),settings);}throw new Drupal.AjaxError(xmlhttprequest,uri,customMessage);};Drupal.theme.ajaxWrapperNewContent=($newContent,ajax,response)=>(response.effect||ajax.effect)!=='none'&&$newContent.filter((i)=>!(($newContent[i].nodeName==='#comment'||($newContent[i].nodeName==='#text'&&/^(\s|\n|\r)*$/.test($newContent[i].textContent))))).length>1?Drupal.theme('ajaxWrapperMultipleRootElements',$newContent):$newContent;Drupal.theme.ajaxWrapperMultipleRootElements=($elements)=>$('<div></div>').append($elements);Drupal.AjaxCommands=function(){};Drupal.AjaxCommands.prototype={insert(ajax,response){const $wrapper=response.selector?$(response.selector):$(ajax.wrapper);const method=response.method||ajax.method;const effect=ajax.getEffect(response);const settings=response.settings||ajax.settings||drupalSettings;const parseHTML=(htmlString)=>{const fragment=document.createDocumentFragment();const tempDiv=fragment.appendChild(document.createElement('div'));tempDiv.innerHTML=htmlString;return tempDiv.childNodes;};let $newContent=$(parseHTML(response.data));
2$newContent=Drupal.theme('ajaxWrapperNewContent',$newContent,ajax,response);switch(method){case 'html':case 'replaceWith':case 'replaceAll':case 'empty':case 'remove':Drupal.detachBehaviors($wrapper.get(0),settings);break;default:break;}$wrapper[method]($newContent);if(effect.showEffect!=='show')$newContent.hide();const $ajaxNewContent=$newContent.find('.ajax-new-content');if($ajaxNewContent.length){$ajaxNewContent.hide();$newContent.show();$ajaxNewContent[effect.showEffect](effect.showSpeed);}else{if(effect.showEffect!=='show')$newContent[effect.showEffect](effect.showSpeed);}$newContent.each((index,element)=>{if(element.nodeType===Node.ELEMENT_NODE&&document.documentElement.contains(element))Drupal.attachBehaviors(element,settings);});},remove(ajax,response,status){const settings=response.settings||ajax.settings||drupalSettings;$(response.selector).each(function(){Drupal.detachBehaviors(this,settings);}).remove();},changed(ajax,response,status){const $element=$(response.selector);if(!$element.hasClass('ajax-changed')){$element.addClass('ajax-changed');if(response.asterisk)$element.find(response.asterisk).append(` <abbr class="ajax-changed" title="${Drupal.t('Changed')}">*</abbr> `);}},alert(ajax,response,status){window.alert(response.text);},announce(ajax,response){if(response.priority)Drupal.announce(response.text,response.priority);else Drupal.announce(response.text);},redirect(ajax,response,status){window.location=response.url;},css(ajax,response,status){$(response.selector).css(response.argument);},settings(ajax,response,status){const ajaxSettings=drupalSettings.ajax;if(ajaxSettings)Drupal.ajax.expired().forEach((instance)=>{if(instance.selector){const selector=instance.selector.replace('#','');if(selector in ajaxSettings)delete ajaxSettings[selector];}});if(response.merge)$.extend(true,drupalSettings,response.settings);else ajax.settings=response.settings;},data(ajax,response,status){$(response.selector).data(response.name,response.value);},focusFirst(ajax,response,status){let focusChanged=false;const container=document.querySelector(response.selector);if(container){const tabbableElements=tabbable(container);if(tabbableElements.length){tabbableElements[0].focus();focusChanged=true;}else{if(isFocusable(container)){container.focus();focusChanged=true;}}}if(ajax.hasOwnProperty('element')&&!focusChanged)ajax.element.focus();},invoke(ajax,response,status){const $element=$(response.selector);$element[response.method](...response.args);},restripe(ajax,response,status){$(response.selector).find('> tbody > tr:visible, > tr:visible').removeClass('odd even').filter(':even').addClass('odd').end().filter(':odd').addClass('even');},update_build_id(ajax,response,status){document.querySelectorAll(`input[name="form_build_id"][value="${response.old}"]`).forEach((item)=>{item.value=response.new;});},add_css(ajax,response,status){if(typeof response.data==='string'){Drupal.deprecationError({message:'Passing a string to the Drupal.ajax.add_css() method is deprecated in 10.1.0 and is removed from drupal:11.0.0. See https://www.drupal.org/node/3154948.'});$('head').prepend(response.data);return;}const allUniqueBundleIds=response.data.map(function(style){const uniqueBundleId=style.href;if(!loadjs.isDefined(uniqueBundleId))loadjs(`css!${style.href}`,uniqueBundleId,{before(path,styleEl){Object.keys(style).forEach((attributeKey)=>{styleEl.setAttribute(attributeKey,style[attributeKey]);});}});return uniqueBundleId;});return new Promise((resolve,reject)=>{loadjs.ready(allUniqueBundleIds,{success(){resolve();},error(depsNotFound){const message=Drupal.t(`The following files could not be loaded: @dependencies`,{'@dependencies':depsNotFound.join(', ')});reject(message);}});});},message(ajax,response){const messages=new Drupal.Message(document.querySelector(response.messageWrapperQuerySelector));if(response.clearPrevious)messages.clear();messages.add(response.message,response.messageOptions);},add_js(ajax,response,status){const parentEl=document.querySelector(response.selector||'body');const settings=ajax.settings||drupalSettings;const allUniqueBundleIds=response.data.map((script)=>{const uniqueBundleId=script.src;
2if(!loadjs.isDefined(uniqueBundleId))loadjs(script.src,uniqueBundleId,{async:false,before(path,scriptEl){Object.keys(script).forEach((attributeKey)=>{scriptEl.setAttribute(attributeKey,script[attributeKey]);});parentEl.appendChild(scriptEl);return false;}});return uniqueBundleId;});return new Promise((resolve,reject)=>{loadjs.ready(allUniqueBundleIds,{success(){Drupal.attachBehaviors(parentEl,settings);resolve();},error(depsNotFound){const message=Drupal.t(`The following files could not be loaded: @dependencies`,{'@dependencies':depsNotFound.join(', ')});reject(message);}});});},scrollTop(ajax,response){const offset=$(response.selector).offset();let scrollTarget=response.selector;while($(scrollTarget).scrollTop()===0&&$(scrollTarget).parent())scrollTarget=$(scrollTarget).parent();if(offset.top-10<$(scrollTarget).scrollTop())scrollTarget.get(0).scrollTo({top:offset.top-10,behavior:'smooth'});}};const stopEvent=(xhr,settings)=>{return (xhr.getResponseHeader('X-Drupal-Ajax-Token')==='1'&&settings.isInProgress&&settings.isInProgress());};$.extend(true,$.event.special,{ajaxSuccess:{trigger(event,xhr,settings){if(stopEvent(xhr,settings))return false;}},ajaxComplete:{trigger(event,xhr,settings){if(stopEvent(xhr,settings)){$.active++;return false;}}}});})(jQuery,window,Drupal,drupalSettings,loadjs,window.tabbable);; 3(function(Drupal){Drupal.theme.ajaxProgressBar=function($element){return $element.addClass('ajax-progress ajax-progress-bar');};})(Drupal);; 4function getNodeId(className){if(className){var elemClasses=className.split(/\s+/);for(i in elemClasses){var c=elemClasses[i];if(c.length>16&&c.substring(0,16)==="kwall-site-alert")return c.substring(16);}}return false;}function getLevel(className){if(className){var elemClasses=className.split(/\s+/);for(i in elemClasses){var c=elemClasses[i];if(c.length>12&&c.substring(0,12)==="alert-level-")return c.substring(12);}}return false;}(function($,Drupal){Drupal.behaviors.kwallAlertSystem={attach:function(context,drupalSettings){if($('.kwall-alerts .alert').length>0){$('.kwall-alerts .alert').each(function(){var nid=getNodeId($(this).attr('class'));if(nid){var keynum="key"+nid;var cookieName='Drupal.visitor.kwall_alert_system_dismissed'+nid;var key=drupalSettings.kwall_alert_system.dismissedCookie[keynum];if($.cookie(cookieName)==key)$('.kwall-site-alert'+nid).remove();if(!$(this).hasClass('dismissed-processed')&&!$(this).hasClass('not-dismissible-on')){$(this).addClass('dismissed-processed').attr('data-key',key).attr('data-cookie',cookieName);$(this).on('close.bs.alert',function(){var $slickElement=jQuery('.kwall-alerts .view-id-alerts > .view-content');$.cookie($(this).attr('data-cookie'),$(this).attr('data-key'),{path:drupalSettings.path.baseUrl});var i=jQuery(".alert.slick-active").attr("data-slick-index");$slickElement.slick('slickRemove',i);var j=0;jQuery(".alert.slick-slide").each(function(){jQuery(this).attr("data-slick-index",j);j++;});});}}});$('.kwall-alerts').show();var $slickElement=jQuery('.kwall-alerts .view-id-alerts > .view-content');$slickElement.slick({mobileFirst:true,infinite:true,arrows:false,responsive:[{breakpoint:1199,settings:{arrows:false}}]});jQuery('.view-alerts .view-header .slick-prev').click(function(e){e.preventDefault();$slickElement.slick('slickPrev');});jQuery('.view-alerts .view-header .slick-next').click(function(e){e.preventDefault();$slickElement.slick('slickNext');});}}};})(jQuery,Drupal);; 5(function($,Drupal,drupalSettings){'use strict';Drupal.behaviors.kwallMap={attach:function(context,drupalSettings){$(window).bind("load",function(){if(Drupal.geolocation!==undefined&&!$('body').hasClass('kwall-map-processed')){$.each(drupalSettings.kwall_map.locations,function(i,KwallMapSettings){var imgOverlay=KwallMapSettings['overlay_'+i],neLat=KwallMapSettings['neLat_'+i],neLon=KwallMapSettings['neLon_'+i],swLat=KwallMapSettings['swLat_'+i],swLon=KwallMapSettings['swLon_'+i];if(imgOverlay!==''){var southWest=new google.maps.LatLng(swLat,swLon),northEast=new google.maps.LatLng(neLat,neLon),overlayBounds=new google.maps.LatLngBounds(southWest,northEast);kwallOverlay.prototype=new google.maps.OverlayView();function kwallOverlay(bounds,image,map){this.bounds_=bounds;this.image_=image;this.map_=map;this.div_=null;
5this.setMap(map);}kwallOverlay.prototype.onAdd=function(){var div=document.createElement('div');div.style.borderStyle='none';div.style.borderWidth='0px';div.style.position='absolute';var img=document.createElement('img');img.src=this.image_;img.style.width='100%';img.style.height='100%';img.style.position='absolute';div.appendChild(img);this.div_=div;var panes=this.getPanes();panes.overlayLayer.appendChild(div).style['zIndex']=1001;};kwallOverlay.prototype.draw=function(){var overlayProjection=this.getProjection();var sw=overlayProjection.fromLatLngToDivPixel(this.bounds_.getSouthWest());var ne=overlayProjection.fromLatLngToDivPixel(this.bounds_.getNorthEast());var div=this.div_;div.style.left=sw.x+'px';div.style.top=ne.y+'px';div.style.width=(ne.x-sw.x)+'px';div.style.height=(sw.y-ne.y)+'px';};setTimeout(function(){new kwallOverlay(overlayBounds,imgOverlay,Drupal.geolocation.maps[0].googleMap);$('.geolocation-common-map-container div[title*="href"]').each(function(){var pin_title=$(this).attr('title');var pin_title_cleaned=pin_title.replace(/(<([^>]+)>)/ig,"");var pin_title_cleaned=pin_title_cleaned.replace(/&/g,'&');var pin_title_cleaned=pin_title_cleaned.trim();$(this).attr('title',pin_title_cleaned);});},250);}});$('body').addClass('kwall-map-processed');}});}};Drupal.behaviors.mapInfoToggle={attach:function(context,settings){$(document).ready(function(){var content_toggle=$('.geolocation-common-map-locations .location-title span',context),map_content=$('.geolocation-common-map-locations .location-content .more-info',context);$(".geolocation").unbind().click(function(){var toggle_me='.geolocation-common-map-locations .map-content-'+$(this).children('.location-title').children('span').data('toggle');var current_target=$(this).children('.location-title').children('span');if($(current_target).hasClass('active'))$(content_toggle).each(function(){$(content_toggle).removeClass('active');});else{$(content_toggle).each(function(){$(content_toggle).removeClass('active');});$(this).children('.location-title').children('span').addClass('active');}if($(toggle_me).hasClass('active'))$(map_content).each(function(){$(map_content).removeClass('active').slideUp();});else{$(map_content).each(function(){$(map_content).removeClass('active').slideUp();});$(toggle_me).addClass('active').slideToggle();}for(var i=0;i<Drupal.geolocation.maps[0].mapMarkers.length;i++){var marker=Drupal.geolocation.maps[0].mapMarkers[i],html=$.parseHTML(marker.infoWindowContent),lat=$(this)[0].dataset.lat,long_1=$(this)[0].dataset.lng;if($(html).find("meta[property='latitude']").attr("content")===lat&&$(html).find("meta[property='longitude']").attr("content")===long_1){google.maps.event.trigger(marker,'click');return;}}});});}};})(jQuery,Drupal,drupalSettings);; 6(function(a){if(typeof define==="function"&&define.amd)define(["jquery"],a);else a(jQuery);}(function(a){a.fn.addBack=a.fn.addBack||a.fn.andSelf;a.fn.extend({actual:function(b,l){if(!this[b])throw '$.actual => The jQuery method "'+b+'" you called does not exist';var f={absolute:false,clone:false,includeMargin:false,display:"block"};var i=a.extend(f,l);var e=this.eq(0);var h,j;if(i.clone===true){h=function(){var m="position: absolute !important; top: -1000 !important; ";e=e.clone().attr("style",m).appendTo("body");};j=function(){e.remove();};}else{var g=[];var d="";var c;h=function(){c=e.parents().addBack().filter(":hidden");d+="visibility: hidden !important; display: "+i.display+" !important; ";if(i.absolute===true)d+="position: absolute !important; ";c.each(function(){var m=a(this);var n=m.attr("style");g.push(n);m.attr("style",n?n+";"+d:d);});};j=function(){c.each(function(m){var o=a(this);var n=g[m];if(n===undefined)o.removeAttr("style");else o.attr("style",n);});};}h();var k=/(outer)/.test(b)?e[b](i.includeMargin):e[b]();j();return k;}});}));; 7(function($,Drupal,drupalSettings){'use strict';$.equalHeight=function(container){var max_height=0,height=0;container.css('height','auto');$(container).each(function(){height=$(this).height();max_height=(height>max_height)?height:max_height;});$(container).css('height',max_height+'px');};Drupal.behaviors.commonTweaks={attach:function(context,settings){$(once('flexSliderInit','.article-slideshow')).each(function(){$(this).flexslider({touch:true,slideshow:false,slideshowSpeed:4000,controlNav:false,customDirectionNav:jQuery(this).find('.controls a'),start:function(slider){$('.total-slides').text(slider.count);},after:function(slider){$('.current-slide').text(slider.currentSlide+1);}});});$(window).on('load',function(){$(once('backgroundParallax','.full-width-img-section',context)).each(function(){var $img_section=$(this);if(!$img_section.hasClass('init'))$img_section.css({'background-position':'center center'});else{}});});$(document).ready(function(){$(once('setHeroBannerImg','.hero-banner-img-section',context)).each(function(){$(this).css({'background-image':'url('+$(this).data('bg-img')+')','background-size':'cover','background-position':'center top'});});$(once('setFeaturedArticleImage','.view-id-article_view.view-display-id-attachment_1 .featured-post-wrap',context)).each(function(){$(this).parents('.featured-news-grid.view-display-id-block_1 .attachment').css({'background-image':'url('+$(this).data('featured-article')+')','background-size':'cover','background-position':'center center'});});$(once('setFeaturedArticleImage','.featured-news-grid > .view-content .featured-post-wrap',context)).each(function(){$(this).parents('.view-content > div').css({'background-image':'url('+$(this).data('featured-article')+')','background-size':'cover','background-position':'center center'});});});$(once('accordionInit','.paragraph--type--accordion',context)).each(function(){var $toggle_all=$(this).find('.toggle-all'),$collapse_show=$('.paragraph--type--accordion .collapse.show');if($collapse_show.length>0)$collapse_show.prev().find('a').attr('aria-expanded','true');
7if($toggle_all.length>0){var $accordion_parent=$(this),$accordion_item=$(this).find('.collapse');$toggle_all.on('click',function(){if(!$accordion_parent.hasClass('show-all')){$accordion_item.each(function(){$(this).collapse('show');});$accordion_parent.addClass('show-all');$toggle_all.text('Close All');}else{$accordion_item.each(function(){$(this).collapse('hide');});$accordion_parent.removeClass('show-all');$toggle_all.text('Open All');}});}});}};Drupal.behaviors.sidebarAccordionInit={attach:function(context,settings){var $sidebar_menu=$('.sidebar-menu-block',context);$(document).ready(function(){$(once('sidebarAccordionInit',$sidebar_menu)).each(function(){$(this).find('.expanded.dropdown.active').addClass('open');var $toggler=$(this).find('.expanded.dropdown-item .fa');$toggler.on('click',function(){$(this).toggleClass('fa-angle-down fa-angle-up');$(this).parent('li').toggleClass('toggled');$(this).siblings($(this).attr('data-toggle')).slideToggle();});$toggler.keypress(function(e){if(e.keyCode==13){$(this).toggleClass('fa-angle-down fa-angle-up');$(this).parent('li').toggleClass('toggled');$(this).siblings($(this).attr('data-toggle')).slideToggle();}});});$(once('sidebarAccordionInit',$sidebar_menu)).find('.is-active').each(function(){var $parents=$(this).parents('.dropdown-menu-list'),$is_active=$(this).parent('.dropdown-item');$parents.siblings('.fa-angle-down').toggleClass('fa-angle-down fa-angle-up');$parents.slideDown();$is_active.children('.fa-angle-down').toggleClass('fa-angle-down fa-angle-up');$is_active.addClass('toggled').children('.dropdown-menu-list').slideDown();});});}};Drupal.behaviors.calenderRestAPI={attach:function(context,settings){$(document).ready(function(){$(once('calenderRestAPI','.calendar-month',context)).each(function(){$(this).find('.event-content').on('click',function(){var date=$(this).data('date-trigger'),parent=$(this).parent('.contents');if(!parent.hasClass('import')){$.getJSON("/rest/events/day/"+date,function(data){var items=[],count=data.length-1;$.each(data,function(key,val){if(key===0)items.push("<li><span class='fa fa-close'></span></li>");items.push("<li id='event-"+date+'-'+key+"'>"+val.nothing+"</li>");if(key>=2&&key===count)items.push("<li><a href='/events/day/"+date+"'>"+Drupal.t('View All')+" <i class='fa fa-chevron-right'></i></a></li>");});$("<ul/>",{"class":"popup list-unstyled",html:items.join("")}).appendTo(parent);});parent.addClass('import open');}else parent.toggleClass('open close');});});});}};Drupal.behaviors.utilityMenu={attach:function(context,settings){var count=0,$link=$('.utility-nav-block .menu-item--expanded > a');$link.unbind("click");$link.on('click touch',function(e){e.preventDefault();var parent=$(this).parent(),menu=parent.find('ul');if(parent.hasClass('open')){parent.removeClass('open');menu.slideUp();}else{parent.addClass('open');menu.slideDown();}});$(document).on('mouseenter','.utility-nav-block .menu-item--expanded, .utility-nav-block .menu-item--expanded ul',function(){count++;}).on('mouseleave','.utility-nav-block .menu-item--expanded, .utility-nav-block .menu-item--expanded ul',function(){count--;if(!count){$('.utility-nav-block .menu-item--expanded.open ul').slideUp();$('.utility-nav-block .menu-item--expanded.open').removeClass('open');}});}};Drupal.behaviors.equalHeight={attach:function(context,settings){var columns=$('.paragraph--type--column-section > .row > .col-md-4 .field--name-field-view-reference, .paragraph--type--column-section > .row > .col-md-4 .column-content-inner',context),columns_articles_events=$('.paragraph--type--recent-articles-upcoming-events .view-article-view, .paragraph--type--recent-articles-upcoming-events .view-event-view',context),column_titles=$('.paragraph--type--column-section .field--name-field-title',context),column_titles_articles_events=$('.paragraph--type--recent-articles-upcoming-events .field--name-field-title, .paragraph--type--recent-articles-upcoming-events .field--name-field-title-2',context);if($(window).width()>767){$.equalHeight(columns);$.equalHeight(columns_articles_events);$.equalHeight(column_titles);$.equalHeight(column_titles_articles_events);}$(window).on('resize',function(){if($(window).width()>767){$.equalHeight(columns);$.equalHeight(columns_articles_events);$.equalHeight(column_titles);$.equalHeight(column_titles_articles_events);}else{columns.css('height','auto');column_titles.css('height','auto');columns_articles_events.css('height','auto');column_titles_articles_events.css('height','auto');}});}};Drupal.behaviors.customAjaxComplete={attach:function(context,settings){var eventContent=$('.view-events-calendar .single-day');if(eventContent.length>0){eventContent.find('.item').click(function(){eventContent.find('.item').removeClass('active');eventContent.find('.event-popup').removeClass('active');$(this).addClass('active');var dataId=eventContent.find('.item.active .event-content').data("id");eventContent.find('.event-popup[data-id='+dataId+']').addClass('active');eventContent.find('.event-popup.active').each(function(){var height=$(this).outerHeight()+$(this).parents('.item.active').outerHeight()-10;$(this).parents('ul.popup').css('top',-height);});});$(document).ajaxComplete(function(event,xhr,settings){if(eventContent.find('.item.active .event-content').length>0){var dataId=eventContent.find('.item.active .event-content').data("id");eventContent.find('.event-popup[data-id='+dataId+']').addClass('active');eventContent.find('.event-popup.active').each(function(){var height=$(this).outerHeight()+$(this).parents('.item.active').outerHeight()-10;$(this).parents('ul.popup').css('top',-height);});}});$(document).on('click','.view-events-calendar .single-day span.fa-close',function(){eventContent.find('.item').removeClass('active');eventContent.find('.event-popup').removeClass('active');});}}};Drupal.behaviors.academicFilters={attach:function(context,settings){$('.view-academic-filter-taxonomy-terms .view-content .filter-button .filter-toggle').each(function(){var $class=$(this).data('tid');if(!$('.view-academics '+$class).length>0)$(this).parent().addClass('inactive');});}};Drupal.behaviors.anchorTags={attach:function(context,settings){$(once('anch
7orTags','a[href^="#"]:not(.paragraph--type--accordion a[href^="#"], header a[href^="#"], footer a[href^="#"], .layout-push-navigation a[href^="#"])',context)).click(function(event){event.preventDefault();var targetId=$(this).attr('href').substring(1);console.log("Clicked anchor target:",targetId);var $target=$('[id]').filter(function(){return $(this).attr('id').toLowerCase()===targetId.toLowerCase();});if($target.length){console.log("Target element found:",$target);$('html, body').animate({scrollTop:$target.offset().top-150},400);}else console.warn("Target element NOT found:",targetId);});}};})(jQuery,Drupal,drupalSettings);; 8(function($,Drupal){Drupal.behaviors.heroVideos={attach:function(context,settings){setTimeout(function(){$(once('heroVideos','.hero-slideshow .slides .hero-mp4 video')).each(function(){$(this).parent('.hero-mp4').show().parent().addClass('video-shown');$(this).get(0).play();});},3000);function hero_video_height(){jQuery(".hero-slideshow .slides li").each(function(e){if(jQuery(this).find('video').length==1){var h=jQuery(this).next().find(".hero-img > img").height();jQuery(this).find('video').css('height',h);}});}function reset_video_height(){jQuery(".hero-slideshow .slides li").each(function(e){jQuery(this).find('video').css('height',"auto");});}if(jQuery(window).width()<=767)hero_video_height();else reset_video_height();jQuery(window).resize(function(){if(jQuery(window).width()<=767)hero_video_height();else reset_video_height();});function updateHeaderMenuBackground(){if($('.kwall-alerts .alert').length>0)$(".hero-content-exist #site-brandings .header-menu .tb-megamenu.tb-megamenu-main").css("background-color","#282726");else $(".hero-content-exist #site-brandings .header-menu .tb-megamenu.tb-megamenu-main").css("background-color","rgba(0, 0, 0, 0.4)");}updateHeaderMenuBackground();}};})(jQuery,Drupal);jQuery(document).ready(function(){var windowWidth=window.innerWidth;jQuery(document).find('.search-menu-block #edit-keywords').each(function(e){var random=Math.random()*6;jQuery(this).attr('id',"edit-keywards-"+random+"");if(jQuery(this).prev().prop("tagName")=='LABEL')jQuery(this).prev().attr('for',"edit-keywards-"+random+"");});jQuery('.video-play-button > a').on('click',function(e){e.preventDefault();var video=jQuery(this).parent().parent().parent().parent().parent().parent().find('video').get(0);if(video.paused===false){jQuery(this).addClass('paused');jQuery(this).html('<span class="element-invisible">Play Hero Slide Video</span>');video.pause();}else{jQuery(this).removeClass('paused');jQuery(this).html('<span class="element-invisible">Pause Hero Slide Video</span>');video.play();}});jQuery(document).find('.field--type-text-with-summary table, .field--type-text-long table').each(function(e){jQuery(this).wrapAll('<div class="table-wrapper"></div>');});jQuery(document).find('.field--type-text-with-summary iframe').each(function(e){var vidSrc=jQuery(this).attr('src');if(vidSrc.length>30)if(vidSrc.substr(0,30)=="https://www.youtube.com/embed/")jQuery(this).wrapAll('<div class="iframe-wrapper"></div>');});var getUrlParameter=function getUrlParameter(sParam){var sPageURL=window.location.search.substring(1),sURLVariables=sPageURL.split('&'),sParameterName,i;for(i=0;i<sURLVariables.length;i++){sParameterName=sURLVariables[i].split('=');if(sParameterName[0]===sParam)return sParameterName[1]===undefined?true:decodeURIComponent(sParameterName[1]);}};var category=getUrlParameter('field_product_category_target_id');if(category)jQuery('.view-merchandise').find('.section-title').toggleClass('with-category');if(jQuery('.field--name-field-page-banner-item > div.field__item').length==1)jQuery('.field--name-field-page-banner-item > div.field__item').parent().addClass('js-single-banner');else jQuery('.field--name-field-page-banner-item > div.field__item').parent().addClass('js-banner');var theMenu=jQuery('#site-brandings .sidebar-mobile-menu');var theNavOpen=jQuery('#site-brandings .header-menu .mobile-quicklinks > ul > li a.hamburger-menu');var theNavClose=jQuery('#site-brandings .sidebar-mobile-menu .region-sidebar-menu .close-submenu a');theNavOpen.one().click(function(e){e.preventDefault();theMenu.removeClass('slide-x-leave-active slide-x-leave-to-r').addClass('slide-x-enter-active slide-x-enter-to-r');theMenu.addClass('menu-active');});theNavClose.one().on('click',function(){theMenu.removeClass('slide-x-enter-active slide-x-enter-to-r').addClass('slide-x-leave-active slide-x-leave-to-r');theMenu.removeClass('menu-active');jQuery('body').removeClass('removeScroll');});jQuery('.sidebar-menu h2').on('click',function(){jQuery(this).toggleClass('open');jQuery('.sidebar-menu > ul.menu').slideToggle();});jQuery('.alumni-cta').clone().appendTo(".view-id-testimonial");jQuery(document).find('.mobile-main-nav .menu-item--expanded .submenu').on('focus',function(e){e.preventDefault();if(jQuery(window).width()>1024)jQuery(this).click();});jQuery(document).find('.mobile-main-nav .menu-item--expanded .submenu').on('click',function(e){e.preventDefault();if(jQuery(this).next().hasClass('slide-x-leave-active'))jQuery(this).next().removeClass('slide-x-leave-active slide-x-leave-to-r').addClass('slide-x-enter-active slide-x-enter-to-r');jQuery(this).toggleClass('open');});jQuery(document).find('.back-submenu a').on('click',function(e){e.preventDefault();jQuery(this).parent().parent().removeClass('slide-x-enter-active slide-x-enter-to-r').addClass('slide-x-leave-active slide-x-leave-to-r');;});jQuery('.sidebar-menu .menu .menu-item--expanded .menu .menu-item').parent().hide();jQuery('.sidebar-menu .menu .menu-item--expanded .menu').before('<a href="#" class="submenu-open">submenu open</a>');jQuery('.sidebar-menu .menu .menu-item--expanded .menu .menu-item.menu-item--active-trail').parent().show();jQuery('.sidebar-menu .menu .menu-item--expanded .menu .menu-item.menu-item--active-trail').parent().parent().find('a.submenu-open').addClass('active');jQuery('.sidebar-menu .menu .menu-item--expanded .menu .menu-item.menu-item--active-trail').parent().parent().addClass('expanded');jQuery('.sidebar-menu .menu .menu-item--expanded a.submenu-open').on('click',function(e){e.preventDefault();jQuery(this).parent().toggleClass('expanded');jQuery(this).next().toggle();jQuery(this).toggleClass('active');if(jQuery('.sidebar-menu').hasClass('event-sidebar'))jQuery(this).children('i').toggleClass('fa-angle-right fa-angle-down');});jQuery('.event-sidebar .menu .menu-item--expanded').append('<a href="#" class="submenu-open">submenu open</a>');jQuery('.event-sidebar .menu .menu-item--expanded .menu .menu-item.menu-item--active-trail').parent().show();jQuery('.event-sidebar .menu .menu-item--expanded .menu .menu-item.menu-item--active-trail').parent().parent().find('a.submenu-open').addClass('active');jQuery('.event-sidebar .menu .menu-item--expanded .menu .menu-item.menu-item--active-trail').parent().parent().addClass('expanded');jQuery('.event-sidebar .menu .menu-item--expanded a.submenu-open').on('click',function(e){e.preventDefault();jQuery(this).parent().toggleClass('expanded');jQuery(this).prev().toggle();jQuery(this).toggleClass('active');});jQuery('.hero-media-wrap > a').on('click',function(e){e.preventDefault();jQuery(this).toggleClass('mute unmute');if(jQuery(this).hasClass('mute')){jQuery(this).html('Mute');jQuery(this).prev().children('.hero-video').removeAttr('muted');}else{jQuery(this).html('Unmute');jQuery(this).prev().children('.hero-video').attr('muted','muted');}});
8var imgUrl=jQuery('.paragraph--type--alumni-success .field--name-field-media-image img').attr('src');jQuery('.paragraph--type--alumni-success').css({'background':'url('+imgUrl+')','background-repeat':'no-repeat','background-size':'cover'});jQuery('.secondary-menu').find('.search-icon').on('click',function(e){e.preventDefault();jQuery(this).toggleClass('active');jQuery('.region-header .search-menu-block').toggleClass('active');});jQuery('.header-menu').find('.tb-megamenu-nav .search-icon').on('click',function(e){e.preventDefault();jQuery(this).toggleClass('active-search');jQuery('.region-header-menu .search-menu-block').toggleClass('active');});jQuery('.interior-slideshow ul .paragraph--type--interior-slideshow-slide').parent().slick({mobileFirst:true,dots:true,infinite:true,slidesToShow:1,responsive:[{breakpoint:768,settings:{slidesToShow:1,infinite:true,centerMode:true,variableWidth:false}},{breakpoint:992,settings:{infinite:true,slidesToShow:1,centerMode:true,centerPadding:'60px',variableWidth:true}},{breakpoint:1200,settings:{infinite:true,slidesToShow:1,centerMode:true,centerPadding:'600px',variableWidth:true}}]});jQuery(document).find('.interior-slideshow .arrow-controls .slick-prev').on("click",function(e){e.preventDefault();jQuery('.interior-slideshow ul.paragraph--type--interior-slideshow').slick("slickPrev");});jQuery(document).find('.interior-slideshow .arrow-controls .slick-next').on("click",function(e){e.preventDefault();jQuery('.interior-slideshow ul.paragraph--type--interior-slideshow').slick("slickNext");});jQuery.noConflict();jQuery('.paragraph--type--interior-slideshow').each(function(){var IntSlideshow=jQuery(this);IntSlideshow.addClass('popup-slider');IntSlideshow.slick({mobileFirst:true,dots:true,infinite:true,slidesToShow:1,responsive:[{breakpoint:768,settings:{centerMode:true,centerPadding:'79.5px'}}]});jQuery(IntSlideshow).find('.paragraph--type--interior-half-slideshow-slide').each(function(){var DivID=jQuery(this).find(".slideshow-content").attr('id');if(DivID)jQuery(this).find('.slideshow-content').append('<a data-magnetic="slideshow" class="popup" href="#'+DivID+'">Popup </a>');});jQuery(IntSlideshow).find('a[data-magnetic="slideshow"]').magnificPopup({gallery:{enabled:true},callbacks:{open:function(){var current=IntSlideshow.slick('slickCurrentSlide');IntSlideshow.magnificPopup('goTo',current);},beforeClose:function(){IntSlideshow.slick('slickGoTo',parseInt(this.index));}}});});jQuery(window).scroll(function(){var height=jQuery(window).scrollTop();var header_height=jQuery('#site-brandings').height()-49;if(height>header_height){jQuery(".header-menu").addClass('sticky');jQuery("body").addClass('sticky-head');}else{jQuery(".header-menu").removeClass('sticky');jQuery("body").removeClass('sticky-head');}});if(jQuery('.view-hero-banner').find('.flexslider.hero-slideshow .slides li').length<=1)jQuery('.view-hero-banner').find('.flexslider.hero-slideshow .controls').remove();directoryFilter();function directoryFilter(){jQuery('.view-display-id-directory_page .view-directory').appendTo('#block-exposedformdirectorydirectory-page');}jQuery(document).ajaxComplete(function(event,xhr,settings){directoryFilter();});Drupal.behaviors.DirectoryFilter={attach:function(context,settings){directoryFilter();}};Drupal.behaviors.DirectoryFilter={attach:function(context,settings){alert_height();function alert_height(){if(jQuery(document).find('.path-frontpage').length==0&&jQuery(document).find('.hero-slideshow').length==0)if(window.innerWidth>991){var alert_height=jQuery(document).find('.layout-alerts .kwall-alerts').height();jQuery(document).find('.layout-alerts').css('height',alert_height);}}}};jQuery('.field--type-text-with-summary .img-wrapper').each(function(e){if(jQuery(this).next().hasClass('slideshowtext1')){jQuery(this).next('.slideshowtext1').addClass(jQuery(this).children('.embedded-entity').attr('class'));var Newwidth=jQuery(this).next().outerWidth()+10;jQuery(this).next().css('width',Newwidth+'px');if(jQuery(this).next().next().hasClass('slideshowtext1')){jQuery(this).next().next().addClass(jQuery(this).children('.embedded-entity').attr('class'));jQuery(this).next().next().css('width',Newwidth+'px');}}});jQuery('.paragraph--type--video-embed .popup-video').fancybox({helpers:{media:true},youtube:{autoplay:1}});setTimeout(function(){jQuery('.paragraph--type--video-embed').find('.popup-video').trigger('click');},10);jQuery('[data-lightbox="lightbox"]').magnificPopup({type:'image',retina:{ratio:1,replaceSrc:function(item,ratio){return item.src.replace(/\.\w+$/,function(m){return '@2x'+m;});}}});jQuery('.product-page .product-images .thumbnail-images a').hover(function(e){var target=jQuery(this).attr('data-popup');jQuery(document).find('.popup-image-container').toggleClass('is-hovered');jQuery(document).find('.popup-image-container .'+target+'').toggle();});jQuery('.product-page .product-images .thumbnail-images a').click(function(e){return false;});Drupal.behaviors.AdditionalJS={attach:function(context,settings){setTimeout(function(){jQuery('.giving-mobile-container').append(jQuery('.mobile-main-nav ul.menu').find('.menu-giving'));},100);jQuery(document).on('click','.mobile-quicklinks .hamburger-menu',function(e){e.preventDefault();jQuery('.sidebar-mobile-menu').show();jQuery('body').addClass('removeScroll');});jQuery(".sidebar-mobile-menu .mobile-search").find(".form-actions").on("click",function(e){e.preventDefault();jQuery(this).parent().parent().submit();});jQuery('.paragraph--type--sidebar-image-block, .paragraph--type--interior-slideshow-slide, .paragraph--type--interior-half-slideshow-slide, .paragraph--type--adjustable-media-and-content, .paragraph--type--page-banner-item, .paragraph--type--listing').each(function(){var CampusBadge=jQuery(this).find('.campus-badge');
8if(CampusBadge.children('a').text()=='California'){CampusBadge.prev().addClass('ca');CampusBadge.addClass('ca');}else if(CampusBadge.children('a').text()=='New England'){CampusBadge.addClass('ne');CampusBadge.prev().addClass('ne');}else{CampusBadge.addClass('all');CampusBadge.prev().addClass('all');}});jQuery('#fancyview').find('.img-wrapper img').attr("onclick","closeWin()");jQuery(document).on('click','.view-id-alerts .close',function(e){slickArrows();});slickArrows();function slickArrows(){if(jQuery('.view-id-alerts .view-content .alert').length>2)jQuery('.view-id-alerts .view-header').show();else jQuery('.view-id-alerts .view-header').hide();}jQuery('.search-menu-block').find('form').attr('action','/search');jQuery('.mobile-search').find('input').attr('aria-label','search');setInterval(function(){if(jQuery('.view-id-alerts .slick-track .alert').length==0){jQuery('.view-id-alerts .slick-arrow').hide();jQuery('.layout-alerts').css('height','auto');clearInterval();}},100);function slider_control(){var height=jQuery('.hero-media-wrap').outerHeight();var Controller=jQuery('.custom-controls-container');if(window.innerWidth<=991){Controller.css('top',height+70);Controller.css('display','block');}if(window.innerWidth<=767)Controller.css('top',height+10);}slider_control();jQuery(window).on('resize',function(){slider_control();});function excerpt_alert(){jQuery('.alert-body p').each(function(){if(window.innerWidth<620)jQuery(this).text(jQuery(this).text().substr(0,10)+'...');});}excerpt_alert();jQuery(window).on('resize',function(){excerpt_alert();});function alertTop(){if(!jQuery('body').hasClass('.toolbar-vertical')){var heightHeader=jQuery('#site-brandings').height();var heightMenu=jQuery('#site-brandings .header-menu').height();jQuery('.kwall-alerts').css('top',heightHeader+heightMenu);}}alertTop();jQuery(window).on('resize',function(){if(window.innerWidth<991)alertTop();});var HeroSlideshow=jQuery(document).find('.hero-slideshow');if(HeroSlideshow.length>0)jQuery(document).find('body').addClass('slideshow');jQuery('.calendar-calendar .month-view tbody tr td.single-day').not(".no-entry").each(function(){if(jQuery(this).find('.inner .item').length>3&&jQuery(this).find('.more-events').length<=0){var current_date=jQuery(this).attr('date-date');var date=new Date(current_date);const c_date=jQuery(this).attr("data-day-of-month");const month=date.toLocaleString('default',{month:'long'});jQuery(this).find('.inner .item').parent().append("<a href='/events?field_start_date_value="+current_date+"' class='more-events'>More For "+month+" "+c_date+" <i class=\"fa fa-angle-double-right\" aria-hidden=\"true\"></i></a>");}});jQuery(document).mouseup(function(e){var container=jQuery(".search-menu-block");var container2=jQuery('.search-icon');if(!container.is(e.target)&&container.has(e.target).length===0&&!container2.is(e.target)&&!container2.find('a').is(e.target))if(container.hasClass('active')){container.removeClass('active');jQuery('.search-icon').removeClass('active active-search');}});jQuery(".tb-megamenu-main a, .field--type-text-with-summary a").on('click',function(event){if(this.hash!==""){var header_height=jQuery('.header-menu').height();var hash=this.hash;if(jQuery(hash).length){event.preventDefault();jQuery(hash).css('scroll-margin-top',header_height);jQuery('html, body').animate({scrollTop:jQuery(hash).offset().top},800,function(){window.location.hash=hash;});}}});interiorImgHeight();jQuery(window).on('resize',function(){interiorImgHeight();});function interiorImgHeight(){var Halfheight=jQuery('.paragraph--type--interior-slideshow .paragraph--type--interior-half-slideshow-slide .slide-content').prev().find('img').height()+jQuery('.paragraph--type--interior-slideshow .paragraph--type--interior-half-slideshow-slide .slide-content').outerHeight();jQuery('.paragraph--type--interior-slideshow .paragraph--type--interior-half-slideshow-slide').each(function(e){if(jQuery(this).find('.slide-content').length==0){jQuery(this).find('img').css('height',Halfheight);jQuery(this).find('iframe').css('height',Halfheight);jQuery(this).find('iframe').parent().parent().parent().css('height',Halfheight);}});var fullheight=jQuery('.paragraph--type--interior-slideshow .paragraph--type--interior-slideshow-slide .slide-content').prev().find('img').height()+jQuery('.paragraph--type--interior-slideshow .paragraph--type--interior-slideshow-slide .slide-content').outerHeight();jQuery('.paragraph--type--interior-slideshow .paragraph--type--interior-slideshow-slide').each(function(e){if(jQuery(this).find('.slide-content').length==0){jQuery(this).find('img').css('height',fullheight);jQuery(this).find('iframe').css('height',fullheight);jQuery(this).find('iframe').parent().parent().parent().css('height',fullheight);}});}jQuery("[id='views-exposed-form-view-search-page-1'], [id='edit-keywords'], [id='edit-actions']"+"[id='block-tac-views-block-alerts-block-1--2']"+"[id='edit-actions']").each(function(e){var number=1+Math.floor(Math.random()*69632584);jQuery(this).attr('id',''+jQuery(this).attr("id")+''+number+'');});jQuery("[id='tb-megamenu-column-12'], [id='kwall-alerts'], [id='kwall-alerts-wrapper']").each(function(e){var number=1+Math.floor(Math.random()*69632584);jQuery(this).attr('id',''+jQuery(this).attr("id")+''+number+'');});}};});; 9(function($,Drupal,drupalSettings){'use strict';jQuery(document).find('.tb-megamenu-item .dropdown-toggle, .btn-menu-giving a').on('focus',function(){jQuery(document).find('.tb-megamenu-item').removeClass('open');jQuery(this).parent().toggleClass('open');});Drupal.behaviors.AdditionalBehaviour={attach:function(context,settings){$('.mobile-main-nav .menu li a:contains("Search")').keydown(function(e){if(e.keyCode==9){e.preventDefault();if(e.shiftKey)jQuery('.mobile-main-nav .menu li a:contains("Alumni & Careers")').focus();else jQuery('.sidebar-mobile-menu .close-submenu a').focus();}});$('.sidebar-mobile-menu .close-submenu a').keydown(function(e){if(e.keyCode==9)if(e.shiftKey){e.preventDefault();$('.mobile-main-nav .menu li a:contains("Search")').focus();}});setTimeout(function(){jQuery(document).find("figure.caption-img").each(function(){jQuery(this).children("img").removeAttr("loading");});},1000);jQuery('.view-id-alerts').find('.alert').each(function(e){jQuery(this).attr('tabindex','-1');});jQuery('.add-to-calendar').find('.atcb-link').attr('tabindex','0');jQuery('.add-to-calendar').find('.atcb-list').each(function(e){jQuery(this).find('.atcb-item-link').attr('tabindex','0');});jQuery('.quicklinks').on('focus',function(e){jQuery(this).parent().find('.menu').show();});jQuery('.secondary-menu').find('.menu .menu-item a').on('focus',function(e){if(!jQuery(this).parent().hasClass('menu-item--expanded')&&!jQuery(this).hasClass('quicklinks')&&!jQuery(this).parent().parent().prev().hasClass('quicklinks')){console.log(jQuery(this).parent().parent().prev().html());jQuery('.secondary-menu .menu-item--expanded').find('.quicklinks').next().hide();}else console.log('a');});$(".company-brand").find("a",context).on("keydown",function(e){if(e.keyCode==9)if($(window).width()<1024)setTimeout(function(){$(".mobile-quicklinks").find(".menu .menu-item--expanded > a").focus();},10);});$(".mobile-quicklinks .menu .menu-item--expanded > a",context).on("focus",function(){if($(window).width()<1024)jQuery(this).next().show();});$(".mobile-quicklinks .menu .menu-item--expanded .menu .menu-item:last-child a",context).on("keydown",function(e){if(e.keyCode==9)if($(window).width()<1024)setTimeout(function(){$(".mobile-quicklinks").find(".menu .menu-item--expanded > .menu").hide();},10);});jQuery(".mobile-quicklinks .menu .hamburger-menu").on("keydown",function(e){if(e.keyCode==13)if(jQuery(window).width()<1024)setTimeout(function(){jQuery(".regi
9on-sidebar-menu").find(".close-submenu > a").focus();},10);});jQuery(".region-sidebar-menu .close-submenu > a").on("keydown",function(e){if(e.keyCode==13)if(jQuery(window).width()<1024)setTimeout(function(){jQuery(".mobile-quicklinks").find(".menu .hamburger-menu").focus();},10);});jQuery('.mobile-main-nav .menu-item--expanded .menu a').attr("tabindex","-1");jQuery(document).find('.mobile-main-nav .menu-item--expanded .submenu').on('keydown',function(e){if(e.keyCode==13){jQuery(this).trigger("click");if(jQuery(window).width()<1024){jQuery('.mobile-main-nav .menu-item--expanded .menu a').attr("tabindex","0");jQuery(this).next().children(".back-submenu").children().focus();}}});jQuery(document).find('.mobile-main-nav .menu-item--expanded .menu .back-submenu > a').on('keydown',function(e){if(e.keyCode==13){jQuery(this).trigger("click");if(jQuery(window).width()<1024){jQuery(this).parent().parent().prev().focus();jQuery('.mobile-main-nav .menu-item--expanded .menu a').attr("tabindex","-1");}}});jQuery(document).find('.mobile-main-nav .menu-item--expanded .menu li:last-child .menu li:last-child > a').on('keydown',function(e){if(e.keyCode==9){e.preventDefault();if(jQuery(window).width()<1024)jQuery(this).parent("li").parent(".menu").parent("li").parent(".menu").children(".back-submenu").children().focus();}});jQuery(document).find('.mobile-main-nav .menu li > a.mobile_search').on('keydown',function(e){if(e.keyCode==9){e.preventDefault();if(jQuery(window).width()<1024)jQuery(".region-sidebar-menu").find(".close-submenu > a").focus();}});$(".main-navigation").find(".tb-megamenu-nav li:nth-last-child(3) > a",context).on("keydown",function(e){if(e.keyCode==9)setTimeout(function(){$(".main-navigation").find(".tb-megamenu-nav li:last-child > a").focus();},10);});jQuery(".view-hero-banner").find(".hero-slideshow .slides li > a").on("keydown",function(event){var keycode=(event.keyCode?event.keyCode:event.which);if(keycode=='13'){if(!jQuery(this).hasClass("active-slide"))jQuery(this).addClass("active-slide");event.preventDefault();jQuery(this).trigger("click");}if(keycode=='9')if(jQuery(".hero-slideshow .slides li a").hasClass("active-slide")){event.preventDefault();if(jQuery(".hero-slideshow .slides").find(".flex-active-slide a").length>0){jQuery(".hero-slideshow .slides .flex-active-slide .hero-content-wrap").find("a").focus();jQuery(".hero-slideshow .slides li a").removeClass("active-slide");}}});}};})(jQuery,Drupal,drupalSettings);; 10(function($,Drupal,drupalSettings){'use strict';Drupal.behaviors.slickSliderInit={attach:function(context,settings){$(once('slickSliderInit','.view-id-carousels.view-display-id-block_1 > .view-content',context)).each(function(){var carouselSelector='.paragraph--type--person-carousel',autoplay=$(this).parents(carouselSelector).data('autoplay'),display_count=$(this).parents(carouselSelector).data('display'),scroll_count=$(this).parents(carouselSelector).data('scroll');if(display_count>='3')$(this).slick({autoplay,autoplaySpeed:4000,dots:true,infinite:true,speed:300,slidesToShow:display_count,slidesToScroll:scroll_count,responsive:[{breakpoint:991,settings:{slidesToShow:3,slidesToScroll:3,infinite:true,dots:true}},{breakpoint:767,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1}}]});if(display_count==='2')$(this).slick({autoplay,autoplaySpeed:4000,dots:true,infinite:true,speed:300,slidesToShow:display_count,slidesToScroll:scroll_count,responsive:[{breakpoint:767,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1}}]});if(display_count==='1')$(this).slick({autoplay,autoplaySpeed:4000,dots:true,infinite:true,speed:300,slidesToShow:1,slidesToScroll:1});});$(once('flexSliderInit','.paragraph--type--video-tab-carousel .video-carousel',context)).each(function(){var $video_carousel=$(this),$videos=$(this).find('.tab-video-wrap'),$tabs=$(this).find('.tab-title-wrap');if($(window).width()>=768)$video_carousel.find('.tab-title').on('click',function(){var video_tab=$(this).data('tab-target');$('.tab-item-content').each(function(){$(this).removeClass('active');});$(video_tab).addClass('active');});if($(window).width()<=767){$videos.slick({slidesToShow:1,slidesToScroll:1,arrows:false,fade:true,asNavFor:'.tab-title-wrap'});$tabs.slick({slidesToShow:1,slidesToScroll:1,asNavFor:'.tab-video-wrap',arrows:true,dots:true,focusOnSelect:true});}$(window).on('resize',function(){if($(window).width()>=768&&$video_carousel.hasClass('mobile-display')){$video_carousel.removeClass('mobile-display');$tabs.slick('unslick');$videos.slick('unslick');$video_carousel.find('.tab-title').on('click',function(){var video_tab=$(this).data('tab-target');$('.tab-item-content').each(function(){$(this).removeClass('active');});$(video_tab).addClass('active');});}if($(window).width()<=767&&!$video_carousel.hasClass('mobile-display')){$videos.slick({slidesToShow:1,slidesToScroll:1,arrows:false,fade:true,asNavFor:'.tab-title-wrap'});$tabs.slick({slidesToShow:1,slidesToScroll:1,asNavFor:'.tab-video-wrap',arrows:true,dots:true,focusOnSelect:true});$video_carousel.addClass('mobile-display');}});});}};})(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.