PageSourceSearch

https://openpayargentina.com.ar/_nuxt/BEHPE3xX.js

js openpayargentina.com.ar collected 2026-10-02 07:07:56 UTC 4,821 bytes, 1 lines download raw bytes

1import{j as U,e as A,ap as F,g as M,an as I,f as R,o as n,c as d,l as u,w as T,b as j,b1 as q,h as a,Z as w,i as l,a as W,q as v,F as K,p as Y,b2 as Z,r as g,k as m,a6 as D}from"./TiM0NWf-.js";import{_ as G}from"./ym-nElK6.js";import _ from"./4xbsS4Tb.js";import"./COqzjxWM.js";import"./Cl0eeXcr.js";const H={key:4,class:"separador"},J={key:6,class:"separador"},Q=10,ie={__name:"Nav",setup(X){const e=U(),h=A("countryCode").value,c=g(!1);function B(){c.value=!c.value,c.value}const L=g("1"),V=(o,t)=>{const{public:{domains:i}}=D(),f=new URL(window.location.href).pathname,r="";for(const p in i)if(o.toLowerCase().includes(p)){const P=`${i[p]}${f}${r}`;window.location.href=P;break}console.log(window.innerWidth),window.innerWidth<=650&&(c.value=!1)},b=g(0);F(()=>e.path,()=>{b.value++});const k=g(!1);function C(){k.value=window.scrollY>Q}M(()=>{window.addEventListener("scroll",C)}),I(()=>{window.removeEventListener("scroll",C)});const z={mx:{typeMenu:"flag",id:"mexico",text:"México",img:"mexico.svg",alt:"mexico logo"},co:{typeMenu:"flag",id:"colombia",text:"Colombia",img:"colombia.svg",alt:"colombia logo"},pe:{typeMenu:"flag",id:"peru",text:"Perú",img:"peru.svg",alt:"peru logo"},ar:{typeMenu:"flag",id:"argentina",text:"Argentina",img:"argentina.svg",alt:"argentina logo"}},N={...z[h],subMenu:Object.entries(z).filter(([o])=>o!==h).reduce((o,[t,i])=>(o[t]=i,o),{})},y=g({}),{$getSectionConfig:O,$isLoading:ae}=R();M(async()=>{y.value=await O("header.menu")});const S=m(()=>!e.path.includes("openpaypagos")&&!e.path.includes("gracias")&&!e.path.includes("solicitar-pasarela-pago")),s=m(()=>!e.path.includes("zona-de-cobro")&&!e.path.includes("zona-cobro")&&!e.path.includes("canal-bbva")&&!e.path.includes("calculadora-bei")&&!e.path.includes("/victoria147")&&!e.path.includes("preaprobados-smart")&&!e.path.includes("form-alta")&&!e.path.includes("talento")&&!e.path.includes("solicitar-smart-pos")&&!e.path.includes("solicitar-link-pago")&&!e.path.includes("solicitar-openpay-mini")),x=m(()=>e.path.includes("/zona-de-cobro")||e.path.includes("zona-cobro")),E=m(()=>e.path.includes("vacantes"));return(o,t)=>{const i=G,$=q,f=Z;return S.value?(n(),d("header",{key:0,class:v(["header",[{scrolled:k.value},a(e).path.includes("vende-y-gana-sept-lp")?"vende-gana":""]])},[(n(),u(f,{key:b.value,"default-active":L.value,class:v(["el-menu-demo",[a(h)=="co"?"menucol":"",E.value?"logoCenter":""]]),mode:"horizontal",ellipsis:!1,collapse:!0,"unique-opened":!0,"close-on-click-outside":!0,onSelect:V},{default:T(()=>[j($,{index:"0",class:"logo"},{default:T(()=>[s.value?(n(),u(i,{key:0,loading:"lazy",style:{width:"145px",height:"auto"},src:"/img/header/openpay-color.svg",alt:"Openpay logo",onClick:t[0]||(t[0]=r=>("navigateTo"in o?o.navigateTo:a(w))("/"))})):l("",!0),!s.value&&x.value&&!a(e).path.includes("vende-y-gana-sept-lp")?(n(),u(i,{key:1,loading:"lazy",style:{width:"145px",height:"auto"},src:"/img/header/openpay-color.svg",alt:"Openpay logo",onClick:t[1]||(t[1]=r=>("navigateTo"in o?o.navigateTo:a(w))("/zona-de-cobro"))})):l("",!0),!s.value&&!x.value&&!a(e).path.includes("vende-y-gana-sept-lp")?(n(),u(i,{key:2,loading:"lazy",style:{width:"145px",height:"auto"},src:"/img/header/openpay-color.svg",alt:"Openpay logo",onClick:t[2]||(t[2]=r=>o.$navigateTo("/"))})):l("",!0),!s.value&&a(e).path.includes("vende-y-gana-sept-lp")?(n(),u(i,{key:3,loading:"lazy",style:{width:"145px",height:"auto"},src:"/img/header/logo-op-bv.svg",alt:"Openpay logo",onClick:t[3]||(t[3]=r=>o.$navigateTo("/"))})):l("",!0),!s.value&&a(e).path.includes("/victoria147")?(n(),d("span",H)):l("",!0),!s.value&&a(e).path.includes("/victoria147")?(n(),u(i,{key:5,loading:"lazy",class:"logo-vic",style:{width:"145px",height:"auto"},src:"/img/header/logo_Victoria.webp",alt:"Victoria logo",onClick:t[4]||(t[4]=r=>("navigateTo"in o?o.navigateTo:a(w))("/victoria147"))})):l("",!0),!s.value&&a(e).path.includes("/zona-de-cobro")&&!a(e).path.includes("vende-y-gana-sept-lp")?(n(),d("span",J)):l("",!0),!s.value&&a(e).path.includes("/zona-de-cobro")&&!a(e).path.includes("vende-y-gana-sept-lp")?(n(),u(i,{key:7,loading:"lazy",class:"logo-vic",style:{width:"auto",height:"35px"},src:"/img/header/BBVA.webp",alt:"BBVA logo"})):l("",!0)]),_:1}),s.value?(n(),u(a(_),{key:0,link:N,id:"menu"})):l("",!0),t[5]||(t[5]=W("div",{class:"flex-grow"},null,-1)),s.value?(n(),d("img",{key:1,onClick:B,class:v(["bars",c.value?"opened":""]),width:"25",height:"25",
1src:"/img/header/hamburger-color.webp",alt:"menu hamburguesa"},null,2)):l("",!0),y.value&&s.value?(n(),d("div",{key:2,class:v(["navigation",c.value?"opened":""])},[(n(!0),d(K,null,Y(y.value.menuLinks,(r,p)=>(n(),u(a(_),{key:p,link:r,id:r.id?r.id:p,target:r.target},null,8,["link","id","target"]))),128))],2)):l("",!0)]),_:1},8,["default-active","class"]))],2)):l("",!0)}}};export{ie 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.