MSN

MSN new Date?”Legitimate”:”Expired”}operate a()void 0===i&&Object(o.a)().getObject(“1s-tokens”)operate u(e){r=e;const{accessToken:t,idToken:n,expiresOn:i}=e||{};t&&n&&i?Object(o.a)().setObject(“1s-tokens”,{accessToken:t,idToken:n,expiresOn:i}):Object(o.a)().removeItem(“1s-tokens”)}operate d(){return r}},”8WO2″:operate(e,t,n){“use strict”;n.d(t,”e”,(operate(){return f})),n.d(t,”d”,(operate(){return g})),n.d(t,”f”,(operate(){return y})),n.d(t,”c”,(operate(){return O})),n.d(t,”h”,(operate(){return okay})),n.d(t,”g”,(operate(){return S})),n.d(t,”a”,(operate(){return j})),n.d(t,”i”,(operate(){return q})),n.d(t,”j”,(operate(){return I})),n.d(t,”okay”,(operate(){return C})),n.d(t,”b”,(operate(){return W})),n.d(t,”l”,(operate(){return _}));var o=n(“ulS/”),i=n(“y+Kz”),r=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},b=Object(d.a)(()=>Object(s.a)()&&Object(o.a)()||{});operate m(){return b().apptype}operate w(e)const y=Object(d.a)(()=>{const e=Object(c.a)(f),{login_hint:t}=e&&Object(l.b)(decodeURIComponent(e))||{};return t&&{login_hint:t}}),O=Object(d.a)(()=>!!Object(c.a)(f)),okay=Object(d.a)(()=>S()&&(Object(s.a)()&&location.search.match(/disable-old-auth/)||O()||!(Object(c.a)(i.h)||Object(c.a)(i.f)))),v=Object(d.a)(()=>!(m()in h)&&w(/bprg-dualauth($|;|,)/)),S=Object(d.a)(()=>v()&&!(m()in p)),j=Object(d.a)(()=>v()&&(!(m()in p)||!O())),q=Object(d.a)(()=>v()&&!_()&&(Object(s.a)()&&location.search.match(/try-delay-sso/i)||w(/bprg-dualauthlate($|;|,)/)));operate I(){return _()}operate C(){const e=Object(r.b)();if(e)return u.a.log(“dual-auth: tryGet1SAuthHeaders returned dwell tokens”),W(e.accessToken,e.idToken);const t=Object(r.c)();return t?(u.a.log(“dual-auth: tryGet1SAuthHeaders returned cached tokens which can be “+Object(r.a)()),W(t.accessToken,t.idToken)):(u.a.log(“dual-auth: tryGet1SAuthHeaders returned empty tokens”),{})}operate W(e,t){const n={};return e&&(n[i.r.authorization]=”Bearer “+e),t&&(n[i.r.userIdToken]=t),n}operate _(){return S()&&Object(a.a)()}},AjCL:operate(e,t,n){“use strict”;operate o(){strive{return localStorage}catch(e){return null}}n.d(t,”a”,(operate(){return o}))},CncT:operate(e,t,n){“use strict”;n.d(t,”a”,(operate(){return r}));var o=n(“xYH4”),i=n(“tMmC”);class r{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)strive{this.storage.setItem(e,t)}catch(e){i.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&&”operate”==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(r.b)(e)})}),e!==o.Grownup&&e!==o.Enterprise||this.sendPageConfiguration()}}buildWebWorkerUrl(e=null)qs(e,t,n)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),”youngster”)+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)appendWpoFlightsToInfo(e,t){const n=this.getWpoFlightsFromLocalStorage(e);if(n&&n.size){const e=”;”,o=t.break 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;strive{const{bundleInfo:n={},audienceMode:o,pagetype:i,apptype:r}=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}`}_${i}_${r}`,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){strivei,r)return window._cbid=r.toString()catch(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),{youngster:i}=t&&JSON.parse(t)||{};return t&&(1===i||n)?”children”:”enterprise”===e.audienceMode&&e.IsCnDomain&&e.currentFlights.contains(“prg-china-aad”)?”grownup”:e.audienceMode||o.Grownup}sendPageConfiguration(){const e=this.clientSettings.pagetype;if(e){const t=s.a&&”operate”==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 i=JSON.parse(o.getItem(“shd_”+e.pagetype)||null);i&&i.clientSettings&&i.data&&(t=Object.assign(Object.assign({},i.clientSettings),{bundleInfo:e.bundleInfo}),n=i.data)}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(r.h)()&&”1″,”disableWWAuth”)}getSingleColRequest(e){const t=”render_single_column”,n=”feed_layout”;let o,i;for(const r of e){const{key:e,worth:s}=r;e===t?o=s:e===n&&(i=s)}return”boolean”==typeof o?o:!!i&&(i&&”single”===i.sort)}cookieBannerConsentRequired()t}).init(),operate(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 i=n.size,r=e.size+1;if(i{t.size&&t[0][0]&&e.splice(e.indexOf(t[0][0]),1)})}strive{Object(a.b)(t+e.toString(),20202,{})}lastly{o&&o()}}}},n)})}()},YBLW:operate(e,t,n){“use strict”;let o;operate i(e){if(!e)return null;if(!o){const e=doc.cookie.break up(“; “);o={};const t=e&&e.size;for(let n=0;nthis.maxLength&&this.listing.shift()}get knowledge(){return this.listing}};operate l(e,t,n){strive{const i=s(),l=operate(){if(r)return r;let e=doc.head.getAttribute(“data-info”);const t=s();if(o()){let n;strive{const e=window.localStorage.getItem(“shd_”+t.pagetype);n=JSON.parse(e)}catch(e){n=null}if(n){const o=n.clientSettings,i=n.data;o&&i&&t.pageGenTime0)return e.substring(0,t)}return””}(f.apikey));const h=operate(e,t,n,o,i,r){if(n){i=i||{};const{apptype:s,audienceMode:a,pagetype:d,pageGenTime:l,bundleInfo:f}=n;i.pageGenTime=l,i.construct=f&&f.v,i.appType=s;const g=”enterprise”===a&&”edgeChromium”===s?”entnews”:u[s],h=g||s,p=doc.getElementsByTagName(“html”)[0].getAttribute(“lang”);let b=””;strive(b=Object(c.a)(“muid”))catch(e){console.log(“error fetching muid.”)}const m={title:”MS.Information.Net.AppError”,time:l,ver:”4.0″,iKey:”o:”+o,knowledge:{baseData:{},baseType:”MS.Information.Net.Base”,web page:{title:”default”,product:h,sort:d},browser:{clientId:b},flight:{id:r},request:{activityId:n.help,requestId:n.help},locale:{mkt:p},extSchema:{id:e,severity:0,pb:i,message:t}}};return m?JSON.stringify(m):null}return null}(t,e,i,g,n,l);if(f&&h){console.error(h),d.push(h);const e=”https://”+a+”/OneCollector/1.0″+operate(e){return”?”+Object.keys(e).map((operate(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:operate(e,t,n){“use strict”;operate o(e){let t,n=!1;const o=operate()(n=!0,t=e()),t;return o.cache={clear:()=>{n=!1,t=void 0}},o}n.d(t,”a”,(operate(){return o}))},tMmC:operate(e,t,n){“use strict”;operate o(e){i=e}n.d(t,”b”,(operate(){return o})),n.d(t,”a”,(operate(){return i}));let i=new(n(“K9Fy”).a)},”ulS/”:operate(e,t,n){“use strict”;n.d(t,”a”,(operate(){return r}));n(“+e96”);var o=n(“xYH4”),i=n(“HDSB”);operate r(){return Object(i.a)()?Object(o.b)(doc.head.dataset.clientSettings):null}},xYH4:operate(e,t,n){“use strict”;operate o(e){strive{return JSON.parse(e)}catch(e){return null}}operate i(e,t){const n=parseInt(e);return isNaN(n)?t:n}operate r(e){strive{return JSON.stringify(e)}catch(e){return null}}n.d(t,”b”,(operate(){return o})),n.d(t,”a”,(operate(){return i})),n.d(t,”c”,(operate(){return r}))},xk7g:operate(e,t,n){“use strict”;operate o(e,t)#n.d(t,”a”,(operate(){return o}))},”y+Kz”:operate(e,t,n){“use strict”;n.d(t,”u”,(operate(){return o})),n.d(t,”m”,(operate(){return i})),n.d(t,”i”,(operate(){return r})),n.d(t,”okay”,(operate(){return s})),n.d(t,”t”,(operate(){return c})),n.d(t,”o”,(operate(){return a})),n.d(t,”p”,(operate(){return u})),n.d(t,”l”,(operate(){return d})),n.d(t,”v”,(operate(){return l})),n.d(t,”w”,(operate(){return f})),n.d(t,”x”,(operate(){return g})),n.d(t,”y”,(operate(){return h})),n.d(t,”q”,(operate(){return p})),n.d(t,”g”,(operate(){return b})),n.d(t,”h”,(operate(){return m})),n.d(t,”f”,(operate(){return w})),n.d(t,”j”,(operate(){return y})),n.d(t,”r”,(operate(){return O})),n.d(t,”s”,(operate(){return okay})),n.d(t,”n”,(operate(){return v})),n.d(t,”a”,(operate(){return S})),n.d(t,”b”,(operate(){return q})),n.d(t,”c”,(operate(){return I})),n.d(t,”d”,(operate(){return C})),n.d(t,”e”,(operate(){return W}));const o=”msnewsroot”,i={html:”html”,head:”head”,physique:”physique”},r={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,b=”APP_ANON”,m=”aace”,w=”ace”,y=”youngster”,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;!operate(e){e.Presentation=”presentation”}(S||(S={})),operate(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;!operate(e){e[e.Undefined=0]=”Undefined”,e[e.Basic=1]=”Primary”,e[e.Advanced=2]=”Superior”,e[e.Premium=3]=”Premium”}(W||(W={}))}}); ]]>

Source

Business Travel News