(window.webpackJsonp=window.webpackJsonp||[]).push([[31],{780:function(a,b,c){"use strict";c.r(b);var d=function(){var a=this,b=a.$createElement,c=a._self._c||b;return c("div",{staticClass:"content-box"},[a.certificates?[a.setTitle?c("h4",{staticClass:"footer-title text-small text-bold visible-block bottom-margin-x-small"},[a._v("Certificados")]):a._e(),a._v(" "),a.certificates.banners_certificado&&a.certificates.certificates_status==a.types.TpCert_Custom||a.certificates.banners_certificado&&a.certificates.certificates_status==a.types.TpCert_Futura||a.certificates.eBitCertificate.ebit_status||a.certificates.certificates_status==a.types.TpCert_Enable?[c("div",{staticClass:"content-box flex"},[a.certificates.banners_certificado&&a.certificates.certificates_status==a.types.TpCert_Custom?a._l(a.certificates.banners_certificado,function(a,b){return c("div",{key:b},[a.link?[c("a",{attrs:{href:a.link,target:"_blank"}},[c("img",{staticClass:"right-margin-x-small bottom-margin-x-small",attrs:{src:a.image,alt:a.title}})])]:[c("img",{staticClass:"right-margin-x-small bottom-margin-x-small",attrs:{src:a.image,alt:a.title}})]],2)}):a._e(),a._v(" "),a.certificates.certificates_status==a.types.TpCert_Futura?[c("img",{staticClass:"right-margin-x-small bottom-margin-x-small",attrs:{src:"catalog/view/theme/vista/image/certificado-ssl.png",alt:"Site Seguro - Certificado SSL",height:"50px",width:"150px"}})]:a._e(),a._v(" "),a.certificates.eBitCertificate.ebit_status==a.types.TpCert_Enable?[c("a",{staticClass:"margin-x-small",attrs:{id:"seloEbit",href:"http://www.ebit.com.br/"+a.certificates.eBitCertificate.ebit_store_id,target:"_blank","data-noop":"redir(this.href);",title:"Ebit"}})]:a._e()],2)]:a._e()]:a._e()],2)};d._withStripped=!0;var e=c(386),f=c(576),g=Object(f.a)({name:"DynamicCertificates",data:function(){return{certificates:e.a.state.dynamicCertificates,language:e.a.state.languages}},computed:{types:function(){return{TpCert_Disable:0,TpCert_Enable:1,TpCert_Futura:1,TpCert_Custom:2}},setTitle:function(){var a;return!(null===(a=parseInt(this.certificates.certificates_status)!==this.types.TpCert_Disable)||void 0===a)&&a}},methods:{loadScriptEbit:function(){var a=document.createElement("script");a.async=!0,a.src="https://imgs.ebit.com.br/ebitBR/selo-ebit/js/getSelo.js?".concat(this.certificates.eBitCertificate.ebit_store_id).concat(this.certificates.eBitCertificate.ebit_store_id?"&lightbox=true":""),document.head.appendChild(a)}},mounted:function(){this.certificates.eBitCertificate.ebit_status==this.types.TpCert_Enable?this.loadScriptEbit():null}},d,[],!1,null,"3b7237a5",null),h=b["default"]=g.exports}}]);