1(function(){var FIT_URL="/pages/sim-fit-check",RULER_SVG='<svg viewBox="0 0 24 24" fill="none" stroke="#FE5000" stroke-width="2" width="18" height="18"><path d="M21.3 8.7l-6-6a1 1 0 0 0-1.4 0l-11 11a1 1 0 0 0 0 1.4l6 6a1 1 0 0 0 1.4 0l11-11a1 1 0 0 0 0-1.4z"/><path d="M7.5 10.5l1.5 1.5"/><path d="M10.5 7.5l1.5 1.5"/><path d="M13.5 4.5l1.5 1.5"/></svg>',ARROW_SVG='<svg viewBox="0 0 24 24" fill="none" stroke="#FE5000" stroke-width="2" width="18" height="18" style="flex-shrink:0;"><line x1="5" y1="12" x2="19" y2="12"/><polyline points="12 5 19 12 12 19"/></svg>';function card(variant){var a=document.createElement("a");return a.className="bn-fitcheck-card bn-fitcheck-card--"+variant,a.href=FIT_URL,a.innerHTML='<span class="bn-fitcheck-card__pip">'+RULER_SVG+'</span><span class="bn-fitcheck-card__copy"><span class="bn-fitcheck-card__title">Will it fit? Check your space</span><span class="bn-fitcheck-card__sub">3 measurements → the right enclosure, in 30 seconds</span></span>'+ARROW_SVG,a}function initCollection(){try{if(!/\/collections\/(simulators|simulator-bundles)(\/|$)/.test(location.pathname))return;document.querySelectorAll("a").forEach(function(a){/check\s+your\s+space/i.test(a.textContent||"")&&(a.href=FIT_URL)})}catch(err){}}function initPdp(){try{var title=document.querySelector(".bpdp-title, #MainContent h1");if(!title||!/simulator/i.test(title.textContent||"")||document.querySelector(".bn-fitcheck-link"))return;var variants=document.querySelector(".bpdp-variants"),anchor=document.querySelector(".bn-installments")||document.querySelector(".bpdp-price");if(!variants&&!anchor)return;var a=document.createElement("a");a.className="bn-fitcheck-link",a.href=FIT_URL,a.innerHTML=RULER_SVG+" Not sure which size? Check your space",variants?variants.insertAdjacentElement("beforebegin",a):anchor&&anchor.insertAdjacentElement("afterend",a)}catch(err){}}function initMegaMenu(){try{var panel=document.querySelector('[data-mega-panel="bn-simulators"], [data-mega-panel="simulators"], [data-mega-panel="SIMULATOR"], [data-mega-panel*="imulator"]');if(!panel||panel.querySelector(".bn-fitcheck-card--menu"))return;var container=panel.querySelector(".container")||panel,linkCol=container.querySelector(".mega-menu-links, .mega-menu-col");if(linkCol)linkCol.appendChild(card("menu"));else{var footer=container.querySelector(".mega-menu-footer");footer?footer.insertAdjacentElement("beforebegin",card("menu")):container.appendChild(card("menu"))}}catch(err){}}function initAll(){initCollection(),initPdp(),initMegaMenu()}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",initAll):initAll(),document.addEventListener("shopify:section:load",initAll)})(); 2//# sourceMappingURL=/cdn/shop/t/127/assets/bushnell-fitcheck.js.map?v=163253238342203939681790092425
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.