Post New Job

Casino Seo Services

Overview

  • Founded Date October 30, 1969
  • Sectors Restaurant / Food Services
  • Posted Jobs 0
  • Viewed 62
Bottom Promo

Company Description

5 Killer Qora’s Answers To SEO For Casino

SEO for Casinos: Your Ultimate Guide to Driving Traffic and Conversions

The online gambling seo companies market has grown significantly, with millions of users gathering to their preferred online casinos every day. As this competitive landscape continues to evolve, a solid Search Engine Optimization (SEO) method has actually ended up being essential for online casinos looking to boost exposure, bring in players, and drive conversions. This post will check out the intricacies of SEO for casinos, consisting of vital techniques, methods, and factors to consider to help operators succeed in this profitable environment.

Comprehending SEO for Casinos

Seo (SEO) is the art and science of enhancing a website’s exposure in search engine outcomes. For online casinos, efficient SEO can mean the distinction in between increasing above competitors or being buried in search engine result. The primary goal is to make sure that prospective gamers find your casino when looking for gambling options.

Table 1: Key Elements of SEO for Casinos

Component Description Value
Keyword Research Recognizing high-traffic keywords pertinent to your specific niche Drives targeted traffic
On-Page SEO Enhancing page content, title tags, and meta descriptions Boosts user experience and relevance
Off-Page SEO Building backlinks and social signals Enhances authority and trust
Technical SEO Guaranteeing site speed, mobile-friendliness, and indexability Improves website use and rankings
Regional SEO Targeting local gambling policies and audiences Attracts gamers from specific regions

Vital SEO Strategies for Online Casinos

1. Keyword Research

Keyword research is foundational to any successful SEO method. It involves identifying the terms and expressions prospective players use when looking for online casinos. This can include broad keywords like “online casino seo expert” or more particular terms like “best slots online.”

Tips for Effective Keyword Research:

  • Utilize tools like Google Keyword Planner, Ahrefs, or SEMrush.
  • Analyze competitors to discover keywords they rank for.
  • Target long-tail keywords with lower competition and high intent.

2. On-Page SEO

On-page SEO concentrates on optimizing individual websites to rank higher and earn pertinent traffic. Key components include:

  • Title Tags: Incorporate primary keywords naturally.
  • Meta Descriptions: Craft engaging descriptions to increase click-through rates.
  • Headers (H1, H2, H3): Use headings rationally with relevant keywords.
  • Content Optimization: Ensure content is premium, interesting, and useful.

Example On-Page SEO Structure:

< Best Online Casino for Slots and Table Games<</ title >.<><.h2 > Welcome to the very best Online Casino<</ h2>>.<h2>></pre>
<h3>Why Choose United States?</ h2 ></p>
<p>. 3. Off-Page SEO Off-page SEO focuses on enhancing the website's authority by developing backlinks and promoting social engagement. A strong backlink profile is essential for online casinos as it indicates trustworthiness to browse engines.</p>
<p><strong>Reliable Off-Page Strategies:</strong></p>
<ul>
<li>Guest blogging on pertinent gambling platforms.</li>
<li>Working together with influencers to promote the <a href="http://162.215.134.149:4000/igaming-seo2188" rel="nofollow">casino seo service agency</a>.</li>
<li>Engaging on social media platforms to produce brand awareness.</li>
</ul>
<h3>4. Technical SEO</h3>
<p>Technical SEO includes optimizing the infrastructure of a website, guaranteeing it's easily crawlable and accessible by search engines. Secret aspects consist of:</p>
<ul>
<li><strong>Site Speed</strong>: Optimize images and make it possible for internet browser caching for quick load times.</li>
<li><strong>Mobile Friendliness</strong>: Ensure that the casino website is responsive and user-friendly on mobile phones.</li>
<li><strong>XML Sitemap</strong>: Create and submit an XML sitemap to assist browse engines discover new material.</li>
</ul>
<h3>5. Regional SEO</h3>
<p>For casinos targeting particular regions or nations, local SEO becomes vital. <a href="http://49.232.222.18:3000/igaming-seo8410" rel="nofollow">online casino seo</a> casinos need to comply with regional gambling guidelines while effectively targeting local gamers.</p>
<p><strong>Regional SEO Best Practices:</strong></p>
<ul>
<li>Include location-based keywords in material.</li>
<li>Set up and optimize Google My Business listings.</li>
<li>Engage in regional directory site submissions.</li>
</ul>
<h2>Measuring SEO Success</h2>
<p>Measuring the success of an SEO strategy involves analyzing different metrics to assess performance. A few of the crucial metrics to keep track of include:</p>
<table>
<thead>
<tr>
<th><strong>Metric</strong></th>
<th><strong>Description</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td>Organic Traffic</td>
<td>Total visitors coming from online search engine</td>
</tr>
<tr>
<td>Keyword Rankings</td>
<td>Position of keywords in the online search engine results</td>
</tr>
<tr>
<td>Bounce Rate</td>
<td>Percentage of visitors leaving after seeing one page</td>
</tr>
<tr>
<td>Conversion Rate</td>
<td>Percentage of visitors taking preferred actions</td>
</tr>
<tr>
<td>Backlink Profile</td>
<td>Total number and quality of backlinks</td>
</tr>
</tbody>
</table>
<h2>Frequently asked questions About SEO for Casinos</h2>
<p><strong>Q1: How long does it take to see results from SEO?</strong>A1: SEO is a long-lasting strategy, and it generally takes several months to see substantial outcomes. Factors like competition and the existing state of the website likewise impact the timeline.</p>
<p><strong>Q2: Should online casinos buy paid search advertisements along with SEO?</strong>A2: Combining SEO with paid search ads can offer instant visibility while waiting on natural rankings. This strategy helps draw in a more comprehensive audience.</p>
<p><strong>Q3: Is content crucial for SEO in casinos?</strong>A3: Absolutely! Premium, pertinent content is vital for engaging users and signaling authority to search engines.</p>
<p><strong>Q4: What are some common SEO errors casinos make?</strong>A4: Common errors consist of ignoring keyword research study, replicate content, ignoring mobile optimization, and failing to keep an eye on analytics.</p>
<p><strong>Q5: Can I deal with SEO for my casino on my own?</strong>A5: While it's possible, SEO is complicated and ever-changing. Many online casinos gain from professional SEO services for optimal results.</p>
<p>SEO for online casinos is necessary for sticking out in a saturated market. By concentrating on keyword research study, on-page and off-page optimization, technical <a href="https://cumbriasearch.co.uk/companies/seo-services-for-gambling-sites/" rel="nofollow noopener">seo for Online Casino</a>, and local SEO, casinos can substantially enhance their visibility and bring in more players. Frequently keeping an eye on SEO metrics makes sure ongoing success and adjustments for progressing trends. With the best approach, online casinos can reinforce their existence and drive long-lasting development in a competitive digital landscape.</p>
                                </div>
                                            <div class="jobsearch-det-adver-wrap employer_aftr_desc_view1">
                <div class="detail-adver-codecon">
                                <div class="jobsearch-pumflit-banner-con">
                                        <a href="#" class="jobsearch_ad_img_banner_click" data-id="679138043" target="_blank"><img src="https://urbanplannerjobs.com/wp-content/uploads/promo-place3-1.png" alt="Bottom Promo" /></a>
                                        </div>
                            </div>
            </div>
                                    </div>
                                    <div class="jobsearch-det-adver-wrap employer_aftr_team_view1">
                <div class="detail-adver-codecon">
                                <div class="jobsearch-pumflit-banner-con">
                                        <a href="#" class="jobsearch_ad_img_banner_click" data-id="679138043" target="_blank"><img src="https://urbanplannerjobs.com/wp-content/uploads/promo-place3-1.png" alt="Bottom Promo" /></a>
                                        </div>
                            </div>
            </div>
                        <div class="jobsearch-det-adver-wrap employer_aftr_oficpics_view1">
                <div class="detail-adver-codecon">
                                <div class="jobsearch-pumflit-banner-con">
                                        <a href="#" class="jobsearch_ad_img_banner_click" data-id="870353694" target="_blank"><img src="https://urbanplannerjobs.com/wp-content/uploads/promo-place2-1.png" alt="Top Promo" /></a>
                                        </div>
                            </div>
            </div>
                                </div>
                                            <aside class="jobsearch-column-4 jobsearch-typo-wrap">
                                                    <div class="jobsearch-chat-start-btn ">
                            <a href="javascript:void(0)" data-emp-id="157236"
                               data-emp-user-id="52318"
                               class="jobsearch-chat-emp-add">
                                <i class="chat-icon chat-bubble"></i>
                                <small>Send Message</small>
                            </a>
                        </div>
                                <div class="jobsearch-det-adver-wrap employer_b4_cntct_view1">
                <div class="detail-adver-codecon">
                                <div class="jobsearch-pumflit-banner-con">
                                        <a href="#" class="jobsearch_ad_img_banner_click" data-id="870353694" target="_blank"><img src="https://urbanplannerjobs.com/wp-content/uploads/promo-place2-1.png" alt="Top Promo" /></a>
                                        </div>
                            </div>
            </div>
                                    <div class="jobsearch_side_box jobsearch_box_contact_form">
                                                        <div class="jobsearch-wdg-box-title">
                                <h2>Contact Form</h2>
                            </div>
                                                        <form autocomplete="off" id="ct-form-8456662" data-uid="52318" method="post">
                                <ul>
                                    <li>
                                        <label>User Name:</label>
                                        <input name="u_name"
                                               placeholder="Enter Your Name"
                                               type="text"                                                value="">
                                        <i class="jobsearch-icon jobsearch-user"></i>
                                    </li>
                                    <li>
                                        <label>Email Address:</label>
                                        <input name="u_email"
                                               placeholder="Enter Your Email Address"
                                               type="text"                                                value="">
                                        <i class="jobsearch-icon jobsearch-mail"></i>
                                    </li>
                                    <li>
                                        <label>Phone Number:</label>
                                        <input name="u_number"
                                               placeholder="Enter Your Phone Number"
                                               type="text">
                                        <i class="jobsearch-icon jobsearch-technology"></i>
                                    </li>
                                    <li>
                                        <label>Message:</label>
                                        <textarea name="u_msg"
                                                  placeholder="Type Your Message here"></textarea>
                                    </li>
                                                                        <li>
                                                        <div class="terms-priv-chek-con">
                    <p>
                        <input type="checkbox" name="terms_cond_check" >
                        <span class="terms-priv-check-inner">
                            By clicking checkbox, you agree to our <a href="https://urbanplannerjobs.com/terms-and-conditions/" target="_blank">Terms and Conditions</a> and <a href="https://urbanplannerjobs.com/?page_id=3" target="_blank">Privacy Policy</a>                        </span>
                    </p>
                </div>
                                                        <input type="submit" class="jobsearch-employer-ct-form"
                                               data-id="8456662"
                                               value="Send now">
                                                                            </li>
                                </ul>
                                <span class="jobsearch-ct-msg"></span>
                            </form>
                        </div>
                                    <div class="jobsearch-det-adver-wrap employer_b4_map_view1">
                <div class="detail-adver-codecon">
                                <div class="jobsearch-pumflit-banner-con">
                                        <a href="#" class="jobsearch_ad_img_banner_click" data-id="870353694" target="_blank"><img src="https://urbanplannerjobs.com/wp-content/uploads/promo-place2-1.png" alt="Top Promo" /></a>
                                        </div>
                            </div>
            </div>
                                    <div class="jobsearch_side_box jobsearch_box_map">
                                    <div class="jobsearch-map">
                            <div class="directions-main-con directions-for-openstreet">
                    <div class="directions-input-con">
                        <div class="jobsearch_searchloc_div">
                            <div class="loc-loader"></div>
                            <input id="go-to-19578184" class="jobsearch-detpage-autofilfield">
                        </div>
                        <ul>
                            <li>
                                <span><i class="fa fa-search"></i></span>
                            </li>
                            <li>
                                <a id="get-direction-19578184" href="javascript:void(0);"><i
                                            class="fa fa-mail-forward"></i></a>
                            </li>
                        </ul>
                    </div>
                    <div class="directions-modes-con" style="display: none;">
                        <a id="dir-close-19578184" class="close-direc-panel"
                           href="javascript:void(0);"><i class="fa fa-times"></i></a>
                        <ul>
                            <li><input id="driving-mode-19578184" type="radio"
                                       class="mode-radio-select" name="mode_radio_select" value="DRIVING"
                                       checked="checked"><label
                                        for="driving-mode-19578184"><i
                                            class="fa fa-automobile"></i></label></li>
                            <li><input id="bus-mode-19578184" type="radio"
                                       class="mode-radio-select" name="mode_radio_select" value="TRANSIT"><label
                                        for="bus-mode-19578184"><i
                                            class="fa fa-bus"></i></label>
                            </li>
                            <li><input id="walking-mode-19578184" type="radio"
                                       class="mode-radio-select" name="mode_radio_select" value="WALKING"><label
                                        for="walking-mode-19578184"><i
                                            class="fa fa-blind"></i></label></li>
                            <li><input id="bycycle-mode-19578184" type="radio"
                                       class="mode-radio-select" name="mode_radio_select" value="BICYCLING"><label
                                        for="bycycle-mode-19578184"><i
                                            class="fa fa-bicycle"></i></label>
                            </li>
                            <li><input id="plane-mode-19578184" type="radio"
                                       class="mode-radio-select" name="mode_radio_select" value="TRANSIT"><label
                                        for="plane-mode-19578184"><i
                                            class="fa fa-plane"></i></label></li>
                        </ul>
                        <input id="direction-type-19578184" type="hidden" value="DRIVING">
                        <div class="desti-to-orig">
                            <div class="jobsearch_searchloc_div">
                                <div class="loc-loader"></div>
                                <input id="go-orig-19578184" class="jobsearch-detpage-autofilfield">
                            </div>
                            <div class="jobsearch_searchloc_div">
                                <div class="loc-loader"></div>
                                <input id="go-desti-19578184" class="jobsearch-detpage-autofilfield" value="">
                            </div>
                            <input id="go-to-hiden-19578184" type="hidden">
                        </div>
                    </div>
                </div>
                <div id="map-19578184"
                     style="height:407px;"></div>
                <div id="panel-19578184" class="map-directions-container"></div>
                <div id="panel-no-19578184"></div>
                        </div>
        <script>
                            var det_map;
                var leafletRoutingControl;

                jQuery(document).on('click', 'input[type="radio"][class="mode-radio-select"]', function () {
                    var sel_mode_val = jQuery('input[type="radio"][class="mode-radio-select"]:checked').val();
                    jQuery('#direction-type-19578184').val(sel_mode_val);
                });

                jQuery(document).ready(function () {
                    document.getElementById('go-to-19578184').addEventListener('focusin', function () {
                        jQuery('.directions-modes-con').slideDown('fast');
                    });
                    document.getElementById('go-to-19578184').addEventListener('focusout', function () {
                        //jQuery('.directions-modes-con').slideUp('fast');
                    });
                    jQuery('#dir-close-19578184').on('click', function () {
                        jQuery('.directions-modes-con').slideUp('fast');
                    });

                    function jobsearch_jobdetail_init_map() {
                        var myLatLng = [37.090240, -95.712891];
                        
                        // Initialize Leaflet map
                        det_map = L.map('map-19578184', {
                            center: myLatLng,
                            zoom: 12,
                            scrollWheelZoom: false,
                            zoomControl: false
                        });

                        // Add OSM tile layer
                        L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
                            attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
                        }).addTo(det_map);

                        // Add custom zoom controls if needed
                        L.control.zoom({
                            position: 'bottomright'
                        }).addTo(det_map);

                        // Add marker
                        var marker = L.marker(myLatLng, {
                            icon: L.icon({
                                iconUrl: 'https://urbanplannerjobs.com/wp-content/plugins/wp-jobsearch/images/job_map_marker.png',
                                iconSize: [32, 32], // adjust based on your icon size
                                iconAnchor: [16, 32] // point of the icon which will correspond to marker's location
                            })
                        }).addTo(det_map);

                        // Handle direction requests
                        jQuery(document).on('click', '#get-direction-19578184', function () {
                            var desti = jQuery('#go-desti-19578184').val();
                            var orig = jQuery('#go-to-hiden-19578184').val();
                            var selectedMode = jQuery('#direction-type-19578184').val();

                            if (desti != '' && orig != '') {
                                // Clear previous route if exists
                                if (leafletRoutingControl) {
                                    det_map.removeControl(leafletRoutingControl);
                                }

                                // Convert mode to OSRM compatible profile
                                var routeProfile;
                                switch(selectedMode) {
                                    case 'DRIVING':
                                        routeProfile = 'car';
                                        break;
                                    case 'WALKING':
                                        routeProfile = 'foot';
                                        break;
                                    case 'BICYCLING':
                                        routeProfile = 'bicycle';
                                        break;
                                    case 'TRANSIT':
                                        routeProfile = 'car'; // OSRM doesn't support transit directly
                                        break;
                                    default:
                                        routeProfile = 'car';
                                }

                                jQuery('#panel-no-19578184').html('<i class="fa fa-refresh fa-spin"></i>');

                                // Use Nominatim to geocode addresses to coordinates
                                var geocodePromises = [
                                    fetch(`https://nominatim.openstreetmap.org/search?format=json&q=${encodeURIComponent(orig)}`),
                                    fetch(`https://nominatim.openstreetmap.org/search?format=json&q=${encodeURIComponent(desti)}`)
                                ];

                                Promise.all(geocodePromises)
                                    .then(responses => Promise.all(responses.map(res => res.json())))
                                    .then(data => {
                                        if (data[0].length > 0 && data[1].length > 0) {
                                            var startCoords = [parseFloat(data[0][0].lat), parseFloat(data[0][0].lon)];
                                            var endCoords = [parseFloat(data[1][0].lat), parseFloat(data[1][0].lon)];

                                            // Use OSRM for routing
                                            leafletRoutingControl = L.Routing.control({
                                                waypoints: [
                                                    L.latLng(startCoords[0], startCoords[1]),
                                                    L.latLng(endCoords[0], endCoords[1])
                                                ],
                                                routeWhileDragging: false,
                                                show: true,
                                                fitSelectedRoutes: true,
                                                collapsible: true,
                                                addWaypoints: false,
                                                router: L.Routing.osrmv1({
                                                    profile: routeProfile,
                                                    serviceUrl: 'https://router.project-osrm.org/route/v1'
                                                }),
                                                formatter: new L.Routing.Formatter({
                                                    language: 'en',
                                                    units: 'imperial' // or 'metric'
                                                })
                                            }).addTo(det_map);

                                            // Show directions panel
                                            jQuery('#panel-19578184').show();
                                            jQuery('#panel-no-19578184').html('');
                                            jQuery('#panel-no-19578184').hide();

                                            // Listen for route events
                                            leafletRoutingControl.on('routesfound', function(e) {
                                                var routes = e.routes;
                                                var summary = routes[0].summary;
                                                // Update panel with directions
                                                var instructions = '';
                                                routes[0].instructions.forEach(function(instruction) {
                                                    //console.log(instruction);
                                                    instructions += `<div class="direction-step">${instruction.text}</div>`;
                                                });
                                                jQuery('#panel-19578184').html(instructions);
                                            });

                                            leafletRoutingControl.on('routingerror', function(e) {
                                                jQuery('#panel-no-19578184').html('No direction found.');
                                                jQuery('#panel-no-19578184').show();
                                            });

                                            jQuery('.directions-modes-con').slideUp('fast');
                                        } else {
                                            jQuery('#panel-no-19578184').html('Could not find location coordinates.');
                                            jQuery('#panel-no-19578184').show();
                                        }
                                    })
                                    .catch(error => {
                                        console.error('Error:', error);
                                        jQuery('#panel-no-19578184').html('Error fetching directions.');
                                        jQuery('#panel-no-19578184').show();
                                    });
                            }
                        });

                        jQuery('#go-to-19578184').on('change', function() {
                            var gplace_val = jQuery('#go-to-19578184').val();
                            jQuery('#go-to-hiden-19578184').val(gplace_val);
                            jQuery('#go-orig-19578184').val(gplace_val);
                            return false;
                        });

                        jQuery('#go-orig-19578184').on('change', function() {
                            var gplace_val = jQuery('#go-orig-19578184').val();
                            jQuery('#go-to-hiden-19578184').val(gplace_val);
                            jQuery('#go-to-19578184').val(gplace_val);
                            return false;
                        });
                    }

                    // Initialize the map
                    jobsearch_jobdetail_init_map();
                });

                jQuery(document).on('click', '#go-to-19578184', function() {
                    jQuery('#go-to-19578184').direction_plces_autocomplete_call();
                });
                jQuery(document).on('click', '#go-desti-19578184', function() {
                    jQuery('#go-desti-19578184').direction_plces_autocomplete_call();
                });
                jQuery(document).on('click', '#go-orig-19578184', function() {
                    jQuery('#go-orig-19578184').direction_plces_autocomplete_call();
                });

                //
                var jobsearch_autosugg_ajxreq;
                jQuery.fn.extend({
                    direction_plces_autocomplete_call: function (options) {

                        return this.each(function() {
                            var input = jQuery(this);
                            var predictionsDropDown = jQuery('<div class="jobsearch_location_autocomplete" class="city-autocomplete"></div>').appendTo(jQuery(this).parent());
                            var request_var = 1;

                            input.off('keyup');
                            input.on('keyup', function() {
                                jQuery(this).parent(".jobsearch_searchloc_div").find('.loc-loader').html("<i class='fa fa-refresh fa-spin'></i>");
                                if (request_var == 1) {
                                    var searchStr = jQuery(this).val();
                                    // Min Number of characters
                                    var num_of_chars = 0;
                                    if (searchStr.length > num_of_chars) {
                                        updateLeafletPredictions(input);
                                    } else {
                                        input.parent(".jobsearch_searchloc_div").find('.loc-loader').html('');
                                    }
                                }
                            });

                            predictionsDropDown.delegate('div', 'click', function() {
                                if (jQuery(this).text() != jobsearch_plugin_vars.var_address_str && jQuery(this).text() != jobsearch_plugin_vars.var_other_locs_str) {
                                    var jobsearch_address_html = jQuery(this).text();
                                    var jobsearch_address_slug = jQuery(this).find('span').html();
                                    jQuery(this).find('span').remove();
                                    input.val(jQuery(this).text());
                                    input.trigger('change');
                                    input.next('.loc_search_keyword').val(jobsearch_address_slug);
                                    predictionsDropDown.hide();
                                    input.next('.loc_search_keyword').closest("form.side-loc-srch-form").submit();
                                }
                            });

                            jQuery(document).mouseup(function(e) {
                                predictionsDropDown.hide();
                            });

                            jQuery(window).resize(function() {
                                updatePredictionsDropDownDisplay(predictionsDropDown, input);
                            });

                            updatePredictionsDropDownDisplay(predictionsDropDown, input);

                            function updateLeafletPredictions(input) {
                                if (typeof jobsearch_autosugg_ajxreq !== undefined && jobsearch_autosugg_ajxreq != undefined) {
                                    jobsearch_autosugg_ajxreq.abort();
                                }
                                predictionsDropDown.empty();

                                // Use Nominatim (OpenStreetMap) for geocoding
                                var nominatimUrl = 'https://nominatim.openstreetmap.org/search?format=json&q=' + encodeURIComponent(input.val()) + '&limit=5';

                                jobsearch_autosugg_ajxreq = jQuery.ajax({
                                    type: "GET",
                                    url: nominatimUrl,
                                    dataType: "json",
                                    beforeSend: function() {
                                        input.parent(".jobsearch_searchloc_div").find('.loc-loader').html("<i class='fa fa-refresh fa-spin'></i>");
                                    }
                                });

                                jobsearch_autosugg_ajxreq.done(function(data) {
                                    input.parent(".jobsearch_searchloc_div").find('.loc-loader').html('');
                                    predictionsDropDown.empty();
                                    
                                    if (data && data.length > 0) {
                                        var osm_results = '<div class="address_headers"><h5>' + jobsearch_plugin_vars.var_address_str + '</h5></div>';
                                        
                                        jQuery.each(data, function(index, item) {
                                            var display_name = item.display_name;
                                            if (display_name.length > 50) {
                                                display_name = display_name.substring(0, 50) + '...';
                                            }
                                            osm_results += '<div class="jobsearch_google_suggestions"><i class="icon-location-arrow"></i> ' + 
                                                display_name + '<span style="display:none">' + item.lat + ',' + item.lon + '</span></div>';
                                        });
                                        
                                        predictionsDropDown.append(osm_results);
                                    } else {
                                        predictionsDropDown.append('<div class="no-results">No results found</div>');
                                    }
                                    
                                    request_var = 1;
                                });

                                jobsearch_autosugg_ajxreq.fail(function(jqXHR, textStatus) {
                                    input.parent(".jobsearch_searchloc_div").find('.loc-loader').html('');
                                    predictionsDropDown.append('<div class="error-results">Error fetching results</div>');
                                });

                                predictionsDropDown.show();
                            }

                            return input;
                        });
                    }
                });
                function updatePredictionsDropDownDisplay(dropDown, input) {
                    if (typeof (input.offset()) !== 'undefined') {
                        dropDown.css({
                            'width': input.outerWidth(),
                            'left': input.offset().left,
                            'top': input.offset().top + input.outerHeight()
                        });
                    }
                }

                function jobsearch_fulladres_to_city_contry(geoData) {
                    // debugger;
                    var region, countryName, placeName, returnStr;
                    if (geoData.context) {
                        $.each(geoData.context, function (i, v) {
                            if (v.id.indexOf('region') >= 0) {
                                region = v.text;
                            }
                            if (v.id.indexOf('country') >= 0) {
                                countryName = v.text;
                            }
                        });
                    }
                    if (region && countryName) {
                        returnStr = region + ", " + countryName;
                    } else {
                        returnStr = geoData.place_name;
                    }
                    return returnStr;
                }
                        </script>
                                </div>
                                            </aside>
                                        </div>
            </div>
        </div>
        <!-- Main Section -->

    </div>

    <!--// Footer \\-->
    <footer id="careerfy-footer" class="careerfy-footer-one">
                <div class="container">
                        <div class="careerfy-footer-widget">
                                    <div class="row">
                                                        <div class="col-md-4">
                                    <aside id="text-2" class="widget widget_text">			<div class="textwidget"><p><img decoding="async" class="alignnone size-full wp-image-581" src="https://careerfy.net/demo/wp-content/themes/careerfy/images/footer-logo.png" alt="" width="" height="" /></p>
