"use strict";function GSPB_Toggler_Init(e=document){let t=e.getElementsByClassName("gs-tgl-trigger");for(let l=0;l<t.length;l++){let n=t[l];n.addEventListener("click",function(e){let t=window.scrollY||window.pageYOffset;n.parentNode.classList.toggle("gs-toggler-open"),window.scrollTo(0,t)});n.querySelectorAll('[role="button"]').forEach(function(e){e.addEventListener("keydown",function(e){let t=void 0!==e.key?e.key:e.keyCode;if("Enter"===t||13===t||["Spacebar"," "].indexOf(t)>=0||32===t){e.preventDefault(),n.parentNode.classList.toggle("gs-toggler-open");(null!==this.nextElementSibling?this.nextElementSibling:this.previousElementSibling).focus()}})})}}GSPB_Toggler_Init();