{"id":322318,"date":"2023-12-15T11:10:16","date_gmt":"2023-12-15T10:10:16","guid":{"rendered":"https:\/\/www.fiarebancaetica.coop\/?page_id=322318"},"modified":"2024-02-20T16:27:49","modified_gmt":"2024-02-20T15:27:49","slug":"troba-el-git-mes-proper-a-tu","status":"publish","type":"page","link":"https:\/\/www.fiarebancaetica.coop\/ca\/troba-el-git-mes-proper-a-tu\/","title":{"rendered":"Troba el GIT m\u00e9s proper a tu"},"content":{"rendered":"\n<div class=\"wrapper-crispybacon-class wrapper-crispybacon-class-wide \">\n    \n\n<div class=\"google-map git-map\">\n\n    <script src=\"https:\/\/maps.googleapis.com\/maps\/api\/js?key=AIzaSyC_0FNxePDZg2WNxCM1plrp5oKd6ouHzIM\"><\/script>\n<script src=\"https:\/\/unpkg.com\/@googlemaps\/markerclusterer\/dist\/index.min.js\"><\/script>\n<script type=\"text\/javascript\">\n    (function( $ ) {\n\n        \/**\n         * initMap\n         *\n         * Renders a Google Map onto the selected jQuery element\n         *\n         * @date    22\/10\/19\n         * @since   5.8.6\n         *\n         * @param   jQuery $el The jQuery element.\n         * @return  object The map instance.\n         *\/\n        function initMap($el, firstPageLoad = false) {\n\n            \/\/ Find marker elements within map.\n            var $markers = $el.find('.marker');\n\n            \/\/ Map's style.\n            var mapStyle = [{\n                    \"elementType\": \"geometry\",\n                    \"stylers\": [{\n                        \"color\": \"#f5f5f5\"\n                    }]\n                },\n                {\n                    \"elementType\": \"labels.icon\",\n                    \"stylers\": [{\n                        \"visibility\": \"off\"\n                    }]\n                },\n                {\n                    \"elementType\": \"labels.text.fill\",\n                    \"stylers\": [{\n                        \"color\": \"#616161\"\n                    }]\n                },\n                {\n                    \"elementType\": \"labels.text.stroke\",\n                    \"stylers\": [{\n                        \"color\": \"#f5f5f5\"\n                    }]\n                },\n                {\n                    \"featureType\": \"administrative.land_parcel\",\n                    \"elementType\": \"labels.text.fill\",\n                    \"stylers\": [{\n                        \"color\": \"#bdbdbd\"\n                    }]\n                },\n                {\n                    \"featureType\": \"poi\",\n                    \"elementType\": \"geometry\",\n                    \"stylers\": [{\n                        \"color\": \"#eeeeee\"\n                    }]\n                },\n                {\n                    \"featureType\": \"poi\",\n                    \"elementType\": \"labels.text.fill\",\n                    \"stylers\": [{\n                        \"color\": \"#757575\"\n                    }]\n                },\n                {\n                    \"featureType\": \"poi.park\",\n                    \"elementType\": \"geometry\",\n                    \"stylers\": [{\n                        \"color\": \"#e5e5e5\"\n                    }]\n                },\n                {\n                    \"featureType\": \"poi.park\",\n                    \"elementType\": \"labels.text.fill\",\n                    \"stylers\": [{\n                        \"color\": \"#9e9e9e\"\n                    }]\n                },\n                {\n                    \"featureType\": \"road\",\n                    \"elementType\": \"geometry\",\n                    \"stylers\": [{\n                        \"color\": \"#ffffff\"\n                    }]\n                },\n                {\n                    \"featureType\": \"road.arterial\",\n                    \"elementType\": \"labels.text.fill\",\n                    \"stylers\": [{\n                        \"color\": \"#757575\"\n                    }]\n                },\n                {\n                    \"featureType\": \"road.highway\",\n                    \"elementType\": \"geometry\",\n                    \"stylers\": [{\n                        \"color\": \"#dadada\"\n                    }]\n                },\n                {\n                    \"featureType\": \"road.highway\",\n                    \"elementType\": \"labels.text.fill\",\n                    \"stylers\": [{\n                        \"color\": \"#616161\"\n                    }]\n                },\n                {\n                    \"featureType\": \"road.local\",\n                    \"elementType\": \"labels.text.fill\",\n                    \"stylers\": [{\n                        \"color\": \"#9e9e9e\"\n                    }]\n                },\n                {\n                    \"featureType\": \"transit.line\",\n                    \"elementType\": \"geometry\",\n                    \"stylers\": [{\n                        \"color\": \"#e5e5e5\"\n                    }]\n                },\n                {\n                    \"featureType\": \"transit.station\",\n                    \"elementType\": \"geometry\",\n                    \"stylers\": [{\n                        \"color\": \"#eeeeee\"\n                    }]\n                },\n                {\n                    \"featureType\": \"water\",\n                    \"elementType\": \"geometry\",\n                    \"stylers\": [{\n                        \"color\": \"#c9c9c9\"\n                    }]\n                },\n                {\n                    \"featureType\": \"water\",\n                    \"elementType\": \"labels.text.fill\",\n                    \"stylers\": [{\n                        \"color\": \"#9e9e9e\"\n                    }]\n                }\n            ];\n\n            \/\/ Create gerenic map.\n            var mapArgs = {\n                zoom: $el.data('zoom') || 6,\n                center: {\n                    lat: 42.391472,\n                    lng: 13.050587\n                },\n                mapTypeId: google.maps.MapTypeId.ROADMAP,\n                mapTypeControl: false,\n                streetViewControl: false,\n                fullscreenControl: false,\n                styles: mapStyle,\n            };\n            var map = new google.maps.Map($el[0], mapArgs);\n\n            \/\/ Add markers.\n            map.markers = [];\n            $markers.each(function() {\n                initMarker($(this), map);\n            });\n\n            if (firstPageLoad != true) {\n                \/\/ Center map based on markers.\n                centerMap(map);\n            }\n\n            \/\/ Return map instance.\n            return map;\n        }\n\n        \/**\n         * initMarker\n         *\n         * Creates a marker for the given jQuery element and map.\n         *\n         * @date    22\/10\/19\n         * @since   5.8.6\n         *\n         * @param   jQuery $el The jQuery element.\n         * @param   object The map instance.\n         * @return  object The marker instance.\n         *\/\n        function initMarker($marker, map) {\n\n            \/\/ Get position from marker.\n            var lat = $marker.data('lat');\n            var lng = $marker.data('lng');\n            var latLng = {\n                lat: parseFloat(lat),\n                lng: parseFloat(lng)\n            };\n\n            var regions = $marker.data('regions') + '';\n            var region_name = $marker.data('region') + '';\n            var financingCount = $marker.data('count');\n            var gitTagId = $marker.data('git-tag');\n\n            \/\/ Create marker instance.\n            var marker = new google.maps.Marker({\n                position: latLng,\n                map: map,\n                icon: 'https:\/\/www.fiarebancaetica.coop\/app\/themes\/crispybacon-bancaetica\/images\/marker-git-small.png',\n                regions: regions,\n                region_name: region_name,\n                _financingCount: financingCount,\n                tagId: gitTagId,\n            });\n\n            \/\/ Append to reference for later use.\n            map.markers.push(marker);\n\n            \/\/ If marker contains HTML, add it to an infoWindow.\n            if ($marker.html()) {\n\n                \/\/ Show marker's info into the sidebar instead of the info window when marker is clicked.\n                \/\/ See: https:\/\/stackoverflow.com\/questions\/19205388\/how-to-populate-sidebar-information-with-infowindow-data\n                google.maps.event.addListener(marker, 'click', function() {\n                    $('.google-map__sidebar-content').html($marker.html());\n                    $('.google-map__sidebar').addClass('google-map__sidebar--open');\n                });\n\n            }\n        }\n\n        \/\/function for get lat and lng coordinates by region name\n        function geoCodeRegion(regionName, callback) {\n\n            const currentUrl = window.location.href;\n            var geocoder = new google.maps.Geocoder();\n            var address = {\n                'address': regionName\n            };\n\n            if (currentUrl.includes('.coop')) {\n                address.componentRestrictions = {\n                    country: 'ES' \/\/ Spain country code\n                };\n            } else {\n                address.componentRestrictions = {\n                    country: 'IT' \/\/ Italy country code\n                };\n            }\n\n            geocoder.geocode(address, function(results, status) {\n                if (status === google.maps.GeocoderStatus.OK && results.length > 0) {\n                    var location = results[0].geometry.location;\n                    var coordinates = {\n                        lat: location.lat(),\n                        lng: location.lng()\n                    };\n                    callback(coordinates);\n                } else {\n                    console.error('Geocoding non riuscito per la regione ' + regionName);\n                    callback(null);\n                }\n            });\n        }\n\n        \/**\n         * Function to filter markers by region\n         *\/\n        function filterMarkers(filters, map) {\n            var bounds = new google.maps.LatLngBounds();\n\n            \/\/ Clears all clusters and markers from the clusterer.\n            markerCluster.clearMarkers();\n\n            var visibleMarkers = 0;\n            var visibleFinancing = 0;\n            for (i = 0; i < map.markers.length; i++) {\n                marker = map.markers[i];\n                \/\/ If is same filters or filters not picked\n                if ((marker.regions.indexOf(filters.region) >= 0 || filters.region.length == 0) &&\n                    (marker.regions.indexOf(filters.state) >= 0 || filters.state.length == 0)) {\n                    marker.setVisible(true);\n                    bounds.extend(marker.getPosition());\n                    visibleMarkers++;\n                    markerCluster.addMarker(marker);\n                    visibleFinancing = visibleFinancing + parseFloat(marker._financingCount);\n                }\n                \/\/ Categories don't match \n                else {\n                    marker.setVisible(false);\n                }\n            }\n\n            \/\/case: no markers\n            if (visibleMarkers === 0) {\n                geoCodeRegion(map.markers[0].region_name, function(coordinates) {\n                    map.setCenter(coordinates);\n                    map.setZoom(8);\n                });\n                visibleFinancing = 0;\n            }\n\n            \/\/ Case: Single marker.\n            if (visibleMarkers == 1) {\n                map.setCenter(bounds.getCenter());\n                map.setZoom(8);\n\n                \/\/ Case: Multiple markers.\n            } else if (visibleMarkers > 1) {\n                map.fitBounds(bounds);\n            }\n\n            $('.google-map__count-number').html(visibleFinancing);\n        }\n\n        \/**\n         * centerMap\n         *\n         * Centers the map showing all markers in view.\n         *\n         * @date    22\/10\/19\n         * @since   5.8.6\n         *\n         * @param   object The map instance.\n         * @return  void\n         *\/\n        function centerMap(map) {\n\n            \/\/ Create map boundaries from all map markers.\n            var bounds = new google.maps.LatLngBounds();\n            map.markers.forEach(function(marker) {\n                bounds.extend({\n                    lat: marker.position.lat(),\n                    lng: marker.position.lng()\n                });\n            });\n\n            \/\/ Case: Single marker.\n            if (map.markers.length == 1) {\n                map.setCenter(bounds.getCenter());\n                map.setZoom(10);\n\n                \/\/ Case: Multiple markers.\n            } else {\n                map.fitBounds(bounds);\n            }\n        }\n\n        function retrieveProvinces(firstPageLoad = false) {\n            \/\/ Set States on the Select.\n            var region = $('#google-map-region').find('option:selected').val();\n\n            closeMapSidebar();\n\n            $('#google-map-state').prop('disabled', true);\n\n            \/\/ Update \"Province\" select's options.\n            $.ajax({\n                type: \"POST\",\n                url: CbwptformatAjax.ajaxurl,\n                data: {\n                    action: 'retrieve_states_from_selected_region',\n                    security: CbwptformatAjax.security,\n                    region: region,\n                },\n                dataType: 'json',\n                success: function(result) {\n                    if ($('#google-map-state').length) {\n                        $('#google-map-state').html(result);\n                        $('#google-map-state').prop('disabled', false);\n                    }\n                },\n                error: function(request, status, error) {\n                    console.log(request);\n                    console.log(status);\n                    console.log(error);\n                }\n            });\n        }\n\n        function filterFinancingList(appendResults = false) {\n            region = $('#google-map-region').find('option:selected').val();\n            state = $('#google-map-state').find('option:selected').val();\n            currentPage = $('.financing-list__load-more').attr('data-page');\n\n            $.ajax({\n                type: \"POST\",\n                url: CbwptformatAjax.ajaxurl,\n                data: {\n                    action: 'get_gits',\n                    security: CbwptformatAjax.security,\n                    page: currentPage,\n                    region: region,\n                    state: state,\n                },\n                dataType: 'json',\n                success: function(response) {\n                    if (appendResults === true) {\n                        \/\/ Append new items.\n                        $('.financing-list__container').append(response.results);\n                    } else {\n                        \/\/ Replace items with new content.\n                        $('.financing-list__container').html(response.results);\n\n                        \/\/ Reset load more button.\n                        $('.financing-list__load-more').attr('data-page', 1).show();\n                    }\n\n                    $('.financing-list__container').closest('.wrapper').removeClass('is_loading');\n\n                    loadMoreVisibility(response.max_num_pages, currentPage);\n\n                    $('.google-map__count-number').html(response.found_posts);\n                }\n            });\n\n            const params = new Proxy(new URLSearchParams(window.location.search), {\n                get: (searchParams, prop) => searchParams.get(prop),\n            });\n\n            var financingMapHref = $('.google-map__link--map').attr('href');\n            \/\/ if (financingMapHref) {\n            \/\/     var financingMapLink = new URL(financingMapHref);\n            \/\/     if (params.region) {\n            \/\/         financingMapLink.searchParams.set(\"region\", params.region);\n            \/\/         $('.google-map__link--map').attr('href', financingMapLink.href);\n            \/\/     }\n            \/\/     if (params.province) {\n            \/\/         financingMapLink.searchParams.set(\"province\", params.province);\n            \/\/         $('.google-map__link--map').attr('href', financingMapLink.href);\n            \/\/     }\n            \/\/ }\n        }\n\n        function filterFinancing(firstPageLoad = false) {\n            region = '';\n            state = '';\n\n            if ($('#google-map-region').length) {\n                region = $('#google-map-region').find('option:selected').val();\n            }\n\n            if ($('#google-map-state').length) {\n                state = $('#google-map-state').find('option:selected').val();\n            }\n\n            $('.git-map-wrapper').addClass('is_loading');\n\n            $.ajax({\n                type: \"POST\",\n                url: CbwptformatAjax.ajaxurl,\n                async: true,\n                data: {\n                    action: 'get_gits_google_map',\n                    security: CbwptformatAjax.security,\n                    page: 1,\n                    region: region,\n                    state: state,\n                },\n                dataType: 'json',\n                success: function(response) {\n\n                    \/\/ Add new markers.\n                    $('.acf-map').html(response.results);\n\n                    $('.git-map-wrapper').removeClass('is_loading');\n\n                    $('#google-map-state').prop('disabled', false);\n\n                    renderMap();\n\n                    \/\/ Add a marker clusterer to manage the markers.\n                    var markers = map.markers;\n                    markerClusterOptions = {\n                        map: map,\n                        markers: markers,\n                        \/\/ algorithm: new markerClusterer.KmeansAlgorithm({}),\n                    };\n                    markerCluster = new markerClusterer.MarkerClusterer(markerClusterOptions);\n\n                    $('.google-map__count-number').html(response.found_posts);\n\n                    var filters = {\n                        region: region,\n                        state: state,\n                    };\n                    closeMapSidebar();\n                    filterMarkers(filters, map);\n                },\n                error: function(request, status, error) {\n                    console.log(request);\n                    console.log(status);\n                    console.log(error);\n                }\n            });\n\n            const params = new Proxy(new URLSearchParams(window.location.search), {\n                get: (searchParams, prop) => searchParams.get(prop),\n            });\n\n            var financingListHref = $('.google-map__link--list').attr('href');\n            if (financingListHref) {\n                \/\/ var financingListLink = new URL(financingListHref);\n                \/\/ if (params.region) {\n                \/\/     financingListLink.searchParams.set(\"region\", params.region);\n                \/\/     $('.google-map__link--list').attr('href', financingListLink.href);\n                \/\/ }\n                \/\/ if (params.province) {\n                \/\/     financingListLink.searchParams.set(\"province\", params.province);\n                \/\/     $('.google-map__link--list').attr('href', financingListLink.href);\n                \/\/ }\n            }\n\n            \/\/ Get the value of \"region\" in eg \"https:\/\/www.bancaetica.it\/finanziamenti\/?region=regionID\"\n            if (params.region && params.region != \"\" && firstPageLoad == true) {\n                \/\/ do nothing.\n            } else {\n                retrieveProvinces();\n            }\n        }\n\n        function closeMapSidebar() {\n            $('.google-map__sidebar').removeClass('google-map__sidebar--open');\n        }\n\n        function loadMoreVisibility(maxNumPages, currentPage = 1) {\n            $('.financing-list__load-more').closest('.wrapper').removeClass('is_loading');\n            if (currentPage < maxNumPages) {\n                \/\/ $('.financing-list__load-more').show();\n            } else {\n                $('.financing-list__load-more').hide();\n            }\n        }\n\n        function renderMap(firstPageLoad = false) {\n            \/\/ Render Google Map.\n            $('.acf-map').each(function() {\n                \/\/ Map is declared globally on the page avoiding \"var\".\n                map = initMap($(this), firstPageLoad);\n            });\n        }\n\n        $(document).ready(function() {\n            $('#google-map-state').val(''); \/\/reset province on reload page for get correct number of visible markers\n            var firstPageLoad = true;\n\n            filterFinancing(firstPageLoad);\n            filterFinancingList();\n            $('#google-map-state').prop('disabled', true);\n\n            renderMap(firstPageLoad);\n\n            $('.financing-list__load-more').closest('.wrapper').addClass('is_loading');\n\n            const params = new Proxy(new URLSearchParams(window.location.search), {\n                get: (searchParams, prop) => searchParams.get(prop),\n            });\n\n            \/\/ Get the value of \"region\" in eg \"https:\/\/www.bancaetica.it\/finanziamenti\/?region=regionID\"\n            if (params.region && params.region != \"\") {\n                \/\/ filterFinancingList();\n            } else {\n                \/\/ retrieveProvinces();\n            }\n\n            $('.google-map__filters-label').on('click', function() {\n                $('.google-map__filters').toggleClass('google-map__filters--open');\n            });\n\n            \/\/ Close sidebar handler.\n            $('.google-map__sidebar-close-btn').on('click', function() {\n                closeMapSidebar();\n            });\n\n            if ($('#google-map-region').length) {\n                $('.google-map__filters').on('change', '#google-map-region', function() {\n                    \/\/ Reset province value before sending new query.\n                    $('#google-map-state').val('');\n                    $('.financing-list__load-more').attr('data-page', 1);\n\n                    filterFinancing();\n                    filterFinancingList();\n\n                    \/\/ retrieveProvinces();\n                    $('.financing-list__container').closest('.wrapper').addClass('is_loading');\n\n                    if ('URLSearchParams' in window) {\n                        var searchParams = new URLSearchParams(window.location.search)\n                        searchParams.set(\"region\", $('#google-map-region').find('option:selected').val());\n                        searchParams.delete(\"province\");\n                        var newRelativePathQuery = window.location.pathname + '?' + searchParams.toString();\n                        history.pushState(null, '', newRelativePathQuery);\n                    }\n\n                    var financingListHref = $('.google-map__link--list').attr('href');\n                    if (financingListHref) {\n                        \/\/ var financingListLink = new URL(financingListHref);\n                        \/\/ financingListLink.searchParams.set(\"region\", $('#google-map-region').find('option:selected').val());\n                        \/\/ financingListLink.searchParams.delete(\"province\");\n                        \/\/ $('.google-map__link--list').attr('href', financingListLink.href);\n                    }\n                });\n            }\n\n            if ($('.google-map__filters select').length) {\n                \/\/ Filter markers on selects changes.\n                $('#google-map-state').on('change', function() {\n                    var region = '';\n                    var state = '';\n\n                    if ($('#google-map-region').length) {\n                        region = $('#google-map-region').find('option:selected').val();\n                    }\n\n                    if ($('#google-map-state').length) {\n                        state = $('#google-map-state').find('option:selected').val();\n                    }\n\n                    var filters = {\n                        region: region,\n                        state: state,\n                    };\n\n                    closeMapSidebar();\n\n                    filterMarkers(filters, map);\n\n                    $('.financing-list__load-more').attr('data-page', 1);\n                    filterFinancingList();\n                    $('.financing-list__container').closest('.wrapper').addClass('is_loading');\n\n                    if ('URLSearchParams' in window) {\n                        var searchParams = new URLSearchParams(window.location.search)\n                        searchParams.set(\"province\", $('#google-map-state').find('option:selected').val());\n                        var newRelativePathQuery = window.location.pathname + '?' + searchParams.toString();\n                        history.pushState(null, '', newRelativePathQuery);\n                    }\n\n                    var financingListHref = $('.google-map__link--list').attr('href');\n                    if (financingListHref) {\n                        var financingListLink = new URL(financingListHref);\n                        financingListLink.searchParams.set(\"province\", $('#google-map-state').find('option:selected').val());\n                        $('.google-map__link--list').attr('href', financingListLink.href);\n                    }\n                });\n            }\n\n            $('.financing-list__load-more').on('click', function(e) {\n                e.preventDefault();\n\n                var nextPage = parseInt($(this).attr('data-page')) + 1;\n\n                \/\/ Update data page attribute.\n                $(this).attr('data-page', nextPage);\n\n                var appendResults = true;\n                $(this).closest('.wrapper').addClass('is_loading');\n\n                filterFinancingList(appendResults);\n            });\n\n            $('.git-map .google-map__link--list').on('click', function(e) {\n                e.preventDefault();\n                if ($('.git-map .google-map__link--map').hasClass('google-map__link--active')) {\n                    $('.git-map .google-map__link--map').removeClass('google-map__link--active');\n                }\n                $(this).addClass('google-map__link--active');\n                $('.git-map .git-list-wrapper').removeClass('hidden');\n                $('.git-map .git-map-wrapper').addClass('hidden');\n            });\n\n            $('.git-map .google-map__link--map').on('click', function(e) {\n                e.preventDefault();\n                if ($('.git-map .google-map__link--list').hasClass('google-map__link--active')) {\n                    $('.git-map .google-map__link--list').removeClass('google-map__link--active');\n                }\n                $(this).addClass('google-map__link--active');\n                $('.git-map .git-map-wrapper').removeClass('hidden');\n                $('.git-map .git-list-wrapper').addClass('hidden');\n                centerMap(map);\n            });\n        });\n    })(jQuery);\n<\/script>\n\n    \n    <div id=\"financing-section\">\n        <div class=\"google-map__header\">\n            <div class=\"google-map__filters-label\">\n                Filtra per <i class=\"icon-circle-accordion\"><\/i>\n            <\/div>\n            <div class=\"google-map__filters\">\n                                    <div class=\"google-map__filter\">\n                        <select name=\"google-map-region\" id=\"google-map-region\" class=\"google-map__select google-map__select--region\">\n                            <option value=\"\" selected>Totes les CC. AA.<\/option>\n                                                            <option value=\"11717\" >Andaluc\u00eda<\/option>\n                                                            <option value=\"11766\" >Arag\u00f3n<\/option>\n                                                            <option value=\"11769\" >Asturias, Principado de<\/option>\n                                                            <option value=\"11771\" >Balears, Illes<\/option>\n                                                            <option value=\"11749\" >Canarias<\/option>\n                                                            <option value=\"11728\" >Cantabria<\/option>\n                                                            <option value=\"11735\" >Castilla y Le\u00f3n<\/option>\n                                                            <option value=\"11747\" >Castilla-La Mancha<\/option>\n                                                            <option value=\"11721\" >Catalu\u00f1a<\/option>\n                                                            <option value=\"11732\" >Comunitat Valenciana<\/option>\n                                                            <option value=\"11755\" >Extremadura<\/option>\n                                                            <option value=\"11730\" >Galicia<\/option>\n                                                            <option value=\"11724\" >Madrid, Comunidad de<\/option>\n                                                            <option value=\"11743\" >Murcia, Regi\u00f3n de<\/option>\n                                                            <option value=\"11737\" >Navarra, Comunidad Foral de<\/option>\n                                                            <option value=\"11719\" >Pa\u00eds Vasco<\/option>\n                                                            <option value=\"11792\" >Rioja, La<\/option>\n                                                    <\/select>\n                        <label class=\"google-map__select-label\" for=\"google-map-region\">\n                            <i class=\"icon-circle-accordion\"><\/i>\n                        <\/label>\n                    <\/div>\n                \n                <div class=\"google-map__filter\">\n                    <select name=\"google-map-state\" id=\"google-map-state\" class=\"google-map__select google-map__select--state\">\n                        <option value=\"\">Totes les prov\u00edncies<\/option>\n                                            <\/select>\n                    <label class=\"google-map__select-label\" for=\"google-map-state\">\n                        <i class=\"icon-circle-accordion\"><\/i>\n                    <\/label>\n                <\/div>\n            <\/div>\n\n            <div class=\"google-map__count\">\n                <span class=\"google-map__count-number\"><\/span>\n            <\/div>\n\n            <div class=\"google-map__links\">\n                <a class=\"google-map__link google-map__link--map google-map__link--active\" href=\"#\">\n                    <svg width=\"32\" height=\"32\" viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<path d=\"M26 14.5C26 20.299 15.5 29 15.5 29C15.5 29 5 20.299 5 14.5C5 8.70101 9.70101 4 15.5 4C21.299 4 26 8.70101 26 14.5Z\" fill=\"#003087\"\/>\n<\/svg>\n                <\/a>\n                <a class=\"google-map__link google-map__link--list\" href=\"#\">\n                    <svg width=\"32\" height=\"32\" viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<path d=\"M9 16.5H29\" stroke=\"#262626\" stroke-opacity=\"0.5\" stroke-linecap=\"square\"\/>\n<path d=\"M3 16.5H5\" stroke=\"#262626\" stroke-opacity=\"0.5\" stroke-linecap=\"square\"\/>\n<path d=\"M9 23.5H29\" stroke=\"#262626\" stroke-opacity=\"0.5\" stroke-linecap=\"square\"\/>\n<path d=\"M3 23.5H5\" stroke=\"#262626\" stroke-opacity=\"0.5\" stroke-linecap=\"square\"\/>\n<path d=\"M9 9.5H29\" stroke=\"#262626\" stroke-opacity=\"0.5\" stroke-linecap=\"square\"\/>\n<path d=\"M3 9.5H5\" stroke=\"#262626\" stroke-opacity=\"0.5\" stroke-linecap=\"square\"\/>\n<\/svg>\n                <\/a>\n            <\/div>\n        <\/div>\n    <\/div>\n    <div class=\"wrapper git-map-wrapper\">\n        <div class=\"loader la-ball-beat la-dark\"><div><\/div><div><\/div><div><\/div><\/div>\n        <div class=\"google-map__container\">\n            <div id=\"map-sidebar\" class=\"google-map__sidebar\">\n                <div class=\"google-map__sidebar-close\"><i class=\"icon-circle-close google-map__sidebar-close-btn\"><\/i><\/div>\n                <div class=\"google-map__sidebar-wrapper\">\n                    <img decoding=\"async\" class=\"google-map__sidebar-marker\" src=\"https:\/\/www.fiarebancaetica.coop\/app\/themes\/crispybacon-bancaetica\/images\/marker-git.png\" alt=\"Banca Etica\">\n                    <div class=\"google-map__sidebar-content\"><\/div>\n                <\/div>\n            <\/div>\n            <div class=\"google-map__inner\">\n                <div class=\"acf-map\" data-zoom=\"6\"><\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n\n    <div class=\"wrapper git-list-wrapper hidden\">\n        <div class=\"loader la-ball-beat la-dark\"><div><\/div><div><\/div><div><\/div><\/div>\n        <div>\n            <div class=\"financing-list__container\"><\/div>\n        <\/div>\n    \n        <div class=\"financing-list__load-more-wrapper wrapper\">\n            <div class=\"loader la-ball-beat la-dark\"><div><\/div><div><\/div><div><\/div><\/div>\n            <a class=\"financing-list__load-more\" href=\"#\" data-page=\"1\">Carrega m\u00e9s GIT<\/a>\n        <\/div>\n    <\/div>\n<\/div>\n\n\n<\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":6693,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"template-git-search.php","meta":{"_acf_changed":false,"footnotes":""},"coauthors":[10743],"class_list":["post-322318","page","type-page","status-publish","hentry","crispybacon-hidden-page-title"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Troba el GIT m\u00e9s proper a tu - Fiare Banca Etica<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.fiarebancaetica.coop\/ca\/troba-el-git-mes-proper-a-tu\/\" \/>\n<meta property=\"og:locale\" content=\"ca_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Troba el GIT m\u00e9s proper a tu - Fiare Banca Etica\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.fiarebancaetica.coop\/ca\/troba-el-git-mes-proper-a-tu\/\" \/>\n<meta property=\"og:site_name\" content=\"Fiare Banca Etica\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-20T15:27:49+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.fiarebancaetica.coop\/ca\/troba-el-git-mes-proper-a-tu\/\",\"url\":\"https:\/\/www.fiarebancaetica.coop\/ca\/troba-el-git-mes-proper-a-tu\/\",\"name\":\"Troba el GIT m\u00e9s proper a tu - Fiare Banca Etica\",\"isPartOf\":{\"@id\":\"https:\/\/www.fiarebancaetica.coop\/ca\/#website\"},\"datePublished\":\"2023-12-15T10:10:16+00:00\",\"dateModified\":\"2024-02-20T15:27:49+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.fiarebancaetica.coop\/ca\/troba-el-git-mes-proper-a-tu\/#breadcrumb\"},\"inLanguage\":\"ca\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.fiarebancaetica.coop\/ca\/troba-el-git-mes-proper-a-tu\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.fiarebancaetica.coop\/ca\/troba-el-git-mes-proper-a-tu\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.fiarebancaetica.coop\/ca\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Troba el GIT m\u00e9s proper a tu\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.fiarebancaetica.coop\/ca\/#website\",\"url\":\"https:\/\/www.fiarebancaetica.coop\/ca\/\",\"name\":\"Fiare Banca Etica\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.fiarebancaetica.coop\/ca\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ca\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Troba el GIT m\u00e9s proper a tu - Fiare Banca Etica","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.fiarebancaetica.coop\/ca\/troba-el-git-mes-proper-a-tu\/","og_locale":"ca_ES","og_type":"article","og_title":"Troba el GIT m\u00e9s proper a tu - Fiare Banca Etica","og_url":"https:\/\/www.fiarebancaetica.coop\/ca\/troba-el-git-mes-proper-a-tu\/","og_site_name":"Fiare Banca Etica","article_modified_time":"2024-02-20T15:27:49+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.fiarebancaetica.coop\/ca\/troba-el-git-mes-proper-a-tu\/","url":"https:\/\/www.fiarebancaetica.coop\/ca\/troba-el-git-mes-proper-a-tu\/","name":"Troba el GIT m\u00e9s proper a tu - Fiare Banca Etica","isPartOf":{"@id":"https:\/\/www.fiarebancaetica.coop\/ca\/#website"},"datePublished":"2023-12-15T10:10:16+00:00","dateModified":"2024-02-20T15:27:49+00:00","breadcrumb":{"@id":"https:\/\/www.fiarebancaetica.coop\/ca\/troba-el-git-mes-proper-a-tu\/#breadcrumb"},"inLanguage":"ca","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.fiarebancaetica.coop\/ca\/troba-el-git-mes-proper-a-tu\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.fiarebancaetica.coop\/ca\/troba-el-git-mes-proper-a-tu\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.fiarebancaetica.coop\/ca\/"},{"@type":"ListItem","position":2,"name":"Troba el GIT m\u00e9s proper a tu"}]},{"@type":"WebSite","@id":"https:\/\/www.fiarebancaetica.coop\/ca\/#website","url":"https:\/\/www.fiarebancaetica.coop\/ca\/","name":"Fiare Banca Etica","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.fiarebancaetica.coop\/ca\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ca"}]}},"_links":{"self":[{"href":"https:\/\/www.fiarebancaetica.coop\/ca\/wp-json\/wp\/v2\/pages\/322318","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fiarebancaetica.coop\/ca\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.fiarebancaetica.coop\/ca\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.fiarebancaetica.coop\/ca\/wp-json\/wp\/v2\/users\/6693"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fiarebancaetica.coop\/ca\/wp-json\/wp\/v2\/comments?post=322318"}],"version-history":[{"count":2,"href":"https:\/\/www.fiarebancaetica.coop\/ca\/wp-json\/wp\/v2\/pages\/322318\/revisions"}],"predecessor-version":[{"id":358999,"href":"https:\/\/www.fiarebancaetica.coop\/ca\/wp-json\/wp\/v2\/pages\/322318\/revisions\/358999"}],"wp:attachment":[{"href":"https:\/\/www.fiarebancaetica.coop\/ca\/wp-json\/wp\/v2\/media?parent=322318"}],"wp:term":[{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.fiarebancaetica.coop\/ca\/wp-json\/wp\/v2\/coauthors?post=322318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}