PageSourceSearch

https://fontedavida.com.br/assets/TicketInfo-D1tYjEbn.js

js fontedavida.com.br collected 2026-09-26 18:06:06 UTC 4,480 bytes, 1 lines download raw bytes

1import{_ as g,b as _,c as d,o as n,a as t,g as c,e as r,w as l,F as N,s as p,d as f,t as a,n as L}from"./index-sUPB-bMu.js";const $={name:"TicketInfo",props:{tickets:{type:Array,required:!0}},computed:{ticketsCount(){return this.$props.tickets.length}},methods:{dateContent(s){const o=this.$dayjs(s.evento.dataInicio),i=this.$dayjs(s.evento.dataFim),E=(window.navigator.userLanguage||window.navigator.language).substring(0,2);return!o.isSame(i,"year")||!o.isSame(i,"month")?{start:o.format("LL"),end:i.format("LL")}:E==="en"?{start:o.format("MMMM DD"),end:i.format("DD, YYYY")}:{start:o.format("DD"),end:i.format("LL")}},eventDate(s){return this.$dayjs.utc(s.evento.dataInicio).isSame(this.$dayjs.utc(s.evento.dataFim),"day")?this.$t("EVENT.GLOBAL.TEXT.DATE.SAME",{start:this.$dayjs(s.evento.dataInicio).utc().format("LL")}):this.$t("EVENT.GLOBAL.TEXT.DATE.DIFFERENT",this.dateContent(s))}}},y={key:0,class:"tickets-slide__content"},D={class:"ticket"},K={class:"ticket__content"},V={class:"ticket__content__column"},F={class:"ticket-data"},R={class:"ticket-data__title"},U={class:"ticket-data__data"},A={class:"ticket-data"},b={class:"ticket-data__title"},M={class:"ticket-data__data"},B={class:"ticket-data"},j={class:"ticket-data__title"},w={class:"ticket-data__data"},Y={key:0,class:"ticket-data__data ticket-data__data--content"},O={class:"ticket-data"},P={class:"ticket-data__title"},X={class:"ticket-data__data"},q={class:"ticket__content__column"},H={class:"ticket-data"},z={class:"ticket-data__title"},G={class:"ticket-data__data"},W={class:"ticket-data"},J={class:"ticket-data__title"},Q={class:"ticket-data__data"},Z={class:"ticket-data ticket-data--align-end"},x={class:"ticket-data__title"},tt={class:"ticket-data__data"},st={key:0,class:"ticket__content__action"},et={class:"btn__text"},at={key:1,class:"ticket__content__action button"},ot={class:"text--expired"},it={key:2,class:"ticket__content__qrcode"},nt=["src","alt"];function dt(s,o,i,E,v,T){const m=_("PageContentHeader"),I=_("SvgElement"),h=_("router-link"),C=_("Slide"),k=_("Navigation"),S=_("Carousel");return n(),d("div",{class:L(["tickets-slide",{"tickets-slide--no-ticket":!i.tickets.length}])},[o[2]||(o[2]=t("div",{class:"tickets-slide__bg"},null,-1)),c(m,{padded:!0,type:"event","to-route":"churchHome"}),i.tickets.length?(n(),d("div",y,[c(S,{autoplay:3e3},{addons:l(()=>[c(k)]),default:l(()=>[(n(!0),d(N,null,p(i.tickets,(e,u)=>(n(),f(C,{key:u,class:"tickets-slide__item"},{default:l(()=>[o[0]||(o[0]=t("div",{class:"tickets-slide__item__arc"},null,-1)),o[1]||(o[1]=t("div",{class:"tickets-slide__item__arc-background"},null,-1)),t("div",D,[t("div",K,[t("div",V,[t("div",F,[t("div",R,a(s.$t("USER.EVENT.TICKETS.TICKET_FIELD.BUYER")),1),t("div",U,a(`${e.usuario.nome} ${e.usuario.sobrenome}`),1)]),t("div",A,[t("div",b,a(s.$t("USER.EVENT.TICKETS.TICKET_FIELD.USER")),1),t("div",M,a(e.utilizador),1)]),t("div",B,[t("div",j,a(s.$t("USER.EVENT.TICKETS.TICKET_FIELD.TICKET")),1),t("div",w,a(e.tipoIngresso.descricao),1),e.tipoIngresso.flagPossuiConteudo?(n(),d("div",Y,a(s.$t("USER.EVENT.TICKETS.TEXT.EXCLUSIVE_CONTENT")),1)):r("",!0)]),t("div",O,[t("div",P,a(s.$t("USER.EVENT.TICKETS.TICKET_FIELD.DATE")),1),t("div",X,a(T.eventDate(e)),1)])]),t("div",q,[t("div",H,[t("div",z,a(s.$t("USER.EVENT.TICKETS.TICKET_FIELD.TICKETS")),1),t("div",G,a(u+1)+"/"+a(T.ticketsCount),1)]),t("div",W,[t("div",J,a(s.$t("USER.EVENT.TICKETS.TICKET_FIELD.EVENT_NAME")),1),t("div",Q,a(e.evento.nome),1)]),t("div",Z,[t("div",x,a(s.$t("USER.EVENT.TICKETS.TICKET_FIELD.TIME")),1),t("div",tt,a(s.$t("USER.EVENT.TICKETS.TEXT.START_FINISH_TIME",{start:s.$dayjs(e.evento.dataInicio).utc().format("LT"),finish:s.$dayjs(e.evento.dataFim).utc().format("LT")})),1)])]),e.tipoIngresso.flagPossuiConteudo&&e.tipoIngresso.flagConteudoAtivoNaoExpirado?(n(),d("div",st,[c(h,{to:{name:"userEventTicketContent",params:{eventId:e.evento.id,ticketId:e.id}},class:"btn btn--outline-primary button"},{default:l(()=>[c(I,{name:"ContentTicket",width:"100%",class:"icon"}),t("span",et,a(s.$t("USER.EVENT.TICKETS.BTN.VIEW_CONTENT")),1)]),_:1},8,["to"])])):r("",!0),e.tipoIngresso.flagPossuiConteudo&&!e.tipoIngresso.flagConteudoAtivoNaoExpirado?(n(),d("div",at,[t("span",ot,a(s.$t("USER.EVENT.TICKETS.BTN.EXPIRED")),1)])):r("",!0),e.qrCodeUrl?(n(),d("div",it,[t("img",{class:"ticket-qrcode",src:e.qrCodeUrl,alt:e.evento.nome},null,8,nt)])):r("",!0)])])]),_:2},1024))),128))]),_:1})])):r("",!0)],2)}const ct=g($,[["render",dt]]);export{ct 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.