MSN

[]
MSN 0)return e.substring(0,t)}return””}(u.apikey));const g=perform(e,t,n,o,i,s,r=p.Alert){var a;if(n){i=i||{};const{apptype:c,audienceMode:u,pagetype:l,pageGenTime:p,bundleInfo:h,deviceFormFactor:g=””,fd_muid:m,os:w}=n;i.pageGenTime=p,i.construct=h&&h.v,i.appType=c;const b=perform(e,t,n){const o=n&&”cellphone”===n.toLowerCase();return{bingHomepage:”binghomepage”,mmx:”emmx”,edge:”spartan”,edgeChromium:t&&”enterprise”===t?”entnews”:”anaheim”,hybrid:”spartan”,hub:o?”prime_mobile”:”prime”,microsoftNews:”msnews”,workplace:”entnews”,views:o?”prime_mobile”:”prime”,windowsShell:”windowsshell”}[e]}(c,u,g),v=b||c,y=doc.getElementsByTagName(“html”)[0].getAttribute(“lang”);let ok,S=””,A=”muid”;strive{if(“edgeChromium”===c&&”object”==typeof window&&window.location&&window.location.search){const e=new URLSearchParams(window.location.search);ok=e.has(“startpage”)?”msedgdhp”:”msedgntp”,”enterprise”===u?ok=”entnewsntp”:”xbox”===w&&(ok=”xboxntp”)}window&&window.getCookieConsentRequired&&”perform”==typeof window.getCookieConsentRequired&&window.getCookieConsentRequired()||(S=d(“muid”))}catch(e){}S||(S=n.assist,A=”assist”);const x={identify:”MS.Information.Internet.AppError”,time:p,ver:”4.0″,iKey:`o:${o}`,information:{baseData:{},baseType:”MS.Information.Internet.Base”,web page:{identify:”default”,product:v,sort:f(l),content material:{class:”standaloneError”},ocid:ok},browser:{clientId:S,clientIdType:A},flight:{id:s},request:{activityId:n.assist,requestId:n.assist,afdMuid:m},locale:{mkt:y},extSchema:{id:e,severity:r,pb:i,message:t}}};return S&&”muid”===A&&(x.ext=Object.assign(Object.assign({},null==x?void 0:x.ext),{consumer:Object.assign(Object.assign({},null===(a=null==x?void 0:x.ext)||void 0===a?void 0:a.consumer),{localId:`t:${S}`})})),x.information.flight.tmpl=””,i.isSSRScope&&(x.information.flight.tmpl+=”ssrscope:1″),”object”==typeof window&&(window.isSSREnabled&&(x.information.flight.tmpl+=”;ssr-enabled:1″),window.isSSRCompleted&&(x.information.flight.tmpl+=”;ssr-completed:1″)),x?JSON.stringify(x):null}return null}(t,e,s,l,n,c,i);if(u&&g){console.error(g),h.push(g);const e=”https://”+r+”/OneCollector/1.0″+perform(e){return”?”+Object.keys(e).map((perform(t){return t+”=”+encodeURIComponent(e[t])})).be part of(“&”)}(u);navigator.sendBeacon(e,g)}}catch(e){}}perform f(e){let t=e;swap(e){case”windowsshellhp”:t=”dhp”;break;case”video”:t=”watch”}return t}perform m(){return”seen”===doc.visibilityState?Promise.resolve():new Promise((e=>{doc.addEventListener(“visibilitychange”,(()=>{“seen”===doc.visibilityState&&e()}))}))}perform w(e){const t=window&&window.chrome&&window.chrome.ntpSettingsPrivate;t&&t.logLoadingError&&m().then((()=>{t.logLoadingError(e)}))}perform b(e){strive{if(e)return JSON.parse(e)}catch(e){}return null}perform v()window.isRenderServiceEnv)const y=”Authorization”;var ok,S;!perform(e){e.Presentation=”presentation”}(ok||(ok={})),perform(e){e.Unknown=”Unknown”,e.Portrait=”Portrait”,e.Panorama=”Panorama”}(S||(S={}));var A,x;!perform(e){e[e.Undefined=0]=”Undefined”,e[e.Basic=1]=”Primary”,e[e.Advanced=2]=”Superior”,e[e.Premium=3]=”Premium”}(A||(A={})),perform(e){e.Init=”init”,e.Config=”config”,e.Focused=”focused”,e.Sticky=”sticky”,e.NoSticky=”no_sticky”,e.Admin=”admin”,e.Compelled=”compelled”,e.Handbook=”guide”}(x||(x={}));new Set([“winp0dash”,”winp1taskbar”,”winp1taskbarent”,”winp1taskbardirect”,”winp1taskbardirectent”,”winp1taskbarent”,”winp2juntaskbar”,”winp2juntaskbarent”,”winp2″,”winp2ent”,”winp2fp”,”winp2fpent”,”winp2fptaskbar”,”winp2fptaskbarent”,”winp2fptaskbarhover”,”winp2fptaskbarhoverent”,”winp2widget”,”winp2widgetent”]);const C=new Set([“finance-app-win”,”weather-app-win”,”winpstoreapp”]);new Set([“msedgdhp”,”msedgdhphdr”,”msedgntphdr”,”msedgntp”,”msedgdhp”,”entnewsntp”]);var O;!perform(e){e.outlookMobile=”OnOOutlookMobile”,e.officeMobile=”OnOOfficeMobile”,e.sapphire=”OnOStartApp”,e.skype=”OnOSkype”}(O||(O={}));const _=new Set([“hpmsn”]);new Set([“emmx”,”vivo”]);perform I()const q=”feed/personalize/settings”;var E,N,M;perform T(e){let t,n=!1;const o=perform();return o.cache={clear:()=>{n=!1,t=void 0}},o}!perform(e){e[e.Unknown=0]=”Unknown”,e[e.NotSignedIn=1]=”NotSignedIn”,e[e.SignedIn=2]=”SignedIn”}(E||(E={})),perform(e){e.MSA=”MSA”,e.AAD=”AAD”,e.UNSUPPORTED_SOVEREIGNTY=”UNSUPPORTED_SOVEREIGNTY”}(N||(N={})),perform(e){e[e.NonAadAccount=0]=”NonAadAccount”,e[e.AadAccount=1]=”AadAccount”,e[e.Unknown=2]=”Unknown”}(M||(M={}));const P=”currentaccount”,R=T((()=>{const e=d(P,!0),t=e&&b(e),{login_hint:n}=t||{};return n&&t})),L=T((()=>!!d(P)));let D=new class{constructor(){v()?(this.isDebugEnabled=(perform(e,t)&(window.location.href,”debug”)||””).toLowerCase()in{1:1,true:1},this.isDebugEnabled&&!n.g.TEST_ENV&&(window.webpackRequire=n)):this.isDebugEnabled=!1}getLoggingService(){return null}isDebug(){return this.isDebugEnabled}setDebug(e){this.isDebugEnabled=e}setTags(e){}log(e,t){this.isDebug()&&console.data(e)}logError(e){console.error(e)}logCallback(e){this.isDebug()&&console.data(e())}logObjects(…e){this.isDebug()&&console.log(…e)}logSingleObject(e,t){this.isDebug()&&console.log(e)}};let U=new class extends class{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=b(n);if(null!=e)return e}return t}key(e){if(this.supported&&e>=0)return this.storage.key(e)}keys(){return this.supported?Object.keys(this.storage):[]}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 b(t)}setItem(e,t,n=!0){if(this.supported)strive{if(!t)throw”Tried to retailer null/undefined worth: “+t;this.storage.setItem(e,t)}catch(e){if(!n)throw e;D.logError(e)}else if(!n)throw new Error(“WebStorage not supported”)}get size(){if(this.supported)return this.storage.size}removeItem(e){if(this.supported){const t=this.getItem(e);return this.storage.removeItem(e),t}}clear(){this.supported&&this.storage.clear()}removeSubstringKeys(e){if(!this.supported||!e)return;const t=[];for(let n=0;nW.has(e)});const j=”__PageExperimentInstance__”;perform H(e){F.set(j,e)}perform B(e){var t,n;if(!F.has(j)&&v())(null===(n=null===(t=window.doc.getElementsByClassName(“peregrine-widget-settings”)[0])const o=F.get(j);return o&&o.has(e)}perform $(e);.*$)/g,””).break up(“,”);return new Set(t)const G=”1s-tokens”,J=12096e5;var V;let z,X;perform Okay(){return z=Z(),z&&z.accessToken?z:void 0}perform Y(){if(z=Z(),!z)return”notAvailable”;const e=z.expiresOn,t=new Date(e),n=”expired”;if(!t.getTime())return n;const o=new Date,i=”legitimate”;if(t>o)return i;if(B(“prg-noext”))return n;{const e=R();if(e&&e.account_type===N.MSA){if(new Date(t.getTime()+J)>o)return i}}return n}perform Z()void 0===z&&U.getObject(G)!perform(e){e.NotAvailable=”notAvailable”,e.Expired=”expired”,e.Legitimate=”legitimate”}(V||(V={}));const Q=”__RequestDataInstance__”;class ee{constructor(e,t){if(this.url=new URL(e.href),this.innerHeight=e.innerHeight,this.devicePixelRatio=e.devicePixelRatio,this.canUseCssGrid=e.canUseCssGrid,this.requestId=e.requestId,this.cookie=e.cookie,this.referer=e.referer,this.userAgent=e.userAgent,this.clientData=e.clientData,this.oneServiceHeaders=perform(e){strive{if(e)return JSON.parse(e)}catch(e){}}(e.oneServiceHeaders)||{},this.isPssrMode=t,t){const e=te(“OSATE”,this.cookie),t=!!e&&”1″===e,n=te(“OSAT”,this.cookie);if(t&&n||!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(){const e=F.get(Q);return e||(n.g.TEST_ENV?ne({href:”http://localhost:8080/”,innerHeight:768,devicePixelRatio:1,canUseCssGrid:!1,requestId:”0″,cookie:””,userAgent:””,referer:””,oneServiceHeaders:””}):ne({href:”http://localhost:8080/”,innerHeight:0,devicePixelRatio:0,canUseCssGrid:!1,requestId:”0″,cookie:””,userAgent:””,referer:””,oneServiceHeaders:””}))}static resetInstance(e,t=!1){const n=new ee(e,t);return F.set(Q,n),n}}perform te(e,t){if(t&&e){const n=new RegExp(“b”+e+”s*=s*([^;]*)”,”i”).exec(t);return n&&n.size>1?n[1]:null}return null}const ne=ee.resetInstance,oe=()=>ee.getInstance();perform ie(){strive{return localStorage}catch(e){return null}}const se=”uxlogin”,re=”uxlogout”,ae=”uxedit”,ce=”useRedirect”,de=”uxswitch”,ue=T((()=>v()&&location.search&&location.search.contains(“uxlogin=1”)));const le=T((()=>{const e=perform(){strive{return sessionStorage}catch(e){return null}}();return e&&!!e.getItem(re)}));const pe=T((()=>{const e=ie();return e&&”1″===e.getItem(ae)}));const he=T((()=>{const e=ie(),t=!B(“prg-noredirect”)&&e&&”1″===e.getItem(ce)&&perform(){const e=doc.head.dataset.clientSettings||””,{browser:t}=b(e)||{},{browserType:n=””}=t||{};return!!/safari/i.check(n)}();return t}));const ge=T((()=>{const e=ie();return e&&”1″===e.getItem(de)}));var fe;!perform(e){e.outlookMobile=”OnOOutlookMobile”,e.officeMobile=”OnOOfficeMobile”,e.sapphire=”OnOStartApp”,e.skype=”OnOSkype”,e.winWeatherApp=”weather-app-win”,e.xiaomiApp=”xmweather-“,e.winMoneyApp=”finance-app-win”}(fe||(fe={}));const me=[“ios”,”android”,”ipados”];let we=Ie(“ocid”).toLowerCase(),be=Ie(“chpltfm”),[ve,ye]=be.toLowerCase().break up(“-“);perform ke(){if(!v())return!1;const e=window.sapphireWebViewBridge,t=window.webkit,n=e&&e.ship,o=t&&t.messageHandlers&&t.messageHandlers.ship&&t.messageHandlers.ship.postMessage;return!(!n&&!o)}perform Se()perform Ae()perform xe()e;var tperform Ce()perform Oe()we.startsWith(fe.xiaomiApp)const _e=T((()=>ke()||xe()||Ae()||Se()||Ce()||we===fe.winWeatherApp.toLowerCase()||we===fe.winMoneyApp.toLowerCase()||perform()()||Oe()));perform Ie(e){strivecatch(e){return””}}const qe=I()||{},Ee={newsAndInterests:1,windowsNewsbar:1,windowsNewsPlus:1,winWidgets:1,windowsShell:1,windowsShellV2:1,distribution:1,superApp:1,channel:1},Ne={edgeChromium:1},Me={winWidgets:1},Te={procuring:1},Pe={edge:1,edgeChromium:1,channel:1,cgHomePage:1,distribution:1,mmx:1,newsAndInterests:1,windowsNewsbar:1,windowsNewsPlus:1,winWidgets:1,windowsShell:1,windowsShellV2:1,superApp:1},Re=T((()=>qe&&qe.apptype)),Le=(T((()=>v()&&Re()in Me)),T((()=>v()&&!_e()&&!(Re()in Ee)&&!We()&&!Fe()))),De=T((()=>Le()&&!(Re()in Ne)));T((()=>Le()&&(!(Re()in Ne)||!L()))),T((()=>Le()&&!$e()&&!Ge()));perform Ue()const We=T((()=>{const e=”edgeChromium”!==Re()&&!(Re()in Te)&&Je()&&perform()()&&!(“home windows”==Re()&&”windowshp”==(qe&&qe.pagetype)&&(v()?window.location.href:oe().url.href).contains(`${q}`));return e})),Fe=()=>v()&&doc&&doc.physique&&doc.physique.getElementsByClassName(“peregrine-widgets”).size>0,je=T((()=>B(“prg-1s-workid”)));T((()=>Re()in Pe||We()));perform He(){const e=X;if(e)return D.log(“dual-auth: tryGet1SAuthToken returned reside tokens”),e;const t=Okay();if(t)return D.log(`dual-auth: tryGet1SAuthToken returned cached tokens which might be ${Y()}`),t;D.log(“dual-auth: tryGet1SAuthToken returned empty tokens”)}perform Be(e){const t={};return e&&(t[y]=`Bearer ${e}`),t}perform $e()perform Ge(){return De()&&!R()&&ge()}const Je=T((()=>{const{browser:e}=qe,{browserType:t=””}=e||{};return!!/edgeChromium/i.check(t)}));const Ve=”__core_auth_authHeaderPromiseParts__”,ze=()=>F.get(Ve);var Xe;!perform(){let e;const t={promise:new Promise((t=>e=t)),resolver:e};F.set(Ve,t)}(),perform(e){e.GLOBAL=”GLOBAL”,e.GCC_MODERATE=”GCC_MODERATE”}(Xe||(Xe={}));let Ke;perform Ye(){return Ke}perform Ze(e)”al_app_anon”,n=Qe();return!!(n&&([“anon”,”al_anon”].contains(t)&&n.AL_ANONconst Qe=T((()=>b(d(“AL_STATE”,!0))));const et=()=>{const e=d(“elt”,!0),t=e&&b(e),{access_token:n,account_type:o,login_hint:i}=t||{};return(n||o||i)&&t};var tt;!perform(e){e.Grownup=”grownup”,e.Enterprise=”enterprise”,e.Youngsters=”youngsters”}(tt||(tt={}));perform nt(e,t,n,o){return new(n||(n=Promise))((perform(i,s){perform r(e){strive{c(o.subsequent(e))}catch(e){s(e)}}perform a(e){strive{c(o.throw(e))}catch(e){s(e)}}perform c(e){var t;e.carried out?i(e.worth):(t=e.worth,t instanceof n?t:new n((perform(e){e(t)}))).then(r,a)}c((o=o.apply(e,t||[])).subsequent())}))}Object.create;Object.create;perform ot(e){return new Promise((t=>setTimeout(t,e)))}const it=doc.head.attributes[“data-info”].worth;let st;if(it){const e=it.break up(“;”).discover((e=>e.startsWith(“f:”)));e&&(st=e.substring(2),st.indexOf(“1sw-pcsreturnhp”)>-1&&g(“PCS returned. Executing inline JS.”,8e4,{customMessage:location.href},p.NoAlert))}(new class{constructor(){this.childCookieName=”baby”,this.domInfo=doc.head.dataset.data,this.command=”command”}init(e=null){this.clientSettings=e||I(),this.authCookieName=Ye()||window._authCookieName||””,this.bundle=window._webWorkerBundle||””;const t=this.buildWebWorkerUrl(),n=window.webWorker=new Employee(t,{identify:”web-worker”}),o=window.webWorkerMessages=[];n.onmessage=e=>{o.push(e.information)};const i=window.webWorkerErrors=[];if(n.onerror=e=>{i.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&&n.postMessage({id:”FeedDisplaySetting”,sort:this.command,payload:e.worth})})),t.getPref(“ntp.layout_mode”,(e=>{e&&e.worth&&n.postMessage({id:”LayoutModeSetting”,sort:this.command,payload:e.worth})})),t.getPref(“ntp.user_nurturing”,(e=>{let t=!1;e&&e.worth&&e.worth.size&&(t=this.getSingleColRequest(e.worth)),n.postMessage({id:”RenderSingleColumn”,sort:this.command,payload:t})})),t.getPref(“new_device_fre.has_user_seen_new_fre”,(e=>{e&&n.postMessage({id:”NewUserFre”,sort:this.command,payload:e.worth})}))),t&&”perform”==typeof t.getConfigData&&t.getConfigData((e=>{const t=(null==e?void 0:e.enabledFeatures)||[];t.contains(“msReducedNtpAdsForNewDevice_stage1″)&&n.postMessage({id:”EdgeNoAds”,sort:this.command,payload:!0}),t.contains(“msReducedNtpAdsForNewDevice_stage2″)&&n.postMessage({id:”EdgeReduceAds”,sort:this.command,payload:!0})})),e===tt.Enterprise&&this.clientSettings.browser&&”edgeChromium”===this.clientSettings.browser.browserType&&parseInt(this.clientSettings.browser.model)>=87?this.getEnterpriseAccessToken().then((e=>{e&&n.postMessage({id:”AuthTokenEnterprise”,sort:this.command,payload:Be(e)})})):n.postMessage({id:”AuthTokenEnterprise”,sort:this.command,payload:{}}),e!==tt.Grownup&&e!==tt.Enterprise||this.sendPageConfiguration()}Ue()&&ze().promise.then((e=>n.postMessage({id:”AuthHeaders”,sort:this.command,payload:e||{}})))}buildWebWorkerUrl(e=null)this.clientSettings)+this.qsFromUrl()+this.qsFromServiceWorker()+this.qsSelectedPivot()+this.qsXboxXToken()qs(e,t,n)e)+”&”:””qsFromDocument()void 0===e?void 0:e.toString(),”devicePixelRatio”)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(l(this.authCookieName),”aace”,”1″)+this.qs(l(“muid”),”muid”)+this.qs(l(this.childCookieName),”baby”)+this.qs(l(“cbypass”),”cbypass”)+this.qs(this.cookieBannerConsentRequired().toString(),”ccRequired”)+this.qs(l(“ecasession”),”ecasession”)+this.qs(l(“TOptOut”),”browserOptOut”)}qsFromDataAttributeHelper(e,t)qsSelectedPivot(){const e=”selectedPivot”;let t;strive{const n=ie();n&&(t=n.getItem(e))}catch(e){console.warn(“Error getting pivot id from native storage. “+e)}return this.qs(t,e)}qsXboxXToken(){const e=”xboxXTokenId”;let t;strive{const n=ie();n&&(t=n.getItem(e))}catch(e){console.warn(“Error getting xbox XToken from native storage. “+e)}return this.qs(t,e)}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}getHighestCbid(e,t){striveocatch(e){console.warn(“Error getting highest CBID”+e)}}getAudienceMode(e){ie();const t=d(this.authCookieName),n=d(this.childCookieName),{baby:o}=t&&JSON.parse(t)||{};return t&&(1===o||n)?”youngsters”:e.audienceMode||tt.Grownup}sendPageConfiguration(){const e=this.clientSettings.pagetype;if(e){const t=d&&d(“pglt-edgeChromium-“+e);if(t)return void window.webWorker.postMessage({id:”PageConfiguration”,sort:this.command,payload:t})}window.webWorker.postMessage({id:”PageConfiguration”,sort:this.command,payload:!1})}qsFromDataAttribute(e){let t,n;const o=ie();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):””}getEnterpriseAccessToken(){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”)}qsAuth(e){let t=this.qs(De()&&”1″,”disableWWAuth”);if(!Ue()){const e=De()&&He()||{};t+=this.qs(encodeURIComponent(JSON.stringify(Be(e.accessToken))),”authHeaders”)}return t+=this.qs(Ze()&&”1″,”isAccountLinked”),t+=this.qs(this.shouldFetchAppAnonCookie()&&”1″,”fetchAppAnonCookie”),t}getSingleColRequest(e){const t=”render_single_column”,n=”feed_layout”;let o,i;for(const s of e){const{key:e,worth:r}=s;e===t?o=r:e===n&&(i=r)}return”boolean”==typeof o?o:!!i&&(i&&”single”===i.sort)}cookieBannerConsentRequired()tshouldFetchAppAnonCookie(){if(!Je())return!0;const e=(()=>{const e=et();if(e){if(“MSA”===e.account_type)return N.MSA;if(“AAD”===e.account_type)return N.AAD}})();return e===N.MSA||u(“lt”)?!u(“aace”):e===N.AAD?Ze()&&!je():void 0}}).init(),perform(e=[“vendors”,”common”,”microsoft”],t=”Error when loading bundle(s): “,n=5e5,o,i){m().then((()=>{setTimeout((()=>{const n=window.webpackJsonp;if(n){const s=n.size,r=e.size+1;if(s{t.size&&t[0][0]&&e.splice(e.indexOf(t[0][0]),1)}))}w(20202),g(t+e.toString(),20202,{}),i&&(w(o),i(o,{customMessage:e.toString()}))}}}),n)}))}();const rt=’n n msn_logon n n n n n n ‘,at=300;perform ct()doc.physique.querySelector(“entry-point-hp-mobile”)perform dt(e)void 0===t?void 0:t.getAttribute(“data-info”))!perform(){if(!((null==st?void 0:st.indexOf(“prg-hp-nsl”))>=0)){class t extends HTMLElement{constructor(){tremendous(),this.attachShadow({mode:”open”})}connectedCallback(){const e=doc.createElement(“fashion”);e.innerHTML=’n :host {n font-family: Segoe UI, Segoe UI Midlevel, Segoe WP, Arial, sans-serif !vital;n show: flex;n top: 100vh;n width: 100vw;n place: mounted;n background: #e0e0e0;n high: 0;n left: 0;n justify-content: middle;n shade: #000;n z-index: 99999;n }n .container {n show: flex;n margin-top: 200px;n flex-direction: column;n user-select: none;n -moz-user-select: none;n -webkit-user-select: none;n -ms-user-select: none;n align-items: middle;n }n .emblem {n margin: 0 0 15px;n font-size: 38px;n letter-spacing: 2px;n word-spacing: -5px;n opacity: 1;n }n .emblem svg {n shade: #000;n show: inline-block;n top: 35px;n place: relative;n high: 3px;n }n .loading-bar {n show: block;n top: 2px;n width: 100px;n background: #fff;n overflow: hidden;n border-radius: 2px;n }n .loading-bar:earlier than {n content material: “”;n show: block;n top: 2px;n width: 40px;n background: #000;n left: -20px;n place: relative;n animation: loading-bar 1.5s infinite;n }n @keyframes loading-bar {n 0 {n left: -20px;n }n 50% {n left: 80px;n }n 100% {n left: -20px;n }n }n ‘;const t=`n

n ${rt} msnn n n `,n=doc.createElement(“div”);n.className=”container”,n.innerHTML=t,this.shadowRoot.appendChild(e),this.shadowRoot.appendChild(n)}}customElements.get(“msn-hp-loading-indicator”)||customElements.outline(“msn-hp-loading-indicator”,t),setTimeout((()=>{ct()||perform(){const t=doc.physique;if(t)e();else{const n=new MutationObserver((perform(){t&&(n.disconnect(),e())}));n.observe(doc.documentElement,{childList:!0})}}()}),at)}perform e(){const e=doc.createElement(“msn-hp-loading-indicator”);e.id=”loader”,doc.physique.appendChild(e);const t=new MutationObserver((perform(){ct()&&(t.disconnect(),doc.physique.querySelector(“msn-hp-loading-indicator”).take away())}));t.observe(doc.physique,{childList:!0})}}(),(dt(“prg-sdkpreload”)||dt(“prg-renderoptimize”))&&perform(){nt(this,void 0,void 0,(perform*(){window.apntag=window.apntag||{anq:[]},window.apntag.anq=window.apntag.anq||[],yield perform(e){return nt(this,void 0,void 0,(perform*(){if(!v())return;const{src:t,id:n,async:o=!0,container:i=doc.head,retryNumber:s=0,retryDelayMs:r=0}=e;strive{yield perform(e,t=3,n=100){return nt(this,void 0,void 0,(perform*(){if(t<=1)return e();let o,i=1;do{try{o=yield e()}catch(e){if(i===t)throw e&&e.message&&(e.message=`${e.message} after ${i} attempts`),e;yield ot(n)}}while(!o&&++ifunction(e,t,n,o=!0){return new Promise(((i,s)=>{const r=perform(e,t,n=!0,o=”nameless”,i,s){if(!v())throw new Error(“createScriptTag is unsupported server aspect. This name must be wrapped in canUseDOM().”);const r=doc.createElement(“script”);return t&&(r.id=t),i&&r.setAttribute(“class”,i),s&&(r.onload=s),r.sort=”textual content/javascript”,e&&(r.src=e,r.async=n,r.crossOrigin=o),window&&window.NONCE_ID&&(r.nonce=window.NONCE_ID),r}(e,t,o,void 0,void 0,(()=>i(!0)));r.crossOrigin=void 0,r.onerror=s,n.prepend(r)}))}(t,n,i,o)),s,r)}catch(e){g(“Didn’t obtain Static JS”,11103,{scriptId:n,scriptSrc:t},p.Alert)}}))}({id:”display-sdk”,src:”https://acdn.adnxs.com/ast/ast.js”,container:doc.head,retryDelayMs:200,retryNumber:5})}))}()}(); ]]>

{t=o,s=e}),window._idbConfigOpenPromise=(()=>{strive{const d=o.open(“wwConfigs”,1);return new Promise((o,c)=>{d.onerror=(()=>{c(new Error(“Config IDB preload open failure: “+d.error))}),d.onsuccess=(()=>{r[n+”open-End”]=efficiency.now();const c=d.outcome;o(c),r[n+”getAllObjects-Start”]=efficiency.now();const a=c.transaction(e,”readonly”).objectStore(e).openCursor();a.onsuccess=perform(){const o=this.outcome;o?(i[o.key]=o.worth,o.proceed()):(r[n+”getAllObjects-End”]=efficiency.now(),t())},a.onerror=(()=>{s(new Error(“Config IDB preload learn failure”))})}),d.onupgradeneeded=(()=>{d.outcome.createObjectStore(e)})})}catch(o){return Promise.reject(new Error(“Config IDB preload open failure: “+o))}})()}preloadConfigIDB(); ]]> onErrorHandler(s.src);s.nonce=””;s.crossOrigin=”nameless”;doc.physique.appendChild(s);} ]]>

You May Also Like

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다