Free javascript Hosting


mtcaptcha-min.js

Uploaded on Dec 14 2021 21:53 by n.testard

! function() {
"use strict";
var a, e, t, n, i, s = {}, u = {}, d = "object" == typeof window.mtcaptchaConfig && null != window.mtcaptchaConfig ? window.mtcaptchaConfig : {}, l = 0,
m = [],
h = "",
o = (e = document.querySelectorAll("script[src]"), t = e[e.length - 1].src, n = t.split("/"), i = n[n.length - 1], t.replace(i, ""));
if (window.addEventListener ? a = window.addEventListener : window.attachEvent && (a = window.attachEvent), Object.keys || (Object.keys = function(e) {
var t = [];
for (var a in e) e.hasOwnProperty(a) && t.push(a);
return t
}), !document.getElementsByClassName) {
var r = [].indexOf || function(e) {
for (var t = 0; t < this.length; t++) if (this[t] === e) return t;
return -1
}, c = function(n, i) {
return document.querySelectorAll ? i.querySelectorAll("." + n) : function() {
for (var e = i.getElementsByTagName("*"), t = [], a = 0; a < e.length; a++) e[a].className && -1 < (" " + e[a].className + " ").indexOf(" " + n + " ") && -1 === r.call(t, e[a]) && t.push(e[a]);
return t
}()
};
document.getElementsByClassName = function(e) {
return c(e, document)
}, Element && (Element.prototype.getElementsByClassName = function(e) {
return c(e, this)
})
}
Array.prototype.indexOf || (Array.prototype.indexOf = function(e) {
if (null == this) throw new TypeError;
var t, a, n = Object(this),
i = n.length >>> 0;
if (0 == i) return -1;
if (t = 0, 1 < arguments.length && ((t = Number(arguments[1])) != t ? t = 0 : 0 != t && t != 1 / 0 && t != -1 / 0 && (t = (0 < t || -1) * Math.floor(Math.abs(t)))), i <= t) return -1;
for (a = 0 <= t ? t : Math.max(i - Math.abs(t), 0); a < i; a++) if (a in n && n[a] === e) return a;
return -1
}), u.log = {
logLevel: 2,
debug: function(e) {
this.rawlog(4, "MTCAP-DBG", e)
},
info: function(e) {
this.rawlog(3, "MTCAP-INFO", e)
},
warn: function(e) {
this.rawlog(2, "MTCAP-WRN", e)
},
error: function(e) {
this.rawlog(1, "MTCAP-ERR", e)
},
rawlog: function(e, t, a) {
this.logLevel < e || (console || (console = {
log: function() {}
}), console.log(t + ": " + a))
}
}, u.constant = {
standard: "standard",
mini: "mini",
defaultMiniHeight: 45,
minMiniHeight: 42,
maxMiniHeight: 55,
minMiniWidth: 265,
maxMiniWidth: 600,
miniMaxBorderWidth: 5,
miniMinBorderWidth: 1,
miniPaddingbottom: 19,
maxStdWidth: 350,
minStdWidth: 260,
minStdHeight: 100,
stdPaddingTop: 24,
stdPaddingBottom: 27
}, u.siteKeyHashs = ["37c684aaa94b44e82e469232b908bed7", "b60a5b13d2e57c67efe1144615cfb2fa", "93b754b28034c42e0a24f9979fe18f6b", "c01d867afd4a58a05508d511185a6c76", "20c0c91e78a877200778edfeacd54026", "9f8245240940c4dab5a528ad2a1a3fec", "47c209770dc78b3b3c266dfd2816f1b1", "c4a738bb6c10eedb2ebb50614e160558", "7e2552b656ababba65d9f8208a69ed1f", "240f539b778ee95c6c579912c9fa2747", "a3bd1f9ff3fe765b0777de7ce88e34f7", "9917662d0fe2bbc28639e11210f5ada3", "8b30b18086db1e28a6e9715ef83626ff", "3b2cef572c5dfea41d6373d41ddbb344", "ab2b29693f969faeb8aae43d4da50d21", "8d088c5e25b374bd1dc99f8749e2ce3e", "6ef6490326f73086973711de7d0b26ca", "1ca9208ab2615fad968e7dea5b1488ee", "89cfcfe55f9bc78879e4717f16205df7", "ae681d05632076ef8f96a94bb9bb563e", "faa89b22b5744b6c38984e42df69f14b", "b9dbb39d62c655c93a53164f6d17ecf8", "d63ee85c55a61718e260c1a15bb58144", "cf6fe763a78748761bf35bdeff111f09", "7f99cad0244cde7b9c82d1e9d8159efe", "adeba8b479e3e3339b0b19a3af2c7c08", "13dec081e440017aae4a2ed320b984d0", "0d93e7bd630795372321bf850794304d", "1ee935be1064511d28f35a6919e17096", "7f567d921db8a93cf02490f562063706", "23003b2723429d310054dbe27852531d", "2dec32d400802c126c9591c233fd6696", "31e9feb97874cded7ba9d1ba70448121", "d8622d0c280b9f1cf960dd65033dc355", "3b3f5c06c082ded8c5f0e293e4ea4b36", "7cddbea636ec499e34d09178a5513d44", "24cf7e3069e227b6871b025cc3593b8f", "f9a91c829775afeb29f90d508cf57d8d", "9196f86a0305b6f01f912911a15468d1", "dae75e8b3e401d4120cd262fd0b55c88", "19df76bb0baeb96823638f8757000f19", "0f592418474d8472f469fb53a1dbb41f", "056dbc7010daf027cccd9f63cdf43106", "ee06a839083841ac349a4734697bb38b", "271309873db00b5954106d7642882af5", "5d16d13c3f6bece1acfd6875cd630474"], u.hash = {
md5cycle: function(e, t) {
var a = e[0],
n = e[1],
i = e[2],
o = e[3];
a = u.hash.ff(a, n, i, o, t[0], 7, -680876936), o = u.hash.ff(o, a, n, i, t[1], 12, -389564586), i = u.hash.ff(i, o, a, n, t[2], 17, 606105819), n = u.hash.ff(n, i, o, a, t[3], 22, -1044525330), a = u.hash.ff(a, n, i, o, t[4], 7, -176418897), o = u.hash.ff(o, a, n, i, t[5], 12, 1200080426), i = u.hash.ff(i, o, a, n, t[6], 17, -1473231341), n = u.hash.ff(n, i, o, a, t[7], 22, -45705983), a = u.hash.ff(a, n, i, o, t[8], 7, 1770035416), o = u.hash.ff(o, a, n, i, t[9], 12, -1958414417), i = u.hash.ff(i, o, a, n, t[10], 17, -42063), n = u.hash.ff(n, i, o, a, t[11], 22, -1990404162), a = u.hash.ff(a, n, i, o, t[12], 7, 1804603682), o = u.hash.ff(o, a, n, i, t[13], 12, -40341101), i = u.hash.ff(i, o, a, n, t[14], 17, -1502002290), n = u.hash.ff(n, i, o, a, t[15], 22, 1236535329), a = u.hash.gg(a, n, i, o, t[1], 5, -165796510), o = u.hash.gg(o, a, n, i, t[6], 9, -1069501632), i = u.hash.gg(i, o, a, n, t[11], 14, 643717713), n = u.hash.gg(n, i, o, a, t[0], 20, -373897302), a = u.hash.gg(a, n, i, o, t[5], 5, -701558691), o = u.hash.gg(o, a, n, i, t[10], 9, 38016083), i = u.hash.gg(i, o, a, n, t[15], 14, -660478335), n = u.hash.gg(n, i, o, a, t[4], 20, -405537848), a = u.hash.gg(a, n, i, o, t[9], 5, 568446438), o = u.hash.gg(o, a, n, i, t[14], 9, -1019803690), i = u.hash.gg(i, o, a, n, t[3], 14, -187363961), n = u.hash.gg(n, i, o, a, t[8], 20, 1163531501), a = u.hash.gg(a, n, i, o, t[13], 5, -1444681467), o = u.hash.gg(o, a, n, i, t[2], 9, -51403784), i = u.hash.gg(i, o, a, n, t[7], 14, 1735328473), n = u.hash.gg(n, i, o, a, t[12], 20, -1926607734), a = u.hash.hh(a, n, i, o, t[5], 4, -378558), o = u.hash.hh(o, a, n, i, t[8], 11, -2022574463), i = u.hash.hh(i, o, a, n, t[11], 16, 1839030562), n = u.hash.hh(n, i, o, a, t[14], 23, -35309556), a = u.hash.hh(a, n, i, o, t[1], 4, -1530992060), o = u.hash.hh(o, a, n, i, t[4], 11, 1272893353), i = u.hash.hh(i, o, a, n, t[7], 16, -155497632), n = u.hash.hh(n, i, o, a, t[10], 23, -1094730640), a = u.hash.hh(a, n, i, o, t[13], 4, 681279174), o = u.hash.hh(o, a, n, i, t[0], 11, -358537222), i = u.hash.hh(i, o, a, n, t[3], 16, -722521979), n = u.hash.hh(n, i, o, a, t[6], 23, 76029189), a = u.hash.hh(a, n, i, o, t[9], 4, -640364487), o = u.hash.hh(o, a, n, i, t[12], 11, -421815835), i = u.hash.hh(i, o, a, n, t[15], 16, 530742520), n = u.hash.hh(n, i, o, a, t[2], 23, -995338651), a = u.hash.ii(a, n, i, o, t[0], 6, -198630844), o = u.hash.ii(o, a, n, i, t[7], 10, 1126891415), i = u.hash.ii(i, o, a, n, t[14], 15, -1416354905), n = u.hash.ii(n, i, o, a, t[5], 21, -57434055), a = u.hash.ii(a, n, i, o, t[12], 6, 1700485571), o = u.hash.ii(o, a, n, i, t[3], 10, -1894986606), i = u.hash.ii(i, o, a, n, t[10], 15, -1051523), n = u.hash.ii(n, i, o, a, t[1], 21, -2054922799), a = u.hash.ii(a, n, i, o, t[8], 6, 1873313359), o = u.hash.ii(o, a, n, i, t[15], 10, -30611744), i = u.hash.ii(i, o, a, n, t[6], 15, -1560198380), n = u.hash.ii(n, i, o, a, t[13], 21, 1309151649), a = u.hash.ii(a, n, i, o, t[4], 6, -145523070), o = u.hash.ii(o, a, n, i, t[11], 10, -1120210379), i = u.hash.ii(i, o, a, n, t[2], 15, 718787259), n = u.hash.ii(n, i, o, a, t[9], 21, -343485551), e[0] = u.hash.add32(a, e[0]), e[1] = u.hash.add32(n, e[1]), e[2] = u.hash.add32(i, e[2]), e[3] = u.hash.add32(o, e[3])
},
cmn: function(e, t, a, n, i, o) {
return t = u.hash.add32(u.hash.add32(t, e), u.hash.add32(n, o)), u.hash.add32(t << i | t >>> 32 - i, a)
},
ff: function(e, t, a, n, i, o, r) {
return u.hash.cmn(t & a | ~t & n, e, t, i, o, r)
},
gg: function(e, t, a, n, i, o, r) {
return u.hash.cmn(t & n | a & ~n, e, t, i, o, r)
},
hh: function(e, t, a, n, i, o, r) {
return u.hash.cmn(t ^ a ^ n, e, t, i, o, r)
},
ii: function(e, t, a, n, i, o, r) {
return u.hash.cmn(a ^ (t | ~n), e, t, i, o, r)
},
md51: function(e) {
var t, a = e.length,
n = [1732584193, -271733879, -1732584194, 271733878];
for (t = 64; t <= e.length; t += 64) u.hash.md5cycle(n, u.hash.md5blk(e.substring(t - 64, t)));
e = e.substring(t - 64);
var i = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
for (t = 0; t < e.length; t++) i[t >> 2] |= e.charCodeAt(t) << (t % 4 << 3);
if (i[t >> 2] |= 128 << (t % 4 << 3), 55 < t) for (u.hash.md5cycle(n, i), t = 0; t < 16; t++) i[t] = 0;
return i[14] = 8 * a, u.hash.md5cycle(n, i), n
},
md5blk: function(e) {
var t, a = [];
for (t = 0; t < 64; t += 4) a[t >> 2] = e.charCodeAt(t) + (e.charCodeAt(t + 1) << 8) + (e.charCodeAt(t + 2) << 16) + (e.charCodeAt(t + 3) << 24);
return a
},
hex_chr: "0123456789abcdef".split(""),
rhex: function(e) {
for (var t = "", a = 0; a < 4; a++) t += u.hash.hex_chr[e >> 8 * a + 4 & 15] + u.hash.hex_chr[e >> 8 * a & 15];
return t
},
hex: function(e) {
for (var t = 0; t < e.length; t++) e[t] = u.hash.rhex(e[t]);
return e.join("")
},
md5: function(e) {
return u.hash.hex(u.hash.md51(e))
},
add32: function(e, t) {
var a = (65535 & e) + (65535 & t);
return (e >> 16) + (t >> 16) + (a >> 16) << 16 | 65535 & a
}
}, u.asserts = {
alrtImg: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAiYAAAImCAYAAABnzkFGAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTnU1rJkAAAgIElEQVR4Xu3djZXjRpql4TZhTZAJMkEmyASZIBPKgzahTJAJMmFMkAkyYRZ3SiFRWchMkgEQEV88zznvme09/VOqZAI3QRD5HwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA7269b/fPt/AgBcJ6Pkf//KOAEALnM7SowTAOAye6OkZZwAAC/z0ShpGScAwOnuGSUt4wQAOM0jo6RlnAAAh3tmlLSMEwDgMD2jpGWcAADdjhglLeMEAHjakaOkZZwAAA87Y5S0jBMA4G5njpKWcQIAfOoVo6RlnAAA73rlKGkZJwDAd64YJS3jBAD425WjpGWcAABDjJKWcQIACxtplLSMEwBY0IijpGWcAMBCRh4lLeMEABYwwyhpGScAUNhMo6RlnABAQTOOkpZxAgCFzDxKWsYJABRQYZS0jBMAmFilUdIyTgBgQhVHScs4AYCJVB4lLeMEACawwihpGScAMLCVRknLOAGAAa04SlrGCQAMZOVR0jJOAGAARsk/GScAcCGj5PuMEwC4gFHyfsYJALyQUfJ5xgkAvIBRcn/GCQCcyCh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mIeuBlkRP/6loZHbCdSqvPWhcHoLrTFFPojHRkPQbuI4UpVHeSDQiL8F1oqw3UfvcgF/gOlDW75iAWuc9uMbH/Q09uLZiN87BlYvbgtrmbmi87Roe2YeJiOcmfAZXPqJJzP2oZfTtuUZHvoNGci4j8DVcvch+aNxfqzwO19g4LTykJc81nkVtom/re7iGxt2CtIyCftKubuQnXItaZDlcI9upY1m5AFc3bjWGPXow/QbXwHb3IC03w9Vrdx63Y1izCa5xznykZRZcPWcHhi334RJcw5ysn+jLcPWcf6EPaliid7JrVJKPkRbNwV29JAdxJbqaBXCNSXMMafkCrl6aZeha9HT+Ea4hafSqug5JOQVXL81JXI+uZBVcI/J4AC43wpXP4110PBpn/wnXgDyWwmUmXPk89O6/Ex3Ndrib55X07bwIVz4vTXI6Fu1y6DXibpzXLrisgytfxFwEj14bX8HdsAgtJbl8Cle+iMPQvCFoXoC7WVGar7stIjXalS/qdQTLGPwMd6MyJiMe/ZrKrr+3+xXjESRr4W5S1sOIR+tprlxZG1A5+na0RuZuUNYixDMNrlxZmj9oW7pSPoK7eBUa478f8wlcuSr2onQehbtoUzyFwtGT9xDcBZviBxTehXkF7mJVaQC0DToEpGGmTj1tRJF5fRErkTtjcRruQlVodrYQLjr1lLUmX8YfuBW5ogeOu0hVHyAtb8PVq+pDZGYKko5kVZW10a+Zn6tXlf5eSdPhwXwOVzmEPA+a0GOGyJdI3IWZB1cplNuQFq3OVJ39pWkfOLVyDY7AVQgl6xiXGubqhaLTV0P27t6AKxzSWdwFF20QhJwIJVmDwejb1qKdKxiaXpOLEW0n6X//DLrRadEhg8EFzzy7lKHpna3O5tkrC00fdCtvwRXoVTq10UqI9a4m2YxWXoUr0KtWoBVt2FdZK28SDZDuwGD0h+/UULUuNEnS+v2QTIc27rKOYzSNRoM6ONS+1jckOuXwGHTQRqOpptJhozmo/eHAfvrpp59AGRj4H6lAyP+Ua43tAAAAAElFTkSuQmCC"
}, u.lang = {
ariaText: {
en: {
animationAccess: "Captcha widget loading..."
},
ar: {
animationAccess: "جارٍ تحÙ?Ù?Ù? أداة اختبار CAPTCHA ..."
},
af: {
animationAccess: "captcha widget laai ..."
},
am: {
animationAccess: "á?«á?«á?» ፍá?­á?á? á? á??á?«á?? á??á?­ ..."
},
hy: {
animationAccess: "captcha Õ¾Õ«Õ¤Õ»Õ¥Õ©Õ¨ Õ¢Õ¥Õ¼Õ¶Õ¾Õ¸Ö?Õ´ Õ§ ..."
},
az: {
animationAccess: "captcha widget yüklÉ?nir ..."
},
eu: {
animationAccess: "captcha widget-a kargatzen ..."
},
bn: {
animationAccess: "�্যাপ�া ����� ল�ড হ�্�� ..."
},
bg: {
animationAccess: "captcha заÑ?еждане на джаджа ..."
},
ca: {
animationAccess: "Giny de captcha carregant ..."
},
"zh-tw": {
animationAccess: "é©?è­?碼小é?¨ä»¶å? è¼?中..."
},
"zh-hk": {
animationAccess: "é©?è­?碼小é?¨ä»¶å? è¼?中..."
},
zh: {
animationAccess: "éª?è¯ç å°é?¨ä»¶å? 载中..."
},
"zh-cn": {
animationAccess: "éª?è¯ç å°é?¨ä»¶å? 载中..."
},
hr: {
animationAccess: "učitavanje widgeta captcha ..."
},
cs: {
animationAccess: "načítání widgetu captcha ..."
},
da: {
animationAccess: "captcha widget indlæses ..."
},
nl: {
animationAccess: "captcha widget wordt geladen ..."
},
"en-GB": {
animationAccess: "captcha widget loading ..."
},
et: {
animationAccess: "captcha-vidina laadimine ..."
},
fil: {
animationAccess: "captcha widget loading ..."
},
fi: {
animationAccess: "captcha-widget latautuu ..."
},
fr: {
animationAccess: "chargement du widget captcha ..."
},
gl: {
animationAccess: "Widget de captcha cargando ..."
},
ka: {
animationAccess: "captcha á??á??á?¯á??á?¢á??á?¡ á?©á?á?¢á??á??á? á??á??á? ..."
},
de: {
animationAccess: "Captcha Widget wird geladen ..."
},
el: {
animationAccess: "captcha widget Ï?Ï?ρÏ?Ï?Ï?η ..."
},
gu: {
animationAccess: "��પ્�ા વિ��� લ�ડ થ� રહ્યુ� �� ..."
},
iw: {
animationAccess: "widget ש×? captcha ×?×?×¢×? ..."
},
hi: {
animationAccess: "��प्�ा वि��� ल�ड ह� रहा ह� ..."
},
hu: {
animationAccess: "captcha widget betöltése ..."
},
is: {
animationAccess: "captcha búnaður hleðst ..."
},
id: {
animationAccess: "widget captcha memuat ..."
},
it: {
animationAccess: "widget di captcha in caricamento ..."
},
ja: {
animationAccess: "captchaã?¦ã?£ã?¸ã?§ã??ã??ã??読み込ã??でã?まã?..."
},
kn: {
animationAccess: "�್ಯಾಪ್�ಾ ವಿ���್ ಲ�ಡಿ��್ ..."
},
ko: {
animationAccess: "ë³´ì?? 문ì? ì??ì ¯ë¡?ë?? ì¤? ..."
},
lo: {
animationAccess: "ກຳ ລັ��ຫລ� widget ..."
},
lv: {
animationAccess: "captcha logrīka ielāde ..."
},
lt: {
animationAccess: "â??captchaâ?? valdiklis įkeliamas ..."
},
ms: {
animationAccess: "widget captcha loading ..."
},
mr: {
animationAccess: "��प्�ा वि��� ल�ड �र�त �ह� ..."
},
ml: {
animationAccess: "à´?്യാപ്â??à´? വിà´?റ്റ് à´²àµ?à´¡à´¿à´?à´?് ..."
},
mn: {
animationAccess: "captcha виджеÑ?ийг аÑ?аалж байна ..."
},
no: {
animationAccess: "captcha widget lastes inn ..."
},
fa: {
animationAccess: "در حاÙ? بارگÛ?رÛ? Ù?Û?جت captcha ..."
},
pl: {
animationAccess: "widget captcha Å?adowanie ..."
},
pt: {
animationAccess: "widget captcha loading ..."
},
ro: {
animationAccess: "captcha widget se încarcÄ? ..."
},
ru: {
animationAccess: "загÑ?Ñ?зка виджеÑ?а с каÑ?Ñ?инки"
},
sr: {
animationAccess: "Ñ?Ñ?иÑ?аваÑ?е видгеÑ?а Ñ?апÑ?Ñ?Ñ?а ..."
},
si: {
animationAccess: "�ැප�චා ��ජට� පැට��ම ..."
},
sk: {
animationAccess: "načítavanie widgetu captcha ..."
},
sl: {
animationAccess: "captcha widget nalaganje ..."
},
es: {
animationAccess: "widget de captcha cargando ..."
},
sw: {
animationAccess: "upakiaji wa vilivyoandikwa ..."
},
sv: {
animationAccess: "captcha widget laddar ..."
},
ta: {
animationAccess: "��ப்�்�ா வி�்���் ஏற்றுதல் ..."
},
te: {
animationAccess: "�్యాప్�ా విడ్���్ ల�డి��్ ..."
},
th: {
animationAccess: "กำลั��หล�วิ����� captcha ..."
},
tr: {
animationAccess: "captcha widget&#39;ı yükleniyor ..."
},
uk: {
animationAccess: "заванÑ?аження вÑ?джеÑ?а captcha ..."
},
ur: {
animationAccess: "Ú©Û?Ù¾Ú?ا Ù?Û?جÛ?Ù¹ Ù?Ù?Ú? ہÙ? رہا ہÛ?â?¦"
},
vi: {
animationAccess: "tải widget captcha ..."
},
zu: {
animationAccess: "Iwijethi ye-Captcha ..."
},
cy: {
animationAccess: "llwytho teclyn captcha ..."
},
gd: {
animationAccess: "luchdaich widget captcha ..."
},
ga: {
animationAccess: "luchtú giuirléid captcha ..."
},
nb: {
animationAccess: "Captcha-widget laster inn ..."
}
}
}, u.lang.ariaText.nn = u.lang.ariaText.nb, u.lang.ariaText.nob = u.lang.ariaText.nb, u.lang.ariaText.nno = u.lang.ariaText.nb, u.conf = {
defaultConfig: {
sitekey: "",
widgetSize: "standard",
theme: "basic",
lang: "en",
challengeType: "standard",
enableTestMode: "",
customStyle: {},
customLangText: {},
action: "",
renderQueue: [],
domId: "",
autoFormValidate: !1,
autoFadeOuterText: !1,
loadAnimation: !0,
loadAnimationDotColor: "rgba(0, 0, 0, 0.22)",
render: "auto",
waitForDom: 125,
textLength: 0,
lowFrictionInvisible: "",
testmode_lowFrictionInvisible: "",
enableMouseFlow: !1,
miniFormWidth: 0,
miniFormHeight: 45,
cardBorderRadius: 0,
"loaded-callback": function(e) {},
"rendered-callback": function(e) {},
"verified-callback": function(e) {},
"verifyexpired-callback": function(e) {},
"error-callback": function(e) {}
},
defaultMiniConfig: {
sitekey: "",
widgetSize: "mini",
theme: "basic",
lang: "en",
challengeType: "standard",
enableTestMode: "",
customStyle: {},
customLangText: {},
action: "",
renderQueue: [],
domId: "",
autoFormValidate: !1,
autoFadeOuterText: !0,
loadAnimation: !0,
loadAnimationDotColor: "rgba(0, 0, 0, 0.22)",
render: "auto",
waitForDom: 125,
textLength: 0,
lowFrictionInvisible: "",
testmode_lowFrictionInvisible: "",
enableMouseFlow: !1,
miniFormWidth: 0,
miniFormHeight: 45,
cardBorderRadius: 0,
"loaded-callback": function(e) {},
"rendered-callback": function(e) {},
"verified-callback": function(e) {},
"verifyexpired-callback": function(e) {},
"error-callback": function(e) {}
},
errorCardStyle: {
errorCardMini: "min-width: 259px; max-width: 600px; height : auto; background: rgb(255, 81, 81); box-shadow: rgba(0, 0, 0, 0.17) 1px 1px 3px 1px; overflow: hidden; display: none; border: 1px solid rgb(251, 251, 251); width: calc(100% - 5px); width: -moz-calc(100% - 5px); width: -webkit-calc(100% - 5px); width: -o-calc(100% - 5px);",
mtcapAlertMini: "margin: 4px;",
mtcapAlertImgMini: "max-width: 25px;float: left;margin-right: 20px;filter: invert(1);",
mtcapAlertMsgMini: "display: block;font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif';font-size: 75%;color: white; width: calc(100% - 100px); float:left; text-align:left;margin-right:10px; padding-bottom:7px",
errorBlockMini: "margin: 2px;",
errorCodeMini: "opacity: 0.5;font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif';font-size: 75%;color: white; padding: 10px;",
mtcapAlertBtnMini: "width: 45px;padding: 0px;float: right;font-size: 90%;margin: 0;border-radius: 5px;outline: 0;background-color: white;color: red; margin-bottom: 5px; display: block; float:left"
},
bind: function(e) {
var t = document.getElementById("mtcap-alert-btn-" + e.counter),
a = document.getElementById("mtcap-error-card-" + e.counter),
n = document.getElementById("mtcap-alert-msg-" + e.counter);
t.addEventListener ? (a.addEventListener("focus", function() {
u.util.updateErrorCardHeight(a, n)
}), a.addEventListener("blur", function() {
a.style.height = e.miniFormHeight - 4
}), a.addEventListener("mouseenter", function() {
u.util.updateErrorCardHeight(a, n)
}), a.addEventListener("mouseleave", function() {
a.style.height = e.miniFormHeight - 4
})) : t.attachEvent && (a.attachEvent("focus", function() {
a.style.height = ""
}), a.attachEvent("blur", function() {
a.style.height = e.miniFormHeight - 6
}), a.attachEvent("mouseenter", function() {
a.style.height = ""
}), a.attachEvent("mouseleave", function() {
a.style.height = e.miniFormHeight - 6
}))
},
overlayConfig: function(e, t) {
var a, n = !1;
e.widgetSize == u.constant.mini && (n = !0), void 0 !== t && void 0 !== t.widgetSize && (t.widgetSize == u.constant.mini ? n = !0 : t.widgetSize == u.constant.standard && (n = !1)), a = n ? u.util.assign(this.defaultMiniConfig) : u.util.assign(this.defaultConfig);
var i = this.confCheck(e);
return u.conf.overlapConfHighToLow(a, i), void 0 !== t && 0 !== Object.keys(t).length && u.conf.overlapConfHighToLow(a, t), a
},
confCheck: function(e) {
var t = "";
if (e.sitekey && (t = /^[0-9A-Za-z-\_]+[0-9A-Za-z-\_]*$/g, e.sitekey = e.sitekey.trim(), t.test(e.sitekey) ? 120 < e.sitekey.length && (e.sitekey = this.defaultConfig.sitekey, u.log.warn("Entered characters in sitekey exceeds maximum allowed characters limit of 120")) : (e.sitekey = this.defaultConfig.sitekey, u.log.warn("Entered invalid characters in sitekey"))), e.enableTestMode && ((t = /^[0-9A-Za-z-\_]+[0-9A-Za-z-\_]*$/g).test(e.enableTestMode) ? 120 < e.enableTestMode.length && (e.enableTestMode = this.defaultConfig.enableTestMode, u.log.warn("Entered characters in enableTestMode exceeds maximum allowed characters limit of 120")) : (e.enableTestMode = this.defaultConfig.enableTestMode, u.log.warn("Entered invalid characters in enableTestMode"))), e.theme && ((t = /^[0-9A-Za-z-\_]+[0-9A-Za-z-\_]*$/g).test(e.theme) ? 30 < e.theme.length && (e.theme = this.defaultConfig.theme, u.log.warn("Entered characters in theme exceeds maximum allowed characters limit of 30")) : (e.theme = this.defaultConfig.theme, u.log.warn("Entered invalid characters in theme"))), e.domId && ((t = /^[0-9A-Za-z-\_,]+[0-9A-Za-z-\_,]*$/g).test(e.domId) ? 90 < e.domId.length && (e.domId = this.defaultConfig.domId, u.log.warn("Entered characters in domId exceeds maximum allowed characters limit of 90")) : (e.domId = this.defaultConfig.domId, u.log.warn("Entered invalid characters in domId"))), e.challengeType && ((t = /^[A-Za-z]+[A-Za-z]*$/g).test(e.challengeType) ? 120 < e.challengeType.length && (e.challengeType = this.defaultConfig.challengeType, u.log.warn("Entered characters in challengeType exceeds maximum allowed characters limit of 30")) : (e.challengeType = this.defaultConfig.challengeType, u.log.warn("Entered invalid characters in challengeType"))), e.autoFormValidate && ((t = /^[A-Za-z]+[A-Za-z]*$/g).test(e.autoFormValidate) ? 5 < e.autoFormValidate.length ? (e.autoFormValidate = this.defaultConfig.autoFormValidate, u.log.warn("Entered characters in autoFormValidate exceeds maximum allowed characters limit of 5")) : "true" == e.autoFormValidate ? e.autoFormValidate = !0 : "false" == e.autoFormValidate ? e.autoFormValidate = !1 : "boolean" != typeof e.autoFormValidate && (e.autoFormValidate = this.defaultConfig.autoFormValidate, u.log.warn("autoFormValidate can either only be true or false")) : (e.autoFormValidate = this.defaultConfig.autoFormValidate, u.log.warn("Entered invalid characters in autoFormValidate"))), e.autoFadeOuterText && ((t = /^[A-Za-z]+[A-Za-z]*$/g).test(e.autoFadeOuterText) ? 5 < e.autoFadeOuterText.length && (e.autoFadeOuterText = this.defaultConfig.autoFadeOuterText, u.log.warn("Entered characters in autoFadeOuterText exceeds maximum allowed characters limit of 5")) : (e.autoFadeOuterText = this.defaultConfig.autoFadeOuterText, u.log.warn("Entered invalid characters in autoFadeOuterText"))), e.loadAnimation && ((t = /^[A-Za-z]+[A-Za-z]*$/g).test(e.loadAnimation) ? 5 < e.loadAnimation.length ? (e.loadAnimation = this.defaultConfig.loadAnimation, u.log.warn("Entered characters in loadAnimation exceeds maximum allowed characters limit of 5")) : "true" == e.loadAnimation ? e.loadAnimation = !0 : "false" == e.loadAnimation ? e.loadAnimation = !1 : "boolean" != typeof e.loadAnimation && (e.loadAnimation = this.defaultConfig.loadAnimation, u.log.warn("loadAnimation can either only be true or false")) : (e.loadAnimation = this.defaultConfig.loadAnimation, u.log.warn("Entered invalid characters in loadAnimation"))), e.render && ((t = /^[A-Za-z]+[A-Za-z]*$/g).test(e.render) ? 30 < e.render.length ? (e.render = this.defaultConfig.render, u.log.warn("Entered characters in render exceeds maximum allowed characters limit of 30")) : "auto" !== e.render && "explicit" !== e.render && (e.render = this.defaultConfig.render, u.log.warn("render can only be `explicit` or `auto`")) : (e.render = this.defaultConfig.render, u.log.warn("Entered invalid characters in render"))), e.action && ((t = /^[a-zA-Z0-9\-\_\.\,]*$/g).test(e.action) || (e.action = e.action.replace(/[^a-zA-Z0-9\-\_\.\,]/g, ""), u.log.warn("Entered invalid characters in action")), 30 < e.action.length && (e.action = e.action.substring(0, 30), u.log.warn("Entered characters in action exceeds maximum allowed characters limit of 30"))), (e.lang || u.util.isEmpty(e.lang)) && null != e.lang && ((t = /^[0-9A-Za-z-\_]+[0-9A-Za-z-\_]*$/g).test(e.lang) ? void 0 === u.lang.ariaText[e.lang] && (u.log.warn("Unsupported Language(" + e.lang + ")"), e.lang = this.defaultConfig.lang) : (e.lang = this.defaultConfig.lang, u.log.warn("Entered invalid characters in lang"))), e.textLength && ((t = /^[0-9]+[0-9]*$/g).test(e.textLength) || (e.textLength = this.defaultConfig.textLength, u.log.warn("Entered invalid characters in textLength"))), e.lowFrictionInvisible && ((t = /^[A-Za-z-]+[A-Za-z-]*$/g).test(e.lowFrictionInvisible) ? 30 < e.lowFrictionInvisible.length && (e.lowFrictionInvisible = this.defaultConfig.lowFrictionInvisible, u.log.warn("Entered characters in lowFrictionInvisible exceeds maximum allowed characters limit of 30")) : (e.lowFrictionInvisible = this.defaultConfig.lowFrictionInvisible, u.log.warn("Entered invalid characters in lowFrictionInvisible"))), e.testmode_lowFrictionInvisible && ((t = /^[A-Za-z-]+[A-Za-z-]*$/g).test(e.testmode_lowFrictionInvisible) ? 30 < e.testmode_lowFrictionInvisible.length && (e.testmode_lowFrictionInvisible = this.defaultConfig.testmode_lowFrictionInvisible, u.log.warn("Entered characters in testmode_lowFrictionInvisible exceeds maximum allowed characters limit of 30")) : (e.testmode_lowFrictionInvisible = this.defaultConfig.testmode_lowFrictionInvisible, u.log.warn("Entered invalid characters in testmode_lowFrictionInvisible"))), e.customStyle && (e.customStyle.loadAnimationDotColor || e.customStyle.loadAnimationBorderColor)) for (var a = ["loadAnimationDotColor", "loadAnimationBorderColor"], n = 0; n < a.length; n++) {
!(c = e.customStyle[a[n]]) || /^#[0-9A-F]{6}$/i.test(c) || /^(rgb)(a?)[(]\s*([\d.]+\s*%?)\s*,\s*([\d.]+\s*%?)\s*,\s*([\d.]+\s*%?)\s*(?:,\s*([\d.]+)\s*)?[)]$/.test(c) || (e.customStyle[a[n]] = this.defaultConfig.loadAnimationDotColor, u.log.warn("Entered characters in customStyle " + a[n] + " is not a valid color representation"))
}
if (e["jsloaded-callback"]) {
var i = !1;
"function" == typeof e["jsloaded-callback"] ? i = !0 : "string" == typeof e["jsloaded-callback"] && /^([a-zA-Z0-9\_\$]{1,})$/.test(e["jsloaded-callback"]) && (i = !0), i || (e["jsloaded-callback"] = this.defaultConfig["jsloaded-callback"], u.log.warn("Callback function is not valid"))
}
if (e["rendered-callback"]) {
i = !1;
"function" == typeof e["rendered-callback"] ? i = !0 : "string" == typeof e["rendered-callback"] && /^([a-zA-Z0-9\_\$]{1,})$/.test(e["rendered-callback"]) && (i = !0), i || (e["rendered-callback"] = this.defaultConfig["rendered-callback"], u.log.warn("Callback function is not valid"))
}
if (e["verified-callback"]) {
i = !1;
"function" == typeof e["verified-callback"] ? i = !0 : "string" == typeof e["verified-callback"] && /^([a-zA-Z0-9\_\$]{1,})$/.test(e["verified-callback"]) && (i = !0), i || (e["verified-callback"] = this.defaultConfig["verified-callback"], u.log.warn("Callback function is not valid"))
}
if (e["verifyexpired-callback"]) {
i = !1;
"function" == typeof e["verifyexpired-callback"] ? i = !0 : "string" == typeof e["verifyexpired-callback"] && /^([a-zA-Z0-9\_\$]{1,})$/.test(e["verifyexpired-callback"]) && (i = !0), i || (e["verifyexpired-callback"] = this.defaultConfig["verifyexpired-callback"], u.log.warn("Callback function is not valid"))
}
if (e["error-callback"]) {
i = !1;
"function" == typeof e["error-callback"] ? i = !0 : "string" == typeof e["error-callback"] && /^([a-zA-Z0-9\_\$]{1,})$/.test(e["error-callback"]) && (i = !0), i || (e["error-callback"] = this.defaultConfig["error-callback"], u.log.warn("Callback function is not valid"))
}
if (e.renderQueue) if (u.util.isArray(e.renderQueue)) {
for (var o = !1, r = 0; r < e.renderQueue.length; r++)(t = /^[0-9A-Za-z-\_\,\.]+[0-9A-Za-z-\_\,\.]*$/g).test(e.renderQueue[r]) ? 90 <= e.renderQueue[r].length && (o = !(e.renderQueue[r] = ""), u.log.warn("Maximum allowed renderQueue id is 90 characters")) : o = !0;
o && (e.renderQueue = this.defaultConfig.renderQueue, u.log.warn("Entered invalid characters in renderQueue"))
} else e.renderQueue = this.defaultConfig.renderQueue, u.log.warn("'renderQueue' must be array of dom id's");
if (e.customStyle) if (u.util.isObject(e.customStyle)) {
for (o = !1, r = 0; r < Object.keys(e.customStyle).length; r++) {
t = /^[0-9A-Za-z_\#\-\'\(\)\.\,\s\%]+[0-9A-Za-z_\#\-\'\(\)\.\,\s\%]*$/g;
var c = e.customStyle[Object.keys(e.customStyle)[r]];
if (u.util.isString(c)) t.test(c) ? 90 < c.length && (u.log.warn("Maximum allowed customStyle value is 90 characters"), c = c.substring(0, 90)) : o = !0;
else if (u.util.isObject(c)) for (var l = 0; l < Object.keys(c).length; l++) u.util.isString(c[Object.keys(c)[l]]) ? (t = /^[0-9A-Za-z_\#\-\'\(\)\.\,\s\%]+[0-9A-Za-z_\#\-\'\(\)\.\,\s\%]*$/g).test(c[Object.keys(c)[l]]) ? 90 < c[Object.keys(c)[l]].length && (u.log.warn("Maximum allowed customStyle value is 90 characters"), c[Object.keys(c)[l]] = c[Object.keys(c)[l]].substring(0, 90)) : o = !0 : u.util.isBolean(c) || (o = !0);
else u.util.isBolean(c) || (o = !0)
}
o && (e.customStyle = this.defaultConfig.customStyle, u.log.warn("Entered invalid characters in customStyle"))
} else e.customStyle = this.defaultConfig.customStyle, u.log.warn("Entered invalid characters in customStyle");
if (e.customLangText) if (u.util.isObject(e.customLangText)) {
for (o = !1, r = 0; r < Object.keys(e.customLangText).length; r++) {
var d = e.customLangText[Object.keys(e.customLangText)[r]];
if (u.util.isObject(d)) {
var s = Object.keys(d);
for (l = 0; l < s.length; l++) {
var m = d[s[l]];
u.util.isString(m) ? 90 < m.length ? (u.log.warn("Maximum allowed customLangText value is 90 characters"), d[s[l]] = m.replace(/</g, "").replace(/>/g, "").replace(/\//g, "").substring(0, 90)) : d[s[l]] = m.replace(/</g, "").replace(/>/g, "").replace(/\//g, "") : o = !0
}
} else o = !0
}
o && (e.customLangText = this.defaultConfig.customLangText, u.log.warn("Entered invalid characters in customLangText"))
} else e.customLangText = this.defaultConfig.customLangText, u.log.warn("Entered invalid characters in customLangText");
return e.miniFormWidth && (e.miniFormWidth = parseInt(e.miniFormWidth), isNaN(e.miniFormWidth) ? (u.log.warn("Entered characters for miniFormWidth should only be of numbers, within a range of 265 - 600"), e.miniFormWidth = this.defaultMiniConfig.miniFormWidth) : (e.miniFormWidth < u.constant.minMiniWidth || e.miniFormWidth > u.constant.maxMiniWidth) && (u.log.warn("Entered Width Value should be in range of 265 - 600"), e.miniFormWidth = this.defaultMiniConfig.miniFormWidth)), e.miniFormHeight && (e.miniFormHeight = parseInt(e.miniFormHeight), isNaN(e.miniFormHeight) ? (u.log.warn("Entered characters for miniFormHeight should only be of numbers, within a range of 42 - 55"), e.miniFormHeight = this.defaultMiniConfig.miniFormHeight) : (e.miniFormHeight < u.constant.minMiniHeight || e.miniFormHeight > u.constant.maxMiniHeight) && (u.log.warn("Entered Height Value should be in range of 42 - 55"), e.miniFormHeight = this.defaultMiniConfig.miniFormHeight)), e
},
overlapConfHighToLow: function(e, t) {
for (var a in e) if (void 0 !== t[a]) if ("function" == typeof e[a] && "string" == typeof t[a]) {
var n = t[a] + "";
e[a] = u.conf.executeCallbackFunctionByName(n, a)
} else e[a] = t[a]
},
getDomConfFromElementAttrs: function(e) {
var t = {};
for (var a in delete(t = d.widgetSize == u.constant.mini ? u.util.assign(this.defaultMiniConfig) : u.util.assign(this.defaultConfig)).domId, delete t.customLangText, delete t.render, delete t.waitForDom, t) {
var n = e.getAttribute("data-" + a),
i = typeof t[a];
if (null == n || "" == n) delete t[a];
else if ("string" == i) t[a] = n;
else if ("number" == i) n = parseInt(n), isNaN(n) ? u.log.warn("Entered the invalid number for data-" + a) : t[a] = n;
else if ("boolean" == i) "true" == (n = n.toLowerCase()) || "t" == n || "1" == n || !0 === n ? t[a] = !0 : "false" == n || "f" == n || "0" == n || !1 === n ? t[a] = !1 : u.log.warn("Entered the invalid boolean value for data-" + a);
else if ("object" == i) try {
n.replace(/[\']/g, '"'), n = JSON.parse(n), t[a] = n
} catch (e) {
u.log.warn(e + " for data-" + a)
} else "function" == i && (t[a] = u.conf.executeCallbackFunctionByName(n, null))
}
return t
},
executeCallbackFunctionByName: function(o, r) {
return function(e) {
for (var t = o.split("."), a = t.pop(), n = window, i = 0; i < t.length; i++) {
if ("object" != typeof n[t[i]]) {
n = null;
break
}
n = n[t[i]]
}
null !== n && "function" == typeof n[a] ? n[a](e) : u.log.warn("Unable to find callback function by name: '" + o + "' for " + r)
}
}
}, u.widget = {
bodyLoadedTS: -1,
tryRenderPendingQueue: function() {
if (!(m.length < 1)) {
for (var e = m, t = !0, a = 0; a < e.length; a++) {
var n = e[a],
i = n.name,
o = n.config,
r = u.util.getDOM(i);
if (null != r) {
if (i = "class:mtcaptcha" == i ? "mtcaptcha" : i, u.util.isAlreadyLoadedMTCap(i, r)) u.log.warn("Captcha Already Rendered");
else {
var c = u.conf.getDomConfFromElementAttrs(r);
s[i] = u.conf.overlayConfig(o, c), u.util.isHideLoaderForBackCompat(s[i].sitekey) && (null == o.loadAnimation && (s[i].loadAnimation = !1), null != c.loadAnimation && (s[i].loadAnimation = c.loadAnimation)), r && (0 < r.getElementsByClassName("mtcaptcha-loadanimation").length || r.querySelector("#mtcaptcha-loadanimation")) && (s[i].loadAnimation = !1), u.widget.doRender(i, r)
}
m.splice(a, 1)
} else t = !1
}
if (!t) if (0 < d.waitForDom || 0 < u.conf.defaultConfig.waitForDom) {
var l = Date.now();
u.widget.bodyLoadedTS < 1 && "complete" === document.readyState && (u.widget.bodyLoadedTS = l), (u.widget.bodyLoadedTS < 1 || u.widget.bodyLoadedTS + 1e3 * (d.waitForDom || u.conf.defaultConfig.waitForDom) > l) && setTimeout(u.widget.tryRenderPendingQueue, 330)
} else u.util.domNtFound("DOM not found")
}
},
doRender: function(t, e) {
if (s[t].widgetInstance = t, s[t].counter = ++l, s[t].domElement = e, !u.util.isValidSitekey(s[t].sitekey)) return s[t].sCode = 2402, void s[t]["error-callback"](u.util.constructStatus(s[t], "Bad SiteKey"));
if (e.querySelector("#mtcaptcha-loadanimation") || 0 < e.getElementsByClassName("mtcaptcha-loadanimation").length) for (var a = 0; a < e.childNodes.length; a++) "mtcaptcha-loadanimation" != e.childNodes[a].className && "mtcaptcha-loadanimation" != e.childNodes[a].id && e.childNodes[a].parentNode.removeChild(e.childNodes[a]);
else e.innerHTML = "";
if (u.util.isCookieEnabled()) {
e.setAttribute("mtcapwid", s[t].widgetInstance + "-" + s[t].counter);
var n = u.util.findParentElement(e, "form");
s[t].autoFormValidate && (null !== n ? u.UI.attachFormValidateEvent(n, t) : u.log.warn("Captcha implemented outside of form, Auto Validation on submit cannot be done")), s[t].custom = 0 < Object.keys(s[t].customLangText).length || 0 < Object.keys(s[t].customStyle).length, u.UI.generateIframe(t)
} else if (e.innerHTML = "", s[t].widgetSize == u.constant.mini) {
u.util.constructMiniErrorCard(t, "Your browser has cookies disabled. Make sure your cookies are enabled and try again.", u.UI.onCookiesClick, 2), u.conf.bind(s[t]), document.getElementById("mtcap-error-card-" + s[t].counter).style.display = "block";
var i = {
height: s[t].miniFormHeight,
maxW: u.constant.maxMiniWidth,
minW: u.constant.minMiniWidth,
width: s[t].miniFormWidth ? s[t].miniFormWidth : "100%"
};
u.util.updateUI(t, i), document.getElementById("mtcap-error-card-" + s[t].counter).style.position = "static", document.getElementById("mtcap-error-card-" + s[t].counter).style.marginBottom = "10px"
} else {
var o = document.createElement("iframe"),
r = "https://" + h + "/mtcv1/client/cookie.html?v=2021-07-21.20.19.18",
c = document.createElement("link");
c.rel = "stylesheet", c.type = "text/css", c.href = "./css/fallback.min.css?v=2021-07-21.20.19.18", u.util.setAttributes(o, {
style: " width:100%; height:182px; border: 0;padding: 0;margin: 0;background: transparent;",
src: r,
title: "mtcaptcha"
}), e.appendChild(o), o.addEventListener("load", function() {
var e = u.util.getIframeDoc(o);
e.head.appendChild(c), e.getElementById("mtcap-cookie").addEventListener("click", function() {
mtcaptcha.renderUI(t, mtcaptcha.getConfiguration(t))
})
}, !1)
}
}
}, u.util = {
isBolean: function(e) {
return "boolean" == typeof e
},
isEmpty: function(e) {
return null == e || 0 === e.length
},
isString: function(e) {
return "string" == typeof e
},
isObject: function(e) {
return "object" == typeof e
},
isArray: function(e) {
return "[object Array]" === Object.prototype.toString.call(e)
},
iterationCopy: function(e) {
var t = {};
for (var a in e) e.hasOwnProperty(a) && (t[a] = e[a]);
return t
},
append: function(e, t, a, n) {
var i = document.createElement(e),
o = document.getElementById(a) ? document.getElementById(a) : document.getElementsByClassName("mtcaptcha")[0];
return this.setAttributes(i, t), null != n && (i.innerHTML = n), o.appendChild(i), this
},
addEvent: function(e, t, a) {
null != e && void 0 !== e && (e.addEventListener ? e.addEventListener(t, a, !1) : e.attachEvent ? e.attachEvent("on" + t, a) : e["on" + t] = a)
},
addToStyleSheet: function(e) {
var t = document.createElement("style");
t.styleSheet ? t.styleSheet.cssText = e : t.appendChild(document.createTextNode(e)), (document.getElementsByTagName("head")[0] || document.getElementsByTagName("body")[0]).appendChild(t)
},
updateErrorCardHeight: function(e, t) {
2 < t.scrollHeight - e.clientHeight && (e.style.height = t.scrollHeight + 3)
},
getService_domain: function(e) {
var t = e.split(","),
a = o.host;
return -1 != t.indexOf(a) ? a : t[0]
},
setServiceDomain: function() {
h = this.getService_domain("service.mtcaptcha.com")
},
findParentElement: function(e, t, a) {
var n = e.parentNode;
for (null == a && (a = "body"); !u.util.selectorMatches(n, a) && !u.util.selectorMatches(n, t);) n = n.parentNode;
return u.util.selectorMatches(n, a) && (n = null), n
},
getIframeDoc: function(e) {
var t = e.document;
return e.contentDocument ? t = e.contentDocument : e.contentWindow && (t = e.contentWindow.document), t
},
selectorMatches: function(e, t) {
var a = Element.prototype;
return (a.matches || a.webkitMatchesSelector || a.mozMatchesSelector || a.msMatchesSelector || function(e) {
return -1 !== Array.prototype.indexOf.call(document.querySelectorAll(e), this)
}).call(e, t)
},
IsJsonString: function(e) {
try {
JSON.parse(e)
} catch (e) {
return !1
}
return !0
},
domNtFound: function(e) {
u.log.error(e);
var t = u.util.constructStatus({
sCode: 2400
}, e);
void 0 !== d && void 0 !== d["error-callback"] && u.util.executeCallbackBeforeRender("error-callback", t)
},
constructStatus: function(e, t, a) {
var n = {};
return void 0 !== e && (n.element = null != e.widgetInstance ? u.util.getDOM(e.widgetInstance) : null, n.domID = e.widgetInstance || "", n.statusCode = e.sCode || a || 0, n.verifiedToken = 2100 == e.sCode ? e.verifiedToken : null, n.isVerified = 2100 == e.sCode, n.statusDesc = t || ""), n
},
constructMiniErrorCard: function(e, t, a, n) {
var i = document.querySelector("#mtcap-error-card-" + s[e].counter);
null != i && i.parentNode.removeChild(i);
var o = document.createElement("div");
if (u.util.setAttributes(o, {
style: u.conf.errorCardStyle.errorCardMini,
id: "mtcap-error-card-" + s[e].counter
}), o.style.borderRadius = s[e].customStyle.cardBorderRadius + "px", s[e].domElement.appendChild(o), u.util.append("div", {
style: u.conf.errorCardStyle.mtcapAlertMini,
id: "mtcap-alert-" + s[e].counter
}, "mtcap-error-card-" + s[e].counter), 1 == n ? u.util.append("img", {
style: u.conf.errorCardStyle.mtcapAlertImgMini,
id: "mtcap-alert-img-" + s[e].counter,
src: u.asserts.alrtImg,
alt: "alert image"
}, "mtcap-alert-" + s[e].counter) : 2 == n ? u.util.append("img", {
style: u.conf.errorCardStyle.mtcapAlertImgMini,
id: "mtcap-alert-img-" + s[e].counter,
src: u.asserts.error,
alt: "alert image"
}, "mtcap-alert-" + s[e].counter) : u.util.append("img", {
style: u.conf.errorCardStyle.mtcapAlertImgMini,
id: "mtcap-alert-img-" + s[e].counter,
src: u.asserts.alrtImg,
alt: "alert image"
}, "mtcap-alert-" + s[e].counter), u.util.append("div", {
style: u.conf.errorCardStyle.mtcapAlertMsgMini,
id: "mtcap-alert-msg-" + s[e].counter,
"aria-live": "assertive",
"aria-invalid": "true",
tabindex: "0"
}, "mtcap-alert-" + s[e].counter, t), u.util.append("input", {
style: u.conf.errorCardStyle.mtcapAlertBtnMini,
id: "mtcap-alert-btn-" + s[e].counter,
type: "button",
value: "OK"
}, "mtcap-error-card-" + s[e].counter), a) {
var r = document.getElementById("mtcap-alert-btn-" + s[e].counter);
r.addEventListener ? r.addEventListener("click", function() {
a(s[e])
}) : r.attachEvent && r.attachEvent("click", function() {
a(s[e])
})
}
},
isCookieEnabled: function() {
var e = !! navigator.cookieEnabled;
return void 0 !== navigator.cookieEnabled || e || (document.cookie = "mtcapTestCookie; secure; httponly", e = -1 != document.cookie.indexOf("mtcapTestCookie")), !0
},
jsonToURLParameter: function(e, t) {
var a = "";
for (var n in e) {
var i = e[n];
a += encodeURIComponent(n) + "=" + encodeURIComponent(i) + "&"
}
return 0 < a.length && (a = a.substring(0, a.length - 1)), t + "?" + a
},
validateSelector: function(e) {
if (void 0 === e || "" == e) e = Object.keys(s)[0];
else if ("string" != typeof e) return void u.util.domNtFound("Invalid Selector Passed");
return void 0 !== e && (e = u.util.cleanXSSVulnerableString(e)), e
},
assign: function(e) {
var t = JSON.parse(JSON.stringify(e, function(e, t) {
return "function" == typeof t ? t.toString() : t
}));
for (var a in t) "string" == typeof t[a] && 0 <= t[a].indexOf("function") && (t[a] = function() {
return t[a]
});
return t
},
setIframeDimension: function(e, t) {
var a = e.widgetSize == u.constant.mini ? {
width: "100%",
height: parseInt(e.miniFormHeight) + 19 + "px"
} : {
width: "100%",
height: "178px"
};
this.setAttributes(t, a)
},
setAttributes: function(e, t) {
for (var a in t) e.setAttribute(a, t[a])
},
getObject: function(e) {
if (void 0 !== s[e]) return s[e]
},
isValidSitekey: function(e) {
var t = !0;
return "" === e || null == e ? (u.log.error("Missing Required Parameter: sitekey"), t = !1) : 200 < e.length && (u.log.error("Sitekey Provided is Invalid"), t = !1), t
},
getDOM: function(e) {
var t = null;
return "class:mtcaptcha" == e || "mtcaptcha" == e ? t = document.getElementsByClassName("mtcaptcha")[0] : null != document.getElementById(e) && (t = document.getElementById(e)), t
},
executeCallbackBeforeRender: function(e, t) {
"string" == typeof d[e] ? u.conf.executeCallbackFunctionByName(d[e], null)(t) : "function" == typeof d[e] ? d[e]() : u.log.warn("Unable to execute the callback - Please pass mtcaptchaConfig.jsloaded-callback with function name or function type")
},
isAlreadyLoadedMTCap: function(e, t) {
var a = !1;
return s.hasOwnProperty(e) && t.hasAttribute("mtcapwid") && (a = !0), a
},
isHideLoaderForBackCompat: function(e) {
var t = u.hash.md5(e);
return -1 < u.siteKeyHashs.indexOf(t)
},
cleanXSSVulnerableString: function(e) {
return e = (e = e.replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/\//g, "")).replace(/"/g, " ").replace(/'/g, " ").replace(/{/g, "").replace(/}/g, "")
},
getFixPositionOfDom: function(e) {
var t = e.getBoundingClientRect(),
a = window.pageXOffset || document.documentElement.scrollLeft,
n = window.pageYOffset || document.documentElement.scrollTop;
return {
top: t.top + n,
left: t.left + a
}
},
getBorderOfWidget: function(e) {
if (e.customStyle.cardBorder) {
var t = e.customStyle.cardBorder.split(" ");
if (3 !== t.length) return 0;
var a = parseInt(t[0].match(/-?\d+/));
return isNaN(a) ? 0 : (a > u.constant.miniMaxBorderWidth ? a = u.constant.miniMaxBorderWidth : a < u.constant.miniMinBorderWidth && (a = u.constant.miniMinBorderWidth), Number(a) - u.constant.miniMinBorderWidth)
}
return 0
},
updateUI: function(e, t) {
var a = u.util.getObject(e);
a.domElement.style.position = "relative";
var n = this.getBorderOfWidget(a),
i = document.getElementById(a.iframeInstanceid),
o = document.getElementById("mtcap-error-card-" + a.counter),
r = document.getElementById("mtcap-alert-btn-" + a.counter),
c = document.getElementById("mtcap-alert-img-" + a.counter);
o.style.top = i.offsetTop + (n + 2) + "px", o.style.left = i.offsetLeft + (n + 2) + "px", o.style.zIndex = "5", 1 == t.errorType ? c.src = u.asserts.alrtImg : 2 == t.errorType && (c.src = u.asserts.error), a.miniFormWidth && (o.style.width = a.miniFormWidth - 3 + "px"), o.style.height = t.height - 3 + "px", o.style.position = "absolute", void 0 !== t.errorMsg && (o.style.display = "block", document.getElementById("mtcap-alert-msg-" + a.counter).innerHTML = t.errorMsg), o.removeEventListener("focus", function() {}), o.removeEventListener("blur", function() {}), o.removeEventListener("mouseenter", function() {}), o.removeEventListener("mouseleave", function() {}), o.addEventListener("focus", function() {
2 < o.scrollHeight - t.height && (o.style.height = "auto")
}), o.addEventListener("blur", function() {
o.style.height = t.height - 3 + "px"
}), o.addEventListener("mouseenter", function() {
2 < o.scrollHeight - t.height && (o.style.height = "auto")
}), o.addEventListener("mouseleave", function() {
o.style.height = t.height - 3 + "px"
}), t.showPlainCard && (r.style.display = "none")
},
writeInIframe: function(e, t) {
e && (e.open(), e.writeln(t), e.close())
}
}, u.interface = {
postMessage: function(e, t, a) {
try {
var n = {
mtcap: 2,
widgetInstance: e.widgetInstance,
event: t,
eventinfo: a
}, i = document.getElementById(e.iframeInstanceid);
n = JSON.stringify(n), i.contentWindow.postMessage(n, "https://" + h)
} catch (e) {
u.log.warn(e)
}
},
postCustomConfigToIframe: function(e) {
var t = {};
0 < Object.keys(e.customLangText).length && (t.customLangText = e.customLangText), 0 < Object.keys(e.customStyle).length && (t.customStyle = e.customStyle), this.postMessage(e, "setConfigCustom", t)
}
}, u.UI = {
onCookiesClick: function(e) {
mtcaptcha.renderUI(e.widgetInstance, mtcaptcha.getConfiguration(e.widgetInstance))
},
onAPIErrorClick: function(e) {
var t = document.getElementById("mtcap-error-card-" + e.counter);
u.interface.postMessage(e, "errorCardClicked", {
msg: e.widgetInstance
}), t.style.display = "none"
},
renderUI: function(e, t) {
u.util.isEmpty(t) && (t = d), u.util.isEmpty(e) && (e = d.domId || "class:mtcaptcha"), u.util.isString(e) && (e = u.util.cleanXSSVulnerableString(e)), !u.util.isEmpty(e) && u.util.isString(e) ? ("object" != typeof t && null == t && null == t && (t = {}), m.push({
name: e,
config: t
}), u.widget.tryRenderPendingQueue()) : u.util.domNtFound("Invalid Selector Passed to render the captcha")
},
renderDefaultAnimation: function(e) {
var t = u.util.getObject(e);
if (t.loadAnimation) {
var a, n, i, o, r, c;
o = t.customStyle.loadAnimationDotColor ? t.customStyle.loadAnimationDotColor : u.conf.defaultConfig.loadAnimationDotColor, r = t.customStyle.loadAnimationBorderColor ? t.customStyle.loadAnimationBorderColor : u.conf.defaultConfig.loadAnimationDotColor, c = t.customStyle.cardBorderRadius ? t.customStyle.cardBorderRadius : u.conf.defaultConfig.cardBorderRadius, a = document.createElement("div"), i = document.createElement("div"), n = document.createElement("iframe"), u.util.setAttributes(a, {
id: "mtcaptcha-animation-" + s[e].counter,
tabindex: "-1"
}), u.util.setAttributes(i, {
id: "mtcaptcha-animation-div-" + s[e].counter,
tabindex: "0",
title: u.lang.ariaText[t.lang].animationAccess,
"aria-label": u.lang.ariaText[t.lang].animationAccess,
role: "form"
}), u.util.setAttributes(n, {
id: "mtcaptcha-animation-frame-" + s[e].counter,
tabindex: "-1"
}), n.style.border = "none", n.scrolling = "no";
var l = t.widgetSize == u.constant.mini ? {
width: t.miniFormWidth ? t.miniFormWidth : "100%",
height: t.miniFormHeight
} : {
width: "100%",
height: "125px"
};
u.util.setAttributes(n, l), i.style.border = "1px solid " + r;
var d = "";
i.style.width = n.width + "px", t.widgetSize == u.constant.mini ? (i.style.maxWidth = u.constant.maxMiniWidth + "px", i.style.minWidth = u.constant.minMiniWidth + "px", i.style.minHeight = u.constant.minMiniHeight + "px", i.style.maxHeight = u.constant.maxMiniHeight + "px", i.style.borderRadius = c + "px", a.style.paddingBottom = u.constant.miniPaddingbottom + "px", i.style.height = parseInt(n.height) - 2 + "px") : (i.style.maxWidth = u.constant.maxStdWidth + "px", i.style.minWidth = u.constant.minStdWidth + "px", i.style.minHeight = u.constant.minStdHeight + "px", a.style.paddingTop = u.constant.stdPaddingTop + "px", a.style.paddingBottom = u.constant.stdPaddingBottom + "px", i.style.height = n.height + "px"), a.appendChild(i), i.appendChild(n), s[e].domElement.appendChild(a), d += "<head><style>.mtcaptcha-loader-center{ height: 16px;overflow:visible;position: absolute;margin: auto;top: 0;left: 0;right: 0;bottom: 0;}.mtcaptcha-loader-dot-box{display:inline-block;position:relative;height: 10px;width: 10px;margin-right:2px;}.mtcaptcha-loader-dot {background-color: " + o + ";display:inline-block;height: 10px;width: 10px;border-radius: 50%;transform:scale(1.0); transform-origin: center;animation: mtcaptcha-loader-dot-kfs 0.6s linear infinite alternate;}#mtcaptcha-loader-dot1{ animation-delay: -0.4s;}#mtcaptcha-loader-dot2{ animation-delay: -0.2s;}#mtcaptcha-loader-dot3{ animation-delay: 0.0s;}@keyframes mtcaptcha-loader-dot-kfs {0% {transform:scale(0.55);}100% {transform:scale(1.0);}}</style></head>", d += '<body><div style="position:absolute; top:8px; right:13px;"><img style="width:16px; height:16px; opacity:0.7;" aria-hidden="true"src=\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHESURBVDhPxZLPSgJRFMbvjCk1UNBCd9EiEIICQacweoIWBUXQImjfojfQauE+6C16GHXrHxQRE3HlX9RRp+/MHC/jOGMLgz64c+757r2/OffMiH+TaZppDJ3TzQTQ0WQyMRCf2PKVynGt5vN5KpfLbWG6Yzv++hWIqqKVSuWx3W5TujkQ1aWz2WxgNptRqlnmGq0Forrjcrn80Ol0xHQ6JWszIKp6Re8CNGegvDJedogR51TKF4jNp6juvtvtWrkTiLUA8i+044Nyp3yBqC6Vz+fluuvKz/V6/azX6yUA32bPkieQq7tbVEdafBSsHQCUabVaApFgCVpYyBPIvVtaIyBgGq75Wa1Wd8kDkMIlPRZaAeJQrFgs3vJmKfgEvWw2mzfD4dDy+v0++euB6NUbeqdwKhUKhcRoNNprNBrs2FUPBoMLQCVnCYiFOKq7pje7peu6wIegH50dW7jJPsKJnbmAhmG8e1UXiUREOBwW9IO75e6jBKK680KhcIUrsGNLVVWRTCZFrVZjZ1meQGo4RrpUKimapgnniMVi1DuhKIoIBoMrgzQejyXQuh4DX3AoarnLoj3ONpgcnfrG2QzP/1JC/ABlTRDBqduKAwAAAABJRU5ErkJggg==\'/></div><div style = "text-align:center; vertical-align:middle " class="mtcaptcha-loader-center" aria-hidden="true" ><div style = "position:relative; left:5px; display:inline-block"><div class="mtcaptcha-loader-dot-box" ><div id="mtcaptcha-loader-dot1" class="mtcaptcha-loader-dot"></div></div><div class="mtcaptcha-loader-dot-box" ><div id="mtcaptcha-loader-dot2" class="mtcaptcha-loader-dot"></div></div><div class="mtcaptcha-loader-dot-box" ><div id="mtcaptcha-loader-dot3" class="mtcaptcha-loader-dot"></div></div></div></div></body></html>', u.util.writeInIframe(u.util.getIframeDoc(n), d)
}
},
removeAnimation: function(e) {
var t = u.util.getObject(e),
a = t.domElement.querySelector("#mtcaptcha-loadanimation"),
n = document.getElementById("mtcaptcha-animation-" + t.counter);
t.loadAnimation && n && n.parentNode.removeChild(n), a ? a.parentNode.removeChild(a) : t.domElement && 0 < t.domElement.getElementsByClassName("mtcaptcha-loadanimation").length && [].forEach.call(t.domElement.querySelectorAll(".mtcaptcha-loadanimation"), function(e) {
e.parentNode.removeChild(e)
})
},
resetUI: function(e) {
var t = Date.now();
if (null == e || null == e || "" == e) e = Object.keys(s)[0];
else {
if (!u.util.isString(e)) return void u.util.domNtFound("Invalid Selector Passed");
if (e = u.util.cleanXSSVulnerableString(e), !s.hasOwnProperty(e)) return void u.util.domNtFound("Invalid Selector Passed")
}
if (null == e) return u.log.warn("Unable to reset the captcha. No captcha is rendered for the id specified."), !1;
s[e].domElement.innerHTML = "", u.UI.generateIframe(e, t)
},
remove: function(e) {
if (null == e || null == e || "" == e) e = Object.keys(s)[0];
else {
if (!u.util.isString(e)) return void u.util.domNtFound("Invalid Selector Passed");
if (e = u.util.cleanXSSVulnerableString(e), !s.hasOwnProperty(e)) return void u.util.domNtFound("Invalid Selector Passed")
}
s[e].status.element.innerHTML = "", delete s[e]
},
focus: function(e) {
if (null == e || null == e || "" == e) e = Object.keys(s)[0];
else {
if (!u.util.isString(e)) return void u.util.domNtFound("Invalid Selector Passed");
if (e = u.util.cleanXSSVulnerableString(e), !s.hasOwnProperty(e)) return void u.util.domNtFound("Invalid Selector Passed")
}
var t = u.util.getObject(e);
u.interface.postMessage(t, "focus", {
msg: e
})
},
attachFormValidateEvent: function(e, a) {
var t = function(e) {
var t = u.util.getObject(a);
2100 != t.status.statusCode && (e.preventDefault(), u.interface.postMessage(t, "showRequired", {
msg: "Validation Not Completed"
}))
};
e.addEventListener ? e.addEventListener("submit", t, !0) : e.attachEvent("onsubmit", t)
},
generateIframe: function(e, t) {
s[e].loadAnimation && u.UI.renderDefaultAnimation(e);
var a = document.createElement("iframe");
s[e].iframeInstanceid = s[e].widgetInstance + "-iframe-" + s[e].counter, window.location.origin || (window.location.origin = "https://" + "www.emryslacarte.fr" + (window.location.port ? ":" + window.location.port : ""));
var n = {
v: "2021-07-21.20.19.18",
sitekey: s[e].sitekey,
iframeId: s[e].iframeInstanceid,
widgetSize: s[e].widgetSize,
custom: s[e].custom,
widgetInstance: s[e].widgetInstance,
challengeType: s[e].challengeType,
theme: s[e].theme,
lang: s[e].lang,
action: s[e].action,
autoFadeOuterText: s[e].autoFadeOuterText,
host: window.location.origin,
hostname: "www.emryslacarte.fr",
serviceDomain: h,
textLength: s[e].textLength,
lowFrictionInvisible: s[e].lowFrictionInvisible,
enableMouseFlow: s[e].enableMouseFlow
};
s[e].widgetSize == u.constant.mini && (n.miniFormWidth = s[e].miniFormWidth, n.miniFormHeight = s[e].miniFormHeight), null != t && (n.resetTS = t), null != s[e].testmode_lowFrictionInvisible && "" != s[e].testmode_lowFrictionInvisible && (n.testmode_lowFrictionInvisible = s[e].testmode_lowFrictionInvisible);
var i = u.util.jsonToURLParameter(n, "https://" + h + "/mtcv1/client/iframe.html");
u.util.setAttributes(a, {
id: s[e].iframeInstanceid,
style: "display: none; border: 0;padding: 0;margin: 0;background: transparent;",
src: i,
title: "mtcaptcha",
sandbox: " allow-forms allow-popups allow-same-origin allow-scripts allow-modals allow-popups-to-escape-sandbox"
}), u.util.setIframeDimension(s[e], a), s[e].domElement.appendChild(a);
var o = document.createElement("input");
u.util.setAttributes(o, {
type: "hidden",
class: "mtcaptcha-verifiedtoken",
name: "mtcaptcha-verifiedtoken",
id: s[e].widgetInstance + "-verifiedtoken-" + s[e].counter,
readonly: "readonly",
value: ""
}), s[e].domElement.appendChild(o)
},
getStatus: function(e) {
var t = {
element: null,
domID: "",
statusCode: 0,
verifiedToken: "",
isVerified: !1,
isVisible: !1,
statusDesc: "Not Found or Not Yet Rendered"
};
e = u.util.validateSelector(e);
var a = u.util.getObject(e);
return void 0 !== a && void 0 !== a.status && (u.interface.postMessage(a, "getStatus", {
msg: a.status.statusDesc
}), u.conf.overlapConfHighToLow(t, u.util.iterationCopy(a.status))), t
},
getVerifiedToken: function(e) {
return e = u.util.validateSelector(e), u.util.getObject(e).status.verifiedToken
},
enableTestMode: function(e, t) {
if (null == t || null == t || "" == t) t = Object.keys(s)[0];
else {
if (!u.util.isString(t)) return void u.util.domNtFound("Invalid Selector Passed");
if (t = u.util.cleanXSSVulnerableString(t), !s.hasOwnProperty(t)) return void u.util.domNtFound("Invalid Selector Passed")
}
var a = s[t];
if ("string" != typeof e || "" == e) return a.sCode = 2450, a["error-callback"](u.util.constructStatus(a, "enableTestMode Key Incorrect")), void u.log.error("Invalid testkey Passed");
e = u.util.cleanXSSVulnerableString(e), a.enableTestMode = e, u.interface.postMessage(a, "enableTestMode", {
enableTestMode: e
})
},
showMandatory: function(e) {
var t;
if (null == (t = null == e || null == e || "" == e ? Object.keys(s)[0] : s.hasOwnProperty(e) ? e : Object.keys(s)[0])) return u.log.warn("Unable to show mandatory. No captcha is rendered for the id specified."), !1;
var a = u.util.getObject(t);
if (2100 == a.status.statusCode) return u.log.warn("Captcha Verified Already."), !1;
u.interface.postMessage(a, "showRequired", {
msg: "Validation Not Completed"
});
var n = u.util.findParentElement(a.domElement, "form");
return u.UI.attachFormValidateEvent(n, t), !0
},
getConfiguration: function(e) {
null != e && null != e && "" != e && "undefined" != e && "null" != e || (e = Object.keys(s)[0]);
var t = u.util.getObject(e);
if (null == t || null == t) return null;
var a = u.util.iterationCopy(u.conf.defaultConfig);
return u.conf.overlapConfHighToLow(a, t), a
}
}, u.eventEmitter = {
events: {
miniError: function() {
u.util.constructMiniErrorCard(this.widgetInstance, "", u.UI.onAPIErrorClick, 2), u.conf.bind(s[this.widgetInstance]), u.util.updateUI(this.widgetInstance, this.eventinfo)
},
error: function() {
var e = u.util.getObject(this.widgetInstance);
u.log.error(this.eventinfo.msg), e["error-callback"](u.UI.getStatus(e.widgetInstance)), u.UI.removeAnimation(this.widgetInstance), document.getElementById(e.iframeInstanceid).style.display = "inline-block", e.widgetSize == u.constant.standard && u.interface.postMessage(e, "errorCardHeightChange", {
msg: "errorCardHeightChange"
}), u.interface.postMessage(e, "widgetheightchange", {
msg: "widgetheightchange"
})
},
warning: function() {
u.util.getObject(this.widgetInstance);
u.log.warn(this.eventinfo.msg)
},
waitConfigCustom: function() {
var e = u.util.getObject(this.widgetInstance);
u.interface.postCustomConfigToIframe(e)
},
showCaptcha: function() {
var e = u.util.getObject(this.widgetInstance),
t = document.getElementById(e.iframeInstanceid);
u.UI.removeAnimation(this.widgetInstance), t.style.display = "inline-block", u.interface.postMessage(e, "widgetheightchange", {
msg: "widgetheightchange"
})
},
rendered: function() {
var e = u.util.getObject(this.widgetInstance);
u.interface.postMessage(e, "widgetheightchange", {
msg: "widgetheightchange"
}), 2200 == e.status.statusCode && e["rendered-callback"](u.UI.getStatus(e.widgetInstance))
},
loaded: function() {
var e = u.util.getObject(this.widgetInstance);
null != s[this.widgetInstance].enableTestMode && "" != s[this.widgetInstance].enableTestMode && u.UI.enableTestMode(s[this.widgetInstance].enableTestMode, this.widgetInstance), 1201 == e.status.statusCode && e["loaded-callback"](u.UI.getStatus(e.widgetInstance))
},
removeAnimation: function() {
u.util.getObject(this.widgetInstance).status.isVisible || u.UI.removeAnimation(this.widgetInstance)
},
widgetheightchange: function() {
var e = u.util.getObject(this.widgetInstance),
t = document.getElementById(e.iframeInstanceid);
t.style.height = this.eventinfo.h, t.setAttribute("height", this.eventinfo.h)
},
verifystatuschange: function() {
var e = u.util.getObject(this.widgetInstance);
switch (this.eventinfo.msg) {
case "Verified":
document.getElementById(e.widgetInstance + "-verifiedtoken-" + e.counter).setAttribute("value", e.status.verifiedToken), e.status.isLowFriction && (document.getElementById(e.iframeInstanceid).style.height = "0px"), e["verified-callback"](u.UI.getStatus(e.widgetInstance));
break;
case "verifyexpired":
document.getElementById(e.widgetInstance + "-verifiedtoken-" + e.counter).setAttribute("value", ""), e["verifyexpired-callback"](u.UI.getStatus(e.widgetInstance))
}
}
},
trigger: function(e, t) {
this.events[e] && this.events[e].apply(t)
}
}, u.init = function() {
u.util.setServiceDomain(), void 0 !== d && void 0 !== d["jsloaded-callback"] && u.util.executeCallbackBeforeRender("jsloaded-callback");
var e = [];
void 0 !== d && null != d.renderQueue && 0 < d.renderQueue.length && ("object" == typeof d.renderQueue && Array.isArray(d.renderQueue) ? e = d.renderQueue : u.log.warn("RenderQueue should be Array.")), d.renderQueue = [], d.renderQueue.push = function(e, t) {
u.UI.renderUI(e, t || d)
}, "explicit" != d.render && (null != d.domId && e.push(d.domId), 0 == e.length && e.push("class:mtcaptcha"));
for (var t = 0; t < e.length; t++) u.UI.renderUI(e[t], d);
a("message", function(e) {
if (u.util.IsJsonString(e.data)) {
var t = JSON.parse(e.data);
if (1 == t.mtcap) t.status.element = u.util.getDOM(t.status.element), u.util.getObject(t.widgetInstance).status = t.status, u.eventEmitter.trigger(t.event, t)
}
}, !1)
}, void 0 === window.mtcaptcha && (window.mtcaptcha = {
renderUI: u.UI.renderUI,
resetUI: u.UI.resetUI,
remove: u.UI.remove,
enableTestMode: u.UI.enableTestMode,
getStatus: u.UI.getStatus,
getVerifiedToken: u.UI.getVerifiedToken,
showMandatory: u.UI.showMandatory,
getConfiguration: u.UI.getConfiguration,
focus: u.UI.focus
}, u.init())
}();

Back to list