1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1261],{15283:(e,a,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/coupon_error",function(){return t(48900)}])},17266:(e,a,t)=>{"use strict";t.d(a,{A:()=>_});var n=t(59827);t(72223);var r=t(38269),i=t(70351),o=t(4452),s=t(74448),l=t(19671),c=t(50084),p=t.n(c);let d=r.default.div.withConfig({componentId:"sc-77598101-0"})(["display:flex;justify-content:center;align-items:center;flex-direction:column;width:100%;"]),m=r.default.a.withConfig({componentId:"sc-77598101-1"})(["min-width:150px;max-width:300px;width:100%;padding:0.6rem 1.2rem;background:",";color:#fff;border-radius:20px;cursor:pointer;:hover{background:",";}"],l.w4.color.brand.primary,l.w4.color.greenDarkPromotions),u=r.default.a.withConfig({componentId:"sc-77598101-2"})(["min-width:150px;max-width:300px;width:100%;padding:0.6rem 1.2rem;border-radius:20px;cursor:pointer;"]),f=({app:e})=>{let a=(0,o.useRouter)(),t=(0,i.w8)(e.app_info),r=(0,s.Xt)();return(0,n.Y)("div",{className:`flex flex-col ${r?"":"items-center mb-20"}`,children:r?(0,n.FD)(d,{children:[(0,n.Y)(m,{href:t,className:"flex justify-center items-center my-10 p-2 font-opensans text-white mb-3 error-button",children:"Descargar"}),(0,n.Y)(u,{onClick:()=>{a.back()},className:"flex justify-center items-center p-2 font-opensans error-button",children:"Elegir otra app"})]}):(0,n.Y)(n.FK,{children:(0,n.FD)("div",{className:"flex justify-center my-10",children:[(0,n.Y)("a",{href:(0,i.$W)(e.app_info),children:(0,n.Y)("img",{src:"./static/images/google-play-badge.png",className:"w-40"})}),(0,n.Y)("a",{href:(0,i.V0)(e.app_info),children:(0,n.Y)("img",{src:"./static/images/app-store-badge.png",className:"w-40"})})]})})})};f.propTypes={app:p().object};let g={app_info:{ios:{app_id:"1530606263",app_name:"MODO - Play Digital"},android:{package_name:"com.playdigital.modo"}}},h=r.default.div.withConfig({componentId:"sc-2a3a092b-0"})(["align-items:center;background:",";border-radius:0 0 20px 20px;display:flex;gap:5px;height:90px;justify-content:center;font-weight:500;"],l.w4.color.slimGray),_=function({app:e=g,isModo:a}){let t=!!(0,i.w8)(e.app_info);return(0,n.FD)(n.FK,{children:[(0,n.Y)(h,{children:"Descargate la app"}),(0,n.FD)("div",{className:"flex flex-col full-height-crossplatform",children:[!t&&!a&&(0,n.Y)("header",{className:"bg-dark-grey h-10 py-2 flex justify-center items-center",children:(0,n.Y)("img",{src:"/static/images/svg/nav/logoWeb.svg",alt:"logo modo",className:"h-6"})}),(0,n.FD)("div",{className:`flex flex-col flex-1 justify-${t?"between":"center"} p-4 md:p-10`,children:[(0,n.FD)("div",{className:"flex flex-col items-center",children:[(0,n.Y)("img",{src:a?"/static/images/svg/nav/logoWeb.svg":e.image_url,className:a?"my-12 w-3/5 md:my-10 md:w-1/5":"w-1/2 md:w-1/5"}),!a&&(0,n.Y)("h1",{className:"text-center font-semibold font-poppins text-title text-dark-grey",children:e.name}),(0,n.FD)("span",{className:"text-center font-opensans mt-3 text-normal text-dark-grey",children:["Empez\xe1 a gestionar todas tus cuentas y tarjetas desde",a?" un s\xf3lo lugar":" la app bancaria","."]})]}),(0,n.Y)(f,{app:e})]})]})]})}},29081:(e,a,t)=>{"use strict";t.d(a,{T:()=>n});let n={PTM:"ptm",PTP:"ptp"}},48900:(e,a,t)=>{"use strict";t.r(a),t.d(a,{__N_SSP:()=>p,default:()=>d});var n=t(59827),r=t(72223),i=t(4452),o=t(95506),s=t(17266),l=t(85651),c=t(52898),p=!0;function d({baseUrl:e}){let a=(0,i.useRouter)(),{id:t,bank:p}=a.query;(0,r.useEffect)(()=>{document.documentElement.className="not-home"},[]),(0,r.useEffect)(()=>{a.isReady&&(0,c.C)(`download_app_${"modo"===p?"modo":"bank"}`,{bank:p,couponid:t})},[a.isReady]);let{data:m}=(0,o.kO)({baseUrl:e,couponId:t});if(!m)return null;let u=m.find(e=>e[l.f.COUPON]?.includes(a.asPath.split("?")[0]));return u?(0,n.Y)(s.A,{app:u,isModo:"modo"===p&&p}):null}},52898:(e,a,t)=>{"use strict";t.d(a,{C:()=>r});var n=t(49203);let r=async({eventName:e="",properties:a={}}={})=>{try{await (0,n.AJ)();let[{getApps:r},{getAnalytics:i,logEvent:o}]=await Promise.all([Promise.all([t.e(3545),t.e(3034)]).then(t.bind(t,79789)),Promise.all([t.e(3545),t.e(699)]).then(t.bind(t,10240))]),s=r();s.length&&o(i(s[0]),e,a)}catch(e){console.error(e)}}},70351:(e,a,t)=>{"use strict";t.d(a,{$W:()=>r,V0:()=>i,w8:()=>o});var n=t(74448);let r=e=>`https://play.google.com/store/apps/details?id=${e.android.package_name}`,i=e=>`https://apps.apple.com/ar/app/${e.ios.app_name}/id${e.ios.app_id}`,o=e=>(0,n.Cu)()?i(e):r(e)},85651:(e,a,t)=>{"use strict";t.d(a,{f:()=>n});let n={COUPON:"coupon_link_url",PAYMENT_ECOMMERCE:"payment_ecommerce_url",SIGN_UP:"signup_url",LINK_ACCOUNTS:"link_accounts_url",PE
1RSONAL_QR:"personal_qr_url",MODO_CONEXIONES:"modo_conexiones_url"}},95506:(e,a,t)=>{"use strict";t.d(a,{F8:()=>p,Ir:()=>m,jW:()=>c,kO:()=>l,m_:()=>d});var n=t(47095),r=t(27804),i=t(29081);let o=new Set(["MODO","Banco Naci\xf3n","Santander","Galicia","Macro","YOY","BANCOR","Supervielle","HSBC","Banco Santa Fe","Billetera Ciudad","Ciudad","ICBC","Hipotecario","Banco Entre Rios","Banco Piano","Banco Corrientes","Banco San Juan","BPN","Banco Municipal","Banco Santa Cruz","Banco Dino","Mariva","Credicoop","BSE","Buepp"]),s=new Set(["Macro BMA"]),l=({baseUrl:e,couponId:a})=>(0,n.Ay)(e?["/banks/deep_links",a]:null,async(a,t)=>await r.A.get(`${e}${a}`,{timeout:15e3,params:{coupon_id:t}}).then(e=>e.data)),c=({enabled:e=!0}={})=>(0,n.Ay)(e?"/api/deeplinks":null,async e=>await r.A.get(e,{timeout:15e3}).then(e=>e.data)),p=e=>e.map(e=>{if(!e.image_url)return{...e};let a=e.image_url;return a.includes("apps_logos")||(a=e.image_url.replace("/images/banks/","/images/banks/apps_logos/")),o.has(e.name)&&(a=a.replace(".png",".svg")),{...e,image_url:a}}),d=(e,a)=>{let t=[],n=[];return e.forEach(e=>{(a!==i.T.PTM||e.payment_ecommerce_url)&&(a!==i.T.PTP||e.coupon_link_url)?n.push(e):t.push(e)}),{enabledApps:n,disabledApps:t}},m=e=>e.filter(e=>!s.has(e.name))}},e=>{e.O(0,[7095,636,6593,8792],()=>e(e.s=15283)),_N_E=e.O()}]);
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.