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,once,drupalSettings){var frame;var scrollTo=function(to,duration){var element=document.scrollingElement||document.documentElement,start=element.scrollTop,change=to-start,startTs=performance.now(),easeOutQuart=function(t,b,c,d){t/=d;t--;return -c*(t*t*t*t-1)+b;},animateScroll=function(ts){var currentTime=ts-startTs;element.scrollTop=parseInt(easeOutQuart(currentTime,start,change,duration));if(currentTime<duration)frame=requestAnimationFrame(animateScroll);else element.scrollTop=to;};requestAnimationFrame(animateScroll);};Drupal.behaviors.backtotop={attach:function(context,settings){let isMobile=window.matchMedia("only screen and (max-width: 760px)").matches;if(!(settings.back_to_top.back_to_top_prevent_on_mobile&&isMobile)){var exist=$('#backtotop').length;if(exist==0)$(once('backtotop','body'),context).each(function(){$('body').append("<nav aria-label='"+Drupal.t("Back to top")+"'><button id='backtotop' aria-label='"+Drupal.t("Back to top")+"'>"+settings.back_to_top.back_to_top_button_text+"</button></nav>");});}backToTop();$(document).on("scroll",function(){backToTop();});$(once('backtotop','#backtotop'),context).each(function(){$(this).click(function(){$("html, body").bind("scroll mousedown DOMMouseScroll mousewheel keyup",function(){if(typeof frame!=='undefined')window.cancelAnimationFrame(frame);});speed=settings.back_to_top.back_to_top_speed;if(speed==null)speed=1200;scrollTo(0,speed);});});function backToTop(){if($(window).scrollTop()>settings.back_to_top.back_to_top_button_trigger)$('#backtotop').fadeIn();else $('#backtotop').fadeOut();}}};})(jQuery,Drupal,once,drupalSettings);; 4function ctSetCookie(cookies){let useCookies,useAltCookies;if('undefined'!==typeof ct_use_cookies)useCookies=ct_use_cookies;else useCookies=false;if('undefined'!==typeof ct_use_alt_cookies)useAltCookies=ct_use_alt_cookies;else useAltCookies=false;if(useCookies)if(useAltCookies&&useAltCookies===1){let xhr=new XMLHttpRequest();let json=JSON.stringify(cookies);xhr.open("POST",'/admin/config/cleantalk/set_alt_cookies');xhr.setRequestHeader('Content-type','application/json; charset=utf-8');xhr.send(json);}else cookies.forEach(function(e){let ctSecure=location.protocol==="https:"?"; secure":"";document.cookie=e.name+"="+encodeURIComponent(e.value)+"; path=/; expires=0; samesite=lax"+ctSecure;});}; 5var d=new Date(),ctTimeMs=new Date().getTime(),ctMouseEventTimerFlag=true,ctMouseData="[",ctMouseDataCounter=0,ctScrollCollected=false,ctEventTokenInterval=null;ctSetCookie([{'name':'ct_check_js','value':ct_check_js_val},{'name':'ct_ps_timestamp','value':Math.floor(new Date().getTime()/1000)},{'name':'ct_fkp_timestamp','value':'0'},{'name':'ct_pointer_data','value':'0'},{'name':'ct_timezone','value':d.getTimezoneOffset()/60*(-1)},{'name':'apbct_antibot','value':drupal_ac_antibot_cookie_value},{'name':'ct_has_scrolled','value':false}]);var ctMouseReadInterval=setInterval(function(){ctMouseEventTimerFlag=true;},150);var ctMouseWriteDataInterval=setInterval(function(){const altSessionsUsed=typeof ct_use_alt_cookies!=="undefined"&&ct_use_alt_cookies===1;const botDetectorUsed=typeof ct_use_bot_detector!=="undefined"&&ct_use_bot_detector===1;if(altSessionsUsed||botDetectorUsed)return;var ctMouseDataToSend=ctMouseData.slice(0,-1).concat("]");ctSetCookie([{'name':'ct_pointer_data','value':ctMouseDataToSend}]);},1200);function ctMouseStopData(){if(typeof window.addEventListener=="function")window.removeEventListener("mousemove",ctFunctionMouseMove);else window.detachEvent("onmousemove",ctFunctionMouseMove);clearInterval(ctMouseReadInterval);clearInterval(ctMouseWriteDataInterval);}var ctFunctionMouseMove=function output(event){if(ctMouseEventTimerFlag==true){var mouseDate=new Date();ctMouseData+="["+Math.round(event.pageY)+","+Math.round(event.pageX)+","+Math.round(mouseDate.getTime()-ctTimeMs)+"],";ctMouseDataCounter++;ctMouseEventTimerFlag=false;if(ctMouseDataCounter>=100)ctMouseStopData();}};function ctSetHasScrolled(){if(!ctScrollCollected){ctSetCookie([{'name':'ct_has_scrolled','value':true}]);ctScrollCollected=true;}}function ctKeyStopStopListening(){if(typeof window.addEventListener=="function"){window.removeEventListener("mousedown",ctFunctionFirstKey);window.removeEventListener("keydown",ctFunctionFirstKey);}else{window.detachEvent("mousedown",ctFunctionFirstKey);window.detachEvent("keydown",ctFunctionFirstKey);}}var ctFunctionFirstKey=function output(event){var KeyTimestamp=Math.floor(new Date().getTime()/1000);ctSetCookie([{'name':'ct_fkp_timestamp','value':KeyTimestamp}]);ctKeyStopStopListening();};if(typeof window.addEventListener=="function"){window.addEventListener("mousemove",ctFunctionMouseMove);window.addEventListener("mousedown",ctFunctionFirstKey);window.addEventListener("keydown",ctFunctionFirstKey);window.addEventListener("scroll",ctSetHasScrolled);}else{window.attachEvent("onmousemove",ctFunctionMouseMove);window.attachEvent("mousedown",ctFunctionFirstKey);window.attachEvent("keydown",ctFunctionFirstKey);window.attachEvent("scroll",ctSetHasScrolled);}function apbct_collect_visible_fields(form){var inputs=[],inputs_visible='',inputs_visible_count=0,inputs_invisible='',inputs_invisible_count=0,inputs_with_duplicate_names=[];for(var key in form.elements)if(!isNaN(+key))inputs[key]=form.elements[key];inputs=inputs.filter(function(elem){if(inputs_with_duplicate_names.indexOf(elem.getAttribute('name'))!==-1)return false;if(-1!==['radio','checkbox'].indexOf(elem.getAttribute("type"))){inputs_with_duplicate_names.push(elem.getAttribute('name'));return false;}return true;});
5inputs.forEach(function(elem,i,elements){if(elem.getAttribute("type")==="submit"||elem.getAttribute('name')===null||elem.getAttribute('name')==='ct_checkjs')return;if(getComputedStyle(elem).display==="none"||getComputedStyle(elem).visibility==="hidden"||getComputedStyle(elem).opacity==="0"||elem.getAttribute("type")==="hidden")if(elem.classList.contains("wp-editor-area")){inputs_visible+=" "+elem.getAttribute("name");inputs_visible_count++;}else{inputs_invisible+=" "+elem.getAttribute("name");inputs_invisible_count++;}else{inputs_visible+=" "+elem.getAttribute("name");inputs_visible_count++;}});inputs_invisible=inputs_invisible.trim();inputs_visible=inputs_visible.trim();return {visible_fields:inputs_visible,visible_fields_count:inputs_visible_count,invisible_fields:inputs_invisible,invisible_fields_count:inputs_invisible_count};}function apbct_visible_fields_set_cookie(visible_fields_collection){var collection=typeof visible_fields_collection==='object'&&visible_fields_collection!==null?visible_fields_collection:{};ctSetCookie([{'name':'apbct_visible_fields','value':JSON.stringify(collection)}]);}class EventTokenHandler{constructor(use_alt_cookies_option){this.token=null;this.lsSavedFlagName='event_token_saved_to_alt_sessions';this.lsEVentTokenName='bot_detector_event_token';this.intervalValue=1500;this.init(use_alt_cookies_option);}init(use_alt_cookies_option){if('undefined'!==typeof use_alt_cookies_option&&use_alt_cookies_option){this.setNotSavedFlag();this.startListenTokenLS();}}setSavedFlag(){localStorage.setItem(this.lsSavedFlagName,'1');}setNotSavedFlag(){localStorage.setItem(this.lsSavedFlagName,'0');}isSaved(){let event_token_saved=localStorage.getItem(this.lsSavedFlagName);return event_token_saved!==null&&event_token_saved!==undefined&&event_token_saved==='1';}getEventToken(){let event_token=localStorage.getItem(this.lsEVentTokenName);try{event_token=event_token!==null?JSON.parse(event_token):false;}catch(e){return false;}event_token=event_token.hasOwnProperty('value')?event_token.value:false;if(typeof event_token==='string'&&event_token.length===64)return event_token;return false;}setEventTokenCookie(){if(typeof this.token==='string'&&this.token.length===64)ctSetCookie([{'name':'apbct_event_token','value':this.token}]);}stopListenTokenLS(){clearInterval(this.intervalID);}startListenTokenLS(){this.intervalID=setInterval(this.intervalRun,this.intervalValue,this);}intervalRun(handler){if(!handler.isSaved()){handler.token=handler.getEventToken();if(handler.token){handler.setEventTokenCookie();handler.setSavedFlag();handler.stopListenTokenLS();}}}}new EventTokenHandler(ct_use_alt_cookies);; 6!function(){"use strict";var e,i,t,r={5:function(e,t,i){i.r(t),i.d(t,{TabList:function(){return a;}});const r=String.raw,a=(e)=>{e=e.tabs;return r` 7 <ul class="tab-list"> 8 ${e.map((e)=>{return e=e,r`<li class="tab-item">${e.outerHTML}</li>`;}).join("")} 9 </ul> 10`;};}},a={};function n(e){var t=a[e];return void 0!==t||(t=a[e]={exports:{}},r[e](t,t.exports,n)),t.exports;}n.d=function(e,t){for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]});},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t);},(n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0});})({}),t=n(5),e=Drupal,i=once,e.behaviors.megaMenu={isMobile:window.matchMedia("(max-width: 992px)"),templates:{tabs:t.TabList},setupUi(e){const n=this.isMobile.matches;var t=[...e.querySelector('ul[data-depth="0"]').querySelectorAll(":scope > .menu__item")].map((e,t)=>{var i,r=e.querySelector(":scope > .menu__link"),a=r.nextElementSibling;return a&&(i=r.getAttribute("data-plugin-id").replace("_","-"),r.setAttribute("aria-controls","accordion-panel-"+i),a.setAttribute("id","accordion-panel-"+i),e.setAttribute("id","tab-panel-"+i),n)&&this.close(r),n||(0===t?e.setAttribute("aria-hidden","false"):e.setAttribute("aria-hidden","true")),r;}),t=this.templates.tabs({tabs:t.map((e,t)=>{var i,e=e.cloneNode(!0);return e.hasAttribute("aria-controls")&&(i=e.getAttribute("aria-controls").replace("accordion","tab"),e.setAttribute("aria-controls",i),e.setAttribute("aria-expanded",0===t)),e;})});e.innerHTML=t+e.innerHTML;},updateUi(e,t){const i=e.matches;e=t.querySelector('ul[data-depth="0"]').querySelectorAll(":scope > .menu__item");t.querySelectorAll('ul[data-depth="1"]').forEach((e)=>{i?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden");}),e.forEach((e,t)=>{i?e.removeAttribute("aria-hidden"):0===t?e.setAttribute("aria-hidden","false"):e.setAttribute("aria-hidden","true");});},handleClick(e,t){var i=e.target.closest("button.menu__link"),r=this.isMobile.matches;i&&(r||"true"!==i.getAttribute("aria-expanded"))&&t.contains(i)&&(r||this.closeAll(t),r&&this.isOpen(i)?this.close(i):this.open(i),e.preventDefault());},open(e){var t=this.getTarget(e);e.setAttribute("aria-expanded","true"),t.setAttribute("aria-hidden","false");},close(e){var t=this.getTarget(e);
10e.setAttribute("aria-expanded","false"),t.setAttribute("aria-hidden","true");},closeAll(e){var t=this.isMobile.matches;e.querySelector(":scope > "+(t?".menu--main":".tab-list")).querySelectorAll('button.menu__link[aria-expanded="true"]').forEach((e)=>this.close(e));},getTarget(e){e=e.getAttribute("aria-controls");return document.getElementById(e);},setupEvents(t){t.addEventListener("click",(e)=>this.handleClick(e,t)),this.isMobile.addEventListener("change",(e)=>this.updateUi(e,t));},isOpen(e){return "true"===e.getAttribute("aria-expanded");},init(e){this.setupUi(e),this.setupEvents(e);},attach(e,t){i("touchstoneMegaMenu",".region__name--navigation-mega .c-mega-menu",e).forEach((e)=>this.init(e));}};}();; 11!function(){var r,e;r=jQuery,(e=Drupal).behaviors.navigationControl={attach:function(e){once("navigationControl","#navigationControl",e).forEach(function(e){function a(e){r("body").removeClass("js-prevent-scroll"),r(o).removeClass("checked"),r(o).attr("aria-expanded","false"),"Esc"!=e&&"Escape"!=e||r(o).focus();}r(window).on("click",function(e){var t;r("body").hasClass("js-prevent-scroll")&&!(t=r("#navigationControl"))[0].contains(e.target)&&t.parent()[0]!==e.target&&(r("body").removeClass("js-prevent-scroll"),r(o).removeClass("checked"),r(o).attr("aria-expanded","false"),e.stopPropagation(),e.preventDefault());});class t{constructor(e){this.domNode=e,this.menuitemNodes=[],this.firstMenuitem=!1,this.lastMenuitem=!1;var t=e.querySelectorAll(".menu__link");for(let e=0;e<t.length;e++){var n=t[e];this.menuitemNodes.push(n),n.addEventListener("keydown",this.onMenuitemKeydown.bind(this)),this.firstMenuitem||(this.firstMenuitem=n),this.lastMenuitem=n;}}setFocusToMenuitem(t){this.menuitemNodes.forEach(function(e){e===t&&t.focus();});}setFocusToFirstMenuitem(){this.setFocusToMenuitem(this.firstMenuitem);}setFocusToLastMenuitem(){this.setFocusToMenuitem(this.lastMenuitem);}setFocusToPreviousMenuitem(e){let t,n;return t=e===this.firstMenuitem?this.lastMenuitem:(n=this.menuitemNodes.indexOf(e),this.menuitemNodes[n-1]),this.setFocusToMenuitem(t),t;}setFocusToNextMenuitem(e){let t,n;return t=e===this.lastMenuitem?this.firstMenuitem:(n=this.menuitemNodes.indexOf(e),this.menuitemNodes[n+1]),this.setFocusToMenuitem(t),t;}onMenuitemKeydown(e){var t=e.currentTarget,n=e.key;if(!(e.ctrlKey||e.altKey||e.metaKey))switch(n){case "Left":case "ArrowLeft":var s=r(t).parent().prev();(0<r(s).find(".menu__link").length?r(s).find(".menu__link"):(s=r(t).parent().parent()[0],(s=r(s).find(" > .menu__item > .menu__link"))[s.length-1])).focus();break;case "Right":case "ArrowRight":var s=r(t).parent().next();(0<r(s).find(".menu__link").length?r(s).find(".menu__link"):(s=r(t).parent().parent()[0],r(s).find(" > .menu__item > .menu__link")[0])).focus();break;case "Tab":e.shiftKey?r(t).parent().is(":first-child")&&this.isOpen()&&this.closePopup():r(t).parent().is(":last-child")&&(utilityMenu=r(t).closest("nav").next(),r(utilityMenu).hasClass("site-header__utilities")||a());break;case "Esc":case "Escape":a("Esc");}}}class n extends t{constructor(e){super(e),this.buttonNode=e.querySelector("button"),this.buttonNode.setAttribute("aria-expanded","false");var t=e.querySelector("button + ul"),t="ul.menu[data-depth='"+r(t).attr("data-depth")+"']",n=(this.menuNode=e.querySelector(t),null!==this.menuNode&&this.menuNode.querySelectorAll(".menu__link:not(button)").forEach((e)=>{e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex","-1");}),this.buttonNode.addEventListener("keydown",this.onButtonKeydown.bind(this)),this.buttonNode.addEventListener("click",this.onButtonClick.bind(this)),this.menuitemNodes=[],this.firstMenuitem=!1,this.lastMenuitem=!1,r(e).find(t+" > li.menu__item > *").not("ul"));for(let e=0;e<n.length;e++){var s=n[e];this.menuitemNodes.push(s),this.firstMenuitem||(this.firstMenuitem=s),this.lastMenuitem=s;}e.addEventListener("focusin",this.onFocusin.bind(this)),e.addEventListener("focusout",this.onFocusout.bind(this)),window.addEventListener("mousedown",this.onBackgroundMousedown.bind(this),!0);}openPopup(){this.menuNode.classList.add("open"),this.menuNode.querySelectorAll(".menu__link:not(button)").forEach((e)=>{e.setAttribute("aria-hidden","false"),e.setAttribute("tabindex","0");}),r(this.menuNode).first().parent()[0].classList.add("expanded"),this.buttonNode.setAttribute("aria-expanded","true");}closePopup(){this.isOpen()&&(this.buttonNode.setAttribute("aria-expanded","fal
11se"),this.menuNode.classList.remove("open"),this.menuNode.querySelectorAll(".menu__link:not(button)").forEach((e)=>{e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex","-1");}),r(this.menuNode).first().parent()[0].classList.remove("expanded"));}isOpen(){return "true"===this.buttonNode.getAttribute("aria-expanded");}onFocusin(){this.domNode.classList.add("focus");}onFocusout(){this.domNode.classList.remove("focus");}onButtonKeydown(e){let t=e.key,n=!1;switch(t){case " ":case "Enter":this.isOpen()?(this.closePopup(),this.buttonNode.focus(),n=!0):(this.openPopup(),n=!0);break;case "Down":case "ArrowDown":{var s=r(this.buttonNode).parent().parent()[0];let e=0==r(s).attr("data-depth");if(this.isOpen())super.setFocusToFirstMenuitem();else{if(!e){s=r(this.buttonNode).parent().next();(0<r(s).find(".menu__link").length?r(s).find(".menu__link"):r("ul[data-depth='0'] > .menu__item > .menu__link")[0]).focus(),n=!0;break;}this.openPopup(),n=!0;}break;}case "Esc":case "Escape":this.isOpen()&&(this.closePopup(),this.buttonNode.focus(),n=!0),a("Esc");break;case "Up":case "ArrowUp":this.isOpen()?super.setFocusToLastMenuitem():e&&(this.openPopup(),n=!0);break;case "Left":case "ArrowLeft":var s=r(this.buttonNode).parent().prev();(0<r(s).find(".menu__link").length?r(s).find(".menu__link"):(s=r("ul[data-depth='0'] > .menu__item:not(:hidden) > .menu__link"))[s.length-1]).focus();break;case "Right":case "ArrowRight":s=r(this.buttonNode).parent().next();(0<r(s).find(".menu__link").length?r(s).find(".menu__link"):r("ul[data-depth='0'] > .menu__item > .menu__link")[0]).focus();}n&&(e.stopPropagation(),e.preventDefault());}onButtonClick(e){this.isOpen()?(this.closePopup(),this.buttonNode.focus()):this.openPopup(),e.stopPropagation(),e.preventDefault();}onMenuitemKeydown(e){let t=e.currentTarget,n=e.key,s=!1;if(!(e.ctrlKey||e.altKey||e.metaKey)){switch(n){case "Esc":case "Escape":this.isOpen?(this.closePopup(),this.buttonNode.focus(),s=!0):a("Esc");break;case "Up":case "ArrowUp":super.setFocusToPreviousMenuitem(t),s=!0;break;case "ArrowDown":case "Down":super.setFocusToNextMenuitem(t),s=!0;break;case "Left":case "ArrowLeft":this.isOpen()&&this.closePopup();var i=r(t).closest("ul[data-depth='0'] > .menu__item.menu__item--expanded").prev();(0<r(i).find(".menu__link").length?r(i).find(".menu__link"):(i=r("ul[data-depth='0'] > .menu__item > .menu__link"))[i.length-1]).focus();break;case "Right":case "ArrowRight":this.isOpen()&&this.closePopup();i=r(t).closest("ul[data-depth='0'] > .menu__item.menu__item--expanded").next();(0<r(i).find(".menu__link").length?r(i).find(".menu__link"):r("ul[data-depth='0'] > .menu__item > .menu__link")[0]).focus();break;case "Home":case "PageUp":this.setFocusToFirstMenuitem(),s=!0;break;case "End":case "PageDown":super.setFocusToLastMenuitem(),s=!0;break;case "Tab":if(e.shiftKey){var i=r(t).parent().is(":first-child"),o=r
11(t).parent().parent().parent().hasClass("menu__item--expanded");this.isOpen()&&(!i||o)||this.closePopup();}else{let e=r(t).closest("ul[data-depth='1']").find("> li:last-child");e=e.hasClass("menu__item--expanded")?e.find("ul > li:last-child > a"):e.find("> a");i=r(t).is(e);this.isOpen()&&!i||this.closePopup();}}s&&(e.stopPropagation(),e.preventDefault());}}onBackgroundMousedown(e){this.domNode.contains(e.target)||this.isOpen()&&!i.matches&&(this.buttonNode.focus(),this.closePopup());}}var s=r(e).find(".c-menu--navigation ul[data-depth='0'] > li"),e=r(e).find(".c-menu ul[data-depth='0'] > li");const i=window.matchMedia("(max-width: 768px)"),o=r("#nav-trigger");o.on("click",function(e){"false"===r(o).attr("aria-expanded")?(r("body").addClass("js-prevent-scroll"),r(o).addClass("checked"),r(o).attr("aria-expanded","true")):a(),e.stopPropagation(),e.preventDefault();}),e.on("keydown",function(e){"Escape"==e.key&&0==r(e.target).parent().parent().attr("data-depth")&&a();});var u=s;for(let e=0;e<u.length;e++)new (u[e].querySelector("button")?n:t)(u[e]);});}},e.behaviors.ariaControls={attach:function(e){once("ariaControls","#navigationControl",e).forEach(function(e){r(e).find("ul[data-depth].menu > li button.menu__link").each(function(){var e=r(this).attr("data-plugin-id");r(this).attr("aria-haspopup","true").attr("aria-controls","panel-"+e).next().attr("id","panel-"+e).attr("aria-label",r(this).text());});});}};}();; 12!function(){var e,i;e=Drupal,i=once,e.behaviors.siteHeader={init(e){e.addEventListener("click",(e)=>{var e=e["target"],t=e.closest(".c-site-header__toggle");e.closest(".c-site-header__navigation")||(t?this.toggle(t):this.closeAll());});},closeAll(){document.querySelectorAll(".c-site-header__toggle").forEach((e)=>this.close(e));},getTarget(e){e=e.getAttribute("aria-controls");return document.getElementById(e);},toggle(e){"true"===e.getAttribute("aria-expanded")?this.close(e):this.open(e);},open(e){var t=this.getTarget(e);this.closeAll(),e.setAttribute("aria-expanded",!0),t.setAttribute("aria-hidden",!1);},close(e){var t=this.getTarget(e);e.setAttribute("aria-expanded",!1),t.setAttribute("aria-hidden",!0);},attach(e,t){i("siteHeader","body",e).forEach((e)=>this.init(e));}};}();;
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.