PageSourceSearch

https://www.micromedex.com/hubfs/hub_generated/template_assets/1/1…/1790625969640/template_main.min.js

js micromedex.com collected 2026-10-02 06:37:42 UTC 3,066 bytes, 2 lines download raw bytes

1window.addEventListener("load",function(){document.body.classList.add("window-loaded")}),document.addEventListener("DOMContentLoaded",()=>{const SKIP=new Set(["SCRIPT","STYLE","CODE","PRE","TEXTAREA","INPUT"]),OPEN_PUNCT=/[\s\(\[\{‒–—-]/;function smarten(s){if(!s||!/['"]/.test(s))return s;let out="";for(let i=0;i<s.length;i++){const ch=s[i],prev=s[i-1]||"",next=s[i+1]||"";if('"'===ch){out+=0===i||OPEN_PUNCT.test(prev)?"“":"”";continue}if("'"===ch){const prevWord=/\p{L}|\p{N}/u.test(prev),nextWord=/\p{L}|\p{N}/u.test(next);if(prevWord&&nextWord){out+="’";continue}if((0===i||OPEN_PUNCT.test(prev))&&/\d/.test(next)){out+="’";continue}if((0===i||OPEN_PUNCT.test(prev))&&nextWord){out+="‘";continue}out+="’";continue}out+=ch}return out}function walk(node){if(node.nodeType===Node.TEXT_NODE){const t=node.nodeValue,s=smarten(t);return void(s!==t&&(node.nodeValue=s))}if(node.nodeType===Node.ELEMENT_NODE&&!SKIP.has(node.nodeName))for(const c of node.childNodes)walk(c)}walk(document.body),new MutationObserver(muts=>{for(const m of muts)for(const n of m.addedNodes)if(n.nodeType===Node.TEXT_NODE){const s=smarten(n.nodeValue);s!==n.nodeValue&&(n.nodeValue=s)}else n.nodeType!==Node.ELEMENT_NODE||SKIP.has(n.nodeName)||walk(n)}).observe(document.body,{childList:!0,subtree:!0})}),window.addEventListener("message",event=>{const message=event.data;if(!message||"object"!=typeof message||"hsFormCallback"!==message.type||"onFormReady"!==message.eventName)return;if(!window.CSS||"function"!=typeof CSS.supports||!CSS.supports("selector(:has(*))"))return;const termsContainers=document.querySelectorAll("fieldset:has(> .hs_agree_to_terms.hs-agree_to_terms.hs-fieldtype-booleancheckbox.field.hs-form-field) > .hs-richtext");termsContainers.length&&termsContainers.forEach(termsContainer=>{if("true"===termsContainer.dataset.scrollIndicatorInitialized)return;termsContainer.dataset.scrollIndicatorInitialized="true";const scrollIndicator=document.createElement("button");scrollIndicator.type="button",scrollIndicator.className="hs-terms-scroll-indicator",scrollIndicator.setAttribute("aria-label","Scroll to read more"),scrollIndicator.innerHTML="&#8595;",termsContainer.appendChild(scrollIndicator);const updateScrollIndicator=()=>{const hasOverflow=termsContainer.scrollHeight>termsContainer.clientHeight+1,isAtBottom=termsContainer.scrollTop+termsContainer.clientHeight>=termsContainer.scrollHeight-2;scrollIndicator.classList.toggle("is-hidden",!hasOverflow||isAtBottom)};if(scrollIndicator.addEventListener("click",()=>{termsContainer.scrollBy({top:Math.round(.75*termsContainer.clientHeight),behavior:"smooth"})}),termsContainer.addEventListener("scroll",updateScrollIndicator,{passive:!0}),"ResizeObserver"in window){new ResizeObserver(updateScrollIndicator).observe(termsContainer)}else window.addEventListener("resize",updateScrollIndicator);requestAnimationFrame(updateScrollIndicator)})});
2//# sourceURL=https://45739980.fs1.hubspotusercontent-na1.net/hubfs/45739980/hub_generated/template_assets/1/172866890817/1790625969640/template_main.js

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.