MSN 香港 | 首頁

  • 2022-01-03Data de coleta
  • 2022-02-15Atualizada
MSN 香港 | 首頁
  • Endereço do website:www.msn.com
  • IP do servidor:204.79.197.203
  • Descrição do Site:Através do MSN Hong Kong, você pode personalizar para assistir assuntos atuais, entretenimento, vida, finanças, esportes e outras notícias, usar hotmail / outlook email, Skype e comprar produtos da loja online da Microsoft.

nome do domínio:www.msn.comAvaliação

cerca de 500000~10000000

nome do domínio:www.msn.comfluxo

491

nome do domínio:www.msn.comBom ou mal

Próspero e próspero. Pepsi Prosperidade

local na rede Internet:MSN 香港 | 首頁Pesos

1

local na rede Internet:MSN 香港 | 首頁IP

204.79.197.203

local na rede Internet:MSN 香港 | 首頁contente

MSNtry{window._peTimings=window._peTimings||{};window._peTimings["TTJSStart"]=Math.round(performance.now());}catch(e){console.error("ErrorinaddingTTJSStartmarker");}functiongetCookieConsentRequired(){returntrue;}window._ssrServiceEntryUrl="/bundles/v1/homePe/latest/SSR-service-entry.37adc082b56bec07ca83.js";window["_webWorkerBundle"]="/bundles/v1/homePe/latest/web-worker.8314bc5e0c1ec30.js";window["_authCookieName"]="ace";!function(){"usestrict";vare={},t={};functionn(o){vari=t[o];if(void0!==i)returni.exports;vars=t[o]={exports:{}};returne[o](s,s.exports,n),s.exports}leto,i,s,r;functiona(){if(i)returni;conste=document.head.getAttribute("data-info");returni=((/f:\s*([^;]+)/i.exec(e)||{})[1]||"").toLowerCase(),i}n.g=function(){if("object"==typeofglobalThis)returnglobalThis;try{returnthis||newFunction("returnthis")()}catch(e){if("object"==typeofwindow)returnwindow}}(),function(){if(void0!==n){constt=n.e,o={};vare;document.head.getAttribute("data-info");n.e=function(i){returnt(i).catch((function(t){consts=o.hasOwnProperty(i)?o[i]:2;if(void0===e&&(e=!1),e&&2===s&&(n.p=n.p.replace("/assets.","/assets2.")),sthis.maxLength&&this.list.shift()}getdata(){returnthis.list}};functiong(e,t,n){leti=arguments.length>3&&void0!==arguments[3]?arguments[3]:p.Alert;try{consts=function(){if(!o){conste=document.head.getAttribute("data-client-settings");e&&(o=JSON.parse(e))}returno}(),c=a(),l=function(e){if(e){const{pcsInfo:t,peGenTime:n}=e,o=newDate(n).getTime(),i=!t||["prod","prod-ssr","prod-ssrntp"].includes(t.env);r=i?"browser.events.data.msn.com":"events-sandbox.data.msn.com";return{cors:"true","content-type":"application/x-json-stream","client-id":"NO_AUTH","client-version":"1DS-Web-JS-2.2.2",apikey:i?"0ded60c75eaa3484c42c1c43fe8-9fc57d3f-fdac-4bcf-b927-75eafee-7279":"f8857dedc6f54ca8962cfb713e01e7d7-e-fe0b-446f-95ae-f98c-7028","upload-time":o,w:"0",anoncknm:"app_anon"}}returnnull}(s);letu="";l&&l.apikey&&""!==l.apikey&&(u=function(e){if(e){constt=e.indexOf("-");if(t>0)returne.substring(0,t)}return""}(l.apikey));constg=function(e,t,n,o,i,s){letr=arguments.length>6&&void0!==arguments[6]?arguments[6]:p.Alert;if(n){i=i||{};const{apptype:c,audienceMode:l,petype:u,peGenTime:p,bundleInfo:h,deviceFormFactor:g="",fd_muid:m,os:f}=n;i.peGenTime=p,i.build=h&&h.v,i.appType=c;constb=function(e,t,n){consto=n&&"phone"===n.toLowerCase(),i=t&&"enterprise"===t;return{bingHomepe:"binghomepe",mmx:"emmx",edge:"spartan",edgeChromium:i?"entnews":"anaheim",hybrid:"spartan",hub:o?"prime_mobile":"prime",microsoftNews:"msnews",office:"entnews",views:o?"prime_mobile":"prime",windowsShell:"windowsshell"}[e]}(c,l,g),v=b||c,y=document.getElementsByTName("html")[0].getAttribute("lang");letk,S="",A="muid";try{if("edgeChromium"===c&&"object"==typeofwindow&&window.location&&window.location.search){conste=newURLSearchParams(window.location.search);k=e.has("startpe")?"msedgdhp":"msedgntp","enterprise"===l?k="entnewsntp":"xbox"===f&&(k="xboxntp")}window&&window.getCookieConsentRequired&&"function"==typeofwindow.getCookieConsentRequired&&window.getCookieConsentRequired()||(S=d("muid"))}catch{}S||(S=n.aid,A="aid");constC={name:"MS.News.Web.AppError",time:p,ver:"4.0",iKey:`o:${o}`,data:{baseData:{},baseType:"MS.News.Web.Base",pe:{name:"default",product:v,type:w(u),content:{category:"standaloneError"},ocid:k},browser:{clientId:S,clientIdType:A},flight:{id:s},request:{activityId:n.aid,requestId:n.aid,afdMuid:m},locale:{mkt:y},extSchema:{id:e,severity:r,pb:i,messe:t}}};vara;if(S&&"muid"===A)C.ext={...null==C?void0:C.ext,user:{...null==C||null===(a=C.ext)||void0===a?void0:a.user,localId:`t:${S}`}};returnC.data.flight.tmpl="",i.isSSRScope&&(C.data.flight.tmpl+="ssrscope:1"),"object"==typeofwindow&&(window.isSSREnabled&&(C.data.flight.tmpl+=";ssr-enabled:1"),window.isSSRCompleted&&(C.data.flight.tmpl+=";ssr-completed:1")),C?JSON.stringify(C):null}returnnull}(t,e,s,u,n,c,i);if(l&&g){console.error(g),h.push(g);conste=""+r+"/OneCollector/1.0"+function(e){return"?"+Object.keys(e).map((function(t){returnt+"="+encodeURIComponent(e[t])})).join("&")}(l);nigator.sendBeacon(e,g)}}catch{}}functionw(e){lett=e;switch(e){case"windowsshellhp":t="dhp";break;case"video":t="watch"}returnt}constm="visibilitychange";functionf(){return"visible"===document.visibilityState?Promise.resolve():newPromise((e=>{document.addEventListener(m,(()=>{"visible"===document.visibilityState&&e()}))}))}functionb(e){constt=window&&window.chrome&&window.chrome.ntpSettingsPrivate;t&&t.logLoadingError&&f().then((()=>{t.logLoadingError(e)}))}functionv(e){try{if(e)returnJSON.parse(e)}catch(e){}returnnull}functiony(){return!("undefined"==typeofwindow||!window.document||!window.document.createElement||window.isRenderServiceEnv)}constk="Authorization";varS,A;!function(e){e.Presentation="presentation"}(S||(S={})),function(e){e.Unknown="Unknown",e.Portrait="Portrait",e.Landscape="Landscape"}(A||(A={}));varC,x;!function(e){e[e.Undefined=0]="Undefined",e[e.Basic=1]="Basic",e[e.Advanced=2]="Advanced",e[e.Premium=3]="Premium"}(C||(C={})),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"}(x||(x={}));newSet(["winp0dash","winp1taskbar","winp1taskbarent","winp1taskbardirect","winp1taskbardirectent","winp1taskbarent","winp2juntaskbar","winp2juntaskbarent","winp2","winp2ent","winp2fp","winp2fpent","winp2fptaskbar","winp2fptaskbarent","winp2fptaskbarhover","winp2fptaskbarhoverent","winp2widget","winp2widgetent"]);constI=newSet(["finance-app-win","weather-app-win","winpstoreapp"]),_=(newSet(["msedgdhp","msedgdhphdr","msedgntphdr","msedgntp","msedgdhp","entnewsntp"]),newSet(["hpmsn"]));functionq(){vare;returny()?v(document.head.dataset.clientSettings||(null===(e=document.getElementsByClassName("peregrine-widget-settings")[0])||void0===e?void0:e.getAttribute("data-client-settings"))):null}constE="feed/personalize/settings";functionN(e,t){constn=t.replace(/[[\]]/g,"\\$&"),o=newRegExp("[?&]"+n+"(=([^]*)|&|#|$)").exec(e);if(!o)returnnull;consti=o[2];returndecodeURIComponent(i.replace(/\+/g,""))||""}letO=newclass{constructor(){y()?(this.isDebugEnabled=(N(window.location.href,"debug")||"").toLowerCase()in{1:1,true:1}||"vp"===(N(window.location.href,"reqsrc")||"").toLowerCase(),this.isDebugEnabled&&!n.g.TEST_ENV&&(window.webpackRequire=n)):this.isDebugEnabled=!1}getLoggingService(){returnnull}isDebug(){returnthis.isDebugEnabled}setDebug(e){this.isDebugEnabled=e}setTs(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)}};classT{getsupported(){return!!this.store}constructor(e){this.store=e}getItem(e){if(this.supported)returnthis.store.getItem(e)}getObject(e,t){constn=this.getItem(e);if(null!=n){conste=v(n);if(null!=e)returne}returnt}key(e){if(this.supported&&e>=0)returnthis.store.key(e)}keys(){returnthis.supported?Object.keys(this.store):[]}setObject(e,t){void0!==t?this.setItem(e,JSON.stringify(t)):this.removeItem(e)}removeObject(e){constt=this.removeItem(e);if(null!=t)returnv(t)}setItem(e,t){letn=!(arguments.length>2&&void0!==arguments[2])||arguments[2];if(this.supported)try{if(!t)throw"Attemptedtostorenull/undefinedvalue:"+t;this.store.setItem(e,t)}catch(e){if(!n)throwe;O.logError(e)}elseif(!n)thrownewError("WebStorenotsupported")}getlength(){if(this.supported)returnthis.store.length}removeItem(e){if(this.supported){constt=this.getItem(e);returnthis.store.removeItem(e),t}}clear(){this.supported&&this.store.clear()}removeSubstringKeys(e){if(!this.supported||!e)return;constt=[];for(letn=0;n{n=!1,t=void0}},o}!function(e){e.Notailable="notailable",e.Expired="expired",e.Valid="valid"}(M||(M={}));constj="currentaccount",B=H((()=>{conste=d(j,!0),t=e&&v(e),{login_hint:n}=t||{};returnn&&t})),$=H((()=>!!d(j)));letG=newMap;constJ=Object.freeze({set(e,t){returnG.set(e,t),this},get:function(e,t){letn=G.get(e);returnvoid0===n&&t&&(n=t(),G.set(e,n)),n},clear(){G.clear()},delete:e=>G.delete(e),has:e=>G.has(e)});constV="__RequestDataInstance__";classz{constructor(e,t){if(this.url=newURL(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.userent=e.userent,this.clientData=e.clientData,this.oneServiceHeaders=function(e){try{if(e)returnJSON.parse(e)}catch(e){}}(e.oneServiceHeaders)||{},this.isPssrMode=t,t){conste=K("OSATE",this.cookie),t=!!e&&"1"===e,n=K("OSAT",this.cookie);if(t&&n||!e&&!n)returnthis.msalAuthReady=!0,void(n&&(this.oneServiceHeaders.Authorization=`Bearer${n}`));this.msalAuthReady=!1,this.pssrRejectedReason=e&&!t?"interactiveLogin":e&&!n?"missOSAT":"missOSATE"}}staticgetInstance(){conste=J.get(V);returne||(n.g.TEST_ENV?X({href:"httplocalhost:8080/",innerHeight:768,devicePixelRatio:1,canUseCssGrid:!1,requestId:"0",cookie:"",userent:"",referer:"",oneServiceHeaders:""}):X({href:"httplocalhost:8080/",innerHeight:0,devicePixelRatio:0,canUseCssGrid:!1,requestId:"0",cookie:"",userent:"",referer:"",oneServiceHeaders:""}))}staticresetInstance(e){constt=newz(e,arguments.length>1&&void0!==arguments[1]&&arguments[1]);returnJ.set(V,t),t}}functionK(e,t){if(t&&e){constn=newRegExp("\\b"+e+"\\s*=\\s*([^;]*)","i").exec(t);returnn&&n.length>1?n[1]:null}returnnull}constX=z.resetInstance,Y=()=>z.getInstance();functionZ(){try{returnlocalStore}catch(e){returnnull}}constQ="__PeExperimentInstance__";functionee(e){J.set(Q,e)}functionte(e){if(!J.has(Q)&&y()){vart;ee(ne(document.head.dataset.info||(null===(t=window.document.getElementsByClassName("peregrine-widget-settings")[0])||void0===t||null===(t=t.dataset)||void0===t?void0:t.info)||""))}constn=J.get(Q);returnn&&n.has(e)}functionne(e){constt=(e||"").replace(/(^f:|;.*$)/g,"").split(",");returnnewSet(t)}constoe="uxlogin",ie="uxlogout",se="uxedit",re="useRedirect",ae="uxswitch",ce=H((()=>{conste=Z();returne&&"1"===e.getItem(oe)||y()&&location.search&&location.search.includes(`${oe}=1`)}));constde=H((()=>{conste=function(){try{returnsessionStore}catch(e){returnnull}}();returne&&!!e.getItem(ie)}));constle=H((()=>{conste=Z();returne&&"1"===e.getItem(se)}));constue=H((()=>{conste=Z(),t=!te("prg-noredirect")&&e&&"1"===e.getItem(re)&&function(){conste=document.head.dataset.clientSettings||"",{browser:t}=v(e)||{},{browserType:n=""}=t||{};return!!/safari/i.test(n)}();returnt}));constpe=H((()=>{conste=Z();returne&&"1"===e.getItem(ae)}));consthe={outlookMobile:"OnOOutlookMobile",officeMobile:"OnOOfficeMobile",sapphire:"OnOStartApp",skype:"OnOSkype",winWeatherApp:"weather-app-win",xiaomiApp:"xmweather-",launcher:"launcherntp",launcherInterests:"launcherInterests",moto:"moto",swiftKey:"swiftKey",winMoneyApp:"finance-app-win"},ge="superappdhp",we=["ios","android","ipados"];letme=_e("ocid").toLowerCase(),fe=_e("chpltfm"),[be,ve]=fe.toLowerCase().split("-");functionye(){if(!y())return!1;conste=window.sapphireWebViewBridge,t=window.webkit,n=e&&e.send,o=t&&t.messeHandlers&&t.messeHandlers.send&&t.messeHandlers.send.postMesse;return!(!n&&!o)}functionke(){conste=fe&&"outlook"===be&&we.includes(ve),t=me===he.outlookMobile.toLowerCase();returne||t}functionSe(){conste=fe&&["office","union"].includes(be)&&we.includes(ve),t=me===he.officeMobile.toLowerCase();returne||t}functionAe(){conste=me===he.skype.toLowerCase()||"skype"===be;returny()&&(null===(t=window.skypeWebviewBridge)||void0===t?void0:t.isSkype)||e;vart}functionCe(){returnye()||me===he.sapphire.toLowerCase()||me===ge.toLowerCase()}functionxe(){return"3rdp"===be||me.startsWith(he.xiaomiApp)||me===he.moto.toLowerCase()||me===he.swiftKey.toLowerCase()}constIe=H((()=>ye()||Ae()||Se()||ke()||Ce()||me===he.winWeatherApp.toLowerCase()||me===he.winMoneyApp.toLowerCase()||function(){conste=_e("edge");return("emmx"===be||"1"===e)&&Ce()}()||xe()||[he.launcher.toLowerCase(),he.launcherInterests.toLowerCase()].includes(me)&&Ce()));function_e(e){try{returnnewURL(location.href).searchParams.get(e)||""}catch(e){return""}}constqe=q()||{},Ee={newsAndInterests:1,windowsNewsbar:1,windowsNewsPlus:1,winWidgets:1,windowsShell:1,windowsShellV2:1,distribution:1,superApp:1,channel:1,channeldesktop:1,channelmobile:1,mmx:1,edgeMobile:1},Ne={edgeChromium:1},Oe={winWidgets:1},Te={edgeChromium:1,shopping:1,newsAndInterests:1,windowsNewsbar:1,windowsNewsPlus:1,winWidgets:1,winMSN 香港 | 首頁dowsShell:1,windowsShellV2:1},Pe={edgeChromium:1,channel:1,channeldesktop:1,channelmobile:1,cgHomePe:1,distribution:1,mmx:1,newsAndInterests:1,windowsNewsbar:1,windowsNewsPlus:1,winWidgets:1,windowsShell:1,windowsShellV2:1,superApp:1,edgeMobile:1},Le=H((()=>qe&&qe.apptype)),Me=(H((()=>y()&&Le()inOe)),H((()=>y()&&!Ie()&&!(Le()inEe)&&!De()&&!Ue()))),Re=H((()=>Me()&&!(Le()inNe)));H((()=>Me()&&(!(Le()inNe)||!$()))),H((()=>Me()&&!Be()&&!$e()));functionWe(){return$e()||Be()}constDe=H((()=>{conste=!(Le()inTe)&&Ge()&&function(){conste=newURLSearchParams(y()?window.location.search:Y().url.search).get("ocid")||(null==qe?void0:qe.ocid),t=null==e?void0:e.toLowerCase(),n=!_.has(t)&&"homePe"!==Le()&&!I.has(t);returnn}()&&!function(){conste="windows"==Le()&&"windowshp"==(qe&&qe.petype)&&(y()?window.location.href:Y().url.href).includes(`${E}`);returne}();returne})),Ue=()=>y()&&document&&document.body&&document.body.getElementsByClassName("peregrine-widgets").length>0,Fe=H((()=>te("prg-1s-workid")||te("prg-1s-sm-workid")||te("prg-1s-twid")||te("prg-1s-mm-wid-t")));H((()=>Le()inPe||De()));functionHe(){conste=W;if(e)returnO.log("dual-auth:tryGet1SAuthTokenreturnedlivetokens"),e;constt=D();if(t)returnO.log(`dual-auth:tryGet1SAuthTokenreturnedcachedtokensthatare${U()}`),t;O.log("dual-auth:tryGet1SAuthTokenreturnedemptytokens")}functionje(e){constt={};returne&&(t[k]=`Bearer${e}`),t}functionBe(){returnRe()&&ce()||function(){conste=Re()&&!ce()&&B()&&("expired"==U()||le());returne}()||de()||ue()}function$e(){returnRe()&&!B()&&pe()}constGe=H((()=>{const{browser:e}=qe,{browserType:t="",detected:n={}}=e||{},{browserType:o=""}=n||{};return/edgeChromium/i.test(t)||/edge/i.test(o)}));H((()=>Re()&&!De()));constJe="__core_auth_authHeaderPromiseParts__",Ve=()=>J.get(Je);varze;!function(){lete;constt={promise:newPromise((t=>e=t)),resolver:e};J.set(Je,t)}(),function(e){e.GLOBAL="GLOBAL",e.GCC_MODERATE="GCC_MODERATE"}(ze||(ze={}));letKe;functionXe(){returnKe}functionYe(e){constt=e||Xe()||"al_app_anon",n=Ze();return!!(n&&(["anon","al_anon"].includes(t)&&n.AL_ANON||["app_anon","al_app_anon"].includes(t)&&n.AL_APP_ANON))}constZe=H((()=>v(d("AL_STATE",!0))));varQe,et,tt;!function(e){e[e.Unknown=0]="Unknown",e[e.NotSignedIn=1]="NotSignedIn",e[e.SignedIn=2]="SignedIn"}(Qe||(Qe={})),function(e){e.MSA="MSA",e.AAD="AAD",e.UNSUPPORTED_SOVEREIGNTY="UNSUPPORTED_SOVEREIGNTY"}(et||(et={})),function(e){e[e.NonAadAccount=0]="NonAadAccount",e[e.AadAccount=1]="AadAccount",e[e.Unknown=2]="Unknown"}(tt||(tt={}));constnt=()=>{conste=d("elt",!0),t=e&&v(e),{access_token:n,account_type:o,login_hint:i,region_scope:s}=t||{};return(n||o||i||s)&&t};varot;functionit(e){if("undefined"==typeofwindow||!window.document||window.isRenderServiceEnv)return;constt=window.trustedTypes;if(!t||!t.createPolicy)return;constn=window.trustedTypePolicies||(window.trustedTypePolicies={});if(n[e])returnn[e];consto=t.createPolicy(e,{createScriptURL:e=>{constt=function(e){constt=["ntp.msn.com","ntp.msn.cn","assets.msn.cn","assets.msn.com","","assets2.msn.com","assets2.msn.cn","","int.msn.com","r.bing.com","business.bing.com",document.location.hostname];letn;try{n=newURL(e,location.origin)}catch(e){return"about:blank#error"}if(n.hostname&&!t.includes(n.hostname))return"about:blank#error";returne}(e);returnt}});returnn[e]=o,o}!function(e){e.Adult="adult",e.Enterprise="enterprise",e.Kids="kids"}(ot||(ot={}));functionst(e){returnnewPromise((t=>setTimeout(t,e)))}constrt=document.head.attributes["data-info"].value;letat;if(rt){conste=rt.split(";").find((e=>e.startsWith("f:")));e&&(at=e.substring(2),at.indexOf("1sw-pcsreturnhp")>-1&&g("PCSreturned.ExecutinginlineJS.",8e4,{customMesse:location.href},p.NoAlert))}(newclass{constructor(){this.childCookieName="child",this.domInfo=document.head.dataset.info,this.command="command"}init(e,t){this.clientSettings=e||q(),this.authCookieName=Xe()||window._authCookieName||"",this.bundle=window._webWorkerBundle||"",t=t||{};constn=this.buildWebWorkerUrl(this.clientSettings,t),o=this.clientSettings.apptype;leti;if(o&&"edgeChromium"===o){if(i=this.tryGetWebWorkerUsingPolicy(n,"webWorkerUrlPolicy"),!i)returnvoidconsole.warn("Errorincreatingtrustedtypescompliantwebworker")}elsei=window.webWorker=newWorker(n,{name:"web-worker"});consts=window.webWorkerMesses=[];i.onmesse=e=>{s.push(e.data)};constr=window.webWorkerErrors=[];if(i.onerror=e=>{r.push(e)},window.chrome){conste=this.getAudienceMode(this.clientSettings),t=window.webWorker&&window.chrome&&window.chrome.ntpSettingsPrivate;t&&"function"==typeoft.getPref&&(t.getPref("ntp.news_feed_display",(e=>{e&&e.value&&i.postMesse({id:"FeedDisplaySetting",type:this.command,payload:e.value})})),t.getPref("ntp.layout_mode",(e=>{e&&e.value&&i.postMesse({id:"LayoutModeSetting",type:this.command,payload:e.value})})),t.getPref("ntp.user_nurturing",(e=>{lett=!1;e&&e.value&&e.value.length&&(t=this.getSingleColRequest(e.value)),i.postMesse({id:"RenderSingleColumn",type:this.command,payload:t})})),t.getPref("new_device_fre.has_user_seen_new_fre",(e=>{e&&i.postMesse({id:"NewUserFre",type:this.command,payload:e.value})}))),t&&"function"==typeoft.getConfigData&&t.getConfigData((e=>{constt=(null==e?void0:e.enabledFeatures)||[];t.includes("msReducedNtpAdsForNewDevice_ste1")&&i.postMesse({id:"EdgeNoAds",type:this.command,payload:!0}),t.includes("msReducedNtpAdsForNewDevice_ste2")&&i.postMesse({id:"EdgeReduceAds",type:this.command,payload:!0})})),e===ot.Enterprise&&this.clientSettings.browser&&"edgeChromium"===this.clientSettings.browser.browserType&&parseInt(this.clientSettings.browser.version)>=87?this.getEnterpriseAccessToken().then((e=>{e&&i.postMesse({id:"AuthTokenEnterprise",type:this.command,payload:je(e)})})):i.postMesse({id:"AuthTokenEnterprise",type:this.command,payload:{}}),e!==ot.Adult&&e!==ot.Enterprise||this.sendPeConfiguration()}We()&&Ve().promise.then((e=>i.postMesse({id:"AuthHeaders",type:this.command,payload:e||{}})))}buildWebWorkerUrl(){lete=arguments.length>0&&void0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void0;return(this.bundle||"")+"#"+this.qsFromDocument()+this.qsFromCookies()+this.qsFromDataAttribute(e||this.clientSettings)+this.qsMisc(t)+this.qsAuth(e||this.clientSettings)+this.qsFromUrl()+this.qsFromServiceWorker()+this.qsSelectedPivot()+this.qsXboxXToken()}qs(e,t,n){returne?t+"="+(n||e)+"&":""}qsFromDocument(){vare;returnthis.qs(document.getElementsByTName("html")[0].getAttribute("lang"),"lang")+this.qs(encodeURIComponent(window.location.href),"adsReferer")+this.qs(null===(e=y()?window.devicePixelRatio:Y().devicePixelRatio)||void0===e?void0:e.toString(),"devicePixelRatio")}qsFromServiceWorker(){if(!nigator.serviceWorker||!nigator.serviceWorker.controller)return"";conste=nigator.serviceWorker.controller;if("activated"!==e.state||!e.scriptURL)return"";if(e.scriptURL){constt=newURL(e.scriptURL).searchParams.toString();returnt?"&"+t+"&":""}return""}qsFromCookies(){returnthis.qs(u(this.authCookieName),"aace","1")+this.qs(u("muid"),"muid")+this.qs(u(this.childCookieName),"child")+this.qs(u("cbypass"),"cbypass")+this.qs(this.cookieBannerConsentRequired().toString(),"ccRequired")+this.qs(u("ecasession"),"ecasession")+this.qs(u("TOptOut"),"browserOptOut")}qsFromDataAttributeHelper(e,t){returne&&e.featureFls&&e.featureFls.wpoEnabled&&t&&!t.includes("remwpofltww")&&(t=this.appendWpoFlightsToInfo(e,t)),this.qs(e.pcsInfo&&e.pcsInfo.env||e.env,"env")+this.qs(e.aid,"aid")+this.qs(e.apptype,"apptype")+this.qs(e.petype,"petype")+this.qs(e.audienceMode,"audienceMode")+this.qs(e.configIndexDocId,"configIndexDocId")+this.qs(e.deviceFormFactor,"deviceFormFactor")+this.qs(eMSN 香港 | 首頁.domain,"domain")+this.qs(e.configRootUrl,"configRootUrl")+this.qs(this.getHighestCbid(e.cbid,e.apptype),"cbid")+this.qs(e.ocid,"ocid")+this.qs(e.os,"os")+this.qs(JSON.stringify(e.locale),"locale")+this.qs(e.geo_lat,"lat")+this.qs(e.geo_long,"long")+this.qs(JSON.stringify(e.featureFls),"featureFls")+this.qs(JSON.stringify(e.browser),"browser")+this.qs(JSON.stringify(e.servicesEndpoints),"servicesEndpoints")+this.qs(e.bundleInfo&&e.bundleInfo.v||"","buildVersion")+this.qs(t,"dataInfo")}qsSelectedPivot(){conste="selectedPivot";lett;try{constn=Z();n&&(t=n.getItem(e))}catch(e){console.warn("Errorgettingpivotidfromlocalstore."+e)}returnthis.qs(t,e)}qsXboxXToken(){conste="xboxXTokenId";lett;try{constn=Z();n&&(t=n.getItem(e))}catch(e){console.warn("ErrorgettingxboxXTokenfromlocalstore."+e)}returnthis.qs(t,e)}appendWpoFlightsToInfo(e,t){constn=this.getWpoFlightsFromLocalStore(e);if(n&&n.length){conste=";MSN 香港 | 首頁",o=t.split(e);for(lete=0;ee.id))}}catch(e){console.warn(`Errorgettingwpoflightsfromlsfor${o}Error:${e}`)}returnnull}getHighestCbid(e,t){try{constn=Z(),o=parseInt(e),i=parseInt(JSON.parse(n.getItem(`cbid_${t||""}`)));lets;if(o&&!isNaN(o)&&i&&!isNaN(i)&&(s=o>i?o:i),s=s||o||i,s)returnwindow._cbid=s.toString()}catch(e){console.warn("ErrorgettinghighestCBID"+e)}}getAudienceMode(e){Z();constt=d(this.authCookieName),n=d(this.childCookieName),{child:o}=t&&JSON.parse(t)||{};returnt&&(1===o||n)?"kids":e.audienceMode||ot.Adult}sendPeConfiguration(){conste=this.clientSettings.petype;if(e){constt=d&&d("pglt-edgeChromium-"+e);if(t)returnvoidwindow.webWorker.postMesse({id:"PeConfiguration",type:this.command,payload:t})}window.webWorker.postMesse({id:"PeConfiguration",type:this.command,payload:!1})}qsFromDataAttribute(e){lett,n;consto=Z();if(o){consti=JSON.parse(o.getItem("shd_"+e.petype)||null);i&&i.clientSettings&&i.info&&(t={...i.clientSettings,bundleInfo:e.bundleInfo},n=i.info)}return(!t||!n||e.peGenTime>=t.peGenTime)&&(t=e,n=this.domInfo),t.audienceMode=this.getAudienceMode(t),this.qsFromDataAttributeHelper(t,n)}qsFromUrl(){conste=location.search;returne&&e.length?e.substring(1,e.length):""}getEnterpriseAccessToken(){returnnewPromise((e=>{window.chrome&&window.chrome.authPrivate?window.chrome.authPrivate.getPrimaryAccountInfo((t=>{t&&"GCC_MODERATE"!==t.region_scope||e("");constn={account_id:t.account_id,account_type:t.account_type,client_id:"d7b530a4-7680-4c23-a8bf-c52c121d2e87",scope_or_resource:"enterprisenews.microsoft.com"};window.chrome.authPrivate.acquireAccessTokenSilently(n,(t=>{t.is_success?e(t.access_token):e("")}))})):e("")}))}qsMisc(e){returnthis.qs(performance.timeOrigin&&performance.timeOrigin.toString(),"mainTimeOrigin")+this.qs(e.disableWWConfig&&"1","disableWWConfig")}qsAuth(e){lett=this.qs(Re()&&"1","disableWWAuth");if(!We()){conste=Re()&&He()||{};t+=this.qs(encodeURIComponent(JSON.stringify(je(e.accessToken))),"authHeaders")}returnt+=this.qs(Ye()&&"1","isAccountLinked"),t+=this.qs(this.shouldFetchAppAnonCookie()&&"1","fetchAppAnonCookie"),t}getSingleColRequest(e){constt="render_single_column",n="feed_layout";leto,i;for(constsofe){const{key:e,value:r}=s;e===t?o=r:e===n&&(i=r)}return"boolean"==typeofo?o:!!i&&(i&&"single"===i.type)}cookieBannerConsentRequired(){conste=null!=document.getElementById("consent-banner-container")&&null===d("MSCC"),t=null!=document.getElementById("onetrust-sdk")&&null===d("eupubconsent-v2");returne||t}shouldFetchAppAnonCookie(){if(!Ge())return!0;conste=(()=>{conste=nt();if(e){if("MSA"===e.account_type)returnet.MSA;if("AAD"===e.account_type)returnet.AAD}})();returne===et.MSA||l("lt")?!l("aace"):e===et.AAD?Ye()&&!Fe():void0}tryGetWebWorkerUsingPolicy(e,t){constn=it(t);if(n){constt=n.createScriptURL(e),o=t&&t.toString();if(!o||"about:blank#error"===o)return;window.webWorker=newWorker(t,{name:"web-worker"})}elsewindow.webWorker=newWorker(e,{name:"web-worker"});returnwindow.webWorker}getFlightList(){return((/^f:\s*([^;]+)/i.exec(this.domInfo)||{})[1]||"").toLowerCase().split(",")}}).init(),function(){lete=arguments.length>0&&void0!==arguments[0]?arguments[0]:["vendors","common","microsoft"],t=arguments.length>1&&void0!==arguments[1]?arguments[1]:"Errorwhenloadingbundle(s):",n=arguments.length>2&&void0!==arguments[2]?arguments[2]:5e5,o=arguments.length>3?arguments[3]:void0,i=arguments.length>4?arguments[4]:void0;f().then((()=>{setTimeout((()=>{constn=window.webpackJsonp;if(n){consts=n.length,r=e.length+1;if(s{t.length&&t[0][0]&&e.splice(e.indexOf(t[0][0]),1)}))}b(),g(t+e.toString(),,{}),i&&(b(o),i(o,{customMesse:e.toString()}))}}}),n)}))}();constct='\n\nmsn_logo\n\n\n\n\n\n\n',dt=300;functionlt(){vare,t,n,o;return(null===(e=document.body)||void0===e||null===(t=e.querySelector)||void0===t?void0:t.call(e,"entry-point"))||(null===(n=document.body)||void0===n||null===(o=n.querySelector)||void0===o?void0:o.call(n,"entry-point-hp-mobile"))}functionut(e){vart;return((null===(t=document.head)||void0===t||null===(t=t.getAttribute("data-info"))||void0===t?void0:t.split(";").find((e=>e.startsWith("f:"))))||"").includes(e)}!function(){if(!((null===(e=at)||void0===e?void0:e.indexOf("prg-hp-nsl"))>=0)){vare;classnextendsHTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){conste=document.createElement("style");e.innerHTML='\n:host{\nfont-family:SegoeUI,SegoeUIMidlevel,SegoeWP,Arial,sans-serif!important;\ndisplay:flex;\nheight:100vh;\nwidth:100vw;\nposition:fixed;\nbackground:#e0e0e0;\ntop:0;\nleft:0;\njustify-content:center;\ncolor:#000;\nz-index:;\n}\n.container{\ndisplay:flex;\nmargin-top:200px;\nflex-direction:column;\nuser-select:none;\n-moz-user-select:none;\n-webkit-user-select:none;\n-ms-user-select:none;\nalign-items:center;\n}\n.logo{\nmargin:0015px;\nfont-size:38px;\nletter-spacing:2px;\nword-spacing:-5px;\nopacity:1;\n}\n.logosvg{\ncolor:#000;\ndisplay:inline-block;\nheight:35px;\nposition:relative;\ntop:3px;\n}\n.loading-bar{\ndisplay:block;\nheight:2px;\nwidth:100px;\nbackground:#fff;\noverflow:hidden;\nborder-radius:2px;\n}\n.loading-bar:before{\ncontent:"";\ndisplay:block;\nheight:2px;\nwidth:40px;\nbackground:#000;\nleft:-20px;\nposition:relative;\nanimation:loading-bar1.5sinfinite;\n}\n@keyframesloading-bar{\n0{\nleft:-20px;\n}\n50%{\nleft:80px;\n}\n100%{\nleft:-20px;\n}\n}\n';constt=`\n\n${ct}msn\n\n\n`,n=document.createElement("div");n.className="container",n.innerHTML=t,this.shadowRoot.appendChild(e),this.shadowRoot.appendChild(n)}}customElements.get("msn-hp-loading-indicator")||customElements.define("msn-hp-loading-indicator",n),setTimeout((()=>{lt()||function(){conste=document.body;if(e)t();else{constn=newMutationObserver((function(){e&&(n.disconnect(),t())}));n.observe(document.documentElement,{childList:!0})}}()}),dt)}functiont(){conste=document.createElement("msn-hp-loading-indicator");e.id="loader",document.body.appendChild(e);constt=newMutationObserver((function(){lt()&&(t.disconnect(),document.body.querySelector("msn-hp-loading-indicator").remove())}));t.observe(document.body,{childList:!0})}}(),(ut("prg-sdkpreload")||ut("prg-renderoptimize"))&&asyncfunction(){window.apnt=window.apnt||{anq:[]},window.apnt.anq=window.apnt.anq||[],awaitasyncfunction(e){if(!y())return;const{src:t,id:n,async:o=!0,container:i=document.head,retryNumber:s=0,retryDelayMs:r=0}=e;try{awaitasyncfunction(e){lett=arguments.length>1&&void0!==arguments[1]?arguments[1]:3,n=arguments.length>2&&void0!==arguments[2]?arguments[2]:100;if(t3&&void0!==arguments[3])||arguments[3];returnnewPromise(((i,s)=>{constr=function(){lete=arguments.length>0&&void0!==arguments[0]?arguments[0]:void0,t=arguments.length>1&&void0!==arguments[1]?arguments[1]:void0,n=!(arguments.length>2&&void0!==arguments[2])||arguments[2],o=arguments.length>3&&void0!==arguments[3]?arguments[3]:"anonymous",i=arguments.length>4?arguments[4]:void0,s=arguments.length>5?arguments[5]:void0;if(!y())thrownewError("createScriptTisunsupportedserverside.ThiscallshouldbewrappedincanUseDOM().");constr=document.createElement("script");returnt&&(r.id=t),i&&r.setAttribute("class",i),s&&(r.onload=s),r.type="text/jascript",e&&(r.src=e,r.async=n,r.crossOrigin=o),window&&window.NONCE_ID&&(r.nonce=window.NONCE_ID),r}(e,t,o,void0,void0,(()=>i(!0)));r.crossOrigin=void0,r.onerror=s,n.prepend(r)}))}(t,n,i,o)),s,r)}catch(e){g("FailedtodownloadStaticJS",,{scriptId:n,scriptSrc:t},p.Alert)}}({id:"display-sdk",src:"acdn.adnxs.com/ast/ast.js",container:document.head,retryDelayMs:200,retryNumber:5})}()}(); if(matchMedia("(prefers-color-scheme:dark)").matches){consts=document.createElement("style");document.head.appendChild(s);s.type="text/css";s.appendChild(document.createTextNode("body{background:#}"));}const_clientSettings=JSON.parse(document.head.dataset.clientSettings);functionpreloadConfigIDB(){consto=window.indexedDB;if(!o)return;conste="Configurations_12",n="IndexedDB-"+e+".",r=window._appTimings||(window._appTimings={});r[n+"open-Start"]=performance.now(),window._idbConfigLookup={};consti=window._idbConfigLookup;lett,s;window._idbConfigReadPromise=newPromise((o,e)=>{t=o,s=e}),window._idbConfigOpenPromise=(()=>{try{constd=o.open("wwConfigs",1);returnnewPromise((o,c)=>{d.onerror=(()=>{c(newError("ConfigIDBpreloadopenfailure:"+d.error))}),d.onsuccess=(()=>{r[n+"open-End"]=performance.now();constc=d.result;o(c),r[n+"getAllObjects-Start"]=performance.now();consta=c.transaction(e,"readonly").objectStore(e).openCursor();a.onsuccess=function(){consto=this.result;o?(i[o.key]=o.value,o.continue()):(r[n+"getAllObjects-End"]=performance.now(),t())},a.onerror=(()=>{s(newError("ConfigIDBpreloadreadfailure"))})}),d.onupgradeneeded=(()=>{d.result.createObjectStore(e)})})}catch(o){returnPromise.reject(newError("ConfigIDBpreloadopenfailure:"+o))}})()}preloadConfigIDB();functionappendProtocolQSP(url){returnurl;}functionappendScript(url,async,defer){lets=document.createElement("script");s.type="text/jascript";constw=window.trustedTypesURLValidation;s.src=appendProtocolQSP(w?w(url,"bundleUrlPolicy"):url);if(async){s.async=true;}if(defer){s.defer=true;}s.onerror=()=>onErrorHandler(s.src);s.nonce="";s.crossOrigin="anonymous";document.body.appendChild(s);}

Local:MSN 香港 | 首頁Relatório

Se houver uma violação do site, clique em DenunciarRelatório

Informação recomendada

Site recomendado