1import{c as z}from"./DAIuYH2H.js";import{d as D,o as t,g as n,F as _,l as x,n as S,p as P,h as f,q as l,_ as N,w as y,b as o,t as s,k as R,c as m,s as b,u as V,f as W,U as j,i as v,ah as E,a1 as T,O as B,r as $}from"./f_1_Qhsc.js";import{e as U,a as M}from"./CDeNtMJt.js";import{C as q}from"./Bv5YHqRA.js";import{A as F}from"./CG79L2ps.js";import"./Ca1zQClM.js";import"./B5hUMEXD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"R14.36"}}catch{}})();try{(function(){var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new e.Error().stack;p&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[p]="97f36148-1a51-4acf-bbca-571f83bf9043",e._sentryDebugIdIdentifier="sentry-dbid-97f36148-1a51-4acf-bbca-571f83bf9043")})()}catch{}const H={class:"e-billing-card-statement-parts"},Y={key:0,class:"part-header"},G=D({__name:"BillingCardStatementParts",props:{parts:{}},setup(e){return(p,a)=>(t(),n("div",H,[(t(!0),n(_,null,x(e.parts,(r,h)=>(t(),n("div",{key:h,class:S(["statement-part",r.template])},[r.header?(t(),n("div",Y,[(t(!0),n(_,null,x(r.header.cells,(i,c)=>(t(),n("div",{key:c,class:S(["part-header-cell",[i.style?.fontSize]]),style:P({color:i.style?.fontColor??"inherit",background:i.style?.bgColor??void 0,fontWeight:i.style?.fontWeight==="strong"?"bold":"normal"})},[f(F,{cell:i},null,8,["cell"])],6))),128))])):l("",!0),(t(!0),n(_,null,x(r.rows,(i,c)=>(t(),n("div",{key:c,class:S(["part-row",i.template])},[(t(!0),n(_,null,x(i.cells,(u,g)=>(t(),n("div",{key:g,class:S(["part-cell",[u.style?.bgColor&&"styled",u.style?.fontSize??""]]),style:P({color:u.style?.fontColor??"inherit",background:u.style?.bgColor??void 0,fontWeight:u.style?.fontWeight==="strong"?"bold":"normal"})},[f(F,{cell:u},null,8,["cell"])],6))),128))],2))),128))],2))),128))]))}}),J=Object.assign(N(G,[["__scopeId","data-v-7a6d6466"]]),{__name:"RegistrationShowEntitlementConfirmationStepBillingCardStatementParts"}),K={class:"e-entitlement-change-summary"},Q={class:"header"},X={class:"subtitle"},Z={class:"title"},ee={class:"to-plan"},te={key:0,class:"promo-price"},ne={key:0,class:"orig-price"},se={class:"price"},ae={key:1,class:"unit"},oe={key:0,class:"description"},ie={key:2,class:"plan-footer"},le=D({__name:"EntitlementChangeSummary",props:{summary:{}},setup(e){const p=e,a=b(()=>p.summary.entitlements[0]),r=b(()=>a.value?.benefits?.items.filter(i=>i.template==="benefit-info")??[]),h=b(()=>{const i=a.value?.benefits;if(i)return{...i,items:i.items.filter(c=>c.template!=="benefit-info")}});return(i,c)=>(t(),n("div",K,[f(z,{class:"plan-card"},{default:y(()=>[o("div",Q,[o("div",X,s(e.summary.label?.name),1),o("div",Z,[a.value?.additionalInfo?.origEntitlement?.name?(t(),n(_,{key:0},[o("span",{class:"from-plan",style:P({color:a.value.additionalInfo.origEntitlement.style?.fontColor??void 0})},s(a.value.additionalInfo.origEntitlement.name),5),f(R,{class:"from-plan-icon",name:"chevron-right",size:24,color:"var(--core-solid-b-200)"})],64)):l("",!0),o("span",ee,s(a.value?.entitlement?.name),1)]),a.value?.additionalInfo?.promoPrice?(t(),n("div",te,[a.value.additionalInfo.promoPrice.origPriceFormatted?(t(),n("span",ne,s(a.value.additionalInfo.promoPrice.origPriceFormatted.name),1)):l("",!0),o("span",se,s(a.value.additionalInfo.promoPrice.priceFormatted.name),1),a.value.additionalInfo.promoPrice.unit?(t(),n("span",ae,"/"+s(a.value.additionalInfo.promoPrice.unit.name),1)):l("",!0)])):l("",!0),a.value?.additionalInfo?.info?(t(),n("p",{key:1,class:"promo-info",style:P({color:a.value.additionalInfo.info.style?.fontColor})},s(a.value.additionalInfo.info.name),5)):l("",!0)])]),_:1}),a.value?.description?(t(),n("p",oe,s(a.value.description),1)):l("",!0),h.value?(t(),m(U,{key:1,class:"benefits-listing","benefits-listing":h.value,gap:16,"icon-size":24},null,8,["benefits-listing"])):l("",!0),r.value.length?(t(),n("div",ie,[(t(!0),n(_,null,x(r.value,(u,g)=>(t(),n("span",{key:g,class:"plan-additional-info"}
1,s(u.description||u.title),1))),128))])):l("",!0)]))}}),ce=Object.assign(N(le,[["__scopeId","data-v-713fb55b"]]),{__name:"RegistrationShowEntitlementConfirmationStepEntitlementChangeSummary"}),re={class:"e-show-entitlement-confirmation-step"},de={class:"back-btn"},me={class:"billing-header"},ue={class:"title"},fe={class:"payment-method"},pe={class:"name"},he={class:"info"},ve={class:"left"},ye={key:0,class:"mobile-billing-title"},be={class:"center"},ge={class:"card"},ke={class:"payment-method mobile"},Ce={class:"name"},_e={class:"info"},Ie={key:2,class:"payment-info"},we={key:1},xe={key:1,class:"redeem-coupon visible-to-xl"},Se={class:"right"},Ee={key:1},$e={key:1,class:"redeem-coupon visible-from-xl"},ze=D({__name:"ShowEntitlementConfirmationStep",props:{step:{}},setup(e){const{api:p}=V(),{t:a}=W("components.registration.ShowEntitlementConfirmationStep"),r=e,h=$([]),i=b(()=>{const d=r.step.payment.consents?.items.filter(C=>C.schema==="Consent");return!d||d.length===0?!0:!!d?.every(C=>h.value.includes(C.id))}),c=b(()=>r.step.commands?.find(d=>["StatementConfirmationCommand","EntitlementConfirmationCommand"].includes(d.command))),u=b(()=>c.value?.ux?.text),g=b(()=>{const d=r.step.payment.paymentInfo?.details;return d?.schema==="CardPaymentInfo"?` ${d.cardNumber}
1`:d?.schema==="VoucherPaymentInfo"?a("voucherPaymentMethod"):""}),I=$(!1),L=async()=>{if(!(!c.value||!i.value||I.value)){I.value=!0;try{await p.action({call:"user.entitlementchange.step",params:{payload:{command:{schema:c.value.command,session:r.step.session}}}})}finally{I.value=!1}}},k=$(!1),w=$(null),A=()=>{const d=r.step.info?.voucher;d&&(k.value=!0,w.value&&clearTimeout(w.value),w.value=setTimeout(()=>{k.value=!1},5e3),p.action({call:"user.entitlementchange.step",params:{payload:{command:{schema:d.command.command,session:r.step.session,methodId:d.methodId}}}}))};return j(()=>{w.value&&clearTimeout(w.value)}),(d,C)=>(t(),n("div",re,[o("div",de,[f(M,{label:e.step.back},null,8,["label"])]),o("div",me,[o("div",ue,s(e.step.title),1),o("div",fe,[o("div",pe,s(e.step.payment.paymentInfo?.name),1),o("div",he,[v(s(g.value)+" ",1),f(E,{icon:e.step.payment.paymentInfo?.icon,size:32},null,8,["icon"])])])]),o("div",ve,[e.step.title?(t(),n("div",ye,s(e.step.title),1)):l("",!0),f(ce,{summary:e.step.summary},null,8,["summary"])]),o("div",be,[f(z,{class:"billing-card"},{default:y(()=>[o("div",ge,[o("div",ke,[o("div",Ce,s(e.step.payment.paymentInfo?.name),1),o("div",_e,[v(s(g.value)+" ",1),f(E,{icon:e.step.payment.paymentInfo?.icon,size:32},null,8,["icon"])])]),e.step.statement.parts?.length?(t(),m(J,{key:0,parts:e.step.statement.parts},null,8,["parts"])):l("",!0),e.step.payment.info?.style?.markup?(t(),m(T,{key:1,class:"payment-info","html-element":"p",html:e.step.payment.info.name,"with-styles":!1},null,8,["html"])):e.step.payment.info?(t(),n("p",Ie,s(e.step.payment.info.name),1)):l("",!0),e.step.payment.consents?(t(),m(q,{key:3,consents:h.value,"onUpdate:consents":C[0]||(C[0]=O=>h.value=O),"consent-list":e.step.payment.consents,disabled:!c.value,variant:"card"},null,8,["consents","consent-list","disabled"])):l("",!0),u.value?(t(),m(B,{key:4,variant:c.value?.ux?.style?"custom"
1:"primary-yellow","bg-color":c.value?.ux?.style?.bgColor,color:c.value?.ux?.style?.fontColor,"show-loader":I.value,expand:"",size:"large",disabled:!i.value||!c.value||I.value,onClick:L},{default:y(()=>[v(s(u.value),1)]),_:1},8,["variant","bg-color","color","show-loader","disabled"])):l("",!0)])]),_:1}),e.step.info?.description?(t(),m(z,{key:0,class:"change-info visible-to-xl"},{default:y(()=>[e.step.info.description.style?.markup?(t(),m(T,{key:0,"html-element":"span",html:e.step.info.description.name,"with-styles":!1},null,8,["html"])):(t(),n("span",we,s(e.step.info.description.name),1))]),_:1})):l("",!0),e.step.info?.voucher?(t(),n("div",xe,[v(s(e.step.info.voucher.title)+" ",1),f(B,{variant:"transparent",size:"small","show-loader":k.value,disabled:k.value,onClick:A},{default:y(()=>[e.step.info.voucher.command.ux?.icon?(t(),m(E,{key:0,icon:e.step.info.voucher.command.ux.icon,size:16},null,8,["icon"])):(t(),m(R,{key:1,name:"plus-alt",size:16})),v(" "+s(e.step.info.voucher.command.ux?.text),1)]),_:1},8,["show-loader","disabled"])])):l("",!0)]),o("div",Se,[e.step.info?.description?(t(),m(z,{key:0,class:"change-info visible-from-xl"},{default:y(()=>[e.step.info.description.style?.markup?(t(),m(T,{key:0,"html-element":"span",html:e.step.info.description.name,"with-styles":!1},null,8,["html"])):(t(),n("span",Ee,s(e.step.info.description.name),1))]),_:1})):l("",!0),e.step.info?.voucher?(t(),n("div",$e,[v(s(e.step.info.voucher.title)+" ",1),f(B,{variant:"transparent",size:"small","show-loader":k.value,disabled:k.value,onClick:A},{default:y(()=>[e.step.info.voucher.command.ux?.icon?(t(),m(E,{key:0,icon:e.step.info.voucher.command.ux.icon,size:16},null,8,["icon"])):(t(),m(R,{key:1,name:"plus-alt",size:16})),v(" "+s(e.step.info.voucher.command.ux?.text),1)]),_:1},8,["show-loader","disabled"])])):l("",!0)])]))}}),Fe=Object.assign(N(ze,[["__scopeId","data-v-4e098aa1"]]),{__name:"RegistrationShowEntitlementConfirmationStep"});export{Fe 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.