{"id":8648,"date":"2024-06-01T15:58:22","date_gmt":"2024-06-01T15:58:22","guid":{"rendered":"https:\/\/pala-hack.com\/padelracket-vergelijker\/"},"modified":"2024-06-07T16:19:22","modified_gmt":"2024-06-07T16:19:22","slug":"comparatore","status":"publish","type":"page","link":"https:\/\/pala-hack.com\/it\/comparatore\/","title":{"rendered":"Comparatore di racchette da padel"},"content":{"rendered":"    <div id=\"comparator-v2-wrapper\" class=\"comparator-v2-wrapper my-5\">\n        \n        <!-- Header Section -->\n        <div class=\"row mb-4\">\n            <div class=\"col-12 text-center\">\n                <h2 class=\"mb-3 font-weight-bold\">Confronto racchette da padel<\/h2>\n                <p class=\"text-muted\" style=\"max-width: 600px; margin: 0 auto; font-size: 1.1rem;\">\n                    Confronta fino a 4 racchette con dati propri e test in campo.                <\/p>\n            <\/div>\n        <\/div>\n\n        <!-- Search Bar Section -->\n        <div class=\"row mb-4 justify-content-center\">\n            <div class=\"col-12 col-md-8\">\n                <div class=\"form-group position-relative shadow-sm rounded-pill p-1 bg-white border\">\n                    <label class=\"visually-hidden\" for=\"pala-search-v2\">Cerca racchetta (ad esempio Hack, Vertex o Delta)<\/label>\n                    <input type=\"text\" id=\"pala-search-v2\" autocomplete=\"off\" class=\"form-control form-control-lg border-0 rounded-pill px-4\" placeholder=\"Cerca racchetta (ad esempio Hack, Vertex o Delta)\" style=\"box-shadow: none;\">\n                    <div id=\"suggestions-v2\" class=\"suggestions-dropdown shadow-lg rounded bg-white\" style=\"display: none; position: absolute; width: 100%; top: 110%; left: 0; z-index: 1050; max-height: 250px; overflow-y: auto;\">\n                    <\/div>\n                <\/div>\n            <\/div>\n        <\/div>\n\n        <!-- Dynamic Content Area -->\n        <div id=\"comparator-v2-dynamic-area\">\n            <!-- Rendered by AJAX -->\n            <div class=\"text-center py-5\">\n                <p class=\"text-muted\">Cerca una racchetta per iniziare il confronto.<\/p>\n            <\/div>\n        <\/div>\n\n        <!-- Sugerencias Din\u00e1micas V2 -->\n        <div id=\"comparator-suggestions-visual-v2\" class=\"row justify-content-center mt-5 pt-4\">\n            <h2 class=\"mb-4 text-center col-12 font-weight-bold\">Selezione rapida<\/h2>\n            <div class=\"col-12 col-md-6 col-lg-4 mb-3 flex-fill\"><div class=\"card p-3 shadow-sm h-100 border-0 rounded text-center d-flex flex-column\" style=\"transition: transform 0.2s;\"><h6 class=\"mb-3 font-weight-bold\" style=\"color: #495057; font-size: 1rem;\">Top 4 Miglior punteggio<\/h6><ul class=\"list-unstyled text-left mb-4 px-2 flex-grow-1\" style=\"font-size: 0.85rem; line-height: 1.5;\"><li class=\"mb-2 text-muted border-bottom pb-1\"><span class=\"font-weight-bold\" style=\"color: #000; width: 25px; display: inline-block;\">9.1<\/span> <span style=\"font-size: 0.8rem;\">Head Coello Pro 2026<\/span><\/li><li class=\"mb-2 text-muted border-bottom pb-1\"><span class=\"font-weight-bold\" style=\"color: #000; width: 25px; display: inline-block;\">9.0<\/span> <span style=\"font-size: 0.8rem;\">Nox AT10 Luxury Genius ...<\/span><\/li><li class=\"mb-2 text-muted border-bottom pb-1\"><span class=\"font-weight-bold\" style=\"color: #000; width: 25px; display: inline-block;\">9.0<\/span> <span style=\"font-size: 0.8rem;\">Nox AT10 Luxury Genius ...<\/span><\/li><li class=\"mb-2 text-muted border-bottom pb-1\"><span class=\"font-weight-bold\" style=\"color: #000; width: 25px; display: inline-block;\">9.0<\/span> <span style=\"font-size: 0.8rem;\">Bullpadel Vertex 05 Jua...<\/span><\/li><\/ul><button class=\"btn btn-dark rounded-pill suggestion-load-v2 px-4 shadow-sm font-weight-bold mt-auto mx-auto\" style=\"font-size: 0.85rem; width: 80%;\" data-pala-ids=\"78977,76679,76671,75367\">Vedi confronto<\/button><\/div><\/div><div class=\"col-12 col-md-6 col-lg-4 mb-3 flex-fill\"><div class=\"card p-3 shadow-sm h-100 border-0 rounded text-center d-flex flex-column\" style=\"transition: transform 0.2s;\"><h6 class=\"mb-3 font-weight-bold\" style=\"color: #495057; font-size: 1rem;\">Top 4 Potenza<\/h6><ul class=\"list-unstyled text-left mb-4 px-2 flex-grow-1\" style=\"font-size: 0.85rem; line-height: 1.5;\"><li class=\"mb-2 text-muted border-bottom pb-1\"><span class=\"font-weight-bold\" style=\"color: #000; width: 25px; display: inline-block;\">8.5<\/span> <span style=\"font-size: 0.8rem;\">Oxdog Ultimate Pro Plus...<\/span><\/li><li class=\"mb-2 text-muted border-bottom pb-1\"><span class=\"font-weight-bold\" style=\"color: #000; width: 25px; display: inline-block;\">8.5<\/span> <span style=\"font-size: 0.8rem;\">Siux Fenix Pro Glow Pur...<\/span><\/li><li class=\"mb-2 text-muted border-bottom pb-1\"><span class=\"font-weight-bold\" style=\"color: #000; width: 25px; display: inline-block;\">8.7<\/span> <span style=\"font-size: 0.8rem;\">Nox AT10 Genius Attack ...<\/span><\/li><li class=\"mb-2 text-muted border-bottom pb-1\"><span class=\"font-weight-bold\" style=\"color: #000; width: 25px; display: inline-block;\">8.9<\/span> <span style=\"font-size: 0.8rem;\">Babolat Technical Viper...<\/span><\/li><\/ul><button class=\"btn btn-dark rounded-pill suggestion-load-v2 px-4 shadow-sm font-weight-bold mt-auto mx-auto\" style=\"font-size: 0.85rem; width: 80%;\" data-pala-ids=\"35434,91161,47624,82705\">Vedi confronto<\/button><\/div><\/div><div class=\"col-12 col-md-6 col-lg-4 mb-3 flex-fill\"><div class=\"card p-3 shadow-sm h-100 border-0 rounded text-center d-flex flex-column\" style=\"transition: transform 0.2s;\"><h6 class=\"mb-3 font-weight-bold\" style=\"color: #495057; font-size: 1rem;\">Top 4 Controllo<\/h6><ul class=\"list-unstyled text-left mb-4 px-2 flex-grow-1\" style=\"font-size: 0.85rem; line-height: 1.5;\"><li class=\"mb-2 text-muted border-bottom pb-1\"><span class=\"font-weight-bold\" style=\"color: #000; width: 25px; display: inline-block;\">8.6<\/span> <span style=\"font-size: 0.8rem;\">Siux Spyder Lite Ctrl 3...<\/span><\/li><li class=\"mb-2 text-muted border-bottom pb-1\"><span class=\"font-weight-bold\" style=\"color: #000; width: 25px; display: inline-block;\">8.8<\/span> <span style=\"font-size: 0.8rem;\">Babolat Counter Viper 2...<\/span><\/li><li class=\"mb-2 text-muted border-bottom pb-1\"><span class=\"font-weight-bold\" style=\"color: #000; width: 25px; display: inline-block;\">8.5<\/span> <span style=\"font-size: 0.8rem;\">Royal Padel 34 Aniversa...<\/span><\/li><li class=\"mb-2 text-muted border-bottom pb-1\"><span class=\"font-weight-bold\" style=\"color: #000; width: 25px; display: inline-block;\">8.4<\/span> <span style=\"font-size: 0.8rem;\">Royal Padel 34 Aniversa...<\/span><\/li><\/ul><button class=\"btn btn-dark rounded-pill suggestion-load-v2 px-4 shadow-sm font-weight-bold mt-auto mx-auto\" style=\"font-size: 0.85rem; width: 80%;\" data-pala-ids=\"23341,52189,21597,21653\">Vedi confronto<\/button><\/div><\/div><div class=\"col-12 col-md-6 col-lg-4 mb-3 flex-fill\"><div class=\"card p-3 shadow-sm h-100 border-0 rounded text-center d-flex flex-column\" style=\"transition: transform 0.2s;\"><h6 class=\"mb-3 font-weight-bold\" style=\"color: #495057; font-size: 1rem;\">Top 4 Polivalenti<\/h6><ul class=\"list-unstyled text-left mb-4 px-2 flex-grow-1\" style=\"font-size: 0.85rem; line-height: 1.5;\"><li class=\"mb-2 text-muted border-bottom pb-1\"><span class=\"font-weight-bold\" style=\"color: #000; width: 25px; display: inline-block;\">9.0<\/span> <span style=\"font-size: 0.8rem;\">Nox AT10 Luxury Genius ...<\/span><\/li><li class=\"mb-2 text-muted border-bottom pb-1\"><span class=\"font-weight-bold\" style=\"color: #000; width: 25px; display: inline-block;\">9.0<\/span> <span style=\"font-size: 0.8rem;\">Nox AT10 Luxury Genius ...<\/span><\/li><li class=\"mb-2 text-muted border-bottom pb-1\"><span class=\"font-weight-bold\" style=\"color: #000; width: 25px; display: inline-block;\">9.0<\/span> <span style=\"font-size: 0.8rem;\">Siux Electra Pro Shadow...<\/span><\/li><li class=\"mb-2 text-muted border-bottom pb-1\"><span class=\"font-weight-bold\" style=\"color: #000; width: 25px; display: inline-block;\">9.0<\/span> <span style=\"font-size: 0.8rem;\">Siux Electra Pro Fire R...<\/span><\/li><\/ul><button class=\"btn btn-dark rounded-pill suggestion-load-v2 px-4 shadow-sm font-weight-bold mt-auto mx-auto\" style=\"font-size: 0.85rem; width: 80%;\" data-pala-ids=\"76671,76679,82369,82441\">Vedi confronto<\/button><\/div><\/div>        <\/div>\n\n        <!-- Diccionario de puntuaciones -->\n        <div class=\"row mt-5 mb-5 pb-5\">\n            <div class=\"col-12 col-md-11 mx-auto\">\n                <h3 class=\"mb-4 text-center font-weight-bold\" style=\"color: #212529;\">\u00bfQu\u00e9 significa cada puntuaci\u00f3n?<\/h3>\n                <div class=\"row\">\n                    <!-- Potencia -->\n                    <div class=\"col-12 col-md-6 mb-3\">\n                        <div class=\"card comparator-info-card border-0 shadow-sm rounded-lg p-4\">\n                            <div class=\"comparator-info-heading\">\n                                <div class=\"rounded-circle d-flex align-items-center justify-content-center mr-3\" style=\"width: 45px; height: 45px; background: rgba(247, 37, 133, 0.1); color: #f72585; font-size: 1.2rem;\">\n                                    <i class=\"fa fa-bolt\"><\/i>\n                                <\/div>\n                                <h5 class=\"font-weight-bold mb-0 text-dark\">Potencia<\/h5>\n                            <\/div>\n                            <p class=\"text-muted small mb-0\" style=\"line-height: 1.6;\">Mide la capacidad de la pala para imprimir velocidad a la bola con el m\u00ednimo esfuerzo. Vital para definir puntos, remates y juego ofensivo.<\/p>\n                        <\/div>\n                    <\/div>\n                    <!-- Control -->\n                    <div class=\"col-12 col-md-6 mb-3\">\n                        <div class=\"card comparator-info-card border-0 shadow-sm rounded-lg p-4\">\n                            <div class=\"comparator-info-heading\">\n                                <div class=\"rounded-circle d-flex align-items-center justify-content-center mr-3\" style=\"width: 45px; height: 45px; background: rgba(0, 180, 216, 0.1); color: #00b4d8; font-size: 1.2rem;\">\n                                    <i class=\"fa fa-crosshairs\"><\/i>\n                                <\/div>\n                                <h5 class=\"font-weight-bold mb-0 text-dark\">Control<\/h5>\n                            <\/div>\n                            <p class=\"text-muted small mb-0\" style=\"line-height: 1.6;\">Precisi\u00f3n y facilidad para dirigir la bola. Fundamental para defender desde el fondo de pista, hacer globos y bandejas precisas al mil\u00edmetro.<\/p>\n                        <\/div>\n                    <\/div>\n                    <!-- Salida -->\n                    <div class=\"col-12 col-md-6 mb-3\">\n                        <div class=\"card comparator-info-card border-0 shadow-sm rounded-lg p-4\">\n                            <div class=\"comparator-info-heading\">\n                                <div class=\"rounded-circle d-flex align-items-center justify-content-center mr-3\" style=\"width: 45px; height: 45px; background: rgba(67, 97, 238, 0.1); color: #4361ee; font-size: 1.2rem;\">\n                                    <i class=\"fa fa-rocket\"><\/i>\n                                <\/div>\n                                <h5 class=\"font-weight-bold mb-0 text-dark\">Salida de Bola<\/h5>\n                            <\/div>\n                            <p class=\"text-muted small mb-0\" style=\"line-height: 1.6;\">La propulsi\u00f3n natural que el n\u00facleo otorga a la bola sin hacer fuerza. \u00datil para recuperar bolas lentas, aunque excesiva salida penaliza bloqueos.<\/p>\n                        <\/div>\n                    <\/div>\n                    <!-- Manejabilidad -->\n                    <div class=\"col-12 col-md-6 mb-3\">\n                        <div class=\"card comparator-info-card border-0 shadow-sm rounded-lg p-4\">\n                            <div class=\"comparator-info-heading\">\n                                <div class=\"rounded-circle d-flex align-items-center justify-content-center mr-3\" style=\"width: 45px; height: 45px; background: rgba(255, 183, 3, 0.1); color: #ffb703; font-size: 1.2rem;\">\n                                    <i class=\"fa fa-feather\"><\/i>\n                                <\/div>\n                                <h5 class=\"font-weight-bold mb-0 text-dark\">Manejabilidad<\/h5>\n                            <\/div>\n                            <p class=\"text-muted small mb-0\" style=\"line-height: 1.6;\">Indica lo \u00e1gil que se siente al moverse (depende del balance y peso). Si es alta, reaccionar\u00e1s a voleas fulminantes y evitar\u00e1s fatiga en el brazo.<\/p>\n                        <\/div>\n                    <\/div>\n                    <!-- Punto Dulce -->\n                    <div class=\"col-12 col-md-6 mb-3\">\n                        <div class=\"card comparator-info-card border-0 shadow-sm rounded-lg p-4\">\n                            <div class=\"comparator-info-heading\">\n                                <div class=\"rounded-circle d-flex align-items-center justify-content-center mr-3\" style=\"width: 45px; height: 45px; background: rgba(131, 56, 236, 0.1); color: #8338ec; font-size: 1.2rem;\">\n                                    <i class=\"fa fa-bullseye\"><\/i>\n                                <\/div>\n                                <h5 class=\"font-weight-bold mb-0 text-dark\">Punto Dulce<\/h5>\n                            <\/div>\n                            <p class=\"text-muted small mb-0\" style=\"line-height: 1.6;\">Es el \u00e1rea \u00f3ptima de golpeo. A mayor puntuaci\u00f3n, m\u00e1s amplio es, por lo que perdonar\u00e1 m\u00e1s los impactos descentrados sin perder eficacia.<\/p>\n                        <\/div>\n                    <\/div>\n                    <!-- Nota Total -->\n                    <div class=\"col-12 col-md-6 mb-3\">\n                        <div class=\"card comparator-info-card border-0 shadow-sm rounded-lg p-4\" style=\"border: 1px solid rgba(8, 186, 12, 0.2) !important;\">\n                            <div class=\"comparator-info-heading\">\n                                <div class=\"rounded-circle d-flex align-items-center justify-content-center mr-3\" style=\"width: 45px; height: 45px; background: rgba(8, 186, 12, 0.1); color: #08ba0c; font-size: 1.2rem;\">\n                                    <i class=\"fa fa-star\"><\/i>\n                                <\/div>\n                                <h5 class=\"font-weight-bold mb-0 text-dark\">Nota Total<\/h5>\n                            <\/div>\n                            <p class=\"text-muted small mb-0\" style=\"line-height: 1.6;\">Es una media ponderada que mide el rendimiento general de la pala sumando sus virtudes tecnol\u00f3gicas, dise\u00f1o, jugabilidad y materiales. Una puntuaci\u00f3n sobre 8.5 indica un producto de muy alta categor\u00eda.<\/p>\n                        <\/div>\n                    <\/div>\n                <\/div>\n            <\/div>\n        <\/div>\n\n    <\/div>\n\n    <!-- Frontend Script for V2 Logic -->\n        <style>\n        #comparatorTabs {\n            border-bottom: 2px solid #f1f3f5 !important;\n            flex-wrap: nowrap;\n            overflow-x: auto;\n            overflow-y: hidden;\n            -webkit-overflow-scrolling: touch;\n            gap: 5px;\n            padding-bottom: 0;\n            margin-bottom: 0;\n        }\n        #comparator-v2-wrapper .comparator-info-card {\n            height: auto;\n            min-height: 0;\n            background: #fff;\n            border-radius: 12px;\n        }\n        #comparator-v2-wrapper .comparator-info-card p {\n            max-width: 62ch;\n        }\n        #comparator-v2-wrapper .comparator-info-heading {\n            display: flex;\n            align-items: center;\n            gap: 14px;\n            min-height: 45px;\n            margin-bottom: 20px;\n        }\n        #comparator-v2-wrapper .comparator-info-heading > div {\n            flex: 0 0 45px;\n            margin-right: 0 !important;\n        }\n        #comparator-v2-wrapper .comparator-info-heading h5 {\n            margin: 0 !important;\n            line-height: 1.25;\n        }\n        .comparator-actions {\n            max-width: 1320px;\n            margin-left: auto;\n            margin-right: auto;\n        }\n        .comparator-actions-top {\n            margin-bottom: 1rem;\n        }\n        .summary-top {\n            max-width: 1320px;\n            margin-left: auto;\n            margin-right: auto;\n        }\n        .summary-top > .row {\n            justify-content: center;\n        }\n        .comparator-results-panel {\n            max-width: 1420px;\n            margin-left: auto;\n            margin-right: auto;\n        }\n        .comparator-tabs-inner {\n            width: 100%;\n            max-width: 820px;\n            margin-left: auto !important;\n            margin-right: auto !important;\n            float: none !important;\n        }\n        #comparatorTabsContent {\n            max-width: 1260px;\n            margin-left: auto;\n            margin-right: auto;\n        }\n        .comparator-tab-track {\n            display: flex;\n            flex-wrap: wrap;\n            justify-content: center;\n            gap: 1rem;\n            padding-bottom: 1rem;\n        }\n        .comparator-tab-item {\n            flex: 0 1 280px;\n            max-width: 300px;\n            width: 100%;\n        }\n        #comparatorTabs .nav-item {\n            white-space: nowrap;\n        }\n        #comparatorTabs .nav-link {\n            transition: color 0.2s ease, border-color 0.2s ease;\n            background-color: transparent !important;\n            border: none !important;\n            border-bottom: 3px solid transparent !important;\n            padding: 15px 15px;\n            font-size: 0.95rem;\n            color: #6c757d;\n            margin-bottom: -2px;\n        }\n        #comparatorTabs .nav-link:hover {\n            color: #212529;\n        }\n        #comparatorTabs .nav-link.active {\n            background-color: transparent !important;\n            box-shadow: none !important;\n            color: #212529 !important;\n            border-bottom: 3px solid #f72585 !important;\n        }\n        #comparatorTabs::-webkit-scrollbar {\n            height: 4px;\n        }\n        #comparatorTabs::-webkit-scrollbar-thumb {\n            background-color: #dee2e6;\n            border-radius: 4px;\n        }\n\t\t.page-comparador,\n\t\t.page-comparador > .container,\n\t\t#comparator-v2-wrapper {\n\t\t\tmax-width: 100%;\n\t\t}\n\t\t#comparator-v2-wrapper h2,\n\t\t#comparator-v2-wrapper h3,\n\t\t#comparator-v2-wrapper h6 {\n\t\t\toverflow-wrap: anywhere;\n\t\t}\n        @media (max-width: 575.98px) {\n\t\t\tbody {\n\t\t\t\toverflow-x: hidden;\n\t\t\t}\n\t\t\t.page-comparador {\n\t\t\t\tpadding-left: 0 !important;\n\t\t\t\tpadding-right: 0 !important;\n\t\t\t}\n\t\t\t.page-comparador > .container {\n\t\t\t\twidth: 100%;\n\t\t\t\tpadding-left: 12px;\n\t\t\t\tpadding-right: 12px;\n\t\t\t}\n\t\t\t.page-comparador h1 {\n\t\t\t\tfont-size: 2rem;\n\t\t\t\tline-height: 1.2;\n\t\t\t\twhite-space: normal;\n\t\t\t\toverflow-wrap: anywhere;\n\t\t\t}\n\t\t\t#comparator-v2-wrapper {\n\t\t\t\tmargin-top: 2rem !important;\n\t\t\t\toverflow: hidden;\n\t\t\t}\n\t\t\t#comparator-v2-wrapper > .row {\n\t\t\t\tmargin-left: 0;\n\t\t\t\tmargin-right: 0;\n\t\t\t}\n\t\t\t#comparator-v2-wrapper .summary-top > .row {\n\t\t\t\tdisplay: grid;\n\t\t\t\tgrid-template-columns: repeat(2, minmax(0, 1fr));\n\t\t\t\tpadding-left: 0 !important;\n\t\t\t\tpadding-right: 0 !important;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\t\t\t#comparator-v2-wrapper .summary-top > .row > [class*=\"col-\"] {\n\t\t\t\twidth: auto;\n\t\t\t\tmax-width: none;\n\t\t\t\tpadding: 4px !important;\n\t\t\t\tmin-width: 0;\n\t\t\t}\n\t\t\t#comparator-v2-wrapper .summary-top .card {\n\t\t\t\tmin-width: 0;\n\t\t\t}\n\t\t\t#comparator-v2-wrapper .summary-top h6,\n\t\t\t#comparator-v2-wrapper .summary-top p {\n\t\t\t\toverflow-wrap: anywhere;\n\t\t\t}\n\t\t\t#tab-diagrama .position-relative {\n\t\t\t\theight: 360px !important;\n\t\t\t}\n            #comparatorTabs .nav-link {\n                padding: 12px 10px;\n                font-size: 0.8rem;\n            }\n            .comparator-tab-track {\n                flex-wrap: nowrap;\n                justify-content: flex-start;\n                overflow-x: auto;\n                gap: 0.5rem;\n            }\n            .comparator-tab-item {\n                flex: 0 0 min(86vw, 320px);\n                max-width: none;\n            }\n        }\n        <\/style>\n    <script>\n    document.addEventListener('DOMContentLoaded', function () {\n        let chartInstance = null;\n\t\tconst ui = {\"title\":\"Confronto racchette da padel\",\"intro\":\"Confronta fino a 4 racchette con dati propri e test in campo.\",\"search\":\"Cerca racchetta (ad esempio Hack, Vertex o Delta)\",\"empty\":\"Cerca una racchetta per iniziare il confronto.\",\"quick\":\"Selezione rapida\",\"loading\":\"Caricamento confronto...\",\"error\":\"Impossibile caricare il confronto.\",\"none\":\"Nessuna racchetta trovata.\",\"limit\":\"Hai raggiunto il limite di 4 racchette.\",\"add\":\"Aggiungi racchetta\",\"reset\":\"Azzera confronto\",\"summary\":\"Riepilogo grafico\",\"scores\":\"Punteggi\",\"specs\":\"Caratteristiche\",\"score\":\"Punteggio\",\"price\":\"Prezzo\",\"pvp\":\"Prezzo di listino\",\"buy\":\"Acquista\",\"power\":\"Potenza\",\"control\":\"Controllo\",\"output\":\"Uscita di palla\",\"handling\":\"Maneggevolezza\",\"sweet_spot\":\"Punto dolce\",\"face\":\"Faccia\",\"core\":\"Nucleo\",\"touch\":\"Tocco\",\"season\":\"Stagione\",\"shape\":\"Forma\",\"replace\":\"Sostituisci racchetta\",\"absolute\":\"Miglior punteggio\",\"value\":\"Qualit\u00e0-prezzo\",\"versatile\":\"Polivalenti\",\"view\":\"Vedi confronto\",\"remove\":\"Rimuovi racchetta\"};\n\t\tconst track = function (eventName, details) {\n\t\t\tif (typeof window.phTrackComparator === 'function') {\n\t\t\t\twindow.phTrackComparator(eventName, details);\n\t\t\t}\n\t\t};\n\n        function getCompareArrayV2() {\n            let compareData = localStorage.getItem('compare');\n            let compareArray = [];\n            if (compareData) {\n                try {\n                    compareArray = JSON.parse(compareData);\n                    if (!Array.isArray(compareArray)) {\n                        compareArray = [];\n                    }\n                } catch (e) {\n                    compareArray = [];\n                }\n            }\n            return compareArray.map(String).slice(0, 4); \/\/ Up to 4\n        }\n\n        function getCompareArrayFromUrl() {\n            const value = new URL(window.location.href).searchParams.get('compare_ids');\n            if (!value) return null;\n            return [...new Set(value.split(',').map(id => parseInt(id, 10)).filter(id => id > 0))]\n                .slice(0, 4)\n                .map(String);\n        }\n\n        function saveCompareArray(ids) {\n            const normalized = [...new Set(ids.map(String))].slice(0, 4);\n            localStorage.setItem('compare', JSON.stringify(normalized));\n            const url = new URL(window.location.href);\n            if (normalized.length) {\n                url.searchParams.set('compare_ids', normalized.join(','));\n            } else {\n                url.searchParams.delete('compare_ids');\n            }\n            window.history.replaceState({}, '', url);\n            return normalized;\n        }\n\n        const urlCompare = getCompareArrayFromUrl();\n        if (urlCompare !== null) {\n            saveCompareArray(urlCompare);\n        }\n\n        const dynamicArea = document.getElementById('comparator-v2-dynamic-area');\n        const searchInput = document.getElementById('pala-search-v2');\n        const suggestionsDiv = document.getElementById('suggestions-v2');\n\t\tlet replacementId = null;\n\n        function updateComparatorUI() {\n            let ids = getCompareArrayV2();\n            if (ids.length === 0) {\n                dynamicArea.innerHTML = `<div class=\"text-center py-5 border rounded bg-light\"><p class=\"text-muted mb-0\">${ui.empty}<\/p><\/div>`;\n                return;\n            }\n\n            dynamicArea.innerHTML = `<div class=\"text-center py-5\"><div class=\"spinner-border text-primary\" role=\"status\"><\/div><p class=\"mt-2 text-muted\">${ui.loading}<\/p><\/div>`;\n\n            const ajaxUrl = 'https:\/\/pala-hack.com\/wp-admin\/admin-ajax.php';\n            const fetchUrl = `${ajaxUrl}?action=show_comparator&compare_ids=${ids.join(',')}`;\n\n            fetch(fetchUrl)\n                .then(res => res.json())\n                .then(data => {\n                    if (data.success) {\n                        dynamicArea.innerHTML = data.html;\n                        \n                        \/\/ Set up tabs behavior if using Bootstrap's JS plugin via vanilla JS fallback\n                        const tabs = document.querySelectorAll('#comparatorTabs a[data-bs-toggle=\"tab\"]');\n                        tabs.forEach(tab => {\n                            tab.addEventListener('click', function (e) {\n                                e.preventDefault();\n                                tabs.forEach(t => t.classList.remove('active'));\n                                this.classList.add('active');\n                                \n                                const targetId = this.getAttribute('href');\n                                const panes = document.querySelectorAll('.tab-pane');\n                                panes.forEach(p => {\n                                    p.classList.remove('show', 'active');\n                                });\n                                document.querySelector(targetId).classList.add('show', 'active');\n                            });\n                        });\n\n                        renderRadarChart(data.chartData);\n                    } else {\n                        dynamicArea.innerHTML = `<div class=\"alert alert-danger\">${ui.error}<\/div>`;\n                    }\n                })\n                .catch(err => console.error(err));\n        }\n\n        function renderRadarChart(chartData) {\n            const canvas = document.getElementById('radarChartV2');\n            if (!canvas) return;\n            const ctx = canvas.getContext('2d');\n            \n            if (chartInstance) {\n                chartInstance.destroy();\n            }\n\n            if (!chartData || chartData.datasets.length === 0) {\n                return;\n            }\n\n            chartInstance = new Chart(ctx, {\n                type: 'radar',\n                data: chartData,\n                options: {\n                    responsive: true,\n                    maintainAspectRatio: false,\n                    layout: {\n                        padding: { bottom: 20 }\n                    },\n                    scales: {\n                        r: {\n                            angleLines: { display: true, color: 'rgba(0, 0, 0, 0.1)' },\n                            suggestedMin: 0,\n                            suggestedMax: 10,\n                            grid: { color: 'rgba(0, 0, 0, 0.05)' },\n                            pointLabels: {\n                                font: { size: window.innerWidth > 768 ? 13 : 11, family: \"'Inter', sans-serif\" },\n                                color: '#333',\n                                padding: 15\n                            },\n                            ticks: {\n                                display: true,\n                                min: 0,\n                                max: 10,\n                                stepSize: 2,\n                                color: '#999',\n                                backdropColor: 'transparent',\n                                z: 10,\n                                font: { size: 10, family: \"'Inter', sans-serif\" },\n                                callback: function(value, index, values) {\n                                    if(value === 0) return '';\n                                    return value * 10; \/\/ Output 20, 40, 60, 80, 100 as requested\n                                }\n                            }\n                        }\n                    },\n                    plugins: {\n                        legend: { \n                            position: 'top',\n                            labels: {\n                                usePointStyle: true,\n                                pointStyle: 'circle',\n                                padding: 20,\n                                font: { family: \"'Inter', sans-serif\" }\n                            }\n                        },\n                        tooltip: {\n                            backgroundColor: 'rgba(0,0,0,0.8)',\n                            titleFont: { size: 14, family: \"'Inter', sans-serif\" },\n                            bodyFont: { size: 13, family: \"'Inter', sans-serif\" }\n                        }\n                    }\n                }\n            });\n        }\n\n        \/\/ Search logic\n        if (searchInput) {\n            let debounceTimer;\n            searchInput.addEventListener('input', function () {\n                clearTimeout(debounceTimer);\n                const query = this.value.trim();\n                let currentCompare = getCompareArrayV2();\n                if (query.length >= 2 && (currentCompare.length < 4 || replacementId)) {\n                    debounceTimer = setTimeout(() => {\n                        const ajaxUrl = 'https:\/\/pala-hack.com\/wp-admin\/admin-ajax.php';\n                        fetch(`${ajaxUrl}?action=search_palas&query=${encodeURIComponent(query)}&exclude_ids=${currentCompare.join(',')}`)\n                            .then(res => res.json())\n                            .then(data => {\n                                suggestionsDiv.innerHTML = '';\n                                if (data.length > 0) {\n                                    suggestionsDiv.style.display = 'block';\n                                    data.forEach(pala => {\n                                        const option = document.createElement('div');\n                                        option.className = 'p-3 border-bottom result-item';\n                                        option.style.cursor = 'pointer';\n                                        option.textContent = pala.title;\n                                        option.onclick = function() {\n                                            let newestCompare = getCompareArrayV2();\n\t\t\t\t\t\t\t\t\t\t\tif (replacementId) {\n\t\t\t\t\t\t\t\t\t\t\t\tnewestCompare = newestCompare.map(id => id === replacementId ? String(pala.id) : id);\n\t\t\t\t\t\t\t\t\t\t\t\tnewestCompare = saveCompareArray(newestCompare);\n\t\t\t\t\t\t\t\t\t\t\t\ttrack('comparator_add', { product_id: String(pala.id), replaced_product_id: replacementId, selection_count: newestCompare.length, origin: 'replace' });\n\t\t\t\t\t\t\t\t\t\t\t\treplacementId = null;\n\t\t\t\t\t\t\t\t\t\t\t\tsearchInput.value = '';\n\t\t\t\t\t\t\t\t\t\t\t\tsuggestionsDiv.style.display = 'none';\n\t\t\t\t\t\t\t\t\t\t\t\tupdateComparatorUI();\n\t\t\t\t\t\t\t\t\t\t\t} else if (newestCompare.length < 4) {\n                                                const wasEmpty = newestCompare.length === 0;\n                                                newestCompare.push(String(pala.id));\n                                                newestCompare = saveCompareArray(newestCompare);\n\t\t\t\t\t\t\t\t\t\t\t\ttrack(wasEmpty ? 'comparator_start' : 'comparator_add', {\n\t\t\t\t\t\t\t\t\t\t\t\t\tproduct_id: String(pala.id),\n\t\t\t\t\t\t\t\t\t\t\t\t\tselection_count: newestCompare.length,\n\t\t\t\t\t\t\t\t\t\t\t\t\torigin: 'search'\n\t\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t\t\tif (newestCompare.length === 4) {\n\t\t\t\t\t\t\t\t\t\t\t\t\ttrack('comparator_complete', { selection_count: 4, origin: 'search' });\n\t\t\t\t\t\t\t\t\t\t\t\t}\n                                                searchInput.value = '';\n                                                suggestionsDiv.style.display = 'none';\n                                                updateComparatorUI();\n                                            } else {\n                                                alert(ui.limit);\n                                            }\n                                        };\n                                        suggestionsDiv.appendChild(option);\n                                    });\n                                } else {\n                                    suggestionsDiv.style.display = 'block';\n                                    suggestionsDiv.innerHTML = `<div class=\"p-3 text-muted\">${ui.none}<\/div>`;\n                                }\n                            });\n                    }, 300);\n                } else {\n                    suggestionsDiv.style.display = 'none';\n                    if (currentCompare.length >= 4 && !replacementId) {\n                        suggestionsDiv.innerHTML = `<div class=\"p-3 text-warning\">${ui.limit}<\/div>`;\n                        suggestionsDiv.style.display = 'block';\n                    }\n                }\n            });\n        }\n\n        \/\/ Delegate clicks\n        document.addEventListener('click', function(e) {\n            \/\/ Remove Pala\n            if (e.target.closest('.remove-pala-v2')) {\n                const id = e.target.closest('.remove-pala-v2').dataset.id;\n                if(id) {\n                    let current = getCompareArrayV2().filter(i => i !== id);\n                    saveCompareArray(current);\n\t\t\t\t\ttrack('comparator_remove', {\n\t\t\t\t\t\tproduct_id: id,\n\t\t\t\t\t\tselection_count: current.length,\n\t\t\t\t\t\torigin: 'comparator'\n\t\t\t\t\t});\n                    updateComparatorUI();\n                }\n            }\n\n\t\t\tif (e.target.closest('.replace-pala-v2')) {\n\t\t\t\treplacementId = e.target.closest('.replace-pala-v2').dataset.id || null;\n\t\t\t\tsearchInput.value = '';\n\t\t\t\tsearchInput.focus();\n\t\t\t\twindow.scrollTo({ top: searchInput.offsetTop - 100, behavior: 'smooth' });\n\t\t\t}\n\n            \/\/ Focus search field if empty slot clicked\n            if (e.target.closest('.empty-slot-v2')) {\n                searchInput.focus();\n                window.scrollTo({ top: searchInput.offsetTop - 100, behavior: 'smooth' });\n            }\n\n            \/\/ Reset Comparison\n            if (e.target.closest('.btn-reset-comparator')) {\n                saveCompareArray([]);\n                updateComparatorUI();\n            }\n\n            \/\/ Close suggestions if clicked outside\n            if (!e.target.closest('#suggestions-v2') && !e.target.closest('#pala-search-v2')) {\n                if(suggestionsDiv) suggestionsDiv.style.display = 'none';\n            }\n            \n            \/\/ Load Suggestions V2 Handle\n            if (e.target.closest('.suggestion-load-v2')) {\n                const btn = e.target.closest('.suggestion-load-v2');\n                const ids = btn.getAttribute('data-pala-ids');\n                if (ids) {\n                    let idsArray = ids.split(',').filter(id => id.trim() !== '');\n\t\t\t\t\tconst wasEmpty = getCompareArrayV2().length === 0;\n\t\t\t\t\tidsArray = saveCompareArray(idsArray);\n\t\t\t\t\ttrack(wasEmpty ? 'comparator_start' : 'comparator_add', {\n\t\t\t\t\t\tselection_count: idsArray.length,\n\t\t\t\t\t\torigin: 'quick_selection'\n\t\t\t\t\t});\n\t\t\t\t\tif (idsArray.length === 4) {\n\t\t\t\t\t\ttrack('comparator_complete', { selection_count: 4, origin: 'quick_selection' });\n\t\t\t\t\t}\n                    if(document.getElementById('pala-search-v2')) {\n                        document.getElementById('pala-search-v2').value = '';\n                    }\n                    if(document.getElementById('suggestions-v2')) {\n                        document.getElementById('suggestions-v2').style.display = 'none';\n                    }\n                    updateComparatorUI();\n                    window.scrollTo({ top: document.getElementById('comparator-v2-dynamic-area').offsetTop - 50, behavior: 'smooth' });\n                }\n            }\n        });\n\n        \/\/ Initialize UI\n        updateComparatorUI();\n    });\n    <\/script>\n    \n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-comparador.php","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-8648","page","type-page","status-publish","hentry"],"acf":[],"Campo_personalizado":null,"permalink_manager":null,"_links":{"self":[{"href":"https:\/\/pala-hack.com\/it\/wp-json\/wp\/v2\/pages\/8648","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pala-hack.com\/it\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/pala-hack.com\/it\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/pala-hack.com\/it\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pala-hack.com\/it\/wp-json\/wp\/v2\/comments?post=8648"}],"version-history":[{"count":2,"href":"https:\/\/pala-hack.com\/it\/wp-json\/wp\/v2\/pages\/8648\/revisions"}],"predecessor-version":[{"id":8660,"href":"https:\/\/pala-hack.com\/it\/wp-json\/wp\/v2\/pages\/8648\/revisions\/8660"}],"wp:attachment":[{"href":"https:\/\/pala-hack.com\/it\/wp-json\/wp\/v2\/media?parent=8648"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}