PageSourceSearch

https://estaticos.novaescola.org.br/header-footer/injetor_v012022.js?header=1&footer=1&alert=1

js novaescola.org.br collected 2026-09-24 08:39:20 UTC 21,736 bytes, 1 lines download raw bytes

1function ownKeys(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function _objectSpread(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ownKeys(Object(n),!0).forEach(function(e){_defineProperty(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function _defineProperty(e,t,n){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _toPropertyKey(e){e=_toPrimitive(e,"string");return"symbol"==_typeof(e)?e:e+""}function _toPrimitive(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0===n)return("string"===t?String:Number)(e);n=n.call(e,t||"default");if("object"!=_typeof(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}function _regenerator(){var m,e="function"==typeof Symbol?Symbol:{},t=e.iterator||"@@iterator",n=e.toStringTag||"@@toStringTag";function r(e,t,n,r){var o,a,i,c,s,l,u,d,p,t=t&&t.prototype instanceof v?t:v,t=Object.create(t.prototype);return _regeneratorDefine2(t,"_invoke",(o=e,a=n,u=r||[],d=!1,p={p:l=0,n:0,v:m,a:f,f:f.bind(m,4),d:function(e,t){return i=e,c=0,s=m,p.n=t,h}},function(e,t,n){if(1<l)throw TypeError("Generator is already running");for(d&&1===t&&f(t,n),c=t,s=n;(g=c<2?m:s)||!d;){i||(c?c<3?(1<c&&(p.n=-1),f(c,s)):p.n=s:p.v=s);try{if(l=2,i){if(g=i[e=c?e:"next"]){if(!(g=g.call(i,s)))throw TypeError("iterator result is not an object");if(!g.done)return g;s=g.value,c<2&&(c=0)}else 1===c&&(g=i.return)&&g.call(i),c<2&&(s=TypeError("The iterator does not provide a '"+e+"' method"),c=1);i=m}else if((g=(d=p.n<0)?s:o.call(a,p))!==h)break}catch(e){i=m,c=1,s=e}finally{l=1}}return{value:g,done:d}}),!0),t;function f(e,t){for(c=e,s=t,g=0;!d&&l&&!n&&g<u.length;g++){var n,r=u[g],o=p.p,a=r[2];3<e?(n=a===t)&&(s=r[(c=r[4])?5:c=3],r[4]=r[5]=m):r[0]<=o&&((n=e<2&&o<r[1])?(c=0,p.v=t,p.n=r[1]):o<a&&(n=e<3||r[0]>t||a<t)&&(r[4]=e,r[5]=t,p.n=a,c=0))}if(n||1<e)return h;throw d=!0,t}}var h={};function v(){}function o(){}function a(){}var g=Object.getPrototypeOf,e=[][t]?g(g([][t]())):(_regeneratorDefine2(g={},t,function(){return this}),g),i=a.prototype=v.prototype=Object.create(e);function c(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,_regeneratorDefine2(e,n,"GeneratorFunction")),e.prototype=Object.create(i),e}return _regeneratorDefine2(i,"constructor",o.prototype=a),_regeneratorDefine2(a,"constructor",o),_regeneratorDefine2(a,n,o.displayName="GeneratorFunction"),_regeneratorDefine2(i),_regeneratorDefine2(i,n,"Generator"),_regeneratorDefine2(i,t,function(){return this}),_regeneratorDefine2(i,"toString",function(){return"[object Generator]"}),(_regenerator=function(){return{w:r,m:c}})()}function _regeneratorDefine2(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}(_regeneratorDefine2=function(e,t,n,r){function o(t,n){_regeneratorDefine2(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))})(e,t,n,r)}function asyncGeneratorStep(e,t,n,r,o,a,i){try{var c=e[a](i),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,o)}function _asyncToGenerator(c){return function(){var e=this,i=arguments;return new Promise(function(t,n){var r=c.apply(e,i);function o(e){asyncGeneratorStep(r,t,n,o,a,"next",e)}function a(e){asyncGeneratorStep(r,t,n,o,a,"throw",e)}o(void 0)})}}function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Configuration={alertService:{local:"http://localhost:4001/api/alert/current",dev:"https://s3.amazonaws.com/lms.novaescola.org.br/alertas/dev.json",prod:"https://s3.amazonaws.com/lms.novaescola.org.br/alertas/prod.json"},fontawesomePath:{local:"http://localhost:3020/header-footer/fontawesomeheaderfooter.min.css",dev:"https://dev.estaticos.novaescola.org.br/header-footer/fontawesomeheaderfooter.min.css",prod:"https://estaticos.novaescola.org.br/header-footer/fontawesomeheaderfooter.min.css"},imagesPath:{local:"http://localhost:3020/assets/images",dev:"https://dev.estaticos.novaescola.org.br/assets/images",prod:"https://estaticos.novaescola.org.br/assets/images"},profileService:{local:"http://localhost:3001/profile",dev:"https://account.dev.novaescola.org.br/profile",prod:"https://account.novaescola.org.br/profile"},platformUserService:{local:"http://localhost:3001/platform/user",dev:"https://account.dev.novaescola.org.br/platform/user",prod:"https://account.novaescola.org.br/platform/user"},templatesPath:{local:"http://localhost:3020/header-footer/components",dev:"https://dev.estaticos.novaescola.org.br/header-footer/components",prod:"https://estaticos.novaescola.org.br/header-footer/components"}},getEnvironment=function(){var e=window.location.host;return-1!==e.indexOf("localhost")||-1!==e.indexOf("local.novaescola.org.br")?"local":-1!==e.indexOf("dev.")||-1!==e.indexOf("hhh.")?"dev":"prod"},getCookieHeaderFooter=function(e){for(var t=e+"=",n=decodeURIComponent(document.cookie).split(";"),r=0;r<n.length;r++){for(var o=n[r];" "==o.charAt(0);)o=o.substring(1);if(0==o.indexOf(t))return o.substring(t.length,o.length)}return""},request=function(i,c){var s=2<arguments.length&&void 0!==arguments[2]?arguments[2]:[],l=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return new Promise(function(e,t){var n=new XMLHttpRequest;n.open(i,c,!0);for(var r=0;r<s.length;r++){var o=s[r],a=o.key;n.setRequestHeader(a,o.value)}n.onreadystatechange=function(){4===n.readyState&&(200===n.status?e({data:n.responseText}):t({status:n.statusText,data:n.responseText}))},l?n.send(l):n.send()})};function Template(e){this.path=e}Template.prototype.fetch=function(){return request("GET",this.path)};var flatten=function(e){function a(e,t,n){for(var r in e){var o;e.hasOwnProperty(r)&&(o=void 0===n?r:n+"."+r,"object"===_typeof(r=e[r])?a(r,t,o):t[o]=r)}}var t={};return a(e,t),t},renderOne=function(e,n){var r=e;
1return Object.keys(n).forEach(function(e){var t="{{".concat(e,"}}");r=r.split(t).join(n[e])}),r},axis=(Template.prototype.render=function(){var t=flatten(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{});return this.fetch(this.path).then(function(e){e=e.data;return renderOne(e,t)})},{post:function(e,t){t=JSON.stringify(t);return request("POST",e,[{key:"Content-type",value:"application/json"}],t).then(function(e){e=e.data;return JSON.parse(e)})},get:function(e,t){t=[{key:"Content-type",value:"application/json"}].concat(t);return request("GET",e,t).then(function(e){e=e.data;return JSON.parse(e)})}}),setCookieHeaderFooter=function(e,t,n,r){var o=new Date,n=(o.setTime(o.getTime()+24*n*60*60*1e3),"expires="+o.toUTCString()),o=r&&"domain=".concat(r)||null;document.cookie="".concat(e,"=").concat(t,";").concat(n,";path=/;").concat(o)},getConfig=function(){var e=getEnvironment(),t=document.querySelector("script[src*='/header-footer/injetor']").getAttribute("src"),n=e||-1!==t.indexOf("alert=1"),r=e||-1!==t.indexOf("header=1"),t=e||-1!==t.indexOf("footer=1");return{isLocalForDevelopment:e,alertService:Configuration.alertService[e],fontawesomePath:Configuration.fontawesomePath[e],imagesPath:Configuration.imagesPath[e],profileService:Configuration.profileService[e],platformUserService:Configuration.platformUserService[e],templatesPath:Configuration.templatesPath[e],showAlert:n,showHeader:r,showFooter:t}},hasPermission=function(t,e){return e.some(function(e){return-1!==t.permissions.indexOf(e)})},getUserProfile=function(e){var t={permissions:[],type:"anonimo",isAdmin:!1},n=getCookieHeaderFooter("Bearer");return Boolean(n)?axis.post(e,{token:n}).catch(function(e){return document.cookie.split(";").forEach(function(e){e=e.split("=")[0].trim();document.cookie="".concat(e,"=;expires=Thu, 01 Jan 1970 00:00:00 UTC;path=/;")}),console.error(e),t}):Promise.resolve(t)},ocupacaoMap={PROFESSOR:0,OUTRA:1,ESTUDANTE:2,DIRETOR:3,COORDENADOR_PEDAGOGICO:4,P_M_R_POR_ALUNO:5,SECRETARIO_EDUCACAO:6,ESTAGIARIO:7,ORIENTADOR_EDUCACIONAL:8,AUXILIAR_CLASSE:9,TECNICO_SECRETARIA:10,SUB_SECRETARIO_EDUCACAO:11},disciplinaMap={CIENCIAS:0,FISICA:1,LINGUA_PORTUGUESA:2,HISTORIA:3,FILOSOFIA:4,SOCIOLOGIA:5,MATEMATICA:6,GEOGRAFIA:7,ARTE:8,EDUCACAO_FISICA:9,LINGUA_ESTRANGEIRA:10,QUIMICA:11,BIOLOGIA:12,OUTRO:13,POLIVALENTE:14,PROFESSOR_REGENTE:15,ENSINO_RELIGIOSO:16},etapasMap={ENSINO_MEDIO:0,ENSINO_FUNDAMENTAL_ANOS_INICIAIS:1,ENSINO_FUNDAMENTAL_ANOS_FINAIS:2,EJA:3,ENSINO_SUPERIOR:4,EDUCACAO_INFANTIL_PRE_ESCOLA:5,EDUCACAO_INFANTIL_CRECHE:6,OUTRO:7,PRE_VESTIBULAR:8},localTrabalhoMap={OUTRO:0,REDE_PRIVADA:1,REDE_PUBLICA_ESTADUAL:2,REDE_PUBLICA_MUNICIPAL:3,REDE_PUBLICA_FEDERAL:4},getUserDataToDataLayer=function(r){var e;({send:(e=_asyncToGenerator(_regenerator().m(function e(){var t,n;return _regenerator().w(function(e){for(;;)switch(e.p=e.n){case 0:return window.dataLayer=window.dataLayer||[],e.p=1,t=getCookieHeaderFooter("Bearer"),e.n=2,axis.get(r,[{key:"Bearer",value:"".concat(t)}]);case 2:t=e.v,n=t,window.dataLayer.push({event:"user_data",user_id:n.id,user_logged:1,user_name:n.nome,user_email:n.email,user_phone:n.telefone,user_occupation:[ocupacaoMap[n.ocupacao]],user_discipline:n.disciplinas.map(function(e){return disciplinaMap[e.disciplinas]}),user_stage:n.etapas.map(function(e){return etapasMap[e.etapas]}),user_network:n.locaisTrabalho.map(function(e){return localTrabalhoMap[e.localTrabalho]})}),e.n=4;break;case 3:e.p=3,window.dataLayer.push({event:"user_data",user_logged:0});case 4:return e.a(2)}},e,null,[[1,3]])})),function(){return e.apply(this,arguments)})}).send()};function Alert(){this.config=getConfig(),this.context={},this.alertTemplate=new Template("".concat(this.config.templatesPath,"/alert/alert.html")),this.countDownTemplate=new Template("".concat(this.config.templatesPath,"/alert/countdown.html"))}Alert.prototype.renderAlert=function(){return this.alertTemplate.render(this.context).then(function(e){document.getElementById("ane-main-header").insertAdjacentHTML("beforebegin",e)})},Alert.prototype.renderCountDown=function(){if(Boolean(this.context.alert.displayCountDown))return this.countDownTemplate.render(this.context).then(function(e){document.getElementById("alerta-texto").insertAdjacentHTML("beforebegin",e)})},Alert.prototype.get=function(){var t,n,e;return"local"===this.config.isLocalForDevelopment?Promise.resolve({content:"Este é um alerta de mentirinha visível somente para fins de desenvolvimento.",link:"https://www.novaescola.org.br",linkLabel:"Conheça a Nova Escola!",segmentation:"T"}):(e=getCookieHeaderFooter(t="alert-cache"))?(e=JSON.parse(e),Promise.resolve(e)):(n="local"===this.config.isLocalForDevelopment?".localhost":".novaescola.org.br",e=this.config.alertService,axis.get(e,[{key:"Access-Control-Allow-Origin",value:"*"}]).then(function(e){return e&&e.content&&e.link!==window.location.href?(setCookieHeaderFooter(t,encodeURIComponent(JSON.stringify(e)),1/72,n),e):(setCookieHeaderFooter(t,"null",1/72,n),null)}
1).catch(function(e){return console.error(e),setCookieHeaderFooter(t,"null",1/72,n),null}))};var closeAlert=function(e){document.getElementById("alerta").remove(),sessionStorage.setItem(e,!0)},hideAlertaScroll=function(e,t){window.scrollY>=t?e.classList.add("hide-alert"):e.classList.remove("hide-alert")};function Header(){this.config=getConfig(),this.menuEntrarTemplate=new Template("".concat(this.config.templatesPath,"/main-header/menu-entrar.html")),this.menuEntrarLogadoTemplate=new Template("".concat(this.config.templatesPath,"/main-header/menu-entrar-logado.html")),this.menuAdminTemplate=new Template("".concat(this.config.templatesPath,"/main-header/menu-admin.html")),this.mainHeaderTemplate=new Template("".concat(this.config.templatesPath,"/main-header/main-header.html"))}Alert.prototype.render=function(n){var r=this;if(this.config.showAlert){var o="alertaFechado",e=sessionStorage&&sessionStorage.getItem(o);if(!e)return this.get().then(function(e){if(e&&e.content){r.context={alert:e};var t=n&&n.name,e=e.segmentation;if(!e||"T"===e||!("SL"===e&&!t||"SNL"===e&&t))return r.renderAlert().then(function(){return r.renderCountDown()}).then(function(){var e=document.getElementById("alerta-fechar");e&&e.addEventListener("click",function(){return closeAlert(o)}),setTimeout(function(){var e,t=document.querySelector("#alerta"),n=document.querySelector(".ne-header");t&&(e=n.offsetHeight+250,hideAlertaScroll(t,e),window.addEventListener("scroll",function(){return hideAlertaScroll(t,e)}))},1500)})}})}},Header.prototype.getMenuEntrarTemplate=function(){return this.context.user&&this.context.user.name?this.menuEntrarLogadoTemplate.render(this.context):this.menuEntrarTemplate.render()},Header.prototype.renderMenuEntrar=function(){return this.getMenuEntrarTemplate().then(function(e){document.getElementById("menu-entrar").insertAdjacentHTML("afterbegin",e)})},Header.prototype.renderMenuAdmin=function(){if(this.context.user&&this.context.user.isAdmin)return this.menuAdminTemplate.render(this.context).then(function(e){document.getElementById("menu-item-links").children[0].insertAdjacentHTML("afterend",e)})},Header.prototype.renderMainHeader=function(){return this.mainHeaderTemplate.render(this.context).then(function(e){document.getElementById("ane-main-header").innerHTML=e})},Header.prototype.render=function(e){var t;if(this.config.showHeader)return t=-1!==["box.novaescola.org.br","dev.box.novaescola.org.br"].indexOf(window.location.hostname),this.context={imagesPath:this.config.imagesPath,user:e,isNovaEscolaBox:t},this.context.user.name=this.context.user.name||"",this.context.user.picture=this.context.user.picture||"".concat(this.config.imagesPath,"/profile-picture.png"),this.renderMainHeader().then(this.renderMenuEntrar.bind(this)).then(this.renderMenuAdmin.bind(this)).then(this.setup.bind(this,e))};var stickyNavigation=function(e){window.scrollY>=e?document.body.classList.add("sticky"):document.body.classList.remove("sticky")};function Footer(){this.config=getConfig(),this.footerTemplate=new Template("".concat(this.config.templatesPath,"/main-footer/main-footer.html"))}Header.prototype.setup=function(e){var t=document.querySelector(".ne-header").offsetHeight,n=(stickyNavigation(t),window.addEventListener("scroll",function(){return stickyNavigation(t)}),document.querySelector(".ne-nav-primary")),r=(n.querySelectorAll("li").forEach(function(e){e=e.querySelector(".menu-superior");e&&e.addEventListener("click",function(e){e.preventDefault();e=this.parentNode.querySelector("ul");return e&&"open"==e.className?(e.classList.remove("open"),this.setAttribute("aria-expanded","false")):(s(),e.classList.add("open"),this.setAttribute("aria-expanded","true")),!1})}),document.addEventListener("click",function(e){n.contains(e.target)||r.contains(e.target)||s()}),document.querySelector(".btn-menu"));r.addEventListener("click",function(e){e.preventDefault(),document.body.classList.add("menu-open")});document.querySelector(".btn-menu-close").addEventListener("click",function(e){e.preventDefault(),document.body.classList.remove("menu-open")});function o(){u.classList.remove("ne-open-user-menu"),d.classList.remove("rotate")}document.querySelector(".btn-search-open").addEventListener("click",function(e){e.preventDefault(),document.body.classList.toggle("search-open")});var a,i,c,s=function(){document.body.classList.remove("menu-open"),n.querySelectorAll("ul").forEach(function(e){"open"==e.className&&(e.classList.remove("open"),e.parentNode.querySelector("a").setAttribute("aria-expanded","fal
1se"))})},l=document.querySelector("#ne-btn-user-area"),u=document.querySelector("#ne-user-menu"),d=document.querySelector(".ne-user-area-arrow");l&&l.addEventListener("click",function(e){e.preventDefault(),u.classList.toggle("ne-open-user-menu"),d.classList.toggle("rotate"),l.setAttribute("aria-expanded","false"===l.getAttribute("aria-expanded")?"true":"false")});document.querySelector("#ne-close-user-menu-mob").addEventListener("click",o),l&&document.addEventListener("click",function(e){u.contains(e.target)||l.contains(e.target)||o()}),document.body.addEventListener("keydown",function(e){"Escape"==e.key&&(s(),o())}),document.body.addEventListener("keyup",function(e){var t=document.querySelector(".search-field");t.value?(t.setAttribute("onclick","ga('send', 'event', 'HOME', 'Click', 'Header - busca geral do site - busca com termos')"),t.setAttribute("data-track","HOME -  Click -  Header - busca geral do site - busca com termos")):(t.setAttribute("onclick","ga('send', 'event', 'HOME', 'Click', 'Header - busca geral do site - busca vazia')"),t.setAttribute("data-track","HOME -  Click -  Header - busca geral do site - busca vazia"))}),e&&e.name&&(e=document.getElementById("meus-planos-salvos"),a=document.getElementById("meus-cursos-iniciados"),i=document.getElementById("meus-cursos-salvos"),c=document.getElementById("meus-downloads"),e.style.display="grid",a.style.display="grid",i.style.display="grid",i)&&(c.style.display="grid")},Footer.prototype.renderFooter=function(e){e={imagesPath:getConfig().imagesPath,user:e};return this.footerTemplate.render(e).then(function(e){document.getElementById("ane-main-footer").innerHTML=e})},Footer.prototype.render=function(e){return this.renderFooter(e)};var loadFontawesome=function(e){var t=document.createElement("link");t.rel="preload stylesheet",t.href=e,t.as="style",t.media="screen",document.head.appendChild(t)},hideNeFrreAlertScroll=(document.body.onload=function(){var e=new Date,t=new Date(e.getFullYear(),e.getMonth(),7,6),n=new Date(e.getFullYear(),e.getMonth(),9,6);if(t<=e&&e<=n){var i=function(e,t){for(var n=document.getElementsByClassName("popover"),r=0;r<n.length;r++)n[r].classList.add("eva-hidden");var o=document.createElement("div"),e=(o.setAttribute("data-tf-live",e),o.setAttribute("data-tf-hidden",t),document.createElement("script"));e.setAttribute("src","//embed.typeform.com/next/embed.js"),document.body.appendChild(e),document.body.appendChild(o)},n=(t="Bearer",e=document.cookie.split("; ").map(function(e){return e.trim().split("=",2)}),new Map(e).get(t));if(!n)return i("01HV4JPEEFJNHPFVC612ETGA78","url_atual=".concat(document.URL));fetch("https://account.novaescola.org.br/user",{method:"GET",headers:{"content-type":"application/json",bearer:n}}).then(function(e){return e.ok&&e.json()}).then(function(e){var t=e.id,n=e.ocupacao,r=e.etapas,o=e.disciplinas,a=e.raca,e=e.enderecos,r=r.map(function(e){return e.etapas}).join(";"),o=o.map(function(e){return e.disciplinas}).join(";"),e=e&&0<e.length&&e[0].estado?e[0].estado:"",a="url_atual=".concat(document.URL,",raca=").concat(a,",ocupacao=").concat(n,",user_id=").concat(t,",etapas=").concat(r,",disciplinas=").concat(o,",estado=").concat(e);return i("01HV4JPEEFJNHPFVC612ETGA78",a)}).catch(function(e){console.error(e)})}},setTimeout(function(){var e,t=document.querySelector("#free-ane-alert"),n=document.querySelector("#ane-main-header");t&&(e=n.offsetHeight+250,hideNeFrreAlertScroll(t,e),window.addEventListener("scroll",function(){return hideNeFrreAlertScroll(t,e)}))},1500),function(e,t){window.scrollY>=t?e.classList.add("hide-alert"):e.classList.remove("hide-alert")}),setDatalayerEventos=function(){var e;window.dataLayer=window.dataLayer||[];try{var t=getCookieHeaderFooter("ane_user_data").replace(/'/g,'"').replace(/\+/g," ");t&&0<t.length&&(e=JSON.parse(t),dataLayer.push(_objectSpread({user_id:e.user_id,event:e.event,method:e.method,email:e.email,user_name:e.nome},e&&e.etapas?{user_discipline:e.disciplinas.map(function(e){return disciplinaMap[e.disciplinas]}),user_stage:e.etapas.map(function(e){return etapasMap[e.etapas]})}:{})),document.cookie="ane_user_data=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/;")}catch(e){console.warn(e),document.cookie="ane_user_data=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/;"}};function modalViewDownloadedContent(){window.addEventListener("load",function(){for(var t=document.querySelectorAll(".conteudoForaRoleDialog"),n=document.getElementsByClassName("abreEvaModalWarningDownloadPage"),r=document.querySelector("#evaModalWarningDownloadPage"),e=document.querySelector(".evaModal-overlay"),o=document.querySelector(".focus-modalRemoverCursoSalvo"),a=0;a<n.length;a++)n[a].addEventListener("click",function(){l(),r.classList.add("evaModal--aberto");for(var e=0;e<t.length;e++)t[e].inert=!0;o.focus()});if(r){for(var i=function(){document.activeElement.blur(),r.classList.remove("evaModal--aberto");for(var e=0;e<t.length;e++)t[e].inert=!1;n[0].focus()},c=document.querySelectorAll(".evaModal-fechar"),s=0;s<c.length;s++)c[s].addEventListener("click",i);document.querySelector(".modal-static")||(e.addEventListener("click",i),document.addEventListener("keyup",function(e){"Escape"===e.key&&i()}))}var l=function(){document.body.classList.remove("menu-open"),document.querySelector(".ne-nav-primary").querySelectorAll("ul").forEach(function(e){"open"==e.className&&(e.classList.remove("open"),e.parentNode.querySelector("a").setAttribute("aria-expanded","fal
1se"))})}})}(()=>{var e=getConfig(),t=new Alert,n=new Footer,r=new Header;setDatalayerEventos(),modalViewDownloadedContent(),loadFontawesome(e.fontawesomePath),getUserProfile(e.profileService).then(function(e){Promise.all([t.render(e),r.render(e),n.render(e)])}),getUserDataToDataLayer(e.platformUserService)})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.