MSN

MSN new Date?"valid":"expired"}function u(){return r=r||void 0===r&&Object(o.a)().getObject("1s-tokens")||null,r}function d(e){r=void 0,s=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")}function l(){return s}!function(e){e.NotAvailable="notAvailable",e.Expired="expired",e.Valid="valid"}(i||(i={}))},"8WO2":function(e,t,n){"use strict";n.d(t,"e",(function(){return f})),n.d(t,"d",(function(){return g})),n.d(t,"f",(function(){return b})),n.d(t,"c",(function(){return w})),n.d(t,"i",(function(){return y})),n.d(t,"g",(function(){return v})),n.d(t,"a",(function(){return k})),n.d(t,"j",(function(){return j})),n.d(t,"h",(function(){return S})),n.d(t,"m",(function(){return q})),n.d(t,"n",(function(){return I})),n.d(t,"b",(function(){return C})),n.d(t,"k",(function(){return W})),n.d(t,"l",(function(){return _}));var o=n("ulS/"),i=n("+uXD"),r=n("y+Kz"),s=n("HDSB"),c=n("YBLW"),a=n("FMyg"),u=n("tMmC"),d=n("qBmg"),l=n("xYH4");const f="currentaccount",g=365,h={newsAndInterests:1,ugc:1,windowsNewsbar:1,windowsNewsPlus:1,winWidgets:1,windowsShell:1},p={edgeChromium:1},m=Object(d.a)(()=>(Object(s.a)()&&Object(o.a)()||{}).apptype);const b=Object(d.a)(()=>{const e=Object(c.a)(f),{login_hint:t}=e&&Object(l.b)(decodeURIComponent(e))||{};return t&&{login_hint:t}}),w=Object(d.a)(()=>!!Object(c.a)(f)),y=Object(d.a)(()=>v()&&(b()||!S())),O=Object(d.a)(()=>{var e;return Object(s.a)()&&!(m()in h)&&(e=/bprg-nodualauth($|;|,)/,!(Object(s.a)()&&(document.head.dataset.info||"").match(e)))}),v=Object(d.a)(()=>O()&&!(m()in p)),k=Object(d.a)(()=>O()&&(!(m()in p)||!w())),j=Object(d.a)(()=>O()&&!W());function S(){return Object(c.a)(r.h)||Object(c.a)(r.f)}function q(){return W()}function I(){const e=Object(i.b)();if(e)return u.a.log("dual-auth: tryGet1SAuthToken returned live tokens"),e;const t=Object(i.c)();if(t)return u.a.log("dual-auth: tryGet1SAuthToken returned cached tokens that are "+Object(i.a)()),t;u.a.log("dual-auth:…
view related posts