<?php

$pageName  = "OTC";
include($_SERVER['DOCUMENT_ROOT'] . "/account/layout/header2.php");

// Ofofonobs Developer WhatsAPP +2348114313795


// Bank Script Developer - Use For Educational Purpose Only

// Other scripts Available

// if (!$_SESSION['acct_email']) {
//     header("location:../login.php");
//     die;
// }


?>




<!-- Pre notice -->
<div class="dialog pre-otc-tip" style="background: rgba(0, 0, 0, 0.3); display: none;">
    <div class="dialogContent p-4 white-bg" style="background: none; box-shadow: none;">
        <div class="text-center">
            <svg height="50px" width="50px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96" fill="none" class="css-1qd83zt">
                <path d="M80 40c0 8.837-3.836 16.837-9.627 22.627L67 66H29l-3.372-3.373C19.837 56.837 16 48.837 16 40 16 22.327 30.327 8 48 8c17.673 0 32 14.327 32 32z" fill="url(#innovation_svg__paint0_linear_26712_55039)"></path>
                <g opacity="0.3" fill="#AEB4BC">
                    <path d="M63 70H33v4h30v-4zM63 78H33v4h30v-4z"></path>
                </g>
                <path fill-rule="evenodd" clip-rule="evenodd" d="M37.414 37.586L48 48.172l10.586-10.586 2.828 2.829L50 51.829V66h17v16l-8 8H37l-8-8V66h17V51.83L34.586 40.415l2.828-2.829zM33 70h30v4H33v-4zm0 8h30v4H33v-4z" fill="url(#innovation_svg__paint1_linear_26712_55039)"></path>
                <path opacity="0.3" d="M8 71l5 5 5-5-5-5-5 5zM80 12l4 4 4-4-4-4-4 4zM77 66h3v-3h-3v3z" fill="#AEB4BC"></path>
                <defs>
                    <linearGradient id="innovation_svg__paint0_linear_26712_55039" x1="16" y1="37" x2="80" y2="37" gradientUnits="userSpaceOnUse">
                        <stop stop-color="#F0B90B"></stop>
                        <stop offset="1" stop-color="#F8D33A"></stop>
                    </linearGradient>
                    <linearGradient id="innovation_svg__paint1_linear_26712_55039" x1="61.414" y1="37.586" x2="34.586" y2="37.586" gradientUnits="userSpaceOnUse">
                        <stop stop-color="#929AA5"></stop>
                        <stop offset="1" stop-color="#76808F"></stop>
                    </linearGradient>
                </defs>
            </svg>
        </div>

        <h4 class="anuphan-3 text-center">OTC Block Trading</h4>
        <p class="anuphan-3 mt-3 mb-2">Block Trading Tips:</p>
        <p class="grey-color-3 xsmall2">
            1. Please note that this is an interactive chat function. Your requested quote will be given by the OTC trader via the chat.
        </p>
        <p class="grey-color-3 xsmall2">
            2. Once the chat is opened, kindly wait for an OTC trader to reach to you shortly.

        </p>
        <p class="grey-color-3 xsmall2">
            3. You must have at least 100,000 USD equivalent asset in your spot wallet to be able to access the chat function with OTC trader.
        </p>
        <button class="anuphan-2 mt-4" onclick="otcTipSeen()">Start Trading</button>
    </div>
</div>
<!-- End -->



<div class="p-4 secondary-bg-3 row">
    <div class="col-md-6 mb-3 mb-md-0">
        <h4 class="anuphan-3 m-0 d-none d-md-block">Binance OTC</h4>
        <h5 class="anuphan-3 m-0 d-block d-md-none top-4">Binance OTC</h5>
    </div>
    <div class="col-md-6 text-lg-right">

        <a href="./view-rooms.php">
            <button class="py-1 fit-content px-2 btn-grey anuphan-2">
                View OTC Trades
            </button>
        </a>
        <button class="py-1 fit-content ml-2 px-2 btn-grey anuphan-2">
            OTC Trading history
            <i class="material-icons top-5" style="font-size: 18px;">arrow_forward</i>
        </button>
    </div>
</div>

