{
  "version": 3,
  "sources": ["/cdn/shop/t/174/assets/k2-pdp-shipping-estimator.js?k2_shipping_v=11"],
  "sourcesContent": ["(function() {\n  window.K2ShippingAssetVersion = 'v13';\n  console.warn('[K2 shipping ASSET] Loaded VERSION 13');\n\n  const TOKEN = 'c913e8a3f3b8482d41ab221c52791ffa';\n  const SHOP_DOMAIN = 'k2-industries.myshopify.com';\n  const API_VERSION = '2026-04';\n\n  const FORCE_US_TEST_LOCATION = false;\n\n  const TEST_GEO = {\n    country_code: 'US',\n    region_code: 'FL',\n    postal: '34952',\n    city: 'Port St. Lucie'\n  };\n\n  window.K2ShippingRateCache = window.K2ShippingRateCache || {};\n\n  function parseGraphQLMultipart(text) {\n    const parts = [];\n\n    text.split('--graphql').forEach(function(chunk) {\n      const jsonStart = chunk.indexOf('{');\n      const jsonEnd = chunk.lastIndexOf('}');\n\n      if (jsonStart === -1 || jsonEnd === -1) return;\n\n      const jsonText = chunk.slice(jsonStart, jsonEnd + 1);\n\n      try {\n        parts.push(JSON.parse(jsonText));\n      } catch (error) {}\n    });\n\n    return parts;\n  }\n\n  function postStorefrontGraphQL(query, variables) {\n    return new Promise(function(resolve, reject) {\n      const xhr = new XMLHttpRequest();\n      const url = 'https://' + SHOP_DOMAIN + '/api/' + API_VERSION + '/graphql.json';\n\n      xhr.open('POST', url, true);\n      xhr.timeout = 20000;\n\n      xhr.setRequestHeader('Content-Type', 'application/json');\n      xhr.setRequestHeader('X-Shopify-Storefront-Access-Token', TOKEN);\n\n      xhr.onload = function() {\n        const contentType = xhr.getResponseHeader('content-type') || '';\n        const text = xhr.responseText || '';\n\n        if (contentType.includes('multipart/mixed') || text.includes('--graphql')) {\n          const parts = parseGraphQLMultipart(text);\n\n          resolve({\n            status: xhr.status,\n            json: parts[0] || null,\n            parts: parts,\n            raw: text\n          });\n\n          return;\n        }\n\n        let json;\n\n        try {\n          json = JSON.parse(text);\n        } catch (error) {\n          reject(new Error('Could not parse Shopify response: ' + text));\n          return;\n        }\n\n        resolve({\n          status: xhr.status,\n          json: json,\n          parts: [json],\n          raw: text\n        });\n      };\n\n      xhr.onerror = function() {\n        reject(new Error('Shopify Storefront XHR failed'));\n      };\n\n      xhr.ontimeout = function() {\n        reject(new Error('Shopify Storefront XHR timed out'));\n      };\n\n      xhr.send(JSON.stringify({\n        query: query,\n        variables: variables\n      }));\n    });\n  }\n\n  function formatMoney(amount, currencyCode) {\n    return new Intl.NumberFormat('en-US', {\n      style: 'currency',\n      currency: currencyCode || 'USD'\n    }).format(Number(amount));\n  }\n\n  function getCountryName(countryCode) {\n    const code = String(countryCode || '').toUpperCase();\n\n    try {\n      if (window.Intl && Intl.DisplayNames) {\n        return new Intl.DisplayNames(['en'], { type: 'region' }).of(code) || code;\n      }\n    } catch (e) {}\n\n    return code || 'your country';\n  }\n\n  function escapeHtml(value) {\n    return String(value || '')\n      .replace(/&/g, '&amp;')\n      .replace(/</g, '&lt;')\n      .replace(/>/g, '&gt;')\n      .replace(/\"/g, '&quot;')\n      .replace(/'/g, '&#039;');\n  }\n\n  function renderFeeDetails(type) {\n    if (type === 'freight') {\n      return ''\n        + '<details class=\"delivery-stock-fee__fee-details\">'\n        + '<summary>Why is shipping this much?</summary>'\n        + '<div class=\"delivery-stock-fee__fee-copy\">'\n        + \"This part is large, so it ships freight, packed and crated to arrive without damage. That's what drives the cost. If anything's wrong on arrival, we replace it free. No claims, no hassle.\"\n        + '</div>'\n        + '</details>';\n    }\n\n    if (type === 'international') {\n      return ''\n        + '<details class=\"delivery-stock-fee__fee-details\">'\n        + '<summary>Why is shipping this much?</summary>'\n        + '<div class=\"delivery-stock-fee__fee-copy\">'\n        + 'This is the carrier cost to ship to your country, calculated by destination and package size. Got questions? Call a specialist at +1 772-277-2495.'\n        + '</div>'\n        + '</details>';\n    }\n\n    return '';\n  }\n\n  function isOversizedRoot(root) {\n    const estimateEl = root.querySelector('[data-pdp-shipping-estimate]');\n\n    return String(\n      root.dataset.productOversized ||\n      (estimateEl && estimateEl.dataset.productOversized) ||\n      ''\n    ).toLowerCase() === 'true';\n  }\n\n  function getEstimateLabel(root) {\n    return isOversizedRoot(root)\n      ? 'Estimated oversized item fee'\n      : 'Estimated shipping';\n  }\n\n  function getLoadingText(root) {\n    return isOversizedRoot(root)\n      ? 'Detecting oversized item fee...'\n      : 'Detecting shipping cost...';\n  }\n\n  function getFallbackText(root) {\n    return isOversizedRoot(root)\n      ? 'Oversized item fee calculated at checkout'\n      : 'Shipping calculated at checkout';\n  }\n\n  function getCityText(city) {\n    return city ? ' to ' + city : '';\n  }\n\n  function getVariantId(root) {\n    const input =\n      document.querySelector('form[action*=\"/cart/add\"] [name=\"id\"]') ||\n      document.querySelector('[name=\"id\"]');\n\n    return input && input.value ? input.value : root.dataset.currentVariantId;\n  }\n\n  function getGeo() {\n    if (FORCE_US_TEST_LOCATION) {\n      return Promise.resolve(TEST_GEO);\n    }\n\n    if (window._k2GeoCache) {\n      return Promise.resolve(window._k2GeoCache);\n    }\n\n    return fetch('https://ipapi.co/json/')\n      .then(function(response) {\n        return response.json();\n      })\n      .then(function(geo) {\n        window._k2GeoCache = geo;\n        return geo;\n      });\n  }\n\n  function clearFreeShippingUI(root) {\n    const freeBadgeEl = root.querySelector('[data-free-shipping-badge]');\n\n    root.classList.remove('is-k2-free-shipping');\n\n    if (freeBadgeEl) {\n      freeBadgeEl.classList.add('is-hidden');\n    }\n  }\n\n  function showFreeShipping(root) {\n    const estimateEl = root.querySelector('[data-pdp-shipping-estimate]');\n    const freeBadgeEl = root.querySelector('[data-free-shipping-badge]');\n    const freeBadgeText = root.querySelector('[data-free-shipping-badge-text]');\n\n    root.classList.add('is-k2-free-shipping');\n\n    if (estimateEl) {\n      estimateEl.classList.add('is-hidden');\n      estimateEl.textContent = '';\n    }\n\n    if (freeBadgeEl) {\n      freeBadgeEl.classList.remove('is-hidden');\n    }\n\n    if (freeBadgeText) {\n      freeBadgeText.textContent = 'FREE Shipping';\n    }\n  }\n\n  function shouldShowFreeShipping(root, countryCode) {\n    const mode = root.dataset.freeShippingMode || 'none';\n\n    if (mode === 'worldwide') return true;\n    if (mode === 'us-only' && countryCode === 'US') return true;\n\n    return false;\n  }\n\n  function showText(root, text) {\n    const estimateEl = root.querySelector('[data-pdp-shipping-estimate]');\n    if (!estimateEl) return;\n\n    clearFreeShippingUI(root);\n\n    estimateEl.classList.remove('is-hidden');\n    estimateEl.textContent = text;\n  }\n\n  function showHtml(root, html) {\n    const estimateEl = root.querySelector('[data-pdp-shipping-estimate]');\n    if (!estimateEl) return;\n\n    clearFreeShippingUI(root);\n\n    estimateEl.classList.remove('is-hidden');\n    estimateEl.innerHTML = html;\n  }\n\n  function getCheapestOption(groups) {\n    const options = [];\n\n    (groups || []).forEach(function(group) {\n      (group.deliveryOptions || []).forEach(function(option) {\n        if (!option || !option.estimatedCost) return;\n\n        if (option.deliveryMethodType && option.deliveryMethodType !== 'SHIPPING') {\n          return;\n        }\n\n        options.push(option);\n      });\n    });\n\n    if (!options.length) return null;\n\n    return options.reduce(function(a, b) {\n      return Number(a.estimatedCost.amount) < Number(b.estimatedCost.amount) ? a : b;\n    });\n  }\n\n  function renderResult(root, geo, option) {\n    const price = option.estimatedCost;\n    const amount = Number(price.amount);\n    const formattedPrice = formatMoney(price.amount, price.currencyCode);\n\n    const countryCode = String(\n      (geo && (geo.country_code || geo.countryCode)) || 'US'\n    ).toUpperCase();\n\n    if (amount === 0) {\n      showFreeShipping(root);\n      return;\n    }\n\n    let html = '';\n\n    if (countryCode !== 'US') {\n      const countryName = getCountryName(countryCode);\n\n      html =\n        '<span class=\"delivery-stock-fee__fee-line\">'\n        + 'Shipping to ' + escapeHtml(countryName) + ': <strong>' + formattedPrice + '</strong>'\n        + '</span>'\n        + renderFeeDetails('international');\n\n      showHtml(root, html);\n      return;\n    }\n\n    if (amount >= 40) {\n      html =\n        '<span class=\"delivery-stock-fee__fee-line\">'\n        + 'Freight shipping: <strong>' + formattedPrice + '</strong>'\n        + '</span>'\n        + renderFeeDetails('freight');\n\n      showHtml(root, html);\n      return;\n    }\n\n    html =\n      '<span class=\"delivery-stock-fee__fee-line\">'\n      + 'Shipping Fee: <strong>' + formattedPrice + '</strong>'\n      + '</span>';\n\n    showHtml(root, html);\n  }\n\n  function wait(ms) {\n    return new Promise(function(resolve) {\n      setTimeout(resolve, ms);\n    });\n  }\n\n  async function queryCartRates(cartId) {\n    const query = `\n      query GetEstimateCart($cartId: ID!) {\n        cart(id: $cartId) {\n          id\n          ...DeliveryGroups @defer\n        }\n      }\n\n      fragment DeliveryGroups on Cart {\n        deliveryGroups(first: 10, withCarrierRates: true) {\n          nodes {\n            deliveryOptions {\n              title\n              handle\n              deliveryMethodType\n              estimatedCost {\n                amount\n                currencyCode\n              }\n            }\n          }\n        }\n      }\n    `;\n\n    const result = await postStorefrontGraphQL(query, {\n      cartId: cartId\n    });\n\n    const groups = [];\n\n    (result.parts || [result.json]).forEach(function(part) {\n      const directGroups =\n        part &&\n        part.data &&\n        part.data.cart &&\n        part.data.cart.deliveryGroups &&\n        part.data.cart.deliveryGroups.nodes;\n\n      if (directGroups && directGroups.length) {\n        groups.push.apply(groups, directGroups);\n      }\n\n      const incremental = part && part.incremental ? part.incremental : [];\n\n      incremental.forEach(function(increment) {\n        const deferredGroups =\n          increment &&\n          increment.data &&\n          increment.data.deliveryGroups &&\n          increment.data.deliveryGroups.nodes;\n\n        if (deferredGroups && deferredGroups.length) {\n          groups.push.apply(groups, deferredGroups);\n        }\n      });\n    });\n\n    const cheapest = getCheapestOption(groups);\n\n    console.error('[K2 shipping ASSET] Carrier poll result:', {\n      status: result.status,\n      cartId: cartId,\n      deliveryGroupsCount: groups.length,\n      cheapest: cheapest,\n      parts: result.parts,\n      raw: result.raw\n    });\n\n    return cheapest;\n  }\n\n  async function pollCartForRates(cartId) {\n    const delays = [700, 1200, 2000, 3000];\n\n    for (const delay of delays) {\n      await wait(delay);\n\n      const cheapest = await queryCartRates(cartId);\n\n      if (cheapest) {\n        return cheapest;\n      }\n    }\n\n    return null;\n  }\n\n  async function addDeliveryAddressToCart(cartId, address) {\n    const query = `\n      mutation CartDeliveryAddressesAdd($id: ID!, $addresses: [CartSelectableAddressInput!]!) {\n        cartDeliveryAddressesAdd(cartId: $id, addresses: $addresses) {\n          userErrors {\n            field\n            message\n            code\n          }\n          warnings {\n            message\n            code\n            target\n          }\n          cart {\n            id\n            delivery {\n              addresses {\n                id\n                selected\n                oneTimeUse\n                address {\n                  ... on CartDeliveryAddress {\n                    address1\n                    city\n                    provinceCode\n                    zip\n                    countryCode\n                  }\n                }\n              }\n            }\n            deliveryGroups(first: 10) {\n              nodes {\n                deliveryOptions {\n                  title\n                  handle\n                  deliveryMethodType\n                  estimatedCost {\n                    amount\n                    currencyCode\n                  }\n                }\n              }\n            }\n          }\n        }\n      }\n    `;\n\n    const result = await postStorefrontGraphQL(query, {\n      id: cartId,\n      addresses: [\n        {\n          selected: true,\n          address: {\n            deliveryAddress: address\n          }\n        }\n      ]\n    });\n\n    const payload = result.json && result.json.data && result.json.data.cartDeliveryAddressesAdd;\n    const cart = payload && payload.cart;\n    const groups = cart && cart.deliveryGroups && cart.deliveryGroups.nodes ? cart.deliveryGroups.nodes : [];\n    const cheapest = getCheapestOption(groups);\n\n    console.error('[K2 shipping ASSET] Address add result:', {\n      status: result.status,\n      userErrors: payload && payload.userErrors ? payload.userErrors : [],\n      warnings: payload && payload.warnings ? payload.warnings : [],\n      addresses: cart && cart.delivery ? cart.delivery.addresses : [],\n      deliveryGroupsCount: groups.length,\n      cheapest: cheapest,\n      fullResponse: result.json\n    });\n\n    return {\n      cart: cart,\n      groups: groups,\n      cheapest: cheapest,\n      payload: payload,\n      result: result\n    };\n  }\n\n  async function estimateShipping(root, forceRun) {\n    if (!root) return;\n\n    const variantId = getVariantId(root);\n\n    if (!variantId) {\n      showText(root, getFallbackText(root));\n      console.warn('[K2 shipping ASSET] No variant ID found.');\n      return;\n    }\n\n    if (root.dataset.k2EstimatorInFlight === 'true') {\n      console.log('[K2 shipping ASSET] Already running, skip duplicate.');\n      return;\n    }\n\n    let geo;\n\n    try {\n      geo = await getGeo();\n    } catch (geoError) {\n      console.warn('[K2 shipping ASSET] Geo failed:', geoError);\n      showText(root, getFallbackText(root));\n      return;\n    }\n\n    const countryCode = String(geo.country_code || 'US').toUpperCase();\n    const provinceCode = String(geo.region_code || '').replace(/^[A-Z]+-/, '').toUpperCase();\n    const zip = geo.postal || '';\n    const city = geo.city || '';\n\n    if (shouldShowFreeShipping(root, countryCode)) {\n      showFreeShipping(root);\n\n      root.dataset.k2EstimatorDone = 'true';\n      root.dataset.k2EstimatorInFlight = 'false';\n\n      return;\n    }\n\n    if (!countryCode || !zip) {\n      showText(root, getFallbackText(root));\n      console.warn('[K2 shipping ASSET] Missing country/zip:', geo);\n      return;\n    }\n\n    const cacheKey = [variantId, countryCode, provinceCode, zip].join('|');\n\n    if (!forceRun && root.dataset.k2EstimatorKey === cacheKey && root.dataset.k2EstimatorDone === 'true') {\n      return;\n    }\n\n    if (window.K2ShippingRateCache[cacheKey]) {\n      renderResult(root, geo, window.K2ShippingRateCache[cacheKey]);\n      return;\n    }\n\n    root.dataset.k2EstimatorInFlight = 'true';\n    root.dataset.k2EstimatorKey = cacheKey;\n    root.dataset.k2EstimatorDone = 'false';\n\n    showText(root, getLoadingText(root));\n\n    const query = `\n      mutation CreateEstimateCart($input: CartInput!) {\n        cartCreate(input: $input) {\n          cart {\n            id\n            deliveryGroups(first: 10) {\n              nodes {\n                deliveryOptions {\n                  title\n                  handle\n                  deliveryMethodType\n                  estimatedCost {\n                    amount\n                    currencyCode\n                  }\n                }\n              }\n            }\n          }\n          userErrors {\n            field\n            message\n          }\n          warnings {\n            message\n          }\n        }\n      }\n    `;\n\n    const address = {\n      firstName: 'Shipping',\n      lastName: 'Estimate',\n      address1: '123 Main St',\n      city: city,\n      countryCode: countryCode,\n      zip: zip\n    };\n\n    if (provinceCode) {\n      address.provinceCode = provinceCode;\n    }\n\n    const variables = {\n      input: {\n        lines: [\n          {\n            quantity: 1,\n            merchandiseId: 'gid://shopify/ProductVariant/' + variantId\n          }\n        ],\n        buyerIdentity: {\n          countryCode: countryCode\n        },\n        delivery: {\n          addresses: [\n            {\n              selected: true,\n              oneTimeUse: true,\n              validationStrategy: 'COUNTRY_CODE_ONLY',\n              address: {\n                deliveryAddress: address\n              }\n            }\n          ]\n        }\n      }\n    };\n\n    try {\n      const result = await postStorefrontGraphQL(query, variables);\n      const json = result.json;\n\n      const payload = json && json.data && json.data.cartCreate;\n      const cart = payload && payload.cart;\n      const groups = cart && cart.deliveryGroups && cart.deliveryGroups.nodes ? cart.deliveryGroups.nodes : [];\n      let cheapest = getCheapestOption(groups);\n\n      if (!cheapest && cart && cart.id) {\n        console.error('[K2 shipping ASSET] No delivery groups after cartCreate. Adding delivery address...');\n\n        const addressResult = await addDeliveryAddressToCart(cart.id, address);\n\n        if (addressResult.cheapest) {\n          cheapest = addressResult.cheapest;\n        }\n      }\n\n      if (!cheapest && cart && cart.id) {\n        console.error('[K2 shipping ASSET] Still no delivery groups after address add. Polling cart...');\n        cheapest = await pollCartForRates(cart.id);\n      }\n\n      window.K2ShippingLastResult = {\n        status: result.status,\n        cartCreated: Boolean(cart && cart.id),\n        cartId: cart && cart.id,\n        userErrors: payload && payload.userErrors ? payload.userErrors : [],\n        warnings: payload && payload.warnings ? payload.warnings : [],\n        deliveryGroupsCount: groups.length,\n        cheapest: cheapest,\n        fullResponse: json,\n        geo: geo,\n        variantId: variantId,\n        isOversized: isOversizedRoot(root)\n      };\n\n      console.warn('[K2 shipping ASSET] Result:', window.K2ShippingLastResult);\n\n      if (!cheapest) {\n        showText(root, getFallbackText(root));\n        return;\n      }\n\n      window.K2ShippingRateCache[cacheKey] = cheapest;\n      renderResult(root, geo, cheapest);\n\n      root.dataset.k2EstimatorDone = 'true';\n    } catch (error) {\n      window.K2ShippingLastError = error;\n      console.warn('[K2 shipping ASSET] Failed:', error);\n      showText(root, getFallbackText(root));\n    } finally {\n      root.dataset.k2EstimatorInFlight = 'false';\n    }\n  }\n\n  function initK2ShippingEstimator(forceRun) {\n    const roots = Array.from(document.querySelectorAll('[data-delivery-stock-fee]'));\n\n    console.error('[K2 shipping ASSET] Delivery blocks found:', roots.length);\n\n    if (!roots.length) {\n      return Promise.resolve({\n        ok: false,\n        reason: 'No [data-delivery-stock-fee] blocks found',\n        version: window.K2ShippingAssetVersion\n      });\n    }\n\n    const jobs = roots.map(function(root) {\n      return estimateShipping(root, Boolean(forceRun));\n    });\n\n    return Promise.allSettled(jobs).then(function(results) {\n      return {\n        ok: true,\n        version: window.K2ShippingAssetVersion,\n        blocks: roots.length,\n        estimateText: document.querySelector('[data-pdp-shipping-estimate]')?.textContent.trim(),\n        lastResult: window.K2ShippingLastResult || null,\n        lastError: window.K2ShippingLastError ? String(window.K2ShippingLastError) : null,\n        jobs: results,\n        dataset: { ...roots[0].dataset }\n      };\n    });\n  }\n\n  window.K2RunShippingEstimator = function(forceRun) {\n    return initK2ShippingEstimator(Boolean(forceRun));\n  };\n\n  setTimeout(function() {\n    initK2ShippingEstimator(false);\n  }, 700);\n\n  setTimeout(function() {\n    initK2ShippingEstimator(false);\n  }, 1800);\n\n  setTimeout(function() {\n    initK2ShippingEstimator(false);\n  }, 3500);\n\n  document.addEventListener('change', function(event) {\n    if (\n      event.target.matches('[name=\"id\"]') ||\n      event.target.matches('select') ||\n      event.target.matches('input[type=\"radio\"]')\n    ) {\n      setTimeout(function() {\n        window.K2ShippingRateCache = {};\n        initK2ShippingEstimator(true);\n      }, 500);\n    }\n  });\n})();"],
  "mappings": "CAAC,UAAW,CACV,OAAO,uBAAyB,MAChC,QAAQ,KAAK,uCAAuC,EAEpD,MAAM,MAAQ,mCACR,YAAc,8BACd,YAAc,UAEd,uBAAyB,GAEzB,SAAW,CACf,aAAc,KACd,YAAa,KACb,OAAQ,QACR,KAAM,gBACR,EAEA,OAAO,oBAAsB,OAAO,qBAAuB,CAAC,EAE5D,SAAS,sBAAsB,KAAM,CACnC,MAAM,MAAQ,CAAC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