jQuery(function(n){var s,t,a=n(window),i=n(document.body);function e(){t.css("width","auto"),t.each(function(){var e=n(this),t=e.children().width()+1;e.css("width",t+"px")});var e=e||s.map(function(e){if("absolute"===n(this).css("position"))return e+1}).toArray();n.each(e,function(e,t){var a=n(s[t-1]),t=n(s[t]),e=(a.css({position:"absolute",zIndex:s.length-e,paddingRight:0}),+a.css("padding-top").replace("px","")+a.height());t.css({paddingTop:e+"px",width:"auto"}),a.width()>t.width()&&t.css({width:a.width()+"px"})})}n("a._blank").prop("target","_blank"),n("a._top").prop("target","_top"),n("a._new").click(function(e){return window.open(this.href,"_new","status=0,toolbar=0,location=0,menubar=0,resizable=1,scrollbars=1,height="+.8*a.height()+",width="+.8*a.width()),!1}),n("a._disabled").click(function(e){return!1}),n("a[href*=#]:not([href=#])").click(function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var e=n(this.hash);if((e=(e=e.length?e:n("[name="+this.hash.slice(1)+"]")).length?e:n(document.body)).length)return n("html,body").animate({scrollTop:e.offset().top},400,"swing",function(){"body"!=this.tagName.toLowerCase()||e.hasClass("nofollow")||(e.prop("name")&&e.prop("hash")!=="#"+e.prop("name")?window.location.hash=e.prop("name"):window.location.hash="")}),!1}}),n("#navprimary a + .menu, #navprimary .menu > ul > li > a").each(function(){var e=n(this),t="A"==e.get(0).tagName?e:e.prev();t.on("focus",function(e){t.on("keydown",function(e){"Escape"===e.key&&t.blur()})}),t.on("blur",function(e){t.off("keydown")})}),n("#sitemap").click(function(e){return i.removeClass("opennav"),e.stopImmediatePropagation(),!1}),n("#navsitemap").click(function(e){return e.stopImmediatePropagation(),!1}),n("#navsitemap a").each(function(){n(this).click(function(e){return n(this).toggleClass("open"),e.stopImmediatePropagation(),!1}),n(this).children().click(function(e){return window.location.href=n(this).parent().prop("href"),e.stopImmediatePropagation(),!1})}).length&&(n("#burger").length||n("#logo .widthwrapper").append(''),n("#burger").click(function(e){return i.toggleClass("opennav"),e.stopImmediatePropagation(),!1})),s=n("#navsitemap > ul > li"),t=n("#navsitemap ul.level1 > li > a"),e(),n(window).on("resize",e),n(window).on("load",e)}),(r=>{r(function(){var l;r("table").wrap('

'),r('iframe[src*="vimeo"]:not(class),iframe[src*="youtube"]:not(class),iframe[data-src*="vimeo"]:not(class),iframe[data-src*="youtube"]:not(class)').wrap('
').after(''),r('iframe[class*="16x9"]').wrap('
').after(''),r('iframe[class*="4x3"]').wrap('
').after(''),r('iframe[class*="1x1"]').wrap('
').after(''),r("#content a:first-child:last-child, \t\t\tstrong:first-child:last-child, \t\t\tem:first-child:last-child, \t\t\tu:first-child:last-child, \t\t\tsmall:first-child:last-child, \t\t\tbig:first-child:last-child").each(function(){var e=r(this),t=e.parent();if(null==e.prop("previousSibling")&&null==e.prop("nextSibling"))switch(e.addClass("block"),t.prop("tagName")){case"LI":e.css("display","block");break;case"H1":case"H2":case"H3":case"H4":t.addClass("block-"+e.prop("tagName").toLowerCase());default:e.css("display","inline-block")}}),r("form.styled fieldset > select").change(function(){var e=r(this);e.val().length?e.removeClass("empty").addClass("filled"):e.addClass("empty").removeClass("filled")}).addClass("empty").removeClass("filled").find('option:checked[value!=""]').parent().removeClass("empty").addClass("filled"),r("form.styled fieldset > input").change(function(){var e=r(this);e.val().length?e.removeClass("empty").addClass("filled"):e.addClass("empty").removeClass("filled")}).addClass("filled").removeClass("empty").filter(function(){return!this.value.length}).removeClass("filled").addClass("empty"),r("form.styled fieldset > textarea").change(function(){var e=r(this);e.val().length?e.removeClass("empty").addClass("filled"):e.addClass("empty").removeClass("filled")}).addClass("filled").removeClass("empty").filter(function(){return!this.value.length}).removeClass("filled").addClass("empty"),r(".collapse").each(function(e){var t=r(this),a=t.children(":first-child"),n=t.children(":last-child");a.attr("id","collapseLabel"+e).append(''),n.wrap(''),a.children("button").click(function(e){var t=r(this);return"true"===t.attr("aria-expanded")?t.attr("aria-expanded","false").parents(".collapse").removeClass("open").find(".collapsecontent").attr("aria-hidden","true"):t.attr("aria-expanded","true").parents(".collapse").addClass("open").find(".collapsecontent").attr("aria-hidden","false"),!1}),t.click(function(){r(this).find("button").trigger("click")})}),(l=r("h2.tabs,h3.tabs,h4.tabs")).each(function(e){var t,a=r(this),n=a.next(),s=a.text();if(a.wrapInner('').prepend(""+s+""),a.children().click(function(e){return r(this).attr("aria-expanded","true").parent().addClass("active").siblings().filter(function(){return r(this).hasClass("tabs")&&r(this).hasClass("active")}).removeClass("active").children().attr("aria-expanded","false"),!1}),l.length==e+1&&(t=r('
'),a.before(t)),e||a.addClass("active").children().attr("aria-expanded","true"),n.length&&!n.hasClass("tabscontent")){for(var i=r('
'),o=[a];n.length&&!n.hasClass("element_shade")&&!n.hasClass("tabs")&&!((e,t)=>(e=e.get(0).tagName.match(/^[hH](\d)$/),t=t.get(0).tagName.match(/^[hH](\d)$/),e&&2==e.length&&t&&2==t.length&&t[1]<=e[1]))(a,n);)o.push(n),n=n.next();r.each(o,function(e){e&&i.append(this)}),a.after(i)}l.length==e+1&&l.each(function(){var e=r(this).next();t.append(this),e.length&&e.hasClass("tabscontent")&&t.append(e)})}),r("div.tabs").each(function(e){var n=r(this),t=n.children().each(function(e){r(this).attr("role","tabpanel").attr("id","tabPanel"+e).attr("aria-labelledby","tabButton"+e).attr("tabindex","0")}),a=t.find("> :first-child"),s=(n.prepend('
').children().first().append(t),0),i=n.prepend('
').children().first().on("keydown",function(e){var t=i.find("a[role=tab]");39!==e.keyCode&&37!==e.keyCode||(t.eq(s).attr("tabindex",-1),39===e.keyCode?++s>=t.length&&(s=0):37===e.keyCode&&--s<0&&(s=t.length-1),t.eq(s).attr("tabindex",0).focus())});a.each(function(e){var t=r(this),a=r('
'),t=(a.children().attr("id","tabButton"+e).attr("href","#frame"+e).attr("aria-controls","tabPanel"+e).text(t.text()).click(function(e){var t=r(this.hash);if((t=t.length?t:r("[name="+this.hash.slice(1)+"]")).length)return r("html,body").animate({scrollTop:t.offset().top},400,"swing"),!1}),i.append(a),r('
"),t=(a.children().attr("href","#frame"+e).text(t.text()).on("click",function(e){var t=r(this.hash);if((t=t.length?t:r("[name="+this.hash.slice(1)+"]")).length)return r("html,body").animate({scrollTop:t.offset().top},400,"swing"),!1}),s.append(a),r(""));t.attr("name","frame"+e),n.prepend(t)}),n.find(".select-any-options :first-child, .select-any-wrapper :first-child").addClass("active"),n.find(".select-any-options a").on("click",function(e){var t=r(this),a=t.parent(),n=a.prevAll().length,t=t.parents(".select-any").find(".select-any-wrapper").removeClass("active").children().eq(n);t.length&&(t.siblings().removeClass("active"),t.addClass("active"),a.siblings().removeClass("active"),a.addClass("active"))});s.append('
View All
').children().last().children().first().on("click",function(e){var t=r(this),t=(t.parent().addClass("active").siblings().removeClass("active"),t.parents(".select-any").find(".select-any-wrapper").addClass("active").children().removeClass("active"),r(this.hash));if((t=t.length?t:r("[name="+this.hash.slice(1)+"]")).length)return r("html,body").animate({scrollTop:t.offset().top},400,"swing"),!1})}),r(".grid.compress").each(function(){var e=r('

See More

');e.children("a").click(function(e){e.preventDefault();e=r(this).parent().prev();e.hasClass("uncompress")?e.removeClass("compress"):e.addClass("uncompress")}),r(this).after(e)}),r(".expandwrapper").each(function(){var t=!1,e=r(this);e.on("mousedown",function(e){t=!0,r(this).css({cursor:"grabbing"})}),e.on("mouseup",function(e){t=!1,r(this).css({cursor:"grab"})}),e.on("mousemove",function(e){t&&(this.scrollLeft+=-3*e.originalEvent.movementX),this.scrollLeft?r(this).parent().addClass("scrolled"):r(this).parent().removeClass("scrolled")})})}),r(window).on("load",function(e){function a(e){var t=(e=r(e)).parent().height();e.css({height:t+"px",width:.58*t+"px"})}var t;r(".notmobile .videowrapper:first-child,.mobile .videowrapper.only-mobile").each(function(){var t,a=!1,e=r(this),n=(e.html(e.html().replace("\x3c!--","").replace("--\x3e","")),e.parent().attr("tabindex","0")),s=e.children()[0];r(window).on("bgvid.play",{v:s},function(e){e.data.v.play(),n.removeClass("paused")}),r(window).on("bgvid.pause",{v:s},function(e){e.data.v.pause(),n.addClass("paused")}),n.click(function(e){a=!0,s.paused?r(window).trigger("bgvid.play"):r(window).trigger("bgvid.pause")}).on("keydown",function(e){switch(e.keyCode){case 13:case 32:case 80:return r(this).trigger("click"),!1}}),r(window).scroll(function(e){void 0===t&&(t=setTimeout(function(){(e=>(e=e.getBoundingClientRect()).top .shape").each(function(){var e=r(this).parent().get(0);t.observe(e),a(this)}),r(document.body).addClass("load")})})(jQuery),jQuery(function(e){e("#content blockquote").prev().filter("h1,h2,h3").addClass("blockquote")}),jQuery(function(a){var e=a("[data-visible]");function t(){e.each(function(){var e,t=a(this);(e=(e=t).get(0).getBoundingClientRect()).top=t.data("carousel-count")?t.data("carousel",1):t.data("carousel",t.data("carousel")+1)).addClass("carousel"+t.data("carousel")),setTimeout(rotate,t.data("carousel-timeout"))},t.data("carousel-timeout")),1\t\t\t\t
\t\t\t\t\t\t\t\t
\t\t\t
'),h.append(e)),e.find("#modal-content")),g=e.find(".modal-controls"),b=e.find(".tabcontainer"),C=(a(t),e.click(o),e.find(".modal-close").click(o),1").children("span").click(function(e){e.stopImmediatePropagation();var t=s(this).parent().addClass("focus-return"),e=this.parentNode.hostname.match(/greenhouse\.io$/)?s('
').html('\t\t\t\t\t

You are now leaving Vir.bio

\t\t\t\t\t

\t\t\t\t\t\tPlease be aware that you are leaving the Vir-managed site and entering a site that is managed\t\t\t\t\t\tby Greenhouse, Vir’s online recruiting platform. For more information on the use of personal data\t\t\t\t\t\tand cookies by Greenhouse please see here. Please confirm if you\t\t\t\t\t\twish to proceed.\t\t\t\t\t

\t\t\t\t\t\t\t\t\t\t\t\t\t\t'):s('
').html('\t\t\t\t\t

You are now leaving Vir.bio

\t\t\t\t\t

\t\t\t\t\t\tYou are now leaving www.Vir.bio. Vir Biotechnology is not responsible for, nor does it control,\t\t\t\t\t\tendorse or guarantee any aspect of the site that you are about to visit. We encourage you to read\t\t\t\t\t\tthe various policies that govern the destination site.\t\t\t\t\t

\t\t\t\t\t\t\t\t\t\t\t\t\t\t');return s.when(n(e,0)).done(function(){s("#modal-content").find("a.continue").attr("href",t.attr("href")).attr("target",t.attr("target")).click(function(e){t.trigger("click"),o()})}),g.hide(),!1})}),(v=>{v(function(){var a,t,n,s,i,o,l,r,c,d=v(window),u=v(document.body);function e(){var e=s.offset().top-(u.hasClass("pinned")&&7622*a&&(t=setTimeout(function(){t=0,h()},100))}function p(e){c=c||setTimeout(function(){var e=l.filter(function(e){return!v(this).hasClass("nofollow")&&(v(this).offset().top