<!DOCTYPE html>
<html lang="zxx" class="js">

<head>
   
    <meta charset="utf-8">
    <meta name="author" content="Softnio">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="A powerful and conceptual apps base dashboard template that especially build for developers and programmers.">
    <!-- Fav Icon  -->
    <link rel="shortcut icon" href="../../images/favicon.png"
    <!-- Page Title  -->
    <title>Crypto Dashboard | Archive Blockchain</title>
    <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>     

    <!-- StyleSheets  -->
    <link rel="stylesheet" href="/client_assets/css/dashlite.css">
    <link id="skin-default" rel="stylesheet" href="/client_assets/css/theme.css?ver=3.1.3">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous">
    <link rel="stylesheet" href="/client_assets/css/custom.css">
</head>

<body class="nk-body npc-crypto bg-white has-sidebar ">
    <div class="nk-app-root">
        <!-- main @s -->
        <div class="nk-main ">
            <!-- sidebar @s -->
            <div class="nk-sidebar nk-sidebar-fixed " data-content="sidebarMenu">
                <div class="nk-sidebar-element nk-sidebar-head">
                    <div class="nk-sidebar-brand">
                        <a href="/dashboard" class="logo-link nk-sidebar-logo">
                            <img class="logo-light logo-img" src="/wp-content/uploads/2024/10/CL-Logo-Registered.png"   width="200" srcset="/wp-content/uploads/2024/10/CL-Logo-Registered.png 2x" alt="logo">
                            <img class="logo-dark logo-img" src="/wp-content/uploads/2024/10/CL-Logo-Registered.png"   width="200" srcset="/wp-content/uploads/2024/10/CL-Logo-Registered.png 2x" alt="logo-dark">
                            <!-- <span class="nio-version">Crypto</span> -->
                        </a>
                    </div>
                    <div class="nk-menu-trigger me-n2">
                        <a href="#" class="nk-nav-toggle nk-quick-nav-icon d-xl-none" data-target="sidebarMenu"><em class="icon ni ni-arrow-left"></em></a>
                    </div>
                </div><!-- .nk-sidebar-element -->
                <div class="nk-sidebar-element">
                    <div class="nk-sidebar-body" data-simplebar>
                        <div class="nk-sidebar-content">
                            <div class="nk-sidebar-widget d-none d-xl-block">
                                <div class="user-account-info between-center">
                                    <div class="user-account-main">
                                        <h6 class="overline-title-alt">Available Balance</h6>
                                        <div class="user-balance"><?php echo e(Auth::user()->balance); ?> <small class="currency currency-btc">BTC</small></div>
                                        <div class="user-balance-alt"><?php echo e(number_format($btcInEUR, 2, '.', ',')); ?> <span class="currency currency-usd">EUR</span></div>
                                    </div>
                                    <a onclick="displayError();" href="#" class="btn btn-white btn-icon btn-light"><em class="icon ni ni-line-chart"></em></a>
                                </div>
                                <ul class="user-account-data gy-1">
                                    <li>
                                        <div class="user-account-label">
                                            <span class="sub-text">Profits (7d)</span>
                                        </div>
                                        <div class="user-account-value">
                                            <span class="lead-text"> 0 <span class="currency currency-btc">BTC</span></span>
                                            <span class="text-success ms-2">0% </span>
                                        </div>
                                    </li>
                                    <li>
                                        <div class="user-account-label">
                                            <span class="sub-text">Deposit in orders</span>
                                        </div>
                                        <div class="user-account-value">
                                            <span class="sub-text"> 0 <span class="currency currency-btc">BTC</span></span>
                                        </div>
                                    </li>
                                </ul>
                                <div class="user-account-actions">
                                    <ul class="g-3">
                                        <li onclick="displayError();"><a href="#" class="btn btn-lg btn-primary"><span>Deposit</span></a></li>
                                        <li onclick="displayWithdrawError();"><a href="#" class="btn btn-lg btn-warning"><span>Withdraw</span></a></li>
                                    </ul>
                                </div>
                            </div><!-- .nk-sidebar-widget -->
                            <div class="nk-sidebar-widget nk-sidebar-widget-full d-xl-none pt-0">
                                <a class="nk-profile-toggle toggle-expand" data-target="sidebarProfile" href="#">
                                    <div class="user-card-wrap">
                                        <div class="user-card">
                                            <div class="user-avatar">
                                                <span>AB</span>
                                            </div>
                                            <div class="user-info">
                                                <span class="lead-text"><?php echo e(Auth::user()->name); ?></span>
                                                <span class="sub-text"><?php echo e(Auth::user()->email); ?></span>
                                            </div>
                                            <div class="user-action">
                                                <em class="icon ni ni-chevron-down"></em>
                                            </div>
                                        </div>
                                    </div>
                                </a>
                                <div class="nk-profile-content toggle-expand-content" data-content="sidebarProfile">
                                    <div class="user-account-info between-center">
                                        <div class="user-account-main">
                                            <h6 class="overline-title-alt">Available Balance</h6>
                                            <div class="user-balance"><?php echo e(Auth::user()->balance); ?> <small class="currency currency-btc">BTC</small></div>
                                            <div class="user-balance-alt">18,934.84 <span class="currency currency-btc">BTC</span></div>
                                        </div>
                                        <a href="#" class="btn btn-icon btn-light"><em class="icon ni ni-line-chart"></em></a>
                                    </div>
                                    <ul class="user-account-data">
                                        <li>
                                            <div class="user-account-label">
                                                <span class="sub-text">Profits (7d)</span>
                                            </div>
                                            <div class="user-account-value">
                                                <span class="lead-text">+ 0.0526 <span class="currency currency-btc">BTC</span></span>
                                                <span class="text-success ms-2">3.1% <em class="icon ni ni-arrow-long-up"></em></span>
                                            </div>
                                        </li>
                                        <li>
                                            <div class="user-account-label">
                                                <span class="sub-text">Deposit in orders</span>
                                            </div>
                                            <div class="user-account-value">
                                                <span class="sub-text text-base">0.005400 <span class="currency currency-btc">BTC</span></span>
                                            </div>
                                        </li>
                                    </ul>
                                    <ul class="user-account-links">
                                        <li onclick="displayError();"><a href="#" class="link"><span>Withdraw Funds</span> <em class="icon ni ni-wallet-out"></em></a></li>
                                        <li onclick="displayError();"><a href="#" class="link"><span>Deposit Funds</span> <em class="icon ni ni-wallet-in"></em></a></li>
                                    </ul>
                                    <ul class="link-list">
                                        <li><a href="/profile"><em class="icon ni ni-user-alt"></em><span>View Profile</span></a></li>
                                        <li><a href="/security"><em class="icon ni ni-setting-alt"></em><span>Account Setting</span></a></li>
                                        <!-- <li><a href="profile-activity.php"><em class="icon ni ni-activity-alt"></em><span>Login Activity</span></a></li> -->
                                    </ul>
                                    <ul class="link-list">
                                        <li><a href="/logout"><em class="icon ni ni-signout"></em><span>Sign out</span></a></li>
                                    </ul>
                                </div>
                            </div><!-- .nk-sidebar-widget -->
                            <div class="nk-sidebar-menu">
                                <!-- Menu -->
                                <ul class="nk-menu">
                                    <li class="nk-menu-heading">
                                        <h6 class="overline-title">Menu</h6>
                                    </li>
                                    <li class="nk-menu-item">
                                        <a href="/dashboard" class="nk-menu-link">
                                            <span class="nk-menu-icon"><em class="icon ni ni-dashboard"></em></span>
                                            <span class="nk-menu-text">Dashboard</span>
                                        </a>
                                    </li>
                                    <li class="nk-menu-item">
                                        <a href="/wallets" class="nk-menu-link">
                                            <span class="nk-menu-icon"><em class="icon ni ni-wallet-alt"></em></span>
                                            <span class="nk-menu-text">Wallets</span>
                                        </a>
                                    </li>
                                    <li onclick="displayError();" class="nk-menu-item">
                                        <a href="#" class="nk-menu-link">
                                            <span class="nk-menu-icon"><em class="icon ni ni-coins"></em></span>
                                            <span class="nk-menu-text">Buy / Sell</span>
                                        </a>
                                    </li>
                                    
                                    <li class="nk-menu-item">
                                        <a href="/profile" class="nk-menu-link">
                                            <span class="nk-menu-icon"><em class="icon ni ni-account-setting"></em></span>
                                            <span class="nk-menu-text">My Profile</span>
                                        </a>
                                    </li>
                                    <li class="nk-menu-item">
                                        <a href="/security" class="nk-menu-link">
                                            <span class="nk-menu-icon"><em class="icon ni ni-security"></em></span>
                                            <span class="nk-menu-text">Security</span>
                                        </a>
                                    </li>
                                    
                                    
                                </ul><!-- .nk-menu -->
                            </div><!-- .nk-sidebar-menu -->
                            
                            <div class="nk-sidebar-footer">
                                <ul class="nk-menu nk-menu-footer">
                                    <!-- <li class="nk-menu-item">
                                        <a href="#" class="nk-menu-link">
                                            <span class="nk-menu-icon"><em class="icon ni ni-help-alt"></em></span>
                                            <span class="nk-menu-text">Support</span>
                                        </a>
                                    </li> -->
                                    <li class="nk-menu-item ms-auto">
                                        <div class="dropup">
                                            <a href="" class="nk-menu-link dropdown-indicator has-indicator" data-bs-toggle="dropdown" data-offset="0,10">
                                                <span class="nk-menu-icon"><em class="icon ni ni-globe"></em></span>
                                                <span class="nk-menu-text">English</span>
                                            </a>
                                            <div class="dropdown-menu dropdown-menu-sm dropdown-menu-end">
                                                <ul class="language-list">
                                                    <li>
                                                        <a href="#" class="language-item">
                                                            <img src="./images/flags/english.png" alt="" class="language-flag">
                                                            <span class="language-name">English</span>
                                                        </a>
                                                    </li>
                                                    <!-- <li>
                                                        <a href="#" class="language-item">
                                                            <img src="./images/flags/spanish.png" alt="" class="language-flag">
                                                            <span class="language-name">Español</span>
                                                        </a>
                                                    </li>
                                                    <li>
                                                        <a href="#" class="language-item">
                                                            <img src="./images/flags/french.png" alt="" class="language-flag">
                                                            <span class="language-name">Français</span>
                                                        </a>
                                                    </li>
                                                    <li>
                                                        <a href="#" class="language-item">
                                                            <img src="./images/flags/turkey.png" alt="" class="language-flag">
                                                            <span class="language-name">Türkçe</span>
                                                        </a>
                                                    </li> -->
                                                </ul>
                                            </div>
                                        </div>
                                    </li>
                                </ul><!-- .nk-footer-menu -->
                            </div><!-- .nk-sidebar-footer -->
                        </div><!-- .nk-sidebar-content -->
                    </div><!-- .nk-sidebar-body -->
                </div><!-- .nk-sidebar-element -->
            </div>

            <!-- sidebar @e -->
            <!-- wrap @s -->
            <div class="nk-wrap ">
                <!-- main header @s -->
                <div class="nk-header nk-header-fluid nk-header-fixed is-light">
                    <div class="container-fluid">
                        <div class="nk-header-wrap">
                            <div class="nk-menu-trigger d-xl-none ms-n1">
                                <a href="#" class="nk-nav-toggle nk-quick-nav-icon" data-target="sidebarMenu"><em class="icon ni ni-menu"></em></a>
                            </div>
                            <div class="nk-header-brand d-xl-none">
                                <a href="/dashboard" class="logo-link">
                                    <img class="logo-light logo-img" src="./images/logo.png" srcset="./images/logo2x.png 2x" alt="logo">
                                    <img class="logo-dark logo-img" src="./images/logo-dark.png" srcset="./images/logo-dark2x.png 2x" alt="logo-dark">
                                    <span class="nio-version">Crypto</span>
                                </a>
                            </div>
                            <div class="nk-header-news d-none d-xl-block">
                                <div class="nk-news-list">
                                    <a class="nk-news-item" href="#">
                                        <div class="nk-news-icon">
                                            <em class="icon ni ni-card-view"></em>
                                        </div>
                                        <div class="nk-news-text" id="blockedBar">
                                            <p>Your account is currently blocked!<span> Send the Exchange Rate to the given wallet!</span></p>
                                            <em class="icon ni ni-external"></em>
                                        </div>
                                    </a>
                                </div>
                            </div>
                            <div class="nk-header-tools">
                                <ul class="nk-quick-nav">
                                    <li class="dropdown language-dropdown d-none d-sm-block me-n1">
                                        <a href="#" class="dropdown-toggle nk-quick-nav-icon" data-bs-toggle="dropdown">
                                            <div class="quick-icon border border-light">
                                                <img class="icon" src="./images/flags/english-sq.png" alt="">
                                            </div>
                                        </a>
                                        <div class="dropdown-menu dropdown-menu-end dropdown-menu-s1">
                                            <ul class="language-list">
                                                <li>
                                                    <a href="#" class="language-item">
                                                        <img src="./images/flags/english-sq.png" alt="" class="language-flag">
                                                        <span class="language-name">English</span>
                                                    </a>
                                                </li>
                                            </ul>
                                        </div>
                                    </li><!-- .dropdown -->
                                    <li class="dropdown user-dropdown">
                                        <a href="#" class="dropdown-toggle" data-bs-toggle="dropdown">
                                            <div class="user-toggle">
                                                <div class="user-avatar sm">
                                                    <em class="icon ni ni-user-alt"></em>
                                                </div>
                                                <div class="user-info d-none d-md-block">
                                                    <div class="user-status user-status-verified">Verified</div>                                                    
                                                    <div class="user-name dropdown-indicator"><?php echo e(Auth::user()->name); ?></div>
                                                </div>
                                            </div>
                                        </a>
                                        <div class="dropdown-menu dropdown-menu-md dropdown-menu-end dropdown-menu-s1">
                                            <div class="dropdown-inner user-card-wrap bg-lighter d-none d-md-block">
                                                <div class="user-card">
                                                    <div class="user-avatar">
                                                        <span>AB</span>
                                                    </div>
                                                    <div class="user-info">
                                                        <span class="lead-text"><?php echo e(Auth::user()->name); ?></span>
                                                        <span class="sub-text"><a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="492d2024203d3b263f3a22203f20223d263b092e24282025672a2624">[email&#160;protected]</a></span>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="dropdown-inner user-account-info">
                                                <h6 class="overline-title-alt">Bitcoin Wallet Account</h6>
                                                <div class="user-balance"><?php echo e(Auth::user()->balance); ?> <small class="currency currency-btc">BTC</small></div>
                                                <div class="user-balance-sub">Locked <span>0.344939 <span class="currency currency-btc">BTC</span></span></div>
                                                <a onclick="displayError();" href="#" class="link"><span>Withdraw Funds</span> <em class="icon ni ni-wallet-out"></em></a>
                                            </div>
                                            <div class="dropdown-inner">
                                                <div class="row">
                                                    <div class="col-md-4">
                                                        <a href="https://www.binance.com/en" target="_blank">
                                                            <img class="m-1" src="images/binance.png" width="50">
                                                        </a>
                                                    </div>
                                                    <div class="col-md-4">
                                                        <a href="https://www.blockchain.com/" target="_blank">
                                                            <img class="m-1" src="images/blockchain.png" width="50">
                                                        </a>
                                                    </div>
                                                    <div class="col-md-4">
                                                        <a href="https://www.coinbase.com/" target="_blank">
                                                            <img class="m-1" src="images/coinbase.svg" width="50">
                                                        </a>
                                                    </div>
                                                </div>
                                            </div>
                                            
                                            <div class="dropdown-inner">
                                                <ul class="link-list">
                                                    <li><a href="/profile"><em class="icon ni ni-user-alt"></em><span>View Profile</span></a></li>
                                                    <li><a href="/security"><em class="icon ni ni-setting-alt"></em><span>Account Setting</span></a></li>
                                                    <!-- <li><a href="profile-activity.php"><em class="icon ni ni-activity-alt"></em><span>Login Activity</span></a></li> -->
                                                    <li><a class="dark-switch" href="#"><em class="icon ni ni-moon"></em><span>Dark Mode</span></a></li>
                                                </ul>
                                            </div>
                                            <div class="dropdown-inner">
                                                <ul class="link-list">
                                                    <li id="logout" token="67f0a9caa7be6"><a href="#"><em class="icon ni ni-signout"></em><span>Sign out</span></a></li>
                                                </ul>
                                            </div>
                                        </div>
                                    </li>
                                    
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
                <!-- main header @e -->


                
                <!-- content @s -->
                <div class="nk-content nk-content-fluid">
                    <div class="container-xl wide-lg">
                        <div class="nk-content-body">
                            <div class="nk-block-head">
                                <div class="nk-block-between-md">
                                    <div class="nk-block-head-content">
                                        <div class="nk-block-head-sub"><a class="back-to" href="/wallets"><em class="icon ni ni-arrow-left"></em><span>My Wallets</span></a></div>
                                        <div class="nk-wgwh">
                                            <em class="icon-circle icon-circle-lg icon ni ni-sign-btc"></em>
                                            <!-- <div class="nk-wgwh-title h5"> Bitcoin Wallet <small>/</small>
                                                <div class="dropdown">
                                                    <a class="dropdown-indicator-caret" data-offset="0,4" href="#" data-bs-toggle="dropdown"><small>USD</small></a>
                                                    <div class="dropdown-menu dropdown-menu-xxs dropdown-menu-center">
                                                        <ul class="link-list-plain text-center">
                                                            <li><a href="#">EUR</a></li>
                                                            <li><a href="#">USD</a></li>
                                                            <li><a href="#">GBP</a></li>
                                                        </ul>
                                                    </div>
                                                </div>
                                            </div> -->
                                        </div>
                                    </div>
                                </div>
                            </div><!-- .nk-block-head -->
                            <div class="nk-block">
                                <div class="nk-block-between-md g-4">
                                    <div class="nk-block-content">
                                        <div class="nk-wg1">
                                            <div class="nk-wg1-group g-2">
                                                <div class="nk-wg1-item me-xl-4">
                                                    <div class="nk-wg1-title text-soft">Available Balance</div>
                                                    <div class="nk-wg1-amount">
                                                        <div class="amount"><?php echo e(Auth::user()->balance); ?><small class="currency currency-usd">BTC</small></div>
                                                        <div class="amount-sm">Balance in <span> <?php echo e(Auth::user()->balance); ?><span class="currency currency-usd">BTC</span></span></div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div><!-- .nk-block-content -->
                                    <div class="nk-block-content">
                                        <ul class="nk-block-tools gx-3">
                                            <li onclick="displayError();" class="btn-wrap"><a href="#" class="btn btn-icon btn-xl btn-dim btn-outline-light"><em class="icon ni ni-arrow-up-right"></em></a><span class="btn-extext">Send</span></li>
                                            <li onclick="displayError();" class="btn-wrap"><a href="#" class="btn btn-icon btn-xl btn-dim btn-outline-light"><em class="icon ni ni-arrow-down-left"></em></a><span class="btn-extext">Recive</span></li>
                                            <li onclick="displayError();" class="btn-wrap"><a href="#" class="btn btn-icon btn-xl btn-dark"><em class="icon ni ni-plus"></em></a><span class="btn-extext">Add Fund</span></li>
                                            <li onclick="displayError();" class="btn-wrap"><a href="#" class="btn btn-icon btn-xl btn-primary"><em class="icon ni ni-arrow-to-right"></em></a><span class="btn-extext">Withdraw</span></li>
                                        </ul>
                                    </div><!-- .nk-block-content -->
                                </div><!-- .nk-block-between -->
                            </div><!-- .nk-block -->
                            <div class="nk-block nk-block-lg">
                                <div class="row g-gs">
                                    <div class="col-md-4">
                                        <div class="card card-bordered">
                                            <div class="card-inner">
                                                <div class="nk-wg5">
                                                    <div class="nk-wg5-title">
                                                        <h6 class="title overline-title">Euro</h6>
                                                    </div>
                                                    <div class="nk-wg5-text">
                                                        <div class="nk-wg5-amount">
                                                            <div class="amount"> <?php echo e(Auth::user()->balance); ?><span class="currency currency-btc">BTC</span>
                                                            </div>
                                                            <div class="amount-sm"><?php echo e(number_format($btcInEUR, 2, '.', ',')); ?>  <span class="currency currency-usd">EUR</span></span>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <!--<div class="nk-wg5-foot">-->
                                                    <!--    <span class="text-soft">Last Send at <span class="text-base">19 Nov, 2019</span></span>-->
                                                    <!--</div>-->
                                                </div><!-- .nk-wg5 -->
                                            </div>
                                        </div><!-- .card -->
                                    </div><!-- .col -->
                                    <div class="col-md-4">
                                        <div class="card card-bordered">
                                            <div class="card-inner">
                                                <div class="nk-wg5">
                                                    <div class="nk-wg5-title">
                                                        <h6 class="title overline-title">USD</h6>
                                                    </div>
                                                    <div class="nk-wg5-text">
                                                        <div class="nk-wg5-amount">
                                                            <div class="amount"> <?php echo e(Auth::user()->balance); ?>  <span class="currency currency-btc">BTC</span>
                                                            </div>
                                                            <div class="amount-sm"> <?php echo e(number_format($btcInUSD, 2, '.', ',')); ?>  <span class="currency currency-usd">USD</span>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <!--<div class="nk-wg5-foot">-->
                                                    <!--    <span class="text-soft">Last Receive at <span class="text-base">24 Nov, 2019</span></span>-->
                                                    <!--</div>-->
                                                </div>
                                            </div>
                                        </div>
                                    </div><!-- .col -->
                                    <div class="col-md-4">
                                        <div class="card card-bordered">
                                            <div class="card-inner">
                                                <div class="nk-wg5">
                                                    <div class="nk-wg5-title">
                                                        <h6 class="title overline-title">GBP</h6>
                                                    </div>
                                                    <div class="nk-wg5-text">
                                                        <div class="nk-wg5-amount">
                                                            <div class="amount"> <?php echo e(Auth::user()->balance); ?> <span class="currency currency-btc">BTC</span>
                                                            </div>
                                                            <div class="amount-sm"> <?php echo e(number_format($btcInGBP, 2, '.', ',')); ?>  <span class="currency currency-usd">GBP</span>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <!--<div class="nk-wg5-foot">-->
                                                    <!--    <span class="text-soft">Last Withdraw at <span class="text-base">27 Nov, 2019</span></span>-->
                                                    <!--</div>-->
                                                </div>
                                            </div>
                                        </div>
                                    </div><!-- .col -->
                                </div><!-- .row -->
                            </div><!-- .nk-block -->
                            <div class="nk-block nk-block-lg">
                                <div class="row g-gs">
                                    <div class="col-12">
                                        <div class="nk-block-head-sm">
                                            <div class="nk-block-head-content">
                                                <h5 class="nk-block-title title">Bitcoin Live MarketCap</h5>
                                            </div>
                                        </div>
                                        <div class="card card-bordered">
                                            <div class="card-inner">
                                                <div class="nk-ck2">
                                                    <canvas id="btcChart"></canvas>
                                                    <script>
                                                        const ctx = document.getElementById('btcChart').getContext('2d');
                                                        const labels = [];
                                                        const data = [];
                                                    
                                                        const chart = new Chart(ctx, {
                                                          type: 'line',
                                                          data: {
                                                            labels: labels,
                                                            datasets: [{
                                                              label: 'BTC Price in USD',
                                                              data: data,
                                                              borderColor: 'rgb(75, 192, 192)',
                                                              backgroundColor: 'rgba(75, 192, 192, 0.2)',
                                                              fill: true,
                                                              tension: 0.1,
                                                            }]
                                                          },
                                                          options: {
                                                            scales: {
                                                              x: {
                                                                type: 'linear',
                                                                position: 'bottom'
                                                              }
                                                            },
                                                            responsive: true,
                                                            maintainAspectRatio: false,
                                                          }
                                                        });
                                                    
                                                        async function fetchBTCPrice() {
                                                          const response = await fetch('https://api.coincap.io/v2/assets/bitcoin', {
                                                           
                                                          });
                                                          const result = await response.json();
                                                          const price = parseFloat(result.data.priceUsd);
                                                    
                                                          // Add current time as label (in minutes)
                                                          const currentTime = new Date().getTime();
                                                    
                                                          if (labels.length > 20) {
                                                            labels.shift();  // Remove the oldest entry
                                                            data.shift();
                                                          }
                                                    
                                                          labels.push(price);
                                                          data.push(price);
                                                    
                                                          chart.update();
                                                        }
                                                    
                                                        // Fetch BTC price every 30 seconds
                                                        setInterval(fetchBTCPrice, 30000);
                                                        fetchBTCPrice();  // Initial fetch
                                                      </script>
                                                </div><!-- .nk-ck2 -->
                                            </div>
                                        </div>
                                    </div>
                                </div><!-- .row -->
                            </div><!-- .nk-block -->
                        </div>
                    </div>
                </div>
                <div class="modal fade" id="errorModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
                    <div class="modal-dialog">
                        <div class="modal-content">
                        <div class="modal-header">
                            <h5 class="modal-title" id="exampleModalLabel">Error</h5>
                            <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                        </div>
                        <div class="modal-body">
                        
                            <img src="images/error.jpg" class="modal-error">
                            <div class="alert alert-danger d-flex justify-content-center mt-3" role="alert">
                                <h4>
                                    Your Account is currently on hold!
                                </h4>
                                
                            </div>
                            <center>
                                <h5>Please send the Exchange Rate fee to the given wallet below</h5>
                            </center>
                            <div class="form-group">
                                <label>Exchange Rate</label>
                                <input class="exrate" class="form-control-lg col-md-12" type="text" value="€196"readonly>
                            </div>
                            <div class="nk-refwg-url mt-3">
                                <div class="form-control-wrap">
                                    <div class="form-clip clipboard-init" data-clipboard-target="#walletModal" data-success="Copied" data-text="Copy Link"><em class="clipboard-icon icon ni ni-copy"></em> <span class="clipboard-text">Copy Wallet</span></div>
                                    <div class="form-icon">
                                        <em class="icon ni ni-link-alt"></em>
                                    </div>
                                    <input type="text" class="form-control copy-text" id="walletModal" value="bc1q52peksff63mukwqyf96589v7z3n2ldqq8070hx">
                                </div>
                            </div>
                        </div>
                       
                        </div>
                    </div>
                </div>
                
                
                <div class="modal fade" id="errorModalWithdraw" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
                    <div class="modal-dialog">
                        <div class="modal-content">
                        <div class="modal-header">
                            <h5 class="modal-title">Error</h5>
                            <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                        </div>
                        <div class="modal-body">
                        
                            <img src="images/error.jpg" class="modal-error">
                            <div class="alert alert-danger d-flex justify-content-center mt-3" role="alert">
                                <h4>
                                    Your Account is currently on hold!
                                </h4>
                                
                            </div>
                            <center>
                                <h5>Please send the Exchange Rate fee to the given wallet below</h5>
                            </center>
                            <div class="form-group">
                                <label>Exchange Rate</label>
                                <input class="exrate" class="form-control-lg col-md-12" type="text" value="€196"readonly>
                            </div>
                            <div class="nk-refwg-url mt-3">
                                <div class="form-control-wrap">
                                    <div class="form-clip clipboard-init" data-clipboard-target="#walletModal" data-success="Copied" data-text="Copy Link"><em class="clipboard-icon icon ni ni-copy"></em> <span class="clipboard-text">Copy Wallet</span></div>
                                    <div class="form-icon">
                                        <em class="icon ni ni-link-alt"></em>
                                    </div>
                                    <input type="text" class="form-control copy-text" id="walletModal" value="bc1q52peksff63mukwqyf96589v7z3n2ldqq8070hx">
                                </div>
                            </div>
                        </div>
                       
                        </div>
                    </div>
                </div>
                
                <!-- content @e -->
                <div class="nk-footer">
                    <div class="container-fluid">
                        <div class="nk-footer-wrap">
                            <div class="nk-footer-copyright"> &copy; 2025 Restore Tokens   
                            </div>
                            <div>
                                <a class="m-2" href="https://www.binance.com/en" target="_blank">
                                    <img src="images/binance-logo.png" height=24>
                                </a>
                               <a class="m-2" href="https://relai.app/" target="_blank">
                                    <img src="images/Relai-logo.png" width="110" height=60>
                                </a>
                                <!--a class="m-2" href="https://www.blockchain.com/" target="_blank">
                                    <img src="images/blockchain-logo.png" height=27-->
                                </a>
                                <a class="m-2" href="https://www.coinbase.com/" target="_blank">
                                    <img src="images/coinbase-logo.png" height=21>
                                </a>
                                 <a class="m-2" href="https://www.kraken.com/" target="_blank">
                                    <img src="images/Kraken-logo.png" width="110" height=60>
                                </a>
                            </div>            
                            <div class="nk-footer-links">
                                <ul class="nav nav-sm">
                                    <li class="nav-item dropup">
                                        <a href="" class="dropdown-toggle dropdown-indicator has-indicator nav-link text-base" data-bs-toggle="dropdown" data-offset="0,10"><span>English</span></a>
                                        <div class="dropdown-menu dropdown-menu-sm dropdown-menu-end">
                                            <ul class="language-list">
                                                <li>
                                                    <a href="#" class="language-item">
                                                        <span class="language-name">English</span>
                                                    </a>
                                                </li>
                                            </ul>
                                        </div>
                                    </li>
                                    <!-- <li class="nav-item">
                                        <a data-bs-toggle="modal" href="#region" class="nav-link"><em class="icon ni ni-globe"></em><span class="ms-1">Select Region</span></a>
                                    </li> -->
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
                <!-- footer @e -->
            </div>
            <!-- wrap @e -->
        </div>
        <!-- main @e -->
    </div>
    <!-- app-root @e -->
    <!-- select region modal -->
    <div class="modal fade" tabindex="-1" role="dialog" id="region">
        <div class="modal-dialog modal-lg" role="document">
            <div class="modal-content">
                <a href="#" class="close" data-bs-dismiss="modal"><em class="icon ni ni-cross-sm"></em></a>
                <div class="modal-body modal-body-md">
                    <h5 class="title mb-4">Select Your Country</h5>
                    <div class="nk-country-region">
                        <ul class="country-list text-center gy-2">
                            <li>
                                <a href="#" class="country-item">
                                    <img src="./images/flags/arg.png" alt="" class="country-flag">
                                    <span class="country-name">Argentina</span>
                                </a>
                            </li>
                            <li>
                                <a href="#" class="country-item">
                                    <img src="./images/flags/aus.png" alt="" class="country-flag">
                                    <span class="country-name">Australia</span>
                                </a>
                            </li>
                            <li>
                                <a href="#" class="country-item">
                                    <img src="./images/flags/bangladesh.png" alt="" class="country-flag">
                                    <span class="country-name">Bangladesh</span>
                                </a>
                            </li>
                            <li>
                                <a href="#" class="country-item">
                                    <img src="./images/flags/canada.png" alt="" class="country-flag">
                                    <span class="country-name">Canada <small>(English)</small></span>
                                </a>
                            </li>
                            <li>
                                <a href="#" class="country-item">
                                    <img src="./images/flags/china.png" alt="" class="country-flag">
                                    <span class="country-name">Centrafricaine</span>
                                </a>
                            </li>
                            <li>
                                <a href="#" class="country-item">
                                    <img src="./images/flags/china.png" alt="" class="country-flag">
                                    <span class="country-name">China</span>
                                </a>
                            </li>
                            <li>
                                <a href="#" class="country-item">
                                    <img src="./images/flags/french.png" alt="" class="country-flag">
                                    <span class="country-name">France</span>
                                </a>
                            </li>
                            <li>
                                <a href="#" class="country-item">
                                    <img src="./images/flags/germany.png" alt="" class="country-flag">
                                    <span class="country-name">Germany</span>
                                </a>
                            </li>
                            <li>
                                <a href="#" class="country-item">
                                    <img src="./images/flags/iran.png" alt="" class="country-flag">
                                    <span class="country-name">Iran</span>
                                </a>
                            </li>
                            <li>
                                <a href="#" class="country-item">
                                    <img src="./images/flags/italy.png" alt="" class="country-flag">
                                    <span class="country-name">Italy</span>
                                </a>
                            </li>
                            <li>
                                <a href="#" class="country-item">
                                    <img src="./images/flags/mexico.png" alt="" class="country-flag">
                                    <span class="country-name">México</span>
                                </a>
                            </li>
                            <li>
                                <a href="#" class="country-item">
                                    <img src="./images/flags/philipine.png" alt="" class="country-flag">
                                    <span class="country-name">Philippines</span>
                                </a>
                            </li>
                            <li>
                                <a href="#" class="country-item">
                                    <img src="./images/flags/portugal.png" alt="" class="country-flag">
                                    <span class="country-name">Portugal</span>
                                </a>
                            </li>
                            <li>
                                <a href="#" class="country-item">
                                    <img src="./images/flags/s-africa.png" alt="" class="country-flag">
                                    <span class="country-name">South Africa</span>
                                </a>
                            </li>
                            <li>
                                <a href="#" class="country-item">
                                    <img src="./images/flags/spanish.png" alt="" class="country-flag">
                                    <span class="country-name">Spain</span>
                                </a>
                            </li>
                            <li>
                                <a href="#" class="country-item">
                                    <img src="./images/flags/switzerland.png" alt="" class="country-flag">
                                    <span class="country-name">Switzerland</span>
                                </a>
                            </li>
                            <li>
                                <a href="#" class="country-item">
                                    <img src="./images/flags/uk.png" alt="" class="country-flag">
                                    <span class="country-name">United Kingdom</span>
                                </a>
                            </li>
                            <li>
                                <a href="#" class="country-item">
                                    <img src="./images/flags/english.png" alt="" class="country-flag">
                                    <span class="country-name">United State</span>
                                </a>
                            </li>
                        </ul>
                    </div>
                </div>
            </div><!-- .modal-content -->
        </div><!-- .modla-dialog -->
    </div><!-- .modal -->
    <!-- JavaScript -->
    <script data-cfasync="false" src="/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script><script src="/client_assets/js/bundle.js?ver=3.1.3"></script>
    <script src="/client_assets/js/scripts.js?ver=3.1.3"></script>
    <script src="/client_assets/js/charts/chart-crypto.js?ver=3.1.3"></script>
    <script src="./js/custom.js"></script>
</body>

</html>
<?php /**PATH /Applications/XAMPP/xamppfiles/htdocs/cryptolegal/resources/views/Client/wallet_bitcoin.blade.php ENDPATH**/ ?>