MSN

MSN new Date?”Legitimate”:”Expired”}perform a()null,rperform u(e){i=e;const{accessToken:t,idToken:n,expiresOn:r}=e||{};t&&n&&r?Object(o.a)().setObject(“1s-tokens”,{accessToken:t,idToken:n,expiresOn:r}):Object(o.a)().removeItem(“1s-tokens”)}perform d(){return i}},”8WO2″:perform(e,t,n){“use strict”;n.d(t,”e”,(perform(){return f})),n.d(t,”d”,(perform(){return g})),n.d(t,”f”,(perform(){return w})),n.d(t,”c”,(perform(){return y})),n.d(t,”h”,(perform(){return O})),n.d(t,”g”,(perform(){return v})),n.d(t,”a”,(perform(){return S})),n.d(t,”i”,(perform(){return j})),n.d(t,”j”,(perform(){return q})),n.d(t,”b”,(perform(){return I})),n.d(t,”okay”,(perform(){return C}));var o=n(“ulS/”),r=n(“y+Kz”),i=n(“+uXD”),s=n(“HDSB”),c=n(“YBLW”),a=n(“FMyg”),u=n(“tMmC”),d=n(“pNSq”),l=n(“xYH4″);const f=”currentaccount”,g=365,h={newsAndInterests:1,windowsNewsbar:1,windowsNewsPlus:1,winWidgets:1,windowsShell:1},p={edgeChromium:1},m=Object(d.a)(()=>Object(s.a)()&&Object(o.a)()||{});perform b(){return m().apptype}const w=Object(d.a)(()=>{const e=Object(c.a)(f),{login_hint:t}=e&&Object(l.b)(decodeURIComponent(e))||{};return t&&{login_hint:t}}),y=Object(d.a)(()=>!!Object(c.a)(f)),O=Object(d.a)(()=>v()&&(Object(s.a)()&&location.search.match(/disable-old-auth/)||y()||!(Object(c.a)(r.h)||Object(c.a)(r.f)))),okay=Object(d.a)(()=>!(b()in h)&&Object(s.a)()&&!!(doc.head.dataset.information||””).match(/bprg-dualauthb/)),v=Object(d.a)(()=>okay()&&!(b()in p)),S=Object(d.a)(()=>okay()&&(!(b()in p)||!y()));perform j(){return C()}perform q(){const e=Object(i.b)();if(e)return u.a.log(“dual-auth: tryGet1SAuthHeaders returned stay tokens”),I(e.accessToken,e.idToken);const t=Object(i.c)();return t?(u.a.log(“dual-auth: tryGet1SAuthHeaders returned cached tokens which might be “+Object(i.a)()),I(t.accessToken,t.idToken)):(u.a.log(“dual-auth: tryGet1SAuthHeaders returned empty tokens”),{})}perform I(e,t){const n={};return e&&(n[r.r.authorization]=”Bearer “+e),t&&(n[r.r.userIdToken]=t),n}perform C(){return v()&&Object(a.b)()}},AjCL:perform(e,t,n){“use strict”;perform o(){attempt{return localStorage}catch(e){return null}}n.d(t,”a”,(perform(){return o}))},CncT:perform(e,t,n){“use strict”;n.d(t,”a”,(perform(){return i}));var o=n(“xYH4”),r=n(“tMmC”);class i{constructor(e){this.storage=e}get supported(){return!!this.storage}getItem(e){if(this.supported)return this.storage.getItem(e)}getObject(e,t){const n=this.getItem(e);if(null!=n){const e=Object(o.b)(n);if(null!=e)return e}return t}key(e){if(this.supported&&e>=0)return this.storage.key(e)}setObject(e,t){void 0!==t?this.setItem(e,JSON.stringify(t)):this.removeItem(e)}removeObject(e){const t=this.removeItem(e);if(null!=t)return Object(o.b)(t)}setItem(e,t){if(this.supported)attempt{this.storage.setItem(e,t)}catch(e){r.a.logError(e)}}removeItem(e){if(this.supported){const t=this.getItem(e);return this.storage.removeItem(e),t}}removeSubstringKeys(e){if(!this.supported||!e)return;const t=[];for(let n=0;n{window.webWorkerErrors.push(e)},window.chrome){const e=this.getAudienceMode(this.clientSettings),t=window.webWorker&&window.chrome&&window.chrome.ntpSettingsPrivate;t&&”perform”==typeof t.getPref&&(t.getPref(“ntp.news_feed_display”,e=>{e&&e.worth&&window.webWorker.postMessage({id:”FeedDisplaySetting”,sort:”command”,payload:e.worth})}),t.getPref(“ntp.layout_mode”,e=>{e&&e.worth&&window.webWorker.postMessage({id:”LayoutModeSetting”,sort:”command”,payload:e.worth})}),t.getPref(“ntp.user_nurturing”,e=>{let t=!1;e&&e.worth&&e.worth.size&&(t=this.getSingleColRequest(e.worth)),window.webWorker.postMessage({id:”RenderSingleColumn”,sort:”command”,payload:t})})),e===o.Enterprise&&this.clientSettings.browser&&”edgeChromium”===this.clientSettings.browser.browserType&&parseInt(this.clientSettings.browser.model)>=87&&this.getAccessToken().then(e=>{e&&window.webWorker.postMessage({id:”AuthTokenEnterprise”,sort:”command”,payload:Object(i.b)(e)})}),e!==o.Grownup&&e!==o.Enterprise||this.sendPageConfiguration()}}buildWebWorkerUrl(e=null)this.clientSettings)+this.qsMisc()+this.qsFromUrl()+this.qsFromServiceWorker()qs(e,t,n)e)+”&”:””qsFromDocument(){return this.qs(doc.getElementsByTagName(“html”)[0].getAttribute(“lang”),”lang”)+this.qs(encodeURIComponent(window.location.href),”adsReferer”)}qsFromServiceWorker(){if(!navigator.serviceWorker||!navigator.serviceWorker.controller)return””;const e=navigator.serviceWorker.controller;if(“activated”!==e.state||!e.scriptURL)return””;if(e.scriptURL){const t=new URL(e.scriptURL).searchParams.toString();return t?”&”+t+”&”:””}return””}qsFromCookies(){return this.qs(Object(s.b)(this.authCookieName),”aace”,”1″)+this.qs(Object(s.b)(“muid”),”muid”)+this.qs(Object(s.b)(this.childCookieName),”little one”)+this.qs(Object(s.b)(“cbypass”),”cbypass”)+this.qs(this.cookieBannerConsentRequired().toString(),”ccRequired”)+this.qs(Object(s.b)(“ecasession”),”ecasession”)+this.qs(Object(s.b)(“TOptOut”),”browserOptOut”)}qsFromDataAttributeHelper(e,t)”ntp”===e.pagetype?this.qs(Object(s.b)(this.WeaSpartanHomeLocCookie),this.WeaSpartanHomeLocCookie)+this.qs(Object(s.b)(this.WeaSpartanDetectLocSetting),this.WeaSpartanDetectLocSetting):this.qs(Object(s.b)(this.WeaHomeLocCookie),this.WeaHomeLocCookie)+this.qs(Object(s.b)(this.WeaDetectLocSetting),this.WeaDetectLocSetting))+this.qs(JSON.stringify(e.featureFlags),”featureFlags”)+this.qs(JSON.stringify(e.browser),”browser”)+this.qs(JSON.stringify(e.servicesEndpoints),”servicesEndpoints”)+this.qs(e.bundleInfo&&e.bundleInfo.vappendWpoFlightsToInfo(e,t){const n=this.getWpoFlightsFromLocalStorage(e);if(n&&n.size){const e=”;”,o=t.cut up(e);for(let e=0;ee.id)}}catch(e){console.warn(`Error getting wpo flights from ls for ${o} Error:${e}`)}return null}buildArtifactHashes(e){let t;attempt{const{bundleInfo:n={},audienceMode:o,pagetype:r,apptype:i}=e,s=e.locale||{},a=s.content material||s,u=s.show||a,{hash:d,configsHash:l,locConfigsHash:f}=n;if(!d||!l||!f)return””;t=this.qs(d,”bundleHash”)+this.qs(l,”configHash”)+this.qs(f,”locHash”);const g=`config_hash_${o}_${`${a.language}_${a.market}_${u.language}_${u.market}`}_${r}_${i}`,h=Object(c.a)().getItem(g);if(h){const{bundleHash:e,configHash:n,locHash:o}=JSON.parse(h)||{};e&&n&&o&&(t+=this.qs(e,”lastBundleHash”)+this.qs(n,”lastConfigHash”)+this.qs(o,”lastLocHash”))}return t}catch(e){console.error(“Error getting config hashes from ls: “+e)}return t}getHighestCbid(e,t){attemptocatch(e){console.log(“Error getting highest CBID”+e)}}getAudienceMode(e){Object(c.a)();const t=Object(s.a)(this.authCookieName),n=Object(s.a)(this.childCookieName),{little one:r}=t&&JSON.parse(t)||{};return t&&(1===r||n)?”children”:”enterprise”===e.audienceMode&&e.IsCnDomain&&e.currentFlights.consists of(“prg-china-aad”)?”grownup”:e.audienceMode||o.Grownup}sendPageConfiguration(){const e=this.clientSettings.pagetype;if(e){const t=s.a&&”perform”==typeof s.a&&Object(s.a)(“pglt-edgeChromium-“+e);if(t)return void window.webWorker.postMessage({id:”PageConfiguration”,sort:”command”,payload:t})}window.webWorker.postMessage({id:”PageConfiguration”,sort:”command”,payload:!1})}qsFromDataAttribute(e){let t,n;const o=Object(c.a)();if(o){const r=JSON.parse(o.getItem(“shd_”+e.pagetype)||null);r&&r.clientSettings&&r.information&&(t=Object.assign(Object.assign({},r.clientSettings),{bundleInfo:e.bundleInfo}),n=r.information)}return(!t||!n||e.pageGenTime>=t.pageGenTime)&&(t=e,n=this.domInfo),t.audienceMode=this.getAudienceMode(t),this.qsFromDataAttributeHelper(t,n)}qsFromUrl(){const e=location.search;return e&&e.size?e.substring(1,e.size):””}getAccessToken(){return new Promise(e=>{window.chrome&&window.chrome.authPrivate?window.chrome.authPrivate.getPrimaryAccountInfo(t=>{t&&”GCC_MODERATE”!==t.region_scope||e(“”);const n={account_id:t.account_id,account_type:t.account_type,client_id:”d7b530a4-7680-4c23-a8bf-c52c121d2e87″,scope_or_resource:”https://enterprisenews.microsoft.com”};window.chrome.authPrivate.acquireAccessTokenSilently(n,t=>{t.is_success?e(t.access_token):e(“”)})}):e(“”)})}qsMisc(){return this.qs(efficiency.timeOrigin&&efficiency.timeOrigin.toString(),”mainTimeOrigin”)+this.qs(Object(i.h)()&&”1″,”disableWWAuth”)}getSingleColRequest(e){const t=”render_single_column”,n=”feed_layout”;let o,r;for(const i of e){const{key:e,worth:s}=i;e===t?o=s:e===n&&(r=s)}return”boolean”==typeof o?o:!!r&&(r&&”single”===r.sort)}cookieBannerConsentRequired()}).init(),perform(e=[“vendors”,”common”,”microsoft”],t=”Error when loading bundle(s): “,n=5e5,o){(“seen”===doc.visibilityState?Promise.resolve():new Promise(e=>{doc.addEventListener(“visibilitychange”,()=>{“seen”===doc.visibilityState&&e()})})).then(()=>{setTimeout(()=>{const n=window.webpackJsonp;if(n){const r=n.size,i=e.size+1;if(r{t.size&&t[0][0]&&e.splice(e.indexOf(t[0][0]),1)})}attempt{Object(a.b)(t+e.toString(),20202,{})}lastly{o&&o()}}}},n)})}()},YBLW:perform(e,t,n){“use strict”;let o;perform r(e){if(!e)return null;if(!o){const e=doc.cookie.cut up(“; “);o={};const t=e&&e.size;for(let n=0;nthis.maxLength&&this.listing.shift()}get information(){return this.listing}};perform l(e,t,n){attempt{const r=s(),l=perform(){if(i)return i;let e=doc.head.getAttribute(“data-info”);const t=s();if(o()){let n;attempt{const e=window.localStorage.getItem(“shd_”+t.pagetype);n=JSON.parse(e)}catch(e){n=null}if(n){const o=n.clientSettings,r=n.information;o&&r&&t.pageGenTime0)return e.substring(0,t)}return””}(f.apikey));const h=perform(e,t,n,o,r,i){if(n){r=r||{};const{apptype:s,audienceMode:a,pagetype:d,pageGenTime:l,bundleInfo:f}=n;r.pageGenTime=l,r.construct=f&&f.v,r.appType=s;const g=”enterprise”===a&&”edgeChromium”===s?”entnews”:u[s],h=g||s,p=doc.getElementsByTagName(“html”)[0].getAttribute(“lang”);let m=””;attemptcatch(e){console.log(“error fetching muid.”)}const b={title:”MS.Information.Internet.AppError”,time:l,ver:”4.0″,iKey:”o:”+o,information:{baseData:{},baseType:”MS.Information.Internet.Base”,web page:{title:”default”,product:h,sort:d},browser:{clientId:m},flight:{id:i},request:{activityId:n.assist,requestId:n.assist},locale:{mkt:p},extSchema:{id:e,severity:0,pb:r,message:t}}};return b?JSON.stringify(b):null}return null}(t,e,r,g,n,l);if(f&&h){console.error(h),d.push(h);const e=”https://”+a+”/OneCollector/1.0″+perform(e){return”?”+Object.keys(e).map((perform(t){return t+”=”+encodeURIComponent(e[t])})).be part of(“&”)}(f);navigator.sendBeacon(e,h)}else console.log(“lacking parameters in data-client-settings. “+e)}catch(t){console.log(“error logging the app error. “+e)}}},pNSq:perform(e,t,n){“use strict”;perform o(e){let t,n=!1;const o=perform()(n=!0,t=e()),t;return o.cache={clear:()=>{n=!1,t=void 0}},o}n.d(t,”a”,(perform(){return o}))},tMmC:perform(e,t,n){“use strict”;perform o(e){r=e}n.d(t,”b”,(perform(){return o})),n.d(t,”a”,(perform(){return r}));let r=new(n(“K9Fy”).a)},”ulS/”:perform(e,t,n){“use strict”;n.d(t,”a”,(perform(){return r}));var o=n(“xYH4”);perform r(){return Object(o.b)(doc.head.dataset.clientSettings)}},xYH4:perform(e,t,n){“use strict”;perform o(e){attempt{return JSON.parse(e)}catch(e){return null}}perform r(e,t){const n=parseInt(e);return isNaN(n)?t:n}perform i(e){attempt{return JSON.stringify(e)}catch(e){return null}}n.d(t,”b”,(perform(){return o})),n.d(t,”a”,(perform(){return r})),n.d(t,”c”,(perform(){return i}))},xk7g:perform(e,t,n){“use strict”;perform o(e,t)””n.d(t,”a”,(perform(){return o}))},”y+Kz”:perform(e,t,n){“use strict”;n.d(t,”u”,(perform(){return o})),n.d(t,”m”,(perform(){return r})),n.d(t,”i”,(perform(){return i})),n.d(t,”okay”,(perform(){return s})),n.d(t,”t”,(perform(){return c})),n.d(t,”o”,(perform(){return a})),n.d(t,”p”,(perform(){return u})),n.d(t,”l”,(perform(){return d})),n.d(t,”v”,(perform(){return l})),n.d(t,”w”,(perform(){return f})),n.d(t,”x”,(perform(){return g})),n.d(t,”y”,(perform(){return h})),n.d(t,”q”,(perform(){return p})),n.d(t,”g”,(perform(){return m})),n.d(t,”h”,(perform(){return b})),n.d(t,”f”,(perform(){return w})),n.d(t,”j”,(perform(){return y})),n.d(t,”r”,(perform(){return O})),n.d(t,”s”,(perform(){return okay})),n.d(t,”n”,(perform(){return v})),n.d(t,”a”,(perform(){return S})),n.d(t,”b”,(perform(){return q})),n.d(t,”c”,(perform(){return I})),n.d(t,”d”,(perform(){return C})),n.d(t,”e”,(perform(){return W}));const o=”msnewsroot”,r={html:”html”,head:”head”,physique:”physique”},i={manifestAttributeName:”manifest”,pagesRefreshData:”ac_prd”},s=”data-client-settings”,c=”data-pagetype”,a=”data-info”,u=”data-js”,d=”dir”,l=”data-service-url”,f=”data-telemetry-id”,g=”data-page-product”,h=”data-page-type”,p=2,m=”APP_ANON”,b=”aace”,w=”ace”,y=”little one”,O={activityId:”x-client-activityid”,adsReferer:”ads-referer”,authorization:”Authorization”,entAuthorization:”Ent-Authorization”,muid:”MUID”,rpsToken:”UserAuthToken”,taboolaSessionId:”taboola-sessionId”,userIdToken:”UserIdToken”},okay={traceId:”ddd-activityid”},v=”IDXId”;var S,j;!perform(e){e.Presentation=”presentation”}(S||(S={})),perform(e){e.Unknown=”Unknown”,e.Portrait=”Portrait”,e.Panorama=”Panorama”}(j||(j={}));const q={pageVersions:”pageVersions”},I=”https://microsoftnews.msn.com/”,C=”selectedPivot”;var W;!perform(e){e[e.Undefined=0]=”Undefined”,e[e.Basic=1]=”Fundamental”,e[e.Advanced=2]=”Superior”,e[e.Premium=3]=”Premium”}(W||(W={}))}}); ]]>

Breaking News