/gi,Ft=/([?&])_=[^&]*/,Wt=/^([w+.-]+:)(?://([^/?#:]*)(?::(d+)|)|)/,ct=Ie.fn.load,Pt={},It={},zt=”*/*”;try{Lt=e.href}catch(e){Lt=We.createElement(“a”),Lt.href=””,Lt=Lt.href}At=Wt.exec(Lt.toLowerCase())||[],Ie.fn.load=function(t,n,o){if(“string”!=typeof t&&ct)return ct.apply(this,arguments);if(!this.length)return this;var s,e,d,r=this,l=t.indexOf(” “);return 0<=l&&(s=t.slice(l,t.length),t=t.slice(0,l)),Ie.isFunction(n)?(o=n,n=te):n&&”object”==typeof n&&(e=”POST”),Ie.ajax({url:t,type:e,dataType:”html”,data:n,complete:function(e,t){o&&r.each(o,d||[e.responseText,t,e])}}).done(function(e){d=arguments,r.html(s?Ie(“

“).append(e.replace(Bt,””)).find(s):e)}),this},Ie.each([“ajaxStart”,”ajaxStop”,”ajaxComplete”,”ajaxError”,”ajaxSuccess”,”ajaxSend”],function(e,t){Ie.fn[t]=function(e){return this.on(t,e)}}),Ie.each([“get”,”post”],function(e,t){Ie[t]=function(n,o,s,i){return Ie.isFunction(o)&&(i=i||s,s=o,o=te),Ie.ajax({type:t,url:n,data:o,success:s,dataType:i})}}),Ie.extend({getScript:function(e,t){return Ie.get(e,te,t,”script”)},getJSON:function(e,t,n){return Ie.get(e,t,n,”json”)},ajaxSetup:function(e,t){return t?we(e,Ie.ajaxSettings):(t=e,e=Ie.ajaxSettings),we(e,t),e},ajaxSettings:{url:Lt,isLocal:Mt.test(At[1]),global:!0,type:”GET”,contentType:”application/x-www-form-urlencoded; charset=UTF-8″,processData:!0,async:!0,accepts:{xml:”application/xml, text/xml”,html:”text/html”,text:”text/plain”,json:”application/json, text/javascript”,”*”:zt},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:”responseXML”,text:”responseText”},converters:{“* text”:ee.String,”text html”:!0,”text json”:Ie.parseJSON,”text xml”:Ie.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:Te(Pt),ajaxTransport:Te(It),ajax:function(s,p){function c(e,a,r,p){var i,c,s,f,u,g=a;2===j||(j=2,N&&clearTimeout(N),T=te,d=p||””,L.readyState=0e||304===e?(S.ifModified&&(u=L.getResponseHeader(“Last-Modified”),u&&(Ie.lastModified[b]=u),u=L.getResponseHeader(“Etag”),u&&(Ie.etag[b]=u)),304===e?(g=”notmodified”,i=!0):(i=ke(S,f),g=i.state,c=i.data,s=i.error,i=!s)):(s=g,(!g||e)&&(g=”error”,0>e&&(e=0))),L.status=e,L.statusText=(a||g)+””,i?n.resolveWith(l,[c,g,L]):n.rejectWith(l,[L,g,s]),L.statusCode(E),E=te,C&&m.trigger(“ajax”+(i?”Success”:”Error”),[L,S,i?c:s]),o.fireWith(l,[L,g]),C&&(m.trigger(“ajaxComplete”,[L,S]),–Ie.active||Ie.event.trigger(“ajaxStop”)))}”object”==typeof s&&(p=s,s=te),p=p||{};var b,d,e,T,N,h,C,i,S=Ie.ajaxSetup({},p),l=S.context||S,m=l!==S&&(l.nodeType||l instanceof Ie)?Ie(l):Ie.event,n=Ie.Deferred(),o=Ie.Callbacks(“once memory”),E=S.statusCode||{},r={},t={},j=0,u=”canceled”,L={readyState:0,setRequestHeader:function(e,n){if(!j){var a=e.toLowerCase();e=t[a]=t[a]||e,r[e]=n}return this},getAllResponseHeaders:function(){return 2==j?d:null},getResponseHeader:function(t){var n;if(2==j){if(!e)for(e={};n=Ht.exec(d);)e[n[1].toLowerCase()]=n[2];n=e[t.toLowerCase()]}return n===te?null:n},overrideMimeType:function(e){return j||(S.mimeType=e),this},abort:function(e){return e=e||u,T&&T.abort(e),c(0,e),this}};if(n.promise(L),L.success=L.done,L.error=L.fail,L.complete=o.add,L.statusCode=function(e){if(e){if(2>j)for(var t in e)E[t]=[E[t],e[t]];else t=e[L.status],L.always(t)}return this},S.url=((s||S.url)+””).replace(Dt,””).replace(Ot,At[1]+”//”),S.dataTypes=Ie.trim(S.dataType||”*”).toLowerCase().split(ze),null==S.crossDomain&&(h=Wt.exec(S.url.toLowerCase())||!1,S.crossDomain=h&&h.join(“:”)+(h[3]?””:”http:”===h[1]?80:443)!==At.join(“:”)+(At[3]?””:”http:”===At[1]?80:443)),S.data&&S.processData&&”string”!=typeof S.data&&(S.data=Ie.param(S.data,S.traditional)),Ne(Pt,S,p,L),2==j)return L;if(C=S.global,S.type=S.type.toUpperCase(),S.hasContent=!_t.test(S.type),C&&0==Ie.active++&&Ie.event.trigger(“ajaxStart”),!S.hasContent&&(S.data&&(S.url+=(qt.test(S.url)?”&”:”?”)+S.data,delete S.data),b=S.url,!1===S.cache)){var y=Ie.now(),x=S.url.replace(Ft,”$ 1_=”+y);S.url=x+(x===S.url?(qt.test(S.url)?”&”:”?”)+”_=”+y:””)}for(i in(S.data&&S.hasContent&&!1!==S.contentType||p.contentType)&&L.setRequestHeader(“Content-Type”,S.contentType),S.ifModified&&(b=b||S.url,Ie.lastModified[b]&&L.setRequestHeader(“If-Modified-Since”,Ie.lastModified[b]),Ie.etag[b]&&L.setRequestHeader(“If-None-Match”,Ie.etag[b])),L.setRequestHeader(“Accept”,S.dataTypes[0]&&S.accepts[S.dataTypes[0]]?S.accepts[S.dataTypes[0]]+(“*”===S.dataTypes[0]?””:”, “+zt+”; q=0.01″):S.accepts[“*”]),S.headers)L.setRequestHeader(i,S.headers[i]);if(!S.beforeSend||!1!==S.beforeSend.call(l,L,S)&&2!=j){for(i in u=”abort”,{success:1,error:1,complete:1})L[i](S[i]);if(T=Ne(It,S,p,L),!T)c(-1,”No Transport”);else{L.readyState=1,C&&m.trigger(“ajaxSend”,[L,S]),S.async&&0j)c(-1,e);else throw e}}return L}return L.abort()},active:0,lastModified:{},etag:{}});var Rt=[],Xt=/?/,$ t=/(=)?(?=&|$ )|??/,Ut=Ie.now();Ie.ajaxSetup({jsonp:”callback”,jsonpCallback:function(){var e=Rt.pop()||Ie.expando+”_”+Ut++;return this[e]=!0,e}}),Ie.ajaxPrefilter(“json jsonp”,function(t,n,a){var e,o,s,d=t.data,r=t.url,p=!1!==t.jsonp,c=p&&$ t.test(r),u=p&&!c&&”string”==typeof d&&!(t.contentType||””).indexOf(“application/x-www-form-urlencoded”)&&$ t.test(d);if(“jsonp”===t.dataTypes[0]||c||u)return e=t.jsonpCallback=Ie.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,o=ee[e],c?t.url=r.replace($ t,”$ 1″+e):u?t.data=d.replace($ t,”$ 1″+e):p&&(t.url+=(Xt.test(r)?”&”:”?”)+t.jsonp+”=”+e),t.converters[“script json”]=function(){return s||Ie.error(e+” was not called”),s[0]},t.dataTypes[0]=”json”,ee[e]=function(){s=arguments},a.always(function(){ee[e]=o,t[e]&&(t.jsonpCallback=n.jsonpCallback,Rt.push(e)),s&&Ie.isFunction(o)&&o(s[0]),s=o=te}),”script”}),Ie.ajaxSetup({accepts:{script:”text/javascript, application/javascript, application/ecmascript, application/x-ecmascript”},contents:{script:/javascript|ecmascript/},converters:{“text script”:function(e){return Ie.globalEval(e),e}}}),Ie.ajaxPrefilter(“script”,function(e){e.cache===te&&(e.cache=!1),e.crossDomain&&(e.type=”GET”,e.global=!1)}),Ie.ajaxTransport(“script”,function(e){if(e.crossDomain){var t,n=We.head||We.getElementsByTagName(“head”)[0]||We.documentElement;return{send:function(a,o){t=We.createElement(“script”),t.async=”async”,e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(s,a){(a||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,n&&t.parentNode&&n.removeChild(t),t=te,a||o(200,”success”))},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(0,1)}}}});var Vt,Jt=!!ee.ActiveXObject&&function(){for(var e in Vt)Vt[e](0,1)},Yt=0;Ie.ajaxSettings.xhr=ee.ActiveXObject?function(){return!this.isLocal&&Se()||Ee()}:Se,function(e){Ie.extend(Ie.support,{ajax:!!e,cors:!!e&&”withCredentials”in e})}(Ie.ajaxSettings.xhr()),Ie.support.ajax&&Ie.ajaxTransport(function(t){if(!t.crossDomain||Ie.support.cors){var n;return{send:function(a,s){var o,e,d=t.xhr();if(t.username?d.open(t.type,t.url,t.async,t.username,t.password):d.open(t.type,t.url,t.async),t.xhrFields)for(e in t.xhrFields)d[e]=t.xhrFields[e];t.mimeType&&d.overrideMimeType&&d.overrideMimeType(t.mimeType),t.crossDomain||a[“X-Requested-With”]||(a[“X-Requested-With”]=”XMLHttpRequest”);try{for(e in a)d.setRequestHeader(e,a[e])}catch(e){}d.send(t.hasContent&&t.data||null),n=function(i,a){var e,r,p,c,l;try{if(n&&(a||4===d.readyState))if(n=te,o&&(d.onreadystatechange=Ie.noop,Jt&&delete Vt[o]),a)4!==d.readyState&&d.abort();else{e=d.status,p=d.getAllResponseHeaders(),c={},l=d.responseXML,l&&l.documentElement&&(c.xml=l);try{c.text=d.responseText}catch(e){}try{r=d.statusText}catch(e){r=””}e||!t.isLocal||t.crossDomain?1223===e&&(e=204):e=c.text?200:404}}catch(e){a||s(-1,e)}c&&s(e,r,c,p)},t.async?4===d.readyState?setTimeout(n,0):(o=++Yt,Jt&&(Vt||(Vt={},Ie(ee).unload(Jt)),Vt[o]=n),d.onreadystatechange=n):n()},abort:function(){n&&n(0,1)}}}});var Gt,Qt,Kt=/^(?:toggle|show|hide)$ /,Zt=new RegExp(“^(?:([-+])=|)(“+o+”)([a-z%]*)$ “,”i”),en=/queueHooks$ /,tn=[He],nn={“*”:[function(t,n){var a,o,s=this.createTween(t,n),e=Zt.exec(n),d=s.cur(),r=+d||0,l=1,i=20;if(e){if(a=+e[2],o=e[3]||(Ie.cssNumber[t]?””:”px”),”px”!==o&&r){r=Ie.css(s.elem,t,!0)||a||1;do l=l||”.5″,r/=l,Ie.style(s.elem,t,r+o);while(l!=(l=s.cur()/d)&&1!=l&&–i)}s.unit=o,s.start=r,s.end=e[1]?r+(e[1]+1)*a:a}return s}]};Ie.Animation=Ie.extend(Le,{tweener:function(t,n){Ie.isFunction(t)?(n=t,t=[“*”]):t=t.split(” “);for(var a,o=0,s=t.length;o=a&&c<=b?’medium’:c>b?’large’:c=a&&c<=b?’medium’:c>b?’full’:c head’).append($ (”)),guideHook=’body’,guideWrap=$ (”,{id:b,title:e,href:’#’+b}),guideWrap.prependTo(guideHook)},AM.Master.prototype.generateElement=function(a,b,c){element=$ (‘<‘+b+’/>’,{class:c}),element.prependTo(a)},AM.Master.prototype.testEmail=function(){var a=document.newsletter.subscribe.value,b=/^([a-zA-Z0-9_.+-])[email protected](([a-zA-Z0-9-])+.)+([a-zA-Z0-9]{2,4})+$ /;if(!b.test(a))return alert(‘Invalid email address!’),!1},AM.Master.prototype.detectMobile=function(){var a=!1;return(/(android|bbd+|meego).+mobile|avantgo|bada/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|ipad|iris|kindle|Android|Silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)/|plucker|pocket|psp|series(4|6)0|symbian|treo|up.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(navigator.userAgent.substr(0,4)))&&768>$ (window).width()&&(a=!0),a?this.$ _GET.debug&&console.log(‘mobile browser detected’):this.$ _GET.debug&&console.log(‘not a mobile browser’),a},AM.Master.prototype.generateNewsKeywords=function(){newsKeywordsMeta=$ (”,{name:’news_keywords’,content:$ (‘meta[name=keywords]’).attr(‘content’)}),newsKeywordsMeta.insertAfter($ (‘meta[name=keywords]’))},AM.Master.prototype.adThresh=function(a){var b=$ (window).width()>a?1:-1;$ (window).resize(function(){var c=$ (window).width();0>(c-a)*b&&(b*=-1,commonMethods.$ _GET.debug&&console.log(‘reloading gpt’),googletag.pubads().refresh())})},AM.Master.prototype.minHeader=function(){$ (‘header’).hasClass(‘full’)&&(this.$ _GET.debug&&console.log(‘minimizing header’),$ (‘header’).removeClass(‘full’),$ (‘header’).addClass(‘compact’))},AM.Master.prototype.maxHeader=function(){$ (‘header’).hasClass(‘compact’)&&(this.$ _GET.debug&&console.log(‘maximizing header’),$ (‘header’).removeClass(‘compact’),$ (‘header’).addClass(‘full’))},AM.Master.prototype.fakeComment=function(){function a(a,b){return Math.random()*(b-a)+a}$ (document).ready(function(){$ (‘.comments-link’).each(function(){randomCommentCount=Math.round(a(0,1500)),element=$ (”,{class:’ fake-comment’}),element.text(randomCommentCount),$ (this).prepend(‘ ‘+randomCommentCount)})})},AM.Master.prototype.homebrewAdhesion=function(){$ (document).ready(function(){placementHook=$ (‘body’),placementWrapSlug=’adhesion-wrap’,placementSlug=’adhesion’,placementInnerSlug=’adhesion-close’,placementWrap=$ (‘‘,{id:placementWrapSlug}),placement=$ (‘‘,{id:placementSlug}),placementClose=$ (”,{id:placementInnerSlug,class:’fa fa-times’}),placementInner=$ (”,{id:placementInnerSlug}),placementWrap.prependTo(placementHook),placement.prependTo(placementWrap),placementClose.appendTo($ (‘#’+placementSlug)),$ (‘#TheMarySue_Mobile_Adhesive’).prependTo($ (‘#’+placementSlug)),$ (‘#TheMarySue_Desktop_Adhesive’).prependTo($ (‘#’+placementSlug)),$ (‘#adhesion-close’).click(function(){$ (‘#adhesion’).css({display:’none’})})})},AM.Master.prototype.pCounter=function(a,b,c){for(var d=0,e=0,f=0;f<$ (a).length-3;f++){pCount=f+1;var g=$ (a+’:nth-of-type(‘+pCount+’)’),h=g.text().length;c&&console.log(‘p:’+pCount+’ – ‘+h+’ characters’);h>100&&(d++,c&&console.log(‘p:’+pCount+’ – has qualified. ‘+d+’ paragraph’+(1==d?’ has’:’s have’)+’ now qualified’),0==d%b&&(e++,$ (a+’:nth-of-type(‘+pCount+’)’).addClass(‘qualified qualified-‘+e)))}},AM.Master.prototype.insertArticleGPT=function(a,b,c){var d=document.querySelector(a);if(d){c&&console.log(‘Enough paragraphs have qualified. Inserting unit at ‘+a);var e=$ (‘‘,{id:b,class:’unit-wrap’});e.insertAfter(d),googletag.cmd.push(function(){var a=googletag.sizeMapping().addSize([768,0],[]).addSize([0,0],[[300,250]]).build();googletag.defineSlot(‘/33173478/’+b,[],b).defineSizeMapping(a).addService(googletag.pubads()),googletag.display(b)})}},AM.Master.prototype.collapseSidebar=function(){$ (document).ready(function(){$ (‘body’).addClass(‘sidebar-collapse’)})},AM.Master.prototype.detectAdblock=function(){$ .ajax({url:’https://tpc.googlesyndication.com/simgad/15085728490906883539′,success:function(){commonMethods.detectAdblockCallback(!1)},error:function(){commonMethods.detectAdblockCallback(!0)}})},AM.Master.prototype.detectAdblockCallback=function(a){a?(commonMethods.$ _GET.debug&&console.log(‘AdBlock detected!’),commonMethods.loadAdblockPromo()):commonMethods.$ _GET.debug&&console.log(‘AdBlock not detected!’)},AM.Master.prototype.loadAdblockPromo=function(){var a=’gpt-unit’,a=window.parent.document.getElementsByClassName(a)[0],b=window.parent.document.createElement(‘a’);b.setAttribute(‘id’,’promo-unit’),b.setAttribute(‘href’,’http://34.gs/TMS_subscribeNow’),b.style.backgroundImage=’url(”+’https://am21.akamaized.net/tms/cnt/uploads/2016/05/tms-nag.jpg’+”)’,b.style.display=’block’,b.style.height=’600px’,b.style.width=’300px’,b.style.margin=’0 7px 0′,a.appendChild(b)},AM.Master.prototype.loadSubscriptionPromo600=function(a){var a=window.parent.document.getElementsByClassName(a)[0];if(a){var b=window.parent.document.createElement(‘a’);b.setAttribute(‘class’,’promo-unit’),b.setAttribute(‘href’,’http://34.gs/TMS_subscribeNow’),b.style.backgroundImage=’url(”+’https://am21.akamaized.net/tms/cnt/uploads/2016/05/tms-sub-300×600-compressed.jpg’+”)’,b.style.display=’block’,b.style.height=’600px’,b.style.width=’300px’,b.style.margin=’20px 7px 0′,a.appendChild(b)}},AM.Master.prototype.loadSubscriptionPromo250=function(a){var a=window.parent.document.getElementsByClassName(a)[0];if(a){var b=window.parent.document.createElement(‘a’);b.setAttribute(‘class’,’promo-unit’),b.setAttribute(‘href’,’http://34.gs/TMS_subscribeNow’),b.style.backgroundImage=’url(”+’https://am21.akamaized.net/tms/cnt/uploads/2016/05/tms-subscriber-300×250.png’+”)’,b.style.display=’block’,b.style.height=’250px’,b.style.width=’300px’,b.style.margin=’20px 7px 0′,a.appendChild(b)}},AM.Master.prototype.checkFunc=function(a){‘function’==typeof window[a]&&window[a]()},AM.Master.prototype.runNativo=function(){$ .getScript(‘//s.ntv.io/serve/load.js’,function(a,b,c){console.log(a),console.log(b),console.log(c.status),console.log(‘Load was performed.’)})},AM.Master.prototype.jsLoadTest=function(){(function(){var a=document.createElement(‘script’);a.async=!0,a.type=’text/javascript’;var b=’https:’==document.location.protocol;a.src=(b?’https:’:’http:’)+’//dev.themarysue.com/wp-content/themes/m2015/js/load-test.js’;var c=document.getElementsByTagName(‘script’)[0];c.parentNode.insertBefore(a,c)})()},AM.Master.prototype.mobileTopShelf=function(){$ (document).ready(function(){if($ (‘body’).hasClass(‘single’)){var a=$ (‘#featured-posts’);a.wrap(‘ ‘);var b=$ (‘#featured-posts-wrap’);b.addClass(‘top-shelf-fixed’),scrollLeftBtn=$ (”,{id:’featured-posts-scrollleft’,class:’featured-posts-button’}).appendTo(b),scrollLeftBtn.click(function(){var b=a.scrollLeft();a.animate({scrollLeft:b-290},800)}),scrollRightBtn=$ (”,{id:’featured-posts-scrollright’,class:’featured-posts-button’}).appendTo(b),scrollRightBtn.click(function(){var b=a.scrollLeft();a.animate({scrollLeft:b+290},800)}),k=$ (”,{id:’featured-posts-hide’,class:’featured-posts-hide-closed’}).appendTo(b),k.click(function(){b.hasClass(‘top-shelf-expanded’)?(b.removeClass(‘top-shelf-expanded’),b.removeClass(‘top-shelf-open’),b.addClass(‘top-shelf-closed’),k.addClass(‘featured-posts-hide-closed’),Cookies.set(‘topShelf’,’closed’,{expires:1})):(b.removeClass(‘top-shelf-closed’),b.addClass(‘top-shelf-open’),b.addClass(‘top-shelf-expanded’),k.removeClass(‘featured-posts-hide-closed’))});var c=1,d=’#post-body p’,e=$ (d).length-c,f=Math.floor(e-e/4);f=h&&!i?(b.addClass(‘top-shelf-expanded’),k.removeClass(‘featured-posts-hide-closed’)):$ (window).scrollTop()<=d;d–){var e=jwplayer().id,f=/[$ _][^_]+/.exec(e)[0].substr(1),g=$ (‘#’+e),h=$ (‘‘,{id:’botr_’+f+’_’+c+’_div’}),i=$ (‘‘,{id:’jw-placeholder’}),j=$ (”,{src:a+f+’-‘+c+’.js’}),k=g.height();i.insertAfter(g),jwplayer().remove(),h.insertAfter(i),h.css({“background-color”:’black’,height:k}),j.insertAfter(h),i.remove(),commonMethods.$ _GET.debug&&console.log(‘jw swapped to adfree’)}}; AM.Scroller=function(a,b){this.sticky=a,this.wrap=b,this.unitOrigin=this.sticky.offset().top,this.btmOfWrap=b.height()+b.offset().top,this.unitLimit=this.btmOfWrap-this.sticky.height(),this.insertCSS(),this.headerHeight=55,1024<$ (window).width()&&this.stickyLogic(this)},AM.Scroller.prototype.insertCSS=function(){$ (‘html > head’).append($ (”))},AM.Scroller.prototype.stickyLogic=function(a){$ (window).scroll(function(){$ (this).scrollTop()<=a.unitOrigin-a.headerHeight?(a.unitOrigin=a.sticky.offset().top,a.btmOfWrap=a.wrap.height()+a.wrap.offset().top,a.unitLimit=a.btmOfWrap-a.sticky.height(),a.sticky.removeClass(‘stuck’,’past-limit’)):$ (this).scrollTop()>=a.unitLimit?(a.sticky.addClass(‘past-limit’),a.sticky.removeClass(‘stuck’),a.sticky.css(‘top’,a.unitLimit-435)):(a.sticky.addClass(‘stuck’),a.sticky.removeClass(‘past-limit’),a.sticky.css(‘top’,”))})}; (function(x){var b,g,k,m,a,f,j,t,n,u,c,w,r,i=Math.max,z=0,q={},e=[],o=0,p={},d=[],l=null,A=new Image,v=/.(jpg|gif|png|bmp|jpeg)(.*)?$ /i,D=/[^.].(swf)s*$ /i,C=1,E=0,y=””,s=!1,G=x.extend(x(““)[0],{prop:0}),B=x.browser.msie&&7>x.browser.version&&!window.XMLHttpRequest,H=function(){g.hide(),A.onerror=A.onload=null,l&&l.abort(),b.empty()},J=function(){!1===q.onError(e,z,q)?(g.hide(),s=!1):(q.titleShow=!1,q.width=”auto”,q.height=”auto”,b.html(“

The requested content cannot be loaded.
Please try again later.

“),I())},K=function(){var d,h,i,j,k,m,n=e[z];if(H(),q=x.extend({},x.fn.fancybox.defaults,”undefined”==typeof x(n).data(“fancybox”)?q:x(n).data(“fancybox”)),m=q.onStart(e,z,q),!1===m)s=!1;else if(“object”==typeof m&&(q=x.extend(q,m)),i=q.title||(n.nodeName?x(n).attr(“title”):n.title)||””,n.nodeName&&!q.orig&&(q.orig=x(n).children(“img:first”).length?x(n).children(“img:first”):x(n)),””===i&&q.orig&&q.titleFromAlt&&(i=q.orig.attr(“alt”)),d=q.href||(n.nodeName?x(n).attr(“href”):n.href)||null,(/^(?:javascript)/i.test(d)||”#”==d)&&(d=null),q.type?(h=q.type,!d&&(d=q.content)):q.content?h=”html”:d&&(h=d.match(v)?”image”:d.match(D)?”swf”:x(n).hasClass(“iframe”)?”iframe”:0===d.indexOf(“#”)?”inline”:”ajax”),h)switch(“inline”==h&&(n=d.substr(d.indexOf(“#”)),h=0 “).hide().insertBefore(x(n)).bind(“fancybox-cleanup”,function(){x(this).replaceWith(f.children())}).bind(“fancybox-cancel”,function(){x(this).replaceWith(b.children())}),x(n).appendTo(b),I();break;case”image”:s=!1,x.fancybox.showActivity(),A=new Image,A.onerror=function(){J()},A.onload=function(){s=!0,A.onerror=A.onload=null,q.width=A.width,q.height=A.height,x(““).attr({id:”fancybox-img”,src:A.src,alt:q.title}).appendTo(b),F()},A.src=d;break;case”swf”:q.scrolling=”no”,j=””,b.html(j),I();break;case”ajax”:s=!1,x.fancybox.showActivity(),q.ajax.win=q.ajax.success,l=x.ajax(x.extend({},q.ajax,{url:d,data:q.ajax.data||{},error:function(a){0 “),q.width=b.width(),q.height=b.height(),F()},F=function(){var h,i;if(g.hide(),m.is(“:visible”)&&!1===p.onCleanup(d,o,p))x.event.trigger(“fancybox-cancel”),s=!1;else{if(s=!0,x(f.add(k)).unbind(),x(window).unbind(“resize.fb scroll.fb”),x(document).unbind(“keydown.fb”),m.is(“:visible”)&&”outside”!==p.titlePosition&&m.css(“height”,m.height()),d=e,o=z,p=q,p.overlayShow?(k.css({“background-color”:p.overlayColor,opacity:p.overlayOpacity,cursor:p.hideOnOverlayClick?”pointer”:”auto”,height:x(document).height()}),!k.is(“:visible”)&&(B&&x(“select:not(#fancybox-tmp select)”).filter(function(){return”hidden”!==this.style.visibility}).css({visibility:”hidden”}).one(“fancybox-cleanup”,function(){this.style.visibility=”inherit”}),k.show())):k.hide(),r=P(),y=p.title||””,E=0,t.empty().removeAttr(“style”).removeClass(),!1!==p.titleShow&&(h=x.isFunction(p.titleFormat)?p.titleFormat(y,d,o,p):!!(y&&y.length)&&(“float”==p.titlePosition?” “:”

“+y+”

“),y=h,y&&””!==y))switch(t.addClass(“fancybox-title-“+p.titlePosition).html(y).appendTo(“body”).show(),p.titlePosition){case”inside”:t.css({width:r.width-2*p.padding,marginLeft:p.padding,marginRight:p.padding}),E=t.outerHeight(!0),t.appendTo(a),r.height+=E;break;case”over”:t.css({marginLeft:p.padding,width:r.width-2*p.padding,bottom:p.padding}).appendTo(a);break;case”float”:t.css(“left”,-1*parseInt((t.width()-r.width-40)/2,10)).appendTo(m);break;default:t.css({width:r.width-2*p.padding,paddingLeft:p.padding,paddingRight:p.padding}).appendTo(m);}t.hide(),m.is(“:visible”)?(x(j.add(n).add(u)).hide(),h=m.position(),w={top:h.top,left:h.left,width:m.width(),height:m.height()},i=w.width==r.width&&w.height==r.height,f.fadeTo(p.changeFade,.3,function(){var a=function(){f.html(b.contents()).fadeTo(p.changeFade,1,M)};x.event.trigger(“fancybox-change”),f.empty().removeAttr(“filter”).css({“border-width”:p.padding,width:r.width-2*p.padding,height:q.autoDimensions?”auto”:r.height-E-2*p.padding}),i?a():(G.prop=0,x(G).animate({prop:1},{duration:p.changeSpeed,easing:p.easingChange,step:N,complete:a}))})):(m.removeAttr(“style”),f.css(“border-width”,p.padding),”elastic”==p.transitionIn?(w=Q(),f.html(b.contents()),m.show(),p.opacity&&(r.opacity=0),G.prop=0,x(G).animate({prop:1},{duration:p.speedIn,easing:p.easingIn,step:N,complete:M})):(“inside”==p.titlePosition&&0″).appendTo(f),m.show(),s=!1,x.fancybox.center(),p.onComplete(d,o,p);var b,e;d.length-1>o&&(b=d[o+1].href,”undefined”!=typeof b&&b.match(v)&&(e=new Image,e.src=b)),0b?.5:b),m.css(a),f.css({width:a.width-2*p.padding,height:a.height-E*b-2*p.padding})},O=function(){return[x(window).width()-2*p.margin,x(window).height()-2*p.margin,x(document).scrollLeft()+p.margin,x(document).scrollTop()+p.margin]},P=function(){var b=Math.min,d=O(),a={},c=p.autoScale,e=2*p.padding;return a.width=-1d[0]||a.height>d[1])&&(“image”==q.type||”swf”==q.type?(c=p.width/p.height,a.width>d[0]&&(a.width=d[0],a.height=parseInt((a.width-e)/c+e,10)),a.height>d[1]&&(a.height=d[1],a.width=parseInt((a.height-e)*c+e,10))):(a.width=b(a.width,d[0]),a.height=b(a.height,d[1]))),a.top=parseInt(i(d[3]-20,d[3]+.5*(d[1]-a.height-40)),10),a.left=parseInt(i(d[2]-20,d[2]+.5*(d[0]-a.width-40)),10),a},Q=function(){var b=!!q.orig&&x(q.orig),a={};return b&&b.length?(a=b.offset(),a.top+=parseInt(b.css(“paddingTop”),10)||0,a.left+=parseInt(b.css(“paddingLeft”),10)||0,a.top+=parseInt(b.css(“border-top-width”),10)||0,a.left+=parseInt(b.css(“border-left-width”),10)||0,a.width=b.width(),a.height=b.height(),a={width:a.width+2*p.padding,height:a.height+2*p.padding,top:a.top-p.padding-20,left:a.left-p.padding-20}):(b=O(),a={width:2*p.padding,height:2*p.padding,top:parseInt(b[3]+.5*b[1],10),left:parseInt(b[2]+.5*b[0],10)}),a},R=function(){g.is(“:visible”)?(x(“div”,g).css(“top”,-40*C+”px”),C=(C+1)%12):clearInterval(c)};x.fn.fancybox=function(b){return x(this).length?(x(this).data(“fancybox”,x.extend({},b,x.metadata?x(this).metadata():{})).unbind(“click.fb”).bind(“click.fb”,function(a){a.preventDefault(),s||(s=!0,x(this).blur(),e=[],z=0,a=x(this).attr(“rel”)||””,a&&””!=a&&”nofollow”!==a?(e=x(“a[rel=”+a+”], area[rel=”+a+”]”),z=e.index(this)):e.push(this),K())}),this):this},x.fancybox=function(b,d){var f;if(!s){if(s=!0,f=”undefined”==typeof d?{}:d,e=[],z=parseInt(f.index,10)||0,x.isArray(b)){for(var g=0,i=b.length;ge.length||0>z)&&(z=0),K()}},x.fancybox.showActivity=function(){clearInterval(c),g.show(),c=setInterval(R,66)},x.fancybox.hideActivity=function(){g.hide()},x.fancybox.next=function(){return x.fancybox.pos(o+1)},x.fancybox.prev=function(){return x.fancybox.pos(o-1)},x.fancybox.pos=function(b){s||(b=parseInt(b),e=d,-1=d.length?0:d.length-1,K()))},x.fancybox.cancel=function(){s||(s=!0,x.event.trigger(“fancybox-cancel”),H(),q.onCancel(e,z,q),s=!1)},x.fancybox.close=function(){function b(){k.fadeOut(“fast”),t.empty().hide(),m.hide(),x.event.trigger(“fancybox-cleanup”),f.empty(),p.onClosed(d,o,p),d=q=[],o=z=0,p=q={},s=!1}if(!(s||m.is(“:hidden”)))if(s=!0,p&&!1===p.onCleanup(d,o,p))s=!1;else if(H(),x(j.add(n).add(u)).hide(),x(f.add(k)).unbind(),x(window).unbind(“resize.fb scroll.fb”),x(document).unbind(“keydown.fb”),f.find(“iframe”).attr(“src”,B&&/^https/i.test(window.location.href||””)?”javascript:void(false)”:”about:blank”),”inside”!==p.titlePosition&&t.empty(),m.stop(),”elastic”==p.transitionOut){w=Q();var e=m.position();r={top:e.top,left:e.left,width:m.width(),height:m.height()},p.opacity&&(r.opacity=1),t.empty().hide(),G.prop=1,x(G).animate({prop:0},{duration:p.speedOut,easing:p.easingOut,step:N,complete:b})}else m.fadeOut(“none”==p.transitionOut?0:p.speedOut,b)},x.fancybox.resize=function(){k.is(“:visible”)&&k.css(“height”,x(document).height()),x.fancybox.center(!0)},x.fancybox.center=function(b){var d,c;s||(c=!0===b?1:0,d=O(),!c&&(m.width()>d[0]||m.height()>d[1])||m.stop().animate({top:parseInt(i(d[3]-20,d[3]+.5*(d[1]-f.height()-40)-p.padding)),left:parseInt(i(d[2]-20,d[2]+.5*(d[0]-f.width()-40)-p.padding))},”number”==typeof b?b:200))},x.fancybox.init=function(){x(“#fancybox-wrap”).length||(x(“body”).append(b=x(“ “),g=x(“ “),k=x(“ “),m=x(“ “)),a=x(“ “).append(“ “).appendTo(m),a.append(f=x(“ “),j=x(“”),t=x(“ “),n=x(““),u=x(““)),j.click(x.fancybox.close),g.click(x.fancybox.cancel),n.click(function(b){b.preventDefault(),x.fancybox.prev()}),u.click(function(b){b.preventDefault(),x.fancybox.next()}),x.fn.mousewheel&&m.bind(“mousewheel.fb”,function(b,a){s?b.preventDefault():(0==x(b.target).get(0).clientHeight||x(b.target).get(0).scrollHeight===x(b.target).get(0).clientHeight)&&(b.preventDefault(),x.fancybox[0

comScore

Quantcast

Hubble Successor James Webb Space Telescope Has Been Delayed by NASA Again

james web space telescope

It’s a good thing the Hubble Space Telescope has managed to keep on bringing us deep space imagery well beyond its expected lifespan, because its successor is taking its sweet time in getting ready to relieve it of duty. The James Webb Space Telescope has just been delayed again, now pushing its launch back to 2020—and its budget over approved limits.

Thankfully, that won’t mean much more than NASA telling Congress how much this latest delay is expected to cost, and Congress telling NASA that it’s fine, because we’ve already spent billions and created an essentially functional telescope that just needs a bit more testing before it can be put to work. With the telescope’s launch so close even despite the delay, it’s likely just another—and maybe the last—in a long string of delays and budget increases for the project that have been going on since 1996.

Currently, the telescope’s flight systems are complete, and its instruments are undergoing additional testing, while it waits to be fully pieced together with the spacecraft that will position it in orbit. It’s not all smooth sailing for the vaguely Star Destroyer-looking space observatory, though. Some of the delay has been caused by outright accidents like incidents causing tears in the kite-shaped sun shield that will protect the telescope from the Sun, and NASA is only 70% sure the telescope will meet its new, delayed launch window—which is no doubt frustrating for scientists who already have to adjust their plans for requesting access to it once it’s operational.

Once it’s finally launched, though, it’s likely to be worth the wait, providing scientists an unprecedented look into the reaches of the Universe—including, but not limited to, getting a better idea of the atmospheric composition of alien worlds and whether or not they can support life. Here, let Optimus Prime (really) tell you all about how awesome it’s going to be, and get a little insight on what’s so difficult about assembling the craft:

(via The Verge, image: NASA)

Want more stories like this? Become a subscriber and support the site!

—The Mary Sue has a strict comment policy that forbids, but is not limited to, personal insults toward anyone, hate speech, and trolling.—

filed under