PageSourceSearch

https://ens.dk/sites/default/files/js/js_ESiCc3VzCFsd9a6x6PmwHfuHy…-O7xW8J3mtet2oMiKkpvfJxmmcIv9wo8HmD_AA3xaqk

js ens.dk collected 2026-09-24 08:36:20 UTC 116,853 bytes, 20 lines download raw bytes

1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
2(function(Drupal){'use strict';Drupal.behaviors.addToAny={attach:function(context,settings){if(context!==document&&window.a2a)a2a.init_all();}};})(Drupal);;
3(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">&nbsp;</div>'+'<div class="progress__track"><div class="progress__bar"></div></div>'+'<div class="progress__percentage"></div>'+'<div class="progress__description">&nbsp;</div>'+'</div>');};Drupal.ProgressBar=function(id,updateCallback,method,errorCallback){this.id=id;this.method=method||'GET';this.updateCallback=updateCallback;this.errorCallback=errorCallback;this.element=$(Drupal.theme('progressBar',id));};$.extend(Drupal.ProgressBar.prototype,{setProgress(percentage,message,label){if(percentage>=0&&percentage<=100){$(this.element).find('div.progress__bar').each(function(){this.style.width=`${percentage}%`;});$(this.element).find('div.progress__percentage').html(`${percentage}%`);}$('div.progress__description',this.element).html(message);$('div.progress__label',this.element).html(label);if(this.updateCallback)this.updateCallback(percentage,message,this);},startMonitoring(uri,delay){this.delay=delay;this.uri=uri;this.sendPing();},stopMonitoring(){clearTimeout(this.timer);this.uri=null;},sendPing(){if(this.timer)clearTimeout(this.timer);if(this.uri){const pb=this;let uri=this.uri;if(!uri.includes('?'))uri+='?';else uri+='&';uri+='_format=json';$.ajax({type:this.method,url:uri,data:'',dataType:'json',success(progress){if(progress.status===0){pb.displayError(progress.data);return;}pb.setProgress(progress.percentage,progress.message,progress.label);pb.timer=setTimeout(()=>{pb.sendPing();},pb.delay);},error(xmlhttp){const e=new Drupal.AjaxError(xmlhttp,pb.uri);pb.displayError(`<pre>${e.message}</pre>`);}});}},displayError(string){const error=$('<div class="messages messages--error"></div>').html(string);$(this.element).before(error).hide();if(this.errorCallback)this.errorCallback(this);}});})(jQuery,Drupal);;
4/* @license MIT https://raw.githubusercontent.com/muicss/loadjs/4.3.0/LICENSE.txt */
5loadjs=function(){var h=function(){},o={},c={},f={};function u(e,n){if(e){var t=f[e];if(c[e]=n,t)for(;t.length;)t[0](e,n),t.splice(0,1)}}function l(e,n){e.call&&(e={success:e}),n.length?(e.error||h)(n):(e.success||h)(e)}function p(t,r,i,s){var o,e,u,n=document,c=i.async,f=(i.numRetries||0)+1,l=i.before||h,a=t.replace(/[\?|#].*$/,""),d=t.replace(/^(css|img|module|nomodule)!/,"");if(s=s||0,/(^css!|\.css$)/.test(a))(u=n.createElement("link")).rel="stylesheet",u.href=d,(o="hideFocus"in u)&&u.relList&&(o=0,u.rel="preload",u.as="style");else if(/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(a))(u=n.createElement("img")).src=d;else if((u=n.createElement("script")).src=d,u.async=void 0===c||c,e="noModule"in u,/^module!/.test(a)){if(!e)return r(t,"l");u.type="module"}else if(/^nomodule!/.test(a)&&e)return r(t,"l");!(u.onload=u.onerror=u.onbeforeload=function(e){var n=e.type[0];if(o)try{u.sheet.cssText.length||(n="e")}catch(e){18!=e.code&&(n="e")}if("e"==n){if((s+=1)<f)return p(t,r,i,s)}else if("preload"==u.rel&&"style"==u.as)return u.rel="stylesheet";r(t,n,e.defaultPrevented)})!==l(t,u)&&n.head.appendChild(u)}function t(e,n,t){var r,i;if(n&&n.trim&&(r=n),i=(r?t:n)||{},r){if(r in o)throw"LoadJS";o[r]=!0}function s(n,t){!function(e,r,n){var t,i,s=(e=e.push?e:[e]).length,o=s,u=[];for(t=function(e,n,t){if("e"==n&&u.push(e),"b"==n){if(!t)return;u.push(e)}--s||r(u)},i=0;i<o;i++)p(e[i],t,n)}(e,function(e){l(i,e),n&&l({success:n,error:t},e),u(r,e)},i)}if(i.returnPromise)return new Promise(s);s()}return t.ready=function(e,n){return function(e,t){e=e.push?e:[e];var n,r,i,s=[],o=e.length,u=o;
5for(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}();;
6/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
7Drupal.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;};};;
8(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);;
9((Drupal)=>{Drupal.Message=class{constructor(messageWrapper=null){if(!messageWrapper)this.messageWrapper=Drupal.Message.defaultWrapper();else this.messageWrapper=messageWrapper;}static defaultWrapper(){let wrapper=document.querySelector('[data-drupal-messages]')||document.querySelector('[data-drupal-messages-fallback]');if(!wrapper){wrapper=document.createElement('div');document.body.appendChild(wrapper);}if(wrapper.hasAttribute('data-drupal-messages-fallback')){wrapper.removeAttribute('data-drupal-messages-fallback');wrapper.classList.remove('hidden');}wrapper.setAttribute('data-drupal-messages','');return wrapper.innerHTML===''?Drupal.Message.messageInternalWrapper(wrapper):wrapper.firstElementChild;}static getMessageTypeLabels(){return {status:Drupal.t('Status message'),error:Drupal.t('Error message'),warning:Drupal.t('Warning message')};}add(message,options={}){if(!options.hasOwnProperty('type'))options.type='status';if(typeof message!=='string')throw new Error('Message must be a string.');Drupal.Message.announce(message,options);options.id=options.id?String(options.id):`${options.type}-${Math.random().toFixed(15).replace('0.','')}`;if(!Drupal.Message.getMessageTypeLabels().hasOwnProperty(options.type)){const {type}=options;throw new Error(`The message type, ${type}, is not present in Drupal.Message.getMessageTypeLabels().`);}this.messageWrapper.appendChild(Drupal.theme('message',{text:message},options));return options.id;}select(id){return this.messageWrapper.querySelector(`[data-drupal-message-id^="${id}"]`);}remove(id){return this.messageWrapper.removeChild(this.select(id));}clear(){this.messageWrapper.querySelectorAll('[data-drupal-message-id]').forEach((message)=>{this.messageWrapper.removeChild(message);});}static announce(message,options){if(!options.priority&&(options.type==='warning'||options.type==='error'))options.priority='assertive';if(options.announce!=='')Drupal.announce(options.announce||message,options.priority);}static messageInternalWrapper(messageWrapper){const innerWrapper=document.createElement('div');innerWrapper.setAttribute('class','messages__wrapper');messageWrapper.insertAdjacentElement('afterbegin',innerWrapper);return innerWrapper;}};Drupal.theme.message=({text},{type,id})=>{const messagesTypes=Drupal.Message.getMessageTypeLabels();const messageWrapper=document.createElement('div');messageWrapper.setAttribute('class',`messages messages--${type}`);messageWrapper.setAttribute('role',type==='error'||type==='warning'?'alert':'status');messageWrapper.setAttribute('data-drupal-message-id',id);messageWrapper.setAttribute('data-drupal-message-type',type);messageWrapper.setAttribute('aria-label',messagesTypes[type]);messageWrapper.innerHTML=`${text}`;return messageWrapper;};})(Drupal);;
10(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}`;
10once('drupal-ajax',$(elementSettings.selector)).forEach((el)=>{elementSettings.element=el;elementSettings.base=base;Drupal.ajax(elementSettings);});}Object.keys(settings.ajax||{}).forEach(loadAjaxBehavior);Drupal.ajax.bindAjaxLinks(document.body);once('ajax','.use-ajax-submit').forEach((el)=>{const elementSettings={url:$(el.form).attr('action'),setClick:true,event:'click',progress:{type:'throbber'},base:el.id,element:el};Drupal.ajax(elementSettings);});},detach(context,settings,trigger){if(trigger==='unload')Drupal.ajax.expired().forEach((instance)=>{Drupal.ajax.instances[instance.instanceIndex]=null;});}};Drupal.AjaxError=function(xmlhttp,uri,customMessage){let statusCode;let statusText;let responseText;if(xmlhttp.status)statusCode=`\n${Drupal.t('An AJAX HTTP error occurred.')}\n${Drupal.t('HTTP Result Code: !status',{'!status':xmlhttp.status})}`;else statusCode=`\n${Drupal.t('An AJAX HTTP request terminated abnormally.')}`;statusCode+=`\n${Drupal.t('Debugging information follows.')}`;const pathText=`\n${Drupal.t('Path: !uri',{'!uri':uri})}`;statusText='';try{statusText=`\n${Drupal.t('StatusText: !statusText',{'!statusText':xmlhttp.statusText.trim()})}`;}catch(e){}responseText='';try{responseText=`\n${Drupal.t('ResponseText: !responseText',{'!responseText':xmlhttp.responseText.trim()})}`;}catch(e){}responseText=responseText.replace(/<("[^"]*"|'[^']*'|[^'">])*>/gi,'');responseText=responseText.replace(/[\n]+\s+/g,'\n');const readyStateText=xmlhttp.status===0?`\n${Drupal.t('ReadyState: !readyState',{'!readyState':xmlhttp.readyState})}`:'';customMessage=customMessage?`\n${Drupal.t('CustomMessage: !customMessage',{'!customMessage':customMessage})}`:'';this.message=statusCode+pathText+statusText+customMessage+responseText+readyStateText;this.name='AjaxError';if(!Drupal.AjaxError.messages)Drupal.AjaxError.messages=new Drupal.Message();Drupal.AjaxError.messages.add(Drupal.t("Oops, something went wrong. Check your browser's developer console for more details."),{type:'error'});};Drupal.AjaxError.prototype=new Error();Drupal.AjaxError.prototype.constructor=Drupal.AjaxError;Drupal.ajax=function(settings){if(arguments.length!==1)throw new Error('Drupal.ajax() function must be called with one configuration object only');const base=settings.base||false;const element=settings.element||false;delete settings.base;delete settings.element;if(!settings.progress&&!element)settings.progress=false;const ajax=new Drupal.Ajax(base,element,settings);ajax.instanceIndex=Drupal.ajax.instances.length;Drupal.ajax.instances.push(ajax);return ajax;};Drupal.ajax.instances=[];Drupal.ajax.expired=function(){return Drupal.ajax.instances.filter((instance)=>instance&&instance.element!==false&&!document.body.contains(instance.element));};Drupal.ajax.bindAjaxLinks=(element)=>{once('ajax','.use-ajax',element).forEach((ajaxLink)=>{const $linkElement=$(ajaxLink);const elementSettings={progress:{type:'throbber'},dialogType:$linkElement.data('dialog-type'),dialog:$linkElement.data('dialog-options'),dialogRenderer:$linkElement.data('dialog-renderer'),base:$linkElement.attr('id'),element:ajaxLink};const href=$linkElement.attr('href');if(href){elementSettings.url=href;elementSettings.event='click';}const httpMethod=$linkElement.data('ajax-http-method');if(httpMethod)elementSettings.httpMethod=httpMethod;Drupal.ajax(elementSettings);});};Drupal.Ajax=function(base,element,elementSettings){const defaults={httpMethod:'POST',event:element?'mousedown':null,keypress:true,selector:base?`#${base}`:null,effect:'none',speed:'none',method:'replaceWith',progress:{type:'throbber',message:Drupal.t('Processing...')},submit:{js:true}};$.extend(this,defaults,elementSettings);this.commands=new Drupal.AjaxCommands();this.instanceIndex=false;if(this.wrapper)this.wrapper=`#${this.wrapper}`;this.element=element;const $element=$(this.element);if($element.is('a')&&$element.hasClass('ajax-form-element')){const parents=$element.parents('form');if(typeof parents[0]!=='undefined')this.element.form=parents[0];}this.preCommandsFocusedElementSelector=null;this.elementSettings=elementSettings;if(this.element?.form)this.$form=$(this.element.form);if(!this.url)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=JSON.parse(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;
10$(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">&nbsp;</div>';return `<div class="ajax-progress ajax-progress-throbber">${throbber}${messageMarkup}</div>`;};Drupal.theme.ajaxProgressIndicatorFullscreen=()=>'<div class="ajax-progress ajax-progress-fullscreen">&nbsp;</div>';Drupal.theme.ajaxProgressMessage=(message)=>`<div class="message">${message}</div>`;Drupal.theme.ajaxProgressBar=($element)=>$('<div class="ajax-progress ajax-progress-bar"></div>').append($element);Drupal.Ajax.prototype.setProgressIndicatorBar=function(){const progressBar=new Drupal.ProgressBar(`ajax-progress-${this.element.i
10d}`,$.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));
10$newContent=Drupal.theme('ajaxWrapperNewContent',$newContent,ajax,response);switch(method){case 'html':case 'replaceWith':case 'replaceAll':case 'empty':case 'remove':Drupal.detachBehaviors($wrapper.get(0),settings);break;default:break;}$wrapper[method]($newContent);if(effect.showEffect!=='show')$newContent.hide();const $ajaxNewContent=$newContent.find('.ajax-new-content');if($ajaxNewContent.length){$ajaxNewContent.hide();$newContent.show();$ajaxNewContent[effect.showEffect](effect.showSpeed);}else{if(effect.showEffect!=='show')$newContent[effect.showEffect](effect.showSpeed);}$newContent.each((index,element)=>{if(element.nodeType===Node.ELEMENT_NODE&&document.documentElement.contains(element))Drupal.attachBehaviors(element,settings);});},remove(ajax,response,status){const settings=response.settings||ajax.settings||drupalSettings;$(response.selector).each(function(){Drupal.detachBehaviors(this,settings);}).remove();},changed(ajax,response,status){const $element=$(response.selector);if(!$element.hasClass('ajax-changed')){$element.addClass('ajax-changed');if(response.asterisk)$element.find(response.asterisk).append(` <abbr class="ajax-changed" title="${Drupal.t('Changed')}">*</abbr> `);}},alert(ajax,response,status){window.alert(response.text);},announce(ajax,response){if(response.priority)Drupal.announce(response.text,response.priority);else Drupal.announce(response.text);},redirect(ajax,response,status){window.location=response.url;},css(ajax,response,status){$(response.selector).css(response.argument);},settings(ajax,response,status){const ajaxSettings=drupalSettings.ajax;if(ajaxSettings)Drupal.ajax.expired().forEach((instance)=>{if(instance.selector){const selector=instance.selector.replace('#','');if(selector in ajaxSettings)delete ajaxSettings[selector];}});if(response.merge)$.extend(true,drupalSettings,response.settings);else ajax.settings=response.settings;},data(ajax,response,status){$(response.selector).data(response.name,response.value);},focusFirst(ajax,response,status){let focusChanged=false;const container=document.querySelector(response.selector);if(container){const tabbableElements=tabbable(container);if(tabbableElements.length){tabbableElements[0].focus();focusChanged=true;}else{if(isFocusable(container)){container.focus();focusChanged=true;}}}if(ajax.hasOwnProperty('element')&&!focusChanged)ajax.element.focus();},invoke(ajax,response,status){const $element=$(response.selector);$element[response.method](...response.args);},restripe(ajax,response,status){$(response.selector).find('> tbody > tr:visible, > tr:visible').removeClass('odd even').filter(':even').addClass('odd').end().filter(':odd').addClass('even');},update_build_id(ajax,response,status){document.querySelectorAll(`input[name="form_build_id"][value="${response.old}"]`).forEach((item)=>{item.value=response.new;});},add_css(ajax,response,status){const allUniqueBundleIds=response.data.map(function(style){const uniqueBundleId=style.href;if(!loadjs.isDefined(uniqueBundleId))loadjs(`css!${style.href}`,uniqueBundleId,{before(path,styleEl){Object.keys(style).forEach((attributeKey)=>{styleEl.setAttribute(attributeKey,style[attributeKey]);});}});return uniqueBundleId;});return new Promise((resolve,reject)=>{loadjs.ready(allUniqueBundleIds,{success(){resolve();},error(depsNotFound){const message=Drupal.t(`The following files could not be loaded: @dependencies`,{'@dependencies':depsNotFound.join(', ')});reject(message);}});});},message(ajax,response){const messages=new Drupal.Message(document.querySelector(response.messageWrapperQuerySelector));if(response.clearPrevious)messages.clear();messages.add(response.message,response.messageOptions);},add_js(ajax,response,status){const parentEl=document.querySelector(response.selector||'body');const settings=ajax.settings||drupalSettings;const allUniqueBundleIds=response.data.map((script)=>{const uniqueBundleId=script.src;if(!loadjs.isDefined(uniqueBundleId))loadjs(script.src,uniqueBundleId,{async:false,before(path,scriptEl){Object.keys(script).forEach((attributeKey)=>{scriptEl.setAttribute(attributeKey,script[attributeKey]);});parentEl.appendChild(scriptEl);return false;}});return uniqueBundleId;});return new Promise((resolve,reject)=>{loadjs.ready(allUniqueBundleIds,{success(){Drupal.attachBehaviors(parentEl,settings);resolve();},error(depsNotFound){const message=Drupal.t(`The following files could not be loaded: @dependencies`,{'@dependencies':depsNotFound.join(', ')});reject(message);}});});},scrollTop(ajax,response){document.querySelector(response.selector)?.scrollIntoView();}};const stopEvent=(xhr,settings)=>{return (xhr.getResponseHeader('X-Drupal-Ajax-Token')==='1'&&typeof settings.isInProgress==='function'&&settings.isInProgress());};$.extend(true,$.event.special,{ajaxSuccess:{trigger(event,xhr,settings){if(stopEvent(xhr,settings))return false;}},ajaxComplete:{trigger(event,xhr,settings){if(stopEvent(xhr,settings)){$.active++;return false;}}}});})(jQuery,window,Drupal,drupalSettings,loadjs,window.tabbable);;
11(function(Drupal){Drupal.theme.ajaxProgressBar=function($element){return $element.addClass('ajax-progress ajax-progress-bar');};})(Drupal);;
12(function($,once){Drupal.behaviors.datatables={attach:function(context,settings){$.each(settings.datatables,function(selector){$(once('datatables',selector,context)).each(function(){var settings=drupalSettings.datatables[selector];if(settings.bExpandable){var nCloneTh=document.createElement('th');var nCloneTd=document.createElement('td');nCloneTd.innerHTML='<a href="#" class="datatables-expand datatables-closed">'+Drupal.t('Show Details')+'</a>';$(selector+' thead tr').each(function(){this.insertBefore(nCloneTh,this.childNodes[0]);});$(selector+' tbody tr').each(function(){this.insertBefore(nCloneTd.cloneNode(true),this.childNodes[0]);});settings.aoColumns.unshift({"bSortable":false});}
12var datatable=$(selector).dataTable(settings);if(settings.bExpandable){var datatables_settings=datatable.fnSettings();settings.aoColumnHeaders.unshift('');datatables_settings.aoColumnHeaders=settings.aoColumnHeaders;$('td a.datatables-expand',datatable.fnGetNodes()).each(function(){$(this).click(function(){var row=this.parentNode.parentNode;if(datatable.fnIsOpen(row)){datatable.fnClose(row);$(this).html(Drupal.t('Show Details'));}else{datatable.fnOpen(row,Drupal.theme('datatablesExpandableRow',datatable,row),'details');$(this).html(Drupal.t('Hide Details'));}return false;});});}if(settings.bFilterColumns)datatable.api().columns().every(function(index){if(settings.aoColumns[index].sFilterColumnType){var column=this;var $appendTarget=null;var controls=null;var eventType=null;switch(settings.aoColumns[index].sFilterColumnType){case 'thead_select':$appendTarget=$(column.header());controls='select';eventType='change';break;case 'thead_input':$appendTarget=$(column.header());controls='input';eventType='input';break;case 'tfoot_select':$appendTarget=$(column.footer());controls='select';eventType='change';break;case 'tfoot_input':$appendTarget=$(column.footer());controls='input';eventType='input';break;}if($appendTarget&&controls&&eventType){$appendTarget.addClass('filter-column').wrapInner('<div class="filter-column__title"></div>');if(controls=='select'){var $controls=$('<select class="filter-column__filter"><option value="">'+settings.sFilterColumnsPlaceholder+'</option></select>');column.data().unique().sort().each(function(d,j){d=d.trim();let tmp=document.createElement("DIV");tmp.innerHTML=d;d=tmp.textContent||tmp.innerText||"";$controls.append('<option value="'+d+'">'+d+'</option>');});}else{if(controls=='input')var $controls=$('<input type="search" placeholder="'+settings.sFilterColumnsPlaceholder+'" class="filter-column__filter" />');}$controls.on(eventType,function(){var val=$(this).val().trim();column.search(val,false,true,true).draw();});$controls.wrap('<div class="filter-column__filter"></div>').appendTo($appendTarget);$appendTarget.wrapInner('<div class="filter-column__title-filter-wrapper"></div>');}}});});});}};Drupal.theme.datatablesExpandableRow=function(datatable,row){var rowData=datatable.fnGetData(row);var settings=datatable.fnSettings();var output='<table style="padding-left: 50px">';$.each(rowData,function(index){if(!settings.aoColumns[index].bVisible)output+='<tr><td>'+settings.aoColumnHeaders[index].content+'</td><td style="text-align: left">
12'+this+'</td></tr>';});output+='</table>';return output;};}(jQuery,once));;
13/*! For license information please see ens-main.js.LICENSE.txt */
14(()=>{var e,t={11:function(e,t,n){e.exports=function(e,t,n,i){"use strict";const o="5.3.8";class r extends n{constructor(t,n){super(),(t=i.getElement(t))&&(this._element=t,this._config=this._getConfig(n),e.set(this._element,this.constructor.DATA_KEY,this))}dispose(){e.remove(this._element,this.constructor.DATA_KEY),t.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){i.executeAfterTransition(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(t){return e.get(i.getElement(t),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return o}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}return r}(n(269),n(956),n(105),n(35))},26:()=>{},29:function(e,t,n){e.exports=function(e,t,n,i,o,r,s){"use strict";function a(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const n in e)if("default"!==n){const i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:()=>e[n]})}return t.default=e,Object.freeze(t)}const l=a(e),c="tooltip",u=new Set(["sanitize","allowList","sanitizeFn"]),f="fade",d="show",p=".tooltip-inner",h=".modal",m="hide.bs.modal",g="hover",b="focus",v="click",_="manual",y="hide",w="hidden",E="show",x="shown",T="inserted",O="click",A="focusin",C="focusout",S="mouseenter",k="mouseleave",D={AUTO:"auto",TOP:"top",RIGHT:o.isRTL()?"left":"right",BOTTOM:"bottom",LEFT:o.isRTL()?"right":"left"},j={allowList:r.DefaultAllowlist,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},L={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class P extends t{constructor(e,t){if(void 0===l)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return j}static get DefaultType(){return L}static get NAME(){return c}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),n.off(this._element.closest(h),m,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const e=n.trigger(this._element,this.constructor.eventName(E)),t=(o.findShadowRoot(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:r}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(r.append(i),n.trigger(this._element,this.constructor.eventName(T))),this._popper=this._createPopper(i),i.classList.add(d),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))n.on(e,"mouseover",o.noop);const s=()=>{n.trigger(this._element,this.constructor.eventName(x)),!1===this._isHovered&&this._leave(),this._isHovered=!1};this._queueCallback(s,this.tip,this._isAnimated())}
14hide(){if(!this._isShown())return;if(n.trigger(this._element,this.constructor.eventName(y)).defaultPrevented)return;if(this._getTipElement().classList.remove(d),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))n.off(e,"mouseover",o.noop);this._activeTrigger[v]=!1,this._activeTrigger[b]=!1,this._activeTrigger[g]=!1,this._isHovered=null;const e=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),n.trigger(this._element,this.constructor.eventName(w)))};this._queueCallback(e,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(f,d),t.classList.add(`bs-${this.constructor.NAME}-auto`);const n=o.getUID(this.constructor.NAME).toString();return t.setAttribute("id",n),this._isAnimated()&&t.classList.add(f),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new s({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[p]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(f)}_isShown(){return this.tip&&this.tip.classList.contains(d)}_createPopper(e){const t=o.execute(this._config.placement,[this,e,this._element]),n=D[t.toUpperCase()];return l.createPopper(this._element,e,this._getPopperConfig(n))}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return o.execute(e,[this._element,this._element])}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...t,...o.execute(this._config.popperConfig,[void 0,t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)n.on(this._element,this.constructor.eventName(O),this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger[v]=!(t._isShown()&&t._activeTrigger[v]),t.toggle()}));else if(t!==_){const e=t===g?this.constructor.eventName(S):this.constructor.eventName(A),i=t===g?this.constructor.eventName(k):this.constructor.eventName(C);n.on(this._element,e,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?b:g]=!0,t._enter()})),n.on(this._element,i,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?b:g]=t._element.contains(e.relatedTarget),t._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},n.on(this._element.closest(h),m,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=i.getDataAttributes(this._element);for(const e of Object.keys(t))u.has(e)&&delete t[e];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:o.getElement(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,n]of Object.entries(this._config))this.constructor.Default[t]!==n&&(e[t]=n);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each((function(){const t=P.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method n
14amed "${e}"`);t[e]()}}))}}return o.defineJQueryPlugin(P),P}(n(216),n(11),n(956),n(333),n(35),n(812),n(982))},35:function(e,t){!function(e){"use strict";const t=1e6,n=1e3,i="transitionend",o=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,((e,t)=>`#${CSS.escape(t)}`))),e),r=e=>null==e?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),s=e=>{do{e+=Math.floor(Math.random()*t)}while(document.getElementById(e));return e},a=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:i}=window.getComputedStyle(e);const o=Number.parseFloat(t),r=Number.parseFloat(i);return o||r?(t=t.split(",")[0],i=i.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(i))*n):0},l=e=>{e.dispatchEvent(new Event(i))},c=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),u=e=>c(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(o(e)):null,f=e=>{if(!c(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const t=e.closest("summary");if(t&&t.parentNode!==n)return!1;if(null===t)return!1}return t},d=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),p=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?p(e.parentNode):null},h=()=>{},m=e=>{e.offsetHeight},g=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,b=[],v=e=>{"loading"===document.readyState?(b.length||document.addEventListener("DOMContentLoaded",(()=>{for(const e of b)e()})),b.push(e)):e()},_=()=>"rtl"===document.documentElement.dir,y=e=>{v((()=>{const t=g();if(t){const n=e.NAME,i=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=i,e.jQueryInterface)}}))},w=(e,t=[],n=e)=>"function"==typeof e?e.call(...t):n,E=(e,t,n=!0)=>{if(!n)return void w(e);const o=5,r=a(t)+o;let s=!1;const c=({target:n})=>{n===t&&(s=!0,t.removeEventListener(i,c),w(e))};t.addEventListener(i,c),setTimeout((()=>{s||l(t)}),r)},x=(e,t,n,i)=>{const o=e.length;let r=e.indexOf(t);return-1===r?!n&&i?e[o-1]:e[0]:(r+=n?1:-1,i&&(r=(r+o)%o),e[Math.max(0,Math.min(r,o-1))])};e.defineJQueryPlugin=y,e.execute=w,e.executeAfterTransition=E,e.findShadowRoot=p,e.getElement=u,e.getNextActiveElement=x,e.getTransitionDurationFromElement=a,e.getUID=s,e.getjQuery=g,e.isDisabled=d,e.isElement=c,e.isRTL=_,e.isVisible=f,e.noop=h,e.onDOMContentLoaded=v,e.parseSelector=o,e.reflow=m,e.toType=r,e.triggerTransitionEnd=l,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}(t)},105:function(e,t,n){e.exports=function(e,t){"use strict";class n{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(n,i){const o=t.isElement(i)?e.getDataAttribute(i,"config"):{};return{...this.constructor.Default,..."object"==typeof o?o:{},...t.isElement(i)?e.getDataAttributes(i):{},..."object"==typeof n?n:{}}}_typeCheckConfig(e,n=this.constructor.DefaultType){for(const[i,o]of Object.entries(n)){const n=e[i],r=t.isElement(n)?"element":t.toType(n);if(!new RegExp(o).test(r))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${r}" but expected type "${o}".`)}}}return n}(n(333),n(35))},139:()=>{},216:(e,t,n)=>{"use strict";n.r(t),n.d(t,{afterMain:()=>E,afterRead:()=>_,afterWrite:()=>O,applyStyles:()=>L,arrow:()=>X,auto:()=>a,basePlacements:()=>l,beforeMain:()=>y,beforeRead:()=>b,beforeWrite:()=>x,bottom:()=>o,clippingParents:()=>f,computeStyles:()=>ne,createPopper:()=>Le,createPopperBase:()=>je,createPopperLite:()=>Pe,detectOverflow:()=>ve,end:()=>u,eventListeners:()=>oe,flip:()=>_e,hide:()=>Ee,left:()=>s,main:()=>w,modifierPhases:()=>A,offset:()=>xe,placements:()=>g,popper:()=>p,popperGenerator:()=>De,popperOffsets:()=>Te,preventOverflow:()=>Oe,read:()=>v,reference:()=>h,right:()=>r,start:()=>c,top:()=>i,variationPlacements:()=>m,viewport:()=>d,write:()=>T});var i="top",o="bottom",r="right",s="left",a="auto",l=[i,o,r,s],c="start",u="end",f="clippingParents",d="viewport",p="popper",h="reference",m=l.reduce((function(e,t){return e.concat([t+"-"+c,t+"-"+u])}),[]),g=[].concat(l,[a]).reduce((function(e,t){return e.concat([t,t+"-"+c,t+"-"+u])}),[]),b="beforeRead",v="read",_="afterRead",y="beforeMain",w="main",E="afterMain",x="beforeWrite",T="write",O="afterWrite",A=[b,v,_,y,w,E,x,T,O];function C(e){return e?(e.nodeName||"").toLowerCase():null}function S(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function k(e){return e instanceof S(e).Element||e instanceof Element}function D(e){return e instanceof S(e).HTMLElement||e instanceof HTMLElement}function j(e){return"undefined"!=typeof ShadowRoot&&(e instanceof S(e).ShadowRoot||e instanceof ShadowRoot)}const L={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;
vendor: 4,692 bytes, line 14
14Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},o=t.elements[e];D(o)&&C(o)&&(Object.assign(o.style,n),Object.keys(i).forEach((function(e){var t=i[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],o=t.attributes[e]||{},r=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});D(i)&&C(i)&&(Object.assign(i.style,r),Object.keys(o).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]};function P(e){return e.split("-")[0]}var M=Math.max,N=Math.min,H=Math.round;function F(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function $(){return!/^((?!chrome|android).)*safari/i.test(F())}function B(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var i=e.getBoundingClientRect(),o=1,r=1;t&&D(e)&&(o=e.offsetWidth>0&&H(i.width)/e.offsetWidth||1,r=e.offsetHeight>0&&H(i.height)/e.offsetHeight||1);var s=(k(e)?S(e):window).visualViewport,a=!$()&&n,l=(i.left+(a&&s?s.offsetLeft:0))/o,c=(i.top+(a&&s?s.offsetTop:0))/r,u=i.width/o,f=i.height/r;return{width:u,height:f,top:c,right:l+u,bottom:c+f,left:l,x:l,y:c}}function I(e){var t=B(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function R(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&j(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function W(e){return S(e).getComputedStyle(e)}function q(e){return["table","td","th"].indexOf(C(e))>=0}function z(e){return((k(e)?e.ownerDocument:e.document)||window.document).documentElement}function V(e){return"html"===C(e)?e:e.assignedSlot||e.parentNode||(j(e)?e.host:null)||z(e)}function Y(e){return D(e)&&"fixed"!==W(e).position?e.offsetParent:null}function K(e){for(var t=S(e),n=Y(e);n&&q(n)&&"static"===W(n).position;)n=Y(n);return n&&("html"===C(n)||"body"===C(n)&&"static"===W(n).position)?t:n||function(e){var t=/firefox/i.test(F());if(/Trident/i.test(F())&&D(e)&&"fixed"===W(e).position)return null;var n=V(e);for(j(n)&&(n=n.host);D(n)&&["html","body"].indexOf(C(n))<0;){var i=W(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||t}function Q(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function U(e,t,n){return M(e,N(t,n))}function J(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function G(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}const X={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,a=e.name,c=e.options,u=n.elements.arrow,f=n.modifiersData.popperOffsets,d=P(n.placement),p=Q(d),h=[s,r].indexOf(d)>=0?"height":"width";if(u&&f){var m=function(e,t){return J("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:G(e,l))}(c.padding,n),g=I(u),b="y"===p?i:s,v="y"===p?o:r,_=n.rects.reference[h]+n.rects.reference[p]-f[p]-n.rects.popper[h],y=f[p]-n.rects.reference[p],w=K(u),E=w?"y"===p?w.clientHeight||0:w.clientWidth||0:0,x=_/2-y/2,T=m[b],O=E-g[h]-m[v],A=E/2-g[h]/2+x,C=U(T,A,O),S=p;n.modifiersData[a]=((t={})[S]=C,t.centerOffset=C-A,t)}},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&R(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Z(e){return e.split("-")[1]}var ee={top:"auto",right:"auto",bottom:"auto",left:"auto"};function te(e){var t,n=e.popper,a=e.popperRect,l=e.placement,c=e.variation,f=e.offsets,d=e.position,p=e.gpuAcceleration,h=e.adaptive,m=e.roundOffsets,g=e.isFixed,b=f.x,v=void 0===b?0:b,_=f.y,y=void 0===_?0:_,w="function"==typeof m?m({x:v,y}):{x:v,y};v=w.x,y=w.y;var E=f.hasOwnProperty("x"),x=f.hasOwnProperty("y"),T=s,O=i,A=window;if(h){var C=K(n),k="clientHeight",D="clientWidth";if(C===S(n)&&"static"!==W(C=z(n)).position&&"absolute"===d&&(k="scrollHeight",D="scrollWidth"),l===i||(l===s||l===r)&&c===u)O=o,y-=(g&&C===A&&A.visualVie
vendor: 4,868 bytes, line 14
14wport?A.visualViewport.height:C[k])-a.height,y*=p?1:-1;if(l===s||(l===i||l===o)&&c===u)T=r,v-=(g&&C===A&&A.visualViewport?A.visualViewport.width:C[D])-a.width,v*=p?1:-1}var j,L=Object.assign({position:d},h&&ee),P=!0===m?function(e,t){var n=e.x,i=e.y,o=t.devicePixelRatio||1;return{x:H(n*o)/o||0,y:H(i*o)/o||0}}({x:v,y},S(n)):{x:v,y};return v=P.x,y=P.y,p?Object.assign({},L,((j={})[O]=x?"0":"",j[T]=E?"0":"",j.transform=(A.devicePixelRatio||1)<=1?"translate("+v+"px, "+y+"px)":"translate3d("+v+"px, "+y+"px, 0)",j)):Object.assign({},L,((t={})[O]=x?y+"px":"",t[T]=E?v+"px":"",t.transform="",t))}const ne={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,o=void 0===i||i,r=n.adaptive,s=void 0===r||r,a=n.roundOffsets,l=void 0===a||a,c={placement:P(t.placement),variation:Z(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,te(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,te(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var ie={passive:!0};const oe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,o=i.scroll,r=void 0===o||o,s=i.resize,a=void 0===s||s,l=S(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&c.forEach((function(e){e.addEventListener("scroll",n.update,ie)})),a&&l.addEventListener("resize",n.update,ie),function(){r&&c.forEach((function(e){e.removeEventListener("scroll",n.update,ie)})),a&&l.removeEventListener("resize",n.update,ie)}},data:{}};var re={left:"right",right:"left",bottom:"top",top:"bottom"};function se(e){return e.replace(/left|right|bottom|top/g,(function(e){return re[e]}))}var ae={start:"end",end:"start"};function le(e){return e.replace(/start|end/g,(function(e){return ae[e]}))}function ce(e){var t=S(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ue(e){return B(z(e)).left+ce(e).scrollLeft}function fe(e){var t=W(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}function de(e){return["html","body","#document"].indexOf(C(e))>=0?e.ownerDocument.body:D(e)&&fe(e)?e:de(V(e))}function pe(e,t){var n;void 0===t&&(t=[]);var i=de(e),o=i===(null==(n=e.ownerDocument)?void 0:n.body),r=S(i),s=o?[r].concat(r.visualViewport||[],fe(i)?i:[]):i,a=t.concat(s);return o?a:a.concat(pe(V(s)))}function he(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function me(e,t,n){return t===d?he(function(e,t){var n=S(e),i=z(e),o=n.visualViewport,r=i.clientWidth,s=i.clientHeight,a=0,l=0;if(o){r=o.width,s=o.height;var c=$();(c||!c&&"fixed"===t)&&(a=o.offsetLeft,l=o.offsetTop)}return{width:r,height:s,x:a+ue(e),y:l}}(e,n)):k(t)?function(e,t){var n=B(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):he(function(e){var t,n=z(e),i=ce(e),o=null==(t=e.ownerDocument)?void 0:t.body,r=M(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=M(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-i.scrollLeft+ue(e),l=-i.scrollTop;return"rtl"===W(o||n).direction&&(a+=M(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:s,x:a,y:l}}(z(e)))}function ge(e,t,n,i){var o="clippingParents"===t?function(e){var t=pe(V(e)),n=["absolute","fixed"].indexOf(W(e).position)>=0&&D(e)?K(e):e;return k(n)?t.filter((function(e){return k(e)&&R(e,n)&&"body"!==C(e)})):[]}(e):[].concat(t),r=[].concat(o,[n]),s=r[0],a=r.reduce((function(t,n){var o=me(e,n,i);return t.top=M(o.top,t.top),t.right=N(o.right,t.right),t.bottom=N(o.bottom,t.bottom),t.left=M(o.left,t.left),t}),me(e,s,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function be(e){var t,n=e.reference,a=e.element,l=e.placement,f=l?P(l):null,d=l?Z(l):null,p=n.x+n.width/2-a.width/2,h=n.y+n.height/2-a.height/2;switch(f){case i:t={x:p,y:n.y-a.height};break;case o:t={x:p,y:n.y+n.height};break;case r:t={x:n.x+n.width,y:h};break;case s:t={x:n.x-a.width,y:h};break;default:t={x:n.x,y:n.y}}var m=f?Q(f):null;if(null!=m){var g="y"===m?"height":"width";switch(d){case c:t[m]=t[m]-(n[g]/2-a[g]/2);break;case u:t[m]=t[m]+(n[g]/2-a[g]/2)}}return t}function ve(e,t){void 0===t&&(t={});var n=t,s=n.placement,a=void 0===s?e.placement:s,c=n.strategy,u=void 0===c?e.
vendor: 4,764 bytes, line 14
14strategy:c,m=n.boundary,g=void 0===m?f:m,b=n.rootBoundary,v=void 0===b?d:b,_=n.elementContext,y=void 0===_?p:_,w=n.altBoundary,E=void 0!==w&&w,x=n.padding,T=void 0===x?0:x,O=J("number"!=typeof T?T:G(T,l)),A=y===p?h:p,C=e.rects.popper,S=e.elements[E?A:y],D=ge(k(S)?S:S.contextElement||z(e.elements.popper),g,v,u),j=B(e.elements.reference),L=be({reference:j,element:C,strategy:"absolute",placement:a}),P=he(Object.assign({},C,L)),M=y===p?P:j,N={top:D.top-M.top+O.top,bottom:M.bottom-D.bottom+O.bottom,left:D.left-M.left+O.left,right:M.right-D.right+O.right},H=e.modifiersData.offset;if(y===p&&H){var F=H[a];Object.keys(N).forEach((function(e){var t=[r,o].indexOf(e)>=0?1:-1,n=[i,o].indexOf(e)>=0?"y":"x";N[e]+=F[n]*t}))}return N}const _e={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,u=e.name;if(!t.modifiersData[u]._skip){for(var f=n.mainAxis,d=void 0===f||f,p=n.altAxis,h=void 0===p||p,b=n.fallbackPlacements,v=n.padding,_=n.boundary,y=n.rootBoundary,w=n.altBoundary,E=n.flipVariations,x=void 0===E||E,T=n.allowedAutoPlacements,O=t.options.placement,A=P(O),C=b||(A===O||!x?[se(O)]:function(e){if(P(e)===a)return[];var t=se(e);return[le(e),t,le(t)]}(O)),S=[O].concat(C).reduce((function(e,n){return e.concat(P(n)===a?function(e,t){void 0===t&&(t={});var n=t,i=n.placement,o=n.boundary,r=n.rootBoundary,s=n.padding,a=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?g:c,f=Z(i),d=f?a?m:m.filter((function(e){return Z(e)===f})):l,p=d.filter((function(e){return u.indexOf(e)>=0}));0===p.length&&(p=d);var h=p.reduce((function(t,n){return t[n]=ve(e,{placement:n,boundary:o,rootBoundary:r,padding:s})[P(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}(t,{placement:n,boundary:_,rootBoundary:y,padding:v,flipVariations:x,allowedAutoPlacements:T}):n)}),[]),k=t.rects.reference,D=t.rects.popper,j=new Map,L=!0,M=S[0],N=0;N<S.length;N++){var H=S[N],F=P(H),$=Z(H)===c,B=[i,o].indexOf(F)>=0,I=B?"width":"height",R=ve(t,{placement:H,boundary:_,rootBoundary:y,altBoundary:w,padding:v}),W=B?$?r:s:$?o:i;k[I]>D[I]&&(W=se(W));var q=se(W),z=[];if(d&&z.push(R[F]<=0),h&&z.push(R[W]<=0,R[q]<=0),z.every((function(e){return e}))){M=H,L=!1;break}j.set(H,z)}if(L)for(var V=function(e){var t=S.find((function(t){var n=j.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return M=t,"break"},Y=x?3:1;Y>0;Y--){if("break"===V(Y))break}t.placement!==M&&(t.modifiersData[u]._skip=!0,t.placement=M,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ye(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function we(e){return[i,r,o,s].some((function(t){return e[t]>=0}))}const Ee={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,o=t.rects.popper,r=t.modifiersData.preventOverflow,s=ve(t,{elementContext:"reference"}),a=ve(t,{altBoundary:!0}),l=ye(s,i),c=ye(a,o,r),u=we(l),f=we(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}};const xe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,o=e.name,a=n.offset,l=void 0===a?[0,0]:a,c=g.reduce((function(e,n){return e[n]=function(e,t,n){var o=P(e),a=[s,i].indexOf(o)>=0?-1:1,l="function"==typeof n?n(Object.assign({},t,{placement:e})):n,c=l[0],u=l[1];return c=c||0,u=(u||0)*a,[s,r].indexOf(o)>=0?{x:u,y:c}:{x:c,y:u}}(n,t.rects,l),e}),{}),u=c[t.placement],f=u.x,d=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=d),t.modifiersData[o]=c}};const Te={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=be({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};const Oe={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,a=e.name,l=n.mainAxis,u=void 0===l||l,f=n.altAxis,d=void 0!==f&&f,p=n.boundary,h=n.rootBoundary,m=n.altBoundary,g=n.padding,b=n.tether,v=void 0===b||b,_=n.tetherOffset,y=void 0===_?0:_,w=ve(t,{boundary:p,rootBoundary:h,padding:g,altBoundary:m}),E=P(t.placement),x=Z(t.placement),T=!x,O=Q(E),A="x"===O?"y":"x",C=t.modifiersData.popperOffsets,S=t.rects.reference,k=t.rects.popper,D="function"==typeof y?y(Object.assign({},t.rects,{placement:t.placement})):y,j="number"==typeof D?{mainAxis:D,altAxis:D}:Object.assign({mainAxis:0,altAxis:0},D),L=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,H={x:0,y:0};
vendor: 4,491 bytes, line 14
14if(C){if(u){var F,$="y"===O?i:s,B="y"===O?o:r,R="y"===O?"height":"width",W=C[O],q=W+w[$],z=W-w[B],V=v?-k[R]/2:0,Y=x===c?S[R]:k[R],J=x===c?-k[R]:-S[R],G=t.elements.arrow,X=v&&G?I(G):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[$],ne=ee[B],ie=U(0,S[R],X[R]),oe=T?S[R]/2-V-ie-te-j.mainAxis:Y-ie-te-j.mainAxis,re=T?-S[R]/2+V+ie+ne+j.mainAxis:J+ie+ne+j.mainAxis,se=t.elements.arrow&&K(t.elements.arrow),ae=se?"y"===O?se.clientTop||0:se.clientLeft||0:0,le=null!=(F=null==L?void 0:L[O])?F:0,ce=W+re-le,ue=U(v?N(q,W+oe-le-ae):q,W,v?M(z,ce):z);C[O]=ue,H[O]=ue-W}if(d){var fe,de="x"===O?i:s,pe="x"===O?o:r,he=C[A],me="y"===A?"height":"width",ge=he+w[de],be=he-w[pe],_e=-1!==[i,s].indexOf(E),ye=null!=(fe=null==L?void 0:L[A])?fe:0,we=_e?ge:he-S[me]-k[me]-ye+j.altAxis,Ee=_e?he+S[me]+k[me]-ye-j.altAxis:be,xe=v&&_e?function(e,t,n){var i=U(e,t,n);return i>n?n:i}(we,he,Ee):U(v?we:ge,he,v?Ee:be);C[A]=xe,H[A]=xe-he}t.modifiersData[a]=H}},requiresIfExists:["offset"]};function Ae(e,t,n){void 0===n&&(n=!1);var i,o,r=D(t),s=D(t)&&function(e){var t=e.getBoundingClientRect(),n=H(t.width)/e.offsetWidth||1,i=H(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(t),a=z(t),l=B(e,s,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&(("body"!==C(t)||fe(a))&&(c=(i=t)!==S(i)&&D(i)?{scrollLeft:(o=i).scrollLeft,scrollTop:o.scrollTop}:ce(i)),D(t)?((u=B(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=ue(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function Ce(e){var t=new Map,n=new Set,i=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var i=t.get(e);i&&o(i)}})),i.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),i}var Se={placement:"bottom",modifiers:[],strategy:"absolute"};function ke(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function De(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,i=void 0===n?[]:n,o=t.defaultOptions,r=void 0===o?Se:o;return function(e,t,n){void 0===n&&(n=r);var o,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Se,r),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:a,setOptions:function(n){var o="function"==typeof n?n(a.options):n;f(),a.options=Object.assign({},r,a.options,o),a.scrollParents={reference:k(e)?pe(e):e.contextElement?pe(e.contextElement):[],popper:pe(t)};var s,c,d=function(e){var t=Ce(e);return A.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((s=[].concat(i,a.options.modifiers),c=s.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return a.orderedModifiers=d.filter((function(e){return e.enabled})),a.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,i=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var r=o({state:a,name:t,instance:u,options:i}),s=function(){};l.push(r||s)}})),u.update()},forceUpdate:function(){if(!c){var e=a.elements,t=e.reference,n=e.popper;if(ke(t,n)){a.rects={reference:Ae(t,K(n),"fixed"===a.options.strategy),popper:I(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(e){return a.modifiersData[e.name]=Object.assign({},e.data)}));for(var i=0;i<a.orderedModifiers.length;i++)if(!0!==a.reset){var o=a.orderedModifiers[i],r=o.fn,s=o.options,l=void 0===s?{}:s,f=o.name;"function"==typeof r&&(a=r({state:a,options:l,name:f,instance:u})||a)}else a.reset=!1,i=-1}}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(a)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(o())}))}))),s}),destroy:function(){f(),c=!0}};if(!ke(e,t))return u;function f(){l.forEach((function(e){return e()})),l=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var je=De(),Le=De({defaultModifiers:[oe,Te,ne,L,xe,_e,Oe,X,Ee]}),Pe=De({defaultModifiers:[oe,Te,ne,L]})},220:(e,t,n)=>{"use strict";n(914),n(689),n(400);var i=n(635),o=n.n(i);Drupal.behaviors.modals={attach:function(e){[].slice.call(e.getElementsByClassName("modal")).forEac
14h((function(e){new(o())(e)})),e.querySelectorAll('[data-bs-toggle="modal"]').forEach((function(e){e.setAttribute("tabindex",0),e.addEventListener("keypress",(function(t){13===t.keyCode&&e.click()}))}))}};var r=n(29),s=n.n(r);Drupal.behaviors.tooltips={attach:function(e){[].slice.call(e.querySelectorAll('[data-bs-toggle="tooltip"]')).forEach((function(e){new(s())(e,{trigger:"hover focus",offset:[0,10]})}))}}},248:function(e,t,n){!function(e,t,n,i){"use strict";const o=(e,o="hide")=>{const r=`click.dismiss${e.EVENT_KEY}`,s=e.NAME;t.on(document,r,`[data-bs-dismiss="${s}"]`,(function(t){if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),i.isDisabled(this))return;const r=n.getElementFromSelector(this)||this.closest(`.${s}`);e.getOrCreateInstance(r)[o]()}))};e.enableDismissTrigger=o,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}(t,n(956),n(411),n(35))},269:function(e){e.exports=function(){"use strict";const e=new Map;return{set(t,n,i){e.has(t)||e.set(t,new Map);const o=e.get(t);o.has(n)||0===o.size?o.set(n,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(o.keys())[0]}.`)},get:(t,n)=>e.has(t)&&e.get(t).get(n)||null,remove(t,n){if(!e.has(t))return;const i=e.get(t);i.delete(n),0===i.size&&e.delete(t)}}}()},333:function(e){e.exports=function(){"use strict";function e(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function t(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}return{setDataAttribute(e,n,i){e.setAttribute(`data-bs-${t(n)}`,i)},removeDataAttribute(e,n){e.removeAttribute(`data-bs-${t(n)}`)},getDataAttributes(t){if(!t)return{};const n={},i=Object.keys(t.dataset).filter((e=>e.startsWith("bs")&&!e.startsWith("bsConfig")));for(const o of i){let i=o.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1),n[i]=e(t.dataset[o])}return n},getDataAttribute:(n,i)=>e(n.getAttribute(`data-bs-${t(i)}`))}}()},400:()=>{function e(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,o,r,s,a=[],l=!0,c=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=r.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw o}}return a}}(e,n)||function(e,n){if(e){if("string"==typeof e)return t(e,n);var i={}.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?t(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}!function(t,n,i){var o=0,r=function(e){e.hasClass("hide")?(e.removeClass("hide"),e.focus()):e.addClass("hide")},s=function(e,t){e.find(".dataTables_filter").toggle(!!t.page.info().recordsTotal),e.find(".dataTables_paginate").toggle(t.page.info().pages>1),e.find(".dataTables_length").toggle(!!t.page.info().recordsTotal)},a=function(e,n){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=e.rows({search:"applied"}).count(),r=e.page.len(),s=t("#btn-load-more");i&&(e.page.len(n).draw(),r=n),o<=r?s.hide():s.show()};n.behaviors.datatables={attach:function(l,c){t.each(c.datatables,(function(c){t(i("datatables",c,l)).each((function(){var i,l,u=drupalSettings.datatables[c];if(u.bExpandable){var f=document.createElement("th"),d=document.createElement("td");d.innerHTML='<a href="#" class="datatables-expand datatables-closed">'+n.t("Show Details")+"</a>",t(c+" thead tr").each((function(){this.insertBefore(f,this.childNodes[0])})),t(c+" tbody tr").each((function(){this.insertBefore(d.cloneNode(!0),this.childNodes[0])})),u.aoColumns.unshift({bSortable:!1})}var p=t(c).dataTable(u);
14if(u.bExpandable){var h=p.fnSettings();u.aoColumnHeaders.unshift(""),h.aoColumnHeaders=u.aoColumnHeaders,t("td a.datatables-expand",p.fnGetNodes()).each((function(){t(this).click((function(){var e=this.parentNode.parentNode;return p.fnIsOpen(e)?(p.fnClose(e),t(this).html(n.t("Show Details"))):(p.fnOpen(e,n.theme("datatablesExpandableRow",p,e),"details"),t(this).html(n.t("Hide Details"))),!1}))}))}u.bFilterColumns&&p.api().columns().every((function(e){if(u.aoColumns[e].sFilterColumnType){var n=this,i=null,o=null,r=null;switch(u.aoColumns[e].sFilterColumnType){case"thead_select":i=t(n.header()),o="select",r="change";break;case"thead_input":i=t(n.header()),o="input",r="input";break;case"tfoot_select":i=t(n.footer()),o="select",r="change";break;case"tfoot_input":i=t(n.footer()),o="input",r="input"}if(i&&o&&r){if(i.addClass("filter-column").wrapInner('<div class="filter-column__title"></div>'),"select"==o){var s=t('<select class="filter-column__filter"><option value="">'+u.sFilterColumnsPlaceholder+"</option></select>");n.data().unique().sort().each((function(e,t){e=e.trim();var n=document.createElement("DIV");n.innerHTML=e,e=n.textContent||n.innerText||"",s.append('<option value="'+e+'">'+e+"</option>")}))}else if("input"==o)s=t('<input type="search" placeholder="'+u.sFilterColumnsPlaceholder+'" class="filter-column__filter" />');s.on(r,(function(){var e=t(this).val().trim();n.search(e,!1,!0,!0).draw()})),s.wrap('<div class="filter-column__filter"></div>').appendTo(i),i.wrapInner('<div class="filter-column__title-filter-wrapper"></div>')}}}));var m=p.api(),g=null!==(i=drupalSettings.initial_rows)&&void 0!==i?i:5,b=null!==(l=drupalSettings.items_per_page)&&void 0!==l?l:10,v=t("#btn-load-more");m.page.info().pages>1?v.on("mousedown",(function(e){e.preventDefault();var t=void 0===drupalSettings.count?0:drupalSettings.count;o++;var n=g+o*b;m.page.len(n).draw(),a(m,g,!1),o*g>=t&&v.hide()})):v.hide();var _,y,w,E,x,T,O=t(c),A=O.closest(".dataTables_wrapper"),C=O.closest(".dataTables_scrollBody"),S=A.find('input[type="search"]');O.closest("form");r(S),_=S,(y=t("<button>",{class:"search-button icon-ens-search-navigation","aria-label":n.t("Toggle search")})).on("click",(function(e){e.preventDefault(),r(_)})),_.after(y),E=(w=A).find(".dataTables_length"),x=E.find("select"),T=w.find(".dataTables_paginate"),x.addClass("form-control"),x.wrap('<div class="form-select-wrapper"></div>'),T.wrap('<div class="dataTables_pager"></div>'),E.insertBefore(T),function(e,i){var o=i.settings()[0].aoColumns.filter((function(e){return e.bSortable}));if(o.length){var r="".concat(e.attr("id"),"-sort"),s=t("<div>",{class:"form-item-order sparenergi-select-wrapper"}),a=t("<label>",{text:n.t("Sort by")}),l=t("<div>",{class:"form-select-wrapper"}),c=t("<select>",{class:"form-select form-control sparenergi-select",id:r});o.forEach((function(e){c.append(t("<option>",{value:e.idx,text:t(t.parseHTML(e.sTitle).filter((function(e){return!e.tagName}))).text().trim()}))})),c.on("change",(function(e){i.order([+e.target.value,"asc"]).draw()})),t(i.table().container()).on("order.dt",(function(){var e=i.order();if(e&&e.length>0&&e[0]){var t=e[0][0],n=c[0].tomselect;n&&n.setValue(t,!0)}}));var u=e.find(".dataTables_filter");u.length||(u=t("<div>",{class:"dataTables_filter"}),e.prepend(u)),l.append(c),a.append(l),s.append(a).prependTo(u),drupalSettings.sparenergiSelect[r]={controlInput:null}}}(A,m),s(A,m),function(e,n,i){if(!e.closest(".field--name-sparenergi-excel-table").length)return!1;var o;n.width(e.width());var r=function(){n.toggleClass("has-scroll",i.get(0).scrollWidth>Math.round(i.width()))};t(window).on("resize.dataTablesCustom",(function(){clearTimeout(o),o=setTimeout(r,30)})),r()}(O,A,C),function(e){if(!e.find(".dataTables_pager").length)return!1;e.addClass("has-pager")}(A),function(n,i,o,r){o.find(".dataTables_filter").length||o.prepend('<div class="dataTables_filter" />'),Object.entries(n).forEach((function(n){var o=e(n,2),s=(o[0],o[1].filter),l=s.id,c=s.title,u=s.type,f=t('\n      <div id="'.concat(l,'" class="filter ').concat(u,'">\n        <div class="filter-group">
14\n          <label for="').concat(c,'">\n            ').concat(c,"\n          </label>\n        </div>\n      </div>\n    ")).appendTo(t(".dataTables_filter"));i.columns().every((function(){var e=this,n=e.header().innerText;if(n===c)if("text"===u){var o=t("<div>",{class:"filter-input"}).appendTo(f);t('<input type="text" placeholder="'.concat(n,'" name="').concat(n,'" />')).appendTo(o).on("keyup change clear",(function(){e.search()!==this.value&&(e.search(this.value).draw(),a(i,r))}))}else if("select"===u){var s=t('\n            <select id="'.concat(l,'-select" class="sparenergi-select filter-select" multiple="multiple">\n              <option value=""></option>\n            </select>\n          ')).appendTo(t("#".concat(l," .filter-group"))).on("change",(function(){var n=t(this).val();n=0===n.length?"":n.join("|").replace(/[.*+?^${}()[\]\\]/g,"\\$&"),e.search(0===n.length?"":"^(".concat(n,")$"),!0,!1).draw(),a(i,r)}));e.data().unique().sort().each((function(e,t){return s.append('<option value="'.concat(e,'" title="').concat(e,'">').concat(e,"</option>"))})),t("<div>",{id:"".concat(l,"-tags-wrapper"),class:"tags-wrapper"}).appendTo(f)}t(".filter-input input").on("keyup change",(function(e){var n=t(e.target);n.attr("title",n.val())}))}))}))}(drupalSettings.filters,m,A,g);var k=t(".dataTables_filter > label");!drupalSettings.enable_search&&k&&k.hide(),m.on("preDraw.dt",(function(){return s(A,m)}))}))}))}}}(jQuery,Drupal,once)},411:function(e,t,n){e.exports=function(e){"use strict";const t=t=>{let n=t.getAttribute("data-bs-target");if(!n||"#"===n){let e=t.getAttribute("href");if(!e||!e.includes("#")&&!e.startsWith("."))return null;e.includes("#")&&!e.startsWith("#")&&(e=`#${e.split("#")[1]}`),n=e&&"#"!==e?e.trim():null}return n?n.split(",").map((t=>e.parseSelector(t))).join(","):null},n={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter((e=>e.matches(t))),parents(e,t){const n=[];let i=e.parentNode.closest(t);for(;i;)n.push(i),i=i.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(t){const n=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>`${e}:not([tabindex^="-"])`)).join(",");return this.find(n,t).filter((t=>!e.isDisabled(t)&&e.isVisible(t)))},getSelectorFromElement(e){const i=t(e);return i&&n.findOne(i)?i:null},getElementFromSelector(e){const i=t(e);return i?n.findOne(i):null},getMultipleElementsFromSelector(e){const i=t(e);return i?n.find(i):[]}};return n}(n(35))},560:()=>{},635:function(e,t,n){e.exports=function(e,t,n,i,o,r,s,a){"use strict";const l="modal",c=".bs.modal",u="Escape",f=`hide${c}`,d=`hidePrevented${c}`,p=`hidden${c}`,h=`show${c}`,m=`shown${c}`,g=`resize${c}`,b=`click.dismiss${c}`,v=`mousedown.dismiss${c}`,_=`keydown.dismiss${c}`,y=`click${c}.data-api`,w="modal-open",E="fade",x="show",T="modal-static",O=".modal.show",A=".modal-dialog",C=".modal-body",S='[data-bs-toggle="modal"]',k={backdrop:!0,focus:!0,keyboard:!0},D={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class j extends e{constructor(e,t){super(e,t),this._dialog=n.findOne(A,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new a,this._addEventListeners()}static get Default(){return k}static get DefaultType(){return D}static get NAME(){return l}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||t.trigger(this._element,h,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(w),this._adjustDialog(),this._backdrop.show((()=>this._showElement(e))))}hide(){this._isShown&&!this._isTransitioning&&(t.trigger(this._element,f).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(x),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())))}dispose(){t.off(window,c),t.off(this._dialog,c),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new i({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new r({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const i=n.findOne(C,this._dialog);
14i&&(i.scrollTop=0),s.reflow(this._element),this._element.classList.add(x);const o=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,t.trigger(this._element,m,{relatedTarget:e})};this._queueCallback(o,this._dialog,this._isAnimated())}_addEventListeners(){t.on(this._element,_,(e=>{e.key===u&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())})),t.on(window,g,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),t.on(this._element,v,(e=>{t.one(this._element,b,(t=>{this._element===e.target&&this._element===t.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(w),this._resetAdjustments(),this._scrollBar.reset(),t.trigger(this._element,p)}))}_isAnimated(){return this._element.classList.contains(E)}_triggerBackdropTransition(){if(t.trigger(this._element,d).defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,n=this._element.style.overflowY;"hidden"===n||this._element.classList.contains(T)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(T),this._queueCallback((()=>{this._element.classList.remove(T),this._queueCallback((()=>{this._element.style.overflowY=n}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;if(n&&!e){const e=s.isRTL()?"paddingLeft":"paddingRight";this._element.style[e]=`${t}px`}if(!n&&e){const e=s.isRTL()?"paddingRight":"paddingLeft";this._element.style[e]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each((function(){const n=j.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e](t)}}))}}return t.on(document,y,S,(function(e){const i=n.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),t.one(i,h,(e=>{e.defaultPrevented||t.one(i,p,(()=>{s.isVisible(this)&&this.focus()}))}));const o=n.findOne(O);o&&j.getInstance(o).hide(),j.getOrCreateInstance(i).toggle(this)})),o.enableDismissTrigger(j),s.defineJQueryPlugin(j),j}(n(11),n(956),n(411),n(877),n(248),n(936),n(35),n(673))},673:function(e,t,n){e.exports=function(e,t,n){"use strict";const i=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",o=".sticky-top",r="padding-right",s="margin-right";class a{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,r,(t=>t+e)),this._setElementAttributes(i,r,(t=>t+e)),this._setElementAttributes(o,s,(t=>t-e))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,r),this._resetElementAttributes(i,r),this._resetElementAttributes(o,s)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,n){const i=this.getWidth(),o=e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+i)return;this._saveInitialAttribute(e,t);const o=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,`${n(Number.parseFloat(o))}px`)};this._applyManipulationCallback(e,o)}_saveInitialAttribute(t,n){const i=t.style.getPropertyValue(n);i&&e.setDataAttribute(t,n,i)}_resetElementAttributes(t,n){const i=t=>{const i=e.getDataAttribute(t,n);null!==i?(e.removeDataAttribute(t,n),t.style.setProperty(n,i)):t.style.removeProperty(n)};this._applyManipulationCallback(t,i)}_applyManipulationCallback(e,i){if(n.isElement(e))i(e);else for(const n of t.find(e,this._element))i(n)}}return a}(n(333),n(411),n(35))},689:()=>{Drupal.behaviors.CKEditorResponsiveTable={attach:function(e){e.querySelectorAll(".rich-text > table").forEach((function(e){var t=document.createElement("div");t.classList.add("table-responsive"),e.parentNode.insertBefore(t,e),t.appendChild(e)}))}}},760:()=>{},812:function(e,t){!function(e){"use strict";const t={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},n=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),i=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,o=(e,t)=>{const o=e.nodeName.toLowerCase();return t.includes(o)?!n.has(o)||Boolean(i.test(e.nodeValue)):t.filter((e=>e instanceof RegExp)).some((e=>e.test(o)))};function r(e,t,n){if(!e.length)return e;if(n&&"function"==typeof n)return n(e);const i=(new window.DOMParser).parseFromString(e,"text/html"),r=[].concat(...i.body.querySelectorAll("*"));for(const e of r){const n=e.nodeName.toLowerCase();if(!Object.keys(t).includes(n)){e.remove();continue}
14const i=[].concat(...e.attributes),r=[].concat(t["*"]||[],t[n]||[]);for(const t of i)o(t,r)||e.removeAttribute(t.nodeName)}return i.body.innerHTML}e.DefaultAllowlist=t,e.sanitizeHtml=r,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}(t)},877:function(e,t,n){e.exports=function(e,t,n){"use strict";const i="backdrop",o="fade",r="show",s=`mousedown.bs.${i}`,a={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},l={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class c extends t{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return a}static get DefaultType(){return l}static get NAME(){return i}show(e){if(!this._config.isVisible)return void n.execute(e);this._append();const t=this._getElement();this._config.isAnimated&&n.reflow(t),t.classList.add(r),this._emulateAnimation((()=>{n.execute(e)}))}hide(e){this._config.isVisible?(this._getElement().classList.remove(r),this._emulateAnimation((()=>{this.dispose(),n.execute(e)}))):n.execute(e)}dispose(){this._isAppended&&(e.off(this._element,s),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(o),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=n.getElement(e.rootElement),e}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),e.on(t,s,(()=>{n.execute(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(e){n.executeAfterTransition(e,this._getElement(),this._config.isAnimated)}}return c}(n(956),n(105),n(35))},914:()=>{!function(e,t){e.behaviors.ensAnchorsNavigation={attach:function(e,n){t("ensBreadcrumbSkipLink","body",e).forEach((function(){var e=document.querySelector("#block-sparenergi-breadcrumbs"),t=document.querySelector("#main-content");e&&t&&e.appendChild(t)})),t("ensAnchorsNavigation",".block-sparenergi-anchors",e).forEach((function(e){var t,n=e.querySelector("nav");if(n){var i=n.querySelectorAll(".anchor-links-item");if(i.length){document.querySelector("body").classList.add("has-anchor-links");var o=function(){var e,t=window.location.hash.substring(1),n=null==t?void 0:t.split("--");return n.length&&i.forEach((function(t,i){t.getAttribute("href")==="#".concat(n[0])&&(e=i)})),e},r=function(e){i.forEach((function(e){e.parentElement.classList.remove("swiper-slide-current")})),e.parentElement.classList.add("swiper-slide-current")},s=function(e){e.size>=e.virtualSize?e.el.classList.add("swiper-disabled"):e.el.classList.remove("swiper-disabled")};t=new Swiper("#anchor-links-slider",{initialSlide:null!=o?o():0,spaceBetween:36,slidesPerView:"auto",centeredSlides:!0,freeMode:{enabled:!0},navigation:{nextEl:".slide-nav-next",prevEl:".slide-nav-prev"},breakpoints:{767:{centeredSlides:!1}},on:{init:function(e){var t=e.realIndex;e.passedParams.initialSlide>0&&(t=e.passedParams.initialSlide);var n=i[t];r(n),i.forEach((function(e){e.addEventListener("click",(function(){r(e)}))})),s(e)},resize:function(e){s(e)}}});var a=n.getBoundingClientRect().bottom,l=new IntersectionObserver((function(e,n){e.forEach((function(e){if(e.isIntersecting){var n=document.querySelector('#anchor-links-slider [href="#'.concat(e.target.id,'"]'));if(n){var i=t.slides.findIndex((function(e){var t;return(null===(t=e.querySelector("a"))||void 0===t?void 0:t.href)===n.href}));i>-1&&(t.slideTo(i),r(n))}}}))}),{rootMargin:"".concat(-1*a+1,"px 0px -75% 0px"),threshold:0});document.querySelectorAll('.field--name-field-section > .field__item > div[id^="module-"]').forEach((function(e){l.observe(e)}))}}}))}}}(Drupal,once)},936:function(e,t,n){e.exports=function(e,t,n){"use strict";const i="focustrap",o=".bs.focustrap",r=`focusin${o}`,s=`keydown.tab${o}`,a="Tab",l="forward",c="backward",u={autofocus:!0,trapElement:null},f={autofocus:"boolean",trapElement:"element"};class d extends n{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return u}static get DefaultType(){return f}static get NAME(){return i}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),e.off(document,o),e.on(document,r,(e=>this._handleFocusin(e))),e.on(document,s,(e=>this._handleKeydown(e))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,e.off(document,o))}_handleFocusin(e){const{trapElement:n}=this._config;if(e.target===document||e.target===n||n.contains(e.target))return;const i=t.focusableChildren(n);0===i.length?n.focus():this._lastTabNavDirection===c?i[i.length-1].focus():i[0].focus()}_handleKeydown(e){e.key===a&&(this._lastTabNavDirection=e.shiftKey?c:l)}}return d}(n(956),n(411),n(105))},956:function(e,t,n){e.exports=function(e){"use strict";const t=/[^.]*(?=\..*)\.|.*/,n=/\..*/,i=/::\d+$/,o={};let r=1;
vendor: 1,219 bytes, line 14
14const s={mouseenter:"mouseover",mouseleave:"mouseout"},a=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function l(e,t){return t&&`${t}::${r++}`||e.uidEvent||r++}function c(e){const t=l(e);return e.uidEvent=t,o[t]=o[t]||{},o[t]}function u(e,t){return function n(i){return _(i,{delegateTarget:e}),n.oneOff&&v.off(e,i.type,t),t.apply(e,[i])}}function f(e,t,n){return function i(o){const r=e.querySelectorAll(t);for(let{target:s}=o;s&&s!==this;s=s.parentNode)for(const a of r)if(a===s)return _(o,{delegateTarget:s}),i.oneOff&&v.off(e,o.type,t,n),n.apply(s,[o])}}function d(e,t,n=null){return Object.values(e).find((e=>e.callable===t&&e.delegationSelector===n))}function p(e,t,n){const i="string"==typeof t,o=i?n:t||n;
14let r=b(e);return a.has(r)||(r=e),[i,o,r]}function h(e,n,i,o,r){if("string"!=typeof n||!e)return;let[a,h,m]=p(n,i,o);if(n in s){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};h=e(h)}const g=c(e),b=g[m]||(g[m]={}),v=d(b,h,a?i:null);if(v)return void(v.oneOff=v.oneOff&&r);const _=l(h,n.replace(t,"")),y=a?f(e,i,h):u(e,h);y.delegationSelector=a?i:null,y.callable=h,y.oneOff=r,y.uidEvent=_,b[_]=y,e.addEventListener(m,y,a)}function m(e,t,n,i,o){const r=d(t[n],i,o);r&&(e.removeEventListener(n,r,Boolean(o)),delete t[n][r.uidEvent])}function g(e,t,n,i){const o=t[n]||{};for(const[r,s]of Object.entries(o))r.includes(i)&&m(e,t,n,s.callable,s.delegationSelector)}function b(e){return e=e.replace(n,""),s[e]||e}const v={on(e,t,n,i){h(e,t,n,i,!1)},one(e,t,n,i){h(e,t,n,i,!0)},off(e,t,n,o){if("string"!=typeof t||!e)return;const[r,s,a]=p(t,n,o),l=a!==t,u=c(e),f=u[a]||{},d=t.startsWith(".");if(void 0===s){if(d)for(const n of Object.keys(u))g(e,u,n,t.slice(1));for(const[n,o]of Object.entries(f)){const r=n.replace(i,"");l&&!t.includes(r)||m(e,u,a,o.callable,o.delegationSelector)}}else{if(!Object.keys(f).length)return;m(e,u,a,s,r?n:null)}},trigger(t,n,i){if("string"!=typeof n||!t)return null;const o=e.getjQuery();let r=null,s=!0,a=!0,l=!1;n!==b(n)&&o&&(r=o.Event(n,i),o(t).trigger(r),s=!r.isPropagationStopped(),a=!r.isImmediatePropagationStopped(),l=r.isDefaultPrevented());const c=_(new Event(n,{bubbles:s,cancelable:!0}),i);return l&&c.preventDefault(),a&&t.dispatchEvent(c),c.defaultPrevented&&r&&r.preventDefault(),c}};function _(e,t={}){for(const[n,i]of Object.entries(t))try{e[n]=i}catch(t){Object.defineProperty(e,n,{configurable:!0,get:()=>i})}return e}return v}(n(35))},982:function(e,t,n){e.exports=function(e,t,n,i){"use strict";const o="TemplateFactory",r={allowList:n.DefaultAllowlist,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},s={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},a={entry:"(string|element|function|null)",selector:"(string|element)"};class l extends t{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return r}static get DefaultType(){return s}static get NAME(){return o}getContent(){return Object.values(this._config.content).map((e=>this._resolvePossibleFunction(e))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[t,n]of Object.entries(this._config.content))this._setContent(e,n,t);const t=e.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&t.classList.add(...n.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,n]of Object.entries(e))super._typeCheckConfig({selector:t,entry:n},a)}_setContent(t,n,o){const r=e.findOne(o,t);r&&((n=this._resolvePossibleFunction(n))?i.isElement(n)?this._putElementInTemplate(i.getElement(n),r):this._config.html?r.innerHTML=this._maybeSanitize(n):r.textContent=n:r.remove())}_maybeSanitize(e){return this._config.sanitize?n.sanitizeHtml(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return i.execute(e,[void 0,this])}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}return l}(n(411),n(105),n(812),n(35))}},n={};function i(e){var o=n[e];if(void 0!==o)return o.exports;var r=n[e]={exports:{}};return t[e].call(r.exports,r,r.exports,i),r.exports}i.m=t,e=[],i.O=(t,n,o,r)=>{if(!n){var s=1/0;for(u=0;u<e.length;u++){for(var[n,o,r]=e[u],a=!0,l=0;l<n.length;l++)(!1&r||s>=r)&&Object.keys(i.O).every((e=>i.O[e](n[l])))?n.splice(l--,1):(a=!1,r<s&&(s=r));if(a){e.splice(u--,1);var c=o();void 0!==c&&(t=c)}}return t}r=r||0;for(var u=e.length;u>0&&e[u-1][2]>r;u--)e[u]=e[u-1];e[u]=[n,o,r]},i.n=e=>
14{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={635:0,185:0,439:0,739:0,868:0};i.O.j=t=>0===e[t];var t=(t,n)=>{var o,r,[s,a,l]=n,c=0;if(s.some((t=>0!==e[t]))){for(o in a)i.o(a,o)&&(i.m[o]=a[o]);if(l)var u=l(i)}for(t&&t(n);c<s.length;c++)r=s[c],i.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return i.O(u)},n=self.webpackChunkens=self.webpackChunkens||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),i.O(void 0,[185,439,739,868],(()=>i(220))),i.O(void 0,[185,439,739,868],(()=>i(139))),i.O(void 0,[185,439,739,868],(()=>i(760))),i.O(void 0,[185,439,739,868],(()=>i(560)));var o=i.O(void 0,[185,439,739,868],(()=>i(26)));o=i.O(o)})();;
15/*! For license information please see icon.js.LICENSE.txt */
16(()=>{"use strict";const e={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},t=([e,n,o])=>{const r=document.createElementNS("http://www.w3.org/2000/svg",e);return Object.keys(n).forEach((e=>{r.setAttribute(e,String(n[e]))})),o?.length&&o.forEach((e=>{const n=t(e);r.appendChild(n)})),r},n=e=>"string"==typeof e?e:e&&e.class?e.class&&"string"==typeof e.class?e.class.split(" "):e.class&&Array.isArray(e.class)?e.class:"":"",o=(o,{nameAttr:r,icons:a,attrs:c})=>{const i=o.getAttribute(r);if(null==i)return;const s=a[i.replace(/(\w)(\w*)(_|-|\s*)/g,((e,t,n)=>t.toUpperCase()+n.toLowerCase()))];if(!s)return console.warn(`${o.outerHTML} icon name was not found in the provided icons object.`);const l=(e=>Array.from(e.attributes).reduce(((e,t)=>(e[t.name]=t.value,e)),{}))(o),d={...e,"data-lucide":i,...c,...l},u=["lucide",`lucide-${i}`,l,c].flatMap(n).map((e=>e.trim())).filter(Boolean).filter(((e,t,n)=>n.indexOf(e)===t)).join(" ");u&&Object.assign(d,{class:u});const h=((n,o={})=>{const r={...e,...o};return t(["svg",r,n])})(s,d);return o.parentNode?.replaceChild(h,o)},r=[["path",{d:"M4 12h16"}],["path",{d:"M4 18h16"}],["path",{d:"M4 6h16"}]],a=[["path",{d:"m21 21-4.34-4.34"}],["circle",{cx:"11",cy:"11",r:"8"}]],c=[["path",{d:"m6 9 6 6 6-6"}]],i=[["path",{d:"m9 18 6-6-6-6"}]],s=[["path",{d:"M15 3h6v6"}],["path",{d:"M10 14 21 3"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}]],l=[["circle",{cx:"12",cy:"12",r:"10"}],["path",{d:"M12 16v-4"}],["path",{d:"M12 8h.01"}]],d=[["path",{d:"M18 8L22 12L18 16"}],["path",{d:"M2 12H22"}]],u=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326"}]],h=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3"}],["path",{d:"M12 9v4"}],["path",{d:"M12 17h.01"}]],p=[["path",{d:"M12 16h.01"}],["path",{d:"M12 8v4"}],["path",{d:"M15.312 2a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z"}]],f=[["path",{d:"M18 6 6 18"}],["path",{d:"m6 6 12 12"}]],m=/[\11\12\14\15\40]+/,w="data-once",y=document;function v(e,t,n){return e[`${t}Attribute`](w,n)}function b(e){if("string"!=typeof e)throw new TypeError("once ID must be a string");if(""===e||m.test(e))throw new RangeError("once ID must not be empty or contain spaces");return`[${w}~="${e}"]`}function g(e,t=y){let n=e;if(null===e)n=[];else{if(!e)throw new TypeError("Selector must not be empty");if(!(t instanceof Document||t instanceof DocumentFragment||t instanceof Element))throw new TypeError('Context must be an object of type "Document", "DocumentFragment", or "Element".');"string"==typeof e?n=t.querySelectorAll(e):e instanceof Element&&(n=[e])}return Array.prototype.slice.call(n)}function M(e,t,n){return t.filter((t=>{const o=function(e){if(!(e instanceof Element))throw new TypeError("The element must be an instance of Element");return!0}(t)&&t.matches(e);return o&&n&&n(t),o}))}function A(e,{add:t,remove:n}){const o=[];v(e,"has")&&v(e,"get").trim().split(m).forEach((e=>{o.indexOf(e)<0&&e!==n&&o.push(e)})),t&&o.push(t);const r=o.join(" ");v(e,""===r?"remove":"set",r)}function E(e,t,n){return M(`:not(${b(e)})`,g(t,n),(t=>A(t,{add:e})))}
16E.remove=(e,t,n)=>M(b(e),g(t,n),(t=>A(t,{remove:e}))),E.filter=(e,t,n)=>M(b(e),g(t,n)),E.find=(e,t)=>g(e?b(e):`[${w}]`,t);const L=E,T=async e=>{(({icons:e={},nameAttr:t="data-lucide",attrs:n={}}={})=>{if(!Object.values(e).length)throw new Error("Please provide an icons object.\nIf you want to use all the icons you can import it like:\n `import { createIcons, icons } from 'lucide';\nlucide.createIcons({icons});`");if("undefined"==typeof document)throw new Error("`createIcons()` only works in a browser environment.");const r=document.querySelectorAll(`[${t}]`);if(Array.from(r).forEach((r=>o(r,{nameAttr:t,icons:e,attrs:n}))),"data-lucide"===t){const t=document.querySelectorAll("[icon-name]");t.length>0&&(console.warn("[Lucide] Some icons were found with the now deprecated icon-name attribute. These will still be replaced for backwards compatibility, but will no longer be supported in v1.0 and you should switch to data-lucide"),Array.from(t).forEach((t=>o(t,{nameAttr:"icon-name",icons:e,attrs:n}))))}})({icons:{Menu:r,Search:a,ChevronDown:c,ChevronRight:i,ExternalLink:s,Info:l,MoveRight:d,Bell:u,TriangleAlert:h,OctagonAlert:p,X:f}});const t=document.querySelector(".icon-placeholder--chevron svg")?.outerHTML,n=document.querySelector(".icon-placeholder--arrow svg")?.outerHTML,m=document.querySelector(".icon-placeholder--download svg")?.outerHTML,w=L("icons-lucide--download",".btn-download, .link-download",e),y=L("icons-lucide--arrow",".link-arrow, .arrow-link",e),v=L("icons-lucide--chevron",".btn-arrow",e);
16m&&w.forEach((e=>{e.insertAdjacentHTML("beforeend",m)})),n&&y.forEach((e=>{e.insertAdjacentHTML("beforeend",n)})),t&&v.forEach((e=>{e.insertAdjacentHTML("beforeend",t)}))};Drupal.behaviors.icons_lucide={async attach(e){await T(e);const t=L("icons-lucide--alert","[data-sitewide-alert]",e).shift();var n,o;t&&(n=t,o=async()=>{await T(t)},new MutationObserver(((e,t)=>{for(const t of e)"childList"===t.type&&o()})).observe(n,{childList:!0}))}}})();;
17(()=>{"use strict";const t=/[\11\12\14\15\40]+/,e="data-once",n=document;function o(t,n,o){return t[`${n}Attribute`](e,o)}function r(n){if("string"!=typeof n)throw new TypeError("once ID must be a string");if(""===n||t.test(n))throw new RangeError("once ID must not be empty or contain spaces");return`[${e}~="${n}"]`}function i(t,e=n){let o=t;if(null===t)o=[];else{if(!t)throw new TypeError("Selector must not be empty");if(!(e instanceof Document||e instanceof DocumentFragment||e instanceof Element))throw new TypeError('Context must be an object of type "Document", "DocumentFragment", or "Element".');"string"==typeof t?o=e.querySelectorAll(t):t instanceof Element&&(o=[t])}return Array.prototype.slice.call(o)}function a(t,e,n){return e.filter((e=>{const o=function(t){if(!(t instanceof Element))throw new TypeError("The element must be an instance of Element");return!0}(e)&&e.matches(t);return o&&n&&n(e),o}))}function c(e,{add:n,remove:r}){const i=[];o(e,"has")&&o(e,"get").trim().split(t).forEach((t=>{i.indexOf(t)<0&&t!==r&&i.push(t)})),n&&i.push(n);const a=i.join(" ");o(e,""===a?"remove":"set",a)}function s(t,e,n){return a(`:not(${r(t)})`,i(e,n),(e=>c(e,{add:t})))}s.remove=(t,e,n)=>a(r(t),i(e,n),(e=>c(e,{remove:t}))),s.filter=(t,e,n)=>a(r(t),i(e,n)),s.find=(t,n)=>i(t?r(t):`[${e}]`,n);const l=s;Drupal.behaviors.componentLink={async attach(t){const e=l("link-aria-download",".link--type-download, .btn-download, .link-download",t),n=Drupal.t("Link to download");e.forEach((t=>{t.hasAttribute("aria-label")||(t.textContent?.trim(),t.setAttribute("aria-label",n))}))}}})();;
18(()=>{"use strict";const t=document.documentElement.getAttribute("data-easy-toggle-state-custom-prefix")||"toggle",e=(e,r=(()=>t)())=>["data",r,e].filter(Boolean).join("-"),r=e("arrows"),i="aria-checked",n=e("class"),s=e("class-on-target"),o=e("class-on-trigger"),a="is-active",c=e("escape"),u=e("event"),l="aria-expanded",g=e("group"),h="aria-hidden",d=e("is-active"),f=e("modal"),A=e("outside"),b=e("outside-event"),m="aria-pressed",$=e("radio-group"),v="aria-selected",E=e("target"),p=e("target-all"),w=e("target-next"),y=e("target-parent"),k=e("target-previous"),x=e("target-self"),D=e("state"),L=e("trigger-off"),T=new Event("toggleAfter"),S=new Event("toggleBefore"),I=(t,e)=>{const r=t?`[${t}]`:"";if(e)return[...e.querySelectorAll(r)];const i=[`[${n}]${r}`,`[${o}]${r}`,`[${s}][${E}]${r}`,`[${s}][${p}]${r}`,`[${s}][${w}]${r}`,`[${s}][${k}]${r}`,`[${s}][${y}]${r}`,`[${s}][${x}]${r}`].join().trim();return[...document.querySelectorAll(i)]},z=(t,e)=>t.dispatchEvent(e),O=t=>`easyToggleState_${t}`,q=(t,e={[i]:t[O("isActive")],[l]:t[O("isActive")],[h]:!t[O("isActive")],[m]:t[O("isActive")],[v]:t[O("isActive")]})=>Object.keys(e).forEach((r=>t.hasAttribute(r)&&t.setAttribute(r,e[r]))),j=(t,e,r=!1)=>`This trigger has the class name '${t}' filled in both attributes '${n}' and '${e}'. As a result, this class will be toggled ${r&&"on its target(s)"} twice at the same time.`,K=(t,e)=>(t.getAttribute(e)||"").split(" ").filter(Boolean),B=t=>{const e=t.hasAttribute(g)?g:$;return I(`${e}="${t.getAttribute(e)}"`).filter((t=>t[O("isActive")]))},R=(t,e)=>{t||console.warn(`You should fill the attribute '${e}' with a selector`)},Y=(t,e)=>{if(0===e.length)return console.warn(`There's no match with the selector '${t}' for this trigger`),[];const r=t.match(/#\w+/gi);return r&&r.forEach((t=>{const r=[...e].filter((e=>e.id===t.slice(1)));r.length>1&&console.warn(`There's ${r.length} matches with the selector '${t}' for this trigger`)})),[...e]},C=(t,e)=>e.forEach((e=>{t.classList.toggle(e)})),F={},H=t=>document.addEventListener(t.getAttribute(b)||t.getAttribute(u)||"click",U,!1),U=t=>{const e=t.target,r=t.type;let i=!1;I(A).filter((t=>t.getAttribute(b)===r||t.getAttribute(u)===r&&!t.hasAttribute(b)||"click"===r&&!t.hasAttribute(u)&&!t.hasAttribute(b))).forEac
18h((t=>{const r=e.closest(`[${D}="true"]`);r&&r[O("trigger")]===t&&(i=!0),i||t===e||t.contains(e)||!t[O("isActive")]||(t.hasAttribute(g)||t.hasAttribute($)?J:G)(t)})),i||document.removeEventListener(r,U,!1);const a=e.closest(`[${n}][${A}],[${o}][${A}],[${s}][${A}]`);a&&a[O("isActive")]&&H(e)},_=t=>G(t.currentTarget[O("target")]),G=t=>{z(t,S);const e=(t=>{if(t.hasAttribute(n)&&t.getAttribute(n)&&(t.hasAttribute(o)||t.hasAttribute(s))){const e=K(t,o),r=K(t,s);K(t,n).forEach((i=>{e.includes(i)&&console.warn(j(i,o),t),r.includes(i)&&console.warn(j(i,s,!0),t)}))}const e=[n,o,s].reduce(((e,r)=>{const i=K(t,r);return(r===n||r===o)&&e.trigger.push(...i),(r===n||r===s)&&e.target.push(...i),e}),{trigger:[],target:[]});return!e.trigger.length&&(t.hasAttribute(n)||t.hasAttribute(o))&&e.trigger.push(a),!e.target.length&&(t.hasAttribute(n)||t.hasAttribute(s))&&e.target.push(a),e})(t);return C(t,e.trigger),t[O("isActive")]=!t[O("isActive")],q(t),z(t,T),r=t,i=e.target,c=!1,(t=>{if(t.hasAttribute(E)||t.hasAttribute(p)){const e=t.getAttribute(E)||t.getAttribute(p);return R(e,t.hasAttribute(E)?E:p),Y(e,document.querySelectorAll(e))}if(t.hasAttribute(y)){const e=t.getAttribute(y);return R(e,y),Y(e,t.parentElement.querySelectorAll(e))}if(t.hasAttribute(x)){const e=t.getAttribute(x);return R(e,x),Y(e,t.querySelectorAll(e))}return t.hasAttribute(k)?Y("previous",[t.previousElementSibling].filter(Boolean)):t.hasAttribute(w)?Y("next",[t.nextElementSibling].filter(Boolean)):[]})(r).forEach((t=>{z(t,S),t[O("isActive")]=!t[O("isActive")],q(t),c?t.classList.add(...i):C(t,i),r.hasAttribute(A)&&(t.setAttribute(D,r[O("isActive")]),t[O("trigger")]=r),r.hasAttribute(f)&&(t[O("isActive")]?(F[t]=(t=>e=>{const r=[...t.querySelectorAll("a[href], area[href], input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable]")];if(!r.length||"Tab"!==e.key)return;const i=e.target,n=r[0],s=r[r.length-1];return-1===r.indexOf(i)?(e.preventDefault(),n.focus()):e.shiftKey&&i===n?(e.preventDefault(),s.focus()):e.shiftKey||i!==s?void 0:(e.preventDefault(),n.focus())})(t),document.addEventListener("keydown",F[t],!1)):(document.removeEventListener("keydown",F[t],!1),delete F[t])),z(t,T),((t,e)=>{const r=I(L,t).filter((e=>!e.getAttribute(L)||t.matches(e.getAttribute(L))));0!==r.length&&(e[O("isActive")]?r.forEach((t=>{t[O("target")]||(t[O("target")]=e,t.addEventListener("click",_,!1))})):(r.forEach((t=>{t[O("target")]===e&&(t[O("target")]=null,t.removeEventListener("click",_,!1))})),e.focus()))})(t,r)})),(t=>{if(t.hasAttribute(A))return t.hasAttribute($)?console.warn(`You can't use '${A}' on a radio grouped trigger`):t[O("isActive")]?H(t):void 0})(t);var r,i,c},J=t=>{const e=B(t);return 0===e.length?G(t):-1===e.indexOf(t)?(e.forEach(G),G(t)):-1===e.indexOf(t)||t.hasAttribute($)?void 0:G(t)},M=/[\11\12\14\15\40]+/,N="data-once",P=document;function Q(t,e,r){return t[`${e}Attribute`](N,r)}function V(t){if("string"!=typeof t)throw new TypeError("once ID must be a string");if(""===t||M.test(t))throw new RangeError("once ID must not be empty or contain spaces");return`[${N}~="${t}"]`}function W(t,e=P){let r=t;if(null===t)r=[];else{if(!t)throw new TypeError("Selector must not be empty");if(!(e instanceof Document||e instanceof DocumentFragment||e instanceof Element))throw new TypeError('Context must be an object of type "Document", "DocumentFragment", or "Element".');"string"==typeof t?r=e.querySelectorAll(t):t instanceof Element&&(r=[t])}return Array.prototype.slice.call(r)}function X(t,e,r){return e.filter((e=>{const i=function(t){if(!(t instanceof Element))throw new TypeError("The element must be an instance of Element");return!0}(e)&&e.matches(t);return i&&r&&r(e),i}))}function Z(t,{add:e,remove:r}){const i=[];Q(t,"has")&&Q(t,"get").trim().split(M).forEach((t=>{i.indexOf(t)<0&&t!==r&&i.push(t)})),e&&i.push(e);const n=i.join(" ");Q(t,""===n?"remove":"set",n)}function tt(t,e,r){return X(`:not(${V(t)})`,W(e,r),(e=>Z(e,{add:t})))}tt.remove=(t,e,r)=>X(V(t),W(e,r),(e=>Z(e,{remove:t}))),tt.filter=(t,e,r)=>X(V(t),W(e,r)),tt.find=(t,e)=>W(t?V(t):`[${N}]`,e);const et=tt;Drupal.behaviors.toggle={attach(t){0!==et("toggle","[data-toggle-class]",t).length&&(()=>{[...document.querySelectorAll(`[${s}]:not([${E}]):not([${p}]):not([${w}]):not([${k}]):not([${y}]):not([${x}
18])`)].forEach((t=>{console.warn(`This trigger has the attribute '${s}', but no specified target\n`,t)})),I(d).filter((t=>!t[O("isDefaultInitialized")])).forEach((t=>{if((t.hasAttribute(g)||t.hasAttribute($))&&B(t).length>0)return console.warn(`Toggle group '${t.getAttribute(g)||t.getAttribute($)}' must not have more than one trigger with '${d}'`);G(t),t[O("isDefaultInitialized")]=!0}));const t=I().filter((t=>!t[O("isInitialized")]));return t.forEach((t=>{const e=e=>{e.preventDefault(),(t.hasAttribute(g)||t.hasAttribute($)?J:G)(t)},r=t.getAttribute(u)||"click";t.addEventListener(r,e,!1),t[O("unbind")]=()=>{t.removeEventListener(r,e,!1),t[O("isInitialized")]=!1},t[O("isInitialized")]=!0})),I(c).length>0&&!document[O("isEscapeKeyInitialized")]&&(document.addEventListener("keydown",(t=>{"Escape"!==t.key&&"Esc"!==t.key||I(c).forEach((t=>{if(t[O("isActive")])return t.hasAttribute($)?console.warn(`You can't use '${c}' on a radio grouped trigger`):(t.hasAttribute(g)?J:G)(t)}))}),!1),document[O("isEscapeKeyInitialized")]=!0),I(r).length>0&&!document[O("isArrowKeysInitialized")]&&(document.addEventListener("keydown",(t=>{const e=document.activeElement;if(-1===["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End"].indexOf(t.key)||!e.hasAttribute(n)&&!e.hasAttribute(o)&&!e.hasAttribute(s)||!e.hasAttribute(r))return;if(!e.hasAttribute(g)&&!e.hasAttribute($))return console.warn(`You can't use '${r}' on a trigger without '${g}' or '${$}'`);t.preventDefault();const i=e.hasAttribute(g)?I(`${g}='${e.getAttribute(g)}'`):I(`${$}='${e.getAttribute($)}'`);let a=e;switch(t.key){case"ArrowUp":case"ArrowLeft":a=i.indexOf(e)>0?i[i.indexOf(e)-1]:i[i.length-1];break;case"ArrowDown":case"ArrowRight":a=i.indexOf(e)<i.length-1?i[i.indexOf(e)+1]:i[0];break;case"Home":a=i[0];break;case"End":a=i[i.length-1]}return a.focus(),a.dispatchEvent(new Event(a.getAttribute(u)||"click"))}),!1),document[O("isArrowKeysInitialized")]=!0),t})().forEach((t=>{const e=new CustomEvent("easyToggleStateReady",{bubbles:!0,detail:{element:t,isInitialized:!0}});t.dispatchEvent(e)}))}}})();;
19(()=>{"use strict";const e=document.documentElement.getAttribute("data-easy-toggle-state-custom-prefix")||"toggle",t=(t,n=(()=>e)())=>["data",n,t].filter(Boolean).join("-"),n=(t("arrows"),t("class"),t("class-on-target"),t("class-on-trigger"),t("escape"),t("event"),t("group"),t("is-active"),t("modal"),t("outside"),t("outside-event"),t("radio-group"),t("target"),t("target-all"),t("target-next"),t("target-parent"),t("target-previous"),t("target-self"),t("state"),t("trigger-off"),new Event("toggleAfter"),new Event("toggleBefore"),/[\11\12\14\15\40]+/),o="data-once",r=document;function a(e,t,n){return e[`${t}Attribute`](o,n)}function s(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`[${o}~="${e}"]`}function i(e,t=r){let n=e;if(null===e)n=[];else{if(!e)throw new TypeError("Selector must not be empty");if(!(t instanceof Document||t instanceof DocumentFragment||t instanceof Element))throw new TypeError('Context must be an object of type "Document", "DocumentFragment", or "Element".');"string"==typeof e?n=t.querySelectorAll(e):e instanceof Element&&(n=[e])}return Array.prototype.slice.call(n)}function c(e,t,n){return t.filter((t=>{const o=function(e){if(!(e instanceof Element))throw new TypeError("The element must be an instance of Element");return!0}(t)&&t.matches(e);return o&&n&&n(t),o}))}function l(e,{add:t,remove:o}){const r=[];a(e,"has")&&a(e,"get").trim().split(n).forEach((e=>{r.indexOf(e)<0&&e!==o&&r.push(e)})),t&&r.push(t);const s=r.join(" ");a(e,""===s?"remove":"set",s)}function g(e,t,n){return c(`:not(${s(e)})`,i(t,n),(t=>l(t,{add:e})))}g.remove=(e,t,n)=>c(s(e),i(t,n),(t=>l(t,{remove:e}))),g.filter=(e,t,n)=>c(s(e),i(t,n)),g.find=(e,t)=>i(e?s(e):`[${o}]`,t);const u=g;Drupal.behaviors.toggle__header={attach(e,t){const n=u("toggle--header",".toggle-button--group-id-header",e);if(0===n.length)return;const o=window.matchMedia(t.theme_breakpoints["ens.style.largest"]),r=document.documentElement;
19n.forEach((e=>{e.addEventListener("toggleAfter",(e=>{e.target.easyToggleState_isActive?r.classList.add("header-overlay-active"):r.classList.remove("header-overlay-active")})),e.classList.contains("toggle-button--id-header-menu")&&o.addEventListener("change",(t=>{t.matches&&e["easyToggleState_isActive"]&&e.click()}))}))}}})();;
20((Drupal,drupalSettings,once)=>{const settings=drupalSettings.ensCludo;const highlight=(text)=>Drupal.checkPlain(text).replace(/&lt;b&gt;/g,'<b>').replace(/&lt;\/b&gt;/g,'</b>');const buildResult=(item)=>{const fields=item.Fields||{};if(!fields.Url||!fields.Url.Value||!fields.Title||!fields.Title.Value)return null;const result=document.createElement('div');result.className='result color-set--white-space';const heading=document.createElement('h3');heading.className='result__title';const link=document.createElement('a');link.className='result__link';link.href=fields.Url.Value;link.textContent=fields.Title.Value;heading.appendChild(link);result.appendChild(heading);const highlights=fields.Description&&fields.Description.Highlights?fields.Description.Highlights:[];const description=highlights.length?highlights.join(' … '):(fields.Description&&fields.Description.Value)||'';if(description){const body=document.createElement('div');body.className='result__description rich-text';body.innerHTML=highlight(description);result.appendChild(body);}return result;};const search=(query)=>{const key=window.btoa(`${settings.customerId}:${settings.engineId}:SearchKey`);return fetch(`${settings.apiUrl}/${settings.customerId}/${settings.engineId}/search`,{method:'POST',headers:{'Content-Type':'application/json',Authorization:`SiteKey ${key}`},body:JSON.stringify({query,page:1,perPage:settings.perPage})}).then((response)=>{if(!response.ok)throw new Error(`Cludo responded with ${response.status}`);return response.json();}).then((data)=>data.TypedDocuments||[]);};Drupal.behaviors.ensCludoInlineSearch={attach(context){once('ens-cludo-inline-search','form#ens-web-navigation-search',context).forEach((form)=>{const input=form.querySelector('input[type="text"]');const results=form.querySelector('.search-results');if(!input||!results)return;const item=input.closest('.form-item');let timer=null;let latest=0;const clear=()=>{results.textContent='';results.classList.remove('has-results');};const message=(text)=>{clear();const paragraph=document.createElement('p');paragraph.className='search-results__message';paragraph.textContent=text;results.appendChild(paragraph);};const render=(items)=>{const rendered=items.map(buildResult).filter(Boolean);if(rendered.length===0){message(Drupal.t('No results found.'));return;}clear();results.classList.add('has-results');rendered.forEach((result)=>results.appendChild(result));};const run=()=>{const query=input.value.trim();if(query.length<settings.minLength){clear();return;}const request=latest+1;latest=request;if(item)item.classList.add('searching');search(query).then((items)=>{if(request===latest)render(items);}).catch(()=>{if(request===latest)message(Drupal.t('Search is currently unavailable.'));}).finally(()=>{if(request===latest&&item)item.classList.remove('searching');});};form.addEventListener('submit',(event)=>{event.preventDefault();window.clearTimeout(timer);run();});input.addEventListener('input',()=>{window.clearTimeout(timer);timer=window.setTimeout(run,300);});});}};})(Drupal,drupalSettings,once);;

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