1import{d as O,x as R,e as F,f as v,q as A,s as W,h as E,c as i,o as n,a as s,j as J,w as G,k as d,t as e,g as t,F as D,r as B,n as I,b as $,_ as H,u as K,H as X,i as q,y as Y}from"./CgfFoliH.js";import{t as L}from"./BzGO42VE.js";import{i as U}from"./9DUIqNZA.js";/* empty css */import"./BpCfZxCW.js";import{a as z}from"./Cuv9uoMX.js";import{C as Z}from"./DhycpshW.js";import{p as ss}from"./SDwqc1W6.js";import{u as es}from"./CdkgFb3p.js";import{p as ts}from"./cqBl8d_J.js";import{s as as}from"./DXIb0Bo_.js";import"./ZPxh4Fre.js";import"./Bns2KH2d.js";const os={class:"row d-flex justify-content-center"},ns={class:"col-lg-12"},is={key:0,class:"card"},cs={class:"card-body justify-content-center"},rs={class:"credit-title"},ls={class:"credit-subtitle"},ds={key:0,class:"credit-discount"},us={key:1,class:"col-12 d-flex justify-content-end"},ps={class:"col-2 credit-items"},vs=["value","onClick"],_s={class:"col-5 credit-items credit-amount"},bs={class:"col-5 credit-items"},hs={key:0,class:"credit-value-cancel"},gs={key:1,class:"credit-value"},ms={class:"credit-value-cents"},ys={key:2,class:"credit-value"},fs={class:"credit-value-cents"},Cs={class:"row d-flex align-items-center justify-content-center"},ks={key:1,class:I("card card-gray")},ws={class:"card-body justify-content-center"},Ss={class:"credit-title"},As={class:"credit-subtitle"},$s={key:0,class:"credit-discount"},Ls={key:1,class:"col-12 d-flex justify-content-end"},Ps={class:"col-2 credit-items"},Ts=["value","onClick"],xs={class:"col-5 credit-items credit-amount"},Ms={class:"col-5 credit-items"},Ns={key:0,class:"credit-value-cancel"},Is={key:1,class:"credit-value"},Vs={class:"credit-value-cents"},js={key:2,class:"credit-value"},Ds={class:"credit-value-cents"},Bs={class:"row d-flex align-items-center justify-content-center"},qs={type:"button",class:"credit-button-inactive col-lg-3 col-8`"},Us=O({__name:"AssineCreditsTurbo",props:["plansCredits"],emits:["showModalMessages"],setup(V,{emit:P}){const f=R(),C=z(),y=F(),k=P,_=V,T=v(()=>f.isActiveUser),w=v(()=>f.isLoggedIn),S=A(!1);A({itemsToShow:1.05,mouseDrag:!1}),A({600:{itemsToShow:2}}),W(()=>{_.plansCredits&&(x(),S.value||(S.value=!0))});function x(){window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"view_cart",cart:{tipo:"creditos"}})}const o=v(()=>y.params.language),l=v(()=>o.value==="pt-br"?L.portugues:L.ingles);function M(){let r=document.querySelector('input[name="plansCreditsAssinante"]:checked');r!=null?(C.setAssineChoiceTurbo(Number(r.value)),w.value?h("language-assine-checkout"):h("language-assine-account")):k("showModalMessages",{message:{show:!0,title:o.value=="pt-br"?"Aviso":"Notice",textButton:o.value=="pt-br"?"Fechar":"Close",textBoby:o.value=="pt-br"?"Escolha uma opção para Assinantes":"Choose an option for Subscribers"}})}const b=A({choiceTitle:"Não definido",choiceValue:0});function N(){window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"select_plan",select_plan:{tipo:C.choiceType!=="credits"?"assinatura":"credito",acionador:y.query.acionador??"link direto",currency:o.value==="pt-br"?"BRL":"USD",value:b.value.choiceValue??0,plano:b.value.choiceTitle}})}function u(r){b.value.choiceTitle=(T.value?r.creditLivesAssinantes:r.creditLivesNaoAssinantes)+(o.value=="pt-br"?" Créditos para Downloads":" Downloads Credits"),b.value.choiceValue=Number(r.discount)>0&&r.discount_value?+r.discount_value:+r.value,N()}const c=E();function h(r){c.push({name:r,params:{language:o.value},query:{acionador:y.query.acionador}})}const g=[{id:1,type:"assinates"},{id:2,type:"non-assinates"}];return(r,p)=>(n(),i("div",os,[s("div",ns,[J(t(Z),{cards:g},{default:G(({item:te,index:j})=>[j===0?(n(),i("div",is,[s("div",cs,[s("div",rs,e(t(l).credits.PlansAssi),1),s("div",ls,e(t(l).credits.option),1),p[2]||(p[2]=s("div",{class:"credit-hr"},null,-1)),(n(!0),i(D,null,B(_.plansCredits,(a,m)=>(n(),i("div",{class:I(["row d-flex align-items-center justify-content-center",{"bg-gray":m%2!==0}]),key:a.id},[m==0&&a.discount>0&&a.discount_value?(n(),i("div",ds,[s("div",null,e(t(l).PromotionSpecial),1),s("div",null,e(a.discount)+" % "+e(t(l).labelDiscont),1)])):d("",!0),m>0?(n(),i("div",us,p[1]||(p[1]=[s("div",{class:"col-10 credit-items-hr"},null,-1)]))):d("",!0),s("div",ps,[s("input",{class:"form-check-input",type:"radio",name:"plansCreditsAssinante",value:a.id,onClick:Q=>u(a)},null,8,vs)]),s("div",_s,e(a.creditVideosAssinantes)+" "+e(t(o)=="en"?"credits":"cr
1éditos"),1),s("div",bs,[a.discount>0&&a.discount_value?(n(),i("div",hs,e(t(o)==="pt-br"?"De ":"Of ")+" "+e(t(o)!="pt-br"?"$":"")+" "+e(a.value),1)):d("",!0),a.discount>0&&a.discount_value?(n(),i("span",gs,[$(e(t(o)==="pt-br"?"Por ":"Only ")+" "+e(t(o)!="pt-br"?"$":"")+" ",1),s("span",null,e(a.discount_value.toString().split(".")[0])+",",1),s("span",ms,e(a.discount_value.toString().split(".")[1]),1)])):d("",!0),a.discount_value?d("",!0):(n(),i("span",ys,[$(e(t(o)!="pt-br"?"$":"")+" ",1),s("span",null,e(a.value.toString().split(".")[0])+",",1),s("span",fs,e(a.value.toString().split(".")[1]),1)]))])],2))),128)),s("div",Cs,[s("button",{type:"button",class:"credit-button col-lg-3 col-8",onClick:p[0]||(p[0]=a=>M())},e(t(l).buttonAddCredits),1)])])])):j===1?(n(),i("div",ks,[s("div",ws,[s("div",Ss,e(t(l).credits.PlansNoAssi),1),s("div",As,e(t(l).credits.option),1),p[4]||(p[4]=s("div",{class:"credit-hr"},null,-1)),(n(!0),i(D,null,B(_.plansCredits,(a,m)=>(n(),i("div",{class:I(["row d-flex align-items-center justify-content-center",{"bg-gray":m%2!==0}]),key:a.id},[m==0&&a.discount>0&&a.discount_value?(n(),i("div",$s,[s("div",null,e(t(l).PromotionSpecial),1),s("div",null,e(a.discount)+" % "+e(t(l).labelDiscont),1)])):d("",!0),m>0?(n(),i("div",Ls,p[3]||(p[3]=[s("div",{class:"col-10 credit-items-hr"},null,-1)]))):d("",!0),s("div",Ps,[s("input",{class:"form-check-input",type:"radio",name:"plansCreditsNaoAssinante",value:a.id,onClick:Q=>u(a)},null,8,Ts)]),s("div",xs,e(a.creditVideosNaoAssinantes)+" "+e(t(o)=="en"?"credits":"créditos"),1),s("div",Ms,[a.discount>0&&a.discount_value?(n(),i("div",Ns,e(t(o)==="pt-br"?"De ":"Of ")+" "+e(t(o)!="pt-br"?"$":"")+" "+e(a.value),1)):d("",!0),a.discount>0&&a.discount_value?(n(),i("span",Is,[$(e(t(o)==="pt-br"?"Por ":"Only ")+" "+e(t(o)!="pt-br"?"$":"")+" ",1),s("span",null,e(a.discount_value.toString().split(".")[0])+",",1),s("span",Vs,e(a.discount_value.toString().split(".")[1]),1)])):d("",!0),a.discount_value?d("",!0):(n(),i("span",js,[$(e(t(o)!="pt-br"?"$":"")+" ",1),s("span",null,e(a.value.toString().split(".")[0])+",",1),s("span",Ds,e(a.value.toString().split(".")[1]),1)]))])],2))),128)),s("div",Bs,[s("button",qs,e(t(l).buttonCredits2),1)])])])):d("",!0)]),_:1})])]))}}),Os=H(Us,[["__scopeId","data-v-f3551abf"]]),Rs={class:"slot-body"},Fs={class:"container col-lg-10 col-12 d-flex"},Es={class:"breadcrumb"},Gs={class:"breadcrumb"},Hs={class:"breadcrumb"},zs={class:"container"},Qs={class:"header1 py-3"},Ws={class:"header2"},Js={class:"header-subtitle"},Ks={class:"header2"},Xs={class:"header3"},Ys={class:"header2"},Zs={key:0,class:"container py-3"},se={key:1,class:"container py-3"},ee=O({__name:"turbo",setup(V){const P=ss(),f=F(),C=es(),y=z(),k=v(()=>y),_=v(()=>f.params.language),T=ts(),w=v(()=>T.plansCredits),S=v(()=>l.isLoggedIn),x=v(()=>{var h;const u=P.plansType.find(g=>g.plan_type_id===k.value.choicePlanTypeId);if(!u)return!1;const c=(h=u.plans)==null?void 0:h.find(g=>g.id===k.value.choiceId);return c||!1}),o=v(()=>_.value==="pt-br"?L.portugues:L.ingles);K({templateParams:{subTitle:null,subPage:_.value=="pt-br"?"Assine":"Subscribe Now",page_url:C,page_description:_.value=="pt-br"?"Quer ver tudo sem censura? Assine agora e tenha acesso ao conteúdo VIP":"Want to see everything uncensored? Subscribe now and get access to VIP content",page_image:as(),page_keywords:"bella, bella da semana, bela da semana, bella semana, bela semana, belladasemana, bella site, bella da semana site",page_locale:_.value,page_url_pt:"https://belladasemana.com.br/pt-br/assine/addcredits",page_url_en:"https://belladasemana.com.br/en/assine/addcredits",page_canonical:C}});const l=R(),M=E();function b(u){M.push({name:u,params:{language:_.value},query:{acionador:f.query.acionador}})}function N(){y.setAssineChoiceTurbo(0),S.value?b("language-assine-checkout"):b("language-assine-account")}return X(x,u=>{u||(sessionStorage.removeItem("assineChoice"),b("language-assine"))}),(u,c)=>{const h=Y;return n(),q(h,null,{default:G(({showModalMessages:g})=>[s("div",Rs,[s("div",Fs,[s("div",{class:"breadcrumb breadcrumb1",onClick:c[0]||(c[0]=r=>b("language-assine"))},e(t(o).breadcrumb0),1),c[1]||(c[1]=s("div",{class:"breadcrumb"},">",-1)),s("div",Es,e(t(U)()?t(o).breadcrumbMobile2:t(o).breadcrumb2),1),c[2]||(c[2]=s("div",{class:"breadcrumb"},">",-1)),s("div",Gs,e(t(U)()?t(o).breadcrumbMobile3:t(o).breadcrumb3),1),c[3]||(c[3]=s("div",{class:"breadcrumb"},">",-1)),s("div",Hs,e(t(o).breadcrumb4),1)]),s("div",zs,[s("div",Qs,e(t(o).addCredits1),1),s("div",Ws,e(t(o).addCredits2),1),s("div",Js,[s("span",Ks,e(t(o).addCredits3),1),s("span",Xs,e(t(o).addCredits4),1),s("span",Ys,e(t(o).addCredits5),1)])]),t(k).choicePlanTypeId?(n(),i("div",Zs,[t(w)?(n(),q(Os,{key:0,plansCredits:t(w),onShowModalMessages:g},null,8,["plansCredits","onShowModalMessages"])):d("",!0),s("div",{class:"discard mt-4 mt-lg-0",onClick:N},e(t(o).addCredits6),1),c[4]||(c[4]=s("br",null,null,-1)),c[5]||(c[5]=s("br",null,null,-1))])):(n(),i("div",se,e(t(o).checkPlan),1))])]),_:1})}}}),he=H(ee,[["__scopeId","data-v-e8704981"]]);export{he as default}; 2//# sourceMappingURL=DzgrmF75.js.map
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.