<?php if (isset($component)) { $__componentOriginalecb722e6c1efc1adfaae4a458dc017b1 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalecb722e6c1efc1adfaae4a458dc017b1 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.widgets.bottom-sheet','data' => ['id' => 'cryptoc','title' => 'Current '.e($coin->has_sibling ? ($coin->name.' '.$coin->network->name): $coin->name).' Price']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('widgets.bottom-sheet'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['id' => 'cryptoc','title' => 'Current '.e($coin->has_sibling ? ($coin->name.' '.$coin->network->name): $coin->name).' Price']); ?>
<div class="mt-2 mb-2 loadhreff" align="center">
  <div class="spinner-border text-light" role="status">
      <span class="visually-hidden">Loading...</span>
  </div>
</div>
<script type="text/javascript" data-navigate-once>
  baseUrl = "https://widgets.cryptocompare.com/";
  var scripts = document.getElementsByTagName("script");
  var embedder = scripts[scripts.length - 1];
  var cccTheme = {
  General: {
    background: "#000",
    borderColor: "transparent",
    borderRadius: "4px 4px 0 0",
  },
  Header: { background: "#000", color: "#FFF" },
  Followers: {
    background: "#f7931a",
    color: "#FFF",
    borderColor: "#e0bd93",
    counterBorderColor: "#fdab48",
    counterColor: "#f5d7b2",
  },
  Data: {
    priceColor: "#FFF",
    infoLabelColor: "#CCC",
    infoValueColor: "#CCC",
  },
  Chart: {
    fillColor: "#ffda6ab5",
    borderColor: "transparent",
  },
  Conversion: { background: "#000", color: "#999" },
  };
  (function () {
  var appName = encodeURIComponent(window.location.hostname);
  if (appName == "") {
    appName = "local";
  }
  var s = document.createElement("script");
  s.type = "text/javascript";
  s.async = true;
  var theUrl = baseUrl + "serve/v1/coin/chart?fsym=<?php echo e($coin->symbol); ?>&tsym=USD";
  s.src =
    theUrl + (theUrl.indexOf("?") >= 0 ? "&" : "?") + "app=" + appName;
  embedder.parentNode.appendChild(s);
  setTimeout(function () {
    $('a[href*="https://www.cryptocompare.com"]').removeAttr("href");
    $(".loadhreff").remove();
  }, 2000);
  })();

  $(window).on("load", function () {
    try {
      $('a[href*="https://www.cryptocompare.com"]').removeAttr("href");
    } catch (e) { }
  });    
</script>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalecb722e6c1efc1adfaae4a458dc017b1)): ?>
<?php $attributes = $__attributesOriginalecb722e6c1efc1adfaae4a458dc017b1; ?>
<?php unset($__attributesOriginalecb722e6c1efc1adfaae4a458dc017b1); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalecb722e6c1efc1adfaae4a458dc017b1)): ?>
<?php $component = $__componentOriginalecb722e6c1efc1adfaae4a458dc017b1; ?>
<?php unset($__componentOriginalecb722e6c1efc1adfaae4a458dc017b1); ?>
<?php endif; ?><?php /**PATH /home/jwmhizws/ledger-chain.com/resources/views/partials/coin/coin-chart.blade.php ENDPATH**/ ?>