PageSourceSearch

https://oriconsultas.com/js/site.makeup.js?v=Sz282dANLqCWxcmpR8AVPbMHYHLUyXViECjpeQ1CEyQ

js oriconsultas.com collected 2026-10-02 00:32:19 UTC 3,133 bytes, 89 lines download raw bytes

1function Makeup() {
2    let iloader = $('body').find('#makeup');
3    if (iloader.length == 0) {
4        $('body').append('<div id="makeup" style="position:relative; z-index:10000;"></div>');
5    }
6    $('#makeup').load(siteUrl + '/makeup');
7}
8function MakeupAdd(detail) {
9    console.log(detail);
10    let cantidad = 1;
11    detail.forEach(item => {
12        item.swatches.forEach(sku => {
13            if (sku.active) {
14                let codinve = sku.sku;
15                let nombre = item.name;
16                $.post(siteUrl + '/makeup/productoagregar', { codinve, cantidad, nombre }, function (result) {
17                    if (!result.resultado) {
18                        Alert(result.descripcion, NotifyIcon.warning);
19                    }
20                });
21            }
22        });
23    });
24}
25function MakeupRemove(detail) {
26    let tipo = 1;
27    let tipo_costo = 1;
28    let paquete = 0;
29    detail.forEach(item => {
30        item.swatches.forEach(sku => {
31            if (sku.active) {
32                let codinve = sku.sku;
33                let nombre = item.name;
34                $.post(siteUrl + '/makeup/productoeliminar', { codinve, tipo, tipo_costo, paquete, nombre }, function (result) {
35                    if (!result.resultado) {
36                        Alert(result.descripcion, NotifyIcon.warning);
37                    }
38                });
39            }
40        });
41    });
42}
43function MakeupApply(detail) {
44    console.log(`Applied products to face: ${JSON.stringify(detail, null, 2)}`, detail);
45    detail.forEach(item => {
46        item.swatches.forEach(sku => {
47            if (sku.active) {
48                let codinve = sku.sku;
49                $.post(siteUrl + '/makeup/productoapply', { codinve });
50            }
51        });
52    });
53}
54function MakeupUnApply(detail) {
55    console.log(`UnApply products from face: ${JSON.stringify(detail, null, 2)}`, detail);
56    detail.forEach(item => {
57        item.swatches.forEach(sku => {
58            if (sku.active) {
59                let codinve = sku.sku;
60                $.post(siteUrl + '/makeup/productounapply', { codinve });
61            }
62        });
63    });
64}
65function MakeupReplace(detail) {
66    console.log(`Replace products from face: ${JSON.stringify(detail, null, 2)}`, detail);
67    detail.forEach(item => {
68        item.swatches.forEach(sku => {
69            if (sku.active) {
70                let codinve = sku.sku;
71                $.post(siteUrl + '/makeup/productoreplace', { codinve });
72            }
73        });
74    });
75}
76function MakeupShopcart() {
77    $.post(siteUrl + '/makeup/close');
78    if (window.location.href.includes('carrodecompras')) {
79        ShowShopCart();
80    } else if (window.location.href.includes('main')) {
81        window.parent.location = siteUrl + '/carrodecompras';
82    } else if (window.location.href.includes('app')) {
83        Alert('Haz clic en el botón Ir al carro de compras que se encuentra en la parte inferior de la pantalla', NotifyIcon.info);
84    }
85    else {
86        $('#menuRight').click();
87    }
88    contadorCarroDeCompras();
89}

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.