<?php
/**
 * Type: SUBMENU
 * Page_Title: Project Planner
 * Menu_Title: Project Planner
 * Capability: manage_options
 * Slug: xagio-projectplanner
 * Parent_Slug: xagio-dashboard
 * Icon: /assets/img/logo-menu-xagio.webp
 * JavaScript: jquery-masonry,jquery-ui-core,jquery-ui-sortable,xagio_wizard,xagio_datatables,xagio_tablesorter,xagio_jstree,xagio_select2,xagio_tagsinput,xagio_jquery_sortable,xagio_multisortable,xagio_text_cloud,xagio_panzoom,xagio_mousewheel,xagio_flowchart,xagio_ajaxq,xagio_intro.min,xagio_jqcloud,xagio_projectplanner
 * Css: xagio_wizard,xagio_jstree,xagio_select2,xagio_tagsinput,xagio_text_cloud,xagio_flowchart,xagio_introjs.min,xagio_projectplanner
 * Position: 4
 * Version: 1.0.0
 */
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

$xagio_country = get_option('XAGIO_LOCATION_DEFAULT_KEYWORD_COUNTRY');
$xagio_language = get_option('XAGIO_LOCATION_DEFAULT_KEYWORD_LANGUAGE');
$xagio_audit_language = get_option('XAGIO_LOCATION_DEFAULT_AUDIT_LANGUAGE');
$xagio_ai_wizard_se = get_option('XAGIO_LOCATION_DEFAULT_AI_SEARCH_ENGINE');
$xagio_ai_wizard_location = get_option('XAGIO_LOCATION_DEFAULT_AI_LOCATION');

$xagio_default_country = get_option('XAGIO_LOCATION_DEFAULT_COUNTRY');
$xagio_default_city_code = get_option('XAGIO_LOCATION_DEFAULT_CITY');
$xagio_country_list = xagio_get_countries();
if($xagio_default_city_code != null){
    $xagio_default_city = xagio_get_city_by_code($xagio_default_city_code);
} else {
    $xagio_default_city = array();
}

$XAGIO_MEMBERSHIP_INFO = get_option('XAGIO_ACCOUNT_DETAILS');
?>

<script>
    let siteUrl = '<?php echo esc_url(XAGIO_URL); ?>';
</script>

<div class="xagio-main-header">
    <img class="logo-image repo-xagio" src="<?php echo  esc_url(XAGIO_URL); ?>assets/img/logo-xagio.webp"/>
    <h2 class="logo-title logo-title-big">
        Project Planner
    </h2>
    <div class="xagio-header-actions-in-project" style="display: none">

        <div class="xags-container">
            <div class="xags-item xrenew" id="xags-allowance" data-xagio-tooltip data-xagio-tooltip-position="bottom" data-xagio-title="These are your current XAGS (xRenew)">
                <img src="<?php echo esc_url(XAGIO_URL); ?>assets/img/logos/xRenew.png" alt="xR"
                     class="xags-icon">
                <span class="value">0</span>
            </div>
            <span class="xags-divider"></span>
            <div class="xags-item xbanks" id="xags" data-xagio-tooltip data-xagio-tooltip-position="bottom" data-xagio-title="These are your current XAGS (xBank)">
                <img src="<?php echo esc_url(XAGIO_URL); ?>assets/img/logos/xBanks.png" alt="xB"
                     class="xags-icon">
                <span class="value">0</span>
            </div>
        </div>

        <?php if(XAGIO_CONNECTED) { ?>
            <a href="https://xagio.com/store/" target="_blank" class="xagio-button xagio-button-secondary"><i class="xagio-icon xagio-icon-store"></i> Buy XAGS</a>
        <?php } else { ?>
            <a href="https://xagio.com/?goto=upluginplan" target="_blank" class="xagio-button xagio-button-secondary"><i class="xagio-icon xagio-icon-store"></i> TRY A XAGIO PLAN</a>
        <?php } ?>
    </div>
    <div class="xagio-header-actions">
        <div class="xagio-dropdown">
            <button type="button" class="xagio-button xagio-button-primary">Manage <i class="xagio-icon xagio-icon-arrow-down"></i></button>
            <ul class="xagio-button-dropdown" style="display: none">
                <li class="new-project" data-xagio-dropdown-close><i class="xagio-icon xagio-icon-plus"></i> New Project</a></li>
                <li data-xagio-dropdown-close data-xagio-modal="importProject"><i class="xagio-icon xagio-icon-upload"></i> Import existing Project</li>
                <li data-xagio-dropdown-close data-xagio-modal="conditional-formatting"><i class="xagio-icon xagio-icon-draw"></i> Conditional Formatting</li>
                <li data-xagio-dropdown-close data-xagio-modal="redirects"><i class="xagio-icon xagio-icon-sync"></i> Manage Redirects</li>
                <li data-xagio-dropdown-close class="export-all-projects"><i class="xagio-icon xagio-icon-download"></i> Export All Projects</li>
            </ul>
        </div>

        <button class="xagio-button xagio-button-primary auditWebsiteMigration" data-xagio-modal="auditWebsiteModal"><i class="xagio-icon xagio-icon-magnifying-glass-chart"></i> Audit</button>

        <button class="xagio-button xagio-button-primary aiWizardBtn"><i class="xagio-icon xagio-icon-ai"></i> AI Wizard</button>

    </div>
    <?php if(isset($XAGIO_MEMBERSHIP_INFO["membership"]) && $XAGIO_MEMBERSHIP_INFO["membership"] === "Xagio AI Free") { ?>
        <a href="https://xagio.com/?goto=wppremfeatures" target="_blank" class="xagio-button xagio-button-secondary xagio-button-premium-button">
            See Xagio Premium Features
        </a>
    <?php } ?>
</div>

<!-- HTML STARTS HERE -->
<div class="xagio-content-wrapper">

    <div class="xagio-accordion xagio-margin-bottom-large">
        <h3 class="xagio-accordion-title">
            <i class="xagio-icon xagio-icon-info"></i>
            <span>Here you can maintain your Xagio projects.</span>
            <i class="xagio-icon xagio-icon-arrow-down"></i>
        </h3>
        <div class="xagio-accordion-content">
            <div>
                <div class="xagio-accordion-panel"></div>
            </div>
        </div>
    </div>

    <!-- Projects Table -->
    <div class="xagio-panel projects-table">
        <h5 class="xagio-panel-title xagio-flex-row">
            <div>
                <span class="total-number-of-projects"></span> Projects
            </div>

            <div class="xagio-flex-right xagio-flex-gap-small">
                <button class="xagio-button xagio-button-primary delete-projects xagio-text-no-wrap xagio-hidden"><i class="xagio-icon xagio-icon-delete"></i> Delete Selected Projects</button>
                <button class="xagio-button xagio-button-primary xagio-text-no-wrap importPages"><i class="xagio-icon xagio-icon-magnifying-glass-chart"></i> Import My Pages</button>
                <button class="xagio-button xagio-button-primary auditWebsiteMigration xagio-text-no-wrap" data-modal="internal"><i class="xagio-icon xagio-icon-magnifying-glass-chart"></i> Import My Rankings</button>
                <input type="text" class="xagio-input-text-mini search-projects" placeholder="Search...">
            </div>
        </h5>

        <div class="xagio-table-responsive">
            <table class="xagio-table pTable" cellspacing="0" width="100%">
                <thead>
                <tr>
                    <th><input type="checkbox" class="select-all-projects"/></th>
                    <th>Project Name</th>
                    <th>Created Date</th>
                    <th class="xagio-text-center">Groups</th>
                    <th class="xagio-text-center">Keywords</th>
                    <th class="xagio-text-center">Share</th>
                    <th class="xagio-text-center">Actions</th>
                </tr>
                </thead>
                <tbody>

                </tbody>
            </table>
        </div>
    </div>

    <!-- Project Dashboard -->
    <div class="project-dashboard" style="display: none">
        <div class="project-header xagio-margin-bottom-large">
            <h1 class="project-name"><i class="xagio-icon xagio-icon-file"></i> #00: Untitled Project</h1>

            <div class="project-actions">
                <!-- Go back to Projects -->
                <button class="xagio-button xagio-button-primary closeProject"><i class="xagio-icon xagio-icon-arrow-left"></i> Projects</button>
                <button type="button" class="xagio-button xagio-button-primary ai-clustering">
                    <i class="xagio-icon xagio-icon-ai"></i> AI Clustering
                </button>

                <!-- Keyword Functions -->
                <div class="xagio-dropdown-simple actions-button">
                    <!-- This is the button toggling the dropdown -->
                    <button class="xagio-button xagio-button-primary">Keywords <i class="xagio-icon xagio-icon-arrow-down"></i></button>
                    <!-- This is the dropdown -->
                    <ul class="xagio-button-dropdown">
                        <li><a href="#" class="getVolumeAndCPC" data-xagio-dropdown-close data-type="all">Get Volume & CPC</a></li>
                        <li><a href="#" class="getKeywordData" data-xagio-dropdown-close data-type="all">Get Competition</a></li>
                        <li><a href="#" class="track_rankings" data-xagio-dropdown-close data-type="all">Track Rankings</a></li>
                        <li><a href="#" class="phraseMatch" data-xagio-dropdown-close data-group-id="0">Cluster Keywords</a></li>
                        <li><a href="#" class="seedKeyword" data-xagio-dropdown-close data-group-id="0">Seed Keywords</a></li>
                        <li><a href="#" class="consolidateKeywords" data-xagio-dropdown-close data-xagio-tooltip data-xagio-title="Move all keywords into a new group in this project">Consolidate Keywords</a></li>
                        <li><a href="#" class="deleteDuplicate" data-xagio-dropdown-close>De Duplicate Keywords</a></li>
                        <li><a href="#" class="moveKeywords" data-xagio-dropdown-close data-type="all">Move Keywords</a></li>
                        <li class="xagio-nav-divider"></li>
                        <li><a href="#" class="exportKeywords" data-xagio-dropdown-close>Export Keywords</a></li>
                        <li class="xagio-nav-divider"></li>
                        <li><a href="#" data-xagio-modal="importKeywordPlanner" data-xagio-dropdown-close>Import CSV</a></li>
                        <li><a href="#" class="importKWS" data-xagio-dropdown-close>Import From Keyword Supremacy</a></li>
                    </ul>
                </div>

                <!-- Group Functions -->
                <div class="xagio-dropdown-simple actions-button">
                    <!-- This is the button toggling the dropdown -->
                    <button class="xagio-button xagio-button-primary">Groups <i class="xagio-icon xagio-icon-arrow-down"></i></button>
                    <!-- This is the dropdown -->
                    <ul class="xagio-button-dropdown">
                        <li><a href="#" class="addGroup" data-xagio-dropdown-close>Add Group</a></li>
                        <li><a href="#" class="deleteGroups" data-xagio-dropdown-close>Delete Selected Groups</a></li>
                        <li><a href="#" class="deleteEmptyGroups" data-xagio-dropdown-close>Delete Empty Groups</a></li>
                        <li><a href="#" class="moveSelectedGroups" data-xagio-dropdown-close>Move Selected Groups</a></li>
                        <li><a href="#" class="selectAllGroups" data-xagio-dropdown-close>Select All Groups</a></li>

                        <li class="xagio-nav-divider"></li>

                        <li><a href="#" class="createPagesPosts" data-xagio-dropdown-close >Create Page/Post From Group</a></li>
                        <li><a href="#" class="addGroupFromExisting" data-xagio-dropdown-close >Create Group From Page</a></li>
                        <li><a href="#" class="addGroupFromExistingTaxonomy" data-xagio-dropdown-close >Create Group From Taxonomy</a></li>

                        <li class="xagio-nav-divider"></li>

                        <li><a href="#" class="expandKeywordGroups" data-xagio-dropdown-close>Expand Keywords</a></li>
                        <li><a href="#" class="collapseKeywordGroups" data-xagio-dropdown-close>Collapse Keywords</a></li>
                        <li><a href="#" class="expandAllGroups" data-xagio-dropdown-close>Expand All</a></li>
                        <li><a href="#" class="collapseAllGroups" data-xagio-dropdown-close>Collapse All</a></li>

                        <li class="xagio-nav-divider"></li>
                        <li><a href="#" class="exportGroups" data-xagio-dropdown-close>Export Selected Groups</a></li>
                    </ul>
                </div>

                <button class="xagio-button xagio-button-primary xagio-action-button xagio-form-select" data-xagio-tooltip data-xagio-tooltip-position="bottom" data-xagio-title="Filter by Post Type">
                    <span><i class="xagio-icon xagio-icon-filter"></i></span>
                    <select id="filterPostTypes">
                        <option value="">All Types</option>
                        <option value="none">None</option>
                    </select>
                </button>

                <div data-xagio-tooltip data-xagio-tooltip-position="bottom" data-xagio-title="Sort Groups">
                    <ul id="groupSort">
                        <li class="xagio-button xagio-button-primary xagio-action-button sort-groups-asc" style="display: none">
                            <a href="#"><i class="xagio-icon xagio-icon-sort-up"></i></a>
                        </li>
                        <li class="xagio-button xagio-button-primary xagio-action-button sort-groups-desc">
                            <a href="#"><i class="xagio-icon xagio-icon-sort"></i></a>
                        </li>
                    </ul>
                </div>

                <button class="xagio-button xagio-button-primary xagio-action-button saveProject" data-xagio-tooltip data-xagio-tooltip-position="bottom" data-xagio-title="Save Project"><i class="xagio-icon xagio-icon-save"></i></button>
                <button class="xagio-button xagio-button-primary xagio-action-button add-empty-group" data-xagio-tooltip data-xagio-tooltip-position="bottom" data-xagio-title="Add Empty Group"><i class="xagio-icon xagio-icon-plus"></i></button>
                <button class="xagio-button xagio-button-primary global-wordCloud" data-xagio-tooltip data-xagio-tooltip-position="bottom" data-xagio-title="Open Global Word Cloud"><i class="xagio-icon xagio-icon-cloud"></i></button>
            </div>
        </div>

        <div class="keyword-cloud-global-holder">
            <div class="xagio-keyword-cloud-global"></div>
            <div class="seed-keywords-global" style="display: none">

                <div class="seed-keywords-panel-start">
                    <i class="xagio-icon xagio-icon-info"></i> <div>Select keywords to start seeding.</div>
                </div>

                <div class="seed-keywords-panel-select" style="display: none">
                    <div>
                        Seed groups for the following keywords
                    </div>

                    <form id="seedPanelForm">
                        <div class="seed-keywords-inputs">

                        </div>
                    </form>

                    <button class="xagio-button xagio-button-primary seed-keywords-panel-global" type="button"><i class="xagio-icon xagio-icon-check"></i> Seed New Group</button>
                </div>
            </div>
        </div>


        <div class="project-groups">
            <div class="data">

            </div>
        </div>

        <div class="project-empty" style="display: none">
            <h2><i class="xagio-icon xagio-icon-warning"></i> Project is empty</h2>
            <p>To get started, please
                <button class="xagio-button xagio-button-primary auditWebsiteMigration" data-modal="internal"><i class="xagio-icon xagio-icon-magnifying-glass-chart"></i> Import Pages & Rankings</button>
                or
                <button class="xagio-button xagio-button-primary addGroup"><i class="xagio-icon xagio-icon-plus"></i> Add a Group</button>
            </p>
        </div>
    </div>


</div> <!-- .wrap -->

<!-- Cloud Template -->
<div class="cloud template hide" style="display: none;"></div>

<div class="loading hidden">
    <div class="ocw-loading-text"> Clustering groups...</div>
</div>

<!-- Shared Project -->
<dialog id="shared_project_link" class="xagio-modal xagio-modal-lg">
    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-link"></i> Shared Project Link</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>

    <div class="xagio-modal-body share-modal-body">
        <i class="xagio-icon xagio-icon-info"></i>
        <h2>Shared URL</h2>
        <h3>Your sharable link is displayed below</h3>
        <div class="share-modal-link">
            <a href="#" target="_blank">#</a>
        </div>
        <div class="share-modal-buttons">
            <a href="#" target="_blank" class="xagio-button xagio-button-outline view-shared-url"><i class="xagio-icon xagio-icon-external-link"></i> View</a>
            <button class="xagio-button xagio-button-primary copy-shared-url" type="button"><i class="xagio-icon xagio-icon-copy"></i> Copy Link</button>
        </div>

    </div>
</dialog>

<!-- Shared Project -->
<dialog id="confirmShareModal" class="xagio-modal">
    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-link"></i> Confirm Link Share</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>

    <div class="xagio-modal-body">
        <input type="hidden" id="shareProjectId" value="0">
        <input type="hidden" id="sliderStatus" value="0">
        <div class="modal-label link-share-message">This action will generate a unique sharable link for this project</div>

        <div class="xagio-flex-right xagio-flex-gap-medium xagio-margin-top-medium">
            <button class="xagio-button xagio-button-outline" type="button" data-xagio-close-modal><i class="xagio-icon xagio-icon-close"></i> Cancel</button>
            <button type="button" class="xagio-button xagio-button-primary add-share-link"><i class="xagio-icon xagio-icon-check"></i> Ok</button>
        </div>
    </div>
</dialog>

<!-- Redirects -->
<dialog id="redirects" class="xagio-modal xagio-modal-lg">
    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-sync"></i> Manage Redirects</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>

    <div class="xagio-modal-body">
        <table class="xagio-table table-redirects">
            <thead>
            <tr>
                <th style="width: 20%;">URL</th>
                <th>Redirects to</th>
                <th style="width: 20%" class="xagio-text-center">Actions</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td colspan="3" class="xagio-text-center">Can't find any active redirects.</td>
            </tr>
            </tbody>
        </table>

        <div class="xagio-flex-right xagio-flex-gap-medium xagio-margin-top-medium">
            <button class="xagio-button xagio-button-outline" type="button" data-xagio-close-modal><i class="xagio-icon xagio-icon-close"></i> Cancel</button>
            <button type="button" class="xagio-button xagio-button-primary add-new-redirect"><i class="xagio-icon xagio-icon-plus"></i> Add New Redirect</button>
        </div>
    </div>

</dialog>

<!-- addGroupFromExisting -->
<dialog id="addGroupFromExistingModal" class="xagio-modal xagio-modal-lg">
    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-sync"></i> Create Group(s) From Existing Pages/Posts</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>

    <div class="xagio-modal-body">
        <div class="xagio-alert xagio-alert-primary xagio-margin-bottom-medium">
            <i class="xagio-icon xagio-icon-info"></i> Select posts/pages you want to create groups from and press Create Groups.
        </div>

        <table class="xagio-table-modal postsTable2" cellspacing="0" width="100%">
            <thead>
            <tr>
                <th class="check-column xagio-text-center" width="40px">
                    <input class="xagio-input-checkbox xagio-input-checkbox-mini select-posts-all" type="checkbox">
                </th>
                <th style="width: 40px" class="xagio-text-center">ID</th>
                <th class="xagio-text-left">Title</th>
                <th class="xagio-text-left">Date</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td colspan="4" class="xagio-text-center"><i class="xagio-icon xagio-icon-sync xagio-icon-spin"></i> Loading</td>
            </tr>
            </tbody>
        </table>


        <div class="xagio-flex-right xagio-flex-gap-medium xagio-margin-top-medium">
            <button class="xagio-button xagio-button-outline" type="button" data-xagio-close-modal><i class="xagio-icon xagio-icon-close"></i> Cancel</button>
            <button type="submit" class="xagio-button xagio-button-primary add-group-from-existing"><i class="xagio-icon xagio-icon-check"></i> Create Groups from Selected <span class="selected-posts"><b class="value">0</b></span></button>
        </div>
    </div>

</dialog>

<!-- addGroupFromExistingTaxonomies -->
<dialog id="addGroupFromExistingTaxonomyModal" class="xagio-modal xagio-modal-lg">

    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-sync"></i> Create Group(s) From Existing Taxonomy</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>

    <div class="xagio-modal-body">
        <div class="xagio-alert xagio-alert-primary xagio-margin-bottom-medium">
            <i class="xagio-icon xagio-icon-info"></i> Select taxonomies you want to create groups from and press Create Groups.
        </div>

        <table class="xagio-table-modal taxonomiesTableCreate" cellspacing="0" width="100%">
            <thead>
            <tr>
                <th class="check-column" width="60px">
                    <input class="xagio-input-checkbox xagio-input-checkbox-mini select-taxonomies-all" type="checkbox">
                </th>
                <th style="width: 60px" class="xagio-text-center">ID</th>
                <th class="xagio-text-left">Title</th>
                <th class="xagio-text-left">Taxonomy</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td colspan="4" class="xagio-text-center"><i class="xagio-icon xagio-icon-sync xagio-icon-spin"></i> Loading</td>
            </tr>
            </tbody>
        </table>


        <div class="xagio-flex-right xagio-flex-gap-medium xagio-margin-top-medium">
            <button class="xagio-button xagio-button-outline" type="button" data-xagio-close-modal><i class="xagio-icon xagio-icon-close"></i> Cancel</button>
            <button type="submit" class="xagio-button xagio-button-primary add-group-from-existing-taxonomy"><i class="xagio-icon xagio-icon-check"></i> Create Groups from Selected <span class="selected-taxonomies"><b class="value">0</b></span></button>
        </div>

    </div>

</dialog>

<!-- Conditional Formatting Modal -->
<dialog id="conditional-formatting" class="xagio-modal xagio-modal-lg">
    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-draw"></i> Conditional Formatting Setup</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>

    <div class="xagio-modal-body">
        <div class="xagio-alert xagio-alert-primary xagio-margin-bottom-large">
            <i class="xagio-icon xagio-icon-info"></i> Set your own conditional formatting rules, or choose the default settings.
        </div>

        <div class="xagio-flex-space-between xagio-margin-bottom-large cf-actions-holder">
            <h2>Local Template</h2>
            <div class="cf-actions xagio-flex-gap-small xagio-flex">
                <select class="xagio-input-select xagio-input-select-gray" id="cf-templates">
                    <option value="Default">Default</option>
                </select>
                <button type="button" class="xagio-button xagio-button-primary" id="addCfTemplate" data-xagio-tooltip data-xagio-title="Add Template"><i class="xagio-icon xagio-icon-plus"></i></button>
                <button type="button" class="xagio-button xagio-button-primary" id="saveCfTemplate" data-xagio-tooltip data-xagio-title="Save Template"><i class="xagio-icon xagio-icon-save"></i></button>
                <button type="button" class="xagio-button xagio-button-danger" id="deleteCfTemplate" data-xagio-tooltip data-xagio-title="Delete Template"><i class="xagio-icon xagio-icon-delete"></i></button>
            </div>
        </div>

        <form id="conditional-formatting-local-form">
            <ul class="xagio-tab xagio-tab-mini xagio-flex cf-tabs">
                <li class="xagio-tab-active"><a href="#">Volume</a></li>
                <li><a href="#">CPC</a></li>
                <li><a href="#">InTitle</a></li>
                <li><a href="#">InURL</a></li>
                <li><a href="#">Title Ratio</a></li>
                <li><a href="#">URL Ratio</a></li>
            </ul>

            <div class="xagio-tab-content-holder">
                <!-- Search Volume -->
                <div class="xagio-tab-content">
                    <div class="xagio-margin-bottom-small">
                        <h3 class="uk-panel-title">Red <span class="xagio-tab-content-icon red"><i class="xagio-icon xagio-icon-close"></i></span></h3>
                        <input type="number" pattern="[0-9]" name="volume_red" id="volume_red"
                                class="xagio-input-text-mini" placeholder="below eg. 20" required>
                    </div>
                    <div class="xagio-margin-bottom-small">
                        <h3 class="uk-panel-title">Yellow <span class="xagio-tab-content-icon yellow"><i class="xagio-icon xagio-icon-warning"></i></span></h3>
                        <div class="xagio-flex-space-between xagio-flex-gap-medium xagio-flex-even-columns">
                            <div>
                                <input type="number" readonly class="xagio-input-text-mini volume_yellow_1 volume_red"
                                        placeholder="between eg. 20">
                            </div>
                            <div>
                                <input type="number" readonly class="xagio-input-text-mini volume_yellow_2 volume_green"
                                        placeholder="and eg. 100">
                            </div>
                        </div>
                    </div>
                    <div class="xagio-margin-bottom-medium">
                        <h3 class="uk-panel-title">Green <span class="xagio-tab-content-icon green"><i class="xagio-icon xagio-icon-check"></i></span></h3>
                        <input type="number" pattern="[0-9]" name="volume_green" id="volume_green"
                                class="xagio-input-text-mini" placeholder="from eg. 100">
                    </div>
                    <button type="button" class="xagio-button xagio-button-primary apply-cf-template" id="applyCfTemplate" data-xagio-tooltip data-xagio-title="Apply Template"><i class="xagio-icon xagio-icon-check"></i> Apply</button>
                </div>
                <!-- Cost Per Click -->
                <div class="xagio-tab-content">
                    <div class="xagio-margin-bottom-small">
                        <h3 class="uk-panel-title">Red <span class="xagio-tab-content-icon red"><i class="xagio-icon xagio-icon-close"></i></span></h3>
                        <input type="number" pattern="[0-9]" name="cpc_red" id="cpc_red"
                                class="xagio-input-text-mini" placeholder="below eg. 20">
                    </div>
                    <div class="xagio-margin-bottom-small">
                        <h3 class="uk-panel-title">Yellow <span class="xagio-tab-content-icon yellow"><i class="xagio-icon xagio-icon-warning"></i></span></h3>
                        <div class="xagio-flex-space-between xagio-flex-gap-medium xagio-flex-even-columns">
                            <div>
                                <input type="number" readonly class="xagio-input-text-mini cpc_yellow_1 cpc_red"
                                        placeholder="between eg. 20">
                            </div>
                            <div>
                                <input type="number" readonly class="xagio-input-text-mini cpc_yellow_2 cpc_green"
                                        placeholder="and eg. 100">
                            </div>
                        </div>
                    </div>
                    <div class="xagio-margin-bottom-medium">
                        <h3 class="uk-panel-title">Green <span class="xagio-tab-content-icon green"><i class="xagio-icon xagio-icon-check"></i></span></h3>
                        <input type="number" pattern="[0-9]" name="cpc_green" id="cpc_green"
                                class="xagio-input-text-mini" placeholder="from eg. 100">
                    </div>
                    <button type="button" class="xagio-button xagio-button-primary apply-cf-template" id="applyCfTemplate" data-xagio-tooltip data-xagio-title="Apply Template"><i class="xagio-icon xagio-icon-check"></i> Apply</button>
                </div>
                <!-- InTitle Results -->
                <div class="xagio-tab-content">
                    <div class="xagio-margin-bottom-small">
                        <h3 class="uk-panel-title">Red <span class="xagio-tab-content-icon red"><i class="xagio-icon xagio-icon-close"></i></span></h3>
                        <input type="number" pattern="[0-9]" name="intitle_red" id="intitle_red"
                                class="xagio-input-text-mini" placeholder="above eg. 20">
                    </div>
                    <div class="xagio-margin-bottom-small">
                        <h3 class="uk-panel-title">Yellow <span class="xagio-tab-content-icon yellow"><i class="xagio-icon xagio-icon-warning"></i></span></h3>
                        <div class="xagio-flex-space-between xagio-flex-gap-medium xagio-flex-even-columns">
                            <div>
                                <input type="number" readonly class="xagio-input-text-mini intitle_yellow_1 intitle_red"
                                        placeholder="between eg. 20">
                            </div>
                            <div>
                                <input type="number" readonly
                                        class="xagio-input-text-mini intitle_yellow_2 intitle_green"
                                        placeholder="and  eg. 100">
                            </div>
                        </div>
                    </div>
                    <div class="xagio-margin-bottom-medium">
                        <h3 class="uk-panel-title">Green <span class="xagio-tab-content-icon green"><i class="xagio-icon xagio-icon-check"></i></span></h3>
                        <input type="number" pattern="[0-9]" name="intitle_green" id="intitle_green"
                                class="xagio-input-text-mini" placeholder="below eg. 100">
                    </div>
                    <button type="button" class="xagio-button xagio-button-primary apply-cf-template" id="applyCfTemplate" data-xagio-tooltip data-xagio-title="Apply Template"><i class="xagio-icon xagio-icon-check"></i> Apply</button>
                </div>
                <!-- InURL Results -->
                <div class="xagio-tab-content">
                    <div class="xagio-margin-bottom-small">
                        <h3 class="uk-panel-title">Red <span class="xagio-tab-content-icon red"><i class="xagio-icon xagio-icon-close"></i></span></h3>
                        <input type="number" pattern="[0-9]" name="inurl_red" id="inurl_red"
                                class="xagio-input-text-mini" placeholder="above eg. 20">
                    </div>
                    <div class="xagio-margin-bottom-small">
                        <h3 class="uk-panel-title">Yellow <span class="xagio-tab-content-icon yellow"><i class="xagio-icon xagio-icon-warning"></i></span></h3>
                        <div class="xagio-flex-space-between xagio-flex-gap-medium xagio-flex-even-columns">
                            <div>
                                <input type="number" readonly class="xagio-input-text-mini inurl_yellow_1 inurl_red"
                                        placeholder="between eg. 20">
                            </div>
                            <div>
                                <input type="number" readonly class="xagio-input-text-mini inurl_yellow_2 inurl_green"
                                        placeholder="and eg. 100">
                            </div>
                        </div>
                    </div>
                    <div class="xagio-margin-bottom-medium">
                        <h3 class="uk-panel-title">Green <span class="xagio-tab-content-icon green"><i class="xagio-icon xagio-icon-check"></i></span></h3>
                        <input type="number" pattern="[0-9]" name="inurl_green" id="inurl_green"
                                class="xagio-input-text-mini" placeholder="below eg. 100">
                    </div>
                    <button type="button" class="xagio-button xagio-button-primary apply-cf-template" id="applyCfTemplate" data-xagio-tooltip data-xagio-title="Apply Template"><i class="xagio-icon xagio-icon-check"></i> Apply</button>
                </div>
                <!-- Title Ratio Results -->
                <div class="xagio-tab-content">
                    <div class="xagio-margin-bottom-small">
                        <h3 class="uk-panel-title">Red <span class="xagio-tab-content-icon red"><i class="xagio-icon xagio-icon-close"></i></span></h3>
                        <input type="number" pattern="[0-9]" name="title_ratio_red" id="title_ratio_red"
                                class="xagio-input-text-mini" placeholder="above eg. 20">
                    </div>
                    <div class="xagio-margin-bottom-small">
                        <h3 class="uk-panel-title">Yellow <span class="xagio-tab-content-icon yellow"><i class="xagio-icon xagio-icon-warning"></i></span></h3>
                        <div class="xagio-flex-space-between xagio-flex-gap-medium xagio-flex-even-columns">
                            <div>
                                <input type="number" readonly
                                        class="xagio-input-text-mini title_ratio_yellow_1 title_ratio_red"
                                        placeholder="between eg. 20">
                            </div>
                            <div>
                                <input type="number" readonly
                                        class="xagio-input-text-mini title_ratio_yellow_2 title_ratio_green"
                                        placeholder="and eg. 100">
                            </div>
                        </div>
                    </div>
                    <div class="xagio-margin-bottom-small">
                        <h3 class="uk-panel-title">Green <span class="xagio-tab-content-icon green"><i class="xagio-icon xagio-icon-check"></i></span></h3>
                        <input type="number" pattern="[0-9]" name="title_ratio_green"
                                id="title_ratio_green" class="xagio-input-text-mini" placeholder="below eg. 100">
                    </div>
                    <div class="xagio-flex-space-between xagio-flex-gap-medium xagio-flex-even-columns xagio-margin-bottom-medium">
                        <div>
                            <h3 class="uk-panel-title">InTitle Golden Ratio Bar Volume</h3>
                            <input type="number" pattern="[0-9]" id="tr_goldbar_volume"
                                    name="tr_goldbar_volume" class="xagio-input-text-mini"
                                    placeholder="below eg. 1000">
                        </div>
                        <div>
                            <h3 class="uk-panel-title">InTitle Golden Ratio Bar In Title</h3>
                            <input type="number" pattern="[0-9]" id="tr_goldbar_intitle"
                                    name="tr_goldbar_intitle" class="xagio-input-text-mini"
                                    placeholder="below eg. 20">
                        </div>
                    </div>
                    <button type="button" class="xagio-button xagio-button-primary apply-cf-template" id="applyCfTemplate" data-xagio-tooltip data-xagio-title="Apply Template"><i class="xagio-icon xagio-icon-check"></i> Apply</button>
                </div>
                <!-- URL Ratio Results -->
                <div class="xagio-tab-content">
                    <div class="xagio-margin-bottom-small">
                        <h3 class="uk-panel-title">Red <span class="xagio-tab-content-icon red"><i class="xagio-icon xagio-icon-close"></i></span></h3>
                        <input type="number" pattern="[0-9]" name="url_ratio_red" id="url_ratio_red"
                                class="xagio-input-text-mini" placeholder="above eg. 20">
                    </div>
                    <div class="xagio-margin-bottom-small">
                        <h3 class="uk-panel-title">Yellow <span class="xagio-tab-content-icon yellow"><i class="xagio-icon xagio-icon-warning"></i></span></h3>
                        <div class="xagio-flex-space-between xagio-flex-gap-medium xagio-flex-even-columns">
                            <div>
                                <input type="number" readonly
                                        class="xagio-input-text-mini url_ratio_yellow_1 url_ratio_red"
                                        placeholder="between eg. 20">
                            </div>
                            <div>
                                <input type="number" readonly
                                        class="xagio-input-text-mini url_ratio_yellow_2 url_ratio_green"
                                        placeholder="and eg. 100">
                            </div>
                        </div>
                    </div>
                    <div class="xagio-margin-bottom-small">
                        <h3 class="uk-panel-title">Green <span class="xagio-tab-content-icon green"><i class="xagio-icon xagio-icon-check"></i></span></h3>
                        <input type="number" pattern="[0-9]" name="url_ratio_green" id="url_ratio_green"
                                class="xagio-input-text-mini" placeholder="below eg. 100">
                    </div>
                    <div class="xagio-flex-space-between xagio-flex-gap-medium xagio-flex-even-columns xagio-margin-bottom-medium">
                        <div>
                            <h3 class="uk-panel-title">InURL Golden Ratio Bar Volume</h3>
                            <input type="number" pattern="[0-9]" id="ur_goldbar_volume"
                                    name="ur_goldbar_volume" class="xagio-input-text-mini"
                                    placeholder="below eg. 1000">
                        </div>
                        <div>
                            <h3 class="uk-panel-title">InTitle Golden Ratio Bar In URL</h3>
                            <input type="number" pattern="[0-9]" id="ur_goldbar_intitle"
                                    name="ur_goldbar_intitle" class="xagio-input-text-mini"
                                    placeholder="below eg. 20">
                        </div>
                    </div>
                    <button type="button" class="xagio-button xagio-button-primary apply-cf-template" id="applyCfTemplate" data-xagio-tooltip data-xagio-title="Apply Template"><i class="xagio-icon xagio-icon-check"></i> Apply</button>
                </div>
            </div>
        </form>
    </div>

</dialog>

<div id="move-to-top">
    <span id="move-to-top-value"><i class="xagio-icon xagio-icon-arrow-up"></i></span>
</div>

<!-- Templates -->
<div data-name="Group Name" class="xagio-group template" data-post-type="">
    <div class="group-action-buttons">
        <div class="group-name">
            <!-- Bulk Manage Groups -->
            <input type="checkbox" class="groupSelect"/>
            <input type="text" class="groupInput" placeholder="eg. My Group" value="" name="group_name"/>
            <h3></h3>
        </div>
        <div class="group-buttons">
            <div class="action-buttons-holder">


                <!-- Actions Button -->
                <div class="xagio-dropdown-simple" data-xagio-tooltip data-xagio-title="Actions">
                    <button type="button" class="xagio-group-button groupSettings"><i class="xagio-icon xagio-icon-gear"></i></button>
                    <ul class="xagio-button-dropdown">
                        <li class="xagio-nav-header">KEYWORD MANAGEMENT</li>
                        <li><a href="#" class="addKeyword" data-xagio-dropdown-close >Add Keywords</a></li>
                        <li><a href="#" class="deleteKeywords" data-xagio-dropdown-close >Delete Selected Keywords</a></li>
                        <li><a href="#" class="getVolumeAndCPC" data-xagio-dropdown-close >Get Volume & CPC</a></li>
                        <li><a href="#" class="getKeywordData" data-xagio-dropdown-close >Get Competition</a></li>
                        <li><a href="#" class="track_rankings" data-xagio-dropdown-close >Track Rankings</a></li>
                        <li><a href="#" class="copyKeywords" data-xagio-dropdown-close >Copy To Clipboard</a></li>
                        <li><a href="#" class="seedKeyword" data-xagio-dropdown-close  data-group-id="0">Seed Keywords</a></li>
                        <li><a href="#" class="phraseMatch" data-xagio-dropdown-close  data-group-id="0">Cluster Keywords</a></li>
                        <li><a href="#" class="moveKeywords" data-xagio-dropdown-close>Move Keywords</a></li>
                        <li class="xagio-nav-header">GROUP MANAGEMENT</li>
                        <li><a href="#" class="attachToPagePost" data-xagio-dropdown-close  target="_blank">Attach To Page/Post</a></li>
                        <li><a href="#" class="detachPagePost" data-xagio-dropdown-close  target="_blank">Detach Page/Post</a></li>
                        <li><a href="#" class="attachToTaxonomy" data-xagio-dropdown-close  target="_blank">Attach To Taxonomy</a></li>
                        <li><a href="#" class="goToTaxonomy" data-xagio-dropdown-close  target="_blank">Go to attached Taxonomy</a></li>
                        <li><a href="#" class="moveToProject" data-xagio-dropdown-close  target="_blank">Move Group</a></li>
                        <li><a href="#" class="deleteGroup" data-xagio-dropdown-close >Delete Group</a></li>
                    </ul>
                </div>

                <button type="button" class="xagio-group-button openNotes" data-xagio-tooltip data-xagio-title="Open Notes"><i class="xagio-icon xagio-icon-note"></i></button>
                <button type="button" class="xagio-group-button minimizeGroup" data-xagio-tooltip data-xagio-title="Hide Keywords"><i class="xagio-icon xagio-icon-eye-o"></i></button>
                <button type="button" class="xagio-group-button wordCloud" data-xagio-tooltip data-xagio-title="Open Word Cloud"><i class="xagio-icon xagio-icon-cloud"></i></button>
                <div class="xagio-dropdown-simple xag-ai-tools-button" data-xagio-tooltip data-xagio-title="Optimize With AI">
                    <button type="button" class="xagio-group-button xag-ai-tools"><i class="xagio-icon xagio-icon-ai"></i></button>
                    <ul class="xagio-button-dropdown">
                        <li class="xagio-nav-header">AI TOOLS</li>
                        <li><a href="#" class="optimize-ai" data-xagio-dropdown-close target="_blank"><i class="xagio-icon xagio-icon-ai"></i> Optimize With AI</a></li>
                        <li class="view-ai-li" style="display: none">
                            <a href="#" class="view-ai-suggestions" data-xagio-dropdown-close target="_blank"><i class="xagio-icon xagio-icon-brain"></i> View AI Suggestions</a>
                        </li>
                        <li class="createPostPageAi" style="display: none">
                            <a href="#" class="createNewPagePost" data-xagio-dropdown-close data-type="page" data-source="ai"><i class="xagio-icon xagio-icon-rocket"></i> Create New Page From Group</a>
                        </li>
                        <li class="createPostPageAi" style="display: none">
                            <a href="#" class="createNewPagePost" data-xagio-dropdown-close data-type="post" data-source="ai"><i class="xagio-icon xagio-icon-rocket"></i> Create New Post From Group</a>
                        </li>
                    </ul>

                </div>
                <button type="button" class="xagio-group-button deleteGroup" data-xagio-tooltip data-xagio-title="Delete Group"><i class="xagio-icon xagio-icon-delete"></i></button>
                <button type="submit" class="xagio-group-button saveGroup" data-xagio-tooltip data-xagio-title="Save Changes"><i class="xagio-icon xagio-icon-save"></i></button>

            </div>
        </div>
    </div>

    <form class="updateGroup">
        <div class="group-seo">
            <input type="hidden" name="action" value="xagio_updateGroup"/>
            <input type="hidden" name="group_id" value="0"/>
            <input type="hidden" name="project_id" value="0"/>
            <input type="hidden" name="request_type" value="single"/>
            <input type="hidden" name="oriUrl" value=""/>
            <div class="group-h1">

                <div class="h-1-holder">H1</div>

                <input type="hidden" class="groupInput" placeholder="eg. My Header" value="" name="h1"/>
                <div class="prs-h1tag" spellcheck="false" data-target="h1tag" contenteditable="true" placeholder="eg. My Header"></div>
                <div class="attached" style="display: none;"></div>
            </div>

            <div class="group-connect-group">
                <button type="button" class="attach-group">CONNECT GROUP <i class="xagio-icon xagio-icon-arrow-down"></i></button>
                <ul class="xagio-button-dropdown" style="display: none">
                    <li class="createNewPagePost" data-type="page">Create Page</li>
                    <li class="createNewPagePost" data-type="post">Create Post</li>
                    <li class="attachToPagePost">Attach To Page/Post</li>
                    <li class="attachToTaxonomy">Attach To Taxonomy</li>
                </ul>
            </div>

            <div class="group-google">
                <!-- SEO URL -->
                <div class="url-container">
                    <input type="hidden" name="url" value=""/>
                    <div class="prs-editor url-container-inner" spellcheck="false" contenteditable="false">
                        <label class="host-url"><?php echo esc_url(site_url()); ?> </label>
                        <label class="pre-url"></label>
                        <div spellcheck="false" class="url-edit" contenteditable="true"></div>
                        <label class="post-url"></label>
                    </div>
                </div>

                <!-- SEO Title -->
                <input type="hidden" name="title" class="groupInput" value=""/>
                <div class="prs-editor prs-title" spellcheck="false" data-target="title" contenteditable="true" placeholder="SEO Title"></div>

                <!-- SEO Description -->
                <input type="hidden" name="description" class="groupInput" value=""/>
                <div class="prs-editor prs-description" spellcheck="false" data-target="description" contenteditable="true" placeholder="SEO Description"></div>

            </div>

            <div class="group-metrics">
                <p>Meta Title Length</p>
                <div class="title-length-holder">
                    <div class="title-length-desk">
                        <i class="xagio-icon xagio-icon-desktop" data-xagio-tooltip data-xagio-title="Desktop devices limits."></i>
                        <span class="count-seo-bold"><span class="count-seo-title">0</span> / 70</span>
                    </div>
                    <div class="title-length-mob">
                        <i class="xagio-icon xagio-icon-mobile" data-xagio-tooltip data-xagio-title="Mobile devices limits."></i>
                        <span class="count-seo-bold"><span class="count-seo-title-mobile">0</span> / 78</span>
                    </div>
                </div>
                <p>Meta Description Length</p>
                <div class="description-length-holder">
                    <div class="description-length-desk">
                        <i class="xagio-icon xagio-icon-desktop" data-xagio-tooltip
                                data-xagio-title="Desktop devices limits."></i>
                        <span class="count-seo-bold"><span
                                    class="count-seo-description">0</span> / 300</span>
                    </div>
                    <div class="description-length-mob">
                        <i class="xagio-icon xagio-icon-mobile" data-xagio-tooltip
                                data-xagio-title="Mobile devices limits."></i>
                        <span class="count-seo-bold"><span
                                    class="count-seo-description-mobile">0</span> / 120</span>
                    </div>
                </div>
            </div>
        </div>
        <div class="notes-row" style="display: none">
            Notes
            <textarea rows="3" class="groupInput" placeholder="eg. Notes about this project" name="notes"></textarea>
        </div>
    </form>

    <div class="xagio-keyword-cloud"></div>

    <div class="group-keywords">
        <!-- Keywords -->
        <form class="updateKeywords">
            <table class="keywords">
                <thead>
                <tr>
                    <th class="select-all xagio-text-center"><i class="xagio-icon xagio-icon-check-double"></i></th>
                    <th>Keyword</th>
                    <th>Volume</th>
                    <th>CPC&nbsp;($)</th>
                    <th>inTitle</th>
                    <th>inURL</th>
                    <th data-xagio-tooltip data-xagio-title="Title Ratio (Volume / InTitle)" class="xagio-text-center">TR</th>
                    <th data-xagio-tooltip data-xagio-title="URL Ratio (Volume / InURL)" class="xagio-text-center">UR</th>
                    <th class="xagio-text-center">Rank</th>
                </tr>
                </thead>
                <tbody class="keywords-data uk-sortable">
                <tr>
                    <td colspan="11">
                        <div class="empty-keywords">
                            <i class="xagio-icon xagio-icon-warning"></i> No added keywords yet...
                            <button type="button" class="xagio-button xagio-button-primary addKeyword"><i class="xagio-icon xagio-icon-plus"></i> Add Keyword(s)</button>
                        </div>
                    </td>
                </tr>
                </tbody>
            </table>
        </form>
    </div>
</div>

<!-- Modal AI Suggestion Options -->
<dialog id="aiSuggestionOptions" class="xagio-modal">

    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-info"></i> AI Optimization Settings</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>

    <div class="xagio-modal-body">
        <div class="xagio-alert xagio-alert-primary xagio-margin-bottom-medium ai-optimization-alert">
            <i class="xagio-icon xagio-icon-info"></i>
            <span class="ai-optimization-alert-message"></span>
        </div>


        <div class="ai-suggestion-keywords">
            <div style="display: none;" class="ai-main-keyword-holder xagio-margin-bottom-large">
                <input type="text" class="xagio-input-text-mini" id="ai-suggestion-main-keyword" placeholder="select main keyword (optional)">
                <label class="ai-suggestion-focus-keyword-label"><i class="xagio-icon xagio-icon-info"></i> You can leave this option empty and let AI choose the best focus keyword for you</label>
            </div>
            <table class="table table-striped ai-suggestion-keywords-table">
                <thead>
                <tr>
                    <td width="55%">Keyword</td>
                    <td width="15%" class="text-center">Volume</td>
                    <td width="15%" class="text-center">inTitle</td>
                    <td width="15%" class="text-center">inURL</td>
                </tr>
                </thead>
                <tbody>

                </tbody>
            </table>
        </div>

        <div class="xagio-flex-right xagio-flex-gap-medium">
            <button type="button" class="xagio-button xagio-button-outline" data-xagio-close-modal><i class="xagio-icon xagio-icon-close"></i> Cancel</button>
            <button type="button" class="xagio-button xagio-button-primary aiSuggestionNext" data-target=""><i class="xagio-icon xagio-icon-check"></i> Continue</button>
        </div>
    </div>
</dialog>

<!-- AI Suggest Modal -->
<dialog id="ai-suggest-modal" class="xagio-modal">

    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-ai"></i> AI Suggestions</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>

    <div class="xagio-modal-body">

        <!--        <p class="help">Getting optimized suggestions based on word weight found in keyword cluster group</p>-->
        <div class="xagio-alert xagio-alert-primary xagio-margin-bottom-medium ai-alert-info" style="display: none">
            <p>
                <i class="xagio-icon xagio-icon-info"></i> You can leave this page and come back later to check the results. Suggestions will be shown here as soon as they are processed.
            </p>
        </div>

        <div class="xagio-accordion xagio-margin-bottom-medium xagio-ai-suggestion-accordion">
            <h3 class="xagio-accordion-title xagio-accordion-panel-title">
                <span>Keyword Cluster Group</span>
                <i class="xagio-icon xagio-icon-arrow-down"></i>
            </h3>
            <div class="xagio-accordion-content">
                <div>
                    <div class="xagio-accordion-panel">
                        <div class="mini-table">

                        </div>
                    </div>
                </div>
            </div>
        </div>


        <div class="ai-block ai-headers">
            <h3>
                H1 Suggestions

                <div class="xagio-slider-container" data-xagio-tooltip data-xagio-title="Save Selection To Group">
                    <input type="hidden" name="include_h1" id="include_h1" value="1"/>
                    <div class="xagio-slider-frame">
                        <span class="xagio-slider-button on" data-element="include_h1" data-tooltip-change="Do Not Save To Group" data-tooltip-original="Save Selection To Group"></span>
                    </div>
                </div>
            </h3>
            <div class="ai-content">
                <ul>
                    <li>
                        <input type="radio" class="select-suggestion">
                        <label>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Doloribus, enim!</label>
                    </li>
                    <li>
                        <input type="radio" class="select-suggestion">
                        <label>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Harum nemo qui temporibus.</label>
                    </li>
                </ul>
            </div>
        </div>
        <div class="ai-block ai-titles">
            <h3>Titles Suggestions
                <div class="xagio-slider-container" data-xagio-tooltip data-xagio-title="Save Selection To Group">
                    <input type="hidden" name="include_titles" id="include_titles" value="1"/>
                    <div class="xagio-slider-frame">
                        <span class="xagio-slider-button on" data-element="include_titles" data-tooltip-change="Do Not Save To Group" data-tooltip-original="Save Selection To Group"></span>
                    </div>
                </div>
            </h3>
            <div class="ai-content">
                <ul>
                    <li>
                        <input type="radio" class="select-suggestion">
                        <label>Lorem ipsum dolor sit amet, consectetur adipisicing elit.</label>
                    </li>
                    <li>
                        <input type="radio" class="select-suggestion">
                        <label>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Blanditiis.</label>
                    </li>
                </ul>
            </div>
        </div>
        <div class="ai-block ai-desc">
            <h3>Description Suggestions
                <div class="xagio-slider-container" data-xagio-tooltip data-xagio-title="Save Selection To Group">
                    <input type="hidden" name="include_desc" id="include_desc" value="1"/>
                    <div class="xagio-slider-frame">
                        <span class="xagio-slider-button on" data-element="include_desc" data-tooltip-change="Do Not Save To Group" data-tooltip-original="Save Selection To Group"></span>
                    </div>
                </div>
            </h3>
            <div class="ai-content">
                <ul>
                    <li>
                        <input type="radio" class="select-suggestion">
                        <label>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Animi corporis eum exercitationem? A consectetur est eveniet facilis quasi?</label>
                    </li>
                    <li>
                        <input type="radio" class="select-suggestion">
                        <label>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Error minima odit quam quo quod.</label>
                    </li>
                </ul>
            </div>
        </div>


        <div class="xagio-flex-right xagio-flex-gap-medium xagio-margin-top-medium">
            <button type="button" class="xagio-button xagio-button-outline" data-xagio-close-modal><i class="xagio-icon xagio-icon-close"></i> Cancel</button>
            <button type="button" class="xagio-button xagio-button-primary use-ai-suggested" data-group-id="0"><i class="xagio-icon xagio-icon-plus"></i> Use & Save To Group</button>
        </div>

    </div>
</dialog>

<!-- Modal for AI prices -->
<dialog id="aiPrice" class="xagio-modal">

    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-info"></i> Requesting AI Input</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>

    <div class="xagio-modal-body">
        <input type="hidden" id="suggestion-main-keyword" value="">
        <p class="ai-heading">
            <i class="xagio-icon xagio-icon-ai"></i> You are about to request <span class="input-name">AI Generated Content</span>. Below are the details regarding this operation.
        </p>

        <p class="ai-clustering-explanation" style="display: none;">
            This prompt performs strict keyword clustering by normalizing all service, role, and location terms (e.g., singular form, merged synonyms for modifiers) and grouping them into unique clusters based on those normalized keys. It recursively audits and merges/splits clusters to ensure that no duplicates, missing assignments, or invalid merges (like true synonyms such as “attorney” and “lawyer”) exist, enforcing complete consistency and accuracy in the final output.
        </p>

        <div class="xagio-flex-even-columns xagio-flex-gap-medium xagio-margin-top-medium">
            <div class="ai-avg-price-box">
                Average XAGS cost for this is: <span class="average-price">0</span>
            </div>
            <div class="ai-avg-price-box">
                Your remaining XAGS are: <span class="ai-credits">0</span>
            </div>
        </div>

        <div class="xagio-flex-right xagio-flex-gap-medium xagio-margin-top-medium">
            <select name="prompt_id" id="prompt_id" class="xagio-input-select xagio-input-select-gray">
            </select>
            <button type="button" class="xagio-button xagio-button-outline" data-xagio-close-modal><i class="xagio-icon xagio-icon-close"></i> Cancel</button>
            <button type="button" class="xagio-button xagio-button-primary makeAiRequest" data-target=""><i class="xagio-icon xagio-icon-check"></i> Continue</button>
        </div>
    </div>
</dialog>

<!-- Copy Keywords -->
<dialog id="copyKeywords" class="xagio-modal">
    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-info"></i> Copy Keywords</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>

    <div class="xagio-modal-body">
        <textarea id="copiedKeywords" rows="10" class="xagio-input-textarea"></textarea>

        <div class="xagio-flex-right xagio-flex-gap-medium xagio-margin-top-medium">
            <button type="button" class="xagio-button xagio-button-outline" data-xagio-close-modal><i class="xagio-icon xagio-icon-close"></i> Cancel</button>
            <button type="button" class="xagio-button xagio-button-primary copyKeywordsButton"><i class="xagio-icon xagio-icon-copy"></i> Copy to Clipboard</button>
        </div>
    </div>
</dialog>

<!-- Add Keywords -->
<dialog id="addKeywords" class="xagio-modal">

    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-download"></i> Add New Keywords</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>

    <div class="xagio-modal-body">
        <label class="modal-label">Insert keywords separated by a <b>new line</b> (<kbd>Enter ↵</kbd> key):</span></label>
        <textarea id="keywords-input" rows="6" class="xagio-input-textarea"></textarea>

        <div class="xagio-flex-right xagio-flex-gap-medium xagio-margin-top-medium">
            <button type="button" class="xagio-button xagio-button-outline" data-xagio-close-modal><i class="xagio-icon xagio-icon-close"></i> Cancel</button>
            <button type="button" class="xagio-button xagio-button-primary add-keywords"><i class="xagio-icon xagio-icon-plus"></i> Add</button>
        </div>
    </div>
</dialog>
<!-- Delete Keywords -->
<dialog id="removeDuplicateKeywords" class="xagio-modal">
    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-download"></i> Remove Duplicate</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>
    <div class="xagio-modal-body">
        <label class="modal-label">Are you sure that you want to remove Duplicate keywords permanently</label>
        <input type="hidden" value="0" id="projectId">
        <div class="xagio-flex-right xagio-flex-gap-medium xagio-margin-top-medium">
            <button type="button" class="xagio-button xagio-button-outline" data-xagio-close-modal><i class="xagio-icon xagio-icon-close"></i> Cancel</button>
            <button type="button" class="xagio-button xagio-button-primary remove-duplicate-keywords"><i class="xagio-icon xagio-icon-check"></i> Ok</button>
        </div>
    </div>
</dialog>
<!-- Delete Keywords -->
<dialog id="deleteKeywords" class="xagio-modal">
    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-download"></i> Confirm Delete</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>
    <div class="xagio-modal-body">
        <label class="modal-label">Are you sure that you want to remove <span class="delete-keywords-number"></span> keywords permanently</label>
        <div class="xagio-2-column-65-35-grid xagio-margin-top-large">
            <div class="xagio-flex xagio-flex-gap-medium">
                <input type="hidden" value="0" id="keywordIds">
                <input type="checkbox" class="xagio-input-checkbox" id="deleteRanks">
                <label for="deleteRanks">Delete keywords rank from RankTracker?</label>
            </div>
            <div class="xagio-flex-right xagio-flex-gap-medium">
                <button type="button" class="xagio-button xagio-button-outline" data-xagio-close-modal><i class="xagio-icon xagio-icon-close"></i> Cancel</button>
                <button type="button" class="xagio-button xagio-button-primary delete-keywords"><i class="xagio-icon xagio-icon-check"></i> Ok</button>
            </div>
        </div>
    </div>
</dialog>
<!-- Delete Selected Groups -->
<dialog id="deleteSelectedGroups" class="xagio-modal">
    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-download"></i> Confirm Delete</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>
    <div class="xagio-modal-body">
        <label class="modal-label">Are you sure that you want to remove following groups</label>
        <ul class="delete-selected-groups-ul">

        </ul>
        <div class="xagio-2-column-65-35-grid xagio-margin-top-large">
            <div class="xagio-flex xagio-flex-gap-medium">
                <input type="checkbox" class="xagio-input-checkbox" id="deleteSelectedGroupRanks">
                <label for="deleteRanks">Delete keywords rank from RankTracker?</label>
            </div>
            <div class="xagio-flex-right xagio-flex-gap-medium">
                <button type="button" class="xagio-button xagio-button-outline" data-xagio-close-modal><i class="xagio-icon xagio-icon-close"></i> Cancel</button>
                <button type="button" class="xagio-button xagio-button-primary delete-selected-groups"><i class="xagio-icon xagio-icon-check"></i> Ok</button>
            </div>
        </div>
    </div>
</dialog>
<!-- Delete Empty Groups -->
<dialog id="deleteEmptyGroups" class="xagio-modal">
    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-download"></i> Confirm Delete</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>
    <div class="xagio-modal-body">
        <label class="modal-label">This will delete all groups that have zero keywords. Continue?</label>

        <div class="xagio-2-column-65-35-grid xagio-margin-top-large">
            <div class="xagio-flex xagio-flex-gap-medium">
                <input type="checkbox" class="xagio-input-checkbox" id="skipGroups">
                <label for="deleteRanks">Keep groups if H1, SEO Title and SEO Description present</label>
            </div>
            <div class="xagio-flex-right xagio-flex-gap-medium">
                <button type="button" class="xagio-button xagio-button-outline" data-xagio-close-modal><i class="xagio-icon xagio-icon-close"></i> Cancel</button>
                <button type="button" class="xagio-button xagio-button-primary delete-empty-groups"><i class="xagio-icon xagio-icon-check"></i> Ok</button>
            </div>
        </div>
    </div>
</dialog>
<!-- Delete Project -->
<dialog id="deleteProject" class="xagio-modal">
    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-download"></i> Confirm Delete</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>
    <div class="xagio-modal-body">
        <label class="modal-label">Are you sure that you want to remove this project permanently?</label>
        <div class="xagio-2-column-65-35-grid xagio-margin-top-large">
            <div class="xagio-flex xagio-flex-gap-medium">
                <input type="hidden" value="0" id="projectId">
                <input type="checkbox" class="xagio-input-checkbox" id="deleteProjectRanks">
                <label for="deleteProjectRanks">Delete keywords rank from RankTracker?</label>
            </div>
            <div class="xagio-flex-right xagio-flex-gap-medium">
                <button type="button" class="xagio-button xagio-button-outline" data-xagio-close-modal><i class="xagio-icon xagio-icon-close"></i> Cancel</button>
                <button type="button" class="xagio-button xagio-button-primary delete-project"><i class="xagio-icon xagio-icon-check"></i> Ok</button>
            </div>
        </div>
    </div>
</dialog>
<!-- Delete Group -->
<dialog id="deleteGroup" class="xagio-modal">
    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-download"></i> Confirm Delete</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>
    <div class="xagio-modal-body">
        <label class="modal-label">Are you sure that you want to remove this group permanently?</label>
        <div class="xagio-2-column-65-35-grid xagio-margin-top-large">
            <div class="xagio-flex xagio-flex-gap-medium">
                <input type="hidden" value="0" id="groupId">
                <input type="checkbox" class="xagio-input-checkbox" id="deleteGroupRanks">
                <label for="deleteProjectRanks">Delete keywords rank from RankTracker?</label>
            </div>
            <div class="xagio-flex-right xagio-flex-gap-medium">
                <button type="button" class="xagio-button xagio-button-outline" data-xagio-close-modal><i class="xagio-icon xagio-icon-close"></i> Cancel</button>
                <button type="button" class="xagio-button xagio-button-primary delete-group"><i class="xagio-icon xagio-icon-check"></i> Ok</button>
            </div>
        </div>
    </div>
</dialog>

<!-- Attach to Page/Post -->
<dialog id="attachToPagePost" class="xagio-modal xagio-modal-lg">

    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-target"></i> Attach to Page/Post</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>
    <div class="xagio-modal-body">
        <input type="hidden" name="group_id" value="0"/>
        <input type="hidden" name="post_id" value="0"/>

        <table class="xagio-table-modal postsTable xagio-margin-top-medium">
            <thead>
            <tr>
                <th class="xagio-text-center" style="width: 40px">ID</th>
                <th class="xagio-text-left">Title</th>
                <th class="xagio-text-left">Date</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td colspan="3" class="xagio-text-center"><i class="xagio-icon xagio-icon-sync xagio-icon-spin"></i> Loading</td>
            </tr>
            </tbody>
        </table>

        <div class="xagio-flex-right xagio-flex-gap-medium">
            <button type="button" class="xagio-button xagio-button-outline" data-xagio-close-modal><i class="xagio-icon xagio-icon-close"></i> Cancel</button>
        </div>
    </div>
</dialog>

<!-- Attach to Taxonomy -->
<dialog id="attachToTaxonomy" class="xagio-modal xagio-modal-lg">

    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-target"></i> Attach to Taxonomy</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>
    <div class="xagio-modal-body">
        <input type="hidden" name="group_id" value="0"/>
        <input type="hidden" name="taxonomy_id" value="0"/>

        <table class="xagio-table-modal taxonomiesTable xagio-margin-top-medium">
            <thead>
            <tr>
                <th class="xagio-text-center" style="width: 40px">ID</th>
                <th class="xagio-text-left">Title</th>
                <th class="xagio-text-left">Taxonomy</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td colspan="3" class="xagio-text-center"><i class="xagio-icon xagio-icon-sync xagio-icon-spin"></i> Loading</td>
            </tr>
            </tbody>
        </table>

        <div class="xagio-flex-right xagio-flex-gap-medium">
            <button type="button" class="xagio-button xagio-button-outline" data-xagio-close-modal><i class="xagio-icon xagio-icon-close"></i> Cancel</button>
        </div>
    </div>
</dialog>

<!-- Import Project Modal -->
<dialog id="importProject" class="xagio-modal">
    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-download"></i> Project Importer</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>

    <div class="xagio-modal-body">
        <h3 class="modal-label">Import a previously exported project.</h3>

        <div class="xagio-import">
            <div class="xagio-upload-drop">
                <div class="xagio-file-names">
                    <i class="xagio-icon xagio-icon-upload"></i>
                    Drag your CSV here or browse by selecting a file
                </div>
            </div>
            <input type="file" class="file-upload" style="display: none;" />
        </div>

        <div class="xagio-flex-right xagio-margin-top-medium">
            <button type="button" class="xagio-button xagio-button-primary xagio-file-upload-button"><i class="xagio-icon xagio-icon-upload"></i> Upload</button>
        </div>

    </div>
</dialog>

<!-- Import Keyword Planner Modal -->
<dialog id="importKeywordPlanner" class="xagio-modal">
    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-download"></i> Import Keywords From CSV</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>

    <div class="xagio-modal-body">
        <div class="modal-label"><i class="xagio-icon xagio-icon-info"></i> We support the following CSV formats</div>

        <div class="modal-csv-options-holder xagio-margin-bottom-medium">
            <div class="csv-options" data-xagio-option-show="adwords">
                Adwords Keyword Planner CSV <img src="<?php echo  esc_url(XAGIO_URL); ?>assets/img/csv/adwords.webp"/>
            </div>
            <div class="csv-options"  data-xagio-option-show="kws">
                Keyword Supremacy CSV <img src="<?php echo  esc_url(XAGIO_URL); ?>assets/img/csv/kws.webp"/>
            </div>
            <div class="csv-options" data-xagio-option-show="surferseo">
                SurferSEO<br/>CSV <img src="<?php echo  esc_url(XAGIO_URL); ?>assets/img/csv/surfseo.webp"/>
            </div>
            <div class="csv-options" data-xagio-option-show="custom_csv">
                Custom <br/>CSV <img src="<?php echo  esc_url(XAGIO_URL); ?>assets/img/csv/csv.webp"/>
            </div>
        </div>


        <div class="xagio-import">
            <div class="xagio-upload-drop">
                <div class="xagio-file-names">
                    <i class="xagio-icon xagio-icon-upload"></i>
                    Drag your CSV here or browse by selecting a file
                </div>
            </div>
            <input type="file" class="file-upload" style="display: none;" />
        </div>

        <div class="xagio-flex-right xagio-margin-top-medium">
            <button type="button" class="xagio-button xagio-button-primary xagio-file-upload-button"><i class="xagio-icon xagio-icon-upload"></i> Upload</button>
        </div>

        <div class="xagio-margin-top-medium" style="min-height: 20px">
            <div class="csv-option-hover" id="adwords">This is the default format of <a href="https://ads.google.com/home/tools/keyword-planner/" target="_blank">Adwords Keyword Planner's</a> CSV.</div>
            <div class="csv-option-hover" id="kws">This is the format of exported CSV from Keyword Supremacy at <a href="https://app.keywordsupremacy.com/results_area" target="_blank">My Searches page</a>.</div>
            <div class="csv-option-hover" id="surferseo">This is the CSV format used by <a href="https://surferseo.com/" target="_blank">SurferSEO</a>.</div>
            <div class="csv-option-hover" id="custom_csv">You can supply a custom CSV here in the following format: <b>Keyword,Volume,CPC</b></div>
        </div>
    </div>
</dialog>

<!-- Move Group -->
<dialog id="moveToProjectGroup" class="xagio-modal">
    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-copy"></i> Move Group to a Project</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>

    <div class="xagio-modal-body">
        <form id="moveToProjectForm">
            <div>
                <div class="modal-label" for="moveToProjectInput">Destination Project</div>
                <select id="moveToProjectInput" name="project_id" class="xagio-input-select xagio-input-select-gray" required>

                </select>
            </div>

            <div class="xagio-flex-center xagio-flex-gap-medium xagio-margin-top-medium">
                <div class="xagio-slider-container xagio-margin-none">
                    <input type="hidden" class="defaults-input" name="keep_copy" id="keep_copy" value="0">
                    <div class="xagio-slider-frame">
                        <span class="xagio-slider-button" data-element="keep_copy"></span>
                    </div>
                    <p class="xagio-slider-label">Keep a copy in the current project</p>
                </div>

                <div class="xagio-flex-right xagio-flex-gap-medium">
                    <button type="button" class="xagio-button xagio-button-outline" data-xagio-close-modal><i class="xagio-icon xagio-icon-close"></i> Cancel</button>
                    <button class="xagio-button xagio-button-primary" type="submit"><i class="xagio-icon xagio-icon-check"></i> Move</button>
                </div>
            </div>

        </form>

    </div>
</dialog>

<!-- Consolidate Keywords into group -->
<dialog id="consolidateModal" class="xagio-modal">
    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title">Consolidate keywords</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>

    <div class="xagio-modal-body">
        <form id="consolidateForm">
            <div class="modal-label">Enter a new Group name:</div>
            <input type="text" name="group_name" id="group_name_phr" class="xagio-input-text-mini" required placeholder="eg. My New Group">
            <div class="modal-label-small">creates a new group with given name and moves all keywords into newly created group</div>

            <div class="xagio-flex-space-between xagio-flex-gap-large xagio-margin-top-large">
                <div class="xagio-slider-container xagio-margin-none">
                    <input type="hidden" name="XAGIO_REMOVE_EMPTY_GROUPS" id="XAGIO_REMOVE_EMPTY_GROUPS" value="0"/>
                    <div class="xagio-slider-frame">
                        <span class="xagio-slider-button" data-element="XAGIO_REMOVE_EMPTY_GROUPS"></span>
                    </div>
                    <p class="xagio-slider-label">Remove empty groups? <i class="xagio-icon xagio-icon-info help-icon" data-xagio-tooltip data-xagio-title="Remove empty groups."></i></p>
                </div>
                <div class="xagio-flex-right xagio-flex-gap-medium">
                    <button type="button" class="xagio-button xagio-button-outline" data-xagio-close-modal><i class="xagio-icon xagio-icon-close"></i> Cancel</button>
                    <button type="submit" class="xagio-button xagio-button-primary consolidateBtn"><i class="xagio-icon xagio-icon-check"></i> Consolidate</button>
                </div>
            </div>

        </form>
    </div>
</dialog>

<!-- Seed keywords to a new group -->
<dialog id="seedKeywordsModal" class="xagio-modal">
    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title">Seed Keywords</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>

    <div class="xagio-modal-body">
        <form id="seedKeywordsForm">
            <input type="hidden" name="group_id" value="0">
            <div class="xagio-alert xagio-alert-primary xagio-margin-bottom-medium">
                <i class="xagio-icon xagio-icon-info"></i> This function will search a current project for any keywords that contain phrases entered below, create a new group and move all keywords found into newly created group
            </div>

            <div>
                <div class="xagio-flex-even-columns xagio-flex-gap-medium">
                    <div>
                        <label class="modal-label">New Group name</label>
                    </div>
                    <div>
                        <label class="modal-label">Your seed keywords</label>
                    </div>
                </div>

                <div class="xagio-flex-column" id="seed_group_container">
                    <div class="xagio-flex-even-columns xagio-flex-gap-medium">
                        <div class="seed-group-name-container">
                            <input type="text" name="seed_group_name[]" class="xagio-input-text-mini" placeholder="eg. My New Group">
                        </div>

                        <div class="seed-keywords-container">
                            <input type="text" name="seed_keywords[]" class="xagio-input-text-mini" placeholder="eg. flowers, blanket, bicycle, house">
                        </div>
                    </div>
                </div>

                <div class="xagio-flex-even-columns x xagio-flex-gap-medium xagio-margin-top-small xagio-flex-align-top">
                    <div class="modal-label-small xagio-margin-top-remove">If left empty, a group will have name of your first seed keyword</div>
                    <div class="modal-label-small xagio-margin-top-remove">*insert keyword(s) separated by a comma "," to create a new group with keywords containing entered above</div>
                </div>
            </div>

            <div class="xagio-flex-row xagio-margin-bottom-large m-t-20">
                <div class="xagio-slider-container xagio-margin-none">
                    <input type="hidden" name="word_match" id="word_match" value="0" class="seed-word-match"/>
                    <div class="xagio-slider-frame">
                        <span class="xagio-slider-button" data-element="word_match"></span>
                    </div>
                    <p class="xagio-slider-label">
                        <span class="word_match_label">Broad Match (
                            <span class="phrase-match-underline">cat</span>,
                            <span class="phrase-match-underline">cat</span>s,
                            <span class="phrase-match-underline">cat</span>apult,
                            wild<span class="phrase-match-underline">cat</span>
                        )</span>
                    </p>
                </div>

                <button type="button" class="xagio-button xagio-button-primary xagio-button-small" data-xagio-tooltip data-xagio-title="Add Multiple Groups" id="add_multiple_groups">
                    <i class="xagio-icon xagio-icon-plus"></i>
                </button>
            </div>

            <div class="xagio-checkbox-button">
                <button class="xagio-button xagio-button-outline" data-xagio-close-modal="" type="button">
                    <i class="xagio-icon xagio-icon-close"></i>
                    Cancel
                </button>
                <div>
                    <button class="xagio-button xagio-button-primary autoGenerateGroupsBtn" type="submit"><i class="xagio-icon xagio-icon-check"></i> Seed New Group</button>
                </div>
            </div>
        </form>
    </div>

</dialog>

<!-- Automatically Generate Groups -->
<dialog id="phraseMatchModal" class="xagio-modal xagio-modal-lg">

    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title">Clustering</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>

    <div class="xagio-modal-body">
        <form id="phraseMatchForm">
            <input type="hidden" name="group_id" value="0">

            <div class="cluster_top_options xagio-margin-bottom-medium">
                <div data-xagio-tooltip data-xagio-title="Minimum number of matching words in group name">
                    <label class="modal-label" for="min_match">Minimum Word Matches</label>
                    <input type="number" min="1" value="2" name="min_match" id="min_match" class="xagio-input-text-mini" required>
                </div>

                <div data-xagio-tooltip data-xagio-title="Minimum number of keywords in the group">
                    <label class="modal-label" for="min_kws">Minimum Cluster Size</label>
                    <input type="number" min="1" value="2" name="min_kws" id="min_kws" class="xagio-input-text-mini" required>
                </div>

                <div data-xagio-tooltip data-xagio-title="Insert word(s) separated by a comma (,) to be excluded from group names">
                    <label class="modal-label" for="excluded_words">Ignore Words Before Matching<span class="phrase_match_exclude">(top 3 most common words below)</span>:</label>
                    <input type="text" name="excluded_words" id="excluded_words" class="xagio-input-text-mini" placeholder="eg. flowers, blanket, bicycle, house">
                </div>

                <div data-xagio-tooltip data-xagio-title="Include or exclude common prepositions in group names such as: for, and, or, of, in, the, etc.">
                    <label class="modal-label" for="include_prepositions">Prepositions:</label>
                    <div class="xagio-slider-container">
                        <input type="hidden" name="include_prepositions" id="include_prepositions" value="0"/>
                        <div class="xagio-slider-frame">
                            <span class="xagio-slider-button" data-element="include_prepositions"></span>
                        </div>
                    </div>
                </div>
            </div>



            <div class="xagio-flex-space-between xagio-margin-bottom-medium">
                <button type="button" class="xagio-button xagio-button-outline previewCluster"><i class="xagio-icon xagio-icon-eye"></i> Preview Cluster</button>

                <div class="xagio-flex-right xagio-flex-gap-medium">

                    <button class="xagio-button xagio-button-primary autoGenerateGroupsBtn" type="submit"><i class="xagio-icon xagio-icon-check"></i> Cluster Keywords</button>
                    <label class="cluster_in_new_project"><input type="checkbox" name="cluster_in_new_project" id="cluster_in_new_project" class="xagio-input-checkbox xagio-input-checkbox-mini"> Cluster into a new project?</label>
                </div>
            </div>

            <div class="pm-project-name xagio-margin-bottom-medium" style="display: none;">
                <label class="modal-label" for="project_name_phr">Enter a new Project Name:</label>
                <input type="text" name="project_name" id="project_name_phr" class="xagio-input-text-mini" placeholder="eg. My New Project #1">
                <div class="modal-label-small">*a new project with inserted name will be created containing Phrased Matched keywords</div>
            </div>


            <div class="xagio-accordion xagio-margin-bottom-medium xagio-ai-suggestion-accordion">
                <h3 class="xagio-accordion-title xagio-accordion-panel-title">
                    <span>Keyword Group</span>
                    <i class="xagio-icon xagio-icon-arrow-down"></i>
                </h3>
                <div class="xagio-accordion-content">
                    <div>
                        <div class="xagio-accordion-panel">
                            <div class="xagio-flex-space-between xagio-margin-top-medium">
                                <label class="modal-label">Select Keywords to Cluster</label>
                                <button type="button" class="xagio-button xagio-button-primary phraseMatchSelectAll"><i class="xagio-icon xagio-icon-check-double"></i> Select All</button>
                            </div>

                            <div class="phraseMatchingKeywords">
                                <div class="uk-grid uk-grid-small">
                                    <div class="uk-width-medium-1-2">
                                        <div class="kw-group-1"></div>
                                    </div>
                                    <div class="uk-width-medium-1-2">
                                        <div class="kw-group-2"></div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

        </form>

        <div class="cluster-preview">

        </div>

    </div>

</dialog>

<div class="cluster_preview_template template hide">
    <div class="cluster_group">
        <div class="cluster_group_name" contenteditable="true"></div>
        <ul class="cluster_group_keywords uk-sortable"></ul>
    </div>
</div>

<!--new row in seed keywords modal-->
<div class="seed_panel_container_template xagio-hidden">
    <div class="seed-panel-name-container">
        <input type="hidden" name="seed_group_name[]">
        <input type="text" name="seed_keywords[]" class="xagio-input-text-mini" placeholder="eg. flowers, blanket">
    </div>
</div>

<!--new row in seed keywords modal-->
<div class="xagio-flex-even-columns xagio-flex-gap-medium seed_group_container_template xagio-hidden">
    <div class="seed-group-name-container">
        <input type="text" name="seed_group_name[]" class="xagio-input-text-mini" placeholder="eg. My New Group">
    </div>

    <div class="xagio-flex xagio-flex-gap-small seed-keywords-container">
        <input type="text" name="seed_keywords[]" class="xagio-input-text-mini" placeholder="eg. flowers, blanket, bicycle, house">
        <button type="button" class="xagio-button xagio-button-outline xagio-button-small delete_seed_row" data-xagio-tooltip data-xagio-title="Delete Row">
            <i class="xagio-icon xagio-icon-close"></i>
        </button>
    </div>
</div>

<!-- Migration Modal -->
<dialog id="migrationModal" class="xagio-modal">
    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-magnifying-glass-chart"></i> Migrate to Xagio</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>

    <div class="xagio-modal-body">

        <div class="xagio-alert xagio-alert-primary">
            <i class="xagio-icon xagio-icon-info"></i> Before running Audit, be sure to migrate any existing data from
            other SEO plugins if you have any installed
            that we support. Check out the form below for more details.
        </div>

        <div class="uk-form-row uk-margin-top">

            <?php if (is_plugin_active('seo-by-rank-math/rank-math.php') && !get_option("XAGIO_MIGRATE_RANKMATH")) { ?>

                <div class="xagio-migration-panel">
                    <h3 class="xagio-migration-panel-title">Rank Math SEO – Migration</h3>

                    <span class="migration-visible"></span>

                    <p class="migration-info">Following page/post data will be migrated from <b>Rank Math SEO</b> to <b>Xagio:</b></p>
                    <ul class="migration-list">
                        <li>Titles</li>
                        <li>Descriptions</li>
                        <li>Focus Keywords</li>
                        <li>OpenGraph Titles</li>
                        <li>OpenGraph Descriptions</li>
                        <li>OpenGraph Images</li>
                    </ul>

                    <button type="button" class="xagio-button xagio-button-primary migration-rankmath"><i class="xagio-icon xagio-arrow-right"></i> Start Rank Math SEO Migration</button>
                </div>


            <?php } ?>


            <?php if ((is_plugin_active('wordpress-seo/wp-seo.php') || is_plugin_active('wordpress-seo-premium/wp-seo-premium.php')) && !get_option("XAGIO_MIGRATE_YOAST")) { ?>

                <div class="xagio-migration-panel">
                    <h3 class="xagio-migration-panel-title">Yoast SEO – Migration</h3>

                    <span class="migration-visible"></span>

                    <p class="migration-info">Following page/post data will be migrated from <b>Yoast
                            SEO</b> to <b>Xagio:</b></p>
                    <ul class="migration-list">
                        <li>Titles</li>
                        <li>Descriptions</li>
                        <li>Focus Keywords</li>
                        <li>Canonical URLs</li>
                        <li>OpenGraph Titles</li>
                        <li>OpenGraph Descriptions</li>
                        <li>OpenGraph Images</li>
                    </ul>

                    <button type="button" class="xagio-button xagio-button-primary migration-yoast"><i class="xagio-icon xagio-arrow-right"></i> Start Yoast Migration</button>
                </div>

            <?php } ?>

            <?php if ((is_plugin_active('all-in-one-seo-pack/all_in_one_seo_pack.php') || is_plugin_active('all-in-one-seo-pack-pro/all_in_one_seo_pack.php')) && !get_option("XAGIO_MIGRATE_AIO")) { ?>

                <div class="xagio-migration-panel">
                    <h3 class="xagio-migration-panel-title">All in One SEO – Migration</h3>

                    <span class="migration-visible"></span>

                    <p class="migration-info">Following page/post data will be migrated from <b>All in One
                            SEO</b> to <b>Xagio:</b></p>
                    <ul class="migration-list">
                        <li>Titles</li>
                        <li>Descriptions</li>
                        <li>Canonical URLs</li>
                    </ul>

                    <button type="button" class="xagio-button xagio-button-primary migration-aio"><i class="xagio-icon xagio-arrow-right"></i> Start AIO Migration</button>

                </div>

            <?php } ?>


        </div>

        <div class="xagio-flex-right xagio-flex-gap-medium xagio-margin-top-medium">
            <button class="xagio-button xagio-button-outline" type="button" data-xagio-close-modal><i class="xagio-icon xagio-icon-close"></i> Cancel</button>
            <button class="xagio-button xagio-button-primary auditWebsite" data-target="external" type="button"><i class="xagio-icon xagio-arrow-right"></i> Continue</button>
        </div>
    </div>
</dialog>

<!-- New Project -->
<dialog id="newProject" class="xagio-modal">
    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-magnifying-glass-chart"></i> Name Your New Project</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>

    <div class="xagio-modal-body">
        <form id="newProjectForm">
            <h3 class="modal-label">Project Name</h3>
            <input type="hidden" class="editProjectName" value="0">
            <input type="hidden" class="moveGroupsIds" value="">
            <input type="text" class="xagio-input-text-mini" id="newProjectInput" placeholder="My Project">

            <div class="xagio-flex-right xagio-flex-gap-medium xagio-margin-top-medium">
                <button class="xagio-button xagio-button-outline" type="button" data-xagio-close-modal><i class="xagio-icon xagio-icon-close"></i> Cancel</button>
                <button class="xagio-button xagio-button-primary newProjectButton" type="submit"><i class="xagio-icon xagio-icon-save"></i> Save</button>
            </div>
        </form>
    </div>
</dialog>

<!-- New Group -->
<dialog id="newGroup" class="xagio-modal">
    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-magnifying-glass-chart"></i> Name Your New Group</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>

    <div class="xagio-modal-body">
        <form id="newProjectForm">
            <h3 class="modal-label">Group Name</h3>
            <input type="text" class="xagio-input-text-mini" id="newGroupInput" placeholder="My Group 1, My Group 2">
            <div class="modal-label-small">You can add multiple groups separated by comma (,)</div>

            <div class="xagio-flex-right xagio-flex-gap-medium xagio-margin-top-medium">
                <button class="xagio-button xagio-button-outline" type="button" data-xagio-close-modal><i class="xagio-icon xagio-icon-close"></i> Cancel</button>
                <button class="xagio-button xagio-button-primary newGroupsButton" type="submit"><i class="xagio-icon xagio-icon-save"></i> Save</button>
            </div>
        </form>
    </div>
</dialog>

<!-- Audit Website -->
<dialog id="auditWebsiteModal" class="xagio-modal">
    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-magnifying-glass-chart"></i> Audit Website</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>

    <div class="xagio-modal-body">
        <form id="auditWebsiteForm">
            <fieldset>

                <div class="xagio-alert xagio-alert-primary">
                    <i class="xagio-icon xagio-icon-info"></i> You are about to run an operation that will scan your
                    competitors website and automatically create groups according to their posts and pages. We're also going to try and detect relevant
                    keywords that they are ranking for and populate the groups with them.
                </div>

                <div class="xagio-2-column-40-60-grid xagio-margin-top-medium">
                    <div>
                        <label class="modal-label" for="auditWebsite_domain">Domain:</label>
                        <input type="text" class="xagio-input-text-mini" name="domain" id="auditWebsite_domain" placeholder="ex. competitordomain.com" value="" data-host="" required/>
                    </div>
                    <div>
                        <label class="modal-label" for="auditWebsite_lang">Location:</label>
                        <input type="hidden" name="lang_code" id="auditWebsite_langCode" value="US"/>
                        <select id="auditWebsite_lang" name="lang" class="xagio-input-select xagio-input-select-gray" data-default="<?php echo esc_attr($xagio_audit_language) ? wp_kses_post($xagio_audit_language) : "en,US" ?>">
                            <option value="fr" data-lang="fr" data-lang-code="DZ">Algeria (fr)</option>
                            <option value="es" data-lang="es" data-lang-code="AR">Argentina (es)</option>
                            <option value="en" data-lang="en" data-lang-code="AU">Australia (en)</option>
                            <option value="de" data-lang="de" data-lang-code="AT">Austria (de)</option>
                            <option value="bn" data-lang="bn" data-lang-code="BD">Bangladesh (bn)</option>
                            <option value="fr" data-lang="fr" data-lang-code="BE">Belgium (fr)</option>
                            <option value="nl" data-lang="nl" data-lang-code="BE">Belgium (nl)</option>
                            <option value="es" data-lang="es" data-lang-code="BO">Bolivia (es)</option>
                            <option value="pt" data-lang="pt" data-lang-code="BR">Brazil (pt)</option>
                            <option value="bg" data-lang="bg" data-lang-code="BG">Bulgaria (bg)</option>
                            <option value="en" data-lang="en" data-lang-code="CA">Canada (en)</option>
                            <option value="es" data-lang="es" data-lang-code="CL">Chile (es)</option>
                            <option value="es" data-lang="es" data-lang-code="CO">Colombia (es)</option>
                            <option value="es" data-lang="es" data-lang-code="CR">Costa Rica (es)</option>
                            <option value="hr" data-lang="hr" data-lang-code="HR">Croatia (hr)</option>
                            <option value="cs" data-lang="cs" data-lang-code="CZ">Czechia (cs)</option>
                            <option value="da" data-lang="da" data-lang-code="DK">Denmark (da)</option>
                            <option value="es" data-lang="es" data-lang-code="EC">Ecuador (es)</option>
                            <option value="ar" data-lang="ar" data-lang-code="EG">Egypt (ar)</option>
                            <option value="es" data-lang="es" data-lang-code="SV">El Salvador (es)</option>
                            <option value="et" data-lang="et" data-lang-code="EE">Estonia (et)</option>
                            <option value="fi" data-lang="fi" data-lang-code="FI">Finland (fi)</option>
                            <option value="fr" data-lang="fr" data-lang-code="FR">France (fr)</option>
                            <option value="de" data-lang="de" data-lang-code="DE">Germany (de)</option>
                            <option value="el" data-lang="el" data-lang-code="GR">Greece (el)</option>
                            <option value="es" data-lang="es" data-lang-code="GT">Guatemala (es)</option>
                            <option value="zh_tw" data-lang="zh_tw" data-lang-code="HK">Hong Kong (zh_tw)</option>
                            <option value="hu" data-lang="hu" data-lang-code="HU">Hungary (hu)</option>
                            <option value="en" data-lang="en" data-lang-code="IN">India (en)</option>
                            <option value="id" data-lang="id" data-lang-code="ID">Indonesia (id)</option>
                            <option value="en" data-lang="en" data-lang-code="IE">Ireland (en)</option>
                            <option value="iw" data-lang="iw" data-lang-code="IL">Israel (iw)</option>
                            <option value="ar" data-lang="ar" data-lang-code="IL">Israel (ar)</option>
                            <option value="it" data-lang="it" data-lang-code="IT">Italy (it)</option>
                            <option value="ja" data-lang="ja" data-lang-code="JP">Japan (ja)</option>
                            <option value="ms" data-lang="ms" data-lang-code="MY">Malaysia (ms)</option>
                            <option value="en" data-lang="en" data-lang-code="MT">Malta (en)</option>
                            <option value="es" data-lang="es" data-lang-code="MX">Mexico (es)</option>
                            <option value="nl" data-lang="nl" data-lang-code="NL">Netherlands (nl)</option>
                            <option value="en" data-lang="en" data-lang-code="NZ">New Zealand (en)</option>
                            <option value="es" data-lang="es" data-lang-code="NI">Nicaragua (es)</option>
                            <option value="no" data-lang="no" data-lang-code="NO">Norway (no)</option>
                            <option value="es" data-lang="es" data-lang-code="PY">Paraguay (es)</option>
                            <option value="es" data-lang="es" data-lang-code="PE">Peru (es)</option>
                            <option value="pl" data-lang="pl" data-lang-code="PL">Poland (pl)</option>
                            <option value="pt" data-lang="pt" data-lang-code="PT">Portugal (pt)</option>
                            <option value="ro" data-lang="ro" data-lang-code="RO">Romania (ro)</option>
                            <option value="ru" data-lang="ru" data-lang-code="RU">Russia (ru)</option>
                            <option value="ar" data-lang="ar" data-lang-code="SA">Saudi Arabia (ar)</option>
                            <option value="sr" data-lang="sr" data-lang-code="RS">Serbia (sr)</option>
                            <option value="en" data-lang="en" data-lang-code="SG">Singapore (en)</option>
                            <option value="sk" data-lang="sk" data-lang-code="SK">Slovakia (sk)</option>
                            <option value="sl" data-lang="sl" data-lang-code="SI">Slovenia (sl)</option>
                            <option value="en" data-lang="en" data-lang-code="ZA">South Africa (en)</option>
                            <option value="es" data-lang="es" data-lang-code="ES">Spain (es)</option>
                            <option value="en" data-lang="en" data-lang-code="LK">Sri Lanka (en)</option>
                            <option value="sv" data-lang="sv" data-lang-code="SE">Sweden (sv)</option>
                            <option value="fr" data-lang="fr" data-lang-code="CH">Switzerland (fr)</option>
                            <option value="de" data-lang="de" data-lang-code="CH">Switzerland (de)</option>
                            <option value="zh_tw" data-lang="zh_tw" data-lang-code="TW">Taiwan (zh_tw)</option>
                            <option value="th" data-lang="th" data-lang-code="TH">Thailand (th)</option>
                            <option value="ar" data-lang="ar" data-lang-code="TN">Tunisia (ar)</option>
                            <option value="tr" data-lang="tr" data-lang-code="TR">Turkey (tr)</option>
                            <option value="uk" data-lang="uk" data-lang-code="UA">Ukraine (uk)</option>
                            <option value="ru" data-lang="ru" data-lang-code="UA">Ukraine (ru)</option>
                            <option value="en" data-lang="en" data-lang-code="AE">United Arab Emirates (en)
                            </option>
                            <option value="ar" data-lang="ar" data-lang-code="AE">United Arab Emirates (ar)
                            </option>
                            <option value="en" data-lang="en" data-lang-code="GB">United Kingdom (en)</option>
                            <option value="en" data-lang="en" data-lang-code="US">United States
                                (en)
                            </option>
                            <option value="es" data-lang="es" data-lang-code="UY">Uruguay (es)</option>
                            <option value="es" data-lang="es" data-lang-code="VE">Venezuela (es)</option>
                            <option value="vi" data-lang="vi" data-lang-code="VN">Vietnam (vi)</option>
                        </select>

                    </div>
                </div>

                <div class="xagio-2-column-30-70-grid xagio-flex-gap-large xagio-flex-align-top xagio-flex-wrap xagio-margin-top-medium">
                    <div>
                        <label class="modal-label">Exact Match URL <i class="xagio-icon xagio-icon-info help-icon" data-xagio-tooltip data-xagio-title="If this option is enabled we will pull keywords only from exact match URL"></i></label>
                        <div class="xagio-slider-container">
                            <input type="hidden" name="match_case_url" id="match_case_url" value="0">
                            <div class="xagio-slider-frame">
                                <span class="xagio-slider-button" data-element="match_case_url"></span>
                            </div>
                        </div>
                    </div>
                    <div>
                        <label class="modal-label" for="audit_main_keyword_contain">Filter results to only contain keyword below:</label>
                        <input type="text" class="xagio-input-text-mini audit_main_keyword_contain" id="audit_main_keyword_contain" name="audit_main_keyword_contain" value="" placeholder="keyword">
                    </div>

                </div>

                <div class="xagio-flex-even-columns xagio-flex-gap-medium xagio-margin-top-medium">
                    <div>
                        <label class="modal-label" for="keyword_volume_min">Keyword Volume</label>
                        <div class="hunter-range-container">

                            <div class="hunter-slider-container">
                                <div class="price-slider"></div>
                            </div>

                            <!-- Slider -->
                            <div class="range-input">
                                <input type="range" class="min-range" name="volume-min" min="0" max="10000" value="0" step="100" tabindex="-1">
                                <input type="range" class="max-range" name="volume-max" min="0" max="10000" value="10000" step="100" tabindex="-1">
                            </div>

                            <div class="xagio-slider-input">
                                <input type="number" class="volume-min min-input hunter-min-number" value="0" id="keyword_volume_min">
                                <input type="number" class="volume-max max-input hunter-max-number" value="10000">
                            </div>
                        </div>
                    </div>

                    <div>
                        <label class="modal-label" for="keyword_rank_min">Keyword Rank</label>
                        <div class="hunter-range-container">

                            <div class="hunter-slider-container">
                                <div class="price-slider"></div>
                            </div>

                            <!-- Slider -->
                            <div class="range-input">
                                <input type="range" class="min-range" name="rank-min" min="1" max="100" value="1" step="1" tabindex="-1">
                                <input type="range" class="max-range" name="rank-max" min="0" max="100" value="100" step="1" tabindex="-1">
                            </div>

                            <div class="xagio-slider-input">
                                <input type="number" class="rank-min min-input hunter-min-number" id="keyword_rank_min" value="1" step="1">
                                <input type="number" class="rank-max max-input hunter-max-number" value="100" step="1">
                            </div>
                        </div>
                    </div>
                </div>

                <div class="uk-form-row" style="display: none;">
                    <label class="modal-label" for="auditWebsite_ignoreLocal"></label>
                    <input type="checkbox" name="ignore_local" class="xagio-input-checkbox" value="on" id="auditWebsite_ignoreLocal"/>
                </div>

                <div class="xagio-flex-space-between xagio-flex-gap-medium xagio-margin-top-medium xagio-flex-even-columns">
                    <div class="modal-audit-cost xagio-flex-gap-small">
                        <i class="xagio-icon xagio-icon-info"></i> <div id="xagsCost"></div>
                    </div>
                    <div class="xagio-flex-right xagio-flex-gap-medium">
                        <button class="xagio-button xagio-button-outline" type="button" data-xagio-close-modal><i class="xagio-icon xagio-icon-close"></i> Cancel</button>
                        <button class="xagio-button xagio-button-primary auditWebsiteBtn" type="submit" ><i class="xagio-icon xagio-icon-magnifying-glass-chart"></i> Run Audit</button>
                    </div>
                </div>
            </fieldset>

        </form>
    </div>
</dialog>

<!-- Audit Website Internal -->
<dialog id="auditWebsiteModalInternal" class="xagio-modal">
    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-magnifying-glass-chart"></i> Import Pages & Rankings</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>

    <div class="xagio-modal-body">
        <form id="auditWebsiteInternalForm">
            <input type="hidden" name="audit_type" value="internal" />
            <input type="hidden" name="volume-min" value="0" />
            <input type="hidden" name="volume-max" value="10000" />
            <input type="hidden" name="rank-min" value="1" />
            <input type="hidden" name="rank-max" value="100" />
            <div class="xagio-alert xagio-alert-primary xagio-margin-bottom-medium">
                <i class="xagio-icon xagio-icon-info"></i>
                This operation will import all your sites pages & posts into the project planner. If
                any keyword rankings are found, they will be attached to the same page along with their volume, CPC & last known ranking.
            </div>

            <div class="xagio-flex-even-columns xagio-flex-gap-medium">
                <div>
                    <h3 class="modal-label">Location:</h3>
                    <input type="hidden" name="lang_code" id="auditWebsite_langCode_internal" value="US"/>
                    <select id="auditWebsite_lang_internal" name="lang" class="xagio-input-select xagio-input-select-gray" data-default="<?php echo $xagio_audit_language ? wp_kses_post($xagio_audit_language) : "en,US" ?>">
                        <option value="fr" data-lang="fr" data-lang-code="DZ">Algeria (fr)</option>
                        <option value="es" data-lang="es" data-lang-code="AR">Argentina (es)</option>
                        <option value="en" data-lang="en" data-lang-code="AU">Australia (en)</option>
                        <option value="de" data-lang="de" data-lang-code="AT">Austria (de)</option>
                        <option value="bn" data-lang="bn" data-lang-code="BD">Bangladesh (bn)</option>
                        <option value="fr" data-lang="fr" data-lang-code="BE">Belgium (fr)</option>
                        <option value="nl" data-lang="nl" data-lang-code="BE">Belgium (nl)</option>
                        <option value="es" data-lang="es" data-lang-code="BO">Bolivia (es)</option>
                        <option value="pt" data-lang="pt" data-lang-code="BR">Brazil (pt)</option>
                        <option value="bg" data-lang="bg" data-lang-code="BG">Bulgaria (bg)</option>
                        <option value="en" data-lang="en" data-lang-code="CA">Canada (en)</option>
                        <option value="es" data-lang="es" data-lang-code="CL">Chile (es)</option>
                        <option value="es" data-lang="es" data-lang-code="CO">Colombia (es)</option>
                        <option value="es" data-lang="es" data-lang-code="CR">Costa Rica (es)</option>
                        <option value="hr" data-lang="hr" data-lang-code="HR">Croatia (hr)</option>
                        <option value="cs" data-lang="cs" data-lang-code="CZ">Czechia (cs)</option>
                        <option value="da" data-lang="da" data-lang-code="DK">Denmark (da)</option>
                        <option value="es" data-lang="es" data-lang-code="EC">Ecuador (es)</option>
                        <option value="ar" data-lang="ar" data-lang-code="EG">Egypt (ar)</option>
                        <option value="es" data-lang="es" data-lang-code="SV">El Salvador (es)</option>
                        <option value="et" data-lang="et" data-lang-code="EE">Estonia (et)</option>
                        <option value="fi" data-lang="fi" data-lang-code="FI">Finland (fi)</option>
                        <option value="fr" data-lang="fr" data-lang-code="FR">France (fr)</option>
                        <option value="de" data-lang="de" data-lang-code="DE">Germany (de)</option>
                        <option value="el" data-lang="el" data-lang-code="GR">Greece (el)</option>
                        <option value="es" data-lang="es" data-lang-code="GT">Guatemala (es)</option>
                        <option value="zh_tw" data-lang="zh_tw" data-lang-code="HK">Hong Kong (zh_tw)</option>
                        <option value="hu" data-lang="hu" data-lang-code="HU">Hungary (hu)</option>
                        <option value="en" data-lang="en" data-lang-code="IN">India (en)</option>
                        <option value="id" data-lang="id" data-lang-code="ID">Indonesia (id)</option>
                        <option value="en" data-lang="en" data-lang-code="IE">Ireland (en)</option>
                        <option value="iw" data-lang="iw" data-lang-code="IL">Israel (iw)</option>
                        <option value="ar" data-lang="ar" data-lang-code="IL">Israel (ar)</option>
                        <option value="it" data-lang="it" data-lang-code="IT">Italy (it)</option>
                        <option value="ja" data-lang="ja" data-lang-code="JP">Japan (ja)</option>
                        <option value="ms" data-lang="ms" data-lang-code="MY">Malaysia (ms)</option>
                        <option value="en" data-lang="en" data-lang-code="MT">Malta (en)</option>
                        <option value="es" data-lang="es" data-lang-code="MX">Mexico (es)</option>
                        <option value="nl" data-lang="nl" data-lang-code="NL">Netherlands (nl)</option>
                        <option value="en" data-lang="en" data-lang-code="NZ">New Zealand (en)</option>
                        <option value="es" data-lang="es" data-lang-code="NI">Nicaragua (es)</option>
                        <option value="no" data-lang="no" data-lang-code="NO">Norway (no)</option>
                        <option value="es" data-lang="es" data-lang-code="PY">Paraguay (es)</option>
                        <option value="es" data-lang="es" data-lang-code="PE">Peru (es)</option>
                        <option value="pl" data-lang="pl" data-lang-code="PL">Poland (pl)</option>
                        <option value="pt" data-lang="pt" data-lang-code="PT">Portugal (pt)</option>
                        <option value="ro" data-lang="ro" data-lang-code="RO">Romania (ro)</option>
                        <option value="ru" data-lang="ru" data-lang-code="RU">Russia (ru)</option>
                        <option value="ar" data-lang="ar" data-lang-code="SA">Saudi Arabia (ar)</option>
                        <option value="sr" data-lang="sr" data-lang-code="RS">Serbia (sr)</option>
                        <option value="en" data-lang="en" data-lang-code="SG">Singapore (en)</option>
                        <option value="sk" data-lang="sk" data-lang-code="SK">Slovakia (sk)</option>
                        <option value="sl" data-lang="sl" data-lang-code="SI">Slovenia (sl)</option>
                        <option value="en" data-lang="en" data-lang-code="ZA">South Africa (en)</option>
                        <option value="es" data-lang="es" data-lang-code="ES">Spain (es)</option>
                        <option value="en" data-lang="en" data-lang-code="LK">Sri Lanka (en)</option>
                        <option value="sv" data-lang="sv" data-lang-code="SE">Sweden (sv)</option>
                        <option value="fr" data-lang="fr" data-lang-code="CH">Switzerland (fr)</option>
                        <option value="de" data-lang="de" data-lang-code="CH">Switzerland (de)</option>
                        <option value="zh_tw" data-lang="zh_tw" data-lang-code="TW">Taiwan (zh_tw)</option>
                        <option value="th" data-lang="th" data-lang-code="TH">Thailand (th)</option>
                        <option value="ar" data-lang="ar" data-lang-code="TN">Tunisia (ar)</option>
                        <option value="tr" data-lang="tr" data-lang-code="TR">Turkey (tr)</option>
                        <option value="uk" data-lang="uk" data-lang-code="UA">Ukraine (uk)</option>
                        <option value="ru" data-lang="ru" data-lang-code="UA">Ukraine (ru)</option>
                        <option value="en" data-lang="en" data-lang-code="AE">United Arab Emirates (en)
                        </option>
                        <option value="ar" data-lang="ar" data-lang-code="AE">United Arab Emirates (ar)
                        </option>
                        <option value="en" data-lang="en" data-lang-code="GB">United Kingdom (en)</option>
                        <option value="en" data-lang="en" data-lang-code="US">United States
                            (en)
                        </option>
                        <option value="es" data-lang="es" data-lang-code="UY">Uruguay (es)</option>
                        <option value="es" data-lang="es" data-lang-code="VE">Venezuela (es)</option>
                        <option value="vi" data-lang="vi" data-lang-code="VN">Vietnam (vi)</option>
                    </select>
                    <div class="modal-label-small">*location on Google</div>
                </div>
                <div>
                    <h3 class="modal-label">Limit (100-1000):</h3>
                    <select id="auditWebsite_limit-internal" name="limit" class="xagio-input-select xagio-input-select-gray">
                        <option value="100">100</option>
                        <option value="200">200</option>
                        <option value="300">300</option>
                        <option value="400">400</option>
                        <option value="500">500</option>
                        <option value="600">600</option>
                        <option value="700">700</option>
                        <option value="800">800</option>
                        <option value="900">900</option>
                        <option value="1000" selected="">1000</option>
                    </select>
                    <div class="modal-label-small">*maximum number of keywords to pull</div>
                </div>
            </div>

            <div class="xagio-flex-space-between xagio-flex-gap-medium xagio-margin-top-medium xagio-flex-even-columns">
                <div class="modal-audit-cost xagio-flex-gap-small">
                    <i class="xagio-icon xagio-icon-info"></i>
                    <div id="xagsCost"></div>
                </div>
                <div class="xagio-flex-right xagio-flex-gap-medium">
                    <button class="xagio-button xagio-button-outline" type="button" data-xagio-close-modal><i class="xagio-icon xagio-icon-close"></i> Cancel</button>
                    <button class="xagio-button xagio-button-primary auditWebsiteBtn" type="submit"><i class="xagio-icon xagio-icon-magnifying-glass-chart"></i> Import</button>
                </div>
            </div>
        </form>
    </div>
</dialog>

<!-- Import Pages -->
<dialog id="importPagesModal" class="xagio-modal">
    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-magnifying-glass-chart"></i> Import Pages</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>

    <div class="xagio-modal-body">
        <div class="xagio-alert xagio-alert-primary xagio-margin-bottom-large">
            <i class="xagio-icon xagio-icon-info"></i>
            This operation will import all your sites pages & posts into the project planner.
        </div>
        <div class="xagio-flex-right xagio-flex-gap-medium">
            <button class="xagio-button xagio-button-outline" type="button" data-xagio-close-modal><i class="xagio-icon xagio-icon-close"></i> Cancel</button>
            <button class="xagio-button xagio-button-primary importPagesBtn" type="submit"><i class="xagio-icon xagio-icon-magnifying-glass-chart"></i> Import</button>
        </div>
    </div>
</dialog>

<!--New Page Post From ALL Modal-->
<dialog id="pagePostMulti" class="xagio-modal xagio-modal-lg">
    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-file"></i> Create All Pages/Posts</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>

    <div class="xagio-modal-body">
        <form id="pagePostMultiPost">
            <input type="hidden" name="request_type" value="multi"/>

            <div class="table_holder_all">

            </div>

            <div class="xagio-flex-right xagio-flex-gap-medium xagio-margin-top-large">
                <button class="xagio-button xagio-button-outline" data-xagio-close-modal type="button"><i class="xagio-icon xagio-icon-close"></i> Cancel</button>
                <button class="xagio-button xagio-button-primary pagePostMultiBtn" type="submit"><i class="xagio-icon xagio-icon-check"></i> Create All</button>
            </div>
        </form>
    </div>

</dialog>

<!-- Get Competition Model -->
<dialog id="getCompetitionModal" class="xagio-modal xagio-modal-lg">
    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-key"></i> Get Competition</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>

    <div class="xagio-modal-body">
        <form id="getCompetitionForm">
            <input type="hidden" name="ids_cmp" id="ids_cmp">
            <input type="hidden" name="keywords_cmp" id="keywords_cmp">

            <div class="xagio-flex-even-columns xagio-flex-gap-medium">
                <div>
                    <label class="modal-label" for="getCompetition_languageCode">Language</label>
                    <select id="getCompetition_languageCode" class="xagio-input-select xagio-input-select-gray" name="language" data-default="<?php echo esc_attr($xagio_language) ?? ""; ?>">
                        <option value="">-- All Languages --</option>
                        <option	value="ar">Arabic</option>
                        <option	value="bn">Bengali</option>
                        <option	value="bg">Bulgarian</option>
                        <option	value="ca">Catalan</option>
                        <option	value="zh_CN">Chinese (Simplified)</option>
                        <option	value="zh_TW">Chinese (Traditional)</option>
                        <option	value="hr">Croatian</option>
                        <option	value="cs">Czech</option>
                        <option	value="da">Danish</option>
                        <option	value="nl">Dutch</option>
                        <option	value="en">English</option>
                        <option	value="et">Estonian</option>
                        <option	value="fa">Farsi</option>
                        <option	value="fi">Finnish</option>
                        <option	value="fr">French</option>
                        <option	value="de">German</option>
                        <option	value="el">Greek</option>
                        <option	value="iw">Hebrew (old)</option>
                        <option	value="hi">Hindi</option>
                        <option	value="hu">Hungarian</option>
                        <option	value="is">Icelandic</option>
                        <option	value="id">Indonesian</option>
                        <option	value="it">Italian</option>
                        <option	value="ja">Japanese</option>
                        <option	value="ko">Korean</option>
                        <option	value="lv">Latvian</option>
                        <option	value="lt">Lithuanian</option>
                        <option	value="ms">Malay</option>
                        <option	value="no">Norwegian</option>
                        <option	value="pl">Polish</option>
                        <option	value="pt">Portuguese</option>
                        <option	value="ro">Romanian</option>
                        <option	value="ru">Russian</option>
                        <option	value="sr">Serbian</option>
                        <option	value="sk">Slovak</option>
                        <option	value="sl">Slovenian</option>
                        <option	value="es">Spanish</option>
                        <option	value="sv">Swedish</option>
                        <option	value="tl">Tagalog</option>
                        <option	value="ta">Tamil</option>
                        <option	value="te">Telugu</option>
                        <option	value="th">Thai</option>
                        <option	value="tr">Turkish</option>
                        <option	value="uk">Ukrainian</option>
                        <option	value="ur">Urdu</option>
                        <option	value="vi">Vietnamese</option>
                        <option	value="zh_CN">Chinese (Simplified)</option>
                        <option	value="zh_TW">Chinese (Traditional)</option>
                    </select>
                </div>
                <div>
                    <label class="modal-label" for="getCompetition_locationCode">Country</label>
                    <select id="getCompetition_locationCode" class="xagio-input-select xagio-input-select-gray" name="location" data-default="<?php echo esc_attr($xagio_country) ?? ""; ?>">
                        <option	value="">WorldWide</option>
                        <option	value="Afghanistan">Afghanistan</option>
                        <option	value="Albania">Albania</option>
                        <option	value="Antarctica">Antarctica</option>
                        <option	value="Algeria">Algeria</option>
                        <option	value="American Samoa">American Samoa</option>
                        <option	value="Andorra">Andorra</option>
                        <option	value="Angola">Angola</option>
                        <option	value="Antigua and Barbuda">Antigua and Barbuda</option>
                        <option	value="Azerbaijan">Azerbaijan</option>
                        <option	value="Argentina">Argentina</option>
                        <option	value="Australia">Australia</option>
                        <option	value="Austria">Austria</option>
                        <option	value="The Bahamas">The Bahamas</option>
                        <option	value="Bahrain">Bahrain</option>
                        <option	value="Bangladesh">Bangladesh</option>
                        <option	value="Armenia">Armenia</option>
                        <option	value="Barbados">Barbados</option>
                        <option	value="Belgium">Belgium</option>
                        <option	value="Bermuda">Bermuda</option>
                        <option	value="Bhutan">Bhutan</option>
                        <option	value="Bolivia">Bolivia</option>
                        <option	value="Bosnia and Herzegovina">Bosnia and Herzegovina</option>
                        <option	value="Botswana">Botswana</option>
                        <option	value="Bouvet Island">Bouvet Island</option>
                        <option	value="Brazil">Brazil</option>
                        <option	value="Belize">Belize</option>
                        <option	value="British Indian Ocean Territory">British Indian Ocean Territory</option>
                        <option	value="Solomon Islands">Solomon Islands</option>
                        <option	value="British Virgin Islands">British Virgin Islands</option>
                        <option	value="Brunei">Brunei</option>
                        <option	value="Bulgaria">Bulgaria</option>
                        <option	value="Myanmar (Burma)">Myanmar (Burma)</option>
                        <option	value="Burundi">Burundi</option>
                        <option	value="Cambodia">Cambodia</option>
                        <option	value="Cameroon">Cameroon</option>
                        <option	value="Canada">Canada</option>
                        <option	value="Cape Verde">Cape Verde</option>
                        <option	value="Cayman Islands">Cayman Islands</option>
                        <option	value="Central African Republic">Central African Republic</option>
                        <option	value="Sri Lanka">Sri Lanka</option>
                        <option	value="Chad">Chad</option>
                        <option	value="Chile">Chile</option>
                        <option	value="China">China</option>
                        <option	value="Taiwan">Taiwan</option>
                        <option	value="Christmas Island">Christmas Island</option>
                        <option	value="Cocos (Keeling) Islands">Cocos (Keeling) Islands</option>
                        <option	value="Colombia">Colombia</option>
                        <option	value="Comoros">Comoros</option>
                        <option	value="Mayotte">Mayotte</option>
                        <option	value="Republic of the Congo">Republic of the Congo</option>
                        <option	value="Democratic Republic of the Congo">Democratic Republic of the Congo</option>
                        <option	value="Cook Islands">Cook Islands</option>
                        <option	value="Costa Rica">Costa Rica</option>
                        <option	value="Croatia">Croatia</option>
                        <option	value="Cyprus">Cyprus</option>
                        <option	value="Czechia">Czechia</option>
                        <option	value="Benin">Benin</option>
                        <option	value="Denmark">Denmark</option>
                        <option	value="Dominica">Dominica</option>
                        <option	value="Dominican Republic">Dominican Republic</option>
                        <option	value="Ecuador">Ecuador</option>
                        <option	value="El Salvador">El Salvador</option>
                        <option	value="Equatorial Guinea">Equatorial Guinea</option>
                        <option	value="Ethiopia">Ethiopia</option>
                        <option	value="Eritrea">Eritrea</option>
                        <option	value="Estonia">Estonia</option>
                        <option	value="Faroe Islands">Faroe Islands</option>
                        <option	value="Falkland Islands (Islas Malvinas)">Falkland Islands (Islas Malvinas)</option>
                        <option	value="South Georgia and the South Sandwich Islands">South Georgia and the South Sandwich Islands</option>
                        <option	value="Fiji">Fiji</option>
                        <option	value="Finland">Finland</option>
                        <option	value="France">France</option>
                        <option	value="French Guiana">French Guiana</option>
                        <option	value="French Polynesia">French Polynesia</option>
                        <option	value="French Southern and Antarctic Lands">French Southern and Antarctic Lands</option>
                        <option	value="Djibouti">Djibouti</option>
                        <option	value="Gabon">Gabon</option>
                        <option	value="Georgia">Georgia</option>
                        <option	value="The Gambia">The Gambia</option>
                        <option	value="Palestine">Palestine</option>
                        <option	value="Germany">Germany</option>
                        <option	value="Ghana">Ghana</option>
                        <option	value="Gibraltar">Gibraltar</option>
                        <option	value="Kiribati">Kiribati</option>
                        <option	value="Greece">Greece</option>
                        <option	value="Greenland">Greenland</option>
                        <option	value="Grenada">Grenada</option>
                        <option	value="Guadeloupe">Guadeloupe</option>
                        <option	value="Guam">Guam</option>
                        <option	value="Guatemala">Guatemala</option>
                        <option	value="Guinea">Guinea</option>
                        <option	value="Guyana">Guyana</option>
                        <option	value="Haiti">Haiti</option>
                        <option	value="Heard Island and McDonald Islands">Heard Island and McDonald Islands</option>
                        <option	value="Vatican City">Vatican City</option>
                        <option	value="Honduras">Honduras</option>
                        <option	value="Hong Kong">Hong Kong</option>
                        <option	value="Hungary">Hungary</option>
                        <option	value="Iceland">Iceland</option>
                        <option	value="India">India</option>
                        <option	value="Indonesia">Indonesia</option>
                        <option	value="Iraq">Iraq</option>
                        <option	value="Ireland">Ireland</option>
                        <option	value="Israel">Israel</option>
                        <option	value="Italy">Italy</option>
                        <option	value="Cote d'Ivoire">Cote d'Ivoire</option>
                        <option	value="Jamaica">Jamaica</option>
                        <option	value="Japan">Japan</option>
                        <option	value="Kazakhstan">Kazakhstan</option>
                        <option	value="Jordan">Jordan</option>
                        <option	value="Kenya">Kenya</option>
                        <option	value="South Korea">South Korea</option>
                        <option	value="Kuwait">Kuwait</option>
                        <option	value="Kyrgyzstan">Kyrgyzstan</option>
                        <option	value="Laos">Laos</option>
                        <option	value="Lebanon">Lebanon</option>
                        <option	value="Lesotho">Lesotho</option>
                        <option	value="Latvia">Latvia</option>
                        <option	value="Liberia">Liberia</option>
                        <option	value="Libya">Libya</option>
                        <option	value="Liechtenstein">Liechtenstein</option>
                        <option	value="Lithuania">Lithuania</option>
                        <option	value="Luxembourg">Luxembourg</option>
                        <option	value="Macao">Macao</option>
                        <option	value="Madagascar">Madagascar</option>
                        <option	value="Malawi">Malawi</option>
                        <option	value="Malaysia">Malaysia</option>
                        <option	value="Maldives">Maldives</option>
                        <option	value="Mali">Mali</option>
                        <option	value="Malta">Malta</option>
                        <option	value="Martinique">Martinique</option>
                        <option	value="Mauritania">Mauritania</option>
                        <option	value="Mauritius">Mauritius</option>
                        <option	value="Mexico">Mexico</option>
                        <option	value="Monaco">Monaco</option>
                        <option	value="Mongolia">Mongolia</option>
                        <option	value="Moldova">Moldova</option>
                        <option	value="Montenegro">Montenegro</option>
                        <option	value="Montserrat">Montserrat</option>
                        <option	value="Morocco">Morocco</option>
                        <option	value="Mozambique">Mozambique</option>
                        <option	value="Oman">Oman</option>
                        <option	value="Namibia">Namibia</option>
                        <option	value="Nauru">Nauru</option>
                        <option	value="Nepal">Nepal</option>
                        <option	value="Netherlands">Netherlands</option>
                        <option	value="Curacao">Curacao</option>
                        <option	value="Aruba">Aruba</option>
                        <option	value="Sint Maarten">Sint Maarten</option>
                        <option	value="Caribbean Netherlands">Caribbean Netherlands</option>
                        <option	value="New Caledonia">New Caledonia</option>
                        <option	value="Vanuatu">Vanuatu</option>
                        <option	value="New Zealand">New Zealand</option>
                        <option	value="Nicaragua">Nicaragua</option>
                        <option	value="Niger">Niger</option>
                        <option	value="Nigeria">Nigeria</option>
                        <option	value="Niue">Niue</option>
                        <option	value="Norfolk Island">Norfolk Island</option>
                        <option	value="Norway">Norway</option>
                        <option	value="Northern Mariana Islands">Northern Mariana Islands</option>
                        <option	value="United States Minor Outlying Islands">United States Minor Outlying Islands</option>
                        <option	value="Micronesia">Micronesia</option>
                        <option	value="Marshall Islands">Marshall Islands</option>
                        <option	value="Palau">Palau</option>
                        <option	value="Pakistan">Pakistan</option>
                        <option	value="Panama">Panama</option>
                        <option	value="Papua New Guinea">Papua New Guinea</option>
                        <option	value="Paraguay">Paraguay</option>
                        <option	value="Peru">Peru</option>
                        <option	value="Philippines">Philippines</option>
                        <option	value="Pitcairn Islands">Pitcairn Islands</option>
                        <option	value="Poland">Poland</option>
                        <option	value="Portugal">Portugal</option>
                        <option	value="Guinea-Bissau">Guinea-Bissau</option>
                        <option	value="Timor-Leste">Timor-Leste</option>
                        <option	value="Puerto Rico">Puerto Rico</option>
                        <option	value="Qatar">Qatar</option>
                        <option	value="Reunion">Reunion</option>
                        <option	value="Romania">Romania</option>
                        <option	value="Rwanda">Rwanda</option>
                        <option	value="Saint Barthelemy">Saint Barthelemy</option>
                        <option	value="Saint Helena, Ascension and Tristan da Cunha">Saint Helena, Ascension and Tristan da Cunha</option>
                        <option	value="Saint Kitts and Nevis">Saint Kitts and Nevis</option>
                        <option	value="Anguilla">Anguilla</option>
                        <option	value="Saint Lucia">Saint Lucia</option>
                        <option	value="Saint Martin">Saint Martin</option>
                        <option	value="Saint Pierre and Miquelon">Saint Pierre and Miquelon</option>
                        <option	value="Saint Vincent and the Grenadines">Saint Vincent and the Grenadines</option>
                        <option	value="San Marino">San Marino</option>
                        <option	value="Sao Tome and Principe">Sao Tome and Principe</option>
                        <option	value="Saudi Arabia">Saudi Arabia</option>
                        <option	value="Senegal">Senegal</option>
                        <option	value="Serbia">Serbia</option>
                        <option	value="Seychelles">Seychelles</option>
                        <option	value="Sierra Leone">Sierra Leone</option>
                        <option	value="Singapore">Singapore</option>
                        <option	value="Slovakia">Slovakia</option>
                        <option	value="Vietnam">Vietnam</option>
                        <option	value="Slovenia">Slovenia</option>
                        <option	value="Somalia">Somalia</option>
                        <option	value="South Africa">South Africa</option>
                        <option	value="Zimbabwe">Zimbabwe</option>
                        <option	value="Spain">Spain</option>
                        <option	value="South Sudan">South Sudan</option>
                        <option	value="Western Sahara">Western Sahara</option>
                        <option	value="Sudan">Sudan</option>
                        <option	value="Suriname">Suriname</option>
                        <option	value="Svalbard and Jan Mayen">Svalbard and Jan Mayen</option>
                        <option	value="Eswatini">Eswatini</option>
                        <option	value="Sweden">Sweden</option>
                        <option	value="Switzerland">Switzerland</option>
                        <option	value="Tajikistan">Tajikistan</option>
                        <option	value="Thailand">Thailand</option>
                        <option	value="Togo">Togo</option>
                        <option	value="Tokelau">Tokelau</option>
                        <option	value="Tonga">Tonga</option>
                        <option	value="Trinidad and Tobago">Trinidad and Tobago</option>
                        <option	value="United Arab Emirates">United Arab Emirates</option>
                        <option	value="Tunisia">Tunisia</option>
                        <option	value="Turkiye">Turkiye</option>
                        <option	value="Turkmenistan">Turkmenistan</option>
                        <option	value="Turks and Caicos Islands">Turks and Caicos Islands</option>
                        <option	value="Tuvalu">Tuvalu</option>
                        <option	value="Uganda">Uganda</option>
                        <option	value="Ukraine">Ukraine</option>
                        <option	value="North Macedonia">North Macedonia</option>
                        <option	value="Egypt">Egypt</option>
                        <option	value="United Kingdom">United Kingdom</option>
                        <option	value="Guernsey">Guernsey</option>
                        <option	value="Jersey">Jersey</option>
                        <option	value="Isle of Man">Isle of Man</option>
                        <option	value="Tanzania">Tanzania</option>
                        <option	value="United States">United States</option>
                        <option	value="U.S. Virgin Islands">U.S. Virgin Islands</option>
                        <option	value="Burkina Faso">Burkina Faso</option>
                        <option	value="Uruguay">Uruguay</option>
                        <option	value="Uzbekistan">Uzbekistan</option>
                        <option	value="Venezuela">Venezuela</option>
                        <option	value="Wallis and Futuna">Wallis and Futuna</option>
                        <option	value="Samoa">Samoa</option>
                        <option	value="Yemen">Yemen</option>
                        <option	value="Zambia">Zambia</option>
                        <option	value="Kosovo">Kosovo</option>
                    </select>
                </div>
            </div>

            <div class="xag-cost-container xagio-flex-gap-small xagio-margin-top-medium">
                <i class="xagio-icon xagio-icon-info"></i>
                <div id="xagsCost"></div>
            </div>

            <div class="xagio-flex-space-between xagio-flex-gap-medium xagio-margin-top-large">
                <div class="xagio-slider-container xagio-margin-none xagio-refresh-competition-values">
                    <input type="hidden" name="XAGIO_REFRESH_COMPETITION_VALUES" id="XAGIO_REFRESH_COMPETITION_VALUES" value="0"/>
                    <div class="xagio-slider-frame">
                        <span class="xagio-slider-button" data-element="XAGIO_REFRESH_COMPETITION_VALUES"></span>
                    </div>
                    <p class="xagio-slider-label">Refresh existing values? <i class="xagio-icon xagio-icon-info help-icon" data-xagio-tooltip data-xagio-title="By default, we only check inTitle/inURL for keywords which are empty. Turn ON to also refresh existing inTitle/inURL."></i></p>
                </div>
                <div class="xagio-flex-right xagio-flex-gap-medium">
                    <button class="xagio-button xagio-button-outline" data-xagio-close-modal type="button"><i class="xagio-icon xagio-icon-close"></i> Cancel</button>
                    <button class="xagio-button xagio-button-primary submitCompetitionKeywords" type="submit"><i class="xagio-icon xagio-icon-check"></i> Get Competition</button>
                </div>
            </div>
        </form>
    </div>
</dialog>

<!-- Vol&CPC Model -->
<dialog id="VolumeAndCPCModal" class="xagio-modal xagio-modal-lg">
    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-key"></i> Retrieve Volume & CPC</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>

    <div class="xagio-modal-body">
        <form id="VolumeAndCPCForm" class="uk-form-stacked">
            <input type="hidden" name="ids" id="ids">
            <input type="hidden" name="keywords" id="keywords">

            <div class="xagio-flex-even-columns xagio-flex-gap-medium">
                <div>
                    <label class="modal-label" for="autoCreateGroups_languageCode">Language</label>
                    <select id="getVolAndCpc_languageCode" class="xagio-input-select xagio-input-select-gray" name="language" data-default="<?php echo esc_attr($xagio_language) ?? ""; ?>">
                        <option value="">-- All Languages --</option>
                        <option	value="ar">Arabic</option>
                        <option	value="bn">Bengali</option>
                        <option	value="bg">Bulgarian</option>
                        <option	value="ca">Catalan</option>
                        <option	value="zh_CN">Chinese (Simplified)</option>
                        <option	value="zh_TW">Chinese (Traditional)</option>
                        <option	value="hr">Croatian</option>
                        <option	value="cs">Czech</option>
                        <option	value="da">Danish</option>
                        <option	value="nl">Dutch</option>
                        <option	value="en">English</option>
                        <option	value="et">Estonian</option>
                        <option	value="fa">Farsi</option>
                        <option	value="fi">Finnish</option>
                        <option	value="fr">French</option>
                        <option	value="de">German</option>
                        <option	value="el">Greek</option>
                        <option	value="iw">Hebrew (old)</option>
                        <option	value="hi">Hindi</option>
                        <option	value="hu">Hungarian</option>
                        <option	value="is">Icelandic</option>
                        <option	value="id">Indonesian</option>
                        <option	value="it">Italian</option>
                        <option	value="ja">Japanese</option>
                        <option	value="ko">Korean</option>
                        <option	value="lv">Latvian</option>
                        <option	value="lt">Lithuanian</option>
                        <option	value="ms">Malay</option>
                        <option	value="no">Norwegian</option>
                        <option	value="pl">Polish</option>
                        <option	value="pt">Portuguese</option>
                        <option	value="ro">Romanian</option>
                        <option	value="ru">Russian</option>
                        <option	value="sr">Serbian</option>
                        <option	value="sk">Slovak</option>
                        <option	value="sl">Slovenian</option>
                        <option	value="es">Spanish</option>
                        <option	value="sv">Swedish</option>
                        <option	value="tl">Tagalog</option>
                        <option	value="ta">Tamil</option>
                        <option	value="te">Telugu</option>
                        <option	value="th">Thai</option>
                        <option	value="tr">Turkish</option>
                        <option	value="uk">Ukrainian</option>
                        <option	value="ur">Urdu</option>
                        <option	value="vi">Vietnamese</option>
                        <option	value="zh_CN">Chinese (Simplified)</option>
                        <option	value="zh_TW">Chinese (Traditional)</option>
                    </select>
                </div>
                <div>
                    <label class="modal-label" for="autoCreateGroups_locationCode">Country</label>
                    <select id="getVolAndCpc_locationCode" class="xagio-input-select xagio-input-select-gray" name="location" data-default="<?php echo esc_attr($xagio_country) ?? ""; ?>">
                        <option	value="">WorldWide</option>
                        <option	value="Afghanistan">Afghanistan</option>
                        <option	value="Albania">Albania</option>
                        <option	value="Antarctica">Antarctica</option>
                        <option	value="Algeria">Algeria</option>
                        <option	value="American Samoa">American Samoa</option>
                        <option	value="Andorra">Andorra</option>
                        <option	value="Angola">Angola</option>
                        <option	value="Antigua and Barbuda">Antigua and Barbuda</option>
                        <option	value="Azerbaijan">Azerbaijan</option>
                        <option	value="Argentina">Argentina</option>
                        <option	value="Australia">Australia</option>
                        <option	value="Austria">Austria</option>
                        <option	value="The Bahamas">The Bahamas</option>
                        <option	value="Bahrain">Bahrain</option>
                        <option	value="Bangladesh">Bangladesh</option>
                        <option	value="Armenia">Armenia</option>
                        <option	value="Barbados">Barbados</option>
                        <option	value="Belgium">Belgium</option>
                        <option	value="Bermuda">Bermuda</option>
                        <option	value="Bhutan">Bhutan</option>
                        <option	value="Bolivia">Bolivia</option>
                        <option	value="Bosnia and Herzegovina">Bosnia and Herzegovina</option>
                        <option	value="Botswana">Botswana</option>
                        <option	value="Bouvet Island">Bouvet Island</option>
                        <option	value="Brazil">Brazil</option>
                        <option	value="Belize">Belize</option>
                        <option	value="British Indian Ocean Territory">British Indian Ocean Territory</option>
                        <option	value="Solomon Islands">Solomon Islands</option>
                        <option	value="British Virgin Islands">British Virgin Islands</option>
                        <option	value="Brunei">Brunei</option>
                        <option	value="Bulgaria">Bulgaria</option>
                        <option	value="Myanmar (Burma)">Myanmar (Burma)</option>
                        <option	value="Burundi">Burundi</option>
                        <option	value="Cambodia">Cambodia</option>
                        <option	value="Cameroon">Cameroon</option>
                        <option	value="Canada">Canada</option>
                        <option	value="Cape Verde">Cape Verde</option>
                        <option	value="Cayman Islands">Cayman Islands</option>
                        <option	value="Central African Republic">Central African Republic</option>
                        <option	value="Sri Lanka">Sri Lanka</option>
                        <option	value="Chad">Chad</option>
                        <option	value="Chile">Chile</option>
                        <option	value="China">China</option>
                        <option	value="Taiwan">Taiwan</option>
                        <option	value="Christmas Island">Christmas Island</option>
                        <option	value="Cocos (Keeling) Islands">Cocos (Keeling) Islands</option>
                        <option	value="Colombia">Colombia</option>
                        <option	value="Comoros">Comoros</option>
                        <option	value="Mayotte">Mayotte</option>
                        <option	value="Republic of the Congo">Republic of the Congo</option>
                        <option	value="Democratic Republic of the Congo">Democratic Republic of the Congo</option>
                        <option	value="Cook Islands">Cook Islands</option>
                        <option	value="Costa Rica">Costa Rica</option>
                        <option	value="Croatia">Croatia</option>
                        <option	value="Cyprus">Cyprus</option>
                        <option	value="Czechia">Czechia</option>
                        <option	value="Benin">Benin</option>
                        <option	value="Denmark">Denmark</option>
                        <option	value="Dominica">Dominica</option>
                        <option	value="Dominican Republic">Dominican Republic</option>
                        <option	value="Ecuador">Ecuador</option>
                        <option	value="El Salvador">El Salvador</option>
                        <option	value="Equatorial Guinea">Equatorial Guinea</option>
                        <option	value="Ethiopia">Ethiopia</option>
                        <option	value="Eritrea">Eritrea</option>
                        <option	value="Estonia">Estonia</option>
                        <option	value="Faroe Islands">Faroe Islands</option>
                        <option	value="Falkland Islands (Islas Malvinas)">Falkland Islands (Islas Malvinas)</option>
                        <option	value="South Georgia and the South Sandwich Islands">South Georgia and the South Sandwich Islands</option>
                        <option	value="Fiji">Fiji</option>
                        <option	value="Finland">Finland</option>
                        <option	value="France">France</option>
                        <option	value="French Guiana">French Guiana</option>
                        <option	value="French Polynesia">French Polynesia</option>
                        <option	value="French Southern and Antarctic Lands">French Southern and Antarctic Lands</option>
                        <option	value="Djibouti">Djibouti</option>
                        <option	value="Gabon">Gabon</option>
                        <option	value="Georgia">Georgia</option>
                        <option	value="The Gambia">The Gambia</option>
                        <option	value="Palestine">Palestine</option>
                        <option	value="Germany">Germany</option>
                        <option	value="Ghana">Ghana</option>
                        <option	value="Gibraltar">Gibraltar</option>
                        <option	value="Kiribati">Kiribati</option>
                        <option	value="Greece">Greece</option>
                        <option	value="Greenland">Greenland</option>
                        <option	value="Grenada">Grenada</option>
                        <option	value="Guadeloupe">Guadeloupe</option>
                        <option	value="Guam">Guam</option>
                        <option	value="Guatemala">Guatemala</option>
                        <option	value="Guinea">Guinea</option>
                        <option	value="Guyana">Guyana</option>
                        <option	value="Haiti">Haiti</option>
                        <option	value="Heard Island and McDonald Islands">Heard Island and McDonald Islands</option>
                        <option	value="Vatican City">Vatican City</option>
                        <option	value="Honduras">Honduras</option>
                        <option	value="Hong Kong">Hong Kong</option>
                        <option	value="Hungary">Hungary</option>
                        <option	value="Iceland">Iceland</option>
                        <option	value="India">India</option>
                        <option	value="Indonesia">Indonesia</option>
                        <option	value="Iraq">Iraq</option>
                        <option	value="Ireland">Ireland</option>
                        <option	value="Israel">Israel</option>
                        <option	value="Italy">Italy</option>
                        <option	value="Cote d'Ivoire">Cote d'Ivoire</option>
                        <option	value="Jamaica">Jamaica</option>
                        <option	value="Japan">Japan</option>
                        <option	value="Kazakhstan">Kazakhstan</option>
                        <option	value="Jordan">Jordan</option>
                        <option	value="Kenya">Kenya</option>
                        <option	value="South Korea">South Korea</option>
                        <option	value="Kuwait">Kuwait</option>
                        <option	value="Kyrgyzstan">Kyrgyzstan</option>
                        <option	value="Laos">Laos</option>
                        <option	value="Lebanon">Lebanon</option>
                        <option	value="Lesotho">Lesotho</option>
                        <option	value="Latvia">Latvia</option>
                        <option	value="Liberia">Liberia</option>
                        <option	value="Libya">Libya</option>
                        <option	value="Liechtenstein">Liechtenstein</option>
                        <option	value="Lithuania">Lithuania</option>
                        <option	value="Luxembourg">Luxembourg</option>
                        <option	value="Macao">Macao</option>
                        <option	value="Madagascar">Madagascar</option>
                        <option	value="Malawi">Malawi</option>
                        <option	value="Malaysia">Malaysia</option>
                        <option	value="Maldives">Maldives</option>
                        <option	value="Mali">Mali</option>
                        <option	value="Malta">Malta</option>
                        <option	value="Martinique">Martinique</option>
                        <option	value="Mauritania">Mauritania</option>
                        <option	value="Mauritius">Mauritius</option>
                        <option	value="Mexico">Mexico</option>
                        <option	value="Monaco">Monaco</option>
                        <option	value="Mongolia">Mongolia</option>
                        <option	value="Moldova">Moldova</option>
                        <option	value="Montenegro">Montenegro</option>
                        <option	value="Montserrat">Montserrat</option>
                        <option	value="Morocco">Morocco</option>
                        <option	value="Mozambique">Mozambique</option>
                        <option	value="Oman">Oman</option>
                        <option	value="Namibia">Namibia</option>
                        <option	value="Nauru">Nauru</option>
                        <option	value="Nepal">Nepal</option>
                        <option	value="Netherlands">Netherlands</option>
                        <option	value="Curacao">Curacao</option>
                        <option	value="Aruba">Aruba</option>
                        <option	value="Sint Maarten">Sint Maarten</option>
                        <option	value="Caribbean Netherlands">Caribbean Netherlands</option>
                        <option	value="New Caledonia">New Caledonia</option>
                        <option	value="Vanuatu">Vanuatu</option>
                        <option	value="New Zealand">New Zealand</option>
                        <option	value="Nicaragua">Nicaragua</option>
                        <option	value="Niger">Niger</option>
                        <option	value="Nigeria">Nigeria</option>
                        <option	value="Niue">Niue</option>
                        <option	value="Norfolk Island">Norfolk Island</option>
                        <option	value="Norway">Norway</option>
                        <option	value="Northern Mariana Islands">Northern Mariana Islands</option>
                        <option	value="United States Minor Outlying Islands">United States Minor Outlying Islands</option>
                        <option	value="Micronesia">Micronesia</option>
                        <option	value="Marshall Islands">Marshall Islands</option>
                        <option	value="Palau">Palau</option>
                        <option	value="Pakistan">Pakistan</option>
                        <option	value="Panama">Panama</option>
                        <option	value="Papua New Guinea">Papua New Guinea</option>
                        <option	value="Paraguay">Paraguay</option>
                        <option	value="Peru">Peru</option>
                        <option	value="Philippines">Philippines</option>
                        <option	value="Pitcairn Islands">Pitcairn Islands</option>
                        <option	value="Poland">Poland</option>
                        <option	value="Portugal">Portugal</option>
                        <option	value="Guinea-Bissau">Guinea-Bissau</option>
                        <option	value="Timor-Leste">Timor-Leste</option>
                        <option	value="Puerto Rico">Puerto Rico</option>
                        <option	value="Qatar">Qatar</option>
                        <option	value="Reunion">Reunion</option>
                        <option	value="Romania">Romania</option>
                        <option	value="Rwanda">Rwanda</option>
                        <option	value="Saint Barthelemy">Saint Barthelemy</option>
                        <option	value="Saint Helena, Ascension and Tristan da Cunha">Saint Helena, Ascension and Tristan da Cunha</option>
                        <option	value="Saint Kitts and Nevis">Saint Kitts and Nevis</option>
                        <option	value="Anguilla">Anguilla</option>
                        <option	value="Saint Lucia">Saint Lucia</option>
                        <option	value="Saint Martin">Saint Martin</option>
                        <option	value="Saint Pierre and Miquelon">Saint Pierre and Miquelon</option>
                        <option	value="Saint Vincent and the Grenadines">Saint Vincent and the Grenadines</option>
                        <option	value="San Marino">San Marino</option>
                        <option	value="Sao Tome and Principe">Sao Tome and Principe</option>
                        <option	value="Saudi Arabia">Saudi Arabia</option>
                        <option	value="Senegal">Senegal</option>
                        <option	value="Serbia">Serbia</option>
                        <option	value="Seychelles">Seychelles</option>
                        <option	value="Sierra Leone">Sierra Leone</option>
                        <option	value="Singapore">Singapore</option>
                        <option	value="Slovakia">Slovakia</option>
                        <option	value="Vietnam">Vietnam</option>
                        <option	value="Slovenia">Slovenia</option>
                        <option	value="Somalia">Somalia</option>
                        <option	value="South Africa">South Africa</option>
                        <option	value="Zimbabwe">Zimbabwe</option>
                        <option	value="Spain">Spain</option>
                        <option	value="South Sudan">South Sudan</option>
                        <option	value="Western Sahara">Western Sahara</option>
                        <option	value="Sudan">Sudan</option>
                        <option	value="Suriname">Suriname</option>
                        <option	value="Svalbard and Jan Mayen">Svalbard and Jan Mayen</option>
                        <option	value="Eswatini">Eswatini</option>
                        <option	value="Sweden">Sweden</option>
                        <option	value="Switzerland">Switzerland</option>
                        <option	value="Tajikistan">Tajikistan</option>
                        <option	value="Thailand">Thailand</option>
                        <option	value="Togo">Togo</option>
                        <option	value="Tokelau">Tokelau</option>
                        <option	value="Tonga">Tonga</option>
                        <option	value="Trinidad and Tobago">Trinidad and Tobago</option>
                        <option	value="United Arab Emirates">United Arab Emirates</option>
                        <option	value="Tunisia">Tunisia</option>
                        <option	value="Turkiye">Turkiye</option>
                        <option	value="Turkmenistan">Turkmenistan</option>
                        <option	value="Turks and Caicos Islands">Turks and Caicos Islands</option>
                        <option	value="Tuvalu">Tuvalu</option>
                        <option	value="Uganda">Uganda</option>
                        <option	value="Ukraine">Ukraine</option>
                        <option	value="North Macedonia">North Macedonia</option>
                        <option	value="Egypt">Egypt</option>
                        <option	value="United Kingdom">United Kingdom</option>
                        <option	value="Guernsey">Guernsey</option>
                        <option	value="Jersey">Jersey</option>
                        <option	value="Isle of Man">Isle of Man</option>
                        <option	value="Tanzania">Tanzania</option>
                        <option	value="United States">United States</option>
                        <option	value="U.S. Virgin Islands">U.S. Virgin Islands</option>
                        <option	value="Burkina Faso">Burkina Faso</option>
                        <option	value="Uruguay">Uruguay</option>
                        <option	value="Uzbekistan">Uzbekistan</option>
                        <option	value="Venezuela">Venezuela</option>
                        <option	value="Wallis and Futuna">Wallis and Futuna</option>
                        <option	value="Samoa">Samoa</option>
                        <option	value="Yemen">Yemen</option>
                        <option	value="Zambia">Zambia</option>
                        <option	value="Kosovo">Kosovo</option>
                    </select>
                </div>
            </div>

            <div class="xag-cost-container xagio-flex-gap-small xagio-margin-top-medium">
                <i class="xagio-icon xagio-icon-info"></i>
                <div id="xagsCost"></div>
            </div>

            <div class="xagio-flex-space-between xagio-flex-gap-medium xagio-margin-top-large">
                <div class="xagio-slider-container xagio-margin-none xagio-refresh-vol-cpc-values">
                    <input type="hidden" name="XAGIO_REFRESH_VOL_CPC_VALUES" id="XAGIO_REFRESH_VOL_CPC_VALUES" value="0"/>
                    <div class="xagio-slider-frame">
                        <span class="xagio-slider-button" data-element="XAGIO_REFRESH_VOL_CPC_VALUES"></span>
                    </div>
                    <p class="xagio-slider-label">Refresh existing values? <i class="xagio-icon xagio-icon-info help-icon" data-xagio-tooltip data-xagio-title="By default, we only check VOL/CPC for keywords which are empty. Turn ON to also refresh existing VOL/CPC."></i></p>
                </div>
                <div class="xagio-flex-right xagio-flex-gap-medium">
                    <button class="xagio-button xagio-button-outline" data-xagio-close-modal type="button"><i class="xagio-icon xagio-icon-close"></i> Cancel</button>
                    <button class="xagio-button xagio-button-primary submitKeywords" type="submit"><i class="xagio-icon xagio-icon-check"></i> Retrieve VOL & CPC</button>
                </div>
            </div>
        </form>
    </div>
</dialog>

<!-- Rank Tracking Modal -->
<dialog id="rankTrackingModal" class="xagio-modal xagio-modal-lg">

    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-key"></i> Track Keyword Rankings</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>

    <div class="xagio-modal-body">
        <form id="rankTrackingForm">
            <input type="hidden" name="keywords" id="keywords">

                <div class="rank-tracking-modal-se">
                    <label class="modal-label" for="search_engine">Select Engine</label>
                    <select id="search_engine" class="xagio-input-select xagio-input-select-gray" multiple="" name="search_engine[]">
                        <option value="5820" data-location-code="2004">google.com.af (Afghanistan/Arabic)</option>
                        <option value="5297" data-location-code="2004">google.com.af (Afghanistan/English)</option>
                        <option value="37" data-location-code="2004">google.com.af (Afghanistan/Pashto)</option>
                        <option value="38" data-location-code="2004">google.com.af (Afghanistan/Persian)</option>
                        <option value="39" data-location-code="2008">google.al (Albania/Albanian)</option>
                        <option value="5765" data-location-code="2008">google.al (Albania/English)</option>
                        <option value="1013" data-location-code="2008">search.yahoo.com (Albania/All Languages)</option>
                        <option value="828" data-location-code="2008">search.yahoo.com (Albania/English)</option>
                        <option value="41" data-location-code="2012">google.dz (Algeria/Arabic)</option>
                        <option value="5339" data-location-code="2012">google.dz (Algeria/English)</option>
                        <option value="40" data-location-code="2012">google.dz (Algeria/French)</option>
                        <option value="1014" data-location-code="2012">search.yahoo.com (Algeria/All Languages)</option>
                        <option value="829" data-location-code="2012">search.yahoo.com (Algeria/Arabic)</option>
                        <option value="830" data-location-code="2012">search.yahoo.com (Algeria/French)</option>
                        <option value="42" data-location-code="2016">google.as (American Samoa/English)</option>
                        <option value="43" data-location-code="2020">google.ad (Andorra/Catalan)</option>
                        <option value="5271" data-location-code="2020">google.ad (Andorra/English)</option>
                        <option value="5291" data-location-code="2024">google.co.ao (Angola/English)</option>
                        <option value="44" data-location-code="2024">google.co.ao (Angola/Kongo)</option>
                        <option value="45" data-location-code="2024">google.co.ao (Angola/Portuguese)</option>
                        <option value="46" data-location-code="2660">google.com.ai (Anguilla/English)</option>
                        <option value="47" data-location-code="2028">google.com.ag (Antigua and Barbuda/English)</option>
                        <option value="1015" data-location-code="2032">ar.search.yahoo.com (Argentina/All Languages)</option>
                        <option value="831" data-location-code="2032">ar.search.yahoo.com (Argentina/English)</option>
                        <option value="832" data-location-code="2032">ar.search.yahoo.com (Argentina/Spanish)</option>
                        <option value="962" data-location-code="2032">bing.com (Argentina/All Languages)</option>
                        <option value="400" data-location-code="2032">bing.com (Argentina/Spanish)</option>
                        <option value="3402" data-location-code="2032">google.com.ar (Argentina/English)</option>
                        <option value="48" data-location-code="2032">google.com.ar (Argentina/Espanol (Latinoamerica))</option>
                        <option value="5437" data-location-code="2032">google.com.ar (Argentina/Spanish)</option>
                        <option value="49" data-location-code="2051">google.am (Armenia/Armenian)</option>
                        <option value="5273" data-location-code="2051">google.am (Armenia/English)</option>
                        <option value="50" data-location-code="2051">google.am (Armenia/Russian)</option>
                        <option value="1016" data-location-code="2051">search.yahoo.com (Armenia/All Languages)</option>
                        <option value="833" data-location-code="2051">search.yahoo.com (Armenia/English)</option>
                        <option value="834" data-location-code="2051">search.yahoo.com (Armenia/Russian)</option>
                        <option value="6222" data-location-code="2533">google.com (Aruba/English)</option>
                        <option value="1017" data-location-code="2036">au.search.yahoo.com (Australia/All Languages)</option>
                        <option value="835" data-location-code="2036">au.search.yahoo.com (Australia/English)</option>
                        <option value="963" data-location-code="2036">bing.com (Australia/All Languages)</option>
                        <option value="387" data-location-code="2036">bing.com (Australia/English)</option>
                        <option value="51" data-location-code="2036">google.com.au (Australia/English)</option>
                        <option value="1018" data-location-code="2040">at.search.yahoo.com (Austria/All Languages)</option>
                        <option value="836" data-location-code="2040">at.search.yahoo.com (Austria/English)</option>
                        <option value="837" data-location-code="2040">at.search.yahoo.com (Austria/German)</option>
                        <option value="964" data-location-code="2040">bing.com (Austria/All Languages)</option>
                        <option value="383" data-location-code="2040">bing.com (Austria/German)</option>
                        <option value="3385" data-location-code="2040">google.at (Austria/English)</option>
                        <option value="52" data-location-code="2040">google.at (Austria/German)</option>
                        <option value="53" data-location-code="2031">google.az (Azerbaijan/Azerbaijani)</option>
                        <option value="3386" data-location-code="2031">google.az (Azerbaijan/English)</option>
                        <option value="13" data-location-code="2031">google.az (Azerbaijan/Russian)</option>
                        <option value="1019" data-location-code="2031">search.yahoo.com (Azerbaijan/All Languages)</option>
                        <option value="838" data-location-code="2031">search.yahoo.com (Azerbaijan/English)</option>
                        <option value="839" data-location-code="2031">search.yahoo.com (Azerbaijan/Russian)</option>
                        <option value="55" data-location-code="2044">google.bs (Bahamas/English)</option>
                        <option value="56" data-location-code="2048">google.com.bh (Bahrain/Arabic)</option>
                        <option value="2868" data-location-code="2048">google.com.bh (Bahrain/English)</option>
                        <option value="1020" data-location-code="2048">search.yahoo.com (Bahrain/All Languages)</option>
                        <option value="840" data-location-code="2048">search.yahoo.com (Bahrain/Arabic)</option>
                        <option value="57" data-location-code="2050">google.com.bd (Bangladesh/Bengali)</option>
                        <option value="3403" data-location-code="2050">google.com.bd (Bangladesh/English)</option>
                        <option value="5708" data-location-code="2052">google.com (Barbados/English)</option>
                        <option value="58" data-location-code="">google.by (Belarus/Belarusian)</option>
                        <option value="5285" data-location-code="">google.by (Belarus/English)</option>
                        <option value="12" data-location-code="">google.by (Belarus/Russian)</option>
                        <option value="965" data-location-code="2056">bing.com (Belgium/All Languages)</option>
                        <option value="421" data-location-code="2056">bing.com (Belgium/Dutch)</option>
                        <option value="408" data-location-code="2056">bing.com (Belgium/French)</option>
                        <option value="842" data-location-code="2056">fr.search.yahoo.com (Belgium/French)</option>
                        <option value="60" data-location-code="2056">google.be (Belgium/Dutch)</option>
                        <option value="3387" data-location-code="2056">google.be (Belgium/English)</option>
                        <option value="61" data-location-code="2056">google.be (Belgium/French)</option>
                        <option value="62" data-location-code="2056">google.be (Belgium/German)</option>
                        <option value="841" data-location-code="2056">nl.search.yahoo.com (Belgium/Dutch)</option>
                        <option value="1021" data-location-code="2056">search.yahoo.com (Belgium/All Languages)</option>
                        <option value="5972" data-location-code="2056">search.yahoo.com (Belgium/English)</option>
                        <option value="63" data-location-code="2084">google.com.bz (Belize/English)</option>
                        <option value="64" data-location-code="2084">google.com.bz (Belize/Espanol (Latinoamerica))</option>
                        <option value="5782" data-location-code="2084">google.com.bz (Belize/Spanish)</option>
                        <option value="5283" data-location-code="2204">google.bj (Benin/English)</option>
                        <option value="65" data-location-code="2204">google.bj (Benin/French)</option>
                        <option value="66" data-location-code="2204">google.bj (Benin/Yoruba)</option>
                        <option value="5761" data-location-code="2060">google.com (Bermuda/English)</option>
                        <option value="3388" data-location-code="2064">google.bt (Bhutan/English)</option>
                        <option value="5299" data-location-code="2068">google.com.bo (Bolivia/English)</option>
                        <option value="67" data-location-code="2068">google.com.bo (Bolivia/Espanol (Latinoamerica))</option>
                        <option value="68" data-location-code="2068">google.com.bo (Bolivia/Quechua)</option>
                        <option value="1022" data-location-code="2068">search.yahoo.com (Bolivia/All Languages)</option>
                        <option value="843" data-location-code="2068">search.yahoo.com (Bolivia/English)</option>
                        <option value="69" data-location-code="2070">google.ba (Bosnia and Herzegovina/Bosnian)</option>
                        <option value="71" data-location-code="2070">google.ba (Bosnia and Herzegovina/Croatian)</option>
                        <option value="5275" data-location-code="2070">google.ba (Bosnia and Herzegovina/English)</option>
                        <option value="70" data-location-code="2070">google.ba (Bosnia and Herzegovina/Serbian)</option>
                        <option value="1023" data-location-code="2070">search.yahoo.com (Bosnia and Herzegovina/All Languages)</option>
                        <option value="844" data-location-code="2070">search.yahoo.com (Bosnia and Herzegovina/Croatian)</option>
                        <option value="845" data-location-code="2070">search.yahoo.com (Bosnia and Herzegovina/English)</option>
                        <option value="5293" data-location-code="2072">google.co.bw (Botswana/English)</option>
                        <option value="72" data-location-code="2072">google.co.bw (Botswana/Tswana)</option>
                        <option value="966" data-location-code="2076">bing.com (Brazil/All Languages)</option>
                        <option value="424" data-location-code="2076">bing.com (Brazil/Portuguese)</option>
                        <option value="1024" data-location-code="2076">br.search.yahoo.com (Brazil/All Languages)</option>
                        <option value="846" data-location-code="2076">br.search.yahoo.com (Brazil/English)</option>
                        <option value="847" data-location-code="2076">br.search.yahoo.com (Brazil/Portuguese)</option>
                        <option value="3405" data-location-code="2076">google.com.br (Brazil/English)</option>
                        <option value="73" data-location-code="2076">google.com.br (Brazil/Portuguese (Brasil))</option>
                        <option value="360" data-location-code="2092">google.vg (British Virgin Islands/English)</option>
                        <option value="75" data-location-code="2096">google.com.bn (Brunei/Chinese (Simplified Han))</option>
                        <option value="3404" data-location-code="2096">google.com.bn (Brunei/English)</option>
                        <option value="74" data-location-code="2096">google.com.bn (Brunei/Malay)</option>
                        <option value="967" data-location-code="2100">bing.com (Bulgaria/All Languages)</option>
                        <option value="380" data-location-code="2100">bing.com (Bulgaria/Bulgarian)</option>
                        <option value="76" data-location-code="2100">google.bg (Bulgaria/Bulgarian)</option>
                        <option value="5279" data-location-code="2100">google.bg (Bulgaria/English)</option>
                        <option value="1025" data-location-code="2100">search.yahoo.com (Bulgaria/All Languages)</option>
                        <option value="848" data-location-code="2100">search.yahoo.com (Bulgaria/Bulgarian)</option>
                        <option value="849" data-location-code="2100">search.yahoo.com (Bulgaria/English)</option>
                        <option value="5277" data-location-code="2854">google.bf (Burkina Faso/English)</option>
                        <option value="77" data-location-code="2854">google.bf (Burkina Faso/French)</option>
                        <option value="5281" data-location-code="2108">google.bi (Burundi/English)</option>
                        <option value="79" data-location-code="2108">google.bi (Burundi/French)</option>
                        <option value="78" data-location-code="2108">google.bi (Burundi/Kirundi)</option>
                        <option value="80" data-location-code="2108">google.bi (Burundi/Swahili)</option>
                        <option value="3409" data-location-code="2116">google.com.kh (Cambodia/English)</option>
                        <option value="81" data-location-code="2116">google.com.kh (Cambodia/Khmer)</option>
                        <option value="3391" data-location-code="2120">google.cm (Cameroon/English)</option>
                        <option value="82" data-location-code="2120">google.cm (Cameroon/French)</option>
                        <option value="968" data-location-code="2124">bing.com (Canada/All Languages)</option>
                        <option value="388" data-location-code="2124">bing.com (Canada/English)</option>
                        <option value="409" data-location-code="2124">bing.com (Canada/French)</option>
                        <option value="1026" data-location-code="2124">ca.search.yahoo.com (Canada/All Languages)</option>
                        <option value="850" data-location-code="2124">ca.search.yahoo.com (Canada/English)</option>
                        <option value="851" data-location-code="2124">ca.search.yahoo.com (Canada/French)</option>
                        <option value="23" data-location-code="2124">google.ca (Canada/English)</option>
                        <option value="84" data-location-code="2124">google.ca (Canada/French)</option>
                        <option value="5333" data-location-code="2132">google.cv (Cape Verde/English)</option>
                        <option value="85" data-location-code="2132">google.cv (Cape Verde/Portuguese)</option>
                        <option value="5783" data-location-code="2132">google.cv (Cape Verde/Portuguese (Brasil))</option>
                        <option value="267" data-location-code="">google.cat (Catalonia/Catalan)</option>
                        <option value="5763" data-location-code="2136">google.com (Cayman Islands/English)</option>
                        <option value="5287" data-location-code="2140">google.cf (Central African Republic/English)</option>
                        <option value="86" data-location-code="2140">google.cf (Central African Republic/French)</option>
                        <option value="87" data-location-code="2148">google.td (Chad/Arabic)</option>
                        <option value="5381" data-location-code="2148">google.td (Chad/English)</option>
                        <option value="88" data-location-code="2148">google.td (Chad/French)</option>
                        <option value="969" data-location-code="2152">bing.com (Chile/All Languages)</option>
                        <option value="401" data-location-code="2152">bing.com (Chile/Spanish)</option>
                        <option value="853" data-location-code="2152">espanol.search.yahoo.com (Chile/Spanish)</option>
                        <option value="3390" data-location-code="2152">google.cl (Chile/English)</option>
                        <option value="89" data-location-code="2152">google.cl (Chile/Espanol (Latinoamerica))</option>
                        <option value="5769" data-location-code="2152">google.cl (Chile/Spanish)</option>
                        <option value="1027" data-location-code="2152">search.yahoo.com (Chile/All Languages)</option>
                        <option value="970" data-location-code="2156">bing.com (China/All Languages)</option>
                        <option value="434" data-location-code="2156">bing.com (China/Chinese)</option>
                        <option value="90" data-location-code="2156">google.com.hk (China/Chinese (Simplified Han))</option>
                        <option value="1028" data-location-code="2156">search.yahoo.com (China/All Languages)</option>
                        <option value="5974" data-location-code="2156">search.yahoo.com (China/Chinese (Simplified Han))</option>
                        <option value="854" data-location-code="2156">search.yahoo.com (China/Chinese (Traditional))</option>
                        <option value="855" data-location-code="2156">search.yahoo.com (China/English)</option>
                        <option value="856" data-location-code="2170">espanol.search.yahoo.com (Colombia/Spanish)</option>
                        <option value="3406" data-location-code="2170">google.com.co (Colombia/English)</option>
                        <option value="91" data-location-code="2170">google.com.co (Colombia/Espanol (Latinoamerica))</option>
                        <option value="5742" data-location-code="2170">google.com.co (Colombia/Spanish)</option>
                        <option value="1029" data-location-code="2170">search.yahoo.com (Colombia/All Languages)</option>
                        <option value="857" data-location-code="2170">search.yahoo.com (Colombia/English)</option>
                        <option value="5799" data-location-code="2174">google.com (Comoros/French)</option>
                        <option value="101" data-location-code="2184">google.co.ck (Cook Islands/English)</option>
                        <option value="3392" data-location-code="2188">google.co.cr (Costa Rica/English)</option>
                        <option value="102" data-location-code="2188">google.co.cr (Costa Rica/Espanol (Latinoamerica))</option>
                        <option value="5781" data-location-code="2188">google.co.cr (Costa Rica/Spanish)</option>
                        <option value="1030" data-location-code="2188">search.yahoo.com (Costa Rica/All Languages)</option>
                        <option value="859" data-location-code="2188">search.yahoo.com (Costa Rica/English)</option>
                        <option value="858" data-location-code="2188">search.yahoo.com (Costa Rica/Spanish)</option>
                        <option value="5289" data-location-code="2384">google.ci (Cote dIvoire/English)</option>
                        <option value="103" data-location-code="2384">google.ci (Cote dIvoire/French)</option>
                        <option value="971" data-location-code="2191">bing.com (Croatia/All Languages)</option>
                        <option value="413" data-location-code="2191">bing.com (Croatia/Croatian)</option>
                        <option value="104" data-location-code="2191">google.hr (Croatia/Croatian)</option>
                        <option value="5767" data-location-code="2191">google.hr (Croatia/English)</option>
                        <option value="1031" data-location-code="2191">search.yahoo.com (Croatia/All Languages)</option>
                        <option value="860" data-location-code="2191">search.yahoo.com (Croatia/Croatian)</option>
                        <option value="5301" data-location-code="">google.com.cu (Cuba/English)</option>
                        <option value="105" data-location-code="">google.com.cu (Cuba/Espanol (Latinoamerica))</option>
                        <option value="6225" data-location-code="2531">google.com (Curacao/English)</option>
                        <option value="106" data-location-code="2196">google.com.cy (Cyprus/English)</option>
                        <option value="107" data-location-code="2196">google.com.cy (Cyprus/Greek)</option>
                        <option value="108" data-location-code="2196">google.com.cy (Cyprus/Turkish)</option>
                        <option value="972" data-location-code="2203">bing.com (Czechia/All Languages)</option>
                        <option value="381" data-location-code="2203">bing.com (Czechia/Czech)</option>
                        <option value="109" data-location-code="2203">google.cz (Czechia/Czech)</option>
                        <option value="5335" data-location-code="2203">google.cz (Czechia/English)</option>
                        <option value="1032" data-location-code="2203">search.yahoo.com (Czechia/All Languages)</option>
                        <option value="861" data-location-code="2203">search.yahoo.com (Czechia/Czech)</option>
                        <option value="95" data-location-code="2180">google.cd (Democratic Republic of the Congo/Alur)</option>
                        <option value="96" data-location-code="2180">google.cd (Democratic Republic of the Congo/French)</option>
                        <option value="99" data-location-code="2180">google.cd (Democratic Republic of the Congo/Kongo)</option>
                        <option value="100" data-location-code="2180">google.cd (Democratic Republic of the Congo/Lingala)</option>
                        <option value="98" data-location-code="2180">google.cd (Democratic Republic of the Congo/Swahili)</option>
                        <option value="97" data-location-code="2180">google.cd (Democratic Republic of the Congo/Tshiluba)</option>
                        <option value="1033" data-location-code="2180">search.yahoo.com (Democratic Republic of the Congo/AllLanguages)</option>
                        <option value="862" data-location-code="2180">search.yahoo.com (Democratic Republic of the Congo/French)</option>
                        <option value="973" data-location-code="2208">bing.com (Denmark/All Languages)</option>
                        <option value="382" data-location-code="2208">bing.com (Denmark/Danish)</option>
                        <option value="1034" data-location-code="2208">dk.search.yahoo.com (Denmark/All Languages)</option>
                        <option value="863" data-location-code="2208">dk.search.yahoo.com (Denmark/Danish)</option>
                        <option value="864" data-location-code="2208">dk.search.yahoo.com (Denmark/English)</option>
                        <option value="110" data-location-code="2208">google.dk (Denmark/Danish)</option>
                        <option value="3421" data-location-code="2208">google.dk (Denmark/English)</option>
                        <option value="111" data-location-code="2208">google.dk (Denmark/Faroese)</option>
                        <option value="114" data-location-code="2262">google.dj (Djibouti/Arabic)</option>
                        <option value="5337" data-location-code="2262">google.dj (Djibouti/English)</option>
                        <option value="113" data-location-code="2262">google.dj (Djibouti/French)</option>
                        <option value="112" data-location-code="2262">google.dj (Djibouti/Somali)</option>
                        <option value="115" data-location-code="2212">google.dm (Dominica/English)</option>
                        <option value="5303" data-location-code="2214">google.com.do (Dominican Republic/English)</option>
                        <option value="116" data-location-code="2214">google.com.do (Dominican Republic/Espanol (Latinoamerica))</option>
                        <option value="5760" data-location-code="2214">google.com.do (Dominican Republic/Spanish)</option>
                        <option value="5305" data-location-code="2218">google.com.ec (Ecuador/English)</option>
                        <option value="117" data-location-code="2218">google.com.ec (Ecuador/Espanol (Latinoamerica))</option>
                        <option value="5774" data-location-code="2218">google.com.ec (Ecuador/Spanish)</option>
                        <option value="1035" data-location-code="2218">search.yahoo.com (Ecuador/All Languages)</option>
                        <option value="865" data-location-code="2218">search.yahoo.com (Ecuador/English)</option>
                        <option value="118" data-location-code="2818">google.com.eg (Egypt/Arabic)</option>
                        <option value="2873" data-location-code="2818">google.com.eg (Egypt/English)</option>
                        <option value="1036" data-location-code="2818">search.yahoo.com (Egypt/All Languages)</option>
                        <option value="866" data-location-code="2818">search.yahoo.com (Egypt/Arabic)</option>
                        <option value="867" data-location-code="2818">search.yahoo.com (Egypt/English)</option>
                        <option value="5321" data-location-code="2222">google.com.sv (El Salvador/English)</option>
                        <option value="119" data-location-code="2222">google.com.sv (El Salvador/Espanol (Latinoamerica))</option>
                        <option value="5743" data-location-code="2222">google.com.sv (El Salvador/Spanish)</option>
                        <option value="1037" data-location-code="2222">search.yahoo.com (El Salvador/All Languages)</option>
                        <option value="868" data-location-code="2222">search.yahoo.com (El Salvador/English)</option>
                        <option value="5787" data-location-code="2232">google.com (Eritrea/Arabic)</option>
                        <option value="974" data-location-code="2233">bing.com (Estonia/All Languages)</option>
                        <option value="406" data-location-code="2233">bing.com (Estonia/Estonian)</option>
                        <option value="3422" data-location-code="2233">google.ee (Estonia/English)</option>
                        <option value="121" data-location-code="2233">google.ee (Estonia/Estonian)</option>
                        <option value="120" data-location-code="2233">google.ee (Estonia/Russian)</option>
                        <option value="1038" data-location-code="2233">search.yahoo.com (Estonia/All Languages)</option>
                        <option value="869" data-location-code="2233">search.yahoo.com (Estonia/Estonian)</option>
                        <option value="870" data-location-code="2233">search.yahoo.com (Estonia/Russian)</option>
                        <option value="122" data-location-code="2231">google.com.et (Ethiopia/Amharic)</option>
                        <option value="3407" data-location-code="2231">google.com.et (Ethiopia/English)</option>
                        <option value="123" data-location-code="2231">google.com.et (Ethiopia/Oromo)</option>
                        <option value="125" data-location-code="2231">google.com.et (Ethiopia/Somali)</option>
                        <option value="124" data-location-code="2231">google.com.et (Ethiopia/Tigrinya)</option>
                        <option value="5789" data-location-code="2234">google.com (Faroe Islands/Faroese)</option>
                        <option value="126" data-location-code="2242">google.com.fj (Fiji/English)</option>
                        <option value="975" data-location-code="2246">bing.com (Finland/All Languages)</option>
                        <option value="407" data-location-code="2246">bing.com (Finland/Finnish)</option>
                        <option value="1039" data-location-code="2246">fi.search.yahoo.com (Finland/All Languages)</option>
                        <option value="871" data-location-code="2246">fi.search.yahoo.com (Finland/English)</option>
                        <option value="872" data-location-code="2246">fi.search.yahoo.com (Finland/Finnish)</option>
                        <option value="873" data-location-code="2246">fi.search.yahoo.com (Finland/Swedish)</option>
                        <option value="3423" data-location-code="2246">google.fi (Finland/English)</option>
                        <option value="128" data-location-code="2246">google.fi (Finland/Finnish)</option>
                        <option value="127" data-location-code="2246">google.fi (Finland/Swedish)</option>
                        <option value="976" data-location-code="2250">bing.com (France/All Languages)</option>
                        <option value="411" data-location-code="2250">bing.com (France/French)</option>
                        <option value="1040" data-location-code="2250">fr.search.yahoo.com (France/All Languages)</option>
                        <option value="874" data-location-code="2250">fr.search.yahoo.com (France/French)</option>
                        <option value="2838" data-location-code="2250">google.fr (France/English)</option>
                        <option value="129" data-location-code="2250">google.fr (France/French)</option>
                        <option value="5793" data-location-code="2254">google.com (French Guiana/French)</option>
                        <option value="5816" data-location-code="2258">google.com (French Polynesia/French)</option>
                        <option value="5341" data-location-code="2266">google.ga (Gabon/English)</option>
                        <option value="130" data-location-code="2266">google.ga (Gabon/French)</option>
                        <option value="131" data-location-code="2270">google.gm (Gambia/English)</option>
                        <option value="132" data-location-code="2270">google.gm (Gambia/Wolof)</option>
                        <option value="5343" data-location-code="2268">google.ge (Georgia/English)</option>
                        <option value="133" data-location-code="2268">google.ge (Georgia/Georgian)</option>
                        <option value="1041" data-location-code="2268">search.yahoo.com (Georgia/All Languages)</option>
                        <option value="875" data-location-code="2268">search.yahoo.com (Georgia/English)</option>
                        <option value="977" data-location-code="2276">bing.com (Germany/All Languages)</option>
                        <option value="385" data-location-code="2276">bing.com (Germany/German)</option>
                        <option value="1042" data-location-code="2276">de.search.yahoo.com (Germany/All Languages)</option>
                        <option value="876" data-location-code="2276">de.search.yahoo.com (Germany/German)</option>
                        <option value="2927" data-location-code="2276">google.de (Germany/English)</option>
                        <option value="25" data-location-code="2276">google.de (Germany/German)</option>
                        <option value="136" data-location-code="2288">google.com.gh (Ghana/Akan)</option>
                        <option value="138" data-location-code="2288">google.com.gh (Ghana/English)</option>
                        <option value="137" data-location-code="2288">google.com.gh (Ghana/Ewe)</option>
                        <option value="139" data-location-code="2288">google.com.gh (Ghana/Ga)</option>
                        <option value="135" data-location-code="2288">google.com.gh (Ghana/Hausa)</option>
                        <option value="141" data-location-code="2292">google.com.gi (Gibraltar/English)</option>
                        <option value="5400" data-location-code="2292">google.com.gi (Gibraltar/Espanol (Latinoamerica))</option>
                        <option value="143" data-location-code="2292">google.com.gi (Gibraltar/Italian)</option>
                        <option value="140" data-location-code="2292">google.com.gi (Gibraltar/Portuguese)</option>
                        <option value="142" data-location-code="2292">google.com.gi (Gibraltar/Spanish)</option>
                        <option value="978" data-location-code="2300">bing.com (Greece/All Languages)</option>
                        <option value="386" data-location-code="2300">bing.com (Greece/Greek)</option>
                        <option value="3424" data-location-code="2300">google.gr (Greece/English)</option>
                        <option value="144" data-location-code="2300">google.gr (Greece/Greek)</option>
                        <option value="1043" data-location-code="2300">gr.search.yahoo.com (Greece/All Languages)</option>
                        <option value="877" data-location-code="2300">gr.search.yahoo.com (Greece/English)</option>
                        <option value="878" data-location-code="2300">gr.search.yahoo.com (Greece/Greek)</option>
                        <option value="145" data-location-code="2304">google.gl (Greenland/Danish)</option>
                        <option value="5345" data-location-code="2304">google.gl (Greenland/English)</option>
                        <option value="5791" data-location-code="2308">google.com (Grenada/English)</option>
                        <option value="5347" data-location-code="2312">google.gp (Guadeloupe/English)</option>
                        <option value="146" data-location-code="2312">google.gp (Guadeloupe/French)</option>
                        <option value="5702" data-location-code="2316">google.com (Guam/English)</option>
                        <option value="3673" data-location-code="2320">google.com.gt (Guatemala/English)</option>
                        <option value="147" data-location-code="2320">google.com.gt (Guatemala/Espanol (Latinoamerica))</option>
                        <option value="5772" data-location-code="2320">google.com.gt (Guatemala/Spanish)</option>
                        <option value="1044" data-location-code="2320">search.yahoo.com (Guatemala/All Languages)</option>
                        <option value="879" data-location-code="2320">search.yahoo.com (Guatemala/English)</option>
                        <option value="148" data-location-code="2831">google.gg (Guernsey/English)</option>
                        <option value="149" data-location-code="2831">google.gg (Guernsey/French)</option>
                        <option value="5795" data-location-code="2324">google.com (Guinea/French)</option>
                        <option value="150" data-location-code="2328">google.gy (Guyana/English)</option>
                        <option value="5351" data-location-code="2332">google.ht (Haiti/English)</option>
                        <option value="152" data-location-code="2332">google.ht (Haiti/French)</option>
                        <option value="151" data-location-code="2332">google.ht (Haiti/Haitian)</option>
                        <option value="5349" data-location-code="2340">google.hn (Honduras/English)</option>
                        <option value="153" data-location-code="2340">google.hn (Honduras/Espanol (Latinoamerica))</option>
                        <option value="5768" data-location-code="2340">google.hn (Honduras/Spanish)</option>
                        <option value="1045" data-location-code="2340">search.yahoo.com (Honduras/All Languages)</option>
                        <option value="880" data-location-code="2340">search.yahoo.com (Honduras/English)</option>
                        <option value="979" data-location-code="2344">bing.com (Hong Kong/All Languages)</option>
                        <option value="435" data-location-code="2344">bing.com (Hong Kong/Chinese (Traditional Han))</option>
                        <option value="5733" data-location-code="2344">google.com.hk (Hong Kong/Chinese)</option>
                        <option value="3611" data-location-code="2344">google.com.hk (Hong Kong/Chinese (Simplified))</option>
                        <option value="154" data-location-code="2344">google.com.hk (Hong Kong/Chinese (Traditional))</option>
                        <option value="5735" data-location-code="2344">google.com.hk (Hong Kong/Chinese (Traditional Han))</option>
                        <option value="2843" data-location-code="2344">google.com.hk (Hong Kong/English)</option>
                        <option value="1046" data-location-code="2344">hk.search.yahoo.com (Hong Kong/All Languages)</option>
                        <option value="881" data-location-code="2344">hk.search.yahoo.com (Hong Kong/Chinese (Traditional Han))</option>
                        <option value="882" data-location-code="2344">hk.search.yahoo.com (Hong Kong/English)</option>
                        <option value="980" data-location-code="2348">bing.com (Hungary/All Languages)</option>
                        <option value="414" data-location-code="2348">bing.com (Hungary/Hungarian)</option>
                        <option value="3425" data-location-code="2348">google.hu (Hungary/English)</option>
                        <option value="155" data-location-code="2348">google.hu (Hungary/Hungarian)</option>
                        <option value="1047" data-location-code="2348">search.yahoo.com (Hungary/All Languages)</option>
                        <option value="883" data-location-code="2348">search.yahoo.com (Hungary/English)</option>
                        <option value="884" data-location-code="2348">search.yahoo.com (Hungary/Hungarian)</option>
                        <option value="3426" data-location-code="2352">google.is (Iceland/English)</option>
                        <option value="156" data-location-code="2352">google.is (Iceland/Icelandic)</option>
                        <option value="1048" data-location-code="2352">search.yahoo.com (Iceland/All Languages)</option>
                        <option value="885" data-location-code="2352">search.yahoo.com (Iceland/English)</option>
                        <option value="981" data-location-code="2356">bing.com (India/All Languages)</option>
                        <option value="392" data-location-code="2356">bing.com (India/English)</option>
                        <option value="159" data-location-code="2356">google.co.in (India/Bengali)</option>
                        <option value="163" data-location-code="2356">google.co.in (India/English)</option>
                        <option value="161" data-location-code="2356">google.co.in (India/Gujarati)</option>
                        <option value="166" data-location-code="2356">google.co.in (India/Hindi)</option>
                        <option value="164" data-location-code="2356">google.co.in (India/Kannada)</option>
                        <option value="157" data-location-code="2356">google.co.in (India/Malayalam)</option>
                        <option value="165" data-location-code="2356">google.co.in (India/Marathi)</option>
                        <option value="160" data-location-code="2356">google.co.in (India/Panjabi)</option>
                        <option value="158" data-location-code="2356">google.co.in (India/Tamil)</option>
                        <option value="162" data-location-code="2356">google.co.in (India/Telugu)</option>
                        <option value="1049" data-location-code="2356">in.search.yahoo.com (India/All Languages)</option>
                        <option value="886" data-location-code="2356">in.search.yahoo.com (India/English)</option>
                        <option value="982" data-location-code="2360">bing.com (Indonesia/All Languages)</option>
                        <option value="390" data-location-code="2360">bing.com (Indonesia/English)</option>
                        <option value="5836" data-location-code="2360">bing.com (Indonesia/Indonesian)</option>
                        <option value="5295" data-location-code="2360">google.co.id (Indonesia/Balinese)</option>
                        <option value="168" data-location-code="2360">google.co.id (Indonesia/Basa Jawa)</option>
                        <option value="2901" data-location-code="2360">google.co.id (Indonesia/English)</option>
                        <option value="167" data-location-code="2360">google.co.id (Indonesia/Indonesian)</option>
                        <option value="1050" data-location-code="2360">id.search.yahoo.com (Indonesia/All Languages)</option>
                        <option value="887" data-location-code="2360">id.search.yahoo.com (Indonesia/English)</option>
                        <option value="5975" data-location-code="2360">id.search.yahoo.com (Indonesia/Indonesian)</option>
                        <option value="170" data-location-code="2368">google.iq (Iraq/Arabic)</option>
                        <option value="2878" data-location-code="2368">google.iq (Iraq/English)</option>
                        <option value="169" data-location-code="2368">google.iq (Iraq/Kurdish)</option>
                        <option value="1051" data-location-code="2368">search.yahoo.com (Iraq/All Languages)</option>
                        <option value="888" data-location-code="2368">search.yahoo.com (Iraq/Arabic)</option>
                        <option value="983" data-location-code="2372">bing.com (Ireland/All Languages)</option>
                        <option value="391" data-location-code="2372">bing.com (Ireland/English)</option>
                        <option value="172" data-location-code="2372">google.ie (Ireland/English)</option>
                        <option value="171" data-location-code="2372">google.ie (Ireland/Irish)</option>
                        <option value="1052" data-location-code="2372">ie.search.yahoo.com (Ireland/All Languages)</option>
                        <option value="889" data-location-code="2372">ie.search.yahoo.com (Ireland/English)</option>
                        <option value="173" data-location-code="2833">google.im (Isle of Man/English)</option>
                        <option value="984" data-location-code="2376">bing.com (Israel/All Languages)</option>
                        <option value="412" data-location-code="2376">bing.com (Israel/Hebrew)</option>
                        <option value="175" data-location-code="2376">google.co.il (Israel/Arabic)</option>
                        <option value="3393" data-location-code="2376">google.co.il (Israel/English)</option>
                        <option value="174" data-location-code="2376">google.co.il (Israel/Hebrew)</option>
                        <option value="1053" data-location-code="2376">search.yahoo.com (Israel/All Languages)</option>
                        <option value="890" data-location-code="2376">search.yahoo.com (Israel/Arabic)</option>
                        <option value="891" data-location-code="2376">search.yahoo.com (Israel/Hebrew)</option>
                        <option value="985" data-location-code="2380">bing.com (Italy/All Languages)</option>
                        <option value="415" data-location-code="2380">bing.com (Italy/Italian)</option>
                        <option value="3427" data-location-code="2380">google.it (Italy/English)</option>
                        <option value="176" data-location-code="2380">google.it (Italy/Italian)</option>
                        <option value="1054" data-location-code="2380">it.search.yahoo.com (Italy/All Languages)</option>
                        <option value="892" data-location-code="2380">it.search.yahoo.com (Italy/English)</option>
                        <option value="893" data-location-code="2380">it.search.yahoo.com (Italy/Italian)</option>
                        <option value="177" data-location-code="2388">google.com.jm (Jamaica/English)</option>
                        <option value="986" data-location-code="2392">bing.com (Japan/All Languages)</option>
                        <option value="416" data-location-code="2392">bing.com (Japan/Japanese)</option>
                        <option value="3394" data-location-code="2392">google.co.jp (Japan/English)</option>
                        <option value="178" data-location-code="2392">google.co.jp (Japan/Japanese)</option>
                        <option value="5435" data-location-code="2392">search.yahoo.co.jp (Japan/English)</option>
                        <option value="5436" data-location-code="2392">search.yahoo.co.jp (Japan/Japanese)</option>
                        <option value="1055" data-location-code="2392">search.yahoo.com (Japan/All Languages)</option>
                        <option value="894" data-location-code="2392">search.yahoo.com (Japan/English)</option>
                        <option value="895" data-location-code="2392">search.yahoo.com (Japan/Japanese)</option>
                        <option value="179" data-location-code="2832">google.je (Jersey/English)</option>
                        <option value="180" data-location-code="2832">google.je (Jersey/French)</option>
                        <option value="181" data-location-code="2400">google.jo (Jordan/Arabic)</option>
                        <option value="2863" data-location-code="2400">google.jo (Jordan/English)</option>
                        <option value="5355" data-location-code="2398">google.kz (Kazakhstan/English)</option>
                        <option value="183" data-location-code="2398">google.kz (Kazakhstan/Kazakh)</option>
                        <option value="11" data-location-code="2398">google.kz (Kazakhstan/Russian)</option>
                        <option value="5959" data-location-code="2404">bing.com (Kenya/Swahili)</option>
                        <option value="3395" data-location-code="2404">google.co.ke (Kenya/English)</option>
                        <option value="184" data-location-code="2404">google.co.ke (Kenya/Swahili)</option>
                        <option value="1056" data-location-code="2404">search.yahoo.com (Kenya/All Languages)</option>
                        <option value="896" data-location-code="2404">search.yahoo.com (Kenya/English)</option>
                        <option value="185" data-location-code="2296">google.ki (Kiribati/English)</option>
                        <option value="187" data-location-code="2414">google.com.kw (Kuwait/Arabic)</option>
                        <option value="2853" data-location-code="2414">google.com.kw (Kuwait/English)</option>
                        <option value="1057" data-location-code="2414">search.yahoo.com (Kuwait/All Languages)</option>
                        <option value="897" data-location-code="2414">search.yahoo.com (Kuwait/Arabic)</option>
                        <option value="5353" data-location-code="2417">google.kg (Kyrgyzstan/English)</option>
                        <option value="189" data-location-code="2417">google.kg (Kyrgyzstan/Kyrgyz)</option>
                        <option value="188" data-location-code="2417">google.kg (Kyrgyzstan/Russian)</option>
                        <option value="3428" data-location-code="2418">google.la (Laos/English)</option>
                        <option value="190" data-location-code="2418">google.la (Laos/Lao)</option>
                        <option value="987" data-location-code="2428">bing.com (Latvia/All Languages)</option>
                        <option value="419" data-location-code="2428">bing.com (Latvia/Latvian)</option>
                        <option value="3431" data-location-code="2428">google.lv (Latvia/English)</option>
                        <option value="193" data-location-code="2428">google.lv (Latvia/Latvian)</option>
                        <option value="191" data-location-code="2428">google.lv (Latvia/Lithuanian)</option>
                        <option value="192" data-location-code="2428">google.lv (Latvia/Russian)</option>
                        <option value="1058" data-location-code="2428">search.yahoo.com (Latvia/All Languages)</option>
                        <option value="898" data-location-code="2428">search.yahoo.com (Latvia/English)</option>
                        <option value="899" data-location-code="2428">search.yahoo.com (Latvia/Latvian)</option>
                        <option value="901" data-location-code="2428">search.yahoo.com (Latvia/Russian)</option>
                        <option value="194" data-location-code="2422">google.com.lb (Lebanon/Arabic)</option>
                        <option value="196" data-location-code="2422">google.com.lb (Lebanon/Armenian)</option>
                        <option value="2883" data-location-code="2422">google.com.lb (Lebanon/English)</option>
                        <option value="195" data-location-code="2422">google.com.lb (Lebanon/French)</option>
                        <option value="1059" data-location-code="2422">search.yahoo.com (Lebanon/All Languages)</option>
                        <option value="902" data-location-code="2422">search.yahoo.com (Lebanon/Arabic)</option>
                        <option value="903" data-location-code="2422">search.yahoo.com (Lebanon/French)</option>
                        <option value="197" data-location-code="2426">google.co.ls (Lesotho/English)</option>
                        <option value="198" data-location-code="2426">google.co.ls (Lesotho/Southern Sotho)</option>
                        <option value="5803" data-location-code="2430">google.com (Liberia/English)</option>
                        <option value="199" data-location-code="2434">google.com.ly (Libya/Arabic)</option>
                        <option value="3410" data-location-code="2434">google.com.ly (Libya/English)</option>
                        <option value="200" data-location-code="2434">google.com.ly (Libya/Italian)</option>
                        <option value="1060" data-location-code="2434">search.yahoo.com (Libya/All Languages)</option>
                        <option value="904" data-location-code="2434">search.yahoo.com (Libya/Arabic)</option>
                        <option value="905" data-location-code="2434">search.yahoo.com (Libya/Italian)</option>
                        <option value="5357" data-location-code="2438">google.li (Liechtenstein/English)</option>
                        <option value="201" data-location-code="2438">google.li (Liechtenstein/German)</option>
                        <option value="988" data-location-code="2440">bing.com (Lithuania/All Languages)</option>
                        <option value="418" data-location-code="2440">bing.com (Lithuania/Lithuanian)</option>
                        <option value="3429" data-location-code="2440">google.lt (Lithuania/English)</option>
                        <option value="202" data-location-code="2440">google.lt (Lithuania/Lithuanian)</option>
                        <option value="1061" data-location-code="2440">search.yahoo.com (Lithuania/All Languages)</option>
                        <option value="906" data-location-code="2440">search.yahoo.com (Lithuania/English)</option>
                        <option value="900" data-location-code="2440">search.yahoo.com (Lithuania/Lithuanian)</option>
                        <option value="3430" data-location-code="2442">google.lu (Luxembourg/English)</option>
                        <option value="204" data-location-code="2442">google.lu (Luxembourg/French)</option>
                        <option value="203" data-location-code="2442">google.lu (Luxembourg/German)</option>
                        <option value="1062" data-location-code="2442">search.yahoo.com (Luxembourg/All Languages)</option>
                        <option value="907" data-location-code="2442">search.yahoo.com (Luxembourg/French)</option>
                        <option value="908" data-location-code="2442">search.yahoo.com (Luxembourg/German)</option>
                        <option value="5770" data-location-code="2446">google.com (Macao/Chinese (Traditional Han))</option>
                        <option value="5363" data-location-code="2807">google.mk (Macedonia/English)</option>
                        <option value="205" data-location-code="2807">google.mk (Macedonia/Macedonian)</option>
                        <option value="1063" data-location-code="2807">search.yahoo.com (Macedonia/All Languages)</option>
                        <option value="909" data-location-code="2807">search.yahoo.com (Macedonia/English)</option>
                        <option value="5361" data-location-code="2450">google.mg (Madagascar/English)</option>
                        <option value="207" data-location-code="2450">google.mg (Madagascar/French)</option>
                        <option value="206" data-location-code="2450">google.mg (Madagascar/Malagasy)</option>
                        <option value="208" data-location-code="2454">google.mw (Malawi/Chichewa)</option>
                        <option value="5369" data-location-code="2454">google.mw (Malawi/English)</option>
                        <option value="209" data-location-code="2454">google.mw (Malawi/Malawi)</option>
                        <option value="989" data-location-code="2458">bing.com (Malaysia/All Languages)</option>
                        <option value="393" data-location-code="2458">bing.com (Malaysia/English)</option>
                        <option value="2896" data-location-code="2458">google.com.my (Malaysia/English)</option>
                        <option value="210" data-location-code="2458">google.com.my (Malaysia/Malay)</option>
                        <option value="1064" data-location-code="2458">malaysia.search.yahoo.com (Malaysia/All Languages)</option>
                        <option value="910" data-location-code="2458">malaysia.search.yahoo.com (Malaysia/English)</option>
                        <option value="5976" data-location-code="2458">malaysia.search.yahoo.com (Malaysia/Malay)</option>
                        <option value="211" data-location-code="2462">google.mv (Maldives/English)</option>
                        <option value="5365" data-location-code="2466">google.ml (Mali/English)</option>
                        <option value="212" data-location-code="2466">google.ml (Mali/French)</option>
                        <option value="3412" data-location-code="2470">google.com.mt (Malta/English)</option>
                        <option value="213" data-location-code="2470">google.com.mt (Malta/Maltese)</option>
                        <option value="1065" data-location-code="2470">search.yahoo.com (Malta/All Languages)</option>
                        <option value="911" data-location-code="2470">search.yahoo.com (Malta/English)</option>
                        <option value="5810" data-location-code="2474">google.com (Martinique/French)</option>
                        <option value="5812" data-location-code="2478">google.com (Mauritania/Arabic)</option>
                        <option value="214" data-location-code="2480">google.mu (Mauritius/English)</option>
                        <option value="215" data-location-code="2480">google.mu (Mauritius/French)</option>
                        <option value="216" data-location-code="2480">google.mu (Mauritius/Kreol morisien)</option>
                        <option value="990" data-location-code="2484">bing.com (Mexico/All Languages)</option>
                        <option value="403" data-location-code="2484">bing.com (Mexico/Spanish)</option>
                        <option value="3413" data-location-code="2484">google.com.mx (Mexico/English)</option>
                        <option value="217" data-location-code="2484">google.com.mx (Mexico/Espanol (Latinoamerica))</option>
                        <option value="5741" data-location-code="2484">google.com.mx (Mexico/Spanish)</option>
                        <option value="1066" data-location-code="2484">mx.search.yahoo.com (Mexico/All Languages)</option>
                        <option value="912" data-location-code="2484">mx.search.yahoo.com (Mexico/English)</option>
                        <option value="913" data-location-code="2484">mx.search.yahoo.com (Mexico/Spanish)</option>
                        <option value="218" data-location-code="2583">google.fm (Micronesia/English)</option>
                        <option value="219" data-location-code="2498">google.md (Moldova/Moldovian)</option>
                        <option value="5753" data-location-code="2498">google.md (Moldova/Romanian)</option>
                        <option value="220" data-location-code="2498">google.md (Moldova/Russian)</option>
                        <option value="5367" data-location-code="2496">google.mn (Mongolia/English)</option>
                        <option value="221" data-location-code="2496">google.mn (Mongolia/Mongolian)</option>
                        <option value="222" data-location-code="2499">google.me (Montenegro/Bosnian)</option>
                        <option value="5359" data-location-code="2499">google.me (Montenegro/English)</option>
                        <option value="223" data-location-code="2499">google.me (Montenegro/Montenegro)</option>
                        <option value="224" data-location-code="2499">google.me (Montenegro/Serbian)</option>
                        <option value="225" data-location-code="2500">google.ms (Montserrat/English)</option>
                        <option value="227" data-location-code="2504">google.co.ma (Morocco/Arabic)</option>
                        <option value="3397" data-location-code="2504">google.co.ma (Morocco/English)</option>
                        <option value="226" data-location-code="2504">google.co.ma (Morocco/French)</option>
                        <option value="1067" data-location-code="2504">search.yahoo.com (Morocco/All Languages)</option>
                        <option value="914" data-location-code="2504">search.yahoo.com (Morocco/Arabic)</option>
                        <option value="915" data-location-code="2504">search.yahoo.com (Morocco/French)</option>
                        <option value="229" data-location-code="2508">google.co.mz (Mozambique/Chichewa)</option>
                        <option value="3398" data-location-code="2508">google.co.mz (Mozambique/English)</option>
                        <option value="231" data-location-code="2508">google.co.mz (Mozambique/Portuguese)</option>
                        <option value="5785" data-location-code="2508">google.co.mz (Mozambique/Portuguese (Brasil))</option>
                        <option value="230" data-location-code="2508">google.co.mz (Mozambique/Shona)</option>
                        <option value="228" data-location-code="2508">google.co.mz (Mozambique/Swahili)</option>
                        <option value="5832" data-location-code="2104">google.com.mm (Myanmar/Burmese)</option>
                        <option value="3411" data-location-code="2104">google.com.mm (Myanmar/English)</option>
                        <option value="234" data-location-code="2516">google.com.na (Namibia/Afrikaans)</option>
                        <option value="233" data-location-code="2516">google.com.na (Namibia/English)</option>
                        <option value="232" data-location-code="2516">google.com.na (Namibia/German)</option>
                        <option value="235" data-location-code="2520">google.nr (Nauru/English)</option>
                        <option value="3414" data-location-code="2524">google.com.np (Nepal/English)</option>
                        <option value="236" data-location-code="2524">google.com.np (Nepal/Nepali)</option>
                        <option value="991" data-location-code="2528">bing.com (Netherlands/All Languages)</option>
                        <option value="422" data-location-code="2528">bing.com (Netherlands/Dutch)</option>
                        <option value="24" data-location-code="2528">google.nl (Netherlands/Dutch)</option>
                        <option value="237" data-location-code="2528">google.nl (Netherlands/English)</option>
                        <option value="5373" data-location-code="2528">google.nl (Netherlands/Frisian)</option>
                        <option value="1068" data-location-code="2528">nl.search.yahoo.com (Netherlands/All Languages)</option>
                        <option value="916" data-location-code="2528">nl.search.yahoo.com (Netherlands/Dutch)</option>
                        <option value="917" data-location-code="2528">nl.search.yahoo.com (Netherlands/English)</option>
                        <option value="5814" data-location-code="2540">google.com (New Caledonia/French)</option>
                        <option value="992" data-location-code="2554">bing.com (New Zealand/All Languages)</option>
                        <option value="394" data-location-code="2554">bing.com (New Zealand/English)</option>
                        <option value="239" data-location-code="2554">google.co.nz (New Zealand/English)</option>
                        <option value="240" data-location-code="2554">google.co.nz (New Zealand/Maori)</option>
                        <option value="1069" data-location-code="2554">search.yahoo.com (New Zealand/All Languages)</option>
                        <option value="918" data-location-code="2554">search.yahoo.com (New Zealand/English)</option>
                        <option value="5307" data-location-code="2558">google.com.ni (Nicaragua/English)</option>
                        <option value="241" data-location-code="2558">google.com.ni (Nicaragua/Espanol (Latinoamerica))</option>
                        <option value="5830" data-location-code="2558">google.com.ni (Nicaragua/Spanish)</option>
                        <option value="1070" data-location-code="2558">search.yahoo.com (Nicaragua/All Languages)</option>
                        <option value="919" data-location-code="2558">search.yahoo.com (Nicaragua/English)</option>
                        <option value="5371" data-location-code="2562">google.ne (Niger/English)</option>
                        <option value="242" data-location-code="2562">google.ne (Niger/French)</option>
                        <option value="243" data-location-code="2562">google.ne (Niger/Hausa)</option>
                        <option value="248" data-location-code="2566">google.com.ng (Nigeria/English)</option>
                        <option value="245" data-location-code="2566">google.com.ng (Nigeria/Hausa)</option>
                        <option value="246" data-location-code="2566">google.com.ng (Nigeria/Igbo)</option>
                        <option value="244" data-location-code="2566">google.com.ng (Nigeria/Pidgin)</option>
                        <option value="247" data-location-code="2566">google.com.ng (Nigeria/Yoruba)</option>
                        <option value="249" data-location-code="2570">google.nu (Niue/English)</option>
                        <option value="250" data-location-code="2574">google.com.nf (Norfolk Island/English)</option>
                        <option value="5808" data-location-code="2580">google.com (Northern Mariana Islands/English)</option>
                        <option value="993" data-location-code="2578">bing.com (Norway/All Languages)</option>
                        <option value="5837" data-location-code="2578">bing.com (Norway/English)</option>
                        <option value="420" data-location-code="2578">bing.com (Norway/Norwegian)</option>
                        <option value="3432" data-location-code="2578">google.no (Norway/English)</option>
                        <option value="251" data-location-code="2578">google.no (Norway/Norwegian)</option>
                        <option value="3680" data-location-code="2578">google.no (Norway/Norwegian Bokmal)</option>
                        <option value="252" data-location-code="2578">google.no (Norway/Norwegian Nynorsk)</option>
                        <option value="1071" data-location-code="2578">no.search.yahoo.com (Norway/All Languages)</option>
                        <option value="920" data-location-code="2578">no.search.yahoo.com (Norway/English)</option>
                        <option value="921" data-location-code="2578">no.search.yahoo.com (Norway/Norwegian)</option>
                        <option value="253" data-location-code="2512">google.com.om (Oman/Arabic)</option>
                        <option value="2894" data-location-code="2512">google.com.om (Oman/English)</option>
                        <option value="1072" data-location-code="2512">search.yahoo.com (Oman/All Languages)</option>
                        <option value="922" data-location-code="2512">search.yahoo.com (Oman/Arabic)</option>
                        <option value="254" data-location-code="2586">google.com.pk (Pakistan/English)</option>
                        <option value="5313" data-location-code="2586">google.com.pk (Pakistan/Pashto, Pushto)</option>
                        <option value="5315" data-location-code="2586">google.com.pk (Pakistan/Sindhi)</option>
                        <option value="255" data-location-code="2586">google.com.pk (Pakistan/Urdu)</option>
                        <option value="1073" data-location-code="2586">search.yahoo.com (Pakistan/All Languages)</option>
                        <option value="923" data-location-code="2586">search.yahoo.com (Pakistan/English)</option>
                        <option value="5818" data-location-code="2585">google.com (Palau/English)</option>
                        <option value="256" data-location-code="2275">google.ps (Palestine/Arabic)</option>
                        <option value="2892" data-location-code="2275">google.ps (Palestine/English)</option>
                        <option value="5309" data-location-code="2591">google.com.pa (Panama/English)</option>
                        <option value="257" data-location-code="2591">google.com.pa (Panama/Espanol (Latinoamerica))</option>
                        <option value="1074" data-location-code="2591">search.yahoo.com (Panama/All Languages)</option>
                        <option value="924" data-location-code="2591">search.yahoo.com (Panama/English)</option>
                        <option value="3416" data-location-code="2598">google.com.pg (Papua New Guina/English)</option>
                        <option value="5319" data-location-code="2600">google.com.py (Paraguay/English)</option>
                        <option value="258" data-location-code="2600">google.com.py (Paraguay/Espanol (Latinoamerica))</option>
                        <option value="5775" data-location-code="2600">google.com.py (Paraguay/Spanish)</option>
                        <option value="1075" data-location-code="2600">search.yahoo.com (Paraguay/All Languages)</option>
                        <option value="925" data-location-code="2600">search.yahoo.com (Paraguay/English)</option>
                        <option value="5977" data-location-code="2604">espanol.search.yahoo.com (Peru/Spanish)</option>
                        <option value="3415" data-location-code="2604">google.com.pe (Peru/English)</option>
                        <option value="259" data-location-code="2604">google.com.pe (Peru/Espanol (Latinoamerica))</option>
                        <option value="260" data-location-code="2604">google.com.pe (Peru/Quechua)</option>
                        <option value="5776" data-location-code="2604">google.com.pe (Peru/Spanish)</option>
                        <option value="1076" data-location-code="2604">search.yahoo.com (Peru/All Languages)</option>
                        <option value="926" data-location-code="2604">search.yahoo.com (Peru/English)</option>
                        <option value="994" data-location-code="2608">bing.com (Philippines/All Languages)</option>
                        <option value="395" data-location-code="2608">bing.com (Philippines/English)</option>
                        <option value="5311" data-location-code="2608">google.com.ph (Philippines/Cebuano)</option>
                        <option value="3417" data-location-code="2608">google.com.ph (Philippines/English)</option>
                        <option value="5746" data-location-code="2608">google.com.ph (Philippines/Filipino)</option>
                        <option value="261" data-location-code="2608">google.com.ph (Philippines/Tagalog)</option>
                        <option value="1077" data-location-code="2608">ph.search.yahoo.com (Philippines/All Languages)</option>
                        <option value="927" data-location-code="2608">ph.search.yahoo.com (Philippines/English)</option>
                        <option value="5978" data-location-code="2608">ph.search.yahoo.com (Philippines/Spanish)</option>
                        <option value="262" data-location-code="2612">google.pn (Pitcairn Islands/English)</option>
                        <option value="995" data-location-code="2616">bing.com (Poland/All Languages)</option>
                        <option value="5838" data-location-code="2616">bing.com (Poland/English)</option>
                        <option value="423" data-location-code="2616">bing.com (Poland/Polish)</option>
                        <option value="3433" data-location-code="2616">google.pl (Poland/English)</option>
                        <option value="21" data-location-code="2616">google.pl (Poland/Polish)</option>
                        <option value="1078" data-location-code="2616">pl.search.yahoo.com (Poland/All Languages)</option>
                        <option value="928" data-location-code="2616">pl.search.yahoo.com (Poland/English)</option>
                        <option value="929" data-location-code="2616">pl.search.yahoo.com (Poland/Polish)</option>
                        <option value="996" data-location-code="2620">bing.com (Portugal/All Languages)</option>
                        <option value="425" data-location-code="2620">bing.com (Portugal/Portuguese)</option>
                        <option value="3434" data-location-code="2620">google.pt (Portugal/English)</option>
                        <option value="264" data-location-code="2620">google.pt (Portugal/Portuguese)</option>
                        <option value="1079" data-location-code="2620">search.yahoo.com (Portugal/All Languages)</option>
                        <option value="930" data-location-code="2620">search.yahoo.com (Portugal/Portuguese)</option>
                        <option value="5317" data-location-code="2630">google.com.pr (Puerto Rico/English)</option>
                        <option value="265" data-location-code="2630">google.com.pr (Puerto Rico/Espanol (Latinoamerica))</option>
                        <option value="5739" data-location-code="2630">google.com.pr (Puerto Rico/Spanish)</option>
                        <option value="1080" data-location-code="2630">search.yahoo.com (Puerto Rico/All Languages)</option>
                        <option value="931" data-location-code="2630">search.yahoo.com (Puerto Rico/English)</option>
                        <option value="266" data-location-code="2634">google.com.qa (Qatar/Arabic)</option>
                        <option value="2895" data-location-code="2634">google.com.qa (Qatar/English)</option>
                        <option value="1081" data-location-code="2634">search.yahoo.com (Qatar/All Languages)</option>
                        <option value="932" data-location-code="2634">search.yahoo.com (Qatar/Arabic)</option>
                        <option value="92" data-location-code="2178">google.cg (Republic of the Congo/French)</option>
                        <option value="94" data-location-code="2178">google.cg (Republic of the Congo/Kongo)</option>
                        <option value="93" data-location-code="2178">google.cg (Republic of the Congo/Lingala)</option>
                        <option value="5807" data-location-code="2638">google.com (Reunion/French)</option>
                        <option value="997" data-location-code="2642">bing.com (Romania/All Languages)</option>
                        <option value="426" data-location-code="2642">bing.com (Romania/Romanian)</option>
                        <option value="3435" data-location-code="2642">google.ro (Romania/English)</option>
                        <option value="269" data-location-code="2642">google.ro (Romania/German)</option>
                        <option value="268" data-location-code="2642">google.ro (Romania/Hungarian)</option>
                        <option value="270" data-location-code="2642">google.ro (Romania/Romanian)</option>
                        <option value="1082" data-location-code="2642">ro.search.yahoo.com (Romania/All Languages)</option>
                        <option value="933" data-location-code="2642">ro.search.yahoo.com (Romania/German)</option>
                        <option value="934" data-location-code="2642">ro.search.yahoo.com (Romania/Romanian)</option>
                        <option value="998" data-location-code="">bing.com (Russia/All Languages)</option>
                        <option value="427" data-location-code="">bing.com (Russia/Russian)</option>
                        <option value="3437" data-location-code="">google.ru (Russia/English)</option>
                        <option value="3" data-location-code="">google.ru (Russia/Russian)</option>
                        <option value="1083" data-location-code="">ru.search.yahoo.com (Russia/All Languages)</option>
                        <option value="935" data-location-code="">ru.search.yahoo.com (Russia/English)</option>
                        <option value="936" data-location-code="">ru.search.yahoo.com (Russia/Russian)</option>
                        <option value="274" data-location-code="2646">google.rw (Rwanda/English)</option>
                        <option value="275" data-location-code="2646">google.rw (Rwanda/French)</option>
                        <option value="273" data-location-code="2646">google.rw (Rwanda/Kinyarwanda)</option>
                        <option value="272" data-location-code="2646">google.rw (Rwanda/Swahili)</option>
                        <option value="276" data-location-code="2654">google.sh (Saint Helena/English)</option>
                        <option value="5801" data-location-code="2659">google.com (Saint Kitts and Nevis/English)</option>
                        <option value="277" data-location-code="2670">google.com.vc (Saint Vincent and the Grenadines/English)</option>
                        <option value="278" data-location-code="2882">google.ws (Samoa/English)</option>
                        <option value="5375" data-location-code="2674">google.sm (San Marino/English)</option>
                        <option value="279" data-location-code="2674">google.sm (San Marino/Italian)</option>
                        <option value="280" data-location-code="2678">google.st (Sao Tome and Principe/Portuguese)</option>
                        <option value="5824" data-location-code="2678">google.st (Sao Tome and Principe/Portuguese (Brazil))</option>
                        <option value="5956" data-location-code="2682">bing.com (Saudi Arabia/Arabic)</option>
                        <option value="5957" data-location-code="2682">bing.com (Saudi Arabia/English)</option>
                        <option value="281" data-location-code="2682">google.com.sa (Saudi Arabia/Arabic)</option>
                        <option value="2858" data-location-code="2682">google.com.sa (Saudi Arabia/English)</option>
                        <option value="1084" data-location-code="2682">search.yahoo.com (Saudi Arabia/All Languages)</option>
                        <option value="937" data-location-code="2682">search.yahoo.com (Saudi Arabia/Arabic)</option>
                        <option value="5377" data-location-code="2686">google.sn (Senegal/English)</option>
                        <option value="282" data-location-code="2686">google.sn (Senegal/French)</option>
                        <option value="283" data-location-code="2686">google.sn (Senegal/Wolof)</option>
                        <option value="3436" data-location-code="2688">google.rs (Serbia/English)</option>
                        <option value="284" data-location-code="2688">google.rs (Serbia/Serbian)</option>
                        <option value="5402" data-location-code="2688">google.rs (Serbia/Serbian (Latin))</option>
                        <option value="286" data-location-code="2690">google.sc (Seychelles/English)</option>
                        <option value="285" data-location-code="2690">google.sc (Seychelles/French)</option>
                        <option value="287" data-location-code="2690">google.sc (Seychelles/Kreol Seselwa)</option>
                        <option value="288" data-location-code="2694">google.com.sl (Sierra Leone/English)</option>
                        <option value="289" data-location-code="2694">google.com.sl (Sierra Leone/Krio)</option>
                        <option value="999" data-location-code="2702">bing.com (Singapore/All Languages)</option>
                        <option value="396" data-location-code="2702">bing.com (Singapore/English)</option>
                        <option value="5731" data-location-code="2702">google.com.sg (Singapore/Chinese)</option>
                        <option value="290" data-location-code="2702">google.com.sg (Singapore/Chinese (Simplified))</option>
                        <option value="5732" data-location-code="2702">google.com.sg (Singapore/Chinese (Traditional))</option>
                        <option value="5737" data-location-code="2702">google.com.sg (Singapore/Chinese (Traditional Han))</option>
                        <option value="293" data-location-code="2702">google.com.sg (Singapore/English)</option>
                        <option value="291" data-location-code="2702">google.com.sg (Singapore/Malay)</option>
                        <option value="292" data-location-code="2702">google.com.sg (Singapore/Tamil)</option>
                        <option value="1085" data-location-code="2702">sg.search.yahoo.com (Singapore/All Languages)</option>
                        <option value="938" data-location-code="2702">sg.search.yahoo.com (Singapore/English)</option>
                        <option value="1000" data-location-code="2703">bing.com (Slovakia/All Languages)</option>
                        <option value="428" data-location-code="2703">bing.com (Slovakia/Slovak)</option>
                        <option value="3439" data-location-code="2703">google.sk (Slovakia/English)</option>
                        <option value="294" data-location-code="2703">google.sk (Slovakia/Slovak)</option>
                        <option value="1001" data-location-code="2705">bing.com (Slovenia/All Languages)</option>
                        <option value="429" data-location-code="2705">bing.com (Slovenia/Slovene)</option>
                        <option value="3438" data-location-code="2705">google.si (Slovenia/English)</option>
                        <option value="295" data-location-code="2705">google.si (Slovenia/Slovene)</option>
                        <option value="296" data-location-code="2090">google.com.sb (Solomon Islands/English)</option>
                        <option value="297" data-location-code="2706">google.so (Somalia/Arabic)</option>
                        <option value="5379" data-location-code="2706">google.so (Somalia/English)</option>
                        <option value="298" data-location-code="2706">google.so (Somalia/Somali)</option>
                        <option value="1002" data-location-code="2710">bing.com (South Africa/All Languages)</option>
                        <option value="399" data-location-code="2710">bing.com (South Africa/English)</option>
                        <option value="303" data-location-code="2710">google.co.za (South Africa/Afrikaans)</option>
                        <option value="301" data-location-code="2710">google.co.za (South Africa/English)</option>
                        <option value="299" data-location-code="2710">google.co.za (South Africa/Northern Sotho)</option>
                        <option value="305" data-location-code="2710">google.co.za (South Africa/Southern Sotho or Sesotho)</option>
                        <option value="304" data-location-code="2710">google.co.za (South Africa/Tswana or Setswana)</option>
                        <option value="302" data-location-code="2710">google.co.za (South Africa/Xhosa or IsiXhosa)</option>
                        <option value="300" data-location-code="2710">google.co.za (South Africa/Zulu or IsiZulu)</option>
                        <option value="5982" data-location-code="2710">search.yahoo.com (South Africa/English)</option>
                        <option value="1003" data-location-code="2410">bing.com (South Korea/All Languages)</option>
                        <option value="417" data-location-code="2410">bing.com (South Korea/Korean)</option>
                        <option value="3396" data-location-code="2410">google.co.kr (South Korea/English)</option>
                        <option value="186" data-location-code="2410">google.co.kr (South Korea/Korean)</option>
                        <option value="1086" data-location-code="2410">search.yahoo.com (South Korea/All Languages)</option>
                        <option value="939" data-location-code="2410">search.yahoo.com (South Korea/Korean)</option>
                        <option value="1004" data-location-code="2724">bing.com (Spain/All Languages)</option>
                        <option value="5835" data-location-code="2724">bing.com (Spain/Catalan)</option>
                        <option value="402" data-location-code="2724">bing.com (Spain/Spanish)</option>
                        <option value="1087" data-location-code="2724">es.search.yahoo.com (Spain/All Languages)</option>
                        <option value="940" data-location-code="2724">es.search.yahoo.com (Spain/English)</option>
                        <option value="941" data-location-code="2724">es.search.yahoo.com (Spain/Spanish)</option>
                        <option value="307" data-location-code="2724">google.es (Spain/Basque)</option>
                        <option value="309" data-location-code="2724">google.es (Spain/Catalan)</option>
                        <option value="2849" data-location-code="2724">google.es (Spain/English)</option>
                        <option value="5401" data-location-code="2724">google.es (Spain/Espanol (Latinoamerica))</option>
                        <option value="306" data-location-code="2724">google.es (Spain/Galician)</option>
                        <option value="26" data-location-code="2724">google.es (Spain/Spanish)</option>
                        <option value="310" data-location-code="2144">google.lk (Sri Lanka/English)</option>
                        <option value="311" data-location-code="2144">google.lk (Sri Lanka/Sinhala)</option>
                        <option value="312" data-location-code="2144">google.lk (Sri Lanka/Tamil)</option>
                        <option value="5822" data-location-code="2740">google.sr (Suriname/French)</option>
                        <option value="5805" data-location-code="2748">google.com (Swaziland/English)</option>
                        <option value="1005" data-location-code="2752">bing.com (Sweden/All Languages)</option>
                        <option value="430" data-location-code="2752">bing.com (Sweden/Swedish)</option>
                        <option value="2893" data-location-code="2752">google.se (Sweden/English)</option>
                        <option value="313" data-location-code="2752">google.se (Sweden/Swedish)</option>
                        <option value="1088" data-location-code="2752">se.search.yahoo.com (Sweden/All Languages)</option>
                        <option value="942" data-location-code="2752">se.search.yahoo.com (Sweden/English)</option>
                        <option value="943" data-location-code="2752">se.search.yahoo.com (Sweden/Swedish)</option>
                        <option value="1006" data-location-code="2756">bing.com (Switzerland/All Languages)</option>
                        <option value="410" data-location-code="2756">bing.com (Switzerland/French)</option>
                        <option value="384" data-location-code="2756">bing.com (Switzerland/German)</option>
                        <option value="5834" data-location-code="2756">bing.com (Switzerland/Italian)</option>
                        <option value="6226" data-location-code="2756">chfr.search.yahoo.com (Switzerland/French)</option>
                        <option value="6227" data-location-code="2756">chit.search.yahoo.com (Switzerland/Italian)</option>
                        <option value="1089" data-location-code="2756">ch.search.yahoo.com (Switzerland/All Languages)</option>
                        <option value="944" data-location-code="2756">ch.search.yahoo.com (Switzerland/English)</option>
                        <option value="945" data-location-code="2756">ch.search.yahoo.com (Switzerland/French)</option>
                        <option value="946" data-location-code="2756">ch.search.yahoo.com (Switzerland/German)</option>
                        <option value="5973" data-location-code="2756">ch.search.yahoo.com (Switzerland/Italian)</option>
                        <option value="3389" data-location-code="2756">google.ch (Switzerland/English)</option>
                        <option value="316" data-location-code="2756">google.ch (Switzerland/French)</option>
                        <option value="315" data-location-code="2756">google.ch (Switzerland/German)</option>
                        <option value="317" data-location-code="2756">google.ch (Switzerland/Italian)</option>
                        <option value="314" data-location-code="2756">google.ch (Switzerland/Romansh)</option>
                        <option value="1007" data-location-code="2158">bing.com (Taiwan/All Languages)</option>
                        <option value="436" data-location-code="2158">bing.com (Taiwan/Chinese)</option>
                        <option value="318" data-location-code="2158">google.com.tw (Taiwan/Chinese)</option>
                        <option value="5727" data-location-code="2158">google.com.tw (Taiwan/Chinese (Simplified))</option>
                        <option value="5730" data-location-code="2158">google.com.tw (Taiwan/Chinese (Traditional))</option>
                        <option value="3419" data-location-code="2158">google.com.tw (Taiwan/English)</option>
                        <option value="3682" data-location-code="2158">tw.search.yahoo.com (Taiwan/Chinese (Traditional))</option>
                        <option value="5323" data-location-code="2762">google.com.tj (Tajikistan/English)</option>
                        <option value="319" data-location-code="2762">google.com.tj (Tajikistan/Russian)</option>
                        <option value="320" data-location-code="2762">google.com.tj (Tajikistan/Tajik)</option>
                        <option value="3400" data-location-code="2834">google.co.tz (Tanzania/English)</option>
                        <option value="321" data-location-code="2834">google.co.tz (Tanzania/Swahili)</option>
                        <option value="1008" data-location-code="2764">bing.com (Thailand/All Languages)</option>
                        <option value="431" data-location-code="2764">bing.com (Thailand/Thai)</option>
                        <option value="3399" data-location-code="2764">google.co.th (Thailand/English)</option>
                        <option value="322" data-location-code="2764">google.co.th (Thailand/Thai)</option>
                        <option value="1091" data-location-code="2764">th.search.yahoo.com (Thailand/All Languages)</option>
                        <option value="948" data-location-code="2764">th.search.yahoo.com (Thailand/English)</option>
                        <option value="5979" data-location-code="2764">th.search.yahoo.com (Thailand/Thai)</option>
                        <option value="323" data-location-code="2626">google.tl (Timor-Leste/Portuguese)</option>
                        <option value="5383" data-location-code="2768">google.tg (Togo/English)</option>
                        <option value="325" data-location-code="2768">google.tg (Togo/Ewe)</option>
                        <option value="324" data-location-code="2768">google.tg (Togo/French)</option>
                        <option value="326" data-location-code="2772">google.tk (Tokelau/English)</option>
                        <option value="327" data-location-code="2776">google.to (Tonga/English)</option>
                        <option value="328" data-location-code="2776">google.to (Tonga/Tonga (Tonga Islands))</option>
                        <option value="329" data-location-code="2780">google.tt (Trinidad and Tobago/Chinese (Traditional Han))</option>
                        <option value="333" data-location-code="2780">google.tt (Trinidad and Tobago/English)</option>
                        <option value="332" data-location-code="2780">google.tt (Trinidad and Tobago/Espanol (Latinoamerica))</option>
                        <option value="331" data-location-code="2780">google.tt (Trinidad and Tobago/French)</option>
                        <option value="330" data-location-code="2780">google.tt (Trinidad and Tobago/Hindi)</option>
                        <option value="334" data-location-code="2788">google.tn (Tunisia/Arabic)</option>
                        <option value="5387" data-location-code="2788">google.tn (Tunisia/English)</option>
                        <option value="335" data-location-code="2788">google.tn (Tunisia/French)</option>
                        <option value="1092" data-location-code="2788">search.yahoo.com (Tunisia/All Languages)</option>
                        <option value="949" data-location-code="2788">search.yahoo.com (Tunisia/Arabic)</option>
                        <option value="950" data-location-code="2788">search.yahoo.com (Tunisia/French)</option>
                        <option value="1009" data-location-code="2792">bing.com (Turkey/All Languages)</option>
                        <option value="432" data-location-code="2792">bing.com (Turkey/Turkish)</option>
                        <option value="3418" data-location-code="2792">google.com.tr (Turkey/English)</option>
                        <option value="336" data-location-code="2792">google.com.tr (Turkey/Turkish)</option>
                        <option value="1093" data-location-code="2792">tr.search.yahoo.com (Turkey/All Languages)</option>
                        <option value="951" data-location-code="2792">tr.search.yahoo.com (Turkey/English)</option>
                        <option value="952" data-location-code="2792">tr.search.yahoo.com (Turkey/Turkish)</option>
                        <option value="5385" data-location-code="2795">google.tm (Turkmenistan/English)</option>
                        <option value="337" data-location-code="2795">google.tm (Turkmenistan/Russian)</option>
                        <option value="339" data-location-code="2795">google.tm (Turkmenistan/Turkmen)</option>
                        <option value="338" data-location-code="2795">google.tm (Turkmenistan/Uzbek)</option>
                        <option value="5826" data-location-code="2796">google.com (Turks and Caicos Islands/English)</option>
                        <option value="3401" data-location-code="2800">google.co.ug (Uganda/English)</option>
                        <option value="342" data-location-code="2800">google.co.ug (Uganda/Ganda)</option>
                        <option value="340" data-location-code="2800">google.co.ug (Uganda/Kinyarwanda)</option>
                        <option value="341" data-location-code="2800">google.co.ug (Uganda/Luo)</option>
                        <option value="5327" data-location-code="2800">google.co.ug (Uganda/Nyankole)</option>
                        <option value="343" data-location-code="2800">google.co.ug (Uganda/Runyakitara)</option>
                        <option value="344" data-location-code="2800">google.co.ug (Uganda/Swahili)</option>
                        <option value="1010" data-location-code="2804">bing.com (Ukraine/All Languages)</option>
                        <option value="433" data-location-code="2804">bing.com (Ukraine/Ukrainian)</option>
                        <option value="3420" data-location-code="2804">google.com.ua (Ukraine/English)</option>
                        <option value="5" data-location-code="2804">google.com.ua (Ukraine/Russian)</option>
                        <option value="372" data-location-code="2804">google.com.ua (Ukraine/Ukrainian)</option>
                        <option value="1094" data-location-code="2804">search.yahoo.com (Ukraine/All Languages)</option>
                        <option value="953" data-location-code="2804">search.yahoo.com (Ukraine/English)</option>
                        <option value="954" data-location-code="2804">search.yahoo.com (Ukraine/Russian)</option>
                        <option value="5954" data-location-code="2784">bing.com (United Arab Emirates/Arabic)</option>
                        <option value="5955" data-location-code="2784">bing.com (United Arab Emirates/English)</option>
                        <option value="345" data-location-code="2784">google.ae (United Arab Emirates/Arabic)</option>
                        <option value="826" data-location-code="2784">google.ae (United Arab Emirates/English)</option>
                        <option value="347" data-location-code="2784">google.ae (United Arab Emirates/Hindi)</option>
                        <option value="346" data-location-code="2784">google.ae (United Arab Emirates/Persian)</option>
                        <option value="348" data-location-code="2784">google.ae (United Arab Emirates/Urdu)</option>
                        <option value="1095" data-location-code="2784">search.yahoo.com (United Arab Emirates/All Languages)</option>
                        <option value="955" data-location-code="2784">search.yahoo.com (United Arab Emirates/Arabic)</option>
                        <option value="956" data-location-code="2784">search.yahoo.com (United Arab Emirates/English)</option>
                        <option value="1011" data-location-code="2826">bing.com (United Kingdom/All Languages)</option>
                        <option value="389" data-location-code="2826">bing.com (United Kingdom/English)</option>
                        <option value="22" data-location-code="2826">google.co.uk (United Kingdom/English)</option>
                        <option value="1096" data-location-code="2826">uk.search.yahoo.com (United Kingdom/All Languages)</option>
                        <option value="957" data-location-code="2826">uk.search.yahoo.com (United Kingdom/English)</option>
                        <option value="1012" data-location-code="2840">bing.com (United States/All Languages)</option>
                        <option value="5958" data-location-code="2840">bing.com (United States/Arabic)</option>
                        <option value="397" data-location-code="2840">bing.com (United States/English)</option>
                        <option value="404" data-location-code="2840">bing.com (United States/Spanish)</option>
                        <option value="959" data-location-code="2840">espanol.search.yahoo.com (United States/Spanish)</option>
                        <option value="3667" data-location-code="2840">google.com (United States/Chinese (Simplified))</option>
                        <option value="3636" data-location-code="2840">google.com (United States/Chinese (Traditional))</option>
                        <option value="3641" data-location-code="2840">google.com (United States/Danish)</option>
                        <option value="3656" data-location-code="2840">google.com (United States/Dutch)</option>
                        <option value="14" data-location-code="2840">google.com (United States/English)</option>
                        <option value="2833" data-location-code="2840">google.com (United States/Espanol (Latinoamerica))</option>
                        <option value="3651" data-location-code="2840">google.com (United States/French)</option>
                        <option value="3646" data-location-code="2840">google.com (United States/German)</option>
                        <option value="3631" data-location-code="2840">google.com (United States/Norwegian)</option>
                        <option value="3616" data-location-code="2840">google.com (United States/Portuguese (Portugal))</option>
                        <option value="3621" data-location-code="2840">google.com (United States/Russian)</option>
                        <option value="2828" data-location-code="2840">google.com (United States/Spanish)</option>
                        <option value="3626" data-location-code="2840">google.com (United States/Swedish)</option>
                        <option value="3662" data-location-code="2840">google.com (United States/Vietnamese)</option>
                        <option value="1097" data-location-code="2840">search.yahoo.com (United States/All Languages)</option>
                        <option value="958" data-location-code="2840">search.yahoo.com (United States/English)</option>
                        <option value="5325" data-location-code="2858">google.com.uy (Uruguay/English)</option>
                        <option value="351" data-location-code="2858">google.com.uy (Uruguay/Espanol (Latinoamerica))</option>
                        <option value="5777" data-location-code="2858">google.com.uy (Uruguay/Spanish)</option>
                        <option value="5329" data-location-code="2860">google.co.uz (Uzbekistan/English)</option>
                        <option value="353" data-location-code="2860">google.co.uz (Uzbekistan/Russian)</option>
                        <option value="352" data-location-code="2860">google.co.uz (Uzbekistan/Uzbek)</option>
                        <option value="355" data-location-code="2548">google.vu (Vanuatu/English)</option>
                        <option value="354" data-location-code="2548">google.vu (Vanuatu/French)</option>
                        <option value="5980" data-location-code="2862">espanol.search.yahoo.com (Venezuela/Spanish)</option>
                        <option value="5331" data-location-code="2862">google.co.ve (Venezuela/English)</option>
                        <option value="356" data-location-code="2862">google.co.ve (Venezuela/Espanol)</option>
                        <option value="5779" data-location-code="2862">google.co.ve (Venezuela/Spanish)</option>
                        <option value="357" data-location-code="2704">google.com.vn (Vietnam/Chinese (Traditional Han))</option>
                        <option value="2977" data-location-code="2704">google.com.vn (Vietnam/English)</option>
                        <option value="359" data-location-code="2704">google.com.vn (Vietnam/French)</option>
                        <option value="358" data-location-code="2704">google.com.vn (Vietnam/Vietnamese)</option>
                        <option value="1098" data-location-code="2704">vn.search.yahoo.com (Vietnam/All Languages)</option>
                        <option value="960" data-location-code="2704">vn.search.yahoo.com (Vietnam/Chinese (Traditional Han))</option>
                        <option value="961" data-location-code="2704">vn.search.yahoo.com (Vietnam/English)</option>
                        <option value="5981" data-location-code="2704">vn.search.yahoo.com (Vietnam/Vietnamese)</option>
                        <option value="361" data-location-code="2850">google.co.vi (Virgin Islands US/English)</option>
                        <option value="5828" data-location-code="2887">google.com (Yemen/Arabic)</option>
                        <option value="363" data-location-code="2894">google.co.zm (Zambia/Chichewa)</option>
                        <option value="365" data-location-code="2894">google.co.zm (Zambia/Chitumbuka-Chisenga)</option>
                        <option value="366" data-location-code="2894">google.co.zm (Zambia/English)</option>
                        <option value="364" data-location-code="2894">google.co.zm (Zambia/IciBemba)</option>
                        <option value="362" data-location-code="2894">google.co.zm (Zambia/Silozi)</option>
                        <option value="367" data-location-code="2716">google.co.zw (Zimbabwe/Chichewa)</option>
                        <option value="368" data-location-code="2716">google.co.zw (Zimbabwe/English)</option>
                        <option value="370" data-location-code="2716">google.co.zw (Zimbabwe/Shona)</option>
                        <option value="369" data-location-code="2716">google.co.zw (Zimbabwe/Tswana)</option>
                        <option value="371" data-location-code="2716">google.co.zw (Zimbabwe/Zulu)</option>
                    </select>
                </div>
            <div class="xagio-flex-even-columns xagio-flex-gap-medium xagio-margin-top-medium">
                <div>
                    <label class="modal-label" for="search_country">Country</label>
                    <select id="search_country" class="xagio-input-select xagio-input-select-gray" name="search_country">
                        <option></option>
                        <?php
                            foreach($xagio_country_list as $xagio_item)
                            {
                        ?>    
                            <option value="<?php echo esc_html($xagio_item['location_code']) ?>" data-countrycode="<?php echo esc_html($xagio_item['country_iso_code']) ?>" <?php if($xagio_item['location_code'] == $xagio_default_country) {?> selected <?php } ?>><?php echo esc_html($xagio_item['location_name']) ?></option>
                        <?php
                            }
                        ?>
                    </select>
                </div>
                <div>
                    <label class="modal-label" for="search_location">Location <i class="xagio-icon xagio-icon-sync xagio-icon-spin" id="loading_cities" style="display:none;"></i></label>
                    <select id="search_location" class="xagio-input-select xagio-input-select-gray" name="search_location">
                        <?php if(!empty($xagio_default_city)) {?>
                            <option value="<?php echo esc_html($xagio_default_city['id']) ?>"><?php echo esc_html($xagio_default_city['text']) ?></option>
                        <?php } ?>
                    </select>
                </div>
            </div>

            <div class="xagio-flex-row xagio-margin-top-large">
                <div class="xag-cost-container xagio-flex-gap-small">
                    <i class="xagio-icon xagio-icon-info"></i>
                    <div id="xagsCost"></div>
                </div>

                <div class="xagio-flex-right xagio-flex-gap-medium">
                    <button class="xagio-button xagio-button-outline" data-xagio-close-modal type="button"><i class="xagio-icon xagio-icon-close"></i> Cancel</button>
                    <button class="xagio-button xagio-button-primary submitKeywords" type="submit"><i class="xagio-icon xagio-icon-check"></i> Submit Keywords to Rank Tracker</button>
                </div>
            </div>

        </form>
    </div>

</dialog>

<dialog id="rankTrackingDefault" class="xagio-modal">
    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-key"></i> Save Default Engine</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>

    <div class="xagio-modal-body">
        <form id="rankTrackingDefaultForm">
            <label class="modal-label" for="">Do you want to make this as a default search engine?</label>
            <input type="hidden" name="search_engine_data" id="search_engine_data" value="">

            <div class="xagio-flex-right xagio-flex-gap-medium xagio-margin-top-large">
                <button class="xagio-button xagio-button-outline" data-xagio-close-modal type="button"><i class="xagio-icon xagio-icon-close"></i> Cancel</button>
                <button class="xagio-button xagio-button-primary submitDefaultEngine" type="submit"><i class="xagio-icon xagio-icon-check"></i> Ok</button>
            </div>
        </form>
    </div>

</dialog>

<dialog id="rankTrackingDefaultCountry" class="xagio-modal">
    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-key"></i> Save Default Country</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>

    <div class="xagio-modal-body">
        <form id="rankTrackingDefaultCountryForm">
            <label class="modal-label" for="">Do you want to make this as a default country?</label>
            <input type="hidden" name="search_country_data" id="search_country_data" value="">

            <div class="xagio-flex-right xagio-flex-gap-medium xagio-margin-top-large">
                <button class="xagio-button xagio-button-outline" data-xagio-close-modal type="button"><i class="xagio-icon xagio-icon-close"></i> Cancel</button>
                <button class="xagio-button xagio-button-primary submitDefaultCountry" type="submit"><i class="xagio-icon xagio-icon-check"></i> Ok</button>
            </div>
        </form>
    </div>

</dialog>

<table class="xagio-table-modal xagio-vertical-center pagePostAllTableTemplate xagio-hidden">
    <thead>
    <tr>
        <th class="xagio-text-left">Group Name</th>
        <th class="xagio-text-right">Page or Post</th>
    </tr>
    </thead>
    <tbody class="body_template">
    <tr class="tr_template">
        <td class="group_name" data-id=""></td>
        <td class="createMultiResults xagio-text-right">

            <div class="xagio-flex xagio-flex-align-right xagio-flex-gap-small">
                <div class="xagio-radio-btn-holder page_selection">
                    <label for="post_or_page">Page</label>
                    <input type="radio" name="post_or_page" value="page" checked />
                </div>
                <div class="xagio-radio-btn-holder post_selection">
                    <label for="post_or_page">Post</label>
                    <input type="radio" name="post_or_page" value="post" />
                </div>

            </div>
        </td>
    </tr>
    </tbody>
</table>

<!--New Page Post Results Modal-->
<dialog id="resultsPagePost" class="xagio-modal">
    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-info"></i> Create Page/Post from Group</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>

    <div class="xagio-modal-body">
        <div class="modal-label pagePostResultsMessage">Successfully created page/post. You can click below to edit page right away</div>
        <p class="update_parent_page">
            <label for="parentPage">Parent : </label>
            <select name="parentPage" id="parentPage" class="xagio-input-select xagio-input-select-gray"></select>
        </p>
        <p class="update_page_post_status">
            <label for="pagePostStatus">Status : </label>
            <select name="pagePostStatus" id="pagePostStatus" class="xagio-input-select xagio-input-select-gray"></select>
        </p>
        <p class="edit_page_post_link"></p>


        <div class="xagio-flex-right xagio-flex-gap-medium xagio-margin-top-medium">
            <button class="xagio-button xagio-button-outline" type="button" data-xagio-close-modal><i class="xagio-icon xagio-icon-close"></i> Close</button>
        </div>
    </div>
</dialog>

<dialog id="creating_block" class="xagio-modal">
    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-info"></i> Creating Page</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>

    <div class="xagio-modal-body">
        <p class="creating_please_wait">Please Wait ...</p>
        <div class="creating_gears">
            <i class="one xagio-icon xagio-icon-gear"></i>
            <i class="two xagio-icon xagio-icon-gear"></i>
            <i class="three xagio-icon xagio-icon-gear"></i>
        </div>
    </div>
</dialog>

<!-- Onboarding -->
<dialog id="aiwizard" class="xagio-modal xagio-modal-aiwizard">
    <div class="xagio-modal-body">

        <div class="aiwizard-start">

            <div class="xagio-flex xagio-flex-align-center">

                <div class="xagio-width-max700">

                    <a href="#" class="stop-aiwizard"><i class="xagio-icon xagio-icon-close"></i></a>

                    <img class="heading-image" src="<?php echo  esc_url(XAGIO_URL); ?>assets/img/xagioai_white.webp" alt=""/>

                    <h1 class="ai-wizard-welcome">
                        Welcome to AI Wizard!
                    </h1>

                    <p class="ai-wizard-information">
                        Analyze multiple top ranking competitors for your sites main keyword, to find & cluster all their ranking keywords inside your projects!
                    </p>

                    <div class="aiwizard-type">
                        <div class="option-picker" data-type="affiliate">
                            <div class="ai-image-column">
                                <i class="xagio-icon xagio-icon-globe"></i>
                            </div>
                            <h3>Global</h3>
                            <div>Use for any sites that DO NOT target local areas, for example: Affiliate, eCommerce, News, Blogs, etc.</div>
                            <u>GET STARTED</u>
                        </div>
                        <div class="option-picker" data-type="local">
                            <div class="ai-image-column">
                                <i class="xagio-icon xagio-icon-map"></i>
                            </div>
                            <h3>Local</h3>
                            <div>Use for any sites that target geographic locations, for example: Lead Gen, Rank & Rent, Client SEO, etc.</div>
                            <u>GET STARTED</u>
                        </div>
                    </div>

                </div>

            </div>

        </div>

        <div class="aiwizard xagio-modal" style="display: none">
            <input type="hidden" id="aiwizard-type" value="local">
            <div class="xagio-flex xagio-flex-align-center">

                <div class="xagio-width-max900">

                    <h5 class="aiwizard-breadcrumb"> AI Wizard by <img class="ai-wizard-breadcrumb-xagio-image" src="<?php echo  esc_url(XAGIO_URL); ?>assets/img/xagioai_black.webp" alt=""/></h5>

                    <div class="aiwizard-wizard">

                        <ul class="nav">
                            <li class="nav-item">
                                <a class="nav-link" href="#step-1">
                                    <span class="num">1</span>
                                    <span class="step-1-header">Location</span>
                                </a>
                            </li>
                            <li class="nav-item">
                                <a class="nav-link" href="#step-2">
                                    <span class="num">2</span>
                                    <span class="step-2-header">Services</span>
                                </a>
                            </li>
                            <li class="nav-item">
                                <a class="nav-link " href="#step-4">
                                    <span class="num">3</span>
                                    Result
                                </a>
                            </li>
                        </ul>

                        <div class="tab-content">

                            <div id="step-1" class="tab-pane" role="tabpanel" aria-labelledby="step-1">
                                <div class="step-body">

                                    <div class="step-text">
                                        In what <b class="with-underscore">City</b> is your Business located at?
                                    </div>

                                    <input type="hidden" name="main-keyword" class="main-keyword" value="">
                                    <div class="step-input">
                                        <input class="xagio-input-text-mini" id="top-ten-location-text" type="text" placeholder="e.g. austin" name="location" value="">
                                    </div>
                                    <p class="help">You can leave this empty, however, it is always recommended to include City for your Businesses.</p>
                                </div>

                                <div class="ai-wizard-buttons">
                                    <a href="#" class="xagio-button xagio-button-outline select-type"><i class="xagio-icon xagio-icon-close"></i> Cancel</a>
                                    <a href="#" class="xagio-button xagio-button-primary next-step"><i class="xagio-icon xagio-icon-arrow-right"></i> Continue</a>
                                </div>

                            </div>

                            <div id="step-2" class="tab-pane" role="tabpanel" aria-labelledby="step-2">
                                <div class="step-body">

                                    <div class="step-text">
                                        Enter a <b class="with-underscore">Keyword</b> that best describes your Business
                                    </div>

                                    <div class="step-input">
                                        <input class="xagio-input-text-mini top-websites-keyword" id="top-ten-keyword" type="text" placeholder="e.g. pool cleaning" name="keyword" value="">
                                    </div>

                                    <div class="aiwizard-search-holder xagio-margin-top-medium">
                                        <div>
                                            <label for="top_ten_search_engine" class="step-text-secondary">Search Engine</label>
                                            <select id="top_ten_search_engine" name="top_ten_search_engine" class="xagio-input-select xagio-input-select-gray" data-default="<?php echo esc_attr($xagio_ai_wizard_se) ? wp_kses_post($xagio_ai_wizard_se) : "14" ?>">
                                                <option value="5820">google.com.af (Afghanistan/Arabic)</option>
                                                <option value="5297">google.com.af (Afghanistan/English)</option>
                                                <option value="37">google.com.af (Afghanistan/Pashto)</option>
                                                <option value="38">google.com.af (Afghanistan/Persian)</option>
                                                <option value="39">google.al (Albania/Albanian)</option>
                                                <option value="5765">google.al (Albania/English)</option>
                                                <option value="1013">search.yahoo.com (Albania/All Languages)</option>
                                                <option value="828">search.yahoo.com (Albania/English)</option>
                                                <option value="41">google.dz (Algeria/Arabic)</option>
                                                <option value="5339">google.dz (Algeria/English)</option>
                                                <option value="40">google.dz (Algeria/French)</option>
                                                <option value="1014">search.yahoo.com (Algeria/All Languages)</option>
                                                <option value="829">search.yahoo.com (Algeria/Arabic)</option>
                                                <option value="830">search.yahoo.com (Algeria/French)</option>
                                                <option value="42">google.as (American Samoa/English)</option>
                                                <option value="43">google.ad (Andorra/Catalan)</option>
                                                <option value="5271">google.ad (Andorra/English)</option>
                                                <option value="5291">google.co.ao (Angola/English)</option>
                                                <option value="44">google.co.ao (Angola/Kongo)</option>
                                                <option value="45">google.co.ao (Angola/Portuguese)</option>
                                                <option value="46">google.com.ai (Anguilla/English)</option>

                                                <option value="47">google.com.ag (Antigua and Barbuda/English)</option>
                                                <option value="1015">ar.search.yahoo.com (Argentina/All Languages)</option>
                                                <option value="831">ar.search.yahoo.com (Argentina/English)</option>
                                                <option value="832">ar.search.yahoo.com (Argentina/Spanish)</option>
                                                <option value="962">bing.com (Argentina/All Languages)</option>
                                                <option value="400">bing.com (Argentina/Spanish)</option>
                                                <option value="3402">google.com.ar (Argentina/English)</option>
                                                <option value="48">google.com.ar (Argentina/Espanol (Latinoamerica))</option>
                                                <option value="5437">google.com.ar (Argentina/Spanish)</option>

                                                <option value="49">google.am (Armenia/Armenian)</option>
                                                <option value="5273">google.am (Armenia/English)</option>
                                                <option value="50">google.am (Armenia/Russian)</option>
                                                <option value="1016">search.yahoo.com (Armenia/All Languages)</option>
                                                <option value="833">search.yahoo.com (Armenia/English)</option>
                                                <option value="834">search.yahoo.com (Armenia/Russian)</option>

                                                <option value="6222">google.com (Aruba/English)</option>
                                                <option value="1017">au.search.yahoo.com (Australia/All Languages)</option>
                                                <option value="835">au.search.yahoo.com (Australia/English)</option>
                                                <option value="963">bing.com (Australia/All Languages)</option>
                                                <option value="387">bing.com (Australia/English)</option>
                                                <option value="51">google.com.au (Australia/English)</option>

                                                <option value="1018">at.search.yahoo.com (Austria/All Languages)</option>
                                                <option value="836">at.search.yahoo.com (Austria/English)</option>
                                                <option value="837">at.search.yahoo.com (Austria/German)</option>
                                                <option value="964">bing.com (Austria/All Languages)</option>
                                                <option value="383">bing.com (Austria/German)</option>
                                                <option value="3385">google.at (Austria/English)</option>
                                                <option value="52">google.at (Austria/German)</option>

                                                <option value="53">google.az (Azerbaijan/Azerbaijani)</option>
                                                <option value="3386">google.az (Azerbaijan/English)</option>
                                                <option value="13">google.az (Azerbaijan/Russian)</option>
                                                <option value="1019">search.yahoo.com (Azerbaijan/All Languages)</option>
                                                <option value="838">search.yahoo.com (Azerbaijan/English)</option>
                                                <option value="839">search.yahoo.com (Azerbaijan/Russian)</option>

                                                <option value="55">google.bs (Bahamas/English)</option>
                                                <option value="56">google.com.bh (Bahrain/Arabic)</option>
                                                <option value="2868">google.com.bh (Bahrain/English)</option>
                                                <option value="1020">search.yahoo.com (Bahrain/All Languages)</option>
                                                <option value="840">search.yahoo.com (Bahrain/Arabic)</option>
                                                <option value="57">google.com.bd (Bangladesh/Bengali)</option>
                                                <option value="3403">google.com.bd (Bangladesh/English)</option>
                                                <option value="5708">google.com (Barbados/English)</option>
                                                <option value="58">google.by (Belarus/Belarusian)</option>
                                                <option value="5285">google.by (Belarus/English)</option>
                                                <option value="12">google.by (Belarus/Russian)</option>



                                                <option value="965">bing.com (Belgium/All Languages)</option>
                                                <option value="421">bing.com (Belgium/Dutch)</option>
                                                <option value="408">bing.com (Belgium/French)</option>
                                                <option value="842">fr.search.yahoo.com (Belgium/French)</option>
                                                <option value="60">google.be (Belgium/Dutch)</option>
                                                <option value="3387">google.be (Belgium/English)</option>
                                                <option value="61">google.be (Belgium/French)</option>
                                                <option value="62">google.be (Belgium/German)</option>
                                                <option value="841">nl.search.yahoo.com (Belgium/Dutch)</option>
                                                <option value="1021">search.yahoo.com (Belgium/All Languages)</option>
                                                <option value="5972">search.yahoo.com (Belgium/English)</option>

                                                <option value="63">google.com.bz (Belize/English)</option>
                                                <option value="64">google.com.bz (Belize/Espanol (Latinoamerica))</option>
                                                <option value="5782">google.com.bz (Belize/Spanish)</option>
                                                <option value="5283">google.bj (Benin/English)</option>
                                                <option value="65">google.bj (Benin/French)</option>
                                                <option value="66">google.bj (Benin/Yoruba)</option>
                                                <option value="5761">google.com (Bermuda/English)</option>
                                                <option value="3388">google.bt (Bhutan/English)</option>
                                                <option value="5299">google.com.bo (Bolivia/English)</option>
                                                <option value="67">google.com.bo (Bolivia/Espanol (Latinoamerica))</option>
                                                <option value="68">google.com.bo (Bolivia/Quechua)</option>
                                                <option value="1022">search.yahoo.com (Bolivia/All Languages)</option>
                                                <option value="843">search.yahoo.com (Bolivia/English)</option>
                                                <option value="69">google.ba (Bosnia and Herzegovina/Bosnian)</option>
                                                <option value="71">google.ba (Bosnia and Herzegovina/Croatian)</option>
                                                <option value="5275">google.ba (Bosnia and Herzegovina/English)</option>
                                                <option value="70">google.ba (Bosnia and Herzegovina/Serbian)</option>
                                                <option value="1023">search.yahoo.com (Bosnia and Herzegovina/All Languages)</option>
                                                <option value="844">search.yahoo.com (Bosnia and Herzegovina/Croatian)</option>
                                                <option value="845">search.yahoo.com (Bosnia and Herzegovina/English)</option>
                                                <option value="5293">google.co.bw (Botswana/English)</option>
                                                <option value="72">google.co.bw (Botswana/Tswana)</option>
                                                <option value="966">bing.com (Brazil/All Languages)</option>
                                                <option value="424">bing.com (Brazil/Portuguese)</option>
                                                <option value="1024">br.search.yahoo.com (Brazil/All Languages)</option>
                                                <option value="846">br.search.yahoo.com (Brazil/English)</option>
                                                <option value="847">br.search.yahoo.com (Brazil/Portuguese)</option>
                                                <option value="3405">google.com.br (Brazil/English)</option>
                                                <option value="73">google.com.br (Brazil/Portuguese (Brasil))</option>

                                                <option value="360">google.vg (British Virgin Islands/English)</option>
                                                <option value="75">google.com.bn (Brunei/Chinese (Simplified Han))</option>
                                                <option value="3404">google.com.bn (Brunei/English)</option>
                                                <option value="74">google.com.bn (Brunei/Malay)</option>
                                                <option value="967">bing.com (Bulgaria/All Languages)</option>
                                                <option value="380">bing.com (Bulgaria/Bulgarian)</option>
                                                <option value="76">google.bg (Bulgaria/Bulgarian)</option>
                                                <option value="5279">google.bg (Bulgaria/English)</option>
                                                <option value="1025">search.yahoo.com (Bulgaria/All Languages)</option>
                                                <option value="848">search.yahoo.com (Bulgaria/Bulgarian)</option>
                                                <option value="849">search.yahoo.com (Bulgaria/English)</option>

                                                <option value="5277">google.bf (Burkina Faso/English)</option>
                                                <option value="77">google.bf (Burkina Faso/French)</option>
                                                <option value="5281">google.bi (Burundi/English)</option>
                                                <option value="79">google.bi (Burundi/French)</option>
                                                <option value="78">google.bi (Burundi/Kirundi)</option>
                                                <option value="80">google.bi (Burundi/Swahili)</option>
                                                <option value="3409">google.com.kh (Cambodia/English)</option>
                                                <option value="81">google.com.kh (Cambodia/Khmer)</option>
                                                <option value="3391">google.cm (Cameroon/English)</option>
                                                <option value="82">google.cm (Cameroon/French)</option>
                                                <option value="968">bing.com (Canada/All Languages)</option>
                                                <option value="388">bing.com (Canada/English)</option>
                                                <option value="409">bing.com (Canada/French)</option>
                                                <option value="1026">ca.search.yahoo.com (Canada/All Languages)</option>
                                                <option value="850">ca.search.yahoo.com (Canada/English)</option>
                                                <option value="851">ca.search.yahoo.com (Canada/French)</option>
                                                <option value="23">google.ca (Canada/English)</option>
                                                <option value="84">google.ca (Canada/French)</option>

                                                <option value="5333">google.cv (Cape Verde/English)</option>
                                                <option value="85">google.cv (Cape Verde/Portuguese)</option>
                                                <option value="5783">google.cv (Cape Verde/Portuguese (Brasil))</option>
                                                <option value="267">google.cat (Catalonia/Catalan)</option>
                                                <option value="5763">google.com (Cayman Islands/English)</option>
                                                <option value="5287">google.cf (Central African Republic/English)</option>
                                                <option value="86">google.cf (Central African Republic/French)</option>
                                                <option value="87">google.td (Chad/Arabic)</option>
                                                <option value="5381">google.td (Chad/English)</option>
                                                <option value="88">google.td (Chad/French)</option>
                                                <option value="969">bing.com (Chile/All Languages)</option>
                                                <option value="401">bing.com (Chile/Spanish)</option>
                                                <option value="853">espanol.search.yahoo.com (Chile/Spanish)</option>
                                                <option value="3390">google.cl (Chile/English)</option>
                                                <option value="89">google.cl (Chile/Espanol (Latinoamerica))</option>
                                                <option value="5769">google.cl (Chile/Spanish)</option>
                                                <option value="1027">search.yahoo.com (Chile/All Languages)</option>
                                                <option value="970">bing.com (China/All Languages)</option>
                                                <option value="434">bing.com (China/Chinese)</option>
                                                <option value="90">google.com.hk (China/Chinese (Simplified Han))</option>
                                                <option value="1028">search.yahoo.com (China/All Languages)</option>
                                                <option value="5974">search.yahoo.com (China/Chinese (Simplified Han))</option>
                                                <option value="854">search.yahoo.com (China/Chinese (Traditional))</option>
                                                <option value="855">search.yahoo.com (China/English)</option>

                                                <option value="856">espanol.search.yahoo.com (Colombia/Spanish)</option>
                                                <option value="3406">google.com.co (Colombia/English)</option>
                                                <option value="91">google.com.co (Colombia/Espanol (Latinoamerica))</option>
                                                <option value="5742">google.com.co (Colombia/Spanish)</option>
                                                <option value="1029">search.yahoo.com (Colombia/All Languages)</option>
                                                <option value="857">search.yahoo.com (Colombia/English)</option>
                                                <option value="5799">google.com (Comoros/French)</option>
                                                <option value="101">google.co.ck (Cook Islands/English)</option>
                                                <option value="3392">google.co.cr (Costa Rica/English)</option>
                                                <option value="102">google.co.cr (Costa Rica/Espanol (Latinoamerica))</option>
                                                <option value="5781">google.co.cr (Costa Rica/Spanish)</option>
                                                <option value="1030">search.yahoo.com (Costa Rica/All Languages)</option>
                                                <option value="859">search.yahoo.com (Costa Rica/English)</option>
                                                <option value="858">search.yahoo.com (Costa Rica/Spanish)</option>
                                                <option value="5289">google.ci (Cote dIvoire/English)</option>
                                                <option value="103">google.ci (Cote dIvoire/French)</option>
                                                <option value="971">bing.com (Croatia/All Languages)</option>
                                                <option value="413">bing.com (Croatia/Croatian)</option>
                                                <option value="104">google.hr (Croatia/Croatian)</option>
                                                <option value="5767">google.hr (Croatia/English)</option>
                                                <option value="1031">search.yahoo.com (Croatia/All Languages)</option>
                                                <option value="860">search.yahoo.com (Croatia/Croatian)</option>
                                                <option value="5301">google.com.cu (Cuba/English)</option>
                                                <option value="105">google.com.cu (Cuba/Espanol (Latinoamerica))</option>
                                                <option value="6225">google.com (Curacao/English)</option>
                                                <option value="106">google.com.cy (Cyprus/English)</option>
                                                <option value="107">google.com.cy (Cyprus/Greek)</option>
                                                <option value="108">google.com.cy (Cyprus/Turkish)</option>

                                                <option value="972">bing.com (Czechia/All Languages)</option>
                                                <option value="381">bing.com (Czechia/Czech)</option>
                                                <option value="109">google.cz (Czechia/Czech)</option>
                                                <option value="5335">google.cz (Czechia/English)</option>
                                                <option value="1032">search.yahoo.com (Czechia/All Languages)</option>
                                                <option value="861">search.yahoo.com (Czechia/Czech)</option>
                                                <option value="95">google.cd (Democratic Republic of the Congo/Alur)</option>
                                                <option value="96">google.cd (Democratic Republic of the Congo/French)</option>
                                                <option value="99">google.cd (Democratic Republic of the Congo/Kongo)</option>
                                                <option value="100">google.cd (Democratic Republic of the Congo/Lingala)</option>
                                                <option value="98">google.cd (Democratic Republic of the Congo/Swahili)</option>
                                                <option value="97">google.cd (Democratic Republic of the Congo/Tshiluba)</option>
                                                <option value="1033">search.yahoo.com (Democratic Republic of the Congo/All Languages)</option>
                                                <option value="862">search.yahoo.com (Democratic Republic of the Congo/French)</option>
                                                <option value="973">bing.com (Denmark/All Languages)</option>
                                                <option value="382">bing.com (Denmark/Danish)</option>
                                                <option value="1034">dk.search.yahoo.com (Denmark/All Languages)</option>
                                                <option value="863">dk.search.yahoo.com (Denmark/Danish)</option>
                                                <option value="864">dk.search.yahoo.com (Denmark/English)</option>
                                                <option value="110">google.dk (Denmark/Danish)</option>
                                                <option value="3421">google.dk (Denmark/English)</option>
                                                <option value="111">google.dk (Denmark/Faroese)</option>

                                                <option value="114">google.dj (Djibouti/Arabic)</option>
                                                <option value="5337">google.dj (Djibouti/English)</option>
                                                <option value="113">google.dj (Djibouti/French)</option>
                                                <option value="112">google.dj (Djibouti/Somali)</option>
                                                <option value="115">google.dm (Dominica/English)</option>
                                                <option value="5303">google.com.do (Dominican Republic/English)</option>
                                                <option value="116">google.com.do (Dominican Republic/Espanol (Latinoamerica))</option>
                                                <option value="5760">google.com.do (Dominican Republic/Spanish)</option>
                                                <option value="5305">google.com.ec (Ecuador/English)</option>
                                                <option value="117">google.com.ec (Ecuador/Espanol (Latinoamerica))</option>
                                                <option value="5774">google.com.ec (Ecuador/Spanish)</option>
                                                <option value="1035">search.yahoo.com (Ecuador/All Languages)</option>
                                                <option value="865">search.yahoo.com (Ecuador/English)</option>
                                                <option value="118">google.com.eg (Egypt/Arabic)</option>
                                                <option value="2873">google.com.eg (Egypt/English)</option>
                                                <option value="1036">search.yahoo.com (Egypt/All Languages)</option>
                                                <option value="866">search.yahoo.com (Egypt/Arabic)</option>
                                                <option value="867">search.yahoo.com (Egypt/English)</option>

                                                <option value="5321">google.com.sv (El Salvador/English)</option>
                                                <option value="119">google.com.sv (El Salvador/Espanol (Latinoamerica))</option>
                                                <option value="5743">google.com.sv (El Salvador/Spanish)</option>
                                                <option value="1037">search.yahoo.com (El Salvador/All Languages)</option>
                                                <option value="868">search.yahoo.com (El Salvador/English)</option>
                                                <option value="5787">google.com (Eritrea/Arabic)</option>
                                                <option value="974">bing.com (Estonia/All Languages)</option>
                                                <option value="406">bing.com (Estonia/Estonian)</option>
                                                <option value="3422">google.ee (Estonia/English)</option>
                                                <option value="121">google.ee (Estonia/Estonian)</option>
                                                <option value="120">google.ee (Estonia/Russian)</option>
                                                <option value="1038">search.yahoo.com (Estonia/All Languages)</option>
                                                <option value="869">search.yahoo.com (Estonia/Estonian)</option>
                                                <option value="870">search.yahoo.com (Estonia/Russian)</option>
                                                <option value="122">google.com.et (Ethiopia/Amharic)</option>
                                                <option value="3407">google.com.et (Ethiopia/English)</option>
                                                <option value="123">google.com.et (Ethiopia/Oromo)</option>
                                                <option value="125">google.com.et (Ethiopia/Somali)</option>
                                                <option value="124">google.com.et (Ethiopia/Tigrinya)</option>
                                                <option value="5789">google.com (Faroe Islands/Faroese)</option>
                                                <option value="126">google.com.fj (Fiji/English)</option>
                                                <option value="975">bing.com (Finland/All Languages)</option>
                                                <option value="407">bing.com (Finland/Finnish)</option>
                                                <option value="1039">fi.search.yahoo.com (Finland/All Languages)</option>
                                                <option value="871">fi.search.yahoo.com (Finland/English)</option>
                                                <option value="872">fi.search.yahoo.com (Finland/Finnish)</option>
                                                <option value="873">fi.search.yahoo.com (Finland/Swedish)</option>
                                                <option value="3423">google.fi (Finland/English)</option>
                                                <option value="128">google.fi (Finland/Finnish)</option>
                                                <option value="127">google.fi (Finland/Swedish)</option>
                                                <option value="976">bing.com (France/All Languages)</option>
                                                <option value="411">bing.com (France/French)</option>
                                                <option value="1040">fr.search.yahoo.com (France/All Languages)</option>
                                                <option value="874">fr.search.yahoo.com (France/French)</option>
                                                <option value="2838">google.fr (France/English)</option>
                                                <option value="129">google.fr (France/French)</option>

                                                <option value="5793">google.com (French Guiana/French)</option>
                                                <option value="5816">google.com (French Polynesia/French)</option>
                                                <option value="5341">google.ga (Gabon/English)</option>
                                                <option value="130">google.ga (Gabon/French)</option>
                                                <option value="131">google.gm (Gambia/English)</option>
                                                <option value="132">google.gm (Gambia/Wolof)</option>
                                                <option value="5343">google.ge (Georgia/English)</option>
                                                <option value="133">google.ge (Georgia/Georgian)</option>
                                                <option value="1041">search.yahoo.com (Georgia/All Languages)</option>
                                                <option value="875">search.yahoo.com (Georgia/English)</option>
                                                <option value="977">bing.com (Germany/All Languages)</option>
                                                <option value="385">bing.com (Germany/German)</option>
                                                <option value="1042">de.search.yahoo.com (Germany/All Languages)</option>
                                                <option value="876">de.search.yahoo.com (Germany/German)</option>
                                                <option value="2927">google.de (Germany/English)</option>
                                                <option value="25">google.de (Germany/German)</option>

                                                <option value="136">google.com.gh (Ghana/Akan)</option>
                                                <option value="138">google.com.gh (Ghana/English)</option>
                                                <option value="137">google.com.gh (Ghana/Ewe)</option>
                                                <option value="139">google.com.gh (Ghana/Ga)</option>
                                                <option value="135">google.com.gh (Ghana/Hausa)</option>
                                                <option value="141">google.com.gi (Gibraltar/English)</option>
                                                <option value="5400">google.com.gi (Gibraltar/Espanol (Latinoamerica))</option>
                                                <option value="143">google.com.gi (Gibraltar/Italian)</option>
                                                <option value="140">google.com.gi (Gibraltar/Portuguese)</option>
                                                <option value="142">google.com.gi (Gibraltar/Spanish)</option>
                                                <option value="978">bing.com (Greece/All Languages)</option>
                                                <option value="386">bing.com (Greece/Greek)</option>
                                                <option value="3424">google.gr (Greece/English)</option>
                                                <option value="144">google.gr (Greece/Greek)</option>
                                                <option value="1043">gr.search.yahoo.com (Greece/All Languages)</option>
                                                <option value="877">gr.search.yahoo.com (Greece/English)</option>
                                                <option value="878">gr.search.yahoo.com (Greece/Greek)</option>

                                                <option value="145">google.gl (Greenland/Danish)</option>
                                                <option value="5345">google.gl (Greenland/English)</option>
                                                <option value="5791">google.com (Grenada/English)</option>
                                                <option value="5347">google.gp (Guadeloupe/English)</option>
                                                <option value="146">google.gp (Guadeloupe/French)</option>
                                                <option value="5702">google.com (Guam/English)</option>
                                                <option value="3673">google.com.gt (Guatemala/English)</option>
                                                <option value="147">google.com.gt (Guatemala/Espanol (Latinoamerica))</option>
                                                <option value="5772">google.com.gt (Guatemala/Spanish)</option>
                                                <option value="1044">search.yahoo.com (Guatemala/All Languages)</option>
                                                <option value="879">search.yahoo.com (Guatemala/English)</option>
                                                <option value="148">google.gg (Guernsey/English)</option>
                                                <option value="149">google.gg (Guernsey/French)</option>
                                                <option value="5795">google.com (Guinea/French)</option>
                                                <option value="150">google.gy (Guyana/English)</option>
                                                <option value="5351">google.ht (Haiti/English)</option>
                                                <option value="152">google.ht (Haiti/French)</option>
                                                <option value="151">google.ht (Haiti/Haitian)</option>
                                                <option value="5349">google.hn (Honduras/English)</option>
                                                <option value="153">google.hn (Honduras/Espanol (Latinoamerica))</option>
                                                <option value="5768">google.hn (Honduras/Spanish)</option>
                                                <option value="1045">search.yahoo.com (Honduras/All Languages)</option>
                                                <option value="880">search.yahoo.com (Honduras/English)</option>
                                                <option value="979">bing.com (Hong Kong/All Languages)</option>
                                                <option value="435">bing.com (Hong Kong/Chinese (Traditional Han))</option>
                                                <option value="5733">google.com.hk (Hong Kong/Chinese)</option>
                                                <option value="3611">google.com.hk (Hong Kong/Chinese (Simplified))</option>
                                                <option value="154">google.com.hk (Hong Kong/Chinese (Traditional))</option>
                                                <option value="5735">google.com.hk (Hong Kong/Chinese (Traditional Han))</option>
                                                <option value="2843">google.com.hk (Hong Kong/English)</option>
                                                <option value="1046">hk.search.yahoo.com (Hong Kong/All Languages)</option>
                                                <option value="881">hk.search.yahoo.com (Hong Kong/Chinese (Traditional Han))</option>
                                                <option value="882">hk.search.yahoo.com (Hong Kong/English)</option>
                                                <option value="980">bing.com (Hungary/All Languages)</option>
                                                <option value="414">bing.com (Hungary/Hungarian)</option>
                                                <option value="3425">google.hu (Hungary/English)</option>
                                                <option value="155">google.hu (Hungary/Hungarian)</option>
                                                <option value="1047">search.yahoo.com (Hungary/All Languages)</option>
                                                <option value="883">search.yahoo.com (Hungary/English)</option>
                                                <option value="884">search.yahoo.com (Hungary/Hungarian)</option>

                                                <option value="3426">google.is (Iceland/English)</option>
                                                <option value="156">google.is (Iceland/Icelandic)</option>
                                                <option value="1048">search.yahoo.com (Iceland/All Languages)</option>
                                                <option value="885">search.yahoo.com (Iceland/English)</option>
                                                <option value="981">bing.com (India/All Languages)</option>
                                                <option value="392">bing.com (India/English)</option>
                                                <option value="159">google.co.in (India/Bengali)</option>
                                                <option value="163">google.co.in (India/English)</option>
                                                <option value="161">google.co.in (India/Gujarati)</option>
                                                <option value="166">google.co.in (India/Hindi)</option>
                                                <option value="164">google.co.in (India/Kannada)</option>
                                                <option value="157">google.co.in (India/Malayalam)</option>
                                                <option value="165">google.co.in (India/Marathi)</option>
                                                <option value="160">google.co.in (India/Panjabi)</option>
                                                <option value="158">google.co.in (India/Tamil)</option>
                                                <option value="162">google.co.in (India/Telugu)</option>
                                                <option value="1049">in.search.yahoo.com (India/All Languages)</option>
                                                <option value="886">in.search.yahoo.com (India/English)</option>

                                                <option value="982">bing.com (Indonesia/All Languages)</option>
                                                <option value="390">bing.com (Indonesia/English)</option>
                                                <option value="5836">bing.com (Indonesia/Indonesian)</option>
                                                <option value="5295">google.co.id (Indonesia/Balinese)</option>
                                                <option value="168">google.co.id (Indonesia/Basa Jawa)</option>
                                                <option value="2901">google.co.id (Indonesia/English)</option>
                                                <option value="167">google.co.id (Indonesia/Indonesian)</option>
                                                <option value="1050">id.search.yahoo.com (Indonesia/All Languages)</option>
                                                <option value="887">id.search.yahoo.com (Indonesia/English)</option>
                                                <option value="5975">id.search.yahoo.com (Indonesia/Indonesian)</option>
                                                <option value="170">google.iq (Iraq/Arabic)</option>
                                                <option value="2878">google.iq (Iraq/English)</option>
                                                <option value="169">google.iq (Iraq/Kurdish)</option>
                                                <option value="1051">search.yahoo.com (Iraq/All Languages)</option>
                                                <option value="888">search.yahoo.com (Iraq/Arabic)</option>
                                                <option value="983">bing.com (Ireland/All Languages)</option>
                                                <option value="391">bing.com (Ireland/English)</option>
                                                <option value="172">google.ie (Ireland/English)</option>
                                                <option value="171">google.ie (Ireland/Irish)</option>
                                                <option value="1052">ie.search.yahoo.com (Ireland/All Languages)</option>
                                                <option value="889">ie.search.yahoo.com (Ireland/English)</option>
                                                <option value="173">google.im (Isle of Man/English)</option>
                                                <option value="984">bing.com (Israel/All Languages)</option>
                                                <option value="412">bing.com (Israel/Hebrew)</option>
                                                <option value="175">google.co.il (Israel/Arabic)</option>
                                                <option value="3393">google.co.il (Israel/English)</option>
                                                <option value="174">google.co.il (Israel/Hebrew)</option>
                                                <option value="1053">search.yahoo.com (Israel/All Languages)</option>
                                                <option value="890">search.yahoo.com (Israel/Arabic)</option>
                                                <option value="891">search.yahoo.com (Israel/Hebrew)</option>
                                                <option value="985">bing.com (Italy/All Languages)</option>
                                                <option value="415">bing.com (Italy/Italian)</option>
                                                <option value="3427">google.it (Italy/English)</option>
                                                <option value="176">google.it (Italy/Italian)</option>
                                                <option value="1054">it.search.yahoo.com (Italy/All Languages)</option>
                                                <option value="892">it.search.yahoo.com (Italy/English)</option>
                                                <option value="893">it.search.yahoo.com (Italy/Italian)</option>

                                                <option value="177">google.com.jm (Jamaica/English)</option>
                                                <option value="986">bing.com (Japan/All Languages)</option>
                                                <option value="416">bing.com (Japan/Japanese)</option>
                                                <option value="3394">google.co.jp (Japan/English)</option>
                                                <option value="178">google.co.jp (Japan/Japanese)</option>
                                                <option value="5435">search.yahoo.co.jp (Japan/English)</option>
                                                <option value="5436">search.yahoo.co.jp (Japan/Japanese)</option>
                                                <option value="1055">search.yahoo.com (Japan/All Languages)</option>
                                                <option value="894">search.yahoo.com (Japan/English)</option>
                                                <option value="895">search.yahoo.com (Japan/Japanese)</option>

                                                <option value="179">google.je (Jersey/English)</option>
                                                <option value="180">google.je (Jersey/French)</option>
                                                <option value="181">google.jo (Jordan/Arabic)</option>
                                                <option value="2863">google.jo (Jordan/English)</option>
                                                <option value="5355">google.kz (Kazakhstan/English)</option>
                                                <option value="183">google.kz (Kazakhstan/Kazakh)</option>
                                                <option value="11">google.kz (Kazakhstan/Russian)</option>



                                                <option value="5959">bing.com (Kenya/Swahili)</option>
                                                <option value="3395">google.co.ke (Kenya/English)</option>
                                                <option value="184">google.co.ke (Kenya/Swahili)</option>
                                                <option value="1056">search.yahoo.com (Kenya/All Languages)</option>
                                                <option value="896">search.yahoo.com (Kenya/English)</option>
                                                <option value="185">google.ki (Kiribati/English)</option>
                                                <option value="187">google.com.kw (Kuwait/Arabic)</option>
                                                <option value="2853">google.com.kw (Kuwait/English)</option>
                                                <option value="1057">search.yahoo.com (Kuwait/All Languages)</option>
                                                <option value="897">search.yahoo.com (Kuwait/Arabic)</option>
                                                <option value="5353">google.kg (Kyrgyzstan/English)</option>
                                                <option value="189">google.kg (Kyrgyzstan/Kyrgyz)</option>
                                                <option value="188">google.kg (Kyrgyzstan/Russian)</option>
                                                <option value="3428">google.la (Laos/English)</option>
                                                <option value="190">google.la (Laos/Lao)</option>
                                                <option value="987">bing.com (Latvia/All Languages)</option>
                                                <option value="419">bing.com (Latvia/Latvian)</option>
                                                <option value="3431">google.lv (Latvia/English)</option>
                                                <option value="193">google.lv (Latvia/Latvian)</option>
                                                <option value="191">google.lv (Latvia/Lithuanian)</option>
                                                <option value="192">google.lv (Latvia/Russian)</option>
                                                <option value="1058">search.yahoo.com (Latvia/All Languages)</option>
                                                <option value="898">search.yahoo.com (Latvia/English)</option>
                                                <option value="899">search.yahoo.com (Latvia/Latvian)</option>
                                                <option value="901">search.yahoo.com (Latvia/Russian)</option>

                                                <option value="194">google.com.lb (Lebanon/Arabic)</option>
                                                <option value="196">google.com.lb (Lebanon/Armenian)</option>
                                                <option value="2883">google.com.lb (Lebanon/English)</option>
                                                <option value="195">google.com.lb (Lebanon/French)</option>
                                                <option value="1059">search.yahoo.com (Lebanon/All Languages)</option>
                                                <option value="902">search.yahoo.com (Lebanon/Arabic)</option>
                                                <option value="903">search.yahoo.com (Lebanon/French)</option>
                                                <option value="197">google.co.ls (Lesotho/English)</option>
                                                <option value="198">google.co.ls (Lesotho/Southern Sotho)</option>
                                                <option value="5803">google.com (Liberia/English)</option>
                                                <option value="199">google.com.ly (Libya/Arabic)</option>
                                                <option value="3410">google.com.ly (Libya/English)</option>
                                                <option value="200">google.com.ly (Libya/Italian)</option>
                                                <option value="1060">search.yahoo.com (Libya/All Languages)</option>
                                                <option value="904">search.yahoo.com (Libya/Arabic)</option>
                                                <option value="905">search.yahoo.com (Libya/Italian)</option>
                                                <option value="5357">google.li (Liechtenstein/English)</option>
                                                <option value="201">google.li (Liechtenstein/German)</option>
                                                <option value="988">bing.com (Lithuania/All Languages)</option>
                                                <option value="418">bing.com (Lithuania/Lithuanian)</option>
                                                <option value="3429">google.lt (Lithuania/English)</option>
                                                <option value="202">google.lt (Lithuania/Lithuanian)</option>
                                                <option value="1061">search.yahoo.com (Lithuania/All Languages)</option>
                                                <option value="906">search.yahoo.com (Lithuania/English)</option>
                                                <option value="900">search.yahoo.com (Lithuania/Lithuanian)</option>

                                                <option value="3430">google.lu (Luxembourg/English)</option>
                                                <option value="204">google.lu (Luxembourg/French)</option>
                                                <option value="203">google.lu (Luxembourg/German)</option>
                                                <option value="1062">search.yahoo.com (Luxembourg/All Languages)</option>
                                                <option value="907">search.yahoo.com (Luxembourg/French)</option>
                                                <option value="908">search.yahoo.com (Luxembourg/German)</option>
                                                <option value="5770">google.com (Macao/Chinese (Traditional Han))</option>
                                                <option value="5363">google.mk (Macedonia/English)</option>
                                                <option value="205">google.mk (Macedonia/Macedonian)</option>
                                                <option value="1063">search.yahoo.com (Macedonia/All Languages)</option>
                                                <option value="909">search.yahoo.com (Macedonia/English)</option>
                                                <option value="5361">google.mg (Madagascar/English)</option>
                                                <option value="207">google.mg (Madagascar/French)</option>
                                                <option value="206">google.mg (Madagascar/Malagasy)</option>
                                                <option value="208">google.mw (Malawi/Chichewa)</option>
                                                <option value="5369">google.mw (Malawi/English)</option>
                                                <option value="209">google.mw (Malawi/Malawi)</option>
                                                <option value="989">bing.com (Malaysia/All Languages)</option>
                                                <option value="393">bing.com (Malaysia/English)</option>
                                                <option value="2896">google.com.my (Malaysia/English)</option>
                                                <option value="210">google.com.my (Malaysia/Malay)</option>
                                                <option value="1064">malaysia.search.yahoo.com (Malaysia/All Languages)</option>
                                                <option value="910">malaysia.search.yahoo.com (Malaysia/English)</option>
                                                <option value="5976">malaysia.search.yahoo.com (Malaysia/Malay)</option>
                                                <option value="211">google.mv (Maldives/English)</option>
                                                <option value="5365">google.ml (Mali/English)</option>
                                                <option value="212">google.ml (Mali/French)</option>
                                                <option value="3412">google.com.mt (Malta/English)</option>
                                                <option value="213">google.com.mt (Malta/Maltese)</option>
                                                <option value="1065">search.yahoo.com (Malta/All Languages)</option>
                                                <option value="911">search.yahoo.com (Malta/English)</option>

                                                <option value="5810">google.com (Martinique/French)</option>
                                                <option value="5812">google.com (Mauritania/Arabic)</option>
                                                <option value="214">google.mu (Mauritius/English)</option>
                                                <option value="215">google.mu (Mauritius/French)</option>
                                                <option value="216">google.mu (Mauritius/Kreol morisien)</option>
                                                <option value="990">bing.com (Mexico/All Languages)</option>
                                                <option value="403">bing.com (Mexico/Spanish)</option>
                                                <option value="3413">google.com.mx (Mexico/English)</option>
                                                <option value="217">google.com.mx (Mexico/Espanol (Latinoamerica))</option>
                                                <option value="5741">google.com.mx (Mexico/Spanish)</option>
                                                <option value="1066">mx.search.yahoo.com (Mexico/All Languages)</option>
                                                <option value="912">mx.search.yahoo.com (Mexico/English)</option>
                                                <option value="913">mx.search.yahoo.com (Mexico/Spanish)</option>

                                                <option value="218">google.fm (Micronesia/English)</option>
                                                <option value="219">google.md (Moldova/Moldovian)</option>
                                                <option value="5753">google.md (Moldova/Romanian)</option>
                                                <option value="220">google.md (Moldova/Russian)</option>

                                                <option value="5367">google.mn (Mongolia/English)</option>
                                                <option value="221">google.mn (Mongolia/Mongolian)</option>
                                                <option value="222">google.me (Montenegro/Bosnian)</option>
                                                <option value="5359">google.me (Montenegro/English)</option>
                                                <option value="223">google.me (Montenegro/Montenegro)</option>
                                                <option value="224">google.me (Montenegro/Serbian)</option>
                                                <option value="225">google.ms (Montserrat/English)</option>
                                                <option value="227">google.co.ma (Morocco/Arabic)</option>
                                                <option value="3397">google.co.ma (Morocco/English)</option>
                                                <option value="226">google.co.ma (Morocco/French)</option>
                                                <option value="1067">search.yahoo.com (Morocco/All Languages)</option>
                                                <option value="914">search.yahoo.com (Morocco/Arabic)</option>
                                                <option value="915">search.yahoo.com (Morocco/French)</option>
                                                <option value="229">google.co.mz (Mozambique/Chichewa)</option>
                                                <option value="3398">google.co.mz (Mozambique/English)</option>
                                                <option value="231">google.co.mz (Mozambique/Portuguese)</option>
                                                <option value="5785">google.co.mz (Mozambique/Portuguese (Brasil))</option>
                                                <option value="230">google.co.mz (Mozambique/Shona)</option>
                                                <option value="228">google.co.mz (Mozambique/Swahili)</option>
                                                <option value="5832">google.com.mm (Myanmar/Burmese)</option>
                                                <option value="3411">google.com.mm (Myanmar/English)</option>
                                                <option value="234">google.com.na (Namibia/Afrikaans)</option>
                                                <option value="233">google.com.na (Namibia/English)</option>
                                                <option value="232">google.com.na (Namibia/German)</option>
                                                <option value="235">google.nr (Nauru/English)</option>
                                                <option value="3414">google.com.np (Nepal/English)</option>
                                                <option value="236">google.com.np (Nepal/Nepali)</option>
                                                <option value="991">bing.com (Netherlands/All Languages)</option>
                                                <option value="422">bing.com (Netherlands/Dutch)</option>
                                                <option value="24">google.nl (Netherlands/Dutch)</option>
                                                <option value="237">google.nl (Netherlands/English)</option>
                                                <option value="5373">google.nl (Netherlands/Frisian)</option>
                                                <option value="1068">nl.search.yahoo.com (Netherlands/All Languages)</option>
                                                <option value="916">nl.search.yahoo.com (Netherlands/Dutch)</option>
                                                <option value="917">nl.search.yahoo.com (Netherlands/English)</option>

                                                <option value="5814">google.com (New Caledonia/French)</option>
                                                <option value="992">bing.com (New Zealand/All Languages)</option>
                                                <option value="394">bing.com (New Zealand/English)</option>
                                                <option value="239">google.co.nz (New Zealand/English)</option>
                                                <option value="240">google.co.nz (New Zealand/Maori)</option>
                                                <option value="1069">search.yahoo.com (New Zealand/All Languages)</option>
                                                <option value="918">search.yahoo.com (New Zealand/English)</option>

                                                <option value="5307">google.com.ni (Nicaragua/English)</option>
                                                <option value="241">google.com.ni (Nicaragua/Espanol (Latinoamerica))</option>
                                                <option value="5830">google.com.ni (Nicaragua/Spanish)</option>
                                                <option value="1070">search.yahoo.com (Nicaragua/All Languages)</option>
                                                <option value="919">search.yahoo.com (Nicaragua/English)</option>
                                                <option value="5371">google.ne (Niger/English)</option>
                                                <option value="242">google.ne (Niger/French)</option>
                                                <option value="243">google.ne (Niger/Hausa)</option>
                                                <option value="248">google.com.ng (Nigeria/English)</option>
                                                <option value="245">google.com.ng (Nigeria/Hausa)</option>
                                                <option value="246">google.com.ng (Nigeria/Igbo)</option>
                                                <option value="244">google.com.ng (Nigeria/Pidgin)</option>
                                                <option value="247">google.com.ng (Nigeria/Yoruba)</option>
                                                <option value="249">google.nu (Niue/English)</option>
                                                <option value="250">google.com.nf (Norfolk Island/English)</option>
                                                <option value="5808">google.com (Northern Mariana Islands/English)</option>
                                                <option value="993">bing.com (Norway/All Languages)</option>
                                                <option value="5837">bing.com (Norway/English)</option>
                                                <option value="420">bing.com (Norway/Norwegian)</option>
                                                <option value="3432">google.no (Norway/English)</option>
                                                <option value="251">google.no (Norway/Norwegian)</option>
                                                <option value="3680">google.no (Norway/Norwegian Bokmal)</option>
                                                <option value="252">google.no (Norway/Norwegian Nynorsk)</option>
                                                <option value="1071">no.search.yahoo.com (Norway/All Languages)</option>
                                                <option value="920">no.search.yahoo.com (Norway/English)</option>
                                                <option value="921">no.search.yahoo.com (Norway/Norwegian)</option>

                                                <option value="253">google.com.om (Oman/Arabic)</option>
                                                <option value="2894">google.com.om (Oman/English)</option>
                                                <option value="1072">search.yahoo.com (Oman/All Languages)</option>
                                                <option value="922">search.yahoo.com (Oman/Arabic)</option>
                                                <option value="254">google.com.pk (Pakistan/English)</option>
                                                <option value="5313">google.com.pk (Pakistan/Pashto, Pushto)</option>
                                                <option value="5315">google.com.pk (Pakistan/Sindhi)</option>
                                                <option value="255">google.com.pk (Pakistan/Urdu)</option>
                                                <option value="1073">search.yahoo.com (Pakistan/All Languages)</option>
                                                <option value="923">search.yahoo.com (Pakistan/English)</option>
                                                <option value="5818">google.com (Palau/English)</option>
                                                <option value="256">google.ps (Palestine/Arabic)</option>
                                                <option value="2892">google.ps (Palestine/English)</option>
                                                <option value="5309">google.com.pa (Panama/English)</option>
                                                <option value="257">google.com.pa (Panama/Espanol (Latinoamerica))</option>
                                                <option value="1074">search.yahoo.com (Panama/All Languages)</option>
                                                <option value="924">search.yahoo.com (Panama/English)</option>
                                                <option value="3416">google.com.pg (Papua New Guina/English)</option>
                                                <option value="5319">google.com.py (Paraguay/English)</option>
                                                <option value="258">google.com.py (Paraguay/Espanol (Latinoamerica))</option>
                                                <option value="5775">google.com.py (Paraguay/Spanish)</option>
                                                <option value="1075">search.yahoo.com (Paraguay/All Languages)</option>
                                                <option value="925">search.yahoo.com (Paraguay/English)</option>
                                                <option value="5977">espanol.search.yahoo.com (Peru/Spanish)</option>
                                                <option value="3415">google.com.pe (Peru/English)</option>
                                                <option value="259">google.com.pe (Peru/Espanol (Latinoamerica))</option>
                                                <option value="260">google.com.pe (Peru/Quechua)</option>
                                                <option value="5776">google.com.pe (Peru/Spanish)</option>
                                                <option value="1076">search.yahoo.com (Peru/All Languages)</option>
                                                <option value="926">search.yahoo.com (Peru/English)</option>
                                                <option value="994">bing.com (Philippines/All Languages)</option>
                                                <option value="395">bing.com (Philippines/English)</option>
                                                <option value="5311">google.com.ph (Philippines/Cebuano)</option>
                                                <option value="3417">google.com.ph (Philippines/English)</option>
                                                <option value="5746">google.com.ph (Philippines/Filipino)</option>
                                                <option value="261">google.com.ph (Philippines/Tagalog)</option>
                                                <option value="1077">ph.search.yahoo.com (Philippines/All Languages)</option>
                                                <option value="927">ph.search.yahoo.com (Philippines/English)</option>
                                                <option value="5978">ph.search.yahoo.com (Philippines/Spanish)</option>
                                                <option value="262">google.pn (Pitcairn Islands/English)</option>
                                                <option value="995">bing.com (Poland/All Languages)</option>
                                                <option value="5838">bing.com (Poland/English)</option>
                                                <option value="423">bing.com (Poland/Polish)</option>
                                                <option value="3433">google.pl (Poland/English)</option>
                                                <option value="21">google.pl (Poland/Polish)</option>
                                                <option value="1078">pl.search.yahoo.com (Poland/All Languages)</option>
                                                <option value="928">pl.search.yahoo.com (Poland/English)</option>
                                                <option value="929">pl.search.yahoo.com (Poland/Polish)</option>

                                                <option value="996">bing.com (Portugal/All Languages)</option>
                                                <option value="425">bing.com (Portugal/Portuguese)</option>
                                                <option value="3434">google.pt (Portugal/English)</option>
                                                <option value="264">google.pt (Portugal/Portuguese)</option>
                                                <option value="1079">search.yahoo.com (Portugal/All Languages)</option>
                                                <option value="930">search.yahoo.com (Portugal/Portuguese)</option>
                                                <option value="5317">google.com.pr (Puerto Rico/English)</option>
                                                <option value="265">google.com.pr (Puerto Rico/Espanol (Latinoamerica))</option>
                                                <option value="5739">google.com.pr (Puerto Rico/Spanish)</option>
                                                <option value="1080">search.yahoo.com (Puerto Rico/All Languages)</option>
                                                <option value="931">search.yahoo.com (Puerto Rico/English)</option>
                                                <option value="266">google.com.qa (Qatar/Arabic)</option>
                                                <option value="2895">google.com.qa (Qatar/English)</option>
                                                <option value="1081">search.yahoo.com (Qatar/All Languages)</option>
                                                <option value="932">search.yahoo.com (Qatar/Arabic)</option>
                                                <option value="92">google.cg (Republic of the Congo/French)</option>
                                                <option value="94">google.cg (Republic of the Congo/Kongo)</option>
                                                <option value="93">google.cg (Republic of the Congo/Lingala)</option>
                                                <option value="5807">google.com (Reunion/French)</option>
                                                <option value="997">bing.com (Romania/All Languages)</option>
                                                <option value="426">bing.com (Romania/Romanian)</option>
                                                <option value="3435">google.ro (Romania/English)</option>
                                                <option value="269">google.ro (Romania/German)</option>
                                                <option value="268">google.ro (Romania/Hungarian)</option>
                                                <option value="270">google.ro (Romania/Romanian)</option>
                                                <option value="1082">ro.search.yahoo.com (Romania/All Languages)</option>
                                                <option value="933">ro.search.yahoo.com (Romania/German)</option>
                                                <option value="934">ro.search.yahoo.com (Romania/Romanian)</option>
                                                <option value="998">bing.com (Russia/All Languages)</option>
                                                <option value="427">bing.com (Russia/Russian)</option>
                                                <option value="3437">google.ru (Russia/English)</option>
                                                <option value="3">google.ru (Russia/Russian)</option>
                                                <option value="1083">ru.search.yahoo.com (Russia/All Languages)</option>
                                                <option value="935">ru.search.yahoo.com (Russia/English)</option>
                                                <option value="936">ru.search.yahoo.com (Russia/Russian)</option>


                                                <option value="274">google.rw (Rwanda/English)</option>
                                                <option value="275">google.rw (Rwanda/French)</option>
                                                <option value="273">google.rw (Rwanda/Kinyarwanda)</option>
                                                <option value="272">google.rw (Rwanda/Swahili)</option>
                                                <option value="276">google.sh (Saint Helena/English)</option>
                                                <option value="5801">google.com (Saint Kitts and Nevis/English)</option>
                                                <option value="277">google.com.vc (Saint Vincent and the Grenadines/English)</option>
                                                <option value="278">google.ws (Samoa/English)</option>
                                                <option value="5375">google.sm (San Marino/English)</option>
                                                <option value="279">google.sm (San Marino/Italian)</option>
                                                <option value="280">google.st (Sao Tome and Principe/Portuguese)</option>
                                                <option value="5824">google.st (Sao Tome and Principe/Portuguese (Brazil))</option>
                                                <option value="5956">bing.com (Saudi Arabia/Arabic)</option>
                                                <option value="5957">bing.com (Saudi Arabia/English)</option>
                                                <option value="281">google.com.sa (Saudi Arabia/Arabic)</option>
                                                <option value="2858">google.com.sa (Saudi Arabia/English)</option>
                                                <option value="1084">search.yahoo.com (Saudi Arabia/All Languages)</option>
                                                <option value="937">search.yahoo.com (Saudi Arabia/Arabic)</option>
                                                <option value="5377">google.sn (Senegal/English)</option>
                                                <option value="282">google.sn (Senegal/French)</option>
                                                <option value="283">google.sn (Senegal/Wolof)</option>
                                                <option value="3436">google.rs (Serbia/English)</option>
                                                <option value="284">google.rs (Serbia/Serbian)</option>
                                                <option value="5402">google.rs (Serbia/Serbian (Latin))</option>

                                                <option value="286">google.sc (Seychelles/English)</option>
                                                <option value="285">google.sc (Seychelles/French)</option>
                                                <option value="287">google.sc (Seychelles/Kreol Seselwa)</option>
                                                <option value="288">google.com.sl (Sierra Leone/English)</option>
                                                <option value="289">google.com.sl (Sierra Leone/Krio)</option>
                                                <option value="999">bing.com (Singapore/All Languages)</option>
                                                <option value="396">bing.com (Singapore/English)</option>
                                                <option value="5731">google.com.sg (Singapore/Chinese)</option>
                                                <option value="290">google.com.sg (Singapore/Chinese (Simplified))</option>
                                                <option value="5732">google.com.sg (Singapore/Chinese (Traditional))</option>
                                                <option value="5737">google.com.sg (Singapore/Chinese (Traditional Han))</option>
                                                <option value="293">google.com.sg (Singapore/English)</option>
                                                <option value="291">google.com.sg (Singapore/Malay)</option>
                                                <option value="292">google.com.sg (Singapore/Tamil)</option>
                                                <option value="1085">sg.search.yahoo.com (Singapore/All Languages)</option>
                                                <option value="938">sg.search.yahoo.com (Singapore/English)</option>
                                                <option value="1000">bing.com (Slovakia/All Languages)</option>
                                                <option value="428">bing.com (Slovakia/Slovak)</option>
                                                <option value="3439">google.sk (Slovakia/English)</option>
                                                <option value="294">google.sk (Slovakia/Slovak)</option>

                                                <option value="1001">bing.com (Slovenia/All Languages)</option>
                                                <option value="429">bing.com (Slovenia/Slovene)</option>
                                                <option value="3438">google.si (Slovenia/English)</option>
                                                <option value="295">google.si (Slovenia/Slovene)</option>

                                                <option value="296">google.com.sb (Solomon Islands/English)</option>
                                                <option value="297">google.so (Somalia/Arabic)</option>
                                                <option value="5379">google.so (Somalia/English)</option>
                                                <option value="298">google.so (Somalia/Somali)</option>
                                                <option value="1002">bing.com (South Africa/All Languages)</option>
                                                <option value="399">bing.com (South Africa/English)</option>
                                                <option value="303">google.co.za (South Africa/Afrikaans)</option>
                                                <option value="301">google.co.za (South Africa/English)</option>
                                                <option value="299">google.co.za (South Africa/Northern Sotho)</option>
                                                <option value="305">google.co.za (South Africa/Southern Sotho or Sesotho)</option>
                                                <option value="304">google.co.za (South Africa/Tswana or Setswana)</option>
                                                <option value="302">google.co.za (South Africa/Xhosa or IsiXhosa)</option>
                                                <option value="300">google.co.za (South Africa/Zulu or IsiZulu)</option>
                                                <option value="5982">search.yahoo.com (South Africa/English)</option>
                                                <option value="1003">bing.com (South Korea/All Languages)</option>
                                                <option value="417">bing.com (South Korea/Korean)</option>
                                                <option value="3396">google.co.kr (South Korea/English)</option>
                                                <option value="186">google.co.kr (South Korea/Korean)</option>
                                                <option value="1086">search.yahoo.com (South Korea/All Languages)</option>
                                                <option value="939">search.yahoo.com (South Korea/Korean)</option>
                                                <option value="1004">bing.com (Spain/All Languages)</option>
                                                <option value="5835">bing.com (Spain/Catalan)</option>
                                                <option value="402">bing.com (Spain/Spanish)</option>
                                                <option value="1087">es.search.yahoo.com (Spain/All Languages)</option>
                                                <option value="940">es.search.yahoo.com (Spain/English)</option>
                                                <option value="941">es.search.yahoo.com (Spain/Spanish)</option>
                                                <option value="307">google.es (Spain/Basque)</option>
                                                <option value="309">google.es (Spain/Catalan)</option>
                                                <option value="2849">google.es (Spain/English)</option>
                                                <option value="5401">google.es (Spain/Espanol (Latinoamerica))</option>
                                                <option value="306">google.es (Spain/Galician)</option>
                                                <option value="26">google.es (Spain/Spanish)</option>

                                                <option value="310">google.lk (Sri Lanka/English)</option>
                                                <option value="311">google.lk (Sri Lanka/Sinhala)</option>
                                                <option value="312">google.lk (Sri Lanka/Tamil)</option>
                                                <option value="5822">google.sr (Suriname/French)</option>
                                                <option value="5805">google.com (Swaziland/English)</option>
                                                <option value="1005">bing.com (Sweden/All Languages)</option>
                                                <option value="430">bing.com (Sweden/Swedish)</option>
                                                <option value="2893">google.se (Sweden/English)</option>
                                                <option value="313">google.se (Sweden/Swedish)</option>
                                                <option value="1088">se.search.yahoo.com (Sweden/All Languages)</option>
                                                <option value="942">se.search.yahoo.com (Sweden/English)</option>
                                                <option value="943">se.search.yahoo.com (Sweden/Swedish)</option>

                                                <option value="1006">bing.com (Switzerland/All Languages)</option>
                                                <option value="410">bing.com (Switzerland/French)</option>
                                                <option value="384">bing.com (Switzerland/German)</option>
                                                <option value="5834">bing.com (Switzerland/Italian)</option>
                                                <option value="6226">chfr.search.yahoo.com (Switzerland/French)</option>
                                                <option value="6227">chit.search.yahoo.com (Switzerland/Italian)</option>
                                                <option value="1089">ch.search.yahoo.com (Switzerland/All Languages)</option>
                                                <option value="944">ch.search.yahoo.com (Switzerland/English)</option>
                                                <option value="945">ch.search.yahoo.com (Switzerland/French)</option>
                                                <option value="946">ch.search.yahoo.com (Switzerland/German)</option>
                                                <option value="5973">ch.search.yahoo.com (Switzerland/Italian)</option>
                                                <option value="3389">google.ch (Switzerland/English)</option>
                                                <option value="316">google.ch (Switzerland/French)</option>
                                                <option value="315">google.ch (Switzerland/German)</option>
                                                <option value="317">google.ch (Switzerland/Italian)</option>
                                                <option value="314">google.ch (Switzerland/Romansh)</option>

                                                <option value="1007">bing.com (Taiwan/All Languages)</option>
                                                <option value="436">bing.com (Taiwan/Chinese)</option>
                                                <option value="318">google.com.tw (Taiwan/Chinese)</option>
                                                <option value="5727">google.com.tw (Taiwan/Chinese (Simplified))</option>
                                                <option value="5730">google.com.tw (Taiwan/Chinese (Traditional))</option>
                                                <option value="3419">google.com.tw (Taiwan/English)</option>
                                                <option value="3682">tw.search.yahoo.com (Taiwan/Chinese (Traditional))</option>
                                                <option value="5323">google.com.tj (Tajikistan/English)</option>
                                                <option value="319">google.com.tj (Tajikistan/Russian)</option>
                                                <option value="320">google.com.tj (Tajikistan/Tajik)</option>

                                                <option value="3400">google.co.tz (Tanzania/English)</option>
                                                <option value="321">google.co.tz (Tanzania/Swahili)</option>
                                                <option value="1008">bing.com (Thailand/All Languages)</option>
                                                <option value="431">bing.com (Thailand/Thai)</option>
                                                <option value="3399">google.co.th (Thailand/English)</option>
                                                <option value="322">google.co.th (Thailand/Thai)</option>
                                                <option value="1091">th.search.yahoo.com (Thailand/All Languages)</option>
                                                <option value="948">th.search.yahoo.com (Thailand/English)</option>
                                                <option value="5979">th.search.yahoo.com (Thailand/Thai)</option>

                                                <option value="323">google.tl (Timor-Leste/Portuguese)</option>
                                                <option value="5383">google.tg (Togo/English)</option>
                                                <option value="325">google.tg (Togo/Ewe)</option>
                                                <option value="324">google.tg (Togo/French)</option>
                                                <option value="326">google.tk (Tokelau/English)</option>
                                                <option value="327">google.to (Tonga/English)</option>
                                                <option value="328">google.to (Tonga/Tonga (Tonga Islands))</option>
                                                <option value="329">google.tt (Trinidad and Tobago/Chinese (Traditional Han))</option>
                                                <option value="333">google.tt (Trinidad and Tobago/English)</option>
                                                <option value="332">google.tt (Trinidad and Tobago/Espanol (Latinoamerica))</option>
                                                <option value="331">google.tt (Trinidad and Tobago/French)</option>
                                                <option value="330">google.tt (Trinidad and Tobago/Hindi)</option>
                                                <option value="334">google.tn (Tunisia/Arabic)</option>
                                                <option value="5387">google.tn (Tunisia/English)</option>
                                                <option value="335">google.tn (Tunisia/French)</option>
                                                <option value="1092">search.yahoo.com (Tunisia/All Languages)</option>
                                                <option value="949">search.yahoo.com (Tunisia/Arabic)</option>
                                                <option value="950">search.yahoo.com (Tunisia/French)</option>
                                                <option value="1009">bing.com (Turkey/All Languages)</option>
                                                <option value="432">bing.com (Turkey/Turkish)</option>
                                                <option value="3418">google.com.tr (Turkey/English)</option>
                                                <option value="336">google.com.tr (Turkey/Turkish)</option>
                                                <option value="1093">tr.search.yahoo.com (Turkey/All Languages)</option>
                                                <option value="951">tr.search.yahoo.com (Turkey/English)</option>
                                                <option value="952">tr.search.yahoo.com (Turkey/Turkish)</option>

                                                <option value="5385">google.tm (Turkmenistan/English)</option>
                                                <option value="337">google.tm (Turkmenistan/Russian)</option>
                                                <option value="339">google.tm (Turkmenistan/Turkmen)</option>
                                                <option value="338">google.tm (Turkmenistan/Uzbek)</option>
                                                <option value="5826">google.com (Turks and Caicos Islands/English)</option>
                                                <option value="3401">google.co.ug (Uganda/English)</option>
                                                <option value="342">google.co.ug (Uganda/Ganda)</option>
                                                <option value="340">google.co.ug (Uganda/Kinyarwanda)</option>
                                                <option value="341">google.co.ug (Uganda/Luo)</option>
                                                <option value="5327">google.co.ug (Uganda/Nyankole)</option>
                                                <option value="343">google.co.ug (Uganda/Runyakitara)</option>
                                                <option value="344">google.co.ug (Uganda/Swahili)</option>
                                                <option value="1010">bing.com (Ukraine/All Languages)</option>
                                                <option value="433">bing.com (Ukraine/Ukrainian)</option>
                                                <option value="3420">google.com.ua (Ukraine/English)</option>
                                                <option value="5">google.com.ua (Ukraine/Russian)</option>
                                                <option value="372">google.com.ua (Ukraine/Ukrainian)</option>
                                                <option value="1094">search.yahoo.com (Ukraine/All Languages)</option>
                                                <option value="953">search.yahoo.com (Ukraine/English)</option>
                                                <option value="954">search.yahoo.com (Ukraine/Russian)</option>
                                                <option value="5954">bing.com (United Arab Emirates/Arabic)</option>
                                                <option value="5955">bing.com (United Arab Emirates/English)</option>
                                                <option value="345">google.ae (United Arab Emirates/Arabic)</option>
                                                <option value="826">google.ae (United Arab Emirates/English)</option>
                                                <option value="347">google.ae (United Arab Emirates/Hindi)</option>
                                                <option value="346">google.ae (United Arab Emirates/Persian)</option>
                                                <option value="348">google.ae (United Arab Emirates/Urdu)</option>
                                                <option value="1095">search.yahoo.com (United Arab Emirates/All Languages)</option>
                                                <option value="955">search.yahoo.com (United Arab Emirates/Arabic)</option>
                                                <option value="956">search.yahoo.com (United Arab Emirates/English)</option>
                                                <option value="1011">bing.com (United Kingdom/All Languages)</option>
                                                <option value="389">bing.com (United Kingdom/English)</option>
                                                <option value="22">google.co.uk (United Kingdom/English)</option>
                                                <option value="1096">uk.search.yahoo.com (United Kingdom/All Languages)</option>
                                                <option value="957">uk.search.yahoo.com (United Kingdom/English)</option>
                                                <option value="1012">bing.com (United States/All Languages)</option>
                                                <option value="5958">bing.com (United States/Arabic)</option>
                                                <option value="397">bing.com (United States/English)</option>
                                                <option value="404">bing.com (United States/Spanish)</option>
                                                <option value="959">espanol.search.yahoo.com (United States/Spanish)</option>
                                                <option value="3667">google.com (United States/Chinese (Simplified))</option>
                                                <option value="3636">google.com (United States/Chinese (Traditional))</option>
                                                <option value="3641">google.com (United States/Danish)</option>
                                                <option value="3656">google.com (United States/Dutch)</option>
                                                <option value="14">google.com (United States/English)</option>
                                                <option value="2833">google.com (United States/Espanol (Latinoamerica))</option>
                                                <option value="3651">google.com (United States/French)</option>
                                                <option value="3646">google.com (United States/German)</option>
                                                <option value="3631">google.com (United States/Norwegian)</option>
                                                <option value="3616">google.com (United States/Portuguese (Portugal))</option>
                                                <option value="3621">google.com (United States/Russian)</option>
                                                <option value="2828">google.com (United States/Spanish)</option>
                                                <option value="3626">google.com (United States/Swedish)</option>
                                                <option value="3662">google.com (United States/Vietnamese)</option>
                                                <option value="1097">search.yahoo.com (United States/All Languages)</option>
                                                <option value="958">search.yahoo.com (United States/English)</option>

                                                <option value="5325">google.com.uy (Uruguay/English)</option>
                                                <option value="351">google.com.uy (Uruguay/Espanol (Latinoamerica))</option>
                                                <option value="5777">google.com.uy (Uruguay/Spanish)</option>
                                                <option value="5329">google.co.uz (Uzbekistan/English)</option>
                                                <option value="353">google.co.uz (Uzbekistan/Russian)</option>
                                                <option value="352">google.co.uz (Uzbekistan/Uzbek)</option>

                                                <option value="355">google.vu (Vanuatu/English)</option>
                                                <option value="354">google.vu (Vanuatu/French)</option>
                                                <option value="5980">espanol.search.yahoo.com (Venezuela/Spanish)</option>
                                                <option value="5331">google.co.ve (Venezuela/English)</option>
                                                <option value="356">google.co.ve (Venezuela/Espanol)</option>
                                                <option value="5779">google.co.ve (Venezuela/Spanish)</option>
                                                <option value="357">google.com.vn (Vietnam/Chinese (Traditional Han))</option>
                                                <option value="2977">google.com.vn (Vietnam/English)</option>
                                                <option value="359">google.com.vn (Vietnam/French)</option>
                                                <option value="358">google.com.vn (Vietnam/Vietnamese)</option>
                                                <option value="1098">vn.search.yahoo.com (Vietnam/All Languages)</option>
                                                <option value="960">vn.search.yahoo.com (Vietnam/Chinese (Traditional Han))</option>
                                                <option value="961">vn.search.yahoo.com (Vietnam/English)</option>
                                                <option value="5981">vn.search.yahoo.com (Vietnam/Vietnamese)</option>
                                                <option value="361">google.co.vi (Virgin Islands US/English)</option>
                                                <option value="5828">google.com (Yemen/Arabic)</option>
                                                <option value="363">google.co.zm (Zambia/Chichewa)</option>
                                                <option value="365">google.co.zm (Zambia/Chitumbuka-Chisenga)</option>
                                                <option value="366">google.co.zm (Zambia/English)</option>
                                                <option value="364">google.co.zm (Zambia/IciBemba)</option>
                                                <option value="362">google.co.zm (Zambia/Silozi)</option>
                                                <option value="367">google.co.zw (Zimbabwe/Chichewa)</option>
                                                <option value="368">google.co.zw (Zimbabwe/English)</option>
                                                <option value="370">google.co.zw (Zimbabwe/Shona)</option>
                                                <option value="369">google.co.zw (Zimbabwe/Tswana)</option>
                                                <option value="371">google.co.zw (Zimbabwe/Zulu)</option>
                                            </select>
                                        </div>
                                        <div>
                                            <label for="top_ten_search_location" class="step-text-secondary">Search Location</label>
                                            <select id="top_ten_search_location" name="top_ten_search_location" class="xagio-input-select xagio-input-select-gray" data-default="<?php echo esc_attr($xagio_ai_wizard_location) ? wp_kses_post($xagio_ai_wizard_location) : "2840" ?>">
                                                <option value="2004">Afghanistan</option>
                                                <option value="2008">Albania</option>
                                                <option value="2010">Antarctica</option>
                                                <option value="2012">Algeria</option>
                                                <option value="2016">American Samoa</option>
                                                <option value="2020">Andorra</option>
                                                <option value="2024">Angola</option>
                                                <option value="2028">Antigua and Barbuda</option>
                                                <option value="2031">Azerbaijan</option>
                                                <option value="2032">Argentina</option>
                                                <option value="2036">Australia</option>
                                                <option value="2040">Austria</option>
                                                <option value="2044">The Bahamas</option>
                                                <option value="2048">Bahrain</option>
                                                <option value="2050">Bangladesh</option>
                                                <option value="2051">Armenia</option>
                                                <option value="2052">Barbados</option>
                                                <option value="2056">Belgium</option>
                                                <option value="2060">Bermuda</option>
                                                <option value="2064">Bhutan</option>
                                                <option value="2068">Bolivia</option>
                                                <option value="2070">Bosnia and Herzegovina</option>
                                                <option value="2072">Botswana</option>
                                                <option value="2074">Bouvet Island</option>
                                                <option value="2076">Brazil</option>
                                                <option value="2084">Belize</option>
                                                <option value="2086">British Indian Ocean Territory</option>
                                                <option value="2090">Solomon Islands</option>
                                                <option value="2092">British Virgin Islands</option>
                                                <option value="2096">Brunei</option>
                                                <option value="2100">Bulgaria</option>
                                                <option value="2104">Myanmar (Burma)</option>
                                                <option value="2108">Burundi</option>
                                                <option value="2112">Belarus</option>
                                                <option value="2116">Cambodia</option>
                                                <option value="2120">Cameroon</option>
                                                <option value="2124">Canada</option>
                                                <option value="2132">Cape Verde</option>
                                                <option value="2136">Cayman Islands</option>
                                                <option value="2140">Central African Republic</option>
                                                <option value="2144">Sri Lanka</option>
                                                <option value="2148">Chad</option>
                                                <option value="2152">Chile</option>
                                                <option value="2156">China</option>
                                                <option value="2158">Taiwan</option>
                                                <option value="2162">Christmas Island</option>
                                                <option value="2166">Cocos (Keeling) Islands</option>
                                                <option value="2170">Colombia</option>
                                                <option value="2174">Comoros</option>
                                                <option value="2175">Mayotte</option>
                                                <option value="2178">Republic of the Congo</option>
                                                <option value="2180">Democratic Republic of the Congo</option>
                                                <option value="2184">Cook Islands</option>
                                                <option value="2188">Costa Rica</option>
                                                <option value="2191">Croatia</option>
                                                <option value="2196">Cyprus</option>
                                                <option value="2203">Czechia</option>
                                                <option value="2204">Benin</option>
                                                <option value="2208">Denmark</option>
                                                <option value="2212">Dominica</option>
                                                <option value="2214">Dominican Republic</option>
                                                <option value="2218">Ecuador</option>
                                                <option value="2222">El Salvador</option>
                                                <option value="2226">Equatorial Guinea</option>
                                                <option value="2231">Ethiopia</option>
                                                <option value="2232">Eritrea</option>
                                                <option value="2233">Estonia</option>
                                                <option value="2234">Faroe Islands</option>
                                                <option value="2238">Falkland Islands (Islas Malvinas)</option>
                                                <option value="2239">South Georgia and the South Sandwich Islands</option>
                                                <option value="2242">Fiji</option>
                                                <option value="2246">Finland</option>
                                                <option value="2250">France</option>
                                                <option value="2254">French Guiana</option>
                                                <option value="2258">French Polynesia</option>
                                                <option value="2260">French Southern and Antarctic Lands</option>
                                                <option value="2262">Djibouti</option>
                                                <option value="2266">Gabon</option>
                                                <option value="2268">Georgia</option>
                                                <option value="2270">The Gambia</option>
                                                <option value="2275">Palestine</option>
                                                <option value="2276">Germany</option>
                                                <option value="2288">Ghana</option>
                                                <option value="2292">Gibraltar</option>
                                                <option value="2296">Kiribati</option>
                                                <option value="2300">Greece</option>
                                                <option value="2304">Greenland</option>
                                                <option value="2308">Grenada</option>
                                                <option value="2312">Guadeloupe</option>
                                                <option value="2316">Guam</option>
                                                <option value="2320">Guatemala</option>
                                                <option value="2324">Guinea</option>
                                                <option value="2328">Guyana</option>
                                                <option value="2332">Haiti</option>
                                                <option value="2334">Heard Island and McDonald Islands</option>
                                                <option value="2336">Vatican City</option>
                                                <option value="2340">Honduras</option>
                                                <option value="2344">Hong Kong</option>
                                                <option value="2348">Hungary</option>
                                                <option value="2352">Iceland</option>
                                                <option value="2356">India</option>
                                                <option value="2360">Indonesia</option>
                                                <option value="2368">Iraq</option>
                                                <option value="2372">Ireland</option>
                                                <option value="2376">Israel</option>
                                                <option value="2380">Italy</option>
                                                <option value="2384">Cote d'Ivoire</option>
                                                <option value="2388">Jamaica</option>
                                                <option value="2392">Japan</option>
                                                <option value="2398">Kazakhstan</option>
                                                <option value="2400">Jordan</option>
                                                <option value="2404">Kenya</option>
                                                <option value="2410">South Korea</option>
                                                <option value="2414">Kuwait</option>
                                                <option value="2417">Kyrgyzstan</option>
                                                <option value="2418">Laos</option>
                                                <option value="2422">Lebanon</option>
                                                <option value="2426">Lesotho</option>
                                                <option value="2428">Latvia</option>
                                                <option value="2430">Liberia</option>
                                                <option value="2434">Libya</option>
                                                <option value="2438">Liechtenstein</option>
                                                <option value="2440">Lithuania</option>
                                                <option value="2442">Luxembourg</option>
                                                <option value="2446">Macau</option>
                                                <option value="2450">Madagascar</option>
                                                <option value="2454">Malawi</option>
                                                <option value="2458">Malaysia</option>
                                                <option value="2462">Maldives</option>
                                                <option value="2466">Mali</option>
                                                <option value="2470">Malta</option>
                                                <option value="2474">Martinique</option>
                                                <option value="2478">Mauritania</option>
                                                <option value="2480">Mauritius</option>
                                                <option value="2484">Mexico</option>
                                                <option value="2492">Monaco</option>
                                                <option value="2496">Mongolia</option>
                                                <option value="2498">Moldova</option>
                                                <option value="2499">Montenegro</option>
                                                <option value="2500">Montserrat</option>
                                                <option value="2504">Morocco</option>
                                                <option value="2508">Mozambique</option>
                                                <option value="2512">Oman</option>
                                                <option value="2516">Namibia</option>
                                                <option value="2520">Nauru</option>
                                                <option value="2524">Nepal</option>
                                                <option value="2528">Netherlands</option>
                                                <option value="2530">Netherlands Antilles</option>
                                                <option value="2531">Curacao</option>
                                                <option value="2533">Aruba</option>
                                                <option value="2534">Sint Maarten</option>
                                                <option value="2535">Caribbean Netherlands</option>
                                                <option value="2540">New Caledonia</option>
                                                <option value="2548">Vanuatu</option>
                                                <option value="2554">New Zealand</option>
                                                <option value="2558">Nicaragua</option>
                                                <option value="2562">Niger</option>
                                                <option value="2566">Nigeria</option>
                                                <option value="2570">Niue</option>
                                                <option value="2574">Norfolk Island</option>
                                                <option value="2578">Norway</option>
                                                <option value="2580">Northern Mariana Islands</option>
                                                <option value="2581">United States Minor Outlying Islands</option>
                                                <option value="2583">Federated States of Micronesia</option>
                                                <option value="2584">Marshall Islands</option>
                                                <option value="2585">Palau</option>
                                                <option value="2586">Pakistan</option>
                                                <option value="2591">Panama</option>
                                                <option value="2598">Papua New Guinea</option>
                                                <option value="2600">Paraguay</option>
                                                <option value="2604">Peru</option>
                                                <option value="2608">Philippines</option>
                                                <option value="2612">Pitcairn Islands</option>
                                                <option value="2616">Poland</option>
                                                <option value="2620">Portugal</option>
                                                <option value="2624">Guinea-Bissau</option>
                                                <option value="2626">Timor-Leste</option>
                                                <option value="2630">Puerto Rico</option>
                                                <option value="2634">Qatar</option>
                                                <option value="2638">Reunion</option>
                                                <option value="2642">Romania</option>
                                                <option value="2643">Russia</option>
                                                <option value="2646">Rwanda</option>
                                                <option value="2654">Saint Helena, Ascension and Tristan da Cunha</option>
                                                <option value="2659">Saint Kitts and Nevis</option>
                                                <option value="2660">Anguilla</option>
                                                <option value="2662">Saint Lucia</option>
                                                <option value="2666">Saint Pierre and Miquelon</option>
                                                <option value="2670">Saint Vincent and the Grenadines</option>
                                                <option value="2674">San Marino</option>
                                                <option value="2678">Sao Tome and Principe</option>
                                                <option value="2682">Saudi Arabia</option>
                                                <option value="2686">Senegal</option>
                                                <option value="2688">Serbia</option>
                                                <option value="2690">Seychelles</option>
                                                <option value="2694">Sierra Leone</option>
                                                <option value="2702">Singapore</option>
                                                <option value="2703">Slovakia</option>
                                                <option value="2704">Vietnam</option>
                                                <option value="2705">Slovenia</option>
                                                <option value="2706">Somalia</option>
                                                <option value="2710">South Africa</option>
                                                <option value="2716">Zimbabwe</option>
                                                <option value="2724">Spain</option>
                                                <option value="2732">Western Sahara</option>
                                                <option value="2740">Suriname</option>
                                                <option value="2744">Svalbard and Jan Mayen</option>
                                                <option value="2748">Eswatini</option>
                                                <option value="2752">Sweden</option>
                                                <option value="2756">Switzerland</option>
                                                <option value="2762">Tajikistan</option>
                                                <option value="2764">Thailand</option>
                                                <option value="2768">Togo</option>
                                                <option value="2772">Tokelau</option>
                                                <option value="2776">Tonga</option>
                                                <option value="2780">Trinidad and Tobago</option>
                                                <option value="2784">United Arab Emirates</option>
                                                <option value="2788">Tunisia</option>
                                                <option value="2792">Turkey</option>
                                                <option value="2795">Turkmenistan</option>
                                                <option value="2796">Turks and Caicos Islands</option>
                                                <option value="2798">Tuvalu</option>
                                                <option value="2800">Uganda</option>
                                                <option value="2804">Ukraine</option>
                                                <option value="2807">North Macedonia</option>
                                                <option value="2818">Egypt</option>
                                                <option value="2826">United Kingdom</option>
                                                <option value="2831">Guernsey</option>
                                                <option value="2832">Jersey</option>
                                                <option value="2834">Tanzania</option>
                                                <option value="2840">United States</option>
                                                <option value="2850">U.S. Virgin Islands</option>
                                                <option value="2854">Burkina Faso</option>
                                                <option value="2858">Uruguay</option>
                                                <option value="2860">Uzbekistan</option>
                                                <option value="2862">Venezuela</option>
                                                <option value="2876">Wallis and Futuna</option>
                                                <option value="2882">Samoa</option>
                                                <option value="2887">Yemen</option>
                                                <option value="2894">Zambia</option>
                                                <option value="2900">Kosovo</option>
                                            </select>
                                        </div>
                                    </div>


                                    <div class="step-text-secondary xagio-margin-top-large">
                                        Seed Keyword for your website is:
                                    </div>

                                    <div class="xagio-alert keyword-search">
                                        <div class="keyword-example"></div>
                                        <button type="button" class="xagio-button xagio-button-outline" id="swap-words" >
                                            <i class="xagio-icon xagio-icon-sync"></i> Swap words
                                        </button>
                                    </div>

                                    <p class="help">If you feel the keyword is correct, press <b>Search</b> to continue, if not go back to make adjustments.</p>

                                    <div class="xagio-alert xagio-alert-primary">
                                        <i class="xagio-icon xagio-icon-info"></i> By clicking on Search button we will pull Top 10 competitor websites on Google for provided keyword which will be presented on the next step.
                                    </div>
                                </div>

                                <div class="ai-wizard-buttons">
                                    <a href="#" class="xagio-button xagio-button-outline prev-step"><i class="xagio-icon xagio-icon-close"></i> Cancel</a>
                                    <a href="#" class="xagio-button xagio-button-primary next-step search-top-ten"><i class="xagio-icon xagio-icon-arrow-right"></i> Continue</a>
                                </div>

                            </div>

                            <div id="step-4" class="tab-pane" role="tabpanel" aria-labelledby="step-4">
                                <div class="step-body">

                                    <div class="xagio-alert xagio-alert-primary top-ten-results-info">
                                        <i class="xagio-icon xagio-icon-info"></i> Now, select the website that most closely resembles what you want to create. We will audit it and pull its ranking keywords.
                                    </div>

                                    <div class="top-ten-options xagio-margin-top-medium" style="display: none">

                                        <div class="xagio-flex-even-columns xagio-flex-gap-medium">

                                            <div>

                                                <p class="slider-label">Filter results to only contain keyword below</p>
                                                <div class="xagio-slider-container xagio-slider-with-grid">
                                                    <input type="hidden" name="keyword_contain" id="keyword_contain" value="0" />
                                                    <div class="xagio-slider-frame">
                                                        <span class="xagio-slider-button" data-element="keyword_contain"></span>
                                                    </div>
                                                    <input type="text" class="xagio-input-text-mini main_keyword_contain" value="">
                                                </div>

                                            </div>
                                            <div>
                                                <div>
                                                    <p class="slider-label">Location</p>
                                                    <input type="hidden" name="lang_code" id="top-ten-language" value="US"/>
                                                    <select id="top-ten-language-select" name="lang">
                                                        <option value="fr" data-lang="fr" data-lang-code="DZ">Algeria (fr)</option>
                                                        <option value="es" data-lang="es" data-lang-code="AR">Argentina (es)</option>
                                                        <option value="en" data-lang="en" data-lang-code="AU">Australia (en)</option>
                                                        <option value="de" data-lang="de" data-lang-code="AT">Austria (de)</option>
                                                        <option value="bn" data-lang="bn" data-lang-code="BD">Bangladesh (bn)</option>
                                                        <option value="fr" data-lang="fr" data-lang-code="BE">Belgium (fr)</option>
                                                        <option value="nl" data-lang="nl" data-lang-code="BE">Belgium (nl)</option>
                                                        <option value="es" data-lang="es" data-lang-code="BO">Bolivia (es)</option>
                                                        <option value="pt" data-lang="pt" data-lang-code="BR">Brazil (pt)</option>
                                                        <option value="bg" data-lang="bg" data-lang-code="BG">Bulgaria (bg)</option>
                                                        <option value="en" data-lang="en" data-lang-code="CA">Canada (en)</option>
                                                        <option value="es" data-lang="es" data-lang-code="CL">Chile (es)</option>
                                                        <option value="es" data-lang="es" data-lang-code="CO">Colombia (es)</option>
                                                        <option value="es" data-lang="es" data-lang-code="CR">Costa Rica (es)</option>
                                                        <option value="hr" data-lang="hr" data-lang-code="HR">Croatia (hr)</option>
                                                        <option value="cs" data-lang="cs" data-lang-code="CZ">Czechia (cs)</option>
                                                        <option value="da" data-lang="da" data-lang-code="DK">Denmark (da)</option>
                                                        <option value="es" data-lang="es" data-lang-code="EC">Ecuador (es)</option>
                                                        <option value="ar" data-lang="ar" data-lang-code="EG">Egypt (ar)</option>
                                                        <option value="es" data-lang="es" data-lang-code="SV">El Salvador (es)</option>
                                                        <option value="et" data-lang="et" data-lang-code="EE">Estonia (et)</option>
                                                        <option value="fi" data-lang="fi" data-lang-code="FI">Finland (fi)</option>
                                                        <option value="fr" data-lang="fr" data-lang-code="FR">France (fr)</option>
                                                        <option value="de" data-lang="de" data-lang-code="DE">Germany (de)</option>
                                                        <option value="el" data-lang="el" data-lang-code="GR">Greece (el)</option>
                                                        <option value="es" data-lang="es" data-lang-code="GT">Guatemala (es)</option>
                                                        <option value="zh_tw" data-lang="zh_tw" data-lang-code="HK">Hong Kong (zh_tw)</option>
                                                        <option value="hu" data-lang="hu" data-lang-code="HU">Hungary (hu)</option>
                                                        <option value="en" data-lang="en" data-lang-code="IN">India (en)</option>
                                                        <option value="id" data-lang="id" data-lang-code="ID">Indonesia (id)</option>
                                                        <option value="en" data-lang="en" data-lang-code="IE">Ireland (en)</option>
                                                        <option value="iw" data-lang="iw" data-lang-code="IL">Israel (iw)</option>
                                                        <option value="ar" data-lang="ar" data-lang-code="IL">Israel (ar)</option>
                                                        <option value="it" data-lang="it" data-lang-code="IT">Italy (it)</option>
                                                        <option value="ja" data-lang="ja" data-lang-code="JP">Japan (ja)</option>
                                                        <option value="ms" data-lang="ms" data-lang-code="MY">Malaysia (ms)</option>
                                                        <option value="en" data-lang="en" data-lang-code="MT">Malta (en)</option>
                                                        <option value="es" data-lang="es" data-lang-code="MX">Mexico (es)</option>
                                                        <option value="nl" data-lang="nl" data-lang-code="NL">Netherlands (nl)</option>
                                                        <option value="en" data-lang="en" data-lang-code="NZ">New Zealand (en)</option>
                                                        <option value="es" data-lang="es" data-lang-code="NI">Nicaragua (es)</option>
                                                        <option value="no" data-lang="no" data-lang-code="NO">Norway (no)</option>
                                                        <option value="es" data-lang="es" data-lang-code="PY">Paraguay (es)</option>
                                                        <option value="es" data-lang="es" data-lang-code="PE">Peru (es)</option>
                                                        <option value="pl" data-lang="pl" data-lang-code="PL">Poland (pl)</option>
                                                        <option value="pt" data-lang="pt" data-lang-code="PT">Portugal (pt)</option>
                                                        <option value="ro" data-lang="ro" data-lang-code="RO">Romania (ro)</option>
                                                        <option value="ru" data-lang="ru" data-lang-code="RU">Russia (ru)</option>
                                                        <option value="ar" data-lang="ar" data-lang-code="SA">Saudi Arabia (ar)</option>
                                                        <option value="sr" data-lang="sr" data-lang-code="RS">Serbia (sr)</option>
                                                        <option value="en" data-lang="en" data-lang-code="SG">Singapore (en)</option>
                                                        <option value="sk" data-lang="sk" data-lang-code="SK">Slovakia (sk)</option>
                                                        <option value="sl" data-lang="sl" data-lang-code="SI">Slovenia (sl)</option>
                                                        <option value="en" data-lang="en" data-lang-code="ZA">South Africa (en)</option>
                                                        <option value="es" data-lang="es" data-lang-code="ES">Spain (es)</option>
                                                        <option value="en" data-lang="en" data-lang-code="LK">Sri Lanka (en)</option>
                                                        <option value="sv" data-lang="sv" data-lang-code="SE">Sweden (sv)</option>
                                                        <option value="fr" data-lang="fr" data-lang-code="CH">Switzerland (fr)</option>
                                                        <option value="de" data-lang="de" data-lang-code="CH">Switzerland (de)</option>
                                                        <option value="zh_tw" data-lang="zh_tw" data-lang-code="TW">Taiwan (zh_tw)</option>
                                                        <option value="th" data-lang="th" data-lang-code="TH">Thailand (th)</option>
                                                        <option value="ar" data-lang="ar" data-lang-code="TN">Tunisia (ar)</option>
                                                        <option value="tr" data-lang="tr" data-lang-code="TR">Turkey (tr)</option>
                                                        <option value="uk" data-lang="uk" data-lang-code="UA">Ukraine (uk)</option>
                                                        <option value="ru" data-lang="ru" data-lang-code="UA">Ukraine (ru)</option>
                                                        <option value="en" data-lang="en" data-lang-code="AE">United Arab Emirates (en)
                                                        </option>
                                                        <option value="ar" data-lang="ar" data-lang-code="AE">United Arab Emirates (ar)
                                                        </option>
                                                        <option value="en" data-lang="en" data-lang-code="GB">United Kingdom (en)</option>
                                                        <option value="en" data-lang="en" data-lang-code="US" selected="">United States
                                                            (en)
                                                        </option>
                                                        <option value="es" data-lang="es" data-lang-code="UY">Uruguay (es)</option>
                                                        <option value="es" data-lang="es" data-lang-code="VE">Venezuela (es)</option>
                                                        <option value="vi" data-lang="vi" data-lang-code="VN">Vietnam (vi)</option>
                                                    </select>
                                                </div>
                                            </div>

                                        </div>

                                        <div class="xagio-flex-even-columns xagio-flex-gap-medium xagio-margin-top-medium xagio-margin-bottom-medium">
                                            <div>
                                                <p class="slider-label">Find ranking keywords from Page URL only</p>
                                                <div class="xagio-slider-container">
                                                    <input type="hidden" name="is_relative" id="is_relative" value="0"/>
                                                    <div class="xagio-slider-frame">
                                                        <span class="xagio-slider-button" data-element="is_relative"></span>
                                                    </div>
                                                </div>
                                            </div>

                                            <div>
                                                <button class="xagio-button xagio-button-primary select-all-recommended-websites" style="float: right"><i class="fa-light fa-check-double"></i> Select All Recommended</button>
                                            </div>
                                        </div>

                                    </div>

                                    <div class="top-ten-results"></div>
                                </div>

                                <div class="">
                                    <div class="top-ten-pagination-container">

                                    </div>

                                </div>

                                <div class="ai-wizard-buttons ai-wizard-sticky-buttons">
                                    <div class="ai-wizard-cost-label" style="display: none;">
                                        <div class="xag-cost-container xagio-flex-gap-small">
                                            <i class="xagio-icon xagio-icon-info"></i>
                                            <div id="xagsCost">This action will cost you
                                                <div>
                                                    <img src="<?php echo esc_url(XAGIO_URL); ?>assets/img/logos/xRenew.png" alt="xR" class="xags-icon"><span>0</span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="xagio-flex xagio-flex-gap-medium">
                                        <a href="#" class="xagio-button xagio-button-outline prev-step"><i class="xagio-icon xagio-icon-close"></i> Cancel</a>
                                        <a href="#" class="xagio-button xagio-button-primary finish"><i class="xagio-icon xagio-icon-check"></i> Finish</a>
                                    </div>
                                </div>


                            </div>
                        </div>

                    </div>

                </div>
            </div>
        </div>

    </div>
</dialog>

<div class="top-ten-result-template template">
    <div class="top-ten-result">
        <input type="checkbox" name="select-website" class="select-website" id="select-website">
        <a href="#" target="_blank" class="g-url"></a>
        <label class="g-title" for="select-website"></label>
        <p class="g-desc"></p>
    </div>
</div>

<!-- AI Upgrade Modal -->
<dialog class="xagio-modal" id="aiUpgrade">
    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-ai"></i> Upgrade your Account</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>

    <div class="xagio-modal-body">
        <h3>You'll need to upgrade your account in order to use AI features!</h3>
        <p>Click on the <b>Upgrade Now</b> button to be redirected to an upgrade page where you can get <b>Xagio Pro Account</b> and unlock AI Features that it offers!</p>

        <div class="xagio-flex-right xagio-flex-gap-medium xagio-margin-top-medium">
            <button class="xagio-button xagio-button-outline" type="button" data-xagio-close-modal><i class="xagio-icon xagio-icon-close"></i> Close</button>
            <a class="xagio-button xagio-button-primary" href="https://xagio.net/ai" target="_blank"><i class="xagio-icon xagio-icon-check"></i> Upgrade Now!</a>
        </div>
    </div>
</dialog>

<!-- Move Keywords Modal -->
<dialog id="moveKeywordsModal" class="xagio-modal">
    <div class="xagio-modal-header">
        <h3 class="xagio-modal-title"><i class="xagio-icon xagio-icon-info"></i> Confirm</h3>
        <button class="xagio-modal-close"><i class="xagio-icon xagio-icon-close"></i></button>
    </div>

    <div class="xagio-modal-body">
        <input type="hidden" class="ids">

        <label for="moveKeywordGroupSelect" class="modal-label">Move keywords to an existing group, or create a new one by typing its name:</label>
        <select id="moveKeywordGroupSelect">
        </select>

        <div class="xagio-flex-right xagio-flex-gap-medium xagio-margin-top-large">
            <button class="xagio-button xagio-button-outline" data-xagio-close-modal type="button"><i class="xagio-icon xagio-icon-close"></i> Cancel</button>
            <button class="xagio-button xagio-button-primary" id="submitMoveKeywords" type="button"><i class="xagio-icon xagio-icon-check"></i> Continue</button>
        </div>
    </div>

</dialog>