Untitled
unknown
plain_text
2 years ago
69 kB
10
Indexable
package com.insuit.project.AR_BANCOICBC.models.www;
import com.insuit.core.service.AbstractModel;
import com.insuit.core.service.model.Model;
public class NotHome extends AbstractModel {
// https://www.icbc.com.ar/institucional
// https://www.icbc.com.ar/web/hacete-cliente?cm_mmc=icbcGr-_-SitioWeb-_-Micrositios-_-HaceteCliente
static final private String NOT_HOME = ModelGral.ALL + "\\/(personas|institucional|empresas|web)\\/.+";
static final private String EMPRESAS = ModelGral.ALL + "\\/empresas\\/.+";
static final private String WEB = ModelGral.ALL + "\\/web\\/.+";
// https://www.icbc.com.ar/personas/como-ayudarte/lifestyle/ropa-de-mujer-temporada-oto%C3%B1o-invierno-2021
static final private String COMO_AYUDARTE = ModelGral.ALL + "\\/personas\\/como\\-ayudarte\\/.+";
// https://www.icbc.com.ar/personas/como-ayudarte
static final private String AYUDARTE = ModelGral.ALL + "\\/personas\\/como\\-ayudarte$";
public static final String JS = "i4t.AR_BANCOICBC.";
public static final String HIDE = ".po-sea-res__paginator > a.selected:not([aria-hidden]),"
+ "div[id*=\"captcha-placeholder\"]:not([aria-hidden]),"
+ ".po_hea__breadcrum:not([aria-hidden]),"
+ ".i4t-desktop .caption-mobile:not([aria-hidden]),"
+ "div[data-id=\"mapSucursalesCajeros\"] .gm-style > div:not([aria-roledescription]):not([aria-hidden]),"
+ "div[data-id=\"listadoSucursalesCajeros\"]:not([aria-hidden]),"
+ "button.WACLauncherComplex__ContentButton:not([aria-hidden]),"
+ "button#tag-1:not([aria-hidden]),"
+ "div.WAC__hidden:not([aria-hidden]),"
+ "div.WAC__SentMessageProgress:not([aria-hidden]),"
+ "div#beforeInputElement:not([aria-hidden]),"
+ ".WACVisuallyHidden:not([aria-hidden]),"
+ "button.WACAlternateSuggestionsButton__button:not([aria-hidden]),"
+ "#g-recaptcha-response:not([aria-hidden]),"
+ ".content-error__box--text:not([aria-hidden]),"
+ ".content-loader:has(.loader):not([aria-hidden]),"
+ ".po-plazo-fijo div[style*=\"none\"]:not([aria-hidden]),"
+ "h1.po-nec-hea__data-title > a.po-nec-hea__data-back:has(i.icon-back):not([aria-hidden]),"
//+ ".po-ter-and-con div.dijitTitlePaneTitle:has(.i4t-empty-accordion):not([aria-hidden]),"
+ "table.dijitSlider:not([aria-hidden]),"
+ "#contenedorTarjetas table > thead > tr > th:not(:has(div)):not([aria-hidden]),"
+ "#todas-contenido span.content-filter__text:not([aria-hidden]),"
+ ".id-Z7_9216HH42MGM500ANJHS8JGHA54:not([aria-hidden]),"
+ ".id-Z7_9216HH42M0MU90A7G13DQD0QQ4 h2.po-tit-wit-lis__title:not([aria-hidden]),"
+ ".id-Z7_NG1E1I42MGF01068H4PMJ827Q5 .po-tit-wit-lis > div > p:last-child:not([aria-hidden]),"
+ ".id-Z7_9216HH42MOHU60QINCRVFJII94 p[dir]:not([aria-hidden]),"
+ ".po-video-module__group--item-title:not([aria-hidden])";
public NotHome() {
super(new Model[] {
//HIDDEN
new Model(NOT_HOME, HIDE, new String[] {"aria-hidden=true"}),
new Model(NOT_HOME,".po-plazo-fijo .filters__select", new String[] { "aria-hidden=false" }),
// Visibilidad.
new Model(NOT_HOME , ".modal-body.po-text-center,"
+ ".po-container:not(:has(.po-hea__submenu-list.clearlist.clearfix)):not(:has(.po-hea__support-list.clearfix.clearlist)),"
+ "li.po-com-faq-des__data-item,"
+ "div[data-id=\"filtrosContenedor\"][style*=\"none\"],"
+ "div[id^=\"template\"][style],"
+ "div.page--close,"
+ ".hidden:has(label + select[id*=\"segmento-value\"]),"
+ ".filters__select.hidden", JS + "utils.esVisible"), // .form-modal
// Clase NOTHOME
new Model(NOT_HOME, "body", JS + "utils.anyadirClase.bind(this, 'i4t-nothome')"),
/*
* MAIN.
*/
new Model(NOT_HOME, ".wpthemeMainContent", new String[] {
"role=main",
"aria-label=AR_BANCOICBC_TITLE_MAIN_ROLE"}),
// Institucional: https://www.icbc.com.ar/institucional
// Cuadro rojo.
new Model(NOT_HOME, "body:not(:has(.po-sli-hea-home)) .po-sec-hea__caption:has(h1)"
, new String[] {"role=region"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h1')"),
// Cuadro rojo MOBILE.
new Model(NOT_HOME, ".po-sec-hea__caption.caption-mobile:has(.po-sec-hea__caption--title)"
, new String[] {"role=region"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'.po-sec-hea__caption--title')"),
// Historia.
new Model(NOT_HOME, ".po-req:has(h2)"
, new String[] {"role=region"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h1')"),
new Model(NOT_HOME, "body:not(:has(.id-Z7_9216HH42M0SF00Q9KJFK3A3JV4))"
+ ":not(:has(.id-Z7_9216HH42M0FF20AB631KGUVAF4))"
+ ":not(:has(.id-Z7_9216HH42MGSG40ARDKAGGO2DH0))"
+ ":not(:has(.id-Z7_9216HH42MGSG40ARDKAGGO23C4))"
+ ":not(:has(.id-Z7_9216HH42M83L80Q7S0BJM02GM1))"
+ ":not(:has(.id-Z7_9216HH42MGREF0QUVDAS552FU1))"
+ ":not(:has(.id-Z7_9216HH42M00GD0AR551GHD22G4)) .po-tit-wit-lis:not(:has(img[src*=\"/notas_cuerpo\"])):not(:has(img[src*=\"/Apple+Pay.jpg\"])):has(h2:not(.i4t-empty-header)):has(div > * + *)" // :not(:has(span[style=\"color:#B22222;\"]))
, new String[] {"role=region"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2:not(.i4t-empty-header)')"), // img[src*="/Apple+Pay.jpg"]
// Articles.
new Model(NOT_HOME, ".po-row > .po-col-12:has(h3)"
, new String[] {"role=article"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h3')"),
new Model(NOT_HOME, ".po-col-8:has(h3)"
, new String[] {"role=article"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h3')"),
/********************************************
* PERSONAS *
********************************************/
/*
* Licitaciones: https://www.icbc.com.ar/personas/licitaciones
*/
new Model(NOT_HOME, ".po-licitaciones__table", new String[] {
"role=grid", "aria-live=assertive"}
, JS +"utils.setAriaLabelledbyDirOutThis.bind(this,'h1')"),
// Paginación.
new Model(NOT_HOME, ".po-sea-res__paginator:has(*)", new String[] {
"role=navigation",
"aria-live=polite",
"aria-label=AR_BANCOICBC_TITLE_PAGINATION"}),
new Model(NOT_HOME, ".po-sea-res__paginator > a", new String[] {
"role=link"}),
/*
* Inscripción de proveedores modal.
*/
new Model(NOT_HOME, "button[onclick=\"showModal('inscripcionProveedores')\"]", new String[] {
"role=button",
"aria-controls=inscripcionProveedores",
"aria-busy=true"}),
new Model(NOT_HOME, "div#inscripcionProveedores", new String[] {
"role=dialog",
"aria-live=polite",
"aria-owns=i4t-close-modal-btn",
"data-insuit-in=i4t.AR_BANCOICBC.utils.forceUpdateElementDelayed.call(this, 'div#inscripcionProveedores', 1200);",
"data-insuit-back=i4t(this).parent().parent().find('span.dijitDialogCloseIcon').dispatchEvent('click');",
"data-insuit-top=i4t(this).parent().parent().find('span.dijitDialogCloseIcon').dispatchEvent('click');",
"data-insuit-main=i4t(this).parent().parent().find('span.dijitDialogCloseIcon').dispatchEvent('click');",
"data-insuit-tab=i4t(this).parent().parent().find('span.dijitDialogCloseIcon').dispatchEvent('click');",
"data-insuit-shifttab=i4t(this).parent().parent().find('span.dijitDialogCloseIcon').dispatchEvent('click');"}),
new Model(NOT_HOME, "span.dijitDialogCloseIcon", new String[] {
"aria-label=AR_BANCOICBC_TITLE_CLOSE_BTN",
"role=button",
"id=i4t-close-modal-btn",
"data-insuit-visibility=true"}),
// El modal trae role por defecto.
new Model(NOT_HOME, ".dijitDialog[role]", new String[] {
"role=",
"aria-labelledby="}),
/*
* Compras responde modal.
*/
new Model(NOT_HOME, "button[onclick*=\"showModal('comprasResponde')\"]", new String[] {
"role=button",
"aria-controls=comprasResponde",
"aria-busy=true"}),
new Model(NOT_HOME, "div#comprasResponde", new String[] {
"role=dialog",
"aria-live=polite",
"aria-owns=i4t-close-modal-btn",
"data-insuit-in=i4t.AR_BANCOICBC.utils.forceUpdateElementDelayed.call(this, 'div#comprasResponde', 1200);",
"data-insuit-back=i4t(this).parent().parent().find('span.dijitDialogCloseIcon').dispatchEvent('click');",
"data-insuit-top=i4t(this).parent().parent().find('span.dijitDialogCloseIcon').dispatchEvent('click');",
"data-insuit-main=i4t(this).parent().parent().find('span.dijitDialogCloseIcon').dispatchEvent('click');",
"data-insuit-tab=i4t(this).parent().parent().find('span.dijitDialogCloseIcon').dispatchEvent('click');",
"data-insuit-shifttab=i4t(this).parent().parent().find('span.dijitDialogCloseIcon').dispatchEvent('click');"}),
// Mapa: https://www.icbc.com.ar/personas/sucursales-cajeros
new Model(NOT_HOME, ".pac-container.pac-logo", new String[] {
"role=region",
"aria-live=polite",
"aria-relevant=all",
"data-insuit-in=i4t(this).style('display', 'block');"}),
// Región resultados.
new Model(NOT_HOME, "div[data-id=\"listadoSucursalesCajeros\"]", new String[] {
"role=region",
"aria-live=assertive",
"aria-label=AR_BANCOICBC_TITLE_SEARCH_RESULTS"}),
// Role group por defecto.
new Model(NOT_HOME, ".c-sucursal__filters > div.po-btn-group.group-2.js-btn-q1", new String[] {
"role="}),
// Canales servicio: https://www.icbc.com.ar/personas/productos-servicios/canales-servicio
new Model(NOT_HOME, ".po-col-6:has(h3.title):not(:has(.truncate--text-xl))"
, new String[] {"role=article"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h3.title')"),
// Regions col24.
new Model(NOT_HOME, ".po-row > .po-col-24 > .clearfix.po-windows__content-100:not(:has(div[style*=\"icbc-private-banking-business-centers\"])):has(h3.title):has(.po-btn):not(:has(p[dir=\"ltr\"] > a[href*=\"facebook\"]))"
, new String[] {"role=region"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h3.title')"),
// Canales disponibles.
new Model(NOT_HOME, ".id-Z7_9216HH42M80520QCOEKQQNI2O4 > section:has(.wpthemeControlBody h2.po-tit-wit-lis__title)"
, new String[] {"role=region", "aria-owns=i4t-channels-btn", "data-insuit-height=+80px;"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2.po-tit-wit-lis__title')"),
new Model(NOT_HOME, ".id-Z7_9216HH42M80520QCOEKQQNI2O4 + div a.po-btn", new String[] {
"role=link",
"id=i4t-channels-btn"}),
// Lista de pestañas TABLIST.
new Model(NOT_HOME, "ul.po-tabs__nav", new String[] {
"role=tablist",
"aria-live=polite",
"data-insuit-enter=i4t.AR_BANCOICBC.utils.forceUpdateElementDelayed.call(this, 'ul.po-tabs__nav', 800);",
"data-insuit-in=i4t.AR_BANCOICBC.utils.forceUpdateElementDelayed.call(this, 'ul.po-tabs__nav', 800);"}
, JS +"utils.setAriaLabelledbyDirOutThis.bind(this,'.po_hea__breadcrum > div > span.po_hea__breadcrum-link--last')"),
// Tabs.
new Model(NOT_HOME, "ul.po-tabs__nav"
, JS +"www.setRandomTabs.bind(this,' > li > h4', '+ section')"),
// Tabla que se comporta como un NAV en el interior de un tabpanel.
new Model(NOT_HOME, ".po-tabs p[dir=\"ltr\"] + table", new String[] {
"data-insuit-height=+50px;",
"data-insuit-top=-50px;"}
, JS +"utils.setRegionTitPrev.bind(this,'navigation')"),
// FAQS: https://www.icbc.com.ar/personas/preguntas-frecuentes
// Categorías.
new Model(NOT_HOME, ".po-com-faq-des__map:has(h2.po-com-faq-des__map-title)"
, new String[] {"role=navigation"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2.po-com-faq-des__map-title')"),
// Destacadas.
new Model(NOT_HOME, ".po-com-faq-des__data:has(h2.po-com-faq-des__data-title)"
, new String[] {"role=region", "aria-live=assertive"} // Las categorías filtran los acordeones que se van a mostrar y los que no.
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2.po-com-faq-des__data-title')"),
// Acordeones.
new Model(NOT_HOME, "ul.po-com-faq-des__data-list"
, JS +"www.setRandomAccordions.bind(this,'> li > button.po-com-faq-des__data-item-header', ' + div.po-com-faq-des__data-item-content')"),
// Contacto: https://www.icbc.com.ar/personas/contactanos
// Englobar interior de los acordeones.
new Model(NOT_HOME, "body:not(:has(.id-Z7_9216HH42MOGS90QMQJVNII2UQ5)) h4 + section div.po-ric-tex-con__text:has( > ul)",
"function() { i4t.AR_BANCOICBC.utils.childrenWrapper.call(this,' > ul:not(:has(+ table))', 'ul', 'class-ul-insideaccordion', 'region', 'null'); }"),
// Otros teléfonos útiles, lateral de dentro del primer tabpanel.
new Model(NOT_HOME, "h4 + section .po-col-8 div.po-ric-tex-con__text:has(h5)"
, new String[] {"role=region"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h5')"),
new Model(NOT_HOME, "h4 + section .po-col-8 div.po-ric-tex-con__text:has(h5):has(> p:has(strong))",
"function() { i4t.AR_BANCOICBC.utils.childrenWrapper.call(this,' > p:has(strong)', 'strong', 'class-strong-lateral', 'article', 'null'); }"),
// Seguros tab.
new Model(NOT_HOME, "h4 + section#a53036f6-dfb9-4176-a717-d4455c352cd7-139cb504-2ba3-4089-a12b-b0d83e28042d .po-ric-tex-con__text > ul > li:not(:last-child):has(strong)"
, new String[] {"role=article"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'strong')"),
// Querés conocer.
new Model(NOT_HOME, ".id-Z7_9216HH42M00GD0AR551GHD26C1:has(h2.po-tit-wit-lis__title)"
, new String[] {"role=region"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2.po-tit-wit-lis__title')"),
// Tabla.
new Model(NOT_HOME, "h4 + section#a53036f6-dfb9-4176-a717-d4455c352cd7-139cb504-2ba3-4089-a12b-b0d83e28042d .po-ric-tex-con__text > table", new String[] {
"role=table"}
, JS +"utils.setAriaLabelledbyDirOutThis.bind(this,'h4 + section#a53036f6-dfb9-4176-a717-d4455c352cd7-139cb504-2ba3-4089-a12b-b0d83e28042d .po-ric-tex-con__text > ul > li:last-child strong')"),
// Regiones inferiores.
new Model(NOT_HOME, "body:not(:has(.id-Z7_9216HH42M00GD0AR551GHD22F0)):not(:has(.id-Z7_9216HH42M0FF20AB631KGUVAF4)):not(:has(.id-Z7_NG1E1I42MGF01068H4PMJ825R5)):not(:has(.id-Z7_NG1E1I42MGF01068H4PMJ8I0K7)) div:not(.id-Z7_9216HH42MGSG40ARDKAGGOASR6) > section .po-container:not(:has(li.li--nc5-nlc1)):has(h2:not(.title-category):not(.po-card__caption--title)):not(:has(.po-tit-wit-lis)):not(:has(.po-tabs__nav)):not(:has(.po-tabs-category__nav))"
, new String[] {"role=region"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2')"),
// Acordeones.
new Model(NOT_HOME, "ul.po-faq__list"
, JS +"www.setRandomAccordions.bind(this,' > li > button.po-faq__item-header', ' + div.po-faq__item-content')"),
// Mapa del sitio: https://www.icbc.com.ar/personas/mapa-del-sitio
new Model(NOT_HOME, ".po-sitemap > ul > li > a + ul", new String[] {
"data-insuit-height=+50px;",
"data-insuit-top=-50px;"}
, JS +"utils.setRegionTitPrev.bind(this,'menu')"),
// Política de privacidad WRAP: https://www.icbc.com.ar/personas/politica-de-privacidad
new Model(NOT_HOME, ".id-Z7_9216HH42MGSG40ARDKAGGO23C4 .po-tit-wit-lis > .po-tit-wit-lis__text",
"function() { i4t.AR_BANCOICBC.utils.childrenWrapper.call(this,'p:has(strong)', 'strong', 'class-strong-privacity', 'region', 'null'); }"),
// Comisiones: https://www.icbc.com.ar/personas/comisiones
new Model(NOT_HOME, "h1 + p[dir=\"ltr\"] + table"
, JS +"utils.setRegionTitPrev.bind(this,'table')"),
// Código de prácticas bancarias: https://www.icbc.com.ar/personas/codigo-de-practicas-bancarias
new Model(NOT_HOME, "div.id-Z7_9216HH42M00GD0AR551GHD22G4 .po-tit-wit-lis__text.po-rich-text-container",
"function() { i4t.AR_BANCOICBC.utils.childrenWrapper.call(this,'p:has(strong)', 'strong', 'class-strong-codebanc', 'region', 'null'); }"),
// Seguridad canales: https://www.icbc.com.ar/personas/seguridad-canales
// Protege tus datos.
new Model(NOT_HOME, "div.po-video-module .po-col-24:has(span.content-video__title)"
, new String[] {"role=region", "aria-live=assertive"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'span.content-video__title')"),
// Video.
new Model(NOT_HOME, ".video-youtube-player", new String[] {
"aria-hidden=false"}),
// Cada botón cambia el video del reproductor.
new Model(NOT_HOME, "div.po-video-module .po-col-24:has(span.content-video__title) div.po-video-module__group--item-link:has(+ span.po-video-module__group--item-title)"
, new String[] {"role=button"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'+ span.po-video-module__group--item-title')"),
// Glosario.
new Model(NOT_HOME, ".wpthemeEqual.wpthemeFull .po-col-24 > div[name=\"secondary1\"]:not(:has(.po-accordion__content)):has(h2)"
, new String[] {"role=region"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2:not(:has(img))')"),
new Model(NOT_HOME, ".wpthemeEqual.wpthemeFull .po-col-24 > div[name=\"secondary1\"] + div[name=\"secondary2\"] ul.po-med-con__list > li:has(h4)"
, new String[] {"role=region"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h4')"),
// Acordeones del glosario.
new Model(NOT_HOME, ".po-aco-container ul.clearlist"
, JS +"www.setRandomAccordions.bind(this,' > li > button.po-aco__item-header', ' + div.po-accordion__content')"),
// Preguntas region.
new Model(NOT_HOME, ".id-Z7_9216HH42MOM5E0Q1NJRD3B3GF0 .po-tit-wit-lis > .po-tit-wit-lis__text",
"function() { i4t.AR_BANCOICBC.utils.childrenWrapper.call(this,'> *:has(span[style*=\"22222;\"])', 'span[style*=\"22222;\"]', 'red-span', 'article', 'null'); }"),
// Regiones sin label.
new Model(NOT_HOME, ".id-Z7_9216HH42MOM5E0Q1NJRD3B3GF0 .po-tit-wit-lis"
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'.i4t-include-red-span p span[style=\"color:#B22222;\"]')"),
new Model(NOT_HOME, ".id-Z7_9216HH42M0E620Q50ERQOO09R0 .po-tit-wit-lis"
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'div span[style=\"color: rgb(178, 34, 34);\"] + span[style=\"color: rgb(178, 34, 34);\"]')"),
new Model(NOT_HOME, ".id-Z7_9216HH42M0E620Q50ERQOO09N6 .po-tit-wit-lis"
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'p strong[style*=\"color: rgb(178, 34, 34);\"]')"),
// Agencias de cobranzas: https://www.icbc.com.ar/personas/agencias-de-cobranzas
new Model(NOT_HOME, ".id-Z7_9216HH42MGREF0QUVDAS552FU1 table", new String[] {
"role=table"}
, JS +"utils.setAriaLabelledbyDirOutThis.bind(this,'h2.po-tit-wit-lis__title')"),
// Libro de quejas Córdoba: https://www.icbc.com.ar/personas/Libro-de-quejas-Pcia-de-Cordoba
new Model(NOT_HOME, ".id-Z7_9216HH42M83L80Q7S0BJM02GM1 table", new String[] {
"role=table"}
, JS +"utils.setAriaLabelledbyDirOutThis.bind(this,'h2.po-tit-wit-lis__title')"),
// Como ayudarte: https://www.icbc.com.ar/personas/como-ayudarte
// Head list y buscador.
new Model(NOT_HOME, ".po-nec-hea ul.po-nec-hea__map-list,"
+ ".po-nec-hea ul.po-nec-hea__data-map-list", new String[] {
"role=navigation",
"aria-label=AR_BANCOICBC_TITLE_CATEGORIES_TAGS"}),
new Model(NOT_HOME, ".po-hea__search form[action=\"/personas/busqueda\"] .dijitComboBox.dijitValidationTextBox", new String[] {
"data-insuit-visibility=true"}),
// Productos acordeones.
new Model(NOT_HOME, "body:not(:has(.id-Z7_9216HH42M0FF20AB631KGUV3K5)) .po-aco-container:has(h2 + ul.clearlist)", new String[] {
"role=region"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2')"),
// asdasdasd
new Model(AYUDARTE, "button.po-hea__search-open", new String[] {
"aria-controls="}),
// Productos servicios paquetes: https://www.icbc.com.ar/personas/productos-servicios/paquetes
// Intro section.
new Model(NOT_HOME, ".po-tabs-category section.po-tabs-category__intro > .po-row:has(h2)", new String[] {
"role=region"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2')"),
// Lista de pestañas TABLIST.
new Model(NOT_HOME, "ul.po-tabs-category__nav", new String[] {
"role=tablist"}
, JS +"utils.setAriaLabelledbyDirOutThis.bind(this,'h1.po-sec-hea__caption--title')"),
// Tabs.
new Model(NOT_HOME, "ul.po-tabs-category__nav", new String[] {
"aria-live=polite",
"data-insuit-enter=i4t.AR_BANCOICBC.utils.forceUpdateElementDelayed.call(this, 'ul.po-tabs-category__nav', 800);",
"data-insuit-in=i4t.AR_BANCOICBC.utils.forceUpdateElementDelayed.call(this, 'ul.po-tabs-category__nav', 800);"}
, JS +"www.setRandomTabs.bind(this,' > li > a[class*=\"tabs\"]', '+ section')"),
new Model(NOT_HOME, "ul.po-tabs-category__nav > li > a", new String[] {
"data-insuit-visibility=true"}),
// Private banking articles: https://www.icbc.com.ar/personas/private-banking
new Model(NOT_HOME, "body:not(:has(.id-Z7_9216HH42MOHU60QINCRVFJII52)) .po-req ul.po-req__list > li:has(h3)", new String[] {
"role=article"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h3')"),
// Productos primer nivel.
new Model(NOT_HOME, ".id-Z7_9216HH42MGM500ANJHS8JGHA54 + div", new String[] {
"role=region",
"data-insuit-height=+130px;",
"data-insuit-top=-130px;",
"aria-label=AR_BANCOICBC_TITLE_PRIVATE_BANKING"}),
// Lateral.
new Model(NOT_HOME, "div[name*=\"tertiary1\"] + div[name*=\"tertiary2\"] ul.po-med-con__list > li:has(h4)", new String[] {
"role=article"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h4')"),
// Leyenda.
new Model(NOT_HOME, ".dijitPanelBody > p[dir]:has(a[href*=\"http://www.fondosalpha.icbc.com.ar\"]),"
+ ".dijitPanelBody > p[dir]:has(a[href*=\"/personas/tyc-icbc-club\"]),"
+ ".dijitPanelBody > p[dir]:has(a[href*=\"www.mall.icbc\"]),"
+ ".dijitPanelBody > p[dir]:has(a[href*=\"WWW.SUELDOS.ICBC.COM.AR\"]),"
+ ".dijitPanelBody > p[dir]:has(a[href=\"http://www.visa.com.ar\"]),"
+ ".dijitPanelBody:has(p[dir] > a[href*=\"/pay-with-visa\"]),"
+ ".dijitPanelBody:has(p[dir] > a[href*=\"/wcm/connect/\"]),"
+ ".dijitPanelBody > p[dir]:has(a[href*=\"ssn.gob\"]),"
+ ".dijitPanelBody > p[dir]:has(a[href*=\"FORD\"]),"
+ ".dijitPanelBody > p[dir]:has(a[href*=\"famly\"]),"
+ ".id-Z7_9216HH42MGLPA0QSG4VCM1G1O4 .dijitPanelBody > p[dir],"
+ ".dijitPanelBody:has(p[dir] a[href*=\"mastercard\"]),"
+ ".dijitPanelBody > p[dir]:has(a[href*=\"https://www.masterconsultas.com.ar/pdfs/MasterAssist.pdf\"]),"
+ ".id-Z7_9216HH42M0FF20AB631KGUB1S5 .dijitPanelBody > p[dir],"
+ ".id-Z7_9216HH42M0FF20AB631KGU3O55 .dijitPanelBody > p[dir],"
+ ".id-Z7_9216HH42M80D50A7NSG2PN34U3 .dijitPanelBody > p[dir]", new String[] {
"role=region",
"aria-label=AR_BANCOICBC_TITLE_LEGEND"}),
// Exclusive banking: https://www.icbc.com.ar/personas/exclusive-banking
// Article suelto.
new Model(NOT_HOME, "div#d7e6212d-0460-4753-b6c3-bf2091d0bfb2 > .po-row:has(h3.title)", new String[] {
"role=article"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h3.title')"),
// Black y platinum articles.
new Model(NOT_HOME, ".id-Z7_9216HH42M0FF20AB631KGUFCQ6 .po-col-12 > .po-card:has(h2.po-card__caption--title)", new String[] {
"role=article", "data-insuit-cancel-click=true"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2.po-card__caption--title')"),
// Al cancelar el click hay que asignar un role button.
new Model(NOT_HOME, ".id-Z7_9216HH42M0FF20AB631KGUFCQ6 .po-col-12 > .po-card h2.po-card__caption--title", new String[] {
"role=button",
"data-insuit-left=-20px;"}),
// Premium banking: https://www.icbc.com.ar/personas/premium-banking
new Model(NOT_HOME, "div.id-Z7_9216HH42MOHU60QINCRVFJIIK3:has(h2.po-tit-wit-lis__title)", new String[] {
"role=region"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2.po-tit-wit-lis__title')"),
// Gold y platinum articles.
new Model(NOT_HOME, ".id-Z7_9216HH42M0FF20AB631KGUF2U4 .po-col-12 > .po-card:has(h2.po-card__caption--title)", new String[] {
"role=article", "data-insuit-cancel-click=true"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2.po-card__caption--title')"),
// Al cancelar el click hay que asignar un role button.
new Model(NOT_HOME, ".id-Z7_9216HH42M0FF20AB631KGUF2U4 .po-col-12 > .po-card h2.po-card__caption--title", new String[] {
"role=button",
"data-insuit-left=-20px;"}),
// Imágenes alt de beneficios de bienvenida.
new Model(NOT_HOME, "img[src*=\"icbc-premium-banking-hooks+%287\"]", new String[] {
"alt=AR_BANCOICBC_TITLE_SEISMIL_PESOS"}),
new Model(NOT_HOME, "img[src*=\"icbc-premium-banking-hooks+%286\"]", new String[] {
"alt=AR_BANCOICBC_TITLE_MILQUINIENTOS_PUNTOS"}),
// Start: https://www.icbc.com.ar/personas/start
new Model(NOT_HOME, "div.id-Z7_9216HH42M0FF20AB631KGUF790:has(h2.po-tit-wit-lis__title)", new String[] {
"role=region"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2.po-tit-wit-lis__title')"),
// Solicitar button pasarla bien.
new Model(NOT_HOME, ".id-Z7_9216HH42M00GD0AR551GHD2C86 a[href=\"/personas/formpaquetes\"]", new String[] {
"role=link",
"id=i4t-link-start"}),
new Model(NOT_HOME, ".id-Z7_9216HH42M0FF20AB631KGUF790", new String[] {
"aria-owns=i4t-link-start"}),
// Elegir propuesta.
new Model(NOT_HOME, "div.id-Z7_9216HH42M0FF20AB631KGUF7P2", new String[] {
"role=region",
"aria-label=AR_BANCOICBC_TITLE_ACCOUNT_STEPS"}),
// Tabs con título out.
new Model(NOT_HOME, "ul#tabs_8d1eeeb9-ec25-45b2-9567-08bed38d8ed5", new String[] {
"role=tablist"}
, JS +"utils.setAriaLabelledbyDirOutThis.bind(this,'.id-Z7_9216HH42M0FF20AB631KGUVK46 h2.po-tit-wit-lis__title')"),
// Sueldos: https://www.icbc.com.ar/personas/sueldos/personas
new Model(NOT_HOME, ".id-Z7_9216HH42MG6C40A7CM1B6IJPK1:has(h2.po-tit-wit-lis__title)", new String[] {
"role=region", "aria-owns=i4t-sueldo-btn"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2.po-tit-wit-lis__title')"),
// Image.
new Model(NOT_HOME, "img[src*=\"icbc-sueldos-beneficios-bienvenida-hooks-grandes\"]", new String[] {
"alt=AR_BANCOICBC_TITLE_PREST_PERSONAL"}),
new Model(NOT_HOME, ".id-Z7_9216HH42M8UCA0A76U27KU3811 a[href*=\"sueldos\"]", new String[] {
"role=link",
"id=i4t-sueldo-btn"}),
// Tablist label.
new Model(NOT_HOME, "ul#tabs_2300433e-c65a-422c-8c57-9be6d7d8803b"
, JS +"utils.setAriaLabelledbyDirOutThis.bind(this,'.id-Z7_9216HH42M8HU50AR16BHFH1M03 h2.po-tit-wit-lis__title')"),
// Porque depositar mi sueldo articles.
new Model(NOT_HOME, ".id-Z7_9216HH42MGFU30ARS627782477 .po-card-windows:has(h3.po-card-windows__caption--title)", new String[] {
"role=article"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h3.po-card-windows__caption--title')"),
// Tarjetas: https://www.icbc.com.ar/personas/productos-servicios/tarjetas
// Tabs articles.
new Model(NOT_HOME, "ul#comparadorContenedorProductosDestacados > li:has(h5)", new String[] {
"role=article"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h5')"),
// Dudas.
new Model(NOT_HOME, ".id-Z7_9216HH42M05N00QH1PJ6331GG6:has(h3)", new String[] {
"role=region", "aria-owns=i4t-dudas-btn", "data-insuit-height=+70px;"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h3')"),
new Model(NOT_HOME, ".id-Z7_9216HH42M05N00QH1PJ6331GG6 + div a.po-btn", new String[] {
"role=link",
"id=i4t-dudas-btn"}),
// Región tabs.
new Model(NOT_HOME, "div.id-Z7_9216HH42MGSG40ARDKAGGOASR6:has(h2.po-pro-lis-car__main-title)", new String[] {
"role=region"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2.po-pro-lis-car__main-title')"),
// Tabs y tabpanels.
new Model(NOT_HOME, ".id-Z7_9216HH42MGSG40ARDKAGGOASR6 ul.po-nav-tabs", new String[] {
"role=tablist"}
, JS +"utils.setAriaLabelledbyDirOutThis.bind(this,'h2.po-pro-lis-car__main-title')"),
new Model(NOT_HOME, "div#destacadas-contenido, div#templateProductoDestacado, div#todas-contenido, div#comparar-contenido", new String[] {
"role=tabpanel", "aria-live=polite"}),
new Model(NOT_HOME, ".id-Z7_9216HH42MGSG40ARDKAGGOASR6 ul.po-nav-tabs > li:first-child > a", new String[] {
"role=tab",
"aria-controls=destacadas-contenido"}),
new Model(NOT_HOME, ".id-Z7_9216HH42MGSG40ARDKAGGOASR6 ul.po-nav-tabs > li:nth-child(2) > a", new String[] {
"role=tab",
"aria-controls=todas-contenido"}),
new Model(NOT_HOME, ".id-Z7_9216HH42MGSG40ARDKAGGOASR6 ul.po-nav-tabs > li:nth-child(3) > a", new String[] {
"role=tab",
"aria-controls=todas-contenido"}),
new Model(NOT_HOME, ".id-Z7_9216HH42MGSG40ARDKAGGOASR6 ul.po-nav-tabs > li:nth-child(4) > a", new String[] {
"role=tab",
"aria-controls=todas-contenido"}),
new Model(NOT_HOME, ".id-Z7_9216HH42MGSG40ARDKAGGOASR6 ul.po-nav-tabs > li:nth-child(5) > a", new String[] {
"role=tab",
"aria-controls=todas-contenido"}),
new Model(NOT_HOME, ".id-Z7_9216HH42MGSG40ARDKAGGOASR6 ul.po-nav-tabs > li:nth-child(6) > a", new String[] {
"role=tab",
"aria-controls=todas-contenido"}),
// Tarjetas dentro de los tabs.
new Model(NOT_HOME, "#contenedorTarjetas table", new String[] {
"role=table"}
, JS +"utils.setAriaLabelledbyDirOutThis.bind(this,'ul.po-nav-tabs > li.po-nav-tabs__item--active > a')"),
// Filtros.
new Model(NOT_HOME, ".content-filter:has(.dijitReset)", new String[] {
"role=form",
"aria-label=AR_BANCOICBC_TITLE_SPECIAL_FILTERS"}),
// Select ordenar.
new Model(NOT_HOME, "select#selectFiltrosOptions", new String[] {
"role=combobox",
"aria-label=AR_BANCOICBC_TITLE_ORDERBY"}),
// Resultados.
new Model(NOT_HOME, "div.po-pro-lis-car__compare-sticky", new String[] {
"role=region",
"aria-live=assertive",
"aria-label=AR_BANCOICBC_TITLE_COMPARE"}),
// Comparador de esos resultados.
new Model(NOT_HOME, "#comparar-contenido", new String[] {
"role=region",
"aria-live=polite",
"aria-label=AR_BANCOICBC_TITLE_COMPARE"}),
// El botón comparar lanza un refresco al comparador
new Model(NOT_HOME, "#comparar-contenido", new String[] {
"role=button",
"data-insuit-enter=i4t.AR_BANCOICBC.utils.forceUpdateElementDelayed.call(this, '#comparar-contenido', 800);"}),
// Cobranzas: https://www.icbc.com.ar/empresas/productos-y-servicios-empresas/servicios-cobranzas-icbc
new Model(NOT_HOME, ".id-Z7_5HH2HI42M8N8D0681DFV9KGSD1 + div", new String[] {
"data-insuit-height=+80px;", "data-insuit-top=-80px;"}
, JS +"utils.setRegionTitPrev.bind(this,'region')"),
// Tarjetas comerciales: https://www.icbc.com.ar/empresas/productos-y-servicios-empresas/tarjeta-visa-comercial
new Model(NOT_HOME, ".id-Z7_5HH2HI42M8N8D0681DFV9KGKT3 + div", new String[] {
"data-insuit-height=+80px;", "data-insuit-top=-80px;"}
, JS +"utils.setRegionTitPrev.bind(this,'region')"),
// Echeq: https://www.icbc.com.ar/empresas/productos-y-servicios-empresas/echeq-cheque-digital
new Model(NOT_HOME, ".id-Z7_5HH2HI42M8N8D0681DFV9KG152 .po-tit-wit-lis:has(h2)", new String[] {
"role=region"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2')"),
// Características.
new Model(NOT_HOME, ".id-Z7_NG1E1I42MGF01068H4PMJ8I0K5 .po-tit-wit-lis:has(h2)", new String[] {
"role=region"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2')"),
// Productos servicios: https://www.icbc.com.ar/personas/productos-servicios/canales-servicio/hola
// Articles línea directa y dpto de ventas.
new Model(NOT_HOME, ".po-col-6 > .po-windows__content-25--icon > .po-ric-tex-con__text.po-rich-text-container:has(span.icon--xl + h3.title + .truncate--text-xl)", new String[] {
"role=article"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h3.title')"),
// Productos arrepentimiento form: https://www.icbc.com.ar/personas/revocacion-de-productos-arrepentimiento
new Model(NOT_HOME, "div#form_datos_contacto_1:has(h3)", new String[] {
"role=form"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h3')"),
// Input ingresá el número.
new Model(NOT_HOME, "div#form_datos_contacto_1 input#nro_doc", new String[] {
"aria-label=AR_BANCOICBC_TITLE_NUMBER_DNI"}),
// Gold: https://www.icbc.com.ar/personas/premium-banking/gold
// Article.
new Model(NOT_HOME, ".po-windows__content-100:not(:has(div[style*=\"icbc-private-banking-business-centers\"])):has(div[style*=\"premium-banking-gold-icbc-viajes-sm\"]):has(h3.title)", new String[] {
"role=article"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h3.title')"),
// Private banking article: https://www.icbc.com.ar/personas/private-banking
new Model(NOT_HOME, ".po-windows__content-100:not(:has(div[style*=\"icbc-private-banking-business-centers\"])):has(div[style*=\"icbc-private-banking-inversiones-off-shore-510x350\"]):has(p strong)", new String[] {
"role=article"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'p strong')"),
// ICBC Club: https://www.icbc.com.ar/personas/productos-servicios/icbc-club
// H2 region modalidades MALL.
new Model(NOT_HOME, ".po-tit-wit-lis:has(h2):has(img[src=\"/wcm/connect/5668baf4-f8bb-4dd9-b3f1-cc505885fc59/1/modalidades_canje_ICBC_Mall.png?MOD=AJPERES\"])", new String[] {
"role=region"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2')"),
// Categorías.
new Model(NOT_HOME, ".id-Z7_9216HH42MOHU60QINCRVFJII52", new String[] {
"role=navigation"}
, JS +"utils.setAriaLabelledbyDirOutThis.bind(this,'.id-Z7_9216HH42MOHU60QINCRVFJII94 p[dir]')"),
// Entrega productos regions labels.
new Model(NOT_HOME, ".id-Z7_9216HH42MOHU60QINCRVFJ2IA3 .po-tit-wit-lis:has(img[src*=\"/icbc-club-tipos_de_entrega_mall-\"]):has(p strong)"
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'p strong')"),
// Mobile banking: https://www.icbc.com.ar/personas/productos-servicios/canales-servicio/mobile-banking
new Model(NOT_HOME, "h2.po-tit-wit-lis__title:empty", JS + "utils.anyadirClase.bind(this, 'i4t-empty-header')"),
// Clase para no iar acordeones vacíos.
new Model(NOT_HOME, "span.dijitTitlePaneTextNode:empty", JS + "utils.anyadirClase.bind(this, 'i4t-empty-accordion')"),
// Acordeón especial.
new Model(NOT_HOME, ".po-ter-and-con"
, JS +"utils.setRandomAccordionSpecial.bind(this,'div.dijitTitlePaneTitle:not(:has(.i4t-empty-accordion))', ' + div.dijitTitlePaneContentOuter')"),
// Región QR.
new Model(NOT_HOME, ".po-tit-wit-lis:has(img[src*=\"icbc-mobile-banking-descagar-app-qr-523x110-201905.jpg\"])", new String[] {
"aria-label=AR_BANCOICBC_TITLE_DOWNLOAD_APP"}),
// Access banking: https://www.icbc.com.ar/personas/productos-servicios/canales-servicio/access-banking
new Model(NOT_HOME, ".id-Z7_9216HH42M0MU90A7G13DQD0QJ7 + div", new String[] {
"data-insuit-height=+180px;", "data-insuit-top=-180px;"}
, JS +"utils.setRegionTitPrev.bind(this,'region')"),
// Autoservicio: https://www.icbc.com.ar/personas/productos-servicios/canales-servicio/autoservicio
new Model(NOT_HOME, ".id-Z7_9216HH42MG6C40A7CM1B6I33V7 + div + div", new String[] {
"id=i4t-autoservice-ast", "role=region", "aria-label=AR_BANCOICBC_TITLE_INFO"}),
new Model(NOT_HOME, ".id-Z7_9216HH42MG6C40A7CM1B6I33V7 + div", new String[] {
"data-insuit-height=+100px;", "data-insuit-top=-100px;", "aria-owns=i4t-autoservice-ast"}
, JS +"utils.setRegionTitPrev.bind(this,'region')"),
// Apple pay: https://www.icbc.com.ar/personas/productos-servicios/canales-servicio/Apple-pay
// Link superior, queda muy arriba apenas visible y label para enlace.
new Model(NOT_HOME, ".item.po-slider__item a:not([aria-label])", new String[] {
"data-insuit-top=+30px;"}
, JS +"utils.setAttrFromOwnTextSplittedV2.bind(this,'aria-label')"),
// Región iphone y apple watch
new Model(NOT_HOME, ".id-Z7_9216HH42MOVMB0QVH820IG24K7 + div", new String[] {
"role=region",
"aria-label=AR_BANCOICBC_TITLE_APPLEPAY"}),
// Articles.
new Model(NOT_HOME, ".id-Z7_9216HH42MOVMB0QVH820IG24K7 + div .po-tit-wit-lis__text.po-rich-text-container > p + ul", new String[] {
"data-insuit-height=+80px;", "data-insuit-top=-80px;"}
, JS +"utils.setRegionTitPrev.bind(this,'article')"),
// Apple pay.
new Model(NOT_HOME, ".id-Z7_9216HH42MOVMB0QVH820IG2KF3 .po-tit-wit-lis:has(p strong)"
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'p strong')"),
// Préstamos: https://www.icbc.com.ar/personas/productos-servicios/prestamos
new Model(NOT_HOME,"div.id-Z7_9216HH42M0FF20ABV54ID4IN73:has(h2[dir])", new String[] {
"role=region",
"aria-label=AR_BANCOICBC_TITLE_PRESTAMO_ONLINE" }),
// Código descuento: https://www.icbc.com.ar/personas/productos-servicios/prestamos/personales-codigo-descuento
// Calendario insuit.
new Model(NOT_HOME,"input#fec_nac", new String[] { "data-insuit-input-type=date", "data-insuit-input-format=dd/mm/yyyy" }),
// JAC motors: https://www.icbc.com.ar/personas/productos-servicios/prestamos/Prendarios-JAC-MOTORS
new Model(NOT_HOME,".id-Z7_9216HH42MGLPA0QSG4VCM1GM55 table", new String[] { "role=table", "aria-label=AR_BANCOICBC_TITLE_INFO" }),
// Préstamos personales: https://www.icbc.com.ar/personas/productos-servicios/prestamos/personales
// Form simulador.
new Model(NOT_HOME, "#simulador_prestamos:has(h2.po-form__title)", new String[] {
"role=form"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2.po-form__title')"),
// Prendarios usados: https://www.icbc.com.ar/personas/productos-servicios/prestamos/prendarios-usados/!ut/p/z1/jZDBDoIwEES_yOzSlCLHAqEUg8QqAnshPRESRQ_G77cHLxJp2Nsmb2Z3Bgg6oNm-p9G-psdsb27vSQwxC0RRcFZhnjOUyTXkOuMylhzaX0CJlKOM0ipIhC7TiwDaoseVkbhN7wHIb98CeU7oo8El8CfiAjgrB5jsIJWqdW3CL-D5oncpotUUpwDKLT14HZ73pulw0juzHz_6Vz85/#Z7_9216HH42M0FF20ABV54ID4A9Q1
new Model(NOT_HOME, ".lrpErrorLtr:has(h1)", new String[] {
"role=region"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h1')"),
// Leasing tabla: https://www.icbc.com.ar/personas/productos-servicios/prestamos/leasing
new Model(NOT_HOME, ".id-Z7_9216HH42M00GD0AR551GHD24Q4 p + table"
, JS +"utils.setRegionTitPrev.bind(this,'table')"),
// Alpha fondos: https://www.icbc.com.ar/personas/productos-servicios/inversiones/alpha-fondos
new Model(NOT_HOME, ".id-Z7_9216HH42MOG4506G0STLH9QBD0:has(h2.po-tit-wit-lis__title)", new String[] {
"role=region"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2.po-tit-wit-lis__title')"),
// Acciones articles: https://www.icbc.com.ar/personas/productos-servicios/inversiones/acciones-titulos
new Model(NOT_HOME, ".id-Z7_9216HH42MGSG40ARDKAGGOI1I4 .po-col-24:has(h3.title)", new String[] {
"role=region"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h3.title')"),
// Inversiones plazo fijo: https://www.icbc.com.ar/personas/productos-servicios/inversiones/plazo-fijo
new Model(NOT_HOME, ".id-Z7_9216HH42MGFU30ARS627782GO4:has(h2.po-tit-wit-lis__title)", new String[] {
"role=region"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2.po-tit-wit-lis__title')"),
// Form regions.
new Model(NOT_HOME, "ul#tabs_0afa06a1-ea8d-40c1-b3f7-706b250e1f33 h4 + section:has(input) .po-row > div:has(input):has(h2)", new String[] {
"role=form", "aria-live=assertive"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2')"),
new Model(NOT_HOME, "ul#tabs_0afa06a1-ea8d-40c1-b3f7-706b250e1f33 h4 + section:has(input) .po-row > div:has(h2.po-ctc__title)", new String[] {
"role=region", "data-insuit-visibility=true"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2')"),
// Groups.
new Model(NOT_HOME, "div[id*=\"cliente_si_no\"]:has(span.filters__title)", new String[] {
"role=radiogroup", "data-insuit-visibility=true"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'span.filters__title')"),
// A que segmento perteneces.
new Model(NOT_HOME, ".po-plazo-fijo label.filters__title + select"
, JS +"utils.setRegionTitPrev.bind(this,'combobox')"),
// Inputs.
new Model(NOT_HOME, ".po-plazo-fijo .po-col-24:has(.dijitSlider):has(span.filters__title)", new String[] {
"role=group"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'span.filters__title')"),
// Submit con resultados.
new Model(NOT_HOME, "button[id*=\"simular-\"]", new String[] {
"role=button",
"aria-controls=contenedorAnclaje"}),
new Model(NOT_HOME, "div#contenedorAnclaje", new String[] {
"role=region",
"aria-label=AR_BANCOICBC_TITLE_INFO"}),
// Integral comercio: https://www.icbc.com.ar/personas/productos-servicios/seguros/integral-comercio
new Model(NOT_HOME, " .id-Z7_9216HH42M80D50A7NSG2PNJOF2 + div", new String[] {
"data-insuit-height=+100px;",
"data-insuit-top=-100px;"}
, JS +"utils.setRegionTitPrev.bind(this,'region')"),
// Seguros auto: https://www.icbc.com.ar/personas/productos-servicios/seguros/auto
new Model(NOT_HOME, ".id-Z7_9216HH42M80D50A7NSG2PNJO52 + div", new String[] {
"data-insuit-height=+100px;",
"data-insuit-top=-100px;"}
, JS +"utils.setRegionTitPrev.bind(this,'region')"),
// Form seguro.
new Model(NOT_HOME, "form#cotizador_seguro_automotor:has(h2)", new String[] {
"role=form"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2')"),
// Documento input.
new Model(NOT_HOME, "input#documentoInput", new String[] {
"role=textbox"}
, JS +"utils.setLabelByTag.bind(this,'aria-label', 'placeholder')"),
// Como ayudarte páginas: https://www.icbc.com.ar/personas/como-ayudarte/lifestyle/proyecto-tierras-2-german-martitegui
// https://www.icbc.com.ar/personas/como-ayudarte/lifestyle/ropa-de-mujer-temporada-oto%C3%B1o-invierno-2021
// Clase que se le añade al body en las páginas "como ayudarte".
new Model(COMO_AYUDARTE, "body", JS + "utils.anyadirClase.bind(this, 'i4t-comoayudarte')"),
// Wrap.
new Model(COMO_AYUDARTE, ".po-container .po-tit-wit-lis__text.po-rich-text-container:has(img[src*=\"/notas_cuerpo\"])",
"function() { i4t.AR_BANCOICBC.utils.childrenWrapper.call(this,'> p:has(strong)', 'p strong', 'class-pstrong-notascuerpo', 'article', 'null'); }"), // :has(span[style=\"font-size:16px;\"])
// Region: https://www.icbc.com.ar/personas/como-ayudarte/lifestyle/verano-2021-costa-atlantica-carilo
new Model(COMO_AYUDARTE, "body:not(:has(img[src*=\"icbc-viajes-destinos-playa-ni\"])) .po-tit-wit-lis:not([role]):has(h2:not(.i4t-empty-header) + .po-tit-wit-lis__text.po-rich-text-container)", new String[] {
"role=region"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2:not(.i4t-empty-header):has( + .po-tit-wit-lis__text.po-rich-text-container)')"),
// Viajes: https://www.icbc.com.ar/personas/como-ayudarte/viajes
// Head, enlaces relacionados.
new Model(COMO_AYUDARTE, "div.po-nec-hea__data-current:has(h1)", new String[] {
"role=navigation",
"aria-label=AR_BANCOICBC_TITLE_RELATED_LINKS"}),
// "X" Cerrar que es volver a la página anterior.
new Model(COMO_AYUDARTE, ".po-nec-hea__data a.po-nec-hea__data-close", new String[] {
"role=button",
"aria-label=AR_BANCOICBC_TITLE_RETURN_PAGE"}),
// Role none para los enlaces del carrusel superior con href vacío (No hace nada): https://www.icbc.com.ar/personas/como-ayudarte/finanzas/kit-opera-en-casa-banco-online
new Model(COMO_AYUDARTE, ".po-slider__content .po-slider__item a[href=\"\"]", new String[] {
"role=none"}),
// Scrum master, región sin englobar: https://www.icbc.com.ar/personas/como-ayudarte/estudio/scrum-master-nuevos-lideres
new Model(NOT_HOME, ".id-Z7_9216HH42M0JI70Q73I5O791295 h3 + p", new String[] {
"data-insuit-height=+100px;",
"data-insuit-top=-100px;"}
, JS +"utils.setRegionTitPrev.bind(this,'region')"),
// Entrevistas mediante juegos, región perdida: https://www.icbc.com.ar/personas/como-ayudarte/estudio/entrevistas-de-trabajo-mediante-juegos
new Model(COMO_AYUDARTE, ".id-Z7_9216HH42MOQIF0QJB2H76L0974 + div .po-tit-wit-lis", new String[] {
"role=region",
"id=i4t-interview-games-1",
"aria-label=AR_BANCOICBC_TITLE_CONTINUE_READING"}),
new Model(COMO_AYUDARTE, ".id-Z7_9216HH42MOQIF0QJB2H76L0974 + div + div .po-tit-wit-lis", new String[] {
"role=region",
"id=i4t-interview-games-2",
"aria-label=AR_BANCOICBC_TITLE_CONTINUE_READING"}),
new Model(COMO_AYUDARTE, ".id-Z7_9216HH42MOQIF0QJB2H76L0974 .po-tit-wit-lis", new String[] {
"aria-owns=i4t-interview-games-1 i4t-interview-games-2"}),
// Notas histórica casa: https://www.icbc.com.ar/personas/como-ayudarte/casa/notas-historicas-casa
new Model(COMO_AYUDARTE, ".id-Z7_9216HH42MOHU60Q2KCNCJ7ONL0 .po-container", new String[] {
"role=region"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'.po_hea__breadcrum-links > span:last-child')"),
new Model(COMO_AYUDARTE, ".wpthemeASARelPosition + .po-windows .po-col-6 > .po-card-windows:has(h3.po-card-windows__caption--title)", new String[] {
"role=article"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h3.po-card-windows__caption--title')"),
// Como elegir la mesa perfecta: https://www.icbc.com.ar/personas/como-ayudarte/casa/como-elegir-la-mesa-perfecta
new Model(COMO_AYUDARTE, ".id-Z7_9216HH42MOQIF0QJB2H76LGMG1 + div .po-tit-wit-lis", new String[] {
"role=region",
"id=i4t-perfect-table-1",
"aria-label=AR_BANCOICBC_TITLE_CONTINUE_READING"}),
new Model(COMO_AYUDARTE, ".id-Z7_9216HH42MOQIF0QJB2H76LGMG1 .po-tit-wit-lis", new String[] {
"aria-owns=i4t-perfect-table-1"}),
// Grandes ideas wrap: https://www.icbc.com.ar/personas/como-ayudarte/casa/tipos-para-lograr-peque%C3%B1as-cocinas-con-grandes-ideas
// Conectividad y orden.
new Model(COMO_AYUDARTE, ".id-Z7_9216HH42M0JI70Q73I5O79H0E6 .po-container p[dir] > span:not(:last-child)", new String[] {
"role=region",
"aria-label=AR_BANCOICBC_TITLE_CONNECT"}),
new Model(COMO_AYUDARTE, ".id-Z7_9216HH42M0JI70Q73I5O79H0E6 .po-container p[dir] > span:last-child", new String[] {
"role=region",
"aria-label=AR_BANCOICBC_TITLE_ORDERCONN"}),
// Balcones y patios: https://www.icbc.com.ar/personas/como-ayudarte/casa/parrillas-modernas-para-balcones-y-patios
new Model(COMO_AYUDARTE, ".id-Z7_9216HH42M0JI70Q73I5O791011 + div .po-tit-wit-lis__text", new String[] {
"role=region",
"id=i4t-modern-balc-1",
"aria-label=AR_BANCOICBC_TITLE_CONTINUE_READING"}),
new Model(COMO_AYUDARTE, ".id-Z7_9216HH42M0JI70Q73I5O791011 .po-tit-wit-lis__text > .i4t-include-class-pstrong-notascuerpo:last-child", new String[] {
"aria-owns=i4t-modern-balc-1"}),
// Equipamiento base full article suelto: https://www.icbc.com.ar/personas/como-ayudarte/autos/equipamiento-base-full
new Model(COMO_AYUDARTE, ".id-Z7_9216HH42MGM500ANJHS8JG10J5 .po-windows__content-100:not(:has(div[style*=\"icbc-private-banking-business-centers\"])):has(h3.title)", new String[] {
"role=article"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h3.title')"),
// Sugerencias para viajar: https://www.icbc.com.ar/personas/como-ayudarte/viajes/sugerencias-para-viajar
new Model(COMO_AYUDARTE, ".id-Z7_9216HH42M0DD10A738OGRMH4K7 .po-windows__content-100:not(:has(div[style*=\"icbc-private-banking-business-centers\"])):has(h3.title)", new String[] {
"role=article"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h3.title')"),
// Paseo imperdible: https://www.icbc.com.ar/personas/como-ayudarte/viajes/san-martin-de-los-andes-un-paseo-imperdible
new Model(COMO_AYUDARTE, ".id-Z7_9216HH42MOVMB0QVH820IG2QU6 .po-tit-wit-lis", new String[] {
"role=region",
"id=i4t-sanmartin-1",
"aria-label=AR_BANCOICBC_TITLE_CONTINUE_READING"}),
new Model(COMO_AYUDARTE, ".id-Z7_9216HH42MOVMB0QVH820IG2QE3 .po-tit-wit-lis", new String[] {
"aria-owns=i4t-sanmartin-1"}),
// Playas: https://www.icbc.com.ar/personas/como-ayudarte/viajes/Los-mejores-destinos-de-playa-para-visitar-con-chicos
// Articles.
new Model(COMO_AYUDARTE, ".id-Z7_9216HH42MGM500ANJHS8JGHO63 .po-windows__content-100:not(:has(div[style*=\"icbc-private-banking-business-centers\"])):has(h3.title)", new String[] {
"role=article"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h3.title')"),
// Bonus Track.
new Model(COMO_AYUDARTE, ".id-Z7_9216HH42MGM500ANJHS8JGHO63", new String[] {
"role=region",
"aria-label=AR_BANCOICBC_TITLE_BONUS_TRACK"}),
// Fortaleza Brasil.
new Model(COMO_AYUDARTE, ".id-Z7_9216HH42M8U500AFK4E43I2R34 .po-tit-wit-lis", new String[] {
"role=region",
"aria-label=AR_BANCOICBC_TITLE_FORT_BRA"}),
// Playa del carmen, México.
new Model(COMO_AYUDARTE, ".id-Z7_9216HH42MGM500ANJHS8JGH8Q6 .po-tit-wit-lis", new String[] {
"role=region",
"aria-label=AR_BANCOICBC_TITLE_CARMEN_MEX"}),
// Resultados de la búsqueda: https://www.icbc.com.ar/personas/busqueda?gs=personas
new Model(NOT_HOME, "div#cabecera_busqueda + ul#lista_resultado", new String[] {
"data-insuit-height=+100px;",
"data-insuit-top=-100px;"}
, JS +"utils.setRegionTitPrev.bind(this,'navigation')"),
// Selector de tarjetas: https://www.icbc.com.ar/personas/selector+de+tarjetas
new Model(NOT_HOME, "div.id-Z7_9216HH42M8UCA0A76U27KUJF71:has(h2.po-tit-wit-lis__title)", new String[] {
"role=region"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2.po-tit-wit-lis__title')"),
// La mejor alternativa region
new Model(NOT_HOME, ".wpthemeWide:has( > .id-Z7_9216HH42M0FF20AB631KGUVAV0)", new String[] {
"role=region"}
, JS +"utils.setAriaLabelledbyDirOutThis.bind(this,'.id-Z7_9216HH42M0MU90A7G13DQD0QQ4 h2.po-tit-wit-lis__title')"),
/********************************************
* INSTITUCIONAL *
********************************************/
// Noticias: https://www.icbc.com.ar/institucional/Noticias
new Model(NOT_HOME, ".id-Z7_9216HH42MOGS90QMQJVNIIAQ40 .po-card-windows:has(h3)", new String[] {
"role=article"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h3')"),
// Turnos online: https://www.icbc.com.ar/institucional/turnos-online?cm_mmc=icbc-_-boton-_-micrositios-_-turnos
new Model(NOT_HOME, ".id-Z7_9216HH42MOM5E0Q1NJRD3B3IU0 .po-tit-wit-lis:has(h3 a span)"
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h3 a span')"),
// Cuidarnos covid 19: https://www.icbc.com.ar/institucional/medida-para%20cuidarnos-covid-19
new Model(NOT_HOME, ".id-Z7_9216HH42M0SF00Q9KJFK3A3443 .po-tit-wit-lis__text:has(> h3)",
"function() { i4t.AR_BANCOICBC.utils.childrenWrapper.call(this,' > h3', 'h3', 'class-h3-special', 'article', 'null'); }"),
// Anti lavado de dinero: https://www.icbc.com.ar/institucional/anti-lavado-dinero
new Model(NOT_HOME, ".id-Z7_9216HH42M80D50A7NSG2PN3OK0 .po-tit-wit-lis__text:has(> p strong)",
"function() { i4t.AR_BANCOICBC.utils.childrenWrapper.call(this,' > p:has(strong)', 'storng', 'class-pstrong-lavado', 'region', 'null'); }"),
// Tabla.
new Model(NOT_HOME, ".i4t-include-class-pstrong-lavado p + table"
, JS +"utils.setRegionTitPrev.bind(this,'table')"),
new Model(NOT_HOME, ".i4t-include-class-pstrong-lavado div > table", new String[] {
"role=table"}),
// Disciplina de mercados: https://www.icbc.com.ar/institucional/disciplina-de-mercados
new Model(NOT_HOME, "body:not(:has(.id-Z7_9216HH42M0FF20AB631KGUVAF4)) .po-container > .po-tit-wit-lis:not(:has(img[src*=\"/Apple+Pay.jpg\"])):not([role]):has(h2):has(ul li)", new String[] {
"role=region"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2:not(.i4t-empty-header)')"),
// Canales disponibles.
new Model(NOT_HOME, ".component-container.wpthemeLeft.wpthemeCol.wpthemeSecondaryContainer.wpthemeColLast.ibmDndColumn:not(:has(*[role])):has(h2.po-tit-wit-lis__title):not(.id-Z7_9216HH42M80D50A7NSG2PN3CR0):not(.id-Z7_9216HH42M80D50A7NSG2PN3SQ6)", new String[] {
"role=region"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2.po-tit-wit-lis__title')"),
new Model(NOT_HOME, "div.id-Z7_9216HH42M0FF20ABV54ID42852:has(h2)", new String[] {
"role=region"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2.po-tit-wit-lis__title')"),
// RRHH: https://www.icbc.com.ar/institucional/recursos-humanos
// Carrusel.
new Model(NOT_HOME, ".po-sli-hea-home > .po-slider__content:not(:has(.carousel-indicators)):has(.po-slider__item + .po-slider__item)", new String[] {
"role=region",
"aria-label=AR_BANCOICBC_TITLE_INFO_SLIDER",
"data-insuit-in=i4t.AR_BANCOICBC.utils.forceUpdateElementDelayed.call(this, '.po-sli-hea-home > .po-slider__content:not(:has(.carousel-indicators))', 1200); i4t(this).find('.list.po-slider__inner.po-slider--main.po-sli-hea-home__slides-container').dispatchEvent('mouseover');",
"aria-live=polite",
"aria-relevant=all"}),
// Paginación.
new Model(NOT_HOME, ".po-sli-hea-home > .po-slider__content:not(:has(.carousel-indicators)) .listNav ul", new String[] {
"role=navigation",
"aria-live=polite",
"aria-label=AR_BANCOICBC_TITLE_PAGINATION"}),
// Paginación cambiar diapositiva.
new Model(NOT_HOME, ".po-sli-hea-home > .po-slider__content:not(:has(.carousel-indicators)) .listNav ul > li > a", new String[] {
"role=button",
"data-insuit-enter=i4t.AR_BANCOICBC.utils.forceUpdateElementDelayed.call(this, '.po-sli-hea-home .listNav ul', 1200);"
+ "i4t.AR_BANCOICBC.utils.forceUpdateElementDelayed.call(this, '.po-sli-hea-home', 1200);"
+ "i4t.find('.list.po-slider__inner.po-slider--main.po-sli-hea-home__slides-container').dispatchEvent('mouseover');"
+ "i4t(this).insuitEvent().dispatch('.');"}),
// Label para el cambio de diapositiva.
new Model(NOT_HOME, ".po-sli-hea-home > .po-slider__content:not(:has(.carousel-indicators)) .listNav ul > li > a"
, JS +"utils.setLabelColetilla.bind(this,'aria-label', 'AR_BANCOICBC_TITLE_COLETILLA_PAGER')"),
// Visibilidad de las diapositivas.
new Model(NOT_HOME , ".item.po-slider__item", JS + "utils.esVisible"),
// Porque icbc.
new Model(NOT_HOME, "div.id-Z7_9216HH42MG4Q60Q8KKUSB9JGU0:has(h2)", new String[] {
"role=region"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2')"),
// Nuestro espacio: https://www.icbc.com.ar/institucional/recursos-humanos
new Model(NOT_HOME, "body:not(.i4t-comoayudarte) div[name=\"secondary3\"]:not(:has(#form_datos_contacto_1)):has(h2):not(:has(.po-container[role=\"region\"]))", new String[] {
"role=region"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2')"),
// Responsabilidad social: https://www.icbc.com.ar/institucional/responsabilidad-social-empresaria
// Article.
new Model(NOT_HOME, ".po-col-24 > .po-windows__content-100:not(:has(div[style*=\"icbc-private-banking-business-centers\"])):has(h3.title):has(div[style*=\"icbc-rse-iniciativas-invierno-sin-frio-510x350-20170531.jpg\"])", new String[] {
"role=article"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h3.title')"),
/*
* CHATBOT.
*/
new Model(NOT_HOME, "button.WACLauncher__Button", new String[] {
"role=button",
"aria-controls=WACWidget",
"aria-busy=true"}),
new Model(NOT_HOME, "div#WACWidget", new String[] {
"role=region",
"aria-live=polite",
"aria-relevant=all",
"data-insuit-back=i4t.find('.WACBotContainer .WACHeader__Buttons.WACHeader__RightButtons > button.WACHeader__CloseButton').dispatchEvent('click');",
"data-insuit-top=i4t.find('.WACBotContainer .WACHeader__Buttons.WACHeader__RightButtons > button.WACHeader__CloseButton').dispatchEvent('click');",
"data-insuit-main=i4t.find('.WACBotContainer .WACHeader__Buttons.WACHeader__RightButtons > button.WACHeader__CloseButton').dispatchEvent('click');",
"data-insuit-tab=i4t.find('.WACBotContainer .WACHeader__Buttons.WACHeader__RightButtons > button.WACHeader__CloseButton').dispatchEvent('click');",
"data-insuit-shifttab=i4t.find('.WACBotContainer .WACHeader__Buttons.WACHeader__RightButtons > button.WACHeader__CloseButton').dispatchEvent('click');"}),
// Roles por defecto.
new Model(NOT_HOME, "div.WACWidget__regionContainer,"
+ "div.WACMessage-focusHandle", new String[] {
"role=",
"aria-label="}),
// Región de mensajes.
new Model(NOT_HOME, "div#WAC__messages", new String[] {
"role=log",
"aria-label=AR_BANCOICBC_TITLE_CHAT_MESSAGES"}),
// Botón sugerencias lanza otra ventana de sugerencias.
/*new Model(NOT_HOME, "button.WACAlternateSuggestionsButton__button", new String[] {
"role=button",
"aria-controls=i4t-suggest-container",
"aria-busy=true"}),
new Model(NOT_HOME, "div.WACAlternateSuggestionsContainer", new String[] {
"id=i4t-suggest-container",
"role=region",
"aria-live=polite",
"aria-relevant=all",
"data-insuit-back=i4t.find('button.WACAlternateSuggestionsOptionsPanel__HeaderButton.WAC__button--base.WAC__button--ghost + button.WACAlternateSuggestionsOptionsPanel__HeaderButton.WAC__button--base.WAC__button--ghost').dispatchEvent('click');",
"data-insuit-top=i4t.find('button.WACAlternateSuggestionsOptionsPanel__HeaderButton.WAC__button--base.WAC__button--ghost + button.WACAlternateSuggestionsOptionsPanel__HeaderButton.WAC__button--base.WAC__button--ghost').dispatchEvent('click');",
"data-insuit-main=i4t.find('button.WACAlternateSuggestionsOptionsPanel__HeaderButton.WAC__button--base.WAC__button--ghost + button.WACAlternateSuggestionsOptionsPanel__HeaderButton.WAC__button--base.WAC__button--ghost').dispatchEvent('click');",
"data-insuit-tab=i4t.find('button.WACAlternateSuggestionsOptionsPanel__HeaderButton.WAC__button--base.WAC__button--ghost + button.WACAlternateSuggestionsOptionsPanel__HeaderButton.WAC__button--base.WAC__button--ghost').dispatchEvent('click');",
"data-insuit-shifttab=i4t.find('button.WACAlternateSuggestionsOptionsPanel__HeaderButton.WAC__button--base.WAC__button--ghost + button.WACAlternateSuggestionsOptionsPanel__HeaderButton.WAC__button--base.WAC__button--ghost').dispatchEvent('click');"}),
*/
// Visibilidad de algunos elementos.
new Model(NOT_HOME , "div#WAC__messages > button,"
+ "div#WAC__inputContainer", JS + "utils.esVisible"),
/********************************************
* WEB *
********************************************/
// Web: https://www.icbc.com.ar/web/hacete-cliente?cm_mmc=icbcGr-_-SitioWeb-_-Micrositios-_-HaceteCliente
// function childrenWrapperStop(headerCssSelector, dirTitle, nameClass, role, tag, style, stop) {
new Model(WEB, ".wpthemeBgGradientLayer > div.ibmDndColumn",
"function() { i4t.AR_BANCOICBC.utils.childrenWrapperStop.call(this,'> div:not(:has(.po-sli-hea-home)):has(h2:not([aria-hidden]):not(.po-tit-wit-lis__title):not(.po-card__caption--title))', 'h2', 'class-h2-web', 'region', 'div', 'null', 'id-Z7_9216HH42M0E620Q50ERQOOG6T7'); }"),
// Elegí la opción que mejor se adapta a vos.
new Model(WEB, ".wpthemeEqual.wpthemeFull.wpthemeBgImage:has(.id-Z7_9216HH42M0E620Q50ERQOOGI96)", new String[] {
"role=region",
"data-insuit-height=+70px;",
"data-insuit-top=-70px;"}
, JS +"utils.setAriaLabelledbyDirOutThis.bind(this,'.id-Z7_9216HH42M0E620Q50ERQOOGQM5 h2.po-tit-wit-lis__title')"),
// Labels.
new Model(WEB, ".wpthemeEqual.wpthemeFull.wpthemeBgImage:has(.id-Z7_9216HH42M0E620Q50ERQOOGI96) .component-container[name=\"secondary1\"]", new String[] {
"aria-label=AR_BANCOICBC_TITLE_SACA_TARJETA"}),
new Model(WEB, ".wpthemeEqual.wpthemeFull.wpthemeBgImage:has(.id-Z7_9216HH42M0E620Q50ERQOOGI96) div[name=\"secondary2\"] .po-tit-wit-lis", new String[] {
"aria-label=AR_BANCOICBC_TITLE_TRAE_SUELDO",
"aria-owns=i4t-trae-sueldo"}),
new Model(WEB, ".wpthemeEqual.wpthemeFull.wpthemeBgImage:has(.id-Z7_9216HH42M0E620Q50ERQOOGI96) .id-Z7_9216HH42M0E620Q50ERQOOGQJ0 a.po-btn", new String[] {
"role=link",
"id=i4t-trae-sueldo"}),
new Model(WEB, ".wpthemeEqual.wpthemeFull.wpthemeBgImage:has(.id-Z7_9216HH42M0E620Q50ERQOOGI96) div[name=\"secondary3\"] .po-tit-wit-lis", new String[] {
"aria-label=AR_BANCOICBC_TITLE_ABRIR_CUENTA",
"aria-owns=i4t-abre-cuenta"}),
new Model(WEB, ".wpthemeEqual.wpthemeFull.wpthemeBgImage:has(.id-Z7_9216HH42M0E620Q50ERQOOGI96) .id-Z7_9216HH42M0E620Q50ERQOOGQB1 a.po-btn", new String[] {
"role=link",
"id=i4t-abre-cuenta"}),
// 100% online
new Model(WEB, ".id-Z7_9216HH42M0E620Q50ERQOOGIP0 > .i4t-include-class-h2-web"
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2[dir]')"),
// Artículos desplegables.
new Model(WEB, ".po-card:has(h2.po-card__caption--title)", new String[] {
"role=article"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2.po-card__caption--title')"),
/********************************************
* EMPRESAS *
********************************************/
// Empresas segmentos: https://www.icbc.com.ar/empresas/segmentos-empresas-icbc
new Model(NOT_HOME, ".po-card-zoom:has(h5)", new String[] {
"role=article"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h5')"),
// PYMES, más info: https://www.icbc.com.ar/empresas/Pymes-empresas-icbc
new Model(NOT_HOME, "div + div .po-cal-act__btn.po-cal-act--left:not(:has(a[href=\"/form/BAMCOM07.pdf\"])):not(:has(a[href*=\"/canales-servicio/tablas-de-medios\"])):not(:has(a[href=\"/empresas/sucursales-y-cajeros-empresas\"]))", new String[] {
"data-insuit-height=+100px;",
"data-insuit-top=-100px;"}
, JS +"utils.setRegionTitPrev.bind(this,'region')"),
// Btn.
new Model(NOT_HOME, ".id-Z7_NG1E1I42MGF01068H4PMJ8IOU7 .po-cal-act__btn a", new String[] {
"role=button"}
, JS +"utils.setAriaLabelledbyDirOutThis.bind(this,'.id-Z7_NG1E1I42MGF01068H4PMJ8IOU5 h2.po-tit-wit-lis__title')"),
// Cuenta corriente articles: https://www.icbc.com.ar/empresas/productos-y-servicios-empresas/abrir-cuenta-corriente
new Model(NOT_HOME, ".content-category:has(h2.title-category)", new String[] {
"role=article"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2.title-category')"),
// Tarjeta visa signature: https://www.icbc.com.ar/empresas/productos-y-servicios-empresas/tarjeta-visa-comercial/tarjeta-visa-signature-icbc
new Model(EMPRESAS, ".po-windows__content-25:has(h3.title)", new String[] {
"role=article"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h3.title')"),
new Model(EMPRESAS, ".clearfix.po-windows__content-100:not(:has(div[style*=\"icbc-private-banking-business-centers\"])):has(h3.title)", new String[] {
"role=article"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h3.title')"),
// Servicios pagos ICBC: https://www.icbc.com.ar/empresas/productos-y-servicios-empresas/servicios-pagos-icbc
new Model(EMPRESAS, ".id-Z7_5HH2HI42M8N8D0681DFV9KGU51 + div", new String[] {
"data-insuit-height=+100px;",
"data-insuit-top=-100px;"}
, JS +"utils.setRegionTitPrev.bind(this,'region')"),
// Transportes empresas: https://www.icbc.com.ar/empresas/transportes-icbc-empresas
new Model(EMPRESAS, ".id-Z7_5HH2HI42M8N8D0681DFV9KG414 + div", new String[] {
"data-insuit-height=+100px;",
"data-insuit-top=-100px;"}
, JS +"utils.setRegionTitPrev.bind(this,'region')"),
// Excluir los h2 que tienen asterisco.
new Model(EMPRESAS, "h2"
, JS +"utils.addClassPostWrap.bind(this,'*', 'i4t-not-wrap')"),
// H2 Wrap.
new Model(EMPRESAS, "body:has(.po-bg-img[style*=\"icbc-giros-y-transferencias-1366x400-20170531.jpg\"]) .wpthemeBgGradientLayer > div[name]", // =\"ibmMainContainer\" // > div:has(h2[class*=\"tit\"])
"function() { i4t.AR_BANCOICBC.utils.childrenWrapper.call(this,'> div:has(.po-tit-wit-lis h2[class*=\"tit\"]:not(.i4t-not-wrap):not([aria-hidden=\"true\"]):not(:has(img)):not(.po-card__caption--title):not(:has(span.icon-category-xxl)))', 'h2[class*=\"tit\"]', 'class-h2-general', 'region', 'null'); }"),
// Comercio exterior ICBC: https://www.icbc.com.ar/empresas/productos-y-servicios-empresas/comercio-exterior-icbc
new Model(NOT_HOME, ".id-Z7_NG1E1I42MGF01068H4PMJ82JI7 a[href=\"https://www.comex.icbc.com.ar/\"]", new String[] {
"role=none"}),
new Model(NOT_HOME, ".po-sec-hea__caption.po-sec-hea__caption--segmento.caption-desktop", new String[] {
"data-insuit-visibility=true"}),
// Préstamos crédito: https://www.icbc.com.ar/empresas/productos-y-servicios-empresas/prestamos-creditos-icbc
// Owns button.
new Model(NOT_HOME, ".id-Z7_NG1E1I42MGF01068H4PMJ827Q7 a[href=\"/empresas/sucursales-y-cajeros-empresas\"]", new String[] {
"id=i4t-prestamos-credito-btn",
"role=button"}),
new Model(NOT_HOME, ".id-Z7_NG1E1I42MGF01068H4PMJ827Q5 .po-tit-wit-lis", new String[] {
"aria-owns=i4t-prestamos-credito-btn"}),
// Empresas medianas: https://www.icbc.com.ar/empresas/empresas-medianas-grandes-icbc
new Model(NOT_HOME, ".id-Z7_NG1E1I42MGF01068H4PMJ825D2 a.po-btn", new String[] {
"role=button"}
, JS +"utils.setAriaLabelledbyDirOutThis.bind(this,'.id-Z7_NG1E1I42MGF01068H4PMJ825D0 h2.po-tit-wit-lis__title')"),
// Agronegocios: https://www.icbc.com.ar/empresas/agronegocios-campo-icbc
new Model(NOT_HOME, ".id-Z7_NG1E1I42MGF01068H4PMJ8IOL4 a.po-btn", new String[] {
"role=button"}
, JS +"utils.setAriaLabelledbyDirOutThis.bind(this,'.id-Z7_NG1E1I42MGF01068H4PMJ8IO57 h2.po-tit-wit-lis__title')"),
// Transportes: https://www.icbc.com.ar/empresas/transportes-icbc-empresas
new Model(EMPRESAS, ".id-Z7_NG1E1I42MGF01068H4PMJ82505",
"function() { i4t.AR_BANCOICBC.utils.childrenWrapper.call(this,'> div:has(h2.po-tit-wit-lis__title)', 'h2.po-tit-wit-lis__title', 'class-h2-witlis', 'region', 'null'); }"),
// FAQS reg: https://www.icbc.com.ar/personas/sueldos/empresas
new Model(NOT_HOME, "#preguntas_frecuentes_contenedor:has(h2)", new String[] {
"role=region"}
, JS +"utils.setAriaLabelledbyDirThis.bind(this,'h2')"),
});
}
}
Editor is loading...
Leave a Comment