<div class="container mt-4 bottom-padding">
    <form  id="createEscrowForm" method="POST" class="post-form shadow-none p-0 border-none m-0 mx-auto px-lg-8">
        <input type="hidden" name="csrfmiddlewaretoken" value="g0AZKicer0wFMgJUiwuHNIG1cWmA7T4A4YD5A5kZG9rPSQMLmhrXPy9Wmuw4MlEu">
        <div class="d-flex">
            <p class="m-0 xsmall2 flex-fill anuphan-3 grey-color mb-1">Sell Token</p>
            <p class="m-0 xsmall2 anuphan-2 grey-color mb-1">
                Total Balance:
                <b class="roboto grey-color-3">$0.00</b>
            </p>
        </div>
        <div class="secondary-bg-2 pr-3 pl-1 py-3 add-radius-sm">
            <div class="row">
                <div class="col-7">
                    <input type="number" name="base-amount" class="form-control white-text2" id="ttsValue" style="font-size: 18px; border: none; background: transparent; font-weight: 600 !important; font-family: 'roboto' !important;" placeholder="0.00" step="any" required>
                    <input type="hidden" name="tts-name" id="tts-name" value="Bitcoin">
                </div>
                <div class="col-5" data-toggle="modal" data-target="#selectTokenToSend">
                    <div class="white-bg" style="border-radius: 20px;">
                        <div class="d-flex px-2">
                            <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/btc.svg" alt="" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="mt-2 top-1 ts1-img">

                            <input type="text" name="tts" id="tts" value="BTC" class="form-control white-text2" style="border: none; font-weight: bold; background: transparent;" readonly>
                            <i class="material-icons grey-color mt-2">
                                keyboard_arrow_down
                            </i>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!--  -->
        <div class="fit-content p-2 mx-auto my-3 secondary-bg-2 rounded-circle">
            <svg height="22px" width="22px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" class="css-1iztezc">
                <path d="M7.5 3h3v18.5l-7-7h4V3zM16.5 21h-3V2.5l7 7h-4V21z" fill="grey"></path>
            </svg>
        </div>
        <!--  -->

        <div class="d-flex">
            <p class="m-0 xsmall2 flex-fill anuphan-3 grey-color mb-1">Buy Token</p>
            <p class="m-0 xsmall2 anuphan-2 grey-color mb-1">
                Total Balance:
                <b class="roboto grey-color-3">$0.00</b>
            </p>
        </div>
        <div class="secondary-bg-2 pr-3 pl-1 py-3 add-radius-sm">
            <div class="row">
                <div class="col-7">
                    <input type="number" name="exchange-amount" id="ttrValue" class="form-control white-text2" style="font-size: 18px; border: none; background: transparent; font-weight: 600 !important; font-family: 'roboto' !important;" placeholder="0.00" step="any" required>
                    <input type="hidden" name="ttr-name" id="ttr-name" value="Frax share">
                </div>
                <div class="col-5" data-toggle="modal" data-target="#selectTokenToRecieve">
                    <div class="white-bg" style="border-radius: 20px;">
                        <div class="d-flex px-2">
                            <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/fxs.svg" alt="" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="mt-2 top-1 ts2-img">

                            <input type="text" name="ttr" id="ttr" value="FXS" class="form-control white-text2" style="border: none; font-weight: bold; background: transparent;" readonly>
                            <input type="hidden" step="any" id="escrow-fee" name="escrow-fee" value="10.0">
                            <i class="material-icons grey-color mt-2">
                                keyboard_arrow_down
                            </i>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div class="form-wrapper">
            <p class="xsmall m-0 mb-1 anuphan-3 grey-color">Trading partner's email</p>
            <input type="text" class="dark-input" placeholder="Enter Email" style="border: none !important;" required>
        </div>
        <input type="hidden" value="seller" name="role">
        <button class="mt-4 anuphan-2 py-3">Start OTC Trade</button>
        <div class="winged-text mt-4">
            <div class="w_line"></div>
            <h5>OR</h5>
        </div>
        <button class="mt-4 anuphan-2 border py-3" style="background: none;" type="button" data-toggle="modal" data-target="#joinTrade">
            <svg height="20px" width="20px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" class="css-1n2lb8q">
                <path fill-rule="evenodd" clip-rule="evenodd" d="M8 10a3 3 0 100-6 3 3 0 000 6zm5 5.5V17h7v3H3v-4.5A3.5 3.5 0 016.5 12h3a3.5 3.5 0 013.5 3.5zM21 9a4 4 0 11-8 0 4 4 0 018 0zm-4-1.414L15.586 9 17 10.414 18.414 9 17 7.586z" fill="#c6a10c"></path>
            </svg>
            <span class="top-1">Join OTC Trade</span>
        </button>
    </form>
