window.addEventListener("load",(function(){var t=[];function e(t){var e=t;return e=e.toLowerCase(),e=e.replace(/\xe0|\xe1|\u1ea1|\u1ea3|\xe3|\xe2|\u1ea7|\u1ea5|\u1ead|\u1ea9|\u1eab|\u0103|\u1eb1|\u1eaf|\u1eb7|\u1eb3|\u1eb5/g,"a"),e=e.replace(/\xe8|\xe9|\u1eb9|\u1ebb|\u1ebd|\xea|\u1ec1|\u1ebf|\u1ec7|\u1ec3|\u1ec5/g,"e"),e=e.replace(/\xec|\xed|\u1ecb|\u1ec9|\u0129/g,"i"),e=e.replace(/\xf2|\xf3|\u1ecd|\u1ecf|\xf5|\xf4|\u1ed3|\u1ed1|\u1ed9|\u1ed5|\u1ed7|\u01a1|\u1edd|\u1edb|\u1ee3|\u1edf|\u1ee1/g,"o"),e=e.replace(/\xf9|\xfa|\u1ee5|\u1ee7|\u0169|\u01b0|\u1eeb|\u1ee9|\u1ef1|\u1eed|\u1eef/g,"u"),e=e.replace(/\u1ef3|\xfd|\u1ef5|\u1ef7|\u1ef9/g,"y"),e=e.replace(/\u0111/g,"d"),e=e.replace(/!|@|%|\^|\*|\(|\)|\+|\=|\<|\>|\?|\/|,|\.|\:|\;|\'| |\"|\&|\#|\[|\]|~|$|_/g,"-"),e=e.replace(/-+-/g,"-"),e=e.replace(/^\-+|\-+$/g,""),e}function a(t,a){$(t).on("keyup",(function(){var t=a.getAttribute("data-format");a.value="acsii"==t?e($.trim(this.value)):$.trim(this.value)})).on("paste",(function(){var t=a.getAttribute("data-format");a.value="acsii"==t?e($.trim(this.value)):$.trim(this.value)})).on("blur",(function(){var t=a.getAttribute("data-format");a.value="acsii"==t?e($.trim(this.value)):$.trim(this.value)}))}$(".input-alias-ext").each((function(){var e="#"+this.getAttribute("data-source");-1===t.indexOf(e)&&(t.push(e),a(e,this))}))}));