Link de exemplo
Ícone do botão Button Label
Ícone de carregamento

Conhecimento, inovação e qualidade para estar sempre ao seu lado

O nosso trabalho e a nossa tecnologia estão em todos os lugares: nas estradas, nos oceanos, nos céus, nas indústrias, nos postos... Conheça aqui os produtos que oferecemos para você ou para o seu negócio. 
Ícone para filtrar todas os produtos
Todos os Produtos
Icon to filter the category Redução de Emissões
Redução de Emissões
Icon to filter the category Automotivo
Automotivo
Icon to filter the category Aviação
Aviação
Icon to filter the category Domésticos
Domésticos
Icon to filter the category Industriais
Industriais
Icon to filter the category Marítimos
Marítimos
Icon to filter the category Pavimentação
Pavimentação

Legenda:

Produto com redução de emissões

Poxa! Sua busca não
encontrou nenhum resultado

Tente novamente ou clique
no botão abaixo para visualizar todos os negócios

Mostrar todos os produtos

Faça uma busca:

Buscar

Sugestões de busca

Link do botão
Ícone do botão Exibir mais resultados
Ícone de carregamento

Mais pesquisados

Preço dos combustíveis

Pré-Sal

Time Petrobras





Canais

Idioma

Acessibilidade

Idioma:

Selecione um idioma:

Une erreur s'est produite lors du traitement du modèle.
The following has evaluated to null or missing:
==> selectedLang  [in template "20099#20135#8170390" at line 27, column 37]