<p> </p>
<p>Sed consequat sapien faus quam bibendum convallis quis in nulla. Pellentesque volutpat odio eget diam cursus semper.</p>
<p> </p>
<p><a class="careerfy-classic-btn jobsearch-bgcolor" href="#">Learn more</a></p>
</div>
		</aside>                                </div>
                                                                <div class="col-md-3">
                                    <aside id="nav_menu-2" class="widget widget_nav_menu"><div class="footer-widget-title"><h2>Quick Links</h2></div><div class="menu-for-jobs-container"><ul id="menu-for-jobs" class="menu"><li id="menu-item-262" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-262"><a href="https://urbanplannerjobs.com/job-packages/">Job Packages</a></li>
<li id="menu-item-265" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-265"><a href="https://urbanplannerjobs.com/post-new-job/">Post New Job</a></li>
<li id="menu-item-263" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-263"><a href="https://urbanplannerjobs.com/jobs-listing/">Jobs Listing</a></li>
<li id="menu-item-264" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-264"><a href="https://urbanplannerjobs.com/jobs-style-grid/">Jobs Style Grid</a></li>
<li id="menu-item-260" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-260"><a href="https://urbanplannerjobs.com/employer-listing/">Employer Listing</a></li>
<li id="menu-item-261" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-261"><a href="https://urbanplannerjobs.com/employers-grid/">Employers Grid</a></li>
</ul></div></aside>                                </div>
                                                                <div class="col-md-3">
                                    <aside id="nav_menu-3" class="widget widget_nav_menu"><div class="footer-widget-title"><h2>For Candidates</h2></div><div class="menu-for-candidates-container"><ul id="menu-for-candidates" class="menu"><li id="menu-item-258" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-258"><a href="https://urbanplannerjobs.com/user-dashboard/">User Dashboard</a></li>
<li id="menu-item-257" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-257"><a href="https://urbanplannerjobs.com/cv-packages/">CV Packages</a></li>
<li id="menu-item-255" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-255"><a href="https://urbanplannerjobs.com/candidate-listing/">Candidate Listing</a></li>
<li id="menu-item-256" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-256"><a href="https://urbanplannerjobs.com/candidates-grid/">Candidates Grid</a></li>
<li id="menu-item-254" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-254"><a href="https://urbanplannerjobs.com/about-us/">About us</a></li>
<li id="menu-item-259" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-259"><a href="https://urbanplannerjobs.com/contact-us/">Contact us</a></li>
</ul></div></aside>                                </div>
                                                                <div class="col-md-2">
                                    <aside id="nav_menu-4" class="widget widget_nav_menu"><div class="footer-widget-title"><h2>For Employers</h2></div><div class="menu-for-employer-container"><ul id="menu-for-employer" class="menu"><li id="menu-item-253" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-253"><a href="https://urbanplannerjobs.com/post-new-job/">Post New Job</a></li>
<li id="menu-item-250" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-250"><a href="https://urbanplannerjobs.com/employer-listing/">Employer Listing</a></li>
<li id="menu-item-251" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-251"><a href="https://urbanplannerjobs.com/employers-grid/">Employers Grid</a></li>
<li id="menu-item-252" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-252"><a href="https://urbanplannerjobs.com/job-packages/">Job Packages</a></li>
<li id="menu-item-248" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-248"><a href="https://urbanplannerjobs.com/jobs-listing/">Jobs Listing</a></li>
<li id="menu-item-249" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-249"><a href="https://urbanplannerjobs.com/jobs-style-grid/">Jobs Style Grid</a></li>
</ul></div></aside>                                </div>
                                                    </div>

                                </div>
                    <!-- CopyRight Section -->
                    <div class="careerfy-copyright">
                
                    <p>Urban Planner Jobs 2025</p>

                                </div>
                    </div>
    
            </footer>
    <!--// Footer \\-->
    <div class="clearfix"></div>
