(function() { var cdnOrigin = "https://cdn.shopify.com"; var scripts = ["/cdn/shopifycloud/checkout-web/assets/c1/polyfills-legacy.CxAH3j_U.js","/cdn/shopifycloud/checkout-web/assets/c1/app-legacy.aMtlhewy.js","/cdn/shopifycloud/checkout-web/assets/c1/locale-es-legacy.CjqKh9Yo.js","/cdn/shopifycloud/checkout-web/assets/c1/page-OnePage-legacy.CZQ80ogd.js","/cdn/shopifycloud/checkout-web/assets/c1/LocalizationExtensionField-legacy.DvIvGAsB.js","/cdn/shopifycloud/checkout-web/assets/c1/RememberMeDescriptionText-legacy.DsqZrixM.js","/cdn/shopifycloud/checkout-web/assets/c1/ShopPayOptInDisclaimer-legacy.DGtL-jUw.js","/cdn/shopifycloud/checkout-web/assets/c1/PaymentButtons-legacy.CdYmaiip.js","/cdn/shopifycloud/checkout-web/assets/c1/StockProblemsLineItemList-legacy.CACz654j.js","/cdn/shopifycloud/checkout-web/assets/c1/DeliveryMethodSelectorSection-legacy.CuhMH6o3.js","/cdn/shopifycloud/checkout-web/assets/c1/useEditorShopPayNavigation-legacy.BzrSSdip.js","/cdn/shopifycloud/checkout-web/assets/c1/VaultedPayment-legacy.CtD2_xSU.js","/cdn/shopifycloud/checkout-web/assets/c1/SeparatePaymentsNotice-legacy.DHPrwbG3.js","/cdn/shopifycloud/checkout-web/assets/c1/ShipmentBreakdown-legacy.a7SEb60O.js","/cdn/shopifycloud/checkout-web/assets/c1/MerchandiseModal-legacy.Dyrxm_zU.js","/cdn/shopifycloud/checkout-web/assets/c1/StackedMerchandisePreview-legacy.1itpoSxr.js","/cdn/shopifycloud/checkout-web/assets/c1/component-ShopPayVerificationSwitch-legacy.CbR4zpdn.js","/cdn/shopifycloud/checkout-web/assets/c1/useSubscribeMessenger-legacy.amoX02oj.js","/cdn/shopifycloud/checkout-web/assets/c1/index-legacy.B_H38oVr.js","/cdn/shopifycloud/checkout-web/assets/c1/PayButtonSection-legacy.wMEDDlk6.js"]; var styles = []; var fontPreconnectUrls = []; var fontPrefetchUrls = []; var imgPrefetchUrls = ["https://cdn.shopify.com/s/files/1/0774/2432/8727/files/Renovify_logo_sin_fondo_x320.png?v=1761855532"]; function preconnect(url, callback) { var link = document.createElement('link'); link.rel = 'dns-prefetch preconnect'; link.href = url; link.crossOrigin = ''; link.onload = link.onerror = callback; document.head.appendChild(link); } function preconnectAssets() { var resources = [cdnOrigin].concat(fontPreconnectUrls); var index = 0; (function next() { var res = resources[index++]; if (res) preconnect(res, next); })(); } function prefetch(url, as, callback) { var link = document.createElement('link'); if (link.relList.supports('prefetch')) { link.rel = 'prefetch'; link.fetchPriority = 'low'; link.as = as; if (as === 'font') link.type = 'font/woff2'; link.href = url; link.crossOrigin = ''; link.onload = link.onerror = callback; document.head.appendChild(link); } else { var xhr = new XMLHttpRequest(); xhr.open('GET', url, true); xhr.onloadend = callback; xhr.send(); } } function prefetchAssets() { var resources = [].concat( scripts.map(function(url) { return [url, 'script']; }), styles.map(function(url) { return [url, 'style']; }), fontPrefetchUrls.map(function(url) { return [url, 'font']; }), imgPrefetchUrls.map(function(url) { return [url, 'image']; }) ); var index = 0; function run() { var res = resources[index++]; if (res) prefetch(res[0], res[1], next); } var next = (self.requestIdleCallback || setTimeout).bind(self, run); next(); } function onLoaded() { try { if (parseFloat(navigator.connection.effectiveType) > 2 && !navigator.connection.saveData) { preconnectAssets(); prefetchAssets(); } } catch (e) {} } if (document.readyState === 'complete') { onLoaded(); } else { addEventListener('load', onLoaded); } })();