!function(a){var r={};function n(e){var t;return(r[e]||(t=r[e]={i:e,l:!1,exports:{}},a[e].call(t.exports,t,t.exports,n),t.l=!0,t)).exports}n.m=a,n.c=r,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(a,r,function(e){return t[e]}.bind(null,r));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,a){a(1).run({NODE_ENV:"production",PROJECT_FOLDER:"selos",TARGET_URL:"https://www.reclameaqui.com.br/empresa/",API_URL:"https://api.reclameaqui.com.br/embed-reputation/hash/",SHOW_CASE:!1})},function(e,t,a){function r(c){var l=new XMLHttpRequest,m=c.API_URL+c.companyHashID;l.open("GET",m,!0),l.onreadystatechange=function(){if(4===l.readyState)if(200===l.status&&(c.respData=!!l.responseText&&JSON.parse(l.responseText),c.respData)&&c.respData.status){var e,t,a,r=c,n=r.bundleURL+"assets/images/",i=((i=document.createElement("link")).setAttribute("rel","stylesheet"),i.setAttribute("type","text/css"),i.setAttribute("href",r.bundleURL+"styles.css"),document.head.appendChild(i),String(r.respData.status||"NO_INDEX").toUpperCase());switch(r.SHOW_CASE&&(i=r.widgetStatus||i,console.error("RA-Reputation: Mocking results!")),i){case"RA1000":e="ra-widget-ra-1000",t="ra-1000.svg",a="RA 1000";break;case"GREAT":e="ra-widget-great",t="otimo.svg",a="Ótimo";break;case"GOOD":e="ra-widget-good",t="bom.svg",a="Bom";break;case"REGULAR":e="ra-widget-regular",t="regular.svg",a="Regular";break;case"NOT_RECOMMENDED":e="ra-widget-not-recommended",t="nao-recomendada.svg",a="Não recomendada";break;case"BAD":e="ra-widget-bad",t="ruim.svg",a="Ruim";break;case"UNDER_REVIEW":e="ra-widget-under-review",t="em-analise.svg",a="Em análise";break;default:e="ra-widget-no-index",t="sem-reputacao-definida.svg",a="Sem reputação definida"}t=n+t,i="?utm_source=referral&utm_medium=embbed&utm_campaign=reputacao&utm_term=",u=2===r.widgetModel?(s="width:137px;height:48px;overflow:hidden;",i+="horizontal","height:auto;width:38px;"):(s="width:97px;height:96px;overflow:hidden;",i+="vertical","height:48px;width:auto;");var o=document.createElement("div"),s=(o.setAttribute("id","ra-widget-reputation"),o.setAttribute("style",s),r.TARGET_URL+r.respData.shortname+"/"+i),d="ra-widget-reputation-"+String(r.raWidgetReputationUID),i='',u=document.createElement("a");u.setAttribute("class","ra-widget-reputation-holder"),u.setAttribute("target","_blank"),u.setAttribute("title","Selo Reclame Aqui"),u.setAttribute("href",s),u.innerHTML=i,o.appendChild(u),o.addEventListener("mousedown",function(e){0!=e.button&&alert((r.respData.companyName||"Reclame AQUI")+" informa: \nCópia proibida.\nO Selo de Reputação é de uso exclusivo de empresas cadastradas no Reclame AQUI.\nPara saber mais acesse: www.reclameaqui.com.br > Área da Empresa > Reputação")}),o.addEventListener("contextmenu",function(e){return e.preventDefault(),!1}),document.getElementById(r.clientElementID).appendChild(o),setTimeout(function(){var e=document.getElementsByClassName(d)[0];e&&(e.classList.remove(d),e.classList.add("ra-reputation-loaded"))},150)}else console.error("RA-Reputation: bad response from server "+m)},l.send()}a(2),e.exports={run:function(e){e.raWidgetReputationUID=parseInt(1+5e3*Math.random());var t=document.getElementById("ra-embed-reputation")||!1;if(window&&window.document&&t){if(t){switch(e.bundleURL=String(t.src||"").replace("bundle.js",""),t.removeAttribute("id"),e.widgetModel=parseInt(t.getAttribute("data-model"))||1,e.widgetModel){case 1:case 2:break;default:e.widgetModel=1}switch(e.widgetEnv=t.getAttribute("data-env")||!1,e.widgetEnv){case"development":case"dev":e.widgetEnv="dev";break;case"staging":case"stag":e.widgetEnv="staging";break;case"homolog":case"hom":e.widgetEnv="hom";break;case"homologSus":case"evolucao":e.widgetEnv="evolucao";break;case"production":case"prod":e.widgetEnv="prod";break;default:e.widgetEnv=!1}return(e.SHOW_CASE&&(e.widgetStatus=t.getAttribute("data-status")||null),e.clientElementID=t.getAttribute("data-target")||!1,e.clientElementID)?document.getElementById(e.clientElementID)?(e.companyHashID=t.getAttribute("data-id")||!1,e.companyHashID?r(e):console.error('RA-Reputation: No "data-id" attribute found')):console.error('RA-Reputation: No element with ID "'+e.clientElementID+'" found'):console.error('RA-Reputation: No "data-target" attribute found')}return console.error('RA-Reputation: this script tag is missing id="ra-embed-reputation"')}}}},function(e,t,a){}]);