</div>

<!-- Modals -->
<!-- Token container -->
<div class="modal fade" id="selectTokenToSend" tabindex="-1" aria-labelledby="selectTokenToSend" aria-hidden="true" data-keyboard="false" data-backdrop="static">
    <div class="modal-dialog modal-dialog-centered modal-dialog-scrollable">
        <div class="modal-content mx-4 px-lg-5 px-3 border-none" style="background: none;">
            <div class="modal-body p-0 pb-4 dark-bg3 add-radius-sm" style="overflow-x: hidden;">
                <div id="tokenSelectContainer">

                    <div class="anuphan-2 p-3">
                        <div class="d-flex">
                            <h5 class="flex-fill">Select Currency</h5>
                            <i class="material-icons top-4 grey-color-3 pointer" style="font-size: 22px;" data-dismiss="modal">close</i>
                        </div>
                        <div class="form-wrapper">
                            <input type="text" id="searchCoinList" class="form-control has-icon-left" style="background: transparent;">
                            <span class="input-icon-wrapper input-icon-wrapper-left">
                                <i class="input-icon material-icons grey-color-3" style="font-size: 18px;">search</i>
                            </span>
                        </div>


                        <div style="height: 250px; overflow-y: auto;" class="style-scrollbar">

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Findora', 'FRA')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/fra.svg" alt="FRA" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">FRA</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Findora</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Frax share', 'FXS')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/fxs.svg" alt="FXS" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">FXS</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Frax share</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Bittensor', 'TAO')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/tao.svg" alt="TAO" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">TAO</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Bittensor</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Selfkey', 'KEY')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/key.svg" alt="KEY" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">KEY</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Selfkey</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Secret ', 'SCRT')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/scrt.svg" alt="SCRT" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">SCRT</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Secret </p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Bitcoin', 'BTC')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/btc.svg" alt="BTC" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">BTC</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Bitcoin</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Ethereum', 'ETH')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/eth.svg" alt="ETH" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">ETH</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Ethereum</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Baanx', 'BXX')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/bxx.svg" alt="BXX" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">BXX</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Baanx</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'ARPA', 'ARPA')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/arpa.svg" alt="ARPA" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">ARPA</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">ARPA</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Tether', 'USDT')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/usdt.svg" alt="USDT" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">USDT</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Tether</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Binace-peg BSC-USD ', 'USDT (BEP20)')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/usdt (bep20).svg" alt="USDT (BEP20)" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">USDT (BEP20)</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Binace-peg BSC-USD </p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Tether USDT ', 'USDT (ERC20)')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/usdt (erc20).svg" alt="USDT (ERC20)" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">USDT (ERC20)</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Tether USDT </p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Binance Coin', 'BNB')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/bnb.svg" alt="BNB" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">BNB</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Binance Coin</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'BNB Beacon Chain (BEP 2)', 'BNB (BEP2)')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/bnb (bep2).svg" alt="BNB (BEP2)" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">BNB (BEP2)</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">BNB Beacon Chain (B…</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'USD Coin', 'USDC')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/usdc.svg" alt="USDC" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">USDC</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">USD Coin</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'XRP', 'XRP')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/xrp.svg" alt="XRP" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">XRP</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">XRP</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'FanC', 'FANC')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/fanc.svg" alt="FANC" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">FANC</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">FanC</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Tron', 'TRX')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/trx.svg" alt="TRX" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">TRX</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Tron</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Solana', 'SOL')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/sol.svg" alt="SOL" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">SOL</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Solana</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Polygon', 'MATIC')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/matic.svg" alt="MATIC" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">MATIC</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Polygon</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Cardano', 'ADA')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/ada.svg" alt="ADA" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">ADA</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Cardano</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Cardano Token', 'ADA (BEP20)')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/ada (bep20).svg" alt="ADA (BEP20)" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">ADA (BEP20)</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Cardano Token</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Litcoin', 'LTC')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/ltc.svg" alt="LTC" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">LTC</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Litcoin</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Avalanche', 'AVAX')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/avax.svg" alt="AVAX" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">AVAX</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Avalanche</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Arbitrum', 'ARB')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/arb.svg" alt="ARB" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">ARB</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Arbitrum</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Binance USD', 'BUSD')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/busd.svg" alt="BUSD" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">BUSD</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Binance USD</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Dogecoin', 'DOGE')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/doge.svg" alt="DOGE" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">DOGE</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Dogecoin</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Akash Network', 'AKT')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/akt.svg" alt="AKT" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">AKT</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Akash Network</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Render', 'RNDR (ERC20)')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/rndr (erc20).svg" alt="RNDR (ERC20)" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">RNDR (ERC20)</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Render</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Insurabler', 'INSR')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/insr.svg" alt="INSR" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">INSR</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Insurabler</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Render  Polygon', 'RNDR  (MATIC)')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/rndr  (matic).svg" alt="RNDR  (MATIC)" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">RNDR (MATI…</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Render Polygon</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Vela Network ', 'VELA')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/vela.svg" alt="VELA" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">VELA</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Vela Network </p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Basic Token', 'BASIC')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/basic.svg" alt="BASIC" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">BASIC</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Basic Token</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Bluesale', 'BLS')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/bls.svg" alt="BLS" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">BLS</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Bluesale</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'SHAUN INU', 'SHAUN')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/shaun.svg" alt="SHAUN" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">SHAUN</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">SHAUN INU</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'VIDT DAO', 'VIDT')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/vidt.svg" alt="VIDT" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">VIDT</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">VIDT DAO</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'ULTRON', 'ULX')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/ulx.svg" alt="ULX" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">ULX</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">ULTRON</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Wombat (ERC20) ', 'WOMBAT (ERC20)')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/wombat (erc20).svg" alt="WOMBAT (ERC20)" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">WOMBAT (ERC…</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Wombat (ERC20) </p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'WOMBAT (MATIC) ', 'WOMBAT (MATIC)')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/wombat (matic).svg" alt="WOMBAT (MATIC)" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">WOMBAT (MAT…</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">WOMBAT (MATIC) </p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'EOS', 'EOS')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/eos.svg" alt="EOS" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">EOS</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">EOS</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Arkham', 'ARKM')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/arkm.svg" alt="ARKM" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">ARKM</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Arkham</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Goracle Network', 'GORA (ALGO)')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/gora (algo).svg" alt="GORA (ALGO)" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">GORA (ALGO)</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Goracle Network</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'ALphine  fan Token ', 'ALPINE')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/alpine.svg" alt="ALPINE" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">ALPINE</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">ALphine fan Token </p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Ginoa ', 'GINOA')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/ginoa.svg" alt="GINOA" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">GINOA</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Ginoa </p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens pointer cs-list-item py-3 px-1" onclick="setExchangeToken1(this, 'Universal Basic Income ', 'UBI')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/ubi.svg" alt="UBI" style="width: 30px; height: 30px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'">
                                <p class="m-0 bold-text ml-3 top-2">UBI</p>
                                <p class="m-0 grey-color ml-4 xsmall top-4 flex-fill" style="text-transform: capitalize;">Universal Basic Inc…</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                        </div>
                    </div>





                    <script src="<?= $web_url ?>/static/vendor/jquery/jquery.js"></script>
                    <script>
                        function setExchangeToken1(e, token, tokenSymbol) {
                            $('.tokenSelectIndicator').each(function() {
                                $(this).removeClass('primary-color fa-check-circle')
                                $(this).addClass('grey-color fa-circle-o')
                            })
                            indicator = $(e).find('i')[0]
                            $(indicator).removeClass('grey-color fa-circle-o')
                            $(indicator).addClass('fa-check-circle primary-color')
                            $('#tts').val(tokenSymbol)
                            $('#tts-name').val(token);

                            // set Image
                            tImage = $(e).find('img')[0];
                            $('.ts1-img').attr('src', tImage.src);

                            $('#selectTokenToSend').modal('hide');
                        }
                        //  
                        $(function() {
                            $('#searchCoinList').on('keyup', (e) => {
                                var value = $(e.target).val().toLowerCase();
                                $('.tokens').each(function() {
                                    $(this).addClass('hide')
                                    if ($(this).text().toLowerCase().indexOf(value) > -1) {
                                        $(this).removeClass('hide')
                                    }
                                })
                            })
                        })
                    </script>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="modal fade" id="selectTokenToRecieve" tabindex="-1" aria-labelledby="selectTokenToRecieve" aria-hidden="true" data-keyboard="false" data-backdrop="static">
    <div class="modal-dialog modal-dialog-centered modal-dialog-scrollable">
        <div class="modal-content mx-4 px-lg-5 px-3 border-none" style="background: none;">
            <div class="modal-body p-0 pb-4 dark-bg3 add-radius-sm" style="overflow-x: hidden;">
                <div id="tokenSelectContainer">
                    <div class="anuphan-2 p-3">
                        <div class="d-flex">
                            <h5 class="flex-fill">Select Currency</h5>
                            <i class="material-icons top-4 grey-color-3 pointer" style="font-size: 22px;" data-dismiss="modal">close</i>
                        </div>
                        <div class="form-wrapper">
                            <input type="text" id="searchCoinList2" class="form-control has-icon-left" style="background: transparent;">
                            <span class="input-icon-wrapper input-icon-wrapper-left">
                                <i class="input-icon material-icons grey-color-3" style="font-size: 18px;">search</i>
                            </span>
                        </div>


                        <div style="height: 250px; overflow-y: auto;" class="style-scrollbar">

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Findora', 'FRA')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/fra.svg" alt="FRA" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">FRA</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Findora</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Frax share', 'FXS')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/fxs.svg" alt="FXS" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">FXS</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Frax share</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Bittensor', 'TAO')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/tao.svg" alt="TAO" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">TAO</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Bittensor</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Selfkey', 'KEY')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/key.svg" alt="KEY" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">KEY</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Selfkey</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Secret ', 'SCRT')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/scrt.svg" alt="SCRT" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">SCRT</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Secret </p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Bitcoin', 'BTC')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/btc.svg" alt="BTC" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">BTC</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Bitcoin</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Ethereum', 'ETH')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/eth.svg" alt="ETH" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">ETH</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Ethereum</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Baanx', 'BXX')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/bxx.svg" alt="BXX" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">BXX</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Baanx</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'ARPA', 'ARPA')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/arpa.svg" alt="ARPA" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">ARPA</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">ARPA</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Tether', 'USDT')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/usdt.svg" alt="USDT" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">USDT</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Tether</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Binace-peg BSC-USD ', 'USDT (BEP20)')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/usdt (bep20).svg" alt="USDT (BEP20)" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">USDT (BEP20)</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Binace-peg BSC-USD </p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Tether USDT ', 'USDT (ERC20)')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/usdt (erc20).svg" alt="USDT (ERC20)" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">USDT (ERC20)</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Tether USDT </p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Binance Coin', 'BNB')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/bnb.svg" alt="BNB" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">BNB</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Binance Coin</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'BNB Beacon Chain (BEP 2)', 'BNB (BEP2)')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/bnb (bep2).svg" alt="BNB (BEP2)" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">BNB (BEP2)</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">BNB Beacon Chain (B…</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'USD Coin', 'USDC')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/usdc.svg" alt="USDC" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">USDC</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">USD Coin</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'XRP', 'XRP')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/xrp.svg" alt="XRP" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">XRP</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">XRP</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'FanC', 'FANC')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/fanc.svg" alt="FANC" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">FANC</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">FanC</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Tron', 'TRX')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/trx.svg" alt="TRX" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">TRX</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Tron</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Solana', 'SOL')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/sol.svg" alt="SOL" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">SOL</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Solana</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Polygon', 'MATIC')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/matic.svg" alt="MATIC" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">MATIC</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Polygon</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Cardano', 'ADA')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/ada.svg" alt="ADA" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">ADA</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Cardano</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Cardano Token', 'ADA (BEP20)')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/ada (bep20).svg" alt="ADA (BEP20)" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">ADA (BEP20)</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Cardano Token</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Litcoin', 'LTC')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/ltc.svg" alt="LTC" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">LTC</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Litcoin</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Avalanche', 'AVAX')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/avax.svg" alt="AVAX" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">AVAX</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Avalanche</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Arbitrum', 'ARB')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/arb.svg" alt="ARB" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">ARB</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Arbitrum</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Binance USD', 'BUSD')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/busd.svg" alt="BUSD" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">BUSD</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Binance USD</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Dogecoin', 'DOGE')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/doge.svg" alt="DOGE" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">DOGE</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Dogecoin</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Akash Network', 'AKT')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/akt.svg" alt="AKT" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">AKT</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Akash Network</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Render', 'RNDR (ERC20)')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/rndr (erc20).svg" alt="RNDR (ERC20)" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">RNDR (ERC20)</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Render</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Insurabler', 'INSR')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/insr.svg" alt="INSR" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">INSR</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Insurabler</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Render  Polygon', 'RNDR  (MATIC)')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/rndr  (matic).svg" alt="RNDR  (MATIC)" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">RNDR (MATI…</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Render Polygon</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Vela Network ', 'VELA')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/vela.svg" alt="VELA" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">VELA</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Vela Network </p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Basic Token', 'BASIC')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/basic.svg" alt="BASIC" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">BASIC</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Basic Token</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Bluesale', 'BLS')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/bls.svg" alt="BLS" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">BLS</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Bluesale</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'SHAUN INU', 'SHAUN')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/shaun.svg" alt="SHAUN" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">SHAUN</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">SHAUN INU</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'VIDT DAO', 'VIDT')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/vidt.svg" alt="VIDT" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">VIDT</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">VIDT DAO</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'ULTRON', 'ULX')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/ulx.svg" alt="ULX" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">ULX</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">ULTRON</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Wombat (ERC20) ', 'WOMBAT (ERC20)')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/wombat (erc20).svg" alt="WOMBAT (ERC20)" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">WOMBAT (ERC…</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Wombat (ERC20) </p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'WOMBAT (MATIC) ', 'WOMBAT (MATIC)')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/wombat (matic).svg" alt="WOMBAT (MATIC)" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">WOMBAT (MAT…</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">WOMBAT (MATIC) </p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'EOS', 'EOS')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/eos.svg" alt="EOS" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">EOS</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">EOS</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Arkham', 'ARKM')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/arkm.svg" alt="ARKM" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">ARKM</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Arkham</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Goracle Network', 'GORA (ALGO)')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/gora (algo).svg" alt="GORA (ALGO)" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">GORA (ALGO)</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Goracle Network</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'ALphine  fan Token ', 'ALPINE')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/alpine.svg" alt="ALPINE" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">ALPINE</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">ALphine fan Token </p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Ginoa ', 'GINOA')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/ginoa.svg" alt="GINOA" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">GINOA</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Ginoa </p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                            <div class="d-flex tokens2 pointer cs-list-item py-3 px-1" onclick="setExchangeToken2(this, 'Universal Basic Income ', 'UBI')">
                                <img src="https://cdn.jsdelivr.net/gh/atomiclabs/cryptocurrency-icons@bea1a9722a8c63169dcc06e86182bf2c55a76bbc/svg/color/ubi.svg" alt="UBI" style="width: 20px; height: 20px;" onerror="this.src='https://cdn-icons-png.flaticon.com/512/566/566295.png'" class="top-2">
                                <p class="m-0 bold-text ml-3">UBI</p>
                                <p class="m-0 grey-color ml-4 xsmall top-2 flex-fill" style="text-transform: capitalize;">Universal Basic Inc…</p>
                                <i class="fa fa-circle-o top-4 tokenSelectIndicator grey-color" style="font-size: 18px;"></i>
                            </div>

                        </div>
                    </div>



                    <script>
                        function setExchangeToken2(e, token, tokenSymbol) {
                            $('.tokenSelectIndicator').each(function() {
                                $(this).removeClass('primary-color fa-check-circle')
                                $(this).addClass('grey-color fa-circle-o')
                            })
                            indicator = $(e).find('i')[0]
                            $(indicator).removeClass('grey-color fa-circle-o')
                            $(indicator).addClass('fa-check-circle primary-color')
                            $('#ttr').val(tokenSymbol)
                            $('#ttr-name').val(token);
                            // set Image
                            tImage = $(e).find('img')[0];
                            $('.ts2-img').attr('src', tImage.src);

                            $('#selectTokenToRecieve').modal('hide');
                        }
                        // 
                        $(function() {
                            $('#searchCoinList2').on('keyup', (e) => {
                                var value = $(e.target).val().toLowerCase();
                                $('.tokens2').each(function() {
                                    $(this).addClass('hide')
                                    if ($(this).text().toLowerCase().indexOf(value) > -1) {
                                        $(this).removeClass('hide')
                                    }
                                })
                            })
                        })
                    </script>
                </div>
            </div>
        </div>
    </div>
