<?php if (isset($component)) { $__componentOriginal9ac128a9029c0e4701924bd2d73d7f54 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54 = $attributes; } ?>
<?php $component = App\View\Components\AppLayout::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('app-layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\App\View\Components\AppLayout::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php $__env->startSection('title', $page . ' | ' . get_setting('site_name')); ?>
  <div class="mt-4 grid grid-cols-12 gap-4 sm:mt-5 sm:gap-5 lg:mt-6 lg:gap-6">
    <div class="col-span-12 lg:col-span-8">
      <div x-data="{activeTab:'Direct'}" class="tabs flex flex-col">
        <div
          class="is-scrollbar-hidden overflow-x-auto rounded-lg bg-slate-200 text-slate-600 dark:bg-navy-800 dark:text-navy-200"
        >
          <div class="tabs-list flex px-1.5 py-1">
            <button
              @click="activeTab = 'Direct'"
              :class="activeTab === 'Direct' ? 'bg-white shadow dark:bg-navy-500 dark:text-navy-100' : 'hover:text-slate-800 focus:text-slate-800 dark:hover:text-navy-100 dark:focus:text-navy-100'"
              class="btn shrink-0 space-x-2 px-3 py-1.5 font-medium"
            >
              <span>Direct</span>
            </button>
            <button
              @click="activeTab = 'FaucetPay'"
              :class="activeTab === 'FaucetPay' ? 'bg-white shadow dark:bg-navy-500 dark:text-navy-100' : 'hover:text-slate-800 focus:text-slate-800 dark:hover:text-navy-100 dark:focus:text-navy-100'"
              class="btn shrink-0 space-x-2 px-3 py-1.5 font-medium"
            >
              <span>FaucetPay</span>
            </button>
          </div>
        </div>
        <div class="tab-content pt-4">
          <div
            x-show="activeTab === 'Direct'"
            x-transition:enter="transition-all duration-500 easy-in-out"
            x-transition:enter-start="opacity-0 [transform:translate3d(1rem,0,0)]"
            x-transition:enter-end="opacity-100 [transform:translate3d(0,0,0)]"
          >
            <div>
                
              <div class="card pb-1">
                <div class="my-3 px-4 sm:px-5">
                    <div class="grid grid-cols-1 md:grid-cols-2 gap-4 items-center">
                        <div>
                            <ul>
                                <li class="my-2">- The minimum Direct Deposit amount is $<?php echo e(get_setting('direct_minimum_deposit')); ?> in USD Rate, if you send an amount less than this, you may lose the money you sent due to network fees or applicable minimum requirements.</li>
                                <li class="my-2">- Please always pay attention to the policies and fees that may be associated with each currency you send to avoid unwanted problems.</li>
                                <li class="my-2">- Make sure to also check the information about network fees that may be charged and the details of your transaction, send money to the correct address according to the Currency and Network you choose.</li>
                            </ul>
                        </div>
                        <div>
                            <form id="getAddressForm">
                                <div class="grid grid-cols-2 gap-2 items-center">
                                    <div>
                                        <label class="block text-sm font-medium">Currency :</label>
                                        <select  class="form-select mt-1.5 w-full rounded-lg border border-slate-300 bg-white px-3 py-2 hover:border-slate-400 focus:border-primary dark:border-navy-450 dark:bg-navy-700 dark:hover:border-navy-400 dark:focus:border-accent" name="symbol" id="symbol">
                                           <option value="" disabled selected>Select Currency</option>
                                        </select>
                                    </div>
                                    <div>
                                        <label class="block text-sm font-medium">Network :</label>
                                        <select  class="form-select mt-1.5 w-full rounded-lg border border-slate-300 bg-white px-3 py-2 hover:border-slate-400 focus:border-primary dark:border-navy-450 dark:bg-navy-700 dark:hover:border-navy-400 dark:focus:border-accent" name="chain" id="chainSelect">
                                        </select>
                                    </div>
                                </div>
                                <div class="mt-4 mb-3">
                                    <button type="submit" class="btn w-full bg-primary font-medium text-white hover:bg-primary-focus focus:bg-primary-focus active:bg-primary-focus/90 dark:bg-accent dark:hover:bg-accent-focus dark:focus:bg-accent-focus dark:active:bg-accent/90">Get New Address <i id="BtnSpinner" class="ml-1 fas fa-circle-notch fa-spin" style="display:none;"></i></button>
                                </div>
                            </form>
                        </div>
                    </div>
                    <div class="overflow-x-auto mt-4">
                      <table class="is-hoverable w-full text-left">
                            <thead>
                                <tr>
                                    <th class="whitespace-nowrap rounded-tl-lg bg-slate-200 px-4 py-3 font-semibold uppercase text-slate-800 dark:bg-navy-800 dark:text-navy-100 lg:px-5">Currency</th>
                                    <th class="whitespace-nowrap bg-slate-200 px-4 py-3 font-semibold uppercase text-slate-800 dark:bg-navy-800 dark:text-navy-100 lg:px-5">Network</th>
                                    <th class="whitespace-nowrap bg-slate-200 px-4 py-3 font-semibold uppercase text-slate-800 dark:bg-navy-800 dark:text-navy-100 lg:px-5">Address</th>
                                    <th class="whitespace-nowrap bg-slate-200 px-4 py-3 font-semibold uppercase text-slate-800 dark:bg-navy-800 dark:text-navy-100 lg:px-5">Memo</th>
                                </tr>
                            </thead>
                            <tbody id="addressTableBody">
                                <?php $__currentLoopData = $addresses; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $address): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <tr class="border-y border-transparent border-b-slate-200 dark:border-b-navy-500">
                                        <td class="whitespace-nowrap px-4 py-3 sm:px-5"><?php echo e($address->symbol); ?></td>
                                        <td class="whitespace-nowrap px-4 py-3 sm:px-5"><?php echo e($address->chain); ?></td>
                                        <td class="whitespace-nowrap px-4 py-3 sm:px-5">
                                            <span class="copy-text"><?php echo e($address->address); ?></span>
                                        </td>
                                        <td class="whitespace-nowrap px-4 py-3 sm:px-5"><?php echo e($address->memo ?? '-'); ?></td>
                                    </tr>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </tbody>
                        </table>
                    </div>
                </div>
              </div>

            </div>
          </div>
          <div
            x-show="activeTab === 'FaucetPay'"
            x-transition:enter="transition-all duration-500 easy-in-out"
            x-transition:enter-start="opacity-0 [transform:translate3d(1rem,0,0)]"
            x-transition:enter-end="opacity-100 [transform:translate3d(0,0,0)]"
          >
            <div>
                <div class="card pb-1">
                    <div class="my-3 px-4 sm:px-5">
                        <form action="https://faucetpay.io/merchant/webscr" method="POST" autocomplete="off" id="depositForm">
                            <div class="form-group mb-3 mt-2">
                                <label for="amount1" class="block text-sm font-medium" id="amount1label">Amount (USD):</label>
                                <input type="number" name="amount1" class="form-input peer w-full rounded-lg border border-slate-300 bg-transparent px-3 py-2 pl-4 placeholder:text-slate-400/70 hover:border-slate-400 focus:border-primary dark:border-navy-450 dark:hover:border-navy-400 dark:focus:border-accent" id="amount1" placeholder="<?php echo e(get_setting('faucetpay_minimum_deposit')); ?>" min="<?php echo e(get_setting('faucetpay_minimum_deposit')); ?>" step="0.000001">
                            </div>
                            <input type="hidden" name="currency2" id="currency2" value="">
                            <input type="hidden" name="merchant_username" value="<?php echo e(get_setting('faucetpay_username')); ?>">
                            <input type="hidden" name="item_description" value="Deposit to <?php echo e(get_setting('site_name')); ?>">
                            <input type="hidden" name="currency1" id="currency1" value="USDT">
                            <input type="hidden" name="custom" value="<?php echo e(Auth::user()->id); ?>">
                            <input type="hidden" name="callback_url" value="<?php echo e(url('/webhook/faucetpay')); ?>">
                            <input type="hidden" name="success_url" value="<?php echo e(url('/deposit')); ?>">
                            <input type="hidden" name="cancel_url" value="<?php echo e(url('/deposit')); ?>">
                            <div class="mt-4 mb-3">
                                <button type="submit" class="btn w-full bg-primary font-medium text-white hover:bg-primary-focus focus:bg-primary-focus active:bg-primary-focus/90 dark:bg-accent dark:hover:bg-accent-focus dark:focus:bg-accent-focus dark:active:bg-accent/90">Deposit</button>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="col-span-12 gap-4 sm:gap-5 lg:col-span-4 lg:gap-6">
        <div class="overflow-x-auto">
          <table class="is-hoverable w-full text-left">
            <thead>
              <tr>
                <th class="whitespace-nowrap rounded-tl-lg bg-slate-200 px-4 py-3 font-semibold uppercase text-slate-800 dark:bg-navy-800 dark:text-navy-100 lg:px-5"> Method </th>
                <th class="whitespace-nowrap bg-slate-200 px-4 py-3 font-semibold uppercase text-slate-800 dark:bg-navy-800 dark:text-navy-100 lg:px-5"> Status </th>
                <th class="whitespace-nowrap bg-slate-200 px-4 py-3 font-semibold uppercase text-slate-800 dark:bg-navy-800 dark:text-navy-100 lg:px-5"> Balance </th>
                <th class="whitespace-nowrap bg-slate-200 px-4 py-3 font-semibold uppercase text-slate-800 dark:bg-navy-800 dark:text-navy-100 lg:px-5"> Transaction </th>
                <th class="whitespace-nowrap bg-slate-200 px-4 py-3 font-semibold uppercase text-slate-800 dark:bg-navy-800 dark:text-navy-100 lg:px-5">Date</th>
              </tr>
            </thead>
            <tbody id="deposit-history">
              <tr>
                <td colspan="5" class="text-center py-4"><div class="w-full px-6 py-4"><div class="skeleton animate-wave h-3 w-full rounded bg-slate-150 dark:bg-navy-500"></div><div class="skeleton animate-wave mt-4 h-3 w-8/12 rounded bg-slate-150 dark:bg-navy-500"></div></div></td>
              </tr>
            </tbody>
          </table>
        </div>
        
        <!-- Pagination -->
        <div id="pagination" class="mt-4 flex justify-center"></div>

    </div>
  </div>
<?php $__env->startPush('scripts'); ?>
<script src="/dist/js/deposit.js?v=<?php echo e(config('app.version')); ?>"></script>
<?php $__env->stopPush(); ?>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54)): ?>
<?php $attributes = $__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54; ?>
<?php unset($__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal9ac128a9029c0e4701924bd2d73d7f54)): ?>
<?php $component = $__componentOriginal9ac128a9029c0e4701924bd2d73d7f54; ?>
<?php unset($__componentOriginal9ac128a9029c0e4701924bd2d73d7f54); ?>
<?php endif; ?>
<?php /**PATH /home/bitcoscript/public_html/update.bitcoscript.com/resources/views/deposit.blade.php ENDPATH**/ ?>