### Prefetch Configuration (JSON) Source: https://www.positrixpower.com/kalorie/ This JSON object specifies prefetching rules for the website. It defines conditions based on href matches and selectors to determine which links should be prefetched for performance optimization. ```json {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"\/kalorie\/*"},{"not":{"href_matches":["\/kalorie\/wp-*.php","\/kalorie\/wp-admin\/*","\/kalorie\/wp-content\/uploads\/*","\/kalorie\/wp-content\/*","\/kalorie\/wp-content\/plugins\/*","\/kalorie\/wp-content\/themes\/hello-elementor\/*","\/kalorie\/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} ``` -------------------------------- ### Elementor Frontend Configuration (JavaScript) Source: https://www.positrixpower.com/kalorie/ This JavaScript object contains configuration settings for the Elementor page builder's frontend, including environment mode, internationalization strings, breakpoints, responsive settings, version, experimental features, URLs, and nonces. It is essential for the dynamic behavior of the website. ```javascript var elementorFrontendConfig = { "environmentMode": { "edit": false, "wpPreview": false, "isScriptDebug": false }, "i18n": { "shareOnFacebook": "Share on Facebook", "shareOnTwitter": "Share on Twitter", "pinIt": "Pin it", "download": "Download", "downloadImage": "Download image", "fullscreen": "Fullscreen", "zoom": "Zoom", "share": "Share", "playVideo": "Play Video", "previous": "Previous", "next": "Next", "close": "Close", "a11yCarouselPrevSlideMessage": "Previous slide", "a11yCarouselNextSlideMessage": "Next slide", "a11yCarouselFirstSlideMessage": "This is the first slide", "a11yCarouselLastSlideMessage": "This is the last slide", "a11yCarouselPaginationBulletMessage": "Go to slide" }, "is_rtl": false, "breakpoints": { "xs": 0, "sm": 480, "md": 768, "lg": 1025, "xl": 1440, "xxl": 1600 }, "responsive": { "breakpoints": { "mobile": { "label": "Mobile Portrait", "value": 767, "default_value": 767, "direction": "max", "is_enabled": true }, "mobile_extra": { "label": "Mobile Landscape", "value": 880, "default_value": 880, "direction": "max", "is_enabled": false }, "tablet": { "label": "Tablet Portrait", "value": 1024, "default_value": 1024, "direction": "max", "is_enabled": true }, "tablet_extra": { "label": "Tablet Landscape", "value": 1200, "default_value": 1200, "direction": "max", "is_enabled": false }, "laptop": { "label": "Laptop", "value": 1366, "default_value": 1366, "direction": "max", "is_enabled": false }, "widescreen": { "label": "Widescreen", "value": 2400, "default_value": 2400, "direction": "min", "is_enabled": false } }, "hasCustomBreakpoints": false }, "version": "3.29.2", "is_static": false, "experimentalFeatures": { "additional_custom_breakpoints": true, "container": true, "e_local_google_fonts": true, "theme_builder_v2": true, "hello-theme-header-footer": true, "nested-elements": true, "editor_v2": true, "home_screen": true, "cloud-library": true, "e_opt_in_v4_page": true }, "urls": { "assets": "https:\/\/www.positrixpower.com\/kalorie\/wp-content\/plugins\/elementor\/assets\/", "ajaxurl": "https:\/\/www.positrixpower.com\/kalorie\/wp-admin\/admin-ajax.php", "uploadUrl": "https:\/\/www.positrixpower.com\/kalorie\/wp-content\/uploads" }, "nonces": { "floatingButtonsClickTracking": "4a3bcc9e4c" }, "swiperClass": "swiper", "settings": { "page": [], "editorPreferences": [] }, "kit": { "active_breakpoints": [ "viewport_mobile", "viewport_tablet" ], "global_image_lightbox": "yes", "lightbox_enable_counter": "yes", "lightbox_enable_fullscreen": "yes", "lightbox_enable_zoom": "yes", "lightbox_enable_share": "yes", "lightbox_title_src": "title", "lightbox_description_src": "description", "hello_header_logo_type": "logo", "hello_footer_logo_type": "logo" }, "post": { "id": 7, "title": "Best%20Inverter%20Battery%20Manufacturer%20in%20Odisha", "excerpt": "", "featuredImage": false } }; ``` -------------------------------- ### Media Lazy Loading Implementation Source: https://www.positrixpower.com/kalorie/ Configures and initializes lazy loading for images and iframes using a JavaScript API, likely from a plugin like WP Rocket. It includes options for selectors, data attributes, and a MutationObserver to update the lazy loader when new content is added dynamically. ```javascript window.lazyLoadOptions = [ { "elements_selector": "img[data-lazy-src],.rocket-lazyload,iframe[data-lazy-src]", "data_src": "lazy-src", "data_srcset": "lazy-srcset", "data_sizes": "lazy-sizes", "class_loading": "lazyloading", "class_loaded": "lazyloaded", "threshold": 300, "callback_loaded": function(element) { if (element.tagName === "IFRAME" && element.dataset.rocketLazyload === "fitvidscompatible") { if (element.classList.contains("lazyloaded")) { if (typeof window.jQuery !== "undefined") { if (jQuery.fn.fitVids) { jQuery(element).parent().fitVids(); } } } } } }, { "elements_selector": ".rocket-lazyload", "data_src": "lazy-src", "data_srcset": "lazy-srcset", "data_sizes": "lazy-sizes", "class_loading": "lazyloading", "class_loaded": "lazyloaded", "threshold": 300 } ]; window.addEventListener('LazyLoad::Initialized', function(e) { var lazyLoadInstance = e.detail.instance; if (window.MutationObserver) { var observer = new MutationObserver(function(mutations) { var image_count = 0; var iframe_count = 0; var rocketlazy_count = 0; mutations.forEach(function(mutation) { for (var i = 0; i < mutation.addedNodes.length; i++) { if (typeof mutation.addedNodes[i].getElementsByTagName !== 'function') { continue; } if (typeof mutation.addedNodes[i].getElementsByClassName !== 'function') { continue; } images = mutation.addedNodes[i].getElementsByTagName('img'); is_image = mutation.addedNodes[i].tagName === "IMG"; iframes = mutation.addedNodes[i].getElementsByTagName('iframe'); is_iframe = mutation.addedNodes[i].tagName === "IFRAME"; rocket_lazy = mutation.addedNodes[i].getElementsByClassName('rocket-lazyload'); image_count += images.length; iframe_count += iframes.length; rocketlazy_count += rocket_lazy.length; if (is_image) { image_count += 1; } if (is_iframe) { iframe_count += 1; } } }); if (image_count > 0 || iframe_count > 0 || rocketlazy_count > 0) { lazyLoadInstance.update(); } }); var b = document.getElementsByTagName("body")[0]; var config = {childList: !0, subtree: !0}; observer.observe(b, config); } }, !1); ``` -------------------------------- ### WordPress Layout and Styling Rules Source: https://www.positrixpower.com/kalorie/ This CSS snippet defines global styles for WordPress, including layout constraints for constrained content, alignment helpers, flex and grid display properties, and a comprehensive set of color, background, and border utility classes based on WordPress presets. It ensures consistent styling across different WordPress blocks and themes. ```css .is-layout-constrained > .aligncenter{margin-left: auto !important;margin-right: auto !important;}.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)){max-width: var(--wp--style--global--content-size);margin-left: auto !important;margin-right: auto !important;}.is-layout-constrained > .alignwide{max-width: var(--wp--style--global--wide-size);}body .is-layout-flex{display: flex;}.is-layout-flex{flex-wrap: wrap;align-items: center;}.is-layout-flex > :is(*, div){margin: 0;}body .is-layout-grid{display: grid;}.is-layout-grid > :is(*, div){margin: 0;}body{padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;}a:where(:not(.wp-element-button)){text-decoration: underline;}:root :where(.wp-element-button, .wp-block-button__link){background-color: #32373c;border-width: 0;color: #fff;font-family: inherit;font-size: inherit;line-height: inherit;padding: calc(0.667em + 2px) calc(1.333em + 2px);text-decoration: none;}.has-black-color{color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-color{color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-color{color: var(--wp--preset--color--white) !important;}.has-pale-pink-color{color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-color{color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-color{color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-color{color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-color{color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-color{color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-color{color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-color{color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-color{color: var(--wp--preset--color--vivid-purple) !important;}.has-black-background-color{background-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-background-color{background-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.has-pale-pink-background-color{background-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-background-color{background-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-background-color{background-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-background-color{background-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-background-color{background-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-background-color{background-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-background-color{background-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-background-color{background-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-background-color{background-color: var(--wp--preset--color--vivid-purple) !important;}.has-black-border-color{border-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-border-color{border-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}.has-pale-pink-border-color{border-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-border-color{border-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-border-color{border-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-border-color{border-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-border-color{border-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-border-color{border-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-border-color{border-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-border-color{border-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-border-color{border-color: var(--wp--preset--color--vivid-purple) !important;}.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;}.has-luminous-vivid-orange-to-vivid-red-gradient-backgro ``` -------------------------------- ### AJAX Objects Configuration (JavaScript) Source: https://www.positrixpower.com/kalorie/ These JavaScript objects define AJAX endpoints and nonces for interacting with the WordPress backend. They are used by plugins like 'Essential Addons' for dynamic content loading and form submissions. ```javascript var exad_ajax_object = { "ajax_url": "https:\/\/www.positrixpower.com\/kalorie\/wp-admin\/admin-ajax.php", "nonce": "f726791206" }; var exad_frontend_ajax_object = { "ajaxurl": "https:\/\/www.positrixpower.com\/kalorie\/wp-admin\/admin-ajax.php" }; ``` -------------------------------- ### Elementor Pro Frontend Configuration Source: https://www.positrixpower.com/kalorie/ Defines frontend configuration for Elementor Pro, including AJAX URLs, asset paths, and social sharing network settings. This object is essential for Elementor Pro's dynamic features and integrations. ```javascript var ElementorProFrontendConfig = { "ajaxurl": "https:\/\/www.positrixpower.com\/kalorie\/wp-admin\/admin-ajax.php", "nonce": "1170fb557a", "urls": { "assets": "https:\/\/www.positrixpower.com\/kalorie\/wp-content\/plugins\/elementor-pro\/assets\/", "rest": "https:\/\/www.positrixpower.com\/kalorie\/wp-json\/" }, "settings": { "lazy_load_background_images": true }, "popup": { "hasPopUps": false }, "shareButtonsNetworks": { "facebook": {"title": "Facebook", "has_counter": true}, "twitter": {"title": "Twitter"}, "linkedin": {"title": "LinkedIn", "has_counter": true}, "pinterest": {"title": "Pinterest", "has_counter": true}, "reddit": {"title": "Reddit", "has_counter": true}, "vk": {"title": "VK", "has_counter": true}, "odnoklassniki": {"title": "OK", "has_counter": true}, "tumblr": {"title": "Tumblr"}, "digg": {"title": "Digg"}, "skype": {"title": "Skype"}, "stumbleupon": {"title": "StumbleUpon", "has_counter": true}, "mix": {"title": "Mix"}, "telegram": {"title": "Telegram"}, "pocket": {"title": "Pocket", "has_counter": true}, "xing": {"title": "XING", "has_counter": true}, "whatsapp": {"title": "WhatsApp"}, "email": {"title": "Email"}, "print": {"title": "Print"}, "x-twitter": {"title": "X"}, "threads": {"title": "Threads"} }, "facebook_sdk": { "lang": "en_US", "app_id": "" }, "lottie": { "defaultAnimationUrl": "https:\/\/www.positrixpower.com\/kalorie\/wp-content\/plugins\/elementor-pro\/modules\/lottie\/assets\/animations\/default.json" } }; ``` -------------------------------- ### Google Analytics Initialization Source: https://www.positrixpower.com/ Initializes the Google Analytics data layer and configures tracking for the website. This script ensures that website events and user interactions are sent to Google Analytics for analysis. ```javascript window.dataLayer = window.dataLayer || []; function gtag(){ dataLayer.push(arguments); } gtag('js', new Date()); gtag('config', 'UA-175161433-1'); ``` -------------------------------- ### Schema.org JSON-LD Markup Source: https://www.positrixpower.com/ Provides structured data for search engines using the Schema.org vocabulary. This markup helps search engines understand the website's content, such as its name, URL, and potential search actions. ```json { "@context": "https://schema.org/", "@type": "WebSite", "name": "Positrix Power", "url": "https://www.positrixpower.com/", "potentialAction": { "@type": "SearchAction", "target": "http://www.positrixpower.com/kalorie.php{search_term_string}", "query-input": "required name=search_term_string" } } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.