Logo CEWEB.br Logo NIC.br Logo CGI.br
Home Sobre o projeto

Sites Verificados

Lista com todos os sítios que foram verificados pela TIC Web Acessibilidade. Dentro de cada domínio, há informações detalhadas sobre as páginas coletadas, bem como os erros e avisos de cada uma *.

Endereço Nota Erros Avisos

www.bnb.gov.br/web/guest/produtos-e-servicos

98.56 6 275
Recomendações Avaliadas
1.1 Respeitar os Padrões Web.

Recomendações

Número Descrição Quantidade Linhas Código Fonte
1.1.3 Presença de CSS(s) in-line 18 1056 1524 1525 1597 1598 1670 1671 1738 1739 1776 1984 2102 2981 2986 2991 2996 3079 3082
1.1.4 Presença de CSS(s) interno 4 730 1970 1993 2143
1.1.6 Presença de javascript(s) interno 17 101 230 579 602 661 773 802 914 1050 2079 2172 3522 3551 3568 3599 3832 3845
1056 <![CDATA[<span class="text-white" style="font-size:xx-large"><svg class="lexicon-icon lexicon-icon-acessibilidade" focusable="false" id="yvap" role="presentation"><use xlink:href="https://www.bnb.gov.br/o/bnb-dxp-theme/images/bnb/icons.svg#acessibilidade"/></svg></span>]]>
1524 <![CDATA[<div class="card m-0 background-position-y-center background-position-x-center" style="border:none; background-size:cover; background-image: url(/o/adaptive-media/image/2909253/lg/cdc-convenios-home.png?t=1669057647127)"> <div class="card m-0 p-4 d-flex justify-content-end" style="border:none; min-height: 240px; background: linear-gradient(transparent 30%, rgba(0,0,0,0.6) 70%); background-blend-mode: darken;"> <a href="/credito-pessoal-consignado-convenios" class="stretched-link h5 text-white" aria-label="Saiba mais sobre CDC Convênio"> CDC Convênio </a> <div class="text-white"><p>Crédito pessoal na medida, com vantagens exclusivas pra você</p></div> </div> </div>]]>
1525 <![CDATA[<div class="card m-0 p-4 d-flex justify-content-end" style="border:none; min-height: 240px; background: linear-gradient(transparent 30%, rgba(0,0,0,0.6) 70%); background-blend-mode: darken;"> <a href="/credito-pessoal-consignado-convenios" class="stretched-link h5 text-white" aria-label="Saiba mais sobre CDC Convênio"> CDC Convênio </a> <div class="text-white"><p>Crédito pessoal na medida, com vantagens exclusivas pra você</p></div> </div>]]>
1597 <![CDATA[<div class="card m-0 background-position-y-center background-position-x-center" style="border:none; background-size:cover; background-image: url(/o/adaptive-media/image/2191866/md/mulher-com-oculos-de-realidade-virtual.jpg?t=1660251216072)"> <div class="card m-0 p-4 d-flex justify-content-end" style="border:none; min-height: 240px; background: linear-gradient(transparent 30%, rgba(0,0,0,0.6) 70%); background-blend-mode: darken;"> <a href="https://www.bnb.gov.br/fne-inovacao" class="stretched-link h5 text-white" aria-label="Saiba mais sobre FNE Inovação"> FNE Inovação </a> <div class="text-white"><p>Inove em produtos, serviços e processos da sua empresa.</p></div> </div> </div>]]>
1598 <![CDATA[<div class="card m-0 p-4 d-flex justify-content-end" style="border:none; min-height: 240px; background: linear-gradient(transparent 30%, rgba(0,0,0,0.6) 70%); background-blend-mode: darken;"> <a href="https://www.bnb.gov.br/fne-inovacao" class="stretched-link h5 text-white" aria-label="Saiba mais sobre FNE Inovação"> FNE Inovação </a> <div class="text-white"><p>Inove em produtos, serviços e processos da sua empresa.</p></div> </div>]]>
1670 <![CDATA[<div class="card m-0 background-position-y-center background-position-x-center" style="border:none; background-size:cover; background-image: url(/o/adaptive-media/image/1529191/md/Cart%C3%A3o+BNB+Agro.jpg?t=1652818815671)"> <div class="card m-0 p-4 d-flex justify-content-end" style="border:none; min-height: 240px; background: linear-gradient(transparent 30%, rgba(0,0,0,0.6) 70%); background-blend-mode: darken;"> <a href="/cartao-bnb-agro" class="stretched-link h5 text-white" aria-label="Saiba mais sobre Cartão BNB Agro"> Cartão BNB Agro </a> <div class="text-white"><p>Saiba como obter o financiamento para desenvolver o seu agronegócio</p></div> </div> </div>]]>
1671 <![CDATA[<div class="card m-0 p-4 d-flex justify-content-end" style="border:none; min-height: 240px; background: linear-gradient(transparent 30%, rgba(0,0,0,0.6) 70%); background-blend-mode: darken;"> <a href="/cartao-bnb-agro" class="stretched-link h5 text-white" aria-label="Saiba mais sobre Cartão BNB Agro"> Cartão BNB Agro </a> <div class="text-white"><p>Saiba como obter o financiamento para desenvolver o seu agronegócio</p></div> </div>]]>
1738 <![CDATA[<div class="card m-0 background-position-y-center background-position-x-center" style="border:none; background-size:cover; background-image: url(/o/adaptive-media/image/56619/md/por-do-sol.jpg?t=1623335791470)"> <div class="card m-0 p-4 d-flex justify-content-end" style="border:none; min-height: 240px; background: linear-gradient(transparent 30%, rgba(0,0,0,0.6) 70%); background-blend-mode: darken;"> <a href="/agroamigo-sol" class="stretched-link h5 text-white" aria-label="Saiba mais sobre Agroamigo Sol"> Agroamigo Sol </a> <div class="text-white"><p>Crédito para geração de energia solar no meio rural.</p></div> </div> </div>]]>
1739 <![CDATA[<div class="card m-0 p-4 d-flex justify-content-end" style="border:none; min-height: 240px; background: linear-gradient(transparent 30%, rgba(0,0,0,0.6) 70%); background-blend-mode: darken;"> <a href="/agroamigo-sol" class="stretched-link h5 text-white" aria-label="Saiba mais sobre Agroamigo Sol"> Agroamigo Sol </a> <div class="text-white"><p>Crédito para geração de energia solar no meio rural.</p></div> </div>]]>
1776 <![CDATA[<ul class="nav" style="max-height: 344px" role="navigation"> <li class="nav-item " role="presentation"> <a class="nav-link text-secondary-d1" href="https://www.bnb.gov.br/web/guest/institucional"> <svg class="lexicon-icon lexicon-icon-bnb-simbolo mr-2" focusable="false" id="xgvg" role="presentation"><use xlink:href="https://www.bnb.gov.br/o/bnb-dxp-theme/images/bnb/icons.svg#bnb-simbolo"/></svg> Institucional </a> </li> <li class="nav-item " role="presentation"> <a class="nav-link text-secondary-d1" href="https://www.bnb.gov.br/web/guest/desenvolvimento-regional"> <svg class="lexicon-icon lexicon-icon-trajeto mr-2" focusable="false" id="kcmf" role="presentation"><use xlink:href="https://www.bnb.gov.br/o/bnb-dxp-theme/images/bnb/icons.svg#trajeto"/></svg> Desenvolvimento Regional </a> </li> <li class="nav-item " role="presentation"> <a class="nav-link text-secondary-d1" href="https://www.bnb.gov.br/web/guest/sustentabilidade"> <svg class="lexicon-icon lexicon-icon-responsabilidade-ambiental mr-2" focusable="false" id="lnju" role="presentation"><use xlink:href="https://www.bnb.gov.br/o/bnb-dxp-theme/images/bnb/icons.svg#responsabilidade-ambiental"/></svg> Sustentabilidade </a> </li> <li class="nav-item " role="presentation"> <a class="nav-link text-secondary-d1" href="https://www.bnb.gov.br/web/guest/cultura"> <svg class="lexicon-icon lexicon-icon-mascaras-cultura mr-2" focusable="false" id="cfkh" role="presentation"><use xlink:href="https://www.bnb.gov.br/o/bnb-dxp-theme/images/bnb/icons.svg#mascaras-cultura"/></svg> Cultura </a> </li> <li class="nav-item " role="presentation"> <a class="nav-link text-secondary-d1" href="https://www.bnb.gov.br/web/guest/etene"> <svg class="lexicon-icon lexicon-icon-prancheta-dados mr-2" focusable="false" id="cptx" role="presentation"><use xlink:href="https://www.bnb.gov.br/o/bnb-dxp-theme/images/bnb/icons.svg#prancheta-dados"/></svg> Etene </a> </li> <li class="nav-item " role="presentation"> <a class="nav-link text-secondary-d1" href="https://www.bnb.gov.br/web/guest/hub-de-inovacao"> <svg class="lexicon-icon lexicon-icon-foguete mr-2" focusable="false" id="iiab" role="presentation"><use xlink:href="https://www.bnb.gov.br/o/bnb-dxp-theme/images/bnb/icons.svg#foguete"/></svg> Hubine </a> </li> <li class="nav-item " role="presentation"> <a class="nav-link text-secondary-d1" href="https://www.bnb.gov.br/web/guest/fundeci"> <svg class="lexicon-icon lexicon-icon-pasta-indicadores mr-2" focusable="false" id="qjro" role="presentation"><use xlink:href="https://www.bnb.gov.br/o/bnb-dxp-theme/images/bnb/icons.svg#pasta-indicadores"/></svg> Fundeci </a> </li> <li class="nav-item " role="presentation"> <a class="nav-link text-secondary-d1" href="https://www.bnb.gov.br/web/guest/relacao-com-acionistas-e-investidores"> <svg class="lexicon-icon lexicon-icon-relacionamento-2 mr-2" focusable="false" id="etrd" role="presentation"><use xlink:href="https://www.bnb.gov.br/o/bnb-dxp-theme/images/bnb/icons.svg#relacionamento-2"/></svg> Relação com Acionistas e Investidores </a> </li> <li class="nav-item " role="presentation"> <a class="nav-link text-secondary-d1" href="https://www.bnb.gov.br/web/guest/open-finance"> <svg class="lexicon-icon lexicon-icon-open-finance mr-2" focusable="false" id="ojuh" role="presentation"><use xlink:href="https://www.bnb.gov.br/o/bnb-dxp-theme/images/bnb/icons.svg#open-finance"/></svg> Open Finance </a> </li> <li class="nav-item " role="presentation"> <a class="nav-link text-secondary-d1" href="https://www.bnb.gov.br/web/guest/atividades-financiadas"> <svg class="lexicon-icon lexicon-icon-credito-2 mr-2" focusable="false" id="kdzq" role="presentation"><use xlink:href="https://www.bnb.gov.br/o/bnb-dxp-theme/images/bnb/icons.svg#credito-2"/></svg> Atividades Financiadas </a> </li> <li class="nav-item " role="presentation"> <a class="nav-link text-secondary-d1" href="https://www.bnb.gov.br/web/guest/eventos"> <svg class="lexicon-icon lexicon-icon-programacao mr-2" focusable="false" id="jojk" role="presentation"><use xlink:href="https://www.bnb.gov.br/o/bnb-dxp-theme/images/bnb/icons.svg#programacao"/></svg> Eventos </a> </li> <li class="nav-item " role="presentation"> <a class="nav-link text-secondary-d1" href="https://www.bnb.gov.br/web/guest/revista-juridica"> <svg class="lexicon-icon lexicon-icon-livro-aberto mr-2" focusable="false" id="xztx" role="presentation"><use xlink:href="https://www.bnb.gov.br/o/bnb-dxp-theme/images/bnb/icons.svg#livro-aberto"/></svg> Revista Jurídica </a> </li> <li class="nav-item " role="presentation"> <a class="nav-link text-secondary-d1" href="https://www.bnb.gov.br/web/guest/transparencia-e-prestacao-de-contas"> <svg class="lexicon-icon lexicon-icon-view mr-2" focusable="false" id="aiki" role="presentation"><use xlink:href="https://www.bnb.gov.br/o/bnb-dxp-theme/images/clay/icons.svg#view"/></svg> Transparência e Prestação de Contas </a> </li> <li class="nav-item " role="presentation"> <a class="nav-link text-secondary-d1" href="https://www.bnb.gov.br/web/guest/seguranca"> <svg class="lexicon-icon lexicon-icon-protegido mr-2" focusable="false" id="cqlp" role="presentation"><use xlink:href="https://www.bnb.gov.br/o/bnb-dxp-theme/images/bnb/icons.svg#protegido"/></svg> Segurança </a> </li> <li class="nav-item " role="presentation"> <a class="nav-link text-secondary-d1" href="https://www.bnb.gov.br/web/guest/privacidade-e-protecao-de-dados"> <svg class="lexicon-icon lexicon-icon-hidden mr-2" focusable="false" id="fclz" role="presentation"><use xlink:href="https://www.bnb.gov.br/o/bnb-dxp-theme/images/clay/icons.svg#hidden"/></svg> Privacidade e Proteção de Dados </a> </li> <li class="nav-item " role="presentation"> <a class="nav-link text-secondary-d1" href="https://www.bnb.gov.br/web/guest/sobre-o-banco"> <svg class="lexicon-icon lexicon-icon-bnb-simbolo mr-2" focusable="false" id="ckcm" role="presentation"><use xlink:href="https://www.bnb.gov.br/o/bnb-dxp-theme/images/bnb/icons.svg#bnb-simbolo"/></svg> Tudo Sobre o Banco </a> </li> </ul>]]>
1984 <![CDATA[<div style="max-width:400px" class="text-white shadow-dark"> <big> <div>Conheça as soluções do Banco do Nordeste para realizar seus planos.</div> </big> </div>]]>
2102 <![CDATA[<div class="section-featured py-5" style="background:var(--primary)"> <div id="catalogo" class="fragment_2332365 container"> <span id="loading" aria-hidden="true" class="loading-animation loading-animation-light"> <div id="overlay" class="d-block"></div> </span> <div id="filtro" class="bg-light rounded p-3 d-none"> <div class="h6">O que você procura?</div> <div> <div class="p-2 dropdown-full form-group"> <label for="nomePS">Nome do Produto ou Serviço</label> <input class="form-control" id="nomePS" placeholder="Nome" type="text"> <ul id="autoComplete" class="dropdown-menu"></ul> </div> <hr> </div> <div class="d-flex align-items-md-end flex-column flex-md-row justify-content-around"> <div class="p-2"> <label for="segmento">Público</label> <select name="segmento" id="segmento" class="custom-select"> <option selected disabled value>Selecione</option> </select> </div> <div class="p-2"> <label for="empresa">Faturamento</label> <select name="empresa" id="empresa" class="custom-select" disabled> <option selected disabled value>Selecione</option> </select> </div> <div class="p-2"> <label for="linha">Linhas de Produtos</label> <select name="linha" id="linha" class="custom-select"> <option selected disabled value>Selecione</option> </select> </div> <div class="p-2"> <a id="btnReset" role="button" title="Limpar Filtro" href="#0" class="btn btn-outline-primary text-nowrap">Limpar Filtros</a> </div> </div> </div> <div id="ps" class="row mt-4"></div> </div> </div>]]>
2981 <![CDATA[<a aria-label="Instagram" href="https://www.instagram.com/bancodonordeste/" target="_blank" class="mx-2 lexicon-icon-box bg-dark text-white rounded-circle" style="font-size:1.3em" role="menuitem"> <span> <svg class="lexicon-icon lexicon-icon-social-instagram" focusable="false" id="vohd" role="presentation"><use xlink:href="https://www.bnb.gov.br/o/bnb-dxp-theme/images/bnb/icons.svg#social-instagram"/></svg> </span> <span class="hide-accessible">Instagram</span> </a>]]>
2986 <![CDATA[<a aria-label="Youtube" href="https://www.youtube.com/bancodonordesteoficial" target="_blank" class="mx-2 lexicon-icon-box bg-dark text-white rounded-circle" style="font-size:1.3em" role="menuitem"> <span> <svg class="lexicon-icon lexicon-icon-social-youtube" focusable="false" id="xbzf" role="presentation"><use xlink:href="https://www.bnb.gov.br/o/bnb-dxp-theme/images/bnb/icons.svg#social-youtube"/></svg> </span> <span class="hide-accessible">Youtube</span> </a>]]>
2991 <![CDATA[<a aria-label="Facebook" href="https://www.facebook.com/bancodonordeste" target="_blank" class="mx-2 lexicon-icon-box bg-dark text-white rounded-circle" style="font-size:1.3em" role="menuitem"> <span> <svg class="lexicon-icon lexicon-icon-social-facebook" focusable="false" id="movv" role="presentation"><use xlink:href="https://www.bnb.gov.br/o/bnb-dxp-theme/images/bnb/icons.svg#social-facebook"/></svg> </span> <span class="hide-accessible">Facebook</span> </a>]]>
2996 <![CDATA[<a aria-label="Twitter" href="https://twitter.com/BancodoNordeste" target="_blank" class="mx-2 lexicon-icon-box bg-dark text-white rounded-circle" style="font-size:1.3em" role="menuitem"> <span> <svg class="lexicon-icon lexicon-icon-social-twitter" focusable="false" id="opuw" role="presentation"><use xlink:href="https://www.bnb.gov.br/o/bnb-dxp-theme/images/bnb/icons.svg#social-twitter"/></svg> </span> <span class="hide-accessible">Twitter</span> </a>]]>
3079 <![CDATA[<img alt="Selo da Ética" style="width:154px" src="https://www.bnb.gov.br/o/bnb-dxp-theme/images/selo-etica.svg" />]]>
3082 <![CDATA[<img alt="Selo da Lei de Acesso à Informação" style="width:42px" src="https://www.bnb.gov.br/o/bnb-dxp-theme/images/selo-lai.svg" />]]>
730 <![CDATA[<style data-senna-track="temporary" type="text/css"> </style>]]>
1970 <![CDATA[<style> .bg-kcmq { background-image: url(/documents/44549/0/casal-olhando-tablet.jpg/2ccc95c9-fc3a-8885-4f1c-d4db90664b90?t=1630347473301&download=true); } @media (max-width:1024px){ .bg-kcmq { background-image: url(/o/adaptive-media/image/52836/md/casal-olhando-tablet.jpg?t=1630347473301) } } @media (max-width:1366px) and (min-width:1024px){ .bg-kcmq { background-image: url(/o/adaptive-media/image/52836/lg/casal-olhando-tablet.jpg?t=1630347473301) } } @media (max-width:1600px) and (min-width:1366px){ .bg-kcmq { background-image: url(/o/adaptive-media/image/52836/xl/casal-olhando-tablet.jpg?t=1630347473301) } } @media (max-width:1920px) and (min-width:1600px){ .bg-kcmq { background-image: url(/o/adaptive-media/image/52836/xxl/casal-olhando-tablet.jpg?t=1630347473301) } } </style>]]>
1993 <![CDATA[<style>.fragment_61111 { background-size: cover; background-repeat: no-repeat; background-color: var(--light); } .fragment_61111 > div { min-height: max(70vh, 580px); } .shadow-dark { text-shadow: 0 0 8px rgba(0,0,0,0.5); } .shadow-light { text-shadow: 0 0 8px rgba(255,255,255,0.5); } .display-1, .display-2, .display-3, .display-4 { font-weight: 600; } .background-position-x-left {background-position-x: left;} .background-position-x-center {background-position-x: center;} .background-position-x-right {background-position-x: right;} .background-position-y-top {background-position-y: top;} .background-position-y-center {background-position-y: center;} .background-position-y-bottom {background-position-y: bottom;} @media (min-width:576px) { .background-position-x-sm-left {background-position-x: left;} .background-position-x-sm-center {background-position-x: center;} .background-position-x-sm-right {background-position-x: right;} .background-position-y-sm-top {background-position-y: top;} .background-position-y-sm-center {background-position-y: center;} .background-position-y-sm-bottom {background-position-y: bottom;} } @media (min-width:768px) { .background-position-x-md-left {background-position-x: left;} .background-position-x-md-center {background-position-x: center;} .background-position-x-md-right {background-position-x: right;} .background-position-y-md-top {background-position-y: top;} .background-position-y-md-center {background-position-y: center;} .background-position-y-md-bottom {background-position-y: bottom;} } @media (min-width:992px) { .background-position-x-lg-left {background-position-x: left;} .background-position-x-lg-center {background-position-x: center;} .background-position-x-lg-right {background-position-x: right;} .background-position-y-lg-top {background-position-y: top;} .background-position-y-lg-center {background-position-y: center;} .background-position-y-lg-bottom {background-position-y: bottom;} } @media (min-width:1200px) { .background-position-x-xl-left {background-position-x: left;} .background-position-x-xl-center {background-position-x: center;} .background-position-x-xl-right {background-position-x: right;} .background-position-y-xl-top {background-position-y: top;} .background-position-y-xl-center {background-position-y: center;} .background-position-y-xl-bottom {background-position-y: bottom;} } @media (min-width:1400px) { .background-position-x-xxl-left {background-position-x: left;} .background-position-x-xxl-center {background-position-x: center;} .background-position-x-xxl-right {background-position-x: right;} .background-position-y-xxl-top {background-position-y: top;} .background-position-y-xxl-center {background-position-y: center;} .background-position-y-xxl-bottom {background-position-y: bottom;} } .opacity-wine { background-color: #640f2488; } .opacity-dark { background-color: #0008; } .opacity-light { background-color: #fff8; } .gradient-wine { background: linear-gradient(#640f2400 40%, #640f2488 60%, #640f24aa 80%); } .gradient-dark { background: linear-gradient(#0000 40%, #0008 60%, #000a 80%); } .gradient-light { background: linear-gradient(#fff0 40%, #fff8 60%, #fffa 80%); } .gradient-salmon { background: linear-gradient(#ffe6cc00 40%, #ffe6cc88 60%, #ffe6ccaa 80%); } @media (min-width:576px) { .nofx-sm { background:none; }} @media (min-width:768px) { .nofx-md { background:none; }} @media (min-width:992px) { .nofx-lg { background:none; }} @media (min-width:1200px) { .nofx-xl { background:none; }} @media (min-width:1400px) { .nofx-xxl { background:none; }}</style>]]>
2143 <![CDATA[<style>.fragment_2332365 { } #loading{ position:absolute; left:50%; top:50vh; z-index: 3; } .ps .card:hover{ -webkit-transform: scale(1.05); -ms-transform: scale(1.05); transform: scale(1.05); } .ps .card{ transition: transform 0.25s ease-out; } #overlay { position: fixed; display: none; width: 100%; height: 100%; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0,0,0,0.5); z-index: 1; cursor: pointer; }</style>]]>
101 <![CDATA[<script id="f5_cspm">(function(){var f5_cspm={f5_p:'PMKADNMFIINACGEDDFHGJEGINDIHEJDLICEKJPFIFHDFNOJNDDIEEIGFMPPIHNBOODMBAMDNAAMDCFGHGJGAOLHCAAJOJPJMHOEDFOFKMEPJCIDFEADOOFGOGBHOPJOG',setCharAt:function(str,index,chr){if(index>str.length-1)return str;return str.substr(0,index)+chr+str.substr(index+1);},get_byte:function(str,i){var s=(i/16)|0;i=(i&15);s=s*32;return((str.charCodeAt(i+16+s)-65)<<4)|(str.charCodeAt(i+s)-65);},set_byte:function(str,i,b){var s=(i/16)|0;i=(i&15);s=s*32;str=f5_cspm.setCharAt(str,(i+16+s),String.fromCharCode((b>>4)+65));str=f5_cspm.setCharAt(str,(i+s),String.fromCharCode((b&15)+65));return str;},set_latency:function(str,latency){latency=latency&0xffff;str=f5_cspm.set_byte(str,40,(latency>>8));str=f5_cspm.set_byte(str,41,(latency&0xff));str=f5_cspm.set_byte(str,35,2);return str;},wait_perf_data:function(){try{var wp=window.performance.timing;if(wp.loadEventEnd>0){var res=wp.loadEventEnd-wp.navigationStart;if(res<60001){var cookie_val=f5_cspm.set_latency(f5_cspm.f5_p,res);window.document.cookie='f5avr0961558605aaaaaaaaaaaaaaaa_cspm_='+encodeURIComponent(cookie_val)+';path=/';} return;}} catch(err){return;} setTimeout(f5_cspm.wait_perf_data,100);return;},go:function(){var chunk=window.document.cookie.split(/\s*;\s*/);for(var i=0;i<chunk.length;++i){var pair=chunk[i].split(/\s*=\s*/);if(pair[0]=='f5_cspm'&&pair[1]=='1234') {var d=new Date();d.setTime(d.getTime()-1000);window.document.cookie='f5_cspm=;expires='+d.toUTCString()+';path=/;';setTimeout(f5_cspm.wait_perf_data,100);}}}} f5_cspm.go();}());</script>]]>
230 <![CDATA[<script data-senna-track="temporary" type="text/javascript"> // <![CDATA[ var Liferay = Liferay || {}; Liferay.Browser = { acceptsGzip: function() { return false; }, getMajorVersion: function() { return 0; }, getRevision: function() { return ''; }, getVersion: function() { return ''; }, isAir: function() { return false; }, isChrome: function() { return false; }, isEdge: function() { return false; }, isFirefox: function() { return false; }, isGecko: function() { return false; }, isIe: function() { return false; }, isIphone: function() { return false; }, isLinux: function() { return false; }, isMac: function() { return false; }, isMobile: function() { return false; }, isMozilla: function() { return false; }, isOpera: function() { return false; }, isRtf: function() { return false; }, isSafari: function() { return false; }, isSun: function() { return false; }, isWebKit: function() { return false; }, isWindows: function() { return false; } }; Liferay.Data = Liferay.Data || {}; Liferay.Data.ICONS_INLINE_SVG = true; Liferay.Data.NAV_SELECTOR = '#navigation'; Liferay.Data.NAV_SELECTOR_MOBILE = '#navigationCollapse'; Liferay.Data.isCustomizationView = function() { return false; }; Liferay.Data.notices = [ null ]; Liferay.PortletKeys = { DOCUMENT_LIBRARY: 'com_liferay_document_library_web_portlet_DLPortlet', DYNAMIC_DATA_MAPPING: 'com_liferay_dynamic_data_mapping_web_portlet_DDMPortlet', ITEM_SELECTOR: 'com_liferay_item_selector_web_portlet_ItemSelectorPortlet' }; Liferay.PropsValues = { JAVASCRIPT_SINGLE_PAGE_APPLICATION_TIMEOUT: 0, NTLM_AUTH_ENABLED: false, UPLOAD_SERVLET_REQUEST_IMPL_MAX_SIZE: 104857600 }; Liferay.ThemeDisplay = { getLayoutId: function() { return '167'; }, getLayoutRelativeControlPanelURL: function() { return '/group/guest/~/control_panel/manage'; }, getLayoutRelativeURL: function() { return '/web/guest/produtos-e-servicos'; }, getLayoutURL: function() { return 'https://www.bnb.gov.br/web/guest/produtos-e-servicos'; }, getParentLayoutId: function() { return '0'; }, isControlPanel: function() { return false; }, isPrivateLayout: function() { return 'false'; }, isVirtualLayout: function() { return false; }, getBCP47LanguageId: function() { return 'pt-BR'; }, getCanonicalURL: function() { return 'https\x3a\x2f\x2fwww\x2ebnb\x2egov\x2ebr\x2fprodutos-e-servicos'; }, getCDNBaseURL: function() { return 'https://www.bnb.gov.br'; }, getCDNDynamicResourcesHost: function() { return ''; }, getCDNHost: function() { return ''; }, getCompanyGroupId: function() { return '20128'; }, getCompanyId: function() { return '20101'; }, getDefaultLanguageId: function() { return 'pt_BR'; }, getDoAsUserIdEncoded: function() { return ''; }, getLanguageId: function() { return 'pt_BR'; }, getParentGroupId: function() { return '20124'; }, getPathContext: function() { return ''; }, getPathImage: function() { return '/image'; }, getPathJavaScript: function() { return '/o/frontend-js-web'; }, getPathMain: function() { return '/c'; }, getPathThemeImages: function() { return 'https://www.bnb.gov.br/o/bnb-dxp-theme/images'; }, getPathThemeRoot: function() { return '/o/bnb-dxp-theme'; }, getPlid: function() { return '270'; }, getPortalURL: function() { return 'https://www.bnb.gov.br'; }, getRealUserId: function() { return '20105'; }, getScopeGroupId: function() { return '20124'; }, getScopeGroupIdOrLiveGroupId: function() { return '20124'; }, getSessionId: function() { return ''; }, getSiteAdminURL: function() { return 'https://www.bnb.gov.br/group/guest/~/control_panel/manage?p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view'; }, getSiteGroupId: function() { return '20124'; }, getURLControlPanel: function() { return '/group/control_panel?refererPlid=270'; }, getURLHome: function() { return 'https\x3a\x2f\x2fwww\x2ebnb\x2egov\x2ebr\x2fweb\x2fguest'; }, getUserEmailAddress: function() { return ''; }, getUserId: function() { return '20105'; }, getUserName: function() { return ''; }, isAddSessionIdToURL: function() { return false; }, isImpersonated: function() { return false; }, isSignedIn: function() { return false; }, isStagedPortlet: function() { return false; }, isStateExclusive: function() { return false; }, isStateMaximized: function() { return false; }, isStatePopUp: function() { return false; } }; var themeDisplay = Liferay.ThemeDisplay; Liferay.AUI = { getAvailableLangPath: function() { return 'available_languages.jsp?browserId=other&themeId=portalbancodonordeste_WAR_bnbdxptheme&colorSchemeId=01&minifierType=js&languageId=pt_BR&t=1695350076125'; }, getCombine: function() { return true; }, getComboPath: function() { return '/combo/?browserId=other&minifierType=&languageId=pt_BR&t=1670770798365&'; }, getDateFormat: function() { return '%d/%m/%Y'; }, getEditorCKEditorPath: function() { return '/o/frontend-editor-ckeditor-web'; }, getFilter: function() { var filter = 'raw'; filter = 'min'; return filter; }, getFilterConfig: function() { var instance = this; var filterConfig = null; if (!instance.getCombine()) { filterConfig = { replaceStr: '.js' + instance.getStaticResourceURLParams(), searchExp: '\\.js$' }; } return filterConfig; }, getJavaScriptRootPath: function() { return '/o/frontend-js-web'; }, getLangPath: function() { return 'aui_lang.jsp?browserId=other&themeId=portalbancodonordeste_WAR_bnbdxptheme&colorSchemeId=01&minifierType=js&languageId=pt_BR&t=1670770798365'; }, getPortletRootPath: function() { return '/html/portlet'; }, getStaticResourceURLParams: function() { return '?browserId=other&minifierType=&languageId=pt_BR&t=1670770798365'; } }; Liferay.authToken = '80mOexeo'; Liferay.currentURL = '\x2fweb\x2fguest\x2fprodutos-e-servicos'; Liferay.currentURLEncoded = '\x252Fweb\x252Fguest\x252Fprodutos-e-servicos'; // ]]> </script>]]>
579 <![CDATA[<script data-senna-track="temporary" type="text/javascript"> // <![CDATA[ // ]]> </script>]]>
602 <![CDATA[<script data-senna-track="permanent" id="googleAnalyticsScript" type="text/javascript"> (function(i, s, o, g, r, a, m) { i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function() { var arrayValue = i[r].q || []; i[r].q = arrayValue; (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', 'G-0W34JDGDKK', 'auto'); ga('send', 'pageview'); Liferay.on( 'endNavigate', function(event) { ga('set', 'page', event.path); ga('send', 'pageview'); } ); </script>]]>
661 <![CDATA[<script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-0W34JDGDKK'); </script>]]>
773 <![CDATA[<script type="text/javascript"> // <![CDATA[ Liferay.Loader.require('frontend-js-spa-web@3.0.53/liferay/init.es', function(frontendJsSpaWeb3053LiferayInitEs) { (function(){ var frontendJsSpaWebLiferayInitEs = frontendJsSpaWeb3053LiferayInitEs; (function() {var $ = AUI.$;var _ = AUI._; Liferay.SPA = Liferay.SPA || {}; Liferay.SPA.cacheExpirationTime = -1; Liferay.SPA.clearScreensCache = false; Liferay.SPA.debugEnabled = false; Liferay.SPA.excludedPaths = ["/c/document_library","/documents","/image"]; Liferay.SPA.loginRedirect = ''; Liferay.SPA.navigationExceptionSelectors = ':not([target="_blank"]):not([data-senna-off]):not([data-resource-href]):not([data-cke-saved-href]):not([data-cke-saved-href])'; Liferay.SPA.requestTimeout = 0; Liferay.SPA.userNotification = { message: 'Parece que isso está demorando mais do que o esperado.', timeout: 30000, title: 'Oops' }; frontendJsSpaWebLiferayInitEs.default.init( function(app) { app.setPortletsBlacklist({"com_liferay_site_navigation_directory_web_portlet_SitesDirectoryPortlet":true,"com_liferay_nested_portlets_web_portlet_NestedPortletsPortlet":true,"com_liferay_login_web_portlet_LoginPortlet":true,"com_liferay_login_web_portlet_FastLoginPortlet":true}); app.setValidStatusCodes([221,490,494,499,491,492,493,495,220]); } );})();})(); }); // ]]> </script>]]>
802 <![CDATA[<script type="text/javascript"> // <![CDATA[ Liferay.on( 'ddmFieldBlur', function(event) { if (window.Analytics) { Analytics.send( 'fieldBlurred', 'Form', { fieldName: event.fieldName, focusDuration: event.focusDuration, formId: event.formId, page: event.page } ); } } ); Liferay.on( 'ddmFieldFocus', function(event) { if (window.Analytics) { Analytics.send( 'fieldFocused', 'Form', { fieldName: event.fieldName, formId: event.formId, page: event.page } ); } } ); Liferay.on( 'ddmFormPageShow', function(event) { if (window.Analytics) { Analytics.send( 'pageViewed', 'Form', { formId: event.formId, page: event.page, title: event.title } ); } } ); Liferay.on( 'ddmFormSubmit', function(event) { if (window.Analytics) { Analytics.send( 'formSubmitted', 'Form', { formId: event.formId } ); } } ); Liferay.on( 'ddmFormView', function(event) { if (window.Analytics) { Analytics.send( 'formViewed', 'Form', { formId: event.formId, title: event.title } ); } } ); // ]]> </script>]]>
914 <![CDATA[<script data-senna-track="temporary" type="text/javascript"> if (window.Analytics) { window._com_liferay_document_library_analytics_isViewFileEntry = false; } </script>]]>
1050 <![CDATA[<script> new window.VLibras.Widget('https://vlibras.gov.br/app'); </script>]]>
2079 <![CDATA[<script>(function() {var fragmentElement = document.querySelector('#fragment-413776-kcmq'); var configuration = {"useShadowAd":false,"bgImagePosition":"background-position-y-center background-position-x-center","useFilterAd":false,"externalLink":false,"titleSizeAd":"","bgImagePositionAdaptive":"","bgImage":"http://s1itpp18.dmz.bnb:8080/documents/44549/0/casal-olhando-tablet.jpg/2ccc95c9-fc3a-8885-4f1c-d4db90664b90?t=1630347473301&download=true","titleSize":"display-3","useShadow":true,"mode":"default","bgImagePositionAd":"background-position-y-center background-position-x-center","useButton":false,"horizontalAlignAd":"align-items-start text-left","horizontalAlign":"align-items-center text-center","shadowColor":"shadow-dark","bgImagePositionAdaptiveAd":"","bgImageAd":"","usePageTitle":true,"filterColorAd":"gradient-dark","usePageDescription":false,"filterColor":"gradient-dark","shadowColorAd":"shadow-dark","useFilter":true,"filterOnDevice":"xxl","filterOnDeviceAd":"md","invertColor":true,"invertColorAd":false};let links = fragmentElement.querySelectorAll('a.btn') links.forEach(link => { let rel = link.getAttribute('rel') if (rel == 'external') { link.setAttribute('aria-label', link.innerText + ' (link externo)' ) } });}());</script>]]>
2172 <![CDATA[<script>(function() {var fragmentElement = document.querySelector('#fragment-2332365-mftm'); var configuration = {"contentSetId":2072748,"segmentosVocabulario":222899,"produtoServicoVocabulario":222958,"bgColor":{"cssClass":"primary","rgbValue":"rgb(122, 18, 44)"},"pageSize":1000};let apiURL = `${Liferay.ThemeDisplay.getPortalURL()}/o/headless-delivery` pathThemeImages = Liferay.ThemeDisplay.getPathThemeImages() spritemapBNB = pathThemeImages + '/bnb/icons.svg' spritemapClay = pathThemeImages + '/clay/icons.svg' pathMethod = `/v1.0/content-sets/${configuration.contentSetId}/content-set-elements` params = { 'flatten': true, 'pageSize': `${configuration.pageSize}`, 'p_auth': Liferay.authToken } getVocabularySegmentoRootCount() function getVocabularySegmentoRootCount(){ Liferay.Service( '/assetcategory/get-vocabulary-root-categories-count', { groupId: 20124, vocabularyId: configuration.segmentosVocabulario }, function(num) { getVocabularySegmentoRoot(num); } ); } function getVocabularySegmentoRoot(num){ let publicoSelect = document.querySelector("#segmento"); Liferay.Service( '/assetcategory/get-vocabulary-root-categories', { groupId: 20124, vocabularyId: configuration.segmentosVocabulario, start: 0, end: num, '-obc': '' }, function(segmentos) { let segEmpresa; segmentos.forEach(segmento=>{ let opt = document.createElement("option"); opt.value = segmento.categoryId; opt.innerText=segmento.name; publicoSelect.append(opt); if(segmento.name == "Empresa"){ segEmpresa = segmento; } }); checkChildren(segEmpresa,segmentos) //getChildrenEmpresa(segEmpresa,segmentos) } ); } function checkChildren(segmentoEmpresa,segmentos){ // console.log("entrei") var segmentoChildren = []; var count = 0; segmentos.forEach(segmento=>{ Liferay.Service( '/assetcategory/get-child-categories-count', { parentCategoryId: segmento.categoryId }, function(obj) { count++; if(obj != 0){ //let categ = {"categoria":segmento.categoryId,"quantidade":obj} segmentoChildren.push(segmento.categoryId); } if(count == segmentos.length){ getChildrenSegmento(segmentoChildren,segmentoEmpresa,segmentos) } } ); }); } function getChildrenSegmento(segmentoChildren,segmentoEmpresa,segmentos){ var segChildren = []; var count = 0; segmentoChildren.forEach(segmento=>{ Liferay.Service( '/assetcategory/get-child-categories', { parentCategoryId: segmento }, function(obj) { count ++; let categ = {"parentId":segmento,"children":obj}; segChildren.push(categ) if(count == segmentoChildren.length){ getChildrenEmpresa(segmentoEmpresa,segmentos,segChildren) } } ); }); } function getChildrenEmpresa(empresa,segmentos,segChildren){ Liferay.Service( '/assetcategory/get-child-categories', { parentCategoryId: empresa.categoryId }, function(obj) { getPropriedadesEmpresa(obj,segmentos,segChildren) } ); } function getPropriedadesEmpresa(empresas,segmentos,segChildren){ let faturamentoSelect = document.querySelector("#empresa"); let propEmpresas = []; let count = 0; empresas.forEach(empresa=>{ Liferay.Service( '/assetcategoryproperty/get-category-properties', { entryId: empresa.categoryId }, function(obj) { count++; if(obj[0].key == "faturamento"){ let prop = {"categoryId":obj[0].categoryId,"value":obj[0].value} propEmpresas.push(prop); let opt = document.createElement("option"); opt.value =obj[0].categoryId; opt.innerText = obj[0].value; faturamentoSelect.append(opt) } if(empresas.length == count){ getVocabularyRootCount(propEmpresas,segmentos,segChildren) } } ); }); } function getVocabularyRootCount(propEmpresas,segmentos,segChildren){ Liferay.Service( '/assetcategory/get-vocabulary-root-categories-count', { groupId: 20124, vocabularyId: configuration.produtoServicoVocabulario }, function(num) { getVocabularyRoot(num,propEmpresas,segmentos,segChildren); } ); } function getVocabularyRoot(num,propEmpresas,segmentos,segChildren){ Liferay.Service( '/assetcategory/get-vocabulary-root-categories', { groupId: 20124, vocabularyId: configuration.produtoServicoVocabulario, start: 0, end: num, '-obc': '' }, function(familias) { getVocabularyChildren(familias,propEmpresas,segmentos,segChildren) } ); } function getVocabularyChildren(familias,propEmpresas,segmentos,segChildren){ var linhas = []; familias.forEach((familia,index)=>{ Liferay.Service( '/assetcategory/get-child-categories', { parentCategoryId: familia.categoryId }, function(obj) { linhas.push(obj) if(familias.length-1 == index){ propriedadesFamilias(familias,linhas,propEmpresas,segmentos,segChildren) } } ); }) } function propriedadesFamilias(familias,linhas,propEmpresas,segmentos,segChildren){ var categoriasFamilia = []; familias.forEach((familia,index)=>{ Liferay.Service( '/assetcategoryproperty/get-category-properties', {entryId:familia.categoryId}, function(objs){ var cor = ""; var icone = ""; objs.forEach(obj=>{ if(obj.key == "cor"){ cor = obj.value } if(obj.key == "icone"){ icone = obj.value } }) let categoria = {"categoryId":familia.categoryId,"name":familia.name,"cor":cor,"icone":icone} categoriasFamilia.push(categoria) if(familias.length-1 == index){ propriedadesLinhas(categoriasFamilia,linhas,propEmpresas,segmentos,segChildren) } } ) }); } function propriedadesLinhas(categoriasFamilia,linhas,propEmpresas,segmentos,segChildren){ var count = 0; var propriedades = []; var colecaoLinhas = []; var linhaSelect = document.querySelector("#linha"); linhas.forEach((linha,index)=>{ linha.forEach((categoria,index) =>{ colecaoLinhas.push(categoria); let linhaopt = document.createElement("option"); linhaopt.value = categoria.categoryId; linhaopt.innerText = categoria.name; linhaSelect.append(linhaopt); }); }); var colecaoLinhasCount = colecaoLinhas.length; colecaoLinhas.forEach((categoria,index) =>{ Liferay.Service( '/assetcategoryproperty/get-category-properties', { entryId: categoria.categoryId }, function(obj) { count++; if(obj.length != 0 && obj[0].key == "cor" ){ let propriedade = {"categoryId":obj[0].categoryId,"name":categoria.name,"cor":obj[0].value} propriedades.push(propriedade); } if(count==colecaoLinhas.length){ requisicao(categoriasFamilia,linhas,propriedades,propEmpresas,segmentos,segChildren) } } ); }); } function requisicao(categoriasFamilia,categoriasLinha,propriedadesLinhas,propEmpresas,segmentos,segChildren){ let request = Liferay.Util.addParams(params, apiURL+pathMethod) fetch( request, { method: 'GET', headers: { 'Content-Type': 'application/json' } } ).then((response) => response.json()) .then((data) => { var colecao = data.items; montar(colecao,categoriasFamilia,categoriasLinha,propriedadesLinhas,propEmpresas,segmentos,segChildren) }) .catch((error) => { console.error('Error:', error) }); } function montar(colecao,categoriasFamilia,categoriasLinha,propriedadesLinhas,propEmpresas,segmentos,segChildren){ var catalogo = document.querySelector("#catalogo"); var psDiv = document.querySelector("#ps"); var autoComplete = document.querySelector("#autoComplete"); catalogo.querySelector("span").remove(); document.querySelector("#filtro").classList.remove("d-none"); colecao.reverse().forEach(asset =>{ var familiaId; var familiaName; var familiaIcone; var familiaCor; var linhaa; var linhaName; var linhaCor; var descricao; var pagina; var numerosCategorias= []; let contentFields = asset.content.contentFields; let categories = asset.content.taxonomyCategoryBriefs; let title = asset.title; var titleDiv = document.createElement("div"); titleDiv.classList.add("h4"); titleDiv.classList.add("text-primary"); titleDiv.innerText = title; categories.forEach(categoria=>{ let categoryId = categoria.taxonomyCategoryId; numerosCategorias.push(categoryId); segChildren.forEach(segObj=>{ segObj.children.forEach(cat=>{ if(cat.categoryId == categoryId){ numerosCategorias.push(segObj.parentId) } }); }); categoriasFamilia.forEach(familia=>{ if(categoryId == familia.categoryId){ familiaId = familia.categoryId; familiaName = familia.name; familiaCor = familia.cor; familiaIcone = familia.icone.replace("bnb ",""); } }); categoriasLinha.forEach(linha=>{ linha.forEach(categoria=>{ if(categoryId == categoria.categoryId){ linhaName = categoria.name; } }) }); propriedadesLinhas.forEach(linha =>{ if(categoryId == linha.categoryId){ linhaa = linha.categoryId; linhaCor = linha.cor; } }); }); contentFields.forEach(field =>{ if(field.name == "descricao"){ descricao = field.contentFieldValue.data; } if(field.name == "pagina"){ pagina = field.contentFieldValue.link; } }); var PS = document.createElement("div"); PS.classList.add("ps"); PS.classList.add("p-3"); PS.classList.add("col-sm-12"); PS.classList.add("col-md-6"); PS.classList.add("col-lg-4"); PS.classList.add("align-items-stretch"); numerosCategorias.forEach(item=>{ PS.classList.add(item); }); var cardDiv = document.createElement("div"); cardDiv.classList.add("card"); cardDiv.classList.add("border-0"); cardDiv.classList.add("shadow"); cardDiv.classList.add("h-100"); cardDiv.classList.add("d-flex"); cardDiv.classList.add("align-items-stretch"); cardDiv.classList.add("justify-content-between"); cardDiv.classList.add("p-4"); var cabecalhoDiv = document.createElement("div"); var categoriaDiv = document.createElement("div"); categoriaDiv.classList.add("d-flex"); var iconeSpan = document.createElement("span"); var cor = linhaCor != null ? linhaCor : familiaCor; iconeSpan.style="color:var(--"+cor+")"; var svgDiv = document.createElementNS('http://www.w3.org/2000/svg',"svg"); svgDiv.classList.add("lexicon-icon"); svgDiv.classList.add("lexicon-icon-"+familiaIcone); svgDiv.setAttribute("focusable",false); svgDiv.setAttribute("role","presentation"); var useDiv = document.createElement("use"); let imagemURL = Liferay.ThemeDisplay.getPathThemeImages()+'/bnb/icons.svg#'+familiaIcone; useDiv.setAttribute("xlink:href",imagemURL); var linhaSpan = document.createElement("span"); linhaSpan.classList.add('ml-1'); linhaSpan.classList.add('text-secondary'); linhaSpan.classList.add('font-weight-bold'); linhaSpan.innerText = linhaName; var descricaoP = document.createElement("p"); descricaoP.classList.add("mt-4"); descricaoP.innerText = descricao; var botaoDiv = document.createElement("div"); var linkA = document.createElement("a"); linkA.classList.add("btn"); linkA.classList.add("btn-primary"); linkA.setAttribute("aria-label", "Saiba mais sobre "+title); linkA.href=pagina; linkA.innerText="Conheça"; botaoDiv.append(linkA) svgDiv.append(useDiv); iconeSpan.append(svgDiv); categoriaDiv.append(iconeSpan); categoriaDiv.append(linhaSpan); cabecalhoDiv.append(titleDiv); cabecalhoDiv.append(categoriaDiv); cabecalhoDiv.append(descricaoP); cardDiv.append(cabecalhoDiv); cardDiv.append(botaoDiv); PS.append(cardDiv); psDiv.append(PS); var liText = document.createElement("li"); var aText = document.createElement("a"); aText.classList.add("dropdown-item"); aText.href = pagina; aText.innerText = title; liText.append(aText); autoComplete.append(liText); }); const noResult = document.createElement("li"); noResult.setAttribute("id","noresult"); noResult.classList.add("px-3") noResult.innerText = "Não há resultados para esta busca"; autoComplete.append(noResult); } var filtros = ["segmento","empresa","linha"]; document.querySelector("#btnReset").addEventListener("click", resetFiltro) filtros.forEach(filtro=>{ let curFiltro = document.querySelector("#"+filtro); curFiltro.addEventListener("change", getProdutos); }); var valuesFiltros = []; var nomePs = document.querySelector("#nomePS"); var autoComplete = document.querySelector("#autoComplete"); nomePs.addEventListener("keyup",buscarPalavra); nomePs.addEventListener("focusout",sairBusca); function getProdutos(value,id){ valuesFiltros = []; filtros.forEach(filtro=>{ let curFiltro = document.querySelector("#"+filtro); if(curFiltro.value != ""){ valuesFiltros.push(curFiltro.value); if(filtro == "segmento"){ if(curFiltro.value == 222901){ document.querySelector("#empresa").disabled = false; }else{ document.querySelector("#empresa").disabled = true; document.querySelector("#empresa").value = ""; } } } }); displayCards(valuesFiltros) } function displayCards(valuesFiltros){ let produtosServicos = document.querySelectorAll(".ps"); produtosServicos.forEach(ps=>{ ps.classList.remove("d-none"); }); produtosServicos.forEach((ps,index)=>{ let count = 0; ps.classList.add("d-none"); ps.classList.forEach(classe=>{ valuesFiltros.forEach(value=>{ if(value == classe){ count++; } }); }); if(valuesFiltros.length == count){ ps.classList.remove("d-none"); } }); } function resetFiltro(){ filtros.forEach(filtro=>{ let curFiltro = document.querySelector("#"+filtro); curFiltro.value = ""; }); document.querySelector("#nomePS").value = ""; let produtosServicos = document.querySelectorAll(".ps"); produtosServicos.forEach(ps=>{ ps.classList.remove("d-none"); }); } function buscarPalavra(){ if(nomePS.value != "" && nomePS.value.length >2){ var count = 0; autoComplete.childNodes.forEach(li=>{ if(li.id != "noresult"){ let nome = li.childNodes[0].innerText; if(nome.toLowerCase().search(nomePS.value.toLowerCase()) == -1){ count++; li.classList.add("d-none"); } }else{ if(count != autoComplete.childNodes.length-1){ li.classList.add("d-none"); } } }); autoComplete.classList.add("show") }else{ sairBusca() } } function sairBusca(){ if(autoComplete.classList.contains("show")){ setTimeout(setTime, 150) function setTime(){ autoComplete.classList.remove("show") autoComplete.childNodes.forEach(li=>{ if(li.classList.contains("d-none")){ li.classList.remove("d-none"); } }); document.querySelector("#noresult").classList.remove("d-none") } } };}());</script>]]>
3522 <![CDATA[<script type="text/javascript"> // <![CDATA[ Liferay.BrowserSelectors.run(); // ]]> </script>]]>
3551 <![CDATA[<script type="text/javascript"> // <![CDATA[ Liferay.currentURL = '\x2fweb\x2fguest\x2fprodutos-e-servicos'; Liferay.currentURLEncoded = '\x252Fweb\x252Fguest\x252Fprodutos-e-servicos'; // ]]> </script>]]>
3568 <![CDATA[<script type="text/javascript"> // <![CDATA[ // ]]> </script>]]>
3599 <![CDATA[<script type="text/javascript"> // <![CDATA[ (function() {var $ = AUI.$;var _ = AUI._; var onVote = function(event) { if (window.Analytics) { Analytics.send('VOTE', 'Ratings', { className: event.className, classPK: event.classPK, ratingType: event.ratingType, score: event.score }); } }; var onDestroyPortlet = function() { Liferay.detach('ratings:vote', onVote); Liferay.detach('destroyPortlet', onDestroyPortlet); }; Liferay.on('ratings:vote', onVote); Liferay.on('destroyPortlet', onDestroyPortlet); })();(function() {var $ = AUI.$;var _ = AUI._; var onDestroyPortlet = function() { Liferay.detach('messagePosted', onMessagePosted); Liferay.detach('destroyPortlet', onDestroyPortlet); }; Liferay.on('destroyPortlet', onDestroyPortlet); var onMessagePosted = function(event) { if (window.Analytics) { Analytics.send('posted', 'Comment', { className: event.className, classPK: event.classPK, commentId: event.commentId, text: event.text }); } }; Liferay.on('messagePosted', onMessagePosted); })();(function() {var $ = AUI.$;var _ = AUI._; var onShare = function(data) { if (window.Analytics) { Analytics.send('shared', 'SocialBookmarks', { className: data.className, classPK: data.classPK, type: data.type, url: data.url }); } }; var onDestroyPortlet = function() { Liferay.detach('socialBookmarks:share', onShare); Liferay.detach('destroyPortlet', onDestroyPortlet); }; Liferay.on('socialBookmarks:share', onShare); Liferay.on('destroyPortlet', onDestroyPortlet); })();(function() {var $ = AUI.$;var _ = AUI._; var pathnameRegexp = /\/documents\/(\d+)\/(\d+)\/(.+?)\/([^&]+)/; function handleDownloadClick(event) { if (event.target.nodeName.toLowerCase() === 'a' && window.Analytics) { var anchor = event.target; var match = pathnameRegexp.exec(anchor.pathname); var fileEntryId = anchor.dataset.analyticsFileEntryId || (anchor.parentElement && anchor.parentElement.dataset.analyticsFileEntryId); if (fileEntryId && match) { var getParameterValue = function(parameterName) { var result = null; anchor.search .substr(1) .split('&') .forEach(function(item) { var tmp = item.split('='); if (tmp[0] === parameterName) { result = decodeURIComponent(tmp[1]); } }); return result; }; Analytics.send('documentDownloaded', 'Document', { groupId: match[1], fileEntryId: fileEntryId, preview: !!window._com_liferay_document_library_analytics_isViewFileEntry, title: decodeURIComponent(match[3].replace(/\+/gi, ' ')), version: getParameterValue('version') }); } } } var onDestroyPortlet = function() { document.body.removeEventListener('click', handleDownloadClick); }; Liferay.once('destroyPortlet', onDestroyPortlet); var onPortletReady = function() { document.body.addEventListener('click', handleDownloadClick); }; Liferay.once('portletReady', onPortletReady); })(); if (Liferay.Data.ICONS_INLINE_SVG) { svg4everybody( { attributeName: 'data-href', polyfill: true, validate: function (src, svg, use) { return !src || !src.startsWith('#'); } } ); } Liferay.Portlet.register('com_liferay_site_navigation_menu_web_portlet_SiteNavigationMenuPortlet_INSTANCE_name_navigation_menu'); Liferay.Portlet.onLoad( { canEditTitle: false, columnPos: 0, isStatic: 'end', namespacedId: 'p_p_id_com_liferay_site_navigation_menu_web_portlet_SiteNavigationMenuPortlet_INSTANCE_name_navigation_menu_', portletId: 'com_liferay_site_navigation_menu_web_portlet_SiteNavigationMenuPortlet_INSTANCE_name_navigation_menu', refreshURL: '\x2fc\x2fportal\x2frender_portlet\x3fp_l_id\x3d270\x26p_p_id\x3dcom_liferay_site_navigation_menu_web_portlet_SiteNavigationMenuPortlet_INSTANCE_name_navigation_menu\x26p_p_lifecycle\x3d0\x26p_t_lifecycle\x3d0\x26p_p_state\x3dnormal\x26p_p_mode\x3dview\x26p_p_col_id\x3dnull\x26p_p_col_pos\x3dnull\x26p_p_col_count\x3dnull\x26p_p_static\x3d1\x26p_p_isolated\x3d1\x26currentURL\x3d\x252Fweb\x252Fguest\x252Fprodutos-e-servicos', refreshURLData: {} } ); Liferay.Portlet.register('com_liferay_site_navigation_menu_web_portlet_SiteNavigationMenuPortlet_INSTANCE_lgpd_navigation_menu'); Liferay.Portlet.onLoad( { canEditTitle: false, columnPos: 0, isStatic: 'end', namespacedId: 'p_p_id_com_liferay_site_navigation_menu_web_portlet_SiteNavigationMenuPortlet_INSTANCE_lgpd_navigation_menu_', portletId: 'com_liferay_site_navigation_menu_web_portlet_SiteNavigationMenuPortlet_INSTANCE_lgpd_navigation_menu', refreshURL: '\x2fc\x2fportal\x2frender_portlet\x3fp_l_id\x3d270\x26p_p_id\x3dcom_liferay_site_navigation_menu_web_portlet_SiteNavigationMenuPortlet_INSTANCE_lgpd_navigation_menu\x26p_p_lifecycle\x3d0\x26p_t_lifecycle\x3d0\x26p_p_state\x3dnormal\x26p_p_mode\x3dview\x26p_p_col_id\x3dnull\x26p_p_col_pos\x3dnull\x26p_p_col_count\x3dnull\x26p_p_static\x3d1\x26p_p_isolated\x3d1\x26currentURL\x3d\x252Fweb\x252Fguest\x252Fprodutos-e-servicos', refreshURLData: {} } ); Liferay.Loader.require('metal-dom/src/all/dom', function(metalDomSrcAllDom) { (function(){ var dom = metalDomSrcAllDom; (function() {var $ = AUI.$;var _ = AUI._; var focusInPortletHandler = dom.delegate( document, 'focusin', '.portlet', function(event) { dom.addClasses(dom.closest(event.delegateTarget, '.portlet'), 'open'); } ); var focusOutPortletHandler = dom.delegate( document, 'focusout', '.portlet', function(event) { dom.removeClasses(dom.closest(event.delegateTarget, '.portlet'), 'open'); } ); })();})(); });AUI().use('liferay-menu', 'liferay-notice', 'aui-base', 'liferay-session', 'liferay-poller', function(A) {(function() {var $ = AUI.$;var _ = AUI._; if (A.UA.mobile) { Liferay.Util.addInputCancel(); } })();(function() {var $ = AUI.$;var _ = AUI._; new Liferay.Menu(); var liferayNotices = Liferay.Data.notices; for (var i = 1; i < liferayNotices.length; i++) { new Liferay.Notice(liferayNotices[i]); } })();(function() {var $ = AUI.$;var _ = AUI._; Liferay.Session = new Liferay.SessionBase( { autoExtend: true, redirectOnExpire: false, redirectUrl: 'https\x3a\x2f\x2fwww\x2ebnb\x2egov\x2ebr\x2fweb\x2fguest', sessionLength: 900, sessionTimeoutOffset: 70, warningLength: 0 } ); })();}); // ]]> </script>]]>
3832 <![CDATA[<script type="text/javascript"> // <![CDATA[ AUI().use( 'aui-base', function(A) { var frameElement = window.frameElement; if (frameElement && frameElement.getAttribute('id') === 'simulationDeviceIframe') { A.getBody().addClass('lfr-has-simulation-panel'); } } ); // ]]> </script>]]>
3845 <![CDATA[<script type="text/javascript"> // <![CDATA[ Liferay.Loader.require('frontend-js-tooltip-support-web@2.0.5/index', function(frontendJsTooltipSupportWeb205Index) { (function(){ var TooltipSupport = frontendJsTooltipSupportWeb205Index; (function() { try { TooltipSupport.default() } catch (err) { console.error(err); } })();})(); }); // ]]> </script>]]>