PageSourceSearch

https://www.schwinnfitness.com/cdn/shop/t/18/assets/chargeafter-apply.js?v=173794851713234309191773174636

js schwinnfitness.com collected 2026-09-25 18:51:19 UTC 2,323 bytes, 2 lines download raw bytes

1(()=>{"use strict";const config=window.ChargeAfterConfig||{},CA_CONFIG={publicKey:config.publicKey||"",environment:config.environment||"sandbox"};if(!CA_CONFIG.publicKey){console.warn("ChargeAfter: Public Key is missing in Theme Settings.");return}const BUTTON_SELECTORS='.chargeafter-apply-btn, .chargeafter-apply-btn .btn, .chargeafter-apply-btn button, .chargeafter-apply-btn a, a[href="#apply-now"]',setupApplyButtons=()=>{const buttons=document.querySelectorAll(BUTTON_SELECTORS);buttons.length&&buttons.forEach(button=>{button.addEventListener("click",e=>{if(e.preventDefault(),typeof window.ChargeAfter<"u"&&window.ChargeAfter.payments?.present){const presentConfig={preferences:{language:"En"},currency:"USD"};CA_CONFIG.storeId&&(presentConfig.storeId=CA_CONFIG.storeId),window.ChargeAfter.payments.present("apply",presentConfig)}else{console.error("ChargeAfter Error: SDK failed to load or initialize. It may be blocked by the browser.");const fallbackUrl=button.getAttribute("href");fallbackUrl&&fallbackUrl!=="#"&&!fallbackUrl.startsWith("#")?window.location.href=fallbackUrl:alert("Our financing application is currently unavailable, possibly due to a browser ad-blocker. Please disable it and refresh, or contact support.")}})})},loadChargeAfterSDK=()=>{if(!document.querySelector(BUTTON_SELECTORS))return;if(typeof window.ChargeAfter<"u"){setupApplyButtons();return}const sdkUrl=CA_CONFIG.environment==="production"?"https://cdn.chargeafter.com/web/v2/chargeafter.min.js":"https://cdn-sandbox.ca-dev.co/web/v2/chargeafter.min.js",script=document.createElement("script");script.src=sdkUrl,script.async=!0,script.onload=()=>{window.ChargeAfter&&window.ChargeAfter.init?window.ChargeAfter.init({apiKey:CA_CONFIG.publicKey,environment:CA_CONFIG.environment,onLoaded:setupApplyButtons}):(console.error("ChargeAfter Error: The SDK script loaded, but window.ChargeAfter.init is missing."),setupApplyButtons())},script.onerror=()=>{console.error("ChargeAfter Error: Failed to load the SDK script completely (network error or blocked)."),setupApplyButtons()},document.head.appendChild(script)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",loadChargeAfterSDK):loadChargeAfterSDK()})();
2//# sourceMappingURL=/cdn/shop/t/18/assets/chargeafter-apply.js.map?v=173794851713234309191773174636

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.