1function checkCartonQuantity(){const detailItems=document.querySelectorAll("li.sf-book-details__custom");if(!detailItems.length)return!1;const cartonItem=Array.from(detailItems).find(li=>{const strong=li.querySelector("strong");return strong&&strong.textContent.trim().toLowerCase().startsWith("carton quantity")});if(!cartonItem)return!1;const fullText=cartonItem.textContent||"",strongEl=cartonItem.querySelector("strong"),valueText=strongEl?fullText.replace(strongEl.textContent,"").trim():fullText.trim(),quantity=parseInt(valueText,10);if(quantity===0||quantity===1){const addToCartWrapper=document.querySelector(".lightly-spaced-row.not-in-quickbuy");if(!addToCartWrapper)return!1;addToCartWrapper.style.display="none",document.querySelector("#sf-digital-only-message")||addToCartWrapper.insertAdjacentHTML("afterend",` 2 <p id="sf-digital-only-message" style="padding: 12px 0; font-size: 17px;"> 3 <strong>Available through ebook retailers and used bookstores</strong> 4 </p> 5 `)}return!0}if(!checkCartonQuantity()){const cartonObserver=new MutationObserver(()=>{checkCartonQuantity()&&cartonObserver.disconnect()});cartonObserver.observe(document.body,{childList:!0,subtree:!0})}function replaceAuthorImage(){const img=document.querySelector(".author-bios img");return img?(img.src="https://cdn.shopify.com/s/files/1/0627/8532/3085/files/Gregoire_Sheila_Wray.jpg?v=1776674741",img.srcset="",!0):!1}const allowedIds=[7490359984205,7490354937933];if(window.productData&&allowedIds.includes(window.productData.id)&&!replaceAuthorImage()){const imageObserver=new MutationObserver(()=>{replaceAuthorImage()&&imageObserver.disconnect()});imageObserver.observe(document.body,{childList:!0,subtree:!0})} 6//# sourceMappingURL=/cdn/shop/t/4/assets/supadu.js.map?v=64380853606971823571778262293
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.