";var e=HamburguerMenu.montaHTML();c=b.createElement("div");c.id="modal-hamburguer-menu";c.className="modalPopUp modalPopUp-hamburguer-menu";c.innerHTML="
"+ e;c.style.width=0;c.style.top=document.body.getAttribute("data-scroll-y");var f=b.getElementById("qr-indice-menu-abas");c.appendChild(f);const h=f.querySelectorAll("div[data-href]");if(h!=null&&h.length>0){for(let i=0;i"+ k+ ""}};b.body.appendChild(c);c=b.createElement("div");c.id="modal-hamburguer-menu-fundo";c.className="modalPopUpFundo modalPopUpFundo-hamburguer-menu";c.innerHTML="";c.style.opacity=0;c.onclick=function(){HamburguerMenu.esconderModalHamburguerMenu()};b.body.appendChild(c);HamburguerMenu.exibeModalEfeitoFade(0,0);history.pushState({back:true},"",window.location);HamburguerMenu.popStateFn=function(i){i.stopPropagation();HamburguerMenu.esconderModalHamburguerMenu(true);window.removeEventListener("popstate",HamburguerMenu.popStateFn);delete HamburguerMenu.popStateFn};window.addEventListener("popstate",HamburguerMenu.popStateFn);try{var g={message:"classeBody",classe:"modalOpened",operacao:"add"};window.parent.postMessage(g,"*")}catch(i){}},esconderModalHamburguerMenu:function(a){var b=1;HamburguerMenu.escodeModalEfeitoFade(b,HamburguerMenu.MAX_WIDTH);try{var c={message:"classeBody",classe:"modalOpened",operacao:"remove"};window.parent.postMessage(c,"*")}catch(d){}},escodeModalEfeitoFade:function(a,b){var c=document;var d=c.getElementById("modal-hamburguer-menu");var e=c.getElementById("modal-hamburguer-menu-fundo");var f=1/HamburguerMenu.NUM_STEPS;var g=c.body;var h=Math.min(g.clientWidth,HamburguerMenu.MAX_WIDTH)/(1/f);if(a>=0){window.setTimeout(function(){if(e!=null)e.style.opacity=a;if(d!=null)d.style.width=b+ "px";a=a- f;b=b- h;HamburguerMenu.escodeModalEfeitoFade(a,b)},12)}else{HamburguerMenu.esconderModalHamburguerMenuPosFade()}},esconderModalHamburguerMenuPosFade:function(){HamburguerMenu.closeDialog();var a=document;var b=a.getElementById("modal-hamburguer-menu");var c=a.getElementById("modal-hamburguer-menu-fundo");var d=a.getElementById("qr-indice-menu-abas");var e=a.getElementById("qr-indice-menu");e.appendChild(d);if(b!=null)b.parentNode.removeChild(b);if(c!=null)c.parentNode.removeChild(c)},exibeModalEfeitoFade:function(a,b){var c=document;var d=c.getElementById("modal-hamburguer-menu");var e=c.getElementById("modal-hamburguer-menu-fundo");var f=1/HamburguerMenu.NUM_STEPS;var g=c.body;var h=Math.min(g.clientWidth,HamburguerMenu.MAX_WIDTH)/(1/f);if(a<=1.1){window.setTimeout(function(){if(e!=null)e.style.opacity=a;if(d!=null)d.style.width=Math.min(HamburguerMenu.MAX_WIDTH,b)+ "px";a=a+ f;b=b+ h;HamburguerMenu.exibeModalEfeitoFade(a,b)},12)}},showDialog:function(){const a=document.body;const b=a.getAttribute('data-scroll-y');a.style.position='fixed';a.style.bottom="0";a.style.left="0";a.style.right="0";a.style.touchAction="none";if(a.className.indexOf("modalOpened")==-1)a.className+=" modalOpened";window.scrollTo(0,0)},closeDialog:function(){const a=document.body;const b=a.getAttribute('data-scroll-y');a.style.position='';a.style.left='';a.style.transform='';a.style.top='';a.style.left='';a.style.right='';a.style.bottom="";window.scrollTo(0,parseInt(b||'0'));a.style.removeProperty("touch-action");window.setTimeout(function(){if(a.className.indexOf("modalOpened")!=-1)a.className=a.className.replace(" modalOpened","")},300)}};var timeoutScroll=null;document.body.addEventListener('scroll',()=>{if(timeoutScroll!=null)window.clearTimeout(timeoutScroll);timeoutScroll=window.setTimeout(function(){if(document.body.style.position!="fixed")document.body.setAttribute('data-scroll-y',document.body.scrollTop+ 'px');timeoutScroll=null},100)})