(function() { var baseURL = "https://cdn.shopify.com/shopifycloud/checkout-web/assets/"; var scripts = ["https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.en/polyfills.DCjdMJNt.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.en/app.6CB-w3P0.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.en/page-OnePage.iG-2vRXy.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.en/DeliveryMethodSelectorSection.B2Jo1np5.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.en/useEditorShopPayNavigation.BvNgMB9H.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.en/ShopPayLogo.Dit4ZrHo.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.en/VaultedPayment.X3RqR4WY.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.en/LocalizationExtensionField.CHt3x7r0.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.en/ShopPayOptInDisclaimer.C_pJ8so6.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.en/ShipmentBreakdown.BamA9LCQ.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.en/MerchandiseModal.DxYeWgQ5.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.en/StackedMerchandisePreview.BRVRwfHa.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.en/PayButtonSection.B2BLzHNV.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.en/component-ShopPayVerificationSwitch.DYkmjp-_.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.en/useSubscribeMessenger.Co8cTM0v.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.en/index.UYOlvh2-.js"]; var styles = ["https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.en/assets/app.Bi99twCf.css","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.en/assets/OnePage.PMX4OSBO.css","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.en/assets/DeliveryMethodSelectorSection.Cx21oFfE.css","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.en/assets/ShopPayLogo.DCOTvxC3.css","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.en/assets/VaultedPayment.OxMVm7u-.css","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.en/assets/StackedMerchandisePreview.CKAakmU8.css","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.en/assets/ShopPayVerificationSwitch.DW7NMDXG.css"]; var fontPreconnectUrls = []; var fontPrefetchUrls = []; var imgPrefetchUrls = ["https://cdn.shopify.com/s/files/1/0675/5116/6678/files/logo_jpg_negro_pefumeria_2000x.jpg?v=1665766782"]; 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 = [baseURL].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); } })();