PressReader.com – Digital Newspaper & Magazine Subscriptions Continue reading
Category: Mohican
“Historian & a Movie” program continues in 2025
Philipse Manor Hall State Historic Site and the Friends of Philipse Manor Hall are pleased to present “Historian & a Movie: The Last of the Mohicans” on Friday, January 17, 2025, at 6:30 p.m. in-person at Philipse Manor Hall State Historic Site (29 Warburton Ave. Yonkers, NY). This program is free and open to the public.
“The Last of the Mohicans” (1992, R) follows half-White Hawkeye and his adoptive Mohican family as they struggle to rescue the captured daughters of a British colonel during the French & Indian War. Historians Michael McGurty and Chad Johnson of New Windsor Cantonment State Historic Site [7] and historian and Pocomoke nation member Drew Shuptar-Rayvis discuss the truth and fiction behind this popular adaptation of James Fenimore Cooper’s novel. This film is rated R for its depictions of violence and is not recommended for children or sensitive audiences.
Michael S. McGurty is the historic site manager of New Windsor Cantonment & Knox’s Headquarters State Historic sites in New York. A retired infantry New York Army National Guard lieutenant colonel, he was one of the first military responders to the World Trade Center attack on September 11, 2001, and served two tours in Afghanistan as an advisor to the Afghan National Army.
Chad D. Johnson is the interpretive programs assistant at New Windsor Cantonment & Knox’s Headquarters State Historic Sites. He has worked in history museums since 2004.
Drew Shuptar-Rayvis is a public historian who seeks to preserve the language, history, and culture of Eastern Woodlands people, particularly the Renape, Nanticoke, and Southern Unami. He has a BA in Anthropology and Sociology from Western Connecticut State University and a Certificate…
NORTH ADAMS — The North Adams Daily Transcript wrote in an 1896 story, “The wheelmen and wheelwomen, who are now visiting Northern Berkshire in great numbers, would be strongly impressed with our enterprise up here if they see something being done in the way of bicycle paths.”
A $17 million grant will allow Northern Berkshire County communities to forge a new, 9.3-mile path connecting to the Ashuwillticook Rail Trail, realizing an idea more than 120 years in the making.
U.S. Rep. Richard Neal announced a major federal grant award towards planning a 9.3-mile stretch of shared-use pathway connecting the existing Ashuwillticook Rail Trail to the Williamstown Mohican Path by way of downtown North Adams, called the “Adventure to Ashuwillticook Trail,” or “A2A Trail Project.”
BEN GARVER — THE BERKSHIRE EAGLE
U.S. Rep. Richard Neal, D-Springfield, came to North Adams on Friday to announce the federal money, which will go toward planning, design and permitting for the stretch. In about four years, design will be complete, and the section will be shovel-ready.
Neal said the Adventure to Ashuwillticook Trail Project will attract thousands of annual visitors and stimulate the region’s economic activity.
“It’s about preservation in open space and waterways, making sure succeeding generations, they get a chance to use them just as we have, with improvements on the side of public investment,” Neal said to about 70 people packed into city council chambers. “Today is a major success because it connects Williamstown and Adams and North Adams.”
Mass MoCA Executive Director Kristy Edmunds noted that creating this path will increase tourism and access to cultural benefits, as…
Berkshire County leaders are celebrating a $17.3 million federal grant that will lay the groundwork for a pathway linking the Ashuwillticook Rail Trail at Adams to the Mohican Recreational Path in Williamstown. The 9.3-mile shared-use pathway, which will pass through downtown North Adams, will go a long way toward connecting many of the region’s cultural institutions, including the Massachusetts Museum of Contemporary Art, the Clark Art Institute, Williams College Museum of Art, and the Adams Theater.
The grant, which comes from the Department of Transportation Rebuilding American Infrastructure with Sustainability and Equity (RAISE) program, will fund the planning, design, and permitting for the long-imagined path, known as the “Adventure to Ashuwillticook Trail,” or the “A2A Trail Project.”
“The Adventure to Ashuwillticook Trail Project will highlight the natural resources in North County — a true asset that attracts thousands of visitors every year,” Congressman Richard Neal said in a statement. “This project will play a key role in stimulating significant economic activity throughout the region, while promoting the health and well-being of local residents.”
Get Starting Point
A guide through the most important stories of the morning, delivered Monday, Wednesday, and Friday.
In recent years, the Berkshire Regional Planning Commission has worked with leaders in Adams, North Adams, and Williamstown, as well as Mass MoCA and Tourists hotel on the project.
Tom Matuszko, executive director of the BRPC, which will manage the grant over the four-year process, said the funds will “provide for the design of the entire segment, which will then open doors for future construction funding in a fully shovel-ready state.”
Organizers said the Mass MoCA campus will serve as a “rotary” that links the east-west stretch of the planned trail, which will connect to the Mohican path, and the north-south stretch, which will extend south to the Ashuwillticook trail.
The Commonwealth of Massachusetts made a lot of progress with the passage of the Affordable Homes Act in 2024. In the last issue, I dealt with the advantages that a seasonal community designation could have on the housing shortage in Berkshire County municipalities. In this issue, I would like to address the question of rentals.
One of the provisions of the Affordable Homes Act is that it gives property owners the right to add an accessory dwelling unit (ADU). Another is the ability for towns to adopt a waiver of property taxes for landlords who rent their properties affordably.
Kudos to Egremont for adopting, and Great Barrington for proposing, the property tax waiver. It is a smart strategy to create rental incentives that have a relatively small impact on a town’s budget. It is also a great way to create affordable rentals, when compared to per unit costs of new construction.
I would like to address a third piece of the rental puzzle: Section 8 vouchers. Section 8 vouchers make up the difference between what folks make and what they can afford in rent. They are much used in Massachusetts cities from Pittsfield to Boston but are less available to smaller Berkshire towns because of factors including the lack of available rental units. Hopefully, adoption of incentives can help to change that.
Landlords like Section 8 vouchers because they create certainty of rent payment. Renters benefit from the subsidy as they are only expected to pay 30 percent of their income for rent; the rest is subsidized by the voucher.
Availability is based on income, with those earning 50 percent or less of Area Median Income (AMI) qualifying. For a one-person household, 50 percent of AMI in Berkshire County is around $38,000. For a family of four, incomes…
The town of Stockbridge, Massachusetts, and the Stockbridge-Munsee Band of Mohican Indians have launched a commission to strengthen their relationship. At the commission’s first meeting in late November, tribal leaders said they’d like to collaborate with the town, but they also want to control the narrative about their culture.
Select Board member Patrick White, who co-chairs the commission, said his goal is “to really foster a strengthening of ties and understanding between the Stockbridge-Munsee community and the town of Stockbridge and surrounding areas.”
Tribal President Shannon Holsey said she appreciates the chance to expand their relationship and work together on behalf of the Nation and the town.
The tribe’s homeland extends across parts of six states, including western Massachusetts from the Housatonic valley east to the Connecticut River valley.
White proposed creating a war memorial honoring both Native and settler Revolutionary War regiments.
He suggested it be completed by July 2026, the 250th anniversary of the signing of the declaration of independence. But Tribal President Shannon Holsey said indigenous communities don’t always celebrate that moment in history.
“Still, to this day we share a very complex relationship with the United States government,” Holsey said. “Quite honestly, we’ve only been United States citizens — although we’ve always been citizens of our nation — for 100 years.”
Some of the commission members talked about celebrating the proposed monument at another date, such as Veterans Day.
White said the commission is a chance to learn from each other about how history is perceived.
The next meeting is scheduled for January 13, 2025.
The tribe and the town’s relationship goes back to 1737, when colonial lawmakers established the township of Stockbridge by royal charter, inviting tribal leaders to govern alongside four white settler families.
Over time, the settlers took control of the local government and of tribal land. Dispossessed…
KOLKATA: When Shyam Benegal commenced the music recording for ‘Mujib: The Making of a Nation‘, he was already undergoing dialysis. After his demise on Monday, the music composer of his final four films, Shantanu Moitra, recollected Benegal’s resilience and how he never mentioned his medical treatment if he arrived late for the music recording sessions. All he expressed was: “I may be a little late today for the recording. I hope that is OK with you”. Benegal was keen to attend the Dhaka premiere of the film last year, though health complications came in the way.
One of Benegal’s robust connections with Bengal was the film society movement. Parimal Mukherjee, general secretary, Cine Central, reminisced meeting Benegal in 1974 when he came for the Kolkata premiere of his ‘Ankur’. “He visited our Cine Central office and discussed the emergence of new Hindi cinema and the film society movement. On the occasion of the 25th anniversary of the release of ‘Pather Panchali’, he had released our publication of its original script in English,” Mukherjee stated, whilst acknowledging Benegal’s associations with the likes of Mrinal Sen, Soumitra Chatterjee and Sombhu Mitra. Over the course of two years, Benegal interviewed Satyajit Ray about his career. The result was a 1982 documentary titled ‘Satyajit Ray’.
Speaking to TOI from Chicago, Mrinal Sen’s son Kunal Sen said Benegal had great respect for his father. “My Ma (Gita Sen) also acted in Shyam Benegal’s ‘Arohan’. He was the only director besides my father with whom she worked after she started acting in films again,” Sen said.
Netaji Subhash Chandra Bose was Benegal’s another profound connection with Bengal….
Continue reading
MSN r.delete(e),has:e=>r.has(e)});function c(){return!(“undefined”==typeof window||!window.document||!window.document.createElement||window.isRenderServiceEnv)}function d(e){let t,n=!1;const o=function(){return n||(n=!0,t=e()),t};return o.cache={clear:()=>{n=!1,t=void 0}},o}const l={bingHomepageMobile:”binghomepagemobile”,outlookMobile:”OnOOutlookMobile”,officeMobile:”OnOOfficeMobile”,sapphire:”OnOStartApp”,skype:”OnOSkype”,freFullPage:”emmxFre”,winWeatherApp:”weather-app-win”,xiaomiApp:”xmweather-“,launcher:”launcherntp”,launcherInterests:”launcherInterests”,swiftKey:”swiftKey”,winMoneyApp:”finance-app-win”},u=”superappdhp”,p=[“ios”,”android”,”ipados”],h=”_ocidIsomorphicKey”,g=()=>(a.get(h)||a.set(h,T(“ocid”).toLowerCase()),a.get(h)),w=”_platformFlagKey”,m=”_hostAppNameKey”,f=”_clientTypeKey”,v=()=>(a.get(w)||a.set(w,T(“chpltfm”)),a.get(w)),b=()=>{if(!a.get(m)){const e=v();a.set(m,e.toLowerCase().split(“-“)[0])}return a.get(m)},y=()=>{if(!a.get(f)){const e=v();a.set(f,e.toLowerCase().split(“-“)[1])}return a.get(f)};function k(){if(!c()||O())return!1;const e=window.sapphireWebViewBridge,t=window.webkit,n=e&&e.send,o=t&&t.messageHandlers&&t.messageHandlers.send&&t.messageHandlers.send.postMessage;return!(!n&&!o)}function S(){const e=v()&&”outlook”===b()&&p.includes(y()),t=g()===l.outlookMobile.toLowerCase();return e||t}function C(){const e=v()&&[“office”,”union”].includes(b())&&p.includes(y()),t=g()===l.officeMobile.toLowerCase();return e||t}function A(){const e=g()===l.skype.toLowerCase()||”skype”===b();return c()&&(null===(t=window.skypeWebviewBridge)||void 0===t?void 0:t.isSkype)||e;var t}function I(){return!(!c()||O())&&(k()||g()===l.sapphire.toLowerCase()||g()===u.toLowerCase())}function _(){const e=T(“edge”);return(“emmx”===b()||”1″===e)&&I()||”mmx”===g()}function E(){return”3rdp”===b()||g().startsWith(l.xiaomiApp)||O()}function q(){return[l.launcher.toLowerCase(),l.launcherInterests.toLowerCase()].includes(g())&&I()}function O(){return g().toLowerCase()===l.swiftKey.toLowerCase()||”swiftkey”==b().toLowerCase()}function x(){return-1!==window.location.href.indexOf(“huawei”)||-1!==window.location.href.indexOf(“airfind”)||-1!==window.location.href.indexOf(“aloha”)||”vivo”===g()&&E()}const L=d((()=>k()||A()||C()||S()||I()||g()===l.winWeatherApp.toLowerCase()||g()===l.winMoneyApp.toLowerCase()||_()||E()||q()||O()||x()||-1!==window.location.href.indexOf(“metaos=true”)));function T(e){try{return new URL(location.href).searchParams.get(e)||””}catch(e){return””}}function P(e){try{return decodeURIComponent(e)}catch(e){}}let N,W;function M(e,t){if(!e)return null;if(t)return R(e);if(!N){const e=”undefined”!=typeof document&&document.cookie.split(“; “);N={};const t=e&&e.length;for(let n=0;n0&&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 $(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:F.Alert,r=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0,d=arguments.length>6?arguments[6]:void 0;try{const l=function(){if(!o){const e=document.head.getAttribute(“data-client-settings”);e&&(o=JSON.parse(e))}return o}(),u=s(),p=function(e){if(e){const{pcsInfo:t,pageGenTime:n}=e,o=new Date(n).getTime(),i=!t||[“prod”,”prod-ssr”,”prod-ssrntp”].includes(t.env);W=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?”0ded60c75e44443aa3484c42c1c43fe8-9fc57d3f-fdac-4bcf-b927-75eafe60192e-7279″:”f8857dedc6f54ca8962cfb713e01e7d7-e9250191-fe0b-446f-95ae-07516262f98c-7028″,”upload-time”:o,w:”0″,anoncknm:”app_anon”}}return null}(l);let h=””;p&&p.apikey&&””!==p.apikey&&(h=function(e){if(e){const t=e.indexOf(“-“);if(t>0)return e.substring(0,t)}return””}(p.apikey));const g=function(e,t,n,o,i,s){let r=arguments.length>6&&void 0!==arguments[6]?arguments[6]:F.Alert,a=arguments.length>7&&void 0!==arguments[7]?arguments[7]:””;if(n){i=i||{};const{apptype:p,audienceMode:h,pagetype:g,pageGenTime:w,bundleInfo:m,deviceFormFactor:f=””,fd_muid:v,os:b}=n;i.pageGenTime=w,i.build=m&&m.v,i.appType=p;const y=function(e,t,n){const o=n&&”phone”===n.toLowerCase(),i=t&&”enterprise”===t;let s=”Edge”;O()?s=”swiftKey”:q()?s=”Launcher”:function(){var e;if(!c())return!1;const t=document.head.dataset.clientSettings||(null===(e=document.getElementsByClassName(“peregrine-widget-settings”)[0])||void 0===e?void 0:e.getAttribute(“data-client-settings”));if(t){const e=JSON.parse(t);return e&&e.pagetype&&”bingHomepageMobile”===e.pagetype}return!1}()&&(s=”bingHomepageMobile”);return{bingHomepage:”binghomepage”,mmx:”emmx”,edge:”spartan”,edgeChromium:i?”entnews”:”anaheim”,hybrid:”spartan”,hub:o?”prime_mobile”:”prime”,microsoftNews:”msnews”,office:”entnews”,views:o?”prime_mobile”:”prime”,homePage:o?”prime_mobile”:”prime”,windowsShell:”windowsshell”,edgeMobile:s}[e]}(p,h,f),k=y||p,S=document.getElementsByTagName(“html”)[0].getAttribute(“lang”);let C,A=””,I=”muid”;try{if(“edgeChromium”===p&&”object”==typeof window&&window.location&&window.location.search){const e=new URLSearchParams(window.location.search);C=e.has(“startpage”)?”msedgdhp”:”msedgntp”,”enterprise”===h?C=”entnewsntp”:”xbox”===b&&(C=”xboxntp”)}window&&window.getCookieConsentRequired&&”function”==typeof window.getCookieConsentRequired&&window.getCookieConsentRequired()||(A=(null===(l=window)||void 0===l||null===(l=l.__SSRUserConfigEarlyLog)||void 0===l?void 0:l.consistentMuid)||(null===(u=window)||void 0===u?void 0:u.__muid)||M(“muid”))}catch{}A||(A=n.aid,I=”aid”);const _={name:”MS.News.Web.AppError”,time:w,ver:”4.0″,iKey:`o:${o}`,data:{baseData:{},baseType:”MS.News.Web.Base”,page:{name:”default”,product:k,type:H(g),content:j[p]??{category:”standaloneError”},ocid:C},browser:{clientId:A,clientIdType:I},flight:{id:s,tmpl:a},request:{activityId:n.aid,requestId:n.aid,afdMuid:v},locale:{mkt:S},extSchema:{id:e,severity:r,pb:i,message:t}}};var d;if(A&&”muid”===I)_.ext={…null==_?void 0:_.ext,user:{…null==_||null===(d=_.ext)||void 0===d?void 0:d.user,localId:`t:${A}`}};return”object”==typeof window&&(window.isSSREnabled&&(_.data.flight.tmpl+=”;ssr-enabled:1″),window.isSSRCompleted&&(_.data.flight.tmpl+=”;ssr-completed:1″)),_?JSON.stringify(_):null}var l,u;return null}(t,e,l,h,n,u,i,d);if(a&&!function(e){if(null==e)return!1;return e.startsWith(“1”)||e.startsWith(“2”)||e.startsWith(“3”)||e.startsWith(“4″)}(null==l?void 0:l.aid))return console.error(g),void console.error(`This App error Id: ${t} will not be sent due to app error sampling!`);if(p&&g){console.error(g),U.push(g);const e=”https://”+W+”/OneCollector/1.0″+function(e){return”?”+Object.keys(e).map((function(t){return t+”=”+encodeURIComponent(e[t])})).join(“&”)}(p);if(r&&!performance.getEntriesByType(“visibility-state”).some((e=>”visible”===e.name))){const t=()=>{“visible”===document.visibilityState&&navigator.sendBeacon(e,g)};document.addEventListener(“visibilitychange”,t,{once:!0})}else navigator.sendBeacon(e,g)}}catch{}}const j={homePage:{vertical:”homepage”,category:””,id:””,domainId:”13041″,title:”undefined”!=typeof document?document.title:””}};function H(e){let t=e;switch(e){case”windowsshellhp”:t=”dhp”;break;case”video”:t=”watch”;break;case”EdgeMobile”:t=_()?”ntp”:”dhp”}return t}function B(e){$(“Error when loading bundle: “+e,20202,{…arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}})}function J(e,t,n,o,i){$(“JS Exception”,20203,{source:t,customMessage:e,line:n,column:o,stack:i&&i.stack})}function G(e){$(“JS Exception”,20203,{customMessage:e&&e.reason&&e.reason.message,stack:e&&e.reason&&e.reason.stack})}const V=”experience”,K=Object.create(null),X=2;function z(e,t){if(!(t=t||Array.from(document.scripts).find((t=>t.src.indexOf(`/${e}.`)>-1))))return;const n=function(e,t){const n=document.createElement(“script”);return n.type=”text/javascript”,n.crossOrigin=”anonymous”,n.src=e,n.onerror=()=>{let e=K[t]||0;K[t]=++e,e{delete K[t];const e=window._pageTimings.retriedBundles;window._pageTimings.retriedBundles=e?`${e},${t}`:t,Y()},n}((o=t.src,K[e],o),e);var o;setTimeout((()=>t.replaceWith(n)),100)}function Q(){const[e={}]=performance.getEntriesByType(“navigation”);return e.type}function Y(){if(!Object.values(K).every((e=>e===X)))return;let e=””;Object.keys(K).forEach((t=>{e=e?`${e},${t}`:t,delete K[t]})),e&&$(`Error when loading bundle(s): ${e}`,20202,{timeElapsed:Math.round(performance.now()),navType:Q()})}function Z(e){try{if(e)return JSON.parse(e)}catch(e){}return null}”undefined”!=typeof window&&window.document&&window.document.createElement&&(window._pageTimings=window._pageTimings||{},window.requestIdleCallback=window.requestIdleCallback||window.setTimeout);const ee=”Authorization”;var te,ne;!function(e){e.Presentation=”presentation”}(te||(te={})),function(e){e.Unknown=”Unknown”,e.Portrait=”Portrait”,e.Landscape=”Landscape”}(ne||(ne={}));var oe,ie;!function(e){e[e.Undefined=0]=”Undefined”,e[e.Basic=1]=”Basic”,e[e.Advanced=2]=”Advanced”,e[e.Premium=3]=”Premium”}(oe||(oe={})),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”}(ie||(ie={}));new Set([“winp0dash”,”winp1taskbar”,”winp1taskbarent”,”winp1taskbardirect”,”winp1taskbardirectent”,”winp1taskbarent”,”winp2juntaskbar”,”winp2juntaskbarent”,”winp2″,”winp2ent”,”winp2fp”,”winp2fpent”,”winp2fptaskbar”,”winp2fptaskbarent”,”winp2fptaskbarhover”,”winp2fptaskbarhoverent”,”winp2widget”,”winp2widgetent”]);const se=new Set([“finance-app-win”,”weather-app-win”,”winpstoreapp”]),re=(new Set([“msedgdhp”,”msedgdhphdr”,”msedgntphdr”,”msedgntp”,”msedgdhp”,”entnewsntp”]),new Set([“hpmsn”]));new Set([“chromentpnews”]);function ae(){var e;return c()?Z(document.head.dataset.clientSettings||(null===(e=document.getElementsByClassName(“peregrine-widget-settings”)[0])||void 0===e?void 0:e.getAttribute(“data-client-settings”))):null}const ce=”feed/personalize/settings”;function de(e,t){const n=t.replace(/[[]]/g,”\$&”),o=new RegExp(“[?&]”+n+”(=([^&#]*)|&|#|$)”).exec(e);if(!o)return null;const i=o[2];return decodeURIComponent(i.replace(/+/g,” “))||””}let le=new class{constructor(){c()?(this.isDebugEnabled=(de(window.location.href,”debug”)||””).toLowerCase()in{1:1,true:1}||”vp”===(de(window.location.href,”reqsrc”)||””).toLowerCase(),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.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 ue{get supported(){return!!this.storage}constructor(e){this.storage=e}getItem(e){if(this.supported)return this.storage.getItem(e)}getObject(e,t){const n=this.getItem(e);if(null!=n){const e=Z(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 Z(t)}setItem(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(this.supported)try{if(!t)throw”Attempted to store null/undefined value: “+t;this.storage.setItem(e,t)}catch(e){if(!n)throw e;le.logError(e)}else if(!n)throw new Error(“WebStorage not supported”)}get length(){if(this.supported)return this.storage.length}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;n[]{const e=M(ye,!0),t=e&&Z(e),{login_hint:n}=t||{};return n&&t})),Se=d((()=>!!M(ye)));const Ce=”__RequestDataInstance__”;class Ae{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=function(e){try{if(e)return JSON.parse(e)}catch(e){}}(e.oneServiceHeaders)||{},this.isPssrMode=t,t){const e=Ie(“OSATE”,this.cookie),t=!!e&&”1″===e,n=Ie(“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=a.get(Ce);return e||(n.g.TEST_ENV?_e({href:”http://localhost:8080/”,innerHeight:768,devicePixelRatio:1,canUseCssGrid:!1,requestId:”0″,cookie:””,userAgent:””,referer:””,oneServiceHeaders:””}):_e({href:”http://localhost:8080/”,innerHeight:0,devicePixelRatio:0,canUseCssGrid:!1,requestId:”0″,cookie:””,userAgent:””,referer:””,oneServiceHeaders:””}))}static resetInstance(e){const t=new Ae(e,arguments.length>1&&void 0!==arguments[1]&&arguments[1]);return a.set(Ce,t),t}}function Ie(e,t){if(t&&e){const n=new RegExp(“\b”+e+”\s*=\s*([^;]*)”,”i”).exec(t);return n&&n.length>1?n[1]:null}return null}const _e=Ae.resetInstance,Ee=()=>Ae.getInstance();function qe(){return c()?window.location.search:Ee().url.search}function Oe(){try{return localStorage}catch(e){return null}}const xe=”__PageExperimentInstance__”;function Le(e){a.set(xe,e)}function Te(e){if(!a.has(xe)&&c()){var t;Le(Pe(document.head.dataset.info||(null===(t=window.document.getElementsByClassName(“peregrine-widget-settings”)[0])||void 0===t||null===(t=t.dataset)||void 0===t?void 0:t.info)||””))}const n=a.get(xe);return n&&n.has(e)}function Pe(e){const t=(e||””).replace(/(^f:|;.*$)/g,””).split(“,”);return new Set(t)}const Ne=”uxlogin”,We=”uxlogout”,Me=”uxedit”,Re=”useRedirect”,De=”uxswitch”,Fe=d((()=>{const e=Oe();return e&&”1″===e.getItem(Ne)||c()&&location.search&&location.search.includes(`${Ne}=1`)}));const Ue=d((()=>{const e=function(){try{return sessionStorage}catch(e){return null}}();return e&&!!e.getItem(We)}));const $e=d((()=>{const e=Oe();return e&&”1″===e.getItem(Me)}));const je=d((()=>{const e=Oe(),t=!Te(“prg-noredirect”)&&e&&”1″===e.getItem(Re)&&function(){const e=document.head.dataset.clientSettings||””,{browser:t}=Z(e)||{},{browserType:n=””}=t||{};return!!/safari/i.test(n)}();return t}));const He=d((()=>{const e=Oe();return e&&”1″===e.getItem(De)}));const Be=ae()||{},Je={newsAndInterests:1,windowsNewsPlus:1,winWidgets:1,windowsShell:1,windowsShellV2:1,distribution:1,superApp:1,channeldesktop:1,channelmobile:1,edgeMobile:1},Ge={edgeChromium:1},Ve={winWidgets:1},Ke={edgeChromium:1,shopping:1,newsAndInterests:1,windowsNewsPlus:1,winWidgets:1,windowsShell:1,windowsShellV2:1,msn:1},Xe={edgeChromium:1,channeldesktop:1,channelmobile:1,cgHomePage:1,distribution:1,newsAndInterests:1,windowsNewsPlus:1,winWidgets:1,windowsShell:1,windowsShellV2:1,superApp:1,edgeMobile:1},ze=d((()=>Be&&Be.apptype)),Qe=(d((()=>c()&&ze()in Ve)),d((()=>c()&&!L()&&!(ze()in Je)&&!et()&&!tt()))),Ye=d((()=>Qe()&&!(ze()in Ge)));d((()=>Qe()&&(!(ze()in Ge)||!Se()))),d((()=>Qe()&&!it()&&!st()));const Ze=d((()=>st()||it())),et=d((()=>!(ze()in Ke)&&rt()&&function(){if(“homePage”==ze())return!0;const e=new URLSearchParams(qe()).get(“ocid”)||(null==Be?void 0:Be.ocid),t=null==e?void 0:e.toLowerCase();if(re.has(t)&&Te(“prg-msn-id”))return!0;const n=!re.has(t)&&!se.has(t);return n}()&&!function(){const e=”windows”==ze()&&”windowshp”==(Be&&Be.pagetype)&&(c()?window.location.href:Ee().url.href).includes(`${ce}`);return e}())),tt=()=>c()&&document&&document.body&&document.body.getElementsByClassName(“peregrine-widgets”).length>0;d((()=>ze()in Xe||et()));function nt(){const e=me;if(e)return le.log(“dual-auth:…
Continue reading
MSN r.delete(e),has:e=>r.has(e)});function c(){return!(“undefined”==typeof window||!window.document||!window.document.createElement||window.isRenderServiceEnv)}function d(e){let t,n=!1;const o=function(){return n||(n=!0,t=e()),t};return o.cache={clear:()=>{n=!1,t=void 0}},o}const l={bingHomepageMobile:”binghomepagemobile”,outlookMobile:”OnOOutlookMobile”,officeMobile:”OnOOfficeMobile”,sapphire:”OnOStartApp”,skype:”OnOSkype”,freFullPage:”emmxFre”,winWeatherApp:”weather-app-win”,xiaomiApp:”xmweather-“,launcher:”launcherntp”,launcherInterests:”launcherInterests”,swiftKey:”swiftKey”,winMoneyApp:”finance-app-win”},u=”superappdhp”,p=[“ios”,”android”,”ipados”],h=”_ocidIsomorphicKey”,g=()=>(a.get(h)||a.set(h,T(“ocid”).toLowerCase()),a.get(h)),w=”_platformFlagKey”,m=”_hostAppNameKey”,f=”_clientTypeKey”,v=()=>(a.get(w)||a.set(w,T(“chpltfm”)),a.get(w)),b=()=>{if(!a.get(m)){const e=v();a.set(m,e.toLowerCase().split(“-“)[0])}return a.get(m)},y=()=>{if(!a.get(f)){const e=v();a.set(f,e.toLowerCase().split(“-“)[1])}return a.get(f)};function k(){if(!c()||O())return!1;const e=window.sapphireWebViewBridge,t=window.webkit,n=e&&e.send,o=t&&t.messageHandlers&&t.messageHandlers.send&&t.messageHandlers.send.postMessage;return!(!n&&!o)}function S(){const e=v()&&”outlook”===b()&&p.includes(y()),t=g()===l.outlookMobile.toLowerCase();return e||t}function C(){const e=v()&&[“office”,”union”].includes(b())&&p.includes(y()),t=g()===l.officeMobile.toLowerCase();return e||t}function A(){const e=g()===l.skype.toLowerCase()||”skype”===b();return c()&&(null===(t=window.skypeWebviewBridge)||void 0===t?void 0:t.isSkype)||e;var t}function I(){return!(!c()||O())&&(k()||g()===l.sapphire.toLowerCase()||g()===u.toLowerCase())}function _(){const e=T(“edge”);return(“emmx”===b()||”1″===e)&&I()||”mmx”===g()}function E(){return”3rdp”===b()||g().startsWith(l.xiaomiApp)||O()}function q(){return[l.launcher.toLowerCase(),l.launcherInterests.toLowerCase()].includes(g())&&I()}function O(){return g().toLowerCase()===l.swiftKey.toLowerCase()||”swiftkey”==b().toLowerCase()}function x(){return-1!==window.location.href.indexOf(“huawei”)||-1!==window.location.href.indexOf(“airfind”)||-1!==window.location.href.indexOf(“aloha”)||”vivo”===g()&&E()}const L=d((()=>k()||A()||C()||S()||I()||g()===l.winWeatherApp.toLowerCase()||g()===l.winMoneyApp.toLowerCase()||_()||E()||q()||O()||x()||-1!==window.location.href.indexOf(“metaos=true”)));function T(e){try{return new URL(location.href).searchParams.get(e)||””}catch(e){return””}}function P(e){try{return decodeURIComponent(e)}catch(e){}}let N,W;function M(e,t){if(!e)return null;if(t)return R(e);if(!N){const e=”undefined”!=typeof document&&document.cookie.split(“; “);N={};const t=e&&e.length;for(let n=0;n0&&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 $(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:F.Alert,r=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0,d=arguments.length>6?arguments[6]:void 0;try{const l=function(){if(!o){const e=document.head.getAttribute(“data-client-settings”);e&&(o=JSON.parse(e))}return o}(),u=s(),p=function(e){if(e){const{pcsInfo:t,pageGenTime:n}=e,o=new Date(n).getTime(),i=!t||[“prod”,”prod-ssr”,”prod-ssrntp”].includes(t.env);W=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?”0ded60c75e44443aa3484c42c1c43fe8-9fc57d3f-fdac-4bcf-b927-75eafe60192e-7279″:”f8857dedc6f54ca8962cfb713e01e7d7-e9250191-fe0b-446f-95ae-07516262f98c-7028″,”upload-time”:o,w:”0″,anoncknm:”app_anon”}}return null}(l);let h=””;p&&p.apikey&&””!==p.apikey&&(h=function(e){if(e){const t=e.indexOf(“-“);if(t>0)return e.substring(0,t)}return””}(p.apikey));const g=function(e,t,n,o,i,s){let r=arguments.length>6&&void 0!==arguments[6]?arguments[6]:F.Alert,a=arguments.length>7&&void 0!==arguments[7]?arguments[7]:””;if(n){i=i||{};const{apptype:p,audienceMode:h,pagetype:g,pageGenTime:w,bundleInfo:m,deviceFormFactor:f=””,fd_muid:v,os:b}=n;i.pageGenTime=w,i.build=m&&m.v,i.appType=p;const y=function(e,t,n){const o=n&&”phone”===n.toLowerCase(),i=t&&”enterprise”===t;let s=”Edge”;O()?s=”swiftKey”:q()?s=”Launcher”:function(){var e;if(!c())return!1;const t=document.head.dataset.clientSettings||(null===(e=document.getElementsByClassName(“peregrine-widget-settings”)[0])||void 0===e?void 0:e.getAttribute(“data-client-settings”));if(t){const e=JSON.parse(t);return e&&e.pagetype&&”bingHomepageMobile”===e.pagetype}return!1}()&&(s=”bingHomepageMobile”);return{bingHomepage:”binghomepage”,mmx:”emmx”,edge:”spartan”,edgeChromium:i?”entnews”:”anaheim”,hybrid:”spartan”,hub:o?”prime_mobile”:”prime”,microsoftNews:”msnews”,office:”entnews”,views:o?”prime_mobile”:”prime”,homePage:o?”prime_mobile”:”prime”,windowsShell:”windowsshell”,edgeMobile:s}[e]}(p,h,f),k=y||p,S=document.getElementsByTagName(“html”)[0].getAttribute(“lang”);let C,A=””,I=”muid”;try{if(“edgeChromium”===p&&”object”==typeof window&&window.location&&window.location.search){const e=new URLSearchParams(window.location.search);C=e.has(“startpage”)?”msedgdhp”:”msedgntp”,”enterprise”===h?C=”entnewsntp”:”xbox”===b&&(C=”xboxntp”)}window&&window.getCookieConsentRequired&&”function”==typeof window.getCookieConsentRequired&&window.getCookieConsentRequired()||(A=(null===(l=window)||void 0===l||null===(l=l.__SSRUserConfigEarlyLog)||void 0===l?void 0:l.consistentMuid)||(null===(u=window)||void 0===u?void 0:u.__muid)||M(“muid”))}catch{}A||(A=n.aid,I=”aid”);const _={name:”MS.News.Web.AppError”,time:w,ver:”4.0″,iKey:`o:${o}`,data:{baseData:{},baseType:”MS.News.Web.Base”,page:{name:”default”,product:k,type:H(g),content:j[p]??{category:”standaloneError”},ocid:C},browser:{clientId:A,clientIdType:I},flight:{id:s,tmpl:a},request:{activityId:n.aid,requestId:n.aid,afdMuid:v},locale:{mkt:S},extSchema:{id:e,severity:r,pb:i,message:t}}};var d;if(A&&”muid”===I)_.ext={…null==_?void 0:_.ext,user:{…null==_||null===(d=_.ext)||void 0===d?void 0:d.user,localId:`t:${A}`}};return”object”==typeof window&&(window.isSSREnabled&&(_.data.flight.tmpl+=”;ssr-enabled:1″),window.isSSRCompleted&&(_.data.flight.tmpl+=”;ssr-completed:1″)),_?JSON.stringify(_):null}var l,u;return null}(t,e,l,h,n,u,i,d);if(a&&!function(e){if(null==e)return!1;return e.startsWith(“1”)||e.startsWith(“2”)||e.startsWith(“3”)||e.startsWith(“4″)}(null==l?void 0:l.aid))return console.error(g),void console.error(`This App error Id: ${t} will not be sent due to app error sampling!`);if(p&&g){console.error(g),U.push(g);const e=”https://”+W+”/OneCollector/1.0″+function(e){return”?”+Object.keys(e).map((function(t){return t+”=”+encodeURIComponent(e[t])})).join(“&”)}(p);if(r&&!performance.getEntriesByType(“visibility-state”).some((e=>”visible”===e.name))){const t=()=>{“visible”===document.visibilityState&&navigator.sendBeacon(e,g)};document.addEventListener(“visibilitychange”,t,{once:!0})}else navigator.sendBeacon(e,g)}}catch{}}const j={homePage:{vertical:”homepage”,category:””,id:””,domainId:”13041″,title:”undefined”!=typeof document?document.title:””}};function H(e){let t=e;switch(e){case”windowsshellhp”:t=”dhp”;break;case”video”:t=”watch”;break;case”EdgeMobile”:t=_()?”ntp”:”dhp”}return t}function B(e){$(“Error when loading bundle: “+e,20202,{…arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}})}function J(e,t,n,o,i){$(“JS Exception”,20203,{source:t,customMessage:e,line:n,column:o,stack:i&&i.stack})}function G(e){$(“JS Exception”,20203,{customMessage:e&&e.reason&&e.reason.message,stack:e&&e.reason&&e.reason.stack})}const V=”experience”,K=Object.create(null),X=2;function z(e,t){if(!(t=t||Array.from(document.scripts).find((t=>t.src.indexOf(`/${e}.`)>-1))))return;const n=function(e,t){const n=document.createElement(“script”);return n.type=”text/javascript”,n.crossOrigin=”anonymous”,n.src=e,n.onerror=()=>{let e=K[t]||0;K[t]=++e,e{delete K[t];const e=window._pageTimings.retriedBundles;window._pageTimings.retriedBundles=e?`${e},${t}`:t,Y()},n}((o=t.src,K[e],o),e);var o;setTimeout((()=>t.replaceWith(n)),100)}function Q(){const[e={}]=performance.getEntriesByType(“navigation”);return e.type}function Y(){if(!Object.values(K).every((e=>e===X)))return;let e=””;Object.keys(K).forEach((t=>{e=e?`${e},${t}`:t,delete K[t]})),e&&$(`Error when loading bundle(s): ${e}`,20202,{timeElapsed:Math.round(performance.now()),navType:Q()})}function Z(e){try{if(e)return JSON.parse(e)}catch(e){}return null}”undefined”!=typeof window&&window.document&&window.document.createElement&&(window._pageTimings=window._pageTimings||{},window.requestIdleCallback=window.requestIdleCallback||window.setTimeout);const ee=”Authorization”;var te,ne;!function(e){e.Presentation=”presentation”}(te||(te={})),function(e){e.Unknown=”Unknown”,e.Portrait=”Portrait”,e.Landscape=”Landscape”}(ne||(ne={}));var oe,ie;!function(e){e[e.Undefined=0]=”Undefined”,e[e.Basic=1]=”Basic”,e[e.Advanced=2]=”Advanced”,e[e.Premium=3]=”Premium”}(oe||(oe={})),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”}(ie||(ie={}));new Set([“winp0dash”,”winp1taskbar”,”winp1taskbarent”,”winp1taskbardirect”,”winp1taskbardirectent”,”winp1taskbarent”,”winp2juntaskbar”,”winp2juntaskbarent”,”winp2″,”winp2ent”,”winp2fp”,”winp2fpent”,”winp2fptaskbar”,”winp2fptaskbarent”,”winp2fptaskbarhover”,”winp2fptaskbarhoverent”,”winp2widget”,”winp2widgetent”]);const se=new Set([“finance-app-win”,”weather-app-win”,”winpstoreapp”]),re=(new Set([“msedgdhp”,”msedgdhphdr”,”msedgntphdr”,”msedgntp”,”msedgdhp”,”entnewsntp”]),new Set([“hpmsn”]));new Set([“chromentpnews”]);function ae(){var e;return c()?Z(document.head.dataset.clientSettings||(null===(e=document.getElementsByClassName(“peregrine-widget-settings”)[0])||void 0===e?void 0:e.getAttribute(“data-client-settings”))):null}const ce=”feed/personalize/settings”;function de(e,t){const n=t.replace(/[[]]/g,”\$&”),o=new RegExp(“[?&]”+n+”(=([^&#]*)|&|#|$)”).exec(e);if(!o)return null;const i=o[2];return decodeURIComponent(i.replace(/+/g,” “))||””}let le=new class{constructor(){c()?(this.isDebugEnabled=(de(window.location.href,”debug”)||””).toLowerCase()in{1:1,true:1}||”vp”===(de(window.location.href,”reqsrc”)||””).toLowerCase(),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.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 ue{get supported(){return!!this.storage}constructor(e){this.storage=e}getItem(e){if(this.supported)return this.storage.getItem(e)}getObject(e,t){const n=this.getItem(e);if(null!=n){const e=Z(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 Z(t)}setItem(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(this.supported)try{if(!t)throw”Attempted to store null/undefined value: “+t;this.storage.setItem(e,t)}catch(e){if(!n)throw e;le.logError(e)}else if(!n)throw new Error(“WebStorage not supported”)}get length(){if(this.supported)return this.storage.length}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;n[]{const e=M(ye,!0),t=e&&Z(e),{login_hint:n}=t||{};return n&&t})),Se=d((()=>!!M(ye)));const Ce=”__RequestDataInstance__”;class Ae{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=function(e){try{if(e)return JSON.parse(e)}catch(e){}}(e.oneServiceHeaders)||{},this.isPssrMode=t,t){const e=Ie(“OSATE”,this.cookie),t=!!e&&”1″===e,n=Ie(“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=a.get(Ce);return e||(n.g.TEST_ENV?_e({href:”http://localhost:8080/”,innerHeight:768,devicePixelRatio:1,canUseCssGrid:!1,requestId:”0″,cookie:””,userAgent:””,referer:””,oneServiceHeaders:””}):_e({href:”http://localhost:8080/”,innerHeight:0,devicePixelRatio:0,canUseCssGrid:!1,requestId:”0″,cookie:””,userAgent:””,referer:””,oneServiceHeaders:””}))}static resetInstance(e){const t=new Ae(e,arguments.length>1&&void 0!==arguments[1]&&arguments[1]);return a.set(Ce,t),t}}function Ie(e,t){if(t&&e){const n=new RegExp(“\b”+e+”\s*=\s*([^;]*)”,”i”).exec(t);return n&&n.length>1?n[1]:null}return null}const _e=Ae.resetInstance,Ee=()=>Ae.getInstance();function qe(){return c()?window.location.search:Ee().url.search}function Oe(){try{return localStorage}catch(e){return null}}const xe=”__PageExperimentInstance__”;function Le(e){a.set(xe,e)}function Te(e){if(!a.has(xe)&&c()){var t;Le(Pe(document.head.dataset.info||(null===(t=window.document.getElementsByClassName(“peregrine-widget-settings”)[0])||void 0===t||null===(t=t.dataset)||void 0===t?void 0:t.info)||””))}const n=a.get(xe);return n&&n.has(e)}function Pe(e){const t=(e||””).replace(/(^f:|;.*$)/g,””).split(“,”);return new Set(t)}const Ne=”uxlogin”,We=”uxlogout”,Me=”uxedit”,Re=”useRedirect”,De=”uxswitch”,Fe=d((()=>{const e=Oe();return e&&”1″===e.getItem(Ne)||c()&&location.search&&location.search.includes(`${Ne}=1`)}));const Ue=d((()=>{const e=function(){try{return sessionStorage}catch(e){return null}}();return e&&!!e.getItem(We)}));const $e=d((()=>{const e=Oe();return e&&”1″===e.getItem(Me)}));const je=d((()=>{const e=Oe(),t=!Te(“prg-noredirect”)&&e&&”1″===e.getItem(Re)&&function(){const e=document.head.dataset.clientSettings||””,{browser:t}=Z(e)||{},{browserType:n=””}=t||{};return!!/safari/i.test(n)}();return t}));const He=d((()=>{const e=Oe();return e&&”1″===e.getItem(De)}));const Be=ae()||{},Je={newsAndInterests:1,windowsNewsPlus:1,winWidgets:1,windowsShell:1,windowsShellV2:1,distribution:1,superApp:1,channeldesktop:1,channelmobile:1,edgeMobile:1},Ge={edgeChromium:1},Ve={winWidgets:1},Ke={edgeChromium:1,shopping:1,newsAndInterests:1,windowsNewsPlus:1,winWidgets:1,windowsShell:1,windowsShellV2:1,msn:1},Xe={edgeChromium:1,channeldesktop:1,channelmobile:1,cgHomePage:1,distribution:1,newsAndInterests:1,windowsNewsPlus:1,winWidgets:1,windowsShell:1,windowsShellV2:1,superApp:1,edgeMobile:1},ze=d((()=>Be&&Be.apptype)),Qe=(d((()=>c()&&ze()in Ve)),d((()=>c()&&!L()&&!(ze()in Je)&&!et()&&!tt()))),Ye=d((()=>Qe()&&!(ze()in Ge)));d((()=>Qe()&&(!(ze()in Ge)||!Se()))),d((()=>Qe()&&!it()&&!st()));const Ze=d((()=>st()||it())),et=d((()=>!(ze()in Ke)&&rt()&&function(){if(“homePage”==ze())return!0;const e=new URLSearchParams(qe()).get(“ocid”)||(null==Be?void 0:Be.ocid),t=null==e?void 0:e.toLowerCase();if(re.has(t)&&Te(“prg-msn-id”))return!0;const n=!re.has(t)&&!se.has(t);return n}()&&!function(){const e=”windows”==ze()&&”windowshp”==(Be&&Be.pagetype)&&(c()?window.location.href:Ee().url.href).includes(`${ce}`);return e}())),tt=()=>c()&&document&&document.body&&document.body.getElementsByClassName(“peregrine-widgets”).length>0;d((()=>ze()in Xe||et()));function nt(){const e=me;if(e)return le.log(“dual-auth:…
Continue reading
MSN r.delete(e),has:e=>r.has(e)});function c(){return!(“undefined”==typeof window||!window.document||!window.document.createElement||window.isRenderServiceEnv)}function d(e){let t,n=!1;const o=function(){return n||(n=!0,t=e()),t};return o.cache={clear:()=>{n=!1,t=void 0}},o}const l={bingHomepageMobile:”binghomepagemobile”,outlookMobile:”OnOOutlookMobile”,officeMobile:”OnOOfficeMobile”,sapphire:”OnOStartApp”,skype:”OnOSkype”,freFullPage:”emmxFre”,winWeatherApp:”weather-app-win”,xiaomiApp:”xmweather-“,launcher:”launcherntp”,launcherInterests:”launcherInterests”,swiftKey:”swiftKey”,winMoneyApp:”finance-app-win”},u=”superappdhp”,p=[“ios”,”android”,”ipados”],h=”_ocidIsomorphicKey”,g=()=>(a.get(h)||a.set(h,T(“ocid”).toLowerCase()),a.get(h)),w=”_platformFlagKey”,m=”_hostAppNameKey”,f=”_clientTypeKey”,v=()=>(a.get(w)||a.set(w,T(“chpltfm”)),a.get(w)),b=()=>{if(!a.get(m)){const e=v();a.set(m,e.toLowerCase().split(“-“)[0])}return a.get(m)},y=()=>{if(!a.get(f)){const e=v();a.set(f,e.toLowerCase().split(“-“)[1])}return a.get(f)};function k(){if(!c()||O())return!1;const e=window.sapphireWebViewBridge,t=window.webkit,n=e&&e.send,o=t&&t.messageHandlers&&t.messageHandlers.send&&t.messageHandlers.send.postMessage;return!(!n&&!o)}function S(){const e=v()&&”outlook”===b()&&p.includes(y()),t=g()===l.outlookMobile.toLowerCase();return e||t}function C(){const e=v()&&[“office”,”union”].includes(b())&&p.includes(y()),t=g()===l.officeMobile.toLowerCase();return e||t}function A(){const e=g()===l.skype.toLowerCase()||”skype”===b();return c()&&(null===(t=window.skypeWebviewBridge)||void 0===t?void 0:t.isSkype)||e;var t}function I(){return!(!c()||O())&&(k()||g()===l.sapphire.toLowerCase()||g()===u.toLowerCase())}function _(){const e=T(“edge”);return(“emmx”===b()||”1″===e)&&I()||”mmx”===g()}function E(){return”3rdp”===b()||g().startsWith(l.xiaomiApp)||O()}function q(){return[l.launcher.toLowerCase(),l.launcherInterests.toLowerCase()].includes(g())&&I()}function O(){return g().toLowerCase()===l.swiftKey.toLowerCase()||”swiftkey”==b().toLowerCase()}function x(){return-1!==window.location.href.indexOf(“huawei”)||-1!==window.location.href.indexOf(“airfind”)||-1!==window.location.href.indexOf(“aloha”)||”vivo”===g()&&E()}const L=d((()=>k()||A()||C()||S()||I()||g()===l.winWeatherApp.toLowerCase()||g()===l.winMoneyApp.toLowerCase()||_()||E()||q()||O()||x()||-1!==window.location.href.indexOf(“metaos=true”)));function T(e){try{return new URL(location.href).searchParams.get(e)||””}catch(e){return””}}function P(e){try{return decodeURIComponent(e)}catch(e){}}let N,W;function M(e,t){if(!e)return null;if(t)return R(e);if(!N){const e=”undefined”!=typeof document&&document.cookie.split(“; “);N={};const t=e&&e.length;for(let n=0;n0&&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 $(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:F.Alert,r=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0,d=arguments.length>6?arguments[6]:void 0;try{const l=function(){if(!o){const e=document.head.getAttribute(“data-client-settings”);e&&(o=JSON.parse(e))}return o}(),u=s(),p=function(e){if(e){const{pcsInfo:t,pageGenTime:n}=e,o=new Date(n).getTime(),i=!t||[“prod”,”prod-ssr”,”prod-ssrntp”].includes(t.env);W=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?”0ded60c75e44443aa3484c42c1c43fe8-9fc57d3f-fdac-4bcf-b927-75eafe60192e-7279″:”f8857dedc6f54ca8962cfb713e01e7d7-e9250191-fe0b-446f-95ae-07516262f98c-7028″,”upload-time”:o,w:”0″,anoncknm:”app_anon”}}return null}(l);let h=””;p&&p.apikey&&””!==p.apikey&&(h=function(e){if(e){const t=e.indexOf(“-“);if(t>0)return e.substring(0,t)}return””}(p.apikey));const g=function(e,t,n,o,i,s){let r=arguments.length>6&&void 0!==arguments[6]?arguments[6]:F.Alert,a=arguments.length>7&&void 0!==arguments[7]?arguments[7]:””;if(n){i=i||{};const{apptype:p,audienceMode:h,pagetype:g,pageGenTime:w,bundleInfo:m,deviceFormFactor:f=””,fd_muid:v,os:b}=n;i.pageGenTime=w,i.build=m&&m.v,i.appType=p;const y=function(e,t,n){const o=n&&”phone”===n.toLowerCase(),i=t&&”enterprise”===t;let s=”Edge”;O()?s=”swiftKey”:q()?s=”Launcher”:function(){var e;if(!c())return!1;const t=document.head.dataset.clientSettings||(null===(e=document.getElementsByClassName(“peregrine-widget-settings”)[0])||void 0===e?void 0:e.getAttribute(“data-client-settings”));if(t){const e=JSON.parse(t);return e&&e.pagetype&&”bingHomepageMobile”===e.pagetype}return!1}()&&(s=”bingHomepageMobile”);return{bingHomepage:”binghomepage”,mmx:”emmx”,edge:”spartan”,edgeChromium:i?”entnews”:”anaheim”,hybrid:”spartan”,hub:o?”prime_mobile”:”prime”,microsoftNews:”msnews”,office:”entnews”,views:o?”prime_mobile”:”prime”,homePage:o?”prime_mobile”:”prime”,windowsShell:”windowsshell”,edgeMobile:s}[e]}(p,h,f),k=y||p,S=document.getElementsByTagName(“html”)[0].getAttribute(“lang”);let C,A=””,I=”muid”;try{if(“edgeChromium”===p&&”object”==typeof window&&window.location&&window.location.search){const e=new URLSearchParams(window.location.search);C=e.has(“startpage”)?”msedgdhp”:”msedgntp”,”enterprise”===h?C=”entnewsntp”:”xbox”===b&&(C=”xboxntp”)}window&&window.getCookieConsentRequired&&”function”==typeof window.getCookieConsentRequired&&window.getCookieConsentRequired()||(A=(null===(l=window)||void 0===l||null===(l=l.__SSRUserConfigEarlyLog)||void 0===l?void 0:l.consistentMuid)||(null===(u=window)||void 0===u?void 0:u.__muid)||M(“muid”))}catch{}A||(A=n.aid,I=”aid”);const _={name:”MS.News.Web.AppError”,time:w,ver:”4.0″,iKey:`o:${o}`,data:{baseData:{},baseType:”MS.News.Web.Base”,page:{name:”default”,product:k,type:H(g),content:j[p]??{category:”standaloneError”},ocid:C},browser:{clientId:A,clientIdType:I},flight:{id:s,tmpl:a},request:{activityId:n.aid,requestId:n.aid,afdMuid:v},locale:{mkt:S},extSchema:{id:e,severity:r,pb:i,message:t}}};var d;if(A&&”muid”===I)_.ext={…null==_?void 0:_.ext,user:{…null==_||null===(d=_.ext)||void 0===d?void 0:d.user,localId:`t:${A}`}};return”object”==typeof window&&(window.isSSREnabled&&(_.data.flight.tmpl+=”;ssr-enabled:1″),window.isSSRCompleted&&(_.data.flight.tmpl+=”;ssr-completed:1″)),_?JSON.stringify(_):null}var l,u;return null}(t,e,l,h,n,u,i,d);if(a&&!function(e){if(null==e)return!1;return e.startsWith(“1”)||e.startsWith(“2”)||e.startsWith(“3”)||e.startsWith(“4″)}(null==l?void 0:l.aid))return console.error(g),void console.error(`This App error Id: ${t} will not be sent due to app error sampling!`);if(p&&g){console.error(g),U.push(g);const e=”https://”+W+”/OneCollector/1.0″+function(e){return”?”+Object.keys(e).map((function(t){return t+”=”+encodeURIComponent(e[t])})).join(“&”)}(p);if(r&&!performance.getEntriesByType(“visibility-state”).some((e=>”visible”===e.name))){const t=()=>{“visible”===document.visibilityState&&navigator.sendBeacon(e,g)};document.addEventListener(“visibilitychange”,t,{once:!0})}else navigator.sendBeacon(e,g)}}catch{}}const j={homePage:{vertical:”homepage”,category:””,id:””,domainId:”13041″,title:”undefined”!=typeof document?document.title:””}};function H(e){let t=e;switch(e){case”windowsshellhp”:t=”dhp”;break;case”video”:t=”watch”;break;case”EdgeMobile”:t=_()?”ntp”:”dhp”}return t}function B(e){$(“Error when loading bundle: “+e,20202,{…arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}})}function J(e,t,n,o,i){$(“JS Exception”,20203,{source:t,customMessage:e,line:n,column:o,stack:i&&i.stack})}function G(e){$(“JS Exception”,20203,{customMessage:e&&e.reason&&e.reason.message,stack:e&&e.reason&&e.reason.stack})}const V=”experience”,K=Object.create(null),X=2;function z(e,t){if(!(t=t||Array.from(document.scripts).find((t=>t.src.indexOf(`/${e}.`)>-1))))return;const n=function(e,t){const n=document.createElement(“script”);return n.type=”text/javascript”,n.crossOrigin=”anonymous”,n.src=e,n.onerror=()=>{let e=K[t]||0;K[t]=++e,e{delete K[t];const e=window._pageTimings.retriedBundles;window._pageTimings.retriedBundles=e?`${e},${t}`:t,Y()},n}((o=t.src,K[e],o),e);var o;setTimeout((()=>t.replaceWith(n)),100)}function Q(){const[e={}]=performance.getEntriesByType(“navigation”);return e.type}function Y(){if(!Object.values(K).every((e=>e===X)))return;let e=””;Object.keys(K).forEach((t=>{e=e?`${e},${t}`:t,delete K[t]})),e&&$(`Error when loading bundle(s): ${e}`,20202,{timeElapsed:Math.round(performance.now()),navType:Q()})}function Z(e){try{if(e)return JSON.parse(e)}catch(e){}return null}”undefined”!=typeof window&&window.document&&window.document.createElement&&(window._pageTimings=window._pageTimings||{},window.requestIdleCallback=window.requestIdleCallback||window.setTimeout);const ee=”Authorization”;var te,ne;!function(e){e.Presentation=”presentation”}(te||(te={})),function(e){e.Unknown=”Unknown”,e.Portrait=”Portrait”,e.Landscape=”Landscape”}(ne||(ne={}));var oe,ie;!function(e){e[e.Undefined=0]=”Undefined”,e[e.Basic=1]=”Basic”,e[e.Advanced=2]=”Advanced”,e[e.Premium=3]=”Premium”}(oe||(oe={})),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”}(ie||(ie={}));new Set([“winp0dash”,”winp1taskbar”,”winp1taskbarent”,”winp1taskbardirect”,”winp1taskbardirectent”,”winp1taskbarent”,”winp2juntaskbar”,”winp2juntaskbarent”,”winp2″,”winp2ent”,”winp2fp”,”winp2fpent”,”winp2fptaskbar”,”winp2fptaskbarent”,”winp2fptaskbarhover”,”winp2fptaskbarhoverent”,”winp2widget”,”winp2widgetent”]);const se=new Set([“finance-app-win”,”weather-app-win”,”winpstoreapp”]),re=(new Set([“msedgdhp”,”msedgdhphdr”,”msedgntphdr”,”msedgntp”,”msedgdhp”,”entnewsntp”]),new Set([“hpmsn”]));new Set([“chromentpnews”]);function ae(){var e;return c()?Z(document.head.dataset.clientSettings||(null===(e=document.getElementsByClassName(“peregrine-widget-settings”)[0])||void 0===e?void 0:e.getAttribute(“data-client-settings”))):null}const ce=”feed/personalize/settings”;function de(e,t){const n=t.replace(/[[]]/g,”\$&”),o=new RegExp(“[?&]”+n+”(=([^&#]*)|&|#|$)”).exec(e);if(!o)return null;const i=o[2];return decodeURIComponent(i.replace(/+/g,” “))||””}let le=new class{constructor(){c()?(this.isDebugEnabled=(de(window.location.href,”debug”)||””).toLowerCase()in{1:1,true:1}||”vp”===(de(window.location.href,”reqsrc”)||””).toLowerCase(),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.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 ue{get supported(){return!!this.storage}constructor(e){this.storage=e}getItem(e){if(this.supported)return this.storage.getItem(e)}getObject(e,t){const n=this.getItem(e);if(null!=n){const e=Z(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 Z(t)}setItem(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(this.supported)try{if(!t)throw”Attempted to store null/undefined value: “+t;this.storage.setItem(e,t)}catch(e){if(!n)throw e;le.logError(e)}else if(!n)throw new Error(“WebStorage not supported”)}get length(){if(this.supported)return this.storage.length}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;n[]{const e=M(ye,!0),t=e&&Z(e),{login_hint:n}=t||{};return n&&t})),Se=d((()=>!!M(ye)));const Ce=”__RequestDataInstance__”;class Ae{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=function(e){try{if(e)return JSON.parse(e)}catch(e){}}(e.oneServiceHeaders)||{},this.isPssrMode=t,t){const e=Ie(“OSATE”,this.cookie),t=!!e&&”1″===e,n=Ie(“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=a.get(Ce);return e||(n.g.TEST_ENV?_e({href:”http://localhost:8080/”,innerHeight:768,devicePixelRatio:1,canUseCssGrid:!1,requestId:”0″,cookie:””,userAgent:””,referer:””,oneServiceHeaders:””}):_e({href:”http://localhost:8080/”,innerHeight:0,devicePixelRatio:0,canUseCssGrid:!1,requestId:”0″,cookie:””,userAgent:””,referer:””,oneServiceHeaders:””}))}static resetInstance(e){const t=new Ae(e,arguments.length>1&&void 0!==arguments[1]&&arguments[1]);return a.set(Ce,t),t}}function Ie(e,t){if(t&&e){const n=new RegExp(“\b”+e+”\s*=\s*([^;]*)”,”i”).exec(t);return n&&n.length>1?n[1]:null}return null}const _e=Ae.resetInstance,Ee=()=>Ae.getInstance();function qe(){return c()?window.location.search:Ee().url.search}function Oe(){try{return localStorage}catch(e){return null}}const xe=”__PageExperimentInstance__”;function Le(e){a.set(xe,e)}function Te(e){if(!a.has(xe)&&c()){var t;Le(Pe(document.head.dataset.info||(null===(t=window.document.getElementsByClassName(“peregrine-widget-settings”)[0])||void 0===t||null===(t=t.dataset)||void 0===t?void 0:t.info)||””))}const n=a.get(xe);return n&&n.has(e)}function Pe(e){const t=(e||””).replace(/(^f:|;.*$)/g,””).split(“,”);return new Set(t)}const Ne=”uxlogin”,We=”uxlogout”,Me=”uxedit”,Re=”useRedirect”,De=”uxswitch”,Fe=d((()=>{const e=Oe();return e&&”1″===e.getItem(Ne)||c()&&location.search&&location.search.includes(`${Ne}=1`)}));const Ue=d((()=>{const e=function(){try{return sessionStorage}catch(e){return null}}();return e&&!!e.getItem(We)}));const $e=d((()=>{const e=Oe();return e&&”1″===e.getItem(Me)}));const je=d((()=>{const e=Oe(),t=!Te(“prg-noredirect”)&&e&&”1″===e.getItem(Re)&&function(){const e=document.head.dataset.clientSettings||””,{browser:t}=Z(e)||{},{browserType:n=””}=t||{};return!!/safari/i.test(n)}();return t}));const He=d((()=>{const e=Oe();return e&&”1″===e.getItem(De)}));const Be=ae()||{},Je={newsAndInterests:1,windowsNewsPlus:1,winWidgets:1,windowsShell:1,windowsShellV2:1,distribution:1,superApp:1,channeldesktop:1,channelmobile:1,edgeMobile:1},Ge={edgeChromium:1},Ve={winWidgets:1},Ke={edgeChromium:1,shopping:1,newsAndInterests:1,windowsNewsPlus:1,winWidgets:1,windowsShell:1,windowsShellV2:1,msn:1},Xe={edgeChromium:1,channeldesktop:1,channelmobile:1,cgHomePage:1,distribution:1,newsAndInterests:1,windowsNewsPlus:1,winWidgets:1,windowsShell:1,windowsShellV2:1,superApp:1,edgeMobile:1},ze=d((()=>Be&&Be.apptype)),Qe=(d((()=>c()&&ze()in Ve)),d((()=>c()&&!L()&&!(ze()in Je)&&!et()&&!tt()))),Ye=d((()=>Qe()&&!(ze()in Ge)));d((()=>Qe()&&(!(ze()in Ge)||!Se()))),d((()=>Qe()&&!it()&&!st()));const Ze=d((()=>st()||it())),et=d((()=>!(ze()in Ke)&&rt()&&function(){if(“homePage”==ze())return!0;const e=new URLSearchParams(qe()).get(“ocid”)||(null==Be?void 0:Be.ocid),t=null==e?void 0:e.toLowerCase();if(re.has(t)&&Te(“prg-msn-id”))return!0;const n=!re.has(t)&&!se.has(t);return n}()&&!function(){const e=”windows”==ze()&&”windowshp”==(Be&&Be.pagetype)&&(c()?window.location.href:Ee().url.href).includes(`${ce}`);return e}())),tt=()=>c()&&document&&document.body&&document.body.getElementsByClassName(“peregrine-widgets”).length>0;d((()=>ze()in Xe||et()));function nt(){const e=me;if(e)return le.log(“dual-auth:…
Continue reading