{"id":1,"date":"2025-04-22T07:54:28","date_gmt":"2025-04-22T07:54:28","guid":{"rendered":"http:\/\/127.0.0.1\/?p=1"},"modified":"2025-04-23T06:49:49","modified_gmt":"2025-04-23T06:49:49","slug":"hello-world","status":"publish","type":"post","link":"https:\/\/cordoba.aumenturpruebas.site\/en\/2025\/04\/22\/hello-world\/","title":{"rendered":"Mapa"},"content":{"rendered":"<!-- Leaflet -->\n<link rel=\"stylesheet\" href=\"https:\/\/unpkg.com\/leaflet@1.9.4\/dist\/leaflet.css\"\n    integrity=\"sha256-p4NxAoJBhIIN+hmNHrzRCf9tD\/miZyoHS5obTRR9BMY=\"\n    crossorigin=\"\" \/>\n<link rel=\"stylesheet\" href=\"https:\/\/unpkg.com\/leaflet-routing-machine@latest\/dist\/leaflet-routing-machine.css\" \/>\n<script src=\"https:\/\/unpkg.com\/leaflet@1.9.4\/dist\/leaflet.js\"\n    integrity=\"sha256-20nQCchB9co0qIjJZRGuk2\/Z9VM+kNiyxNV1lvTlZBo=\"\n    crossorigin=\"\"><\/script>\n<script src=\"https:\/\/unpkg.com\/leaflet-routing-machine@latest\/dist\/leaflet-routing-machine.js\"><\/script>\n<script src=\"https:\/\/code.jquery.com\/jquery-3.6.0.min.js\"><\/script>\n<!-- Sortable -->\n<script src=\" https:\/\/cdn.jsdelivr.net\/npm\/sortablejs@1.15.6\/Sortable.min.js \"><\/script>\n\n<script src=\"https:\/\/cdn.jsdelivr.net\/npm\/js-cookie@3.0.5\/dist\/js.cookie.min.js\"><\/script>\n\n<style>\n    .map-container {\n        display: flex;\n        gap: 1em;\n    }\n\n    #sidebar {\n        width: 30%;\n        flex: 1;\n        padding: 20px;\n        height: 70vh;\n        padding-right: 0;\n        padding-top: 0;\n    }\n\n    #sidebar h3 {\n        margin-top: 10%;\n        display: flex;\n        align-items: flex-end;\n        margin-bottom: 0.5em;\n    }\n\n    #sidebar ul {\n        list-style: none;\n        padding: 0;\n        overflow-y: auto;\n        height: 60vh;\n    }\n\n    #sidebar li {\n        padding: 10px;\n        cursor: pointer;\n        transition: background 0.2s;\n        font-size: var(--wp--preset--font-size--normal);\n        display: flex;\n        align-items: center;\n        justify-content: space-between;\n        border-bottom: solid;\n        border-width: thin;\n        border-color: gray;\n    }\n\n    #sidebar li div {\n        margin: 3px;\n    }\n\n    #sidebar li i {\n        color: #FF5252;\n        padding: 5px;\n        padding-right: 0;\n    }\n\n    #sidebar li i:hover {\n        cursor: pointer;\n    }\n\n    #sidebar input {\n        margin-right: 1em;\n    }\n\n    #sidebar li:hover {\n        background: #ddd;\n    }\n\n    #sidebar li div:hover {\n        cursor: pointer;\n    }\n\n    #location-list li div:first-of-type {\n        width: 80%;\n    }\n\n    #location-list li div {\n        display: flex;\n    }\n\n    #location-list-button {\n        margin-top: 10%;\n        margin-bottom: 0.5em;\n        background-color: #d3d3d35c;\n        border-radius: 10px;\n        border: none;\n        padding: 0.5em;\n        cursor: pointer;\n        padding-left: 0.7em !important;\n        padding-right: 0.7em;\n        border-style: solid;\n        border-width: thin;\n        border-color: black;\n        border-radius: 15px;\n    }\n\n    #generate-aumentur-pack {\n        width: fit-content;\n        cursor: pointer;\n        margin-left: 20px;\n        margin-bottom: 1%;\n        padding: 10px;\n        border-style: solid;\n        border-width: thin;\n        border-color: lightgray;\n        border-radius: 15px;\n        font-size: medium;\n        margin-top: 1em;\n    }\n\n    #generate-aumentur-pack:hover {\n        background: #ddd;\n    }\n\n    #generate-aumentur-pack img {\n        width: 1em;\n        height: 1em;\n    }\n\n    #map {\n        width: 100%;\n        height: 70vh;\n        padding-bottom: 20px;\n        z-index: 0;\n    }\n\n    #map-wrapper {\n        position: relative;\n        width: 70%;\n        height: 500px;\n    }\n\n    #marker-info-description {\n        max-height: 100px;\n        position: relative;\n        font-size: var(--wp--preset--font-size--normal);\n        display: -webkit-box;\n        -webkit-line-clamp: 3;\n        -webkit-box-orient: vertical;\n        overflow: hidden;\n        text-overflow: ellipsis;\n        transition: max-height 0.3s ease;\n    }\n\n    #marker-info-description.expanded {\n        max-height: 200px !important;\n        overflow-y: auto;\n        -webkit-line-clamp: unset;\n        max-height: none;\n    }\n\n    #marker-info-title {\n        font-weight: bold;\n    }\n\n    #read-more-toggle {\n        margin-top: 5%;\n        border-style: none;\n        padding: 3%;\n        cursor: pointer;\n    }\n\n    #marker-info-image {\n        width: 7em;\n        cursor: pointer;\n    }\n\n    #tag-filters-button {\n        background-color: white;\n        position: absolute;\n        left: 0;\n        width: fit-content;\n        height: 2em;\n        z-index: 9999;\n        margin: 1em;\n        display: flex;\n        justify-content: center;\n        align-items: center;\n        gap: 1em;\n        font-weight: bold;\n        border-color: black;\n        border-width: thin;\n        border-style: solid;\n    }\n\n    #tag-filters-button:hover {\n        background-color: lightgray;\n        cursor: pointer;\n    }\n\n    #tag-filters-button.active {\n        background-color: lightgray;\n    }\n\n    #tag-filters {\n        z-index: 9999;\n        position: absolute;\n        margin: 1em;\n        background-color: white;\n        padding: 1em;\n        margin-top: 4em;\n        width: 30%;\n        height: 75%;\n        overflow-y: auto;\n    }\n\n    #tag-filters input {\n        position: absolute;\n        right: 0;\n        margin-right: 5%;\n    }\n\n    #tag-filters div {\n        margin: 1em;\n    }\n\n    #tag-filters label {\n        font-size: var(--wp--preset--font-size--normal);\n    }\n\n    @media (max-width: 700px) {\n        .map-container {\n            flex-direction: column;\n        }\n\n        #sidebar {\n            width: 100%;\n            padding-left: 0;\n            padding-right: 0;\n        }\n\n        #map {\n            width: 100% !important;\n        }\n\n        #map-wrapper {\n            width: 100% !important;\n        }\n\n        .aumentur-modal-map-content {\n            width: 70% !important;\n            height: 250px;\n        }\n\n        #main-menu {\n            margin-left: auto !important;\n        }\n\n        #pack-filter {\n            margin-left: auto !important;\n        }\n\n        #generate-aumentur-pack {\n            margin-left: auto;\n            margin-right: auto;\n            margin-bottom: 1em;\n        }\n\n        #tag-filters {\n            width: 70%;\n        }\n\n        .grid-container {\n            width: 100% !important;\n        }\n\n        #modal-image-big {\n            width: 100% !important;\n            margin-top: 5%;\n        }\n    }\n\n    #modal-image-big {\n        width: 100%;\n        margin-top: 5%;\n    }\n\n    .grid-container {\n        display: flex;\n        flex-wrap: wrap;\n        justify-content: center;\n        gap: 10px;\n        width: 50%;\n        margin: 0 auto;\n    }\n\n    .grid-container button {\n        flex: 1 1 0;\n        padding: 10px;\n        text-align: center;\n        box-sizing: border-box;\n    }\n\n    .pack-toggle-button {\n        padding: 0.5em;\n        cursor: pointer;\n        font-weight: bold;\n        transition: background-color 0.2s, border-color 0.2s;\n        background-color: transparent;\n        border: none;\n    }\n\n    .pack-toggle-button.active {\n        background-color: white;\n        color: black;\n        border-radius: 10px;\n        box-shadow: 1px 1px 1px 1px lightgray;\n    }\n\n    #main-menu {\n        background-color: #d3d3d35c;\n        border-radius: 10px;\n        margin-left: 20px;\n        width: 50%;\n    }\n\n    #pack-filter {\n        background-color: #d3d3d35c;\n        border-radius: 10px;\n        margin-left: 20px;\n        width: 50%;\n        margin-top: 1em;\n    }\n\n    \/* Style for the modal *\/\n    .aumentur-modal-map {\n        display: none;\n        \/* Hidden by default *\/\n        position: fixed;\n        z-index: 1;\n        left: 0;\n        top: 0;\n        width: 100% !important;\n        height: 100% !important;\n        background-color: rgba(0, 0, 0, 0.5);\n        \/* Black with opacity *\/\n        justify-content: center;\n        align-items: center;\n        overflow: auto;\n        \/* Allows scrolling if needed *\/\n        max-width: 100% !important;\n        max-height: 100% !important;\n    }\n\n    .aumentur-modal-map-content {\n        background-color: white;\n        padding: 20px;\n        border-radius: 2em;\n        width: 600px;\n        height: fit-content;\n        text-align: center;\n        overflow-y: auto;\n    }\n\n    .aumentur-modal-map-close {\n        color: #aaa;\n        font-size: 28px;\n        font-weight: bold;\n        cursor: pointer;\n        display: flex;\n        flex-direction: row;\n        justify-content: right;\n        margin-right: 10%;\n    }\n\n    .aumentur-modal-map-close:hover,\n    .aumentur-modal-map-close:focus {\n        color: black;\n        text-decoration: none;\n        cursor: pointer;\n    }\n\n    \/* Style for the modal content *\/\n    .aumentur-modal-map-list-container {\n        max-width: 600px;\n        margin: auto;\n        background: transparent;\n        height: 70%;\n    }\n\n    .aumentur-modal-map-list-container h3 {\n        font-size: 30px !important;\n    }\n\n    #aumentur-generated-pack-qr {\n        display: flex;\n        justify-content: center;\n        align-items: center;\n        height: 100%;\n        margin-bottom: 0.5em;\n        margin-top: 1em;\n    }\n\n    #aumentur-generated-pack-qr img {\n        width: 25%;\n    }\n\n    .mapboxgl-ctrl-top-left .mapboxgl-ctrl {\n        display: none;\n    }\n\n    #aumentur-pack-email-form label,\n    #aumentur-pack-email-form input {\n        font-size: var(--wp--preset--font-size--medium);\n    }\n\n    #aumentur-pack-email-info {\n        font-size: var(--wp--preset--font-size--normal);\n        margin-top: 0.5em;\n        color: green;\n    }\n\n    #aumentur-pack-email-info.error {\n        color: red !important;\n    }\n\n    #aumentur-pack-form-send {\n        padding: 3%;\n        cursor: pointer;\n        margin-top: 2em;\n        color: #168013f7;\n        border-style: solid;\n        border-width: thin;\n        border-color: lightgray;\n        border-radius: 15px;\n        font-weight: bold;\n    }\n\n    #aumentur-pack-form-send:hover {\n        background-color: lightgray;\n    }\n\n    .grab-location {\n        cursor: grab !important;\n        user-select: none;\n        margin-right: 1em;\n    }\n\n    .red-dot {\n        width: 12px;\n        height: 12px;\n        background-color: #FF5252;\n        \/* solid red *\/\n        border-radius: 50%;\n        box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);\n    }\n\n    .leaflet-popup-content {\n        width: 20em !important;\n    }\n\n    .leaflet-routing-container {\n        display: none;\n    }\n<\/style>\n\n<div id=\"aumentur-map\">\n    <div id=\"aumentur-map-filters\">\n        <div class=\"grid-container\" id=\"main-menu\">\n            <button id=\"main-menu-all\" class=\"pack-toggle-button active\"><i class=\"fa-solid fa-globe\"><\/i>\n                <div>All<\/div>\n            <\/button>\n            <button id=\"main-menu-routes\" class=\"pack-toggle-button\"><i class=\"fa-solid fa-route\"><\/i>\n                <div>Routes<\/div>\n            <\/button>\n            <button id=\"main-menu-recommender\" class=\"pack-toggle-button\"><i class=\"fa-solid fa-compass\"><\/i>\n                <div>Explore<\/div>\n            <\/button>\n        <\/div>\n\n        <div class=\"grid-container\" id=\"pack-filter\" style=\"display: none;\">\n        <\/div>\n    <\/div>\n    <div id=\"generate-aumentur-pack\">\n        <span>Take the route with you<\/span>\n        <!-- <img decoding=\"async\" src=\"\/images\/logo_aumentur.svg\" alt=\"Aumentur download\"> -->\n    <\/div>\n    <div class=\"map-container\">\n        <div id=\"sidebar\">\n            <div id=\"sidebar-location\" style=\"border-bottom: 2px solid black; display: flex; justify-content: space-between;\">\n                <h3 id=\"sidebar-title\">Points of interest<\/h3>\n                <button id=\"location-list-button\"><i class=\"fa-solid fa-angle-up\"><\/i><\/button>\n            <\/div>\n            <ul id=\"location-list\"><\/ul>\n\n            <div id=\"recommender\" style=\"display: none;\">\n                <div class=\"aumentur-bootstrap\">\n    <div class=\"d-flex align-items-center justify-content-center\">\n        <div class=\"d-flex w-100 flex-column border rounded p-3\" style=\"min-height: 600px;\">\n            <div class=\"aumentur-back-arrow\" id=\"aumentur-planner-previous\">\n                <i class='fas fa-angle-left' style=\"color: var(--rojo-aumentur)\"><\/i>\n            <\/div>\n\n            <div id=\"aumentur-planner-survey\">\n                <div class=\"aumentur-planner-active\" style=\"display: block\">\n                    <h3 class=\"text-justify\">Hello<\/h3>\n                    <p>I am your virtual assistant. Let's create a custom pack for your visit.<\/p>\n                    <div class=\"d-flex justify-content-center mt-5\">\n                        <img decoding=\"async\" src=\"https:\/\/cordoba.aumenturpruebas.site\/wp-content\/plugins\/aumentur-plugin\/public\/partials\/shortcodes\/planner\/\/images\/robot.svg\" alt=\"Aumentur Bot\"\n                            class=\"img-fluid\" style=\"max-width: 50% !important\">\n                    <\/div>\n                <\/div>\n                <div class=\"aumentur-planner-question aumentur-planner-optional\" style=\"display: none\">\n                    <h3 class=\"text-justify\">Where are you going to go?<\/h3>\n                    <div class=\"buscador_listado\">\n                        <input type=\"search\" name=\"search\" id=\"planner_city_search\" placeholder=\"\" class=\"ps-5\">\n                        <button style=\"left: 0\"><i class=\"fas fa-search\"><\/i><\/button>\n                        <div class=\"dropdown-menu\" id=\"aumentur_city_suggestion\">\n                        <\/div>\n                    <\/div>\n                    <div class=\"d-flex justify-content-center mt-5\">\n                        <img decoding=\"async\" src=\"https:\/\/cordoba.aumenturpruebas.site\/wp-content\/plugins\/aumentur-plugin\/public\/partials\/shortcodes\/planner\/\/images\/map.svg\" alt=\"Aumentur Map\"\n                            class=\"img-fluid\">\n                    <\/div>\n                <\/div>\n                <div class=\"aumentur-planner-question\" style=\"display: none;\">\n                    <h3 class=\"text-justify\">Where will you start?<\/h3>\n                    <p>Click on the map!<\/p>\n                    <div id=\"aumentur-planner-map\" style=\"width: 100%; height: 40vh;\">\n                    <\/div>\n                <\/div>\n                <div class=\"aumentur-planner-question\" style=\"display: none\">\n                    <h3 class=\"text-justify\">When will you go?<\/h3>\n                    <p>This way we can make better use of your time.<\/p>\n                    <form action=\"\">\n                        <div class=\"form-group row\">\n                            <label for=\"planner_date_from\" class=\"col-2 col-form-label ps-0\">From<\/label>\n                            <div class=\"col-10\">\n                                <input id=\"planner_date_from\" name=\"planner_date_from\" type=\"text\"\n                                    class=\"form-control\">\n                            <\/div>\n                            <label for=\"planner_date_to\" class=\"col-2 col-form-label ps-0 mt-3\">To<\/label>\n                            <div class=\"col-10 mt-3\">\n                                <input id=\"planner_date_to\" name=\"planner_date_to\" type=\"text\" class=\"form-control\">\n                            <\/div>\n                        <\/div>\n                    <input type=\"hidden\" name=\"trp-form-language\" value=\"en\"\/><\/form>\n                    <form action=\"\">\n                        <div class=\"form-group row mt-5\">\n                            <div class=\"col-12\">\n                                <div class=\"form-check form-check-inline\">\n                                    <input name=\"checkbox\" id=\"planner_date_checkbox\" type=\"checkbox\"\n                                        class=\"form-check-input\" value=\"\">\n                                    <label for=\"planner_date_checkbox\" class=\"form-check-label\">I do not know yet<\/label>\n                                <\/div>\n                            <\/div>\n                        <\/div>\n                    <input type=\"hidden\" name=\"trp-form-language\" value=\"en\"\/><\/form>\n                    <div class=\"d-flex justify-content-center mt-5\">\n                        <img decoding=\"async\" src=\"https:\/\/cordoba.aumenturpruebas.site\/wp-content\/plugins\/aumentur-plugin\/public\/partials\/shortcodes\/planner\/\/images\/calendar.svg\"\n                            alt=\"Aumentur Map\" class=\"img-fluid\">\n                    <\/div>\n                <\/div>\n                <div class=\"aumentur-planner-question aumentur-planner-optional\" style=\"display: none\">\n                    <h3 class=\"text-justify\">How long will you stay?<\/h3>\n                    <p>Approximately...<\/p>\n                    <form action=\"\">\n                        <div class=\"form-group mt-5 d-flex justify-content-center align-items-center\">\n                            <div id=\"planner-time\">\n                                <div class=\"form-check\">\n                                    <input name=\"radio-approximate\" id=\"radio_0\" type=\"radio\"\n                                        class=\"form-check-input aumentur-radio-approximate\" value=\"ONE_DAY\"\n                                        required=\"required\">\n                                    <label for=\"radio_0\" class=\"form-check-label\">One day or less<\/label>\n                                <\/div>\n                                <div class=\"form-check mt-5\">\n                                    <input name=\"radio-approximate\" id=\"radio_1\" type=\"radio\"\n                                        class=\"form-check-input aumentur-radio-approximate\" value=\"WEEKEND\"\n                                        required=\"required\">\n                                    <label for=\"radio_1\" class=\"form-check-label\">A weekend<\/label>\n                                <\/div>\n                                <div class=\"form-check mt-5\">\n                                    <input name=\"radio-approximate\" id=\"radio_2\" type=\"radio\"\n                                        class=\"form-check-input aumentur-radio-approximate\" value=\"BETWEEN_3_AND_7\"\n                                        required=\"required\">\n                                    <label for=\"radio_2\" class=\"form-check-label\">3 to 7 days<\/label>\n                                <\/div>\n                                <div class=\"form-check mt-5\">\n                                    <input name=\"radio-approximate\" id=\"radio_3\" type=\"radio\"\n                                        class=\"form-check-input aumentur-radio-approximate\" value=\"MORE_THAN_WEEK\"\n                                        required=\"required\">\n                                    <label for=\"radio_3\" class=\"form-check-label\">More than one week<\/label>\n                                <\/div>\n                            <\/div>\n                        <\/div>\n                    <input type=\"hidden\" name=\"trp-form-language\" value=\"en\"\/><\/form>\n                <\/div>\n                <div class=\"aumentur-planner-question\" style=\"display: none\">\n                    <h3 class=\"text-justify\">How will you travel?<\/h3>\n                    <p>This way we can better adjust your visit times.<\/p>\n                    <div class=\"container\" id=\"planner-travel\">\n                        <div class=\"row\">\n                                                            <div class=\"col-sm-6 d-flex align-items-center justify-content-center ps-0 pe-0\" data-id=\"9ccddc2b-3f0e-46d2-a57a-66c19ed77d1d\">\n                                    <div class=\"d-flex flex-column align-items-center aumentur-planner-people aumentur-selectable-image p-1 m-1\">\n                                        <img decoding=\"async\" src=\"https:\/\/aumenturpruebas.s3.eu-central-1.amazonaws.com\/travel-units\/ef213b20-7852-4c8f-8b72-3e831bd52e5b.webp\" alt=\"Aumentur Bot\"\n                                            class=\"img-fluid w-25\">\n                                        <p>Alone<\/p>\n                                    <\/div>\n                                <\/div>\n                                                            <div class=\"col-sm-6 d-flex align-items-center justify-content-center ps-0 pe-0\" data-id=\"9ccddc2b-41cb-4bb9-896c-3a3072583609\">\n                                    <div class=\"d-flex flex-column align-items-center aumentur-planner-people aumentur-selectable-image p-1 m-1\">\n                                        <img decoding=\"async\" src=\"https:\/\/aumenturpruebas.s3.eu-central-1.amazonaws.com\/travel-units\/1f6804e2-1325-4bbe-ab2e-26bd6f1c5545.webp\" alt=\"Aumentur Bot\"\n                                            class=\"img-fluid w-25\">\n                                        <p>Couple<\/p>\n                                    <\/div>\n                                <\/div>\n                                                            <div class=\"col-sm-6 d-flex align-items-center justify-content-center ps-0 pe-0\" data-id=\"9ccddc2b-4461-466c-9dc0-987dc1df6cb1\">\n                                    <div class=\"d-flex flex-column align-items-center aumentur-planner-people aumentur-selectable-image p-1 m-1\">\n                                        <img decoding=\"async\" src=\"https:\/\/aumenturpruebas.s3.eu-central-1.amazonaws.com\/travel-units\/324cf48d-0790-4e97-b153-0549d3645a54.webp\" alt=\"Aumentur Bot\"\n                                            class=\"img-fluid w-25\">\n                                        <p>Family<\/p>\n                                    <\/div>\n                                <\/div>\n                                                            <div class=\"col-sm-6 d-flex align-items-center justify-content-center ps-0 pe-0\" data-id=\"9ccddc2b-46be-4dc7-83a9-bdf7a1909b55\">\n                                    <div class=\"d-flex flex-column align-items-center aumentur-planner-people aumentur-selectable-image p-1 m-1\">\n                                        <img decoding=\"async\" src=\"https:\/\/aumenturpruebas.s3.eu-central-1.amazonaws.com\/travel-units\/68b83abf-50d7-48d1-8dcf-4f2c9b99c325.webp\" alt=\"Aumentur Bot\"\n                                            class=\"img-fluid w-25\">\n                                        <p>Group<\/p>\n                                    <\/div>\n                                <\/div>\n                                                    <\/div>\n                    <\/div>\n                    <div class=\"container mb-3\">\n                        <div class=\"row\">\n                            <div class=\"form-check form-check-inline mt-3 me-0 pe-0\">\n                                <input name=\"checkbox\" id=\"planner_reduced_mobility\" type=\"checkbox\"\n                                    class=\"form-check-input\" value=\"\">\n                                <label for=\"planner_reduced_mobility\" class=\"form-check-label\"><img decoding=\"async\"\n                                        src=\"https:\/\/cordoba.aumenturpruebas.site\/wp-content\/plugins\/aumentur-plugin\/public\/partials\/shortcodes\/planner\/\/images\/mobility.svg\" alt=\"Aumentur Bot\" class=\"img-fluid\">\n                                    With reduced mobility<\/label>\n                            <\/div>\n                            <div class=\"form-check form-check-inline mt-3 me-0 pe-0\">\n                                <input name=\"checkbox\" id=\"planner_pets\" type=\"checkbox\"\n                                    class=\"form-check-input\" value=\"\">\n                                <label for=\"planner_pets\" class=\"form-check-label\"><img decoding=\"async\" src=\"https:\/\/cordoba.aumenturpruebas.site\/wp-content\/plugins\/aumentur-plugin\/public\/partials\/shortcodes\/planner\/\/images\/paw.svg\" alt=\"Aumentur Bot\" class=\"img-fluid\">With pets<\/label>\n                            <\/div>\n                        <\/div>\n                    <\/div>\n                <\/div>\n                <div class=\"aumentur-planner-question\" style=\"display: none\">\n                    <h3 class=\"text-justify\">What do you like to see?<\/h3>\n                    <p>I will try to adjust my selection to your tastes.<\/p>\n                    <div class=\"container\" id=\"aumentur-select-categories\">\n                        <div class=\"row\">\n                                                            <div class=\"col-md-4 d-flex flex-column align-items-center justify-content-center text-center ps-0 pe-0\" data-id=\"9cea3430-5573-4a86-9eea-4f6e718b82c9\">\n                                    <div class=\"aumentur-planner-category aumentur-selectable-image p-1 m-1\">\n                                        <img decoding=\"async\" src=\"https:\/\/aumenturpruebas.s3.eu-central-1.amazonaws.com\/recommender-tags\/4f067734-81b3-49f3-8d0b-4ef7b0155828.webp\" alt=\"Aumentur Bot\"\n                                            class=\"img-fluid w-25\">\n                                        <p>Active Tourism<\/p>\n                                    <\/div>\n                                <\/div>\n                                                            <div class=\"col-md-4 d-flex flex-column align-items-center justify-content-center text-center ps-0 pe-0\" data-id=\"9ccddc2b-5066-49cf-9d01-c5a4bbc0d465\">\n                                    <div class=\"aumentur-planner-category aumentur-selectable-image p-1 m-1\">\n                                        <img decoding=\"async\" src=\"https:\/\/aumenturpruebas.s3.eu-central-1.amazonaws.com\/recommender-tags\/2c371fea-442c-4f1f-9f45-91ce3dbffcbb.webp\" alt=\"Aumentur Bot\"\n                                            class=\"img-fluid w-25\">\n                                        <p>Gastronomy<\/p>\n                                    <\/div>\n                                <\/div>\n                                                            <div class=\"col-md-4 d-flex flex-column align-items-center justify-content-center text-center ps-0 pe-0\" data-id=\"9ccddc2b-4bb9-4b50-846a-23cbd71f8261\">\n                                    <div class=\"aumentur-planner-category aumentur-selectable-image p-1 m-1\">\n                                        <img decoding=\"async\" src=\"https:\/\/aumenturpruebas.s3.eu-central-1.amazonaws.com\/recommender-tags\/ae3bbfc3-d158-4539-89c4-e41d64cdf8bf.webp\" alt=\"Aumentur Bot\"\n                                            class=\"img-fluid w-25\">\n                                        <p>Monuments<\/p>\n                                    <\/div>\n                                <\/div>\n                                                            <div class=\"col-md-4 d-flex flex-column align-items-center justify-content-center text-center ps-0 pe-0\" data-id=\"9ccddc2b-4e0f-4dfc-9652-58bca4448ba4\">\n                                    <div class=\"aumentur-planner-category aumentur-selectable-image p-1 m-1\">\n                                        <img decoding=\"async\" src=\"https:\/\/aumenturpruebas.s3.eu-central-1.amazonaws.com\/recommender-tags\/f9413c76-ac71-4307-ab09-f35820e2c754.webp\" alt=\"Aumentur Bot\"\n                                            class=\"img-fluid w-25\">\n                                        <p>Museums<\/p>\n                                    <\/div>\n                                <\/div>\n                                                            <div class=\"col-md-4 d-flex flex-column align-items-center justify-content-center text-center ps-0 pe-0\" data-id=\"9ccddc2b-55b9-42a2-83c0-20edbcf4c6c1\">\n                                    <div class=\"aumentur-planner-category aumentur-selectable-image p-1 m-1\">\n                                        <img decoding=\"async\" src=\"https:\/\/aumenturpruebas.s3.eu-central-1.amazonaws.com\/recommender-tags\/c6f5177e-49c0-425e-82ca-c8a6214e05dd.webp\" alt=\"Aumentur Bot\"\n                                            class=\"img-fluid w-25\">\n                                        <p>Nature<\/p>\n                                    <\/div>\n                                <\/div>\n                                                            <div class=\"col-md-4 d-flex flex-column align-items-center justify-content-center text-center ps-0 pe-0\" data-id=\"9ccddc2b-5315-4bba-ac54-fdbca5c344fe\">\n                                    <div class=\"aumentur-planner-category aumentur-selectable-image p-1 m-1\">\n                                        <img decoding=\"async\" src=\"https:\/\/aumenturpruebas.s3.eu-central-1.amazonaws.com\/recommender-tags\/cfa90f5b-9a6a-4e8c-a4c4-ef39f116254f.webp\" alt=\"Aumentur Bot\"\n                                            class=\"img-fluid w-25\">\n                                        <p>Parties<\/p>\n                                    <\/div>\n                                <\/div>\n                                                            <div class=\"col-md-4 d-flex flex-column align-items-center justify-content-center text-center ps-0 pe-0\" data-id=\"9ccddc2b-58e3-4e60-9931-27e6218a3ddb\">\n                                    <div class=\"aumentur-planner-category aumentur-selectable-image p-1 m-1\">\n                                        <img decoding=\"async\" src=\"https:\/\/aumenturpruebas.s3.eu-central-1.amazonaws.com\/recommender-tags\/1aa45710-75ce-4a6f-b391-139750be0aa3.webp\" alt=\"Aumentur Bot\"\n                                            class=\"img-fluid w-25\">\n                                        <p>Religioso<\/p>\n                                    <\/div>\n                                <\/div>\n                                                            <div class=\"col-md-4 d-flex flex-column align-items-center justify-content-center text-center ps-0 pe-0\" data-id=\"9ccddc2b-5b91-4753-8b45-5defa69ce46c\">\n                                    <div class=\"aumentur-planner-category aumentur-selectable-image p-1 m-1\">\n                                        <img decoding=\"async\" src=\"https:\/\/aumenturpruebas.s3.eu-central-1.amazonaws.com\/recommender-tags\/26f3add9-d88b-4179-a971-f687af39b764.webp\" alt=\"Aumentur Bot\"\n                                            class=\"img-fluid w-25\">\n                                        <p>Urban space<\/p>\n                                    <\/div>\n                                <\/div>\n                                                    <\/div>\n                    <\/div>\n                <\/div>\n                <div class=\"aumentur-planner-question aumentur-planner-skipable\" style=\"display: none\">\n                    <h3 class=\"text-justify\">How fast do you move?<\/h3>\n                    <p>We will adjust your visit to a suitable pace.<\/p>\n                    <form action=\"\">\n                        <div class=\"form-group\">\n                            <label for=\"aumentur-age-select\">Age<\/label>\n                            <select id=\"aumentur-age-select\" name=\"aumentur-age-select\" class=\"form-select\">\n                                <option selected value=\"NON_SPECIFIED\">Don't specify<\/option>\n                                <option value=\"LESS_18\">Under 18<\/option>\n                                <option value=\"BETWEEN_18_24\">Between 18 and 24<\/option>\n                                <option value=\"BETWEEN_25_34\">Between 25 and 34<\/option>\n                                <option value=\"BETWEEN_35_44\">Between 35 and 44<\/option>\n                                <option value=\"BETWEEN_45_54\">Between 45 and 54<\/option>\n                                <option value=\"BETWEEN_55_64\">Between 55 and 64<\/option>\n                                <option value=\"MORE_65\">Over 65<\/option>\n                            <\/select>\n                        <\/div>\n                    <input type=\"hidden\" name=\"trp-form-language\" value=\"en\"\/><\/form>\n                    <div class=\"d-flex justify-content-center mt-5\">\n                        <img decoding=\"async\" src=\"https:\/\/cordoba.aumenturpruebas.site\/wp-content\/plugins\/aumentur-plugin\/public\/partials\/shortcodes\/planner\/\/images\/calendar.svg\"\n                            alt=\"Aumentur Bot\" class=\"img-fluid\">\n                    <\/div>\n                <\/div>\n                <div class=\"aumentur-planner-question\" style=\"display: none\">\n                    <h3 class=\"text-justify\">In what way?<\/h3>\n                    <p>We will adjust your visit to a suitable pace.<\/p>\n                    <div class=\"container\" id=\"planner-travel-way\">\n                        <div class=\"row\">\n                                                            <div class=\"col-md-6 d-flex align-items-center justify-content-center ps-0 pe-0\" data-id=\"9ccddc2b-37ef-462e-bff0-b1db6d7b4492\">\n                                    <div class=\"d-flex flex-column align-items-center aumentur-planner-travel aumentur-selectable-image p-1 m-1\" data-transport=\"bicicletapatinete\">\n                                        <img decoding=\"async\" src=\"https:\/\/aumenturpruebas.s3.eu-central-1.amazonaws.com\/transport-types\/00ee6a69-0fc2-4714-8114-c8d3de4ce59e.webp\" alt=\"Aumentur Bot\"\n                                            class=\"img-fluid w-25\">\n                                        <p style=\"text-align: center;\">Bicycle\/Scooter<\/p>\n                                    <\/div>\n                                <\/div>\n                                                            <div class=\"col-md-6 d-flex align-items-center justify-content-center ps-0 pe-0\" data-id=\"9ccddc2b-3c9a-4299-872b-5b4ff24a5fba\">\n                                    <div class=\"d-flex flex-column align-items-center aumentur-planner-travel aumentur-selectable-image p-1 m-1\" data-transport=\"coche-propio\">\n                                        <img decoding=\"async\" src=\"https:\/\/aumenturpruebas.s3.eu-central-1.amazonaws.com\/transport-types\/17217701-8f34-4b6f-a981-3edaebf4083a.webp\" alt=\"Aumentur Bot\"\n                                            class=\"img-fluid w-25\">\n                                        <p style=\"text-align: center;\">Car<\/p>\n                                    <\/div>\n                                <\/div>\n                                                            <div class=\"col-md-6 d-flex align-items-center justify-content-center ps-0 pe-0\" data-id=\"9ccddc2b-3a3b-4ef0-a3ca-bf520f8d34bf\">\n                                    <div class=\"d-flex flex-column align-items-center aumentur-planner-travel aumentur-selectable-image p-1 m-1\" data-transport=\"transporte-publico\">\n                                        <img decoding=\"async\" src=\"https:\/\/aumenturpruebas.s3.eu-central-1.amazonaws.com\/transport-types\/3f6e82a6-2e68-47d9-aedd-5edc55ad6a87.webp\" alt=\"Aumentur Bot\"\n                                            class=\"img-fluid w-25\">\n                                        <p style=\"text-align: center;\">Public transport<\/p>\n                                    <\/div>\n                                <\/div>\n                                                            <div class=\"col-md-6 d-flex align-items-center justify-content-center ps-0 pe-0\" data-id=\"9ccddc2b-3530-4b41-b305-3a5d90dfce2a\">\n                                    <div class=\"d-flex flex-column align-items-center aumentur-planner-travel aumentur-selectable-image p-1 m-1\" data-transport=\"andando\">\n                                        <img decoding=\"async\" src=\"https:\/\/aumenturpruebas.s3.eu-central-1.amazonaws.com\/transport-types\/416de100-0327-4165-99ae-730a7807c323.webp\" alt=\"Aumentur Bot\"\n                                            class=\"img-fluid w-25\">\n                                        <p style=\"text-align: center;\">Walking<\/p>\n                                    <\/div>\n                                <\/div>\n                                                    <\/div>\n                    <\/div>\n                <\/div>\n                <div class=\"aumentur-planner-question\" style=\"display: none\">\n                    <h3 class=\"text-justify\">Do I include places with paid tickets?<\/h3>\n                    <form action=\"\">\n                        <div class=\"form-group mt-5 d-flex justify-content-center align-items-center\">\n                            <div>\n                                <div class=\"form-check\">\n                                    <input name=\"radio-pay\" id=\"aumentur-pay-radio-0\" type=\"radio\"\n                                        class=\"form-check-input aumentur-radio-premium\" value=\"premium\"\n                                        required=\"required\">\n                                    <label for=\"aumentur-pay-radio-0\" class=\"form-check-label\">Yes, I want to see everything<\/label>\n                                <\/div>\n                                <div class=\"form-check mt-5\">\n                                    <input name=\"radio-pay\" id=\"aumentur-pay-radio-1\" type=\"radio\"\n                                        class=\"form-check-input aumentur-radio-premium\" value=\"free\"\n                                        required=\"required\">\n                                    <label for=\"aumentur-pay-radio-1\" class=\"form-check-label\">No, only free of charge<\/label>\n                                <\/div>\n                            <\/div>\n                        <\/div>\n                    <input type=\"hidden\" name=\"trp-form-language\" value=\"en\"\/><\/form>\n                    <div class=\"d-flex justify-content-center mt-5\">\n                        <img decoding=\"async\" src=\"https:\/\/cordoba.aumenturpruebas.site\/wp-content\/plugins\/aumentur-plugin\/public\/partials\/shortcodes\/planner\/\/images\/ticket.svg\" alt=\"Aumentur Bot\"\n                            class=\"img-fluid\">\n                    <\/div>\n                <\/div>\n            <\/div>\n\n            <div class=\"w-100 mt-auto\">\n                <div class=\"progress mb-3\">\n                    <div id=\"aumentur-planner-progressbar\" class=\"progress-bar\"\n                        style=\"background-color: var(--rojo-aumentur)\" role=\"progressbar\" aria-valuenow=\"0\"\n                        aria-valuemin=\"0\" aria-valuemax=\"100\"><\/div>\n                <\/div>\n                <button id=\"aumentur-planner-next\" class=\"btn btn-lg aumentur-planner-button\">Next<\/button>\n                <form id=\"aumentur-planner-create\" action=\"#\" style=\"display: none\" data-trp-original-action=\"#\">\n                    <input type=\"hidden\" value=\"true\" name=\"route_created\">\n                    <button class=\"btn btn-lg aumentur-planner-button\" id=\"aumentur-create-route\">Create route<\/button>\n                <input type=\"hidden\" name=\"trp-form-language\" value=\"en\"\/><\/form>\n            <\/div>\n        <\/div>\n    <\/div>\n<\/div>            <\/div>\n        <\/div>\n\n        <div id=\"map-wrapper\">\n            <div id=\"map\">\n                <button id=\"tag-filters-button\">\n                    <i class=\"fa-solid fa-filter\"><\/i>\n                    <div>\n                        FILTER                    <\/div>\n                <\/button>\n                <div id=\"tag-filters\" style=\"display: none;\">\n                    <div style=\"margin-bottom: 3em;\">\n                        <input type=\"checkbox\" id=\"tag-filters-all\" value=\"select-all\" name=\"select-all\" checked>\n                        <label for=\"select-all\">Select all<\/label>\n                    <\/div>\n                <\/div>\n            <\/div>\n\n        <\/div>\n    <\/div>\n\n    <div class=\"aumentur-modal-map\" id=\"aumentur-modal-map\">\n        <div class=\"aumentur-modal-map-content\">\n            <span class=\"aumentur-modal-map-close\" id=\"aumentur-modal-map-close\"><i\n                    class=\"fa fa-times\" aria-hidden=\"true\"><\/i><\/span>\n            <div class=\"aumentur-modal-map-list-container\">\n                <h3 style=\"text-align: center; margin-top: 15px; margin-bottom: 15px; color: #FF5252;\">Take it with you on your mobile and share it with others!<\/h3>\n                <div id=\"aumentur-generated-pack-qr\"><\/div>\n                <a href=\"\" id=\"aumentur-generated-pack-deeplink\"><\/a>\n            <\/div>\n            <!-- <button id=\"aumentur-pack-pdf\"><\/button> -->\n            <h4 style=\"text-align: center; margin-top: 15px; margin-bottom: 15px;\">Or send it to your email: <\/h4>\n            <div id=\"aumentur-pack-email-form\">\n                <input type=\"email\" id=\"aumentur-pack-email\" name=\"aumentur-pack-email\"><br>\n                <div id=\"aumentur-pack-email-info\"><\/div>\n\n                <button id=\"aumentur-pack-form-send\">Send<\/button>\n            <\/div>\n        <\/div>\n    <\/div>\n\n    <div class=\"aumentur-modal-map\" id=\"aumentur-modal-image\">\n        <div class=\"aumentur-modal-map-content\" style=\"width: 100vh;\">\n            <span class=\"aumentur-modal-map-close\" id=\"aumentur-modal-image-close\" style=\"margin-right: 0 !important;\"><i\n                    class=\"fa fa-times\" aria-hidden=\"true\"><\/i><\/span>\n            <img decoding=\"async\" src=\"\" id=\"modal-image-big\" \/>\n        <\/div>\n    <\/div>\n<\/div>\n<\/div>\n\n<script>\n    let plannerTravelWay = \"andando\";\n    let activeLocations = [];\n    let previousSelectedPack = null;\n    let selectedPack = \"no-packs\";\n    let startMarker, endMarker, routeStartMarker, routeEndMarker;\n    let previousMenuOption = $('#main-menu button').first();\n    let sortable = null;\n    let startingPoint = null;\n\n    \/\/ List of important locations\n    const locations = JSON.parse('[]');\n    activeLocations = locations;\n    const city = JSON.parse('{\\\"id\\\":\\\"09636738-5fb9-4928-bbe8-3daa6ecd2d35\\\",\\\"name\\\":\\\"C\\\\u00f3rdoba\\\",\\\"slug\\\":\\\"cordoba\\\",\\\"type\\\":\\\"city\\\",\\\"location\\\":{\\\"lat\\\":37.88473,\\\"lon\\\":-4.779152},\\\"bounding_box\\\":null,\\\"zip_codes\\\":[14001,14002,14003,14004,14005,14006,14007,14008,14009,14010,14011,14012,14013,14014,14015,14016,14029,14190,14192,14193,14280,14340,14350,14610,14710,14711,14719,14820,14912]}');\n    const bounds = JSON.parse('');\n    const tags = JSON.parse('[]');\n    const coordinates = JSON.parse('[]');\n    const packs = JSON.parse('null');\n\n    \/\/ Leaflet map\n    const leafletBounds = L.latLngBounds([\n        [bounds.min_lat, bounds.min_lon], \/\/ Southwest\n        [bounds.max_lat, bounds.max_lon] \/\/ Northeast\n    ]);\n    const map = L.map('map', {\n        maxBounds: leafletBounds,\n        minZoom: 11,\n        maxZoom: 19,\n        zoomSnap: 0.25,\n        zoomControl: false\n    }).setView([city['location']['lat'], city['location']['lon']], 13);\n    L.control.zoom({\n        position: 'topright'\n    }).addTo(map);\n    L.tileLayer('https:\/\/tile.openstreetmap.org\/{z}\/{x}\/{y}.png', {\n        maxZoom: 19,\n        attribution: '&copy; <a href=\"http:\/\/www.openstreetmap.org\/copyright\">OpenStreetMap<\/a>'\n    }).addTo(map);\n    const markers = L.layerGroup().addTo(map);\n\n    \/\/ Directions for the map (routes)\n    let directions = L.Routing.control({\n        router: L.Routing.osrmv1({\n            serviceUrl: 'https:\/\/api.aumenturpruebas.site\/osrm\/foot\/route\/v1',\n            profile: 'walking'\n        }),\n        routeWhileDragging: false,\n        draggableWaypoints: false,\n        addWaypoints: false,\n        show: false,\n        createMarker: function() {\n            return null;\n        }\n    }).addTo(map);\n\n    const allTagsSlugs = tags.map(tag => tag.slug);\n    const mapContainer = document.getElementById(\"aumentur-map\");\n    const locationList = document.getElementById(\"location-list\");\n    const tagFilters = document.getElementById(\"tag-filters\");\n    const packFilter = document.getElementById(\"pack-filter\");\n    const generatePackButton = document.getElementById(\"generate-aumentur-pack\");\n    const recommender = document.getElementById(\"recommender\");\n\n    \/\/ Debounced functions\n    const debouncedUpdateRoute = debounce(() => {\n        updateRoute(activeLocations);\n    }, 1000);\n\n    \/\/ Click anywhere on the map\n    map.on('click', function(e) {\n        $('#marker-info-description').removeClass('expanded');\n        $('#read-more-toggle').text('Read more');\n\n        if ($('#tag-filters-button').hasClass('active')) {\n            $('#tag-filters-button').removeClass('active');\n            $('#tag-filters').hide();\n            map.scrollWheelZoom.enable();\n            map.dragging.enable();\n        }\n    });\n\n    $(document).ready(function() {\n        \/\/ Add sortable to the location list\n        sortable = new Sortable(locationList, {\n            animation: 150,\n            handle: '.grab-location',\n            onEnd: function() {\n                \/\/ Reorder the active locations and recalculate route\n                const newOrder = Array.from(document.querySelectorAll('#location-list li')).map(li => li.dataset.aumenturid);\n                activeLocations = newOrder.map(id => activeLocations.find(item => item.id === id));\n\n                debouncedUpdateRoute();\n            }\n        });\n\n        $('.leaflet-routing-container').remove();\n        \/\/ Main menu controls\n        $('#main-menu button').each(function(i, element) {\n            $(element).on('click', function() {\n                previousMenuOption?.toggleClass('active');\n                $(element).toggleClass('active');\n                previousMenuOption = $(element);\n            });\n        });\n\n        $('#main-menu-all').on('click', function() {\n            $('#sidebar-title').text('Points of interest');\n            $('#sidebar-location').show();\n            $('#location-list').show();\n            $('#sidebar-title').show();\n            $('#recommender').hide();\n            $('#pack-filter').hide();\n            $('#tag-filters input').prop('disabled', false);\n            $('#tag-filters-button').show();\n            \/\/ All locations: reset all filters\n            $('#tag-filters input').each(function(i, element) {\n                element.checked = true;\n            });\n            $('#generate-aumentur-pack').css('visibility', 'initial');\n            startingPoint = null;\n\n            add_locations(allTagsSlugs, 'no-packs');\n        });\n\n        $('#main-menu-routes').on('click', function() {\n            $('#sidebar-title').text('Routes');\n            $('#pack-filter').show();\n            $('#sidebar-location').show();\n            $('#sidebar-title').show();\n            $('#location-list').show();\n            $('#recommender').hide();\n            startingPoint = null;\n\n            \/\/ Select first route by default\n            $('#pack-filter button').first().click();\n\n            $('#generate-aumentur-pack').css('visibility', 'initial');\n        });\n\n        $('#main-menu-recommender').on('click', function() {\n            \/\/ By default display first recommender page when opening it\n            resetPlanner();\n            $('#aumentur-create-route').prop('disabled', false);\n\n            $('#sidebar-location').hide();\n            $('#location-list').hide();\n            $('#sidebar-title').hide();\n            $('#pack-filter').hide();\n            $('#recommender').show();\n\n            $('#tag-filters-button').hide();\n            $('#tag-filters-button').removeClass('active');\n            $('#tag-filters').hide();\n\n            $('#generate-aumentur-pack').css('visibility', 'hidden');\n        });\n\n        $('#tag-filters-button').on('click', function(e) {\n            e.stopPropagation();\n            if ($('#tag-filters-button').hasClass('active')) {\n                $('#tag-filters-button').removeClass('active');\n                $('#tag-filters').hide();\n                map.scrollWheelZoom.enable();\n                map.dragging.enable();\n            } else {\n                $('#tag-filters-button').addClass('active');\n                $('#tag-filters').show();\n                map.scrollWheelZoom.disable();\n                map.dragging.disable();\n            }\n        });\n\n        $('#tag-filters').on('click', function(e) {\n            e.stopPropagation();\n        });\n\n        $('#location-list-button').on('click', function(e) {\n            $('#location-list').slideToggle(300);\n            if ($('#location-list-button i').hasClass('fa-angle-up')) {\n                $('#location-list-button i').removeClass('fa-angle-up');\n                $('#location-list-button i').addClass('fa-angle-down');\n            } else if ($('#location-list-button i').hasClass('fa-angle-down')) {\n                $('#location-list-button i').removeClass('fa-angle-down');\n                $('#location-list-button i').addClass('fa-angle-up');\n            }\n        });\n\n        $('#close-marker-info').on('click', function() {\n            $('#marker-info-description').removeClass('expanded');\n            $('#read-more-toggle').text('Read more');\n        });\n\n        $('#aumentur-pack-email').on('change', function() {\n            $('#aumentur-pack-form-send').prop('disabled', false);\n        });\n\n        \/\/ Populate category filter \n        tags.forEach(function(tag) {\n            const categoryDiv = document.createElement('div');\n            const checkbox = document.createElement('input');\n            checkbox.type = \"checkbox\";\n            checkbox.value = tag.slug;\n            checkbox.name = tag.slug;\n            checkbox.checked = true;\n            checkbox.id = \"checkbox-\" + tag.slug;\n            const label = document.createElement('label');\n            label.htmlFor = tag.slug;\n            label.innerHTML = tag.title;\n\n            categoryDiv.appendChild(checkbox);\n            categoryDiv.appendChild(label);\n            tagFilters.appendChild(categoryDiv);\n        });\n\n        \/\/ Handle selection changes\n        $(\"#tag-filters input\").on(\"change\", function() {\n            if ($(this).attr(\"id\") === \"tag-filters-all\") {\n                if ($('#tag-filters-all').is(':checked')) {\n                    $('#tag-filters input').each(function() {\n                        $(this).prop('checked', true);\n                    });\n                } else {\n                    $('#tag-filters input').each(function() {\n                        $(this).prop('checked', false);\n                    });\n                }\n            }\n\n            if ($('#tag-filters input:not(#tag-filters-all)').filter(\":not(:checked)\").length === 0) {\n                \/\/ If all inputs are checked, the select all should also be checked\n                $('#tag-filters-all').prop('checked', true);\n            } else {\n                \/\/ If any input is unchecked, the select all should also be unchecked\n                $('#tag-filters-all').prop('checked', false);\n            }\n\n            const selectedTags = $('#tag-filters input:checked').map(function() {\n                return $(this).val();\n            }).get();\n\n            \/\/ When some filter is changed, unselect the pack because now it's custom\n            previousSelectedPack?.classList.toggle('active');\n            previousSelectedPack = null;\n\n            markers.clearLayers();\n            startingPoint = null;\n            add_locations(selectedTags, 'no-packs');\n        });\n\n        \/\/ Populate pack filter\n        Object.values(packs).forEach((pack, index) => {\n            const packButton = document.createElement('button');\n            packButton.classList.add('pack-toggle-button');\n            packButton.textContent = pack.title;\n            packButton.dataset.slug = pack.slug;\n            if (pack.slug === \"no-packs\") {\n                packButton.classList.add('active');\n                previousSelectedPack = packButton;\n            }\n\n            packButton.addEventListener('click', () => {\n                packButton.classList.toggle('active');\n                previousSelectedPack?.classList.toggle('active');\n                previousSelectedPack = packButton;\n\n                \/\/ Close marker info\n                $('#marker-info-description').removeClass('expanded');\n                $('#read-more-toggle').text('Read more');\n\n                $('#tag-filters input').prop('disabled', true);\n                $('#tag-filters-button').hide();\n                $('#tag-filters-button').removeClass('active');\n                $('#tag-filters').hide();\n\n                \/\/ document.querySelectorAll('.mapboxgl-marker').forEach(marker => marker.remove());\n                $('#sidebar-title').text(pack.title);\n                markers.clearLayers();\n                startingPoint = null;\n                add_locations(allTagsSlugs, packButton.dataset.slug);\n            });\n\n            packFilter.appendChild(packButton);\n        });\n\n        \/** RECOMMENDER FUNCTIONALTIY *\/\n\n        \/\/ Listen for changes on the travel way, to adjust the directions API accordingly (to make routes by foot or by car)\n        $('#planner-travel-way .aumentur-planner-travel').on('click', function() {\n            plannerTravelWay = $(this).data('transport');\n        });\n\n        \/\/ Close the recommender only if we are on first screen (has been marked previously as active, and we pressed the back button again)\n        const firstRecommenderScreen = document.getElementById(\"aumentur-planner-survey\").firstElementChild;\n        let onFirstScreen = true;\n        document.getElementById(\"aumentur-planner-previous\").addEventListener('click', function() {\n            if (onFirstScreen && firstRecommenderScreen === document.getElementsByClassName('aumentur-planner-active')[0]) {\n                $('#main-menu-all').click();\n            } else if (firstRecommenderScreen === document.getElementsByClassName('aumentur-planner-active')[0]) {\n                onFirstScreen = true;\n            }\n        });\n\n        document.getElementById(\"aumentur-planner-next\").addEventListener('click', function() {\n            onFirstScreen = false;\n        });\n\n        \/\/ Remove the action on the create route button, we will not show the \"results\" page, instead add the result directly on the map\n        document.querySelector(\"#aumentur-planner-create input\").remove();\n        document.getElementById(\"aumentur-create-route\").addEventListener('click', function(button) {\n            button.preventDefault();\n            $('#aumentur-create-route').prop('disabled', true);\n            jQuery.ajax({\n                url: \"https:\/\/cordoba.aumenturpruebas.site\/wp-admin\/admin-ajax.php\",\n                method: 'POST',\n                data: {\n                    action: 'recommender_execution',\n                    security: \"9562928ecb\",\n                    aumentur_planner_responses: Cookies.get('aumentur_planner_responses')\n                },\n                success: function(response) {\n                    \/\/ Display the map again, with the generated pack info\n                    jQuery.ajax({\n                        url: \"https:\/\/cordoba.aumenturpruebas.site\/wp-admin\/admin-ajax.php\",\n                        method: 'GET',\n                        data: {\n                            action: 'get_pack',\n                            security: \"9562928ecb\",\n                            pack_id: JSON.parse(response).recommended_pack.id\n                        },\n                        success: function(packResponse) {\n                            const packData = JSON.parse(packResponse);\n                            let locations = [];\n                            packData.enabled_contents.forEach(function(content) {\n                                locations.push({\n                                    id: content.id,\n                                    name: content.title,\n                                    coords: [content.location.lon, content.location.lat],\n                                    description: content.description,\n                                    tags: []\n                                });\n                            });\n\n                            packs['custom'] = {\n                                id: packData.id,\n                                slug: packData.slug,\n                                title: packData.title,\n                                locations: locations,\n                                short_link: packData.short_link\n                            };\n\n                            startingPoint = JSON.parse(Cookies.get('startingPoint'));\n\n                            \/\/ Add recommender route to main menu\n                            $('#main-menu-my-route').remove();\n                            const recommendedRouteButton = document.createElement('button');\n                            recommendedRouteButton.classList.add('pack-toggle-button');\n                            recommendedRouteButton.id = 'main-menu-my-route';\n                            const recommendedRouteIcon = document.createElement('i');\n                            recommendedRouteIcon.classList.add('fa-solid');\n                            recommendedRouteIcon.classList.add('fa-map-location-dot')\n                            recommendedRouteButton.appendChild(recommendedRouteIcon);\n                            const recommendedRouteText = document.createElement('div');\n                            recommendedRouteText.innerHTML = 'My route';\n                            recommendedRouteButton.appendChild(recommendedRouteText);\n                            recommendedRouteButton.addEventListener('click', () => {\n                                $('#sidebar-title').text('My route');\n                                previousMenuOption?.toggleClass('active');\n                                $('#main-menu-my-route').toggleClass('active');\n                                previousMenuOption = $(recommendedRouteButton);\n                                $('#tag-filters input').prop('disabled', true);\n                                $('#tag-filters-button').hide();\n                                $('#tag-filters-button').removeClass('active');\n                                $('#tag-filters').hide();\n                                $('#recommender').hide();\n                                $('#pack-filter').hide();\n                                $('#sidebar-location').show();\n                                $('#location-list').show();\n                                $('#sidebar-title').show();\n                                $('#generate-aumentur-pack').css('visibility', 'initial');\n\n                                markers.clearLayers();\n                                add_locations(allTagsSlugs, \"custom\");\n                            });\n                            document.getElementById('main-menu').appendChild(recommendedRouteButton);\n\n                            \/\/ Force display the new pack on the filter\n                            $('#sidebar-title').text('My route');\n                            previousMenuOption?.toggleClass('active');\n                            $('#main-menu-my-route').toggleClass('active');\n                            previousMenuOption = $(recommendedRouteButton);\n                            $('#tag-filters input').prop('disabled', true);\n                            $('#tag-filters-button').hide();\n                            $('#tag-filters-button').removeClass('active');\n                            $('#tag-filters').hide();\n                            $('#recommender').hide();\n                            $('#pack-filter').hide();\n                            $('#sidebar-location').show();\n                            $('#location-list').show();\n                            $('#sidebar-title').show();\n                            $('#generate-aumentur-pack').css('visibility', 'initial');\n                            markers.clearLayers();\n                            add_locations(allTagsSlugs, 'custom');\n\n                            \/\/ Remove filters and only display the generated pack\n                            \/\/ document.getElementById('aumentur-map-filters').style.display = \"none\";\n                            \/\/ document.querySelectorAll('#location-list input').forEach(function(e) { e.style.display = \"none\" });\n                        },\n                        error: function() {\n                            console.log('ERROR GET PACK');\n                        }\n                    });\n                },\n                error: function(xhr, status, error) {\n                    console.error('AJAX error:', status, error);\n                    console.error('Response:', xhr.responseText);\n                }\n            });\n        });\n    });\n\n    \/\/ Restrict movement to the city\n    \/\/ map.setMaxBounds([\n    \/\/     [bounds.min_lon, bounds.min_lat], \/\/ Southwest\n    \/\/     [bounds.max_lon, bounds.max_lat] \/\/ Northeast\n    \/\/ ]);\n\n    \/\/ Generate pack functionality + show modal\n    const modal = document.getElementById(\"aumentur-modal-map\");\n    const close = document.getElementById(\"aumentur-modal-map-close\");\n    generatePackButton.addEventListener(\"click\", function() {\n        \/\/ Generate pack only if its not the one from the recommender (because its already generated)\n        if ($('#main-menu-my-route').hasClass('active')) {\n            const qrContent = document.getElementById(\"aumentur-generated-pack-qr\");\n            qrContent.innerHTML = \"\";\n            const deeplink = document.getElementById(\"aumentur-generated-pack-deeplink\");\n            deeplink.href = packs['custom'].short_link;\n            deeplink.innerHTML = 'Click to download';\n            const qrImage = document.createElement('img');\n            qrImage.src = \"https:\/\/api.qrserver.com\/v1\/create-qr-code\/?size=200x200&data=\" + packs['custom'].short_link;\n            qrContent.appendChild(qrImage);\n\n            \/\/ Send PDF report to user\n            $('#aumentur-pack-form-send').on('click', function() {\n                sendPackReportEmail(packs['custom'].id);\n            });\n        } else {\n            \/\/ Get all selected contents\n            const content_ids = [];\n            for (const child of locationList.children) {\n                content_ids.push(child.dataset.aumenturid);\n            }\n\n            jQuery.ajax({\n                url: \"https:\/\/cordoba.aumenturpruebas.site\/wp-admin\/admin-ajax.php\",\n                method: 'POST',\n                data: {\n                    action: 'aumentur_custom_user_pack',\n                    security: \"9562928ecb\",\n                    content_ids: content_ids\n                },\n                success: function(response) {\n                    const pack = JSON.parse(response);\n                    const qrContent = document.getElementById(\"aumentur-generated-pack-qr\");\n                    qrContent.innerHTML = \"\";\n                    const deeplink = document.getElementById(\"aumentur-generated-pack-deeplink\");\n                    deeplink.href = pack.short_link;\n                    deeplink.innerHTML = 'Click to download';\n                    const qrImage = document.createElement('img');\n                    qrImage.src = \"https:\/\/api.qrserver.com\/v1\/create-qr-code\/?size=200x200&data=\" + pack.short_link;\n\n                    qrContent.appendChild(qrImage);\n\n\n                    \/\/ Send PDF report to user\n                    $('#aumentur-pack-form-send').on('click', function() {\n                        sendPackReportEmail(pack.id);\n                    });\n                },\n                error: function(xhr, status, error) {\n                    console.error('AJAX error:', status, error);\n                    console.error('Response:', xhr.responseText);\n                }\n            });\n        }\n\n        modal.style.display = \"flex\";\n    });\n\n    \/\/ When the user clicks on the close button, close the modal\n    close.addEventListener(\"click\", () => {\n        modal.style.display = \"none\";\n    });\n\n    \/\/ When the user clicks anywhere outside the modal, close it\n    window.addEventListener(\"click\", (event) => {\n        if (event.target === modal) {\n            modal.style.display = \"none\";\n        }\n    });\n\n    \/\/ Modal for the image\n    const imageModal = document.getElementById(\"aumentur-modal-image\");\n    const closeImageModal = document.getElementById(\"aumentur-modal-image-close\");\n\n    \/\/ When the user clicks on the close button, close the modal\n    closeImageModal.addEventListener(\"click\", () => {\n        imageModal.style.display = \"none\";\n    });\n\n    \/\/ When the user clicks anywhere outside the modal, close it\n    window.addEventListener(\"click\", (event) => {\n        if (event.target === imageModal) {\n            imageModal.style.display = \"none\";\n        }\n    });\n\n    add_locations(allTagsSlugs, 'no-packs');\n\n    function add_locations(selectedTags, selectedPack) {\n        locationList.innerHTML = \"\";\n        activeLocations = [];\n        if (startingPoint) {\n            activeLocations[0] = {\n                id: 'start',\n                name: 'Your starting point',\n                tags: [],\n                description: 'Your route starts here.',\n                coords: [startingPoint['lng'], startingPoint['lat']]\n            };\n        }\n\n        if (selectedPack !== \"no-packs\") {\n            activeLocations = activeLocations.concat(packs[selectedPack].locations);\n            updateRoute(activeLocations);\n        } else {\n            \/\/ directions.removeRoutes();\n            activeLocations = activeLocations.concat(locations);\n            updateRoute([]);\n            if (startMarker) map.removeLayer(startMarker);\n            if (endMarker) map.removeLayer(endMarker);\n            if (routeStartMarker) map.removeLayer(routeStartMarker);\n            if (routeEndMarker) map.removeLayer(routeEndMarker);\n        }\n\n        activeLocations.forEach((location, index) => {\n            const matchingSlugs = location.tags.filter(tag => selectedTags.includes(tag.slug));\n\n            \/\/ Locations with no tags are added always\n            if (location.tags.length === 0 || matchingSlugs.length > 0) {\n\n                \/\/ const marker = L.circleMarker([location.coords[1], location.coords[0]], {\n                \/\/     fillColor: '#FF5252',\n                \/\/     color: '#FF5252',\n                \/\/ });\n                const markerIcon = L.divIcon({\n                    className: 'red-dot-icon',\n                    iconSize: [12, 12],\n                    iconAnchor: [6, 6], \/\/ center the icon on the lat\/lng\n                    html: '<div class=\"red-dot\"><\/div>'\n                });\n                \/\/ if (index === 0) {\n                \/\/     markerOptions = { icon: markerIcon, interactive: false };\n                \/\/     const startMarker \n                \/\/     markers.addLayer(startMarker);\n                \/\/ } else if (index === activeLocations.length - 1) {\n                \/\/     markerOptions = { icon: markerIcon, interactive: false };\n                \/\/ } else {\n                \/\/     const marker = L.marker([location.coords[1], location.coords[0]], { icon: markerIcon });\n                \/\/ }\n                const marker = L.marker([location.coords[1], location.coords[0]], {\n                    icon: markerIcon\n                });\n                const popup = L.popup({\n                    maxWidth: 200\n                }).setContent(`\n                    <div>\n                <img decoding=\"async\" id=\"marker-info-image\" onclick=\"addImageToModal()\" src=\"${location.image ?? ''}\" \/>\n                <div style=\"display: flex; justify-content: space-between;\">\n                    <h4 id=\"marker-info-title\">${location.name}<\/h4>\n                <\/div>\n                <div>\n                    <div id=\"marker-info-description\">${location.description ?? ''}<\/div>\n                    <button id=\"read-more-toggle\" onclick=\"readMoreInfo()\">Read more<\/button>\n                <\/div>\n            <\/div>\n                `);\n                marker.bindPopup(popup);\n                markers.addLayer(marker);\n\n                marker.on('click', function(e) {\n                    \/\/ Close marker info\n                    $('#marker-info-description').removeClass('expanded');\n                    $('#read-more-toggle').text('Read more');\n\n\n                    if (location.image === null) {\n                        $('#marker-info-image').hide();\n                    } else {\n                        $('#marker-info-image').show();\n                    }\n                });\n\n                \/\/ Add the location to the sidebar\n                const li = document.createElement(\"li\");\n                li.dataset.aumenturid = location.id;\n\n                const locationDiv = document.createElement(\"div\");\n                locationDiv.innerHTML = location.name;\n                li.appendChild(locationDiv);\n                const iconsDiv = document.createElement(\"div\");\n                const grabIcon = document.createElement(\"i\");\n                grabIcon.classList.add('fa-solid');\n                grabIcon.classList.add('fa-grip-lines');\n                grabIcon.classList.add('grab-location');\n                iconsDiv.appendChild(grabIcon);\n                const trashIcon = document.createElement(\"i\");\n                trashIcon.classList.add('fa-solid');\n                trashIcon.classList.add('fa-circle-xmark');\n                iconsDiv.appendChild(trashIcon);\n                li.appendChild(iconsDiv);\n\n                \/\/ Add click functionality for the location\n                locationDiv.onclick = () => {\n                    \/\/ Close marker info\n                    $('#marker-info-description').removeClass('expanded');\n                    $('#read-more-toggle').text('Read more');\n\n                    \/\/ Zoom to the clicked location\n                    map.flyTo(marker.getLatLng(), 17);\n\n                    marker.fire('click');\n                };\n\n                \/\/ Listen to click on trash icon to delete from location list\n                trashIcon.addEventListener(\"click\", function() {\n                    \/\/ marker.remove();\n                    map.removeLayer(marker);\n                    li.remove();\n\n                    activeLocations = activeLocations.filter(item => item.id !== location.id);\n\n                    debouncedUpdateRoute(activeLocations);\n\n                    \/\/ When some location is deleted, unselect the pack because now it's custom\n                    previousSelectedPack?.classList.toggle('active');\n                    previousSelectedPack = null;\n                });\n\n                locationList.appendChild(li);\n            }\n        });\n    }\n\n    function updateRoute(waypoints) {\n        \/\/ Set the route mode. If we are on the recommended route, check the recommender answer, if not foot by default\n        if (directions) {\n            map.removeControl(directions);\n        }\n        if ($('#main-menu-my-route').hasClass('active') && (plannerTravelWay === \"coche-propio\" || plannerTravelWay === \"transporte-publico\")) {\n            directions = L.Routing.control({\n                router: L.Routing.osrmv1({\n                    serviceUrl: 'https:\/\/api.aumenturpruebas.site\/osrm\/car\/route\/v1',\n                    profile: 'driving'\n                }),\n                routeWhileDragging: false,\n                draggableWaypoints: false,\n                addWaypoints: false,\n                show: false,\n                createMarker: function() {\n                    return null;\n                }\n            }).addTo(map);\n        } else {\n            directions = L.Routing.control({\n                router: L.Routing.osrmv1({\n                    serviceUrl: 'https:\/\/api.aumenturpruebas.site\/osrm\/foot\/route\/v1',\n                    profile: 'walking'\n                }),\n                routeWhileDragging: false,\n                draggableWaypoints: false,\n                addWaypoints: false,\n                show: false,\n                createMarker: function() {\n                    return null;\n                }\n            }).addTo(map);\n        }\n\n        directions.on('routesfound', function(e) {\n            const waypoints = directions.getWaypoints();\n\n            const start = waypoints[0].latLng;\n            const end = waypoints[waypoints.length - 1].latLng;\n\n            \/\/ Remove existing markers if they exist\n            if (routeStartMarker) map.removeLayer(routeStartMarker);\n            if (routeEndMarker) map.removeLayer(routeEndMarker);\n\n            \/\/ Add custom markers for start and end\n\n            var greenIcon = new L.Icon({\n                iconUrl: 'https:\/\/raw.githubusercontent.com\/pointhi\/leaflet-color-markers\/master\/img\/marker-icon-2x-green.png',\n                shadowUrl: 'https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/leaflet\/0.7.7\/images\/marker-shadow.png',\n                iconSize: [25, 41],\n                iconAnchor: [12, 41],\n                popupAnchor: [1, -34],\n                shadowSize: [41, 41]\n            });\n            routeStartMarker = L.marker(start, {\n                icon: greenIcon,\n                interactive: false\n            }).addTo(map);\n\n            var flagIcon = new L.Icon({\n                iconUrl: 'https:\/\/www.svgrepo.com\/show\/382133\/racing-flag.svg',\n                iconSize: [45, 61],\n                iconAnchor: [12, 41],\n                popupAnchor: [1, -34],\n                shadowSize: [41, 41]\n            });\n            routeEndMarker = L.marker(end, {\n                icon: flagIcon,\n                interactive: false\n            }).addTo(map);\n\n            \/\/ Fit camera to route\n            const bounds = L.latLngBounds([]);\n            e.routes[0].coordinates.forEach(coord => {\n                bounds.extend(coord);\n            });\n            map.fitBounds(bounds, {\n                padding: [30, 30]\n            });\n        });\n\n        let points = [];\n        if (waypoints.length > 1) {\n            for (let i = 0; i < waypoints.length; i++) {\n                if (waypoints[i].coords) {\n                    points.push(L.latLng(waypoints[i].coords[1], waypoints[i].coords[0]));\n                }\n            }\n        }\n        directions.setWaypoints(points);\n    }\n\n    function addImageToModal() {\n        $('#modal-image-big').attr('src', $('#marker-info-image').attr('src'));\n        imageModal.style.display = \"flex\";\n    }\n\n    function readMoreInfo() {\n        $('#marker-info-description').toggleClass('expanded');\n\n        if ($('#marker-info-description').hasClass('expanded')) {\n            $('#read-more-toggle').text('Read less');\n        } else {\n            $('#marker-info-description').scrollTop(0);\n            $('#read-more-toggle').text('Read more');\n        }\n    }\n\n    function sendPackReportEmail(pack_id) {\n        \/\/ Make a simple first email check\n        if ($('#aumentur-pack-email').is(':invalid') || $('#aumentur-pack-email').val() === \"\") {\n            $('#aumentur-pack-form-send').prop('disabled', false);\n            $('#aumentur-pack-email-info').text('The email is invalid, please try again!');\n            $('#aumentur-pack-email-info').addClass('error');\n\n            return;\n        }\n\n        jQuery.ajax({\n            url: \"https:\/\/cordoba.aumenturpruebas.site\/wp-admin\/admin-ajax.php\",\n            method: 'POST',\n            data: {\n                action: 'pack_report',\n                email: $('#aumentur-pack-email').val(),\n                pack_id: pack_id\n            },\n            success: function(xhr, status, error) {\n                const response = JSON.parse(JSON.parse(xhr));\n\n                if (response.error) {\n                    $('#aumentur-pack-form-send').prop('disabled', false);\n                    $('#aumentur-pack-email-info').text('The email is invalid, please try again!');\n                    $('#aumentur-pack-email-info').addClass('error');\n                } else if (response.data) {\n                    $('#aumentur-pack-form-send').prop('disabled', true);\n                    $('#aumentur-pack-email-info').text('The email with your route has been sent, check your inbox!');\n                    $('#aumentur-pack-email-info').removeClass('error');\n                } else {\n                    $('#aumentur-pack-form-send').prop('disabled', false);\n                    $('#aumentur-pack-email-info').text('There has been an error trying to email your route, please try again later.');\n                    $('#aumentur-pack-email-info').addClass('error');\n                }\n            },\n            error: function(xhr, status, error) {\n                $('#aumentur-pack-form-send').prop('disabled', false);\n                $('#aumentur-pack-email-info').text('There has been an error trying to email your route, please try again later.');\n                $('#aumentur-pack-email-info').addClass('error');\n            }\n        });\n    }\n\n    function debounce(func, delay) {\n        let timeout;\n        return function(...args) {\n            clearTimeout(timeout);\n            timeout = setTimeout(() => func.apply(this, args), delay);\n        };\n    }\n<\/script>\n\n\n\n<p><\/p>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"acf":[],"_links":{"self":[{"href":"https:\/\/cordoba.aumenturpruebas.site\/en\/wp-json\/wp\/v2\/posts\/1","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cordoba.aumenturpruebas.site\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cordoba.aumenturpruebas.site\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cordoba.aumenturpruebas.site\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cordoba.aumenturpruebas.site\/en\/wp-json\/wp\/v2\/comments?post=1"}],"version-history":[{"count":1,"href":"https:\/\/cordoba.aumenturpruebas.site\/en\/wp-json\/wp\/v2\/posts\/1\/revisions"}],"predecessor-version":[{"id":8,"href":"https:\/\/cordoba.aumenturpruebas.site\/en\/wp-json\/wp\/v2\/posts\/1\/revisions\/8"}],"wp:attachment":[{"href":"https:\/\/cordoba.aumenturpruebas.site\/en\/wp-json\/wp\/v2\/media?parent=1"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cordoba.aumenturpruebas.site\/en\/wp-json\/wp\/v2\/categories?post=1"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cordoba.aumenturpruebas.site\/en\/wp-json\/wp\/v2\/tags?post=1"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}