!function(i){"use strict";redux.field_objects=redux.field_objects||{},redux.field_objects.js_button=redux.field_objects.js_button||{},redux.field_objects.js_button.mainID="",redux.field_objects.js_button.init=function(t){t=t||i(document).find(".redux-container-js_button"),i(t).each(function(){var t=i(this);let e=t;(e=t.hasClass("redux-field-container")?e:t.parents(".redux-field-container:first")).hasClass("redux-field-init")&&(e.removeClass("redux-field-init"),redux.field_objects.js_button.modInit(t),t=i(t).find("input"),i.each(t,function(t,n){i(this).on("click",function(t){var e=i(n).data("function");if(t.preventDefault(),""!==e){if("function"!=typeof window[e])throw"JS Button Error.  Function "+e+" does not exist.";window[e]()}})}))})},redux.field_objects.js_button.modInit=function(t){redux.field_objects.js_button.mainID=t.attr("data-id")}}(jQuery);// phpcs:ignoreFile
import {Optimizing} from "./optimizing";
import {useState} from "react";
const { __ } = wp.i18n;

export const NotOptimized = ({post_id}) => {
    const [isLoading, setIsLoading] = useState(false);
    const optimize = (post_id) => {
        if (two_speed.optimize_entire_website != false) {
            window.open(two_speed.optimize_entire_website + '?two_comes_from=gutenbergAfterLimit', '_blank');
        }
        else {
            setIsLoading(true);
            fetch(two_speed.ajax_url + '?action=two_optimize_page&post_id=' + post_id + '&nonce=' + two_speed.nonce + '&initiator=gutenberg')
                .then(_res => {
                });
        }
    }

    if (isLoading) {
        let optimizingTitle = 'Optimizing...';
        return <Optimizing title={optimizingTitle} />;
    } else {
        let title='', desc='', button_text='';
        if (two_speed.optimize_entire_website != false) {
            title = 'You’ve reached the Free Plan limit';
            desc = 'Upgrade to 10Web Booster Pro to<br> optimize all pages and enable<br> Cloudflare Enterprise CDN.';
            button_text = 'Upgrade';
        } else {
            title = 'Optimize with 10Web Booster';
            desc = 'Get a 90+ PageSpeed score';
            button_text = 'Optimize now';
        }
        return (
            <span className="two-editor-page-speed two-notoptimized ">
      <b>{__(title, 'tenweb-speed-optimizer')}</b>
      <p dangerouslySetInnerHTML={{__html: desc}} />
      <a onClick={() => optimize(post_id)}
         data-initiator="gutenberg"
         className="two-button-green">{__(button_text, 'tenweb-speed-optimizer')}</a></span>
        );
    }
}<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//apartmentsinharidwar.com/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://apartmentsinharidwar.com/post-sitemap.xml</loc>
		<lastmod>2026-03-13T01:51:38+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://apartmentsinharidwar.com/page-sitemap.xml</loc>
		<lastmod>2026-03-12T12:01:53+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://apartmentsinharidwar.com/category-sitemap.xml</loc>
		<lastmod>2026-03-13T01:51:38+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Rank Math SEO Plugin (c) Rank Math - rankmath.com -->