76
| <![CDATA[<div class="d-opaticy" style="background-image: url('https://iuiu.ba.gov.br/files/img/binding-light.png')"></div>]]>
|
1152
| <![CDATA[<span style="background-color: #db0000"></span>]]>
|
1153
| <![CDATA[<h3 style="color: #db0000">1289</h3>]]>
|
1158
| <![CDATA[<span style="background-color: #11ff00"></span>]]>
|
1159
| <![CDATA[<h3 style="color: #11ff00">1275</h3>]]>
|
1164
| <![CDATA[<span style="background-color: #ff8800"></span>]]>
|
1165
| <![CDATA[<h3 style="color: #ff8800">0</h3>]]>
|
1170
| <![CDATA[<span style="background-color: #00e0f0"></span>]]>
|
1171
| <![CDATA[<h3 style="color: #00e0f0">0</h3>]]>
|
1176
| <![CDATA[<span style="background-color: #0f00db"></span>]]>
|
1177
| <![CDATA[<h3 style="color: #0f00db">3478</h3>]]>
|
1182
| <![CDATA[<span style="background-color: #000000"></span>]]>
|
1183
| <![CDATA[<h3 style="color: #000000">15</h3>]]>
|
1349
| <![CDATA[<th class="tg-7whf" style="width:64%"><b>Resumo</b></th>]]>
|
1350
| <![CDATA[<th class="tg-7whf" style="width:9%"><b>Arquivo</b></th>]]>
|
1351
| <![CDATA[<th class="tg-7whf" style="width:9%;"><b>Publicações</b></th>]]>
|
1542
| <![CDATA[<button style="cursor: pointer; float: right" onClick="document.getElementById('iframeModal').style.display='none'">x</button>]]>
|
1544
| <![CDATA[<div id="content_modal" style="margin-left:10px;margin-right: 10px;">
<iframe id="iframeLicitacoes" style="width:100%;margin-top:5%;"></iframe>
</div>]]>
|
1545
| <![CDATA[<iframe id="iframeLicitacoes" style="width:100%;margin-top:5%;"></iframe>]]>
|
2081
| <![CDATA[<style>
#satisfacao{
margin-top: 100px;
min-height: 200px;
margin-bottom: 50px
}
#satisfacao .satisfacao-header h1{
font-size: 1.5rem;
font-weight: bold
}
#satisfacao .satisfacao-body{
margin-top: 20px;
}
#satisfacao .satisfacao-body ul{
display: grid;
grid-template-columns: repeat(5, 1fr);
column-gap: 10px
}
#satisfacao .satisfacao-body ul li{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 10px;
padding: 20px;
border-radius: 10px
}
#satisfacao .satisfacao-body ul li span{
font-size: 2.5rem;
}
#satisfacao input, #satisfacao textarea{
width: 100%;
padding: 10px;
margin-top: 10px;
}
#satisfacao .satisfacao-message{display: none}
#satisfacao .satisfacao-message form ul{
display: flex;
flex-wrap: wrap;
margin: 0 auto;
padding-bottom: 10px;
padding-top: 10px;
justify-content: space-between;
width: 100%;
gap:10px
}
#satisfacao li.face{
-moz-transition:color .2s ease-in;
-o-transition:color .2s ease-in;
-webkit-transition:color .2s ease-in;
cursor: pointer;
text-shadow: 1px 0px 0px #0000008f;
border: 1px solid
}
#satisfacao li.face:hover{
text-shadow: 1px 0px 10px #0000008f;
}
#satisfacao li.very-dissatisfied{color: #ff000094;}
#satisfacao li.little-dissatisfied{color: #d6a63e94;}
#satisfacao li.neutral{color: #828282;}
#satisfacao li.little-satisfied{color: #a7c34ac7;}
#satisfacao li.satisfied{color:#009688;}
#satisfacao li.very-dissatisfied:hover,
#satisfacao li.very-dissatisfied-checked{background-color: #ff000094;color: #fff;}
#satisfacao li.little-dissatisfied:hover,
#satisfacao li.little-dissatisfied-checked{background-color: #d6a63e94;color: #fff;}
#satisfacao li.little-satisfied:hover,
#satisfacao li.little-satisfied-checked{background-color: #a7c34ac7;color: #fff;}
#satisfacao li.neutral:hover,
#satisfacao li.neutral-checked{background-color: #828282;color: #fff;}
#satisfacao li.satisfied:hover,
#satisfacao li.satisfied-checked{background-color:#009688;color: #fff;}
pressed
</style>]]>
|
672
| <![CDATA[<label onclick="showAllFilters()"
class="d-pointer">Filtrar</label>]]>
|
761
| <![CDATA[<a href="#" title="Todos os serviços" onclick="showMenu(true)">Todos os serviços</a>]]>
|
765
| <![CDATA[<div id="d-accessibility" title="Abrir menu acessibilidade" onclick="accessibilityModal()">
<img src="https://iuiu.ba.gov.br/files/img/acessibilidade.png" alt="Acessibilidade logo" title="Acessibilidade">
<h1>Acessibilidade</h1>
</div>]]>
|
770
| <![CDATA[<span id="d-modal-close-accessibility" class="fas fa-times-circle" onclick="accessibilityModal()"></span>]]>
|
799
| <![CDATA[<div class="d-icon-comment btn-green" onclick="showContactModal()" title="Fale com a Prefeitura">
<img src="https://iuiu.ba.gov.br/files/img/batpapo.png" alt="bat-papo">
</div>]]>
|
805
| <![CDATA[<span id="d-modal-close" class="fas fa-times-circle" onclick="showContactModal()"></span>]]>
|
1334
| <![CDATA[<a href="javascript::" onclick="downloadRequest('pdf')">
<img src="https://iuiu.ba.gov.br/files/img/exportar/pdf.png" alt="PDF">
</a>]]>
|
1337
| <![CDATA[<a href="javascript::" onclick="downloadRequest('print')">
<img src="https://iuiu.ba.gov.br/files/img/exportar/print.png" alt="Imprimir">
</a>]]>
|
1361
| <![CDATA[<button class="btn-close" onclick="closeModal('miniModalRequest')">x</button>]]>
|
1457
| <![CDATA[<a href="https://iuiu.ba.gov.br/relatorio/exportar_v2/contratos-covid/pdf" onclick="processPDF()">
<img src="https://iuiu.ba.gov.br/files/img/exportar/pdf.png" alt="PDF">
</a>]]>
|
1474
| <![CDATA[<a href="#" onclick="event.preventDefault();loadComplementsOrigem(0)" target="_blank" title="Clique aqui para visualizar">Arquivo de Origem</a>]]>
|
1490
| <![CDATA[<a href="#" onclick="event.preventDefault();loadComplementsOrigem(0)" target="_blank" title="Clique aqui para visualizar">Arquivo de Origem</a>]]>
|
1508
| <![CDATA[<a href="#" onclick="event.preventDefault();loadComplementsOrigem(97475)" target="_blank" title="Clique aqui para visualizar">Arquivo de Origem</a>]]>
|
1527
| <![CDATA[<a href="#" onclick="event.preventDefault();loadComplementsOrigem(97472)" target="_blank" title="Clique aqui para visualizar">Arquivo de Origem</a>]]>
|
1553
| <![CDATA[<button class="btn-close" onclick="closeModal('miniModalRequest')">x</button>]]>
|
1579
| <![CDATA[<button class="btn-close" onclick="closeModal('miniModalOrigem')">x</button>]]>
|
1613
| <![CDATA[<a href="javascript:;" target="_top" onclick="return pagina(2);">2</a>]]>
|
1617
| <![CDATA[<a href="javascript:;" target="_top" onclick="return pagina(2);"><i class="next"></i>PRÓXIMA</a>]]>
|
906
| <![CDATA[<script>
$(document).ready(function () {
$('#nav-icon4').click(function () {
$(this).toggleClass('open');
let fclass = $(this).attr("class");
if (fclass === "open") {
showMenu(false);
} else {
$(".d-actions-items").show();
$(".d-m-h").css("display", "none").addClass("d-hide");
$("#d-container").css("height", "100vh");
}
$("#d-container.d-diversos").height($("#d-menu").height());
$("#d-container").css('min-height', (parseInt($(".d-menu-helper").height())+150)+'px' );
$("#d-container.d-diversos").css('min-height', (parseInt($(".d-menu-helper").height())+100)+'px' );
});
$("body .uwy.userway_p1 .uai").css("right", "0");
sessionStorage.setItem("img-back", 0);
});
function slidShow(){
let img_atual = parseInt(sessionStorage.getItem("img-back"));
img_atual++;
if(img_atual >= $(".img-back").length){
img_atual = 0;
}
$(".img-back").addClass("d-hide");
$("#banner_fundo"+img_atual).removeClass("d-hide");
sessionStorage.setItem("img-back", img_atual);
}
function showContactModal() {
if ($("#d-modal-comment").css("display") == "none") {
$(".d-icon-comment").removeClass("btn-green").addClass("btn-grey");
$("#d-modal-comment").css("display", "flex");
}else{
$(".d-icon-comment").addClass("btn-green").removeClass("btn-grey");
$("#d-modal-comment").css("display", "none");
}
}
function showMenu(toogle = false) {
if (toogle) {
$('#nav-icon4').toggleClass('open');
}
$(".d-actions-items").hide();
$(".d-m-h").css("display", "flex").removeClass("d-hide");
$("#d-container").css("height", "auto");
}
function removeAcento(text)
{
text = text.toLowerCase();
text = text.replace(new RegExp('[ÁÀÂÃ]','gi'), 'a');
text = text.replace(new RegExp('[ÉÈÊ]','gi'), 'e');
text = text.replace(new RegExp('[ÍÌÎ]','gi'), 'i');
text = text.replace(new RegExp('[ÓÒÔÕ]','gi'), 'o');
text = text.replace(new RegExp('[ÚÙÛ]','gi'), 'u');
text = text.replace(new RegExp('[Ç]','gi'), 'c');
return text;
}
function setFilter() {
let filter = $("#filter").val();
//Oculta e mostra as linhas
$(".d-swap ul li .d-swap-itens li a").each(function () {
let source = ($(this).data("source"));
let target = $(this).parent("li");
if (removeAcento(source).toLowerCase().search(removeAcento(filter).toLowerCase()) == -1) {
target.css("display", "none");
} else {
target.css("display", "block");
}
});
//Oculta e mostra os h2
for (let index = 1; index <= $(".d-swap ul li .d-swap-itens").length; index++) {
let hide = true;
$(".d-swap ul li #dsi-" + index + " li").each(function () {
if ($(this).css("display") != "none") {
hide = false;
}
});
if (hide) {
$(".d-swap ul li #dsi-" + index).parent().css("display", "none");
} else {
$(".d-swap ul li #dsi-" + index).parent().css("display", "block");
}
}
//Oculta e mostra os h1
for (let index = 0; index < $(".d-swap").length; index++) {
let hide = true;
for (let sub = 1; sub <= $(".d-swap ul li .d-swap-itens").length; sub++) {
$("#ds-"+index+" ul li #dsi-" + sub + " li").each(function () {
if ($(this).css("display") != "none") {
hide = false;
}
});
}
if (hide) {
$("#ds-"+index+" h1").css("display", "none");
} else {
$("#ds-"+index+" h1").css("display", "block");
}
}
}
function showAllFilters() {
if ($("#d-all-filters").css("display") === "none") {
$("#d-all-filters").css("display", "flex");
} else {
$("#d-all-filters").css("display", "none");
}
}
$("#enviar").click(function(event){
const form = "#contact-form-top ";
event.preventDefault();
let errors = "";
if($(form+" #nome").val() == ""){
errors += '* O <b>Nome</b> não pode ficar em branco <br>';
}
if($(form+" #telefone1").val() == ""){
errors += '* O <b>Telefone 1</b> não pode ficar em branco <br>';
}
if($(form+" #email").val() == ""){
errors += '* O <b>E-mail</b> não pode ficar em branco <br>';
}
if($(form+" #assunto").val() == ""){
errors += '* O <b>Assunto</b> não pode ficar em branco <br>';
}
if($(form+" #mensagem").val() == ""){
errors += '* O <b>Mensagem</b> não pode ficar em branco <br>';
}
if(errors.length > 0){
Swal.fire({
icon: 'error',
title: 'Encontramos os seguinte(s) erro(s)',
html: errors,
});
}else{
$("#contact-form-top").submit();
}
});
</script>]]>
|
1384
| <![CDATA[<script>
$(document).ready(function(){
localStorage.setItem('checkComplementaryConent', 'true');
});
</script>]]>
|
1391
| <![CDATA[<script>
$(document).ready(function(){
$('#d-update').hide();
});
</script>]]>
|
1622
| <![CDATA[<script>
function loadComplementsOrigem(codigo){
window.location.href='#contratos_covid';
$.ajax({
url : 'https://api.procedebahia.com.br/publication/'+codigo,
type : 'get',
data : {},
beforeSend : function(){
openModal('miniModalOrigem');
$('#tableMiniModalOrigem>tbody>tr').empty()
.append('<td class="tg-d5um" style="padding:4px;text-align:center"><label class="fas fa-spinner fa-pulse" style="font-size:20px"></label></td>')
.append('<td class="tg-d5um" style="padding:4px;text-align:center"><label class="fas fa-spinner fa-pulse" style="font-size:20px"></label></td>')
.append('<td class="tg-d5um" style="padding:4px;text-align:center"><label class="fas fa-spinner fa-pulse" style="font-size:20px"></label></td>')
.append('<td class="tg-d5um" style="padding:4px;text-align:center"><label class="fas fa-spinner fa-pulse" style="font-size:20px"></label></td>');
}
}).done(function(msg){
$('#tableMiniModalOrigem>tbody>tr').empty();
if((msg.publicacao_data != null) && (msg.publicacao_data.length > 0)){
const publicacao_data = new Intl.DateTimeFormat('pt-BR').format(new Date(msg.publicacao_data));
$('#tableMiniModalOrigem>tbody>tr').append(`<td class="tg-d5um" style="padding:4px;text-align:center">${publicacao_data}</td>`);
}else{
$('#tableMiniModalOrigem>tbody>tr').append('<td class="tg-d5um" style="padding:4px;text-align:center">--</td>');
}
if((msg.titulo != null) && (msg.titulo.length > 0)){
$('#tableMiniModalOrigem>tbody>tr').append(`<td class="tg-d5um" style="padding:4px;text-align:center">${msg.titulo}</td>`);
}else{
$('#tableMiniModalOrigem>tbody>tr').append('<td class="tg-d5um" style="padding:4px;text-align:center">--</td>');
}
if((msg.arquivo != null) && (msg.arquivo.length > 0)){
$('#tableMiniModalOrigem>tbody>tr').append('<td class="tg-d5um" style="padding:4px;text-align:center"><a href="'+msg.arquivo+'" title="'+msg.titulo+'" target="_blank" class="fas fa-eye d-open" style="font-size:20px;color:black"></a></td>');
}else{
$('#tableMiniModalOrigem>tbody>tr').append('<td class="tg-d5um" style="padding:4px;text-align:center">--</td>');
}
if((msg.cod_diario != null) && (msg.cod_diario > 0)){
$('#tableMiniModalOrigem>tbody>tr').append('<td class="tg-d5um" style="padding:4px;text-align:center"><a href="#" title="Clique para visualizar mais detalhes" class="fas fa-book-open d-open" style="font-size:20px;color:black" onClick="loadComplements('+codigo+')"></a></td>');
}else{
$('#tableMiniModalOrigem>tbody>tr').append('<td class="tg-d5um" style="padding:4px;text-align:center">--</td>');
}
}).fail(function(jqXHR, textStatus, msg){
Swal.fire({
icon: 'error',
title: 'Oops...',
text: 'Não conseguimos conexão com o servidor, tente novamente em instantes!'
});
});
}
function loadComplements(codigo){
$.ajax({
url : 'https://api.procedebahia.com.br/contract/third',
type : 'get',
data : {
cod_publish : codigo,
},
beforeSend : function(){
openModal('miniModalRequest');
$('#tableminiModalRequest>tbody>tr').empty()
.append('<td class="tg-d5um" style="padding:4px;text-align:center"><label class="fas fa-spinner fa-pulse" style="font-size:20px"></label></td>')
.append('<td class="tg-d5um" style="padding:4px;text-align:center"><label class="fas fa-spinner fa-pulse" style="font-size:20px"></label></td>')
.append('<td class="tg-d5um" style="padding:4px;text-align:center"><label class="fas fa-spinner fa-pulse" style="font-size:20px"></label></td>');
}
}).done(function(msg){
$('#tableminiModalRequest>tbody>tr').empty();
if(msg.diary != null){
$('#tableminiModalRequest>tbody>tr').append('<td class="tg-d5um" style="padding:4px;text-align:center"><a href="'+msg.diary.arquivo+'" title="'+msg.diary.resume+'" target="_blank" class="fas fa-eye" style="font-size:20px;color:black"></a></td>');
}else{
$('#tableminiModalRequest>tbody>tr').append('<td class="tg-d5um" style="padding:4px;text-align:center">--</td>');
}
if(msg.postOffice != null){
$('#tableminiModalRequest>tbody>tr').append('<td class="tg-d5um" style="padding:4px;text-align:center"><a href="'+msg.postOffice.arquivo+'" title="'+msg.postOffice.resume+'" target="_blank" class="fas fa-eye" style="font-size:20px;color:black"></a></td>');
}else{
$('#tableminiModalRequest>tbody>tr').append('<td class="tg-d5um" style="padding:4px;text-align:center">--</td>');
}
if(msg.union != null){
$('#tableminiModalRequest>tbody>tr').append('<td class="tg-d5um" style="padding:4px;text-align:center"><a href="'+msg.union.arquivo+'" title="'+msg.union.resume+'" target="_blank" class="fas fa-eye" style="font-size:20px;color:black"></a></td>');
}else{
$('#tableminiModalRequest>tbody>tr').append('<td class="tg-d5um" style="padding:4px;text-align:center">--</td>');
}
}).fail(function(jqXHR, textStatus, msg){
Swal.fire({
icon: 'error',
title: 'Oops...',
text: 'Não conseguimos conexão com o servidor, tente novamente em instantes!'
});
});
}
$(document).ready(function(){
if(document.getElementById('lastDate')){
document.getElementById('lastDate').style.display = "block";
document.getElementById('lastDate').innerHTML = "Última Atualização: 00/00/0000 às ";
}
$(".shadowbox").each(function () {
let source = ($(this).data("code"));
loadItensTerceiro(source);
});
});
function loadItensTerceiro(codigo){
$.ajax({
type: 'get',
dataType: 'json',
url: 'http://demonstracao.procedebahia.com.br/laravel/api/publication/'+codigo,
beforeSend: function () {},
data: {},
success: function (retorno) {
let url = "http://www.procedebahia.com.br/iuiu/publicacoes/";
if(retorno[0].correio != null){
$("#ItemShadow-"+codigo).append('<a href="'+url+'/'+retorno[0].correio+'" target="_blank" title="Clique aqui para visualizar">Correio da Bahia</a>');
}
if(retorno[0].uniao != null){
$("#ItemShadow-"+codigo).append('<a href="'+url+'/'+retorno[0].uniao+'" target="_blank" title="Clique aqui para visualizar">Diário União</a>');
}
},
error: function (error) {
console.error("atualize a pagina");
}
});
}
function abrirModalIframe(codigo) {
const cidade = "iuiu";
$("#iframeLicitacoes").attr("src", "http://procedebahia.com.br/ba/"+cidade+"/api-publicacoes/iframe/"+codigo)
document.getElementById('iframeModal').style.display = 'block';
window.location.href='#iframeModal';
}
</script>]]>
|
1847
| <![CDATA[<script>
$(document).ready(function() {
let altura = $('#receitas_despesas').height();
$('#painel_table').css('min-height', (parseInt(altura))+'px');
});
$("#fase_aplicacao").change(function(){
$('#formFaseAplicacao').submit();
});
function abrirModal(title, col) {
document.getElementById('id01_modal').style.display = 'block';
document.getElementById('id01_modal').style.position = 'fixed';
$('.conteudo_modal').css('height', '300px');
$('.conteudo_modal').css('overflow', 'scroll');
$('#rodape').css('z-index','0');
prepareModal(title, col);
$('html, body').animate({scrollTop: ($('id01_modal').offset().top) - 100}, 'slow');
}
function prepareModal(title, col){
$('#modalTitle').html(title);
$('#c1').css('display', 'none');
$('#c2').css('display', 'none');
$('#c3').css('display', 'none');
$('#c4').css('display', 'none');
$('#'+col).css('display', 'grid');
}
function fecharModal() {
document.getElementById('id01_modal').style.display = 'none';
}
function hideLoading() {
document.getElementById('divLoading').style.display = "none";
document.getElementById('iframe_transparencia').style.display = "block";
}
function showSocial(tipo){
if($('#socialTwitter'+tipo).css('visibility') == 'visible'){
$('#socialTwitter'+tipo).css('visibility','hidden');
$('#socialFacebook'+tipo).css('visibility','hidden');
$('#socialWhatsapp'+tipo).css('visibility','hidden');
}else{
$('#socialWhatsapp'+tipo).css('visibility','visible');
$('#socialFacebook'+tipo).css('visibility','visible');
$('#socialTwitter'+tipo).css('visibility','visible');
}
}
function goTwitter(url){
window.open('https://twitter.com/intent/tweet?url='+url, '_blank');
}
function goFacebook(url){
window.open('https://www.facebook.com/sharer/sharer.php?u='+url, '_blank');
}
function goWhatsapp(url){
window.open('https://api.whatsapp.com/send?text='+url, '_blank');
}
function rediretTo(url){
window.location.href = url;
}
function setFilterCovid(){
const filter = removeAcento($('#search').val()).toLowerCase();
filterBoletim(filter);
filterVacinometro(filter);
filterPublicoAlvo(filter);
filterNoticias(filter);
filterPublicacoesOficiais(filter);
filterContratosAquisicoes(filter);
filterReceitasDespesas(filter);
filterOutrasInformacoes(filter);
}
function filterBoletim(filter){
const boletim = $("#coronavirus > div.bloco_covid > div.boletim");
const item_page = removeAcento($("#coronavirus > div.bloco_covid > div.boletim > div.titulo_pricipal_covid > h2")[0].innerText).toLowerCase();
const field = $("#coronavirus > div.bloco_covid > div.boletim > div.painel > ul > li");
let totalHide = 0;
field.each(function () {
const value = removeAcento($(this).children('h3')[0].innerText).toLowerCase();
const titulo = removeAcento($(this).children('h4')[0].innerText).toLowerCase();
const sub_titulo = removeAcento($(this).children('h5')[0].innerText).toLowerCase();
if((value.search(filter) === -1) && (titulo.search(filter) === -1) && (sub_titulo.search(filter) === -1) && (item_page.search(filter) == -1)){
$(this).css("display", "none");
totalHide++;
}else{
$(this).css("display", "block");
}
});
if((item_page.search(filter) == -1) && (totalHide === parseInt(field.length))){
boletim.css("display", "none");
} else {
boletim.css("display", "block");
}
}
function filterVacinometro(filter){
const boletim = $("#coronavirus > div.bloco_covid > #vacinometro");
const item_page = removeAcento(boletim.children('div.titulo_pricipal_covid').children('h2')[0].innerText).toLowerCase();
const field = $("#coronavirus > div.bloco_covid > #vacinometro > div.painel_vacinometro > ul > li");
let totalHide = 0;
field.each(function () {
const value = removeAcento($(this).children('h1')[0].innerText).toLowerCase();
const titulo = removeAcento($(this).children('h2')[0].innerText).toLowerCase();
const sub = removeAcento($(this).children('div').children('ul')[0].innerText).toLowerCase();
if((value.search(filter) === -1) && (titulo.search(filter) === -1) && (item_page.search(filter) === -1) && (sub.search(filter) === -1)){
$(this).css("display", "none");
totalHide++;
}else{
$(this).css("display", "block");
}
});
if((item_page.search(filter) == -1) && (totalHide === parseInt(field.length))){
boletim.css("display", "none");
} else {
boletim.css("display", "block");
}
}
function filterPublicoAlvo(filter){
const boletim = $("#coronavirus > div.bloco_covid > #publico_alvo");
const field = $("#publico_alvo > div.painel_vacinometro_publico > ul > li");
const item_page = removeAcento(boletim.children('div.titulo_pricipal_covid').children('h2')[0].innerText).toLowerCase();
let totalHide = 0;
field.each(function () {
const value = removeAcento($(this)[0].innerText).toLowerCase();
if((value.search(filter) === -1) && (item_page.search(filter) === -1)){
$(this).css("display", "none");
totalHide++;
}else{
$(this).css("display", "block");
}
});
if((item_page.search(filter) == -1) && (totalHide === parseInt(field.length))){
boletim.css("display", "none");
} else {
boletim.css("display", "block");
}
}
function filterNoticias(filter){
const father = $("#coronavirus > #grid_noticias");
const title_page = removeAcento($("#grid_noticias > div.titulo_pricipal_covid > h2")[0].innerText).toLowerCase();
if(title_page.search(filter) == -1){
father.css("display", "none");
} else {
father.css("display", "block");
}
}
function filterPublicacoesOficiais(filter){
const father = $("#coronavirus > #grid_publicacoes_oficiais");
const title_page = removeAcento($("#grid_publicacoes_oficiais > div.estrutura_inicial > div > div.titulo_pricipal_covid > h2")[0].innerText).toLowerCase();
if(title_page.search(filter) == -1){
father.css("display", "none");
} else {
father.css("display", "block");
}
}
function filterContratosAquisicoes(filter){
const father = $("#coronavirus > #grid_contratacao_aquisicao");
const title_page = removeAcento($("#coronavirus > #grid_contratacao_aquisicao #transparencia > div.titulo_pricipal_covid > h2")[0].innerText).toLowerCase();
if(title_page.search(filter) == -1){
father.css("display", "none");
} else {
father.css("display", "block");
}
}
function filterReceitasDespesas(filter){
const father = $("#coronavirus > #grid_receita_despesa");
const title_page = removeAcento($("#coronavirus > #grid_receita_despesa > div > div > div.titulo_pricipal_covid > h2")[0].innerText).toLowerCase();
if(title_page.search(filter) == -1){
father.css("display", "none");
} else {
father.css("display", "block");
}
}
function filterOutrasInformacoes(filter){
const father = $("#coronavirus > #grid_outras_informacoes");
const title_page = removeAcento($("#coronavirus > #grid_outras_informacoes > div > div > div.titulo_pricipal_covid > h2")[0].innerText).toLowerCase();
const field = $("#coronavirus > #grid_outras_informacoes > div > div > div.outras-informacoes-covid > ul > li");
let totalHide = 0;
field.each(function () {
const value = removeAcento($(this)[0].innerText).toLowerCase();
if((value.search(filter) === -1) && (title_page.search(filter) == -1)){
$(this).css("display", "none");
totalHide++;
}else{
$(this).css("display", "block");
}
});
if((title_page.search(filter) == -1) && (totalHide === parseInt(field.length))){
father.css("display", "none");
} else {
father.css("display", "block");
}
}
</script>]]>
|
2225
| <![CDATA[<script>
function setExperienceResponse(el, ref){
clearExperienceResponse();
let action = ($(el)[0].className).replace('face ', '');
if(!$(el).hasClass(action+'-checked')){
$(el).addClass(action+'-checked');
$('.satisfacao-message').css('display','block');
$('#actionRef').val(ref);
}else{
$('.satisfacao-message').css('display','none');
$('#actionRef').val(0);
}
}
function clearExperienceResponse(){
$('.face').map(function(index, value){
let ref = $(value).data('ref');
$(value).removeClass().addClass('face').addClass(ref);
});
}
</script>]]>
|
2251
| <![CDATA[<script>
$(document).ready(function(){
$("#d-container.d-diversos").height($("#d-menu").height());
});
window.addEventListener('resize', function() {
$("#d-container.d-diversos").height($("#d-menu").height());
});
</script>]]>
|
2318
| <![CDATA[<script>
$( document ).ready(function() {
$('#vLibras').append("<div vw class='enabled'><div vw-access-button class='active'></div><div vw-plugin-wrapper><div class='vw-plugin-top-wrapper'></div></div></div>");
new window.VLibras.Widget('https://vlibras.gov.br/app');
});
</script>]]>
|
2327
| <![CDATA[<script>
$(document).ready(function(){
if(!sessionStorage.getItem("messager-footer")){
sessionStorage.setItem("messager-footer", "true");
}
if(sessionStorage.getItem("messager-footer") == "true"){
$("#messager-footer").removeClass("d-hide");
}
});
function disabledMessFooter(){
$("#messager-footer").addClass("d-hide");
sessionStorage.setItem("messager-footer", "false");
}
var id = new Object();
id = ["#navega h2/9/19", "#navega a/9/19", "#navega li/9/19", "#pagina_lei p/13/23", "#pagina_lei li/9/19", ".titulo_pricipal_covid h1/15/25", ".titulo_pricipal_covid h2/15/25", ".titulo_pricipal_covid h3/10/20", ".btn-mais-noticias a span/20/30", ".estrutura_inicial .receitas-despeas-covid .tp h2/18/28", ".estrutura_inicial .outras-informacoes-covid ul li a/9/19", "#container_noticias .bloco_covid .painel ul li h3/20/30", "#container_noticias .bloco_covid .painel ul li h4/7/17", "#container_noticias .bloco_covid .painel ul li h5/7/17", "#container_noticias .bloco3 .titulo_principal/9/19", "#container_noticias .bloco3 .sub_titulo_principal/10/20", "#iframe_transparencia /7/17", "#lista_busca_ferramentas h1/9/19", "#lista_busca_ferramentas h2/11/18", "#lista_busca_ferramentas h3/16/26", "#lista_busca_ferramentas strong/11/18", "#lista_busca_ferramentas .h1/16/25", "#lista_busca_ferramentas a/13/20", "#lista_busca_ferramentas p/10/17", "#filtro_novo h4/11/18", "#filtro_novo li/11/18", "#nenhum_registro/24/34", ".titulo_pricipal_covid h2 strong/15/25", ".painel_vacinometro ul li h1/15/25", ".painel_vacinometro ul li h2/9/19", ".painel_vacinometro ul li h2/9/19", ".painel_vacinometro ul li div ul li/9/19", ".painel_vacinometro_publico ul li div.pvp_header h1/9/19", ".painel_vacinometro_publico ul li div.pvp_body table tr th/9/19", ".painel_vacinometro_publico ul li div.pvp_body table tr td/9/19", ".painel_vacinometro_publico ul li div.pvp_footer span/9/19", ".estrutura_inicial .d-form li label/9/19", ".estrutura_inicial .d-table/9/19", ".estrutura_inicial .d-form li select/9/19", ".estrutura_inicial .d-form li input/9/19", "#paginas/9/19", "#paginas .nav_pg li/9/19", "#paginas h2/9/19", ".estrutura_inicial #contratos_covid .list .shadowbox ul li/9/19", ".estrutura_inicial #contratos_covid .list .shadowbox ul li a/7/17", ".estrutura_inicial .receitas-despeas-covid .tp ul li a/9/19"];
var swiper = new Swiper('#topo', {
// pagination: '.swiper-pagination',
nextButton: '.swiper-button-next',
prevButton: '.swiper-button-prev',
paginationClickable: true,
// Disable preloading of all images
preloadImages: true,
// Enable lazy loading
lazyLoading: true,
centeredSlides: true,
effect: 'fade',
autoplay: 3000,
autoplayDisableOnInteraction: false
});
(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.9";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>]]>
|
2372
| <![CDATA[<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-105160113-1');
</script>]]>
|
2380
| <![CDATA[<script>
var link = document.createElement('meta');
link.setAttribute('property', 'og:url');
link.content = document.location;
document.getElementsByTagName('head')[0].appendChild(link);
</script>]]>
|