{"id":1609,"date":"2026-05-22T12:41:52","date_gmt":"2026-05-22T15:41:52","guid":{"rendered":"https:\/\/sygsa.com.ar\/?p=1609"},"modified":"2026-05-22T17:16:51","modified_gmt":"2026-05-22T20:16:51","slug":"1609","status":"publish","type":"post","link":"https:\/\/sygsa.com.ar\/index.php\/2026\/05\/22\/1609\/","title":{"rendered":""},"content":{"rendered":"\n<div id=\"sygsa-master-wrapper\" style=\"position: relative; width: 100%; max-width: 1200px; margin: auto; background: #fff; font-family: sans-serif; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); overflow: hidden;\">\n    \n    <div style=\"display: flex; justify-content: center; gap: 20px; padding: 15px; background: #fdfdfd; border-bottom: 1px solid #eee; font-size: 11px; text-transform: uppercase; font-weight: bold;\">\n        <div style=\"display: flex; align-items: center; gap: 5px;\"><span style=\"width: 10px; height: 10px; background: #27ae60; border-radius: 2px;\"><\/span> Disponible<\/div>\n        <div style=\"display: flex; align-items: center; gap: 5px;\"><span style=\"width: 10px; height: 10px; background: #f1c40f; border-radius: 2px;\"><\/span> Reservado<\/div>\n        <div style=\"display: flex; align-items: center; gap: 5px;\"><span style=\"width: 10px; height: 10px; background: #e74c3c; border-radius: 2px;\"><\/span> Vendido<\/div>\n    <\/div>\n\n    <div id=\"map-interaction-container\" style=\"position: relative; width: 100%; padding: 10px;\">\n        <svg id=\"svg-sygsa-full\" viewBox=\"0 0 1050 550\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width: 100%; height: auto; display: block;\">\n            <style>\n                .lote-parcela { cursor: pointer !important; transition: all 0.2s; fill: #e0e0e0; stroke: #1d1d1b; stroke-width: 0.7px; }\n                .lote-parcela:hover { opacity: 0.8; stroke-width: 1.5px; }\n                .lote-label { font-size: 7px; font-weight: bold; pointer-events: none; text-anchor: middle; dominant-baseline: middle; }\n            <\/style>\n            \n            <g id=\"geometria-integral\">\n                <polygon id=\"l1_m1\" class=\"lote-parcela\" points=\"86.9 124.5 187.7 124.5 187.7 91 97.2 91 86.4 101.8 86.9 124.5\"\/>\n                <rect id=\"l2_m1\" class=\"lote-parcela\" x=\"86.9\" y=\"124.5\" width=\"100.8\" height=\"33.8\"\/>\n                <rect id=\"l3_m1\" class=\"lote-parcela\" x=\"86.9\" y=\"158.3\" width=\"100.8\" height=\"33.8\"\/>\n                <rect id=\"l4_m1\" class=\"lote-parcela\" x=\"86.9\" y=\"192.1\" width=\"100.8\" height=\"33.8\"\/>\n                <rect id=\"l5_m1\" class=\"lote-parcela\" x=\"86.9\" y=\"225.9\" width=\"100.8\" height=\"33.8\"\/>\n                <rect id=\"l6_m1\" class=\"lote-parcela\" x=\"86.9\" y=\"259.7\" width=\"100.8\" height=\"33.8\"\/>\n                <rect id=\"l7_m1\" class=\"lote-parcela\" x=\"86.9\" y=\"293.5\" width=\"100.8\" height=\"33.8\"\/>\n                <rect id=\"l8_m1\" class=\"lote-parcela\" x=\"86.9\" y=\"327.2\" width=\"100.8\" height=\"33.8\"\/>\n                <rect id=\"l9_m1\" class=\"lote-parcela\" x=\"86.9\" y=\"361\" width=\"100.8\" height=\"32.9\"\/>\n                <rect id=\"l10_m1\" class=\"lote-parcela\" x=\"86.9\" y=\"393.9\" width=\"100.8\" height=\"33.6\"\/>\n                <rect id=\"l11_m1\" class=\"lote-parcela\" x=\"86.9\" y=\"427.5\" width=\"100.8\" height=\"33.8\"\/>\n                <polygon id=\"l12_m1\" class=\"lote-parcela\" points=\"187.7 461.2 187.7 494.2 96.7 494.2 86.9 484.2 86.9 461.2 187.7 461.2\"\/>\n\n                <rect id=\"l1_m2\" class=\"lote-parcela\" x=\"222.2\" y=\"90.1\" width=\"61.3\" height=\"37\"\/>\n                <rect id=\"l2_m2\" class=\"lote-parcela\" x=\"222.2\" y=\"127.1\" width=\"61.3\" height=\"35.3\"\/>\n                <rect id=\"l3_m2\" class=\"lote-parcela\" x=\"222.2\" y=\"162.4\" width=\"61.3\" height=\"35.7\"\/>\n                <rect id=\"l4_m2\" class=\"lote-parcela\" x=\"222.2\" y=\"198.1\" width=\"61.3\" height=\"35.1\"\/>\n                <path id=\"l5_m2\" class=\"lote-parcela\" d=\"M231.3,269.3h52.2v-36.1h-61.3v25s.3,10.7,9.1,11.1Z\"\/>\n                <path id=\"l6_m2\" class=\"lote-parcela\" d=\"M334.7,269.3h-51.1s0-36.1,0-36.1h60s0,25,0,25c0,0-.3,10.7-8.9,11.1Z\"\/>\n                <rect id=\"l7_m2\" class=\"lote-parcela\" x=\"283.6\" y=\"198.1\" width=\"60\" height=\"35.1\"\/>\n                <rect id=\"l8_m2\" class=\"lote-parcela\" x=\"283.6\" y=\"162.4\" width=\"60\" height=\"35.7\"\/>\n                <rect id=\"l9_m2\" class=\"lote-parcela\" x=\"283.6\" y=\"127.1\" width=\"60\" height=\"35.3\"\/>\n                <rect id=\"l10_m2\" class=\"lote-parcela\" x=\"283.6\" y=\"90.2\" width=\"60\" height=\"36.9\"\/>\n\n                <polygon id=\"m3_l1\" class=\"lote-parcela\" points=\"486.6 101.4 486.6 119.8 378.7 119.8 378.7 90.4 475.4 90.4 486.6 101.4\"><\/polygon>\n                <rect id=\"m3_l2\" class=\"lote-parcela\" x=\"378.7\" y=\"119.8\" width=\"107.9\" height=\"30.3\"><\/rect>\n                <rect id=\"m3_l3\" class=\"lote-parcela\" x=\"378.7\" y=\"150.1\" width=\"107.9\" height=\"30.3\"><\/rect>\n                <rect id=\"m3_l4\" class=\"lote-parcela\" x=\"378.7\" y=\"180.4\" width=\"107.9\" height=\"29.7\"><\/rect>\n                <rect id=\"m3_l5\" class=\"lote-parcela\" x=\"378.7\" y=\"210.2\" width=\"107.9\" height=\"29.8\"><\/rect>\n                <path id=\"m3_l6\" class=\"lote-parcela\" d=\"M378.7,260v-20h107.9v29.8h-98.6s-8.4-.2-9.3-9.8Z\"><\/path>\n\n                <polygon id=\"m4_l1\" class=\"lote-parcela\" points=\"553.4 101.4 553.4 119.8 661.3 119.8 661.3 90.4 564.6 90.4 553.4 101.4\"><\/polygon>\n                <rect id=\"m4_l2\" class=\"lote-parcela\" x=\"553.4\" y=\"119.8\" width=\"107.9\" height=\"30.3\"><\/rect>\n                <rect id=\"m4_l3\" class=\"lote-parcela\" x=\"553.4\" y=\"150.1\" width=\"107.9\" height=\"30.3\"><\/rect>\n                <rect id=\"m4_l4\" class=\"lote-parcela\" x=\"553.4\" y=\"180.4\" width=\"107.9\" height=\"29.7\"><\/rect>\n                <rect id=\"m4_l5\" class=\"lote-parcela\" x=\"553.4\" y=\"210.2\" width=\"107.9\" height=\"29.8\"><\/rect>\n                <path id=\"m4_l6\" class=\"lote-parcela\" d=\"M661.3,260v-1s0-19,0-19h-107.9s0,29.8,0,29.8h97.4s1.2,0,1.2,0c0,0,8.4-.2,9.3-9.8Z\"><\/path>\n\n                <rect id=\"m5_l1\" class=\"lote-parcela\" x=\"696.3\" y=\"89.8\" width=\"60.5\" height=\"37.4\"><\/rect>\n                <rect id=\"m5_l2\" class=\"lote-parcela\" x=\"696.3\" y=\"127.2\" width=\"60.5\" height=\"35\"><\/rect>\n                <rect id=\"m5_l3\" class=\"lote-parcela\" x=\"696.3\" y=\"162.2\" width=\"60.5\" height=\"36.3\"><\/rect>\n                <rect id=\"m5_l4\" class=\"lote-parcela\" x=\"696.3\" y=\"198.5\" width=\"60.5\" height=\"35\"><\/rect>\n                <path id=\"m5_l5\" class=\"lote-parcela\" d=\"M704.6,269.1h52.2v-35.7h-60.5v26.7s.1,8,8.3,9Z\"><\/path>\n                <rect id=\"m5_l10\" class=\"lote-parcela\" x=\"756.8\" y=\"89.8\" width=\"60.5\" height=\"37.4\"><\/rect>\n                <rect id=\"m5_l9\" class=\"lote-parcela\" x=\"756.8\" y=\"127.2\" width=\"60.5\" height=\"35\"><\/rect>\n                <rect id=\"m5_l8\" class=\"lote-parcela\" x=\"756.8\" y=\"162.2\" width=\"60.5\" height=\"36.3\"><\/rect>\n                <rect id=\"m5_l7\" class=\"lote-parcela\" x=\"756.8\" y=\"198.5\" width=\"60.5\" height=\"35\"><\/rect>\n                <path id=\"m5_l6\" class=\"lote-parcela\" d=\"M808.9,269.1h-52.2v-35.7h60.5v25.8s0,.9,0,.9c0,0-.1,8-8.3,9Z\"><\/path>\n\n                <polygon id=\"m6_l1\" class=\"lote-parcela\" points=\"953.2 100.3 953.2 125.2 852.6 125.2 852.6 89.8 942.5 89.8 953.2 100.3\"><\/polygon>\n                <rect id=\"m6_l2\" class=\"lote-parcela\" x=\"852.6\" y=\"125.2\" width=\"100.6\" height=\"33.2\"><\/rect>\n                <rect id=\"m6_l3\" class=\"lote-parcela\" x=\"852.6\" y=\"158.4\" width=\"100.6\" height=\"33.2\"><\/rect>\n                <rect id=\"m6_l4\" class=\"lote-parcela\" x=\"852.6\" y=\"191.5\" width=\"100.6\" height=\"33.9\"><\/rect>\n                <rect id=\"m6_l5\" class=\"lote-parcela\" x=\"852.6\" y=\"225.4\" width=\"100.6\" height=\"33.6\"><\/rect>\n                <rect id=\"m6_l6\" class=\"lote-parcela\" x=\"852.6\" y=\"259\" width=\"100.6\" height=\"33.6\"><\/rect>\n                <rect id=\"m6_l7\" class=\"lote-parcela\" x=\"852.6\" y=\"292.6\" width=\"100.6\" height=\"33.6\"><\/rect>\n                <rect id=\"m6_l8\" class=\"lote-parcela\" x=\"852.6\" y=\"326.1\" width=\"100.6\" height=\"33.6\"><\/rect>\n                <rect id=\"m6_l9\" class=\"lote-parcela\" x=\"852.6\" y=\"359.7\" width=\"100.6\" height=\"34.5\"><\/rect>\n                <rect id=\"m6_l10\" class=\"lote-parcela\" x=\"852.6\" y=\"394.2\" width=\"100.6\" height=\"33.6\"><\/rect>\n                <rect id=\"m6_l11\" class=\"lote-parcela\" x=\"852.6\" y=\"427.8\" width=\"100.6\" height=\"33.6\"><\/rect>\n                <polygon id=\"m6_l12\" class=\"lote-parcela\" points=\"953.2 484.9 953.2 461.3 852.6 461.3 852.6 494.9 942.9 494.9 953.2 484.9\"><\/polygon>\n\n                <path id=\"l1_m7\" class=\"lote-parcela\" d=\"M231.6,316.7h51.6v36.1h-60.5v-25s.3-10.7,9-11.1Z\"><\/path>\n                <rect id=\"l2_m7\" class=\"lote-parcela\" x=\"222.6\" y=\"352.9\" width=\"60.5\" height=\"34.8\"><\/rect>\n                <rect id=\"l3_m7\" class=\"lote-parcela\" x=\"222.6\" y=\"387.7\" width=\"60.5\" height=\"35.8\"><\/rect>\n                <rect id=\"l4_m7\" class=\"lote-parcela\" x=\"222.6\" y=\"423.5\" width=\"60.5\" height=\"35.8\"><\/rect>\n                <rect id=\"l5_m7\" class=\"lote-parcela\" x=\"222.6\" y=\"459.3\" width=\"60.5\" height=\"35.8\"><\/rect>\n                <rect id=\"l6_m7\" class=\"lote-parcela\" x=\"283.1\" y=\"459.3\" width=\"60.6\" height=\"35.8\"><\/rect>\n                <rect id=\"l7_m7\" class=\"lote-parcela\" x=\"283.1\" y=\"423.5\" width=\"60.6\" height=\"35.8\"><\/rect>\n                <rect id=\"l8_m7\" class=\"lote-parcela\" x=\"283.1\" y=\"387.7\" width=\"60.6\" height=\"35.8\"><\/rect>\n                <rect id=\"l9_m7\" class=\"lote-parcela\" x=\"283.1\" y=\"352.9\" width=\"60.6\" height=\"34.8\"><\/rect>\n                <path id=\"l10_m7\" class=\"lote-parcela\" d=\"M334.7,316.7h-51.6s0,36.1,0,36.1h60.5s0-25,0-25c0,0-.3-10.7-9-11.1Z\"><\/path>\n                <path id=\"l1_m8\" class=\"lote-parcela\" d=\"M387.9,316.5h98.7v34.7h-107.7v-23.6s.3-10.7,9-11.1Z\"><\/path>\n                <rect id=\"l2_m8\" class=\"lote-parcela\" x=\"378.9\" y=\"351.1\" width=\"107.7\" height=\"34.2\"><\/rect>\n                <path id=\"l1_m9\" class=\"lote-parcela\" d=\"M652.2,316.5h-98.7s0,34.7,0,34.7h107.7s0-23.6,0-23.6c0,0-.3-10.7-9-11.1Z\"><\/path>\n                <rect id=\"l2_m9\" class=\"lote-parcela\" x=\"553.5\" y=\"351.1\" width=\"107.7\" height=\"34.2\"><\/rect>\n                <path id=\"l1_m10\" class=\"lote-parcela\" d=\"M696.3,324.7v26.2h60.5v-34.2h-52.2s-7.3,0-8.3,8Z\"><\/path>\n                <rect id=\"l2_m10\" class=\"lote-parcela\" x=\"696.3\" y=\"350.9\" width=\"60.5\" height=\"36.5\"><\/rect>\n                <rect id=\"l3_m10\" class=\"lote-parcela\" x=\"696.3\" y=\"387.4\" width=\"60.5\" height=\"35.8\"><\/rect>\n                <rect id=\"l4_m10\" class=\"lote-parcela\" x=\"696.3\" y=\"423.2\" width=\"60.5\" height=\"35.8\"><\/rect>\n                <rect id=\"l5_m10\" class=\"lote-parcela\" x=\"696.3\" y=\"459\" width=\"60.5\" height=\"35.5\"><\/rect>\n                <rect id=\"l6_m10\" class=\"lote-parcela\" x=\"756.8\" y=\"459\" width=\"60.5\" height=\"35.5\"><\/rect>\n                <rect id=\"l7_m10\" class=\"lote-parcela\" x=\"756.8\" y=\"423.4\" width=\"60.5\" height=\"35.5\"><\/rect>\n                <rect id=\"l8_m10\" class=\"lote-parcela\" x=\"756.8\" y=\"387.4\" width=\"60.5\" height=\"35.8\"><\/rect>\n                <rect id=\"l9_m10\" class=\"lote-parcela\" x=\"756.7\" y=\"350.9\" width=\"60.5\" height=\"36.5\"><\/rect>\n                <path id=\"l10_m10\" class=\"lote-parcela\" d=\"M817.2,324.7v26.2h-60.5v-34.2h52.2s7.3,0,8.3,8Z\"\/>\n            <\/g>\n            <g id=\"capa-labels\"><\/g>\n        <\/svg>\n\n        <div id=\"info-popup\" style=\"position: absolute; display: none; background: white; border-radius: 4px; padding: 15px; box-shadow: 0 5px 25px rgba(0,0,0,0.2); z-index: 100000; min-width: 220px; border-left: 5px solid #333; pointer-events: none;\">\n            <h4 id=\"p-lote\" style=\"margin: 0 0 10px 0; text-transform: uppercase;\">&#8211;<\/h4>\n            <div style=\"font-size: 13px; line-height: 1.5;\">\n                <p style=\"margin: 3px 0;\">Estado: <b id=\"p-est\" style=\"float: right;\">&#8211;<\/b><\/p>\n                <p style=\"margin: 3px 0;\">Superficie: <span id=\"p-sup\" style=\"float: right;\">&#8211;<\/span><\/p>\n                <p style=\"margin: 3px 0;\">Precio: <b id=\"p-pre\" style=\"float: right;\">&#8211;<\/b><\/p>\n            <\/div>\n        <\/div>\n    <\/div>\n<\/div>\n\n<script>\n(function() {\n    const CSV_URL = \"https:\/\/docs.google.com\/spreadsheets\/d\/e\/2PACX-1vRBF_BJcOMFHd49DxSgGg_cgrBYjJr6x85oTjYTeqr0ZKP84CxssfBKbIB2tzcXAA\/pub?output=csv\";\n\n    async function cargarMasterplan() {\n        try {\n            const res = await fetch(CSV_URL);\n            const rawText = await res.text();\n            \n            \/\/ Detecta autom\u00e1ticamente si el Sheet usa coma o punto y coma\n            const sep = rawText.includes(';') ? ';' : ',';\n            const filas = rawText.split(\"\\n\").slice(1);\n            const labelsLayer = document.getElementById('capa-labels');\n\n            filas.forEach(f => {\n                const c = f.split(sep);\n                if (c.length < 6) return;\n\n                \/\/ MAPEO DE COLUMNAS SOLICITADO\n                const idSheet = c[0].trim().toLowerCase(); \/\/ Columna A\n                const sup = c[3] ? c[3].trim() : \"-\";      \/\/ Columna D\n                const precio = c[4] ? c[4].trim() : \"-\";   \/\/ Columna E\n                const estado = c[5] ? c[5].trim().toLowerCase() : \"\"; \/\/ Columna F\n\n                \/\/ BUSCADOR DUAL: Encuentra el lote aunque el ID est\u00e9 al rev\u00e9s\n                let el = document.getElementById(idSheet);\n                if (!el &#038;&#038; idSheet.includes('_')) {\n                    const p = idSheet.split('_');\n                    el = document.getElementById(p[1] + '_' + p[0]);\n                }\n\n                if (el) {\n                    let color = \"#bdc3c7\";\n                    if (estado.includes(\"dispo\")) color = \"#27ae60\";\n                    if (estado.includes(\"reser\")) color = \"#f1c40f\";\n                    if (estado.includes(\"vend\")) color = \"#e74c3c\";\n                    \n                    el.style.fill = color;\n\n                    \/\/ Dibujar Etiqueta L1, L2...\n                    const box = el.getBBox();\n                    const txt = document.createElementNS(\"http:\/\/www.w3.org\/2000\/svg\", \"text\");\n                    txt.setAttribute(\"x\", box.x + box.width \/ 2);\n                    txt.setAttribute(\"y\", box.y + box.height \/ 2);\n                    txt.setAttribute(\"class\", \"lote-label\");\n                    txt.setAttribute(\"fill\", color === \"#f1c40f\" ? \"#1a1a1a\" : \"#fff\");\n                    \n                    \/\/ Extraer solo la parte del Lote para el texto (ej: de m1_l1 saca L1)\n                    const labelTxt = idSheet.split('_').find(x => x.includes('l')) || idSheet;\n                    txt.textContent = labelTxt.toUpperCase();\n                    labelsLayer.appendChild(txt);\n\n                    el.onclick = (e) => {\n                        const pop = document.getElementById('info-popup');\n                        document.getElementById('p-lote').innerText = idSheet.toUpperCase().replace('_',' ');\n                        document.getElementById('p-est').innerText = estado.toUpperCase();\n                        document.getElementById('p-sup').innerText = sup + \" m\u00b2\";\n                        document.getElementById('p-pre').innerText = precio;\n                        \n                        pop.style.display = \"block\";\n                        pop.style.borderLeftColor = color;\n                        const rect = document.getElementById('map-interaction-container').getBoundingClientRect();\n                        pop.style.left = (e.clientX - rect.left + 15) + \"px\";\n                        pop.style.top = (e.clientY - rect.top + 15) + \"px\";\n                    };\n                }\n            });\n        } catch (err) { console.error(\"Error al sincronizar datos:\", err); }\n    }\n\n    document.addEventListener('click', (e) => {\n        if (!e.target.classList.contains('lote-parcela')) {\n            document.getElementById('info-popup').style.display = \"none\";\n        }\n    });\n\n    setTimeout(cargarMasterplan, 500);\n})();\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>Disponible Reservado Vendido &#8211; Estado: &#8211; Superficie: &#8211; Precio: &#8211;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"content-type":"","_joinchat":[],"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1609","post","type-post","status-publish","format-standard","hentry","category-blog"],"_links":{"self":[{"href":"https:\/\/sygsa.com.ar\/index.php\/wp-json\/wp\/v2\/posts\/1609","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sygsa.com.ar\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sygsa.com.ar\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sygsa.com.ar\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sygsa.com.ar\/index.php\/wp-json\/wp\/v2\/comments?post=1609"}],"version-history":[{"count":14,"href":"https:\/\/sygsa.com.ar\/index.php\/wp-json\/wp\/v2\/posts\/1609\/revisions"}],"predecessor-version":[{"id":1629,"href":"https:\/\/sygsa.com.ar\/index.php\/wp-json\/wp\/v2\/posts\/1609\/revisions\/1629"}],"wp:attachment":[{"href":"https:\/\/sygsa.com.ar\/index.php\/wp-json\/wp\/v2\/media?parent=1609"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sygsa.com.ar\/index.php\/wp-json\/wp\/v2\/categories?post=1609"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sygsa.com.ar\/index.php\/wp-json\/wp\/v2\/tags?post=1609"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}