8
| <![CDATA[<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-T69C4H5');</script>]]>
|
24
| <![CDATA[<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-1665737-25');
gtag('config', 'G-1W47Q0QRQW');
</script>]]>
|
17503
| <![CDATA[<script>
$(function(){
var interrogacao = new Interrogacao();
interrogacao.inicializar();
$('[data-toggle="tooltip"]').tooltip();
var opiniao = new Opiniao();
opiniao.inicializar();
});
function abrirModalOpiniao() {
$("#modalOpiniao").modal("show");
}
</script>]]>
|
17676
| <![CDATA[<script type="text/javascript"> var springUrl = "/".split(";")[0]; </script>]]>
|
17681
| <![CDATA[<script>
$(function () {
$(window).load(function () {
// FUNÇÃO PARA O COLLAPSE
cgu.element.display();
// FUNÇÃO PARA VALIDAR O FORMULÁRIO
forms.form.validate(".form-consulta");
});
cgu.criarDatePickers();
cgu.iniciaTipoConteudoEspecifico();
cgu.inicializarMascaraAbreviarValor();
});
</script>]]>
|
17707
| <![CDATA[<script>
function filtroGlossarioLocal(form, listContainer) {
/* Filtro de acordo com as palavras digitadas */
$(form).find('input[type="text"]').on('keyup click input', function () {
var val = this.value;
if (this.value.length > 0) {
$(listContainer).find('ul').addClass('expanded');
$('.expand-list').hide();
$('.clear-input').removeClass('hidden');
$(listContainer).find('ul li').hide().filter(function () {
return $(this).text().toLowerCase().indexOf( val.toLowerCase() ) != -1;
}).show();
}else {
$(listContainer).find('ul li').show();
$(listContainer).find('ul').removeClass('expanded');
$('.expand-list').show();
$('.clear-input').addClass('hidden');
}
});
$(form).find('.clear-input').on('click', function(){
$(form).find('input[type="text"]').val('');
$(listContainer).find('ul li').show();
$(listContainer).find('ul').removeClass('expanded');
$('.expand-list').show();
$(this).addClass('hidden');
});
/* Insere um link expandir a visualizar da lista de índices */
$(listContainer).find('ul').each(function() {
if ($(this).find('li').length > 4) {
$(this).append('<div class="expand-list"><a href="#" class="open-list"><i class="fa fa-chevron-down" aria-hidden="true"></i> <span>Ver mais</span></a><a href="#" class="close-list"><i class="fa fa-chevron-up" aria-hidden="true"></i> <span>Fechar</span></a></div>')
}
});
/* Expande/Retrai lista de índices */
$('.expand-list > a').on('click', function(e){
e.preventDefault();
$(this).closest('ul').toggleClass('expanded');
});
$(listContainer).find('ul li > a').on('click', function() {
if( !$(this).next('.collapse').hasClass('in') ){
$(this).addClass('ativo');
$(this).closest('ul').addClass('expanded');
}else{
$(this).removeClass('ativo');
}
});
};
$(window).load(function() {
filtroGlossarioLocal("#form-busca-indice", "#box-listas--filtros");
$("#form-busca-indice").find('input[type="text"]').click();
if ("" != "") {
var item = $("#box-listas--filtros").find('ul li > a').filter(function () {
return $(this).text().toLowerCase() === "".toLowerCase();
});
if (!cgu.isNullOuUndefined(item)) {
item.addClass('ativo');
item.closest('ul').addClass('expanded');
var itemDescricao = item.next();
if (!cgu.isNullOuUndefined(itemDescricao)) {
itemDescricao.addClass('in');
itemDescricao.attr("aria-expanded", "true");
}
window.scrollBy(0, item.offset().top - 200);
}
}
});
</script>]]>
|