PageSourceSearch

https://www.personal.com.ar/tienda/client/routes/checkout/$slug.$purchaseId.thank-you-AZK3KTQN.js

js personal.com.ar collected 2026-10-01 10:40:28 UTC 39,217 bytes, 27 lines download raw bytes

1import{a as St,b as E,c as ro,d as Pt,e as Hr,f as Br,g as Ur,h as $r,j as Wr,k as Le,l as Xr,m as lo,n as Qr}from"/tienda/client/_shared/chunk-WCQ4D4VA.js";import{b as gt}from"/tienda/client/_shared/chunk-ESPEC674.js";import{a as Mr,b as io,c as wr,d as Vr,e as Kr}from"/tienda/client/_shared/chunk-I4UAYPSD.js";import{a as De,b as Ne,d as zr,e as ao,g as co,h as so,i as qr}from"/tienda/client/_shared/chunk-OJW2RYQU.js";import{a as Yr}from"/tienda/client/_shared/chunk-EJUPLUJJ.js";import{b as Gr}from"/tienda/client/_shared/chunk-JYQF5LHR.js";import"/tienda/client/_shared/chunk-6LXQODBL.js";import"/tienda/client/_shared/chunk-UIE6J22S.js";import{B as Lr,Ja as br,Ka as kr,R as Rr,Sa as y,e as Oe,f as Ar,g as N,y as Kt}from"/tienda/client/_shared/chunk-Y6FSZCPZ.js";import"/tienda/client/_shared/chunk-QSHJIMD4.js";import{a as Fr}from"/tienda/client/_shared/chunk-ETJJ7O4Z.js";import{a as q}from"/tienda/client/_shared/chunk-SV3CT53T.js";import{j as Nr}from"/tienda/client/_shared/chunk-XIYY6GQ4.js";import"/tienda/client/_shared/chunk-6VNJYPWM.js";import{a as d}from"/tienda/client/_shared/chunk-7HJZP5QI.js";import"/tienda/client/_shared/chunk-4DWFII7X.js";import"/tienda/client/_shared/chunk-X7SWSRFK.js";import{A as xe,q as to,r as vr,v as Ae,x as Yt,y as Er,z as M}from"/tienda/client/_shared/chunk-IS7MRR5M.js";import{A as oo,E as no,d as xr,r as Or,v as eo,y as Dr,z as Mt}from"/tienda/client/_shared/chunk-JGKX354C.js";import{$a as J,$e as xn,$h as Yn,$j as Jn,A as z,Ae as Pn,Ai as _e,B as Y,Bb as le,Bd as Tn,Bf as l,Bi as Wn,Cb as Gt,D as ee,Db as xt,Df as me,Di as Gn,Dl as Ir,E as oe,Ei as Vn,El as yr,Fb as cn,Ff as Dn,Fi as Kn,Fl as Je,G as tt,Gf as p,Gl as je,Hb as sn,He as lt,Ib as ln,J as Bo,Jf as Nn,K as Uo,Ka as Xo,L as ne,La as Qo,M as $o,Mf as ot,N as Ge,Na as Zo,Nb as ue,Nf as Ft,Oa as Jo,Oe as hn,P as Wo,Pa as jo,Pb as un,Pe as _n,Pf as Vt,Q as Go,Qa as tn,Rb as mn,Re as In,Rf as Ln,Ri as Ie,Sa as ae,Sb as bt,Se as yn,Si as ye,T as Ve,Te as vn,Ti as ve,U as re,Ub as dn,Uh as Te,Ui as zn,Ve as En,Vf as Rn,Vi as Ee,W as Ke,Wb as kt,Wi as qn,X as Bt,Xi as Xn,Xk as lr,Y as ze,Yi as Qn,Z as Ut,Zc as D,Zf as de,Zh as Ce,_e as An,_h as Fn,_j as Zn,aa as $t,c as it,ca as Vo,cb as et,cg as bn,e as Fo,eb as en,eg as pe,f as at,fb as qe,fi as Mn,gb as on,gl as ur,h as B,hl as mr,ia as st,if as On,il as dr,j as U,ja as Ko,ji as ut,jk as jn,k as vt,kb as ce,ki as fe,kk as tr,kl as pr,l as F,lb as Xe,lf as ft,li as wn,lk as er,ll as Tr,mb as Wt,mi as Hn,mk as or,ml as Cr,n as Jt,ni as Bn,nk as nr,nl as fr,o as jt,oa as I,ob as nn,oi as Un,ok as rr,ol as Sr,p as Yo,pa as zo,pb as rn,pi as Se,pk as ir,pl as gr,q as Mo,qb as an,qi as $n,qk as ar,ql as Pr,r as wo,rk as cr,rl as hr,s as Ho,sa as qo,sb as Qe,sk as sr,sl as _r,t as Rt,tb as se,u as te,ub as Ze,v as Et,vb as R,vi as ge,w as ct,we as Cn,wi as Pe,x as O,xe as fn,y as At,ye as Sn,za as ie,zd as pn,ze as gn,zh as kn,zi as he}from"/tienda/client/_shared/chunk-V7O6DRFX.js";import{b as Zt,d as rt,e as ko,f as V,g as P,h as k,j as _,k as Lt,n as x}from"/tienda/client/_shared/chunk-OW6PJLS4.js";import{B as t,O as G,P as v,Z as Ro,a as yi,aa as bo,b as f,p as We,r as Lo}from"/tienda/client/_shared/chunk-DXULI4FY.js";import{e as C}from"/tienda/client/_shared/chunk-J6EJI7FC.js";var Zr="/tienda/client/_assets/high-five-EOWFIOLI.svg";var nt=C(f()),j=()=>{let{purchase:o}=v(),[r,i]=bo(!1),n=Ai(o,()=>i(!0)),c=()=>{document.getElementById("QSIFeedbackButton-btn")?.click(),i(!1),y().modalHelpToImprove("Ay\xFAdanos a mejorar",V.QUALTRICS.ACCEPT)},g=A=>{i(!1),y().modalHelpToImprove("Ay\xFAdanos a mejorar",A)};return n?null:(0,nt.jsx)(Fr,{show:r,onClose:()=>g("Cerrar"),children:(0,nt.jsxs)(Ni,{children:[(0,nt.jsx)(Li,{src:Zr,alt:"high-five"}),(0,nt.jsx)(Ri,{children:V.QUALTRICS.HEADER}),(0,nt.jsxs)(bi,{children:[V.QUALTRICS.DETAIL_1,(0,nt.jsx)("br",{}),V.QUALTRICS.DETAIL_2]}),(0,nt.jsxs)(Er,{children:[(0,nt.jsx)(Fi,{className:"tertiary-dm",onClick:()=>g(V.QUALTRICS.REJECT),children:V.QUALTRICS.REJECT}),(0,nt.jsx)(ki,{className:"primary-dm",onClick:c,children:V.QUALTRICS.ACCEPT})]})]})})},Ai=(o,r)=>{let{isQualtricsActive:i,surveyModalTriggerCount:n}=Ro("root")||{};return G(()=>{if(!i)return;let c=Jr(xi(o));return c.setAttribute("id","qualtricsVar"),document.body.appendChild(c),setTimeout(()=>{document.body.appendChild(Jr(Di)),r()},n),()=>{document.body.removeChild(c)}},[]),!!i},Jr=o=>{let r=document.createElement("script");return r.setAttribute("type","text/javascript"),r.innerHTML=o,r},xi=o=>{let r=Oi(o),i="discounts"in r.price?r.price.discounts.some(n=>n.name===xr):!1;return`
2    const qyt = {
3        purchaseId: "${o.id}",
4        productName: "${r.name}",
5        convergent: "${i}",`+("protection"in r&&!!r.protection&&`
6        additionalProductName: "${r.protection?.name}",`||"")+`
7        purchaseMethod: "${o.payment_method}",
8        deliveryMethod: "Delivery",
9        operation: "${o.operation}"`+(o.channel?`,
10        channel: "${o.channel}"`:"")+`
11    }
12`},Oi=o=>{let{products:r,operation:i}=o;return Mt(i)?r.find(n=>n.entertainment_type==="TV"):no(i)?o.order_detail.products[0]:r[0]},Di=`
13    (function(){var g=function(e,h,f,g){
14
15      this.get=function(a){for(var a=a+"=",c=document.cookie.split(";"),b=0,e=c.length;b<e;b++){for(var d=c[b];" "==d.charAt(0);)d=d.substring(1,d.length);if(0==d.indexOf(a))return d.substring(a.length,d.length)}return null};
16      
17      this.set=function(a,c){var b="",b=new Date;b.setTime(b.getTime()+6048E5);b="; expires="+b.toGMTString();document.cookie=a+"="+c+b+"; path=/; "};
18      
19      this.check=function(){var a=this.get(f);if(a)a=a.split(":");else if(100!=e)"v"==h&&(e=Math.random()>=e/100?0:100),a=[h,e,0],this.set(f,a.join(":"));else return!0;var c=a[1];if(100==c)return!0;switch(a[0]){case "v":return!1;case "r":return c=a[2]%Math.floor(100/c),a[2]++,this.set(f,a.join(":")),!c}return!0};
20      
21      this.go=function(){if(this.check()){var a=document.createElement("script");a.type="text/javascript";a.src=g;document.body&&document.body.appendChild(a)}};
22      
23      this.start=function(){var t=this;"complete"!==document.readyState?window.addEventListener?window.addEventListener("load",function(){t.go()},!1):window.attachEvent&&window.attachEvent("onload",function(){t.go()}):t.go()};};
24      
25      try{(new g(100,"r","QSI_S_ZN_eLFfFWDVsaJ1rvM","https://znelfffwdvsaj1rvm-telecom.siteintercept.qualtrics.com/SIE/?Q_ZID=ZN_eLFfFWDVsaJ1rvM")).start()}catch(i){}})();
26`,Ni=t(xe,bn),Li=t("img",Cn),Ri=t("h1",fn),bi=t("p",ae,ft),jr=t("button",Sn),ki=t(jr,gn),Fi=t(jr,Pn);var wt=C(f()),Yi=({text:o})=>(0,wt.jsxs)(Mi,{children:[(0,wt.jsx)(wi,{children:(0,wt.jsx)("i",{className:"fa-light fa-circle-check"})}),(0,wt.jsx)(Hi,{children:o})]}),Mi=t(xe,Gn),wi=t(Ae,Vn),Hi=t("p",Kn),mt=Yi;var ti=C(yi());var w=C(f()),be=({products:o,operation:r="tangible"})=>{let i=()=>o.map((n,c)=>{let{slug:g,name:A,image_url:L,quantity:$,price:{tax_included_charge_amount:K},protection:Q,service_price:W,is_extensor:Z}=n;return(0,w.jsxs)(ti.default.Fragment,{children:[(0,w.jsx)(Bi,{name:A,imageUrl:L,quantity:$,price:K*$}),Q&&(0,w.jsx)(io,{name:V.PROTECTION_ITEM.PROTECTION_PLUS,price:Q.tax_included_charge_amount,quantity:Q.protection_quantity,img:{src:wr,alt:"La Caja"}}),oo(r)&&Z&&W&&(0,w.jsx)(io,{price:W,quantity:$,icon:"fa-light fa-circle-info"}),!Mr(o.length,c)&&(0,w.jsx)(zi,{})]},g)});return(0,w.jsxs)(Ui,{children:[(0,w.jsx)(E,{title:V.PRODUCT_LIST.HEADER}),(0,w.jsx)(d,{variant:"outlined",customStyle:wn,children:i()})]})},Bi=({name:o,imageUrl:r,quantity:i,price:n})=>(0,w.jsxs)($i,{children:[(0,w.jsxs)(Wi,{children:[(0,w.jsx)("img",{src:r,width:"40"}),(0,w.jsxs)("div",{children:[(0,w.jsx)(Gi,{children:o}),(0,w.jsxs)(Vi,{children:[V.PRODUCT_LIST.PRODUCT_QUANTITY," ",i]})]})]}),(0,w.jsx)(Ki,{children:N(n)})]}),Ui=t("div",l,p,D),uo=t("p",Y),$i=t("div",Hn),Wi=t("div",l,Ft,et),Gi=t(uo,jo,B,R),Vi=t(uo,I,ct,at),Ki=t(uo,Xo,U),zi=t(q,qo);var b=C(f());function mo(){let{purchase:o}=v(),{products:r,billing_account_line_masked:i,tax_included_total_amount:n,operation:c}=o;return G(()=>{y().purchaseExtensor(o),y().visitThankYou(),Oe("cart")},[]),(0,b.jsxs)(Ji,{children:[(0,b.jsx)(j,{}),(0,b.jsxs)(ji,{children:[(0,b.jsx)(mt,{text:ko.THANK_YOU.SUCCESS_MESSAGE}),(0,b.jsx)(be,{products:r,operation:c}),(0,b.jsx)(Xi,{}),!!i&&(0,b.jsx)(Qi,{billing_account_line_masked:i}),(0,b.jsx)(qi,{tax_included_total_amount:n})]})]})}var qi=({tax_included_total_amount:o})=>{let r=o||0;return(0,b.jsxs)(ta,{children:[(0,b.jsx)(ea,{children:x.TOTAL_TITLE}),(0,b.jsx)(oa,{children:N(r)})]})},Xi=()=>{let{purchaseData:o}=v(),r=o?.deliveryData;return(0,b.jsxs)(Zi,{children:[(0,b.jsx)(E,{title:x.DELIVERY_METHOD}),(0,b.jsxs)(d,{variant:"outlined",customStyle:fe,children:[(0,b.jsx)(Pt,{deliveryData:r,customStyle:_e,checkoutFlow:"form-sale"}),(0,b.jsx)(gt,{checkoutFlow:"form-sale"})]})]})},Qi=({billing_account_line_masked:o})=>(0,b.jsx)(St,{customer_address:o||"********",operation:"form-sale"}),Zi=t("div",l,p,D),Ji=t(M,it),ji=t(M,ut),ta=t("div",he),ea=t("p",I),oa=t("p",I,F);var ei="/tienda/client/_assets/step-1-2RYH36NL.svg";var oi="/tienda/client/_assets/step-2-4BFPDXUV.svg";var ni="/tienda/client/_assets/step-3-P5LDVLAF.svg";var pt=C(f()),aa=[ei,oi,ni];function Ot({title:o,steps:r}){return(0,pt.jsx)(ca,{children:(0,pt.jsxs)(d,{variant:"outlined",customStyle:ar,children:[(0,pt.jsx)(sa,{children:o}),(0,pt.jsx)(la,{children:r.map((i,n)=>(0,pt.jsxs)(ua,{children:[(0,pt.jsx)(ma,{src:aa[n]}),(0,pt.jsx)(da,{children:i})]},n))})]})})}var ca=t("div",l,p,D),sa=t("div",U,O,ft,le,z),la=t("div",cr),ua=t("div",sr),ma=t("img",kt,zo),da=t("div",z,B,R,ft);var ri="/tienda/client/_assets/phone-OSCXNWBF.svg";var u=C(f());function po(){let{purchase:o}=v(),{delivery_info:r,reserved_phone_number:i,area_code:n,operation:c}=o;G(()=>{y().visitThankYou(),y().purchaseMobileService(o)},[]);function g(A,L){return!A||!L?"":L.startsWith(A)?`${A} ${L.slice(A.length)}`:L}return(0,u.jsxs)(ya,{children:[(0,u.jsx)(j,{}),(0,u.jsxs)(va,{children:[(0,u.jsx)(mt,{text:k.THANK_YOU.SUCCESS_MESSAGE}),(0,u.jsxs)(ke,{children:[(0,u.jsx)(E,{title:k.THANK_YOU.HEADER_TITLE_PREPAID}),(0,u.jsxs)(d,{variant:"outlined",customStyle:tr,children:[(0,u.jsxs)(fa,{children:[(0,u.jsx)(Sa,{src:De}),(0,u.jsx)(ga,{children:k.THANK_YOU.PRODUCT_TITLE})]}),(0,u.jsx)(Pa,{children:k.THANK_YOU.PRODUCT_PRICE})]})]}),(0,u.jsxs)(ke,{children:[(0,u.jsx)(E,{title:k.THANK_YOU.HEADER_TIT
26LE_PERSONAL_NUMBER}),(0,u.jsx)(d,{variant:"outlined",customStyle:er,children:(0,u.jsxs)(ha,{children:[(0,u.jsx)(_a,{src:ri}),(0,u.jsx)(Ia,{children:g(n,i)})]})})]}),(0,u.jsxs)(ke,{children:[(0,u.jsx)(E,{title:k.THANK_YOU.HEADER_TITLE_SUMMARY}),(0,u.jsx)(d,{variant:"outlined",customStyle:nr,children:(0,u.jsx)(Ea,{children:(0,u.jsx)(Ta,{})})})]}),(0,u.jsxs)(ke,{children:[(0,u.jsx)(E,{title:k.THANK_YOU.HEADER_TITLE_DELIVERY}),(0,u.jsxs)(d,{variant:"outlined",customStyle:jn,children:[(0,u.jsx)(Pt,{deliveryData:r,customStyle:lt}),(0,u.jsx)(gt,{checkoutFlow:c})]})]}),(0,u.jsx)(Ot,{title:k.THANK_YOU.NEXT_STEPS.TITLE,steps:[k.THANK_YOU.NEXT_STEPS.STEP_DESCRIPTION_1,k.THANK_YOU.NEXT_STEPS.STEP_DESCRIPTION_2,k.THANK_YOU.NEXT_STEPS.STEP_DESCRIPTION_3]})]})]})}var Ta=()=>{let o=[{icon:Br,title:k.SUMMARY_ITEMS.SUMMARY_ITEM_1.TITLE,description:k.SUMMARY_ITEMS.SUMMARY_ITEM_1.DESCRIPTION},{icon:Ur,title:k.SUMMARY_ITEMS.SUMMARY_ITEM_2.TITLE,description:k.SUMMARY_ITEMS.SUMMARY_ITEM_2.DESCRIPTION},{icon:Hr,title:k.SUMMARY_ITEMS.SUMMARY_ITEM_3.TITLE,description:k.SUMMARY_ITEMS.SUMMARY_ITEM_3.DESCRIPTION}];return(0,u.jsx)(u.Fragment,{children:o.map(r=>(0,u.jsx)(Ca,{icon:r.icon,title:r.title,description:r.description},r.title))})};function Ca({icon:o,title:r,description:i}){return(0,u.jsxs)(Aa,{children:[(0,u.jsx)("div",{children:(0,u.jsx)(xa,{src:o,width:30,alt:r})}),(0,u.jsxs)(Oa,{children:[(0,u.jsx)(Da,{children:r}),(0,u.jsx)(Na,{children:i})]})]})}var fa=t(to,J,on,Vt),Sa=t("img",kt),ga=t("div",or),Pa=t("div",U,On),ha=t(to,ce,Vt),_a=t("img",bt),Ia=t("div",O,U,z,Dn),ya=t(M,it),va=t(M,ut),ke=t("div",l,p,D),Ea=t("div",l,p,Wt),Aa=t("div",l,Ft,Y,Wt),xa=t("img",dn),Oa=t("div",Rn,p,In),Da=t("div",rr),Na=t("div",ir);var ii=C(f()),La=({children:o,link:r})=>(0,ii.jsx)("a",{href:r,onClick:n=>{n.preventDefault(),window.location.href=r},target:"_blank",rel:"noopener noreferrer",className:pn,children:o}),To=La;var T=C(f());function ai(){let{purchase:o}=v(),r=o.products?.find(L=>L.entertainment_type==="TV");if(!r)return null;let{name:i,price:n}=r,c=n.tax_included_amount,g=n.discounts??[],A=g.length>0;return(0,T.jsxs)(ka,{children:[(0,T.jsxs)(Fa,{children:[(0,T.jsx)(Ya,{children:(0,T.jsx)("img",{src:Ne,height:36,width:36,alt:""})}),(0,T.jsx)(Ma,{children:i})]}),(0,T.jsxs)(li,{children:[(0,T.jsx)(ui,{children:(0,T.jsx)(Ha,{children:rt.FLOW_PLUS.PURCHASE_DETAIL.ORDER_DETAIL.OFFER_CONTENT_NAME_1})}),A?(0,T.jsx)(Ba,{children:N(c)}):(0,T.jsx)(Fe,{children:N(c)})]}),g.map((L,$)=>(0,T.jsx)(Ra,{discount:L},`discount-${$}`))]})}function Ra({discount:o}){let i=o.percentage===100?(0,T.jsx)(Ua,{children:rt.FLOW_PLUS.PURCHASE_DETAIL.ORDER_DETAIL.FREE}):(0,T.jsx)(Vr,{value:o.value});return(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(ba,{}),(0,T.jsxs)(li,{children:[(0,T.jsx)(ui,{children:(0,T.jsxs)(wa,{children:[o.name,(0,T.jsx)(Ka,{children:(0,T.jsx)(Kt,{label:`${o.percentage}${rt.FLOW_PLUS.PURCHASE_DETAIL.ORDER_DETAIL.OFFER_CONTENT_PERCENTAGE_OFF}`,variant:"secondary",mode:"soft"})})]})}),i]})]})}function ci(){let{purchase:o}=v(),r=o.products?.filter(i=>i.entertainment_type==="Pack TV")??[];return(0,T.jsx)(Kr,{packs:r,variant:"thankYou"})}function si(){let{purchase:o}=v();if(!o.products?.find(c=>c.entertainment_type==="TV"))return null;let i=o.tax_included_total_amount,n=o.duty_free_total_amount;return(0,T.jsxs)($a,{children:[(0,T.jsxs)(Wa,{children:[(0,T.jsx)("span",{children:Zt.PURCHASE_DETAIL.TOTAL}),i&&(0,T.jsx)(Va,{children:N(i)})]}),(0,T.jsxs)(Ga,{children:[(0,T.jsx)("span",{children:rt.FLOW_PLUS.PURCHASE_DETAIL.PRICE_WITHOUT_TAXES}),(0,T.jsx)("span",{children:N(n)})]})]})}var Co=t("p",I,se),ba=t("div",Ce),ka=t("div",p),Fa=t("div",l,ot,J,ae),Ya=t("div",Se),Ma=t(Co,U,O,R,Y),li=t("div",Pe),ui=t("div",l,ot,me,J,Jo),wa=t("div",B,R,Y),Fe=t(Co,B,R,Y),Ha=t(Fe,O),Ba=t(Fe,te,ue),Ua=t(Co,U,O,Te),$a=t("div",ge),Wa=t(Yt,F,xt,At,Y),Ga=t(Yt,at,tt),Va=t(Fe,F,Et,jt),Ka=t("div",$n);var s=C(f()),za=o=>Mt(o)?rt.FLOW_PLUS:rt.FLOWFLEX;function go(){let{purchase:o,...r}=v(),i="catalogProduct"in r?r.catalogProduct:{},{operation:n,billing_account_line_masked:c,customer_email:g,is_auto_debit_enabled:A}=o,L=eo(n),$=Dr(n),K=L||$,Q=Mt(n),W=za(n),Z=W.THANK_YOU.NEXT_STEPS.FIRST,Tt=W.THANK_YOU.NEXT_STEPS[K?"NEW_CLIENT_SECOND":"CLIENT_SECOND"],It=W.THANK_YOU.NEXT_STEPS.THIRD,yt=K?"https://unifiedsignup.telecom.com.ar/?sourceUrl=":"";G(()=>{y().visitThankYou(),y().puchaseFlow(i,o)},[]);
26let Nt=[(0,s.jsxs)(fo,{children:[Z.DETAIL_1,(0,s.jsx)(To,{link:yt+"https://flowmobile.page.link/F7iD",children:Z.DETAIL_2}),Z.DETAIL_3,(0,s.jsx)(To,{link:yt+"https://portal.app.flow.com.ar/login",children:Z.DETAIL_4})]},"1"),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(fo,{children:Tt.DETAIL_1}),Tt.DETAIL_2]}),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(fo,{children:It.DETAIL_1}),It.DETAIL_2]})],Ct=K&&A,Ht=Ct?x.PAYMENT:Lt.CONFIRMATION.INVOICE;return(0,s.jsxs)(qa,{children:[(0,s.jsx)(j,{}),(0,s.jsxs)(Xa,{children:[(0,s.jsx)(mt,{text:W.THANK_YOU.SUCCESS_MESSAGE}),(0,s.jsxs)(So,{children:[(0,s.jsx)(E,{title:W.THANK_YOU.HEADER_TITLE}),(0,s.jsxs)(Qa,{children:[(0,s.jsx)(d,{variant:"outlined",customStyle:Un,children:(0,s.jsx)(ai,{})}),(0,s.jsx)(ci,{}),(0,s.jsx)(si,{})]})]}),(0,s.jsx)(q,{}),(0,s.jsx)(So,{children:(0,s.jsxs)(d,{variant:"outlined",customStyle:Bn,children:[(0,s.jsxs)(Za,{children:[(0,s.jsx)(Ja,{children:(0,s.jsx)(ja,{src:Ne,height:36,width:36})}),(0,s.jsx)(tc,{children:(0,s.jsx)(ec,{children:W.CONFIRMATION.ITEM_TITLE})})]}),(0,s.jsx)(Wr,{operation:n})]})}),(0,s.jsx)(q,{}),(0,s.jsxs)(So,{children:[(Q||Ct)&&(0,s.jsx)(E,{title:Ht}),Ct&&Gr(o)&&o.auto_debit_summary?.number_suffix!=null&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(oc,{children:V.AUTO_DEBIT_PAYMENT.TEXT}),(0,s.jsx)($r,{method:o.payment_method,suffix:o.auto_debit_summary.number_suffix})]}),(0,s.jsx)(St,{operation:n,customer_email:K?g:void 0,customer_line:K?void 0:c})]}),(0,s.jsx)(Ot,{title:W.THANK_YOU.NEXT_STEPS.TITLE,steps:Nt})]})]})}var qa=t(M,it),Xa=t(M,ut),fo=t("span",O),So=t("div",l,p,D,an),Qa=t("div",l,p,D),Za=t("div",Zn),Ja=t("div",Wo,Ft),ja=t("img"),tc=t("div",Qo),ec=t("p",Jn),oc=t("p",I,B,vt,R,Gt,Y);var mi=(o="")=>o?new Date(o).getDate():"",di=(o="")=>{if(!o)return"";let r=new Date(o),i="America/Argentina/Buenos_Aires";return r.toLocaleDateString("es-AR",{weekday:"long",timeZone:i})},Po=(o="")=>{if(!o)return"";let r="America/Argentina/Buenos_Aires",i=new Date(o);return new Intl.DateTimeFormat("en-GB",{hour:"2-digit",minute:"2-digit",hour12:!1,timeZone:r}).format(i)},pi=(o="")=>{if(!o)return"";let r=new Date(o),i="America/Argentina/Buenos_Aires";return r.toLocaleDateString("es-AR",{month:"long",timeZone:i})};var Ti="/tienda/client/_assets/tv-mobile-5C7ZLJ3F.svg";var e=C(f()),gi={default:` ${lt} ${ze}  ${st}`,compact:`${$t} ${Ve} ${st}`,medium:`${Ut} ${Bt} ${Ko} ${st}`,large:`${Bt} ${Ke} ${st} ${re}`,wrapper:`${Bt} ${Ke} ${re} ${ne}`,element:`${st} ${ze}`,none:""},ic={heading:`${At} ${vt} ${Gt} ${Et} ${B} ${R}`,label:`${O} ${vt} ${Gt} ${Rt} ${B} ${R}`,description:`${ct} ${B} ${R} ${Ho}`,caption:`${ct} ${at} ${Ze}`},ac={Internet:ao,Fibra:ao,TV:zr},S={Internet:{headerTitle:"Fibra",background:je,pillBackground:Je,pillText:"Pendiente de instalaci\xF3n",title1:"Visita t\xE9cnica",icon1:"fa-light fa-calendar-check",isImg1:!1,title2:"Requisitos",text2:["Debe recibirnos una persona mayor de edad","Necesitamos acceder a la terraza","En caso de lluvia, la visita se reagenda"],icon2:"fa-light fa-list",isImg2:!1,alertText:"Registrate en Mi Personal con el email que usaste al contratar para seguir tu visita t\xE9cnica.",iconButton:"NvSysIconSystemActionDualFalarrowuprightfromsquare",textButton:"Ir a Mi Personal",linkButton:"https://mipersonalflow.go.link/1uCay"},Fibra:{headerTitle:"Fibra",background:je,pillBackground:Je,pillText:"Pendiente de instalaci\xF3n",title1:"Visita t\xE9cnica",icon1:"fa-light fa-calendar-check",isImg1:!1,title2:"Requisitos",text2:["Debe recibirnos una persona mayor de edad","Necesitamos acceder a la terraza","En caso de lluvia, la visita se reagenda"],icon2:"fa-light fa-list",isImg2:!1,alertText:"Registrate en Mi Personal con el email que usaste al contratar para seguir tu visita t\xE9cnica.",iconButton:"NvSysIconSystemActionDualFalarrowuprightfromsquare",textButton:"Ir a Mi Personal",linkButton:"https://mipersonalflow.go.link/1uCay"},TV:{headerTitle:"Flow",background:yr,pillBackground:Ir,pillText:"Listo para usar",title1:"Acceso inmediato",icon1:"fa-light fa-user-circle",isImg1:!1,text1:"Inici\xE1 sesi\xF3n o registrate con el email que usaste al contratar",title2:"Multiplataforma",icon2:Ti,isImg2:!0,text2:["Disponible en iOS, Android, Smart TV y web"],title3:"El mejor contenido",isImg3:!1,icon3:"fa-light fa-clapperboard-play",text3:"Disfrut\xE1 pel\xEDculas, series, deportes en vivo y m\xE1s",iconButton:"NvSysIconSystemActionDualFalarrowuprightfromsquare",textButton:"Ir a Flow",linkButton:"https://webappflow.go.link/3ue35"}}
26,cc=({bundleItems:o=[],installationDay:r,installationTime:i})=>(0,e.jsx)(sc,{children:o?.map(n=>(0,e.jsxs)(lc,{children:[(0,e.jsxs)(uc,{customBackgroundColor:S[n.type]?.background,children:[(0,e.jsxs)(dc,{children:[(0,e.jsx)(pc,{children:(0,e.jsx)(Tc,{src:ac[n.type]})}),(0,e.jsx)(Cc,{children:S[n.type]?.headerTitle})]}),(0,e.jsx)(fc,{customBackgroundColor:S[n.type]?.pillBackground,children:S[n.type]?.pillText&&(0,e.jsx)(Sc,{children:S[n.type].pillText})})]}),(0,e.jsxs)(mc,{children:[(0,e.jsxs)(H,{variant:"none",children:[(0,e.jsx)(ho,{children:(0,e.jsx)(_o,{children:(0,e.jsx)(Io,{children:S[n.type]?.isImg1?(0,e.jsx)("img",{src:S[n.type]?.icon1,alt:"icono"}):(0,e.jsx)("i",{className:S[n.type]?.icon1})})})}),(0,e.jsxs)(_t,{children:[(0,e.jsx)(h,{variant:"label",children:S[n.type]?.title1}),n.type==="TV"?(0,e.jsx)(h,{variant:"description",customColor:tt,children:S[n.type]?.text1}):(0,e.jsxs)(h,{variant:"description",customColor:tt,children:[r," - ",i]})]})]}),(0,e.jsxs)(H,{variant:"none",children:[(0,e.jsx)(ho,{children:(0,e.jsx)(_o,{children:(0,e.jsx)(Io,{children:S[n.type]?.isImg2?(0,e.jsx)("img",{src:S[n.type]?.icon2,alt:"icono"}):(0,e.jsx)("i",{className:S[n.type]?.icon2})})})}),(0,e.jsxs)(_t,{children:[(0,e.jsx)(h,{variant:"label",children:S[n.type]?.title2}),S[n.type]?.text2?.length>1?(0,e.jsx)(Fc,{children:S[n.type]?.text2?.map((c,g)=>c&&(0,e.jsx)(Yc,{children:(0,e.jsx)(h,{variant:"description",customColor:tt,children:c})},g))}):S[n.type]?.text2[0]&&(0,e.jsx)(h,{variant:"description",customColor:tt,children:S[n.type]?.text2[0]})]})]}),S[n.type]?.title3&&(0,e.jsxs)(H,{variant:"none",children:[(0,e.jsx)(ho,{children:(0,e.jsx)(_o,{children:(0,e.jsx)(Io,{children:S[n.type]?.isImg3?(0,e.jsx)("img",{src:S[n.type]?.icon3,alt:"icono"}):(0,e.jsx)("i",{className:S[n.type]?.icon3})})})}),(0,e.jsxs)(_t,{children:[(0,e.jsx)(h,{variant:"label",children:S[n.type]?.title3}),S[n.type]?.text3&&(0,e.jsx)(h,{variant:"description",customColor:tt,children:S[n.type]?.text3})]})]}),S[n.type]?.alertText&&(0,e.jsxs)(gc,{children:[(0,e.jsx)(Pc,{children:(0,e.jsx)("i",{className:"fa-light fa-circle-info"})}),(0,e.jsx)(h,{variant:"description",children:S[n.type]?.alertText})]}),(0,e.jsx)(hc,{children:(0,e.jsx)(Nr,{icon:S[n.type]?.iconButton,onClick:()=>{let c=S[n.type]?.linkButton;c&&window.open(c,"_blank")},children:S[n.type]?.textButton})})]})]}))}),sc=t("ul",l,Nn,Qe,rn,Ut,st),lc=t("li",pr),uc=t("div",Tr,({customBackgroundColor:o})=>o??""),mc=t("div",l,p,nn,$t,me,ot),dc=t("div",l,et),pc=t("div",Cr),Tc=t("img",l,hn,En,_n),Cc=t("p",pe,ct,Yo,Rt,sn,I),fc=t("div",fr,({customBackgroundColor:o})=>o??""),Sc=t("span",ct,B,R,z,ft),ho=t("div",Pr),_o=t("div",hr),Io=t("div",_r),gc=t("div",Sr),Pc=t("div",bt,F,z,l,ot,Vt,en),hc=t("div",gr),_c=({text:o})=>(0,e.jsxs)(Ic,{children:[(0,e.jsx)(yc,{children:(0,e.jsx)("i",{className:"fa-light fa-circle-check"})}),(0,e.jsx)(vc,{children:o})]}),Ic=t("div",ur),yc=t("div",kt,wo,pe),vc=t("p",O,Mo,Rt,ln,pe,ft),Ec=({products:o})=>(0,e.jsx)(lo,{title:P.THANK_YOU.SUBTITLE_SUMMARY_1.title,tooltipText:P.THANK_YOU.SUBTITLE_SUMMARY_1.tooltip.text,children:(0,e.jsxs)(H,{variant:"wrapper",customStyles:`${p} ${qe}`,children:[(0,e.jsx)(H,{variant:"none",customStyles:`${re} ${st}`,children:(0,e.jsx)(Xr,{products:o?.bundleItems,discountText:`${o?.price?.discountPercentage}`,price:o?.price?.taxIncludedChargeTotalAmount,priceList:o?.price?.taxIncludedTotalAmount,customStyle:`${Uo} ${$o}`})}),o?.addOns?.map((r,i)=>(0,e.jsxs)(We,{children:[(0,e.jsx)(He,{children:(0,e.jsx)(q,{})}),(0,e.jsx)(H,{variant:"element",children:(0,e.jsx)(Le,{titleText:r.name,price:r?.price?.taxIncludedChargeTotalAmount,discountText:r?.price?.discountPercentage,priceList:r?.price?.taxIncludedTotalAmount,quantity:r.quantity,subtype:r.subType})})]},i)),o?.otts?.included?.length&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(He,{children:(0,e.jsx)(q,{})}),o?.otts?.included?.map(r=>(0,e.jsx)(H,{variant:"element",children:(0,e.jsx)(Le,{titleText:r.name,subtype:r.name,otts:!0})}))]})]})}),Ac=({addOns:o})=>(0,e.jsx)(lo,{title:P.THANK_YOU.SUBTITLE_SUMMARY_2.title,tooltipText:P.THANK_YOU.SUBTITLE_SUMMARY_2.tooltip.text,children:(0,e.jsx)(H,{variant:"wrapper",customStyles:`${p} ${qe}`,children:o?.map((r,i)=>{let{isBonified:n,isFree:c}=qr(r.oneTimePrice);return(0,e.jsxs)(We,{children:[(0,e.jsx)(H,{variant:"element",children:(0,e.jsx)(Le,{titleText:r.name,discountText:r?.oneTimePrice?.discountPercentage,price:r?.oneTimePrice?.taxIncludedChargeTotalAmount,quantity:r.quantity,priceList:r?.oneTimePrice?.taxIncludedTotalAmount,subtype:r.subType,oneTimeCharge:!0,isBonified:n||c})}),(o?.length??0)-1>i&&(0,e.jsx)(He,{children:(0,e.jsx)(q,{})})]},i)})})}),xc=({totalMonth:o=0,totalOneTime:r=0,totalExcludeTaxes:i=0,total:n=0})=>(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(d,{variant:"outlined",customStyle:lt,children:[(0,e.jsx)(H,{variant:"compact",children:o>0&&(0,e.jsxs)(Ye,{children:[(0,e.jsx)(h,{variant:"description",customColor:z,children:P.THANK_YOU.SUBTITLE_TOTAL.totalMonth}),(0,e.jsx)(h,{variant:"label",children:N(o)})]})}),(0,e.jsx)(q,{customStyles:I}),(0,e.jsx)(H,{variant:"compact",children:r>0&&(0,e.jsxs)(Ye,{children:[(0,e.jsx)(h,{variant:"description",customColor:z,children:P.THANK_YOU.SUBTITLE_TOTAL.totalOneTime}),(0,e.jsx)(h,{variant:"label",children:N(r)})]})}),(0,e.jsx)(q,{customStyles:I}),(0,e.jsx)(Oc,{children:(0,e.jsx)(H,{variant:"medium",children:(0,e.jsxs)(Dc,{children:[n>0&&(0,e.jsxs)(Ye,{children:[(0,e.jsx)(Nc,{children:P.THANK_YOU.SUBTITLE_TOTAL.total}),(0,e.jsx)(Lc,{children:N(n)})]}),i>0&&(0,e.jsxs)(Ye,{children:[(0,e.jsx)(Ci,{children:P.THANK_YOU.SUBTITLE_TOTAL.totalExcludeTaxes}),(0,e.jsx)(Ci,{children:N(i)})]})]})})})]})}),Oc=t("div",kn),Dc=t("div",J,l,p,D),Ye=t("div",D,l,Ln,ot),Nc=t("div",O,F,Rt,xt,z),Lc=t("div",At,F,Et,xt,z),Ci=t("div",ct,Fo,Ze,tt),Rc={["auto_debit_card_credit"]:P.CONFIRMATION.PAYMENT_DETAIL.PAYMENT_METHODS.CREDIT_CARD,["auto_debit_cbu"]:P.CONFIRMATION.PAYMENT_DETAIL.PAYMENT_METHODS.CBU,["auto_debit_cvu_ppay"]:P.CONFIRMATION.PAYMENT_DETAIL.PAYMENT_METHODS.PERSONAL_PAY};function yo(){let{purchase:o,purchaseData:r}=v();G(()=>{y().visitThankYou(),y().purchaseInternet(o);let No=o?.risk_assessment_data;
26y().riskAssessmentResult({result:"ok",result_code:No?.result_code,request_id:No?.request_id})},[]);let i=o?.order_detail,n=o?.address_info,c=o?.technician_appointment,g=n?.site?.building?.floor?`Piso ${n?.site.building.floor},`:"",A=n?.site?.building?.deparment?`Departamento ${n?.site.building.deparment},`:"",L=n?.site?.building?.section?`${n?.site.building.section},`:"",$=n?.site?.building?.tower?`${n?.site.building.tower},`:"",K=n?.site?.building?.parcel?`Lote ${n?.site.building.parcel},`:"",Q=n?.site?.building?.block?`${n?.site.building.block},`:"",W=`${n?.street_name} ${n?.street_number}, ${g} ${A} ${L} ${$} ${Q} ${K} ${n?.postal_code}`,Z=`${n?.locality}, ${n?.state}`,Tt=mi(c?.valid_for?.start_date_time),It=di(c?.valid_for?.start_date_time),yt=pi(c?.valid_for?.start_date_time),Nt=`${It?.charAt(0).toUpperCase()+It?.slice(1)} ${Tt} de ${yt}`,Ct=`${Po(c?.valid_for?.start_date_time)} a ${Po(c?.valid_for?.end_date_time)} h`,Ht=`${P.THANK_YOU.SUBTITLE_INVOICE.description} ${o?.customer_email}.`,Qt=r?.paymentData,Ue=o?.payment_method,$e=Ue?`${Rc[Ue]}`:"",Ii=`${Qt?.payment_method?P.THANK_YOU.SUBTITLE_PAYMENT_METHOD.credit_card_description:P.THANK_YOU.SUBTITLE_PAYMENT_METHOD.cvu_description} ${o?.auto_debit_summary?.number_suffix} - ${P.THANK_YOU.SUBTITLE_PAYMENT_METHOD.description}`;return(0,e.jsxs)(bc,{children:[(0,e.jsx)(j,{}),(0,e.jsxs)(kc,{children:[(0,e.jsx)(_c,{text:P.THANK_YOU.SUCCESS_MESSAGE}),(0,e.jsx)(fi,{children:(0,e.jsx)(Si,{children:P.THANK_YOU.HEADER_TITLE})}),(0,e.jsx)(cc,{bundleItems:co(i?.products[0]?.bundleItems??[]),installationDay:Nt,installationTime:Ct}),(0,e.jsx)(fi,{children:(0,e.jsx)(Si,{children:P.THANK_YOU.HEADER_TITLE_SUMMARY})}),i?.products&&i?.products?.length>0&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(ht,{children:(0,e.jsx)(Ec,{products:{...i?.products[0],bundleItems:co(i?.products[0]?.bundleItems??[]),addOns:so(i?.products[0]?.addOns??[])}})}),i?.products[0]?.addOns?.length>0&&(0,e.jsx)(ht,{children:(0,e.jsx)(Ac,{addOns:so(i?.products[0]?.addOns??[])})})]}),(0,e.jsx)(ht,{children:(0,e.jsx)(xc,{totalMonth:i?.subtotalRecurring,totalOneTime:i?.subtotalOneTime,total:i?.totalAmount,totalExcludeTaxes:i?.dutyFreeTotalAmount})}),(0,e.jsx)(ht,{children:(0,e.jsx)(q,{})}),(0,e.jsxs)(ht,{children:[(0,e.jsx)(Me,{children:(0,e.jsx)(we,{children:P.THANK_YOU.SUBTITLE_INSTALATION.title})}),(0,e.jsxs)(d,{variant:"outlined",customStyle:`${gi.default}`,children:[(0,e.jsxs)(H,{variant:"none",customStyles:`${$t} ${Bt} ${ne} ${Ge}`,children:[(0,e.jsx)(zt,{children:(0,e.jsx)("i",{className:"fa-light fa-location-dot"})}),(0,e.jsxs)(_t,{children:[(0,e.jsx)(h,{variant:"heading",children:W}),(0,e.jsx)(h,{variant:"description",children:Z}),(0,e.jsx)(h,{variant:"caption",customColor:oe,children:n?.additional_info})]})]}),(0,e.jsx)(He,{children:(0,e.jsx)(q,{})}),(0,e.jsxs)(H,{variant:"none",customStyles:`${$t} ${Ve} ${ne} ${Ge}`,children:[(0,e.jsx)(zt,{children:(0,e.jsx)("i",{className:"fa-light fa-calendar-check"})}),(0,e.jsxs)(_t,{children:[(0,e.jsx)(h,{variant:"heading",children:Nt}),(0,e.jsx)(h,{variant:"description",children:Ct})]})]})]})]}),(0,e.jsxs)(ht,{children:[(0,e.jsx)(Me,{children:(0,e.jsx)(we,{children:P.THANK_YOU.SUBTITLE_DELIVERY.title})}),(0,e.jsx)(d,{variant:"outlined",customStyle:lt,children:(0,e.jsxs)(H,{variant:"medium",children:[(0,e.jsx)(zt,{children:(0,e.jsx)("i",{className:"fa-light fa-truck-fast"})}),(0,e.jsxs)(_t,{children:[(0,e.jsx)(h,{variant:"label",children:P.THANK_YOU.SUBTITLE_DELIVERY.subtitle}),(0,e.jsx)(h,{variant:"description",children:P.THANK_YOU.SUBTITLE_DELIVERY.description})]})]})})]}),(0,e.jsxs)(ht,{children:[(0,e.jsx)(Me,{children:(0,e.jsx)(we,{children:P.THANK_YOU.SUBTITLE_PAYMENT_METHOD.title})}),(0,e.jsx)(d,{variant:"outlined",customStyle:lt,children:(0,e.jsxs)(H,{variant:"medium",children:[(0,e.jsx)(zt,{children:(0,e.jsx)("i",{className:"fa-light fa-credit-card"})}),(0,e.jsxs)(_t,{children:[(0,e.jsx)(h,{variant:"label",children:$e}),(0,e.jsx)(h,{variant:"caption",children:Ii})]})]})})]}),(0,e.jsxs)(ht,{children:[(0,e.jsx)(Me,{children:(0,e.jsx)(we,{children:P.THANK_YOU.SUBTITLE_INVOICE.title})}),(0,e.jsx)(d,{variant:"outlined",customStyle:lt,children:(0,e.jsxs)(H,{variant:"medium",children:[(0,e.jsx)(zt,{children:(0,e.jsx)("i",{className:"fa-light fa-file-invoice-dollar"})}),(0,e.jsxs)(_t,{children:[(0,e.jsx)(h,{variant:"label",children:P.THANK_YOU.SUBTITLE_INVOICE.subtitle}),(0,e.jsx)(h,{variant:"description",children:Ht})]})]})})]})]})]})}var bc=t("div",mr),kc=t("div",l,p,Qe,xn,dr),fi=t("div",Ut,st),Si=t("p",Jt,cn,z,O,Rt),ht=t("div",et,l,p,Ut,st),Me=t("div",l,ot,J),we=t("p",U,le,Bo,O,I),H=t("div",D,l,Tn,et,({variant:o="default"})=>gi[o],({customStyles:o})=>o??""),Fc=t("ul",I),Yc=t("li",lr),_t=t("div",l,p,J),zt=t("div",U,mn,Yn,de),h=t("p",I,({variant:o})=>ic[o],({customColor:o})=>o??Y),He=t("div",yn,vn);var dt=C(f());function vo({title:o,textBeforeLink:r,linkText:i,textAfterLink:n,whatsappHref:c,onContactClick:g}){return(0,dt.jsx)(d,{variant:"outlined",customStyle:Ie,children:(0,dt.jsxs)(Mc,{children:[(0,dt.jsx)(wc,{children:o}),(0,dt.jsxs)(Hc,{children:[(0,dt.jsx)(Bc,{children:(0,dt.jsx)("i",{className:"fa-brands fa-whatsapp"})}),(0,dt.jsxs)(Uc,{children:[r,(0,dt.jsx)($c,{to:c,target:"_blank",rel:"noopener noreferrer",onClick:g,children:i}),n]})]})]})})}var Mc=t("div",p,D,ce),wc=t("div",ye,tn),Hc=t("div",l),Bc=t(Ae,un,F,Zo),Uc=t("div",ve),$c=t(Lo,zn);var a=C(f());function xo(){let{purchase:o,catalogProduct:r}=v(),{products:[i],portability:n,delivery_info:c,customer_email:g,discounts:A,operation:L,billing_account_line_masked:$,is_prospect:K}=o;G(()=>{y().visitThankYou(),y().purchasePortability(r,o)},[]);let{tax_included_amount:Q=0,tax_included_shipping_amount:W=0,tax_included_total_amount:Z,duty_free_charge_amount:Tt=0}=i.price??{},[It]=A??[],{value:yt=0,percentage:Nt=0,name:Ct=""}=It??{},Ht=yt>0,Qt=W==0,$e=Or(L)||(K??!1)?{customer_email:g,operation:"portability-first-subscription"}:{customer_line:$,operation:"portability"};return(0,a.jsxs)(Wc,{children:[(0,a.jsx)(j,{}),(0,a.jsxs)(Gc,{children:[(0,a.jsx)(mt,{text:_.THANK_YOU.SUCCESS_MESSAGE_2}),(0,a.jsxs)(qt,{children:[(0,a.jsx)(E,{title:_.THANK_YOU.SUMMARY_TITLE}),(0,a.jsxs)(d,{variant:"outlined",customStyle:Ee,children:[(0,a.jsx)(Kc,{children:(0,a.jsx)(Zc,{children:_.PURCHASE_DETAIL.DETAIL_1})}),(0,a.jsx)(jc,{}),(0,a.jsxs)(zc,{children:[(0,a.jsx)(Jc,{children:_.PURCHASE_DETAIL.SERVICES}),(0,a.jsx)(d,{variant:"outlined",customStyle:Qn,children:(0,a.jsx)(ts,{children:(0,a.jsxs)(es,{children:[(0,a.jsxs)(os,{children:[(0,a.jsx)(ns,{children:(0,a.jsx)("img",{src:De,height:36,width:36,alt:"SIM"})}),(0,a.jsx)(rs,{children:i.name})]}),(0,a.jsxs)(Eo,{children:[(0,a.jsx)(Ao,{children:(0,a.jsx)(Dt,{children:_.PURCHASE_DETAIL.PLAN_TITLE})}),(0,a.jsx)(is,{children:N(Q)})]}),Ht&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(Pi,{}),(0,a.jsxs)(Eo,{children:[(0,a.jsxs)(Ao,{children:[(0,a.jsx)(Dt,{children:Ct}),(0,a.jsx)(Kt,{label:`${Nt}${_.PURCHASE_DETAIL.DISCOUNT_TAG_SUFFIX}`,variant:"secondary",mode:"soft"})]}),(0,a.jsxs)(as,{children:["-",N(yt)]})]})]}),(0,a.jsx)(Pi,{}),(0,a.jsxs)(Eo,{children:[(0,a.jsxs)(Ao,{children:[(0,a.jsx)(Dt,{children:_.PURCHASE_DETAIL.SHIPPING}),Qt&&(0,a.jsx)(Kt,{label:_.PURCHASE_DETAIL.FREE_SHIPPING_TAG,variant:"secondary",mode:"soft"})]}),Qt&&(0,a.jsx)(cs,{children:"Gratis"})]})]})})})]})]}),(0,a.jsxs)(ss,{children:[(0,a.jsxs)(ls,{children:[(0,a.jsx)("span",{children:Zt.PURCHASE_DETAIL.TOTAL}),(0,a.jsx)(ms,{children:N(Z)})]}),(0,a.jsxs)(us,{children:[(0,a.jsx)("span",{children:rt.FLOW_PLUS.PURCHASE_DETAIL.PRICE_WITHOUT_TAXES}),(0,a.jsx)("span",{children:N(Tt)})]})]})]}),(0,a.jsxs)(qt,{children:[(0,a.jsx)(E,{title:_.LINE_TO_BE_PORTED_TITLE}),(0,a.jsx)(d,{variant:"outlined",customStyle:Ee,children:(0,a.jsx)(ro,{header:n?.MobileNumberToPort||"",description:(0,a.jsxs)(Xc,{children:[_.LINE_TO_BE_PORTED_TEXT," ",(0,a.jsx)(Vc,{children:n&&Rr(n.DonorName)})]}),icon:"fa-light fa-file-powerpoint"})})]}),(0,a.jsxs)(qt,{children:[(0,a.jsx)(E,{title:_.ACTIVATION_DATE}),(0,a.jsx)(d,{variant:"outlined",customStyle:Ee,children:(0,a.jsxs)(M,{className:`${et} ${Xe}`,children:[(0,a.jsx)(ro,{header:n?.PortinDate||"",icon:"fa-light fa-calendar-day"}),(0,a.jsx)(Lr,{description:_.ALERT_MESSAGE,type:"warning",marginBottom:"0px"})]})})]}),(0,a.jsxs)(qt,{className:`${et} ${Xe}`,children:[(0,a.jsx)(E,{title:x.DELIVERY_METHOD}),(0,a.jsx)(d,{variant:"outlined",customStyle:Xn,children:(0,a.jsxs)(qc,{children:[(0,a.jsx)(Pt,{deliveryData:c,customStyle:lt}),(0,a.jsx)(gt,{checkoutFlow:"portability-first-subscription",customStyle:Mn})]})})]}),(0,a.jsxs)(qt,{children:[(0,a.jsx)(E,{title:_.INVOICE_TITLE}),(0,a.jsx)(Qc,{children:(0,a.jsx)(St,{...$e})})]}),(0,a.jsx)(Ot,{title:_.THANK_YOU.NEXT_STEPS.TITLE,steps:[_.THANK_YOU.NEXT_STEPS.STEP_DESCRIPTION_1,_.THANK_YOU.NEXT_STEPS.STEP_DESCRIPTION_2,_.THANK_YOU.NEXT_STEPS.STEP_DESCRIPTION_3]}),(0,a.jsx)(vo,{title:_.THANK_YOU.NEED_HELP_TITLE,textBeforeLink:_.THANK_YOU.NEED_HELP_TEXT_1,linkText:_.THANK_YOU.NEED_HELP_TEXT_2,textAfterLink:_.THANK_YOU.NEED_HELP_TEXT_3,whatsappHref:`https://api.whatsapp.com/se
26nd/?phone=${_.THANK_YOU.NEED_HELP_PHONE}&text=%C2%A1Hola%21+Quiero+enviar+las+fotos+de+mi+DNI+para+continuar+mi+portabilidad.&type=phone_number&app_absent=0`,onContactClick:()=>y().contact(x.NEXT_STEPS.WHATSAPP_TEXT_2.toLowerCase())})]})]})}var Wc=t(M,it),Gc=t(M,ut),Vc=t("span",O),Oo=t("p",I,se),Dt=t(Oo,R),qt=t("div",l,p,D),Kc=t("div",qn),zc=t("div",l,p,"padding: 18px 0 0 0"),qc=t("div",l,p,Wt),Xc=t(Dt,B,vt),Qc=t("div",ie),Zc=t("h2",F,ct,ee,"margin: 0"),Jc=t("h3",Jt,O,ee,Vo,An,"margin-bottom: 12px"),jc=t("div",Fn),ts=t("div","padding: 20px"),es=t("div",p),os=t("div",l,ot,J),ns=t("div",Se),rs=t(Oo,U,O,R,Y),Eo=t("div",Pe),Ao=t("div",l,ot,J),is=t(Dt,te,ue),as=t(Dt,ee),cs=t(Oo,U,O,Te),Pi=t("div",Ce),ss=t("div",ge),ls=t(Yt,F,xt,At,Y),us=t(Yt,at,tt),ms=t(Dt,F,Et,jt);var Xt=C(f()),ds=({title:o,content:r,customStyle:i})=>(0,Xt.jsxs)(d,{variant:"outlined",customStyle:i,children:[(0,Xt.jsx)(ps,{children:o}),(0,Xt.jsx)(Ts,{children:r})]}),hi=ds,ps=t("div",ye),Ts=t("div",ve);var m=C(f());function Be(){let{purchase:o,detailedProducts:r,purchaseData:i}=v(),{products:[n],billing_account_line_masked:c,tax_included_total_amount:g,financial_promotions:A}=o,L=Tt=>Tt?.[0]?.currency,{protection:$}=n,K=!!$,Q=L(A),Z=o.payment_method==="mercado_pago_digital_wallet"&&(o.digital_wallet_summary?.paymentMethod==="credit_card"||o.digital_wallet_summary?.paymentMethod==="digital_wallet");return G(()=>{r&&i&&(y().purchase(r,o,i),Ar().sendSuccessEvent(g,Q,r)),y().visitThankYou(),Oe("cart")},[]),(0,m.jsxs)(Ps,{children:[(0,m.jsx)(j,{}),(0,m.jsxs)(hs,{children:[(0,m.jsx)(mt,{text:x.PURCHASE_SUCCESS}),(0,m.jsx)(be,{products:o.products}),(0,m.jsx)(fs,{deliveryData:i?.deliveryData}),(0,m.jsx)(Ss,{}),!!c&&(0,m.jsx)(gs,{billing_account_line_masked:c,protectionChecked:K}),(0,m.jsx)(Cs,{tax_included_total_amount:g,currency:Q,showDisclaimer:Z}),(0,m.jsx)(hi,{title:x.NEXT_STEPS.HEADER,content:(0,m.jsx)(Ds,{children:(0,m.jsxs)(Ns,{children:[x.NEXT_STEPS.PURCHASE_DETAIL_1,(0,m.jsx)("br",{}),x.NEXT_STEPS.PURCHASE_DETAIL_2]})}),customStyle:Ie})]})]})}var Cs=({tax_included_total_amount:o,currency:r,showDisclaimer:i=!1})=>{let n=o||0,c=r==="USD",g=i?x.MERCADO_PAGO.TOTAL_TITLE_WITH_DISCLAIMER:c?x.TOTAL_DOLLARS:x.TOTAL_TITLE;return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(ys,{children:[(0,m.jsx)(vs,{children:g}),(0,m.jsx)(Es,{children:N(n,r)})]}),i&&(0,m.jsxs)(As,{children:[(0,m.jsx)("strong",{children:x.MERCADO_PAGO.INTEREST_DISCLAIMER_1}),x.MERCADO_PAGO.INTEREST_DISCLAIMER_2]})]})},fs=({deliveryData:o})=>(0,m.jsxs)(Do,{children:[(0,m.jsx)(E,{title:x.DELIVERY_METHOD}),(0,m.jsxs)(d,{variant:"outlined",customStyle:fe,children:[(0,m.jsx)(Pt,{deliveryData:o,customStyle:_e}),(0,m.jsx)(gt,{checkoutFlow:"tangible",isHopPickup:o?.shipping_method==="pickup"})]})]}),Ss=()=>{let{purchase:o}=v(),{card_summaries:r,payment_summaries:i,digital_wallet_summary:n,payment_method:c,billing_account_line_masked:g,financial_promotions:A,tax_included_total_amount:L}=o,$=br(c)||kr(c);return(0,m.jsxs)(Do,{children:[(0,m.jsx)(E,{title:x.PAYMENT}),(0,m.jsx)(Qr,{payment_method:c,billing_account_line_masked:g,financial_promotions:A,paymentData:i||r||n,pageType:"thank_you",tax_included_total_amount:L}),$&&(0,m.jsx)(d,{customStyle:Go,variant:"outlined",children:(0,m.jsxs)(_s,{children:[(0,m.jsx)(Os,{children:(0,m.jsx)("i",{className:"fa-light fa-circle-info"})}),(0,m.jsxs)(xs,{children:[Lt.CONFIRMATION.INVOICE_WARNING_1," ",Lt.CONFIRMATION.INVOICE_WARNING_2,Lt.CONFIRMATION.INVOICE_WARNING_3]})]})})]})},gs=({billing_account_line_masked:o,protectionChecked:r})=>(0,m.jsxs)(Do,{children:[(0,m.jsx)(E,{title:x.INVOICE}),(0,m.jsx)(Is,{children:(0,m.jsx)(St,{customer_line:o||"********",operation:"tangible",withProtection:r})})]}),Do=t("div",l,p,D),Ps=t(M,it),hs=t(M,ut),_s=t(vr,et),Is=t("div",ie),ys=t("div",he),vs=t("p",I),Es=t("p",I,F),As=t("p",I,at,oe),xs=t("p",Wn),Os=t("div",Y,bt,de,F),Ds=t(M),Ns=t("p",I,R);var X=C(f());function _i(){let{purchase:{operation:o,is_prospect:r},isSalesforceC360BeaconActive:i,salesforceC360BeaconSource:n}=v();switch(o){case"portability":case"portability-first-subscription":return(0,X.jsx)(xo,{});case"tangible":return(0,X.jsx)(Be,{});case"flow-plus":case"flow-plus-first-subscription":case"flow-flex":case"flow-first-subscription":return(0,X.jsx)(go,{});case"form-sale":return(0,X.jsx)(mo,{});case"mobile-service":case"mobile-service-first-subscription":return(0,X.jsx)(po,{});case"internet":return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Yr,{isActive:i??!1,source:n}),(0,X.jsx)(yo,{})]});default:return(0,X.jsx)(Be,{})}}export{_i as default};
27//# sourceMappingURL=/tienda/client/routes/checkout/$slug.$purchaseId.thank-you-AZK3KTQN.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.