MSN i.delete(e),has:e=>i.has(e)});const r=”__RequestDataInstance__”;class cconstructor(e,t),this.isPssrMode=t,t)static getInstance()static resetInstance(e)const t=new c(e,arguments.length>1&&void 0!==arguments[1]&&arguments[1]);return s.set(r,t),tfunction a(e,t)if(t&&e)const n=new RegExp(“b”+e+”s*=s*([^;]*)”,”i”).exec(t);return n&&n.length>1?n[1]:nullreturn nullconst d=c.resetInstance,l=()=>c.getInstance();function u()return o()?window.location.search:l().url.searchvar p,h;!function(e)e.Anon=”ANON”,e.AppAnon=”APP_ANON”,e.Unknown=””(p||(p=)),function(e)e.AnonCookieExists=”ace”,e.AppAnonCookieExists=”aace”(h||(h=));const g=”child”;function w(e,t)if(e)const n=new RegExp(“b”+t+”s*=s*([^;]*)”,”i”).exec(e);return n&&n.length>1?n[1]:nullreturn nullfunction f(e)tryif(e)return JSON.parse(e)catch(e)return nullconst m=”prg-pr2-“,v=”prg-pr2-only”,b=”prg-pw-“,y=”prg-“,k=”prg-1sw-“;function S(e)let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y;const n=t.length,o=[];return e&&e.length&&(e.forEach((e=>const i=e&&e.trim();i&&i.length>=n&&i.substring(0,n).toLowerCase()===t&&o.push(i.toLowerCase()))),o.sort()),oconst C=”allfltstocrs”,A=”canvasfltstocrs”;function I()let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:””;const n=E(_(“info”))function _(e)let q;function O()return void 0===q&&(q=document.getElementsByClassName(“peregrine-widget-settings”)[0]function E(e)const L=”Authorization”;var x,T;!function(e)e.Presentation=”presentation”(x||(x=)),function(e)e.Unknown=”Unknown”,e.Portrait=”Portrait”,e.Landscape=”Landscape”(T||(T=));var P,N;!function(e)e[e.Undefined=0]=”Undefined”,e[e.Basic=1]=”Basic”,e[e.Advanced=2]=”Advanced”,e[e.Premium=3]=”Premium”(P||(P=)),function(e)e.Init=”init”,e.Config=”config”,e.Targeted=”targeted”,e.Sticky=”sticky”,e.NoSticky=”no_sticky”,e.Admin=”admin”,e.Forced=”forced”,e.Manual=”manual”(N||(N=));new Set([“winp0dash”,”winp1taskbar”,”winp1taskbarent”,”winp1taskbardirect”,”winp1taskbardirectent”,”winp1taskbarent”,”winp2juntaskbar”,”winp2juntaskbarent”,”winp2″,”winp2ent”,”winp2fp”,”winp2fpent”,”winp2fptaskbar”,”winp2fptaskbarent”,”winp2fptaskbarhover”,”winp2fptaskbarhoverent”,”winp2widget”,”winp2widgetent”]);const W=new Set([“finance-app-win”,”weather-app-win”,”winpstoreapp”]),R=(new Set([“msedgdhp”,”msedgdhphdr”,”msedgntphdr”,”msedgntp”,”msedgdhp”,”entnewsntp”]),new Set([“hpmsn”]));new […]
MSN i.delete(e),has:e=>i.has(e)});const r=”__RequestDataInstance__”;class cconstructor(e,t),this.isPssrMode=t,t)!e&&!n)return this.msalAuthReady=!0,void(n&&(this.oneServiceHeaders.Authorization=`Bearer $n`));this.msalAuthReady=!1,this.pssrRejectedReason=e&&!t?”interactiveLogin”:e&&!n?”missOSAT”:”missOSATE”static getInstance()static resetInstance(e)const t=new c(e,arguments.length>1&&void 0!==arguments[1]&&arguments[1]);return s.set(r,t),tfunction a(e,t)if(t&&e)const n=new RegExp(“b”+e+”s*=s*([^;]*)”,”i”).exec(t);return n&&n.length>1?n[1]:nullreturn nullconst d=c.resetInstance,l=()=>c.getInstance();function u()return o()?window.location.search:l().url.searchvar p,h;!function(e)e.Anon=”ANON”,e.AppAnon=”APP_ANON”,e.Unknown=””(p||(p=)),function(e)e.AnonCookieExists=”ace”,e.AppAnonCookieExists=”aace”(h||(h=));const g=”child”;function w(e,t)if(e)const n=new RegExp(“b”+t+”s*=s*([^;]*)”,”i”).exec(e);return n&&n.length>1?n[1]:nullreturn nullfunction f(e)tryif(e)return JSON.parse(e)catch(e)return nullconst m=”prg-pr2-“,v=”prg-pr2-only”,b=”prg-pw-“,y=”prg-“,k=”prg-1sw-“;function S(e)let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y;const n=t.length,o=[];return e&&e.length&&(e.forEach((e=>const i=e&&e.trim();i&&i.length>=n&&i.substring(0,n).toLowerCase()===t&&o.push(i.toLowerCase()))),o.sort()),oconst C=”allfltstocrs”,A=”canvasfltstocrs”;function I()let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:””;const n=E(_(“info”))function _(e)void 0===t?void 0:t.dataset[e])let q;function O()function E(e)const L=”Authorization”;var x,T;!function(e)e.Presentation=”presentation”(x||(x=)),function(e)e.Unknown=”Unknown”,e.Portrait=”Portrait”,e.Landscape=”Landscape”(T||(T=));var P,N;!function(e)e[e.Undefined=0]=”Undefined”,e[e.Basic=1]=”Basic”,e[e.Advanced=2]=”Advanced”,e[e.Premium=3]=”Premium”(P||(P=)),function(e)e.Init=”init”,e.Config=”config”,e.Targeted=”targeted”,e.Sticky=”sticky”,e.NoSticky=”no_sticky”,e.Admin=”admin”,e.Forced=”forced”,e.Manual=”manual”(N||(N=));new Set([“winp0dash”,”winp1taskbar”,”winp1taskbarent”,”winp1taskbardirect”,”winp1taskbardirectent”,”winp1taskbarent”,”winp2juntaskbar”,”winp2juntaskbarent”,”winp2″,”winp2ent”,”winp2fp”,”winp2fpent”,”winp2fptaskbar”,”winp2fptaskbarent”,”winp2fptaskbarhover”,”winp2fptaskbarhoverent”,”winp2widget”,”winp2widgetent”]);const W=new Set([“finance-app-win”,”weather-app-win”,”winpstoreapp”]),R=(new Set([“msedgdhp”,”msedgdhphdr”,”msedgntphdr”,”msedgntp”,”msedgdhp”,”entnewsntp”]),new Set([“hpmsn”]));new Set([“chromentpnews”]);function M()const F=”feed/personalize/settings”;function D(e,t)””let U=new classconstructor()getLoggingService()return nullisDebug()return this.isDebugEnabledsetDebug(e)this.isDebugEnabled=esetTags(e)log(e,t)this.isDebug()&&console.info(e)logError(e)console.error(e)logCallback(e)this.isDebug()&&console.info(e())logObjects()this.isDebug()&&console.log(…arguments)logSingleObject(e,t)this.isDebug()&&console.log(e);class $Ae()===ye.winWeatherApp.toLowerCase()let ft,mt,vt;function bt()var yt;!function(e)e[e.Alert=0]=”Alert”,e[e.Deprecated=1]=”Deprecated”,e[e.HighImpact=2]=”HighImpact”,e[e.Critical=3]=”Critical”(yt||(yt=));const kt=new classconstructor()let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;this.maxLength=e,this.list=[]push(e)this.list.push(e),this.list.length>this.maxLength&&this.list.shift()get data()return this.list;function St(e,t,n)let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:yt.Alert,s=arguments.length>4?arguments[4]:void 0,r=arguments.length>5?arguments[5]:void 0,c=arguments.length>6?arguments[6]:void 0;tryconst a=function()if(!ft)const e=document.head.getAttribute(“data-client-settings”);e&&(ft=JSON.parse(e))return ft(),d=bt(),l=function(e)if(e)return null(a);let u=””;l&&l.apikey&&””!==l.apikey&&(u=function(e)if(e)const t=e.indexOf(“-“);if(t>0)return e.substring(0,t)return””(l.apikey));const p=function(e,t,n,i,s,r)let c=arguments.length>6&&void 0!==arguments[6]?arguments[6]:yt.Alert,a=arguments.length>7&&void 0!==arguments[7]?arguments[7]:””;if(n);constapptype:l,audienceMode:u,pagetype:p,pageGenTime:h,bundleInfo:g,deviceFormFactor:w=””,fd_muid:f,os:m=n;s.pageGenTime=h,s.build=g&&g.v,s.appType=l;const v=function(e,t,n)const i=n&&”phone”===n.toLowerCase(),s=t&&”enterprise”===t;let r=”Edge”;De()?r=”swiftKey”:Fe()?r=”Launcher”:function()()&&(r=”bingHomepageMobile”);const c=bingHomepage:”binghomepage”,mmx:”emmx”,edge:”spartan”,edgeChromium:s?”entnews”:”anaheim”,hybrid:”spartan”,hub:i?”prime_mobile”:”prime”,microsoftNews:”msnews”,office:”entnews”,views:i?”prime_mobile”:”prime”,homePage:i?”prime_mobile”:”prime”,windowsShell:”windowsshell”,edgeMobile:r;return c[e](l,u,w),b=vreturn null(t,e,a,u,n,d,i,c);if(r&&!function(e)if(null==e)return!1;return e.startsWith(“1”)(null==a?void 0:a.aid))return console.error(p),void console.error(`This App error Id: $t will not be sent due to app error sampling!`);if(l&&p)console.error(p),kt.push(p);const e=”https://”+vt+”/OneCollector/1.0″+function(e)return”?”+Object.keys(e).map((function(t)return t+”=”+encodeURIComponent(e[t]))).join(“&”)(l);if(s&&!performance.getEntriesByType(“visibility-state”).some((e=>”visible”===e.name)))const t=()=>“visible”===document.visibilityState&&navigator.sendBeacon(e,p);document.addEventListener(“visibilitychange”,t,once:!0)else navigator.sendBeacon(e,p)catchconst Ct=homePage:vertical:”homepage”,category:””,id:””,domainId:”13041″,title:”undefined”!=typeof document?document.title:””;function At(e)let t=e;switch(e)case”windowsshellhp”:t=”dhp”;break;case”video”:t=”watch”;break;case”EdgeMobile”:t=Re()?”ntp”:”dhp”return tfunction It(e)return new Promise((t=>setTimeout(t,e)))const _t=”https://acdn.adnxs.com/ast/ast.js”,qt=”https://adsdk.microsoft.com/ast/ast.js”;async function Ot(e)[],await async function(e)if(!o())return;constsrc:t,id:n,async:i=!0,container:s=document.head,retryNumber:r=0,retryDelayMs:c=0=e;tryawait async function(e)let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;if(t<=1)return e();let o,i=1;dotryo=await e()catch(e)if(i===t)throw e&&e.message&&(e.message=`$e.message after $i attempts`),e;await It(n)while(!o&&++ifunction(e,t,n)arguments[3];return new Promise(((s,r)=>const c=function()let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=!(arguments.length>2&&void 0!==arguments[2])(e,t,i,void 0,void 0,(()=>s(!0)));c.crossOrigin=void 0,c.onerror=r,n.prepend(c)))(t,n,s,i)),r,c)catch(e)St(“Failed to download Static JS”,11103,scriptId:n,scriptSrc:t,yt.Alert)(id:”display-sdk”,src:e?qt:_t,container:document.head,retryDelayMs:200,retryNumber:5)const Et=M();function Lt(e)return((null==Et?void 0:Et.ocid)function xt()return Lt(“superappdhp”)function Tt()const Pt=”experience”,Nt=Object.create(null),Wt=2;function Rt()const e=[“vendors”,”microsoft”,”common”];window.addEventListener(“load”,(()=>window._pageTimings.navType=Ft(),window.requestIdleCallback((()=>const t=function(e)const t=window.viewsWebpackChunks;if(!t)return[…e,Pt];if(t.length>e.length)return[];t.forEach((t=>e.splice(e.indexOf(t[0][0]),1))),t.push===Array.prototype.push&&e.push(Pt);return e(e);t.length&&t.forEach((e=>Mt(e)))))),once:!0)function Mt(e,t)(); ]]> onErrorHandler(s.src);s.nonce=””;s.crossOrigin=”anonymous”;document.body.appendChild(s); ]]>
Source