PageSourceSearch

https://totalenergies.ca/themes/custom/butterfly_theme/dist/js/form-validation.min.js?v=1.0.2

js totalenergies.ca collected 2026-10-08 15:29:08 UTC 694 bytes, 1 lines download raw bytes

1((Drupal,e)=>{Drupal.behaviors.validateForms={attach:function(){e("inputs",document.querySelectorAll('input[type="text"], input[type="tel"], input[type="time"], input[type="email"], input[type="password"], input[type="number"], textarea, .form-select, duet-date-picker')).forEach(e=>{let t=("textarea"===e.type?e.parentElement:e).parentElement.previousElementSibling;e.addEventListener("focusout",()=>{null!==e&&(e.classList.contains("required")||e.hasAttribute("required"))&&(""===e.value&&void 0!==e.type||e.classList.contains("invalid")?(e.classList.add("error"),t&&t.classList.add("tw:text-error")):(e.classList.remove("error"),t&&t.classList.remove("tw:text-error")))})})}}})(Drupal,once);

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.