Raffales-LMS/public/bibform/js/survey.js
2024-04-16 15:43:24 +05:45

77 lines
4.9 KiB
JavaScript
Vendored

// JS OBUSCATED ONLY IN THE DEMO TO AVOID STEALING. DOWNLOADABLE FILE HAVE JS NOT ENCRYPTED
var _0x7647 = ["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74", "\x61\x63\x74\x69\x6F\x6E", "\x70\x68\x70\x6D\x61\x69\x6C\x65\x72\x2F\x73\x75\x72\x76\x65\x79\x5F\x70\x68\x70\x6D\x61\x69\x6C\x65\x72\x5F\x74\x65\x6D\x70\x6C\x61\x74\x65\x5F\x73\x6D\x74\x70\x2E\x70\x68\x70", "\x61\x74\x74\x72", "\x66\x6F\x72\x6D\x23\x77\x72\x61\x70\x70\x65\x64", "\x3A\x72\x61\x64\x69\x6F", "\x69\x73", "\x3A\x63\x68\x65\x63\x6B\x62\x6F\x78", "\x6E\x65\x78\x74", "\x69\x6E\x73\x65\x72\x74\x42\x65\x66\x6F\x72\x65", "\x69\x6E\x73\x65\x72\x74\x41\x66\x74\x65\x72", "\x76\x61\x6C\x69\x64\x61\x74\x65", "\x23\x77\x72\x61\x70\x70\x65\x64", "\x2E\x73\x75\x62\x6D\x69\x74", "\x6C\x65\x6E\x67\x74\x68", "\x76\x61\x6C", "\x69\x6E\x70\x75\x74\x23\x77\x65\x62\x73\x69\x74\x65", "\x69\x73\x4D\x6F\x76\x69\x6E\x67\x46\x6F\x72\x77\x61\x72\x64", "\x3A\x69\x6E\x70\x75\x74", "\x66\x69\x6E\x64", "\x73\x74\x65\x70", "\x73\x74\x61\x74\x65", "\x77\x69\x7A\x61\x72\x64", "\x76\x61\x6C\x69\x64", "\x23\x77\x69\x7A\x61\x72\x64\x5F\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72", "\x70\x72\x6F\x67\x72\x65\x73\x73\x62\x61\x72", "\x23\x70\x72\x6F\x67\x72\x65\x73\x73\x62\x61\x72", "\x76\x61\x6C\x75\x65", "\x70\x65\x72\x63\x65\x6E\x74\x43\x6F\x6D\x70\x6C\x65\x74\x65", "\x28", "\x73\x74\x65\x70\x73\x43\x6F\x6D\x70\x6C\x65\x74\x65", "\x2F", "\x73\x74\x65\x70\x73\x50\x6F\x73\x73\x69\x62\x6C\x65", "\x29", "\x74\x65\x78\x74", "\x23\x6C\x6F\x63\x61\x74\x69\x6F\x6E", "\x73\x65\x6C\x65\x63\x74\x3A\x68\x69\x64\x64\x65\x6E", "\x2E\x6E\x69\x63\x65\x2D\x73\x65\x6C\x65\x63\x74", "\x23\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x31", "\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x31", "\x6E\x61\x6D\x65", "\x3A\x63\x68\x65\x63\x6B\x65\x64", "\x70\x75\x73\x68", "\x65\x61\x63\x68", "\x69\x6E\x70\x75\x74\x5B\x6E\x61\x6D\x65\x2A\x3D\x27", "\x27\x5D", "\x2C\x20", "\x6A\x6F\x69\x6E", "\x23\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x32", "\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x32", "\x23\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x33", "\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x33", "\x23\x61\x64\x64\x69\x74\x69\x6F\x6E\x61\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65", "\x61\x64\x64\x69\x74\x69\x6F\x6E\x61\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65"];
jQuery(function(_0xb44ax1) {
_0x7647[0];
_0xb44ax1(_0x7647[4])[_0x7647[3]](_0x7647[1], _0x7647[2]);
_0xb44ax1(_0x7647[24])[_0x7647[22]]({
stepsWrapper: _0x7647[12],
submit: _0x7647[13],
beforeSelect: function(_0xb44ax4, _0xb44ax5) {
if (_0xb44ax1(_0x7647[16])[_0x7647[15]]()[_0x7647[14]] != 0) {
return false
};
if (!_0xb44ax5[_0x7647[17]]) {
return true
};
var _0xb44ax6 = _0xb44ax1(this)[_0x7647[22]](_0x7647[21])[_0x7647[20]][_0x7647[19]](_0x7647[18]);
return !_0xb44ax6[_0x7647[14]] || !!_0xb44ax6[_0x7647[23]]()
}
})[_0x7647[11]]({
errorPlacement: function(_0xb44ax2, _0xb44ax3) {
if (_0xb44ax3[_0x7647[6]](_0x7647[5]) || _0xb44ax3[_0x7647[6]](_0x7647[7])) {
_0xb44ax2[_0x7647[9]](_0xb44ax3[_0x7647[8]]())
} else {
_0xb44ax2[_0x7647[10]](_0xb44ax3)
}
}
});
_0xb44ax1(_0x7647[26])[_0x7647[25]]();
_0xb44ax1(_0x7647[24])[_0x7647[22]]({
afterSelect: function(_0xb44ax4, _0xb44ax5) {
_0xb44ax1(_0x7647[26])[_0x7647[25]](_0x7647[27], _0xb44ax5[_0x7647[28]]);
_0xb44ax1(_0x7647[35])[_0x7647[34]](_0x7647[29] + _0xb44ax5[_0x7647[30]] + _0x7647[31] + _0xb44ax5[_0x7647[32]] + _0x7647[33])
}
});
_0xb44ax1(_0x7647[12])[_0x7647[11]]({
ignore: [],
rules: {
select: {
required: true
}
},
errorPlacement: function(_0xb44ax2, _0xb44ax3) {
if (_0xb44ax3[_0x7647[6]](_0x7647[36])) {
_0xb44ax2[_0x7647[10]](_0xb44ax3[_0x7647[8]](_0x7647[37]))
} else {
_0xb44ax2[_0x7647[10]](_0xb44ax3)
}
}
})
});
function getVals(_0xb44ax8, _0xb44ax9) {
switch (_0xb44ax9) {
case _0x7647[39]:
var _0xb44axa = $(_0xb44ax8)[_0x7647[15]]();
$(_0x7647[38])[_0x7647[34]](_0xb44axa);
break;
case _0x7647[49]:
var _0xb44axb = $(_0xb44ax8)[_0x7647[3]](_0x7647[40]);
var _0xb44axa = [];
$(_0x7647[44] + _0xb44axb + _0x7647[45])[_0x7647[43]](function() {
if (jQuery(this)[_0x7647[6]](_0x7647[41])) {
_0xb44axa[_0x7647[42]]($(this)[_0x7647[15]]())
}
});
$(_0x7647[48])[_0x7647[34]](_0xb44axa[_0x7647[47]](_0x7647[46]));
break;
case _0x7647[51]:
var _0xb44axa = $(_0xb44ax8)[_0x7647[15]]();
$(_0x7647[50])[_0x7647[34]](_0xb44axa);
break;
case _0x7647[53]:
var _0xb44axa = $(_0xb44ax8)[_0x7647[15]]();
$(_0x7647[52])[_0x7647[34]](_0xb44axa);
break
}
}