(function() { var preconnectOrigins = ["https://cdn.shopify.com","https://extensions.shopifycdn.com"]; var scripts = ["/cdn/shopifycloud/checkout-web/assets/c1/polyfills-legacy.BcltRhPu.js","/cdn/shopifycloud/checkout-web/assets/c1/app-legacy.CKq95Aqc.js","/cdn/shopifycloud/checkout-web/assets/c1/esnext-vendor-legacy.BzLpyt_e.js","/cdn/shopifycloud/checkout-web/assets/c1/browser-legacy.BYWBm_5h.js","/cdn/shopifycloud/checkout-web/assets/c1/shared-is-shop-pay-active-legacy.D0QpgeSS.js","/cdn/shopifycloud/checkout-web/assets/c1/types-UnauthenticatedErrorModalPayload-legacy.DfoDteRY.js","/cdn/shopifycloud/checkout-web/assets/c1/images-payment-icon-legacy.BW3R3WiF.js","/cdn/shopifycloud/checkout-web/assets/c1/utilities-shop-discount-offer-legacy.Cf2cYdkv.js","/cdn/shopifycloud/checkout-web/assets/c1/NotFound-legacy.5wCv61MX.js","/cdn/shopifycloud/checkout-web/assets/c1/context-utilities-legacy.CaMk1L3a.js","/cdn/shopifycloud/checkout-web/assets/c1/shared-unactionable-errors-legacy.zcvn44_4.js","/cdn/shopifycloud/checkout-web/assets/c1/helpers-installmentsNotSupportedForAddress-legacy.CV2SCy9M.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks-useShopPayCheckoutGqlVersion-legacy.b5NMM8to.js","/cdn/shopifycloud/checkout-web/assets/c1/graphql-ShopPayCheckoutSessionQuery-legacy.IjS87GFE.js","/cdn/shopifycloud/checkout-web/assets/c1/helpers-setAddressErrors-legacy.BLIahLXy.js","/cdn/shopifycloud/checkout-web/assets/c1/types-index-legacy.Ci5MuLGW.js","/cdn/shopifycloud/checkout-web/assets/c1/images-flag-icon-legacy.Bfupgm8k.js","/cdn/shopifycloud/checkout-web/assets/c1/locale-en-legacy.XjHpYy-X.js","/cdn/shopifycloud/checkout-web/assets/c1/page-OnePage-legacy.D9UqZEcH.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks-useWalletsTimeout-legacy.C9uk0b0J.js","/cdn/shopifycloud/checkout-web/assets/c1/remember-me-hooks-legacy.tkK_YUxJ.js","/cdn/shopifycloud/checkout-web/assets/c1/OffsitePaymentFailed-legacy.BUw8GKDA.js","/cdn/shopifycloud/checkout-web/assets/c1/NoAddressLocationFullDetour-legacy.xMh7BBZh.js","/cdn/shopifycloud/checkout-web/assets/c1/SplitDeliveryMerchandiseContainer-legacy.CHJJE7ok.js","/cdn/shopifycloud/checkout-web/assets/c1/useShopPayButtonClassName-legacy.CgOHTn_m.js","/cdn/shopifycloud/checkout-web/assets/c1/ChangeCompanyLocationLink-legacy.wMTOCCzC.js","/cdn/shopifycloud/checkout-web/assets/c1/WalletsSandbox-WalletSandbox-legacy.B1oZYL2a.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks-useUnauthenticatedErrorModal-legacy.CxM95rAf.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks-useForceShopPayUrl-legacy.DzIccmZo.js","/cdn/shopifycloud/checkout-web/assets/c1/GooglePayButton-index-legacy.CxvYnvy3.js","/cdn/shopifycloud/checkout-web/assets/c1/MarketsProDisclaimer-legacy.Dr2ngcq8.js","/cdn/shopifycloud/checkout-web/assets/c1/ShippingGroupsSummaryLine-legacy.CNXXJ2mY.js","/cdn/shopifycloud/checkout-web/assets/c1/StackedMerchandisePreview-legacy.B93kPH5C.js","/cdn/shopifycloud/checkout-web/assets/c1/AutocompleteField-hooks-legacy.CWWwfpL6.js","/cdn/shopifycloud/checkout-web/assets/c1/LocalizationExtensionField-legacy.Bx8nnFAn.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks-useShopPayPaymentRequiredMethod-legacy.lS9Z1i7E.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks-useUpdateCheckoutAddress-legacy.DCe6cxtG.js","/cdn/shopifycloud/checkout-web/assets/c1/WalletLogo-legacy.DkdD1Oha.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks-useGeneralPaymentErrorMessage-legacy.Bt4JE7OR.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks-useShowShopPayOptin-legacy.DDS5Isq4.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks-useShowCreateMoreAccountsGdprTreatment-legacy.DHp5vRb2.js","/cdn/shopifycloud/checkout-web/assets/c1/Section-legacy.BUUhfwMM.js","/cdn/shopifycloud/checkout-web/assets/c1/MobileOrderSummary-legacy.Cnm_lktv.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks-useOnePageFormSubmit-legacy.DOO1zdSm.js","/cdn/shopifycloud/checkout-web/assets/c1/PayPalOverCaptureInfoBanner-legacy.LYPBq0Kz.js","/cdn/shopifycloud/checkout-web/assets/c1/utilities-get-negotiation-input-legacy._hk8437y.js","/cdn/shopifycloud/checkout-web/assets/c1/shop-cash-constants-legacy.BzDCOSz8.js","/cdn/shopifycloud/checkout-web/assets/c1/PaymentErrorBanner-legacy.BsYr4Y_g.js","/cdn/shopifycloud/checkout-web/assets/c1/StockProblems-StockProblemsLineItemList-legacy.DiHcyTON.js","/cdn/shopifycloud/checkout-web/assets/c1/DutyOptions-legacy.pvSHIFlv.js","/cdn/shopifycloud/checkout-web/assets/c1/ShipmentBreakdown-legacy.60yCK-oz.js","/cdn/shopifycloud/checkout-web/assets/c1/MerchandiseModal-legacy.D0K63Nm4.js","/cdn/shopifycloud/checkout-web/assets/c1/extension-targets-shipping-options-legacy.Cbrhi_vz.js","/cdn/shopifycloud/checkout-web/assets/c1/ShippingMethodSelector-legacy.CTKypMxv.js","/cdn/shopifycloud/checkout-web/assets/c1/SubscriptionPriceBreakdown-legacy.CtyG_JQp.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks-useSubscribeMessenger-legacy.C_WSXjmk.js","/cdn/shopifycloud/checkout-web/assets/c1/component-RuntimeExtension-legacy.B3iK8_Bu.js","/cdn/shopifycloud/checkout-web/assets/c1/AnnouncementRuntimeExtensions-legacy.Dqjh239Z.js","/cdn/shopifycloud/checkout-web/assets/c1/extension-targets-rendering-extension-targets-legacy.6uDaGQxU.js","/cdn/shopifycloud/checkout-web/assets/c1/esm-browser-v4-legacy.On_frbc2.js","/cdn/shopifycloud/checkout-web/assets/c1/ExtensionsInner-legacy.Bh9WDQqu.js"]; var styles = []; var fontPreconnectUrls = []; var fontPrefetchUrls = []; var imgPrefetchUrls = ["https://cdn.shopify.com/s/files/1/0264/6212/6157/files/AUK_Logo_-_bloom_black_x320.png?v=1615574567"]; 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 = preconnectOrigins.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); } })();