MSN []o[0]&&c[1]1?n[1]:null}return null}var ct=it.resetInstance,ut=function(){return it.getInstance()};function st(){try{return localStorage}catch(t){return null}}var ft=”__PageExperimentInstance__”;function lt(t){rt.set(ft,t)}function pt(t){var e,n;!rt.has(ft)&&R()&<(ht(document.head.dataset.info||(null===(n=null===(e=window.document.getElementsByClassName(“peregrine-widget-settings”)[0])||void 0===e?void 0:e.dataset)||void 0===n?void 0:n.info)||””));var r=rt.get(ft);return r&&r.has(t)}function ht(t){var e=(t||””).replace(/(^f:|;.*$)/g,””).split(“,”);return new Set(e)}var dt=”uxlogin”,vt=”uxlogout”,gt=”uxedit”,yt=”useRedirect”,mt=”uxswitch”,wt=Q((function(){var t=st();return t&&”1″===t.getItem(dt)||R()&&location.search&&location.search.includes(“”.concat(dt,”=1″))}));var bt=Q((function(){var t=function(){try{return sessionStorage}catch(t){return null}}();return t&&!!t.getItem(vt)}));var xt=Q((function(){var t=st();return t&&”1″===t.getItem(gt)}));var St=Q((function(){var t=st(),e=!pt(“prg-noredirect”)&&t&&”1″===t.getItem(yt)&&function(){var t=document.head.dataset.clientSettings||””,e=(T(t)||{}).browser,n=(e||{}).browserType,r=void 0===n?””:n;return!!/safari/i.test(r)}();return e}));var At=Q((function(){var t=st();return t&&”1″===t.getItem(mt)}));var Et={bingHomepageMobile:”binghomepagemobile”,outlookMobile:”OnOOutlookMobile”,officeMobile:”OnOOfficeMobile”,sapphire:”OnOStartApp”,skype:”OnOSkype”,freFullPage:”emmxFre”,winWeatherApp:”weather-app-win”,xiaomiApp:”xmweather-“,launcher:”launcherntp”,launcherInterests:”launcherInterests”,moto:”moto”,swiftKey:”swiftKey”,winMoneyApp:”finance-app-win”},Ot=”superappdhp”,kt=[“ios”,”android”,”ipados”],It=Jt(“ocid”).toLowerCase(),Tt=Jt(“chpltfm”),Rt=Tt.toLowerCase().split(“-“),_t=Rt[0],Mt=Rt[1];function Lt(){if(!R()||Dt())return!1;var t=window.sapphireWebViewBridge,e=window.webkit,n=t&&t.send,r=e&&e.messageHandlers&&e.messageHandlers.send&&e.messageHandlers.send.postMessage;return!(!n&&!r)}function Pt(){var t=Tt&&”outlook”===_t&&kt.includes(Mt),e=It===Et.outlookMobile.toLowerCase();return t||e}function jt(){var t=Tt&&[“office”,”union”].includes(_t)&&kt.includes(Mt),e=It===Et.officeMobile.toLowerCase();return t||e}function Ct(){var t=It===Et.skype.toLowerCase()||”skype”===_t;return R()&&function(){var t;return null===(t=window.skypeWebviewBridge)||void 0===t?void 0:t.isSkype}()||t}function Nt(){return!(!R()||Dt())&&(Lt()||It===Et.sapphire.toLowerCase()||It===Ot.toLowerCase())}function Ut(){var t=Jt(“edge”);return(“emmx”===_t||”1″===t)&&Nt()||”mmx”===It}function Ft(){return”3rdp”===_t||It.startsWith(Et.xiaomiApp)||It===Et.moto.toLowerCase()||Dt()}function Dt(){return It.toLowerCase()===Et.swiftKey.toLowerCase()||”swiftkey”==_t.toLowerCase()}function qt(){return-1!==location.href.indexOf(“huawei”)||-1!==location.href.indexOf(“airfind”)||-1!==location.href.indexOf(“aloha”)||”vivo”===It&&Ft()}var Wt,Bt,Gt,zt,Vt,Ht=Q((function(){return It.toLowerCase()===Et.bingHomepageMobile.toLowerCase()||-1!==location.href.indexOf(“bingHomepageMobile”)||Lt()||Ct()||jt()||Pt()||Nt()||It===Et.winWeatherApp.toLowerCase()||It===Et.winMoneyApp.toLowerCase()||Ut()||Ft()||[Et.launcher.toLowerCase(),Et.launcherInterests.toLowerCase()].includes(It)&&Nt()||Dt()||qt()||-1!==location.href.indexOf(“metaos=true”)}));function Jt(t){try{return new URL(location.href).searchParams.get(t)||””}catch(t){return””}}var $t=U()||{},Yt=((Wt={}).newsAndInterests=1,Wt.windowsNewsbar=1,Wt.windowsNewsPlus=1,Wt.winWidgets=1,Wt.windowsShell=1,Wt.windowsShellV2=1,Wt.distribution=1,Wt.superApp=1,Wt.channeldesktop=1,Wt.channelmobile=1,Wt.edgeMobile=1,Wt),Kt=((Bt={}).edgeChromium=1,Bt),Xt=((Gt={}).winWidgets=1,Gt),Qt=((zt={}).edgeChromium=1,zt.shopping=1,zt.newsAndInterests=1,zt.windowsNewsbar=1,zt.windowsNewsPlus=1,zt.winWidgets=1,zt.windowsShell=1,zt.windowsShellV2=1,zt),Zt=((Vt={}).edgeChromium=1,Vt.channeldesktop=1,Vt.channelmobile=1,Vt.cgHomePage=1,Vt.distribution=1,Vt.newsAndInterests=1,Vt.windowsNewsbar=1,Vt.windowsNewsPlus=1,Vt.winWidgets=1,Vt.windowsShell=1,Vt.windowsShellV2=1,Vt.superApp=1,Vt.edgeMobile=1,Vt),te=Q((function(){return $t&&$t.apptype})),ee=(Q((function(){return R()&&te()in Xt})),Q((function(){return R()&&!Ht()&&!(te()in Yt)&&!oe()&&!ie()}))),ne=Q((function(){return ee()&&!(te()in Kt)}));Q((function(){return ee()&&(!(te()in Kt)||!et())})),Q((function(){return ee()&&!se()&&!fe()}));function re(){return fe()||se()}var oe=Q((function(){var t=!(te()in Qt)&&le()&&function(){var t=new URLSearchParams(R()?window.location.search:ut().url.search).get(“ocid”)||(null==$t?void 0:$t.ocid),e=null==t?void 0:t.toLowerCase(),n=!N.has(e)&&”homePage”!==te()&&!C.has(e);return n}()&&!function(){var t=”windows”==te()&&”windowshp”==($t&&$t.pagetype)&&(R()?window.location.href:ut().url.href).includes(“”.concat(F));return t}();return t})),ie=function(){return R()&&document&&document.body&&document.body.getElementsByClassName(“peregrine-widgets”).length>0},ae=Q((function(){return pt(“prg-1s-workid”)||pt(“prg-1s-sm-workid”)||pt(“prg-1s-twid”)||pt(“prg-1s-mm-wid-t”)}));Q((function(){return te()in Zt||oe()}));function ce(){var t=H;if(t)return W.log(“dual-auth: tryGet1SAuthToken returned live tokens”),t;var e=Y();if(e)return W.log(“dual-auth: tryGet1SAuthToken returned cached…
Continue reading