PageSourceSearch

https://fontedavida.com.br/assets/SuccessSubscription-v3FAsNm3.js

js fontedavida.com.br collected 2026-09-26 18:05:01 UTC 3,838 bytes, 1 lines download raw bytes

1import{_ as m,m as g,j as C,b as c,c as i,o as l,a as t,g as n,e as u,t as a,n as p,w as d}from"./index-sUPB-bMu.js";const E={name:"SuccessInPeacePlay",props:{successData:{type:Object,required:!1,default:null}},computed:{...C(["showChallenge","setChallengeComplete"]),actionButton(){if(!this.successData.pagamento)return null;switch(this.successData.pagamento.metodoPagamento.codigo){case"BOLETO":return{url:this.successData.pagamento.boletos[0].url,text:"DOWNLOAD_BOLETO",icon:"Boleto"};case"PICPAY":return{url:this.successData.pagamento.qrCodes[0].url,text:"OPEN_PICPAY",icon:"PicPay"};default:return null}},modalWidth(){return window.screen.width<575?"90%":"800px"}},created(){this.setChallengModal(!1),this.successData.pagamento?.desafio&&this.successData.pagamento?.status?.situacao==="em_aberto"&&!this.isChallengeComplete&&this.toogle3DsChallenge()},methods:{...g(["setChallengModal"]),toogle3DsChallenge(){this.setChallengModal(!0),this.challenge_url=this.successData.pagamento?.desafio.url,window.addEventListener("message",s=>{s.data==="3DS-authentication-complete"&&(this.setChallengModal(!1),this.setChallengeComplete(!0))},!1)}}},T={class:"success-inpcplay"},f={class:"success-inpcplay__content"},A={class:"success-inpcplay__info"},P={class:"subscription-card"},D={class:"info-group"},O={class:"info-group__title"},N={class:"info-group__info"},b={class:"info-group"},w={class:"info-group__title"},v={class:"info-group__info"},L={class:"info-group"},U={class:"info-group__title"},H={class:"info-group__info"},y={class:"entry-text"},B={key:0,class:"entry-text__title"},Y=["innerHTML"],S={key:0,class:"action"},I=["href"],K={class:"btn__pre"},M={class:"btn__text btn__text--full"},k={class:"btn__pos"},x={class:"buttons"},X={class:"btn__text"},V=["src"];function j(s,z,e,R,W,o){const _=c("SvgElement"),r=c("router-link"),h=c("ModalElement");return l(),i("div",T,[t("div",f,[t("div",A,[t("div",P,[t("div",D,[t("h4",O,a(s.$t("INPEACE_PLAY.CHECKOUT.TEXT.THANK_YOU.DATA.PLAN")),1),t("p",N,a(e.successData.usuarioPlanoAssinatura.plano.nome),1)]),t("div",b,[t("h4",w,a(s.$t("INPEACE_PLAY.CHECKOUT.TEXT.THANK_YOU.DATA.SUBSCRIBED")),1),t("p",v,a(s.$dayjs(e.successData.usuarioPlanoAssinatura.dataInicio).utc().format("LLL")),1)]),t("div",L,[t("h4",U,a(s.$t("INPEACE_PLAY.CHECKOUT.TEXT.THANK_YOU.DATA.STATUS")),1),t("p",H,a(e.successData.usuarioPlanoAssinatura.status.descricao),1)])])]),t("div",y,[!e.successData.pagamento||e.successData.pagamento&&e.successData.pagamento.metodoPagamento.codigo!=="PICPAY"?(l(),i("h2",B,a(s.$t("INPEACE_PLAY.CHECKOUT.TEXT.THANK_YOU.TITLE")),1)):u("",!0),t("p",{class:"entry-text__message",innerHTML:s.$t(`INPEACE_PLAY.CHECKOUT.TEXT.THANK_YOU.METHODS.${e.successData.pagamento?e.successData.pagamento.metodoPagamento.codigo:"FREE"}.${e.successData.pagamento?e.successData.pagamento.status.situacao:"SUCCESS"}`)},null,8,Y)]),o.actionButton?(l(),i("div",S,[t("a",{class:p(["btn btn--color-primary btn--size-lg",e.successData.pagamento.metodoPagamento.codigo]),target:"_blank",rel:"noopener noreferrer",href:o.actionButton.url},[t("div",K,[n(_,{name:o.actionButton.icon,title:o.actionButton.icon,width:"100%",height:"100%","view-box":"8 10 30 25"},null,8,["name","title"])]),t("span",M,a(s.$t(`INPEACE_PLAY.CHECKOUT.BUTTON.THANK_YOU.${o.actionButton.text}`)),1),t("div",k,[n(_,{name:"ChevronRight",title:"View",width:"100%",height:"100%"})])],10,I)])):u("",!0),t("div",x,[n(r,{to:{name:"inpcPlayHome"},class:"btn btn--outline-primary btn--size-sm"},{default:d(()=>[t("span",X,a(s.$t("INPEACE_PLAY.CHECKOUT.BUTTON.GO_TO_CONTENT")),1)]),_:1})])]),n(h,{"modal-id":"stripe-3ds",width:o.modalWidth,"close-button":!1,show:s.showChallenge,padded:!1},{default:d(()=>[t("embed",{src:s.challenge_url,width:"100%",height:"600"},null,8,V)]),_:1},8,["width","show"])])}const G=m(E,[["render",j]]);export{G 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.