1!function(){const e=e=>{t(),r()},t=()=>{Array.from(document.querySelectorAll(".monopile_product-item")).filter((e=>e.querySelector(".monopile-bis__notify-trigger"))).forEach((e=>{new i(e)}))},i=function(e){e.querySelector(".monopile-bis__notify-trigger").addEventListener("click",(t=>{t.preventDefault(),e.querySelector(".monopile-bis_form").classList.add("active")}));e.querySelectorAll(".monopile-bis_form-cancel").forEach((t=>{t.addEventListener("click",(t=>{t.preventDefault(),e.querySelector(".monopile-bis_form").classList.remove("active"),e.querySelector(".monopile-bis_error-email").classList.remove("active"),e.querySelector(".monopile-bis_container-complete").classList.remove("active"),e.querySelector(".monopile-bis_container-form").classList.add("active")}))}));e.querySelector(".monopile-bis_form-submit").addEventListener("click",(t=>{t.preventDefault();const i=e.querySelector(".monopile-bis_input-email").value;if(n(i)){const t=e.getAttribute("data-productId"),r="false"===e.getAttribute("data-variantId")?e.querySelector(".monopile-bis_input-variant").value:e.getAttribute("data-variantId");BIS.create(i,r,t).then((t=>{a(t,e)}))}else e.querySelector(".monopile-bis_error-email").classList.add("active")}))},r=()=>{const e=document.querySelector(".monopile-bis__notify-product-trigger");if(!e)return;this.currentVariant=e.getAttribute("data-variantId"),e.classList.remove("button--disabled"),e.removeAttribute("disabled"),e.addEventListener("click",(e=>{BISPopover.show({variantId:this.currentVariant})}));document.addEventListener("variant:changed",(t=>{const{id:i,available:r}=t.detail.variant;this.currentVariant=i,r?e.classList.add("hidden"):e.classList.remove("hidden")}))},o=["&","'",'"',"<",">","/"],n=e=>0===o.filter((t=>e.includes(t))).length,a=function(e,t){let i="";if("OK"==e.status)t.querySelector(".monopile-bis_container-complete").classList.add("active"),t.querySelector(".monopile-bis_container-form").classList.remove("active"),t.querySelector(".monopile-bis_container-complete p").innerText=e.message,i=e.message;else for(let r in e.errors)i+=e.errors[r].join(),t.querySelector(".monopile-bis_container-complete").classList.add("active"),t.querySelector(".monopile-bis_container-form").classList.remove("active"),t.querySelector(".monopile-bis_container-complete p").innerText=i};document.addEventListener("theme:pagechange:end",e),window.addEventListener("load",(t=>{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.