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 */ 7(function(){const settingsElement=document.querySelector('head > script[type="application/json"][data-drupal-selector="drupal-settings-json"], body > script[type="application/json"][data-drupal-selector="drupal-settings-json"]');window.drupalSettings={};if(settingsElement!==null)window.drupalSettings=JSON.parse(settingsElement.textContent);})();; 8window.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,'&').replace(/</g,'<').replace(/>/g,'>').replace(/"/g,'"').replace(/'/g,''');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(typeof drupalTranslations!=='undefined'&&drupalTranslations.strings&&drupalTranslations.strings[options.context]&&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');try{url=decodeURIComponent(url);}catch(e){}urlParsingNode.setAttribute('href',url);return urlParsingNode.cloneNode(false).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;
8if(typeof drupalTranslations!=='undefined'&&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&&typeof console!=='undefined'&&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(func in Drupal.theme)return Drupal.theme[func](...args);};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);; 9if(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);; 10/* @license MIT https://raw.githubusercontent.com/focus-trap/tabbable/v6.3.0/LICENSE */ 11/*! 12* tabbable 6.3.0 13* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE 14*/ 15!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;
15if(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)}})); 16 17; 18/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 19(function($,Drupal){Drupal.theme.progressBar=function(id){const escapedId=Drupal.checkPlain(id);return (`<div id="${escapedId}" class="progress" aria-live="polite">`+'<div class="progress__label"> </div>'+'<div class="progress__track"><div class="progress__bar"></div></div>'+'<div class="progress__percentage"></div>'+'<div class="progress__description"> </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}
21function 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;for(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(){Array.prototype.forEach.call(this.messageWrapper.querySelectorAll('[data-drupal-message-id]'),(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})=>
25{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(function($,window,Drupal,drupalSettings,loadjs,{isFocusable,tabbable}){Drupal.behaviors.AJAX={attach(context,settings){function loadAjaxBehavior(base){const elementSettings=settings.ajax[base];if(typeof elementSettings.selector==='undefined')elementSettings.selector=`#${base}`;once('drupal-ajax',$(elementSettings.selector)).forEach((el)=>{elementSettings.element=el;elementSettings.base=base;Drupal.ajax(elementSettings);});}Object.keys(settings.ajax||{}).forEach(loadAjaxBehavior);Drupal.ajax.bindAjaxLinks(document.body);once('ajax','.use-ajax-submit').forEach((el)=>{const elementSettings={};elementSettings.url=$(el.form).attr('action');elementSettings.setClick=true;elementSettings.event='click';elementSettings.progress={type:'throbber'};elementSettings.base=el.id;elementSettings.element=el;Drupal.ajax(elementSettings);});},detach(context,settings,trigger){if(trigger==='unload')Drupal.ajax.expired().forEach((instance)=>{Drupal.ajax.instances[instance.instanceIndex]=null;});}};Drupal.AjaxError=function(xmlhttp,uri,customMessage){let statusCode;let statusText;let responseText;if(xmlhttp.status)statusCode=`\n${Drupal.t('An AJAX HTTP error occurred.')}\n${Drupal.t('HTTP Result Code: !status',{'!status':xmlhttp.status})}`;else statusCode=`\n${Drupal.t('An AJAX HTTP request terminated abnormally.')}`;statusCode+=`\n${Drupal.t('Debugging information follows.')}`;const pathText=`\n${Drupal.t('Path: !uri',{'!uri':uri})}`;statusText='';try{statusText=`\n${Drupal.t('StatusText: !statusText',{'!statusText':xmlhttp.statusText.trim()})}`;}catch(e){}responseText='';try{responseText=`\n${Drupal.t('ResponseText: !responseText',{'!responseText':xmlhttp.responseText.trim()})}`;}catch(e){}responseText=responseText.replace(/<("[^"]*"|'[^']*'|[^'">])*>/gi,'');responseText=responseText.replace(/[\n]+\s+/g,'\n');const readyStateText=xmlhttp.status===0?`\n${Drupal.t('ReadyState: !readyState',{'!readyState':xmlhttp.readyState})}`:'';customMessage=customMessage?`\n${Drupal.t('CustomMessage: !customMessage',{'!customMessage':customMessage})}`:'';this.message=statusCode+pathText+statusText+customMessage+responseText+readyStateText;this.name='AjaxError';if(!Drupal.AjaxError.messages)Drupal.AjaxError.messages=new Drupal.Message();Drupal.AjaxError.messages.add(Drupal.t("Oops, something went wrong. Check your browser's developer console for more details."),{type:'error'});};Drupal.AjaxError.prototype=new Error();Drupal.AjaxError.prototype.constructor=Drupal.AjaxError;Drupal.ajax=function(settings){if(arguments.length!==1)throw new Error('Drupal.ajax() function must be called with one configuration object only');const base=settings.base||false;const element=settings.element||false;delete settings.base;delete settings.element;if(!settings.progress&&!element)settings.progress=false;const ajax=new Drupal.Ajax(base,element,settings);ajax.instanceIndex=Drupal.ajax.instances.length;Drupal.ajax.instances.push(ajax);return ajax;};Drupal.ajax.instances=[];Drupal.ajax.expired=function(){return Drupal.ajax.instances.filter((instance)=>instance&&instance.element!==false&&!document.body.contains(instance.element));};Drupal.ajax.bindAjaxLinks=(element)=>{once('ajax','.use-ajax',element).forEach((ajaxLink)=>{const $linkElement=$(ajaxLink);const elementSettings={progress:{type:'throbber'},dialogType:$linkElement.data('dialog-type'),dialog:$linkElement.data('dialog-options'),dialogRenderer:$linkElement.data('dialog-renderer'),base:$linkElement.attr('id'),element:ajaxLink};const href=$linkElement.attr('href');if(href){elementSettings.url=href;elementSettings.event='click';}const httpMethod=$linkElement.data('ajax-http-method');if(httpMethod)elementSettings.httpMethod=httpMethod;Drupal.ajax(elementSettings);});};Drupal.Ajax=function(base,element,elementSettings){const defaults={httpMethod:'POST',event:element?'mousedown':null,keypress:true,selector:base?`#${base}`:null,effect:'none',speed:'none',method:'replaceWith',progress:{type:'throbber',message:Drupal.t('Processing...')},submit:{js:true}};$.extend(this,defaults,elementSettings);this.commands=new Drupal.AjaxCommands();this.instanceIndex=false;if(this.wrapper)this.wrapper=`#${this.wrapper}`;this.element=element;this.preCommandsFocusedElementSelector=null;this.elementSettings=elementSettings;if(this.element&&this.element.form)this.$form=$(this.element.form);if(!this.url){const $element=$(this.element);if(this.element.tagName==='A')this.url=$element.attr('href');else{if(this.element&&element.form)this.url=this.$form.attr('action');}}const originalUrl=this.url;this.url=this.url.replace(/\/nojs(\/|$|\?|#)/,'/ajax$1');if(drupalSettings.ajaxTrustedUrl[originalUrl])drupalSettings.ajaxTrustedUrl[this.url]=true;const ajax=this;ajax.options={url:ajax.url,data:ajax.submit,isInProgress(){return ajax.ajaxing;},beforeSerialize(elementSettings,options){return ajax.beforeSerialize(elementSettings,options);},beforeSubmit(formValues,elementSettings,options){ajax.ajaxing=true;ajax.preCommandsFocusedElementSelector=null;return ajax.beforeSubmit(formValues,elementSettings,options);},beforeSend(xmlhttprequest,options){ajax.ajaxing=true;return ajax.beforeSend(xmlhttprequest,options);},success(response,status,xmlhttprequest){ajax.preCommandsFocusedElementSelector=document.activeElement.getAttribute('data-drupal-selector');if(typeof response==='string')response=$.parseJSON(response);if(response!==null&&!drupalSettings.ajaxTrustedUrl[ajax.url])if(xmlhttprequest.getResponseHeader('X-Drupal-Ajax-Token')!=='1'){const customMessage=Drupal.t('The response failed verification so will not be processed.');return ajax.error(xmlhttprequest,ajax.url,customMessage);}return (Promise.resolve(ajax.success(response,status)).then(()=>{ajax.ajaxing=false;
26$(document).trigger('ajaxSuccess',[xmlhttprequest,this]);$(document).trigger('ajaxComplete',[xmlhttprequest,this]);if(--$.active===0)$(document).trigger('ajaxStop');}));},error(xmlhttprequest,status,error){ajax.ajaxing=false;},complete(xmlhttprequest,status){if(status==='error'||status==='parsererror')return ajax.error(xmlhttprequest,ajax.url);},dataType:'json',jsonp:false,method:ajax.httpMethod};if(elementSettings.dialog)ajax.options.data.dialogOptions=elementSettings.dialog;if(!ajax.options.url.includes('?'))ajax.options.url+='?';else ajax.options.url+='&';let wrapper=`drupal_${elementSettings.dialogType||'ajax'}`;if(elementSettings.dialogRenderer)wrapper+=`.${elementSettings.dialogRenderer}`;ajax.options.url+=`${Drupal.ajax.WRAPPER_FORMAT}=${wrapper}`;$(ajax.element).on(elementSettings.event,function(event){if(!drupalSettings.ajaxTrustedUrl[ajax.url]&&!Drupal.url.isLocal(ajax.url))throw new Error(Drupal.t('The callback URL is not local and not trusted: !url',{'!url':ajax.url}));return ajax.eventResponse(this,event);});if(elementSettings.keypress)$(ajax.element).on('keypress',function(event){return ajax.keypressResponse(this,event);});if(elementSettings.prevent)$(ajax.element).on(elementSettings.prevent,false);};Drupal.ajax.WRAPPER_FORMAT='_wrapper_format';Drupal.Ajax.AJAX_REQUEST_PARAMETER='_drupal_ajax';Drupal.Ajax.prototype.execute=function(){if(this.ajaxing)return;try{this.beforeSerialize(this.element,this.options);return $.ajax(this.options);}catch(e){this.ajaxing=false;window.alert(`An error occurred while attempting to process ${this.options.url}: ${e.message}`);return $.Deferred().reject();}};Drupal.Ajax.prototype.keypressResponse=function(element,event){const ajax=this;if(event.which===13||(event.which===32&&element.type!=='text'&&element.type!=='textarea'&&element.type!=='tel'&&element.type!=='number')){event.preventDefault();event.stopPropagation();$(element).trigger(ajax.elementSettings.event);}};Drupal.Ajax.prototype.eventResponse=function(element,event){event.preventDefault();event.stopPropagation();const ajax=this;if(ajax.ajaxing)return;try{if(ajax.$form){if(ajax.setClick)element.form.clk=element;ajax.$form.ajaxSubmit(ajax.options);}else{ajax.beforeSerialize(ajax.element,ajax.options);$.ajax(ajax.options);}}catch(e){ajax.ajaxing=false;window.alert(`An error occurred while attempting to process ${ajax.options.url}: ${e.message}`);}};Drupal.Ajax.prototype.beforeSerialize=function(element,options){if(this.$form&&document.body.contains(this.$form.get(0))){const settings=this.settings||drupalSettings;Drupal.detachBehaviors(this.$form.get(0),settings,'serialize');}options.data[Drupal.Ajax.AJAX_REQUEST_PARAMETER]=1;const pageState=drupalSettings.ajaxPageState;options.data['ajax_page_state[theme]']=pageState.theme;options.data['ajax_page_state[theme_token]']=pageState.theme_token;options.data['ajax_page_state[libraries]']=pageState.libraries;};Drupal.Ajax.prototype.beforeSubmit=function(formValues,element,options){};Drupal.Ajax.prototype.beforeSend=function(xmlhttprequest,options){if(this.$form){options.extraData=options.extraData||{};options.extraData.ajax_iframe_upload='1';const v=$.fieldValue(this.element);if(v!==null)options.extraData[this.element.name]=v;}$(this.element).prop('disabled',true);if(!this.progress||!this.progress.type)return;const progressIndicatorMethod=`setProgressIndicator${this.progress.type.slice(0,1).toUpperCase()}${this.progress.type.slice(1).toLowerCase()}`;if(progressIndicatorMethod in this&&typeof this[progressIndicatorMethod]==='function')this[progressIndicatorMethod].call(this);};Drupal.theme.ajaxProgressThrobber=(message)=>{const messageMarkup=typeof message==='string'?Drupal.theme('ajaxProgressMessage',message):'';const throbber='<div class="throbber"> </div>';return `<div class="ajax-progress ajax-progress-throbber">${throbber}${messageMarkup}</div>`;};Drupal.theme.ajaxProgressIndicatorFullscreen=()=>'<div class="ajax-progress ajax-progress-fullscreen"> </div>';Drupal.theme.ajaxProgressMessage=(message)=>`<div class="message">${message}</div>`;Drupal.theme.ajaxProgressBar=($element)=>$('<div class="ajax-progress ajax-progress-bar"></div>').append($element);Drupal.Ajax.prototype.setProgressIndicatorBar=function(){const progressBar=new Drupal.ProgressBar(`ajax-progress-${this.element.i
26d}`,$.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));
26$newContent=Drupal.theme('ajaxWrapperNewContent',$newContent,ajax,response);switch(method){case 'html':case 'replaceWith':case 'replaceAll':case 'empty':case 'remove':Drupal.detachBehaviors($wrapper.get(0),settings);break;default:break;}$wrapper[method]($newContent);if(effect.showEffect!=='show')$newContent.hide();const $ajaxNewContent=$newContent.find('.ajax-new-content');if($ajaxNewContent.length){$ajaxNewContent.hide();$newContent.show();$ajaxNewContent[effect.showEffect](effect.showSpeed);}else{if(effect.showEffect!=='show')$newContent[effect.showEffect](effect.showSpeed);}$newContent.each((index,element)=>{if(element.nodeType===Node.ELEMENT_NODE&&document.documentElement.contains(element))Drupal.attachBehaviors(element,settings);});},remove(ajax,response,status){const settings=response.settings||ajax.settings||drupalSettings;$(response.selector).each(function(){Drupal.detachBehaviors(this,settings);}).remove();},changed(ajax,response,status){const $element=$(response.selector);if(!$element.hasClass('ajax-changed')){$element.addClass('ajax-changed');if(response.asterisk)$element.find(response.asterisk).append(` <abbr class="ajax-changed" title="${Drupal.t('Changed')}">*</abbr> `);}},alert(ajax,response,status){window.alert(response.text);},announce(ajax,response){if(response.priority)Drupal.announce(response.text,response.priority);else Drupal.announce(response.text);},redirect(ajax,response,status){window.location=response.url;},css(ajax,response,status){$(response.selector).css(response.argument);},settings(ajax,response,status){const ajaxSettings=drupalSettings.ajax;if(ajaxSettings)Drupal.ajax.expired().forEach((instance)=>{if(instance.selector){const selector=instance.selector.replace('#','');if(selector in ajaxSettings)delete ajaxSettings[selector];}});if(response.merge)$.extend(true,drupalSettings,response.settings);else ajax.settings=response.settings;},data(ajax,response,status){$(response.selector).data(response.name,response.value);},focusFirst(ajax,response,status){let focusChanged=false;const container=document.querySelector(response.selector);if(container){const tabbableElements=tabbable(container);if(tabbableElements.length){tabbableElements[0].focus();focusChanged=true;}else{if(isFocusable(container)){container.focus();focusChanged=true;}}}if(ajax.hasOwnProperty('element')&&!focusChanged)ajax.element.focus();},invoke(ajax,response,status){const $element=$(response.selector);$element[response.method](...response.args);},restripe(ajax,response,status){$(response.selector).find('> tbody > tr:visible, > tr:visible').removeClass('odd even').filter(':even').addClass('odd').end().filter(':odd').addClass('even');},update_build_id(ajax,response,status){document.querySelectorAll(`input[name="form_build_id"][value="${response.old}"]`).forEach((item)=>{item.value=response.new;});},add_css(ajax,response,status){if(typeof response.data==='string'){Drupal.deprecationError({message:'Passing a string to the Drupal.ajax.add_css() method is deprecated in 10.1.0 and is removed from drupal:11.0.0. See https://www.drupal.org/node/3154948.'});$('head').prepend(response.data);return;}const allUniqueBundleIds=response.data.map(function(style){const uniqueBundleId=style.href;if(!loadjs.isDefined(uniqueBundleId))loadjs(`css!${style.href}`,uniqueBundleId,{before(path,styleEl){Object.keys(style).forEach((attributeKey)=>{styleEl.setAttribute(attributeKey,style[attributeKey]);});}});return uniqueBundleId;});return new Promise((resolve,reject)=>{loadjs.ready(allUniqueBundleIds,{success(){resolve();},error(depsNotFound){const message=Drupal.t(`The following files could not be loaded: @dependencies`,{'@dependencies':depsNotFound.join(', ')});reject(message);}});});},message(ajax,response){const messages=new Drupal.Message(document.querySelector(response.messageWrapperQuerySelector));if(response.clearPrevious)messages.clear();messages.add(response.message,response.messageOptions);},add_js(ajax,response,status){const parentEl=document.querySelector(response.selector||'body');const settings=ajax.settings||drupalSettings;const allUniqueBundleIds=response.data.map((script)=>{const uniqueBundleId=script.src;
26if(!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'&&settings.isInProgress&&settings.isInProgress());};$.extend(true,$.event.special,{ajaxSuccess:{trigger(event,xhr,settings){if(stopEvent(xhr,settings))return false;}},ajaxComplete:{trigger(event,xhr,settings){if(stopEvent(xhr,settings)){$.active++;return false;}}}});})(jQuery,window,Drupal,drupalSettings,loadjs,window.tabbable);; 27/* @license GPL-2.0-or-later https://raw.githubusercontent.com/jquery-form/form/master/LICENSE */ 28(function(factory){if(typeof define==='function'&&define.amd)define(['jquery'],factory);else if(typeof module==='object'&&module.exports)module.exports=function(root,jQuery){if(typeof jQuery==='undefined')if(typeof window!=='undefined')jQuery=require('jquery');else jQuery=require('jquery')(root);factory(jQuery);return jQuery;};else factory(jQuery);}(function($){'use strict';var rCRLF=/\r?\n/g;var feature={};feature.fileapi=$('<input type="file">').get(0).files!==undefined;feature.formdata=(typeof window.FormData!=='undefined');var hasProp=!!$.fn.prop;$.fn.attr2=function(){if(!hasProp)return this.attr.apply(this,arguments);var val=this.prop.apply(this,arguments);if((val&&val.jquery)||typeof val==='string')return val;return this.attr.apply(this,arguments);};$.fn.ajaxSubmit=function(options,data,dataType,onSuccess){if(!this.length){log('ajaxSubmit: skipping submit process - no element selected');return this;}var method,action,url,isMsie,iframeSrc,$form=this;if(typeof options==='function')options={success:options};else if(typeof options==='string'||(options===false&&arguments.length>0)){options={'url':options,'data':data,'dataType':dataType};if(typeof onSuccess==='function')options.success=onSuccess;}else{if(typeof options==='undefined')options={};}method=options.method||options.type||this.attr2('method');action=options.url||this.attr2('action');url=(typeof action==='string')?action.trim():'';url=url||window.location.href||'';if(url)url=(url.match(/^([^#]+)/)||[])[1];isMsie=/(MSIE|Trident)/.test(navigator.userAgent||'');iframeSrc=(isMsie&&/^https/i.test(window.location.href||''))?'javascript:false':'about:blank';options=$.extend(true,{url,success:$.ajaxSettings.success,type:method||$.ajaxSettings.type,iframeSrc},options);var veto={};this.trigger('form-pre-serialize',[this,options,veto]);if(veto.veto){log('ajaxSubmit: submit vetoed via form-pre-serialize trigger');return this;}if(options.beforeSerialize&&options.beforeSerialize(this,options)===false){log('ajaxSubmit: submit aborted via beforeSerialize callback');return this;}var traditional=options.traditional;if(typeof traditional==='undefined')traditional=$.ajaxSettings.traditional;var elements=[];var qx,a=this.formToArray(options.semantic,elements,options.filtering);if(options.data){var optionsData=typeof (options.data)==="function"?options.data(a):options.data;options.extraData=optionsData;qx=$.param(optionsData,traditional);}if(options.beforeSubmit&&options.beforeSubmit(a,this,options)===false){log('ajaxSubmit: submit aborted via beforeSubmit callback');return this;}this.trigger('form-submit-validate',[a,this,options,veto]);if(veto.veto){log('ajaxSubmit: submit vetoed via form-submit-validate trigger');return this;}var q=$.param(a,traditional);if(qx)q=(q?(q+'&'+qx):qx);if(options.type.toUpperCase()==='GET'){options.url+=(options.url.indexOf('?')>=0?'&':'?')+q;options.data=null;}else options.data=q;var callbacks=[];if(options.resetForm)callbacks.push(function(){$form.resetForm();});if(options.clearForm)callbacks.push(function(){$form.clearForm(options.includeHidden);});if(!options.dataType&&options.target){var oldSuccess=options.success||function(){};callbacks.push(function(data,textStatus,jqXHR){var successArguments=arguments,fn=options.replaceTarget?'replaceWith':'html';$(options.target)[fn](data).each(function(){oldSuccess.apply(this,successArguments);});});}else{if(options.success)if(Array.isArray(options.success))callbacks=callbacks.concat(options.success);else callbacks.push(options.success);}options.success=function(data,status,xhr){var context=options.context||this;for(var i=0,max=callbacks.length;i<max;i++)callbacks[i].apply(context,[data,status,xhr||$form,$form]);};if(options.error){var oldError=options.error;options.error=function(xhr,status,error){var context=options.context||this;oldError.apply(context,[xhr,status,error,$form]);};}if(options.complete){var oldComplete=options.complete;options.complete=function(xhr,status){var context=options.context||this;oldComplete.apply(context,[xhr,status,$form]);};}var fileInputs=$('input[type=file]:enabled',this).filter(function(){return $(this).val()!=='';});var hasFileInputs=fileInputs.length>0;var mp='multipart/form-data';var multipart=($form.attr('enctype')===mp||$form.attr('encoding')===mp);var fileAPI=feature.fileapi&&feature.formdata;log('fileAPI :'+fileAPI);var shouldUseFrame=(hasFileInputs||multipart)&&!fileAPI;var jqxhr;if(options.iframe!==false&&(options.iframe||shouldUseFrame))if(options.closeKeepAlive)$.get(options.closeKeepAlive,function(){jqxhr=fileUploadIframe(a);});else jqxhr=fileUploadIframe(a);else if((hasFileInputs||multipart)&&fileAPI)jqxhr=fileUploadXhr(a);else jqxhr=$.ajax(options);$form.removeData('jqxhr').data('jqxhr',jqxhr);for(var k=0;k<elements.length;k++)elements[k]=null;this.trigger('form-submit-notify',[this,options]);return this;function deepSerialize(extraData){var serialized=$.param(extraData,options.traditional).split('&');var len=serialized.length;var result=[];var i,part;for(i=0;i<len;i++){serialized[i]=serialized[i].replace(/\+/g,' ');part=serialized[i].split('=');result.push([decodeURIComponent(part[0]),decodeURIComponent(part[1])]);}return result;}function fileUploadXhr(a){var formdata=new FormData();for(var i=0;i<a.length;i++)formdata.append(a[i].name,a[i].value);if(options.extraData){var serializedData=deepSerialize(options.extraData);for(i=0;i<serializedData.length;i++)if(serializedData[i])formdata.append(serializedData[i][0],serializedData[i][1]);}options.data=null;var s=$.extend(true,{},$.ajaxSettings,options,{contentType:false,processData:false,cache:false,type:method||'POST'});if(options.uploadProgress)s.xhr=function(){var xhr=$.ajaxSettings.xhr();if(xhr.upload)xhr.upload.addEventListener('progress',function(event){var percent=0;var position=event.loaded||event.position;var total=event.total;if(event.lengthComputable)percent=Math.ceil(position/total*100);options.uploadProgress(event,position,total,percent);},false);return xhr;};s.data=null;var beforeSend=s.beforeSend;s.beforeSend=function(xhr,o){if(options.formData)o.data=options.formData;else o.data=formdata;
28if(beforeSend)beforeSend.call(this,xhr,o);};return $.ajax(s);}function fileUploadIframe(a){var form=$form[0],el,i,s,g,id,$io,io,xhr,sub,n,timedOut,timeoutHandle;var deferred=$.Deferred();deferred.abort=function(status){xhr.abort(status);};if(a)for(i=0;i<elements.length;i++){el=$(elements[i]);if(hasProp)el.prop('disabled',false);else el.removeAttr('disabled');}s=$.extend(true,{},$.ajaxSettings,options);s.context=s.context||s;id='jqFormIO'+new Date().getTime();var ownerDocument=form.ownerDocument;var $body=$form.closest('body');if(s.iframeTarget){$io=$(s.iframeTarget,ownerDocument);n=$io.attr2('name');if(!n)$io.attr2('name',id);else id=n;}else{$io=$('<iframe name="'+id+'" src="'+s.iframeSrc+'" />',ownerDocument);$io.css({position:'absolute',top:'-1000px',left:'-1000px'});}io=$io[0];xhr={aborted:0,responseText:null,responseXML:null,status:0,statusText:'n/a',getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(status){var e=(status==='timeout'?'timeout':'aborted');log('aborting upload... '+e);this.aborted=1;try{if(io.contentWindow.document.execCommand)io.contentWindow.document.execCommand('Stop');}catch(ignore){}$io.attr('src',s.iframeSrc);xhr.error=e;if(s.error)s.error.call(s.context,xhr,e,status);if(g)$.event.trigger('ajaxError',[xhr,s,e]);if(s.complete)s.complete.call(s.context,xhr,e);}};g=s.global;if(g&&$.active++===0)$.event.trigger('ajaxStart');if(g)$.event.trigger('ajaxSend',[xhr,s]);if(s.beforeSend&&s.beforeSend.call(s.context,xhr,s)===false){if(s.global)$.active--;deferred.reject();return deferred;}if(xhr.aborted){deferred.reject();return deferred;}sub=form.clk;if(sub){n=sub.name;if(n&&!sub.disabled){s.extraData=s.extraData||{};s.extraData[n]=sub.value;if(sub.type==='image'){s.extraData[n+'.x']=form.clk_x;s.extraData[n+'.y']=form.clk_y;}}}var CLIENT_TIMEOUT_ABORT=1;var SERVER_ABORT=2;function getDoc(frame){var doc=null;try{if(frame.contentWindow)doc=frame.contentWindow.document;}catch(err){log('cannot get iframe.contentWindow document: '+err);}if(doc)return doc;try{doc=frame.contentDocument?frame.contentDocument:frame.document;}catch(err){log('cannot get iframe.contentDocument: '+err);doc=frame.document;}return doc;}var csrf_token=$('meta[name=csrf-token]').attr('content');var csrf_param=$('meta[name=csrf-param]').attr('content');if(csrf_param&&csrf_token){s.extraData=s.extraData||{};s.extraData[csrf_param]=csrf_token;}function doSubmit(){var t=$form.attr2('target'),a=$form.attr2('action'),mp='multipart/form-data',et=$form.attr('enctype')||$form.attr('encoding')||mp;form.setAttribute('target',id);if(!method||/post/i.test(method))form.setAttribute('method','POST');if(a!==s.url)form.setAttribute('action',s.url);if(!s.skipEncodingOverride&&(!method||/post/i.test(method)))$form.attr({encoding:'multipart/form-data',enctype:'multipart/form-data'});if(s.timeout)timeoutHandle=setTimeout(function(){timedOut=true;cb(CLIENT_TIMEOUT_ABORT);},s.timeout);function checkState(){try{var state=getDoc(io).readyState;log('state = '+state);if(state&&state.toLowerCase()==='uninitialized')setTimeout(checkState,50);}catch(e){log('Server abort: ',e,' (',e.name,')');cb(SERVER_ABORT);if(timeoutHandle)clearTimeout(timeoutHandle);timeoutHandle=undefined;}}var extraInputs=[];try{if(s.extraData)for(var n in s.extraData)if(s.extraData.hasOwnProperty(n))if($.isPlainObject(s.extraData[n])&&s.extraData[n].hasOwnProperty('name')&&s.extraData[n].hasOwnProperty('value'))extraInputs.push($('<input type="hidden" name="'+s.extraData[n].name+'">',ownerDocument).val(s.extraData[n].value).appendTo(form)[0]);else extraInputs.push($('<input type="hidden" name="'+n+'">',ownerDocument).val(s.extraData[n]).appendTo(form)[0]);if(!s.iframeTarget)$io.appendTo($body);if(io.attachEvent)io.attachEvent('onload',cb);else io.addEventListener('load',cb,false);setTimeout(checkState,15);try{form.submit();}catch(err){var submitFn=document.createElement('form').submit;submitFn.apply(form);}}finally{form.setAttribute('action',a);form.setAttribute('enctype',et);if(t)form.setAttribute('target',t);else $form.removeAttr('target');$(extraInputs).remove();}}if(s.forceSync)doSubmit();else setTimeout(doSubmit,10);var data,doc,domCheckCount=50,callbackProcessed;function cb(e){if(xhr.aborted||callbackProcessed)return;doc=getDoc(io);if(!doc){log('cannot access response document');e=SERVER_ABORT;}if(e===CLIENT_TIMEOUT_ABORT&&xhr){xhr.abort('timeout');deferred.reject(xhr,'timeout');return;}if(e===SERVER_ABORT&&xhr){xhr.abort('server abort');deferred.reject(xhr,'error','server abort');return;}if(!doc||doc.location.href===s.iframeSrc)if(!timedOut)return;if(io.detachEvent)io.detachEvent('onload',cb);else io.removeEventListener('load',cb,false);var status='success',errMsg;
28try{if(timedOut)throw 'timeout';var isXml=s.dataType==='xml'||doc.XMLDocument||$.isXMLDoc(doc);log('isXml='+isXml);if(!isXml&&window.opera&&(doc.body===null||!doc.body.innerHTML))if(--domCheckCount){log('requeing onLoad callback, DOM not available');setTimeout(cb,250);return;}var docRoot=doc.body?doc.body:doc.documentElement;xhr.responseText=docRoot?docRoot.innerHTML:null;xhr.responseXML=doc.XMLDocument?doc.XMLDocument:doc;if(isXml)s.dataType='xml';xhr.getResponseHeader=function(header){var headers={'content-type':s.dataType};return headers[header.toLowerCase()];};if(docRoot){xhr.status=Number(docRoot.getAttribute('status'))||xhr.status;xhr.statusText=docRoot.getAttribute('statusText')||xhr.statusText;}var dt=(s.dataType||'').toLowerCase();var scr=/(json|script|text)/.test(dt);if(scr||s.textarea){var ta=doc.getElementsByTagName('textarea')[0];if(ta){xhr.responseText=ta.value;xhr.status=Number(ta.getAttribute('status'))||xhr.status;xhr.statusText=ta.getAttribute('statusText')||xhr.statusText;}else{if(scr){var pre=doc.getElementsByTagName('pre')[0];var b=doc.getElementsByTagName('body')[0];if(pre)xhr.responseText=pre.textContent?pre.textContent:pre.innerText;else{if(b)xhr.responseText=b.textContent?b.textContent:b.innerText;}}}}else{if(dt==='xml'&&!xhr.responseXML&&xhr.responseText)xhr.responseXML=toXml(xhr.responseText);}try{data=httpData(xhr,dt,s);}catch(err){status='parsererror';xhr.error=errMsg=(err||status);}}catch(err){log('error caught: ',err);status='error';xhr.error=errMsg=(err||status);}if(xhr.aborted){log('upload aborted');status=null;}if(xhr.status)status=((xhr.status>=200&&xhr.status<300)||xhr.status===304)?'success':'error';if(status==='success'){if(s.success)s.success.call(s.context,data,'success',xhr);deferred.resolve(xhr.responseText,'success',xhr);if(g)$.event.trigger('ajaxSuccess',[xhr,s]);}else{if(status){if(typeof errMsg==='undefined')errMsg=xhr.statusText;if(s.error)s.error.call(s.context,xhr,status,errMsg);deferred.reject(xhr,'error',errMsg);if(g)$.event.trigger('ajaxError',[xhr,s,errMsg]);}}if(g)$.event.trigger('ajaxComplete',[xhr,s]);if(g&&!--$.active)$.event.trigger('ajaxStop');if(s.complete)s.complete.call(s.context,xhr,status);callbackProcessed=true;if(s.timeout)clearTimeout(timeoutHandle);setTimeout(function(){if(!s.iframeTarget)$io.remove();else $io.attr('src',s.iframeSrc);xhr.responseXML=null;},100);}var toXml=$.parseXML||function(s,doc){if(window.ActiveXObject){doc=new ActiveXObject('Microsoft.XMLDOM');doc.async='false';doc.loadXML(s);}else doc=(new DOMParser()).parseFromString(s,'text/xml');return (doc&&doc.documentElement&&doc.documentElement.nodeName!=='parsererror')?doc:null;};var parseJSON=$.parseJSON||function(s){return window['eval']('('+s+')');};var httpData=function(xhr,type,s){var ct=xhr.getResponseHeader('content-type')||'',xml=((type==='xml'||!type)&&ct.indexOf('xml')>=0),data=xml?xhr.responseXML:xhr.responseText;if(xml&&data.documentElement.nodeName==='parsererror')if($.error)$.error('parsererror');if(s&&s.dataFilter)data=s.dataFilter(data,type);if(typeof data==='string')if((type==='json'||!type)&&ct.indexOf('json')>=0)data=parseJSON(data);else{if((type==='script'||!type)&&ct.indexOf('javascript')>=0)$.globalEval(data);}return data;};return deferred;}};$.fn.ajaxForm=function(options,data,dataType,onSuccess){if(typeof options==='string'||(options===false&&arguments.length>0)){options={'url':options,'data':data,'dataType':dataType};if(typeof onSuccess==='function')options.success=onSuccess;}options=options||{};options.delegation=options.delegation&&typeof $.fn.on==='function';if(!options.delegation&&this.length===0){var o={s:this.selector,c:this.context};if(!$.isReady&&o.s){log('DOM not ready, queuing ajaxForm');$(function(){$(o.s,o.c).ajaxForm(options);});return this;}log('terminating; zero elements found by selector'+($.isReady?'':' (DOM not ready)'));return this;}if(options.delegation){$(document).off('submit.form-plugin',this.selector,doAjaxSubmit).off('click.form-plugin',this.selector,captureSubmittingElement).on('submit.form-plugin',this.selector,options,doAjaxSubmit).on('click.form-plugin',this.selector,options,captureSubmittingElement);return this;}if(options.beforeFormUnbind)options.beforeFormUnbind(this,options);return this.ajaxFormUnbind().on('submit.form-plugin',options,doAjaxSubmit).on('click.form-plugin',options,captureSubmittingElement);};function doAjaxSubmit(e){var options=e.data;if(!e.isDefaultPrevented()){e.preventDefault();$(e.target).closest('form').ajaxSubmit(options);}}function captureSubmittingElement(e){var target=e.target;var $el=$(target);if(!$el.is('[type=submit],[type=image]')){var t=$el.closest('[type=submit]');if(t.length===0)return;target=t[0];}var form=target.form;form.clk=target;if(target.type==='image')if(typeof e.offsetX!=='undefined'){form.clk_x=e.offsetX;form.clk_y=e.offsetY;}else if(typeof $.fn.offset==='function'){var offset=$el.offset();form.clk_x=e.pageX-offset.left;form.clk_y=e.pageY-offset.top;}else{form.clk_x=e.pageX-target.offsetLeft;form.clk_y=e.pageY-target.offsetTop;}setTimeout(function(){form.clk=form.clk_x=form.clk_y=null;},100);}$.fn.ajaxFormUnbind=function(){return this.off('submit.form-plugin click.form-plugin');};$.fn.formToArray=function(semantic,elements,filtering){var a=[];if(this.length===0)return a;var form=this[0];var formId=this.attr('id');var els=(semantic||typeof form.elements==='undefined')?form.getElementsByTagName('*'):form.elements;var els2;if(els)els=$.makeArray(els);if(formId&&(semantic||/(Edge|Trident)\//.test(navigator.userAgent))){els2=$(':input[form="'+formId+'"]').get();if(els2.length)els=(els||[]).concat(els2);}if(!els||!els.length)return a;
28if(typeof (filtering)==="function")els=$.map(els,filtering);var i,j,n,v,el,max,jmax;for(i=0,max=els.length;i<max;i++){el=els[i];n=el.name;if(!n||el.disabled)continue;if(semantic&&form.clk&&el.type==='image'){if(form.clk===el){a.push({name:n,value:$(el).val(),type:el.type});a.push({name:n+'.x',value:form.clk_x},{name:n+'.y',value:form.clk_y});}continue;}v=$.fieldValue(el,true);if(v&&v.constructor===Array){if(elements)elements.push(el);for(j=0,jmax=v.length;j<jmax;j++)a.push({name:n,value:v[j]});}else if(feature.fileapi&&el.type==='file'){if(elements)elements.push(el);var files=el.files;if(files.length)for(j=0;j<files.length;j++)a.push({name:n,value:files[j],type:el.type});else a.push({name:n,value:'',type:el.type});}else{if(v!==null&&typeof v!=='undefined'){if(elements)elements.push(el);a.push({name:n,value:v,type:el.type,required:el.required});}}}if(!semantic&&form.clk){var $input=$(form.clk),input=$input[0];n=input.name;if(n&&!input.disabled&&input.type==='image'){a.push({name:n,value:$input.val()});a.push({name:n+'.x',value:form.clk_x},{name:n+'.y',value:form.clk_y});}}return a;};$.fn.formSerialize=function(semantic){return $.param(this.formToArray(semantic));};$.fn.fieldSerialize=function(successful){var a=[];this.each(function(){var n=this.name;if(!n)return;var v=$.fieldValue(this,successful);if(v&&v.constructor===Array)for(var i=0,max=v.length;i<max;i++)a.push({name:n,value:v[i]});else{if(v!==null&&typeof v!=='undefined')a.push({name:this.name,value:v});}});return $.param(a);};$.fn.fieldValue=function(successful){for(var val=[],i=0,max=this.length;i<max;i++){var el=this[i];var v=$.fieldValue(el,successful);if(v===null||typeof v==='undefined'||(v.constructor===Array&&!v.length))continue;if(Array.isArray(v))val=val.concat(v);else val.push(v);}return val;};$.fieldValue=function(el,successful){var n=el.name,t=el.type,tag=el.tagName.toLowerCase();if(typeof successful==='undefined')successful=true;if(successful&&(!n||el.disabled||t==='reset'||t==='button'||(t==='checkbox'||t==='radio')&&!el.checked||(t==='submit'||t==='image')&&el.form&&el.form.clk!==el||tag==='select'&&el.selectedIndex===-1))return null;if(tag==='select'){var index=el.selectedIndex;if(index<0)return null;var a=[],ops=el.options;var one=(t==='select-one');var max=(one?index+1:ops.length);for(var i=(one?index:0);i<max;i++){var op=ops[i];if(op.selected&&!op.disabled){var v=op.value;if(!v)v=(op.attributes&&op.attributes.value&&!(op.attributes.value.specified))?op.text:op.value;if(one)return v;a.push(v);}}return a;}return $(el).val().replace(rCRLF,'\r\n');};$.fn.clearForm=function(includeHidden){return this.each(function(){$('input,select,textarea',this).clearFields(includeHidden);});};$.fn.clearFields=$.fn.clearInputs=function(includeHidden){var re=/^(?:color|date|datetime|email|month|number|password|range|search|tel|text|time|url|week)$/i;return this.each(function(){var t=this.type,tag=this.tagName.toLowerCase();if(re.test(t)||tag==='textarea')this.value='';else if(t==='checkbox'||t==='radio')this.checked=false;else if(tag==='select')this.selectedIndex=-1;else if(t==='file')if(/MSIE/.test(navigator.userAgent))$(this).replaceWith($(this).clone(true));else $(this).val('');else{if(includeHidden)if((includeHidden===true&&/hidden/.test(t))||(typeof includeHidden==='string'&&$(this).is(includeHidden)))this.value='';}});};$.fn.resetForm=function(){return this.each(function(){var el=$(this);var tag=this.tagName.toLowerCase();switch(tag){case 'input':this.checked=this.defaultChecked;case 'textarea':this.value=this.defaultValue;return true;case 'option':case 'optgroup':var select=el.parents('select');if(select.length&&select[0].multiple)if(tag==='option')this.selected=this.defaultSelected;else el.find('option').resetForm();else select.resetForm();return true;case 'select':el.find('option').each(function(i){this.selected=this.defaultSelected;if(this.defaultSelected&&!el[0].multiple){el[0].selectedIndex=i;return false;}});return true;case 'label':var forEl=$(el.attr('for'));var list=el.find('input,select,textarea');if(forEl[0])list.unshift(forEl[0]);list.resetForm();return true;case 'form':if(typeof this.reset==='function'||(typeof this.reset==='object'&&!this.reset.nodeType))this.reset();return true;default:el.find('form,input,label,select,textarea').resetForm();return true;}}
28);};$.fn.enable=function(b){if(typeof b==='undefined')b=true;return this.each(function(){this.disabled=!b;});};$.fn.selected=function(select){if(typeof select==='undefined')select=true;return this.each(function(){var t=this.type;if(t==='checkbox'||t==='radio')this.checked=select;else{if(this.tagName.toLowerCase()==='option'){var $sel=$(this).parent('select');if(select&&$sel[0]&&$sel[0].type==='select-one')$sel.find('option').selected(false);this.selected=select;}}});};$.fn.ajaxSubmit.debug=false;function log(){if(!$.fn.ajaxSubmit.debug)return;var msg='[jquery.form] '+Array.prototype.join.call(arguments,'');if(window.console&&window.console.log)window.console.log(msg);else{if(window.opera&&window.opera.postError)window.opera.postError(msg);}}}));; 29/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 30(($,Drupal)=>{function doUpdateTokenElement(element){const $element=$(element);grecaptcha.ready(()=>{if(!element)return;grecaptcha.execute($element.data('recaptchaV3SiteKey'),{action:$element.data('recaptchaV3Action')}).then((token)=>{$element[0].value=token;$element.trigger('change');});});}function updateTokenElement(element){let timer;if(typeof grecaptcha==='undefined')timer=setInterval(()=>{if(typeof grecaptcha!=='undefined'||!element){clearInterval(timer);if(element)doUpdateTokenElement(element);}},500);else doUpdateTokenElement(element);}Drupal.behaviors.reCaptchaV3={attach:(context)=>{once('recaptcha-v3-token','.recaptcha-v3-token',context).forEach((element)=>{updateTokenElement(element);const interval=setInterval(()=>{if(!element)clearInterval(interval);else updateTokenElement(element);},90000);});}};})(jQuery,Drupal);; 31(function(Drupal,drupalSettings,once){const sitewideAlertsSelector='[data-sitewide-alert]';const shouldShowOnThisPage=(pages=[],negate=true)=>{if(pages.length===0)return true;let pagePathMatches=false;const currentPath=window.location.pathname;for(let i=0;i<pages.length;i++){const baseUrl=drupalSettings.path.baseUrl.slice(0,-1);const page=baseUrl+pages[i];if(page.charAt(page.length-1)==='*'){if(currentPath.startsWith(page.substring(0,page.length-1))){pagePathMatches=true;break;}}else{if(page===currentPath){pagePathMatches=true;break;}}}return negate?!pagePathMatches:pagePathMatches;};const alertWasDismissed=(alert)=>{if(!alert.dismissible)return false;if(!(`alert-dismissed-${alert.uuid}` in window.localStorage))return false;const dismissedAtTimestamp=Number(window.localStorage.getItem(`alert-dismissed-${alert.uuid}`));return dismissedAtTimestamp>=alert.dismissalIgnoreBefore;};const updateLandmarkRole=()=>{const roots=document.querySelectorAll(sitewideAlertsSelector);roots.forEach((root)=>{const hasAlerts=root.querySelector('[data-uuid]')!==null;if(hasAlerts){root.setAttribute('role','region');root.setAttribute('aria-label',Drupal.t('Site alerts'));}else{root.removeAttribute('role');root.removeAttribute('aria-label');}});};const updateAlertCount=()=>{if(!drupalSettings.sitewideAlert.showCount)return;const roots=document.querySelectorAll(sitewideAlertsSelector);roots.forEach((root)=>{let count=0;const alerts=root.querySelectorAll('[data-uuid]');const totalCount=alerts.length;alerts.forEach((alert)=>{count++;const alertCountContainer=alert.querySelector('.alert-count');if(!alertCountContainer)return;alertCountContainer.innerHTML=Drupal.t('@current_count of @total_count alerts',{'@current_count':count,'@total_count':totalCount});});});};const removeAlert=(alert)=>{alert.dispatchEvent(new CustomEvent('sitewide-alert-removed',{bubbles:true,composed:true}));alert.remove();updateAlertCount();updateLandmarkRole();};const dismissAlert=(alert)=>{window.localStorage.setItem(`alert-dismissed-${alert.uuid}`,String(Math.round(new Date().getTime()/1000)));document.querySelectorAll(`[data-uuid="${alert.uuid}"]`).forEach((alert)=>{alert.dispatchEvent(new CustomEvent('sitewide-alert-dismissed',{bubbles:true,composed:true}));removeAlert(alert);});};const buildAlertElement=(alert)=>{const alertElement=document.createElement('div');alertElement.innerHTML=alert.renderedAlert;if(alert.dismissible){const dismissButtons=alertElement.getElementsByClassName('js-dismiss-button');for(let i=0;i<dismissButtons.length;i++)dismissButtons[i].addEventListener('click',()=>dismissAlert(alert));}return alertElement.firstElementChild;};const processSsrAlerts=()=>{const roots=document.querySelectorAll(sitewideAlertsSelector);
31roots.forEach((root)=>{const existingAlerts=root.querySelectorAll('[data-uuid]');existingAlerts.forEach((alertElement)=>{const uuid=alertElement.dataset.uuid;const dismissalIgnoreBefore=parseInt(alertElement.dataset.dismissalIgnoreBefore,10)||0;const isDismissible=alertElement.dataset.dismissible==='true';const alertData={uuid,dismissalIgnoreBefore,dismissible:isDismissible};if(alertWasDismissed(alertData)){removeAlert(alertElement);return;}if(isDismissible){const dismissButtons=alertElement.getElementsByClassName('js-dismiss-button');for(let i=0;i<dismissButtons.length;i++)dismissButtons[i].addEventListener('click',()=>dismissAlert(alertData));}});});};const fetchAlerts=()=>{const url=new URL(Drupal.url('sitewide_alert/load'),window.location.origin);url.username='';url.password='';return fetch(url.toString()).then((res)=>res.json()).then((result)=>result.sitewideAlerts,(error)=>{console.error(error);});};const removeStaleAlerts=(alerts)=>{const roots=document.querySelectorAll(sitewideAlertsSelector);roots.forEach((root)=>{const existingAlerts=root.querySelectorAll('[data-uuid]');const alertsToBeRemoved=Array.from(existingAlerts).filter((alert)=>!alerts.includes(alert.getAttribute('data-uuid')));alertsToBeRemoved.forEach((alert)=>removeAlert(alert));});};const initAlerts=()=>{const roots=document.querySelectorAll(sitewideAlertsSelector);fetchAlerts().then((alerts)=>{removeStaleAlerts(alerts.map((alert)=>alert.uuid));alerts.forEach((alert)=>{const dismissed=alertWasDismissed(alert);const showOnThisPage=shouldShowOnThisPage(alert.showOnPages,alert.negateShowOnPages);roots.forEach((root)=>{const existingAlertElement=root.querySelector(`[data-uuid="${alert.uuid}"]`);
31if(showOnThisPage&&!dismissed){if(existingAlertElement&&existingAlertElement.dataset.changed===alert.changed)return;const renderableAlertElement=buildAlertElement(alert);if(existingAlertElement)root.replaceChild(renderableAlertElement,existingAlertElement);else root.appendChild(renderableAlertElement);renderableAlertElement.dispatchEvent(new CustomEvent('sitewide-alert-rendered',{bubbles:true,composed:true}));Drupal.attachBehaviors(renderableAlertElement);return;}if((dismissed||!showOnThisPage)&&existingAlertElement)removeAlert(existingAlertElement);});updateAlertCount();});updateLandmarkRole();});};const supportsHistoryPushState=()=>{return 'pushState' in window.history&&window.history.pushState!==null;};const supportsHistoryReplaceState=()=>{return ('replaceState' in window.history&&window.history.replaceState!==null);};const triggerHistoryEvent=(thisArg,argArray)=>{const event=new CustomEvent('sitewidealerts.popstate',{detail:{state:thisArg,options:argArray}});window.dispatchEvent(event);};const proxyPushState=()=>{if(supportsHistoryPushState())window.history.pushState=new Proxy(window.history.pushState,{apply(target,thisArg,argArray){triggerHistoryEvent(thisArg,argArray);return target.apply(thisArg,argArray);}});if(supportsHistoryReplaceState())window.history.replaceState=new Proxy(window.history.replaceState,{apply(target,thisArg,argArray){triggerHistoryEvent(thisArg,argArray);return target.apply(thisArg,argArray);}});};function debounce(func,wait,immediate){let timeout;return function(...args){const context=this;const later=function(){timeout=null;if(!immediate)func.apply(context,args);};const callNow=immediate&&!timeout;clearTimeout(timeout);timeout=setTimeout(later,wait);if(callNow)func.apply(context,args);};}const historyListener=()=>{const debounced=debounce(initAlerts,2000);window.addEventListener('sitewidealerts.popstate',debounced);window.addEventListener('popstate',debounced);};Drupal.behaviors.sitewide_alert_init={attach:(context)=>{once('sitewide_alerts_init','html',context).forEach(()=>{processSsrAlerts();updateLandmarkRole();if(drupalSettings.sitewideAlert.serverSideRender!==true)initAlerts();proxyPushState();historyListener();if(drupalSettings.sitewideAlert.automaticRefresh===true){const interval=setInterval(()=>initAlerts(),drupalSettings.sitewideAlert.refreshInterval<1000?1000:drupalSettings.sitewideAlert.refreshInterval);if(!drupalSettings.sitewideAlert.automaticRefresh)clearInterval(interval);}});}};})(Drupal,drupalSettings,once);; 32(function($,Drupal,drupalSettings){Drupal.behaviors.travelGuideBehavior={attach:function(context,settings){const $container=$('.checkboxWrapperClass',context);if($container.length&&!$container.data('travelGuideInitialized')){$container.data('travelGuideInitialized',true);const data=drupalSettings.travelGuideRequest;$container.find('.js-form-item').each(function(index){const $item=$(this);const $desc=$item.find('.webform-element-description');const $label=$item.find('label.form-item__label');const itemData=data[index];if(itemData&&itemData.is_active){const links=[];let frontExists=!!itemData.download_front;let backExists=!!itemData.download_back;if(frontExists&&backExists){const frontProxy='/download/pdf?url='+encodeURIComponent(itemData.download_front);const backProxy='/download/pdf?url='+encodeURIComponent(itemData.download_back);links.push('<a href="'+frontProxy+'" download>Download Front PDF</a>');links.push('<a href="'+backProxy+'" download>Download Back PDF</a>');}else{if(frontExists||backExists){const fileUrl=frontExists?itemData.download_front:itemData.download_back;const proxyUrl='/download/pdf?url='+encodeURIComponent(fileUrl);links.push('<a href="'+proxyUrl+'" download>Download PDF</a>');}}if(itemData.attachment)links.push('<a href="'+itemData.attachment+'" target="_blank">View Online</a>');$desc.html(links.join(' | '));if(!itemData.sku||!itemData.sku[0])$label.addClass('noSkuCheckbox');}else $item.remove();});}}};})(jQuery,Drupal,drupalSettings);; 33!function(){"use strict";function t(t,n){for(var e=0;e<n.length;e++){var i=n[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value" in i&&(i.writable=!0),Object.defineProperty(t,i.key,i);}}var n="(prefers-reduced-motion: reduce)",e={CREATED:1,MOUNTED:2,IDLE:3,MOVING:4,SCROLLING:5,DRAGGING:6,DESTROYED:7};function i(t){t.length=0;}function r(t,n,e){return Array.prototype.slice.call(t,n,e);}
33function o(t){return t.bind.apply(t,[null].concat(r(arguments,1)));}var u=setTimeout,a=function(){};function c(t){return requestAnimationFrame(t);}function s(t,n){return typeof n===t;}function l(t){return !h(t)&&s("object",t);}var f=Array.isArray,d=o(s,"function"),v=o(s,"string"),p=o(s,"undefined");function h(t){return null===t;}function g(t){try{return t instanceof (t.ownerDocument.defaultView||window).HTMLElement;}catch(t){return !1;}}function m(t){return f(t)?t:[t];}function y(t,n){m(t).forEach(n);}function b(t,n){return t.indexOf(n)>-1;}function w(t,n){return t.push.apply(t,m(n)),t;}function E(t,n,e){t&&y(n,(function(n){n&&t.classList[e?"add":"remove"](n);}));}function S(t,n){E(t,v(n)?n.split(" "):n,!0);}function x(t,n){y(n,t.appendChild.bind(t));}function A(t,n){y(t,(function(t){var e=(n||t).parentNode;e&&e.insertBefore(t,n);}));}function C(t,n){return g(t)&&(t.msMatchesSelector||t.matches).call(t,n);}function P(t,n){var e=t?r(t.children):[];return n?e.filter((function(t){return C(t,n);})):e;}function L(t,n){return n?P(t,n)[0]:t.firstElementChild;}var _=Object.keys;function k(t,n,e){return t&&(e?_(t).reverse():_(t)).forEach((function(e){"__proto__"!==e&&n(t[e],e);})),t;}function M(t){return r(arguments,1).forEach((function(n){k(n,(function(e,i){t[i]=n[i];}));})),t;}function D(t){return r(arguments,1).forEach((function(n){k(n,(function(n,e){f(n)?t[e]=n.slice():l(n)?t[e]=D({},l(t[e])?t[e]:{},n):t[e]=n;}));})),t;}function z(t,n){y(n||_(t),(function(n){delete t[n];}));}function T(t,n){y(t,(function(t){y(n,(function(n){t&&t.removeAttribute(n);}));}));}function N(t,n,e){l(n)?k(n,(function(n,e){N(t,e,n);})):y(t,(function(t){h(e)||""===e?T(t,n):t.setAttribute(n,String(e));}));}function O(t,n,e){var i=document.createElement(t);return n&&(v(n)?S(i,n):N(i,n)),e&&x(e,i),i;}function I(t,n,e){if(p(e))return getComputedStyle(t)[n];h(e)||(t.style[n]=""+e);}function F(t,n){I(t,"display",n);}function j(t){t.setActive&&t.setActive()||t.focus({preventScroll:!0});}function R(t,n){return t.getAttribute(n);}function q(t,n){return t&&t.classList.contains(n);}function W(t){return t.getBoundingClientRect();}function X(t){y(t,(function(t){t&&t.parentNode&&t.parentNode.removeChild(t);}));}function G(t){return L((new DOMParser()).parseFromString(t,"text/html").body);}function H(t,n){t.preventDefault(),n&&(t.stopPropagation(),t.stopImmediatePropagation());}function B(t,n){return t&&t.querySelector(n);}function Y(t,n){return n?r(t.querySelectorAll(n)):[];}function U(t,n){E(t,n,!1);}function K(t){return t.timeStamp;}function J(t){return v(t)?t:t?t+"px":"";}var V="splide",Q="data-"+V;function Z(t,n){if(!t)throw new Error("["+V+"] "+(n||""));}var $=Math.min,tt=Math.max,nt=Math.floor,et=Math.ceil,it=Math.abs;function rt(t,n,e){return it(t-n)<e;}function ot(t,n,e,i){var r=$(n,e),o=tt(n,e);return i?r<t&&t<o:r<=t&&t<=o;}function ut(t,n,e){var i=$(n,e),r=tt(n,e);return $(tt(i,t),r);}function at(t){return +(t>0)-+(t<0);}function ct(t,n){return y(n,(function(n){t=t.replace("%s",""+n);})),t;}function st(t){return t<10?"0"+t:""+t;}var lt={};function ft(){var t=[];function n(t,n,e){y(t,(function(t){t&&y(n,(function(n){n.split(" ").forEach((function(n){var i=n.split(".");e(t,i[0],i[1]);}));}));}));}return {bind:function(e,i,r,o){n(e,i,(function(n,e,i){var u="addEventListener" in n,a=u?n.removeEventListener.bind(n,e,r,o):n.removeListener.bind(n,r);u?n.addEventListener(e,r,o):n.addListener(r),t.push([n,e,i,r,a]);}));},unbind:function(e,i,r){n(e,i,(function(n,e,i){t=t.filter((function(t){return !!(t[0]!==n||t[1]!==e||t[2]!==i||r&&t[3]!==r)||(t[4](),!1);}));}));},dispatch:function(t,n,e){var i;return "function"==typeof CustomEvent?i=new CustomEvent(n,{bubbles:!0,detail:e}):(i=document.createEvent("CustomEvent")).initCustomEvent(n,!0,!1,e),t.dispatchEvent(i),i;},destroy:function(){t.forEach((function(t){t[4]();})),i(t);}};}var dt="mounted",vt="ready",pt="move",ht="moved",gt="click",mt="refresh",yt="updated",bt="resize",wt="resized",Et="scroll",St="scrolled",xt="destroy",At="navigation:mounted",Ct="autoplay:play",Pt="autoplay:pause",Lt="lazyload:loaded",_t="ei";function kt(t){var n=t?t.event.bus:document.createDocumentFragment(),e=ft();return t&&t.event.on(xt,e.destroy),M(e,{bus:n,on:function(t,i){e.bind(n,m(t).join(" "),(function(t){i.apply(i,f(t.detail)?t.detail:[]);}));},off:o(e.unbind,n),emit:function(t){e.dispatch(n,t,r(arguments,1
33));}});}function Mt(t,n,e,i){var r,o,u=Date.now,a=0,s=!0,l=0;function f(){if(!s){if(a=t?$((u()-r)/t,1):1,e&&e(a),a>=1&&(n(),r=u(),i&&++l>=i))return d();o=c(f);}}function d(){s=!0;}function v(){o&&cancelAnimationFrame(o),a=0,o=0,s=!0;}return {start:function(n){n||v(),r=u()-(n?a*t:0),s=!1,o=c(f);},rewind:function(){r=u(),a=0,e&&e(a);},pause:d,cancel:v,set:function(n){t=n;},isPaused:function(){return s;}};}var Dt="Arrow",zt=Dt+"Left",Tt=Dt+"Right",Nt=Dt+"Up",Ot=Dt+"Down",It="ttb",Ft={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[Nt,Tt],ArrowRight:[Ot,zt]};var jt="role",Rt="tabindex",qt="aria-",Wt=qt+"controls",Xt=qt+"current",Gt=qt+"selected",Ht=qt+"label",Bt=qt+"labelledby",Yt=qt+"hidden",Ut=qt+"orientation",Kt=qt+"roledescription",Jt=qt+"live",Vt=qt+"busy",Qt=qt+"atomic",Zt=[jt,Rt,"disabled",Wt,Xt,Ht,Bt,Yt,Ut,Kt],$t=V+"__",tn="is-",nn=V,en=$t+"track",rn=$t+"list",on=$t+"slide",un=on+"--clone",an=on+"__container",cn=$t+"arrows",sn=$t+"arrow",ln=sn+"--prev",fn=sn+"--next",dn=$t+"pagination",vn=dn+"__page",pn=$t+"progress__bar",hn=$t+"toggle",gn=$t+"sr",mn=tn+"initialized",yn=tn+"active",bn=tn+"prev",wn=tn+"next",En=tn+"visible",Sn=tn+"loading",xn=tn+"focus-in",An=tn+"overflow",Cn=[yn,En,bn,wn,Sn,xn,An],Pn={slide:on,clone:un,arrows:cn,arrow:sn,prev:ln,next:fn,pagination:dn,page:vn,spinner:$t+"spinner"},Ln="touchstart mousedown",_n="touchmove mousemove",kn="touchend touchcancel mouseup click",Mn="slide",Dn="loop",zn="fade";var Tn=Q+"-interval",Nn={passive:!1,capture:!0},On={Spacebar:" ",Right:Tt,Left:zt,Up:Nt,Down:Ot};function In(t){return t=v(t)?t:t.key,On[t]||t;}var Fn="keydown",jn=Q+"-lazy",Rn=jn+"-srcset",qn="["+jn+"], ["+Rn+"]",Wn=[" ","Enter"],Xn=Object.freeze({__proto__:null,Media:function(t,e,i){var r=t.state,o=i.breakpoints||{},u=i.reducedMotion||{},a=ft(),c=[];function s(t){t&&a.destroy();}function l(t,n){var e=matchMedia(n);a.bind(e,"change",f),c.push([t,e]);}function f(){var n=r.is(7),e=i.direction,o=c.reduce((function(t,n){return D(t,n[1].matches?n[0]:{});}),{});z(i),d(o),i.destroy?t.destroy("completely"===i.destroy):n?(s(!0),t.mount()):e!==i.direction&&t.refresh();}function d(n,e,o){D(i,n),e&&D(Object.getPrototypeOf(i),n),!o&&r.is(1)||t.emit(yt,i);}return {setup:function(){var t="min"===i.mediaQuery;_(o).sort((function(n,e){return t?+n-+e:+e-+n;})).forEach((function(n){l(o[n],"("+(t?"min":"max")+"-width:"+n+"px)");})),l(u,n),f();},destroy:s,reduce:function(t){matchMedia(n).matches&&(t?D(i,u):z(i,_(u)));},set:d};},Direction:function(t,n,e){return {resolve:function(t,n,i){var r="rtl"!==(i=i||e.direction)||n?i===It?0:-1:1;return Ft[t]&&Ft[t][r]||t.replace(/width|left|right/i,(function(t,n){var e=Ft[t.toLowerCase()][r]||t;return n>0?e.charAt(0).toUpperCase()+e.slice(1):e;}));},orient:function(t){return t*("rtl"===e.direction?1:-1);}};},Elements:function(t,n,e){var r,o,u,a=kt(t),c=a.on,s=a.bind,l=t.root,f=e.i18n,v={},p=[],h=[],g=[];function m(){var t,n,i;r=x("."+en),o=L(r,"."+rn),Z(r&&o,"A track/list element is missing."),w(p,P(o,"."+on+":not(."+un+")")),k({arrows:cn,pagination:dn,prev:ln,next:fn,bar:pn,toggle:hn},(function(t,n){v[n]=x("."+t);})),M(v,{root:l,track:r,list:o,slides:p}),n=l.id||""+(t=V)+st(lt[t]=(lt[t]||0)+1),i=e.role,l.id=n,r.id=r.id||n+"-track",o.id=o.id||n+"-list",!R(l,jt)&&"SECTION"!==l.tagName&&i&&N(l,jt,i),N(l,Kt,f.carousel),N(o,jt,"presentation"),b();}function y(t){var n=Zt.concat("style");i(p),U(l,h),U(r,g),T([r,o],n),T(l,t?n:["style",Kt]);}function b(){U(l,h),U(r,g),h=A(nn),g=A(en),S(l,h),S(r,g),N(l,Ht,e.label),N(l,Bt,e.labelledby);}function x(t){var n=B(l,t);return n&&function(t,n){if(d(t.closest))return t.closest(n);for(var e=t;e&&1===e.nodeType&&!C(e,n);)e=e.parentElement;return e;}(n,"."+nn)===l?n:void 0;}function A(t){return [t+"--"+e.type,t+"--"+e.direction,e.drag&&t+"--draggable",e.isNavigation&&t+"--nav",t===nn&&yn];}return M(v,{setup:m,mount:function(){c(mt,y),c(mt,m),c(yt,b),s(document,Ln+" keydown",(function(t){u="keydown"===t.type;}),{capture:!0}),s(l,"focusin",(function(){E(l,xn,!!u);}));},destroy:y});},Slides:function(t,n,e){var r=kt(t),u=r.on,a=r.emit,c=r.bind,s=n.Elements,l=s.slides,f=s.list,p=[];function h(){l.forEach((function(t,n){P(t,n,-1);}));}function w(){k((function(t){t.destroy();})),i(p);}function P(n,e,i){var r=function(t,n,e,i){var r,u=kt(t),a=u.on,c=u.emit,s=u.bind,l=t.Components,f=t.root,d=t.options,v=d.isNavigation,p=d.updateOnMove,h=d.i18n,g=d.pagination,m=d.slideFocus,y=l.Direction.resolve,b=R(i,"style"),w=R(i,Ht),S=e>-1,x=L(i,"."+an);function A(){var r=t.splides.map((function(t){var e=t.splide.Components.Slides.getAt(n);return e?e.slide.id:"";})).join(" ");N(i,Ht,ct(h.slideX,(S?e:n)+1)),N(i,Wt,r),N(i,jt,m?"button":""),m&&T(i,Kt);}function C(){r||P();}function P(){if(!r){var e=t.index;(o=_())!==q(i,yn)&&(E(i,yn,o),N(i,Xt,v&&o||""),c(o?"active":"inactive",k)),function(){var n=function(){if(t.is(zn))return _();var n=W(l.Elements.track),e=W(i),r=y("left",!0),o=y("right",!0);return nt(n[r])<=et(e[r])&&nt(e[o])<=et(n[o]);}(),e=!n&&(!_()||S);if(t.state.is([4,5])||N(i,Yt,e||""),N(Y(i,d.focusableNodes||""),Rt,e?-1:""),m&&N(i,Rt,e?-1:0),n!==q(i,En)&&(E(i,En,n),c(n?"visible":"hidden",k)),!n&&document.activeElement===i){var r=l.Slides.getAt(t.index);r&&j(r.slide);}}(),E(i,bn,n===e-1),E(i,wn,n===e+1);}var o;}function _(){var i=t.index;return i===n||d.cloneStatus&&i===e;}var k={index:n,slideIndex:e,slide:i,container:x,isClone:S,mount:function(){S||(i.id=f.id+"-slide"+st(n+1),N(i,jt,g?"tabpanel":"group"),N(i,Kt,h.slide),N(i,Ht,w||ct(h.slideLabel,[n+1,t.length]))),s(i,"click",o(c,gt,k)),s(i,"keydown",o(c,"sk",k)),a([ht,"sh",St],P),a(At,A),p&&a(pt,C);},destroy:function(){r=!0,u.destroy(),U(i,Cn),T(i,Zt),N(i,"style",b),N(i,Ht,w||"");},update:P,style:function(t,n,e){I(e&&x||i,t,n);},isWithin:function(e,i){var r=it(e-n);return S||!d.rewind&&!t.is(Dn)||(r=$(r,t.length-r)),r<=i;}};return k;}
33(t,e,i,n);r.mount(),p.push(r),p.sort((function(t,n){return t.index-n.index;}));}function _(t){return t?M((function(t){return !t.isClone;})):p;}function k(t,n){_(n).forEach(t);}function M(t){return p.filter(d(t)?t:function(n){return v(t)?C(n.slide,t):b(m(t),n.index);});}return {mount:function(){h(),u(mt,w),u(mt,h);},destroy:w,update:function(){k((function(t){t.update();}));},register:P,get:_,getIn:function(t){var i=n.Controller,r=i.toIndex(t),o=i.hasFocus()?1:e.perPage;return M((function(t){return ot(t.index,r,r+o-1);}));},getAt:function(t){return M(t)[0];},add:function(t,n){y(t,(function(t){if(v(t)&&(t=G(t)),g(t)){var i=l[n];i?A(t,i):x(f,t),S(t,e.classes.slide),r=t,u=o(a,bt),s=Y(r,"img"),(d=s.length)?s.forEach((function(t){c(t,"load error",(function(){--d||u();}));})):u();}var r,u,s,d;})),a(mt);},remove:function(t){X(M(t).map((function(t){return t.slide;}))),a(mt);},forEach:k,filter:M,style:function(t,n,e){k((function(i){i.style(t,n,e);}));},getLength:function(t){return t?l.length:p.length;},isEnough:function(){return p.length>e.perPage;}};},Layout:function(t,n,e){var i,r,u,a=kt(t),c=a.on,s=a.bind,f=a.emit,d=n.Slides,v=n.Direction.resolve,p=n.Elements,h=p.root,g=p.track,m=p.list,y=d.getAt,b=d.style;function w(){i=e.direction===It,I(h,"maxWidth",J(e.width)),I(g,v("paddingLeft"),x(!1)),I(g,v("paddingRight"),x(!0)),S(!0);}function S(t){var n,o=W(h);(t||r.width!==o.width||r.height!==o.height)&&(I(g,"height",(n="",i&&(Z(n=A(),"height or heightRatio is missing."),n="calc("+n+" - "+x(!1)+" - "+x(!0)+")"),n)),b(v("marginRight"),J(e.gap)),b("width",e.autoWidth?null:J(e.fixedWidth)||(i?"":C())),b("height",J(e.fixedHeight)||(i?e.autoHeight?null:C():A()),!0),r=o,f(wt),u!==(u=D())&&(E(h,An,u),f("overflow",u)));}function x(t){var n=e.padding,i=v(t?"right":"left");return n&&J(n[i]||(l(n)?0:n))||"0px";}function A(){return J(e.height||W(m).width*e.heightRatio);}function C(){var t=J(e.gap);return "calc((100%"+(t&&" + "+t)+")/"+(e.perPage||1)+(t&&" - "+t)+")";}function P(){return W(m)[v("width")];}function L(t,n){var e=y(t||0);return e?W(e.slide)[v("width")]+(n?0:M()):0;}function _(t,n){var e=y(t);if(e){var i=W(e.slide)[v("right")],r=W(m)[v("left")];return it(i-r)+(n?0:M());}return 0;}function k(n){return _(t.length-1)-_(0)+L(0,n);}function M(){var t=y(0);return t&&parseFloat(I(t.slide,v("marginRight")))||0;}function D(){return t.is(zn)||k(!0)>P();}
33return {mount:function(){var t,n;w(),s(window,"resize load",(t=o(f,bt),n=Mt(0,t,null,1),function(){n.isPaused()&&n.start();})),c([yt,mt],w),c(bt,S);},resize:S,listSize:P,slideSize:L,sliderSize:k,totalSize:_,getPadding:function(t){return parseFloat(I(g,v("padding"+(t?"Right":"Left"))))||0;},isOverflow:D};},Clones:function(t,n,e){var r,o=kt(t),u=o.on,a=n.Elements,c=n.Slides,s=n.Direction.resolve,l=[];function f(){u(mt,d),u([yt,bt],h),(r=g())&&(function(n){var i=c.get().slice(),r=i.length;if(r){for(;i.length<n;)w(i,i);w(i.slice(-n),i.slice(0,n)).forEach((function(o,u){var s=u<n,f=function(n,i){var r=n.cloneNode(!0);return S(r,e.classes.clone),r.id=t.root.id+"-clone"+st(i+1),r;}(o.slide,u);s?A(f,i[0].slide):x(a.list,f),w(l,f),c.register(f,u-n+(s?0:r),o.index);}));}}(r),n.Layout.resize(!0));}function d(){v(),f();}function v(){X(l),i(l),o.destroy();}function h(){var t=g();r!==t&&(r<t||!t)&&o.emit(mt);}function g(){var i=e.clones;if(t.is(Dn)){if(p(i)){var r=e[s("fixedWidth")]&&n.Layout.slideSize(0);i=r&&et(W(a.track)[s("width")]/r)||e[s("autoWidth")]&&t.length||2*e.perPage;}}else i=0;return i;}
33return {mount:f,destroy:v};},Move:function(t,n,e){var i,r=kt(t),o=r.on,u=r.emit,a=t.state.set,c=n.Layout,s=c.slideSize,l=c.getPadding,f=c.totalSize,d=c.listSize,v=c.sliderSize,h=n.Direction,g=h.resolve,m=h.orient,y=n.Elements,b=y.list,w=y.track;function E(){n.Controller.isBusy()||(n.Scroll.cancel(),S(t.index),n.Slides.update());}function S(t){x(L(t,!0));}function x(e,i){if(!t.is(zn)){var r=i?e:function(e){if(t.is(Dn)){var i=P(e),r=i>n.Controller.getEnd();(i<0||r)&&(e=A(e,r));}return e;}(e);I(b,"transform","translate"+g("X")+"("+r+"px)"),e!==r&&u("sh");}}function A(t,n){var e=t-k(n),i=v();return t-m(i*(et(it(e)/i)||1))*(n?1:-1);}function C(){x(_(),!0),i.cancel();}function P(t){for(var e=n.Slides.get(),i=0,r=1/0,o=0;o<e.length;o++){var u=e[o].index,a=it(L(u,!0)-t);if(!(a<=r))break;r=a,i=u;}return i;}function L(n,i){var r=m(f(n-1)-function(t){var n=e.focus;return "center"===n?(d()-s(t,!0))/2:+n*s(t)||0;}(n));return i?function(n){return e.trimSpace&&t.is(Mn)&&(n=ut(n,0,m(v(!0)-d()))),n;}(r):r;}function _(){var t=g("left");return W(b)[t]-W(w)[t]+m(l(!1));}function k(t){return L(t?n.Controller.getEnd():0,!!e.trimSpace);}
33return {mount:function(){i=n.Transition,o([dt,wt,yt,mt],E);},move:function(t,n,e,r){var o,c;t!==n&&(o=t>e,c=m(A(_(),o)),o?c>=0:c<=b[g("scrollWidth")]-W(w)[g("width")])&&(C(),x(A(_(),t>e),!0)),a(4),u(pt,n,e,t),i.start(n,(function(){a(3),u(ht,n,e,t),r&&r();}));},jump:S,translate:x,shift:A,cancel:C,toIndex:P,toPosition:L,getPosition:_,getLimit:k,exceededLimit:function(t,n){n=p(n)?_():n;var e=!0!==t&&m(n)<m(k(!1)),i=!1!==t&&m(n)>m(k(!0));return e||i;},reposition:E};},Controller:function(t,n,e){var i,r,u,a,c=kt(t),s=c.on,l=c.emit,f=n.Move,d=f.getPosition,h=f.getLimit,g=f.toPosition,m=n.Slides,y=m.isEnough,b=m.getLength,w=e.omitEnd,E=t.is(Dn),S=t.is(Mn),x=o(k,!1),A=o(k,!0),C=e.start||0,P=C;function L(){r=b(!0),u=e.perMove,a=e.perPage,i=z();var t=ut(C,0,w?i:r-1);t!==C&&(C=t,f.reposition());}function _(){i!==z()&&l(_t);}function k(t,n){var e=u||(I()?1:a),r=M(C+e*(t?-1:1),C,!(u||I()));return -1===r&&S&&!rt(d(),h(!t),1)?t?0:i:n?r:D(r);}function M(n,o,c){if(y()||I()){var s=function(n){if(S&&"move"===e.trimSpace&&n!==C)for(var i=d();i===g(n,!0)&&ot(n,0,t.length-1,!e.rewind);)n<C?--n:++n;return n;}(n);s!==n&&(o=n,n=s,c=!1),n<0||n>i?n=u||!ot(0,n,o,!0)&&!ot(i,o,n,!0)?E?c?n<0?-(r%a||a):r:n:e.rewind?n<0?i:0:-1:T(N(n)):c&&n!==o&&(n=T(N(o)+(n<o?-1:1)));}else n=-1;return n;}function D(t){return E?(t+r)%r||0:t;}function z(){for(var t=r-(I()||E&&u?1:a);w&&t-->0;)if(g(r-1,!0)!==g(t,!0)){t++;break;}return ut(t,0,r-1);}function T(t){return ut(I()?t:a*t,0,i);}function N(t){return I()?$(t,i):nt((t>=i?r-1:t)/a);}function O(t){t!==C&&(P=C,C=t);}function I(){return !p(e.focus)||e.isNavigation;}function F(){return t.state.is([4,5])&&!!e.waitForTransition;}
33return {mount:function(){L(),s([yt,mt,_t],L),s(wt,_);},go:function(t,n,e){if(!F()){var r=function(t){var n=C;if(v(t)){var e=t.match(/([+\-<>])(\d+)?/)||[],r=e[1],o=e[2];"+"===r||"-"===r?n=M(C+ +(""+r+(+o||1)),C):">"===r?n=o?T(+o):x(!0):"<"===r&&(n=A(!0));}else n=E?t:ut(t,0,i);return n;}(t),o=D(r);o>-1&&(n||o!==C)&&(O(o),f.move(r,o,P,e));}},scroll:function(t,e,r,o){n.Scroll.scroll(t,e,r,(function(){var t=D(f.toIndex(d()));O(w?$(t,i):t),o&&o();}));},getNext:x,getPrev:A,getAdjacent:k,getEnd:z,setIndex:O,getIndex:function(t){return t?P:C;},toIndex:T,toPage:N,toDest:function(t){var n=f.toIndex(t);return S?ut(n,0,i):n;},hasFocus:I,isBusy:F};},Arrows:function(t,n,e){var i,r,u=kt(t),a=u.on,c=u.bind,s=u.emit,l=e.classes,f=e.i18n,d=n.Elements,v=n.Controller,p=d.arrows,h=d.track,g=p,m=d.prev,y=d.next,b={};function w(){var t;!(t=e.arrows)||m&&y||(g=p||O("div",l.arrows),m=L(!0),y=L(!1),i=!0,x(g,[m,y]),!p&&A(g,h)),m&&y&&(M(b,{prev:m,next:y}),F(g,t?"":"none"),S(g,r=cn+"--"+e.direction),t&&(a([dt,ht,mt,St,_t],_),c(y,"click",o(P,">")),c(m,"click",o(P,"<")),_(),N([m,y],Wt,h.id),s("arrows:mounted",m,y))),a(yt,E);}function E(){C(),w();}function C(){u.destroy(),U(g,r),i?(X(p?[m,y]:g),m=y=null):T([m,y],Zt);}function P(t){v.go(t,!0);}function L(t){return G('<button class="'+l.arrow+" "+(t?l.prev:l.next)+'" type="button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" width="40" height="40" focusable="false"><path d="'+(e.arrowPath||"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z")+'" />');}function _(){if(m&&y){var n=t.index,e=v.getPrev(),i=v.getNext(),r=e>-1&&n<e?f.last:f.prev,o=i>-1&&n>i?f.first:f.next;m.disabled=e<0,y.disabled=i<0,N(m,Ht,r),N(y,Ht,o),s("arrows:updated",m,y,e,i);}}return {arrows:b,mount:w,destroy:C,update:_};},Autoplay:function(t,n,e){var i,r,o=kt(t),u=o.on,a=o.bind,c=o.emit,s=Mt(e.interval,t.go.bind(t,">"),(function(t){var n=f.bar;n&&I(n,"width",100*t+"%"),c("autoplay:playing",t);})),l=s.isPaused,f=n.Elements,d=n.Elements,v=d.root,p=d.toggle,h=e.autoplay,g="pause"===h;function m(){l()&&n.Slides.isEnough()&&(s.start(!e.resetProgress),r=i=g=!1,w(),c(Ct));}function y(t){void 0===t&&(t=!0),g=!!t,w(),l()||(s.pause(),c(Pt));}function b(){g||(i||r?y(!1):m());}function w(){p&&(E(p,yn,!g),N(p,Ht,e.i18n[g?"play":"pause"]));}function S(t){var i=n.Slides.getAt(t);s.set(i&&+R(i.slide,Tn)||e.interval);}
33return {mount:function(){h&&(e.pauseOnHover&&a(v,"mouseenter mouseleave",(function(t){i="mouseenter"===t.type,b();})),e.pauseOnFocus&&a(v,"focusin focusout",(function(t){r="focusin"===t.type,b();})),p&&a(p,"click",(function(){g?m():y(!0);})),u([pt,Et,mt],s.rewind),u(pt,S),p&&N(p,Wt,f.track.id),g||m(),w());},destroy:s.cancel,play:m,pause:y,isPaused:l};},Cover:function(t,n,e){var i=kt(t).on;function r(t){n.Slides.forEach((function(n){var e=L(n.container||n.slide,"img");e&&e.src&&u(t,e,n);}));}function u(t,n,e){e.style("background",t?'center/cover no-repeat url("'+n.src+'")':"",!0),F(n,t?"none":"");}return {mount:function(){e.cover&&(i(Lt,o(u,!0)),i([dt,yt,mt],o(r,!0)));},destroy:o(r,!1)};},Scroll:function(t,n,e){var i,r,u=kt(t),a=u.on,c=u.emit,s=t.state.set,l=n.Move,f=l.getPosition,d=l.getLimit,v=l.exceededLimit,p=l.translate,h=t.is(Mn),g=1;function m(t,e,u,a,d){var p=f();if(w(),u&&(!h||!v())){var m=n.Layout.sliderSize(),E=at(t)*m*nt(it(t)/m)||0;t=l.toPosition(n.Controller.toDest(t%m))+E;}var S=rt(p,t,1);g=1,e=S?0:e||tt(it(t-p)/1.5,800),r=a,i=Mt(e,y,o(b,p,t,d),1),s(5),c(Et),i.start();}function y(){s(3),r&&r(),c(St);}function b(t,n,i,o){var u,a,c=f(),s=(t+(n-t)*(u=o,(a=e.easingFunc)?a(u):1-Math.pow(1-u,4))-c)*g;p(c+s),h&&!i&&v()&&(g*=.6,it(s)<10&&m(d(v(!0)),600,!1,r,!0));}function w(){i&&i.cancel();}function E(){i&&!i.isPaused()&&(w(),y());}
33return {mount:function(){a(pt,w),a([yt,mt],E);},destroy:w,scroll:m,cancel:E};},Drag:function(t,n,e){var i,r,o,u,c,s,f,d,v=kt(t),p=v.on,h=v.emit,g=v.bind,m=v.unbind,y=t.state,b=n.Move,w=n.Scroll,E=n.Controller,S=n.Elements.track,x=n.Media.reduce,A=n.Direction,P=A.resolve,L=A.orient,_=b.getPosition,k=b.exceededLimit,M=!1;function D(){var t=e.drag;X(!t),u="free"===t;}function z(t){if(s=!1,!f){var n=W(t);i=t.target,r=e.noDrag,C(i,"."+vn+", ."+sn)||r&&C(i,r)||!n&&t.button||(E.isBusy()?H(t,!0):(d=n?S:window,c=y.is([4,5]),o=null,g(d,_n,T,Nn),g(d,kn,N,Nn),b.cancel(),w.cancel(),I(t)));}var i,r;}function T(n){if(y.is(6)||(y.set(6),h("drag")),n.cancelable)if(c){b.translate(i+F(n)/(M&&t.is(Mn)?5:1));var r=j(n)>200,o=M!==(M=k());(r||o)&&I(n),s=!0,h("dragging"),H(n);}else (function(t){return it(F(t))>it(F(t,!0));})(n)&&(c=function(t){var n=e.dragMinThreshold,i=l(n),r=i&&n.mouse||0,o=(i?n.touch:+n)||10;return it(F(t))>(W(t)?o:r);}(n),H(n));}function N(i){y.is(6)&&(y.set(3),h("dragged")),c&&(function(i){var r=function(n){if(t.is(Dn)||!M){var e=j(n);if(e&&e<200)return F(n)/e;}return 0;}(i),o=function(t){return _()+at(t)*$(it(t)*(e.flickPower||600),u?1/0:n.Layout.listSize()*(e.flickMaxPages||1));}(r),a=e.rewind&&e.rewindByDrag;x(!1),u?E.scroll(o,0,e.snap):t.is(zn)?E.go(L(at(r))<0?a?"<":"-":a?">":"+"):t.is(Mn)&&M&&a?E.go(k(!0)?">":"<"):E.go(E.toDest(o),!0),x(!0);}(i),H(i)),m(d,_n,T),m(d,kn,N),c=!1;}function O(t){!f&&s&&H(t,!0);}function I(t){o=r,r=t,i=_();}function F(t,n){return q(t,n)-q(R(t),n);}function j(t){return K(t)-K(R(t));}function R(t){return r===t&&o||r;}function q(t,n){return (W(t)?t.changedTouches[0]:t)["page"+P(n?"Y":"X")];}function W(t){return "undefined"!=typeof TouchEvent&&t instanceof TouchEvent;}function X(t){f=t;}
33return {mount:function(){g(S,_n,a,Nn),g(S,kn,a,Nn),g(S,Ln,z,Nn),g(S,"click",O,{capture:!0}),g(S,"dragstart",H),p([dt,yt],D);},disable:X,isDragging:function(){return c;}};},Keyboard:function(t,n,e){var i,r,o=kt(t),a=o.on,c=o.bind,s=o.unbind,l=t.root,f=n.Direction.resolve;function d(){var t=e.keyboard;t&&(i="global"===t?window:l,c(i,Fn,h));}function v(){s(i,Fn);}function p(){var t=r;r=!0,u((function(){r=t;}));}function h(n){if(!r){var e=In(n);e===f(zt)?t.go("<"):e===f(Tt)&&t.go(">");}}return {mount:function(){d(),a(yt,v),a(yt,d),a(pt,p);},destroy:v,disable:function(t){r=t;}};},LazyLoad:function(t,n,e){var r=kt(t),u=r.on,a=r.off,c=r.bind,s=r.emit,l="sequential"===e.lazyLoad,f=[ht,St],d=[];function v(){i(d),n.Slides.forEach((function(t){Y(t.slide,qn).forEach((function(n){var i=R(n,jn),r=R(n,Rn);if(i!==n.src||r!==n.srcset){var o=e.classes.spinner,u=n.parentElement,a=L(u,"."+o)||O("span",o,u);d.push([n,t,a]),n.src||F(n,"none");}}));})),l?m():(a(f),u(f,p),p());}function p(){(d=d.filter((function(n){var i=e.perPage*((e.preloadPages||1)+1)-1;return !n[1].isWithin(t.index,i)||h(n);}))).length||a(f);}function h(t){var n=t[0];S(t[1].slide,Sn),c(n,"load error",o(g,t)),N(n,"src",R(n,jn)),N(n,"srcset",R(n,Rn)),T(n,jn),T(n,Rn);}function g(t,n){var e=t[0],i=t[1];U(i.slide,Sn),"error"!==n.type&&(X(t[2]),F(e,""),s(Lt,e,i),s(bt)),l&&m();}function m(){d.length&&h(d.shift());}
33return {mount:function(){e.lazyLoad&&(v(),u(mt,v));},destroy:o(i,d),check:p};},Pagination:function(t,n,e){var u,a,c=kt(t),s=c.on,l=c.emit,f=c.bind,d=n.Slides,v=n.Elements,p=n.Controller,h=p.hasFocus,g=p.getIndex,m=p.go,y=n.Direction.resolve,b=v.pagination,w=[];function E(){u&&(X(b?r(u.children):u),U(u,a),i(w),u=null),c.destroy();}function x(t){m(">"+t,!0);}function A(t,n){var e=w.length,i=In(n),r=C(),o=-1;i===y(Tt,!1,r)?o=++t%e:i===y(zt,!1,r)?o=(--t+e)%e:"Home"===i?o=0:"End"===i&&(o=e-1);var u=w[o];u&&(j(u.button),m(">"+o),H(n,!0));}function C(){return e.paginationDirection||e.direction;}function P(t){return w[p.toPage(t)];}function L(){var t=P(g(!0)),n=P(g());if(t){var e=t.button;U(e,yn),T(e,Gt),N(e,Rt,-1);}if(n){var i=n.button;S(i,yn),N(i,Gt,!0),N(i,Rt,"");}l("pagination:updated",{list:u,items:w},t,n);}return {items:w,mount:function n(){E(),s([yt,mt,_t],n);var i=e.pagination;b&&F(b,i?"":"none"),i&&(s([pt,Et,St],L),function(){var n=t.length,i=e.classes,r=e.i18n,c=e.perPage,s=h()?p.getEnd()+1:et(n/c);S(u=b||O("ul",i.pagination,v.track.parentElement),a=dn+"--"+C()),N(u,jt,"tablist"),N(u,Ht,r.select),N(u,Ut,C()===It?"vertical":"");for(var l=0;l<s;l++){var g=O("li",null,u),m=O("button",{class:i.page,type:"button"},g),y=d.getIn(l).map((function(t){return t.slide.id;})),E=!h()&&c>1?r.pageX:r.slideX;f(m,"click",o(x,l)),e.paginationKeyboard&&f(m,"keydown",o(A,l)),N(g,jt,"presentation"),N(m,jt,"tab"),N(m,Wt,y.join(" ")),N(m,Ht,ct(E,l+1)),N(m,Rt,-1),w.push({li:g,button:m,page:l});}}(),L(),l("pagination:mounted",{list:u,items:w},P(t.index)));},destroy:E,getAt:P,update:L};},Sync:function(t,n,e){var r=e.isNavigation,u=e.slideFocus,a=[];function c(){var n,e;t.splides.forEach((function(n){n.isParent||(l(t,n.splide),l(n.splide,t));})),r&&((e=(n=kt(t)).on)(gt,d),e("sk",v),e([dt,yt],f),a.push(n),n.emit(At,t.splides));}function s(){a.forEach((function(t){t.destroy();})),i(a);}function l(t,n){var e=kt(t);e.on(pt,(function(t,e,i){n.go(n.is(Dn)?i:t);})),a.push(e);}function f(){N(n.Elements.list,Ut,e.direction===It?"vertical":"");}function d(n){t.go(n.index);}function v(t,n){b(Wn,In(n))&&(d(t),H(n));}return {setup:o(n.Media.set,{slideFocus:p(u)?r:u},!0),mount:c,destroy:s,remount:function(){s(),c();}};},Wheel:function(t,n,e){var i=kt(t).bind,r=0;function o(i){if(i.cancelable){var o=i.deltaY,u=o<0,a=K(i),c=e.wheelMinThreshold||0,s=e.wheelSleep||0;it(o)>c&&a-r>s&&(t.go(u?"<":">"),r=a),function(i){return !e.releaseWheel||t.state.is(4)||-1!==n.Controller.getAdjacent(i);}(u)&&H(i);}}return {mount:function(){e.wheel&&i(n.Elements.track,"wheel",o,Nn);}};},Live:function(t,n,e){var i=kt(t).on,r=n.Elements.track,u=e.live&&!e.isNavigation,a=O("span",gn),c=Mt(90,o(s,!1));function s(t){N(r,Vt,t),t?(x(r,a),c.start()):(X(a),c.cancel());}function l(t){u&&N(r,Jt,t?"off":"polite");}
33return {mount:function(){u&&(l(!n.Autoplay.isPaused()),N(r,Qt,!0),a.textContent="â¦",i(Ct,o(l,!0)),i(Pt,o(l,!1)),i([ht,St],o(s,!0)));},disable:l,destroy:function(){T(r,[Jt,Qt,Vt]),X(a);}};}}),Gn={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:Pn,i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function Hn(t,n,e){var i=n.Slides;function r(){i.forEach((function(t){t.style("transform","translateX(-"+100*t.index+"%)");}));}return {mount:function(){kt(t).on([dt,mt],r);},start:function(t,n){i.style("transition","opacity "+e.speed+"ms "+e.easing),u(n);},cancel:a};}function Bn(t,n,e){var i,r=n.Move,u=n.Controller,a=n.Scroll,c=n.Elements.list,s=o(I,c,"transition");function l(){s(""),a.cancel();}
33return {mount:function(){kt(t).bind(c,"transitionend",(function(t){t.target===c&&i&&(l(),i());}));},start:function(n,o){var c=r.toPosition(n,!0),l=r.getPosition(),f=function(n){var i=e.rewindSpeed;if(t.is(Mn)&&i){var r=u.getIndex(!0),o=u.getEnd();if(0===r&&n>=o||r>=o&&0===n)return i;}return e.speed;}(n);it(c-l)>=1&&f>=1?e.useScroll?a.scroll(c,f,!1,o):(s("transform "+f+"ms "+e.easing),r.translate(c,!0),i=o):(r.jump(n),o());},cancel:l};}var Yn=function(){function n(t,e){var i;this.event=kt(),this.Components={},this.state=(i=1,{set:function(t){i=t;},is:function(t){return b(m(t),i);}}),this.splides=[],this._o={},this._E={};var r=v(t)?B(document,t):t;Z(r,r+" is invalid."),this.root=r,e=D({label:R(r,Ht)||"",labelledby:R(r,Bt)||""},Gn,n.defaults,e||{});try{D(e,JSON.parse(R(r,Q)));}catch(t){Z(!1,"Invalid JSON");}this._o=Object.create(D({},e));}var e,o,u=n.prototype;return u.mount=function(t,n){var e=this,i=this.state,r=this.Components;return Z(i.is([1,7]),"Already mounted!"),i.set(1),this._C=r,this._T=n||this._T||(this.is(zn)?Hn:Bn),this._E=t||this._E,k(M({},Xn,this._E,{Transition:this._T}),(function(t,n){var i=t(e,r,e._o);r[n]=i,i.setup&&i.setup();})),k(r,(function(t){t.mount&&t.mount();})),this.emit(dt),S(this.root,mn),i.set(3),this.emit(vt),this;},u.sync=function(t){return this.splides.push({splide:t}),t.splides.push({splide:this,isParent:!0}),this.state.is(3)&&(this._C.Sync.remount(),t.Components.Sync.remount()),this;},u.go=function(t){return this._C.Controller.go(t),this;},u.on=function(t,n){return this.event.on(t,n),this;},u.off=function(t){return this.event.off(t),this;},u.emit=function(t){var n;return (n=this.event).emit.apply(n,[t].concat(r(arguments,1))),this;},u.add=function(t,n){return this._C.Slides.add(t,n),this;},u.remove=function(t){return this._C.Slides.remove(t),this;},u.is=function(t){return this._o.type===t;},u.refresh=function(){return this.emit(mt),this;},u.destroy=function(t){void 0===t&&(t=!0);var n=this.event,e=this.state;return e.is(1)?kt(this).on(vt,this.destroy.bind(this,t)):(k(this._C,(function(n){n.destroy&&n.destroy(t);}),!0),n.emit(xt),n.destroy(),t&&i(this.splides),e.set(7)),this;},e=n,(o=[{key:"options",get:function(){return this._o;},set:function(t){this._C.Media.set(t,!0,!0);}},{key:"length",get:function(){return this._C.Slides.getLength(!0);}},{key:"index",get:function(){return this._C.Controller.getIndex();}}])&&t(e.prototype,o),Object.defineProperty(e,"prototype",{writable:!1}),n;}(),Un=Yn;Un.defaults={},Un.STATES=e,Drupal.behaviors.bannerCarousel={attach:function(){var t=document.querySelectorAll(".splide-banner-carousel");t&&t.forEach((function(t,n){for(var e=t.querySelector(".splide__arrow-count"),i=t.querySelector(".splide__list"),r=Array.from(i.children),o=r.length-1;0<o;o--){var u=Math.floor(Math.random()*(o+1)),a=[r[u],r[o]];r[o]=a[0],r[u]=a[1];}i.innerHTML="",r.forEach((function(t){return i.appendChild(t);})),t.id||(t.id="splide-banner-".concat(n));var c=new Un(t,{perPage:1,perMove:1,type:"loop",drag:1!=r.length});c.on("ready",(function(){var n=t.querySelector(".is-active");e.innerHTML=n.ariaLabel.replace("of","/");})),setTimeout((function(){c.mount(),c.root.removeAttribute("aria-roledescription"),c.root.removeAttribute("aria-label"),c.root.removeAttribute("role");var n=c.root.querySelector(".splide__list");n&&n.setAttribute("role","none"),c.root.querySelectorAll(".splide__slide").forEach((function(t){t.removeAttribute("role"),t.removeAttribute("aria-roledescription");})),c.on("moved",(function(){var n=t.querySelector(".is-active");e.innerHTML=n.ariaLabel.replace("of","/");})),1===c.length&&t.classList.add("splide--single-slide");}),500);})),document.querySelectorAll(".banner-carousel video").forEach((function(t){740<=window.innerWidth&&(t.setAttribute("autoplay","true"),t.removeAttribute("preload"),t.setAttribute("playsinline","true"));})),document.querySelectorAll(".banner video").forEach((function(t){740<=window.innerWidth&&(t.setAttribute("autoplay","true"),t.removeAttribute("preload"),t.setAttribute("playsinline","true"));}));}};}();;
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.