----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: ${selectedLang}  [in template "20099#20135#8170390" at line 27, column 35]
----
1<#-- Conteúdo Web -> Templates: Site de Crise - Funções gerais--> 
2<#include "${templatesPath}/1975398" /> 
3 
4<#if entries?has_content> 
5    <#assign languageList = []/> 
6     <#list entries as curLanguage> 
7        <#assign currURL = currentURL> 
8        <#assign currLangId = curLanguage.languageId/> 
9        <#assign currLangName = curLanguage.shortDisplayName/> 
10        <#if !curLanguage.selected> 
11            <#assign languageList += [{"url":curLanguage.getURL(), "languageId":currLangId , "name":currLangName,"selected":false}]/> 
12 
13        <#else> 
14            <#assign languageList += [{"url":"", "languageId":currLangId, "name":currLangName, "selected":true} ]/> 
15            <#assign selectedLang = currLangId /> 
16        </#if> 
17    </#list> 
18</#if> 
19 
20<script> 
21    <#assign languageConfig = "language_" + randomNumber(1000)> 
22	<#assign languageListJson = "languageListJson_" + randomNumber(1000)> 
23	<#assign currentSelectedLang = "currentSelectedLang_" + randomNumber(1000)> 
24 
25    
26    let ${languageListJson} = ${jsonFactoryUtil.looseSerializeDeep(languageList)};  
27    let ${currentSelectedLang} = "${selectedLang}"; 
28 
29    function getURLforLangChange(languageName) { 
30        let result = ""; 
31            if (languageName != null) { 
32                for (let i = 0; i < ${languageListJson}.length; i++) { 
33                    if (${languageListJson}[i].name.toLowerCase() == languageName.toLowerCase()) { 
34                        result = ${languageListJson}[i].url; 
35
36
37
38            return result; 
39
40		 
41   
42 
43    function getURLforLangChangeById(languageId) { 
44            let result = ""; 
45			 
46			function setCookie(cname, cvalue, exdays) { 
47                const d = new Date(); 
48                d.setTime(d.getTime() + (exdays*24*60*60*1000)); 
49                let expires = "expires="+ d.toUTCString(); 
50                document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/"; 
51				//console.log("Set-Cookie:"+cname + "=" + cvalue + ";" + expires + ";path=/"); 
52            }	 
53			 
54			 
55            if (languageId != null) {										 
56					for (let i = 0; i < ${languageListJson}.length; i++) { 
57						if (${languageListJson}[i].languageId.toLowerCase() == languageId.toLowerCase()) { 
58							result = ${languageListJson}[i].url; 
59
60
61					 
62					if (languageId == "en_US") { 
63                        if (result) { 	 
64                            var newResult = "";   
65							var currentLocation = location.pathname.replace("/pt/","/"); 
66							var pathName = '/en'+currentLocation;				 
67					        var pathNameEncoded = encodeURIComponent(pathName); 
68							var splitParams = new URLSearchParams(result); 
69							let i=0; 
70							for (let pair of splitParams.entries()) { 
71								if (i>0) newResult += '&'; 								  									 
72								if (pair[0]== 'redirect'){ 
73									newResult += pair[0]+'='+pathNameEncoded; 
74								} else { 
75									newResult += pair[0]+'='+pair[1]; 
76								}	 
77								i++; 
78
79							setCookie("GUEST_LANGUAGE_ID",languageId,365); 
80							result = pathName; 						 
81
82
83			}				 
84            return result; 
85
86 
87 
88    function goToURLIng() { 
89		// console.log("goToURLIng"); 
90         window.location.href = getURLforLangChangeById('en_US'); 
91
92 
93    function goToURLPort() { 
94		//console.log("goToURLPort"); 
95        window.location.href = getURLforLangChangeById('pt_BR'); 
96
97 
98 
99 function ${languageConfig}() { 
100	  
101    AUI().ready(function () { 
102		 
103		const languageToggleInput = document.querySelector('#language-toggle'); 
104 
105        const defineLanguage = () => { 
106            if (themeDisplay.getLanguageId() === 'en_US') { 
107			    if (languageToggleInput){ 
108					languageToggleInput.checked = true; 
109
110
111        }	 
112		 
113		 
114		 
115        setTimeout(function () { 
116			//console.log("Setting button behavior"); 
117            //const languages = document.querySelectorAll("div.petro-pt-en > div.switch > span, div.switch-fill > span.pt, div.switch-fill > span.en"); 
118			const languages = document.querySelectorAll("div.switch-fill > span.pt, div.switch-fill > span.en"); 
119            //const input = document.querySelector("div.petro-pt-en > div.switch > input, div.switch-fill > span.pt, div.switch-fill > span.en"); 
120			const inputBR = document.querySelector("div.switch-fill > span.pt"); 
121			const inputEN = document.querySelector("div.switch-fill > span.en"); 
122 
123            if (${currentSelectedLang} == 'pt_BR') { 
124                languages.forEach(function (language) { 
125                    if (language.innerText == 'EN' || language.innerText == 'Inglês' || language.innerText == 'English' ) { 
126					        if (inputEN){ 
127							//console.log("Inglês "+inputEN.innerText);  
128							inputEN.addEventListener("click", function (){ 
129								//console.log("acionado");     
130								window.location.href = getURLforLangChangeById('en_US'); 
131							}); 
132							}					   	 
133
134                }); 
135
136 
137            if (${currentSelectedLang} == 'en_US') { 
138                languages.forEach(function (language) { 
139                    if (language.innerText == 'PT' || language.innerText == 'Português' || language.innerText == 'Portuguese'  ) { 
140					    if (inputBR){						 
141						//console.log("Português "+inputBR.innerText);  
142                        inputBR.addEventListener("click", function(){ 
143						    //console.log("acionado");     
144                            window.location.href = getURLforLangChangeById('pt_BR'); 
145                        });						 
146						}					 
147
148                }); 
149
150            defineLanguage() 
151 
152        }, 500); 
153    }); 
154 
155 
156
157 
158    ${languageConfig}(); 
159 
160</script> 
161<noscript>Seu navegador não suporta Scripts.</noscript> 

Acessibilidade

Alto-Contraste

Desligado

Ligado

Texto Grande

Desligado

Ligado

Escolha um Canal: