
    (function() {
      var cdnOrigin = "https://cdn.shopify.com";
      var scripts = ["/cdn/shopifycloud/checkout-web/assets/c1/polyfills-legacy.B4Juc3Bz.js","/cdn/shopifycloud/checkout-web/assets/c1/app-legacy.B1kf4kV1.js","/cdn/shopifycloud/checkout-web/assets/c1/vendor-legacy.CTf7O_vy.js","/cdn/shopifycloud/checkout-web/assets/c1/locale-en-legacy.CMTrNQoU.js","/cdn/shopifycloud/checkout-web/assets/c1/page-OnePage-legacy.DpkIvCVt.js","/cdn/shopifycloud/checkout-web/assets/c1/AddDiscountButton-legacy.Bd4NORWa.js","/cdn/shopifycloud/checkout-web/assets/c1/NumberField-legacy.I2xD77hz.js","/cdn/shopifycloud/checkout-web/assets/c1/useShowShopPayOptin-legacy.CntsBwVn.js","/cdn/shopifycloud/checkout-web/assets/c1/ShopPayOptInDisclaimer-legacy.D9Kz-07N.js","/cdn/shopifycloud/checkout-web/assets/c1/RememberMeDescriptionText-legacy.CszhF-iT.js","/cdn/shopifycloud/checkout-web/assets/c1/PaymentButtons-legacy.3o6uKBoC.js","/cdn/shopifycloud/checkout-web/assets/c1/StockProblemsLineItemList-legacy.CKJNG0VP.js","/cdn/shopifycloud/checkout-web/assets/c1/LocalPickup-legacy.Dmml8OAV.js","/cdn/shopifycloud/checkout-web/assets/c1/useShopPayButtonClassName-legacy.vcbMDzv7.js","/cdn/shopifycloud/checkout-web/assets/c1/VaultedPayment-legacy.BhGWyZhl.js","/cdn/shopifycloud/checkout-web/assets/c1/MarketsProDisclaimer-legacy.CshSp4rI.js","/cdn/shopifycloud/checkout-web/assets/c1/SeparatePaymentsNotice-legacy.IACVoGyE.js","/cdn/shopifycloud/checkout-web/assets/c1/useAddressManager-legacy.BPuFdr6z.js","/cdn/shopifycloud/checkout-web/assets/c1/useShopPayPaymentRequiredMethod-legacy.Dxmhe0LE.js","/cdn/shopifycloud/checkout-web/assets/c1/component-ShopPayVerificationSwitch-legacy.llgAD42-.js","/cdn/shopifycloud/checkout-web/assets/c1/useSubscribeMessenger-legacy.DfJQxJtq.js","/cdn/shopifycloud/checkout-web/assets/c1/shop-js-index-legacy.ClmnlQzA.js","/cdn/shopifycloud/checkout-web/assets/c1/v4-legacy.On_frbc2.js","/cdn/shopifycloud/checkout-web/assets/c1/PayButtonSection-legacy.CaoPD3Gv.js","/cdn/shopifycloud/checkout-web/assets/c1/ShipmentBreakdown-legacy.sMZ_XfwQ.js","/cdn/shopifycloud/checkout-web/assets/c1/MerchandiseModal-legacy.dmWvd6ro.js","/cdn/shopifycloud/checkout-web/assets/c1/StackedMerchandisePreview-legacy.CGW8oYp5.js","/cdn/shopifycloud/checkout-web/assets/c1/component-RuntimeExtension-legacy.DRoFpzgO.js","/cdn/shopifycloud/checkout-web/assets/c1/AnnouncementRuntimeExtensions-legacy.dNynG0tN.js","/cdn/shopifycloud/checkout-web/assets/c1/Switch-legacy.DFKBuRLr.js","/cdn/shopifycloud/checkout-web/assets/c1/rendering-extension-targets-legacy.Cp3tFgQS.js","/cdn/shopifycloud/checkout-web/assets/c1/ExtensionsInner-legacy.CRdmo7IJ.js"];
      var styles = [];
      var fontPreconnectUrls = [];
      var fontPrefetchUrls = [];
      var imgPrefetchUrls = ["https://cdn.shopify.com/s/files/1/0743/4915/0492/files/jewitches_2024_square_logo_a1ea7492-40e3-4eb9-abc2-0f9da7a9d6ac_x320.png?v=1747416809"];

      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 = [cdnOrigin].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);
      }
    })();
  