Sign Up
..... Connect Australia with the world.
Categories

Posted: 2021-08-25 15:14:43

",YAHOO.ULT.CTRL_D="",YAHOO.ULT.BASE64_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789._-",YAHOO.ULT.track_click=function(e,t,n),YAHOO.ULT.beacon_click=function(e,t,n),YAHOO.ULT.click_beacon=function(e,t,n),e.preventDefault?e.preventDefault():e.returnValue=!1,a.src=o)},YAHOO.ULT.has_multibyte=function(e),YAHOO.ULT.escape_multibyte_if_necessary=function(e),YAHOO.ULT.y64_token=function(e,t,n)i=i.sort();var s=[];for(r=0;rr.sbInput.clientWidth)hiddenWidth=_}f.outerHTML=""}t.sqpos=a,t.toleft=hiddenWidth}function ue(e)function de(e)function fe()}function pe()function he()function t(e)var n=this,o=n.config,i=n.app.view,r=i.items,a=i.elems,s=a.sbInput,c=a.saTray,l=v.ieVer,u=!1;v.ae(c,"mouseover",(function(o);if(s&&r===s.li)r=r.parentNode}})),v.ae(c,"mouseout",(function(t))),v.ae(s,"keydown",(function(a)else 9==c&&(s.selectionEnd=s.selectionStart=s.value.length,v.stopPropagation(a))}})),l&&(8===l&&v.ae(s,"propertychange",(function(e))),9===l&&(n.onSelctionChange=function(e)))}function me()function ye()function ge()}function ve()var t=this,n=t.app,o=n.view,i=o.elems,r=i.sbInput,a=i.sbClear;a&&(v.ae(a,"click",e),v.ae(a,"keydown",e))}function be()}}g.SA=(u=[],G.prototype=))},createElem:W,on:function(e,t,n)))},notify:function(e,t)))},init:function(e);for(var s in i.view=t=new l.viewClass,i.model=n=new l.modelClass,i.control=o=new l.controlClass,b),c.createElem=W,c.init(i)}"object"==typeof e&&v.merge(r,e),i.ready=t.init(i)&&n.init(i)&&o.init(i)}},d=G,l=,msg:,init:function(e));if(n.init(e),!n.ready)return!1;n.config.customEvent&&8===t&&(y.documentElement.assistSelection=null),n.idx=u.length,u.push(n),!this.latency&&m.performance&&"function"==typeof m.performance.now&&(this.latency=m.performance.now())}}),l.controlClass=(f="ylcAssist",p="ylcKey",h="ylcBtn",Q.prototype=x(F),E.lastActn=d.t4}function n(e)):c.submit(),setTimeout((function()),400))}var o,i,r,a,s,c,l,u,d,g,b,_,w,E=this,C=v.ieVer,x=function(t,n),T=function();return E.model=o=e.model,E.view=i=e.view,E.config=r=e.config,E.customEvent=u=r.customEvent||,E.lastActn="",E.ylc=d=,v.merge(d,r.ylc),a=i.elems,s=a.sbInput,c=a.sbForm,l=a.sbSubmit,g=r.autofocus,(!C||9"+i+" "+t.config.saAria.shownText+"

")},show:function(),hide:function(),clearAssist:function(),createItem:function(e),n=v.htmlEncode,o=this.config,i=this.app.createElem,r=i(o.saItem,"li");v.set(r,"pos",e.idx);var a=i(o.saTitle,"span");return a.innerHTML=e.t?e.t:o.boldTag&&e.k&&e.q?v.bold(o.boldTag,n(e.k),n(e.q),o.highlight||):n(e.k),r.appendChild(a),t.li=r,t.title=a,this.app.notify(A,[t,e]),t},resetQuery:function(),reset:function(),sameQuery:function()},$),l.initConfig=function(),customEvent:,sa:},saList:,style:},saItem:},saTitle:,saAria:,style:},saBE:},shBE:,minInput:0,maxInput:255,boldTag:"",ylc:,ylcAssist:,hideOnOutsideClick:!0,noQueryClass:"sa-noQuery",typingClass:"typing"}},b.saFr=(ee.prototype=},ee),b.ipos=(oe.prototype=},oe),b.ylcEncode=(ae.prototype=},ae),b.saTray=(ce.prototype=},ce),b.saSubTray=(fe.prototype=},fe),b.saPCActn=(ge.prototype=},ge),b.tapClr=(be.prototype=},be)}();var ze=,We=',customEvent:,elems:,hightlight:,minInput:1,sa:,saBE:},saItem:,saList:,saTitle:},plugins:,saTray:,tray:},saPCActn:,ylcEncode:,saImg:,saEdit:,saPopup:,saSubTray:}},Ge=function(e,t,n)");return l.textContent=f[0]||"",u.textContent=t,d.textContent=f[1]||"",r.appendChild(l),r.appendChild(u),r.appendChild(d),o.appendChild(i),o.appendChild(r),o},Qe=function(e),Je=function(e,t,n),$e=function(e,t,n)(t,n);o&&Je(e,'input[name="fr"]',o)},Ke=function(e,t,n)return o}(e,t,n);o&&Je(e,'input[name="fr2"]',o)},Ze=function(e,t)return n}(e,t);n&&Je(e,'input[name=".tsrc"]',n)},Xe=function(e,t,n)}},et=function(e,t)},tt=function(e)},nt=function(e,t)):window.scrollBy(0,Math.floor(.95*window.innerHeight)),e.preventDefault()),-1!==[38,40].indexOf(e.keyCode)&&(n?window.scrollBy():window.scrollBy(0,Math.floor(40*(38===e.keyCode?-1:1))),e.preventDefault())}},ot=function(e,t,n,o,i)),!0);var u=function(t),d=function(t),f=function(e)},p=function(),h=function(n)};t.beaconClick(n.sec,n.slk,n.pValue,n.clickParams,void 0,(function()),300)}),o)}else e&&e.submit()};function m(),suggestionTitle:}}function y(e))))}r&&(r&&(r.addEventListener("enterKeyPressed",u),r.addEventListener("assistSelectionClicked",d),r.addEventListener("searchBtnClicked",u),r.addEventListener("keydown",f),r.addEventListener("click",p)),"homepage"!==n&&"my"!==n&&"ngy"!==n||($e(e),"homepage"===n&&tt(e)),t.saveCurrentTimerValue("search_assist_ready")),m.prototype=},a&&(null===(i=window.YAHOO.SA)||void 0===i||i.add("saBotSearch",m))}(t.searchBox,,o,i),window.YAHOO.SA.init(n);else},it=',clearButtonId:"ybar-sbq-x",suppressEmptyQuery:!0,anykey:!0,autofocus:!0,enableYlc:!1,fr2:"sa-gp-ybar",searchBoxId:"ybar-sbq",cssClass:},rt=t(ge),at=n((function(e)[.0-9])").exec(e.navigator.userAgent);return t&&t[1]&&parseFloat(t[1])}return!1}();function o(e,t)return t.prototype=e,new t}(t.prototype),e.prototype.constructor=e}function i(e)function r(e)else"number"==typeof e.selectionStart&&(e.selectionStart=e.selectionEnd=e.value.length)}function a(e)function s(e)\(\)\*\+\?\.\\\^\$\|]/g,"\\\\$&")}function c()}function l()function u(e),this.triggered=!1}function d(e,t)function f(),gossipParam:,max:255,clrLog:,boldTag:"",annotation:,cssClass:,text:,customEvent:!1,suppressEmptyQuery:!1,enableAnnotation:!1,enableIpos:!0,subAssist:!0,subTrayDelta:5,trayPadding:12,debug:!1,objectName:"SA",anykey:!1,clearBeaconing:!1,enableYlc:!0,autofocus:!1,highlight:,minQueryLength:0,enableTabRender:!0}}return e.YAHOO=e.YAHOO||,c.prototype=,get:function(e,t),merge:function e(t,n),extend:o,buildUrl:function(e,t),stopPropagation:function(e),setFocus:function(e),cursorEnd:r,select:function(e,t,o)else e.selectionStart=t,e.selectionEnd=o,a(e)},htmlEncode:function(e)))},ae:function(e,t,n,o)},de:function(e,t,n)},ts:function(),bold:function(e,t,n,o))).sort((function(e,t))).map((function(e)))).length?(a=a.replace("%needles",i.join("|")),t=t.replace(new RegExp(a,"gi"),(r=e,function(e,t,n)/g,n)}))):t},debug:function(t)},o(l,c),l.prototype.init=function(n,o))),!0)},l.prototype.getWidth=function(e,n)",this.htmlEncode(e)),idx:0},r=t.createElement("div");r.className=this.config.cssClass.container;var a=t.createElement("div");a.className=this.config.cssClass.trayContainer,r.appendChild(a);var s=t.createElement("div");s.className=this.config.cssClass.traySub,s.style.left="-9999px",a.appendChild(s);var c=t.createElement("ul");c.className=this.config.cssClass.ul,s.appendChild(c);var l=this.createItem(i);n&&((o=t.createElement("span")).innerHTML=n,l.suggestionSpan.appendChild(o)),c.appendChild(l.li),this.searchbox.parentNode.insertBefore(r,this.searchbox.nextSibling);var u=l.suggestionSpan.clientWidth+this.config.subTrayDelta;return r.outerHTML="",u},l.prototype.display=function(n);this.hide(),this.selectedItem=!1,this.tray=t.createElement("div"),this.set(this.tray,"type","normal"),this.tray.className=this.config.cssClass.tray,i&&this.config.subAssist&&(this.tray.className=this.config.cssClass.traySub,this.tray.style.left=this.getWidth(r)+"px"),this.ul=t.createElement("ul"),this.ul.className=this.config.cssClass.ul,this.set(this.ul,"role","listbox"),this.tray.appendChild(this.ul),this.itemList=[],this.config.ylcParam.n_sugg=a.saModel.ylc.n_sugg,o.forEach((function(n)var c=a.createItem(n);!i&&a.config.enableAnnotation&&n.m&&a.config.annotation[n.m]&&n.fd&&(o=a.getItemAnnotation(n,c.suggestionSpan))&&c.suggestionSpan.appendChild(o),a.ul.appendChild(c.li),a.itemList.push(c.li),a.ae(c.li,"mouseenter",(function(e))),a.ae(c.li,"mouseleave",(function(e))),a.ae(c.li,"click",(function(o)),n.dispatchEvent(r)):"function"==typeof t.createEvent?((r=t.createEvent("CustomEvent")).initCustomEvent(o,!1,!1,i),n.dispatchEvent(r)):(t.attachEvent,document.documentElement[o]=i)}(a.searchbox,"assistSelection",)):a.suggestionClick(o,n)}))})),this.aria&&(this.set(this.aria,"aria-expanded","true"),this.aria.innerHTML="

"+a.itemList.length+" "+this.config.text.ariaShown+"

"),this.show()},l.prototype.suggestionClick=function(e,t),l.prototype.show=function(),l.prototype.hide=function(),l.prototype.resetHighlight=function(),l.prototype.resetHightlight=l.prototype.resetHighlight,l.prototype.tab=function()return!0},l.prototype.moveUpDown=function(e),l.prototype.createItem=function(e)o.set(n,"data",e.p);var r=t.createElement("span");r.className=o.config.cssClass.span,r.style.display="block",n.appendChild(r);var a=t.createElement("span");return a.className=o.config.cssClass.text,a.innerHTML=e.t,r.appendChild(a),},l.prototype.getItemAnnotation=function(e),a=this.config.cssClass,s=e.fd,c="",l="",u=this.searchbox.clientWidth-2*this.config.trayPadding;if(r.subtitle&&s.subtitle)",this.htmlEncode(s.subtitle)),!(this.getWidth(e.p,l)'+l+"")>u)l&&(c+=''+l+"")}return c&&((n=t.createElement("span")).innerHTML=c),n},o(u,c),u.prototype.unset=function(),u.prototype.jsonp=function(e,n);this.merge(o,this.config.gossipParam),n&&this.merge(o,n);var i=this.buildUrl(this.config.saBase,o),r=t.getElementsByTagName("head")[0],a=t.createElement("script");this.set(a,"type","text/javascript"),this.set(a,"src",i),r.appendChild(a),this.ae(a,"load",(function()))},u.prototype.read=function(e)))),e.r.forEach((function(e))})),this.ylc.n_sugg=e.r.length,this.ylc.pos=0,this.saView.display()):(this.ylc.n_sugg=0,this.ylc.pos=0,this.saView.hide()),e&&e.l&&(this.ylc.gprid=e.l.gprid)},u.prototype.fetch=function())),n.lastValue=n.saView.searchbox.value,this.config.minQueryLength&&this.saView.searchbox.value.lengththis.config.max)return this.unset(),!0;this.triggered=!0,this.callBackIdx++;var a="sacb"+this.callBackIdx;for(var s in n.cbTable)n.cbTable.hasOwnProperty(s)&&(n.cbTable[s]=function());this.cbTable[a]=function(e)),n.cbTable[a]=function()},this.jsonp(a,o)},u.prototype.getCursorPosition=function(),u.prototype.addYlc=function(e),u.prototype.addYlk=function(e))),t.config.ylcVal=t.config.ylcVal+";"+n.join(";"),e)},u.prototype.init=function(t),this.merge(this.ylc,this.config.ylcParam),this.clickTarget=this.config.clkLink?this.config.clkLink:this.saView.formTag.action,this.submitTarget=this.saView.formTag.action,!0},o(d,c),d.prototype.init=function(o))):8===n&&this.ae(this.saView.searchbox,"propertychange",(function(e))),r.config.anykey&&this.ae(t,"keydown",(function(e))),this.ae(this.saView.searchbox,"keydown",(function(e)else r.saView.searchbox.selectionEnd=r.saView.searchbox.selectionStart=r.saView.searchbox.value.length,r.stopPropagation(e);break;case 39:r.saView.searchbox.selectionEnd==r.saView.searchbox.value.length&&r.saView.searchbox.selectionStart==r.saView.searchbox.value.length&&r.saView.tab();break;default:r.saView.resetHighlight(),r.saView.selectedItem=!1}}));var a=function(e)r.lastValue!==r.saView.searchbox.value&&!1===r.saView.selectedItem&&r.saModel.fetch()};this.ae(this.saView.searchbox,"focus",(function(e))),this.ae(this.saView.searchbox,"blur",(function(e))),this.ae(this.saView.searchbox,"click",(function(e)));var s=function(e)r.config.touchOriented&&r.stopPropagation(e),r.saModel.unset()}};return"ontouchstart"in e?(this.config.touchOriented=!0,this.ae(t.body,"touchstart",s,!0)):this.ae(t,"click",s),this.ae(this.saView.formTag,"submit",(function(e))),this.saView.clearButton&&this.ae(this.saView.clearButton,"click",(function(e);r.merge(t,r.config.clrLog),r.saModel.ULT.beacon_click(t)}})),!0},o(f,c),f.prototype.saModelClass=u,f.prototype.saViewClass=l,f.prototype.saControlClass=d,f.prototype.init=function(o),f};e.exports=,"undefined"!=typeof window&&(window.YAHOO=window.YAHOO||,window.YAHOO.SAClass=t(window,document))})).assistJS,st=function(e,t,n,o),c=!!document.querySelector(".modal-open"),l=null,u=null;"homepage"!==n&&"my"!==n&&"ngy"!==n||$e(e.searchBox,c),"homepage"===n&&tt(e.searchBox),e.searchInput&&e.searchInput.addEventListener("click",(function())),i.prototype.extend(s,r);var d=1;s.prototype.init=function(i)),!0);var _="",w=null;return setTimeout((function()})),w=JSON.parse(""),n.removeAttribute("data-ylk"))}),0),a.saView.formTag.onsubmit=function(o)};var i=a.config.botSearchSlk;if(l)),300)}),u)}c=!!document.querySelector(".modal-open"),"homepage"!==n&&"ngy"!==n&&"my"!==n||!c||$e(e.searchBox,c),o.preventDefault()}else),1e3)}),0),a.owner.searching=!0,d=1}},this.ae(this.saView.searchbox,"keydown",(function(i)),1e3),c=!!document.querySelector(".modal-open");var r=a.saView.shown&&!1!==a.saView.selectedItem;if("homepage"!==n&&"my"!==n||!c&&!r?"smartphone"===o&&(Ke(e.searchBox,o,r),Ze(e.searchBox,r)):($e(e.searchBox,c,r),Ke(e.searchBox,o,r),Ze(e.searchBox,r)),"ngy"===n&&(c||r)&&$e(e.searchBox,c,r),"function"==typeof t.beaconClick),r&&(l.elmt="srch-asst"),u=};var f=a.config.botSearchSlk;t.beaconClick("ybar",f||"websrch","1",l,void 0,(function()),300)}),u)}else a.saView.formTag.submit()}}else 9!==i.keyCode&&13!==i.keyCode&&1===s&&(s++,l=,u=},"function"==typeof t.beaconClick&&t.beaconClick("ybar","websrch","1",l,void 0,void 0,u))})),e.searchBoxBackButton&&e.searchBoxBackButton.addEventListener("click",(function(e))),!0},i.prototype.saControlClass=s;var f=function();return i.prototype.extend(f,a),f.prototype.display=function(e)),1e3),l=,u=},"function"==typeof t.beaconClick?t.beaconClick("ybar","websrch","1",l,void 0,(function()),300)}),u):n.formTag.submit()}))}},f.prototype.suggestionClick=function(i,r)),1e3),l=,u=};var s=!0;if(c=!!document.querySelector(".modal-open"),"homepage"===n||"my"===n?($e(e.searchBox,c,s),Ke(e.searchBox,o,s),Ze(e.searchBox,s)):"smartphone"===o&&(Ke(e.searchBox,o,s),Ze(e.searchBox,s)),"ngy"===n&&$e(e.searchBox,c,s),"function"==typeof t.beaconClick)),300)}),u)}else a.formTag.submit()}},f.prototype.show=function(),f.prototype.hide=function(),i.prototype.saViewClass=f,i};Q("ybar-mod-assistjs",(function(e),i=e.getConfig();"0"===n?function(e,t,n,o,i)));var a=new(st(t,rt,o,i));a.init(r),a.searching=!1,a.saControl.owner=a,a.saView.owner=a,de("search_assist_ready")}(0,o,it,i.property,i.device):ot(e,o,We,i.property,i.device)}}));var ct,lt,ut,dt,ft=,pt=,ht=function(e,t),e.ymreqid&&(n._meta=),t(n)}elsecatch(e),void t(i)}t(null,o)}},mt=function(e,t)),v(void 0,void 0,void 0,(function()i.withCredentials="include"===t.credentials,i.onreadystatechange=function(),json:function()catch(e)}))}})},i.send(t.body)}))]}))}))},yt=function(e,t,n)),t.headers=g(g(,t.headers||),"string"==typeof n?:),("function"==typeof window.fetch?fetch:mt)(e,t)},gt=function(e,t,n),vt=function(e),bt=(ct="ybar",ut=},void 0!==(lt=window.trustedTypes)&&void 0!==lt.createPolicy?window.trustedTypes.createPolicy(ct,ut):ut),_t=function(e),wt=function(e,t,n),Et=function(e,t))),r.href=wt(r.href,l,r.getAttribute("data-redirect-params")||void 0)}if(o?(l=o.getAttribute("data-done")||"",c=o.getAttribute("data-sign-out-url")||""):a&&(c=a.getAttribute("data-sign-out-url")||""),s)));var i=s[n].getAttribute("data-redirect-params");s[n].classList.contains(ft["ybar-sign-out"])?s[n].href=wt(s[n].href,c,i||void 0):s[n].href=wt(s[n].href,l,i||void 0)};for(n=0;n0))))}}if(l.length>u)Et(t,e)}else a&&(a.style.display="block")}))}},xt=function(e,t),d=F(),f=function()))};if(o)),3e5);e.onDestroy((function())),e.addElementListener(i,"click",(function()(t),oe("ybar","notification","",)})),e.addElementListener(l,"click",(function())})),s&&e.addElementListener(s,"click",(function(e))(e).find((function(e)))}))}},Tt=!0,kt=!1,At=0,St=,ybarCurrentUserProfileImage:,ybarUserProfileImage:},Lt=function(e,t)n&&Tt&&(Tt=!1,e.onDestroy((function())),Ct(e,t,o))},g=function()),500))},v=function(),b=function())),e.onDestroy((function()))}};if(p&&(_e(e,p,"ybar","sign-in",dt=),Et(t,e)),o||i||f))),e.onDestroy((function())),o),dt=,r)),300))};n.onDestroy((function())),n.addElementListener(a,"toggle-overlay",(function())),n.addElementListener(s,"mousedown",(function()))}(n,"right",e);var t=document.querySelector("."+ft["ybar-icon-image-wrapper"]);e.addElementListener(t,"click",(function()))}(),e.addElementListener(s,"click",(function();(kt=!kt)||(n="manage-account-close",o.elm="btn"),oe("ybar",n,"",o)})),xt(e,t)}elsewe("#ybarAccountMenu","#ybarAccountMenu + label",e)}e.addElementListener(n,"focusin",(function())),e.addElementListener(n,"focusout",v),e.addElementListener(a,"click",v)}Object.keys(St).forEach((function(e))}))}};Q("ybar-account-init",(function(e);Lt(e,n)}));var It,Nt,Ot=;!function(e)(It||(It=)),function(e)(Nt||(Nt=));var Mt=new Map,Bt=function(e)},Pt=function(e,t);Mt.set(e,n)},qt=function(e,t);Mt.set(e,n)},Rt=function()return Object.defineProperty(e.prototype,"wssid",,set:function(e),window.YBAR.wssid=e||""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"appid",,set:function(e),window.YBAR.appid=e||""},enumerable:!1,configurable:!0}),e.prototype.fetchPreview=function(e,t):e).maxMessages,o=void 0===n?4:n;return v(this,void 0,void 0,(function()},suppressResponse:!0,requests:[]}]}},i=this._fetch(n,1,(function(e));return Pt(It.PREVIEW,t),t})),qt(It.PREVIEW,i),[2,i])}))}))},e.prototype.fetchCount=function(e)},suppressResponse:!0,requests:[]}]}},o=this._fetch(n,1,(function(e))),qt(It.COUNT,o),[2,o])}))}))},e.prototype._fetch=function(e,t,n):r,s=e.params,c=void 0===s?:s,u="EC-4008",d="EC-4003",f=this._getYmreqid(),!this.appid)throw new Error("No appId, user is logged out");p=g(,c),this.wssid&&(p.wssid=this.wssid),e.params=p,h=[],Object.keys(p).forEach((function(e))),m=h.length?"?"+h.join("&"):"",y="https://apis.mail.yahoo.com/ws/v3/batch"+m,b.label=1;case 1:return b.trys.push([1,4,,5]),[4,yt(y,},f)];case 2:return[4,(v=b.sent()).json()];case 3:if(_=b.sent(),v.ok)return[2,n(null===(i=_.result)||void 0===i?void 0:i.responses)];if((w=null===(o=null==_?void 0:_.error)||void 0===o?void 0:o.code)===d)return[2,this._handleWssidApiError(_,e,t,n)];throw w===u?new Error("Session has expired"):new Error("Mail Api Responded with an Error");case 4:throw E=b.sent(),l("JWS: "+E.message,E),E;case 5:return[2]}}))}))},e.prototype._normalizePreviewResponse=function(e,t):t).maxMessages,s=void 0===a?4:a;return e?((null===(i=null===(o=null===(n=null==e?void 0:e[0])||void 0===n?void 0:n.response)||void 0===o?void 0:o.result)||void 0===i?void 0:i.messages)||[]).map((function(e))).filter((function(e,t))):[]},e.prototype._normalizerCountResponse=function(e)));return s&&null!==(a=null===(r=null===(i=null==s?void 0:s.counts)||void 0===i?void 0:i[0])||void 0===r?void 0:r.unseen)&&void 0!==a?a:0},e.prototype._handleWssidApiError=function(e,t,n,o):s).wssid;if(a)throw new Error("valid WSSID missing from API Response")},e.prototype._parseRawMessage=function(e):null},e.prototype._getYmreqid=function()))},e}(),Vt=function(e,t,n)(c))}),10)}},Dt=function(e),"string"==typeof o?:),body:void 0!==i?JSON.stringify(i):null,credentials:"include"},o).then((function(e),t)}))}))}(},(function(t,n)))},jt=!1,Yt=!1,Ht=function()),setTimeout((function()),1e3))},Ut=function(e),Ft=function(e,t,n,o)if(a))})),n.read);elsevar u=a.querySelector("."+Ot["ybar-mail-item-name"]);u&&(u.innerText=n.from);var d=a.querySelector("."+Ot["ybar-mail-item-desc"]);d&&(d.innerText=n.subject);var f=a.querySelector("."+Ot["ybar-mail-item-snippet"]);f&&(f.innerText=n.snippet);var p=a.querySelector("."+Ot["ybar-mail-item-time"]);p&&(p.innerText=function(e)(n.date));var h=a.querySelector("."+Ot["ybar-mail-item-image"]);return h&&h.setAttribute("src","https://data.mail.yahoo.com/xobni/v4/endpoints/smtp:"+encodeURIComponent(n.email)+"/photo?psize=24X24&fallback_url=https%3A%2F%2Fs.yimg.com%2Fdh%2Fap%2Fsocial%2Fprofile%2Fprofile_a24.png&alphatar_photo=true&format=image"),a}},zt=function(e,t))),e.onDestroy((function()))}},Wt=function(e),Gt=function(e),Qt=function(e,t,n)e.onDestroy((function()))}})).catch((function()))},Jt=function(e,t,n),$t=function(e,t,n)e.addElementListener(t.mailPreview,"focusin",(function())),e.addElementListener(t.mailPreview,"focusout",(function()));var s=t.ybarMailMessages;s&&(null===(o=t.popoverBody)||void 0===o||o.replaceChild(i,s)),e.onDestroy((function()))}else t.ybarMailMessages&&(t.ybarMailMessages.children[0].style.display="none",t.ybarMailMessages.children[1].style.display="block")})).catch((function()))},Kt=function(e,t)var o})),e.addElementListener(t.mailPreview,"focusin",(function())),e.addElementListener(t.mailPreview,"focusout",(function()))}))};Q("ybar-mail-init",(function(e))),e.addEventListener("close-all-menus",(function())),e.onDestroy((function())),jt=!1,Qt(e,t,a),r)e.addElementListener(o,"mouseover",(function())),e.addElementListener(o,"focus",(function()));else)),s=-1!==o.href.indexOf("&activity=ybar-")?"":s.replace(/\[\[pspid\]\]/,ye()),o.href=vt(o.href)+s,(null==i?void 0:i.href)&&(i.href=vt(i.href)+s)}}}}(e,)}));var Zt="_yb_vtk8w",Xt="_yb_utb05",en="_yb_mk4rq",tn="_yb_1oi76",nn="_yb_rsp5w";if("undefined"!=typeof Element&&!Element.prototype.matches)var rn=function(e,t)};function an(e,t,n,o,i)}}function sn(e,t,n,o)}var cn,ln=function(e,t,n,o,i))))},un=function(e))))})).catch((function()))},dn=-1,fn=function(e)n+=a}if(-1===t&&-1!==dn&&n10?e.moreMenuDropdown.classList.add(e.longListClass):null!==e.moreMenuDropdown&&e.moreMenuDropdown.classList.remove(e.longListClass)}},pn=function(e,t)));for(var n=function()setTimeout((function()}),1e3)}(t.navLinks)},o=0;o0&&(fn(t),e.addElementListener(window,"load",(function())),e.addElementListener(window,"resize",(function())))};Q("ybar-mod-navigation",(function(e);pn(e,t)}))}()}};

Climate weapon: Mountain forests in Africa can absorb far more carbon than previously thought

Africa's mountain forests may store up to two-thirds more carbon than previously thought, according to research published Wednesday that highlights the role the threatened ecosystems can play in battling climate change.

Traditionally, forests at higher altitudes are thought to contain less carbon than lowland forests due to factors such as soil and climactic changes that affect growth and thus the amount of carbon the trees can absorb.

To more accurately estimate the carbon stored in these so-called montane forests, an international team analysed data on carbon stored in trees across 44 highland sites in 12 African countries.

They measured the height and diameter of more than 72,000 trees to calculate the wood's density and logged the species in each plot.

From that they were able to calculate the amount of carbon stored per unit of forested area.

Writing in Nature, the team found that Africa's montane forests contain an average of 149.4 tonnes of carbon per hectare -- roughly equivalent to the carbon storage rates seen in African lowland forests.

Notably, this is two-thirds higher than estimated by the Intergovernmental Panel on Climate Change (IPCC) -- some 89.3 tonnes of carbon per hectare.

Yet montane forests are under threat from logging, mining and land clearance for farming.

The study found for example that Mozambique had lost nearly a third of its 18,000 hectares (44,500 acres) of high-altitude forests since 2000.

In the Democratic Republic of Congo, around half a million hectares of montane forest have been lost this century, accounting for most of the roughly 800,000 hectares lost across Africa in that time.

"African montane forests are immensely valuable. They store vast amounts of carbon, and thereby have a key role in tackling climate change," Nicolas Barbier, from the University of Montpellier and France's Nature Centre for Scientific Research, said in a linked comment article.

"Of course, this immense intrinsic value does not preclude human exploitation of these ecosystems."

The authors said the research had a range of policy implications, including the use of "carbon finance" -- inducements to conserve forests rather than cut them down.

Past underestimates by the IPCC of the carbon storage potential of African high-altitude forests may have given governments little incentive to preserve them, they said.

Barbier said that setting a fair price on preserving carbon stores such as montane forests could help check the "flood of damage" and stimulate African economies.

"The aim is to reward African countries... for their conservation endeavours, and for renouncing efforts to access the timber and ore in these ecosystems, even when such resources are otherwise desperately lacking," he wrote.

pg/ri