(function() { var preconnectOrigins = ["https://cdn.shopify.com","https://extensions.shopifycdn.com"]; var scripts = ["/cdn/shopifycloud/checkout-web/assets/c1/polyfills-legacy.i4sOpBL2.js","/cdn/shopifycloud/checkout-web/assets/c1/app-legacy.Kfx8JqV7.js","/cdn/shopifycloud/checkout-web/assets/c1/esnext-vendor-legacy.BLXmyF4a.js","/cdn/shopifycloud/checkout-web/assets/c1/browser-legacy.BoXJR2b7.js","/cdn/shopifycloud/checkout-web/assets/c1/phone-phoneCountryCode-legacy.NTIz-DoW.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks-useShopPayProgressIntercepts-legacy.Ccan4kGC.js","/cdn/shopifycloud/checkout-web/assets/c1/images-payment-icon-legacy.BW3R3WiF.js","/cdn/shopifycloud/checkout-web/assets/c1/utilities-shop-discount-offer-legacy.DzoqWjeI.js","/cdn/shopifycloud/checkout-web/assets/c1/utilities-alternativePaymentCurrency-legacy.DiawRL_-.js","/cdn/shopifycloud/checkout-web/assets/c1/extensibility-shared-legacy.DwB0hnww.js","/cdn/shopifycloud/checkout-web/assets/c1/shared-unactionable-errors-legacy.VTGwlFIe.js","/cdn/shopifycloud/checkout-web/assets/c1/graphql-PaymentSessionMutation-legacy.BZti2yFW.js","/cdn/shopifycloud/checkout-web/assets/c1/graphql-ShopPayCheckoutSessionQuery-legacy.BiyA3d9P.js","/cdn/shopifycloud/checkout-web/assets/c1/helpers-setAddressErrors-legacy.D9MNF2YE.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks-useHasOrdersFromMultipleShops-legacy.CQ17zDeF.js","/cdn/shopifycloud/checkout-web/assets/c1/images-flag-icon-legacy.Bfupgm8k.js","/cdn/shopifycloud/checkout-web/assets/c1/locale-en-legacy.pVh7K_id.js","/cdn/shopifycloud/checkout-web/assets/c1/page-OnePage-legacy.BYJXzceD.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks-useGeneralPaymentErrorMessage-legacy._6lqShag.js","/cdn/shopifycloud/checkout-web/assets/c1/CrossBorderConsolidation-legacy.CwnRke07.js","/cdn/shopifycloud/checkout-web/assets/c1/ShopPayLogo-legacy.iUp69AJf.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks-useForceShopPayUrl-legacy.vk7_jjPx.js","/cdn/shopifycloud/checkout-web/assets/c1/ShippingGroupsSummaryLine-legacy.GJjiGzFr.js","/cdn/shopifycloud/checkout-web/assets/c1/StackedMerchandisePreview-legacy.dGuo5FBj.js","/cdn/shopifycloud/checkout-web/assets/c1/ImpressionEventCapture-legacy.BWoDezwH.js","/cdn/shopifycloud/checkout-web/assets/c1/AutocompleteField-hooks-legacy.CZ9H5NJk.js","/cdn/shopifycloud/checkout-web/assets/c1/LocalizationExtensionField-legacy.E7rc1Wd5.js","/cdn/shopifycloud/checkout-web/assets/c1/ProfilePreviewBar-legacy.Bh6sX68H.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks-useUpdateCheckoutAddress-legacy.wiSce4Ib.js","/cdn/shopifycloud/checkout-web/assets/c1/paypal-express-usePayPalPaymentErrorHandler-legacy.1thuLVpf.js","/cdn/shopifycloud/checkout-web/assets/c1/RememberMeDescriptionText-legacy.2WfpnVVP.js","/cdn/shopifycloud/checkout-web/assets/c1/Section-legacy.Bn24sd_p.js","/cdn/shopifycloud/checkout-web/assets/c1/ShopPayOptInDisclaimer-legacy.BElkWidi.js","/cdn/shopifycloud/checkout-web/assets/c1/MobileOrderSummary-legacy.Zsen9B7E.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks-useOnePageFormSubmit-legacy.DyJvlSoD.js","/cdn/shopifycloud/checkout-web/assets/c1/SeparatePaymentsNotice-legacy.1dIcNzvs.js","/cdn/shopifycloud/checkout-web/assets/c1/FullScreenBackground-legacy.D5DK1NGA.js","/cdn/shopifycloud/checkout-web/assets/c1/FloatingPayButton-legacy.BFn_4cEf.js","/cdn/shopifycloud/checkout-web/assets/c1/NoAddressLocation-legacy.TJJeFsn_.js","/cdn/shopifycloud/checkout-web/assets/c1/Page-legacy.8u42VmkM.js","/cdn/shopifycloud/checkout-web/assets/c1/OffsitePaymentFailed-legacy.B5eh3DWh.js","/cdn/shopifycloud/checkout-web/assets/c1/utilities-get-negotiation-input-legacy.LjIB9DYv.js","/cdn/shopifycloud/checkout-web/assets/c1/NotFound-legacy.A2Y_nzzx.js","/cdn/shopifycloud/checkout-web/assets/c1/shop-cash-constants-legacy.D2IE87kd.js","/cdn/shopifycloud/checkout-web/assets/c1/PaymentErrorBanner-legacy.DXBYBamC.js","/cdn/shopifycloud/checkout-web/assets/c1/StockProblems-StockProblemsLineItemList-legacy.D1yPMb13.js","/cdn/shopifycloud/checkout-web/assets/c1/DutyOptions-legacy.DYDfhZSQ.js","/cdn/shopifycloud/checkout-web/assets/c1/ShipmentBreakdown-legacy.DNElqlWM.js","/cdn/shopifycloud/checkout-web/assets/c1/MerchandiseModal-legacy.DSp-TYsL.js","/cdn/shopifycloud/checkout-web/assets/c1/extension-targets-shipping-options-legacy.BGXmX06b.js","/cdn/shopifycloud/checkout-web/assets/c1/ShippingMethodSelector-legacy.Du3YAct2.js","/cdn/shopifycloud/checkout-web/assets/c1/SubscriptionPriceBreakdown-legacy.BoEd2T7s.js","/cdn/shopifycloud/checkout-web/assets/c1/component-RuntimeExtension-legacy.DsRtQci-.js","/cdn/shopifycloud/checkout-web/assets/c1/AnnouncementRuntimeExtensions-legacy.8W3Ac6my.js","/cdn/shopifycloud/checkout-web/assets/c1/extension-targets-rendering-extension-targets-legacy.FM5a9e0N.js","/cdn/shopifycloud/checkout-web/assets/c1/esm-browser-v4-legacy.On_frbc2.js","/cdn/shopifycloud/checkout-web/assets/c1/ExtensionsInner-legacy.BetqH9ZV.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); } })();