1if("function"!=typeof submitAcymForm){let e="",t="";function submitAcymForm(a,l,i){if(e===l)return!1;t=a,window.acyFormName=l,i=void 0===i?"acymSubmitSubForm":i;const c=l?l+"-captcha":"acym-captcha",r=document.querySelector("#"+c+'[class="acyg-recaptcha"][data-size="invisible"]');if(!r||"object"!=typeof grecaptcha)return window[i]();if("acym_ireCaptcha"===r.getAttribute("data-captchaname")){r.className="g-recaptcha";const e=document.querySelector("#"+c+'[class="g-recaptcha"][data-size="invisible"]');if(!e)return window[i]();let t=e.getAttribute("grcID");return t||(t=grecaptcha.render(c,{sitekey:e.getAttribute("data-sitekey"),callback:i,size:"invisible","expired-callback":"resetRecaptcha"}),e.setAttribute("grcID",t)),grecaptcha.getResponse(t)?window[i]():(grecaptcha.execute(t),!1)}{const e=document.getElementById(c);return e?(grecaptcha.ready(function(){grecaptcha.execute(e.getAttribute("data-sitekey"),{action:"submit"}).then(function(e){const t=document.createElement("input");t.setAttribute("type","hidden"),t.setAttribute("name","g-recaptcha-response"),t.setAttribute("value",e);const a=document.getElementById(window.acyFormName);a.appendChild(t),window[i]()&&a.submit()})}),!1):window[i]()}}function resetRecaptcha(){let e="acym-captcha";window.acyFormName&&(e=window.acyFormName+"-captcha");let t=document.querySelector("#"+e+'[class="g-recaptcha"][data-size="invisible"]');if(!t)return;let a=t.getAttribute("grcID");grecaptcha.reset(a)}function acym_resetInvalidClass(){let e=document.querySelectorAll("#"+window.acyFormName+" .acym_invalid_field");if(0!==e.length)for(let t=0;t<e.length;t++)e[t].classList.remove("acym_invalid_field"),e[t].removeAttribute("aria-invalid"),e[t].removeAttribute("aria-describedby");let t=document.querySelectorAll("#"+window.acyFormName+" .acym__field__error__block");if(0!==t.length)for(let e=0;e<t.length;e++)t[e].classList.remove("acym__field__error__block__active");let a=document.querySelectorAll("#"+window.acyFormName+" .acym__message__invalid__field");if(0!==a.length)for(let e=0;e<a.length;e++)a[e].classList.remove("acym__message__invalid__field__active");let l=document.querySelectorAll("#"+window.acyFormName+" .acym__cross__invalid");if(0!==l.length)for(let e=0;e<l.length;e++)l[e].classList.remove("acym__cross__invalid__active")}function acym_checkEmailField(e,t,a){let l=e.elements[t];if(l){l.value!==window.acymModule.EMAILCAPTION&&(l.value=l.value.replace(/ /g,""));const e=window.acymModule.emailRegex;l.value!==window.acymModule.EMAILCAPTION&&e.test(l.value)||acymAddInvalidClass(l.name,a,window.acymModule.VALID_EMAIL)}}function acym_checkEmailConfirmationField(e,t,a){let l=e.elements["user[email]"],i=e.elements[t];i&&(l.value===i.value&&""!==i.value||acymAddInvalidClass(t,a,window.acymModule.VALID_EMAIL_CONFIRMATION))}function acym_handleRequiredRadio(e){let t=document.querySelectorAll("#"+window.acyFormName+' [type="radio"][data-required]');if(0===t.length)return;let a,l="",i=0;for(let c=0;c<t.length;c++){if(a=JSON.parse(t[c].getAttribute("data-required")),""!==l&&l!==t[c].getAttribute("name"))if(0===i){acymAddInvalidClass(l,e,JSON.parse(t[c-1].getAttribute("data-required")).message)}else i=0;t[c].checked&&i++,l=t[c].getAttribute("name")}0===i&&acymAddInvalidClass(l,e,a.message)}function acym_handleRequiredCheckbox(e){let t=document.querySelectorAll("#"+window.acyFormName+' [type="checkbox"][data-required]');if(0===t.length)return;let a,l="",i=0;for(let c=0;c<t.length;c++){a=JSON.parse(t[c].getAttribute("data-required"));let r=t[c].getAttribute("name").slice(0,t[c].getAttribute("name").lastIndexOf("["));if(""!==l&&l!==r)if(0===i){acymAddInvalidClass(l,e,JSON.parse(t[c-1].getAttribute("data-required")).message)}else i=0;t[c].checked&&i++,l=r}0===i&&acymAddInvalidClass(l,e,a.message)}function acym_handleRequiredDate(e){let t=document.querySelectorAll("#"+window.acyFormName+' [acym-field-type="date"][data-required]');if(0===t.length)return;let a="",l=0;for(let i=0;i<t.length;i++){let c=t[i],r=JSON.parse(c.getAttribute("data-required")),n=c.getAttribute("name").slice(0,c.getAttribute("name").lastIndexOf("["));if(""!==a&&a!==n)if(l<3){l=0;let a=JSON.parse(t[i-1].getAttribute("data-required"));
1acymAddInvalidClass(t[i-1].name,e,a.message)}else l>0&&(l=0);c.value.length>0?l++:acymAddInvalidClass(c.name,e,r.message),a=t[i].getAttribute("name").slice(0,t[i].getAttribute("name").lastIndexOf("["))}}function acym_handleOtherRequiredFields(e){let t=document.querySelectorAll("#"+window.acyFormName+' [data-required]:not([type="checkbox"]):not([type="radio"]):not([acym-field-type="date"]):not([name="captcha_code"])');if(0!==t.length)for(let a=0;a<t.length;a++){let l=JSON.parse(t[a].getAttribute("data-required"));-1===["text","textarea","single_dropdown","multiple_dropdown","phone"].indexOf(l.type)||""!==t[a].value&&"0"!=t[a].value||acymAddInvalidClass(t[a].name,e,l.message),"file"===l.type&&0===t[a].files.length&&acymAddInvalidClass(t[a].name,e,l.message)}}function acym_handleAuthorizedContent(e){let t=document.querySelectorAll("#"+window.acyFormName+" [data-authorized-content]");if(0!==t.length)for(let a=0;a<t.length;a++){let l,i=t[a].getAttribute("data-authorized-content"),c=[];c.push(0);try{let e=i.indexOf("{"),t=i.indexOf("[");!isNaN(e)&&e>0&&!isNaN(t)&&t>0&&(i=i.substring(e)),l=void 0!==i||""!==i?JSON.parse(i):c}catch(e){l=c,console.log(e.stack)}let r="";"number"===l[0]?r=/^[0-9]+$/:"letters"===l[0]?r=/^[a-zA-Z]+$/:"numbers_letters"===l[0]?r=/^[a-zA-Z0-9]+$/:"regex"===l[0]&&(r=new RegExp(l.regex.replace(/^\//,"").replace(/\/$/,""))),""!==r&&t[a].value.length>0&&!r.test(t[a].value)&&acymAddInvalidClass(t[a].name,e,l.message)}}function acymSubmitSubForm(){const a=document.getElementById(window.acyFormName),l={errors:0};if(acym_resetInvalidClass(),acym_checkEmailField(a,"user[email]",l),acym_checkEmailConfirmationField(a,"user[email_confirmation]",l),acym_handleRequiredRadio(l),acym_handleRequiredCheckbox(l),acym_handleRequiredDate(l),acym_handleOtherRequiredFields(l),acym_handleAuthorizedContent(l),l.errors>0)return!1;if(a.elements.hiddenlists.value.length<1){let e=!1,l=a.elements["subscription[]"];if(!l||void 0!==l.value&&0!==l.value.length)l&&l.checked&&(e=!0);else for(let t=0;t<l.length;t++)l[t].checked&&(e=!0);if(!e)return"unsubscribe"!==t?alert(window.acymModule.NO_LIST_SELECTED):alert(window.acymModule.NO_LIST_SELECTED_UNSUB),!1}if("unsubscribe"!==t){let e=a.elements.terms;if(e&&!e.checked)return void 0!==window.acymModule&&alert(window.acymModule.ACCEPT_TERMS),!1;if(void 0!==window.acymModule&&void 0!==window.acymModule["excludeValues"+window.acyFormName])for(let e in window.acymModule["excludeValues"+window.acyFormName])window.acymModule["excludeValues"+window.acyFormName].hasOwnProperty(e)&&a.elements[`user[${e}]`]&&a.elements[`user[${e}]`].value==window.acymModule[`excludeValues${window.acyFormName}`][e]&&(a.elements["user["+e+"]"].value="")}if("undefined"!=typeof ga){ga("send","pageview","unsubscribe"===t?"unsubscribe":"subscribe")}a.task.value=t;let i="";null!=a.elements.acymformtype&&(i=a.elements.acymformtype.value);let c="";if(null!=a.elements.redirect&&(c=a.elements.redirect.value),!a.elements.ajax||!a.elements.ajax.value||"0"===a.elements.ajax.value||0===a.elements.ajax.value)return"shortcode"==i&&""==c&&(a.elements.redirect.value=window.location.href),acymApplyCookie(),!0;const r=document.getElementById(window.acyFormName),n=new FormData(r);r.className+=" acym_module_loading",r.style.filter="alpha(opacity=50)",r.style.opacity="0.5",e=window.acyFormName;const o=document.querySelectorAll(".responseContainer.acym_module_error.message_"+window.acyFormName);return Array.prototype.forEach.call(o,function(e){e.parentNode.removeChild(e)}),fetch(r.getAttribute("action"),{method:"POST",body:n}).then(e=>e.json()).then(e=>{acymDisplayAjaxResponse(e.message,e.type)}).catch(e=>{console.error(e),acymDisplayAjaxResponse("Ajax Request Failure","error")}).finally(()=>{e===window.acyFormName&&(e="")}),!1}function acymAddInvalidClass(e,t,a){let l=document.querySelectorAll("#"+window.acyFormName+' [name^="'+e+'"]'),i=l[0].closest(".onefield");for(let e=0;e<l.length;e++)l[e].classList.add("acym_invalid_field"),l[e].setAttribute("aria-invalid","true");if(i&&0!==i.length){let t=i.querySelector(".acym__message__invalid__field"),c=i.querySelector(".acym__cross__invalid");if(t&&t.classList.add("acym__message__invalid__field__active"),c&&c.classList.add("acym__cross__invalid__active"),a.length>0){let t=i.querySelector(".acym__field__error__block");t.innerText=a,t.classList.add("acym__field__error__block__active"),t.id||(t.id="acym__field__error__"+window.acyFormName+"__"+e.replace(/[^a-zA-Z0-9_-]/g,""));for(let e=0;e<l.length;e++)l[e].setAttribute("aria-describedby",t.id)}}t.errors++}
1function acymDisplayAjaxResponse(e,t,a){let l=document.createElement("div"),i=document.getElementById("acym_fulldiv_"+window.acyFormName);i.firstChild&&!i.classList.contains("acym__subscription__form__popup__overlay")?i.insertBefore(l,i.firstChild):i.classList.contains("acym__subscription__form__popup__overlay")?i.querySelector(".acym__subscription__form__popup").appendChild(l):i.appendChild(l),l.className="responseContainer",l.setAttribute("role","alert"),l.setAttribute("aria-live","assertive");const c=document.getElementById(window.acyFormName);let r="replace";null!=c.elements.successmode&&(r=c.elements.successmode.value);let n=c.className,o="acym_module_loading",s=n.replace(" "+o,"",n);s==n&&(s=n.replace(o+" ","",n)),s==n&&(s=n.replace(o,"",n)),c.className=s,l.innerHTML=e,"success"===t?l.className+=" acym_module_success":(l.className+=" acym_module_error",c.style.opacity="1"),(a||"success"===t&&"toptemp"!==r)&&(c.style.display="none"),l.className+=" message_"+window.acyFormName,l.className+=" slide_open","success"!==t||"replacetemp"!==r&&"toptemp"!==r||setTimeout(()=>{l.remove(),c.style.filter="alpha(opacity=100)",c.style.opacity="1","replacetemp"===r&&(c.style.display="")},3e3),"success"===t&&acymApplyCookie()}function acymApplyCookie(){const e=document.getElementById("acym_fulldiv_"+window.acyFormName);if(e.classList.contains("acym__subscription__form-erase")){const t=document.getElementById(window.acyFormName);let a=t.getAttribute("acym-data-cookie");void 0===a&&(a=1);let l=new Date;l.setDate(l.getDate()+parseInt(a)),document.cookie="acym_form_"+t.getAttribute("acym-data-id")+"="+Date.now()+";expires="+l.toUTCString()+";path=/",setTimeout(()=>{e.remove()},2e3)}}function blockPasteEvent(){document.querySelectorAll('input[name="user[email_confirmation]"]').forEach(e=>{e.addEventListener("paste",e=>{e.preventDefault()})})}window.acyFormName="",blockPasteEvent()}
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.