PageSourceSearch

http://www.sofasophia.com/sites/default/files/js/js_R801aqH_z_G21J…rBxG5ilUcTuzWz4W7O6CbCG9qWtwZCjC1PH8AlsB6WQ

js sofasophia.com collected 2026-09-27 13:13:18 UTC 93,625 bytes, 59 lines download raw bytes

1  /* @license GPL-2.0-or-later https://git.drupalcode.org/project/once/-/raw/v1.0.1/LICENSE.md */
2/*! @drupal/once - v1.0.1 - 2021-06-12 */
3var once=function(){"use strict";var n=/[\11\12\14\15\40]+/,e="data-once",t=document;function r(n,t,r){return n[t+"Attribute"](e,r)}function o(e){if("string"!=typeof e)throw new TypeError("once ID must be a string");if(""===e||n.test(e))throw new RangeError("once ID must not be empty or contain spaces");return'[data-once~="'+e+'"]'}function u(n){if(!(n instanceof Element))throw new TypeError("The element must be an instance of Element");return!0}function i(n,e){void 0===e&&(e=t);var r=n;if(null===n)r=[];else{if(!n)throw new TypeError("Selector must not be empty");"string"!=typeof n||e!==t&&!u(e)?n instanceof Element&&(r=[n]):r=e.querySelectorAll(n)}return Array.prototype.slice.call(r)}function c(n,e,t){return e.filter((function(e){var r=u(e)&&e.matches(n);return r&&t&&t(e),r}))}function f(e,t){var o=t.add,u=t.remove,i=[];r(e,"has")&&r(e,"get").trim().split(n).forEach((function(n){i.indexOf(n)<0&&n!==u&&i.push(n)})),o&&i.push(o);var c=i.join(" ");r(e,""===c?"remove":"set",c)}function a(n,e,t){return c(":not("+o(n)+")",i(e,t),(function(e){return f(e,{add:n})}))}return a.remove=function(n,e,t){return c(o(n),i(e,t),(function(e){return f(e,{remove:n})}))},a.filter=function(n,e,t){return c(o(n),i(e,t))},a.find=function(n,e){return i(n?o(n):"[data-once]",e)},a}();
4
5;
6/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
7window.Drupal={behaviors:{},locale:{}};(function(Drupal,drupalSettings,drupalTranslations,console,Proxy,Reflect){Drupal.throwError=function(error){setTimeout(()=>{throw error;},0);};Drupal.attachBehaviors=function(context,settings){context=context||document;settings=settings||drupalSettings;const behaviors=Drupal.behaviors;Object.keys(behaviors||{}).forEach((i)=>{if(typeof behaviors[i].attach==='function')try{behaviors[i].attach(context,settings);}catch(e){Drupal.throwError(e);}});};Drupal.detachBehaviors=function(context,settings,trigger){context=context||document;settings=settings||drupalSettings;trigger=trigger||'unload';const behaviors=Drupal.behaviors;Object.keys(behaviors||{}).forEach((i)=>{if(typeof behaviors[i].detach==='function')try{behaviors[i].detach(context,settings,trigger);}catch(e){Drupal.throwError(e);}});};Drupal.checkPlain=function(str){str=str.toString().replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;').replace(/"/g,'&quot;').replace(/'/g,'&#39;');return str;};Drupal.formatString=function(str,args){const processedArgs={};Object.keys(args||{}).forEach((key)=>{switch(key.charAt(0)){case '@':processedArgs[key]=Drupal.checkPlain(args[key]);break;case '!':processedArgs[key]=args[key];break;default:processedArgs[key]=Drupal.theme('placeholder',args[key]);break;}});return Drupal.stringReplace(str,processedArgs,null);};Drupal.stringReplace=function(str,args,keys){if(str.length===0)return str;if(!Array.isArray(keys)){keys=Object.keys(args||{});keys.sort((a,b)=>a.length-b.length);}if(keys.length===0)return str;const key=keys.pop();const fragments=str.split(key);if(keys.length){for(let i=0;i<fragments.length;i++)fragments[i]=Drupal.stringReplace(fragments[i],args,keys.slice(0));}return fragments.join(args[key]);};Drupal.t=function(str,args,options){options=options||{};options.context=options.context||'';if(drupalTranslations?.strings?.[options.context]?.[str])str=drupalTranslations.strings[options.context][str];if(args)str=Drupal.formatString(str,args);return str;};Drupal.url=function(path){return drupalSettings.path.baseUrl+drupalSettings.path.pathPrefix+path;};Drupal.url.toAbsolute=function(url){const urlParsingNode=document.createElement('a');urlParsingNode.setAttribute('href',url);return urlParsingNode.href;};Drupal.url.isLocal=function(url){let absoluteUrl=Drupal.url.toAbsolute(url);let {protocol}=window.location;if(protocol==='http:'&&absoluteUrl.startsWith('https:'))protocol='https:';let baseUrl=`${protocol}//${window.location.host}${drupalSettings.path.baseUrl.slice(0,-1)}`;try{absoluteUrl=decodeURIComponent(absoluteUrl);}catch(e){}try{baseUrl=decodeURIComponent(baseUrl);}catch(e){}return absoluteUrl===baseUrl||absoluteUrl.startsWith(`${baseUrl}/`);};Drupal.formatPlural=function(count,singular,plural,args,options){args=args||{};args['@count']=count;const pluralDelimiter=drupalSettings.pluralDelimiter;const translations=Drupal.t(singular+pluralDelimiter+plural,args,options).split(pluralDelimiter);let index=0;
7if(drupalTranslations?.pluralFormula)index=count in drupalTranslations.pluralFormula?drupalTranslations.pluralFormula[count]:drupalTranslations.pluralFormula.default;else{if(args['@count']!==1)index=1;}return translations[index];};Drupal.encodePath=function(item){return window.encodeURIComponent(item).replace(/%2F/g,'/');};Drupal.deprecationError=({message})=>{if(drupalSettings.suppressDeprecationErrors===false&&console?.warn)console.warn(`[Deprecation] ${message}`);};Drupal.deprecatedProperty=({target,deprecatedProperty,message})=>{if(!Proxy||!Reflect)return target;return new Proxy(target,{get:(target,key,...rest)=>{if(key===deprecatedProperty)Drupal.deprecationError({message});return Reflect.get(target,key,...rest);}});};Drupal.theme=function(func,...args){if(typeof Drupal.theme?.[func]==='function')return Drupal.theme[func](...args);Drupal.throwError(new TypeError(`Drupal.theme.${func} must be function type.`));};Drupal.theme.placeholder=function(str){return `<em class="placeholder">${Drupal.checkPlain(str)}</em>`;};Drupal.elementIsVisible=function(elem){return !!(elem.offsetWidth||elem.offsetHeight||elem.getClientRects().length);};Drupal.elementIsHidden=function(elem){return !Drupal.elementIsVisible(elem);};})(Drupal,window.drupalSettings,window.drupalTranslations,window.console,window.Proxy,window.Reflect);;
8if(window.jQuery)jQuery.noConflict();document.documentElement.className+=' js';(function(Drupal,drupalSettings){const domReady=(callback)=>{const listener=()=>{callback();document.removeEventListener('DOMContentLoaded',listener);};if(document.readyState!=='loading')setTimeout(callback,0);else document.addEventListener('DOMContentLoaded',listener);};domReady(()=>{Drupal.attachBehaviors(document,drupalSettings);});})(Drupal,window.drupalSettings);;
9/* @license MIT https://raw.githubusercontent.com/focus-trap/tabbable/v6.3.0/LICENSE */
10/*!
11* tabbable 6.3.0
12* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
13*/
14!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):(t="undefined"!=typeof globalThis?globalThis:t||self,function(){var n=t.tabbable,o=t.tabbable={};e(o),o.noConflict=function(){return t.tabbable=n,o}}())}(this,(function(t){"use strict";var e=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],n=e.join(","),o="undefined"==typeof Element,r=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,i=!o&&Element.prototype.getRootNode?function(t){var e;return null==t||null===(e=t.getRootNode)||void 0===e?void 0:e.call(t)}:function(t){return null==t?void 0:t.ownerDocument},a=function(t,e){var n;void 0===e&&(e=!0);var o=null==t||null===(n=t.getAttribute)||void 0===n?void 0:n.call(t,"inert");return""===o||"true"===o||e&&t&&a(t.parentNode)},l=function(t,e,o){if(a(t))return[];var i=Array.prototype.slice.apply(t.querySelectorAll(n));return e&&r.call(t,n)&&i.unshift(t),i=i.filter(o)},u=function(t,e,o){for(var i=[],l=Array.from(t);l.length;){var c=l.shift();if(!a(c,!1))if("SLOT"===c.tagName){var d=c.assignedElements(),f=d.length?d:c.children,s=u(f,!0,o);o.flatten?i.push.apply(i,s):i.push({scopeParent:c,candidates:s})}else{r.call(c,n)&&o.filter(c)&&(e||!t.includes(c))&&i.push(c);var p=c.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(c),h=!a(p,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(c));if(p&&h){var v=u(!0===p?c.children:p.children,!0,o);o.flatten?i.push.apply(i,v):i.push({scopeParent:c,candidates:v})}else l.unshift.apply(l,c.children)}}return i},c=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},d=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||function(t){var e,n=null==t||null===(e=t.getAttribute)||void 0===e?void 0:e.call(t,"contenteditable");return""===n||"true"===n}(t))&&!c(t)?0:t.tabIndex},f=function(t,e){return t.tabIndex===e.tabIndex?t.documentOrder-e.documentOrder:t.tabIndex-e.tabIndex},s=function(t){return"INPUT"===t.tagName},p=function(t){return function(t){return s(t)&&"radio"===t.type}(t)&&!function(t){if(!t.name)return!0;var e,n=t.form||i(t),o=function(t){return n.querySelectorAll('input[type="radio"][name="'+t+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)e=o(window.CSS.escape(t.name));else try{e=o(t.name)}catch(t){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",t.message),!1}var r=function(t,e){for(var n=0;n<t.length;n++)if(t[n].checked&&t[n].form===e)return t[n]}(e,t.form);return!r||r===t}(t)},h=function(t){var e=t.getBoundingClientRect(),n=e.width,o=e.height;return 0===n&&0===o},v=function(t,e){var n=e.displayCheck,o=e.getShadowRoot;if("full-native"===n&&"checkVisibility"in t)return!t.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});if("hidden"===getComputedStyle(t).visibility)return!0;var a=r.call(t,"details>summary:first-of-type")?t.parentElement:t;if(r.call(a,"details:not([open]) *"))return!0;
vendor: 4,208 bytes, lines 14-19
14if(n&&"full"!==n&&"full-native"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return h(t)}else{if("function"==typeof o){for(var l=t;t;){var u=t.parentElement,c=i(t);if(u&&!u.shadowRoot&&!0===o(u))return h(t);t=t.assignedSlot?t.assignedSlot:u||c===t.ownerDocument?u:c.host}t=l}if(function(t){var e,n,o,r,a=t&&i(t),l=null===(e=a)||void 0===e?void 0:e.host,u=!1;if(a&&a!==t)for(u=!!(null!==(n=l)&&void 0!==n&&null!==(o=n.ownerDocument)&&void 0!==o&&o.contains(l)||null!=t&&null!==(r=t.ownerDocument)&&void 0!==r&&r.contains(t));!u&&l;){var c,d,f;u=!(null===(d=l=null===(c=a=i(l))||void 0===c?void 0:c.host)||void 0===d||null===(f=d.ownerDocument)||void 0===f||!f.contains(l))}return u}(t))return!t.getClientRects().length;if("legacy-full"!==n)return!0}return!1},b=function(t,e){return!(e.disabled||a(e)||function(t){return s(t)&&"hidden"===t.type}(e)||v(e,t)||function(t){return"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some((function(t){return"SUMMARY"===t.tagName}))}(e)||function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var e=t.parentElement;e;){if("FIELDSET"===e.tagName&&e.disabled){for(var n=0;n<e.children.length;n++){var o=e.children.item(n);if("LEGEND"===o.tagName)return!!r.call(e,"fieldset[disabled] *")||!o.contains(t)}return!0}e=e.parentElement}return!1}(e))},y=function(t,e){return!(p(e)||d(e)<0||!b(t,e))},m=function(t){var e=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(e)||e>=0)},g=function(t){var e=[],n=[];return t.forEach((function(t,o){var r=!!t.scopeParent,i=r?t.scopeParent:t,a=function(t,e){var n=d(t);return n<0&&e&&!c(t)?0:n}(i,r),l=r?g(t.candidates):i;0===a?r?e.push.apply(e,l):e.push(i):n.push({documentOrder:o,tabIndex:a,item:t,isScope:r,content:l})})),n.sort(f).reduce((function(t,e){return e.isScope?t.push.apply(t,e.content):t.push(e.content),t}),[]).concat(e)},w=e.concat("iframe").join(",");t.focusable=function(t,e){return(e=e||{}).getShadowRoot?u([t],e.includeContainer,{filter:b.bind(null,e),flatten:!0,getShadowRoot:e.getShadowRoot}):l(t,e.includeContainer,b.bind(null,e))},t.getTabIndex=d,t.isFocusable=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return!1!==r.call(t,w)&&b(e,t)},t.isTabbable=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return!1!==r.call(t,n)&&y(e,t)},t.tabbable=function(t,e){var n;return n=(e=e||{}).getShadowRoot?u([t],e.includeContainer,{filter:y.bind(null,e),flatten:!1,getShadowRoot:e.getShadowRoot,shadowRootFilter:m}):l(t,e.includeContainer,y.bind(null,e)),g(n)}}));
15
16;
17/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
18(function($,Drupal,drupalSettings){'use strict';Drupal.behaviors.googleCSECustomSearch={attach:function(context,settings){var getWatermarkBackground=function(value){var googleCSEBaseUrl='https://www.google.com/cse/intl/';var googleCSEImageUrl='images/google_custom_search_watermark.gif';var language=drupalSettings.googlePSE.language+'/';return value?'':' url('+googleCSEBaseUrl+language+googleCSEImageUrl+') left no-repeat';};var removeWatermark=function(e){$(e.target).css('background','#ffffff');};var addWatermark=function(e){$(e.target).css('background','#ffffff'+getWatermarkBackground($(e.target).val()));};var googleCSEWatermark=function(context,query){var searchInputs=$(`[data-drupal-selector='${query}']`);if(drupalSettings.googlePSE.displayWatermark===true){searchInputs.on("blur",addWatermark);searchInputs.each(function(){var event={};event.target=this;addWatermark(event);});}else{searchInputs.on("blur",removeWatermark);searchInputs.each(function(){var event={};event.target=this;removeWatermark(event);});}searchInputs.focus(removeWatermark);};googleCSEWatermark('[data-drupal-selector="search-block-form"] [data-drupal-form-fields="edit-keys--2"]','edit-keys');googleCSEWatermark('[data-drupal-selector="search-block-form"] [data-drupal-form-fields="edit-keys"]','edit-keys');googleCSEWatermark('[data-drupal-selector="search-form"]','edit-keys');googleCSEWatermark('[data-drupal-selector="google-cse-search-box-form"]','edit-query');}};})(jQuery,Drupal,drupalSettings);;
19(function($,Drupal){Drupal.theme.progressBar=function(id){const escapedId=Drupal.checkPlain(id);return (`<div id="${escapedId}
vendor: 3,483 bytes, lines 19-21
19" class="progress" aria-live="polite">`+'<div class="progress__label">&nbsp;</div>'+'<div class="progress__track"><div class="progress__bar"></div></div>'+'<div class="progress__percentage"></div>'+'<div class="progress__description">&nbsp;</div>'+'</div>');};Drupal.ProgressBar=function(id,updateCallback,method,errorCallback){this.id=id;this.method=method||'GET';this.updateCallback=updateCallback;this.errorCallback=errorCallback;this.element=$(Drupal.theme('progressBar',id));};$.extend(Drupal.ProgressBar.prototype,{setProgress(percentage,message,label){if(percentage>=0&&percentage<=100){$(this.element).find('div.progress__bar').each(function(){this.style.width=`${percentage}%`;});$(this.element).find('div.progress__percentage').html(`${percentage}%`);}$('div.progress__description',this.element).html(message);$('div.progress__label',this.element).html(label);if(this.updateCallback)this.updateCallback(percentage,message,this);},startMonitoring(uri,delay){this.delay=delay;this.uri=uri;this.sendPing();},stopMonitoring(){clearTimeout(this.timer);this.uri=null;},sendPing(){if(this.timer)clearTimeout(this.timer);if(this.uri){const pb=this;let uri=this.uri;if(!uri.includes('?'))uri+='?';else uri+='&';uri+='_format=json';$.ajax({type:this.method,url:uri,data:'',dataType:'json',success(progress){if(progress.status===0){pb.displayError(progress.data);return;}pb.setProgress(progress.percentage,progress.message,progress.label);pb.timer=setTimeout(()=>{pb.sendPing();},pb.delay);},error(xmlhttp){const e=new Drupal.AjaxError(xmlhttp,pb.uri);pb.displayError(`<pre>${e.message}</pre>`);}});}},displayError(string){const error=$('<div class="messages messages--error"></div>').html(string);$(this.element).before(error).hide();if(this.errorCallback)this.errorCallback(this);}});})(jQuery,Drupal);;
20/* @license MIT https://raw.githubusercontent.com/muicss/loadjs/4.3.0/LICENSE.txt */
21loadjs=function(){var h=function(){},o={},c={},f={};function u(e,n){if(e){var t=f[e];if(c[e]=n,t)for(;t.length;)t[0](e,n),t.splice(0,1)}}function l(e,n){e.call&&(e={success:e}),n.length?(e.error||h)(n):(e.success||h)(e)}function p(t,r,i,s){var o,e,u,n=document,c=i.async,f=(i.numRetries||0)+1,l=i.before||h,a=t.replace(/[\?|#].*$/,""),d=t.replace(/^(css|img|module|nomodule)!/,"");if(s=s||0,/(^css!|\.css$)/.test(a))(u=n.createElement("link")).rel="stylesheet",u.href=d,(o="hideFocus"in u)&&u.relList&&(o=0,u.rel="preload",u.as="style");else if(/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(a))(u=n.createElement("img")).src=d;else if((u=n.createElement("script")).src=d,u.async=void 0===c||c,e="noModule"in u,/^module!/.test(a)){if(!e)return r(t,"l");u.type="module"}else if(/^nomodule!/.test(a)&&e)return r(t,"l");!(u.onload=u.onerror=u.onbeforeload=function(e){var n=e.type[0];if(o)try{u.sheet.cssText.length||(n="e")}catch(e){18!=e.code&&(n="e")}if("e"==n){if((s+=1)<f)return p(t,r,i,s)}else if("preload"==u.rel&&"style"==u.as)return u.rel="stylesheet";r(t,n,e.defaultPrevented)})!==l(t,u)&&n.head.appendChild(u)}function t(e,n,t){var r,i;if(n&&n.trim&&(r=n),i=(r?t:n)||{},r){if(r in o)throw"LoadJS";o[r]=!0}function s(n,t){!function(e,r,n){var t,i,s=(e=e.push?e:[e]).length,o=s,u=[];for(t=function(e,n,t){if("e"==n&&u.push(e),"b"==n){if(!t)return;u.push(e)}--s||r(u)},i=0;i<o;i++)p(e[i],t,n)}(e,function(e){l(i,e),n&&l({success:n,error:t},e),u(r,e)},i)}if(i.returnPromise)return new Promise(s);s()}return t.ready=function(e,n){return function(e,t){e=e.push?e:[e];var n,r,i,s=[],o=e.length,u=o;
21for(n=function(e,n){n.length&&s.push(e),--u||t(s)};o--;)r=e[o],(i=c[r])?n(r,i):(f[r]=f[r]||[]).push(n)}(e,function(e){l(n,e)}),t},t.done=function(e){u(e,[])},t.reset=function(){o={},c={},f={}},t.isDefined=function(e){return e in o},t}();;
22/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
23Drupal.debounce=function(func,wait,immediate){let timeout;let result;return function(...args){const context=this;const later=function(){timeout=null;if(!immediate)result=func.apply(context,args);};const callNow=immediate&&!timeout;clearTimeout(timeout);timeout=setTimeout(later,wait);if(callNow)result=func.apply(context,args);return result;};};;
24(function(Drupal,debounce){let liveElement;const announcements=[];Drupal.behaviors.drupalAnnounce={attach(context){if(!liveElement){liveElement=document.createElement('div');liveElement.id='drupal-live-announce';liveElement.className='visually-hidden';liveElement.setAttribute('aria-live','polite');liveElement.setAttribute('aria-busy','false');document.body.appendChild(liveElement);}}};function announce(){const text=[];let priority='polite';let announcement;const il=announcements.length;for(let i=0;i<il;i++){announcement=announcements.pop();text.unshift(announcement.text);if(announcement.priority==='assertive')priority='assertive';}if(text.length){liveElement.innerHTML='';liveElement.setAttribute('aria-busy','true');liveElement.setAttribute('aria-live',priority);liveElement.innerHTML=text.join('\n');liveElement.setAttribute('aria-busy','false');}}Drupal.announce=function(text,priority){announcements.push({text,priority});return debounce(announce,200)();};})(Drupal,Drupal.debounce);;
25((Drupal)=>{Drupal.Message=class{constructor(messageWrapper=null){if(!messageWrapper)this.messageWrapper=Drupal.Message.defaultWrapper();else this.messageWrapper=messageWrapper;}static defaultWrapper(){let wrapper=document.querySelector('[data-drupal-messages]')||document.querySelector('[data-drupal-messages-fallback]');if(!wrapper){wrapper=document.createElement('div');document.body.appendChild(wrapper);}if(wrapper.hasAttribute('data-drupal-messages-fallback')){wrapper.removeAttribute('data-drupal-messages-fallback');wrapper.classList.remove('hidden');}wrapper.setAttribute('data-drupal-messages','');return wrapper.innerHTML===''?Drupal.Message.messageInternalWrapper(wrapper):wrapper.firstElementChild;}static getMessageTypeLabels(){return {status:Drupal.t('Status message'),error:Drupal.t('Error message'),warning:Drupal.t('Warning message')};}add(message,options={}){if(!options.hasOwnProperty('type'))options.type='status';if(typeof message!=='string')throw new Error('Message must be a string.');Drupal.Message.announce(message,options);options.id=options.id?String(options.id):`${options.type}-${Math.random().toFixed(15).replace('0.','')}`;if(!Drupal.Message.getMessageTypeLabels().hasOwnProperty(options.type)){const {type}=options;throw new Error(`The message type, ${type}, is not present in Drupal.Message.getMessageTypeLabels().`);}this.messageWrapper.appendChild(Drupal.theme('message',{text:message},options));return options.id;}select(id){return this.messageWrapper.querySelector(`[data-drupal-message-id^="${id}"]`);}remove(id){return this.messageWrapper.removeChild(this.select(id));}clear(){this.messageWrapper.querySelectorAll('[data-drupal-message-id]').forEach((message)=>{this.messageWrapper.removeChild(message);});}static announce(message,options){if(!options.priority&&(options.type==='warning'||options.type==='error'))options.priority='assertive';if(options.announce!=='')Drupal.announce(options.announce||message,options.priority);}static messageInternalWrapper(messageWrapper){const innerWrapper=document.createElement('div');innerWrapper.setAttribute('class','messages__wrapper');messageWrapper.insertAdjacentElement('afterbegin',innerWrapper);return innerWrapper;}};Drupal.theme.message=({text},{type,id})=>{const messagesTypes=Drupal.Message.getMessageTypeLabels();const messageWrapper=document.createElement('div');messageWrapper.setAttribute('class',`messages messages--${type}`);messageWrapper.setAttribute('role',type==='error'||type==='warning'?'alert':'status');messageWrapper.setAttribute('data-drupal-message-id',id);messageWrapper.setAttribute('data-drupal-message-type',type);messageWrapper.setAttribute('aria-label',messagesTypes[type]);messageWrapper.innerHTML=`${text}`;return messageWrapper;};})(Drupal);;
26((Drupal)=>{Drupal.theme.ajaxProgressIndicatorFullscreen=()=>'<div class="ajax-progress ajax-progress--fullscreen">
26<div class="ajax-progress__throbber ajax-progress__throbber--fullscreen">&nbsp;</div></div>';Drupal.theme.ajaxProgressThrobber=(message)=>{const messageMarkup=typeof message==='string'?Drupal.theme('ajaxProgressMessage',message):'';const throbber='<div class="ajax-progress__throbber">&nbsp;</div>';return `<div class="ajax-progress ajax-progress--throbber">${throbber}${messageMarkup}</div>`;};Drupal.theme.ajaxProgressMessage=(message)=>`<div class="ajax-progress__message">${message}</div>`;})(Drupal);;
27(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={url:$(el.form).attr('action'),setClick:true,event:'click',progress:{type:'throbber'},base:el.id,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?.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.hasOwnProperty(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=JSON.parse(response);if(response!==null&&!drupalSettings.ajaxTrustedUrl.hasOwnProperty(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;
27$(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.hasOwnProperty(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">&nbsp;</div>';return `<div class="ajax-progress ajax-progress-throbber">${throbber}${messageMarkup}</div>`;};Drupal.theme.ajaxProgressIndicatorFullscreen=()=>'<div class="ajax-progress ajax-progress-fullscreen">&nbsp;</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
27d}`,$.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 template=fragment.appendChild(document.createElement('template'));template.innerHTML=htmlString;return template.content.childNodes;};let $newContent=$(parseHTML(response.data));
27$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){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;if(!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){document.querySelector(response.selector)?.scrollIntoView();}};const stopEvent=(xhr,settings)=>{return (xhr.getResponseHeader('X-Drupal-Ajax-Token')==='1'&&typeof settings.isInProgress==='function'&&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);;
28(function(Drupal){Drupal.theme.ajaxProgressBar=function($element){return $element.addClass('ajax-progress ajax-progress-bar');};})(Drupal);;
29(function(Drupal){Drupal.AjaxCommands.prototype.gtagEvent=function(ajax,response){gtag('event',response.event_name,response.data);};})(Drupal);;
30(function($,Drupal,drupalSettings,once){Drupal.meta_conversions_api={};
30Drupal.meta_conversions_api.shouldSend=function(eventName){if(!drupalSettings.hasOwnProperty('meta_conversions_api'))return false;if(!drupalSettings.meta_conversions_api.enabled)return false;if(!Drupal.meta_conversions_api.allowedCallback())return false;return drupalSettings.meta_conversions_api.events[eventName];};Drupal.meta_conversions_api.allowedCallback=function(){return true;};Drupal.behaviors.metaPageView={attach(context){if(!once('meta-conversions-api-page-view','html').length)return;if(Drupal.meta_conversions_api.shouldSend('PageView'))$.ajax({url:'/ajax/page-view',data:{url:window.location.href}});}};})(jQuery,Drupal,drupalSettings,once);;
31/* @license MIT https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html */
32(function($,Drupal,once){Drupal.behaviors.superfish={attach(context,drupalSettings){$.each(drupalSettings.superfish||{},function(index,options){$(once('superfish',`ul#${options.id}`,context)).each(function(){const $menu=$(this);if(options.plugins)if(options.plugins.supersubs)$menu.supersubs(options.plugins.supersubs);$menu.superfish(options.sf);if(options.plugins){if(options.plugins.touchscreen)$menu.sftouchscreen(options.plugins.touchscreen);if(options.plugins.smallscreen)$menu.sfsmallscreen(options.plugins.smallscreen);if(options.plugins.supposition)$menu.supposition();}});});}};})(jQuery,Drupal,once);;
33/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
34(function($){$.fn.superfish=function(superfish_options){const cssClasses=sf.cssClasses;
34const $arrow=$(`<span class="${cssClasses.arrowClass}"> &#187;</span>`);const over=function(){const $$=$(this);const menu=getMenu($$);clearTimeout(menu.sfTimer);$$.showSuperfishUl().siblings().hideSuperfishUl();};const out=function(){const $$=$(this);const menu=getMenu($$);const options=sf.options;clearTimeout(menu.sfTimer);menu.sfTimer=setTimeout(function(){if($$.children('.sf-clicked').length===0){options.retainPath=($.inArray($$[0],options.$path)>-1);$$.hideSuperfishUl();if(options.$path.length&&$$.parents(`li.${cssClasses.hoverClass}`).length<1)over.call(options.$path);}},options.delay);};const getMenu=function($menu){const menu=$menu.parents(`ul.${cssClasses.menuClass}:first`)[0];sf.options=sf.optionsList[menu.serial];return menu;};const addArrow=function($a){$a.addClass(cssClasses.anchorClass).append($arrow.clone());};return this.each(function(){const s=this.serial=sf.optionsList.length;const options=$.extend({},sf.defaults,superfish_options);options.$path=$(`li.${options.pathClass}`,this).slice(0,options.pathLevels);const path=options.$path;for(let l=0;l<path.length;l++)path.eq(l).addClass(`${cssClasses.hoverClass} ${cssClasses.bcClass}`).filter('li:has(ul)').removeClass(options.pathClass);sf.optionsList[s]=sf.options=options;$('li:has(ul)',this)[($.fn.hoverIntent&&!options.disableHI)?'hoverIntent':'hover'](over,out).each(function(){if(options.autoArrows)addArrow($(this).children('a:first-child, span.nolink:first-child'));}).not('.'+cssClasses.bcClass).hideSuperfishUl();const $a=$('a, span.nolink',this);$a.each(function(i){const $li=$a.eq(i).parents('li');$a.eq(i).focus(function(){over.call($li);}).blur(function(){out.call($li);});});options.onInit.call(this);}).each(function(){const menuClasses=[cssClasses.menuClass];if(sf.options.dropShadows)menuClasses.push(cssClasses.shadowClass);$(this).addClass(menuClasses.join(' '));});};const sf=$.fn.superfish;sf.optionsList=[];sf.options={};sf.cssClasses={bcClass:'sf-breadcrumb',menuClass:'sf-js-enabled',anchorClass:'sf-with-ul',arrowClass:'sf-sub-indicator',shadowClass:'sf-shadow',hiddenClass:'sf-hidden',hoverClass:'sfHover'};sf.defaults={pathClass:'overideThisToUse',pathLevels:1,delay:800,animation:{opacity:'show'},speed:'fast',autoArrows:true,dropShadows:true,disableHI:false,onInit:function(){},onBeforeShow:function(){},onShow:function(){},onHide:function(){}};$.fn.extend({hideSuperfishUl:function(){const options=sf.options;const not=options.retainPath===true?options.$path:'';options.retainPath=false;const $ul=$(`li.${sf.cssClasses.hoverClass}`,this).add(this).not(not).removeClass(sf.cssClasses.hoverClass).children('ul').addClass(sf.cssClasses.hiddenClass);options.onHide.call($ul);return this;},showSuperfishUl:function(){this.removeClass(sf.cssClasses.hiddenClass);const options=sf.options;const $ul=this.addClass(sf.cssClasses.hoverClass).children(`ul.${sf.cssClasses.hiddenClass}`).hide().removeClass(sf.cssClasses.hiddenClass);options.onBeforeShow.call($ul);$ul.animate(options.animation,options.speed,function(){options.onShow.call($ul);});return this;}});})(jQuery);;
35/*!
36 * hoverIntent v1.10.1 // 2019.10.05 // jQuery v1.7.0+
37 * http://briancherne.github.io/jquery-hoverIntent/
38 *
39 * You may use hoverIntent under the terms of the MIT license. Basically that
40 * means you are free to use hoverIntent as long as this header is left intact.
41 * Copyright 2007-2019 Brian Cherne
42 */
43!function(factory){"use strict";"function"==typeof define&&define.amd?define(["jquery"],factory):"object"==typeof module&&module.exports?module.exports=factory(require("jquery")):jQuery&&!jQuery.fn.hoverIntent&&factory(jQuery)}(function($){"use strict";function track(ev){cX=ev.pageX,cY=ev.pageY}var cX,cY,_cfg={interval:100,sensitivity:6,timeout:0},INSTANCE_COUNT=0,compare=function(ev,$el,s,cfg){if(Math.sqrt((s.pX-cX)*(s.pX-cX)+(s.pY-cY)*(s.pY-cY))<cfg.sensitivity)return $el.off(s.event,track),delete s.timeoutId,s.isActive=!0,ev.pageX=cX,ev.pageY=cY,delete s.pX,delete s.pY,cfg.over.apply($el[0],[ev]);s.pX=cX,s.pY=cY,s.timeoutId=setTimeout(function(){compare(ev,$el,s,cfg)},cfg.interval)};$.fn.hoverIntent=function(handlerIn,handlerOut,selector){var instanceId=INSTANCE_COUNT++,cfg=$.extend({},_cfg);$.isPlainObject(handlerIn)?(cfg=$.extend(cfg,handlerIn),(typeof cfg.out==="function")||(cfg.out=cfg.over)):cfg=(typeof handlerOut==="function")?$.extend(cfg,{over:handlerIn,out:handlerOut,selector:selector}):$.extend(cfg,{over:handlerIn,out:handlerIn,selector:handlerOut});function handleHover(e){var ev=$.extend({},e),$el=$(this),hoverIntentData=$el.data("hoverIntent");hoverIntentData||$el.data("hoverIntent",hoverIntentData={});var state=hoverIntentData[instanceId];state||(hoverIntentData[instanceId]=state={id:instanceId}),state.timeoutId&&(state.timeoutId=clearTimeout(state.timeoutId));
43var mousemove=state.event="mousemove.hoverIntent.hoverIntent"+instanceId;if("mouseenter"===e.type){if(state.isActive)return;state.pX=ev.pageX,state.pY=ev.pageY,$el.off(mousemove,track).on(mousemove,track),state.timeoutId=setTimeout(function(){compare(ev,$el,state,cfg)},cfg.interval)}else{if(!state.isActive)return;$el.off(mousemove,track),state.timeoutId=setTimeout(function(){!function(ev,$el,s,out){var data=$el.data("hoverIntent");data&&delete data[s.id],out.apply($el[0],[ev])}(ev,$el,state,cfg.out)},cfg.timeout)}}return this.on({"mouseenter.hoverIntent":handleHover,"mouseleave.hoverIntent":handleHover},cfg.selector)}});;
44(function($){$.fn.sfsmallscreen=function(options){options=$.extend({mode:'inactive',type:'accordion',breakpoint:768,breakpointUnit:'px',useragent:'',title:'',addSelected:false,menuClasses:false,hyperlinkClasses:false,excludeClass_menu:'',excludeClass_hyperlink:'',includeClass_menu:'',includeClass_hyperlink:'',accordionButton:1,expandText:'Expand',collapseText:'Collapse'},options);function refine(menu){const refined=menu.clone();const rm=refined.find('span.sf-sub-indicator');const rh=refined.find('.sf-smallscreen-remove');const mm=refined.find('ul.sf-multicolumn');for(let a=0;a<rh.length;a++)rh.eq(a).replaceWith(rh.eq(a).html());if(options.accordionButton===2||options.type==='select'){for(let b=0;b<rm.length;b++)rm.eq(b).remove();}if(mm.length>0){mm.removeClass('sf-multicolumn');const ol=refined.find('div.sf-multicolumn-column > ol');for(let o=0;o<ol.length;o++)ol.eq(o).replaceWith('<ul>'+ol.eq(o).html()+'</ul>');const elements=['div.sf-multicolumn-column','.sf-multicolumn-wrapper > ol','li.sf-multicolumn-wrapper'];for(let i=0;i<elements.length;i++){let obj=refined.find(elements[i]);for(let t=0;t<obj.length;t++)obj.eq(t).replaceWith(obj.eq(t).html());}refined.find('.sf-multicolumn-column').removeClass('sf-multicolumn-column');}refined.add(refined.find('*')).css({width:''});return refined;}function toSelect(menu,level){let items='';const childLI=$(menu).children('li');for(let a=0;a<childLI.length;a++){const list=childLI.eq(a);const parent=list.children('a, span');for(let b=0;b<parent.length;b++){const item=parent.eq(b);const path=(item.is('a')&&!!item.attr('href'))?item.attr('href'):'';const itemClone=item.clone();let classes=(options.hyperlinkClasses)?((options.excludeClass_hyperlink&&itemClone.hasClass(options.excludeClass_hyperlink))?itemClone.removeClass(options.excludeClass_hyperlink).attr('class'):itemClone.attr('class')):'';classes=(options.includeClass_hyperlink&&!itemClone.hasClass(options.includeClass_hyperlink))?((options.hyperlinkClasses)?itemClone.addClass(options.includeClass_hyperlink).attr('class'):options.includeClass_hyperlink):classes;if(options.addSelected&&item.hasClass('active'))classes+=' active';classes=classes?' class="'+classes+'"':'';const disable=path===''||path==='#'?' disabled="disabled"':'';const subIndicator=1<level?Array(level).join('-')+' ':'';items+='<option value="'+path+'"'+classes+disable+'>'+subIndicator+item.text().trim()+'</option>';const childUL=list.find('> ul');for(let u=0;u<childUL.length;u++)items+=toSelect(childUL.eq(u),level+1);}}return items;}function convert(menu){const menuID=menu.attr('id');const refinedMenu=refine(menu);if(options.type==='accordion'){const toggleID=menuID+'-toggle';const accordionID=menuID+'-accordion';if($('#'+accordionID).length!==0)return;const styleClass=menu.attr('class').split(' ').filter(function(item){return item.indexOf('sf-style-')>-1?item:'';});const accordion=$(refinedMenu).attr('id',accordionID);accordion.removeClass('sf-horizontal sf-vertical sf-navbar sf-shadow sf-js-enabled');accordion.addClass('sf-accordion sf-hidden');accordion.find('li').each(function(){$(this).removeAttr('style').removeClass('sfHover').attr('id',$(this).attr('id')+'-accordion');});accordion.children('ul').removeAttr('style').not('.sf-hidden').addClass('sf-hidden');accordion.find('ul').each(function(){$(this).removeAttr('style').not('.sf-hidden').addClass('sf-hidden');});const toggle='<div class="sf-accordion-toggle '+styleClass+'"><a href="#" id="'+toggleID+'"><span>'+options.title+'</span></a></div>';if(options.accordionButton===2){accordion.addClass('sf-accordion-with-buttons');const parent=accordion.find('li.menuparent');for(let i=0;i<parent.length;i++)parent.eq(i).prepend('<a href="#" class="sf-accordion-button">'+options.expandText+'</a>');}menu.before(toggle).before(accordion).hide();const $accordionElement=$('#'+accordionID);const buttonElement=(options.accordionButton<2)?'a.menuparent,span.nolink.menuparent':'a.sf-accordion-button';const $button=$accordionElement.find(buttonElement);$('#'+toggleID).on('click',function(e){e.preventDefault();$(this).toggleClass('sf-expanded');if($accordionElement.hasClass('sf-expanded')){$accordionElement.add($accordionElement.find('li.sf-expanded')).removeClass('sf-expanded').end().children('ul').hide().end().hide().addClass('sf-hidden').show();if(options.accordionButton===2)$accordionElement.find('a.sf-accordion-button').text(options.expandText);}else $accordionElement.addClass('sf-expanded').hide().removeClass('sf-hidden').show();});$button.on('click',function(e){if($(this).closest('li').children('ul').length===0)return;e.preventDefault();const $parent=$(this).closest('li');if(options.accordionButton===1&&$parent.children('a.menuparent,span.nolink.menuparent').length>0&&$parent.children('ul').children('li.sf-clone-parent').length===0){let cloneLink=$parent.children('a.menuparent').clone();cloneLink.removeClass('menuparent sf-with-ul').children('.sf-sub-indicator').remove();cloneLink=$('<li class="sf-clone-parent" />').html(cloneLink);$parent.children('ul').addClass('sf-has-clone-parent').prepend(clone
44Link);}if(options.accordionButton===0||options.accordionButton===1)$accordionElement.find('a.is-active:not(.menuparent)').on('click',function(e){$accordionElement.removeClass('sf-expanded').addClass('sf-hidden');});if(options.accordionButton===2)$accordionElement.find('a.is-active').on('click',function(e){$accordionElement.removeClass('sf-expanded').addClass('sf-hidden');});if($parent.hasClass('sf-expanded')){$parent.children('ul').slideUp('fast',function(){$(this).closest('li').removeClass('sf-expanded').end().addClass('sf-hidden').show();});if(options.accordionButton===2&&$parent.children('.sf-accordion-button').length>0)$parent.children('.sf-accordion-button').text(options.expandText);}else $parent.children('ul').hide().removeClass('sf-hidden').slideDown('fast').end().addClass('sf-expanded').children('a.sf-accordion-button').text(options.collapseText).end().siblings('li.sf-expanded').children('ul').slideUp('fast',function(){$(this).closest('li').removeClass('sf-expanded').end().addClass('sf-hidden').show();}).parent().children('a.sf-accordion-button').text(options.expandText);});}else{const menuClone=menu.clone();let classes=options.menuClasses?((options.excludeClass_menu&&menuClone.hasClass(options.excludeClass_menu))?menuClone.removeClass(options.excludeClass_menu).attr('class'):menuClone.attr('class')):'';classes=options.includeClass_menu&&!menuClone.hasClass(options.includeClass_menu)?((options.menuClasses)?menuClone.addClass(options.includeClass_menu).attr('class'):options.includeClass_menu):classes;classes=classes?' class="'+classes+'"':'';if($('#'+menuID+'-select').length!==0)return;const newMenu=toSelect(refinedMenu,1);const selectList=$('<select '+classes+' id="'+menuID+'-select"/>').html('<option>'+options.title+'</option>'+newMenu).change(function(){if($('option:selected',this).index())window.location=selectList.val();});if(options.addSelected)selectList.find('.active').attr('selected',!0);menu.before(selectList).hide();}}function turnBack(menu){const id='#'+menu.attr('id');$(id+'-'+options.type).remove();if(options.type==='accordion')$(id+'-toggle').parent('div').remove();$(id).css('display','');}for(let s=0;s<this.length;s++){const menu=$(this).eq(s);const mode=options.mode;if(menu.children('li').length===0){}else if(mode==='always_active')convert(menu);else if(mode==='window_width'){const breakpoint=options.breakpointUnit==='em'?options.breakpoint*parseFloat($('body').css('font-size')):options.breakpoint;const windowWidth=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;let timer;if((typeof Modernizr==='undefined'||typeof Modernizr.mq!=='function')&&windowWidth<breakpoint)convert(menu);else{if(typeof Modernizr!=='undefined'&&typeof Modernizr.mq==='function'&&Modernizr.mq('(max-width:'+(breakpoint-1)+'px)'))convert(menu);}$(window).resize(function(){clearTimeout(timer);timer=setTimeout(function(){const windowWidth=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;if((typeof Modernizr==='undefined'||typeof Modernizr.mq!=='function')&&windowWidth<breakpoint)convert(menu);else if(typeof Modernizr!=='undefined'&&typeof Modernizr.mq==='function'&&Modernizr.mq('(max-width:'+(breakpoint-1)+'px)'))convert(menu);else turnBack(menu);},50);});}else if(mode==='useragent_custom'){if(options.useragent!==''){const ua=RegExp(options.useragent,'i');if(navigator.userAgent.match(ua))convert(menu);}}else{if(mode==='useragent_predefined'&&navigator.userAgent.match(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od|ad)|iris|kindle|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i))convert(menu);}}return this;};})(jQuery);;
45(function($){$.fn.supersubs=function(options){const superfish_options=$.extend({},$.fn.supersubs.defaults,options);let size;let o;for(let a=0;a<this.length;a++){let $$=$(this).eq(a);o=$.meta?$.extend({},superfish_options,$$.data()):superfish_options;if($$.hasClass('sf-navbar'))$$=$$.children('li').children('ul');let $ULs=$$.find('ul');if($ULs.length){let fontsize=$('<li id="menu-fontsize">&#8212;</li>');size=fontsize.attr('style','padding:0;position:absolute;top:-99999em;width:auto;').appendTo($$)[0].clientWidth;fontsize.remove();for(let b=0;b<$ULs.length;b++){let $ul=$ULs.eq(b);if(o.multicolumn&&$ul.hasClass('sf-multicolumn')&&$ul.find('.sf-multicolumn-column').length>0){let $column=$ul.find('div.sf-multicolumn-column > ol');let mwWidth=0;for(let d=0;d<$column.length;d++){resize($column.eq(d));let colWidth=Math.ceil($column.width());$column.css({width:colWidth}).parents('.sf-multicolumn-column').css({width:colWidth});mwWidth+=colWidth;}$ul.add($ul.find('li.sf-multicolumn-wrapper, li.sf-multicolumn-wrapper > ol')).css({width:mwWidth});}else resize($ul);}}}function resize($ul){const $LIs=$ul.children();const $As=$LIs.children('a');$LIs.css('white-space','nowrap');$ul.add($LIs).add($As).css({float:'none',width:'auto'});let emWidth=$ul.get(0).clientWidth/size;emWidth+=o.extraWidth;
45if(emWidth>o.maxWidth)emWidth=o.maxWidth;else{if(emWidth<o.minWidth)emWidth=o.minWidth;}emWidth+='em';$ul.css({width:emWidth});$LIs.add($As).css({float:'',width:'',whiteSpace:''});for(let c=0;c<$LIs.length;c++){let $childUl=$LIs.eq(c).children('ul');let offsetDirection=$childUl.css('left')!==undefined?'left':'right';$childUl.css(offsetDirection,'100%');}}return this;};$.fn.supersubs.defaults={multicolumn:true,minWidth:12,maxWidth:27,extraWidth:1};})(jQuery);;
46(function(Drupal,drupalSettings){Drupal.behaviors.activeLinks={attach(context){const path=drupalSettings.path;const queryString=JSON.stringify(path.currentQuery);const querySelector=queryString?`[data-drupal-link-query="${CSS.escape(queryString)}"]`:':not([data-drupal-link-query])';const originalSelectors=[`[data-drupal-link-system-path="${CSS.escape(path.currentPath)}"]`];let selectors;if(path.isFront)originalSelectors.push('[data-drupal-link-system-path="<front>"]');selectors=[].concat(originalSelectors.map((selector)=>`${selector}:not([data-drupal-language]):not([hreflang])`),originalSelectors.map((selector)=>`li${selector}[data-drupal-language="${path.currentLanguage}"]`),originalSelectors.map((selector)=>`a${selector}[hreflang="${path.currentLanguage}"]`));selectors=selectors.map((current)=>current+querySelector);context.querySelectorAll(selectors.join(',')).forEach((activeLink)=>{activeLink.classList.add('is-active');activeLink.setAttribute('aria-current','page');});},detach(context,settings,trigger){if(trigger==='unload')context.querySelectorAll('[data-drupal-link-system-path].is-active').forEach((activeLink)=>{activeLink.classList.remove('is-active');activeLink.removeAttribute('aria-current');});}};})(Drupal,drupalSettings);;
47const debounce=(callback,wait)=>{let timeoutId=null;return (...args)=>{window.clearTimeout(timeoutId);timeoutId=window.setTimeout(()=>{callback.apply(null,args);},wait);};};;
48;(function($){$.fn.cardtable=function(options){var $tables=this,defaults={headIndex:0},settings=$.extend({},defaults,options),headIndex;if(options&&options.headIndex)headIndex=options.headIndex;else headIndex=0;return $tables.each(function(){var $table=$(this);if($table.hasClass('stacktable'))return;var table_css=$(this).prop('class');var $stacktable=$('<div></div>');if(typeof settings.myClass!=='undefined')$stacktable.addClass(settings.myClass);var markup='';var $caption,$topRow,headMarkup,bodyMarkup,tr_class;$table.addClass('stacktable large-only');$caption=$table.find(">caption").clone();$topRow=$table.find('>thead>tr,>tbody>tr,>tfoot>tr,>tr').eq(0);$table.siblings().filter('.small-only').remove();$table.find('>tbody>tr').each(function(){headMarkup='';bodyMarkup='';tr_class=$(this).prop('class');$(this).find('>td,>th').each(function(cellIndex){if($(this).html()!==''){bodyMarkup+='<tr class="'+tr_class+'">';if($topRow.find('>td,>th').eq(cellIndex).html())bodyMarkup+='<td class="st-key">'+$topRow.find('>td,>th').eq(cellIndex).html()+'</td>';else bodyMarkup+='<td class="st-key"></td>';bodyMarkup+='<td class="st-val '+$(this).prop('class')+'">'+$(this).html()+'</td>';bodyMarkup+='</tr>';}});markup+='<table class=" '+table_css+' stacktable small-only"><tbody>'+headMarkup+bodyMarkup+'</tbody></table>';});$table.find('>tfoot>tr>td').each(function(rowIndex,value){if($.trim($(value).text())!=='')markup+='<table class="'+table_css+' stacktable small-only"><tbody><tr><td>'+$(value).html()+'</td></tr></tbody></table>';});$stacktable.prepend($caption);$stacktable.append($(markup));$table.before($stacktable);});};$.fn.stacktable=function(options){var $tables=this,defaults={headIndex:0,displayHeader:true},settings=$.extend({},defaults,options),headIndex;if(options&&options.headIndex)headIndex=options.headIndex;else headIndex=0;return $tables.each(function(){var table_css=$(this).prop('class');var $stacktable=$('<table class="'+table_css+' stacktable small-only"><tbody></tbody></table>');if(typeof settings.myClass!=='undefined')$stacktable.addClass(settings.myClass);var markup='';var $table,$caption,$topRow,headMarkup,bodyMarkup,tr_class,displayHeader;$table=$(this);$table.addClass('stacktable large-only');$caption=$table.find(">caption").clone();$topRow=$table.find('>thead>tr,>tbody>tr,>tfoot>tr').eq(0);displayHeader=$table.data('display-header')===undefined?settings.displayHeader:$table.data('display-header');$table.find('>tbody>tr, >thead>tr').each(function(rowIndex){headMarkup='';bodyMarkup='';tr_class=$(this).prop('class');if(rowIndex===0){if(displayHeader)markup+='<tr class=" '+tr_class+' "><th class="st-head-row st-head-row-main" colspan="2">'+$(this).find('>th,>
48td').eq(headIndex).html()+'</th></tr>';}else{$(this).find('>td,>th').each(function(cellIndex){if(cellIndex===headIndex)headMarkup='<tr class="'+tr_class+'"><th class="st-head-row" colspan="2">'+$(this).html()+'</th></tr>';else{if($(this).html()!==''){bodyMarkup+='<tr class="'+tr_class+'">';if($topRow.find('>td,>th').eq(cellIndex).html())bodyMarkup+='<td class="st-key">'+$topRow.find('>td,>th').eq(cellIndex).html()+'</td>';else bodyMarkup+='<td class="st-key"></td>';bodyMarkup+='<td class="st-val '+$(this).prop('class')+'">'+$(this).html()+'</td>';bodyMarkup+='</tr>';}}});markup+=headMarkup+bodyMarkup;}});$stacktable.prepend($caption);$stacktable.append($(markup));$table.before($stacktable);});};$.fn.stackcolumns=function(options){var $tables=this,defaults={},settings=$.extend({},defaults,options);return $tables.each(function(){var $table=$(this);var $caption=$table.find(">caption").clone();var num_cols=$table.find('>thead>tr,>tbody>tr,>tfoot>tr').eq(0).find('>td,>th').length;if(num_cols<3)return;var $stackcolumns=$('<table class="stacktable small-only"></table>');if(typeof settings.myClass!=='undefined')$stackcolumns.addClass(settings.myClass);$table.addClass('stacktable large-only');var tb=$('<tbody></tbody>');var col_i=1;while(col_i<num_cols){$table.find('>thead>tr,>tbody>tr,>tfoot>tr').each(function(index){var tem=$('<tr></tr>');if(index===0)tem.addClass("st-head-row st-head-row-main");var first=$(this).find('>td,>th').eq(0).clone().addClass("st-key");var target=col_i;if($(this).find("*[colspan]").length){var i=0;$(this).find('>td,>th').each(function(){var cs=$(this).attr("colspan");if(cs){cs=parseInt(cs,10);target-=cs-1;if((i+cs)>(col_i))target+=i+cs-col_i-1;i+=cs;}else i++;if(i>col_i)return false;});}var second=$(this).find('>td,>th').eq(target).clone().addClass("st-val").removeAttr("colspan");tem.append(first,second);tb.append(tem);});++col_i;}$stackcolumns.append($(tb));$stackcolumns.prepend($caption);$table.before($stackcolumns);});};}(jQuery));;
49(function($,Drupal,drupalSettings){'use strict';Drupal.behaviors.uneMobileMenu={attach:function(context,settings){once('uneMobileMenu','#block-mobile-menu',context).forEach((element)=>{element.querySelector('.menu-toggle-root').addEventListener('click',function(event){$(element.querySelector('.menu-wrapper')).fadeToggle('fast');element.classList.toggle('open');});element.querySelectorAll('.menu-toggle').forEach((toggle)=>{toggle.addEventListener('click',function(event){var menuItem=event.target.closest('.menu-item');$(menuItem.querySelector(':scope > .menu')).slideToggle('fast');menuItem.classList.toggle('open');});});});}};Drupal.behaviors.uneMobileHeader={attach:function(context,settings){once('uneMobileHeader','body',context).forEach(()=>{var moveMobileBlocks=function(isMobile){var mobileMenuWrapper=document.querySelector('#block-mobile-menu .menu-wrapper');if(isMobile){var regionInner=document.querySelector('.region-utility .region-inner');if(regionInner)mobileMenuWrapper.append(regionInner);var blockSearch=document.querySelector('.region-banner .block-search');if(blockSearch){mobileMenuWrapper.prepend(blockSearch);blockSearch.style.display='block';}}else{var wrapperRegionInner=mobileMenuWrapper.querySelector('.region-inner');if(wrapperRegionInner)document.querySelector('.region-utility').append(wrapperRegionInner);var wrapperBlockSearch=mobileMenuWrapper.querySelector('.block-search');if(wrapperBlockSearch){document.querySelector('.region-banner').prepend(wrapperBlockSearch);wrapperBlockSearch.style.display='none';}}};var mobileQuery=window.matchMedia('(max-width: 1149px)');mobileQuery.addEventListener('change',function(event){moveMobileBlocks(event.matches);});moveMobileBlocks(mobileQuery.matches);});}};})(jQuery,Drupal);;
50(function($,Drupal,drupalSettings){'use strict';Drupal.behaviors.uneHomepageModal={attach:function(context,settings){once('uneHomepageModal','#block-homepage-banner .config_pages[data-modal-media="true"]',context).forEach((element)=>{$('.field--name-field-text a',element).attr('href',$('a.banner-link',element).attr('href'));$('a.banner-link, .field--name-field-text a',element).click(function(ev){ev.preventDefault();$.get(this.href,{},function(data){var $media=$(data).find('.media--view-mode-homepage-modal');var options={html:$media,open:true,fixed:true,maxWidth:'85%'};
50if($media.hasClass('media--type-remote-video')){options.width='85%';options.maxWidth=1200;}$.colorbox(options);});});});}};})(jQuery,Drupal);;
51(function(Drupal,once){'use strict';Drupal.behaviors.uneAnchorFix={attach(context){once('une-anchor-fix','#block-une-content a[id]',context).forEach((anchor)=>{if(anchor.textContent.trim().length!==0)return;let target=anchor;while(!target.previousElementSibling&&target.parentElement)target=target.parentElement;if(!isHeading(target)&&isHeading(target.previousElementSibling))target.previousElementSibling.prepend(anchor);});}};function isHeading(element){return !!element.nodeName.match(/^H[1-6]$/);}})(Drupal,once);;
52(function($,Drupal,drupalSettings){'use strict';Drupal.behaviors.une={attach:function(context,settings){if(context===document){function updateScrollbarWidth(){var scrollbarWidth=window.innerWidth-document.body.clientWidth;document.querySelector(':root').style.setProperty('--scrollbar-width',scrollbarWidth+'px');}updateScrollbarWidth();window.addEventListener('resize',function(){updateScrollbarWidth();});if(typeof $.modal!=='undefined')$.modal.defaults.fadeDuration=200;}const editActions=document.querySelector('.layout-builder-form #edit-actions');if(editActions){let adjustment=78;const fixmeTop=editActions.getBoundingClientRect().top+window.scrollY-adjustment;window.addEventListener('scroll',function(){const currentScroll=window.scrollY;if(currentScroll>=fixmeTop){editActions.style.position='fixed';editActions.style.width=document.querySelector('#layout-builder').offsetWidth+'px';editActions.style.top=adjustment+'px';editActions.style.marginTop='0';}else editActions.style.position='static';});}const video=document.querySelector('#video');const videoAlt=document.querySelector('#video-alt');if(video&&videoAlt){video.style.display='none';videoAlt.style.display='block';if(window.innerWidth>1024)window.onload=(event)=>{video.play();video.style.display='block';videoAlt.style.display='none';};}once('bxSlider','.field-gallery-media',context).forEach((element)=>{var slider=$(element).bxSlider({keyboardEnabled:true});slider.closest('.bx-wrapper').keydown(function(e){if(e.keyCode===39){slider.goToNextSlide();return false;}else{if(e.keyCode===37){slider.goToPrevSlide();return false;}}});});$(once('content-stack','#block-une-content table',context)).not('.js-drupal-fullcalendar table').cardtable();if(window.location.pathname==='/')document.querySelectorAll('.page-node-46125 h1, .page-node-46125 h2, '+'.page-node-46108 h2, .page-node-48336 h1, .page-node-48336 h2, '+'.page-node-48337 h1, .page-node-48337 h2, .page-node-48359 h1, '+'.page-node-48359 h2, .page-node-type-program h1, '+'.page-node-type-program h2').forEach(function(el){let originalText=el.textContent.trim();const text=originalText.split(' ');if(text.length===1)return;const first=text.shift();el.innerHTML=text.length>0?first+" <span class='highlight'>"+text.join(' ')+'</span> ':first;});once('uneSiteSearch','#search-toggle a',context).forEach(function(link){link.addEventListener('click',function(e){e.preventDefault();$('#block-searchform').slideToggle(350);document.querySelector('#search-toggle').classList.toggle('expanded');document.querySelector('#search-block-form input.form-search').focus();});});if($.fn.youtube_background&&!$('body').hasClass('yt-processed')){$('[data-youtube]',context).youtube_background();$('body').addClass('yt-processed');}once('scholarships-table','.view-id-student_financial_aid_scholarships.view-display-id-page_1',context).forEach((element)=>{element.querySelectorAll('.description-wrapper').forEach(function(wrapper){if(wrapper.clientHeight!==wrapper.scrollHeight){let readMoreLink=document.createElement('div');readMoreLink.className='read-more';readMoreLink.innerHTML='<a href="#">Read more</a>';wrapper.insertAdjacentElement('afterend',readMoreLink);readMoreLink.querySelector('a').addEventListener('click',function(ev){ev.preventDefault();let td=this.closest('td.views-field-body');this.textContent=td.classList.contains('description-full')?'Read more':'Read less';td.classList.toggle('description-full');});}});});once('mainNavKeyboard','#superfish-main').forEach((element)=>{element.querySelectorAll('a').forEach((link)=>{link.addEventListener('keydown',function(event){if(link.classList.contains('sf-depth-1'))if(event.key==='ArrowLeft')link.parentElement.previousElementSibling?.querySelector(':scope > a')?.focus();else if(event.key==='ArrowRight')link.parentElement.nextElementSibling?.querySelector(':scope > a')?.focus();else{if(event.key==='ArrowDown'){link.nextElementSibling?.querySelector('a')?.focus();event.preventDefault();}}if(link.classList.contains('sf-depth-2'))if(event.key==='ArrowLeft')link.parentElement.parentElement.previousElementSibling?.querySelector('a')?.focus();else if(event.key==='ArrowRight')link.parentElement.parentElement.nextElementSibling?.querySelector('a')?.focus();else if(event.key==='ArrowUp'){link.closest('li.sf-depth-1')?.querySelector(':scope > a')?.focus();event.preventDefault();}else{if(event.key==='ArrowDown'){link.nextElementSibling?.querySelector('a')?.focus();event.preventDefault();}}if(link.classList.contains('sf-depth-3'))if(event.key==='ArrowLeft'){const parentLi=link.parentElement;const index=Array.prototype.indexOf.call(parentLi.parentElement.children,parentLi);const targetLi=link.closest('li.sf-depth-2')?.previousElementSibling;const links=targetLi?Array.from(targetLi.querySelectorAll('a.sf-depth-3')):[];if(links.length>index)links[index].focus();else{if(links.length)links[links.length-1].focus();}}else if(event.key==='ArrowRight'){const parentLi=link.parentElement;const index=Array.prototype.indexOf.call(parentLi.parentElement.children,parentLi);const targetLi=link.closest('li.sf-depth-2')?.nextElementSibling;const links=targetLi?Array.from(targetLi.querySelectorAll('a.sf-depth-3')):[];if(links.length>index)links[index].focus();else{if(links.length)links[links.length-1].focus();}}else if(event.key==='ArrowUp'){const prevLi=link.parentElement.previousElementSibling;if(prevLi)prevLi.querySelector(':scope > a')?.focus();else link.closest('li.sf-depth-2')?.querySelector('a')?.focus();event.preventDefault();}else{if(event.key==='ArrowDown'){link.parentElement.nextElementSibling?.querySelector(':scope > a')?.focus();event.preventDefault();}}if(event.key==='Escape'){const firstLink=document.querySelector('#superfish-main a');if(firstLink){firstLink.focus();firstLink.blur();}}
52});});});once('social-share-copy','.social-share-btns .copy-link').forEach((copyLink)=>{copyLink.addEventListener('click',(event)=>{event.preventDefault();event.stopPropagation();const url=settings.current_url;if(url)navigator.clipboard.writeText(url).then(()=>{const copyMsg=document.createElement('span');copyMsg.classList.add('social-share-copy-msg');copyMsg.textContent='Link copied!';event.target.insertAdjacentElement('afterend',copyMsg);window.setTimeout(()=>{copyMsg.remove();},5000);});});});},detach:function(context,settings){}};Drupal.behaviors.uneVideoGallery={attach:function(context,settings){once('une-video-gallery','.une-video-gallery',context).forEach((element)=>{$(element).find('.field__items').bxSlider({keyboardEnabled:true});});}};Drupal.behaviors.uneIconsWithLinks={attach:function(context,settings){once('une-icons-with-links','.block-type--icons-with-links',context).forEach((block)=>{block.querySelectorAll('.field__items > .field__item > a.text-link').forEach((link)=>{const content=link.textContent.trim();const lastWord=content.split(' ').toReversed()[0];link.innerHTML=link.innerHTML.trim().replace(lastWord,'<span class="last">'+lastWord+'</span>');});});}};Drupal.behaviors.uneDisclosurePattern={attach:function(context,settings){once('une-disclosure-pattern','[data-pattern="disclosure"]',context).forEach((element)=>{const targetId=element.getAttribute('aria-controls');const targetElement=document.getElementById(targetId);if(!targetElement)return;const show=()=>{$(targetElement).show('fast');element.setAttribute('aria-expanded','true');};const hide=()=>{$(targetElement).hide('fast');element.setAttribute('aria-expanded','false');};if(element.getAttribute('aria-expanded')==='true')show();else hide();element.addEventListener('click',(event)=>{if(element.getAttribute('aria-expanded')==='true')hide();else show();});});}};Drupal.behaviors.uneAutoSubmitFilters={attach:function(context,settings){const autoSubmitForms=['#views-exposed-form-events-custom-grad-admissions'];once('une-auto-submit-filters',autoSubmitForms.join(', '),context).forEach((form)=>{const submitButton=form.querySelector('.form-actions .form-submit');const fieldTypes=['select-one','select-multiple','text','textarea','search','tel','url','email','date','number','checkbox','radio'];Array.from(form.elements).forEach((element)=>{if(fieldTypes.includes(element.type))element.addEventListener('change',(event)=>{submitButton.click();});});});}};Drupal.behaviors.uneDecisionTreeForm={attach:function(context,settings){const form=context instanceof HTMLElement&&context.matches('form.decision-tree-form')?context:context.querySelector('form.decision-tree-form');once('une-decision-tree-form',form).forEach((el)=>{const nextButton=el.querySelector('.webform-button--next');const radios=el.querySelectorAll('.webform-options-display-buttons .form-radio');radios.forEach((radio)=>{radio.addEventListener('change',(ev)=>{nextButton.click();});});});}};})(jQuery,Drupal,drupalSettings);;
53(function(Drupal,once){'use strict';Drupal.behaviors.uneGroupMenu={attach:function(context,settings){once('une-group-menu','.block-une-groups-menu-block',context).forEach((block)=>{block.querySelector('.menu-handler').addEventListener('click',(ev)=>{const button=ev.currentTarget;if(button)button.parentElement.classList.toggle('menu-open');});const openSubmenu=function(ev){const button=ev.currentTarget;if(button){button.parentElement.parentElement.classList.toggle('menu-open');button.textContent=(button.textContent==='+')?'–':'+';}};block.querySelectorAll('.menu-toggle').forEach((el)=>{el.addEventListener('click',openSubmenu);});const activeLink=block.querySelector('a.is-active');if(activeLink){let parent=activeLink.parentElement;while(parent!==block){if(parent.classList.contains('menu-item')){parent.classList.add('menu-open');const toggleButton=parent.querySelector('.menu-toggle');
53if(toggleButton)toggleButton.textContent='–';}parent=parent.parentElement;}}const getElementOffset=(el)=>{return el.offsetTop+(el.offsetParent?getElementOffset(el.offsetParent):0);};let offsetTop=getElementOffset(block);if(Drupal.displace){Drupal.displace();const displaceTop=window.getComputedStyle(document.documentElement).getPropertyValue('--drupal-displace-offset-top');if(displaceTop)offsetTop-=parseInt(displaceTop);}window.addEventListener('scroll',(ev)=>{block.classList.toggle('sticky',window.scrollY>(offsetTop-24));});});}};;})(Drupal,once);;
54(function(Drupal){'use strict';Drupal.behaviors.uneTravelCourses={attach:function(context,settings){const view=context instanceof Element&&context.classList.contains('view-id-travel_courses')&&context.classList.contains('view-display-id-block_with_filters')?context:context.querySelector('.view-id-travel_courses.view-display-id-block_with_filters');once('une-travel-courses',view).forEach((view)=>{const filtersForm=view.querySelector('.views-exposed-form');const termSelect=filtersForm['term[]'];const categorySelect=filtersForm['student_category'];const locationSelect=filtersForm['location'];termSelect.chosen({placeholder_text_multiple:'Term',width:'100%'});const resetButton=filtersForm.querySelector('input[id^="edit-reset"]');if(resetButton)resetButton.addEventListener('click',(event)=>{event.preventDefault();termSelect.selectedIndex=-1;categorySelect.value='All';locationSelect.value='';filtersForm.querySelector('input[id^="edit-submit-travel-courses"]').click();});});}};})(Drupal);;
55(function($,Drupal){'use strict';Drupal.behaviors.uneTestimonialDisclosure={attach:function(context,settings){once('une-testimonial-disclosure','.view-id-testimonial.view-display-id-embed_specific, .view-id-testimonial.view-display-id-embed_random',context).forEach((element)=>{const $block=$(element).closest('.block');const $expandedElements=$block.find('.testimonial-title, .testimonial-programs, .testimonial-body');const $teaserElements=$block.find('.testimonial-quote, .testimonial-programs-bottom');const $togglerLink=$block.find('.testimonial-toggler a');let label=$block.attr('data-testimonial-label');let labelMore='',labelLess='';if(label){if(label.includes('[title]'))label=label.replaceAll('[title]',$togglerLink.text());if(label.includes('/'))[labelMore,labelLess]=label.split('/');else labelMore=labelLess=label;$block.removeAttr('data-testimonial-label');}if(labelMore)$togglerLink.text(labelMore);$togglerLink.click((ev)=>{ev.preventDefault();const isExpanded=$block.hasClass('expanded');if(isExpanded){$block.get(0).scrollIntoView();$expandedElements.slideUp();$teaserElements.slideDown();$block.removeClass('expanded');if(labelMore)$togglerLink.text(labelMore);}else{$expandedElements.slideDown();$teaserElements.slideUp();$block.addClass('expanded');if(labelLess)$togglerLink.text(labelLess);}});});}};Drupal.behaviors.uneTestimonialPlaceholder={attach:function(context,settings){once('une-testimonial-placeholder','.block-type--testimonial-random:not(.layout-builder-block)',context).forEach((element)=>{const id=element.id;const args=element.getAttribute('data-testimonial-args');const ajax=Drupal.ajax({url:Drupal.url('une/testimonial-random?id='+encodeURIComponent(id)+'&args='+encodeURIComponent(args))});ajax.execute();});}};}(jQuery,Drupal));;
56(function($,Drupal,drupalSettings){'use strict';Drupal.behaviors.uneTruncatedText={attach:function(context,settings){once('uneTruncatedText','.block-type--truncated-text',context).forEach((element)=>{const classExpanded='truncated-text-expanded';const $block=$(element);const $button=$block.find('.expand-collapse__button');const $body=$block.find('.field--name-field-body');$button.on('click',function(){if(!$block.hasClass(classExpanded))$body.slideDown(400,()=>{$button.text($button.attr('data-label-less'));$block.addClass(classExpanded);});else{$block.removeClass(classExpanded);$body.slideUp(400,()=>{$button.text($button.attr('data-label-more'));});}});});}};})(jQuery,Drupal,drupalSettings);;
57(function(Drupal){Drupal.behaviors.une_alerts={attach:function(context,settings){once('une-alerts','body',context).forEach((el)=>{91´«Ã½Alerts();});}};let 91´«Ã½Alerts=()=>{const refreshDuration=30000;const cookieExpireDays=1;const regEmergencyPage=new RegExp(/^\/emergency(\/?)$/);const regAdminPage=new RegExp(/^\/admin(\/?)/);const dt=new Date();let timeoutIteration;const fetchAlerts=()=>{clearTimeout(timeoutIteration);window.fetch('/emergency/feed/feed.json').then((response)=>
57response.json()).then(processAll).catch(fail);};let processAlert=(theObject,cookieTimestamps)=>{const delta={newItems:false,removedItems:false};if(typeof theObject!=='undefined')if(theObject.items.length>0){let feedTimestamps=[];for(let ii=0;ii<theObject.items.length;ii++)feedTimestamps.push(theObject.items[ii].timestamp);const timestampsUniqueToFeed=new Set(feedTimestamps.filter((a)=>!cookieTimestamps.has(a)));feedTimestamps=new Set(feedTimestamps);const timestampsUniqueToCookies=new Set(Array.from(cookieTimestamps).filter((a)=>!feedTimestamps.has(a)));cookieTimestamps=Array.from(cookieTimestamps);delta.newItems=timestampsUniqueToFeed.size>0;delta.removedItems=timestampsUniqueToCookies.size>0;}else{if(cookieTimestamps.size>0)delta.removedItems=true;}return delta;};const processAll=(jo)=>{if(typeof jo.tier==='undefined')return;const storedEvents=getAllCookies();const responseHasEvents=jo.tier.items.length>0;const storedAlertsEvents=new Set();for(let key in storedEvents['tier'])storedAlertsEvents.add(parseInt(key));const responseChanges=processAlert(jo.tier,storedAlertsEvents);if(responseChanges.removedItems){for(let key in storedEvents['tier'])removeCookie(storedEvents['tier'][key]);storedEvents['tier']={};}for(let ii=0;ii<jo.tier.items.length;ii++)setCookie('91´«Ã½Alerts.'+ii.toString(),jo.tier.items[ii].timestamp);if(regEmergencyPage.test(location.pathname)){const content=document.querySelector('.region-content');let esDisplayContainer=content.querySelector('#esdisplay-container');if(!esDisplayContainer){esDisplayContainer=document.createElement('div');esDisplayContainer.textContent='<!-- -->';esDisplayContainer.id='esdisplay-container';content.prepend(esDisplayContainer);}if(responseChanges.removedItems)esDisplayContainer.innerHTML='';const currentAlert='current-alert';if(jo.tier.items.length>0){esDisplayContainer.classList.add(currentAlert);esDisplayContainer.innerHTML=generateItemsHtml(jo.tier.items,'1');}else{if(esDisplayContainer&&esDisplayContainer.classList.contains(currentAlert)){esDisplayContainer.classList.remove(currentAlert);esDisplayContainer.innerHTML=generateAllClearHtml();}}timeoutIteration=setTimeout(function(){fetchAlerts();},refreshDuration);}if(!regAdminPage.test(location.pathname))if(!regEmergencyPage.test(location.pathname)&&responseChanges.newItems)window.location='/emergency#block-une-content';else{let emergencyHeaderContainer=document.getElementById('emergency-header-container');if(responseChanges.removedItems){emergencyHeaderContainer?.remove();emergencyHeaderContainer=document.getElementById('emergency-header-container');}if(!emergencyHeaderContainer&&responseHasEvents){const wrapper=document.createElement('div');wrapper.className='alert-wrapper revealed';const revealer=document.createElement('a');revealer.className='revealer';revealer.href='#';revealer.addEventListener('click',function(ev){ev.preventDefault();this.parentElement.classList.toggle('revealed');});wrapper.append(revealer);const headerDiv=document.createElement('div');headerDiv.id='emergency-header-container';headerDiv.innerHTML=generateItemsBannerHtml(jo.tier.items[0]);headerDiv.addEventListener('click',function(){window.location='/emergency';});wrapper.append(headerDiv);document.querySelector('[data-une-alerts-wrapper="true"]').prepend(wrapper);emergencyHeaderContainer=document.getElementById('emergency-header-container');}if(responseHasEvents)timeoutIteration=setTimeout(function(){fetchAlerts();},refreshDuration);else{if(emergencyHeaderContainer)emergencyHeaderContainer.remove();}}};const generateItemsBannerHtml=(item)=>{const emergencyTitle=item.title;const emDiv=document.createElement('div');emDiv.id='emergency-display';const link=document.createElement('a');link.href='/emergency';link.innerHTML=emergencyTitle;emDiv.append(link);return emDiv.innerHTML;};const generateItemsHtml=(items,alert)=>{const htmlContainer=document.createElement('div');const cDateString=getWeekText(dt.getDay())+', '+getMonthText(dt.getMonth())+' '+dt.getDate()+', '+dt.getFullYear();const alertHeading=document.createElement('h3');alertHeading.textContent='Alert!';htmlContainer.append(alertHeading);const currDateDiv=document.createElement('div');currDateDiv.id='esdisplay-currdate';currDateDiv.textContent='Today is '+cDateString;htmlContainer.append(currDateDiv);const alertContainer=document.createElement('div');alertContainer.id='es-t'+alert+'-events';for(let ii=0;ii<items.length;ii++){const eventContainer=document.createElement('div');eventContainer.classList.add('es-t'+alert+'-event');if(ii===0)eventContainer.classList.add('first-event');const eventLeftContainer=document.createElement('div');eventLeftContainer.classList.add('es-t'+alert+'-event-left');if(items[ii].propperDate!==cDateString){const dowDiv=document.createElement('div');dowDiv.classList.add('event-dow','emergency-date');dowDiv.textContent='Posted: '+items[ii].dow;eventLeftContainer.append(dowDiv);}const eventDateDiv=document.createElement('div');eventDateDiv.classList.add('event-date','emergency-date');eventDateDiv.textContent=items[ii].propperDate;eventLeftContainer.append(eventDateDiv);const eventTimeDiv=document.createElement('div');eventTimeDiv.classList.add('event-time','emergency-date');eventTimeDiv.textContent=items[ii].propperTime+' '+items[ii].timezone;eventLeftContainer.append(eventTimeDiv);const eventRightContainer=document.createElement('div');eventRightContainer.classList.add('es-t'+alert+'-event-right');const eventTitleDiv=document.createElement('div');eventTitleDiv.classList.add('event-title');eventTitleDiv.textContent=items[ii].title;eventRightContainer.append(eventTitleDiv);const eventDescriptionDiv=document.createElement('div');eventDescriptionDiv.classList.add('event-description');eventDescriptionDiv.textContent=items[ii].description;eventRightContainer.append(eventDescriptionDiv);eventContainer.append(eventLeftContainer);eventContainer.append(eventRightContainer);alertContainer.append(eventContainer);}htmlContainer.append(alertContainer);return htmlContainer.innerHTML;};const generateAllClearHtml=()=>{const htmlContainer=document.createElement('div');const statusHeading=document.createElement('h2');statusHeading.textContent='Current Status';htmlContainer.append(statusHeading);const normalConditionsP=document.createElement('p');normalConditionsP.textContent='There is no emergency at the 91´«Ã½. The campus is operating under normal conditions.';htmlContainer.append(normalConditionsP);const afterEventP=document.createElement('p');afterEventP.textContent='In the event of an emergency, this site will be updated with information about the nature of the incident, how to remain safe and the point at which safety has been restored ';const afterEventSpan=document.createElement('span');afterEventSpan.textContent='after the event';
57afterEventSpan.style.color='rgb(39, 39, 39)';afterEventSpan.style.fontFamily='Lato, sans-serif';afterEventSpan.style.fontSize='16px';afterEventSpan.style.lineHeight='25.600000381469727px';afterEventSpan.style.backgroundColor='rgb(255, 255, 255)';afterEventP.append(afterEventSpan);afterEventP.append('.');htmlContainer.append(afterEventP);return htmlContainer.innerHTML;};const fail=(e)=>{console.log(e);};const getAllCookies=()=>{const alertLists={tier:{}};const keyValuePairs=document.cookie.split(';');for(let ii=0;ii<keyValuePairs.length;ii++){const keyVal=keyValuePairs[ii].split('=');const cookieKey=keyVal[0].trim();if(!cookieKey.startsWith('91´«Ã½Alerts'))continue;const timestamp=keyVal[1].trim();try{parseInt(timestamp);}catch(e){continue;}alertLists['tier'][timestamp]=cookieKey;}return alertLists;};const setCookie=(cKey,cVal)=>{const expiryDate=new Date();expiryDate.setDate(expiryDate.getDate()+cookieExpireDays);cVal=escape(cVal)+(cookieExpireDays==null?'':';expires='+expiryDate.toUTCString()+'; path=/;');document.cookie=cKey+'='+cVal;};const removeCookie=(cookieName)=>{document.cookie=cookieName+'=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/;';};const getMonthText=(mn)=>{const rd=['January','February','March','April','May','June','July','August','September','October','November','December'];return rd[mn];};const getWeekText=(wd)=>{const w=['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'];return w[wd];};fetchAlerts();};})(Drupal);;
58(function(Drupal){'use strict';Drupal.behaviors.unegdpr={attach:function(context,settings){once('une-gdpr','body',context).forEach(()=>{var gdprButton=context.querySelector('.gdpr-button');var gdprContainer=context.querySelector('.gdpr');if(!gdprButton)return;if(gdprButton&&gdprContainer){gdprButton.addEventListener('click',function(event){event.preventDefault();gdprContainer.style.display='none';var d=new Date();d.setTime(d.getTime()+90*24*60*60*1000);var expiry='expires='+d.toUTCString();document.cookie='une_gdpr=1;path=/;'+expiry;Drupal.behaviors.metaPageView.sendPageView();});var cookies=document.cookie.split('; ');if(!cookies.includes('une_gdpr=1'))window.setTimeout(()=>{gdprContainer.style.display='block';},2000);}});}};Drupal.behaviors.metaPageView={attach:function(context){const self=this;once('meta-page-view','body',context).forEach(()=>{if(Drupal.meta_conversions_api){Drupal.meta_conversions_api.allowedCallback=function(){const cookies=document.cookie.split('; ');return cookies.findIndex((item)=>item==='une_gdpr=1')>-1;};self.sendPageView();}});},sendPageView:function(){if(Drupal.meta_conversions_api&&Drupal.meta_conversions_api.shouldSend('PageView'))window.fetch('/ajax/page-view?'+new URLSearchParams({url:window.location.href}));}};})(Drupal);;
59(function(Drupal,once){'use strict';Drupal.behaviors.uneWrapAroundLayout={attach:function(context,settings){function updateCalloutHeight(layout,height){layout.style.setProperty('--une-callout-height',height+'px');}once('une-layout-wraparound','.layout--wraparound',context).forEach((layout)=>{const callout=layout.children[1];if(callout){updateCalloutHeight(layout,callout.clientHeight);const resizeObserver=new ResizeObserver((entries)=>{for(const entry of entries)updateCalloutHeight(layout,entry.contentRect.height);});resizeObserver.observe(callout);}});}};}(Drupal,once));;

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.