<script>
  // JavaScript to fetch JSON data
fetch('https://event.auctria.com/ed1879cd-33bc-4246-b84f-b14b2a42cb0a')
  .then(response => response.json())
  .then(data => {
    // Call a function to display the data on the page
    displayData(data);
  })
  .catch(error => console.error('Error fetching JSON:', error));

// Function to display data on the page
function displayData(data) {
  const displayElement = document.getElementById('block-yui_3_17_2_1_1702096309975_10681');
  const amount = data.Total.toLocaleString('en-US', {
  style: 'decimal',
  maximumFractionDigits: 0,
});
  displayElement.innerHTML = "<h1 style='font-size: 325px;color:white;'><center>$" + amount + "</center></h1>";
}

  setTimeout(function() {
    location.reload();
  }, 60000); 
  </script>