(function() { var preconnectOrigins = ["https://cdn.shopify.com","https://extensions.shopifycdn.com"]; var scripts = ["/cdn/shopifycloud/checkout-web/assets/c1/polyfills-legacy.CbpCSAiS.js","/cdn/shopifycloud/checkout-web/assets/c1/app-legacy.CjZnDVwU.js","/cdn/shopifycloud/checkout-web/assets/c1/esnext-vendor-legacy.ycXFOmOg.js","/cdn/shopifycloud/checkout-web/assets/c1/browser-legacy.CN_kKQSK.js","/cdn/shopifycloud/checkout-web/assets/c1/NotFound-legacy.r4-KZig4.js","/cdn/shopifycloud/checkout-web/assets/c1/types-UnauthenticatedErrorModalPayload-legacy.C4SsOT4Y.js","/cdn/shopifycloud/checkout-web/assets/c1/images-payment-icon-legacy.BW3R3WiF.js","/cdn/shopifycloud/checkout-web/assets/c1/utilities-shop-discount-offer-legacy.BiQdkmFF.js","/cdn/shopifycloud/checkout-web/assets/c1/utilities-alternativePaymentCurrency-legacy.CjfAMUwy.js","/cdn/shopifycloud/checkout-web/assets/c1/shared-unactionable-errors-legacy.CEecJO-b.js","/cdn/shopifycloud/checkout-web/assets/c1/helpers-installmentsNotSupportedForAddress-legacy.Cv6LyOhu.js","/cdn/shopifycloud/checkout-web/assets/c1/utils-getCommonShopPayExternalTelemetryAttributes-legacy.D3xAqQOP.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks-useShopPayCheckoutGqlVersion-legacy.D39mruQu.js","/cdn/shopifycloud/checkout-web/assets/c1/graphql-ShopPayCheckoutSessionQuery-legacy.V0sw70Mu.js","/cdn/shopifycloud/checkout-web/assets/c1/helpers-setAddressErrors-legacy.DkT5WIO3.js","/cdn/shopifycloud/checkout-web/assets/c1/types-index-legacy.CjgYpLIn.js","/cdn/shopifycloud/checkout-web/assets/c1/images-flag-icon-legacy.Bfupgm8k.js","/cdn/shopifycloud/checkout-web/assets/c1/locale-en-legacy.Dnjk7crF.js","/cdn/shopifycloud/checkout-web/assets/c1/page-OnePage-legacy.Emyz6TLA.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks-useWalletsTimeout-legacy.COf3NmF6.js","/cdn/shopifycloud/checkout-web/assets/c1/remember-me-hooks-legacy.B8SOnMZQ.js","/cdn/shopifycloud/checkout-web/assets/c1/OffsitePaymentFailed-legacy.DQDbLRWu.js","/cdn/shopifycloud/checkout-web/assets/c1/NoAddressLocationFullDetour-legacy.Cr4MqRaU.js","/cdn/shopifycloud/checkout-web/assets/c1/SplitDeliveryMerchandiseContainer-legacy.DVHGMBIM.js","/cdn/shopifycloud/checkout-web/assets/c1/useShopPayButtonClassName-legacy.COlrxLOR.js","/cdn/shopifycloud/checkout-web/assets/c1/ChangeCompanyLocationLink-legacy.CZ8z8lOP.js","/cdn/shopifycloud/checkout-web/assets/c1/WalletsSandbox-WalletSandbox-legacy.YaWnqxvi.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks-useUnauthenticatedErrorModal-legacy.Dwm2nolf.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks-useForceShopPayUrl-legacy.yheaTNyf.js","/cdn/shopifycloud/checkout-web/assets/c1/GooglePayButton-index-legacy.CycNb5Kw.js","/cdn/shopifycloud/checkout-web/assets/c1/MarketsProDisclaimer-legacy.CQvuw3lh.js","/cdn/shopifycloud/checkout-web/assets/c1/ShippingGroupsSummaryLine-legacy.CULk3L0C.js","/cdn/shopifycloud/checkout-web/assets/c1/StackedMerchandisePreview-legacy.DSb3cCpT.js","/cdn/shopifycloud/checkout-web/assets/c1/AutocompleteField-hooks-legacy.B9dftfCt.js","/cdn/shopifycloud/checkout-web/assets/c1/LocalizationExtensionField-legacy.DSV6kL_3.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks-useShopPayPaymentRequiredMethod-legacy.B6i3JhD_.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks-useUpdateCheckoutAddress-legacy.3g8OsrTb.js","/cdn/shopifycloud/checkout-web/assets/c1/WalletLogo-legacy.xJM5ifgS.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks-useGeneralPaymentErrorMessage-legacy.CrHgkuw5.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks-useShowShopPayOptin-legacy.phQ-Kk1n.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks-useShowCreateMoreAccountsGdprTreatment-legacy.B3m0PnSR.js","/cdn/shopifycloud/checkout-web/assets/c1/Section-legacy.BeveCTCJ.js","/cdn/shopifycloud/checkout-web/assets/c1/MobileOrderSummary-legacy.D_R2bdM-.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks-useOnePageFormSubmit-legacy.DztJbRjB.js","/cdn/shopifycloud/checkout-web/assets/c1/PayPalOverCaptureInfoBanner-legacy.Do2TTGZ_.js","/cdn/shopifycloud/checkout-web/assets/c1/utilities-get-negotiation-input-legacy.DsiRCX1B.js","/cdn/shopifycloud/checkout-web/assets/c1/shop-cash-constants-legacy.IbVafiL8.js","/cdn/shopifycloud/checkout-web/assets/c1/PaymentErrorBanner-legacy.gFKuqaxO.js","/cdn/shopifycloud/checkout-web/assets/c1/StockProblems-StockProblemsLineItemList-legacy.Cagu17Vt.js","/cdn/shopifycloud/checkout-web/assets/c1/DutyOptions-legacy.D2Hxz7kc.js","/cdn/shopifycloud/checkout-web/assets/c1/ShipmentBreakdown-legacy.DpNFFUYT.js","/cdn/shopifycloud/checkout-web/assets/c1/MerchandiseModal-legacy.J4yZbyaa.js","/cdn/shopifycloud/checkout-web/assets/c1/extension-targets-shipping-options-legacy.DKkXdFfI.js","/cdn/shopifycloud/checkout-web/assets/c1/ShippingMethodSelector-legacy.CGbbMSQz.js","/cdn/shopifycloud/checkout-web/assets/c1/SubscriptionPriceBreakdown-legacy.9fhcRLxk.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks-useSubscribeMessenger-legacy.CLudFl8b.js","/cdn/shopifycloud/checkout-web/assets/c1/component-RuntimeExtension-legacy.DPiB97EB.js","/cdn/shopifycloud/checkout-web/assets/c1/AnnouncementRuntimeExtensions-legacy.CE1XxBSg.js","/cdn/shopifycloud/checkout-web/assets/c1/extension-targets-rendering-extension-targets-legacy.D691KMK-.js","/cdn/shopifycloud/checkout-web/assets/c1/esm-browser-v4-legacy.On_frbc2.js","/cdn/shopifycloud/checkout-web/assets/c1/ExtensionsInner-legacy.BuMWk45X.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); } })();