(function(n){var t=!1,r,i;typeof define=="function"&&define.amd&&(define(n),t=!0);typeof exports=="object"&&(module.exports=n(),t=!0);t||(r=window.Cookies,i=window.Cookies=n(),i.noConflict=function(){return window.Cookies=r,i})})(function(){function n(){for(var n=0,r={},t,i;n1){f=n({path:"/"},r.defaults,f);typeof f.expires=="number"&&(c=new Date,c.setMilliseconds(c.getMilliseconds()+f.expires*864e5),f.expires=c);f.expires=f.expires?f.expires.toUTCString():"";try{o=JSON.stringify(u);/^[\{\[]/.test(o)&&(u=o)}catch(w){}u=i.write?i.write(u,t):encodeURIComponent(String(u)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent);t=encodeURIComponent(String(t));t=t.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent);t=t.replace(/[\(\)]/g,escape);l="";for(s in f)f[s]&&(l+="; "+s,f[s]!==!0)&&(l+="="+f[s]);return document.cookie=t+"="+u+l}t||(o={});for(var y=document.cookie?document.cookie.split("; "):[],p=/(%[0-9A-Z]{2})+/g,a=0;a>>0,t=Number(arguments[1])||0;for(t=t<0?Math.ceil(t):Math.floor(t),t<0&&(t+=i);t-1){n.preventDefault();var r=n.keyCode===i.down||n.keyCode===i.right?1:-1,e=f.filter(":focus").parent("li").index()+r;u.eq(e%u.length).find(t).focus()}});n(window).scroll(function(){n(this).scrollTop()>=300?n("#return-to-top").fadeIn(200):n("#return-to-top").fadeOut(200)});n("#return-to-top").click(function(){n("body,html").animate({scrollTop:0},500)});n(".hideme").click(function(){n(".tableOfContents, .hideme").hide();n(".showme").show()});n(".showme").click(function(){n(".tableOfContents, .hideme").show();n(".showme").hide()});n(".ePrivacyButton").click(function(){n(".privacyouterwrapper").hide("slow")});n('[data-toggle="popover"]').popover();n(".related-meds").click(function(t){var i=n(".related-meds-links"),r;return i.filter(":visible").length===0&&(r=n(this),r.trackCustomEvent("docRelatedMenu",t)),i.toggle(),!0});n("#segmenter").modal("show");n(".search_bar").click(function(){n(".container-fluid.content").hasClass("contracted")?(n(".container-fluid.content").toggleClass("contracted"),n(".search-main").toggle(),n(".anchor").toggleClass("anchorWithSearchExpanded"),n(".affix").toggleClass("affixWithSearchExpanded"),e.preventDefault()):(n(".container-fluid.content").toggleClass("contracted"),n(".search-main").toggle(),n(".anchor").toggleClass("anchorWithSearchExpanded"),n(".affix").toggleClass("affixWithSearchExpanded"),e.preventDefault())});r=o();r.isIos&&r.Major<10&&n(".sidebar-arrow,.sticky").hide()})}(jQuery,NAME),function(n){n.fn.trackCustomEvent=function(n,t){if(n&&n.trim()!==""){var i=this.get(0),r={event:"emc.custom."+n,"gtm.element":i,"gtm.elementClasses":i.className||"","gtm.elementId":i.id||"","gtm.elementTarget":i.target||"","gtm.elementUrl":i.href||i.action||""};typeof t!="undefined"&&(r["gtm.originalEvent"]=t);(window.dataLayer||[]).push(r)}}}(jQuery);$(function(){function u(n){var t=r.exec(n);return t?!0:!1}function f(n,t){var o,r,f,e;if(u(n))return!0;if(o=i.exec(n),r=o&&o[2]||"",r.length===0)return!1;for(f=0;f");r.show();var o=r.find("li"),s=o.outerHeight(),u="";for(t=0;t";r.html(u);i.attr("aria-expanded","true");f=parseInt(r.css("padding-top").replace("px",""),10)+parseInt(r.css("padding-bottom").replace("px",""),10);e=n.length===0?i.outerHeight():f+s*g;r.css({height:e+"px"})}function tt(i,r){var u=n.map(i.toUpperCase().split(""),function(n){return n===" "?"space":n}).join(" "),e=r.length,o=e+(e>1?" suggestions are":" suggestion is")+" available beginning with "+u+". "+y;r.length===0&&(o="No suggestions begin with "+u+".");t.access.announcements(f,o)}function it(n){var t=n.getBoundingClientRect(),i=t.top,r=t.height;n=n.parentNode;do{if((t=n.getBoundingClientRect(),i<=t.bottom==!1)||i+r<=t.top)return!1;n=n.parentNode}while(n!==document.body);return i<=document.documentElement.clientHeight}function s(){return r.find('[aria-selected="true"]')}function rt(n){var r,u;if(n.length===0){t.access.announcements(f,"No suggestion selected. "+y);return}r=n.get(0);it(r)||r.scrollIntoView();u="selectedOption";n.attr("aria-selected","true").attr("id",u);i.attr("aria-activedescendant",u)}function b(n){i.val(v=n);t.access.announcements(f,"Suggestion accepted. Submit search to retrieve matching medicines.")}function l(){i.attr("aria-activedescendant","");s().attr("aria-selected","false").attr("id","")}function e(){l();r.hide();i.attr("aria-expanded","false")}function ut(){o>0&&clearTimeout(o);var t=d*3/Math.max(Math.min(i.val().length,3),1);o=setTimeout(function(){var t,r;(o=0,a!==i.val())&&(t=i.val(),a=t,t.length===0?(w([]),e()):(r=encodeURI(t),n.getJSON(nt+"?prefix="+r,function(n){w(n);c();n.length===0&&e();tt(t,n)}).fail(function(n,t,i){console.log("getJSON request failed! "+t+".\n"+i)})))},t)}function ft(n){var t=s(),i=null;n===u.down&&(i=t.length!==0?t.next("li"):r.children().eq(0));n===u.up&&(i=t.length!==0?t.prev("li"):r.children().eq(-1));l();i&&rt(i)}function et(){n(document).on("click",function(u){var f=i.add(r);if(t.general.senseClickOutside(n(u.target),f)){e();return}});n(window).on("resize",function(){c()});i.on("keyup",function(n){var t=n.which||n.keyCode||n.charCode;t!==u.up&&t!==u.down&&t!==u.tab&&t!==u.enter&&t!==u.esc&&t!==u.left&&t!==u.right&&ut()});i.on("keydown",function(n){var o=n.which||n.keyCode||n.charCode,h;if(o===u.tab||o===u.esc){e();return}if(o===u.enter){r.is(":visible")&&(s().length!==0?(n.preventDefault(),h=s().text(),i.val(h),b(h)):t.access.announcements(f,"Suggestions collapsed. Press ENTER to search for "+i.val()));e();return}if((o===u.up||o===u.down)&&r.is(":visible")){n.preventDefault();ft(o);return}});r.on("click",function(n){var t=n.target.textContent;b(t);e();i.focus()});r.hover(function(){l()});k.submit(function(r){var u=i.val(),e,o;if(!u||u.length===0||n.trim(u)===""){r.preventDefault();t.access.announcements(f,"Search prevented. You did not provide any search text.");return}if(e=256,u.length>e){r.preventDefault();t.access.announcements(f,"Sorry, your search is too long and must be less than "+e);return}u===v&&(o='"'+n.map(u.split(""),function(n){return n==='"'?'""':n}).join("")+'"',i.val(o))})}function ot(){et();c()}var h=n('[data-widget="search-with-suggestions"]'),k=n(".search-main form"),i=h.find("#searchField"),a="",v="",d=400,o=0,g=6,r=h.find("ul#suggestions"),f=h.find("[aria-live]"),u=t.keyboard,y="Use up and down arrows to review suggestions and enter to select. Continue typing to refine.",p='
  • ',nt="/emc/autosuggestion-js";ot()}(jQuery,NAME),function(n){n(function(){var i=5/1440,t=n("div.risk,div.rmmdir").filter(function(){return n(this).attr("data-hcp-selfcertify-cookie-key")}).attr("data-hcp-selfcertify-cookie-key"),r=n("a[href][data-target][data-hcp-mustcertify]"),u=function(r){var f=n(this),h,u,e,o,s;if(!f.data("userIsHcp")&&(h=f.attr("data-target"),h!=="")){r.preventDefault();r.stopPropagation();u=n(h);e=f.attr("data-ai-content-type");typeof e=="undefined"&&(e="");o=function(){u.off("click","button.btn-cancel",o);var n="hcp"+e+"Cancel";f.trackCustomEvent(n,r)};s=function(){f.data("userIsHcp",!0);u.modal("hide");u.off("click","button.btn-proceed",s);var n="hcp"+e+"Proceed";if(f.trackCustomEvent(n,r),Cookies.set(t,{confirmed:!0},{expires:i,path:"/"}),typeof Cookies.get(t)=="undefined"){alert("We were unable to set a cookie to confirm that you have declared yourself a healthcare professional. Please update your browser configuration to ensure it allows this site to set cookies.");return}f[0].click();setTimeout(function(){f.removeData("suppress-external-link-warning")},100)};u.on("click","button.btn-proceed",s);u.on("click","button.btn-cancel",o);u.modal("show");u.on("hide.bs.modal",function(){u.off("click","button.btn-proceed",s);u.off("click","button.btn-cancel",o)})}};r.data("suppress-external-link-warning",1).on("click",u)})}(jQuery),function(){"use strict";if(navigator.userAgent.match(/IEMobile\/10\.0/)){var n=document.createElement("style");n.appendChild(document.createTextNode("@-ms-viewport{width:auto!important}"));document.querySelector("head").appendChild(n)}}()