48
| <![CDATA[<script type="application/json" class="joomla-script-options new">{"csrf.token":"6bbb4fc3d13219b141814c5b8fb51828","system.paths":{"root":"","base":""}}</script>]]>
|
65
| <![CDATA[<script type="text/javascript">
var RSFormProReCAPTCHAv2 = {
loaders: [],
onLoad: function() {
window.setTimeout(function(){
for (var i = 0; i < RSFormProReCAPTCHAv2.loaders.length; i++) {
var func = RSFormProReCAPTCHAv2.loaders[i];
if (typeof func == "function") {
func();
}
}
}, 500)
}
};
var RSFormProReCAPTCHAv2onLoad = RSFormProReCAPTCHAv2.onLoad;
RSFormProReCAPTCHAv2.loaders.push(function(){
grecaptcha.render('g-recaptcha-77', {
'sitekey': '6Lc9Xh4UAAAAAOxaZs5iInUBTn0j6qI02faJHl14',
'theme': 'light',
'type': 'image',
'size': 'normal'
});
});
RSFormProUtils.addEvent(window, 'load',function(){ RSFormPro.setHTML5Validation('5', false, ''); });
jQuery(function($) {
SqueezeBox.initialize({});
initSqueezeBox();
$(document).on('subform-row-add', initSqueezeBox);
function initSqueezeBox(event, container)
{
SqueezeBox.assign($(container || document).find('a.modal').get(), {
parse: 'rel'
});
}
});
window.jModalClose = function () {
SqueezeBox.close();
};
// Add extra modal close functionality for tinyMCE-based editors
document.onreadystatechange = function () {
if (document.readyState == 'interactive' && typeof tinyMCE != 'undefined' && tinyMCE)
{
if (typeof window.jModalClose_no_tinyMCE === 'undefined')
{
window.jModalClose_no_tinyMCE = typeof(jModalClose) == 'function' ? jModalClose : false;
jModalClose = function () {
if (window.jModalClose_no_tinyMCE) window.jModalClose_no_tinyMCE.apply(this, arguments);
tinyMCE.activeEditor.windowManager.close();
};
}
if (typeof window.SqueezeBoxClose_no_tinyMCE === 'undefined')
{
if (typeof(SqueezeBox) == 'undefined') SqueezeBox = {};
window.SqueezeBoxClose_no_tinyMCE = typeof(SqueezeBox.close) == 'function' ? SqueezeBox.close : false;
SqueezeBox.close = function () {
if (window.SqueezeBoxClose_no_tinyMCE) window.SqueezeBoxClose_no_tinyMCE.apply(this, arguments);
tinyMCE.activeEditor.windowManager.close();
};
}
}
};
window.addEvent("load", function() {
SqueezeBox.open('https://www.ibia.mg.gov.br/images/CRONOGRAMA_VACINAO_31_01_2022.png',{handler: 'image'});
});
jQuery(function($) {
SqueezeBox.initialize({});
initSqueezeBox();
$(document).on('subform-row-add', initSqueezeBox);
function initSqueezeBox(event, container)
{
SqueezeBox.assign($(container || document).find('a.pg-modal-button').get(), {
parse: 'rel'
});
}
});
window.jModalClose = function () {
SqueezeBox.close();
};
// Add extra modal close functionality for tinyMCE-based editors
document.onreadystatechange = function () {
if (document.readyState == 'interactive' && typeof tinyMCE != 'undefined' && tinyMCE)
{
if (typeof window.jModalClose_no_tinyMCE === 'undefined')
{
window.jModalClose_no_tinyMCE = typeof(jModalClose) == 'function' ? jModalClose : false;
jModalClose = function () {
if (window.jModalClose_no_tinyMCE) window.jModalClose_no_tinyMCE.apply(this, arguments);
tinyMCE.activeEditor.windowManager.close();
};
}
if (typeof window.SqueezeBoxClose_no_tinyMCE === 'undefined')
{
if (typeof(SqueezeBox) == 'undefined') SqueezeBox = {};
window.SqueezeBoxClose_no_tinyMCE = typeof(SqueezeBox.close) == 'function' ? SqueezeBox.close : false;
SqueezeBox.close = function () {
if (window.SqueezeBoxClose_no_tinyMCE) window.SqueezeBoxClose_no_tinyMCE.apply(this, arguments);
tinyMCE.activeEditor.windowManager.close();
};
}
}
};
/*=== EASY GOOGLE ANALYTICS : START TRACKING CODE ===*/
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-173695050-1', 'mg.gov.br');
ga('send', 'pageview');
/*=== EASY GOOGLE ANALYTICS : END TRACKING CODE ===*/
</script>]]>
|
195
| <![CDATA[<script type="text/javascript">
function mascara(o,f){
v_obj=document.getElementById('cpf-cnpj').value;
if (v_obj.length > 14) {
retorno=cnpj(v_obj)
}else{
retorno=cpf(v_obj)
}
document.getElementById('cpf-cnpj').value = retorno;
}
function cpf(v){
v=v.replace(/\D/g,"")
v=v.replace(/(\d{3})(\d)/,"$1.$2")
v=v.replace(/(\d{3})(\d)/,"$1.$2")
v=v.replace(/(\d{3})(\d{1,2})$/,"$1-$2")
return v
}
function cnpj(v){
v=v.replace(/\D/g,"")
v=v.replace(/^(\d{2})(\d)/,"$1.$2")
v=v.replace(/^(\d{2})\.(\d{3})(\d)/,"$1.$2.$3")
v=v.replace(/\.(\d{3})(\d)/,".$1/$2")
v=v.replace(/(\d{4})(\d)/,"$1-$2")
return v
}
</script>]]>
|
222
| <![CDATA[<script type="text/javascript">
Shadowbox.init({
overlayColor: '#000',overlayOpacity:0.5,resizeDuration:0.35,displayCounter:true,displayNav:true, slideshowDelay: 5
});
</script>]]>
|
400
| <![CDATA[<script type="text/javascript">
function S5QCTSubmit() {
jQuery('button.g-recaptcha').off().on('click', function() {
S5QCTSubmit();
})
s5_qc_submit();
}
function s5_qc_isValidEmail(str_email) {
if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(str_email)) {
alert("Muito obrigado! Seu email foi enviado com sucesso...");
document.s5_quick_contact.submit();
} else {
alert("Você inseriu um email inválido, por favor tente novamente.");
document.getElementById("s5_qc_emailbox").className = "inputbox s5_qc_required";
}
}
var s5_qc_subject_type = "user";
var s5_qc_spambox_text = "Anti-spam...";
var s5_qc_subject_text = "Assunto...";
var s5_qc_name_text = "Nome...";
var s5_qc_email_text = "Email...";
var s5_qc_field1_text = "Mensagem...";
var s5_qc_field2_text = "Field 2...";
var s5_qc_field3_text = "Field 3...";
var s5_qc_field4_text = "Field 4...";
var s5_qc_field5_text = "Field 5...";
var s5_qc_field6_text = "Field 6...";
var s5_qc_field7_text = "Field 7...";
var s5_qc_field8_text = "Field 8...";
var s5_qc_field9_text = "Field 9...";
var s5_qc_field10_text = "Field 10...";
function s5_qc_clear_inputs(s5_qc_click_id) {
s5_qc_clear_inputs_values(s5_qc_click_id);
}
var s5_qc_field1_type = "textarea_required";
var s5_qc_field2_type = "1";
var s5_qc_field3_type = "1";
var s5_qc_field4_type = "1";
var s5_qc_field5_type = "1";
var s5_qc_field6_type = "1";
var s5_qc_field7_type = "1";
var s5_qc_field8_type = "1";
var s5_qc_field9_type = "1";
var s5_qc_field10_type = "1";
var s5_qc_required_missing = "no";
var s5_qc_all_content = "";
function s5_qc_submit() {
s5_qc_check_required();
if (s5_qc_required_missing == "yes") {
alert("Todos os campos do formulário são obrigatórios.");
return false;
}
s5_qc_find_all_values();
if (s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0) {
return false;
}
else {
var email_str = document.getElementById("s5_qc_emailbox").value;
s5_qc_isValidEmail(email_str);
}
}
function s5_qc_load_pikaday() {
}
function s5_qc_load_pikaday_timer() {
window.setTimeout(s5_qc_load_pikaday,500);
}
window.onload = s5_qc_load_pikaday_timer();
</script>]]>
|
483
| <![CDATA[<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v2.4";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>]]>
|
522
| <![CDATA[<script>
new window.VLibras.Widget('https://vlibras.gov.br/app');
</script>]]>
|
526
| <![CDATA[<script>
new WOW().init();
</script>]]>
|
530
| <![CDATA[<script>
(function(){
const containers = document.querySelectorAll('div#phoca-dl-category-box .pd-fdesc');
containers.forEach(function(container) {
let p = container.querySelector('p');
let initialHeight = container.getBoundingClientRect().height;
let height = p.getBoundingClientRect().height;
let btn = document.createElement('button');
btn.innerHTML = 'Mais detalhes';
btn.type = 'button';
btn.className = 'phocadownload-read-more-btn';
btn.onclick = function() {
if(btn.classList.contains('opened')) {
// container.style.maxHeight = `${initialHeight}px`;
container.classList.remove('opened');
btn.classList.remove('opened');
btn.innerHTML = 'Mais detalhes';
} else {
// container.style.maxHeight = `${height}px`;
container.classList.add('opened');
btn.classList.add('opened');
btn.innerHTML = 'Minimizar';
}
};
container.parentElement.appendChild(btn);
});
}());
</script>]]>
|