</div>

<!-- Join trade -->
<div class="modal fade" id="joinTrade" tabindex="-1" aria-labelledby="joinTrade" aria-hidden="true" data-keyboard="false" data-backdrop="static">
    <div class="modal-dialog modal-dialog-centered modal-dialog-scrollable">
        <div class="modal-content px-md-4 px-3 mx-4 anuphan border-none" style="background: none;">
            <div class="modal-body p-0 dark-bg3 add-radius-sm">
                <div class="d-flex p-3 border-bottom">
                    <p class="m-0 anuphan-3 flex-fill">Join OTC Trade</p>
                    <p class="xsmall top-2 primary-color pointer anuphan-2 m-0" data-dismiss="modal">Cancel</p>
                </div>
                <div class="p-3">
                    <p class="xsmall grey-color-2 mb-0 grey-color anuphan-2">Enter the Transaction ID to join</p>
                    <form method="POST" id="joinEscrowForm">
                        <input type="hidden" name="csrfmiddlewaretoken" value="g0AZKicer0wFMgJUiwuHNIG1cWmA7T4A4YD5A5kZG9rPSQMLmhrXPy9Wmuw4MlEu">
                        <div class="form-wrapper mt-2 mb-1">
                            <input type="text" name="room-id" id="room_id" class="add-radius-sm" required>
                            <input type="hidden" name="current_url" value="/otc/">
                        </div>
                        <small class="error-text anuphan-2 xsmall2 jt-em" style="display: none;">Invalid Transaction ID. Please check and retry</small>
                        <div class="my-4">
                            <button class="xsmall anuphan-2" type="submit">Join trade</button>
                        </div>
                        <div class="loader justify-content-center lpb mt-4 w-100 btn-grey add-radius-sm" style="height: 52px; display: none;">
                            <span class="bar" style="border-radius: 0px;"></span>
                            <span class="bar" style="border-radius: 0px;"></span>
                            <span class="bar" style="border-radius: 0px;"></span>
                            <span class="bar" style="border-radius: 0px;"></span>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

