PageSourceSearch

https://www.cognacq-jay-sante.fr/sites/site_health/files/js/js_ybP…N8JAtfnt-zeMWaZDO2z89H4Jh4tQqpPYYcd_ABxDYgQ

js cognacq-jay-sante.fr collected 2026-10-09 18:31:08 UTC 74,181 bytes, 24 lines download raw bytes

vendor: 5,750 bytes, lines 1-7
1/* @license GPL-2.0-or-later https://git.drupalcode.org/project/once/-/raw/v1.0.1/LICENSE.md */
2/*! @drupal/once - v1.0.1 - 2021-06-12 */
3var once=function(){"use strict";var n=/[\11\12\14\15\40]+/,e="data-once",t=document;function r(n,t,r){return n[t+"Attribute"](e,r)}function o(e){if("string"!=typeof e)throw new TypeError("once ID must be a string");if(""===e||n.test(e))throw new RangeError("once ID must not be empty or contain spaces");return'[data-once~="'+e+'"]'}function u(n){if(!(n instanceof Element))throw new TypeError("The element must be an instance of Element");return!0}function i(n,e){void 0===e&&(e=t);var r=n;if(null===n)r=[];else{if(!n)throw new TypeError("Selector must not be empty");"string"!=typeof n||e!==t&&!u(e)?n instanceof Element&&(r=[n]):r=e.querySelectorAll(n)}return Array.prototype.slice.call(r)}function c(n,e,t){return e.filter((function(e){var r=u(e)&&e.matches(n);return r&&t&&t(e),r}))}function f(e,t){var o=t.add,u=t.remove,i=[];r(e,"has")&&r(e,"get").trim().split(n).forEach((function(n){i.indexOf(n)<0&&n!==u&&i.push(n)})),o&&i.push(o);var c=i.join(" ");r(e,""===c?"remove":"set",c)}function a(n,e,t){return c(":not("+o(n)+")",i(e,t),(function(e){return f(e,{add:n})}))}return a.remove=function(n,e,t){return c(o(n),i(e,t),(function(e){return f(e,{remove:n})}))},a.filter=function(n,e,t){return c(o(n),i(e,t))},a.find=function(n,e){return i(n?o(n):"[data-once]",e)},a}();
4
5;
6/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
7window.drupalTranslations={"strings":{"":{"Previous slide":"Contenu pr\u00e9c\u00e9dent","Next slide":"Contenu suivant","slide":"Contenu","Link copied in clipboard":"Lien copi\u00e9 dans le presse-papier","An AJAX HTTP error occurred.":"Une erreur HTTP AJAX s\u0027est produite.","HTTP Result Code: !status":"Code de statut HTTP : !status","StatusText: !statusText":"StatusText: !statusText","ResponseText: !responseText":"ResponseText : !responseText","ReadyState: !readyState":"ReadyState : !readyState","CustomMessage: !customMessage":"Message personnalis\u00e9 : !customMessage","Processing...":"En cours de traitement...","The callback URL is not local and not trusted: !url":"L\u0027URL de retour n\u0027est pas locale et n\u0027est pas de confiance : !url","An error occurred during the execution of the Ajax response: !error":"Une erreur est survenue durant l\u0027ex\u00e9cution la r\u00e9ponse Ajax: !error","Changed":"Modifi\u00e9","List additional actions":"Lister les actions suppl\u00e9mentaires","New revision":"Nouvelle version","No revision":"Aucune version","Needs to be updated":"N\u00e9cessite une mise \u00e0 jour","Does not need to be updated":"Ne n\u00e9cessite aucune mise \u00e0 jour","Flag other translations as outdated":"Marquer les autres traductions comme p\u00e9rim\u00e9es","Do not flag other translations as outdated":"Ne pas marquer les autres traductions comme p\u00e9rim\u00e9es","Edit machine name":"Modifier le nom machine","Edit":"Modifier","Status message":"Message d\u0027\u00e9tat","Error message":"Message d\u0027erreur","Warning message":"Message d\u0027avertissement","Show all columns":"Montrer toutes les colonnes","Hide lower priority columns":"Cacher les colonnes de plus faible priorit\u00e9","Not restricted":"Non restreint","Restricted to certain pages":"R\u00e9serv\u00e9 \u00e0 certaines pages","The block cannot be placed in this region.":"Le bloc ne peut pas \u00eatre plac\u00e9 dans cette r\u00e9gion.","Preview failed":"\u00c9chec de la pr\u00e9visualisation","An error occurred while trying to preview the media. Save your work and reload this page.":"Une erreur est survenue lors de la tentative de pr\u00e9-visualisation du m\u00e9dia. Enregistrer votre travail et recharger cette page.","Media widget":"Widget m\u00e9dia","Insert Media":"Ins\u00e9rer un M\u00e9dia","Drupal Media toolbar":"Barre d\u0027outils Drupal Media","Not all functionality may be available because some information could not be retrieved.":"Il se peut que certaines fonctionnalit\u00e9s ne soient pas disponibles car une partie des informations n\u0027a pas pu \u00eatre r\u00e9cup\u00e9r\u00e9e.","Save":"Enregistrer","Cancel":"Annuler","Alternative text override":"Surcharge de l\u0027alternative textuelle","Decorative image":"Image d\u00e9corative","Override media image alternative text":"Supplanter le texte alternatif de l\u0027image du m\u00e9dia","Link media":"Lien du m\u00e9dia","Enter media caption":"Saisir la l\u00e9gende du m\u00e9dia","Caption media":"L\u00e9gende du m\u00e9dia","Toggle caption off":"D\u00e9sactiver la l\u00e9gende","Toggle caption on":"Activer la l\u00e9gende","Open":"Ouvert","Close":"Fermer","@action @title configuration options":"options de configuration @action @title","Press the esc key to exit.":"Pressez la touche Echap pour quitter.","Changing the text format to %text_format will permanently remove content that is not allowed in that text format.\u003Cbr\u003E\u003Cbr\u003ESave your changes before switching the text format to avoid losing data.":"Basculer le format de texte en %text_format retirera d\u00e9finitivement le contenu qui n\u0027est pas autoris\u00e9 dans ce format de texte.\u003Cbr\u003E\u003Cbr\u003EPour \u00e9viter de perdre des donn\u00e9es, enregistrez vos changements avant de basculer le format de texte.","Continue":"Continuer","The selected file %filename cannot be uploaded. Only files with the following extensions are allowed: %extensions.":"Le fichier s\u00e9lectionn\u00e9 %filename ne peut pas \u00eatre transf\u00e9r\u00e9. Seuls les fichiers avec les extensions suivantes sont autoris\u00e9s : %extensions.","Hide description":"Masquer la description","Show description":"Afficher la description","By @name on @date":"Par @name le @date","By @
7name":"Par @name","Authored on @date":"R\u00e9dig\u00e9 le @date","Show media item weights":"Afficher les poids des \u00e9l\u00e9ments m\u00e9dia","Hide media item weights":"Masquer les poids des \u00e9l\u00e9ments m\u00e9dia","Not in menu":"Pas dans le menu","Requires a title":"Titre obligatoire","Not published":"Non publi\u00e9","Don\u0027t display post information":"Ne pas afficher les informations de la contribution","Not promoted":"Non promu","Leave preview?":"Quitter l\u0027aper\u00e7u ?","Leave preview":"Quitter l\u0027aper\u00e7u","Alias: @alias":"Alias : @alias","No alias":"Aucun alias","Horizontal orientation":"Orientation horizontale","Vertical orientation":"Orientation verticale","Extend":"Extension","Collapse":"Replier","@label":"@label","Tray orientation changed to @orientation.":"L\u0027orientation du sous-menu est maintenant @orientation.","closed":"ferm\u00e9","opened":"ouvert","Tray \u0022@tray\u0022 @action.":"Sous-menu \u0022@tray\u0022 @action.","Tray @action.":"Sous-menu @action.","You have unsaved changes.":"Vous avez des changements non enregistr\u00e9s.","Change order":"Changer l\u0027ordre","Move in any direction":"D\u00e9placer dans n\u0027importe quelle direction","Hide row weights":"Cacher le poids des lignes","Show row weights":"Afficher le poids des lignes","No items selected":"Aucun \u00e9l\u00e9ment s\u00e9lectionn\u00e9","Select All":"Tout s\u00e9lectionner","Select None":"Aucun","Query":"Requ\u00eate","Enabled":"Enabled","Disabled":"Disabled","Title":"Titre","CSS classes":"Classes CSS","ID":"Identifiant (ID)","Advanced":"Avanc\u00e9","Add In Between":"Ajouter entre","Automatic alias":"Alias automatique","Scheduled for publishing":"Planifi\u00e9 pour publication","Scheduled for unpublishing":"Planifi\u00e9 pour d\u00e9publication","Not scheduled":"Non planifi\u00e9","Publishing enabled":"Publication activ\u00e9e","Unpublishing enabled":"D\u00e9publication activ\u00e9e","Insert this token into your form":"Ins\u00e9rer ce jeton (\u003Cem\u003Etoken\u003C\/em\u003E) dans votre formulaire","First click a text field to insert your tokens into.":"Cliquez d\u0027abord sur un champ de texte pour ins\u00e9rer vos jetons (\u003Cem\u003Etokens\u003C\/em\u003E) dans celui -ci.","Search suggestions":"Suggestions de recherche","When results are available use up and down arrows to review and enter to select. Touch device users, explore by touch or with swipe gestures.":"Lorsque des r\u00e9sultats sont disponibles, utilisez les fl\u00e8ches haut et bas pour les consulter et Entr\u00e9e pour s\u00e9lectionner. Utilisateurs d\u0027appareils tactiles, explorez par le toucher ou par balayage.","Delete":"Supprimer","Deleted":"Supprim\u00e9","Show all":"Tout afficher","Delete all":"Tout supprimer","No results":"Aucun r\u00e9sultat","-Enter a name-":"-Saisir un nom-","Hide":"Masquer","Hide sidebar panel":"Masquer le panneau de la barre lat\u00e9rale","Show sidebar panel":"Afficher le panneau de la barre lat\u00e9rale","An error occurred while trying to preview the media. Please save your work and reload this page.":"Une erreur s\u0027est produite lors de la tentative de pr\u00e9visualisation du m\u00e9dia. Veuillez enregistrer votre travail et recharger cette page.","Select all media":"S\u00e9lectionner tous les m\u00e9dias","All @count items selected":"Tous les @count \u00e9l\u00e9ments ont \u00e9t\u00e9 s\u00e9lectionn\u00e9s","Zero items selected":"Zero \u00e9l\u00e9ment s\u00e9lectionn\u00e9","Select all rows in this table":"S\u00e9lectionner toutes les lignes du tableau","Deselect all rows in this table":"D\u00e9s\u00e9lectionner toutes les lignes du tableau","Suggestions":"Suggestions","When results are available, use Up and Down arrows to review and Enter to select. Touch device users, explore by touch or with swipe gestures.":"Lorsque des r\u00e9sultats sont disponibles, utilisez les touches \u00ab\u00a0Haut\u00a0\u00bb et \u00ab\u00a0Bas\u00a0\u00bb pour consulter et la touche \u00ab\u00a0Entr\u00e9e\u00a0\u00bb pour s\u00e9lectionner. Pour les appareils tactiles, explorez au toucher ou avec des gestes de balayage.","Delete selection":"Supprimer la s\u00e9lection","Selection deleted":"S\u00e9lection supprim\u00e9e","Selected":"S\u00e9lectionn\u00e9","Show all suggestions":"Montrer toutes les suggestions","Select one or more":"S\u00e9lectionner un(e) ou plus","Please fill in this field.":"Veuillez compl\u00e9ter ce champ.","@count result is available.\u0003@count results are available.":"@count r\u00e9sultat disponible\u0003@count r\u00e9sultats disponibles"},"Paragraphs Features":{"+ Add":"+ Ajouter","@title":"@title","+ @t
7itle":"+ @title","...":"..."}},"pluralFormula":{"0":0,"1":0,"default":1}};;
8(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);})();;
9window.Drupal={behaviors:{},locale:{}};(function(Drupal,drupalSettings,drupalTranslations,console,Proxy,Reflect){Drupal.throwError=function(error){setTimeout(()=>{throw error;},0);};Drupal.attachBehaviors=function(context,settings){context=context||document;settings=settings||drupalSettings;const behaviors=Drupal.behaviors;Object.keys(behaviors||{}).forEach((i)=>{if(typeof behaviors[i].attach==='function')try{behaviors[i].attach(context,settings);}catch(e){Drupal.throwError(e);}});};Drupal.detachBehaviors=function(context,settings,trigger){context=context||document;settings=settings||drupalSettings;trigger=trigger||'unload';const behaviors=Drupal.behaviors;Object.keys(behaviors||{}).forEach((i)=>{if(typeof behaviors[i].detach==='function')try{behaviors[i].detach(context,settings,trigger);}catch(e){Drupal.throwError(e);}});};Drupal.checkPlain=function(str){str=str.toString().replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;').replace(/"/g,'&quot;').replace(/'/g,'&#39;');return str;};Drupal.formatString=function(str,args){const processedArgs={};Object.keys(args||{}).forEach((key)=>{switch(key.charAt(0)){case '@':processedArgs[key]=Drupal.checkPlain(args[key]);break;case '!':processedArgs[key]=args[key];break;default:processedArgs[key]=Drupal.theme('placeholder',args[key]);break;}});return Drupal.stringReplace(str,processedArgs,null);};Drupal.stringReplace=function(str,args,keys){if(str.length===0)return str;if(!Array.isArray(keys)){keys=Object.keys(args||{});keys.sort((a,b)=>a.length-b.length);}if(keys.length===0)return str;const key=keys.pop();const fragments=str.split(key);if(keys.length){for(let i=0;i<fragments.length;i++)fragments[i]=Drupal.stringReplace(fragments[i],args,keys.slice(0));}return fragments.join(args[key]);};Drupal.t=function(str,args,options){options=options||{};options.context=options.context||'';if(drupalTranslations?.strings?.[options.context]?.[str])str=drupalTranslations.strings[options.context][str];if(args)str=Drupal.formatString(str,args);return str;};Drupal.url=function(path){return drupalSettings.path.baseUrl+drupalSettings.path.pathPrefix+path;};Drupal.url.toAbsolute=function(url){const urlParsingNode=document.createElement('a');try{url=decodeURIComponent(url);}catch(e){}urlParsingNode.setAttribute('href',url);return urlParsingNode.href;};Drupal.url.isLocal=function(url){let absoluteUrl=Drupal.url.toAbsolute(url);let {protocol}=window.location;if(protocol==='http:'&&absoluteUrl.startsWith('https:'))protocol='https:';let baseUrl=`${protocol}//${window.location.host}${drupalSettings.path.baseUrl.slice(0,-1)}`;try{absoluteUrl=decodeURIComponent(absoluteUrl);}catch(e){}try{baseUrl=decodeURIComponent(baseUrl);}catch(e){}return absoluteUrl===baseUrl||absoluteUrl.startsWith(`${baseUrl}/`);};Drupal.formatPlural=function(count,singular,plural,args,options){args=args||{};args['@count']=count;const pluralDelimiter=drupalSettings.pluralDelimiter;const translations=Drupal.t(singular+pluralDelimiter+plural,args,options).split(pluralDelimiter);let index=0;if(drupalTranslations?.pluralFormula)index=count in drupalTranslations.pluralFormula?drupalTranslations.pluralFormula[count]:drupalTranslations.pluralFormula.default;else{if(args['@count']!==1)index=1;}return translations[index];};Drupal.encodePath=function(item){return window.encodeURIComponent(item).replace(/%2F/g,'/');};Drupal.deprecationError=({message})=>{if(drupalSettings.suppressDeprecationErrors===false&&console?.warn)console.warn(`[Deprecation] ${message}`);};Drupal.deprecatedProperty=({target,deprecatedProperty,message})=>{if(!Proxy||!Reflect)return target;return new Proxy(target,{get:(target,key,...rest)=>{if(key===deprecatedProperty)Drupal.deprecationError({message});return Reflect.get(target,key,...rest);}});};Drupal.theme=function(func,...args){if(typeof Drupal.theme?.[func]==='function')return Drupal.theme[func](...args);Drupal.throwError(new TypeError(`Drupal.theme.${func} must be function type.`));};Drupal.theme.placeholder=function(str){return `<em class="placeholder">${Drupal.checkPlain(str)}</em>`;};Drupal.elementIsVisible=function(elem){return !!(elem.offsetWidth||elem.offsetHeight||elem.getClientRects().length);};Drupal.elementIsHidden=function(elem){return !Drupal.elementIsVisible(elem);};})(Drupal,window.drupalSettings,window.drupalTranslations,window.console,window.Proxy,window.Reflect);;
10if(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);;
11var Helpers=(function(helpers){'use strict';helpers.scrollTo=(target,hash,offset)=>{if(offset)target.style.scrollMarginTop=(offset/10)+'rem';target.scrollIntoView({behavior:"smooth",block:"start"});if(target.matches('[tabindex], a[href], button, input, textarea, select, summary, object, embed, iframe'))target.focu
11s({preventScroll:true});else{target.setAttribute('tabindex','-1');target.focus({preventScroll:true});}if(hash)setTimeout(()=>{window.location.hash=hash;},550);};helpers.isExpanded=(element,isExpanded,eventPrefix='')=>{if(isExpanded)element.classList.add('is-expanded');else element.classList.remove('is-expanded');element.getElementsByTagName('button')[0].setAttribute('aria-expanded',isExpanded.toString());if(eventPrefix)element.dispatchEvent(new CustomEvent(eventPrefix+((isExpanded)?'-open':'-close')));};helpers.toggleEventListener=(target,funcName,selector)=>{const events=['click','focusin'];events.forEach((eventName)=>{target.addEventListener(eventName,(event)=>{const elements=document.querySelectorAll(selector);(elements.length)?funcName(event,elements):target.removeEventListener(eventName,(event)=>funcName(event,elements));});});};return helpers;}(Helpers||{}));;
12(function(Drupal,once,Helpers){'use strict';Drupal.behaviors.collapsible={attach:function(context){const eventPrefix='collapsible';once('jsCollapsible','.js-collapsible',context).forEach((jsCollapsible)=>{const cta=jsCollapsible.querySelector('.js-collapsible-cta');cta.addEventListener('click',()=>{const isExpanded=jsCollapsible.classList.contains('is-expanded');const rel=jsCollapsible.getAttribute('data-collapsible-rel');if(!isExpanded&&rel){const siblings=document.querySelectorAll(`[data-collapsible-rel="${rel}"].is-expanded`);siblings.forEach((sibling)=>Helpers.isExpanded(sibling,isExpanded,eventPrefix));}Helpers.isExpanded(jsCollapsible,!isExpanded,eventPrefix);});});once('jsCollapsibleClose','body',context).forEach((bodyElement)=>{Helpers.toggleEventListener(bodyElement,handleCloseCollapsible,'.js-collapsible[data-collapsible-close="true"].is-expanded');function handleCloseCollapsible(event,elements){const clickInside=event.target.closest('.js-collapsible');elements.forEach((collapsible)=>{if(!clickInside||!clickInside.isSameNode(collapsible))Helpers.isExpanded(collapsible,false,eventPrefix);});}});}};}(Drupal,once,Helpers));;
13(function(Drupal,once,Helpers){'use strict';Drupal.behaviors.collapsibleModal={attach:function(context){once('jsCollapsibleModal','.js-collapsible-modal',context).forEach(function(modal){const body=document.querySelector('body');const btnOpen=modal.querySelector('.js-collapsible-modal-cta');const btnClose=modal.querySelector('.js-collapsible-modal-cta-close');const modalContainer=modal.querySelector('.js-collapsible-modal-container');const modalContent=modal.querySelector('.js-collapsible-modal-content');const modalTitle=modal.querySelector('.js-collapsible-modal-title');const switchQuery=modal.getAttribute('data-collapsible-modal-switch');const allFocusableTags=modalContent.querySelectorAll('a, button, input, select, textarea, [tabindex]:not([tabindex="-1"])');let firstFocusable=allFocusableTags[0];let lastFocusable=allFocusableTags[allFocusableTags.length-1];function removeBodyNoScroll(){const collapsibleModalsOpen=document.querySelectorAll('.js-collapsible-modal.is-expanded');if(collapsibleModalsOpen.length===0)body.classList.remove('no-scroll');}function updateFocusables(){let allFocusableTagsArray=[];allFocusableTags.forEach(function(tag){let rect=tag.getBoundingClientRect();if(rect.width>0&&rect.height>0)allFocusableTagsArray.push(tag);});firstFocusable=allFocusableTagsArray[0];lastFocusable=allFocusableTagsArray[allFocusableTagsArray.length-1];}function handleFocus(e){if(e.key==='Tab')if(e.shiftKey){if(document.activeElement===firstFocusable){lastFocusable.focus();e.preventDefault();}}else{if(document.activeElement===lastFocusable){firstFocusable.focus();e.preventDefault();}}if(e.key==='Escape')btnClose.click();}function closeCollapsibleModal(modal){modal.classList.remove('is-expanded');removeBodyNoScroll();if(btnOpen.getAttribute('aria-expanded'))btnOpen.setAttribute('aria-expanded','false');else btnOpen.focus();document.removeEventListener('keydown',handleFocus);}btnOpen.addEventListener('click',function(){if(modal.classList.contains('is-expanded'))closeCollapsibleModal(modal);else{modal.classList.add('is-expanded');
13if(btnOpen.getAttribute('aria-expanded'))btnOpen.setAttribute('aria-expanded','true');else{body.classList.add('no-scroll');document.addEventListener('keydown',handleFocus);setTimeout(()=>{updateFocusables();firstFocusable.focus();},300);}}});btnClose.addEventListener('click',function(){closeCollapsibleModal(modal);});if(switchQuery){const label=modalContainer.getAttribute('aria-label');function updateModalAttr(){let expanded=false;if(modal.classList.contains('is-expanded'))expanded=true;if(window.matchMedia(switchQuery).matches){btnOpen.setAttribute('aria-expanded',expanded.toString());modalContainer.removeAttribute('role');modalContainer.removeAttribute('aria-modal');modalContainer.removeAttribute('aria-label');if(modalTitle){modalTitle.removeAttribute('role');modalTitle.removeAttribute('aria-level');}removeBodyNoScroll();document.removeEventListener('keydown',handleFocus);}else{btnOpen.removeAttribute('aria-expanded');modalContainer.setAttribute('role','dialog');modalContainer.setAttribute('aria-modal','true');modalContainer.setAttribute('aria-label',label);if(modalTitle){modalTitle.setAttribute('role','heading');modalTitle.setAttribute('aria-level','1');}if(expanded){body.classList.add('no-scroll');document.addEventListener('keydown',handleFocus);setTimeout(()=>{updateFocusables();firstFocusable.focus();},300);}}}updateModalAttr();window.addEventListener('resize',Drupal.debounce(()=>{updateModalAttr();},100));}});once('jsCollapsibleModalClose','body',context).forEach((bodyElement)=>{Helpers.toggleEventListener(bodyElement,handleClickOutCollapsibleModal,'.js-collapsible-modal[data-collapsible-modal-close="true"].is-expanded');function handleClickOutCollapsibleModal(event,elements){elements.forEach((collapsibleModal)=>{if(!collapsibleModal.contains(event.target)){const btnClose=collapsibleModal.querySelector('.js-collapsible-modal-cta-close');btnClose.click();}});}});}};}(Drupal,once,Helpers));;
14Drupal.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;};};;
15(function(Drupal,once,Helpers){'use strict';Drupal.behaviors.contentNav={attach:function(context){once('jsContentNav','.js-content-nav',context).forEach((contentNav)=>{if(contentNav){let contentNavData={targets:contentNav.dataset.contentTarget,excluded:contentNav.dataset.elementExcluded,levels:contentNav.dataset.titleLevel.split(',')};let levels=contentNavData.levels.sort();let excluded=contentNavData.excluded;const targets=document.querySelectorAll(contentNavData.targets);targets.forEach((target)=>{const targetTitles=target.querySelectorAll(levels);
15targetTitles.forEach((title)=>{title.classList.add('js-content-nav-target');});});let allTitles=document.querySelectorAll('.js-content-nav-target');let availableTitles=Array.from(allTitles);const list=document.createElement('ul');list.className='content-nav-list';contentNav.appendChild(list);allTitles.forEach((title)=>{excluded.split(',').forEach((className)=>{const index=availableTitles.indexOf(title);if(index&&(title.closest(className)||title.classList.contains('visually-hidden')))availableTitles.splice(index,1);});});availableTitles.forEach((title,index)=>{let id=`content-nav-target-${index}`;if(title.hasAttribute('id'))id=title.getAttribute('id');else title.setAttribute('id',id);const item=document.createElement('li');const lvl=levels.indexOf(title.tagName.toLowerCase());item.className=`content-nav-list-item content-nav-list-item-lvl--${lvl}`;list.appendChild(item);const link=document.createElement('a');link.textContent=title.innerText;link.className=`content-nav-link content-nav-link--${title.tagName.toLowerCase()}`;link.setAttribute('href',`#${id}`);link.setAttribute('aria-current','false');item.appendChild(link);link.addEventListener('click',(e)=>{const hash=link.getAttribute('href');Helpers.scrollTo(document.querySelector(hash),hash);e.preventDefault();});});let scrollOffset=24;const headerTypeSticky=document.querySelector('.js-header');const ginToolbar=document.querySelector('body.gin--horizontal-toolbar');let ginToolbarHeight=0;if(ginToolbar){ginToolbarHeight=Number(getComputedStyle(document.documentElement).getPropertyValue("--gin-toolbar-height").replace("px",""));scrollOffset=ginToolbarHeight;}let current;['scroll','resize'].forEach((event)=>{window.addEventListener(event,Drupal.debounce(()=>{updatePosition();},10));});updatePosition();function updatePosition(){if(headerTypeSticky){const headerHeight=Number(getComputedStyle(document.body).getPropertyValue("--header-height").replace("rem",""))*10;scrollOffset=headerHeight+ginToolbarHeight;}
15availableTitles.forEach(function(title){if(title.getBoundingClientRect().top<(scrollOffset+250))current=contentNav.querySelector('[href="#'+title.id+'"]');});if(current&&(!current.classList.contains('is-active'))){contentNav.querySelectorAll('.content-nav-link').forEach((link)=>{link.classList.remove('is-active');link.setAttribute('aria-current','false');});current.classList.add('is-active');current.setAttribute('aria-current','true');}}}});}};}(Drupal,once,Helpers));;
16(function(Drupal,once){'use strict';Drupal.behaviors.header={attach:function(context){once('jsHeader','.js-header',context).forEach((header)=>{updateHeader();['scroll','resize'].forEach((event)=>{window.addEventListener(event,Drupal.debounce(()=>updateHeader(),10));});function updateHeader(){const headerHeight=header.offsetHeight;document.documentElement.style.setProperty("--header-height",`${(headerHeight)/10}rem`);}});}};}(Drupal,once));;
17(function(Drupal,once){'use strict';Drupal.behaviors.social={attach:function(context){once('jsSocial','.js-social',context).forEach((socialElement)=>{const copyAlertText=Drupal.t('Link copied in clipboard');const copyButton=socialElement.querySelector('.js-social-copy');if(copyButton)copyButton.addEventListener('click',(event)=>{navigator.clipboard.writeText(window.location).then(function(){alert(copyAlertText);});});});}};}(Drupal,once));;
18!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var i=t();for(var s in i)("object"==typeof exports?exports:e)[s]=i[s];}}(window,(function(){return function(e){var t={};function i(s){if(t[s])return t[s].exports;var n=t[s]={i:s,l:!1,exports:{}};return e[s].call(n.exports,n,n.exports,i),n.l=!0,n.exports;}return i.m=e,i.c=t,i.d=function(e,t,s){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:s});},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0});},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var s=Object.create(null);if(i.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)i.d(s,n,function(t){return e[t];}.bind(null,n));return s;},i.n=function(e){var t=e&&e.__esModule?function(){return e.default;}:function(){return e;};return i.d(t,"a",t),t;},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t);},i.p="",i(i.s=2);}([function(e,t,i){window,e.exports=function(e){var t={};function i(s){if(t[s])return t[s].exports;var n=t[s]={i:s,l:!1,exports:{}};return e[s].call(n.exports,n,n.exports,i),n.l=!0,n.exports;}return i.m=e,i.c=t,i.d=function(e,t,s){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:s});},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0});},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var s=Object.create(null);if(i.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)i.d(s,n,function(t){return e[t];}.bind(null,n));return s;},i.n=function(e){var t=e&&e.__esModule?function(){return e.default;}:function(){return e;};return i.d(t,"a",t),t;},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t);},i.p="",i(i.s=0);}([function(e,t,i){"use strict";var s;function n(e,t){if(e)for(var i in t){var s="number"==typeof t[i]?t[i]+"px":t[i];e.style[i]=s+"";}}i.r(t),i.d(t,"InputAutoWidth",(function(){return r;}));var r=function(){function e(e,t){this.cache={},this.options=t,this.input=e,this.trigger(),this.eventHandler=this.trigger.bind(this),this.input.addEventListener("blur",this.eventHandler),this.input.addEventListener("input",this.eventHandler),this.input.addEventListener("keyup",this.eventHandler),this.input.addEventListener("keydown",this.eventHandler);}return e.prototype.measureString=function(e){return e?this.cache&&"number"==typeof this.cache[e]?this.cache[e]:(s||(n(s=document.createElement("span"),{position:"absolute",top:-99999,left:-99999,width:"auto",padding:0,whiteSpace:"pre"}),document.body.appendChild(s)),s.textContent=e,function(e,t,i){if(e&&t){var s=getComputedStyle(e),r={};if(i&&i.length)for(var l=0,o=i.length;l<o;l+=1)r[i[l]]=s[i[l]];else r=s;n(t,r);}}(this.input,s,["letterSpacing","fontSize","fontFamily","fontWeight","textTransform"]),s.offsetWidth||s.clientWidth):0;},e.prototype.trigger=function(e){if(void 0===e&&(e={}),!e.metaKey&&!e.altKey){var t,i,s=this.input.value;if(e.type&&"keydown"===e.type.toLowerCase()){var n=e.keyCode,r=46===n,l=8===n;if(r||l){var o=function(e){var t={};if("selectionStart" in e)t.start=e.selectionStart,t.length=e.selectionEnd-t.start;else{if(document.selection){e.focus();var i=document.selection.createRange(),s=i.text.length;i.moveStart("character",-e.value.length),t.start=i.text.length-s,t.length=s;}}return t;}(this.input);o.length?s=s.substring(0,o.start)+s.substring(o.start+o.length):l&&o.start?s=s.substring(0,o.start-1)+s.substring(o.start+1):r&&void 0!==o.start&&(s=s.substring(0,o.start)+s.substring(o.start+1));}else{if((t=n)>=48&&t<=57||t>=65&&t<=90||t>=96&&t<=111||t>=186&&t<=222||32===t||8===t||46===t){var a=String.fromCharCode(n);s+=a=e.shiftKey?a.toUpperCase():a.toLowerCase();}}}!s&&(i=this.input.getAttribute("placeholder"))&&(s=i);var h=this.measureString(s)+4;this.options&&this.options.cache&&this.cache&&(this.cache[s]=h);var u=this.options&&this.options.minWidth;"number"==typeof u&&h<u&&(h=u);var c=this.options&&this.options.maxWidth;"number"==typeof c&&h>c&&(h=c),h!==this.currentWidth&&(this.currentWidth=h,this.input.style.width=h+"px");}},e.prototype.destroy=function(){this.input.removeEventListener("blur",this.eventHandler),this.input.removeEventListener("input",this.eventHandler),this.input.removeEventListener("keyup",this.eventHandler),this.input.removeEventListener("keydown",this.eventHandler),this.input=this.cache=null;},e;}();t.default=r;}]);},function(e,t){var i=Element.prototype;i.matches||(i.matches=i.msMatchesSelector||i.webkitMatchesSelector),i.closest||(i.closest=function(e){var t=this;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode;}while(null!==t&&1===t.nodeType);return null;});},function(e,t,i){"use strict";i.r(t),i.d(t,"AriaAutocomplete",(function(){return H;}));var s=i(0),n=i.n(s),r=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function l(e,t){if(e&&1===e.nodeType&&"string"==typeof t)!function(e,t){for(var i=e.getAttribute&&e.getAttribute("class")||"",s=" "+i+" ",n=0,l=t.split(" "),o=l.length;n<o;n+=1)s=s.replace(" "+l[n]+" "," ");var a;i!==(s=null==(a=s)?"":(a+"").replace(r,""))&&e.setAttribute("class",s);}(e,t);else{if(e&&"number"==typeof e.length)for(var i=0,s=e.length;i<s;i+=1)l(e[i],t);}}var o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function a(e,t){if(e&&1===e.nodeType&&"string"==typeof t)!function(e,t){for(var i=e.getAttribute&&e.getAttribute("class")||"",s=" "+i+" ",n="",r=0,l=t.split(" "),a=l.length;r<a;r+=1)""!==l[r]&&-1===s.indexOf(" "+l[r]+" ")&&(n+=" "+l[r]);var h;i!==(n=null==(h=i+n)?"":(h+"").replace(o,""))&&e.setAttribute("class",n);}(e,t);else{if(e&&"number"==typeof e.length)for(var i=0,s=e.length;i<s;i+=1)a(e[i],t);}}var h=function(e){for(var t in void 0===e&&(e={}),this.sourceMapping={},this.alsoSearchIn=[],this.create=!1,this.delay=100,this.minLength=1,this.maxResults=9999,this.showAllControl=!1,this.confirmOnBlur=!0,this.multiple=!1,this.autoGrow=!1,this.maxItems=9999,this.multipleSeparator=",",this.deleteOnBackspace=!1,this.deleteAllControl=!1,this.deleteAllText="Delete all",this.asyncQueryParam="q",this.asyncMaxResultsParam="limit",this.noResultsText="No results",this.cssNameSpace="aria-autocomplete",this.srDelay=1400,this.srAutoClear=1e4,this.srDeleteText="delete",this.srDeletedText="deleted",this.srShowAllText="Show all",this.srSelectedText="selected",this.srListLabelText="Search suggestions",this.srAssistiveText="When results are available use up and down arrows to review and enter to select. Touch device users, explore by touch or with swipe gestures.",this.srAssistiveTextAutoClear=!0,this.srResultsText=function(e){return e+" "+(1===e?"result":"results")+" available.";},e)e.hasOwnProperty(t)&&void 0!==e[t]&&(this[t]=e[t]);},u="_ariaAutocompleteCleanedLabel",c="_ariaAutocompleteSelectedOption",p=8,d=13,f=27,m=32,v=33,b=34,y=35,g=36,A=38,S=40,w=46,E=/[&<>"']/g,x={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},T=function(){function e(e){this.list=e.list,this.input=e.input,this.wrapper=e.wrapper,this.options=e.options,this.selected=e.selected,this.open=this.open.bind(e),this.close=this.close.bind(e),this.enable=this.enable.bind(e),this.disable=this.disable.bind(e),this.filter=this.filter.bind(e),this.destroy=this.destroy.bind(e),e.element.ariaAutocomplete=this;}return e.prototype.open=function(){this.show.call(this);},e.prototype.close=function(){this.hide.call(this);},e.prototype.enable=function(){this.enable.call(this);},e.prototype.disable=function(e){this.disable.call(this,e);},e.prototype.filter=function(e){this.filter.call(this,e);},e.prototype.destroy=function(){this.destroy.call(this);},e;}(),O=0,C=function(e,t,i){O+=1,this.ELEMENT=e;var s=i||e||"";this.PREFIX=s+"aria-autocomplete-"+O,this.LIST=this.PREFIX+"-list",this.BUTTON=this.PREFIX+"-button",this.OPTION=this.PREFIX+"-option",this.WRAPPER=this.PREFIX+"-wrapper",this.LABEL=t||this.PREFIX+"-label",this.INPUT=i||this.PREFIX+"-input",this.SR_ASSISTANCE=this.PREFIX+"-sr-assistance",this.OPTION_SELECTED=this.PREFIX+"-option-selected",this.SR_ANNOUNCEMENTS=this.PREFIX+"-sr-announcements";};i(1);function _(e){return null==e?"":(e+"").trim();}function I(e){return "string"==typeof e&&e?e.replace(E,(function(e){return x[e];})):"";}var L=/&/g,N=/\s\s+/g,P=/[\u2018\u2019',:\u2013-]/g,k=/[\-\[\]{}()*+?.,\\\^$|#\s]/g;function F(e,t){return void 0===t&&(t=!1),e=_(e).toLowerCase().replace(P,"").replace(L,"and").replace(N," "),t&&(e=e.replace(k,"\\$&")),e;}function D(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var i={};return e.forEach((function(e){for(var t in e)e.hasOwnProperty(t)&&void 0!==e[t]&&(i[t]=e[t]);})),i;}function R(e,t){if("createEvent" in document){var i=document.createEvent("HTMLEvents");i.initEvent(t,!0,!0),e.dispatchEvent(i);}else e.fireEvent("on"+t);}function B(e){return e&&e.children?Array.prototype.slice.call(e.children):[];}function M(e,t,i){t=!!t,e&&("INPUT"===e.nodeName&&"checked" in e&&e.checked!==t&&(e.checked=t,R(e,"change")),"OPTION"===e.nodeName&&"selected" in e&&e.selected!==t&&(e.selected=t,clearTimeout(i.elementChangeEventTimer),i.elementChangeEventTimer=setTimeout((function(){R(e.closest("select"),"change");}),1)));}function j(e,t){void 0===t&&(t={});var i={},s=t.value,n=t.label;return "string"==typeof e?i.value=i.label=e:((i=D(e)).value=(i[s]||i.value||i.label||"").toString(),i.label=(i[n]||i.label||i.value||"").toString()),i[u]=F(i.label),i;}function K(e,t){return void 0===t&&(t={}),Array.isArray(e)?e.map((function(e){return j(e,t);})):e?[e]:[];}function V(e,t,i){if("string"==typeof e)return function(e,t,i){return i!==u&&(e=F(e,!1)),-1!==e.search(t);}(e,t,i);if(Array.isArray(e))for(var s=0,n=e.length;s<n;s+=1)if(V(e[s],t))return !0;return !1;}var U=function(){function e(e,t){e&&this.init(e,t);}return e.prototype.triggerOptionCallback=function(e,t,i){if(void 0===t&&(t=[]),void 0===i&&(i=this.api),"function"==typeof this.options[e])return this.options[e].apply(i,t);},e.prototype.show=function(e){if(e)return l(e,this.cssNameSpace+"--hide hide hidden"),e.removeAttribute("aria-hidden"),void e.removeAttribute("hidden");if(this.input.setAttribute("aria-expanded","true"),this.showAll){var t=(!!this.forceShowAll).toString();this.showAll.setAttribute("aria-expanded",t);}this.menuOpen||(this.show(this.list),this.menuOpen=!0,this.triggerOptionCallback("onOpen",[this.list]),this.documentClickBound||(this.documentClickBound=!0,document.addEventListener("click",this.documentClick)));},e.prototype.hide=function(e){if(e)return a(e,this.cssNameSpace+"--hide hide hidden"),e.setAttribute("aria-hidden","true"),void e.setAttribute("hidden","hidden");this.currentSelectedIndex=-1,this.input.setAttribute("aria-expanded","fal
18se"),this.showAll&&this.showAll.setAttribute("aria-expanded","false"),this.menuOpen&&(this.hide(this.list),this.menuOpen=!1,this.triggerOptionCallback("onClose",[this.list]));},e.prototype.enable=function(){if(this.disabled){this.disabled=!1,this.input.disabled=!1;var e=this.cssNameSpace;l(this.input,e+"__input--disabled disabled"),l(this.wrapper,e+"__wrapper--disabled disabled"),this.showAll&&(this.showAll.setAttribute("tabindex","0"),l(this.showAll,e+"__show-all--disabled disabled"));}this.enableDeletions();},e.prototype.disable=function(e){if(void 0===e&&(e=!1),!this.disabled){this.disabled=!0,this.input.disabled=!0;var t=this.cssNameSpace;a(this.input,t+"__input--disabled disabled"),a(this.wrapper,t+"__wrapper--disabled disabled"),this.showAll&&(this.showAll.setAttribute("tabindex","-1"),a(this.showAll,t+"__show-all--disabled disabled"));}e&&this.disableDeletions();},e.prototype.enableDeletions=function(){if(this.deletionsDisabled){this.deletionsDisabled=!1;var e=this.cssNameSpace;l(this.wrapper,e+"__wrapper--deletions-disabled"),this.getSelectedElems().forEac
18h((function(t){l(t,e+"__selected--disabled"),t.setAttribute("tabindex","0");})),this.deleteAll&&(l(this.deleteAll,e+"__delete-all--disabled "+e+"__selected--disabled"),this.deleteAll.setAttribute("tabindex","0"));}},e.prototype.disableDeletions=function(){if(!this.deletionsDisabled){this.deletionsDisabled=!0;var e=this.cssNameSpace;a(this.wrapper,e+"__wrapper--deletions-disabled"),this.getSelectedElems().forEach((function(t){a(t,e+"__selected--disabled"),t.setAttribute("tabindex","-1");})),this.deleteAll&&(a(this.deleteAll,e+"__delete-all--disabled "+e+"__selected--disabled"),this.deleteAll.setAttribute("tabindex","-1"));}},e.prototype.triggerAutoGrow=function(){this.autoGrow&&this.inputAutoWidth&&"function"==typeof this.inputAutoWidth.trigger&&this.inputAutoWidth.trigger();},e.prototype.setInputValue=function(e,t){void 0===t&&(t=!1),this.term=e,this.input&&(this.input.value=e),t&&(this.inputPollingValue=e),this.triggerAutoGrow();},e.prototype.indexOfValueIn=function(e,t,i){if(void 0===t&&(t=this.input.value),void 0===i&&(i="label"),e.length&&(t=_(t).toLowerCase()))for(var s=0,n=e.length;s<n;s+=1)if(_(e[s][i]).toLowerCase()===t)return s;return -1;},e.prototype.clearAnnouncement=function(e){var t=this;clearTimeout(this.clearAnnouncementTimer),this.clearAnnouncementTimer=setTimeout((function(){t.srAnnouncements&&(t.srAnnouncements.textContent="");}),e);},e.prototype.announce=function(e,t){var i=this;if(void 0===t&&(t=this.options.srDelay),this.srAnnouncements&&e&&"string"==typeof e){var s=function(){i.srAnnouncements.textContent=e;var t=i.options.srAutoClear;(!0===t||"number"==typeof t&&t>-1)&&i.clearAnnouncement("number"==typeof t?t:1e4);};0!==t?(clearTimeout(this.announcementTimer),this.announcementTimer=setTimeout((function(){return s();}),t)):s();}},e.prototype.setInputDescription=function(){var e=this.input.getAttribute("aria-describedby"),t=_(e),i=t.replace(this.ids.SR_ASSISTANCE,"");this.input.value.length||(i=i+" "+this.ids.SR_ASSISTANCE),(i=_(i))?i!==t&&this.input.setAttribute("aria-describedby",i):e&&this.input.removeAttribute("aria-describedby");},e.prototype.isSelectedElem=function(e){var t=e&&e[c];return !(!this.multiple||"object"!=typeof t);},e.prototype.getSelectedElems=function(){for(var e=[],t=0,i=this.wrapper.childNodes.length;t<i;t+=1){var s=this.wrapper.childNodes[t];1===s.nodeType&&this.isSelectedElem(s)&&e.push(s);}return e;},e.prototype.deleteAllSelected=function(){if(!this.deletionsDisabled){for(var e=this.selected.length;e--;){var t=D(this.selected[e]);M(t.element,!1,this),this.triggerOptionCallback("onDelete",[t]);}this.selected.splice(0),this.setSourceElementValues(),this.buildMultiSelected(),this.triggerAutoGrow(),this.announce(this.options.srDeletedText,0);}},e.prototype.removeEntryFromSelected=function(e,t){if(void 0===t&&(t=!1),!this.deletionsDisabled){var i=this.selected.indexOf(e);if(-1===i)for(var s=0,n=this.selected.length;s<n;s+=1)if(this.selected[s].value===e.value){i=s;break;}if(i>-1&&this.selected[i]){var r=D(this.selected[i]),l=r.label;M(r.element,!1,this),this.selected.splice(i,1),this.triggerOptionCallback("onDelete",[r]),this.setSourceElementValues(),this.buildMultiSelected(t?i:null),this.triggerAutoGrow(),this.announce(l+" "+this.options.srDeletedText,0);}}},e.prototype.createSelectedElemFrom=function(e,t){var i=e.label,s=this.cssNameSpace,n=s+"__selected",r=document.createElement("span"),l=t?s+"__delete-all "+n+" "+n+"--delete-all":n;return r.setAttribute("aria-describedby",this.ids.LABEL),r.setAttribute("class",l),r.setAttribute("role","button"),r.setAttribute("tabindex","0"),r.textContent=i,t||(r.setAttribute("aria-label",this.options.srDeleteText+" "+i),r[c]=e),r;},e.prototype.buildMultiSelected=function(e){var t=this;if(this.multiple){this.multiple&&this.selected.length>=this.options.maxItems?this.disable():this.enable();var i=this.getSelectedElems();if(this.selected.length||i.length){var s=[];i.forEach((function(e){for(var i=e[c],n=0,r=t.selected.length;n<r;n+=1){var l=t.selected[n];if(l===i||l.value===i.value)return void s.push(e);}e.parentNode.removeChild(e);}));var n=document.createDocumentFragment();this.selected.forEach((function(e){for(var i=0,r=s.length;i<r;i+=1){var l=s[i][c];if(l===e||l.value===e.value)return;}n.appendChild(t.createSelectedElemFrom(e));})),n.childNodes&&n.childNodes.length&&this.wrapper.insertBefore(n,this.srAssistance);var r=this.getSelectedElems(),l=r.map((function(e,i){var s=t.ids.OPTION_SELECTED+"-"+i;return e.setAttribute("id",s),s;}));if(l.push(this.ids.LIST),this.input.setAttribute("aria-owns",l.join(" ")),this.autoGrow&&this.selected.length?this.input.removeAttribute("placeholder"):this.options.placeholder&&this.input.setAttribute("placeholder",this.options.placeholder),this.selected.length<=1?this.deleteAll&&(this.deleteAll.parentNode.removeChild(this.deleteAll),this.deleteAll=null):this.options.deleteAllControl&&!this.deleteAll&&r[0]&&(this.deleteAll=this.createSelectedElemFrom({label:this.options.deleteAllText},!0),r[0].parentNode.insertBefore(this.deleteAll,r[0])),"number"==typeof e){var o=r[e]||r[e-1]||r[0];o&&"function"==typeof o.focus&&o.focus();}}}},e.prototype.resetOptionAttributes=function(e){void 0===e&&(e=B(this.list));var t=this.cssNameSpace+"__option--focused focused focus";e.forEach((function(e){"true"!==e.getAttribute("aria-disabled")&&e.setAttribute("aria-selected","false"),l(e,t);}));},e.prototype.setOptionFocus=function(e,t,i){void 0===i&&(i=!0);var s=B(this.list);if(this.resetOptionAttributes(s),t<0||!s.length)return this.currentSelectedIndex=-1,void (e&&e.target!==this.input&&this.input.focus());if(t>=s.length)return this.currentSelectedIndex=s.length-1,void this.setOptionFocus(e,this.currentSelectedIndex);var n=s[t];if(n&&"string"==typeof n.getAttribute("tabindex"))return this.currentSelectedIndex=t,a(n,this.cssNameSpace+"__option--focused focused focus"),"true"!==n.getAttribute("aria-disabled")&&n.setAttribute("aria-selected","true"),void (i&&n.focus());this.currentSelectedIndex=-1;},e.prototype.setSourceElementValues=function(){for(var e=[],t=0,i=this.selected.length;t<i;t+=1){var s=this.selected[t];e.push(s.value),M(s.element,!0,this);}if(this.elementIsInput){var n=e.join(this.options.multipleSeparator);n!==this.element.value&&(this.element.value=n,R(this.element,"change"));}!this.selected.length&&this.sourceFromSelect&&(this.element.value=""),this.triggerOptionCallback("onChange",[this.selected]);},e.prototype.handleOptionSelect=function(e,t,i){if(void 0===i&&(i=!0),!("number"!=typeof t||t<0||this.multiple&&this.selected.length>=this.options.maxItems)&&this.filteredSource.length&&this.filteredSource[t]){var s=D(this.filteredSource[t]);if(!(s.disabled||s.element&&s.element.disabled)){for(var n=!1,r=0,l=this.selected.length;r<l;r+=1)if(this.selected[r].value===s.value){n=!0;break;}n||this.multiple||this.selected.splice(0),n||(this.addResultsEntryToDomAndSource(s),this.selected.push(s),this.setSourceElementValues(),this.buildMultiSelected()),this.setInputValue(this.multiple?"":s.label,!0),this.triggerOptionCallback("onConfirm",[s]),this.announce(s.label+" "+this.options.srSelectedText,0),!this.disabled&&!1!==i&&this.input&&this.input.focus(),this.hide();}}}
18,e.prototype.removeSelectedFromResults=function(e){var t=this;if(!this.multiple||!this.selected.length)return e;var i=[];return e.forEach((function(e){for(var s=t.selected,n=0,r=s.length;n<r;n+=1)if(e.label===s[n].label&&e.value===s[n].value)return;i.push(e);})),i;},e.prototype.addResultsEntryToDomAndSource=function(e){var t=this.options.create,i=this.sourceFromSelect,s=this.sourceFromCheckboxList;if(t&&e&&e.value&&Array.isArray(this.source)&&(i||s)){var n=e.label,r=e.value;if(!(this.indexOfValueIn(this.source,r,"value")>-1||this.indexOfValueIn(this.source,n,"label")>-1)){var l;if(i){var o=this.element.querySelector("option"),a=o.cloneNode(!0);a.textContent=n,a.value=r,l=a,o.parentNode.insertBefore(a,o);}else{if(s){var h=this.element.querySelector('input[type="checkbox"]'),u=h.cloneNode(!0),c=h.closest("label"),p=document.createElement("label");p.textContent=n,u.value=r,l=u,p.appendChild(u);var d=c||h;d.parentNode.insertBefore(p,d);}}l&&(e.element=l,l.removeAttribute("id")),this.source.unshift(e);}}},e.prototype.prependEntryInCreateMode=function(e,t){var i=this.options.create;if((!0===i||"function"==typeof i)&&F(e)){var s,n=_(e),r=this.options.sourceMapping;if(!0===i&&(s=j(n,r)),"function"==typeof i){var l=this.triggerOptionCallback("create",[n]),o=typeof l;l&&("string"===o||"object"===o&&!Array.isArray(l))&&(s=j(l,r));}!s||!s.label||!s.value||this.indexOfValueIn(t,s[u],u)>-1||this.indexOfValueIn(t,s.value,"value")>-1||t.unshift(s);}},e.prototype.setListOptions=function(e){var t=this.options.sourceMapping;this.prependEntryInCreateMode(this.term,e);var i=this.removeSelectedFromResults(e),s=this.triggerOptionCallback("onResponse",[i.slice()]);this.filteredSource=Array.isArray(s)?K(s,t):i;for(var n=this.ids.OPTION,r=this.cssNameSpace,o=r+"__option",h=this.filteredSource.length,u="function"==typeof this.options.onItemRender,c=this.forceShowAll?9999:this.options.maxResults,p=c<h?c:h,d=[],f=0;f<p;f+=1){var m=this.filteredSource[f],v=u&&this.triggerOptionCallback("onItemRender",[m]),b="string"==typeof v?v:m.label,y=!!(m.disabled||m.element&&m.element.disabled),g=y?"":' aria-selected="false"';d.push('<li tabindex="-1"'+g+' role="option" class="'+o+'" aria-disabled="'+y+'" id="'+n+"--"+f+'" aria-posinset="'+(f+1)+'" aria-setsize="'+p+'">'+I(b)+"</li>");}var A,S=!d.length;S?(l(this.list,r+"__list--has-results"),a(this.list,r+"__list--no-results")):(a(this.list,r+"__list--has-results"),l(this.list,r+"__list--no-results"));var w=this.options.noResultsText;S&&"string"==typeof w&&w.length&&(A=w,d.push('<li class="'+o+" "+o+'--no-results">'+I(w)+"</li>")),this.cancelFilterPrep(),A||(A=this.triggerOptionCallback("srResultsText",[p])),A&&this.announce(A);var E=d.join("");if(this.currentListHtml!==E?(this.currentListHtml=E,this.list.innerHTML=E):this.resetOptionAttributes(),!d.length)return this.hide(),void (this.forceShowAll=!1);this.show(),this.forceShowAll=!1;},e.prototype.handleAsync=function(e,t){var i=this;void 0===t&&(t=!1),this.xhr&&"function"==typeof this.xhr.abort&&this.xhr.abort();var s=new XMLHttpRequest(),n=this.forceShowAll,r=t?null:this.api,l=this.multiple?this.selected.length:0,o=n||t||9999===this.options.maxResults,a=this.source+(/\?/.test(this.source)?"&":"?")+encodeURIComponent(this.options.asyncQueryParam)+"="+encodeURIComponent(e)+"&"+encodeURIComponent(this.options.asyncMaxResultsParam)+"="+(o?9999:l+this.options.maxResults),h=this.triggerOptionCallback("onAsyncPrep",[a,s,t],r);h&&"string"==typeof h&&(a=h),s.open("GET",a),s.onload=function(){if(s.readyState===s.DONE&&s.status>=200&&s.status<300){i.forceShowAll=n;var l=K(i.triggerOptionCallback("onAsyncSuccess",[e,s,t],r)||s.responseText,i.options.sourceMapping);t?(i.prepSelectedFromArray(l),i.setInputStartingStates(!1)):i.setListOptions(l),i.triggerOptionCallback("onAsyncComplete",[e,s,t],r);}},s.onerror=function(){i.triggerOptionCallback("onAsyncError",[e,s,t],r);},t||(this.xhr=s),this.triggerOptionCallback("onAsyncBeforeSend",[e,s,t],r),s.send();},e.prototype.filter=function(e){var t=this;if("string"==typeof e){var i=this.forceShowAll;if(!i){var s=this.triggerOptionCallback("onSearch",[e]);"string"==typeof s&&(e=s);}if(this.term=e,"string"==typeof this.source&&this.source.length)return this.handleAsync(e),void (this.forceShowAll=!1);if("function"!=typeof this.source){e||(i=!0);var n=[],r=this.source;if(r&&r.length){var l=[u];if(!i){e=F(e,!0);var o=this.options.alsoSearchIn;Array.isArray(o)&&o.length&&(l=function(e){var t=[];return e.forEach((function(e){if("string"==typeof e){for(var i=_(e),s="label"!==i,n=0,r=t.length;s&&n<r;n+=1)s=t[r]!==i;
18s&&t.push(i);}})),t;}(l.concat(o)));}r.forEach((function(t){(i||function(e,t,i){for(var s in e)if(e.hasOwnProperty(s)){var n=e[s];if(("string"==typeof n||Array.isArray(n))&&i.indexOf(s)>-1&&V(n,t,s))return !0;}return !1;}(t,e,l))&&n.push(t);}));}this.setListOptions(n);}else{var a=function(e){var i=K(e,t.options.sourceMapping);t.setListOptions(i);},h=this.source.call(this.api,this.term,a,!1);h&&"function"==typeof h.then&&h.then((function(e){return a(e);}));}}else this.cancelFilterPrep();},e.prototype.cancelFilterPrep=function(){clearTimeout(this.filterTimer),l(this.wrapper,this.cssNameSpace+"__wrapper--loading loading"),l(this.input,this.cssNameSpace+"__input--loading loading"),this.filtering=!1;},e.prototype.filterPrep=function(e,t,i){var s=this;void 0===t&&(t=!1),void 0===i&&(i=!1);var n=this.forceShowAll,r=n||i?0:this.options.delay;this.cancelFilterPrep(),this.filtering=!0,this.filterTimer=setTimeout((function(){var i=s.input.value;if(s.inputPollingValue=i,(n||""===i||t&&!s.multiple&&s.selected.length&&_(s.selected[0].label)===_(i))&&(i=""),e&&e.type&&s.options.srAssistiveTextAutoClear&&s.setInputDescription(),!n&&i.length<s.options.minLength)s.hide();else{var r;try{var l=e;r=e&&"keydown"===e.type&&(l.altKey||l.ctrlKey||l.metaKey);}catch(e){}var o=""!==i&&i===s.term;!o||o&&!s.menuOpen&&!r?(a(s.wrapper,s.cssNameSpace+"__wrapper--loading loading"),a(s.input,s.cssNameSpace+"__input--loading loading"),s.currentSelectedIndex=-1,s.filter(i)):s.cancelFilterPrep();}}),r);},e.prototype.filterPrepShowAll=function(e){var t=this;this.disabled||(clearTimeout(this.showAllPrepTimer),this.showAllPrepTimer=setTimeout((function(){t.componentBlurTimer&&clearTimeout(t.componentBlurTimer),e.preventDefault(),t.forceShowAll=!0,t.filterPrep(e,!1,!0);}),0));},e.prototype.handleComponentBlur=function(e,t){var i=this;void 0===t&&(t=!1),clearTimeout(this.componentBlurTimer);var s=t?0:100;this.componentBlurTimer=setTimeout((function(){var e=document.activeElement;if(t||!e||i.deleteAll&&i.deleteAll===e||i.isSelectedElem(e)||!i.wrapper.contains(e)){if(i.xhr&&"function"==typeof i.xhr.abort&&i.xhr.abort(),!t&&i.options.confirmOnBlur&&i.menuOpen){var s=i.currentSelectedIndex;if("number"!=typeof s||-1===s){var n=i.filteredSource.slice(),r=i.triggerOptionCallback("confirmOnBlur",[i.term,n]),l=F(r&&"string"==typeof r?r:i.term);s=i.indexOfValueIn.call(i,i.filteredSource,l,u);}i.handleOptionSelect({},s,!1);}if(i.cancelFilterPrep(),i.hide(),!i.multiple&&-1===i.indexOfValueIn.call(i,i.selected)){i.selected.length&&i.removeEntryFromSelected(i.selected[0]);var o=i.elementIsInput||i.sourceFromSelect,a=i.element;o&&""!==a.value&&(a.value="",R(a,"change")),i.setInputValue("",!0);}i.multiple&&i.setInputValue("",!0),i.documentClickBound&&(i.documentClickBound=!1,document.removeEventListener("click",i.documentClick)),i.triggerOptionCallback("onBlur",[i.wrapper]),i.isFocused=!1;}}),s);},e.prototype.handleUpKey=function(e){e.preventDefault(),!this.disabled&&this.menuOpen&&"number"==typeof this.currentSelectedIndex&&this.setOptionFocus(e,this.currentSelectedIndex-1);},e.prototype.handleDownKey=function(e){if(e.preventDefault(),!this.menuOpen){var t=this.options.minLength;this.forceShowAll=t<1,(this.forceShowAll||this.input.value.length>=t)&&this.filterPrep(e);}if(this.menuOpen&&!this.filtering){var i=this.currentSelectedIndex;"number"!=typeof i||i<0?this.setOptionFocus(e,0):this.setOptionFocus(e,i+1);}},e.prototype.handleEndKey=function(e){if(!this.disabled&&this.menuOpen&&e.target!==this.input){var t=B(this.list);t.length&&(e.preventDefault(),this.setOptionFocus(e,t.length-1));}},e.prototype.handleHomeKey=function(e){!this.disabled&&this.menuOpen&&e.target!==this.input&&(e.preventDefault(),this.setOptionFocus(e,0));},e.prototype.handlePageUpKey=function(e){if(!this.disabled&&this.menuOpen&&e.target!==this.input){e.preventDefault();var t=this.currentSelectedIndex,i=t>0&&t-10<0?0:0===t?-1:t-10;this.setOptionFocus(e,i);}},e.prototype.handlePageDownKey=function(e){if(!this.disabled&&this.menuOpen&&e.target!==this.input){e.preventDefault();var t=this.currentSelectedIndex;this.setOptionFocus(e,t<0?0:t+10);}},e.prototype.handleEnterKey=function(e){var t=e.target;this.isSelectedElem(t)?this.removeEntryFromSelected(t[c],!0):this.deleteAll&&t===this.deleteAll?this.deleteAllSelected():this.disabled||(this.showAll&&t===this.showAll?this.filterPrepShowAll(e):(this.menuOpen&&
18(e.preventDefault(),this.currentSelectedIndex>-1&&this.handleOptionSelect(e,this.currentSelectedIndex)),t===this.input&&this.filterPrep(e,!1,!0)));},e.prototype.handleKeyDownDefault=function(e){var t=e.keyCode,i=e.target===this.input;if(t===m&&!i||this.isSelectedElem(e.target)&&t===w)return e.preventDefault(),void this.handleEnterKey(e);if(!this.disabled){var s=this.selected&&this.selected.length;this.options.deleteOnBackspace&&t===p&&""===this.input.value&&s&&i&&this.multiple&&this.removeEntryFromSelected(this.selected[s-1]);var n=function(e){return e>=48&&e<=57||e>=65&&e<=90||e>=96&&e<=111||e>=186&&e<=222||32===e||8===e||46===e;}(t),r=!i&&n;r&&this.input.focus(),(r||i&&n)&&this.filterPrep(e);}},e.prototype.prepKeyDown=function(e){switch(e.keyCode){case A:this.handleUpKey(e);break;case S:this.handleDownKey(e);break;case y:this.handleEndKey(e);break;case g:this.handleHomeKey(e);break;case d:this.handleEnterKey(e);break;case v:this.handlePageUpKey(e);break;case b:this.handlePageDownKey(e);break;case f:this.handleComponentBlur(e,!0);break;default:this.handleKeyDownDefault(e);}},e.prototype.cancelPolling=function(){clearTimeout(this.pollingTimer);},e.prototype.startPolling=function(){var e=this;this.filtering||this.input.value===this.inputPollingValue||this.filterPrep({}),this.pollingTimer=setTimeout((function(){e.startPolling();}),200);},e.prototype.bindEvents=function(){var e=this;this.wrapper.addEventListener("focusout",(function(t){e.handleComponentBlur(t,!1);})),this.wrapper.addEventListener("focusin",(function(t){e.list.contains(t.target)||(e.currentSelectedIndex=-1),e.isFocused||e.triggerOptionCallback("onFocus",[e.wrapper]),e.isFocused=!0;})),this.wrapper.addEventListener("keydown",(function(t){e.prepKeyDown(t);})),this.wrapper.addEventListener("click",(function(t){t.target!==e.wrapper?(e.isSelectedElem(t.target)&&e.removeEntryFromSelected(t.target[c],!0),e.deleteAll&&t.target===e.deleteAll&&e.deleteAllSelected()):e.input.focus();}));var t=this.cssNameSpace+"__wrapper--focused focused focus",i=this.cssNameSpace+"__input--focused focused focus";this.input.addEventListener("blur",(function(){l(e.wrapper,t),l(e.input,i),e.cancelPolling();})),this.input.addEventListener("input",(function(t){document.activeElement===e.input&&e.filterPrep(t);})),this.input.addEventListener("click",(function(t){!e.menuOpen&&e.input.value.length>=e.options.minLength&&e.filterPrep(t,!0);})),this.input.addEventListener("focusin",(function(s){a(e.wrapper,t),a(e.input,i),e.startPolling(),e.disabled||e.menuOpen||e.filterPrep(s,!0);})),this.showAll&&this.showAll.addEventListener("click",(function(t){e.filterPrepShowAll(t);})),this.list.addEventListener("mouseenter",(function(t){e.resetOptionAttributes();})),this.list.addEventListener("click",(function(t){if(t.target!==e.list){var i=B(e.list);if(i.length){var s=i.indexOf(t.target);e.handleOptionSelect(t,s);}}})),this.autoGrow&&(this.inputAutoWidth=new n.a(this.input));},e.prototype.prepListSourceCheckboxes=function(){this.multiple=!0,this.source=[];for(var e=this.element.querySelectorAll('input[type="checkbox"]'),t=0,i=e.length;t<i;t+=1){var s=e[t];if(s.value){var n={value:s.value},r=s.closest("label");!r&&s.id&&(r=document.querySelector('[for="'+s.id+'"]')),r&&(n.label=r.textContent);var l=j(n);l.element=s,this.source.push(l),s.checked&&this.selected.push(l);}}},e.prototype.prepListSourceDdl=function(){var e=this.element.multiple;e&&!this.multiple&&(this.multiple=!0),!e&&this.multiple&&this.options.maxItems>1&&(this.options.maxItems=1),this.source=[];for(var t=this.element.querySelectorAll("option"),i=0,s=t.length;i<s;i+=1){var n=t[i];if(n.value){var r=j({value:n.value,label:n.textContent});r.element=n,this.source.push(r),n.selected&&this.selected.push(r);}}},e.prototype.prepSelectedFromArray=function(e){var t=this,i=this.elementIsInput&&this.element.value;if(i&&Array.isArray(e)&&e.length){var s=this.options,n=s.multiple,r=s.multipleSeparator,l=n?i.split(r):[i],o=e.slice();l.forEach((function(e){if(-1===t.indexOfValueIn(t.selected,e,"value")){t.prependEntryInCreateMode(e,o);var i=t.indexOfValueIn(o,e,"value");i>-1&&t.selected.push(o[i]);}}));}},e.prototype.prepListSourceArray=function(){this.source=K(this.source,this.options.sourceMapping),this.prepSelectedFromArray(this.source);},e.prototype.prepListSourceAsync=function(){var e=this.element;this.elementIsInput&&e.value&&this.handleAsync(e.value,!0);},e.prototype.prepListSourceFunction=function(){var e=this,t=this.element;if(this.elementIsInput&&t.value){var i=function(t){var i=K(t,e.options.sourceMapping);e.prepSelectedFromArray(i),e.setInputStartingStates(!1);},s=this.source.call(void 0,t.value,i,!0);s&&"function"==typeof s.then&&s.then((function(e){return i(e);}));}},e.prototype.prepListSource=function(){return "function"==typeof this.source?this.prepListSourceFunction():"string"==typeof this.source&&this.source.length?this.prepListSourceAsync():Array.isArray(this.source)&&this.source.length?this.prepListSourceArray():(this.sourceFromSelect="SELECT"===this.element.nodeName,this.sourceFromSelect?this.prepListSourceDdl():(this.sourceFromCheckboxList=!!this.element.querySelector('input[type="checkbox"]'),this.sourceFromCheckboxList?this.prepListSourceCheckboxes():void (this.source=[])));},e.prototype.setInputStartingStates=function(e){if(void 0===e&&(e=!0),e){this.label&&(this.label._ariaAutocompleteLabelOriginallyFor=this.ids.ELEMENT,this.label.setAttribute("for",this.ids.INPUT));var t=this.element.getAttribute("aria-describedby");t&&this.input.setAttribute("aria-describedby",t);var i=this.element.getAttribute("aria-labelledby");i&&this.input.setAttribute("aria-labelledby",i);}this.selected.length&&(this.multiple?(this.buildMultiSelected(),this.triggerAutoGrow()):this.setInputValue(this.selected[0].label||"",!0)),this.element.disabled&&this.disable(!0);},e.prototype.setHtml=function(){var e=this.options,t=this.cssNameSpace,i=e.wrapperClassName?" "+e.wrapperClassName:"",s=['<div id="'+this.ids.WRAPPER+'" class="'+t+"__wrapper"+i+'">'];s.push('<p class="sr-only '+t+"__sr-only "+t+'__sr-announcements" id="'+this.ids.SR_ANNOUNCEMENTS+'" aria-live="polite" aria-atomic="true"></p>');var n=e.name?' name="'+e.name+'"':"",r=e.inputClassName?" "+e.inputClassName:"",l=e.placeholder?' placeholder="'+e.placeholder+'" aria-placeholder="'+e.placeholder+'"':"";s.push('<input type="text" autocomplete="off" aria-expanded="false" aria-autocomplete="list" aria-describedby="'+this.ids.SR_ASSISTANCE+'" role="combobox" id="'+this.ids.INPUT+'" aria-owns="'+this.ids.LIST+'" class="'+t+"__input"+r+'"'+n+l+" />"),e.showAllControl&&s.push('<span role="button" tabindex="0" id="'+this.ids.BUTTON+'" aria-label="'+e.srShowAllText+'" class="'+t+'__show-all" aria-describedby="'+this.ids.LABEL+'" aria-expanded="false"></span>');var o=e.srListLabelText,a=e.listClassName?" "+e.listClassName:"",h=o?' aria-label="'+o+'"':"";s.push('<ul id="'+this.ids.LIST+'" class="'+t+"__list"+a+'" role="listbox" aria-describedby="'+this.ids.LABEL+'" aria-hidden="true" hidden="hidden"'+h+"></ul>"),s.push('<p id="'+this.ids.SR_ASSISTANCE+'" style="display:none;">'+I(e.srAssistiveText)+"</p>"),s.push("</div>"),this.element.insertAdjacentHTML("afterend",s.join(""));},e.prototype.destroy=function(){var e=this;this.label&&this.label._ariaAutocompleteLabelOriginallyFor&&(this.label.setAttribute("for",this.label._ariaAutocompleteLabelOriginallyFor),delete this.label._ariaAutocompleteLabelOriginallyFor),this.documentClickBound&&document.removeEventListener("click",this.documentClick),this.autoGrow&&this.inputAutoWidth&&this.inputAutoWidth.destroy(),this.wrapper.parentNode.removeChild(this.wrapper),delete this.element.ariaAutocomplete,this.show(this.element),clearTimeout(this.filterTimer),clearTimeout(this.pollingTimer),clearTimeout(this.showAllPrepTimer),clearTimeout(this.announcementTimer),clearTimeout(this.componentBlurTimer),clearTimeout(this.clearAnnouncementTimer),clearTimeout(this.elementChangeEventTimer),["list","input","label","element","wrapper","showAll","deleteAll","srAssistance","srAnnouncements"].forEach((function(t){return e[t]=null;}));},e.prototype.init=function(e,t){this.selected=[],this.element=e,this.label=document.querySelector('[for="'+this.element.i
18d+'"]'),this.ids=new C(this.element.id,this.label?this.label.id:null,t.id),this.elementIsInput="INPUT"===e.nodeName,this.options=new h(t),this.label&&!this.label.id&&(this.label.id=this.ids.LABEL),this.source=this.options.source,this.multiple=this.options.multiple,this.autoGrow=this.options.autoGrow,this.cssNameSpace=this.options.cssNameSpace,this.documentClick=this.handleComponentBlur.bind(this),this.setHtml(),this.list=document.getElementById(this.ids.LIST),this.input=document.getElementById(this.ids.INPUT),this.wrapper=document.getElementById(this.ids.WRAPPER),this.showAll=document.getElementById(this.ids.BUTTON),this.srAssistance=document.getElementById(this.ids.SR_ASSISTANCE),this.srAnnouncements=document.getElementById(this.ids.SR_ANNOUNCEMENTS),this.prepListSource();var i=[];this.options.showAllControl&&i.push(this.cssNameSpace+"__wrapper--show-all"),this.autoGrow&&i.push(this.cssNameSpace+"__wrapper--autogrow"),this.multiple&&i.push(this.cssNameSpace+"__wrapper--multiple"),i.length&&a(this.wrapper,i.join(" ")),this.hide(this.list),this.hide(this.element),this.setInputStartingStates(),this.bindEvents(),this.api=new T(this),this.triggerOptionCallback("onReady",[this.wrapper]);},e;}();function H(e,t){return e&&e.ariaAutocomplete&&e.ariaAutocomplete.open?e.ariaAutocomplete:new U(e,t).api;}t.default=H;}]);}));;
19(function(Drupal,once){'use strict';Drupal.behaviors.customAutocomplete={attach:function(context){once('jsAutocomplete','.js-form-autocomplete',context).forEach((autocomplete)=>{let options={autoGrow:false,deleteAllControl:true,deleteOnBackspace:true,minLength:0,multiple:false,srListLabelText:Drupal.t('Suggestions'),srAssistiveText:Drupal.t('When results are available, use Up and Down arrows to review and Enter to select. Touch device users, explore by touch or with swipe gestures.'),srDeleteText:Drupal.t('Delete selection'),srDeletedText:Drupal.t('Selection deleted'),srSelectedText:Drupal.t('Selected'),srShowAllText:Drupal.t('Show all suggestions'),deleteAllText:Drupal.t('Delete all'),noResultsText:Drupal.t('No results'),placeholder:Drupal.t('Select one or more'),srResultsText:(length)=>Drupal.formatPlural(length,'@count result is available.','@count results are available.',{'@count':length}),onDelete:()=>{const currentForm=document.activeElement;const currentInput=currentForm.parentElement.querySelector('.aria-autocomplete__input');setTimeout(()=>{currentInput.focus();},100);},onReady:(componentWrapper)=>{const select=componentWrapper.previousElementSibling;const autocompleteInput=componentWrapper.querySelector('.aria-autocomplete__input');if(select.hasAttribute('required')){select.removeAttribute('required');checkAutocompleteFilled(select,autocompleteInput);select.addEventListener('change',(event)=>{checkAutocompleteFilled(select,autocompleteInput);});}}};if(autocomplete.hasAttribute('placeholder')){const optionsPlaceholder={placeholder:autocomplete.getAttribute('placeholder')};options={...options,...optionsPlaceholder};}if(autocomplete.hasAttribute('multiple')){const optionsMultiple={multiple:true};options={...options,...optionsMultiple};}if(autocomplete.hasAttribute('data-option')){const selectData=autocomplete.getAttribute('data-option');const optionsData={source:selectData,onAsyncPrep:(url)=>url,onAsyncSuccess:(query,xhr,isFirstCall)=>{return JSON.parse(xhr.responseText);},asyncMaxResultsParam:'limit',asyncQueryParam:'q',maxResults:50};options={...options,...optionsData};}if(autocomplete.hasAttribute('data-textfield')){const optionsTextfield={minLength:3};options={...options,...optionsTextfield};}AriaAutocomplete(autocomplete,options);});function checkAutocompleteFilled(select,autocompleteInput){let validity='';if(select.value==='')validity=Drupal.t('Please fill in this field.');autocompleteInput.setCustomValidity(validity);}}};}(Drupal,once));;
20(function(Drupal,once,Helpers){'use strict';Drupal.behaviors.menuExpanded={attach:function(context){once('jsMenuExpanded','.menu button.no-link',context).forEach((menuButton)=>{const menu=menuButton.closest('.menu');const menuItem=menuButton.closest('.menu-item');const isExpanded=()=>menuItem.classList.contains('is-expanded');menuButton.setAttribute('aria-expanded',isExpanded().toString());menuButton.addEventListener('click',()=>{const parentItem=menuItem.closest('.menu-item.is-expanded');const subLevelWrapper=menuItem.closest('.submenu');if(!isExpanded()){let siblings=null;if(!parentItem)siblings=menu.querySelectorAll('.menu-item.is-expanded');
20if(subLevelWrapper)siblings=subLevelWrapper.querySelectorAll('.menu-item.is-expanded');if(siblings)siblings.forEach((sibling)=>Helpers.isExpanded(sibling,false));}Helpers.isExpanded(menuItem,!isExpanded());});});once('jsMenuClose','body',context).forEach((bodyElement)=>{Helpers.toggleEventListener(bodyElement,handleCloseMenu,'.menu-item.is-expanded');function handleCloseMenu(event,element){const menuItem=event.target.closest('.menu-item');const menuCurrent=event.relatedTarget?.closest('.menu')||null;const menuNext=event.target.closest('.menu');const openMenuItems=getOpenMenuItems(menuItem);if(!menuItem)element.forEach((menuItem)=>Helpers.isExpanded(menuItem,false));else if(menuCurrent!==menuNext)element.forEach((menuItem)=>{if(!menuItem.closest('.menu').isSameNode(menuNext))Helpers.isExpanded(menuItem,false);});else setTimeout(()=>{openMenuItems.forEach((menuItem)=>{Helpers.isExpanded(menuItem,false);});},200);}function getOpenMenuItems(menuItem){return menuItem?Array.from(menuItem.parentNode.children).filter((child)=>child!==menuItem&&child.classList.contains('menu-item--expanded')):[];}});}};}(Drupal,once,Helpers));;
21(function(Drupal,once){'use strict';function handleCookieLink(e){const scrollPosition=window.scrollY;e.preventDefault();document.body.style.top=`-${scrollPosition}px`;orejime.prompt();}Drupal.behaviors.orejimeAdditional={attach:function(context,settings){once('jsOrejimeAdditional','html',context).forEach(()=>{if(settings.orejime!==undefined){const cookieLinks=document.querySelectorAll('.cookie-link');cookieLinks.forEach((link)=>{link.addEventListener('click',handleCookieLink);});}});}};}(Drupal,once));;
22(function(Drupal,once){'use strict';Drupal.behaviors.resizeMedia={attach:function(context){once('jsResizeMedia','main',context).forEach((main)=>{const players=['iframe[src*="youtube.com"]','iframe[src*="vimeo.com"]','iframe[src*="youtu.be"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="dailymotion.com"]'];const playersSelector=players.join(',');const iframes=document.querySelectorAll(playersSelector);function handleResize(iframe){if(!iframe.closest('.resize-media')){let aspectRatio;const width=iframe.getAttribute('width')?iframe.getAttribute('width'):iframe.dataset.width;const height=iframe.getAttribute('height')?iframe.getAttribute('height'):iframe.dataset.height;if(width&&height)aspectRatio=width+' / '+height;const wrapper=document.createElement('div');wrapper.className='resize-media';if(aspectRatio){wrapper.style.setProperty('--resize-media-aspect-ratio',aspectRatio);if(parseInt(height)>parseInt(width))wrapper.classList.add('resize-media-portrait');}iframe.parentNode.insertBefore(wrapper,iframe);wrapper.appendChild(iframe);iframe.removeAttribute('height');iframe.removeAttribute('width');}}if(iframes.length)iframes.forEach((iframe)=>{handleResize(iframe);});const observer=new MutationObserver((mutationList)=>{mutationList.forEach((mutation)=>{if(mutation.type==='childList'){mutation.addedNodes.forEach((addedNode)=>{if(addedNode.nodeType===Node.ELEMENT_NODE)if(addedNode.matches(':is('+playersSelector+')'))handleResize(addedNode);});if(mutation.removedNodes.length){const emptyWrappers=document.querySelectorAll('.resize-media:empty');emptyWrappers.forEach((emptyWrapper)=>{emptyWrapper.remove();});}}});});observer.observe(main,{childList:true,subtree:true});});}};}(Drupal,once));;
23(function(Drupal,once){'use strict';Drupal.behaviors.rwdTable={attach:function(context){once('jsRwdTable','.text-formatted table',context).forEach((rwdTable)=>{const wrapper=document.createElement('div');wrapper.className='rwd-table';rwdTable.parentNode.insertBefore(wrapper,rwdTable);wrapper.appendChild(rwdTable);});}};}(Drupal,once));;
24(function($,Drupal){const appCallback=(consent,app)=>{document.dispatchEvent(new CustomEvent('orejimeAppCallback',{detail:{consent,app:app.name}}));};const OrejimeConfig={init(context,settings){const lang=settings.orejime.language;const config={privacyPolicyUrl:settings.orejime.privacy_policy,purposes:[],forceModal:settings.orejime.must_consent,forceBanner:settings.orejime.must_notice,default:true,translations:settings.orejime.translations,logo:settings.orejime.logo,debug:settings.orejime.debug,cookie:{name:settings.orejime.cookie_name,duration:Number(settings.orejime.expires_after_days),domain:settings.orejime.cookie_name.indexOf('__Secure-')===0?'':settings.orejime.cookie_domain,secure:settings.orejime.cookie_name.indexOf('__Secure-')===0&&location.protocol==='https:',sameSite:settings.orejime.cookie_name.indexOf('__Secure-')===0?'lax':'strict',path:'/'}};const purposes={};$.each(settings.orejime.manage,function(index,value){purposes[value.name]={id:value.name,title:value.label,description:value.description,isMandatory:Number(value.required),cookies:value.cookies,default:Number(value.default),callback:appCallback};});if(settings.orejime.categories!==null&&settings.orejime.categories.length!==0){const cat=[];$.each(settings.orejime.categories,function(index,value){const apps=[];$.each(value.apps,function(i,v){if(v!==0){apps.push(purposes[v]);delete purposes[v];}});
24cat.push({id:value.name,title:value.title,description:value.description,purposes:apps});});config.purposes=cat;}Object.values(purposes).forEach((val)=>{config.purposes.push(val);});return config;}};Drupal.behaviors.orejime={attach(context,settings){if(settings.orejime){window.orejimeConfig=OrejimeConfig.init(context,settings);const attachUpdateListener=()=>{if(typeof orejime!=='undefined'&&orejime.manager){$(document).trigger('orejime:init',[orejime.manager]);if(settings.orejime.cookie_name.indexOf('__Secure-')===0){const all=orejime.manager.getAllConsents();$(document).trigger('orejime:fixCookie',[all]);}return true;}return false;};$(document).on('orejime:fixCookie',function(e,all){const name=settings.orejime.cookie_name;const value=JSON.stringify(all);const days=Number(settings.orejime.expires_after_days);const date=new Date();date.setTime(date.getTime()+(days*24*60*60*1000));const expires="; expires="+date.toUTCString();const secure=location.protocol==='https:'?"; Secure":"";const domain=settings.orejime.cookie_domain?"; domain="+settings.orejime.cookie_domain:"";const sameSite="; SameSite=Lax";document.cookie=name+"="+(value||"")+expires+"; path=/"+domain+sameSite+secure;});if(settings.orejime.cookie_name.indexOf('__Secure-')===0)$(document).on('orejime:init',function(e,manager){manager.on('update',function(changes,all){$(document).trigger('orejime:fixCookie',[all]);});});if(!attachUpdateListener()){const interval=setInterval(()=>{if(attachUpdateListener())clearInterval(interval);},100);setTimeout(()=>clearInterval(interval),5000);}}if(document.querySelector('.consent-modal-button'))document.querySelector('.consent-modal-button').addEventListener('click',function(){orejime.prompt();},false);if(document.querySelector('.reset-button'))document.querySelector('.reset-button').addEventListener('click',function(){orejime.manager.clearConsents();},false);}};})(jQuery,Drupal);;

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.