</div>
<!--// Main Wrapper \\-->
        <script>
            jQuery(document).ready(function () {
                if (typeof jQuery.datetimepicker !== 'undefined') {
                    jQuery.datetimepicker.setLocale('en');
                }
            });
        </script>
        <script type="speculationrules">
{"prefetch":[{"source":"document","where":{"and":[{"href_matches":"\/*"},{"not":{"href_matches":["\/wp-*.php","\/wp-admin\/*","\/wp-content\/uploads\/*","\/wp-content\/*","\/wp-content\/plugins\/*","\/wp-content\/themes\/careerfy\/*","\/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]}
</script>
    <div class="jobsearch-modal fade" id="JobSearchModalApplyJobWarning">
        <div class="modal-inner-area"> </div>
        <div class="modal-content-area">
            <div class="modal-box-area">
                <span class="modal-close"><i class="fa fa-times"></i></span>
                <div class="jobsearch-send-message-form">
                    <div class="send-message-warning">
                        <span>Required 'Candidate' login to applying this job. </span>
                        <span>Click here to <a
                                    href="https://urbanplannerjobs.com/wp-login.php?action=logout&redirect_to=https%3A%2F%2Furbanplannerjobs.com%2Femployer%2Fcasino-seo-services%2F&_wpnonce=0189731270">logout</a> </span>
                        <span>And try again </span>
                    </div>
                </div>
            </div>
        </div>
    </div>
                <div class="jobsearch-modal jobsearch-typo-wrap fade" id="JobSearchModalLogin">
                <div class="modal-inner-area"> </div>
                <div class="modal-content-area">
                    <div class="modal-box-area">
                                <div class="login-form-8825721">
            <div class="jobsearch-modal-title-box">
                <h2>Login to your account</h2>
                <span class="modal-close"><i class="fa fa-times"></i></span>
            </div>
            <form autocomplete="off" id="login-form-8825721" action="https://urbanplannerjobs.com/" method="post">
                                <div class="jobsearch-user-form">
                    <ul>
                        <li>
                            <label>Enter Username or Email Address:</label>
                            <input class="required" name="pt_user_login" type="text"
                                   placeholder="Enter Username or Email Address"/>
                            <i class="jobsearch-icon jobsearch-user"></i>
                        </li>
                        <li>
                            <label>Password:</label>
                            <input class="required" name="pt_user_pass" type="password"
                                   placeholder="Enter Password">
                            <i class="jobsearch-icon jobsearch-multimedia"></i>
                            <a href="#" class="jobsearch-user-showpass"><i class="jobsearch-icon jobsearch-view"></i></a>
                        </li>
                        <li class="jobsearch-user-form-coltwo-full">
                            <input type="hidden" name="action" value="jobsearch_login_member_submit">
                            <input type="hidden" name="current_page_id" value="157236">
                                                        <input data-id="8825721" class="jobsearch-login-submit-btn"
                                   data-loading-text="Loading..." type="submit"
                                   value="Sign In">
                            <div class="form-loader"></div>
                            <div class="jobsearch-user-form-info">
                                <p><a href="javascript:void(0);" class="lost-password"
                                      data-id="8825721">Forgot Password?</a> |
                                        <a href="javascript:void(0);" class="register-form"
                                           data-id="8825721">Sign Up</a>                                </p>
                                <div class="jobsearch-checkbox">
                                    <input type="checkbox" id="r-8825721" name="remember_password">
                                    <label for="r-8825721"><span></span> Save Password                                    </label>
                                </div>
                            </div>
                                                    </li>
                                            </ul>
                    <div class="login-reg-errors"></div>
                            <div id="jobsearch-aterreg-8384157"></div>
                    <script type="text/javascript">
                jQuery(document).ready(function () {
                    var ajax_req_8384157 = jQuery.ajax({
                        url: 'https://urbanplannerjobs.com/wp-admin/admin-ajax.php',
                        method: "POST",
                        data: {
                            rand_id: '8384157',
                            secure_form: 'register-security',
                            action: 'jobsearch_userreg_form_after_nonce'
                        },
                        dataType: "html"
                    });
                    ajax_req_8384157.done(function (response) {
                        jQuery('#jobsearch-aterreg-8384157').html(response);
                    });
                });
            </script>
                            </div>
                                    <div class="jobsearch-box-title jobsearch-box-title-sub">
                        <span>Or Sign In With</span>
                    </div>
                    <div class="clearfix"></div>
                    <ul class="jobsearch-login-media">
                        <li><a class="jobsearch-twitter-bg" data-original-title="twitter" href="https://urbanplannerjobs.com/wp-admin/admin-ajax.php?action=jobsearch_twitter"><i class="careerfy-icon careerfy-twitter"></i>Login with Twitter</a></li><li><a class="jobsearch-google-plus-bg" data-original-title="google" href="https://accounts.google.com/o/oauth2/auth?response_type=code&redirect_uri=https%3A%2F%2Furbanplannerjobs.com%2F&client_id=&scope=email+profile&access_type=online&approval_prompt=auto"><div class="jobsearch-google-svg"><div></div></div>Sign in with Google</a></li><li><a class="jobsearch-linkedin-bg" href="https://www.linkedin.com/uas/oauth2/authorization?client_id=&redirect_uri=https%3A%2F%2Furbanplannerjobs.com%2F%3Faction%3Dlinkedin_login&response_type=code&scope=r_liteprofile+r_emailaddress&state=TdvyMwPSND06" data-original-title="linkedin"><i class="fa fa-linkedin"></i>Login with Linkedin</a></li>                    </ul>
                                </form>
        </div>
        <div class="jobsearch-reset-password reset-password-8825721" style="display:none;">
            <div class="jobsearch-modal-title-box">
                <h2>Reset Password</h2>
                <span class="modal-close"><i class="fa fa-times"></i></span>
            </div>
            <form autocomplete="off" id="reset-password-form-8825721" action="https://urbanplannerjobs.com/"
                  method="post">
                <div class="jobsearch-user-form">
                    <ul>
                        <li class="jobsearch-user-form-coltwo-full">
                            <label>Enter Username or Email Address:</label>
                            <input id="pt_user_or_email_8825721" class="required"
                                   name="pt_user_or_email" type="text"
                                   placeholder="Enter Username or Email Address to reset Password"/>
                            <i class="jobsearch-icon jobsearch-mail"></i>
                        </li>
                        <li class="jobsearch-user-form-coltwo-full">
                            <input type="hidden" name="action" value="jobsearch_reset_password">
                            <input data-id="8825721"
                                   class="jobsearch-reset-password-submit-btn" type="submit"
                                   value="Get a new password">

                            <div class="form-loader"></div>
                            <div class="jobsearch-user-form-info">
                                <p><a href="javascript:void(0);" class="login-form-btn"
                                      data-id="8825721">Already have an account? Login</a>
                                </p>
                            </div>
                        </li>
                    </ul>

                    <p>Enter the username or e-mail you used in your profile. A password reset link will be sent to you by email.</p>

                    <div class="reset-password-errors"></div>
                            <div id="jobsearch-aterreg-2732601"></div>
                    <script type="text/javascript">
                jQuery(document).ready(function () {
                    var ajax_req_2732601 = jQuery.ajax({
                        url: 'https://urbanplannerjobs.com/wp-admin/admin-ajax.php',
                        method: "POST",
                        data: {
                            rand_id: '2732601',
                            secure_form: 'register-security',
                            action: 'jobsearch_userreg_form_after_nonce'
                        },
                        dataType: "html"
                    });
                    ajax_req_2732601.done(function (response) {
                        jQuery('#jobsearch-aterreg-2732601').html(response);
                    });
                });
            </script>
                            </div>
            </form>

        </div>
                    <div class="jobsearch-register-form register-8825721" style="display:none;">
                <div class="jobsearch-modal-title-box">
                    <h2>Signup to your Account</h2>
                    <span class="modal-close"><i class="fa fa-times"></i></span>
                </div>
                <form autocomplete="off" id="registration-form-8825721" data-jid="157236" action="https://urbanplannerjobs.com/"
                      method="POST" enctype="multipart/form-data">

                                            <div class="jobsearch-box-title">
                            <span>Choose your Account Type</span>
                            <input type="hidden" name="pt_user_role" value="jobsearch_candidate">
                        </div>
                        <div class="jobsearch-user-options">
                            <ul class="jobsearch-user-type-choose">
                                <li class="active">
                                    <a href="javascript:void(0);" class="user-type-chose-btn"
                                       data-type="jobsearch_candidate">
                                        <i class="jobsearch-icon jobsearch-user"></i>
                                        <span>Candidate</span>
                                        <small>I want to discover awesome companies.</small>
                                    </a>
                                </li>
                                <li>
                                    <a href="javascript:void(0);" class="user-type-chose-btn"
                                       data-type="jobsearch_employer">
                                        <i class="jobsearch-icon jobsearch-building"></i>
                                        <span>Employer</span>
                                        <small>I want to attract the best talent.</small>
                                    </a>
                                </li>
                            </ul>
                        </div>
                                            <div class="jobsearch-user-form jobsearch-user-form-coltwo">
                        <ul>
                                                            <li>
                                    <label>First Name *</label>                                    <input class="jobsearch-regrequire-field" name="pt_user_fname" type="text"
                                           placeholder="Enter First Name" required>
                                    <i class="jobsearch-icon jobsearch-user"></i>
                                </li>
                                <li>
                                    <label>Last Name *</label>                                    <input class="jobsearch-regrequire-field" name="pt_user_lname" type="text"
                                           placeholder="Enter Last Name" required>
                                    <i class="jobsearch-icon jobsearch-user"></i>
                                </li>
                                                            <li>
                                    <label>Username *</label>                                    <input class="jobsearch-regrequire-field" name="pt_user_login" type="text"
                                           placeholder="Enter Username"/>
                                    <i class="jobsearch-icon jobsearch-user"></i>
                                </li>
                                                            <li >
                                <label>Email *</label>                                <input class="jobsearch-regrequire-field" name="pt_user_email"
                                       id="pt_user_email_8825721" type="email"
                                       placeholder="Enter Email"/>
                                <i class="jobsearch-icon jobsearch-mail"></i>
                            </li>
                                                            <li>
                                    <label>Password *</label>                                    <input class="required jobsearch_chk_passfield" name="pt_user_pass"
                                           id="pt_user_pass_8825721" type="password"
                                           placeholder="Enter Password"/>
                                    <span class="passlenth-chk-msg"></span>
                                    <i class="jobsearch-icon jobsearch-multimedia"></i>
                                    <a href="#" class="jobsearch-user-showpass"><i class="jobsearch-icon jobsearch-view"></i></a>
                                </li>
                                <li>
                                    <label>Confirm Password *</label>                                    <input class="required" name="pt_user_cpass"
                                           id="pt_user_cpass_8825721" type="password"
                                           placeholder="Enter Confirm Password"/>
                                    <i class="jobsearch-icon jobsearch-multimedia"></i>
                                    <a href="#" class="jobsearch-user-showpass"><i class="jobsearch-icon jobsearch-view"></i></a>
                                </li>
                                                                <li class="jobsearch-user-form-coltwo-full">
                                    <label>Phone:</label>                                        <div id="phon-fieldcon-8825721" class="phon-num-fieldcon phonefild-wout-valid">
        <input class="required"                name="pt_user_phone"
               id="pt_user_phone_8825721"
               type="tel"                placeholder="Phone Number ">
        <input id="dial_code_8825721" type="hidden" name="dial_code">
        <input id="contry_code_8825721" type="hidden" name="contry_iso_code">
    </div>
            <i class="jobsearch-icon jobsearch-technology"></i>
            <script>
        function jobseachPhoneValidInit8825721() {
            var input_8825721 = document.querySelector("#pt_user_phone_8825721");
            var iti_8825721 = intlTelInput(input_8825721, {
                initialCountry: "auto",
                geoIpLookup: callback => {
                    fetch("https://ipinfo.io/json")
                    .then(res => res.json())
                    .then(data => callback(data.country))
                    .catch(() => callback("us"));
                },
                strictMode: true,
                separateDialCode: true,
                utilsScript: "https://urbanplannerjobs.com/wp-content/plugins/wp-jobsearch/js/utils.js?1765087066"
            });
            var reset_phone_field_8825721 = function () {
                input_8825721.classList.remove("phone-input-error");
            };
            // on blur: validate
            input_8825721.addEventListener('blur', function () {
                reset_phone_field_8825721();
                if (input_8825721.value.trim()) {
                    if (iti_8825721.isValidNumber()) {
                        jQuery(input_8825721).css({'border': '1px solid #efefef'});
                    } else {
                        input_8825721.classList.add("phone-input-error");
                        jQuery(input_8825721).css({'border': '1px solid #ff0000'});
                    }
                }
            });
            // for first time
            jQuery('#dial_code_8825721').val('+' + iti_8825721.getSelectedCountryData().dialCode);
            jQuery('#contry_code_8825721').val(iti_8825721.getSelectedCountryData().iso2);
            //
            input_8825721.addEventListener('countrychange', () => {
                jQuery('#dial_code_8825721').val('+' + iti_8825721.getSelectedCountryData().dialCode);
                jQuery('#contry_code_8825721').val(iti_8825721.getSelectedCountryData().iso2);
            });
        }

        jQuery(document).on('click', '#pt_user_phone_8825721', function () {
            if (jQuery('#phon-fieldcon-8825721').hasClass('phonefild-wout-valid')) {
                jQuery('#pt_user_phone_8825721').removeAttr('placeholder');
                jobseachPhoneValidInit8825721();
            }
            jQuery('#phon-fieldcon-8825721').removeClass('phonefild-wout-valid');
        });
        jQuery('body').on('focus', '#pt_user_phone_8825721', function(e) {
            e.preventDefault();
            if (jQuery('#phon-fieldcon-8825721').hasClass('phonefild-wout-valid')) {
                jQuery('#pt_user_phone_8825721').removeAttr('placeholder');
                jobseachPhoneValidInit8825721();
            }
            jQuery('#phon-fieldcon-8825721').removeClass('phonefild-wout-valid');
            return false;
        });
    </script>
                                    </li>
                                                                <li class="user-employer-spec-field jobsearch-user-form-coltwo-full"
                                    style="display: none;">
                                    <label>Organization Name</label>                                    <input class="required" name="pt_user_organization"
                                           id="pt_user_organization_8825721" type="text"
                                           placeholder="Enter Organization Name"/>
                                    <i class="jobsearch-icon jobsearch-briefcase"></i>
                                </li>
                                                                <li class="jobsearch-user-form-coltwo-full jobsearch-regfield-sector">
                                    <label>Select Sector</label>                                    <div class="jobsearch-profile-select">
                                        <select  name='pt_user_category' id='pt_user_category_8825721' class='selectize-select'>
	<option value='0'>Please Select Sector</option>
	<option class="level-0" value="34">Accounting / Finance</option>
	<option class="level-0" value="32">Automotive Jobs</option>
	<option class="level-0" value="39">Construction / Facilities</option>
	<option class="level-0" value="37">Education Training</option>
	<option class="level-0" value="42">Health Care</option>
	<option class="level-0" value="38">Restaurant / Food Services</option>
	<option class="level-0" value="41">Sales & Marketing</option>
	<option class="level-0" value="35">Telecommunications</option>
</select>
                                    </div>
                                                                            <script type="text/javascript">
                                            jQuery('#pt_user_category_8825721').find('option').first().val('');
                                            jQuery('#pt_user_category_8825721').attr('placeholder', 'Please Select Sector');
                                        </script>
                                                                        </li>
                                            <script type="text/javascript">

                var jobsearch_sloc_type = '1',
                    jobsearch_is_admin = '',
                    totl_countries_detail, totl_preselected_states_saved,
                    jobsearch_is_post_page = 'index.php';

                
                var inc_countries = "", inc_countries_code = "",
                    exec_countries = "", contry_presel_contry, ajax_flag = false,
                    contry_preselct = 'by_contry',
                    contry_presel_contry_code = 'US';

                /*
                * Scrapper Events
                * */
                var api_scrapper8825721 = {
                    getCountryCode: function (jobsearch_sloc_country) {
                        var country_code_from_country_name = '';
                        jQuery.each(totl_countries_detail, function (index, element) {
                            if (element.country_name == jobsearch_sloc_country) {
                                country_code_from_country_name = element.country_code;
                            }
                        });
                        return country_code_from_country_name;
                    },
                    readCityOnlyFiles: function (country_detail, state_name, selector) {

                        if (jobsearch_is_admin == '' || ajax_flag == true) {
                            jQuery('#jobsearch-gdapilocs-citycon8825721').empty();
                            jQuery('#jobsearch-gdapilocs-citycon8825721').append('<select placeholder="Select City" name="location_location3" class="cities" id="cityId8825721"><option value="0">Select City</option></select>');
                            selector = jQuery(document).find("#cityId8825721");
                        }

                        var request = jQuery.ajax({
                            url: jobsearch_plugin_vars.ajax_url,
                            method: "POST",
                            data: {
                                country_detail: country_detail,
                                state: state_name,
                                _nonce: 'ac42adfc74',
                                action: 'jobsearch_location_load_cities_data',
                            },
                            dataType: 'json',
                        });

                        request.done(function (response) {

                            var _result_cities = response;
                            if (jobsearch_is_admin == '' || ajax_flag == true) {
                                if (selector.length > 0) {
                                    selector.selectize()[0].selectize.destroy();
                                }
                            }

                            setTimeout(function () {

                                if(jQuery('.vc_ui-panel-window-inner').find('.jobsearch-vcloc-dropdwn-con').length>0){
                                    selector    = jQuery('.location2-city');
                                }
                                selector.html('');
                                //if (jobsearch_is_admin == 1 && ajax_flag == false) {
                                selector.append('<option value="">Select City</option>');
                                // }

                                var _option_select = '';
                                if (_result_cities.result.length != 0) {
                                    jQuery.each(_result_cities.result, function (index, element) {

                                        if (jQuery.trim(element.city_name) != "Enter Any City") {
                                            if (jobsearch_sloc_city != "") {
                                                _option_select = jobsearch_sloc_city == element.city_name ? 'selected' : '';
                                            }
                                            if (_option_select != "") {
                                                selector.append(jQuery("<option></option>").attr("value", element.city_name).attr("selected", "selected").text(element.city_name));
                                            } else {
                                                selector.append(jQuery("<option></option>").attr("value", element.city_name).text(element.city_name));
                                            }
                                        }
                                    });
                                } else {
                                    selector.html('');
                                    selector.append(jQuery("<option></option>").attr("value", "").text('No cities exits.'));
                                }
                            }, 50);

                            if (jobsearch_is_admin == '' || ajax_flag == true) {
                                if (_result_cities.result.length != 0) {
                                    setTimeout(function () {
                                        selector.selectize({
                                            maxOptions: 30000,
                                            sortField: [{
                                                field: 'text',
                                                direction: 'asc'
                                            }],
                                        });
                                    }, 100);
                                }
                            }
                            jQuery('#cityId8825721').trigger('change');
                        });
                        request.fail(function (jqXHR, textStatus) {

                        });
                    },
                    readStateFile: function (country_code, selector) {

                        var request, _result_states;
                        if (jobsearch_is_admin == '' || ajax_flag == true) {
                            jQuery('#jobsearch-gdapilocs-statecon8825721').empty();
                            jQuery('#jobsearch-gdapilocs-statecon8825721').append('<select placeholder="Select State"  class="states location2-states" id="stateId8825721" name="location_location2"><option value="">Select State</option></select>');
                            selector = jQuery(document).find("#stateId8825721, .location2-states");
                        }
                        selector.html('');
                        request = jQuery.ajax({
                            url: jobsearch_plugin_vars.ajax_url,
                            method: "POST",
                            data: {
                                country_code: country_code,
                                _nonce: 'ac42adfc74',
                                action: 'jobsearch_location_load_states_data',
                            },
                            dataType: 'json',
                        });

                        if(jQuery('.vc_ui-panel-window-inner').find('.jobsearch-vcloc-dropdwn-con').length>0){
                            selector    = jQuery('.location2-state');
                        }

                        request.done(function (response) {

                            if (jobsearch_is_admin == '' || ajax_flag == true) {
                                //selector.selectize()[0].selectize.destroy();
                            }
                            _result_states = response;
                            setTimeout(function () {
                                selector.html('');
                                //if (jobsearch_is_admin == 1 && ajax_flag == false) {
                                selector.append('<option value="">Select State</option>');
                                //}
                                var _option_select = '';
                                jQuery.each(_result_states.result, function (index, element) {

                                    if (jQuery.trim(element.state_name) != "Enter Any State") {
                                        if (jobsearch_sloc_state != "") {
                                            _option_select = jobsearch_sloc_state == element.state_name ? 'selected' : '';
                                        }

                                        if (_option_select != "") {
                                            selector.append(jQuery("<option></option>").attr("value", element.state_name).attr("selected", "selected").text(element.state_name));
                                            // selector.append(jQuery('<option>', {
                                            //     value: element,
                                            //     text: element,
                                            //     selected: _option_select,
                                            // }));
                                        } else {
                                            selector.append(jQuery("<option></option>").attr("value", element.state_name).text(element.state_name));
                                            // selector.append(jQuery('<option>', {
                                            //     value: element,
                                            //     text: element,
                                            // }));
                                        }
                                    }
                                });
                            }, 50);

                            /*
                            * If city is saved then this code will execute.
                            * */
                            if (jobsearch_sloc_city != "") {
                                setTimeout(function () {
                                    console.info("triggered second");
                                    jQuery('#stateId8825721').trigger('change');
                                }, 1000)
                            }
                            /*
                            * Initialize Selectize
                            * */
                            if (jobsearch_is_admin == '' || ajax_flag == true) {
                                setTimeout(function () {
                                    selector.selectize();
                                }, 100)
                            }
                        });
                        request.fail(function (jqXHR, textStatus) {

                        });
                    },
                    stripslashes: function (str) {
                        if (str == undefined) {
                            return;
                        }
                        return str.replace(/\\/g, '');
                    },
                    readCountryFile: function (selector, country) {
                        var _result_countries, request;

                        request = jQuery.ajax({
                            url: jobsearch_plugin_vars.ajax_url,
                            method: "POST",
                            data: {
                                _nonce: 'ac42adfc74',
                                action: 'jobsearch_location_load_countries_data',
                            },
                            dataType: "json"
                        });
                        request.done(function (response) {
                            _result_countries = response;
                            selector.html('');
                            if (jobsearch_is_admin == 1 && ajax_flag == true) {
                                selector.append('<option value="">Select Country</option>');
                            } else {
                                var $opt = jQuery('<option>');
                                $opt.val('').text('Select Country');
                                $opt.appendTo(selector);
                            }
                            /*
                            * Alphabetic countries
                            * */
                                                        _result_countries.sort(function (a, b) {
                                return api_scrapper8825721.compareStrings(a.name, b.name);
                            });
                                                        /*
                            * Code will execute if Include only countries option will be selected.
                            * */
                            ;
                            /*
                            * Code will execute if Exclude only countries option will be selected.
                            * */
                            ;
                            /*
                            * Code will execute if Random countries option will be selected.
                            * */
                                                        /*
                            * Include only countries
                            * */
                            if (inc_countries != "" && jobsearch_is_loc_editor != 'jobsearch-location-sett-editor') {
                                var _inc_flag = false;
                                jQuery.each(_result_countries, function (i, element) {
                                    if (i < inc_countries.length) {
                                        if (jobsearch_sloc_country == inc_countries[i]) {

                                            selector.append(jQuery("<option></option>")
                                                .attr("data-index", i)
                                                .attr("code", inc_countries_code[i])
                                                .attr("selected", "selected")
                                                .attr("value", inc_countries[i])
                                                .text(inc_countries[i]));
                                            _inc_flag = true;

                                        } else if (contry_preselct == 'by_contry' && contry_presel_contry_code == inc_countries_code[i] && ajax_flag == false && _inc_flag == false) {
                                            selector.append(jQuery("<option></option>")
                                                .attr("data-index", i)
                                                .attr("code", inc_countries_code[i])
                                                .attr("selected", "selected")
                                                .attr("value", inc_countries[i])
                                                .text(inc_countries[i]));

                                        } else {
                                            selector.append(jQuery("<option></option>")
                                                .attr("data-index", i)
                                                .attr("code", inc_countries_code[i])
                                                .attr("value", inc_countries[i])
                                                .text(inc_countries[i]));
                                        }
                                    }
                                })
                            } else if (exec_countries != '' && jobsearch_is_loc_editor != 'jobsearch-location-sett-editor') {
                                /*
                                * code will execute if "Exclude countries selected" filter option will be selected
                                * */
                                var _exec_flag = false;
                                jQuery.each(_result_countries, function (index, element) {
                                    if (element != "") {
                                        if (exec_countries.indexOf(element.name) == -1) {
                                            /*
                                            * code will execute if Country Name is from save in metavalue
                                            * */

                                            if (jobsearch_sloc_country == element.name) {
                                                selector.append(jQuery("<option></option>")
                                                    .attr("data-index", index)
                                                    .attr("code", element.code)
                                                    .attr("selected", "selected")
                                                    .attr("value", element.name)
                                                    .text(element.name));
                                                _exec_flag = true;
                                            } else if (contry_preselct == 'by_contry' && contry_presel_contry_code == element.code && ajax_flag == false && _exec_flag == false) {
                                                selector.append(jQuery("<option></option>")
                                                    .attr("data-index", index)
                                                    .attr("code", element.code)
                                                    .attr("selected", "selected")
                                                    .attr("value", element.name)
                                                    .text(element.name));

                                            } else {
                                                selector.append(jQuery("<option></option>")
                                                    .attr("data-index", index)
                                                    .attr("code", element.code)
                                                    .attr("value", element.name)
                                                    .text(element.name));
                                            }
                                        }
                                    }
                                })
                            } else {
                                var pres_selected_saved_contry = api_scrapper8825721.getCountryCode(jobsearch_sloc_country);
                                jQuery.each(_result_countries, function (index, element) {
                                    if (element != "") {
                                        /*
                                        * code will execute if Preselect Country option will be selected
                                        * */
                                        
                                        contry_presel_contry = "US";

                                        var _option_select = contry_presel_contry == element.code ? 'selected' : '';
                                        /*
                                        * code will execute on the front end
                                        * */
                                        if (jobsearch_is_admin == '' || ajax_flag == true) {
                                            if (jobsearch_sloc_country != "") {

                                                if (pres_selected_saved_contry == element.code) {

                                                    selector.append(jQuery("<option></option>")
                                                        .attr("data-index", index)
                                                        .attr("code", element.code)
                                                        .attr("selected", "selected")
                                                        .attr("value", element.name)
                                                        .text(element.name));

                                                } else {

                                                    selector.append(jQuery("<option></option>")
                                                        .attr("data-index", index)
                                                        .attr("code", element.code)
                                                        .attr("value", element.name)
                                                        .text(element.name));
                                                }

                                            } else {

                                                if (contry_presel_contry == element.code) {
                                                    selector.append($('<option>', {
                                                        value: element.name,
                                                        text: element.name,
                                                        selected: 'selected',
                                                    }));
                                                } else {
                                                    selector.append($('<option>', {
                                                        value: element.name,
                                                        text: element.name,
                                                    }));
                                                }
                                            }
                                            ///////////////////end//////////////
                                        } else {

                                            if (jobsearch_sloc_country != "") {

                                                if (pres_selected_saved_contry == element.code) {

                                                    selector.append(jQuery("<option></option>")
                                                        .attr("data-index", index)
                                                        .attr("code", element.code)
                                                        .attr("selected", "selected")
                                                        .attr("value", element.name)
                                                        .text(element.name));

                                                } else {

                                                    selector.append(jQuery("<option></option>")
                                                        .attr("data-index", index)
                                                        .attr("code", element.code)
                                                        .attr("value", element.name)
                                                        .text(element.name));
                                                }

                                            } else {

                                                // if (contry_presel_contry == element.code) {
                                                //     selector.append(jQuery("<option></option>")
                                                //         .attr("data-index", index)
                                                //         .attr("code", element.code)
                                                //         .attr("selected", "selected")
                                                //         .attr("value", element.name)
                                                //         .text(element.name));
                                                // } else {
                                                selector.append(jQuery("<option></option>")
                                                    .attr("data-index", index)
                                                    .attr("code", element.code)
                                                    .attr("value", element.name)
                                                    .text(element.name));
                                                //}
                                            }

                                        }
                                        /*
                                        * Countries by IP
                                        * */

                                                                            }
                                });
                                                            }
                            /*
                            * Initialize Selectize
                            * */

                            if (jobsearch_is_admin == '' || ajax_flag == true) {
                                if (jobsearch_sloc_type == 0 || jobsearch_sloc_type == 1) {
                                    selector.selectize({
                                        placeholder: 'Select Country',
                                    });
                                }
                            }
                        });
                        request.fail(function (jqXHR, textStatus) {

                        });
                    },
                    predictByIP: function () {
                        var request = jQuery.ajax({
                            url: "https://ipinfo.io/json",
                            dataType: "json"
                        });
                        request.done(function (result) {
                            if (result != '') {
                                api_scrapper8825721.readCountryFile(jQuery('#countryId8825721'), result.country);
                            } else {
                                /*
                                * Second Request will be sent if first request will fail.
                                * */
                                api_scrapper8825721.apiSecondRequest();
                            }
                        });
                        request.fail(function (jqXHR, textStatus) {
                            api_scrapper8825721.apiSecondRequest();
                        });
                    },
                    shuffleArray: function (a) {
                        var j, x, i;
                        for (i = a.length - 1; i > 0; i--) {
                            j = Math.floor(Math.random() * (i + 1));
                            x = a[i];
                            a[i] = a[j];
                            a[j] = x;
                        }
                        return a;
                    },
                    apiSecondRequest: function () {
                        var request = jQuery.ajax({
                            url: "http://ip-api.com/json",
                            dataType: "json"
                        });
                        request.done(function (result) {
                            api_scrapper8825721.readCountryFile(jQuery('#countryId8825721'), result.countryCode);
                            api_scrapper8825721.readStateFile(result.countryCode, jQuery('#stateId8825721'))
                        });
                        request.fail(function (jqXHR, textStatus) {

                        });
                    },
                    compareStrings: function (a, b) {
                        a = a.toLowerCase();
                        b = b.toLowerCase();
                        return (a < b) ? -1 : (a > b) ? 1 : 0;
                    },
                    getBulkCitiesByStates: function (preselected_states, jobsearch_sloc_city) {

                        jQuery('.cities').html('');
                        jQuery.ajax({
                            url: jobsearch_plugin_vars.ajax_url,
                            method: "POST",
                            data: {
                                preselected_states: JSON.parse(preselected_states),
                                _nonce: 'ac42adfc74',
                                action: 'jobsearch_get_selected_states_cities',
                            },
                            dataType: 'json',
                            success: function (response) {
                                jQuery.each(response.all_cities, function (index, city_name) {
                                    if (jobsearch_sloc_city == city_name) {
                                        jQuery('.cities')
                                            .append(jQuery("<option></option>")
                                                .attr("value", city_name)
                                                .attr("selected", "selected")
                                                .text(city_name));
                                    } else {
                                        jQuery('.cities')
                                            .append(jQuery("<option></option>")
                                                .attr("value", city_name)
                                                .text(city_name));

                                    }
                                });

                                if (jobsearch_is_admin == '' || ajax_flag == true) {
                                    setTimeout(function () {
                                        jQuery('.cities').selectize({
                                            sortField: 'text'
                                        });
                                    }, 100)
                                }
                            }
                        });
                    }
                };
                /*
                * Scrapper Events end
                * */

                                jQuery(window).on('load', function () {
                    //
                                            totl_countries_detail = JSON.parse('[{"country_code":"AF","country_name":"Afghanistan"},{"country_code":"AL","country_name":"Albania"},{"country_code":"DZ","country_name":"Algeria"},{"country_code":"AD","country_name":"Andorra"},{"country_code":"AO","country_name":"Angola"},{"country_code":"AI","country_name":"Anguilla"},{"country_code":"AG","country_name":"Antigua and Barbuda"},{"country_code":"AR","country_name":"Argentina"},{"country_code":"AM","country_name":"Armenia"},{"country_code":"AU","country_name":"Australia"},{"country_code":"AT","country_name":"Austria"},{"country_code":"AZ","country_name":"Azerbaijan"},{"country_code":"BS","country_name":"Bahamas"},{"country_code":"BH","country_name":"Bahrain"},{"country_code":"BD","country_name":"Bangladesh"},{"country_code":"BB","country_name":"Barbados"},{"country_code":"BY","country_name":"Belarus"},{"country_code":"BE","country_name":"Belgium"},{"country_code":"BZ","country_name":"Belize"},{"country_code":"BJ","country_name":"Benin"},{"country_code":"BM","country_name":"Bermuda"},{"country_code":"BT","country_name":"Bhutan"},{"country_code":"BO","country_name":"Bolivia"},{"country_code":"BA","country_name":"Bosnia and Herzegovina"},{"country_code":"BW","country_name":"Botswana"},{"country_code":"BR","country_name":"Brazil"},{"country_code":"BN","country_name":"Brunei Darussalam"},{"country_code":"BG","country_name":"Bulgaria"},{"country_code":"BF","country_name":"Burkina Faso"},{"country_code":"BI","country_name":"Burundi"},{"country_code":"KH","country_name":"Cambodia"},{"country_code":"CM","country_name":"Cameroon"},{"country_code":"CA","country_name":"Canada"},{"country_code":"CV","country_name":"Cape Verde"},{"country_code":"KY","country_name":"Cayman Islands"},{"country_code":"CF","country_name":"Central African Republic"},{"country_code":"TD","country_name":"Chad"},{"country_code":"CL","country_name":"Chile"},{"country_code":"CN","country_name":"China"},{"country_code":"CO","country_name":"Colombia"},{"country_code":"KM","country_name":"Comoros"},{"country_code":"CG","country_name":"Congo"},{"country_code":"CR","country_name":"Costa Rica"},{"country_code":"HR","country_name":"Croatia (Hrvatska)"},{"country_code":"CU","country_name":"Cuba"},{"country_code":"CY","country_name":"Cyprus"},{"country_code":"CZ","country_name":"Czech Republic"},{"country_code":"DK","country_name":"Denmark"},{"country_code":"DJ","country_name":"Djibouti"},{"country_code":"DM","country_name":"Dominica"},{"country_code":"DO","country_name":"Dominican Republic"},{"country_code":"EC","country_name":"Ecuador"},{"country_code":"EG","country_name":"Egypt"},{"country_code":"SV","country_name":"El Salvador"},{"country_code":"GQ","country_name":"Equatorial Guinea"},{"country_code":"ER","country_name":"Eritrea"},{"country_code":"EE","country_name":"Estonia"},{"country_code":"ET","country_name":"Ethiopia"},{"country_code":"FO","country_name":"Faroe Islands"},{"country_code":"FJ","country_name":"Fiji"},{"country_code":"FI","country_name":"Finland"},{"country_code":"FR","country_name":"France"},{"country_code":"GF","country_name":"French Guiana"},{"country_code":"PF","country_name":"French Polynesia"},{"country_code":"TF","country_name":"French Southern Territories"},{"country_code":"GA","country_name":"Gabon"},{"country_code":"GM","country_name":"Gambia"},{"country_code":"GE","country_name":"Georgia"},{"country_code":"DE","country_name":"Germany"},{"country_code":"GH","country_name":"Ghana"},{"country_code":"GR","country_name":"Greece"},{"country_code":"GL","country_name":"Greenland"},{"country_code":"GD","country_name":"Grenada"},{"country_code":"GP","country_name":"Guadeloupe"},{"country_code":"GU","country_name":"Guam"},{"country_code":"GT","country_name":"Guatemala"},{"country_code":"GN","country_name":"Guinea"},{"country_code":"GW","country_name":"Guinea-Bissau"},{"country_code":"GY","country_name":"Guyana"},{"country_code":"HT","country_name":"Haiti"},{"country_code":"HN","country_name":"Honduras"},{"country_code":"HK","country_name":"Hong Kong"},{"country_code":"HU","country_name":"Hungary"},{"country_code":"IS","country_name":"Iceland"},{"country_code":"IN","country_name":"India"},{"country_code":"IM","country_name":"Isle of Man"},{"country_code":"ID","country_name":"Indonesia"},{"country_code":"IR","country_name":"Iran"},{"country_code":"IQ","country_name":"Iraq"},{"country_code":"IE","country_name":"Ireland"},{"country_code":"IL","country_name":"Israel"},{"country_code":"IT","country_name":"Italy"},{"country_code":"CI","country_name":"Ivory Coast"},{"country_code":"JE","country_name":"Jersey"},{"country_code":"JM","country_name":"Jamaica"},{"country_code":"JP","country_name":"Japan"},{"country_code":"JO","country_name":"Jordan"},{"country_code":"KZ","country_name":"Kazakhstan"},{"country_code":"KE","country_name":"Kenya"},{"country_code":"KI","country_name":"Kiribati"},{"country_code":"KP","country_name":"North Korea"},{"country_code":"KR","country_name":"South Korea"},{"country_code":"XK","country_name":"Kosovo"},{"country_code":"KW","country_name":"Kuwait"},{"country_code":"KG","country_name":"Kyrgyzstan"},{"country_code":"LA","country_name":"Lao"},{"country_code":"LV","country_name":"Latvia"},{"country_code":"LB","country_name":"Lebanon"},{"country_code":"LS","country_name":"Lesotho"},{"country_code":"LR","country_name":"Liberia"},{"country_code":"LY","country_name":"Libyan Arab Jamahiriya"},{"country_code":"LI","country_name":"Liechtenstein"},{"country_code":"LT","country_name":"Lithuania"},{"country_code":"LU","country_name":"Luxembourg"},{"country_code":"MK","country_name":"Macedonia"},{"country_code":"MG","country_name":"Madagascar"},{"country_code":"MW","country_name":"Malawi"},{"country_code":"MY","country_name":"Malaysia"},{"country_code":"MV","country_name":"Maldives"},{"country_code":"ML","country_name":"Mali"},{"country_code":"MT","country_name":"Malta"},{"country_code":"MH","country_name":"Marshall Islands"},{"country_code":"MQ","country_name":"Martinique"},{"country_code":"MR","country_name":"Mauritania"},{"country_code":"MU","country_name":"Mauritius"},{"country_code":"MX","country_name":"Mexico"},{"country_code":"FM","country_name":"Micronesia, Federated States of"},{"country_code":"MD","country_name":"Moldova"},{"country_code":"MC","country_name":"Monaco"},{"country_code":"MN","country_name":"Mongolia"},{"country_code":"ME","country_name":"Montenegro"},{"country_code":"MS","country_name":"Montserrat"},{"country_code":"MA","country_name":"Morocco"},{"country_code":"MZ","country_name":"Mozambique"},{"country_code":"MM","country_name":"Myanmar"},{"country_code":"NA","country_name":"Namibia"},{"country_code":"NR","country_name":"Nauru"},{"country_code":"NP","country_name":"Nepal"},{"country_code":"NL","country_name":"Netherlands"},{"country_code":"AN","country_name":"Netherlands Antilles"},{"country_code":"NC","country_name":"New Caledonia"},{"country_code":"NZ","country_name":"New Zealand"},{"country_code":"NI","country_name":"Nicaragua"},{"country_code":"NE","country_name":"Niger"},{"country_code":"NG","country_name":"Nigeria"},{"country_code":"MP","country_name":"Northern Mariana Islands"},{"country_code":"NO","country_name":"Norway"},{"country_code":"OM","country_name":"Oman"},{"country_code":"PK","country_name":"Pakistan"},{"country_code":"PW","country_name":"Palau"},{"country_code":"PS","country_name":"Palestine"},{"country_code":"PA","country_name":"Panama"},{"country_code":"PG","country_name":"Papua New Guinea"},{"country_code":"PY","country_name":"Paraguay"},{"country_code":"PE","country_name":"Peru"},{"country_code":"PH","country_name":"Philippines"},{"country_code":"PL","country_name":"Poland"},{"country_code":"PT","country_name":"Portugal"},{"country_code":"PR","country_name":"Puerto Rico"},{"country_code":"QA","country_name":"Qatar"},{"country_code":"RE","country_name":"Reunion"},{"country_code":"RO","country_name":"Romania"},{"country_code":"RU","country_name":"Russian Federation"},{"country_code":"RW","country_name":"Rwanda"},{"country_code":"KN","country_name":"Saint Kitts and Nevis"},{"country_code":"LC","country_name":"Saint Lucia"},{"country_code":"VC","country_name":"Saint Vincent and the Grenadines"},{"country_code":"WS","country_name":"Samoa"},{"country_code":"SM","country_name":"San Marino"},{"country_code":"ST","country_name":"Sao Tome and Principe"},{"country_code":"SA","country_name":"Saudi Arabia"},{"country_code":"SN","country_name":"Senegal"},{"country_code":"RS","country_name":"Serbia"},{"country_code":"SC","country_name":"Seychelles"},{"country_code":"SL","country_name":"Sierra Leone"},{"country_code":"SG","country_name":"Singapore"},{"country_code":"SK","country_name":"Slovakia"},{"country_code":"SI","country_name":"Slovenia"},{"country_code":"SB","country_name":"Solomon Islands"},{"country_code":"SO","country_name":"Somalia"},{"country_code":"ZA","country_name":"South Africa"},{"country_code":"ES","country_name":"Spain"},{"country_code":"LK","country_name":"Sri Lanka"},{"country_code":"SH","country_name":"St. Helena"},{"country_code":"PM","country_name":"St. Pierre and Miquelon"},{"country_code":"SD","country_name":"Sudan"},{"country_code":"SR","country_name":"Suriname"},{"country_code":"SJ","country_name":"Svalbard and Jan Mayen Islands"},{"country_code":"SZ","country_name":"Swaziland"},{"country_code":"SE","country_name":"Sweden"},{"country_code":"CH","country_name":"Switzerland"},{"country_code":"SY","country_name":"Syrian Arab Republic"},{"country_code":"TW","country_name":"Taiwan"},{"country_code":"TJ","country_name":"Tajikistan"},{"country_code":"TZ","country_name":"Tanzania"},{"country_code":"TH","country_name":"Thailand"},{"country_code":"TG","country_name":"Togo"},{"country_code":"TK","country_name":"Tokelau"},{"country_code":"TO","country_name":"Tonga"},{"country_code":"TT","country_name":"Trinidad and Tobago"},{"country_code":"TN","country_name":"Tunisia"},{"country_code":"TR","country_name":"Turkey"},{"country_code":"TM","country_name":"Turkmenistan"},{"country_code":"TV","country_name":"Tuvalu"},{"country_code":"UG","country_name":"Uganda"},{"country_code":"UA","country_name":"Ukraine"},{"country_code":"AE","country_name":"United Arab Emirates"},{"country_code":"GB","country_name":"United Kingdom"},{"country_code":"US","country_name":"United States"},{"country_code":"UM","country_name":"United States minor outlying islands"},{"country_code":"UY","country_name":"Uruguay"},{"country_code":"UZ","country_name":"Uzbekistan"},{"country_code":"VU","country_name":"Vanuatu"},{"country_code":"VE","country_name":"Venezuela"},{"country_code":"VN","country_name":"Vietnam"},{"country_code":"VI","country_name":"Virgin Islands (U.S.)"},{"country_code":"WF","country_name":"Wallis and Futuna Islands"},{"country_code":"YE","country_name":"Yemen"},{"country_code":"ZM","country_name":"Zambia"},{"country_code":"ZW","country_name":"Zimbabwe"}]');
                                            totl_preselected_states_saved = '""';

                    
                    var _single_country_code = '';

                    if (jobsearch_sloc_type == '2' || jobsearch_sloc_type == '3') {
                        _single_country_code = jQuery("#countryId8825721").val();
                    } else {
                        if (jobsearch_sloc_country != 0 && contry_preselct != 'by_contry') {
                            _single_country_code = api_scrapper8825721.getCountryCode(jobsearch_sloc_country);
                        }
                    }

                    /*
                    * If location type is single country (cities)
                    * */

                    if (jobsearch_sloc_type == 4) {
                        api_scrapper8825721.getBulkCitiesByStates(totl_preselected_states_saved, jobsearch_sloc_city);
                    }

                    
                                        api_scrapper8825721.readCountryFile(jQuery('#countryId8825721'), '');

                    
                    if (jobsearch_sloc_state != "") {
                        api_scrapper8825721.readStateFile(_single_country_code, jQuery("#stateId8825721"))
                    }

                    if ((jobsearch_sloc_type == 2 || jobsearch_sloc_type == 3) && jobsearch_is_loc_editor != 'jobsearch-location-sett-editor') {
                        if (_single_country_code != "") {
                            api_scrapper8825721.readStateFile(_single_country_code, jQuery("#stateId8825721"))
                        }
                        if (jobsearch_sloc_city != "") {
                            setTimeout(function () {
                                console.info("done first");
                                jQuery('#stateId8825721').trigger('change');
                            }, 4000);
                        }
                    }

                                        /*
                    * Pre select Country
                    * */
                                        if (jobsearch_sloc_country != "") {
                        _single_country_code = jobsearch_is_admin == 1 && jQuery("select[name=contry_presel_contry]").val() != undefined ? jQuery("select[name=contry_presel_contry]").val() : api_scrapper8825721.getCountryCode(jobsearch_sloc_country);
                    } else {
                        _single_country_code = 'US';
                    }

                    if (_single_country_code != "") {
                        api_scrapper8825721.readStateFile(_single_country_code, jQuery("#stateId8825721"));
                    }

                                                        });
                
                /*
                 *countries change event
                 **/

                 jQuery(document).on('change', '#countryId8825721', function () {
                    var _this = jQuery(this);
                    //console.log(_this.val());
                    if (_this.val() != 0 && _this.val() != undefined) {
                        var _country_code = '';
                        if (inc_countries != "") {
                            _country_code = api_scrapper8825721.getCountryCode(_this.val());
                        } else {
                            _country_code = jobsearch_is_admin == 1 && _this.find('option:selected').attr("code") != undefined ? _this.find('option:selected').attr("code") : api_scrapper8825721.getCountryCode(_this.val());
                        }
                        api_scrapper8825721.readStateFile(_country_code, jQuery("#stateId8825721"));
                    }
                });

                /*
                * state change event
                * */

                jQuery(document).on('change', '#stateId8825721', function () {
                    var _this = jQuery(this), _single_country_detail;
                    if (jobsearch_sloc_type == 1) {
                        _single_country_detail = jQuery("#countryId8825721").find('option:selected').val();

                    } else if (jobsearch_sloc_type == '2' || jobsearch_sloc_type == '3') {
                        _single_country_detail = jQuery("#countryId8825721").val();
                    } else {
                        if (jobsearch_sloc_country != 0 && contry_preselct != 'by_contry') {
                            _single_country_detail = api_scrapper8825721.getCountryCode(jobsearch_sloc_country);
                        }
                    }

                    if (_this.val() != 0 && _this.val() != undefined) {
                        if(jQuery('.vc_ui-panel-window-inner').find('.jobsearch-vcloc-dropdwn-con').length>0){
                            _single_country_detail = jQuery(".location2-countries").val();
                        }
                        api_scrapper8825721.readCityOnlyFiles(_single_country_detail, _this.val(), jQuery('#cityId8825721'));
                    }
                });
            </script>
                                        
                            <li class="jobsearch-user-form-coltwo-full regsend-submit-btncon">
                                                <div class="terms-priv-chek-con">
                    <p>
                        <input type="checkbox" name="terms_cond_check" >
                        <span class="terms-priv-check-inner">
                            By clicking checkbox, you agree to our <a href="https://urbanplannerjobs.com/terms-and-conditions/" target="_blank">Terms and Conditions</a> and <a href="https://urbanplannerjobs.com/?page_id=3" target="_blank">Privacy Policy</a>                        </span>
                    </p>
                </div>
                                                <input type="hidden" name="action" value="jobsearch_register_member_submit">
                                                                    <input data-id="8825721"
                                           class="jobsearch-register-submit-btn jobsearch-regpass-frmbtn jobsearch-disable-btn"
                                           disabled data-loading-text="Loading..."
                                           type="submit" value="Sign up">
                                                                <div class="form-loader"></div>

                                <div class="jobsearch-user-form-info">
                                    <p><a href="javascript:void(0);" class="reg-tologin-btn"
                                          data-id="8825721">Already have an account? Login</a>
                                    </p>
                                </div>
                            </li>
                        </ul>
                        <div class="clearfix"></div>

                        <div class="registration-errors"></div>
                                <div id="jobsearch-aterreg-3961162"></div>
                    <script type="text/javascript">
                jQuery(document).ready(function () {
                    var ajax_req_3961162 = jQuery.ajax({
                        url: 'https://urbanplannerjobs.com/wp-admin/admin-ajax.php',
                        method: "POST",
                        data: {
                            rand_id: '3961162',
                            secure_form: 'register-security',
                            action: 'jobsearch_userreg_form_after_nonce'
                        },
                        dataType: "html"
                    });
                    ajax_req_3961162.done(function (response) {
                        jQuery('#jobsearch-aterreg-3961162').html(response);
                    });
                });
            </script>
                                </div>
                                        <div class="jobsearch-box-title jobsearch-box-title-sub">
                        <span>Or Sign In With</span>
                    </div>
                    <div class="clearfix"></div>
                    <ul class="jobsearch-login-media">
                        <li><a class="jobsearch-twitter-bg" data-original-title="twitter" href="https://urbanplannerjobs.com/wp-admin/admin-ajax.php?action=jobsearch_twitter"><i class="careerfy-icon careerfy-twitter"></i>Login with Twitter</a></li><li><a class="jobsearch-google-plus-bg" data-original-title="google" href="https://accounts.google.com/o/oauth2/auth?response_type=code&redirect_uri=https%3A%2F%2Furbanplannerjobs.com%2F&client_id=&scope=email+profile&access_type=online&approval_prompt=auto"><div class="jobsearch-google-svg"><div></div></div>Sign in with Google</a></li><li><a class="jobsearch-linkedin-bg" href="https://www.linkedin.com/uas/oauth2/authorization?client_id=&redirect_uri=https%3A%2F%2Furbanplannerjobs.com%2F%3Faction%3Dlinkedin_login&response_type=code&scope=r_liteprofile+r_emailaddress&state=LekwSbdwUYbx" data-original-title="linkedin"><i class="fa fa-linkedin"></i>Login with Linkedin</a></li>                    </ul>
                                    </form>
            </div>
                                </div>
                </div>
            </div>
                        <div class="jobsearch-quick-apply-box" style="display: none">
                <div id="jobsearch-loader"></div>
                <a href="javascript:void(0)" class="jobsearch-quick-apply-close jobsearch-quick-apply-btn-close"><i
                        class="fa fa-times"></i>Close</a>
            </div>
            			<script>
				const lazyloadRunObserver = () => {
					const lazyloadBackgrounds = document.querySelectorAll( `.e-con.e-parent:not(.e-lazyloaded)` );
					const lazyloadBackgroundObserver = new IntersectionObserver( ( entries ) => {
						entries.forEach( ( entry ) => {
							if ( entry.isIntersecting ) {
								let lazyloadBackground = entry.target;
								if( lazyloadBackground ) {
									lazyloadBackground.classList.add( 'e-lazyloaded' );
								}
								lazyloadBackgroundObserver.unobserve( entry.target );
							}
						});
					}, { rootMargin: '200px 0px 200px 0px' } );
					lazyloadBackgrounds.forEach( ( lazyloadBackground ) => {
						lazyloadBackgroundObserver.observe( lazyloadBackground );
					} );
				};
				const events = [
					'DOMContentLoaded',
					'elementor/lazyload/observe',
				];
				events.forEach( ( event ) => {
					document.addEventListener( event, lazyloadRunObserver );
				} );
			</script>
				<script type='text/javascript'>
		(function () {
			var c = document.body.className;
			c = c.replace(/woocommerce-no-js/, 'woocommerce-js');
			document.body.className = c;
		})();
	</script>
	<link rel='stylesheet' id='wc-stripe-blocks-checkout-style-css' href='https://urbanplannerjobs.com/wp-content/plugins/woocommerce-gateway-stripe/build/upe-blocks.css?ver=a7aab132721a0ef865695d5cfdc746fb' type='text/css' media='all' />
<link rel='stylesheet' id='wc-blocks-style-css' href='https://urbanplannerjobs.com/wp-content/plugins/woocommerce/assets/client/blocks/wc-blocks.css?ver=wc-10.3.3' type='text/css' media='all' />
<link rel='stylesheet' id='jobsearch-leaflet-css' href='https://unpkg.com/leaflet@1.9.4/dist/leaflet.css?ver=2.8.9' type='text/css' media='all' />
<link rel='stylesheet' id='jobsearch-leaflet-geocode-css' href='https://unpkg.com/leaflet-control-geocoder/dist/Control.Geocoder.css?ver=2.8.9' type='text/css' media='all' />
<link rel='stylesheet' id='jobsearch-leaflet-routing-machine-css' href='https://unpkg.com/leaflet-routing-machine@3.2.12/dist/leaflet-routing-machine.css?ver=2.8.9' type='text/css' media='all' />
<script type="text/javascript" id="careerfy-elementor-js-extra">
/* <![CDATA[ */
var eyecix_func_vars = {"ajax_url":"https:\/\/urbanplannerjobs.com\/wp-admin\/admin-ajax.php"};
/* ]]> */
</script>
<script type="text/javascript" src="https://urbanplannerjobs.com/wp-content/plugins/careerfy-framework/js/careerfy-elementor.js?ver=6.8.3" id="careerfy-elementor-js"></script>
<script type="text/javascript" src="https://js.pusher.com/5.1/pusher.min.js?ver=2.8.9" id="jobsearch-pusher-js"></script>
<script type="text/javascript" src="https://urbanplannerjobs.com/wp-content/plugins/addon-jobsearch-chat/js/jquery.nicescroll.min.js?ver=2.8.9" id="jobsearch-chat-nice-scroll-js"></script>
<script type="text/javascript" id="jobsearch-chat-app-js-extra">
/* <![CDATA[ */
var jobsearch_ajchat_vars = {"ajax_url":"https:\/\/urbanplannerjobs.com\/wp-admin\/admin-ajax.php","current_user":"0","jobsearch_ajax_url":"https:\/\/urbanplannerjobs.com\/wp-admin\/admin-ajax.php?jobsearch_chat_action=jobsearch_ajax_chat_action","jobsearch_ajax_url_emoji":"https:\/\/urbanplannerjobs.com\/wp-content\/plugins\/addon-jobsearch-chat\/includes\/jobsearch-chat-emoji-ajax.php","jobsearch_ajax_client_auth":"https:\/\/urbanplannerjobs.com\/wp-content\/plugins\/addon-jobsearch-chat\/includes\/jobsearch-chat-auth-client.php","jobsearch_plugin_url":"https:\/\/urbanplannerjobs.com\/wp-content\/plugins\/addon-jobsearch-chat\/","error_msg":"There is some problem.","no_chat_message":"There are no messages in this chat yet","online":"Online","offline":"Offline","is_admin":"","pusher_auth":"","pusher_cluster":"","del_message":"Delete","is_seen":"Seen","is_today":"Today at","del_full_message":"The message has been deleted.","loading":"Loading","chat_enable_msg":"Chat is enabled now","chat_disable_msg":"Chat is disabled now"};
/* ]]> */
</script>
<script type="text/javascript" src="https://urbanplannerjobs.com/wp-content/plugins/addon-jobsearch-chat/js/jobsearch-chat-functions.js?ver=2.8.9" id="jobsearch-chat-app-js"></script>
<script type="text/javascript" src="https://urbanplannerjobs.com/wp-content/plugins/woocommerce/assets/js/sourcebuster/sourcebuster.min.js?ver=10.3.3" id="sourcebuster-js-js"></script>
<script type="text/javascript" id="wc-order-attribution-js-extra">
/* <![CDATA[ */
var wc_order_attribution = {"params":{"lifetime":1.0e-5,"session":30,"base64":false,"ajaxurl":"https:\/\/urbanplannerjobs.com\/wp-admin\/admin-ajax.php","prefix":"wc_order_attribution_","allowTracking":true},"fields":{"source_type":"current.typ","referrer":"current_add.rf","utm_campaign":"current.cmp","utm_source":"current.src","utm_medium":"current.mdm","utm_content":"current.cnt","utm_id":"current.id","utm_term":"current.trm","utm_source_platform":"current.plt","utm_creative_format":"current.fmt","utm_marketing_tactic":"current.tct","session_entry":"current_add.ep","session_start_time":"current_add.fd","session_pages":"session.pgs","session_count":"udata.vst","user_agent":"udata.uag"}};
/* ]]> */
</script>
<script type="text/javascript" src="https://urbanplannerjobs.com/wp-content/plugins/woocommerce/assets/js/frontend/order-attribution.min.js?ver=10.3.3" id="wc-order-attribution-js"></script>
<script type="text/javascript" src="https://urbanplannerjobs.com/wp-includes/js/dist/hooks.min.js?ver=4d63a3d491d11ffd8ac6" id="wp-hooks-js"></script>
<script type="text/javascript" src="https://urbanplannerjobs.com/wp-includes/js/dist/i18n.min.js?ver=5e580eb46a90c2b997e6" id="wp-i18n-js"></script>
<script type="text/javascript" id="wp-i18n-js-after">
/* <![CDATA[ */
wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ 'ltr' ] } );
/* ]]> */
</script>
<script type="text/javascript" id="password-strength-meter-js-extra">
/* <![CDATA[ */
var pwsL10n = {"unknown":"Password strength unknown","short":"Very weak","bad":"Weak","good":"Medium","strong":"Strong","mismatch":"Mismatch"};
/* ]]> */
</script>
<script type="text/javascript" src="https://urbanplannerjobs.com/wp-admin/js/password-strength-meter.min.js?ver=6.8.3" id="password-strength-meter-js"></script>
<script type="text/javascript" id="jobsearch-login-register-js-extra">
/* <![CDATA[ */
var jobsearch_login_register_common_vars = {"plugin_url":"https:\/\/urbanplannerjobs.com\/wp-content\/plugins\/wp-jobsearch\/","ajax_url":"https:\/\/urbanplannerjobs.com\/wp-admin\/admin-ajax.php"};
/* ]]> */
</script>
<script type="text/javascript" src="https://urbanplannerjobs.com/wp-content/plugins/wp-jobsearch/modules/login-registration/js/login-registration.js?ver=6.8.3" id="jobsearch-login-register-js"></script>
<script type="text/javascript" src="https://urbanplannerjobs.com/wp-content/plugins/wp-jobsearch/js/selectize.min.js?ver=2.8.9" id="jobsearch-selectize-js"></script>
<script type="text/javascript" src="https://urbanplannerjobs.com/wp-content/plugins/wp-jobsearch/js/fitvideo.js?ver=2.8.9" id="fitvideo-js"></script>
<script type="text/javascript" id="jobsearch-plugin-scripts-js-extra">
/* <![CDATA[ */
var jobsearch_plugin_vars = {"plugin_url":"https:\/\/urbanplannerjobs.com\/wp-content\/plugins\/wp-jobsearch\/","ajax_url":"https:\/\/urbanplannerjobs.com\/wp-admin\/admin-ajax.php","ajax_url_simp":"https:\/\/urbanplannerjobs.com\/wp-admin\/admin-ajax.php","locmap_type":"openstreet","google_api_key":"","mapbox_token":"","mapbox_style":"mapbox:\/\/styles\/mapbox\/streets-v11","is_map_allow":"yes","locations_type":"api","required_api_locs":"no","careerfy_theme_color":"#13b5ea","sel_countries_json":"","com_img_size":"Image size should not greater than 1 MB.","com_file_size":"File size should not greater than 1 MB.","cv_file_types":"Suitable files are .doc,.docx,.pdf","coverfile_size_allow":"1024","coverfile_size_err":"File size should not greater than 1Mb.","cover_file_types":"Suitable files are .doc, .docx, .pdf.","coverdoc_file_types":"[\"application\/msword\",\"application\/vnd.openxmlformats-officedocument.wordprocessingml.document\",\"application\/pdf\"]","are_you_sure":"Are you sure!","com_word_title":"Title","see_less_txt":"- see less","see_more_txt":"+ see more","com_word_description":"Description","com_word_save":"Save","error_msg":"There is some problem.","shortlisted_str":"Saved","select_sector":"Select Sector","loading":"Loading...","accpt_terms_cond":"Please accept our terms and conditions.","var_address_str":"Address","var_other_locs_str":"Other Locations","autocomplete_adres_type":"full_address","pass_length_short":"Very weak","pass_length_med":"Weak","pass_length_good":"Medium","pass_length_strng":"Strong","totl_applicants":"Total Applicants:","shortlisted_applicants":"Shortlisted Applicants:","rejected_applicants":"Rejected Applicants:","unlock_candidate_name":"You are about to open the name of the candidate. This action will use 1 point of your package credit.","unlock_candidate_cv":"You are about to download Candidate CV. This action will use 1 point of your package credit.","candidate_job_title":"","candidate_signup_date":"","is_rtl":"","acptable_pass_strnth":"[\"very_weak\",\"weak\",\"medium\",\"strong\"]"};
/* ]]> */
</script>
<script type="text/javascript" src="https://urbanplannerjobs.com/wp-content/plugins/wp-jobsearch/js/jobsearch-plugin.js?ver=2.8.9" id="jobsearch-plugin-scripts-js"></script>
<script type="text/javascript" id="jobsearch-plugin-common-js-extra">
/* <![CDATA[ */
var jobsearch_comon_script_vars = {"nonce":"ac42adfc74"};
/* ]]> */
</script>
<script type="text/javascript" src="https://urbanplannerjobs.com/wp-content/plugins/wp-jobsearch/js/jobsearch-common.js?ver=2.8.9" id="jobsearch-plugin-common-js"></script>
<script type="text/javascript" src="https://urbanplannerjobs.com/wp-content/plugins/wp-jobsearch/js/fancybox.pack.js?ver=2.8.9" id="fancybox-pack-js"></script>
<script type="text/javascript" src="https://urbanplannerjobs.com/wp-content/plugins/wp-jobsearch/js/isotope.min.js?ver=2.8.9" id="isotope-min-js"></script>
<script type="text/javascript" src="https://urbanplannerjobs.com/wp-includes/js/dist/vendor/moment.min.js?ver=2.30.1" id="moment-js"></script>
<script type="text/javascript" id="moment-js-after">
/* <![CDATA[ */
moment.updateLocale( 'en_US', {"months":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthsShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"weekdays":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"weekdaysShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"week":{"dow":1},"longDateFormat":{"LT":"g:i a","LTS":null,"L":null,"LL":"F j, Y","LLL":"F j, Y g:i a","LLLL":null}} );
/* ]]> */
</script>
<script type="text/javascript" src="https://urbanplannerjobs.com/wp-content/plugins/careerfy-framework/js/slick-slider.js?ver=9.9.7" id="careerfy-slick-js"></script>
<script type="text/javascript" src="https://urbanplannerjobs.com/wp-content/plugins/careerfy-framework/js/mixitup.min.js?ver=9.9.7" id="careerfy-mixitup-js"></script>
<script type="text/javascript" id="careerfy-frame-common-js-extra">
/* <![CDATA[ */
var careerfy_framework_vars = {"plugin_url":"https:\/\/urbanplannerjobs.com\/wp-content\/plugins\/careerfy-framework\/","ajax_url":"https:\/\/urbanplannerjobs.com\/wp-admin\/admin-ajax.php","error_msg":"There is some problem.","blank_field_msg":"This field should not be blank.","is_sticky":"on","is_front_page":"false"};
/* ]]> */
</script>
<script type="text/javascript" src="https://urbanplannerjobs.com/wp-content/plugins/careerfy-framework/js/careerfy-common.js?ver=9.9.7" id="careerfy-frame-common-js"></script>
<script type="text/javascript" src="https://urbanplannerjobs.com/wp-content/themes/careerfy/js/bootstrap.js?ver=9.9.7" id="bootstrap-js"></script>
<script type="text/javascript" id="careerfy-functions-js-extra">
/* <![CDATA[ */
var careerfy_funnc_vars = {"ajax_url":"https:\/\/urbanplannerjobs.com\/wp-admin\/admin-ajax.php","nav_open_img":"https:\/\/urbanplannerjobs.com\/wp-content\/themes\/careerfy\/images\/nav-list-icon.png","nav_close_img":"https:\/\/urbanplannerjobs.com\/wp-content\/themes\/careerfy\/images\/cross.png"};
/* ]]> */
</script>
<script type="text/javascript" src="https://urbanplannerjobs.com/wp-content/themes/careerfy/js/functions.js?ver=9.9.7" id="careerfy-functions-js"></script>
<script type="text/javascript" src="https://urbanplannerjobs.com/wp-content/plugins/addon-jobsearch-chat/js/jobsearch-floating-window-script.js?ver=2.8.9" id="jobsearch-chat-floating-window-script-js"></script>
<script type="text/javascript" src="https://urbanplannerjobs.com/wp-includes/js/jquery/ui/core.min.js?ver=1.13.3" id="jquery-ui-core-js"></script>
<script type="text/javascript" src="https://urbanplannerjobs.com/wp-includes/js/jquery/ui/mouse.min.js?ver=1.13.3" id="jquery-ui-mouse-js"></script>
<script type="text/javascript" src="https://urbanplannerjobs.com/wp-includes/js/jquery/ui/slider.min.js?ver=1.13.3" id="jquery-ui-slider-js"></script>
<script type="text/javascript" src="https://urbanplannerjobs.com/wp-includes/js/jquery/ui/sortable.min.js?ver=1.13.3" id="jquery-ui-sortable-js"></script>
<script type="text/javascript" id="jobsearch-ads-management-scripts-js-extra">
/* <![CDATA[ */
var jobsearch_ads_manage_vars = {"plugin_url":"https:\/\/urbanplannerjobs.com\/wp-content\/plugins\/wp-jobsearch\/","ajax_url":"https:\/\/urbanplannerjobs.com\/wp-admin\/admin-ajax.php","error_msg":"There is some problem.","submit_txt":"Submit"};
/* ]]> */
</script>
<script type="text/javascript" src="https://urbanplannerjobs.com/wp-content/plugins/wp-jobsearch/modules/ads-management/js/ads-management.js?ver=2.8.9" id="jobsearch-ads-management-scripts-js"></script>
<script type="text/javascript" src="https://urbanplannerjobs.com/wp-content/plugins/wp-jobsearch/modules/reviews/js/jquery.barrating.js?ver=6.8.3" id="jobsearch-barrating-js"></script>
<script type="text/javascript" id="jobsearch-add-review-js-extra">
/* <![CDATA[ */
var jobsearch_reviews_vars = {"plugin_url":"https:\/\/urbanplannerjobs.com\/wp-content\/plugins\/wp-jobsearch\/","ajax_url":"https:\/\/urbanplannerjobs.com\/wp-admin\/admin-ajax.php","error_msg":"There is some problem.","loading":"Loading..."};
/* ]]> */
</script>
<script type="text/javascript" src="https://urbanplannerjobs.com/wp-content/plugins/wp-jobsearch/modules/reviews/js/reviews-functions.js?ver=6.8.3" id="jobsearch-add-review-js"></script>
<script type="text/javascript" src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js?ver=2.8.9" id="jobsearch-leaflet-js"></script>
<script type="text/javascript" src="https://unpkg.com/leaflet-control-geocoder/dist/Control.Geocoder.js?ver=2.8.9" id="jobsearch-leaflet-geocode-js"></script>
<script type="text/javascript" src="https://unpkg.com/leaflet-routing-machine@3.2.12/dist/leaflet-routing-machine.js?ver=2.8.9" id="jobsearch-leaflet-routing-machine-js"></script>
<script type="text/javascript" src="https://urbanplannerjobs.com/wp-content/plugins/wp-jobsearch/js/intlTelInput.js?ver=2814055" id="jobsearch-intlTelInput-js"></script>
<script type="text/javascript" src="https://urbanplannerjobs.com/wp-content/plugins/wp-jobsearch/js/jquery.datetimepicker.full.min.js?ver=2.8.9" id="datetimepicker-script-js"></script>
<script></script>            <div class="jobsearch-modal jobsearch-applyjobans-popup fade" id="JobSearchModalApplyJobQuests">
                <div class="modal-inner-area"> </div>
                <div class="modal-content-area">
                    <div class="modal-box-area">
                        <div class="jobsearch-modal-title-box">
                            <h2>Answers</h2>
                            <span class="modal-close"><i class="fa fa-times"></i></span>
                        </div>
                        <div class="jobsearch-applyjobans-con"></div>
                    </div>
                </div>
            </div>
            <script type="text/javascript">
                if (jQuery('.quests-item-title').length > 0) {
                    jQuery(document).on('click', '.quests-item-title', function () {
                        var _this = jQuery(this);
                        var main_parent_con = _this.parents('.applyjob-questsall-items');
                        main_parent_con.find('.applyjob-quests-item').removeClass('quest-item-isopen');
                        main_parent_con.find('.applyjob-quests-item').find('.quests-item-answer').slideUp();
                        main_parent_con.find('.applyjob-quests-item').find('.title-icon-con i').attr('class', 'fa fa-bars');
                        
                        var this_parent_con = _this.parent('.applyjob-quests-item');
                        var answer_con = this_parent_con.find('.quests-item-answer');

                        if (this_parent_con.hasClass('quest-item-isopen')) {
                            this_parent_con.removeClass('quest-item-isopen');
                            answer_con.slideUp();
                            this_parent_con.find('.title-icon-con i').attr('class', 'fa fa-bars');
                        } else {
                            this_parent_con.addClass('quest-item-isopen');
                            answer_con.slideDown();
                            this_parent_con.find('.title-icon-con i').attr('class', 'jobsearch-icon jobsearch-down-arrow');
                        }
                    });
                }
            </script>
                        <div class="jobsearch-modal jobalerts_modal_popup fade" id="JobSearchModalJobAlertsSelect">
                <div class="modal-inner-area"> </div>
                <div class="modal-content-area">
                    <div class="modal-box-area">
                        <div class="jobsearch-modal-title-box">
                            <h2>Job Alerts</h2>
                            <span class="modal-close"><i class="fa fa-times"></i></span>
                        </div>
                        <div class="jobsearch-jobalerts-popcon">
                            <div id="modpop-criteria-tags" class="criteria-tags-popmain">
                                                            </div>
                            <form autocomplete="off" id="popup_alert_filtrsform" method="post">
                                <div id="popup_alert_filtrscon" class="popup-jobfilters-con">
                                                                    </div>
                                <div class="alret-submitbtn-con">
                                    <input type="hidden" name="alerts_email" value="">
                                    <input type="hidden" name="action" value="jobsearch_create_job_alert">
                                    <a href="javascript:void(0);"
                                       class="jobsearch-savejobalrts-sbtn">Save Jobs Alert</a>
                                    <div class="falrets-msg"></div>
                                </div>
                            </form>
                        </div>

                    </div>
                </div>
            </div>
            
            <script>
                jQuery(document).ready(function(){

});
            </script>
            <div class="jobsearch-modal fade" id="JobSearchModalAccountActivationForm">
                <div class="modal-inner-area"> </div>
                <div class="modal-content-area">
                    <div class="modal-box-area">
                        <div class="jobsearch-modal-title-box">
                            <h2>Account Activation</h2>
                            <span class="modal-close"><i class="fa fa-times"></i></span>
                        </div>
                        <div class="jobsearch-send-message-form">
                            <form autocomplete="off" method="post" id="jobsearch_uaccont_aprov_form">
                                <div class="jobsearch-user-form">
                                                                        <p>Before you can login, you must activate your account with the code sent to your email address. If you did not receive this email, please check your junk/spam folder. <a href="javascript:void(0);" style="color: #000000;" class="jobsearch-resend-accactbtn">Click here</a> to resend the activation email. If you entered an incorrect email address, you will need to re-register with the correct email address.</p>
                                                                        <ul class="email-fields-list">
                                        <li>
                                            <label>
                                                Your Email:
                                            </label>
                                            <div class="input-field">
                                                <input type="text" name="user_email"/>
                                            </div>
                                        </li>
                                        <li>
                                            <label>
                                                Activation Code:
                                            </label>
                                            <div class="input-field">
                                                <input type="text" name="activ_code"/>
                                            </div>
                                        </li>
                                        <li>
                                            <div class="input-field-submit">
                                                <input type="submit" class="user-activeacc-submit-btn"
                                                       value="Activate Account"/>
                                                <span class="loader-box"></span>
                                            </div>
                                        </li>
                                    </ul>
                                    <div class="message-opbox"
                                         style="display: none; float: left;width: 100%;margin: 10px 0 0;"></div>
                                </div>
                            </form>
                        </div>

                    </div>
                </div>
            </div>
            <script type="text/javascript">
                jQuery(document).ready(function() {
                                    });
            </script>
                <script type="text/javascript">
    jQuery(document).ready(function () {
        'use strict';

        // Target your .container, .wrapper, .post, etc.
        jQuery(".careerfy-wrapper").fitVids();

        if (careerfy_framework_vars.is_sticky == 'on') {
            var scrolDifrPixel = 170;
            var is_front_page = careerfy_framework_vars.is_front_page;
            if (jQuery('#careerfy-header').hasClass('careerfy-header-twelve')) {
                if (is_front_page == 'true') {
                    scrolDifrPixel = 650;
                } else {
                    scrolDifrPixel = 230;
                }
            }
            jQuery(window).scroll(function () {
                if (jQuery(this).scrollTop() > scrolDifrPixel) {
                    jQuery('body').addClass("careerfy-sticky-header");
                } else {
                    jQuery('body').removeClass("careerfy-sticky-header");
                }
            });
        }

        if (jQuery('.word-counter').length > 0) {
            jQuery('.word-counter').countUp({
                delay: 190,
                time: 3000,
            });
        }

        if (jQuery('.careerfy_twitter_widget_wrap').length > 0) {
            jQuery('.careerfy_twitter_widget_wrap').slick({
                slidesToShow: 1,
                slidesToScroll: 1,
                autoplay: true,
                autoplaySpeed: 5000,
                infinite: true,
                dots: false,
                prevArrow: "",
                nextArrow: "",
            });
        }

        //*** Function Banner
        if (jQuery('.careerfy-testimonial-slider').length > 0) {
            jQuery('.careerfy-testimonial-slider').slick({
                slidesToShow: 1,
                slidesToScroll: 1,
                autoplay: true,
                autoplaySpeed: 5000,
                infinite: true,
                dots: false,
                prevArrow: "<span class='slick-arrow-left'><i class='careerfy-icon careerfy-arrow-right-bold'></i></span>",
                nextArrow: "<span class='slick-arrow-right'><i class='careerfy-icon careerfy-arrow-right-bold'></i></span>",
                responsive: [
                    {
                        breakpoint: 1024,
                        settings: {
                            slidesToShow: 1,
                            slidesToScroll: 1,
                            infinite: true,
                        }
                    },
                    {
                        breakpoint: 800,
                        settings: {
                            slidesToShow: 1,
                            slidesToScroll: 1
                        }
                    },
                    {
                        breakpoint: 400,
                        settings: {
                            slidesToShow: 1,
                            slidesToScroll: 1
                        }
                    }
                ]
            });
        }

        //*** Function Services Slider
        if (jQuery('.careerfy-service-slider').length > 0) {
            jQuery('.careerfy-service-slider').slick({
                slidesToShow: 5,
                slidesToScroll: 1,
                autoplay: true,
                autoplaySpeed: 5000,
                infinite: true,
                dots: false,
                centerMode: true,
                centerPadding: '0px',
                prevArrow: "<span class='slick-arrow-left'><i class='careerfy-icon careerfy-arrow-right-bold'></i></span>",
                nextArrow: "<span class='slick-arrow-right'><i class='careerfy-icon careerfy-arrow-right-bold'></i></span>",
                responsive: [
                    {
                        breakpoint: 1024,
                        settings: {
                            slidesToShow: 1,
                            slidesToScroll: 1,
                            infinite: true,
                        }
                    },
                    {
                        breakpoint: 800,
                        settings: {
                            slidesToShow: 3,
                            slidesToScroll: 1
                        }
                    },
                    {
                        breakpoint: 400,
                        settings: {
                            slidesToShow: 1,
                            slidesToScroll: 1
                        }
                    }
                ]
            });
        }

        //*** Function Partner Slider
        if (jQuery('.careerfy-partner-slider').length > 0) {
            jQuery('.careerfy-partner-slider').slick({
                slidesToShow: 6,
                slidesToScroll: 1,
                autoplay: true,
                autoplaySpeed: 5000,
                infinite: true,
                dots: false,
                centerMode: true,
                centerPadding: '0px',
                arrows: false,
                responsive: [
                    {
                        breakpoint: 1024,
                        settings: {
                            slidesToShow: 1,
                            slidesToScroll: 1,
                            infinite: true,
                        }
                    },
                    {
                        breakpoint: 800,
                        settings: {
                            slidesToShow: 1,
                            slidesToScroll: 1
                        }
                    },
                    {
                        breakpoint: 400,
                        settings: {
                            slidesToShow: 1,
                            slidesToScroll: 1
                        }
                    }
                ]
            });
        }

        if (jQuery('.careerfy-partnertwo-slider').length > 0) {
            jQuery('.careerfy-partnertwo-slider').slick({
                slidesToShow: 6,
                slidesToScroll: 1,
                autoplay: true,
                autoplaySpeed: 5000,
                infinite: true,
                dots: false,
                prevArrow: "<span class='slick-arrow-left'><i class='careerfy-icon careerfy-arrow-pointing-to-left'></i></span>",
                nextArrow: "<span class='slick-arrow-right'><i class='careerfy-icon careerfy-arrow-pointing-to-right'></i></span>",
                responsive: [
                    {
                        breakpoint: 1024,
                        settings: {
                            slidesToShow: 3,
                            slidesToScroll: 1,
                            infinite: true,
                        }
                    },
                    {
                        breakpoint: 1250,
                        settings: {
                            slidesToShow: 4,
                            slidesToScroll: 1,
                            infinite: true,
                        }
                    },
                    {
                        breakpoint: 800,
                        settings: {
                            slidesToShow: 2,
                            slidesToScroll: 1
                        }
                    },
                    {
                        breakpoint: 400,
                        settings: {
                            slidesToShow: 1,
                            slidesToScroll: 1
                        }
                    }
                ]
            });
        }

        if (jQuery('.careerfy-testimonial-styletwo').length > 0) {
            jQuery('.careerfy-testimonial-styletwo').slick({
                slidesToShow: 2,
                slidesToScroll: 1,
                autoplay: true,
                autoplaySpeed: 5000,
                infinite: true,
                dots: true,
                prevArrow: "<span class='slick-arrow-left'><i class='careerfy-icon careerfy-right-arrow-long'></i></span>",
                nextArrow: "<span class='slick-arrow-right'><i class='careerfy-icon careerfy-right-arrow-long'></i></span>",
                responsive: [
                    {
                        breakpoint: 1024,
                        settings: {
                            slidesToShow: 1,
                            slidesToScroll: 1,
                            infinite: true,
                        }
                    },
                    {
                        breakpoint: 800,
                        settings: {
                            slidesToShow: 1,
                            slidesToScroll: 1
                        }
                    },
                    {
                        breakpoint: 400,
                        settings: {
                            slidesToShow: 1,
                            slidesToScroll: 1
                        }
                    }
                ]
            });
        }

        if (jQuery('.careerfy-testimonial-slider-style3').length > 0) {
            jQuery('.careerfy-testimonial-slider-style3').slick({
                slidesToShow: 1,
                slidesToScroll: 1,
                autoplay: true,
                autoplaySpeed: 5000,
                infinite: true,
                dots: true,
                fade: true,
                adaptiveHeight: true,
                prevArrow: jQuery('.careerfy-prev'),
                nextArrow: jQuery('.careerfy-next'),
                responsive: [
                    {
                        breakpoint: 1024,
                        settings: {
                            slidesToShow: 1,
                            slidesToScroll: 1,
                            infinite: true,
                        }
                    },
                    {
                        breakpoint: 800,
                        settings: {
                            slidesToShow: 1,
                            slidesToScroll: 1
                        }
                    },
                    {
                        breakpoint: 400,
                        settings: {
                            slidesToShow: 1,
                            slidesToScroll: 1
                        }
                    }
                ]
            });
        }

        if (jQuery('.careerfy-testimonial-style4').length > 0) {
            jQuery('.careerfy-testimonial-style4').slick({
                slidesToShow: 1,
                slidesToScroll: 1,
                autoplay: true,
                autoplaySpeed: 5000,
                infinite: true,
                dots: true,
                arrows: false,
                responsive: [
                    {
                        breakpoint: 1024,
                        settings: {
                            slidesToShow: 1,
                            slidesToScroll: 1,
                            infinite: true,
                        }
                    },
                    {
                        breakpoint: 800,
                        settings: {
                            slidesToShow: 1,
                            slidesToScroll: 1
                        }
                    },
                    {
                        breakpoint: 400,
                        settings: {
                            slidesToShow: 1,
                            slidesToScroll: 1
                        }
                    }
                ]
            });
        }

        if (jQuery('.careerfy-partner-style3').length > 0) {
            jQuery('.careerfy-partner-style3').slick({
                slidesToShow: 6,
                slidesToScroll: 1,
                autoplay: true,
                autoplaySpeed: 5000,
                infinite: true,
                dots: false,
                arrows: false,
                responsive: [
                    {
                        breakpoint: 1024,
                        settings: {
                            slidesToShow: 1,
                            slidesToScroll: 1,
                            infinite: true,
                        }
                    },
                    {
                        breakpoint: 800,
                        settings: {
                            slidesToShow: 1,
                            slidesToScroll: 1
                        }
                    },
                    {
                        breakpoint: 400,
                        settings: {
                            slidesToShow: 1,
                            slidesToScroll: 1
                        }
                    }
                ]
            });
        }

        jQuery(".careerfy-loading-section").fadeOut("slow");
    });
    </script>
        <script type="text/javascript">
    jQuery(document).ready(function () {

        if (jQuery('.fancybox-galimg').length > 0) {
            //*** Function FancyBox
            jQuery(".fancybox-galimg").fancybox({
                openEffect: 'elastic',
                closeEffect: 'elastic',
                beforeLoad: function () {
                    var caption = this.element.attr('data-caption');
                    this.tpl.wrap = '<div class="fancybox-wrap" tabIndex="-1"><div class="fancybox-skin"><div class="fancybox-outer"><div class="fancybox-inner"></div><div class="fancybox-title fancybox-title-float-wrap"><span class="gal-img-desc child">' + caption + '</span></div></div></div></div>'

                },
                helpers: {
                    title: {
                        type: 'outside',
                        position: 'top'
                    }
                }
            });
        }

        if (jQuery('.cand-profile-status-tooltip').length > 0) {
            jQuery('.cand-profile-status-tooltip').tooltip();
        }
        
        if (jQuery('.fancybox-video').length > 0) {
            //*** Function FancyBox
            jQuery('.fancybox-video').fancybox({
                maxWidth: 800,
                maxHeight: 600,
                fitToView: false,
                width: '70%',
                height: '70%',
                autoSize: false,
                closeClick: false,
                openEffect: 'none',
                closeEffect: 'none',
                beforeLoad: function () {
                    var caption = this.element.attr('data-caption');
                    this.tpl.wrap = '<div class="fancybox-wrap" tabIndex="-1"><div class="fancybox-skin"><div class="fancybox-outer"><div class="fancybox-inner"></div><div class="fancybox-title fancybox-title-float-wrap"><span class="gal-img-desc child">' + caption + '</span></div></div></div></div>'

                },
                helpers: {
                    title: {
                        type: 'outside',
                        position: 'top'
                    }
                }
            });

        }

        if (jQuery('.jobsearch_progressbar1').length > 0) {
            jQuery('.jobsearch_progressbar1').progressBar({
                percentage: false,
                backgroundColor: "#dbdbdb",
                barColor: jobsearch_plugin_vars.careerfy_theme_color,
                animation: true,
                height: "6",
            });
        }

        if (jQuery('.careerfy_progressbar_candidate_style5').length > 0) {
            jQuery('.careerfy_progressbar_candidate_style5').progressBar({
                percentage: true,
                backgroundColor: "#dbdbdb",
                barColor: jobsearch_plugin_vars.careerfy_theme_color,
                animation: true,
                height: "6",
            });
        }

        // selectize
        if (jQuery('.selectize-select').length > 0) {
            jQuery('.selectize-select').selectize({
                //allowEmptyOption: true,
                plugins: ['remove_button'],
            });
        }
        
        // for dependent fields
        if (jQuery('.depndfield-selectize').length > 0) {
            jQuery('.depndfield-selectize').selectize({
                render: {
                    option: function (data, escape) {
                        return "<div data-depend='" + data.depend + "' data-optid='" + data.optid + "'>" + data.text + "</div>"
                    }
                },
                plugins: ['remove_button'],
            });
        }

        if (jQuery('.sort-records-per-page').length > 0) {
            jQuery('.sort-records-per-page').selectize({
                allowEmptyOption: true,
            });
        }

        //
        var loc_con_main = jQuery('#jobsearch-findby-sectors').find('.jobsearch-sects-allcon');

        if (loc_con_main.length > 0) {
            var loc_contain_li = loc_con_main.find('>li,>div');

            if (loc_contain_li.length > 0) {
                var sect_view_str = jQuery('#jobsearch-findby-sectors').data('view');
                var location_ids_sect = [];
                jQuery.each(loc_contain_li, function () {
                    var _this_li = jQuery(this);
                    var _counter_con = _this_li.find('.jobsearchh-sect-childcount');
                    if (_counter_con.length > 0) {
                        _counter_con.html('<em class="fa fa-refresh fa-spin"></em>');
                        var locat_id = _counter_con.attr('data-id');
                        location_ids_sect.push(locat_id);
                    }
                });

                if (location_ids_sect.length > 0) {
                    var locate_ids_str = location_ids_sect.join();
                    var loc_counts_request = jQuery.ajax({
                        url: jobsearch_plugin_vars.ajax_url,
                        method: "POST",
                        data: {
                            sect_view: sect_view_str,
                            locat_ids: locate_ids_str,
                            _nonce: jobsearch_comon_script_vars.nonce,
                            action: 'jobsearch_sectscount_add_to_spancons_action',
                        },
                        dataType: "json"
                    });


                    loc_counts_request.done(function (response) {
                        var resp_ids_arr;
                        if (typeof response.counts !== 'undefined' && response.counts != '') {
                            var resp_ids_str = response.counts;
                            resp_ids_arr = resp_ids_str.split(',');
                        }
             
                        jQuery.each(location_ids_sect, function (index, id) {
                            if (typeof resp_ids_arr[index] !== 'undefined') {
                                var count_val = resp_ids_arr[index];
                                var _this_countr_con = jQuery('#jobsearchh-sect-cat-item-' + id);
                                _this_countr_con.html(count_val);
                                jQuery('#responsive-sect-cat-item-' + id).html(count_val);
                            }
                        });
                    });

                    loc_counts_request.fail(function (jqXHR, textStatus) {
                        jQuery.each(location_ids, function (index, id) {
                            var _this_countr_con = jQuery('#jobsearchh-sect-cat-item-' + id);
                            _this_countr_con.html('0');
                            jQuery('#responsive-sect-cat-item-' + id).html(0);
                        });
                    });
                }
            }
        }
        
        //
        var loc_con_main = jQuery('#jobsearch-findby-jobtypes').find('.jobsearch-sects-allcon');
        if (loc_con_main.length > 0) {
            var loc_contain_li = loc_con_main.find('>li');
            if (loc_contain_li.length > 0) {
                var sect_view_str = jQuery('#jobsearch-findby-jobtypes').data('view');
                var location_ids = [];
                jQuery.each(loc_contain_li, function () {
                    var _this_li = jQuery(this);
                    var _counter_con = _this_li.find('.jobsearchh-type-childcount');
                    if (_counter_con.length > 0) {
                        _counter_con.html('<em class="fa fa-refresh fa-spin"></em>');
                        var locat_id = _counter_con.attr('data-id');
                        location_ids.push(locat_id);
                    }
                });
                if (location_ids.length > 0) {
                    var locate_ids_str = location_ids.join();
                    var loc_counts_request = jQuery.ajax({
                        url: jobsearch_plugin_vars.ajax_url,
                        method: "POST",
                        data: {
                            sect_view: sect_view_str,
                            locat_ids: locate_ids_str,
                            _nonce: jobsearch_comon_script_vars.nonce,
                            action: 'jobsearch_jobtypecount_add_to_spancons_action',
                        },
                        dataType: "json"
                    });

                    loc_counts_request.done(function (response) {
                        var resp_ids_arr;
                        if (typeof response.counts !== 'undefined' && response.counts != '') {
                            var resp_ids_str = response.counts;
                            resp_ids_arr = resp_ids_str.split(',');
                        }
                        jQuery.each(location_ids, function (index, id) {

                            var count_val = resp_ids_arr[index];
                            var _this_countr_con = jQuery('#jobsearchh-sect-types-item-' + id);
                            _this_countr_con.html(count_val);
                        });
                    });

                    loc_counts_request.fail(function (jqXHR, textStatus) {
                        jQuery.each(location_ids, function (index, id) {
                            var _this_countr_con = jQuery('#jobsearchh-sect-types-item-' + id);
                            _this_countr_con.html('0');
                        });
                    });
                }
            }
        }

        if (window.location.hash !== 'undefined' && window.location.hash == '#_=_') {
            window.location.hash = ''; // for older browsers, leaves a # behind
            history.pushState('', document.title, window.location.pathname); // nice and clean
            e.preventDefault(); // no page reload
        }

        jQuery('.user_field').on('click', function (e) {
            e.preventDefault();
            var this_id = jQuery(this).data('randid'),
                    loaded = jQuery(this).data('loaded'),
                    role = jQuery(this).data('role'),
                    user_field = jQuery('#user_field_' + this_id),
                    ajax_url = jobsearch_plugin_vars.ajax_url,
                    force_std = jQuery(this).data('forcestd');
            if (loaded != true) {
                jQuery('.user_loader_' + this_id).html('<i class="fa fa-refresh fa-spin"></i>');
                var request = jQuery.ajax({
                    url: ajax_url,
                    method: "POST",
                    data: {
                        force_std: force_std,
                        role: role,
                        _nonce: jobsearch_comon_script_vars.nonce,
                        action: 'jobsearch_load_all_users_data',
                    },
                    dataType: "json"
                });

                request.done(function (response) {
                    if ('undefined' !== typeof response.html) {
                        user_field.html(response.html);
                        jQuery('.user_loader_' + this_id).html('');
                        user_field.data('loaded', true);

                    }
                });

                request.fail(function (jqXHR, textStatus) {
                });
            }
            return false;

        });

        jQuery('.custom_post_field').on('click', function (e) {
            e.preventDefault();
            var this_id = jQuery(this).data('randid'),
                    loaded = jQuery(this).data('loaded'),
                    posttype = jQuery(this).data('posttype'),
                    placelabel = jQuery(this).data('placelabel'),
                    custom_field = jQuery('#custom_post_field_' + this_id),
                    ajax_url = jobsearch_plugin_vars.ajax_url,
                    force_std = jQuery(this).data('forcestd');
            if (loaded != true) {
                jQuery('.custom_post_loader_' + this_id).html('<i class="fa fa-refresh fa-spin"></i>');
                var request = jQuery.ajax({
                    url: ajax_url,
                    method: "POST",
                    data: {
                        force_std: force_std,
                        posttype: posttype,
                        placelabel: placelabel,
                        _nonce: jobsearch_comon_script_vars.nonce,
                        action: 'jobsearch_load_all_custom_post_data',
                    },
                    dataType: "json"
                });

                request.done(function (response) {
                    if ('undefined' !== typeof response.html) {
                        custom_field.html(response.html);
                        jQuery('.custom_post_loader_' + this_id).html('');
                        custom_field.data('loaded', true);
                    }
                });

                request.fail(function (jqXHR, textStatus) {
                });
            }
            return false;

        });

        if (jQuery('.grid').length > 0 && jQuery('.grid-item').length > 0) {
            //*** Function Masonery
            jQuery('.grid').isotope({
                itemSelector: '.grid-item',
                percentPosition: true,
                masonry: {
                    fitWidth: false
                }
            });
        }
    });
    </script>
    </body>
</html>