ConvertForms.Helper.onReady(function(a){"undefined"!=typeof Inputmask&&a.forEach(function(a){var i=a.querySelectorAll(".cf-input[data-imask]");i&&(Inputmask.extendDefinitions({"&":{validator:"[0-9a-zA-ZΑ-Ωα-ω０-９]",definitionSymbol:"*"},A:{validator:"[A-Za-zΑ-Ωα-ωίϊΐόάέύϋΰήώА-яЁёÀ-ÿµ]",casing:"upper"},a:{validator:"[A-Za-zΑ-Ωα-ωίϊΐόάέύϋΰήώА-яЁёÀ-ÿµ]",definitionSymbol:"*"},"*":{validator:"[0-9Α-Ωα-ωίϊΐόάέύϋΰήώ０-９A-Za-zА-яЁёÀ-ÿµ]"}}),i.forEach(function(a){Inputmask(a.dataset.imask,{rightAlign:!1,jitMasking:!1,showMaskOnHover:!1}).mask(a)}),a.addEventListener("beforeSubmit",function(a){if(!a.defaultPrevented)for(var e=0;e<i.length;e++){var t=i[e];if(""===t.value.trim())return;if(!t.inputmask.isComplete()){a.preventDefault(),a.detail.error=a.detail.instance.text("ERROR_INPUTMASK_INCOMPLETE"),t.focus();break}}}))})});

