1const EXEMPTIFY_CONFIG={accountPagesOnly:!0,containerSelector:'[id*="exemptify_exemptify_account_validation_block"]',titleSelector:".exemptify_account_title",titleEmptyClass:"js-exemptify-title-empty",buttonSelectors:{save:"#VatIdSubmit",delete:"#DeleteId"},buttonClasses:{primary:"button button--primary",secondary:"button button--secondary"}};class ExemptifyStyler{constructor(){this.init()}init(){this.shouldInitialize()&&(this.handleEmptyTitles(),this.handleFormStyling())}shouldInitialize(){const isAccountPage=!EXEMPTIFY_CONFIG.accountPagesOnly||window.location.pathname.includes("/account"),hasExemptifyElements=document.querySelector(EXEMPTIFY_CONFIG.containerSelector);return isAccountPage&&hasExemptifyElements}handleEmptyTitles(){document.querySelectorAll(EXEMPTIFY_CONFIG.titleSelector).forEach(element=>{if(element.textContent.trim()===""){const container=element.closest(`${EXEMPTIFY_CONFIG.containerSelector} > div`);container&&container.classList.add(EXEMPTIFY_CONFIG.titleEmptyClass)}})}handleFormStyling(){const saveButton=document.querySelector(EXEMPTIFY_CONFIG.buttonSelectors.save),deleteButton=document.querySelector(EXEMPTIFY_CONFIG.buttonSelectors.delete),vatInput=document.querySelector("#VatId");vatInput&&vatInput.placeholder&&(vatInput.placeholder=vatInput.placeholder.trim()),this.styleAndTrimButton(saveButton,EXEMPTIFY_CONFIG.buttonClasses.primary),this.styleAndTrimButton(deleteButton,EXEMPTIFY_CONFIG.buttonClasses.secondary)}styleAndTrimButton(button,className){button&&(button.className=className,button.value&&(button.value=button.value.trim()))}}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",()=>new ExemptifyStyler):new ExemptifyStyler,document.addEventListener("DOMContentLoaded",function(){const statusImg=document.getElementById("StatusImg");statusImg&&(statusImg.alt="VAT ID Verification")}); 2//# sourceMappingURL=/cdn/shop/t/3/assets/app-exemptify.js.map?v=107060025521997184931777544540
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.