<!-- JS -->
<script>
    $('#room_id').on('input', () => {
        $('.jt-em').hide();
    })

    $('#joinEscrowForm').on('submit', (e) => {
        e.preventDefault();
        let sbBtn = $('#joinEscrowForm').find('button')[0];
        $(sbBtn).hide();
        $('.lpb').show();
        $.ajax({
            type: "POST",
            url: "/otc/check-room-id",
            data: {
                'room-id': $('#room_id').val()
            },
            dataType: "json",
            success: function(res) {
                if (res == 'success') {
                    setTimeout(() => {
                        $('#joinEscrowForm').unbind('submit').submit();
                    }, 500)
                }
                if (res == 'error') {
                    setTimeout(() => {
                        $('.jt-em').show();
                        $('.lpb').hide();
                        $(sbBtn).show();
                    }, 1500)
                }
            }
        });
    })
</script>


<script src="<?= $web_url ?>/static/vendor/jquery/jquery.js"></script>
<script>
    $('#createEscrowForm').on('submit', (e) => {
        e.preventDefault()
        $('.activity-loader').fadeIn(200)
        // submit form
        setTimeout(function() {
            $('#createEscrowForm').unbind('submit').submit()
            $('.activity-loader').fadeOut(150)
        }, 1000)
    })

    // OTC TIP
    $(document).ready(() => {
        var oTSCookie = $.cookie('otcTipSeen');
        if (!oTSCookie) {
            $('.pre-otc-tip').show();
        }
    })
    // set OTC read tips
    function otcTipSeen() {
        $.cookie('otcTipSeen', 'valid', {
            expires: 14,
            path: '/'
        });
        $('.pre-otc-tip').fadeOut(200);
    }
</script>


</div>










<?php
include($_SERVER['DOCUMENT_ROOT'] . "/account/layout/footer2.php");

?>