var ACFTelephone=function(){function t(){this.initInputMask(),this.initSubformEvents()}var n=t.prototype;return n.initSubformEvents=function(){var n=this;document.querySelectorAll("joomla-field-subform").forEach(function(t){t.addEventListener("subform-row-add",function(t){n.initInputMask(t.detail.row)})})},n.initInputMask=function(t){void 0===t&&(t=document),"undefined"!=typeof Inputmask&&t.querySelectorAll(".acf-input-mask").forEach(function(t){var n=t.getAttribute("data-imask");Inputmask(n,{jitMasking:!1,showMaskOnHover:!1}).mask(t),Inputmask.setValue(t,t.defaultValue)})},t}();document.addEventListener("DOMContentLoaded",function(){new ACFTelephone});

