(function() { var baseURL = "https://www.scopeapplications.com/shopifycloud/checkout-web/assets/"; var scripts = ["https://www.scopeapplications.com/shopifycloud/checkout-web/assets/c1.en/polyfills-legacy.D6S_e7yr.js","https://www.scopeapplications.com/shopifycloud/checkout-web/assets/c1.en/app-legacy.fJu89UjQ.js","https://www.scopeapplications.com/shopifycloud/checkout-web/assets/c1.en/OnePage-legacy.CxXv-OOc.js","https://www.scopeapplications.com/shopifycloud/checkout-web/assets/c1.en/DeliveryMethodSelectorSection-legacy.CWQSR4un.js","https://www.scopeapplications.com/shopifycloud/checkout-web/assets/c1.en/useUnauthenticatedErrorModal-legacy.CiAzOspg.js","https://www.scopeapplications.com/shopifycloud/checkout-web/assets/c1.en/LegacyVaultedShippingMethods-legacy.B9xxpPBT.js","https://www.scopeapplications.com/shopifycloud/checkout-web/assets/c1.en/Rollup-legacy.D0rrJ52t.js","https://www.scopeapplications.com/shopifycloud/checkout-web/assets/c1.en/SubscriptionPriceBreakdown-legacy.Bcm95Rkm.js","https://www.scopeapplications.com/shopifycloud/checkout-web/assets/c1.en/RageClickCapture-legacy.DoEN1vtK.js","https://www.scopeapplications.com/shopifycloud/checkout-web/assets/c1.en/ShopPayLogo-legacy.NXWoWskz.js","https://www.scopeapplications.com/shopifycloud/checkout-web/assets/c1.en/PurchaseOptionsAgreement-legacy.DtvkSKh9.js","https://www.scopeapplications.com/shopifycloud/checkout-web/assets/c1.en/PickupPointCarrierLogo-legacy.90STCUbb.js","https://www.scopeapplications.com/shopifycloud/checkout-web/assets/c1.en/hooks-legacy.Dq4UvkiL.js","https://www.scopeapplications.com/shopifycloud/checkout-web/assets/c1.en/VaultedPayment-legacy.BQIC72pl.js","https://www.scopeapplications.com/shopifycloud/checkout-web/assets/c1.en/OnePageModal-legacy.Cnzi23UU.js","https://www.scopeapplications.com/shopifycloud/checkout-web/assets/c1.en/useShowShopPayOptin-legacy.BpGBc1lu.js","https://www.scopeapplications.com/shopifycloud/checkout-web/assets/c1.en/Section-legacy.CHsbc50q.js","https://www.scopeapplications.com/shopifycloud/checkout-web/assets/c1.en/useGooglePaySdk-legacy.BaE33vvl.js","https://www.scopeapplications.com/shopifycloud/checkout-web/assets/c1.en/ShopPayLoginLoader-legacy.j_cGx2b9.js","https://www.scopeapplications.com/shopifycloud/checkout-web/assets/c1.en/publishMessage-legacy.CqDzcEbW.js","https://www.scopeapplications.com/shopifycloud/checkout-web/assets/c1.en/PayButtonSection-legacy.DGytdheV.js","https://www.scopeapplications.com/shopifycloud/checkout-web/assets/c1.en/context-legacy.DUhIKkEa.js","https://www.scopeapplications.com/shopifycloud/checkout-web/assets/c1.en/DutyOptions-legacy.B1RKqv7r.js","https://www.scopeapplications.com/shopifycloud/checkout-web/assets/c1.en/useAmazonContact-legacy.DPN4zhr2.js","https://www.scopeapplications.com/shopifycloud/checkout-web/assets/c1.en/StockProblemsLineItemList-legacy.CCy9iqZm.js","https://www.scopeapplications.com/shopifycloud/checkout-web/assets/c1.en/component-ShopPayVerificationSwitch-legacy.DU7FcmYm.js","https://www.scopeapplications.com/shopifycloud/checkout-web/assets/c1.en/index-legacy.Wql91NME.js"]; var styles = []; var fontPreconnectUrls = []; var fontPrefetchUrls = []; var imgPrefetchUrls = []; 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 next() { var res = resources[index++]; if (res) prefetch(res[0], res[1], next); })(); } function onLoaded() { preconnectAssets(); prefetchAssets(); } if (document.readyState === 'complete') { onLoaded(); } else { addEventListener('load', onLoaded); } })();