1document.addEventListener("DOMContentLoaded",()=>{const form=document.getElementById('form-steps');function updateButtonText(type){const datasetName=Common.kebabToCamelCase(`${type}_txt`);return(paymentButton)=>Common.updateValueWithPotentialTag(paymentButton,paymentButton.dataset[datasetName]);} 2function updateButtonsText(event=undefined){const donation=event?.detail?.donation||Step1.getDonation();const textType=!donation?.amount?'no_amount':donation.frequency;form.querySelectorAll('.payment-button').forEach(updateButtonText(textType));Common.applyFormValues();} 3$('body').on('change_amount',updateButtonsText);updateButtonsText();});
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.