1import{_ as D,m as y,j as B,b as l,$ as E,c as s,o as a,g as o,a as e,w as d,Z as _,t as n,e as c,a0 as N,F as u,s as p,d as L,a1 as S,a2 as k}from"./index-sUPB-bMu.js";import{m as O}from"./menuItemNameMixin-D-Sxrcvm.js";const U={name:"ChurchAbout",mixins:[O],data(){return{bannerImages:null}},computed:{...B(["churchData"])},created(){this.$useHead({title:this.$t("ABOUT_US.TITLE.PAGE.HOME")}),this.loadBannerImages()},methods:{...y(["appSetLoadingState"]),async loadBannerImages(){this.appSetLoadingState({context:"GLOBAL",status:!0});try{const t=await k.getChurchByCode(this.churchData.codigo);this.bannerImages=t.imagens?t.imagens:null}catch{this.alertBox={type:"warning",message:this.$t("GLOBAL.ERROR.GENERIC_ERROR")}}this.appSetLoadingState({context:"GLOBAL",status:!1})}}},v={class:"page-about"},C={class:"page-about__content"},w={key:0,class:"page-about__slide"},$={class:"panel-image"},R=["alt","src"],P=["alt","src"],W={key:1,class:"page-about__history"},G={class:"page-about__history__title"},H={class:"page-about__history__description"},V={class:"page-about__contacts"},M={key:0,class:"page-about__contacts__item"},F={class:"page-about__section-title"},j={class:"contacts-list"},z={key:0,class:"contacts-list__item"},J=["href"],Z={class:"contacts-list__icon"},q={key:1,class:"contacts-list__item"},K=["href"],Q={class:"contacts-list__icon"},X={class:"contacts-list__item"},Y=["href"],x={class:"contacts-list__icon"},tt={key:2,class:"contacts-list__item"},et=["href"],at={class:"contacts-list__icon"},st={key:1,class:"page-about__contacts__item"},ot={class:"page-about__section-title"},nt={class:"contacts-list"},ct={key:0,class:"contacts-list__item"},it={class:"contacts-list__description"},rt={class:"contacts-list__icon"},ht=["href"],lt={class:"btn__text"},_t={key:2,class:"page-about__contacts__item"},dt={class:"page-about__section-title"},ut={class:"page-about__contacts__item__social"},pt=["href"];function mt(t,gt,Tt,bt,h,ft){const m=l("PageContentHeader"),g=l("Slide"),T=l("Pagination"),b=l("Navigation"),f=l("Carousel"),i=l("SvgElement"),I=E("dompurify-html");return a(),s("div",v,[o(m,{padded:!0},{default:d(()=>[_(n(t.menuItemName("INPCAPP_IGREJA")||t.$t("ABOUT_US.TITLE.INTERNAL.CHURCH")),1)]),_:1}),e("div",C,[h.bannerImages&&h.bannerImages.length>0?(a(),s("section",w,[o(f,{"wrap-around":h.bannerImages.length>1,autoplay:h.bannerImages.length>1?3e3:0},N({default:d(()=>[(a(!0),s(u,null,p(h.bannerImages,(r,A)=>(a(),L(g,{key:A},{default:d(()=>[e("div",$,[e("img",{alt:t.$t("ABOUT_US.TITLE.INTERNAL.ABOUT"),src:r,class:"background-image"},null,8,R),e("img",{alt:t.$t("ABOUT_US.TITLE.INTERNAL.ABOUT"),src:r,class:"front-image"},null,8,P)])]),_:2},1024))),128))]),_:2},[h.bannerImages.length>1?{name:"addons",fn:d(()=>[o(T),o(b)]),key:"0"}:void 0]),1032,["wrap-around","autoplay"])])):c("",!0),t.churchData.historia?(a(),s("section",W,[e("h3",G,n(t.$t("ABOUT_US.TITLE.INTERNAL.ABOUT")),1),S(e("div",H,null,512),[[I,t.churchData.historia]])])):c("",!0),e("section",V,[t.churchData.telefone||t.churchData.email||t.churchData.site?(a(),s("div",M,[e("h3",F,n(t.$t("ABOUT_US.TITLE.INTERNAL.CONTACT")),1),e("ul",j,[t.churchData.telefone?(a(),s("li",z,[e("a",{href:`https://wa.me/${t.churchData.telefone.replace(/[^0-9]/g,"")}`,target:"_blank",rel:"noopener noreferrer",class:"contacts-list__description"},[e("span",Z,[o(i,{name:"PhoneBorder",title:"PhoneBorder",width:"24",height:"24"})]),_(" "+n(t.churchData.telefone),1)],8,J)])):c("",!0),t.churchData.email?(a(),s("li",q,[e("a",{href:`mailto:${t.churchData.email}`,target:"_blank",rel:"noopener noreferrer",class:"contacts-list__description"},[e("span",Q,[o(i,{name:"Email",title:"Email",width:"24",height:"24"})]),_(" "+n(t.churchData.email),1)],8,K)])):c("",!0),e("li",X,[e("a",{href:`http://${t.churchData.codigo}.inpeaceapp.com`,target:"_blank",rel:"noopener noreferrer",class:"contacts-list__description"},[e("span",x,[o(i,{name:"WorldWebText",title:"WorldWebText",width:"24"})]),_(" "+n(t.churchData.codigo)+".inpeaceapp.com ",1)],8,Y)]),t.churchData.site?(a(),s("li",tt,[e("a",{href:t.churchData.site.match(/^(http|https):\/\//gm)?t.churchData.site:`http://${t.churchData.site}`,target:"_blank",rel:"noopener noreferrer",class:"contacts-list__description"},[e("span",at,[o(i,{name:"WorldWebBorder",title:"WorldWebBorder",width:"24",height:"24"})]),_(" "+n(t.churchData.site),1)],8,et)])):c("",!0)])])):c("",!0),t.churchData.endereco?(a(),s("div",st,[e("h3",ot,n(t.$t("ABOUT_US.TITLE.INT
1ERNAL.LOCATION")),1),e("ul",nt,[t.churchData.endereco?(a(),s("li",ct,[e("span",it,[e("span",rt,[o(i,{name:"Address",title:"Address",width:"24",height:"24"})]),_(" "+n(t.churchData.endereco),1)])])):c("",!0)]),t.churchData.endereco?(a(),s("a",{key:0,class:"btn btn--outline-primary",href:`http://www.google.com.br/maps/place/${t.churchData.latitude},${t.churchData.longitude} 2 /@${t.churchData.latitude},${t.churchData.longitude},17z/`,target:"_blank",rel:"noopener noreferrer"},[o(i,{type:"icon",name:"Map",title:"Map",width:"24",height:"24"}),e("span",lt,n(t.$t("ABOUT_US.BUTTON.DIRECTIONS")),1)],8,ht)):c("",!0)])):c("",!0),t.churchData.redesSociais?(a(),s("div",_t,[e("h3",dt,n(t.$t("ABOUT_US.TITLE.INTERNAL.SOCIAL")),1),e("div",ut,[(a(!0),s(u,null,p(t.churchData.redesSociais,r=>(a(),s("a",{key:r.codigo,class:"social-item",href:r.link,target:"_blank",rel:"noopener noreferrer"},[o(i,{type:"social",name:r.descricao,title:r.descricao,height:"1rem",color:"var(--white)"},null,8,["name","title"])],8,pt))),128))])])):c("",!0)])])])}const Dt=D(U,[["render",mt],["__scopeId","data-v-0dec366a"]]);export{Dt as default};
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.