PageSourceSearch

https://www.dallasnews.com/_next/static/chunks/pages/_app-6d6bd14d35015e6c.js

js dallasnews.com collected 2026-09-24 08:26:26 UTC 421,762 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[636],{644:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r={disableThirdParties:"true"===n(23727).env.NEXT_PUBLIC_DISABLE_THIRD_PARTIES,featureFlags:{projectId:String("castle-prod"),apiUrl:String("https://castle-global-config-prod-public.s3.amazonaws.com/")},misApiUrl:String("https://api.sfgate.hnpapps.com")}},1184:(e,t,n)=>{"use strict";n.d(t,{i5:()=>r});let r={default:{siteId:0,siteCode:"unknown",brandTheme:"newstimes",siteTheme:"premium",domain:"unknown.com",productionDomain:"www.unknown.com",gauTrackerId:"",ga4TrackerId:"",marfeelAccountId:"",timezone:"America/Chicago",state:"unknown",searchIndex:"solr",marketSlug:""},"newstimes.com":{siteId:1,siteCode:"newstimes",brandTheme:"newstimes",siteTheme:"premium",domain:"newstimes.com",productionDomain:"www.newstimes.com",gauTrackerId:"UA-1616916-9",ga4TrackerId:"G-7ZXQZFJZPB",marfeelAccountId:"9686",blueconicCollectorId:"c93473c1-2d71-4260-9f35-edd7aefbdb08",timezone:"America/New_York",state:"CT",marketSlug:"CT",pubName:"News-Times",market:"Connecticut",facebookUrl:"https://www.facebook.com/newstimes",instagramUrl:"https://www.instagram.com/insider_ct/",nextdoorUrl:"https://nextdoor.com/page/danbury-news-times/",wikipediaUrl:"https://en.wikipedia.org/wiki/The_News-Times",xUrl:"https://x.com/NewsTimes"},"timesunion.com":{siteId:3,siteCode:"timesunion",brandTheme:"timesunion",siteTheme:"premium",domain:"timesunion.com",productionDomain:"www.timesunion.com",gauTrackerId:"UA-1616916-7",ga4TrackerId:"G-WE0RM2ZY79",marfeelAccountId:"9655",blueconicCollectorId:"ac34b1db-2c2a-4e3b-ba38-19de6b7fb808",timezone:"America/New_York",state:"NY",marketSlug:"ALB",pubName:"Times Union",market:"Albany",blueskyUrl:"https://bsky.app/profile/timesunion.com",facebookUrl:"https://www.facebook.com/timesunion",instagramUrl:"https://instagram.com/timesunion",linkedinUrl:"https://www.linkedin.com/company/timesunionmediagroup/",nextdoorUrl:"https://nextdoor.com/page/Times-Union/",redditUrl:"https://www.reddit.com/user/TimesUnion/",tikTokUrl:"https://www.tiktok.com/@timesunion",wikipediaUrl:"https://en.wikipedia.org/wiki/Times_Union_(Albany,_New_York)",threadsUrl:"https://www.threads.com/@timesunion",youtubeUrl:"https://www.youtube.com/@timesunion"},"ctpost.com":{siteId:4,siteCode:"ctpost",brandTheme:"ctpost",siteTheme:"premium",domain:"ctpost.com",productionDomain:"www.ctpost.com",gauTrackerId:"UA-1616916-8",ga4TrackerId:"G-7MFF9KTXG4",marfeelAccountId:"9680",blueconicCollectorId:"c93473c1-2d71-4260-9f35-edd7aefbdb08",timezone:"America/New_York",state:"CT",marketSlug:"CT",pubName:"CTPost",market:"Connecticut",facebookUrl:"https://www.facebook.com/ctpost/",instagramUrl:"https://www.instagram.com/insider_ct/",nextdoorUrl:"https://nextdoor.com/page/Connecticut-Post/",wikipediaUrl:"https://en.wikipedia.org/wiki/Connecticut_Post",xUrl:"https://x.com/connpost"},"stamfordadvocate.com":{siteId:5,siteCode:"stamfordadvocate",brandTheme:"stamfordadvocate",siteTheme:"premium",domain:"stamfordadvocate.com",productionDomain:"www.stamfordadvocate.com",gauTrackerId:"UA-1616916-10",ga4TrackerId:"G-S4RS4BX460",marfeelAccountId:"9690",blueconicCollectorId:"c93473c1-2d71-4260-9f35-edd7aefbdb08",timezone:"America/New_York",state:"CT",marketSlug:"CT",pubName:"Stamford Advocate",market:"Connecticut",facebookUrl:"https://www.facebook.com/stamfordadvocate",instagramUrl:"https://www.instagram.com/insider_ct/",nextdoorUrl:"https://nextdoor.com/page/stamford-advocate/",wikipediaUrl:"https://en.wikipedia.org/wiki/Stamford_Advocate",xUrl:"https://x.com/stamadvocate"},"greenwichtime.com":{siteId:7,siteCode:"greenwichtime",brandTheme:"greenwichtime",siteTheme:"premium",domain:"greenwichtime.com",productionDomain:"www.greenwichtime.com",gauTrackerId:"UA-1616916-11",ga4TrackerId:"G-NBR493LNH0",marfeelAccountId:"9682",blueconicCollectorId:"c93473c1-2d71-4260-9f35-edd7aefbdb08",timezone:"America/New_York",state:"CT",marketSlug:"CT",pubName:"Greenwich Time",market:"Connecticut",facebookUrl:"https://www.facebook.com/greenwichtime",instagramUrl:"https://www.instagram.com/insider_ct/",nextdoorUrl:"https://nextdoor.com/page/greenwich-time/",wikipediaUrl:"https://en.wikipedia.org/wiki/Greenwich_Time_(newspaper)",xUrl:"https://x.com/greenwichtime"},"darientimes.com":{siteId:8,siteCode:"dariennewsonline",brandTheme:"dariennewsonline",siteTheme:"premium",domain:"darientimes.com",productionDomain:"www.darientimes.com",gauTrackerId:"UA-21069093-1",ga4TrackerId:"G-PZS5S027FY",marfeelAccountId:"9681",blueconicCollectorId:"c93473c1-2d71-4260-9f35-edd7aefbdb08",timezone:"America/Ne
1w_York",state:"CT",marketSlug:"CT",pubName:"Darien Times",market:"Connecticut"},"ncadvertiser.com":{siteId:11,siteCode:"newcanaannewsonline",brandTheme:"newcanaannewsonline",siteTheme:"premium",domain:"ncadvertiser.com",productionDomain:"www.ncadvertiser.com",gauTrackerId:"UA-33357364-1",ga4TrackerId:"G-FPQCHDGRB2",marfeelAccountId:"9685",blueconicCollectorId:"c93473c1-2d71-4260-9f35-edd7aefbdb08",timezone:"America/New_York",state:"CT",marketSlug:"CT",pubName:"New Canaan Advertiser",market:"Connecticut"},"mysanantonio.com":{siteId:14,siteCode:"mysa",brandTheme:"mysa",siteTheme:"lifestyle",domain:"mysanantonio.com",productionDomain:"www.mysanantonio.com",gauTrackerId:"UA-1616916-19",ga4TrackerId:"G-QSE8LMWW68",marfeelAccountId:"9662",blueconicCollectorId:"4e1dd9c4-6f0d-4947-a86e-934169d3bd01",timezone:"America/Chicago",state:"TX",marketSlug:"mySA",pubName:"MySA",market:"San Antonio",blueskyUrl:"https://bsky.app/profile/mysanantonio.com",facebookUrl:"https://www.facebook.com/MySA",instagramUrl:"https://instagram.com/mysanantonio/",nextdoorUrl:"https://nextdoor.com/page/mysa/",tikTokUrl:"https://www.tiktok.com/@mysanantonio",xUrl:"https://x.com/mysa",threadsUrl:"https://www.threads.com/@mysanantonio",youtubeUrl:"https://www.youtube.com/@mysanantonio"},"myplainview.com":{siteId:18,siteCode:"myplainview",brandTheme:"myplainview",siteTheme:"premium",domain:"myplainview.com",productionDomain:"www.myplainview.com",gauTrackerId:"UA-9269953-1",ga4TrackerId:"G-QWBCDFHPNN",marfeelAccountId:"9667",blueconicCollectorId:"4e8981dd-7b7c-4e5d-b0f7-216b70b13cfb",timezone:"America/Chicago",state:"TX",marketSlug:"PDH",pubName:"Plainview Herald",market:"Communities",facebookUrl:"https://www.facebook.com/plainviewdailyherald/",nextdoorUrl:"https://nextdoor.com/page/plainview-herald/",wikipediaUrl:"https://en.wikipedia.org/wiki/Plainview_Herald",xUrl:"https://x.com/myplainview"},"sfgate.com":{siteId:19,siteCode:"sfgate",authProvider:"treg",brandTheme:"sfgate",siteTheme:"lifestyle",domain:"sfgate.com",productionDomain:"www.sfgate.com",gauTrackerId:"UA-1616916-22",ga4TrackerId:"G-K75EXT0S8W",marfeelAccountId:"9658",blueconicCollectorId:"3dafd0ee-d685-43d9-9bc0-3379dd640d15",timezone:"America/Los_Angeles",state:"CA",marketSlug:"SFG",pubName:"SFGATE",market:"San Francisco",blueskyUrl:"https://bsky.app/profile/sfgate.com",facebookUrl:"https://www.facebook.com/SFGate/",instagramUrl:"https://instagram.com/sfgate/",linkedinUrl:"https://www.linkedin.com/company/sfgate",nextdoorUrl:"https://nextdoor.com/page/SFgate/",redditUrl:"https://www.reddit.com/user/sfgate/",tikTokUrl:"https://www.tiktok.com/@sfgate.com",wikipediaUrl:"https://en.wikipedia.org/wiki/SFGate",xUrl:"https://x.com/sfgate",threadsUrl:"https://www.threads.com/@sfgate",youtubeUrl:"https://www.youtube.com/c/sfgate"},"seattlepi.com":{siteId:20,siteCode:"seattlepi",brandTheme:"seattlepi",siteTheme:"premium",domain:"seattlepi.com",productionDomain:"www.seattlepi.com",gauTrackerId:"UA-15987431-1",ga4TrackerId:"G-DDFEJ7T3PT",marfeelAccountId:"9656",blueconicCollectorId:"76ce2244-45bd-4ad7-868f-3eaab5e53eca",timezone:"America/Los_Angeles",state:"WA",marketSlug:"SPI",pubName:"Seattle PI",market:"Seattle",facebookUrl:"https://www.facebook.com/seattlepionline",instagramUrl:"https://instagram.com/seattlepi",wikipediaUrl:"https://en.wikipedia.org/wiki/Seattle_Post-Intelligencer",xUrl:"https://twitter.com/seattlepi"},"chron.com":{siteId:21,siteCode:"chron",brandTheme:"chron",siteTheme:"lifestyle",domain:"chron.com",productionDomain:"www.chron.com",gauTrackerId:"UA-1616916-20",ga4TrackerId:"G-X8KHTWPNCF",marfeelAccountId:"9659",blueconicCollectorId:"67156cc5-6191-4618-9873-6377f27294eb",timezone:"America/Chicago",state:"TX",marketSlug:"Chron",pubName:"Chron",market:"Houston",blueskyUrl:"https://bsky.app/profile/chron.com",facebookUrl:"https://www.facebook.com/chroncom",instagramUrl:"https://www.instagram.com/chron_com/",linkedinUrl:"https://www.linkedin.com/company/chron-com",nextdoorUrl:"https://nextdoor.com/page/chron/",redditUrl:"https://www.reddit.com/user/chrondotcom/",tikTokUrl:"https://www.tiktok.com/@chroncom",wikipediaUrl:"https://en.wikipedia.org/wiki/Chron.com",xUrl:"https://x.com/chron",threadsUrl:"https://www.threads.com/@chron_com",youtubeUrl:"https://www.youtube.com/@chron_com"},"beaumontenterprise.com":{siteId:25,siteCode:"beaumontenterprise",brandTheme:"beaumontenterprise",siteTheme:"premium",domain:"beaumontenterprise.com",productionDomain:"www.beaumontenterprise.com",gauTrackerId:"UA-2604853-1",ga4TrackerId:"G-GCK9J3ZMPK",marfeelAccountId:"9664",blueconicCollectorId:"4e8981dd-7b7c-4e5d-b0f7-216b70b13cfb",timezone:"America/Chicago",state:"TX",marketSlug:"BMT",pubName:"Beaumont Enterprise",market:"Communities",facebookUrl:"https://www.facebook.com/bmtenterprise",instagramUrl:"https://www.instagram.com/bmtenterprise",nextdoorUrl:"https://nextdoor.com/page/beaumont-enterprise/",wikipediaUrl:"https://en.wikipedia.org/wiki/The_Beaumont_Enterprise",xUrl:"https://x.com/bmtenterprise"},"houstonchronicle.com":{siteId:33,siteCode:"premiumchron",brandTheme:"premiumchron",siteTheme:"premium",domain:"houstonchronicle.com",productionDomain:"www.houstonchronicle.com",gauTrackerId:"UA-1616916-24",ga4TrackerId:"G-4ZXZ0XGZH4",marfeelAccountId:"9661",blueconicCollectorId:"ec95db9b-0de8-4abe-9e82-971dfdc4d37a",mastheadTheme:"secondary",subnavTheme:"white",timezone:"America/Chicago",state:"TX",marketSlug:"HC",pubName:"Houston Chronicle",market:"Houston",blueskyUrl:"https://bsky.app/profile/houstonchronicle.com",facebookUrl:"https://www.facebook.com/houstonchronicle/",instagramUrl:"https://www.instagram.com/houstonchron/",linkedinUrl:"https://www.linkedin.com/company/houston-chronicle/",nextdoorUrl:"https://nextdoor.com/page/Houston-Chronicle/",redditUrl:"https://www.reddit.com/user/houston_chronicle/",tikTokUrl:"https://www.tiktok.com/@houstonchronicle",wikipediaUrl:"https://en.wikipedia.org/wiki/Houston_Chronicle",xUrl:"https://x.com/houstonchron",threadsUrl:"https://www.threads.com/@houstonchron",youtubeUrl:"https://www.youtube.com/@HoustonChronicle"},"sfchronicle.com":{siteId:35,siteCode:"premiumsfgate",brandTheme:"premiumsfgate",siteTheme:"premium",domain:"sfchronicle.com",productionDomain:"www.sfchronicle.com",gauTrackerId:"UA-1616916-26",ga4TrackerId:"G-56G0ZT3ZD0",marfeelAccountId:"9657",blueconicCollectorId:"7053091c-43a7-47a4-bdba-f1d8a5fcd549",mastheadTheme:"black",timezone:"America/Los_Angeles",state:"CA",marketSlug:"SFC",pubName:"San Francisco Chronicle",market:"San Francisco",blueskyUrl:"https://bsky.app/profile/sfchronicle.com",facebookUrl:"https://www.facebook.com/SFChronicle/",instagramUrl:"https://www.instagram.com/sfchronicle/",linkedinUrl:"https://www.linkedin.com/company/sfchronicle",nextdoorUrl:"https://nextdoor.com/page/San-Francisco-Chronicle/",redditUrl:"https://www.reddit.com/user/SFChronicle/",tikTokUrl:"https://www.tiktok.com/@sfchronicle",wikipediaUrl:"https://en.wikipedia.org/wiki/San_Francisco_Chronicle",xUrl:"https://x.com/sfchronicle",threadsUrl:"https://www.threads.com/@sfchronicle",
1youtubeUrl:"https://www.youtube.com/@SFChronicle"},"expressnews.com":{siteId:36,siteCode:"premiummysa",brandTheme:"premiummysa",siteTheme:"premium",domain:"expressnews.com",productionDomain:"www.expressnews.com",gauTrackerId:"UA-1616916-27",ga4TrackerId:"G-B025EWJ1JR",marfeelAccountId:"9660",blueconicCollectorId:"28dff3e4-ef52-4257-8896-380598c9410d",timezone:"America/Chicago",state:"TX",marketSlug:"SAEN",pubName:"San Antonio Express-News",market:"San Antonio",blueskyUrl:"https://bsky.app/profile/expressnews.com",facebookUrl:"https://www.facebook.com/SAExpressNews/",instagramUrl:"https://www.instagram.com/expressnews/?hl=en",linkedinUrl:"https://www.linkedin.com/company/san-antonio-express-news/",nextdoorUrl:"https://nextdoor.com/page/San-Antonio-Express-News/",redditUrl:"https://www.reddit.com/user/ExpressNews/",tikTokUrl:"https://www.tiktok.com/@saexpressnews",wikipediaUrl:"https://en.wikipedia.org/wiki/San_Antonio_Express-News",xUrl:"https://x.com/expressnews",threadsUrl:"https://www.threads.com/@expressnews",youtubeUrl:"https://www.youtube.com/@sanantonioexpressnews"},"ourmidland.com":{siteId:56,siteCode:"ourmidland",brandTheme:"ourmidland",siteTheme:"premium",domain:"ourmidland.com",productionDomain:"www.ourmidland.com",gauTrackerId:"UA-3898695-1",ga4TrackerId:"G-8HYDYXWXTF",marfeelAccountId:"9674",blueconicCollectorId:"d20f46ec-97b3-4811-b8ae-1f24bc8a3656",timezone:"America/New_York",state:"MI",marketSlug:"MDN",pubName:"Midland Daily News",market:"Communities",facebookUrl:"https://www.facebook.com/midlanddailynews/",instagramUrl:"https://www.instagram.com/themidlanddailynews",nextdoorUrl:"https://nextdoor.com/page/midland-daily-news/",wikipediaUrl:"https://en.wikipedia.org/wiki/Midland_Daily_News",xUrl:"https://x.com/MDN"},"mrt.com":{siteId:57,siteCode:"mrt",brandTheme:"mrt",siteTheme:"premium",domain:"mrt.com",productionDomain:"www.mrt.com",gauTrackerId:"UA-11953893-1",ga4TrackerId:"G-G6PB73LK1K",marfeelAccountId:"9666",blueconicCollectorId:"4e8981dd-7b7c-4e5d-b0f7-216b70b13cfb",timezone:"America/Chicago",state:"TX",marketSlug:"MRT",pubName:"Midland Reporter-Telegram",market:"Communities",facebookUrl:"https://www.facebook.com/TheReporterTelegram/",instagramUrl:"https://www.instagram.com/midlandreportertelegram",nextdoorUrl:"https://nextdoor.com/page/midland-reporter-telegram/",wikipediaUrl:"https://en.wikipedia.org/wiki/Midland_Reporter-Telegram",xUrl:"https://x.com/mwtnews"},"michigansthumb.com":{siteId:58,siteCode:"michigansthumb",brandTheme:"michigansthumb",siteTheme:"premium",domain:"michigansthumb.com",productionDomain:"www.michigansthumb.com",gauTrackerId:"UA-49202527-1",ga4TrackerId:"G-4FLH2HPYWF",marfeelAccountId:"9672",blueconicCollectorId:"d20f46ec-97b3-4811-b8ae-1f24bc8a3656",timezone:"America/New_York",state:"MI",marketSlug:"HDT",pubName:"Huron Daily Tribune",market:"Communities",facebookUrl:"https://www.facebook.com/HuronDailyTribune",instagramUrl:"https://www.instagram.com/michigansthumb/",linkedinUrl:"https://www.linkedin.com/company/huron-daily-tribune",nextdoorUrl:"https://nextdoor.com/page/huron-daily-tribune/",wikipediaUrl:"https://en.wikipedia.org/wiki/Huron_Daily_Tribune",xUrl:"https://x.com/michigans_thumb"},"theintelligencer.com":{siteId:59,siteCode:"theintelligencer",brandTheme:"theintelligencer",siteTheme:"premium",domain:"theintelligencer.com",productionDomain:"www.theintelligencer.com",gauTrackerId:"UA-21782401-1",ga4TrackerId:"G-EQKJJVNGK0",marfeelAccountId:"9677",blueconicCollectorId:"d20f46ec-97b3-4811-b8ae-1f24bc8a3656",timezone:"America/Chicago",state:"IL",marketSlug:"EDW",pubName:"Edwardsville Intelligencer",market:"Communities",facebookUrl:"https://www.facebook.com/theEdwi/?ref=search",instagramUrl:"https://www.instagram.com/edwintelligencer",nextdoorUrl:"https://nextdoor.com/page/edwardsville-intelligencer/",wikipediaUrl:"https://en.wikipedia.org/wiki/Edwardsville_Intelligencer",xUrl:"https://x.com/theedwi"},"lmtonline.com":{siteId:60,siteCode:"lmtonline",brandTheme:"lmtonline",siteTheme:"premium",domain:"lmtonline.com",productionDomain:"www.lmtonline.com",gauTrackerId:"UA-18336422-1",ga4TrackerId:"G-5E7QVZRKP2",marfeelAccountId:"9665",blueconicCollectorId:"4e8981dd-7b7c-4e5d-b0f7-216b70b13cfb",timezone:"America/Chicago",state:"TX",marketSlug:"LMT",pubName:"Laredo Morning Times",market:"Communities",facebookUrl:"https://www.facebook.com/lmtonline/",nextdoorUrl:"https://nextdoor.com/page/laredo-morning-times/",
1wikipediaUrl:"https://en.wikipedia.org/wiki/Laredo_Morning_Times",xUrl:"https://x.com/lmtnews"},"ctinsider.com":{siteId:61,siteCode:"premiumctpost",brandTheme:"premiumctpost",siteTheme:"premium",domain:"ctinsider.com",productionDomain:"www.ctinsider.com",gauTrackerId:"UA-1616916-97",ga4TrackerId:"G-J7ML7EYZCT",marfeelAccountId:"9679",blueconicCollectorId:"c93473c1-2d71-4260-9f35-edd7aefbdb08",timezone:"America/New_York",state:"CT",marketSlug:"CT",pubName:"CT Insider",market:"Connecticut",blueskyUrl:"https://bsky.app/profile/ctinsider.bsky.social",facebookUrl:"https://www.facebook.com/InsiderCT/",instagramUrl:"https://www.instagram.com/insider_ct/",nextdoorUrl:"https://nextdoor.com/page/ct-insider/",tikTokUrl:"https://www.tiktok.com/@ctinsider",wikipediaUrl:"https://en.wikipedia.org/wiki/CT_Insider",xUrl:"https://x.com/insider_ct",threadsUrl:"https://www.threads.com/@insider_ct",youtubeUrl:"https://www.youtube.com/@ctinsider"},"thehour.com":{siteId:66,siteCode:"thehour",brandTheme:"thehour",siteTheme:"premium",domain:"thehour.com",productionDomain:"www.thehour.com",gauTrackerId:"UA-552618-1",ga4TrackerId:"G-L79DQMFMLH",marfeelAccountId:"9691",blueconicCollectorId:"c93473c1-2d71-4260-9f35-edd7aefbdb08",timezone:"America/New_York",state:"CT",marketSlug:"CT",pubName:"The Hour",market:"Connecticut",facebookUrl:"https://www.facebook.com/TheHourHearst/",instagramUrl:"https://www.instagram.com/insider_ct/",nextdoorUrl:"https://nextdoor.com/page/The-Hour/",wikipediaUrl:"https://en.wikipedia.org/wiki/The_Hour_(newspaper)",xUrl:"https://x.com/TheHourNews"},"yourconroenews.com":{siteId:68,siteCode:"yourconroenews",brandTheme:"yourconroenews",siteTheme:"premium",domain:"yourconroenews.com",productionDomain:"www.yourconroenews.com",gauTrackerId:"UA-1616916-32",ga4TrackerId:"G-2MPGRZ5S1K",marfeelAccountId:"9668",blueconicCollectorId:"4e8981dd-7b7c-4e5d-b0f7-216b70b13cfb",timezone:"America/Chicago",state:"TX",marketSlug:"CCR",pubName:"Conroe Courier",market:"Communities",facebookUrl:"https://www.facebook.com/TheCourierofMontgomeryCounty/",wikipediaUrl:"https://en.wikipedia.org/wiki/The_Courier_(Conroe_newspaper)",xUrl:"https://x.com/ConroeCourier"},"nhregister.com":{siteId:69,siteCode:"nhregister",brandTheme:"nhregister",siteTheme:"premium",domain:"nhregister.com",productionDomain:"www.nhregister.com",gauTrackerId:"UA-1616916-46",ga4TrackerId:"G-20HY450VN9",marfeelAccountId:"9687",blueconicCollectorId:"c93473c1-2d71-4260-9f35-edd7aefbdb08",timezone:"America/New_York",state:"CT",marketSlug:"CT",pubName:"New Haven Register",market:"Connecticut",facebookUrl:"https://www.facebook.com/NewHavenRegister/",instagramUrl:"https://www.instagram.com/insider_ct/",nextdoorUrl:"https://nextdoor.com/page/new-haven-register/",wikipediaUrl:"https://en.wikipedia.org/wiki/New_Haven_Register",xUrl:"https://x.com/nhregister"},"registercitizen.com":{siteId:70,siteCode:"registercitizen",brandTheme:"registercitizen",siteTheme:"premium",domain:"registercitizen.com",productionDomain:"www.registercitizen.com",gauTrackerId:"UA-1616916-48",ga4TrackerId:"G-T6BE6RNQCT",marfeelAccountId:"9688",blueconicCollectorId:"c93473c1-2d71-4260-9f35-edd7aefbdb08",timezone:"America/New_York",state:"CT",marketSlug:"CT",pubName:"Register Citizen",market:"Connecticut"},"middletownpress.com":{siteId:71,siteCode:"middletownpress",brandTheme:"middletownpress",siteTheme:"premium",domain:"middletownpress.com",productionDomain:"www.middletownpress.com",gauTrackerId:"UA-1616916-47",ga4TrackerId:"G-MNPK9TRCGZ",marfeelAccountId:"9683",blueconicCollectorId:"c93473c1-2d71-4260-9f35-edd7aefbdb08",timezone:"America/New_York",state:"CT",marketSlug:"CT",pubName:"Middletown Press",market:"Connecticut"},"myjournalcourier.com":{siteId:72,siteCode:"myjournalcourier",brandTheme:"myjournalcourier",siteTheme:"premium",domain:"myjournalcourier.com",productionDomain:"www.myjournalcourier.com",gauTrackerId:"UA-16419252-47",ga4TrackerId:"G-B3L7MPBRCH",marfeelAccountId:"9673",blueconicCollectorId:"d20f46ec-97b3-4811-b8ae-1f24bc8a3656",timezone:"America/Chicago",state:"IL",marketSlug:"JC",pubName:"Jacksonville Journ
1al-Courier",market:"Communities",facebookUrl:"https://www.facebook.com/journalcourier/",instagramUrl:"https://www.instagram.com/myjournalcourier/",nextdoorUrl:"https://nextdoor.com/page/jacksonville-journal-courier/",wikipediaUrl:"https://en.wikipedia.org/wiki/Journal-Courier",xUrl:"https://x.com/journalcourier"},"thetelegraph.com":{siteId:73,siteCode:"thetelegraph",brandTheme:"thetelegraph",siteTheme:"premium",domain:"thetelegraph.com",productionDomain:"www.thetelegraph.com",gauTrackerId:"UA-16419252-49",ga4TrackerId:"G-Y93TNW2RWG",marfeelAccountId:"9678",blueconicCollectorId:"d20f46ec-97b3-4811-b8ae-1f24bc8a3656",timezone:"America/Chicago",state:"IL",marketSlug:"ALT",pubName:"Alton Telegraph",market:"Communities",facebookUrl:"https://www.facebook.com/telegraphnews",instagramUrl:"https://www.instagram.com/altontelegraph",nextdoorUrl:"https://nextdoor.com/page/alton-telegraph",wikipediaUrl:"https://en.wikipedia.org/wiki/Edwardsville_Intelligencer",xUrl:"https://x.com/altontelegraph",youtubeUrl:"https://www.youtube.com/@AltonTelegraphIL"},"theridgefieldpress.com":{siteId:75,siteCode:"theridgefieldpress",brandTheme:"theridgefieldpress",siteTheme:"premium",domain:"theridgefieldpress.com",productionDomain:"www.theridgefieldpress.com",gauTrackerId:"UA-34350726-1",ga4TrackerId:"G-05XJXW28PH",marfeelAccountId:"9692",blueconicCollectorId:"c93473c1-2d71-4260-9f35-edd7aefbdb08",timezone:"America/New_York",state:"CT",marketSlug:"CT",pubName:"Ridgefield Press",market:"Connecticut"},"wiltonbulletin.com":{siteId:76,siteCode:"wiltonbulletin",brandTheme:"wiltonbulletin",siteTheme:"premium",domain:"wiltonbulletin.com",productionDomain:"www.wiltonbulletin.com",gauTrackerId:"UA-37070519-1",ga4TrackerId:"G-DHWH4338FX",marfeelAccountId:"9694",blueconicCollectorId:"c93473c1-2d71-4260-9f35-edd7aefbdb08",timezone:"America/New_York",state:"CT",marketSlug:"CT",pubName:"Wilton Bulletin",market:"Connecticut"},"sheltonherald.com":{siteId:77,siteCode:"sheltonherald",brandTheme:"sheltonherald",siteTheme:"premium",domain:"sheltonherald.com",productionDomain:"www.sheltonherald.com",gauTrackerId:"UA-36248341-1",ga4TrackerId:"G-H1DZ86EYSB",marfeelAccountId:"9689",blueconicCollectorId:"c93473c1-2d71-4260-9f35-edd7aefbdb08",timezone:"America/New_York",state:"CT",marketSlug:"CT",pubName:"Shelton Herald",market:"Connecticut"},"trumbulltimes.com":{siteId:78,siteCode:"trumbulltimes",brandTheme:"trumbulltimes",siteTheme:"premium",domain:"trumbulltimes.com",productionDomain:"www.trumbulltimes.com",gauTrackerId:"UA-37995831-1",ga4TrackerId:"G-H1892WEGTQ",marfeelAccountId:"9693",blueconicCollectorId:"c93473c1-2d71-4260-9f35-edd7aefbdb08",timezone:"America/New_York",state:"CT",marketSlug:"CT",pubName:"Trumbull Times",market:"Connecticut"},"milfordmirror.com":{siteId:79,siteCode:"milfordmirror",brandTheme:"milfordmirror",siteTheme:"premium",domain:"milfordmirror.com",productionDomain:"www.milfordmirror.com",gauTrackerId:"UA-21799783-1",ga4TrackerId:"G-4KRB1V13TP",marfeelAccountId:"9684",blueconicCollectorId:"c93473c1-2d71-4260-9f35-edd7aefbdb08",timezone:"America/New_York",state:"CT",marketSlug:"CT",pubName:"Milford Mirror",market:"Connecticut"},"bigrapidsnews.com":{siteId:80,siteCode:"bigrapidsnews",brandTheme:"bigrapidsnews",siteTheme:"premium",domain:"bigrapidsnews.com",productionDomain:"www.bigrapidsnews.com",gauTrackerId:"UA-1616916-100",ga4TrackerId:"G-M42VBX3WBP",marfeelAccountId:"9669",blueconicCollectorId:"d20f46ec-97b3-4811-b8ae-1f24bc8a3656",timezone:"America/New_York",state:"MI",marketSlug:"BRN",pubName:"Big Rapids Pioneer",market:"Communities",facebookUrl:"https://www.facebook.com/bigrapidspioneer",instagramUrl:"https://www.instagram.com/thepioneerbigrapids/",nextdoorUrl:"https://nextdoor.com/page/big-rapids-news/",xUrl:"https://x.com/bigrapidsnews"},"lakecountystar.com":{siteId:81,siteCode:"lakecountystar",brandTheme:"lakecountystar",siteTheme:"premium",domain:"lakecountystar.com",productionDomain:"www.lakecountystar.com",gauTrackerId:"UA-1616916-102",ga4TrackerId:"G-P3V3JTZWL1",marfeelAccountId:"9670",blueconicCollectorId:"d20f46ec-97b3-4811-b8ae-1f24bc8a3656",timezone:"America/Ne
1w_York",state:"MI",marketSlug:"LCS",pubName:"Lake County Star",market:"Communities",facebookUrl:"https://www.facebook.com/lakecountystar",nextdoorUrl:"https://nextdoor.com/page/lake-county-star/",xUrl:"https://x.com/lakecountystar"},"manisteenews.com":{siteId:82,siteCode:"manisteenews",brandTheme:"manisteenews",siteTheme:"premium",domain:"manisteenews.com",productionDomain:"www.manisteenews.com",gauTrackerId:"UA-1616916-101",ga4TrackerId:"G-WKR2Y7FF1K",marfeelAccountId:"9671",blueconicCollectorId:"d20f46ec-97b3-4811-b8ae-1f24bc8a3656",timezone:"America/New_York",state:"MI",marketSlug:"MNA",pubName:"Manistee News Advocate",market:"Communities",facebookUrl:"https://www.facebook.com/manisteenews",instagramUrl:"https://www.instagram.com/newsadvocate",nextdoorUrl:"https://nextdoor.com/page/manistee-news-advocate/",xUrl:"https://x.com/manisteenews"},"recordpatriot.com":{siteId:83,siteCode:"recordpatriot",brandTheme:"recordpatriot",siteTheme:"premium",domain:"recordpatriot.com",productionDomain:"www.recordpatriot.com",gauTrackerId:"UA-1616916-103",ga4TrackerId:"G-JZMCVB70XQ",marfeelAccountId:"9675",blueconicCollectorId:"d20f46ec-97b3-4811-b8ae-1f24bc8a3656",timezone:"America/New_York",state:"MI",marketSlug:"BCRP",pubName:"Benzie County Record Patriot",market:"Communities",facebookUrl:"https://www.facebook.com/benzierecordpatriot",nextdoorUrl:"https://nextdoor.com/page/benzie-record-patriot/",xUrl:"https://x.com/recordpatriot"},"theheraldreview.com":{siteId:84,siteCode:"theheraldreview",brandTheme:"theheraldreview",siteTheme:"premium",domain:"theheraldreview.com",productionDomain:"www.theheraldreview.com",gauTrackerId:"UA-1616916-104",ga4TrackerId:"G-JWCHCDT14D",marfeelAccountId:"9676",blueconicCollectorId:"d20f46ec-97b3-4811-b8ae-1f24bc8a3656",timezone:"America/New_York",state:"MI",marketSlug:"HER",pubName:"Herald Review",market:"Communities",facebookUrl:"https://www.facebook.com/theheraldreview",nextdoorUrl:"https://nextdoor.com/page/Herald-Review-MI/",xUrl:"https://x.com/theheraldreview"},"weekand.com":{siteId:86,siteCode:"weekand",brandTheme:"weekand",siteTheme:"premium",domain:"weekand.com",productionDomain:"www.weekand.com",gauTrackerId:"UA-1616916-36",ga4TrackerId:"G-BCK718F4T3",marfeelAccountId:"9696",mastheadTheme:"weekand",timezone:"America/New_York",state:"NY",searchIndex:"solr",marketSlug:"",pubName:"Weekand",market:"San Francisco",facebookUrl:"https://www.facebook.com/helloweekand/",instagramUrl:"https://www.instagram.com/helloweekand/",tikTokUrl:"https://www.tiktok.com/@helloweekand",xUrl:"https://twitter.com/helloweekand/"},"education.seattlepi.com":{siteId:92,siteCode:"educationseattlepi",brandTheme:"educationseattlepi",siteTheme:"premium",domain:"education.seattlepi.com",productionDomain:"education.seattlepi.com",gauTrackerId:"UA-15987431-1",ga4TrackerId:"G-SGYWQ8T5JV",marfeelAccountId:"9656",blueconicCollectorId:"76ce2244-45bd-4ad7-868f-3eaab5e53eca",timezone:"America/Los_Angeles",state:"WA",searchIndex:"solr",isSubSite:!0,marketSlug:"SPI",pubName:"Seattle PI Education",market:"Seattle"},"work.chron.com":{siteId:93,siteCode:"workchron",brandTheme:"workchron",siteTheme:"lifestyle",domain:"work.chron.com",productionDomain:"work.chron.com",gauTrackerId:"UA-1616916-20",ga4TrackerId:"G-9CM38P83PV",marfeelAccountId:"9659",blueconicCollectorId:"67156cc5-6191-4618-9873-6377f27294eb",timezone:"America/Chicago",state:"TX",searchIndex:"solr",isSubSite:!0,marketSlug:"Chron",pubName:"Chron Work",market:"Houston"},"smallbusiness.chron.com":{siteId:94,siteCode:"smallbusinesschron",brandTheme:"smallbusinesschron",siteTheme:"lifestyle",domain:"smallbusiness.chron.com",productionDomain:"smallbusiness.chron.com",gauTrackerId:"UA-1616916-20",ga4TrackerId:"G-CLBVWT2RGK",marfeelAccountId:"9659",blueconicCollectorId:"67156cc5-6191-4618-9873-6377f27294eb",timezone:"America/Chicago",state:"TX",searchIndex:"solr",isSubSite:!0,marketSlug:"Chron",pubName:"Chron Small Business",market:"Houston"},"statesman.com":{siteId:100,siteCode:"statesman",brandTheme:"statesman",siteTheme:"premium",domain:"statesman.com",productionDomain:"www.statesman.com",gauTrackerId:"",ga4TrackerId:"G-04QBDCGM85",marfeelAccountId:"9663",blueconicCollectorId:"",timezone:"America/Chicago",state:"TX",marketSlug:"AAS",pubName:"Austin American-Statesman",market:"Austin",blueskyUrl:"https://bsky.app/profile/statesman.com",facebookUrl:"https://www.facebook.com/statesman/",instagramUrl:"https://www.instagram.com/statesman/",linkedinUrl:"https://www.linkedin.com/company/austin-american-statesman/",nextdoorUrl:"https://nextdoor.com/page/austin-american-statesman-2/",redditUrl:"https://www.reddit.com/user/AustinStatesman/",tikTokUrl:"https://www.tiktok.com/@austin_statesman",wikipediaUrl:"https://en.wikipedia.org/wiki/Austin_American-Statesman",xUrl:"https://x.com/statesman",youtubeUrl:"https://www.youtube.com/@Austin_Statesman"},"dallasnews.com":{siteId:101,siteCode:"dallasnews",brandTheme:"dallasnews",
1siteTheme:"premium",domain:"dallasnews.com",productionDomain:"www.dallasnews.com",gauTrackerId:"",ga4TrackerId:"G-1XR291WVM7",marfeelAccountId:"",timezone:"America/Chicago",state:"TX",marketSlug:"DMN",pubName:"Dallas Morning News",market:"Dallas",blueskyUrl:"https://bsky.app/profile/dallasnews.com",facebookUrl:"https://www.facebook.com/dallasmorningnews",instagramUrl:"https://www.instagram.com/dallasnews",linkedinUrl:"https://www.linkedin.com/company/the-dallas-morning-news/",nextdoorUrl:"https://nextdoor.com/page/The-Dallas-Morning-News",redditUrl:"https://www.reddit.com/user/dallasmorningnews/",tikTokUrl:"https://www.tiktok.com/@dallasmorningnews",wikipediaUrl:"https://en.wikipedia.org/wiki/The_Dallas_Morning_News",xUrl:"https://x.com/dallasnews",flipboardUrl:"https://flipboard.com/@DallasNews",threadsUrl:"https://www.threads.com/@dallasnews",youtubeUrl:"https://www.youtube.com/dallasnews"}};Object.values(r).map(e=>e.siteId)},2018:(e,t,n)=>{"use strict";var r=Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]},i=function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(43955),t),i(n(83575),t)},2603:(e,t,n)=>{"use strict";n.r(t),n.d(t,{enqueue:()=>m,flush:()=>g,setEnabled:()=>f,teardown:()=>w});let r="/api/client-logs",i=new Set(["warn","error","fatal"]),o=[],a=null,l=!1,s=0,c=null;function d(){if(!c)return r;try{return new URL(r,c).toString()}catch(e){return r}}function u(e){return null===e||"string"==typeof e||"boolean"==typeof e||"number"==typeof e&&Number.isFinite(e)}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Set,n={},{message:r,name:i,stack:o,code:a,status:l,cause:s}=e;return"string"==typeof r&&(n.message=r),"string"==typeof i&&(n.name=i),"string"==typeof o&&(n.stack=o),u(a)&&(n.code=a),u(l)&&(n.status=l),s instanceof Error?t.size<3&&!t.has(s)&&(n.cause=p(s,new Set([...t,e]))):u(s)&&(n.cause=s),n}function m(e){if(!l||!i.has(e.level)||s>=500)return;s++;let t={timestamp:new Date().toISOString(),level:e.level,message:e.message,context:function(e){if(!e)return;if(e instanceof Error)return{err:p(e)};let t={};for(let[n,r]of Object.entries(e))t[n]=r instanceof Error?p(r):r;return t}(e.context),source:c?"richie":"browser",url:window.location.href,userAgent:navigator.userAgent};o.push(t),o.length>=10&&g()}function g(){if(0===o.length)return;let e=o.splice(0);try{let t=JSON.stringify(e),n=c?{headers:{"Content-Type":"text/plain"},mode:"no-cors"}:{headers:{"Content-Type":"application/json"}};fetch(d(),{method:"POST",body:t,keepalive:!0,...n}).catch(()=>{})}catch(e){}}function h(){"hidden"===document.visibilityState&&function(){if(0===o.length)return;let e=o.splice(0);try{let t=new Blob([JSON.stringify(e)],{type:"text/plain"});navigator.sendBeacon(d(),t)}catch(e){}}()}function f(e,t){if(e&&(c=t||null),e&&!l){l=!0,a=setInterval(g,5e3),document.addEventListener("visibilitychange",h);return}!e&&l&&(l=!1,a&&(clearInterval(a),a=null),document.removeEventListener("visibilitychange",h))}function w(){a&&(clearInterval(a),a=null),document.removeEventListener("visibilitychange",h),o=[],l=!1,s=0,c=null}},3064:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(13385);function i(){let{root:e=null,offset:t="0px",threshold:n=0,onLoad:i=()=>{},maintainObserver:o=!1,rootMargin:a="0px 0px ".concat(t," 0px")}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[l,s]=(0,r.useState)(!1),c=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let t=!1;if(c.current){let r=new IntersectionObserver((e,n)=>{!t&&(o||e.forEach(e=>{e.isIntersecting&&(s(!0),i&&i(e.target),c.current&&n.unobserve(c.current))}),o&&e.forEach(e=>{e.isIntersecting&&(s(!0),i&&i(e.target)),e.isIntersecting||s(!1)}))},{root:e,rootMargin:a,threshold:n});return r.observe(c.current),()=>(t=!0,r.disconnect())}return()=>{}},[c,i,e,t,n,o,a]),[c,l]}}
1,4599:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(13385),i=n(44112);class o extends r.Component{static getDerivedStateFromError(e){return{hasError:!0}}componentDidCatch(e,t){i.A.error({error:e,errorInfo:t,context:this.props.context},"UncaughtError")}render(){if(this.state.hasError){var e;return null!=(e=this.props.fallback)?e:null}return this.props.children}constructor(...e){super(...e),this.state={hasError:!1}}}let a=o},5296:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e={},t=new Promise((t,n)=>{e.resolve=t,e.reject=n});return e.promise=t,e}},5579:(e,t,n)=>{"use strict";n.d(t,{S$:()=>i,oc:()=>r});let r=!0,i=!1},6966:e=>{var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=t},8865:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(13385),i=n(49868);function o(){var e;let{pageProps:t}=(0,i.Sz)(),n=null==t||null==(e=t.additionalContext)?void 0:e.errorType;if("ssr"===n)throw Error("TEST:ssr");return(0,r.useEffect)(()=>{if("csr"===n)throw Error("TEST:csr")}),null}},8950:e=>{!function(){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 0xff00ff&n.rotl(e,8)|0xff00ff00&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var n=[],r=0;r<e.length;r+=3)for(var i=e[r]<<16|e[r+1]<<8|e[r+2],o=0;o<4;o++)8*r+6*o<=8*e.length?n.push(t.charAt(i>>>6*(3-o)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/ig,"");for(var n=[],r=0,i=0;r<e.length;i=++r%4)0!=i&&n.push((t.indexOf(e.charAt(r-1))&Math.pow(2,-2*i+8)-1)<<2*i|t.indexOf(e.charAt(r))>>>6-2*i);return n}};e.exports=n}()},9312:(e,t,n)=>{"use strict";n.d(t,{C$:()=>p,Em:()=>m,Ly:()=>u,SS:()=>g,UE:()=>f,fZ:()=>h,gX:()=>w,ux:()=>b,z6:()=>x});var r=n(44112),i=n(5579);let o=new Set(["unresolved","abandoned","chunkFailed"]),a={boundaryMountedAt:null,chunkSettledAt:null,providerMountedAt:null,sdkResolvedAt:null,tokenMs:null,meFetchMs:null,hadStoredSession:void 0,hadAuthCookie:void 0,hadCachedIdentity:void 0,reported:!1},l=null;function s(){return"undefined"==typeof performance?0:performance.now()}function c(e,t){return null===e||null===t?null:t-e}function d(e){i.oc&&e(a)}let u=()=>d(e=>{null!=e.boundaryMountedAt||(e.boundaryMountedAt=s()),null!=e.hadStoredSession||(e.hadStoredSession=function(){try{for(let t=0;t<localStorage.length;t++){var e;if(null==(e=localStorage.key(t))?void 0:e.startsWith("@@auth0spajs@@"))return!0}}catch(e){}return!1}()),null!=e.hadAuthCookie||(e.hadAuthCookie=function(){try{let e="we14CBJWLbk1jpg6rJus7wT7jJ3q7ITr";if(!e)return!1;return document.cookie.includes("auth0.".concat(e,".is.authenticated="))}catch(e){return!1}}())}),p=()=>d(e=>{null!=e.chunkSettledAt||(e.chunkSettledAt=s())}),m=()=>d(e=>{null!=e.providerMountedAt||(e.providerMountedAt=s())}),g=()=>d(e=>{null!=e.sdkResolvedAt||(e.sdkResolvedAt=s())}),h=e=>d(t=>{t.tokenMs=e}),f=e=>d(t=>{t.meFetchMs=e}),w=e=>d(t=>{null!=t.hadCachedIdentity||(t.hadCachedIdentity=e)});function x(e){if(i.oc&&!a.reported){a.reported=!0,null!==l&&(clearTimeout(l),l=null);try{let t=s(),n={outcome:e,chunkMs:c(a.boundaryMountedAt,a.chunkSettledAt),sdkInitMs:c(a.providerMountedAt,a.sdkRes
1olvedAt),tokenMs:a.tokenMs,meFetchMs:a.meFetchMs,totalMs:c(a.boundaryMountedAt,t),sincePageStartMs:t,hadStoredSession:a.hadStoredSession,hadAuthCookie:a.hadAuthCookie,hadCachedIdentity:a.hadCachedIdentity},i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Math.random();if(o.has(e.outcome))return"Auth0ResolveSlow";let n=e.totalMs;return"number"==typeof n&&n>1500?"Auth0ResolveSlow":t<.01?"Auth0ResolveTiming":null}(n);if(!i)return;r.A.warn(function(e){let t={},n=(e,n)=>{"number"==typeof n&&Number.isFinite(n)&&(t[e]=Math.round(n))},r=(e,n)=>{"boolean"==typeof n&&(t[e]=n)};return t.outcome=e.outcome,n("chunkMs",e.chunkMs),n("sdkInitMs",e.sdkInitMs),n("tokenMs",e.tokenMs),n("meFetchMs",e.meFetchMs),n("totalMs",e.totalMs),n("sincePageStartMs",e.sincePageStartMs),r("hadStoredSession",e.hadStoredSession),r("hadAuthCookie",e.hadAuthCookie),r("hadCachedIdentity",e.hadCachedIdentity),t}(n),i)}catch(e){}}}function b(){if(!i.oc)return()=>{};let e=()=>{"hidden"===document.visibilityState&&x("abandoned")};return l=setTimeout(()=>x("unresolved"),15e3),window.addEventListener("visibilitychange",e,!0),()=>{null!==l&&(clearTimeout(l),l=null),window.removeEventListener("visibilitychange",e,!0)}}},9322:(e,t,n)=>{"use strict";n.d(t,{Vr:()=>a,u$:()=>o});var r=n(60395);let i=["follow_list","shared_articles","top_10_nlp_category"];function o(){var e,t;let n=null==(t=window.blueConicClient)||null==(e=t.profile)?void 0:e.getProfile();if(!n||!n.getId())throw Error("Blueconic profile is undefined");return function(e){let t={bc_profile_id:e.getId(),top_10_nlp_category:JSON.stringify(e.getValues("top_10_nlp_category")),follow_list:JSON.stringify(e.getValues("follow_list")),number_of_shared_articles:e.getValue("number_of_shared_articles"),shared_articles:JSON.stringify(e.getValues("shared_articles")),shared_articles_date:e.getValue("shared_articles_date")};(0,r.St)("blueconicProps",JSON.stringify(t),604800)}(n),n}function a(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];try{return o().getId()}catch(n){if(e){var t;return null==(t=function(){let e=(0,r.UM)("blueconicProps");if(!e)return{};let t=JSON.parse(e);return i.forEach(e=>{if(t[e])try{t[e]=JSON.parse(t[e])}catch(e){}}),t}())?void 0:t.bc_profile_id}}}},9999:(e,t,n)=>{"use strict";n.d(t,{t:()=>a});var r=n(1184);let{PREVIEW_SUBDOMAIN:i="preview"}=n(23727).env,o=e=>e!==i&&"w"!==e;function a(e){var t,n;let[i,a,l="www",s]=e.split(".").reverse().filter(o),c=null!=(n=null!=(t=r.i5["".concat(l,".").concat(a,".").concat(i)])?t:r.i5["".concat(a,".").concat(i)])?n:r.i5.default,d="www"===l||c.isSubSite&&!s,u="local"===l||c.isSubSite&&"local"===s;return{domainConfig:c,subdomain:function(e,t,n){let r=n?t:e;return r?r.includes("-")?r.split("-")[1]:r:""}(l,s,c.isSubSite),isPreviewDomain:e.includes(".w.")||e.includes("preview"),isProductionRequest:d,isLocalRequest:u}}},10093:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,r.useContext)(i.FeatureFlagContext).overrideFlagAtRuntime};let r=n(13385),i=n(14815)},10144:(e,t,n)=>{"use strict";n.d(t,{$T:()=>l,EX:()=>a});var r=n(68095),i=n(84364),o=n(44112);function a(e,t){let{bcEvent:n,message:a,errorCategory:l,wcmUnitData:s,zone:c}=t,d=l||(a.includes("not loaded")||a.includes("dependency Sailthru")?"sdk_not_loaded":a.includes("No unit data")||a.includes("No newsletterId")?"missing_config":a.includes("signup failure")||a.includes("signup FAILED")||a.includes("Credential")?"api_error":a.includes("SyntaxError")||a.includes("not valid JSON")?"network_error":"unknown"),u=function(e){switch(e){case"sdk_not_loaded":return"Signup is being blocked by a browser extension. Please disable ad blockers or privacy extensions and try again.";case"network_error":return"A network error occurred. Please check your connection and try again.";case"api_error":return"We were unable to complete your signup. Please try again in a few minutes.";case"missing_config":return"This signup form is temporarily unavailable. Please try again later.";default:return"Something went wrong. Please try again later."}}(d);o.A.error({bcEvent:n,message:a,errorCategory:d}
1,"SailthruError"),r.B.emit(i.K.SAILTHRU_SIGNUP_FAILURE,{blueconic:n,sailthru:{error:a,errorCategory:d},wcmData:{zone:c||"unknown"},wcmUnitData:{lead_gen_platform:(null==s?void 0:s.lead_gen_platform)||"unknown",lead_gen_type:(null==s?void 0:s.lead_gen_type)||"unknown",lead_gen_subtype:(null==s?void 0:s.lead_gen_subtype)||"unknown",lead_gen_detail:(null==s?void 0:s.lead_gen_detail)||"unknown"}}),e(Error(u))}function l(e,t){let{bcEvent:n,message:a}=t;o.A.error({bcEvent:n,message:a},"RealmError"),r.B.emit(i.K.REALM_SIGNUP_FAILURE,{blueconic:n,realm:a}),e(Error(a))}},11070:(e,t,n)=>{e.exports=n(82983)},11832:(e,t,n)=>{"use strict";var r=Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]},i=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FeatureFlag=t.useOverrideFlagAtRuntime=t.useFeatureFlags=t.useFeatureFlag=t.FeatureFlagProvider=t.FeatureFlagContext=void 0;var o=n(14815);Object.defineProperty(t,"FeatureFlagContext",{enumerable:!0,get:function(){return o.FeatureFlagContext}});var a=n(22053);Object.defineProperty(t,"FeatureFlagProvider",{enumerable:!0,get:function(){return a.FeatureFlagProvider}});var l=n(34036);Object.defineProperty(t,"useFeatureFlag",{enumerable:!0,get:function(){return i(l).default}});var s=n(58493);Object.defineProperty(t,"useFeatureFlags",{enumerable:!0,get:function(){return i(s).default}});var c=n(10093);Object.defineProperty(t,"useOverrideFlagAtRuntime",{enumerable:!0,get:function(){return i(c).default}});var d=n(51875);Object.defineProperty(t,"FeatureFlag",{enumerable:!0,get:function(){return i(d).default}}),function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)}(n(85341),t)},12177:(e,t,n)=>{e.exports=n(38628)},14786:(e,t,n)=>{"use strict";function r(e,t,n,r){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return r}}),n(28596),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},14815:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FeatureFlagContext=t.contextInitialValue=void 0;let r=function(e){return e&&e.__esModule?e:{default:e}}(n(13385)),i=()=>{throw Error("You forgot to wrap this in a Feature Flag Provider object")};t.contextInitialValue={getAllFeatureFlags:i,isEnabled:i,overrideFlagAtRuntime:i},t.FeatureFlagContext=r.default.createContext(t.contextInitialValue)}
1,16164:(e,t,n)=>{e.exports=n(51913)},16449:e=>{!function(){"use strict";var t={};t.d=function(e,n){for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},void 0!==t&&(t.ab="//");var n={};t.r(n),t.d(n,{CLSThresholds:function(){return E},FCPThresholds:function(){return k},FIDThresholds:function(){return ee},INPThresholds:function(){return F},LCPThresholds:function(){return z},TTFBThresholds:function(){return V},onCLS:function(){return I},onFCP:function(){return S},onFID:function(){return et},onINP:function(){return H},onLCP:function(){return K},onTTFB:function(){return q}});var r,i,o,a,l,s=-1,c=function(e){addEventListener("pageshow",function(t){t.persisted&&(s=t.timeStamp,e(t))},!0)},d=function(){var e=self.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0];if(e&&e.responseStart>0&&e.responseStart<performance.now())return e},u=function(){var e=d();return e&&e.activationStart||0},p=function(e,t){var n=d(),r="navigate";return s>=0?r="back-forward-cache":n&&(document.prerendering||u()>0?r="prerender":document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v4-".concat(Date.now(),"-").concat(Math.floor(0x82f79cd8fff*Math.random())+1e12),navigationType:r}},m=function(e,t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var r=new PerformanceObserver(function(e){Promise.resolve().then(function(){t(e.getEntries())})});return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},g=function(e,t,n,r){var i,o;return function(a){var l;t.value>=0&&(a||r)&&((o=t.value-(i||0))||void 0===i)&&(i=t.value,t.delta=o,l=t.value,t.rating=l>n[1]?"poor":l>n[0]?"needs-improvement":"good",e(t))}},h=function(e){requestAnimationFrame(function(){return requestAnimationFrame(function(){return e()})})},f=function(e){document.addEventListener("visibilitychange",function(){"hidden"===document.visibilityState&&e()})},w=function(e){var t=!1;return function(){t||(e(),t=!0)}},x=-1,b=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},v=function(e){"hidden"===document.visibilityState&&x>-1&&(x="visibilitychange"===e.type?e.timeStamp:0,C())},y=function(){addEventListener("visibilitychange",v,!0),addEventListener("prerenderingchange",v,!0)},C=function(){removeEventListener("visibilitychange",v,!0),removeEventListener("prerenderingchange",v,!0)},T=function(){return x<0&&(x=b(),y(),c(function(){setTimeout(function(){x=b(),y()},0)})),{get firstHiddenTime(){return x}}},_=function(e){document.prerendering?addEventListener("prerenderingchange",function(){return e()},!0):e()},k=[1800,3e3],S=function(e,t){t=t||{},_(function(){var n,r=T(),i=p("FCP"),o=m("paint",function(e){e.forEach(function(e){"first-contentful-paint"===e.name&&(o.disconnect(),e.startTime<r.firstHiddenTime&&(i.value=Math.max(e.startTime-u(),0),i.entries.push(e),n(!0)))})});o&&(n=g(e,i,k,t.reportAllChanges),c(function(r){n=g(e,i=p("FCP"),k,t.reportAllChanges),h(function(){i.value=performance.now()-r.timeStamp,n(!0)})}))})},E=[.1,.25],I=function(e,t){t=t||{},S(w(function(){var n,r=p("CLS",0),i=0,o=[],a=function(e){e.forEach(function(e){if(!e.hadRecentInput){var t=o[0],n=o[o.length-1];i&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,o.push(e)):(i=e.value,o=[e])}}),i>r.value&&(r.value=i,r.entries=o,n())},l=m("layout-shift",a);l&&(n=g(e,r,E,t.reportAllChanges),f(function(){a(l.takeRecords()),n(!0)}),c(function(){i=0,n=g(e,r=p("CLS",0),E,t.reportAllChanges),h(function(){return n()})}),setTimeout(n,0))}))},L=0,j=1/0,A=0,N=function(e){e.forEach(function(e){e.interactionId&&(j=Math.min(j,e.interactionId),L=(A=Math.max(A,e.interactionId))?(A-j)/7+1:0)})},O=function(){"interactionCount"in performance||r||(r=m("event",N,{type:"event",buffered:!0,durationThreshold:0}))},P=[],R=new Map,D=0,U=[],B=function(e){if(U.forEach(function(t){return t(e)}),e.interactionId||"first-input"===e.entryType){var t=P[P.length-1],n=R.get(e.interactionId);if(n||P.length<10||e.duration>t.latency){if(n)e.duration>n.latency?(n.entries=[e],n.latency=e.duration):e.duration===n.latency&&e.startTime===n.entries[0].startTime&&n.entries.push(e);else{var r={id:e.interactionId,latency:e.duration,entries:[e]};R.set(r.id,r),P.push(r)}P.sort(function(e,t){return t.latency-e.latency}),P.length>
110&&P.splice(10).forEach(function(e){return R.delete(e.id)})}}},M=function(e){var t=self.requestIdleCallback||self.setTimeout,n=-1;return e=w(e),"hidden"===document.visibilityState?e():(n=t(e),f(e)),n},F=[200,500],H=function(e,t){"PerformanceEventTiming"in self&&"interactionId"in PerformanceEventTiming.prototype&&(t=t||{},_(function(){O();var n,i,o=p("INP"),a=function(e){M(function(){e.forEach(B);var t,n=(t=Math.min(P.length-1,Math.floor(((r?L:performance.interactionCount||0)-D)/50)),P[t]);n&&n.latency!==o.value&&(o.value=n.latency,o.entries=n.entries,i())})},l=m("event",a,{durationThreshold:null!=(n=t.durationThreshold)?n:40});i=g(e,o,F,t.reportAllChanges),l&&(l.observe({type:"first-input",buffered:!0}),f(function(){a(l.takeRecords()),i(!0)}),c(function(){D=0,P.length=0,R.clear(),i=g(e,o=p("INP"),F,t.reportAllChanges)}))}))},z=[2500,4e3],G={},K=function(e,t){t=t||{},_(function(){var n,r=T(),i=p("LCP"),o=function(e){t.reportAllChanges||(e=e.slice(-1)),e.forEach(function(e){e.startTime<r.firstHiddenTime&&(i.value=Math.max(e.startTime-u(),0),i.entries=[e],n())})},a=m("largest-contentful-paint",o);if(a){n=g(e,i,z,t.reportAllChanges);var l=w(function(){G[i.id]||(o(a.takeRecords()),a.disconnect(),G[i.id]=!0,n(!0))});["keydown","click"].forEach(function(e){addEventListener(e,function(){return M(l)},!0)}),f(l),c(function(r){n=g(e,i=p("LCP"),z,t.reportAllChanges),h(function(){i.value=performance.now()-r.timeStamp,G[i.id]=!0,n(!0)})})}})},V=[800,1800],W=function e(t){document.prerendering?_(function(){return e(t)}):"complete"!==document.readyState?addEventListener("load",function(){return e(t)},!0):setTimeout(t,0)},q=function(e,t){t=t||{};var n=p("TTFB"),r=g(e,n,V,t.reportAllChanges);W(function(){var i=d();i&&(n.value=Math.max(i.responseStart-u(),0),n.entries=[i],r(!0),c(function(){(r=g(e,n=p("TTFB",0),V,t.reportAllChanges))(!0)}))})},Y={passive:!0,capture:!0},J=new Date,Z=function(e,t){i||(i=t,o=e,a=new Date,$(removeEventListener),X())},X=function(){if(o>=0&&o<a-J){var e={entryType:"first-input",name:i.type,target:i.target,cancelable:i.cancelable,startTime:i.timeStamp,processingStart:i.timeStamp+o};l.forEach(function(t){t(e)}),l=[]}},Q=function(e){if(e.cancelable){var t,n,r,i=(e.timeStamp>1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?(t=function(){Z(i,e),r()},n=function(){r()},r=function(){removeEventListener("pointerup",t,Y),removeEventListener("pointercancel",n,Y)},addEventListener("pointerup",t,Y),addEventListener("pointercancel",n,Y)):Z(i,e)}},$=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach(function(t){return e(t,Q,Y)})},ee=[100,300],et=function(e,t){t=t||{},_(function(){var n,r=T(),a=p("FID"),s=function(e){e.startTime<r.firstHiddenTime&&(a.value=e.processingStart-e.startTime,a.entries.push(e),n(!0))},d=function(e){e.forEach(s)},u=m("first-input",d);n=g(e,a,ee,t.reportAllChanges),u&&(f(w(function(){d(u.takeRecords()),u.disconnect()})),c(function(){n=g(e,a=p("FID"),ee,t.reportAllChanges),l=[],o=-1,i=null,$(addEventListener),l.push(s),X()}))})};e.exports=n}()},18178:(e,t,n)=>{"use strict";n.d(t,{$:()=>F,KK:()=>u,QG:()=>w,R1:()=>K,Ts:()=>R,VA:()=>U,in:()=>D,kM:()=>z,m1:()=>V,oc:()=>H});var r,i,o=n(77269),a=n(13385),l=n(29702);let s=a.createContext(null);function c(e){let{children:t,value:n}=e;return(0,o.jsx)(s.Provider,{value:n,children:t})}function d(){let e=a.useContext(s);if(!e)throw Error("useMarketingConfig must be used within a MarketingConfigProvider");return e}var u=(e=>(e[e.PAYWALL_OPEN=0]="PAYWALL_OPEN",e[e.PAYWALL_CLOSE=1]="PAYWALL_CLOSE",e[e.PAYWALL_TOASTER_OPEN=2]="PAYWALL_TOASTER_OPEN",e[e.PAYWALL_TOASTER_CLOSE=3]="PAYWALL_TOASTER_CLOSE",e[e.WELCOME_UNIT_OPEN=4]="WELCOME_UNIT_OPEN",e[e.WELCOME_UNIT_CLOSE=5]="WELCOME_UNIT_CLOSE",e[e.PROMO_INLINE_OPEN=6]="PROMO_INLINE_OPEN",e[e.PROMO_BANNER_OPEN=7]="PROMO_BANNER_OPEN",e[e.PROMO_BANNER_CLOSE=8]="PROMO_BANNER_CLOSE",e[e.GIFT_ARTICLE_BUTTON_OPEN=9]="GIFT_ARTICLE_BUTTON_OPEN",e[e.APP_DOWNLOAD_SIGNUP_OPEN=10]="APP_DOWNLOAD_SIGNUP_OPEN",e[e.CONTENT_BLOCKER_FOOTER_TOASTER_OPEN=11]="CONTENT_BLOCKER_FOOTER_TOASTER_OPEN",e[e.CONTENT_BLOCKER_FOOTER_TOASTER_CLOSE=12]="CONTENT_BLOCKER_FOOTER_TOASTER_CLOSE",e[e.KNOWN_USER_FOOTER_TOASTER_OPEN=13]="KNOWN_USER_FOOTER_TOASTER_OPEN",e[e.KNOWN_USER_FOOTER_TOASTER_CLOSE=14]="KNOWN_USER_FOOTER_TOASTER_CLOSE",e[e.REGWALL_FOOTER_TOASTER_OPEN=15]="REGWALL_FOOTER_TOASTER_OPEN",e[e.REGWALL_FOOTER_TOASTER_CLOSE=16]="REGWALL_FOOTER_TOASTER_CLOSE",e[e.GIFT_ARTICLE_REGWALL_FOOTER_TOASTER_OPEN=17]="GIFT_ARTICLE_REGWALL_FOOTER_TOASTER_OPEN",e[e.GIFT_ARTICLE_REGWALL_FOOTER_TOASTER_CLOSE=18]="GIFT_ARTICLE_REGWALL_FOOTER_TOASTER_CLOSE",e[e.LOGIN_REMINDER_FOOTER_TOASTER_OPEN=19]="LOGIN_REMINDER_FOOTER_TOASTER_OPEN",e[e.LOGIN_REMINDER_FOOTER_TOASTER_CLOSE=20]="LOGIN_REMINDER_FOOTER_TOASTER_CLOSE",e[e.PROMO_BENEFIT_FOOTER_TOASTER_OPEN=21]="PROMO_BENEFIT_FOOTER_TOASTER_OPEN",e[e.PROMO_BENEFIT_FOOTER_TOASTER_CLOSE=22]="PROMO_BENEFIT_FOOTER_TOASTER_CLOSE",e[e.NEWSLETTER_SIGNUP_FOOTER_TOASTER_OPEN=23]="NEWSLETTER_SIGNUP_FOOTER_TOASTER_OPEN",e[e.NEWSLETTER_SIGNUP_FOOTER_TOASTER_CLOSE=24]="NEWSLETTER_SIGNUP_FOOTER_TOASTER_CLOSE",e[e.NEWSLETTER_SIGNUP_HEADER_TOASTER_OPEN=25]="NEWSLETTER_SIGNUP_HEADER_TOASTER_OPEN",e[e.NEWSLETTER_SIGNUP_HEADER_TOASTER_CLOSE=26]="NEWSLETTER_SIGNUP_HEADER_TOASTER_CLOSE",e[e.NEWSLETTER_SIGNUP_LEFT_TOASTER_OPEN=27]="NEWSLETTER_SIGNUP_LEFT_TOASTER_OPEN",e[e.NEWSLETTER_SIGNUP_LEFT_TOASTER_CLOSE=28]="NEWSLETTER_SIGNUP_LEFT_TOASTER_CLOSE",e[e.NEWSLETTER_SIGNUP_INLINE_OPEN=29]="NEWSLETTER_SIGNUP_INLINE_OPEN",e[e.NEWSLETTER_SIGNUP_OVERLAY_OPEN=30]="NEWSLETTER_SIGNUP_OVERLAY_OPEN",e[e.NEWSLETTER_SIGNUP_OVERLAY_CLOSE=31]="NEWSLETTER_SIGNUP_OVERLAY_CLOSE",e[e.GIFT_ARTICLE_TOOLTIP_OPEN=32]="GIFT_ARTICLE_TOOLTIP_OPEN",e[e.BLUECONIC_VIEW=33]="BLUECONIC_VIEW",e[e.BLUECONIC_CLICK=34]="BLUECONIC_CLICK",e[e.UNKNOWN_BLUECONIC_EVENT=35]="UNKNOWN_BLUECONIC_EVENT",e[e.MARKETING_ERROR=36]="MARKETING_ERROR",e[e.MARKETING_CLOSE_ALL=37]="MARKETING_CLOSE_ALL",e))(u||{});function p(){var e,t;null==(t=window.blueConicClient)||null==(e=t.profile)||e.updateProfile()}class m{get(e){return this.entries[e]}topics(){return Object.keys(this.entries).map(Number)}findTopicByEvent(e,t){for(let n of Object.keys(this.entries)){let r=Number(n),i=this.entries[r].validEvents.find(n=>n.purpose===e&&n.format===t);if(i)return{topic:r,deprecated:!0===i.deprecated}}return null}constructor(e){this.entries=e}}let g=new m({[u.PAYWALL_OPEN]:{surface:"modal",slotId:"modal",load:()=>Promise.resolve().then(()=>ix),closeTopic:u.PAYWALL_CLOSE,modalProps:{closable:!1},validEvents:[{purpose:"Paywall",format:"Overlay"},{purpose:"Paywall",format:"hardOverlay",deprecated:!0},{purpose:"Paywall",format:"mainOverlay",deprecated:!0}]},[u.PAYWALL_TOASTER_OPEN]:{surface:"modal",slotId:"modal",load:()=>Promise.resolve().then(()=>ib),closeTopic:u.PAYWALL_TOASTER_CLOSE,modalProps:{variant:"alignEnd",closable:!1},validEvents:[{purpose:"Paywall",format:"FooterToaster"}]},[u.WELCOME_UNIT_OPEN]:{surface:"modal",slotId:"modal",load:()=>Promise.resolve().then(()=>iv),closeTopic:u.WELCOME_UNIT_CLOSE,validEvents:[{purpose:"WelcomeUnit",format:"Overlay"},{purpose:"WelcomeUnit",format:"overlay",deprecated:!0}]},[u.NEWSLETTER_SIGNUP_OVERLAY_OPEN]:{surface:"modal",slotId:"modal",load:()=>Promise.resolve().then(()=>iC),closeTopic:u.NEWSLETTER_SIGNUP_OVERLAY_CLOSE,validEvents:[{purpose:"NewsletterSignup",format:"Overlay"},{purpose:"NewsletterSignup",format:"overlay",deprecated:!0}]},[u.NEWSLETTER_SIGNUP_LEFT_TOASTER_OPEN]:{surface:"leftToaster",slotId:"left-toaster",load:()=>Promise.resolve().then(()=>i_),closeTopic:u.NEWSLETTER_SIGNUP_LEFT_TOASTER_CLOSE,validEvents:[{purpose:"NewsletterSignup",format:"LeftToaster"}]},[u.PROMO_INLINE_OPEN]:{surface:"inline",slotId:"promo-inline",load:()=>Promise.resolve().then(()=>iS),validEvents:[{purpose:"Promo",format:"Inline"},{purpose:"PromoBenefit",format:"Inline"},{purpose:"Promo",format:"inline",deprecated:!0}]},[u.PROMO_BANNER_OPEN]:{surface:"inline",slotId:"promo-banner",load:()=>Promise.resolve().then(()=>iE),closeTopic:u.PROMO_BANNER_CLOSE,validEvents:[{purpose:"Promo",format:"HeaderBanner"},{purpose:"Promo",format:"headerBanner",deprecated:!0}]},[u.GIFT_ARTICLE_BUTTON_OPEN]:{surface:"inline",slotId:"gift-article-button",load:()=>Promise.resolve().then(()=>ij),validEvents:[{purpose:"GiftArticle",format:"Button"},{purpose:"GiftArticle",format:"inlineButton",deprecated:!0}]},[u.NEWSLETTER_SIGNUP_INLINE_OPEN]:{surface:"inline",slotId:"newsletter-signup-inline",load:()=>Promise.resolve().then(()=>iN),validEvents:[{purpose:"NewsletterSignup",format:"Inline"},{purpose:"NewsletterSignup",format:"inline",deprecated:!0}]},[u.APP_DOWNLOAD_SIGNUP_OPEN]:{surface:"toaster",slotId:"toaster",load:()=>Promise.resolve().then(()=>iP),validEvents:[{purpose:"AppDownloadSignup",format:"FooterToaster"}]},[u.CONTENT_BLOCKER_FOOTER_TOASTER_OPEN]:{surface:"modal",slotId:"modal",load:()=>Promise.resolve().then(()=>iR),closeTopic:u.CONTENT_BLOCKER_FOOTER_TOASTER_CLOSE,modalProps:{variant:"alignEnd"},validEvents:[{purpose:"ContentBlocker",format:"FooterToaster"}]},[u.KNOWN_USER_FOOTER_TOASTER_OPEN]:{surface:"toaster",slotId:"toaster",load:()=>Promise.resolve().then(()=>iD),closeTopic:u.KNOWN_USER_FOOTER_TOASTER_CLOSE,validEvents:[{purpose:"KnownUserGiftArticle",format:"FooterToaster"},{purpose:"KnownUserToaster",format:"footer",deprecated:!0}]},[u.REGWALL_FOOTER_TOASTER_OPEN]:{surface:"toaster",slotId:"toaster",load:()=>Promise.resolve().then(()=>iB),closeTopic:u.REGWALL_FOOTER_TOASTER_CLOSE,toasterProps:{closable:!1},validEvents:[{purpose:"Regwall",format:"FooterToaster"},{purpose:"Regwall",format:"bottomOverlay",deprecated:!0}]},[u.GIFT_ARTICLE_REGWALL_FOOTER_TOASTER_OPEN]:{surface:"toaster",slotId:"toaster",load:()=>Promise.resolve().then(()=>iF),closeTopic:u.GIFT_ARTICLE_REGWALL_FOOTER_TOASTER_CLOSE,toasterProps:{closable:!1},validEvents:[{purpose:"RegwallGiftArticle",format:"FooterToaster"},{purpose:"GiftArticleRegwall",format:"bottomOverlay",deprecated:!0}]},[u.LOGIN_REMINDER_FOOTER_TOASTER_OPEN]:{surface:"toaster",slotId:"toaster",load:()=>Promise.resolve().then(()=>iH),closeTopic:u.LOGIN_REMINDER_FOOTER_TOASTER_CLOSE,onUserClose:function(){var e,t,n,r;null==(r=window.blueConicClient)||null==(n=r.profile)||null==(t=n.getProfile)||null==(e=t.call(n))||e.setValue("login_reminder_close_clicked","true"),p()},validEvents:[{purpose:"LoginReminder",format:"FooterToaster"},{purpose:"LoginReminder",format:"bottomToaster",deprecated:!0}]},[u.PROMO_BENEFIT_FOOTER_TOASTER_OPEN]:{surface:"toaster",slotId:"toaster",load:()=>Promise.resolve().then(()=>iz),closeTopic:u.PROMO_BENEFIT_FOOTER_TOASTER_CLOSE,validEvents:[{purpose:"PromoBenefit",format:"FooterToaster"},{purpose:"Promo",format:"bottomToaster",deprecated:!0}]},[u.NEWSLETTER_SIGNUP_FOOTER_TOASTER_OPEN]:{surface:"toaster",slotId:"toaster",load:()=>Promise.resolve().then(()=>iK),closeTopic:u.NEWSLETTER_SIGNUP_FOOTER_TOASTER_CLOSE,validEvents:[{purpose:"NewsletterSignup",format:"FooterToaster"},{purpose:"NewsletterSignup",format:"footerToaster",deprecated:!0}]},[u.NEWSLETTER_SIGNUP_HEADER_TOASTER_OPEN]:{surface:"toaster",slotId:"toaster",load:()=>Promise.resolve().then(()=>iW),closeTopic:u.NEWSLETTER_SIGNUP_HEADER_TOASTER_CLOSE,validEvents:[{purpose:"NewsletterSignup",format:"HeaderToaster"},{purpose:"NewsletterSignup",format:"headerToaster",deprecated:!0}]}});function h(e,t){return t?"".concat(e,":").concat(t):e}let f=a.createContext(null);function w(e){let{children:t}=e,[n,r]=a.useState(()=>new Map),i=a.useCallback(function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};r(r=>{if(r.has(e))return console.warn('[@hearst-newspapers/marketing]: duplicate slot "'.concat(e,'" detected. Only the first slot will be used.')),r;let i=new Map(r);return i.set(e,{node:t,props:n}),i})},[]),l=a.useCallback((e,t)=>{r(n=>{let r=n.get(e);if(!r||r.node!==t)return n;let i=new Map(n);return i.delete(e),i})},[]),s=a.useMemo(()=>({register:i,unregister:l,slots:n}),[i,l,n]);return(0,o.jsx)(f.Provider,{value:s,children:t})}function x(){let e=a.useContext(f);if(!e)throw Error("useSlotRegistry must be used within a SlotRegistryProvider");return e}function b(e){var t,n;let{slots:r}=x();return null!=(n=null==(t=r.get(e))?void 0:t.node)?n:null}function v(e,t,n,r){e.emit(u.MARKETING_ERROR,{source:t,action:"missingSlot",message:'No MarketingComponentSlot mounted for slotId "'.concat(n,'". The component for topic ').concat(r.topic," will not render."),payload:r.payload})}let y=a.lazy(()=>Promise.resolve().then(()=>iu).then(e=>({default:e.Modal})));function C(e){var t;let{instance:n,close:r}=e,i=g.get(n.topic),l=b(i.slotId),{eventBus:s}
1=d(),c="modal"===i.surface?i.modalProps:void 0,[u,p]=a.useState(null!=c?c:{}),m=a.useCallback(e=>{p(t=>({...t,...e}))},[]),h=a.useMemo(()=>a.lazy(i.load),[i.load]);return l?(0,o.jsx)(a.Suspense,{children:(0,o.jsx)(y,{onRequestClose:r,isOpen:!0,targetNode:l,variant:u.variant,closable:null==(t=u.closable)||t,children:(0,o.jsx)(h,{payload:n.payload,close:r,setModalProps:m})})}):(v(s,"ModalRenderer",i.slotId,n),null)}function T(e){let{instance:t,close:n}=e;return t&&"modal"===g.get(t.topic).surface?(0,o.jsx)(C,{instance:t,close:n}):null}function _(e){var t,n;let{instance:r}=e,i=g.get(r.topic),s=null==(n=r.payload)||null==(t=n.data)?void 0:t.variant,c=function(e,t){var n,r;let{slots:i}=x();return null!=(r=null!=(n=i.get(h(e,t)))?n:i.get(e))?r:null}(i.slotId,s),{eventBus:u}=d(),p=a.useMemo(()=>a.lazy(i.load),[i.load]);return c?(0,l.createPortal)((0,o.jsx)(a.Suspense,{children:(0,o.jsx)(p,{payload:r.payload,slotProps:c.props})}),c.node):(v(u,"InlineRenderer",h(i.slotId,s),r),null)}function k(e){let{instance:t}=e;return t&&"inline"===g.get(t.topic).surface?(0,o.jsx)(_,{instance:t}):null}let S=a.lazy(()=>Promise.resolve().then(()=>iu).then(e=>({default:e.Toaster})));function E(e){var t,n;let{instance:r,close:i}=e,s=g.get(r.topic),c=b(s.slotId),{eventBus:u}=d(),p="toaster"===s.surface?s.toasterProps:void 0,[m,h]=a.useState(null!=p?p:{}),f=a.useCallback(e=>{h(t=>({...t,...e}))},[]),w=a.useMemo(()=>a.lazy(s.load),[s.load]);if(!c)return v(u,"ToasterRenderer",s.slotId,r),null;let x=r.payload.data.format;return(0,l.createPortal)((0,o.jsx)(a.Suspense,{children:(0,o.jsx)(S,{isOpen:!0,close:i,variant:x,focus:null==(t=m.focus)||t,closeable:null==(n=m.closable)||n,backLinkText:m.backLinkText,backLinkUrl:m.backLinkUrl,onBackLinkClick:m.onBackLinkClick,children:(0,o.jsx)(w,{payload:r.payload,close:i,setToasterProps:f})})}),c)}function I(e){let{instance:t,close:n}=e;return t&&"toaster"===g.get(t.topic).surface?(0,o.jsx)(E,{instance:t,close:n}):null}let L=a.lazy(()=>Promise.resolve().then(()=>iu).then(e=>({default:e.LeftToaster})));function j(e){let{instance:t,close:n}=e,r=g.get(t.topic),i=b(r.slotId),{eventBus:s}=d(),c="leftToaster"===r.surface?r.leftToasterProps:void 0,[u,p]=a.useState(null!=c?c:{}),m=a.useCallback(e=>{p(t=>({...t,...e}))},[]),h=a.useMemo(()=>a.lazy(r.load),[r.load]);return i?(0,l.createPortal)((0,o.jsx)(a.Suspense,{children:(0,o.jsx)(L,{isOpen:!0,close:n,borderPosition:u.borderPosition,children:(0,o.jsx)(h,{payload:t.payload,close:n,setLeftToasterProps:m})})}),i):(v(s,"LeftToasterRenderer",r.slotId,t),null)}function A(e){let{instance:t,close:n}=e;return t&&"leftToaster"===g.get(t.topic).surface?(0,o.jsx)(j,{instance:t,close:n}):null}function N(e){let{eventBus:t,currentUrl:n,user:r,onSignInClick:i,siteAwareJson:l,addLinkParams:s,onAppDownloadSignup:d,onGiftArticleRegwallSignup:p,onRegwallSignup:m,onNewsletterSignup:h}=e,[f,w]=a.useState({}),x=a.useCallback(e=>{w(t=>{if(!t[e])return t;let n={...t};return delete n[e],n})},[]),b=a.useCallback(e=>{var t,n;let r=f[e];r&&(null==(t=(n=g.get(e)).onUserClose)||t.call(n,r.payload),x(e))},[f,x]);return a.useEffect(()=>{let e=[];return g.topics().forEach(n=>{let r=g.get(n);if(e.push({topic:n,id:t.on(n,e=>{w(t=>({...t,[n]:{topic:n,payload:e}}))})}),void 0!==r.closeTopic){let i=r.closeTopic;e.push({topic:i,id:t.on(i,()=>{x(n)})})}}),e.push({topic:u.MARKETING_CLOSE_ALL,id:t.on(u.MARKETING_CLOSE_ALL,()=>{w({})})}),()=>{e.forEach(e=>{t.off(e.topic,e.id)})}},[t,x]),(0,o.jsx)(c,{value:{eventBus:t,currentUrl:n,user:r,onSignInClick:i,siteAwareJson:l,addLinkParams:s,onAppDownloadSignup:d,onGiftArticleRegwallSignup:p,onRegwallSignup:m,onNewsletterSignup:h},children:Object.values(f).map(e=>{let t=g.get(e.topic);return"modal"===t.surface?(0,o.jsx)(T,{instance:e,close:()=>b(e.topic)},e.topic):"inline"===t.surface?(0,o.jsx)(k,{instance:e},e.topic):"toaster"===t.surface?(0,o.jsx)(I,{instance:e,close:()=>b(e.topic)},e.topic):"leftToaster"===t.surface?(0,o.jsx)(A,{instance:e,close:()=>b(e.topic)},e.topic):null})})}let O=/^https:\/\/www\.puzzmo\.com/,P=/^https:\/\/www\.comicskingdom\.com/;function R(e){let t=[];if(e.eventBus&&"function"==typeof e.eventBus.emit&&"function"==typeof e.eventBus.on&&"function"==typeof e.eventBus.off||t.push("eventBus must be provided and implement emit, on, and off methods."),Array.isArray(e.productionDomains)||t.push("productionDomains must be an array."),t.length>
10)throw Error("Invalid MarketingLibConfig:\n- ".concat(t.join("\n- ")));let{eventBus:n}=e,r=function(e){let t=e.join("|"),n=t.replace(/www\./g,"")+"|hearstmediact.com|hearstmediatx.com|hearstnp.com",r=RegExp("^https://subscription(?:-qa[0-9]+)?.(?:".concat(n,")"),"i"),i=RegExp("^https://(?:".concat(t,")"),"i");return function(e,t,n){if(!e||!t||!(e.match(r)||e.match(i)||e.match(O)||e.match(P)))return e;let o=new URL(e);return e.match(r)&&o.searchParams.set("returnUrl",t),n&&(o.searchParams.set("bcvid",n.variantId),o.searchParams.set("bcpurpose",n.data.purpose)),o.toString()}}(e.productionDomains);return{onBlueconicLoaded:function(t){let r=null!=t?t:e.siteAwareJson;if(!r||"object"!=typeof r)throw Error("siteAwareJson must be provided either via init() config or as an argument to onBlueconicLoaded().");if(!window.blueConicClient)throw Error("window.blueConicClient not found on window object.");window.blueConicClient.event.subscribe("propertiesDialogue",null,function(e,t){let i=(null==t?void 0:t.data)?g.findTopicByEvent(t.data.purpose,t.data.format):null;if((null==i?void 0:i.deprecated)&&n.emit(u.MARKETING_ERROR,{source:"init",action:"deprecatedBlueconicEvent",message:'Deprecated BlueConic event format "'.concat(t.data.format,'" for purpose "').concat(t.data.purpose,'".'),payload:t}),!function(e,t){var n,r;if(!(null==e?void 0:e.data))return!1;let{data:{purpose:i,variant:o,format:a}}=e;return!!(null==(r=t[i])||null==(n=r[a])?void 0:n[o])}(t,r)||null===i)return void n.emit(u.UNKNOWN_BLUECONIC_EVENT,t);n.emit(i.topic,t)})},MarketingComponentHost:t=>{var i;let a=null!=(i=t.siteAwareJson)?i:e.siteAwareJson;if(!a)throw Error("siteAwareJson must be provided either via init() config or as a MarketingComponentHost prop.");return(0,o.jsx)(N,{eventBus:n,addLinkParams:r,onAppDownloadSignup:e.onAppDownloadSignup,onGiftArticleRegwallSignup:e.onGiftArticleRegwallSignup,onRegwallSignup:e.onRegwallSignup,onNewsletterSignup:e.onNewsletterSignup,...t,siteAwareJson:a})}}}class D extends Error{constructor(e,t){super(e),this.name="RealmSignupError",this.cause=t,Object.setPrototypeOf(this,D.prototype)}}class U extends Error{constructor(e,t){super(e),this.name="SailthruSignupError",this.cause=t,Object.setPrototypeOf(this,U.prototype)}}function B(e,t,n){var r,i;if("nba"===n){null==(i=window.blueConicClient)||i.event.publish("nba_conversion",[e,t]);return}null==(r=window.blueConicClient)||r.createEvent("CONVERSION",e)}function M(){var e,t;let n=null==(t=window.blueConicClient)||null==(e=t.profile)?void 0:e.getProfile();if(!n||!n.getId())throw Error("BlueConic profile is undefined");return n}function F(e){let{phone:t,email:n,payload:r,unitData:i}=e;return new Promise((e,o)=>{let a;if(!i)return void o(new U("App Download signup failed: no unit data provided."));if(!window.Sailthru)return void o(new U("App Download signup dependency Sailthru not loaded on window.Sailthru."));if(!n||!t){let e=n?"phone number":"email";o(new U("App Download signup failed: missing ".concat(e,".")));return}try{a=M()}catch(e){o(new U("App Download signup dependency BlueConic profile not loaded on window.blueConicClient.profile."));return}window.Sailthru.integration("userSignUp",{id:n,lists:i.sailthruSignupLists||{},keys:{sms:"+1".concat(t)},sms_transactional_status:"opt-in",onSuccess:(n,o)=>{B(r.variantId,void 0,i.conversionEvent),null==a||a.setValue("phone",t),null==a||a.setValue("sailthru_hid",o.sailthruHid),null==a||a.setValue("sailthru_id",o.sailthruHid.substring(32,56)),null==a||a.addValue("sailthru_lists",i.sailthruSignupListForBC),p(),e(o)},onError:e=>{let t=e&&"object"==typeof e&&"error"in e&&e.error?String(e.error):String(e);o(new U("Sailthru signup failure: ".concat(t)))}})})}async function H(e){var t,n;let r,{unitData:i,email:o,payload:a,realmRegistrationUrl:l,onRealmSignupSuccess:s}=e;if(!i)throw new U("Gift Article Regwall signup failed: no unit data provided.");if(!window.Sailthru)throw new U("Gift Article Regwall signup dependency Sailthru not loaded on window.Sailthru.");let c=null==(n=window.treg)||null==(t=n.realm)?void 0:t.OidcData;if(!(null==c?void 0:c.tenantId)||!c.siteId||!c.tregId)throw new D("Gift Article Regwall signup dependency Realm not loaded on window.treg.realm.OidcData.");
1if(!o)throw new D("Gift Article Regwall signup failed: missing email.");try{r=await fetch(l,{method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/json; charset=utf-8",Accept:"application/json"},body:JSON.stringify({returnUrl:encodeURIComponent(window.location.href.split("?")[0]),email:o,siteid:c.siteId,tenantid:c.tenantId,tregId:c.tregId})})}catch(e){throw new D("Realm registration request failed.",e)}if(!r.ok&&400!==r.status)throw new D("Realm registration request failed with status: ".concat(r.statusText));null==s||s({ok:r.ok,status:r.status,statusText:r.statusText});let d=M();d.addValue("entitled_article","".concat(window.location.protocol,"//").concat(window.location.host).concat(window.location.pathname)),d.setValue("email",o),d.setValue("shared_article_reg_wall_confirmed","true"),p(),B(a.variantId,a.data.purpose,i.conversionEvent),await new Promise((e,t)=>{window.Sailthru.integration("userSignUp",{email:o,lists:i.sailthruSignupLists||{},source:i.sailthruSource,onSuccess:(t,n)=>{d.setValue("sailthru_hid",n.sailthruHid),d.setValue("sailthru_id",n.sailthruHid.substring(32,56)),d.addValue("sailthru_lists",i.sailthruSignupListForBC),p(),e()},onError:e=>{let n="object"==typeof e&&null!==e&&"error"in e&&e.error?String(e.error):String(e);t(new U("Sailthru signup failure: ".concat(n)))}})})}async function z(e){var t,n;let r,{unitData:i,email:o,payload:a,realmRegistrationUrl:l,onRealmSignupSuccess:s}=e;if(!i)throw new U("Regwall signup failed: no unit data provided.");if(!window.Sailthru)throw new U("Regwall signup dependency Sailthru not loaded on window.Sailthru.");let c=null==(n=window.treg)||null==(t=n.realm)?void 0:t.OidcData;if(!(null==c?void 0:c.tenantId)||!c.siteId||!c.tregId)throw new D("Regwall signup dependency Realm not loaded on window.treg.realm.OidcData.");if(!o)throw new D("Regwall signup failed: missing email.");try{r=await fetch(l,{method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/json; charset=utf-8",Accept:"application/json"},body:JSON.stringify({returnUrl:encodeURIComponent(window.location.href),email:o,siteid:c.siteId,tenantid:c.tenantId,tregId:c.tregId})})}catch(e){throw new D("Realm registration request failed.",e)}if(!r.ok&&400!==r.status)throw new D("Realm registration request failed with status: ".concat(r.statusText));null==s||s({ok:r.ok,status:r.status,statusText:r.statusText});let d=M();d.addValue("entitled_article","".concat(window.location.protocol,"//").concat(window.location.host).concat(window.location.pathname)),d.setValue("email",o),p(),B(a.variantId,a.data.purpose,i.conversionEvent),await new Promise((e,t)=>{window.Sailthru.integration("userSignUp",{email:o,lists:i.sailthruSignupLists||{},source:i.sailthruSource,onSuccess:(t,n)=>{d.setValue("sailthru_hid",n.sailthruHid),d.setValue("sailthru_id",n.sailthruHid.substring(32,56)),d.addValue("sailthru_lists",i.sailthruSignupListForBC),p(),e()},onError:e=>{let n="object"==typeof e&&null!==e&&"error"in e&&e.error?String(e.error):String(e);t(new U("Sailthru signup failure: ".concat(n)))}})})}function G(e){return e instanceof Error?{name:e.name,message:e.message,stack:e.stack}:"string"==typeof e?{message:e}:{message:"Unknown error"}}function K(e){let{email:t,payload:n,unitData:r,onBlueconicProfileSyncError:i}=e;return new Promise((e,o)=>r?t?window.Sailthru?void window.Sailthru.integration("userSignUp",{email:t,lists:r.sailthruSignupLists||{},source:r.sailthruSource,onSuccess:(o,a)=>{B(n.variantId,n.data.purpose,r.conversionEvent);try{let e=M();e.setValue("email",t),e.setValue("sailthru_hid",a.sailthruHid),e.setValue("sailthru_id",a.sailthruHid.substring(32,56)),e.addValue("sailthru_lists",r.sailthruSignupListForBC),p()}catch(e){null==i||i({source:"onNewsletterSignup",action:"syncBlueconicProfile",message:"Failed to sync BlueConic profile after newsletter signup.",error:G(e),payload:n})}e(a)},onError:e=>{let t="object"==typeof e&&null!==e&&"error"in e&&e.error?String(e.error):String(e);o(new U("Sailthru signup failure: ".concat(t)))}}):void o(new U("Newsletter signup dependency Sailthru not loaded on window.Sailthru.")):void o(new U("Newsletter signup failed: missing email.")):void o(new U("Newsletter signup failed: no unit data provided.")))}function V(e){let t=a.useRef(null),{register:n,unregister:r}=x(),{type:i,variant:l,extraProps:s}=function(e){if("variant"in e){let{type:t,variant:n,...r}=e;return{type:t,variant:n,extraProps:r}}let{type:t,...n}=e;return{type:t,extraProps:n}}(e),c=h(i,l),d=JSON.stringify(s);return a.useEffect(()=>{if(!t.current)return;let e=t.current;return n(c,e,JSON.parse(d)),()=>{r(c,e)}},[c,n,r,d]),(0,o.jsx)("div",{ref:t})}var W={exports:{}},q={};W.exports=function(){if(r)return q;r=1;var e=Symbol.for("react.transitional.element");function t(t,n,r){var i=null;if(void 0!==r&&(i=""+r),void 0!==n.key&&(i=""+n.key),"key"in n)for(var o in r={},n)"key"!==o&&(r[o]=n[o]);else r=n;return{$$typeof:e,type:t,key:i,ref:void 0!==(n=r.ref)?n:null,props:r}}return q.Fragment=Symbol.for("react.fragment"),q.jsx=t,q.jsxs=t,q}();var Y=W.exports;let J=e=>"object"==typeof e&&null!==e?Array.isArray(e)?e:(e=>Object.keys(e).map(t=>e[t]?t:null))(e):e;function Z(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.map(J).flat().filter(e=>e).join(" ")}let X=new Proxy({},{get:(e,t)=>(t in e||(e[t]=function(e){let t=function(t,n){let{children:r,className:i,cx:o,bx:l,...s}=t,c=Z(...o||[],...l||[]);return a.createElement(e,{...s,ref:n,className:c.length?c:null},r)};return t.displayName="styled-".concat(e),a.forwardRef(t)}(t)),e[t])}),Q=()=>({info:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.log(...t)},warn:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.warn(...t)},error:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.error(...t)},debug:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.log(...t)},fatal:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.error(...t)},child:()=>Q()}
1),$=Q(),ee=(0,a.createContext)({dependencies:{Link:function(e){let{children:t,...n}=e;return Y.jsx("a",{...n,children:t})},Script:function(e){let{children:t,...n}=e;return Y.jsx("script",{...n,dangerouslySetInnerHTML:{__html:t}})},Head:function(e){let{children:t}=e;return Y.jsx(Y.Fragment,{children:t})},Example:function(e){let{}=e;return Y.jsx(Y.Fragment,{})},Lazy:function(e){let{children:t}=e;return Y.jsx(Y.Fragment,{children:t})},Ad:function(e){let{params:t}=e;return Y.jsx(Y.Fragment,{children:t})},logger:$}});function et(e){let{dependencies:t}=(0,a.useContext)(ee);return t[e]||function(t){let{children:n}=t;return console.warn("Using undefined dependency: ".concat(e)),n}}function en(e){let{href:t,prefetch:n,children:r,"data-trx-url":i,"data-skim-url":o,cx:a=[],bx:l=[],className:s,noFollow:c,rel:d,...u}=e,p=et("Link");t||(t="#");let m=[d,c?"nofollow":null].filter(Boolean).join(" ")||void 0;return Y.jsx(p,{...u,className:Z(...a,...l),"data-trx-url":i,"data-skim-url":o,href:t,rel:m,prefetch:n,children:r})}function er(e){let{dashed:t,underline:n,underlineSecondaryColor:r=!0,uppercase:i,hover:o=!0,children:a,cx:l=[],...s}=e;return Y.jsx(en,{...s,cx:[...l,n?["tdu","tuo2px",r&&"tdc-secondary","tdt-px"]:"tdn",t&&"tdsd",i&&"ttu",o&&"hover:o70","td300"],children:a})}function ei(e){return e&&null!=e&&e.key?{"data-gtm-event-key":e.key,"data-element-name":e.elementName,"data-element-content":e.elementContent,"data-element-variant":e.elementVariant,"data-element-text":e.elementText,"data-component-type":e.componentType,"data-component-subtype":e.componentSubtype,"data-collection-title":e.collectionTitle,"data-item-position":e.itemPosition,"data-variant-id":e.variantId,"data-dialogue-id":e.dialogueId,"data-link-url":e.linkUrl,"data-zone":e.zone,"data-source-system":e.sourceSystem}:{}}function eo(){let{dependencies:e}=(0,a.useContext)(ee);return e.logger}function ea(e){return e.split(".").splice(-1)[0].split("?")[0]||""}function el(e){let{src:t,width:n,quality:r,crop:i,orientation:o,useExt:a=!1}=e,l=ea(t),s=a?l:"webp",c=t.split("/");return c.pop(),i?"".concat(c.join("/"),"/").concat(i,"_").concat(n).concat(r?"-"+r:"",".").concat(s):"".concat(c.join("/"),"/").concat("portrait"===o?"0x".concat(n):"".concat(n,"x0")).concat(r?"-"+r:"",".").concat(s)}let es=[80,160,240,360,480,640,720,960,1080,1440,1920],ec=[[768,[960]],[720,[768]],[640,[720]],[480,[640]],[360,[480]],[240,[360]],[0,[240]]],ed={headshot:[[0,[150]]],tileSquare:[[1048,[80]],[0,[160]]],tileSquareSmall:[[0,[80]]],tileLandscape:[[768,[240]],[0,[160]]],grid:[[1160,[240]],[1048,[160]],[800,[240]],[768,[160]],[480,[360]],[0,[240]]],grid3:[[360,[480]],[240,[360]],[0,[240]]],grid5:[[928,[360]],[768,[240]],[240,[360]],[0,[240]]],leadWide:[[1168,[360]],[928,[240]],[792,[480]],[568,[360]],[481,[240]],[360,[480]],[240,[360]],[0,[240]]],leadTopic:[[1172,[360]],[1048,[240]],[816,[360]],[768,[240]],[680,[720]],[520,[640]],[360,[480]],[240,[360]],[0,[240]]],largeTopic:[[1186,[480]],[1048,[360]],[832,[480]],[768,[360]],[680,[720]],[520,[640]],[360,[480]],[240,[360]],[0,[240]]],leadSpotlight:[[1240,[640]],[1128,[480]],[1048,[360]],[890,[640]],[772,[480]],[768,[360]],[680,[720]],[480,[640]],[360,[480]],[240,[360]],[0,[240]]],leadHugeNews:[[1048,[360]],[798,[480]],[768,[360]],[680,[720]],[480,[640]],[360,[480]],[240,[360]],[0,[240]]],leadSingle:[[768,[480]],...ec],leadNarrow:[[0,[360]]],airy:[[1320,[240]],[1272,[360]],[1112,[240]],[1048,[160]],[916,[360]],[768,[240]],...ec],centerpieceFull:[[1048,[640]],[928,[480]],...ec],centerpieceStandardFull:[[928,[360]],[768,[240]],[0,[160]]],centerpieceLead:[[1276,[480]],[1096,[360]],[1048,[240]],[928,[480]],...ec],centerpiece:[[1048,[160]],[928,[240]],[768,[160]],[0,[80]]],specialPackageLead:[[1048,[640]],[960,[1080]],[768,[960]],...ec],specialPackage:[[1048,[360]],[830,[240]],[768,[160]],[524,[240]],[0,[160]]],featureCard:[[1030,[640]],[400,[480]],[280,[360]],[0,[240]]],hugeNews:[[768,[640]],...ec],hugeNewsOneStory:[[1190,[960]],[1080,[720]],[768,[640]],...ec],oneColumn:[[1144,[1440]],[1024,[1080]],[784,[960]],[768,[720]],...ec],twoColumnFirst:[[1154,[960]],[1074,[720]],[1048,[640]],[1024,[1080]],[784,[960]],[768,[720]],...ec],twoColumn:[[1260,[960]],[1186,[720]],[1048,[640]],[874,[960]],[798,[720]],[768,[640]],...ec],heroTextAbove:[[1080,[1440]],[960,[1080]],...ec],heroTextSide:[[960,[1080]],...ec],fullWidth:[[1440,[1920]],[1080,[1440]],[960,[1080]],...ec],twoColumnCarousel:[[1060,[960]],[1048,[640]],[1024,[1080]],[784,[960]],[768,[720]],...ec],gridGallery:[[768,[640]],...ec],twoColumnGr
1idGallery:[[1320,[360]],[1268,[480]],[1048,[360]],[880,[480]],[768,[360]],...ec],oneColumnListGallery:[[768,[640]],...ec],spotlightThreeStoryLead:[[1048,[1440]],[928,[960]],[768,[1920]],[0,[1440]]],spotlightThreeStory:[[928,[960]],[768,[1920]],[0,[1440]]]},eu={headshot:"48px",tileSquare:"160px",tileSquareSmall:"160px",tileLandscape:"240px",grid:"(min-width: 1048px) 240px, (min-width: 360px) 360px, 100vw",grid3:"(min-width: 480px) 480px, 100vw",grid5:"(min-width: 928px) 360px, (min-width: 768px) 240px, (min-width: 360px) 360px, 100vw",leadWide:"(min-width: 1048px) 360px, (min-width: 928px) 25vw, (min-width: 480px) 50vw, 100vw",leadSingle:"(min-width: 768px) 480px, 100vw",leadNarrow:"360px",leadTopic:"(min-width: 1320px) 480px, (min-width: 768px) 33vw, 100vw",leadHugeNews:"(min-width: 1320px) 480px, (min-width: 768px) 33vw, 100vw",largeTopic:"(min-width: 1320px) 640px, (min-width: 768px) 50vw, 100vw",leadSpotlight:"(min-width: 1048px) 640px, (min-width: 768px) 67vw, 100vw",airy:"(min-width: 1248px) 360px, (min-width: 768px) 33vw, 100vw",centerpiece:"(min-width: 928px) 480px, 100vw",centerpieceStandardFull:"(min-width: 928px) 360px, (min-width: 768px) 280px, 160px",centerpieceFull:"(min-width: 1048px) 640px, (min-width: 928px) 480px, 100vw",centerpieceLead:"(min-width: 928px) 480px, 100vw",specialPackageLead:"(min-width: 1048px) 640px, 100vw",specialPackage:"(min-width: 1048px) 240px, 360px",thumbnail:"(max-width: 360px) 240px, (max-width: 480px) 360px, 480px",smallFeature:"(min-width: 1048px) 640px, (min-width:768px) 480px, 100vw",featureCard:"(min-width: 1048px) 640px, (min-width:480px) 480px, 100vw",hugeNews:"(min-width: 1048px) 640px, (min-width: 768px) 720px, 100vw",hugeNewsOneStory:"(min-width: 1190px) 960px, (min-width: 1080px) 720px, (min-width: 768px) 640px, 100vw",twoColumn:"(min-width: 1260px) 960px, (min-width: 1048px) 67vw, (min-width: 768px) 90vw, 100vw",oneColumn:"(min-width: 1200px) 1440px, 100vw",heroTextAbove:"100vw",heroTextSide:"100vw",fullWidth:"100vw",twoColumnCarousel:"(min-width: 1200px) 1440px, 100vw",gridGallery:"(min-width: 768px) 640px, 100vw",twoColumnGridGallery:"(min-width: 1320px) 360px, (min-width: 768px) 33vw, 100vw",oneColumnListGallery:"(min-width: 1260px) 960px, (min-width: 1048px) 67vw, (min-width: 768px) 90vw, 100vw",spotlightThreeStory:"(min-width: 928px) 960px, (min-width: 768px) 1920px, 1440px",spotlightThreeStoryLead:"(min-width: 1048px) 1440px, (min-width: 928px) 960px, (min-width: 768px) 1920px, 1440px"},ep={white:"bg-white",black:"bg-black",gray:"bg-gray200",none:""},em={cover:["ofcv","bgscv"],contain:["ofct","bgsct"],"left top":["oplt","bgplt"],"left center":["oplc","bgplc"],"left bottom":["oplb","bgplb"],"center top":["opct","bgpct"],center:["opc","bgpc"],"center bottom":["opcb","bgpcb"],"right top":["oprt","bgprt"],"right center":["oprc","bgprc"],"right bottom":["oprb","bgprb"]},eg={hdnux:el,default:e=>{let{src:t}=e;return t}},eh=(0,a.createContext)({siteStyle:"premium",brandTheme:"unknown",debug:!1});function ef(e){let{siteStyle:t}=(0,a.useContext)(eh);return t}function ew(){let{brandTheme:e}=(0,a.useContext)(eh);return e}let ex={white:"w9yjejq",feature:"f6ulv2v",brand:"b1o5287w",gray:"gavshhx",black:"ba4hjzp"};function eb(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,ex[t]),role:"img","aria-label":"Alton Telegraph Logo",children:[Y.jsx("desc",{children:"Alton Telegraph Logo"}),Y.jsx("use",{href:"#logosource-alton-telegraph"})]})}let ev={white:"w1k4ekew",feature:"f6gozkt",brand:"beishgv",gray:"g19rl1cr",black:"b1ch31ax"};function ey(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,ev[t]),role:"img","aria-label":"Beaumont Enterprise Logo",children:[Y.jsx("desc",{children:"Beaumont Enterprise Logo"}),Y.jsx("use",{href:"#logosource-beaumont-enterprise"})]})}let eC={white:"w1ub4gm6",feature:"f5l6d0o",brand:"b1ub6kr",gray:"g12ap2vw",black:"bec1dtu"};function eT(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 167 58",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,eC[t]),role:"img","aria-label":"Chron Logo",children:[Y.jsx("desc",{children:"Chron Logo"}),Y.jsx("use",{href:"#logosource-chron"})]})}
1let e_={white:"w16g3xt3",feature:"f1cg4zzt",brand:"b10hnich",gray:"g7vgiw0",black:"bzqdlyr"};function ek(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 167 58",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,e_[t]),role:"img","aria-label":"Chron Logo",children:[Y.jsx("desc",{children:"Chron Logo"}),Y.jsx("use",{href:"#logosource-chron"})]})}let eS={white:"w19pgunn",feature:"f1e1np0x",brand:"b7myjjv",gray:"gu2f43p",black:"b9ff9jk"};function eE(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 167 58",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,eS[t]),role:"img","aria-label":"Chron Logo",children:[Y.jsx("desc",{children:"Chron Logo"}),Y.jsx("use",{href:"#logosource-chron"})]})}let eI={white:"wzga4g7",feature:"f1t5wtww",brand:"b166n22",gray:"g16qgb4l",black:"beils7i"};function eL(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,eI[t]),role:"img","aria-label":"Courier Montgomery County Logo",children:[Y.jsx("desc",{children:"Courier Montgomery County Logo"}),Y.jsx("use",{href:"#logosource-courier-montgomery-county"})]})}let ej={white:"wyyfyrv",feature:"fr0dm9j",brand:"b7rsxgw",gray:"g11yd9dy",black:"b38avzv"};function eA(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,ej[t]),role:"img","aria-label":"Ct Insider Logo",children:[Y.jsx("desc",{children:"Ct Insider Logo"}),Y.jsx("use",{href:"#logosource-ct-insider"})]})}let eN={white:"w8592cd",feature:"f1snfojm",brand:"ba5q5mo",gray:"go239yy",black:"b11te65a"};function eO(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 122 41",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,eN[t]),role:"img","aria-label":"Connecticut Post Logo",children:[Y.jsx("desc",{children:"Connecticut Post Logo"}),Y.jsx("use",{href:"#logosource-ctpost"})]})}let eP={white:"w1i1532c",feature:"f2jpx6",brand:"bkgrjyo",gray:"gbrnbag",black:"b1nlazh4"};function eR(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,eP[t]),role:"img","aria-label":"Darien Times Logo",children:[Y.jsx("desc",{children:"Darien Times Logo"}),Y.jsx("use",{href:"#logosource-darien-times"})]})}let eD={white:"w1i089gi",feature:"fu2j3xc",brand:"bmrkse9",gray:"glk386s",black:"b1t98ex"};function eU(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,eD[t]),role:"img","aria-label":"Edwardsville Intelligencier Logo",children:[Y.jsx("desc",{children:"Edwardsville Intelligencier Logo"}),Y.jsx("use",{href:"#logosource-edwardsville-intelligencier"})]})}let eB={white:"w1fcsvwr",feature:"f2q54kr",brand:"b13r866",gray:"gk8go3e",black:"b113ox1o"};function eM(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,eB[t]),role:"img","aria-label":"Greenwich Time Logo",children:[Y.jsx("desc",{children:"Greenwich Time Logo"}),Y.jsx("use",{href:"#logosource-greenwich-time"})]})}let eF={white:"wlrvytn",feature:"fplilcl",brand:"b1ywi3oe",gray:"g13976mp",black:"b51libm"};function eH(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 260 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,eF[t]),role:"img","aria-label":"Hearst Newspapers Logo",children:[Y.jsx("desc",{id:"hearst",children:"Hearst Newspapers Logo"}),Y.jsx("use",{href:"#logosource-hearst"})]})}let ez={white:"wte061u",feature:"f1o3m5kv",brand:"bkoiy2g",gray:"gwgfdmt",black:"b10s5f3k"};function eG(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,ez[t]),role:"img","aria-label":"Herald Review Logo",children:[Y.jsx("desc",{children:"Herald Review Logo"}),Y.jsx("use",{href:"#logosource-herald-review"})]})}let eK={white:"w178tdkq",feature:"fkyyv3g",brand:"b1ycaq4w",gray:"g1eprmfh",black:"bllc1xo"};
1function eV(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,eK[t]),role:"img","aria-label":"Houston Chronicle Logo",children:[Y.jsx("desc",{children:"Houston Chronicle Logo"}),Y.jsx("use",{href:"#logosource-houston-chronicle"})]})}let eW={white:"w1dgiuyz",feature:"f1gazztf",brand:"bdqq8uz",gray:"gvfxou9",black:"bp8fs2v"};function eq(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,eW[t]),role:"img","aria-label":"Huron Daily Tribune Logo",children:[Y.jsx("desc",{children:"Huron Daily Tribune Logo"}),Y.jsx("use",{href:"#logosource-huron-daily-tribune"})]})}let eY={white:"w1byl69x",feature:"fvj8evq",brand:"b1np3jzj",gray:"gqj2ek1",black:"bf6kbb1"};function eJ(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,eY[t]),role:"img","aria-label":"Journal Courier Logo",children:[Y.jsx("desc",{children:"Journal Courier Logo"}),Y.jsx("use",{href:"#logosource-journal-courier"})]})}let eZ={white:"w1h26uyg",feature:"f1b7jxhf",brand:"b1johre0",gray:"g1ugk8l0",black:"b9y9p5q"};function eX(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,eZ[t]),role:"img","aria-label":"Lake County Star Logo",children:[Y.jsx("desc",{children:"Lake County Star Logo"}),Y.jsx("use",{href:"#logosource-lake-county-star"})]})}let eQ={white:"w16wjyu4",feature:"f1t7wswr",brand:"btvckot",gray:"g1fu28hg",black:"b1skcw7u"};function e$(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,eQ[t]),role:"img","aria-label":"Laredo Morning Times Logo",children:[Y.jsx("desc",{children:"Laredo Morning Times Logo"}),Y.jsx("use",{href:"#logosource-laredo-morning-times"})]})}let e0={white:"w1yh67ox",feature:"f12wjlv5",brand:"b1ntath6",gray:"g1qx1hbo",black:"b1m1qx5k"};function e1(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,e0[t]),role:"img","aria-label":"Manistee News Advocate Logo",children:[Y.jsx("desc",{children:"Manistee News Advocate Logo"}),Y.jsx("use",{href:"#logosource-manistee-news-advocate"})]})}let e2={white:"w9ui7vl",feature:"f1t85qko",brand:"b1ich9q8",gray:"g15cuyq0",black:"btiy3lb"};function e3(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,e2[t]),role:"img","aria-label":"Middletown Press Logo",children:[Y.jsx("desc",{children:"Middletown Press Logo"}),Y.jsx("use",{href:"#logosource-middletown-press"})]})}let e6={white:"w9ykm1f",feature:"f11866lx",brand:"b1dp3o8v",gray:"g1acloyc",black:"b1s4angr"};function e4(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,e6[t]),role:"img","aria-label":"Midland Daily News Logo",children:[Y.jsx("desc",{children:"Midland Daily News Logo"}),Y.jsx("use",{href:"#logosource-midland-daily-news"})]})}let e8={white:"w1gidl84",feature:"f3c8av0",brand:"b2nrsxi",gray:"g19zz38m",black:"b1gohfxp"};function e5(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,e8[t]),role:"img","aria-label":"Midland Reporter Telegram Logo",children:[Y.jsx("desc",{children:"Midland Reporter Telegram Logo"}),Y.jsx("use",{href:"#logosource-midland-reporter-telegram"})]})}let e9={white:"wska2ap",feature:"f1ga02r",brand:"bn8v9d3",gray:"g10hx34h",black:"b1daldwh"};function e7(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,e9[t]),role:"img","aria-label":"Milford Mirror Logo",children:[Y.jsx("desc",{children:"Milford Mirror Logo"}),Y.jsx("use",{href:"#logosource-milford-mirror"})]})}let te={white:"wf7bghk",feature:"f1q2l7fk",brand:"beocu0h",gray:"gjxvae2",black:"bip0xub"};
1function tt(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 159 84",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,te[t]),role:"img","aria-label":"MySA Logo",children:[Y.jsx("desc",{children:"MySA Logo"}),Y.jsx("use",{href:"#logosource-mysa"})]})}let tn={white:"w7j6sd5",feature:"fp5wy0v",brand:"bqcnayo",gray:"g1tagbnu",black:"b1di5oyq"};function tr(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,tn[t]),role:"img","aria-label":"New Canaan Advertiser Logo",children:[Y.jsx("desc",{children:"New Canaan Advertiser Logo"}),Y.jsx("use",{href:"#logosource-new-canaan-advertiser"})]})}let ti={white:"w19kglce",feature:"fqul4ww",brand:"b9zxgnw",gray:"g1g9vcei",black:"bdsvcol"};function to(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,ti[t]),role:"img","aria-label":"New Haven Register Logo",children:[Y.jsx("desc",{children:"New Haven Register Logo"}),Y.jsx("use",{href:"#logosource-new-haven-register"})]})}let ta={white:"wcfi3eo",feature:"f9oenzl",brand:"b1jr6idg",gray:"guf72cw",black:"b16tgdu"};function tl(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,ta[t]),role:"img","aria-label":"News Times Logo",children:[Y.jsx("desc",{children:"News Times Logo"}),Y.jsx("use",{href:"#logosource-news-times"})]})}let ts={white:"wbcjzr2",feature:"fxxs5gb",brand:"brf2er",gray:"gbdg8zn",black:"briyg54"};function tc(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,ts[t]),role:"img","aria-label":"Pioneer Logo",children:[Y.jsx("desc",{children:"Pioneer Logo"}),Y.jsx("use",{href:"#logosource-pioneer"})]})}let td={white:"w130po7x",feature:"f11zum7q",brand:"bg3pjmy",gray:"gu2xz8a",black:"b10g3s94"};
1function tu(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,td[t]),role:"img","aria-label":"Plainview Herald Logo",children:[Y.jsx("desc",{children:"Plainview Herald Logo"}),Y.jsx("use",{href:"#logosource-plainview-herald"})]})}let tp={white:"w4npg15",feature:"fx6cper",brand:"b1amg2l5",gray:"g791mxz",black:"b1ijqgf9"};function tm(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,tp[t]),role:"img","aria-label":"Record Patriot Logo",children:[Y.jsx("desc",{children:"Record Patriot Logo"}),Y.jsx("use",{href:"#logosource-record-patriot"})]})}let tg={white:"wvya12d",feature:"ffh6c4z",brand:"b1p62nf7",gray:"ggh5ywj",black:"b1y5e7g1"};function th(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,tg[t]),role:"img","aria-label":"Register Citizen Logo",children:[Y.jsx("desc",{children:"Register Citizen Logo"}),Y.jsx("use",{href:"#logosource-register-citizen"})]})}let tf={white:"wn1z5cx",feature:"feqwf8a",brand:"bq6gqo6",gray:"gon39tu",black:"b19nvvt5"};function tw(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,tf[t]),role:"img","aria-label":"Ridgefield Press Logo",children:[Y.jsx("desc",{children:"Ridgefield Press Logo"}),Y.jsx("use",{href:"#logosource-ridgefield-press"})]})}let tx={white:"wkgachi",feature:"fspp8fj",brand:"b9hhtop",gray:"g165t65x",black:"butbmzi"};function tb(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,tx[t]),role:"img","aria-label":"San Antonio Express News Logo",children:[Y.jsx("desc",{children:"San Antonio Express News Logo"}),Y.jsx("use",{href:"#logosource-san-antonio-express-news"})]})}let tv={white:"wyx53tj",feature:"fwqrftt",brand:"b186rw5u",gray:"g1wfvdhx",black:"b1rpv0cm"};function ty(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 108 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,tv[t]),role:"img","aria-label":"Seattle Post-Intelligencer Logo",children:[Y.jsx("desc",{children:"Seattle Post-Intelligencer Logo"}),Y.jsx("use",{href:"#logosource-seattlepi"})]})}let tC={white:"w600cfa",feature:"f1cij35b",brand:"b1r8280c",gray:"gdo5x2d",black:"bgmvpdb"};
1function tT(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 108 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,tC[t]),role:"img","aria-label":"Seattle Post-Intelligencer Logo",children:[Y.jsx("desc",{children:"Seattle Post-Intelligencer Logo"}),Y.jsx("use",{href:"#logosource-seattlepi"})]})}let t_={white:"w41nnmr",feature:"fprhdwk",brand:"b7xnoly",gray:"g1hxhli5",black:"bhlx4uc"};function tk(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{fill:"none",viewBox:"0 0 286 30",xmlns:"http://www.w3.org/2000/svg",className:Z(n,t_[t]),role:"img","aria-label":"San Francisco Chronicle Logo",children:[Y.jsx("desc",{children:"San Francisco Chronicle Logo"}),Y.jsx("use",{href:"#logosource-sf-chronicle"})]})}let tS={white:"w1must0c",feature:"fp782kd",brand:"b1f26hy5",gray:"g1iq9qk6",black:"b2niq76"};function tE(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 129 46",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,tS[t]),role:"img","aria-label":"SF Gate Logo",children:[Y.jsx("desc",{children:"SF Gate Logo"}),Y.jsx("use",{href:"#logosource-sf-gate"})]})}let tI={white:"w1f86eky",feature:"f9zqeab",brand:"b1mtyo9e",gray:"g1rbiap7",black:"bj727ds"};function tL(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,tI[t]),role:"img","aria-label":"Shelton Herald Logo",children:[Y.jsx("desc",{children:"Shelton Herald Logo"}),Y.jsx("use",{href:"#logosource-shelton-herald"})]})}let tj={white:"wpk3trs",feature:"f18pfxfc",brand:"btgzndp",gray:"ghglx6n",black:"b6mcunr"};
1function tA(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,tj[t]),role:"img","aria-label":"Stamford Advocate Logo",children:[Y.jsx("desc",{children:"Stamford Advocate Logo"}),Y.jsx("use",{href:"#logosource-stamford-advocate"})]})}let tN={white:"w1gp2lkl",feature:"fz88ekn",brand:"b1q9b9sy",gray:"gazy8r0",black:"b2k1q9a"};function tO(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,tN[t]),role:"img","aria-label":"The Hour Logo",children:[Y.jsx("desc",{children:"The Hour Logo"}),Y.jsx("use",{href:"#logosource-the-hour"})]})}let tP={white:"wlzsjaj",whiteText:"w1duvvk8",feature:"foz6ejf",brand:"betq1vq",gray:"ga4725k",black:"bpjfxg2"};function tR(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 288 49",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,tP[t]),role:"img","aria-label":"Times Union Logo",children:[Y.jsx("desc",{children:"Times Union Logo"}),Y.jsx("use",{href:"#logosource-times-union"})]})}let tD={white:"w8mp730",feature:"f1i3vju6",brand:"b10zmdai",gray:"g10fl5ok",black:"b5k8cpg"};function tU(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,tD[t]),role:"img","aria-label":"Trumbull Times Logo",children:[Y.jsx("desc",{children:"Trumbull Times Logo"}),Y.jsx("use",{href:"#logosource-trumbull-times"})]})}let tB={white:"w93707l",feature:"fcxghbs",brand:"bbirjrw",gray:"g829j7r",black:"bn98p8w",happyPlace:"h1ww6k68"};function tM(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 120 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,tB[t]),role:"img","aria-label":"Weekand Logo",children:[Y.jsx("desc",{children:"Weekand Logo"}),Y.jsx("use",{href:"#logosource-weekand"})]})}let tF={white:"w1b0kppm",feature:"fdmplmt",brand:"bg7m5af",gray:"g10pb8m0",black:"b10vv41c"};function tH(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,tF[t]),role:"img","aria-label":"Wilton Bulletin Logo",children:[Y.jsx("desc",{children:"Wilton Bulletin Logo"}),Y.jsx("use",{href:"#logosource-wilton-bulletin"})]})}let tz={white:"wbcdyyq",feature:"f1gz8x9",brand:"b1epi1ud",gray:"gtek4oh",black:"b13j1ua5"};function tG(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,tz[t]),role:"img","aria-label":"Statesman Logo",children:[Y.jsx("desc",{children:"Statesman Logo"}),Y.jsx("use",{href:"#logosource-statesman"})]})}let tK={white:"w6k7cdg",feature:"fbxyvts",brand:"b1j2ctmf",gray:"g1uteiv",black:"b3evmol"};function tV(e){let{color:t="default",atomicCx:n="y100"}=e;return Y.jsxs("svg",{viewBox:"0 0 155 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(n,tK[t]),role:"img","aria-label":"Dallas News Logo",children:[Y.jsx("desc",{children:"Dallas News Logo"}),Y.jsx("use",{href:"#logosource-dallasnews"})]})}let tW=Object.freeze(Object.defineProperty({__proto__:null,beaumontenterprise:ey,bigrapidsnews:tc,chron:eT,ctpost:eO,dallasnews:tV,dariennewsonline:eR,educationseattlepi:tT,greenwichtime:eM,hearst:eH,lakecountystar:eX,lmtonline:e$,manisteenews:e1,michigansthumb:eq,middletownpress:e3,milfordmirror:e7,mrt:e5,myjournalcourier:eJ,myplainview:tu,mysa:tt,newcanaannewsonline:tr,newstimes:tl,nhregister:to,ourmidland:e4,premiumchron:eV,premiumctpost:eA,premiummysa:tb,premiumsfgate:tk,recordpatriot:tm,registercitizen:th,seattlepi:ty,sfgate:tE,sheltonherald:tL,smallbusinesschron:eE,stamfordadvocate:tA,statesman:tG,theheraldreview:eG,thehour:tO,theintelligencer:eU,theridgefieldpress:tw,thetelegraph:eb,timesunion:tR,trumbulltimes:tU,weekand:tM,wiltonbulletin:tH,workchron:ek,yourconroenews:eL},Symbol.toStringTag,{value:"Module"}));function tq(e,t){return function(n){let r=t[n[e]];if(!(r instanceof Function))return r;let i=r(n);return Array.isArray(i)?i.flat():i}}let tY=tq("variant",{primary:["y32px","sm:y48px"],primaryLarge:["sm:x222px","md:x233px","y32px","sm:y72px","md:y96px"],primaryFixed:e=>{let{fallbackVariant:t}=e;return["y33","x100","jcc",t&&["sm:px40","md:px56","lg:p0"]]},badge:["y40px"],footer:["y48px","mw350px"],inline:["y11px","xa","inline"]}),tJ=tq("variant",{primary:["br4","x130px","sm:x200px"],primaryLarge:["br4","x130px","md:x200px"],badge:["br50","x40px"],footer:["br4","x200px","sm:x130px"]}
1),tZ=tq("color",{brand:["c-primary","b-primary"],black:["c-white","bg-black"],white:["c-black","bg-white"],gray:["c-white","bg-gray500","b-transparent"]});function tX(e){let{siteCode:t,variant:n,fallbackVariant:r,children:i,isMasthead:o,bx:a,href:l,color:s,...c}=e,d=tW[t],u=o&&["premiumchron","premiummysa","newcanaannewsonline","nhregister","registercitizen","theridgefieldpress","michigansthumb","wiltonbulletin","recordpatriot","beaumontenterprise","middletownpress","statesman","dallasnews"].includes(t),p=!(i||d),m=l?t=>Y.jsx(en,{...t,"aria-label":e["aria-label"]||null,href:l}):e=>Y.jsx(X.div,{...e}),g=null==s?void 0:s.replace("transparent","");return Y.jsx(m,{cx:["f","aic",p&&["border","jcc"],...p?[tY({variant:n,fallbackVariant:r}),tJ(e)]:[tY({variant:n,fallbackVariant:r})],p&&tZ({color:g}),...null!=a?a:[]],children:d?Y.jsx(d,{atomicCx:u?["y140","sm:y150"]:["y100"],color:g,...c}):i||Y.jsx("p",{className:Z("uiLabel1","ttu","fw700"),children:"primary"===n||"primaryLarge"===n||"footer"===n?"Brand Logo":"B"})})}let tQ=tq("fallbackVariant",{height100:["y100"],default:[]});function t$(e){let t=ew();return t?Y.jsx(X.div,{cx:["bg-gray200","f","aic","jcc","x100","rel",tQ(e),"ratio1x1"===e.crop?["ar1-1","pt100pc"]:["ar3-2","pt66pc"]],children:Y.jsx(tX,{...e,siteCode:t,variant:"primaryFixed",color:"gray",bx:["abs","top","bottom","ma"]})}):null}function t0(e){let{ext:t,sourceSizes:n,srcset:r,media:i}=e;return Y.jsx("source",{type:t?"image/".concat(t):void 0,media:i?"(".concat(i,")"):void 0,sizes:t&&n?n:void 0,srcSet:r})}function t1(e){var t,n,r,i;let o,{debug:a=!1,className:l="",loading:s="lazy",fallback:c=!0,loader:d="hdnux",display:u="block",size:p="twoColumn",objectFit:m="cover",objectPosition:g="center",backgroundColor:h="gray",url:f,width:w,height:x,orientation:b,variant:v,crop:y,href:C,noFollow:T,alt:_,caption:k,bx:S,fallbackVariant:E,external:I,eid:L,gtmData:j,srcSetCrops:A,dirPath:N,fetchpriority:O,...P}=e,R=et("Head"),D=eo(),U=function(e,t,n,r,i){if(!t||!e)return{};let o=ea(t);if("default"===e)return{default:{srcset:eg[e]({src:t})}};if("hdnux"===e){let e=function(e,t){if(!t)return e;let n={headshot:80,tileSquare:160,tileLandscape:240,grid:360,grid3:480,grid5:360,leadWide:480,leadSingle:720,leadTopic:960,leadSpotlight:960,leadHugeNews:720,largeTopic:960,airy:960,centerpiece:960,standardCenterpiece:240,specialPackageLead:960,specialPackage:360,smallThumbn
1ail:360,thumbnail:480,smallFeature:640,featureCard:640,twoColumn:960,oneColumn:1440,fullWidth:2400}[t];return n?e.filter(e=>e<=n):e}(es,i);return{webp:{ext:"webp",srcset:e.map(e=>"".concat(el({src:t,width:e,crop:n,orientation:r})," ").concat(e,"w")).join(", ")},default:{ext:o.replace("jpg","jpeg"),srcset:e.map(e=>"".concat(el({src:t,width:e,crop:n,orientation:r,useExt:!0})," ").concat(e,"w")).join(", ")}}}return{}}(d,f||"",null!=y?y:void 0,null!=b?b:"landscape",null!=p?p:void 0),B=(t=f||"",n=A||y||void 0,r=null!=b?b:"landscape",(i=null!=p?p:void 0)&&t&&i in ed&&d&&"default"!==d?ed[i].reduce((e,i)=>{var a;let l,[s,c]=i;if(!c)return e;let d=function(e,t){if(e)return Array.isArray(e)?e.length>=2&&t&&t<768?e[1]:e[0]:e}(n,s),u=c.map((e,n,i)=>"".concat(el({src:t,width:e,crop:null!=d?d:void 0,orientation:r,useExt:!1})).concat(i.length>1?" ".concat(n+1,"x"):"")).join(", "),p=c[0],{srcMedia:m,linkMedia:g}=(l=((a=o)?"(max-width: ".concat(a-1,"px)"):"")+(a&&0!==s?" and ":"")+(0!==s?"(min-width: ".concat(s,"px)"):""),0!==s?{srcMedia:"min-width: ".concat(s,"px"),linkMedia:l}:a?{srcMedia:"max-width: ".concat(a-1,"px"),linkMedia:l}:{srcMedia:null,linkMedia:l});return o=s,e.push({srcMedia:m,linkMedia:g,srcSet:u,media:s,size:p}),e},[]):[]),M=p&&p in eu?eu[p]:"";if(function(e){if(!(null!=e&&e.length))return!1;let t=[...Object.values(em).flat(),"bg-white","bg-black","x100","br50"];return("string"==typeof e?e.split(" "):e).some(e=>t.includes(e))}(l)&&D.debug({human:"Image receives custom classes that conflict with internal classes. You might break the design."},"ImagePropsWarning"),!f)return c?Y.jsx(t$,{fallbackVariant:E,crop:y}):null;if("headshot"===v&&(w=1,x=1),("nameplate"===v||"sponsor"===v)&&(w="auto"),w||x||D.debug({human:"You must provide a width or height",width:w,height:x,url:f},"ImagePropsWarning"),!Object.keys(U).length)return null;if(y){let e=y.match(/^ratio(\d+)x(\d+)/);w=Number(e&&e[1]),x=Number(e&&e[2])}let F={};"number"==typeof w&&"number"==typeof x&&("inline"!==v||"landscape"!==b||"contain"!==m)&&"commerce"!==v&&"inlineTemplate"!==v&&(F.aspectRatio="".concat(w," / ").concat(x)),"number"==typeof w&&"auto"===x&&(F.width="".concat(w,"px"),F.height="auto"),"auto"===w&&"number"==typeof x&&(F.width="auto",F.height="".concat(x,"px")),"text"===v&&(F.height="1em");let H="number"==typeof w&&"number"==typeof x&&w<x,z="flex"===u?"f":u,G=["text"===v||"cobrand"===v||"sponsor"===v?"":"x100","headshot"===v&&"br50","commerce"===v&&"ma","commerce"===v&&H&&["mw350px","mh400px","lg:xa"],("commerce"!==v||H)&&"nameplate"!==v&&"sponsor"!==v?"y100":"","cobrand"===v&&["mh22px"],em[g],"commerce"===v&&H?em.contain:em[m],z,a?["dbsh","tpa","td300"]:"",ep[h]],K=Y.jsxs(Y.Fragment,{children:["eager"===s&&Y.jsxs(R,{children:[!!(null!=B&&B.length)&&B.map((e,t)=>{let{linkMedia:n,srcSet:r}=e;return Y.jsx("link",{rel:"preload",as:"image",media:n||void 0,href:r},t)}),!(null!=B&&B.length)&&Y.jsx("link",{rel:"preload",as:"image",imageSrcSet:U.webp?U.webp.srcset:U.default.srcset,imageSizes:M})]}),Y.jsx(X.div,{bx:S,cx:["rel","x100","carousel"===v&&"ar3-2",z,l&&l,"commerce"===v&&["y100","px20","sm:px0"]],children:Y.jsxs(X.picture,{children:[!!(null!=B&&B.length)&&B.map((e,t)=>{let{srcMedia:n,srcSet:r}=e;return Y.jsx(t0,{ext:"webp",media:n||void 0,sourceSizes:"",srcset:r},t)}),!(null!=B&&B.length)&&U.webp&&Y.jsx(t0,{...U.webp,sourceSizes:M}),Y.jsx(X.img,{...P,alt:_||(null==k?void 0:k.plain)||"",loading:null!=s?s:void 0,fetchPriority:null!=O?O:void 0,src:I?f:void 0,srcSet:U.default.srcset,sizes:M,cx:[...G,"mnh0px","fill"],style:F})]})})]});return C?Y.jsx(en,{"data-eid":L,href:C,noFollow:T,...j&&{...ei(j),"data-item-clicked":"Image","data-element-text":(null==j?void 0:j.elementText)||f||void 0,"data-link-url":(null==j?void 0:j.linkUrl)||C||void 0},children:K}):K}t1.displayName="Image";let t2=e=>"object"==typeof e&&(null==e?void 0:e.type)==="tbody",t3=e=>"object"==typeof e&&(null==e?void 0:e.type)==="tr",t6=e=>"string"==typeof e||"object"==typeof e&&null!==e.type&&["caption","colgroup","col","thead","tbody","tfoot","tr","script","template"].includes(e.type);!function(e){e[e.xs=481]="xs",e[e.sm=768]="sm",e[e.md=928]="md",e[e.lg=1048]="lg",e[e.xl=1320]="xl"}(i||(i={}));let t4="r1udwkp5",t8="r12zgbl0",t5="ruduv2y",t9=a.useLayoutEffect;function t7(e,t){if(!e)return[];switch(t){case"richtext":return[t4,"d1uy5mhj","articleBody"];case"richtextBasic":return[t8,t5];case"richtextWithLegalLinks":return[t8,"lcbaodx"];case"richtextCard":return[t4,"n4l52un","moduleBody"];case"richtextInset":return[t4,"ne6bgoq","articleBody"];case"factbox":return[t4,"uiTextLarge"];case"embed":return["e1ogmilg"];case"bio":return[t8,,t5,"deckSm","fs16","c-gray700"];default:return[]}}function ne(e){let{as:t="div",html:n,serializedReact:r,stylingContext:i="none",bx:o=[],cx:l=[],transformHtml:s,...c}=e,d=eo(),u="string"==typeof n&&s?s(n):n,p=function(e){let t=(0,a.useRef)(null),n=(0,a.useRef)(!1);return t9(()=>{var r;if(!n.current&&(null==(r=null==t?void 0:t.current)?void 0:r.getAttribute("data-server-side-rendered"))!=="true"&&null!=e&&e.match(/<script[\s\S]*?>[\s\S]*?<\/script>/gi)){let r=document.createRange();r.selectNode(t.current);let i=r.createContextualFragment(e);t.current.innerHTML="",t.current.append(i),n.current=!0}},[t,n]),t}(u),m=!(null!=n&&n.match(/applyplatstylingcontext=[\"\']false[\"\']/i)),g={className:Z(...t7(m,i),...l,...o)},h=(0,a.useMemo)(()=>r?function e(t,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if(!(null!=t&&t.type))return null;let{type:l,props:s,key:c}=t;function d(t){return(Array.isArray(t)?t:[t]).map(t=>{try{if("string"==typeof t)return t;if("object"==typeof t)return e(t,n)}catch(e){n.error(e,"CreateChildReactTreeError")}return null})}function u(){if("a"===l)return function(t,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{href:i,target:o,children:l,className:s,...c}=t;if("string"!=typeof l){if(Array.isArray(l)&&0!==l.length)return Y.jsx(en,{href:i,target:o,...c,children:l.map((t,i)=>"string"==typeof t?t:Y.jsx(a.Fragment,{children:e(t,n,r)}
1,i))});if("object"==typeof l)return Y.jsx(en,{href:i,target:o,...c,children:e(l,n,r)})}return Y.jsx(en,{href:i,target:o,...c,children:l})}(s,n,r);if("img"===l&&null!=s&&s.url&&null!=s&&s.width)return(0,a.createElement)(t1,{...s});if("table"===l&&null!=s&&s.children){let e=(Array.isArray(s.children)?s.children:[s.children]).filter(e=>"object"!=typeof e||null===e||"br"!==e.type),{hasTableBody:t,hasTrElement:r,rowChildren:i,otherChildren:o,invalidChildren:u}=(e=>{let t=!1,n=!1,r=[],i=[],o=[];for(let a of e)t6(a)||o.push(a),t2(a)?(t=!0,i.push(a)):t3(a)?(n=!0,r.push(a)):i.push(a);return{hasTableBody:t,hasTrElement:n,rowChildren:r,otherChildren:i,invalidChildren:o}})(e);if(u.length>0){let e=window.location.href;n.error({invalidChildren:u,props:s,key:c,url:e},"TableElementError")}return r&&!t?(0,a.createElement)(l,{...s},...d(o),(0,a.createElement)("tbody",{},...d(i))):(0,a.createElement)(l,{...s},...d(e))}return"string"==typeof(null==s?void 0:s.children)?(0,a.createElement)(l,{...s,key:c}):(0,a.createElement)(l,{...s},...d(null==s?void 0:s.children))}try{return i?Y.jsx("div",{...r,...o,children:u()}):u()}catch(e){return n.error(e,"RecursiveReactFactoryError"),null}}(r,d,g,!0,c):null,[r,g,d]);if(!n&&!r)return null;if(h)return h;let f={...c,...{},className:Z(...t7(m,i),...o,...l),suppressHydrationWarning:!0,ref:p};return(null==u?void 0:u.indexOf("<script "))>-1?(0,a.createElement)(t,f,u):(0,a.createElement)(t,{...f,dangerouslySetInnerHTML:{__html:u}})}var nt=(e=>(e.DEFAULT="default",e.ALTERNATE="alternate",e.ALTERNATE_ACCESSIBLE="alternateaccessible",e.SECONDARY_COLOR="alternateprimary",e))(nt||{}),nn=(e=>(e.PRIMARY="primary",e.SECONDARY="secondary",e.TERTIARY="tertiary",e))(nn||{}),nr=(e=>(e.EXTRALARGE="extralarge",e.LARGE="large",e.LARGERESPONSIVE="largeresponsive",e.SMALL="small",e.AUTO="auto",e.AUTO_UNDERLINED="auto_underlined",e.MANUAL="manual",e))(nr||{});let ni=["td300","cp","f","aic","jcc","disabled:cd","wsn"];function no(e){let{variant:t,size:n}=e;if(t===nn.TERTIARY||"manual"===n)return[];switch(n){case nr.EXTRALARGE:return["px16","py16"];case nr.AUTO:case nr.LARGE:case nr.LARGERESPONSIVE:case nr.SMALL:return["px16","py8"]}return[]}let na=tq("size",{[nr.EXTRALARGE]:e=>{let{size:t,variant:n}=e;return[...no({size:t,variant:n})]},[nr.LARGE]:e=>{let{size:t,variant:n}=e;return[...no({size:t,variant:n})]},[nr.LARGERESPONSIVE]:e=>{let{size:t,variant:n}=e;return[...no({size:t,variant:n})]},[nr.SMALL]:e=>{let{size:t,variant:n}=e;return[...no({size:t,variant:n})]},[nr.AUTO]:e=>{let{size:t,variant:n}=e;return[...no({size:t,variant:n})]}}),nl=tq("size",{[nr.EXTRALARGE]:["buttonLg"],[nr.LARGE]:["buttonLg"],[nr.LARGERESPONSIVE]:["buttonSm","sm:buttonLg"],[nr.SMALL]:e=>{let{isLifestyle:t,isWeekand:n}=e;return["buttonSm",(!t||!n)&&"fs13"]},[nr.AUTO]:e=>{let{isLifestyle:t,isWeekand:n}=e;return["buttonSm",(!t||!n)&&"fs13",(!t||!n)&&"xs:fs16",t||n?"lg:buttonLg":"xs:buttonLg"]},[nr.AUTO_UNDERLINED]:e=>{let{size:t,variant:n}=e;return["underlinedButtonSm","xs:underlinedButtonLg",...no({size:t,variant:n})]}}),ns=tq("variant",{[nn.PRIMARY]:e=>{let{visual:t,active:n,brandTheme:r,usePrimaryColor:i,noHoverAction:o}=e;return[t===nt.ALTERNATE?n&&["bg-gray700"]||["bg-black",!o&&"hover:bg-gray700"]:n&&["o80","bg-primaryAccessible"]||[i?"bg-primary":"bg-primaryAccessible"],"weekand"===r&&"b-white",!o&&"hover:o80","c-white","disabled:bg-gray300","disabled:c-gray600","border","weekand"!==r&&"bn","tac"]},[nn.SECONDARY]:e=>{let{visual:t,active:n,noHoverAction:r}=e,i=[!n&&"bgt","border","disabled:border-gray300","disabled:c-gray600"];switch(t){case nt.ALTERNATE:case nt.ALTERNATE_ACCESSIBLE:return n?["b-white",t===nt.ALTERNATE?"c-black":"c-primaryAccessible","bg-white",...i]:["b-white","c-white","bg-black",!r&&"hover:bg-white",!r&&"hover:c-black",...i];case nt.SECONDARY_COLOR:return["b-primary","c-primary",!r&&"hover:o80",...i];default:return n?["b-black","bg-black","c-white",...i]:["b-black","c-black",!r&&"hover:bg-black",!r&&"hover:c-white",...i]}},[nn.TERTIARY]:e=>{let{visual:t,active:n,noLinkUnderline:r,noHoverAction:i}=e;return[t===nt.ALTERNATE?n&&["c-gray600"]||["c-white"]:n&&["c-gray600"]||["c-black","hover:c-gray600"],"bgt",!r&&"tdu","f","disabled:c-gray400",!i&&t!==nt.ALTERNATE&&"hover:c-gray600",!i&&"hover:o70","bn"]}});var nc=(e=>(e[e.xs=16]="xs",e[e.s=24]="s",e[e.m=32]="m",e[e.l=40]="l",e[e.xl=64]="xl",e[e.xxl=120]="xxl",e))(nc||{});
1function nd(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(t){let{cx:r=[],...i}=t;return e({cx:[...n,...r],...i})}}}let nu=new Proxy({},{get:(e,t)=>"inherit"===t?nd:function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return function(e){let{children:r,className:i,cx:o=[],bx:l=[],...s}=e,c={},d={};Object.keys(s).forEach(e=>{Object.defineProperty(c,e,{get:()=>(d[e]=!0,s[e])})});let u=n.map(e=>"function"==typeof e?e(c):e),p={};return Object.keys(s).forEach(e=>{d[e]||(p[e]=s[e])}),a.createElement(t,{...p,className:Z(...u,...o,...l)},r)}}}),np=tq("variant",{social:["bn","bgt","on","m0","p0","td300","hover:c-primary"],weekandSocial:["bn","bgt","on","m0","p0","td300","hover:o70"],ghost:["c-black","td300","hover:o70"],podcast:["c-white","td300","hover:c-gray200"],chevron:["hover:c-gray600"],grayscale:["c-gray500","hover:c-gray400"],circleChevron:["c-white80","td300","hover:c-white"],arrow:["td300","hover:o80"],circleArrow:["c-black","td300","hover:c-gray600"],alternate:["c-white","td300","hover:o80"],hoverDisabled:[]}),nm=tq("rotation",{90:"rot90",180:"rot180",270:"rot270"}),ng=nu.svg("p0",np,nm);function nh(e){let{size:t,children:n,color:r,rotation:i,bx:o,focusable:a,style:l,variant:s,alt:c,viewBox:d,width:u,height:p,preserveAspectRatio:m,ariaLabel:g}=e;return Y.jsx(ng,{variant:s,width:null!=u?u:t,height:null!=p?p:t,color:r,fill:"none",style:l,bx:o,rotation:i,focusable:a,alt:c,"aria-label":g,preserveAspectRatio:m,viewBox:d,children:n})}function nf(e){let{size:t=nc.m,...n}=e,r="number"!=typeof t?nc[t]:t;return Y.jsxs(nh,{size:r,viewBox:"0 0 16 17",...n,children:[Y.jsx("mask",{id:"mask0_31323_301213",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"17",children:Y.jsx("path",{d:"M16 0.117676H0V16.1177H16V0.117676Z",fill:"white"})}),Y.jsxs("g",{mask:"url(#mask0_31323_301213)",children:[Y.jsx("mask",{id:"mask1_31323_301213",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"17",children:Y.jsx("path",{d:"M15.375 15.4926V0.742556H0.625V15.4926H15.375Z",fill:"white",stroke:"white",strokeWidth:"1.25"})}),Y.jsxs("g",{mask:"url(#mask1_31323_301213)",children:[Y.jsx("path",{d:"M14.1256 4.00278H1.87444C1.18441 4.00278 0.625 4.56216 0.625 5.25219V7H15.375V5.25219C15.375 4.56216 14.8156 4.00278 14.1256 4.00278Z",stroke:"currentColor",strokeWidth:"1.25",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),Y.jsx("path",{d:"M14.25 6.99999H1.75V14.9926H14.25V6.99999Z",stroke:"currentColor",strokeWidth:"1.25",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),Y.jsx("path",{d:"M8 4.0028V14.9926",stroke:"currentColor",strokeWidth:"1.25",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),Y.jsx("path",{d:"M11.0968 4.00281H8L10.0955 1.68684C10.3514 1.40396 10.7152 1.24256 11.0968 1.24256C11.8424 1.24256 12.4467 1.84637 12.4467 2.59121V2.65418C12.4467 3.399 11.8424 4.00281 11.0968 4.00281Z",stroke:"currentColor",strokeWidth:"1.25",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),Y.jsx("path",{d:"M4.90313 4.00281H7.99997L5.9045 1.68684C5.6486 1.40396 5.28478 1.24256 4.90313 1.24256C4.1576 1.24256 3.55322 1.84637 3.55322 2.59121V2.65418C3.55322 3.399 4.1576 4.00281 4.90313 4.00281Z",stroke:"currentColor",strokeWidth:"1.25",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]})]})]})}ng.displayName="SVG",nh.displayName="Icon",nf.displayName="GiftIcon";let nw={variant:nn.PRIMARY,visual:nt.DEFAULT,size:nr.AUTO,isMobileAdhesive:!1};function nx(e){let{children:t,suffix:n}=e;return Y.jsx(X.div,{cx:["f","noshrink",n?"ml8":"mr8"],children:t})}function nb(e){let t={...nw,...e},{size:n,onClick:r,children:i,variant:o,visual:a,prefixIcon:l,suffixIcon:s,isMobileAdhesive:c,usePrimaryColor:d,fontOverride:u,noLinkUnderline:p,active:m,borderRadiusOverride:g,lifestyleBorderRadiusOverride:h,rel:f,brandTheme:w,cx:x,noHoverAction:b,testId:v,...y}=t,C=ef(),T=ew(),_="lifestyle"===C,k="weekand"===T,S=e.href?en:X.button;return Y.jsxs(S,{cx:[...ni,x,na({size:n,variant:o}),u||nl({size:n,variant:o,isLifestyle:_,isWeekand:k}),ns(t),c&&["x100vw","md:xa","md:br2","br0"],_||k?h||"br48px":g||"br2"],onClick:r,role:"button",rel:e.href?f:"","data-testid":v,...y,children:[l&&Y.jsx(nx,{children:l}),i,s&&Y.jsx(nx,{suffix:!0,children:s})]})}function nv(e){let{active:t,onClick:n,children:r}=e;return Y.jsx(nb,{cx:["y32px"],active:t,onClick:n,prefixIcon:Y.jsx(nf,{size:16}),borderRadiusOverride:"br48px",variant:nn.SECONDARY,size:nr.SMALL,children:Y.jsx(ne,{"data-block-type":"text",html:r})})}function ny(e){let{size:t=nc.m,focusable:n,...r}=e,i="number"!=typeof t?nc[t]:t;return Y.jsxs(nh,{size:i,viewBox:"0 0 14 13",...r,tabIndex:n?0:void 0,focusable:n,children:[Y.jsx("path",{id:"Path 5",d:"M2.50195 2.00183L11.4983 10.9981",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round"}),Y.jsx("path",{id:"Path 5_2",d:"M2.50195 10.9982L11.4983 2.00187",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round"})]})}function nC(e){return e?["o70","vv"]:["o0","vh"]}function nT(e){let{isVisible:t,onClick:n,theme:r="dark",forceOpacity:i}=e;return Y.jsx("div",{id:"fullscreen-overlay","aria-label":"overlay",role:"button",tabIndex:0,onClick:n,onKeyDown:function(e){"Enter"===e.key&&n()},className:Z("fix","top","bottom","left","right","z1001","bg-black","td300","tpo","ttfeio",nC(!!t),i)})}function n_(e){let{variant:t,label:n,children:r,bx:i,cx:o,useGap:a=!0,...l}=e;return Y.jsxs("button",{className:Z("bn","bgt","cp","f","aic","jcc","fdc",a&&"g4","c-inherit","c-black","td300","hover:o70",...o||[],...i||[],"hamburgerIcon"===t&&"c15ycr21"),...l,children:[r,Y.jsx("div",{className:Z("f","fdc","g4"),children:n})]})}ny.displayName="CloseIcon",n_.displayName="IconButton";let nk=tq("variant",{gray300:"b-gray300",gray400:"b-gray400",gray500:"b-gray500",medium:"bw2",dark:"b-black",heavy:"bw3",brandColor:"b-primary"}),nS=["default","xs","sm","md","lg","xl"];function nE(e){let{variant:t,orientation:n="horizontal",bx:r,style:i}=e;return Y.jsx(X.div,{cx:[nk({variant:t}),function(e){if(!e||"string"==typeof e&&"horizontal"!==e&&"vertical"!==e)return;if("horizontal"===e)return"bb";if("vertical"===e)return"br";e.default||(e.default="horizontal");let t=[];return nS.forEach((t,n)=>{if(t in e)return;let r=e[nS[n-1]];e[t]=r}),nS.forEach((n,r)=>{let i=e[n],o=e[nS[r-1]];if("default"===n)return void t.push("horizontal"===i?"bb":"br");i!==o&&t.push(...("horizontal"===i?["bb","brn"]:["br","bbn"]).map(e=>"".concat(n,":").concat(e)))}),t}(n),"pen"],bx:r,style:i})}let nI={brand:"b1w9v2wm",white:"w2w7kj4",transparentWhite:"t109ag7",gray:"gn5n0uu",black:"b5jfp7f",transparentBlack:"tf90azl"},nL={brand:"b7c5ebo",white:"w15fr26m",transparentWhite:"t12z6vpy",gray:"g7acc3a",black:"b1afp40h",transparentBlack:"tgx0nb9"},nj={brand:"b23h04s",white:"wxq3cku",transparentWhite:"thk3p00",gray:"g1ygdw2a",black:"b1e1tmhj",transparentBlack:"tbouk9n"},nA={brand:"bubi3gv",white:"womhvi",transparentWhite:"t1wt2tvz",gray:"g28tv3a",black:"bf6uqgx",transparentBlack:"t1u2iojp"},nN={brand:"boxxpv7",white:"w1jmiqpz",transparentWhite:"t1ru68l5",gray:"gpao4h0",black:"bm4e4bw",transparentBlack:"tsgoxjf"},nO={brand:"b1s5n9ce",white:"w12j7x6t",transparentWhite:"t9vtid9",gray:"ghce2cp",black:"b1v3zld",transparentBlack:"t14br0gg"},nP={brand:"b1p1psky",white:"wefjif0",transparentWhite:"tiux2qy",gray:"g1i42xqt",black:"bj3b55y",transparentBlack:"tt6il2b"},nR={brand:"byl6gov",white:"wj2mmnd",transparentWhite:"t6tdybn",gray:"g4ywlsk",black:"b1dl7vgl",transparentBlack:"tzgwsog"},nD={brand:"bv4n3n1",white:"w68p4oo",transparentWhite:"t1cuc1ei",gray:"g12x4snr",black:"bh0yz12",transparentBlack:"t107y1i3"},nU={brand:"b647ama",white:"w1ybhq1c",transparentWhite:"t1kr0lxy",gray:"g1tqjqau",black:"b1p2to8k",transparentBlack:"tzf2eg1"},nB={brand:"b1yuthcn",white:"w1rcf850",transparentWhite:"t1p0gsr2",gray:"gdhhloe",black:"b1l0ajqk",transparentBlack:"tkgjt1b"},nM={brand:"b1jfuf3x",white:"w1kmwkie",transparentWhite:"t1m1wbk0",gray:"g14f0ppr",black:"b11d2uxf",transparentBlack:"tj89r2t"},nF={brand:"b1l42ixc",white:"w1vwh0on",transparentWhite:"t1sxiqhx",gray:"g9vz7ow",black:"bbt68vz",transparentBlack:"t19ygi5j"},nH={brand:"bpedehu",white:"w922dnm",transparentWhite:"t19pfjtz",gray:"gfnqutq",black:"buzx8oi",transparentBlack:"t1n1fqc4"},nz={brand:"be1f59o",white:"weaqtca",transparentWhite:"t12534b",gray:"g1kqoj9n",black:"b175uom0",transparentBlack:"t1y7lvlk"},nG={brand:"b1n7d4y1",white:"wci26b2",transparentWhite:"tz2nu3v",gray:"g82mker",black:"b1u2c670",transparentBlack:"t1nrfout"},nK={brand:"byxgtek",white:"wahitis",transparentWhite:"t779bo6",gray:"g1w1ro7n",black:"b7jzszz",transparentBlack:"ttk6tqu"},nV={brand:"bxbeiny",white:"w198tph9",transparentWhite:"tawr232",gray:"gmjx4t",black:"b1w1h1wl",transparentBlack:"t18es8om"},nW={brand:"b1n4rq7e",white:"w118s5pa",transparentWhite:"t6ukwkj",gray:"gpia4oq",black:"b10n3qmj",transparentBlack:"t3l76c0"},nq={brand:"b1dsy9cb",white:"ww1dr8t",transparentWhite:"tlktj7l",gray:"gydn0mc",black:"bemn20i",transparentBlack:"t142d2y8"},nY={brand:"b16f0vfy",white:"w1nfp020",transparentWhite:"t1f6cara",gray:"g1uhjh6k",black:"b1kw5s9q",transparentBlack:"t13awmzv"},nJ={brand:"b10um8dp",white:"w1oksh63",transparentWhite:"t1fp7y2n",gray:"gq25jz1",black:"b6v0brb",transparentBlack:"t1r303nq"},nZ={brand:"b1ct7p0s",white:"w145awn5",transparentWhite:"tyse64r",gray:"g1agq7dq",black:"b1sjj3q8",transparentBlack:"t11yu5v3"},nX={brand:"b10szo5x",white:"w1vahjff",transparentWhite:"tww88vq",gray:"glrol3f",black:"b1yu4ogy",transparentBlack:"tra8460"},nQ={brand:"bvr9cvq",white:"w3ngvck",transparentWhite:"tdtbofk",gray:"g1h92avr",black:"bvvc1xi",transparentBlack:"t101twjq"}
1,n$={brand:"b1etia4a",white:"w12mqwt6",transparentWhite:"t13p46vs",gray:"g1y06o9v",black:"b1nq6fz0",transparentBlack:"tyh7anb"},n0={brand:"b136apht",white:"w9hfhuv",transparentWhite:"tjixvod",gray:"gdgh0ru",black:"b12m413b",transparentBlack:"t1ccj63q"},n1={brand:"b1ty70fe",white:"w1s9dp18",transparentWhite:"taxv2x6",gray:"g12yx754",black:"b19lfdvl",transparentBlack:"t1lwocga"},n2={brand:"b1b6tkur",white:"w6n7wm1",transparentWhite:"t1c3yqk3",gray:"g17fyg28",black:"b1ymxzb2",transparentBlack:"tu2cuwz"},n3={brand:"b1n1x340",white:"wz39y1j",transparentWhite:"t17ys264",gray:"gqcgas2",black:"b131cmb5",transparentBlack:"t1cfw24v"},n6={brand:"bwr9ri6",white:"w4a33nn",transparentWhite:"t17vutx",gray:"g1lytdng",black:"b1139azd",transparentBlack:"t1ud82s9"},n4={brand:"b1c6j9x2",white:"w1j3dcdr",transparentWhite:"t1cq89uy",gray:"gdeufy4",black:"bnfh4oi",transparentBlack:"t9wzyyf"},n8={brand:"bkfdpfg",white:"wog5t68",transparentWhite:"trco0i8",gray:"g1gslkf",black:"b1lb5pht",transparentBlack:"tc9swr8"},n5={brand:"bwl7rqy",white:"w1qmfhrx",transparentWhite:"t1d04wc8",gray:"gv9obc9",black:"bfz06c2",transparentBlack:"t1vc3vmu"},n9={brand:"behxeib",white:"w4ugx3p",transparentWhite:"t2hbkq4",gray:"g1tr4rbh",black:"b10wubb",transparentBlack:"tnypq0n"},n7={brand:"b1kr9we3",white:"w1vw9xbr",transparentWhite:"t93xe0q",gray:"g1v5s3xj",black:"b11udwyd",transparentBlack:"t1nh8jf7"},re={brand:"bjbzt4o",white:"w9g3rkn",transparentWhite:"tm0czjs",gray:"g1oofbm0",black:"b10infiz",transparentBlack:"tzl943g"},rt={brand:"b1sl74j3",white:"w1okh533",transparentWhite:"t1b43lej",gray:"g15j1c94",black:"b1el3ite",transparentBlack:"t1ki6uzm"},rn={brand:"belx9mh",white:"w61ralx",transparentWhite:"t1ab0bfl",gray:"gay6pbl",black:"bxj615t",transparentBlack:"tt10j00"},rr={brand:"b6bm15l",white:"w13iguxd",transparentWhite:"t1q0j2gq",gray:"g770sxb",black:"b1y7czky",transparentBlack:"tpmpq02"},ri={brand:"bdpo7ne",white:"ws0shyf",transparentWhite:"tnkieg2",gray:"g1pom2ad",black:"b1a5mjhv",transparentBlack:"tw4zcgy"},ro=Object.freeze(Object.defineProperty({__proto__:null,beaumontenterprise:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z(nQ[t],"y100"),role:"img","aria-label":"Beaumont Enterprise Logo",children:[Y.jsx("desc",{children:"Beaumont Enterprise Logo"}),Y.jsx("use",{href:"#logosource-beaumont-enterprise-badge"})]})},bigrapidsnews:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",rt[t]),role:"img","aria-label":"Pioneer Logo",children:[Y.jsx("desc",{children:"Pioneer Logo"}),Y.jsx("use",{href:"#logosource-pioneer-badge"})]})},chron:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 99 100",width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",nI[t]),role:"img","aria-label":"Chron Logo",children:[Y.jsx("desc",{children:"Chron Logo"}),Y.jsx("use",{href:"#logosource-chron-badge"})]})},ctpost:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",nD[t]),role:"img","aria-label":"CT Post Logo",children:[Y.jsx("desc",{children:"CT Post Logo"}),Y.jsx("use",{href:"#logosource-ctpost-badge"})]})},dallasnews:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:n,height:n,className:Z(ri[t],"y100"),fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":"Dallas News Logo",children:[Y.jsx("desc",{children:"Dallas News Logo"}),Y.jsx("use",{href:"#logosource-dallasnews-badge"})]})},dariennewsonline:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",nq[t]),role:"img","aria-label":"Darien Times Logo",children:[Y.jsx("desc",{children:"Darien Times Logo"}),Y.jsx("use",{href:"#logosource-darien-times-badge"})]})},educationseattlepi:function(e){let{size:t}=e;return Y.jsxs("svg",{viewBox:"0 0 127 130",width:t,height:t,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100"),role:"img","aria-label":"Seattle Post-Intelligencer Logo",children:[Y.jsx("desc",{children:"Seattle Post-Intelligencer Logo"}),Y.jsx("use",{href:"#logosource-seattlepi-badge"})]})}
1,greenwichtime:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",nM[t]),role:"img","aria-label":"Greenwich Time Logo",children:[Y.jsx("desc",{children:"Greenwich Time Logo"}),Y.jsx("use",{href:"#logosource-greenwich-time-badge"})]})},lakecountystar:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",n9[t]),role:"img","aria-label":"Lake County Star Logo",children:[Y.jsx("desc",{children:"Lake County Star Logo"}),Y.jsx("use",{href:"#logosource-lake-county-star-badge"})]})},lmtonline:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",n0[t]),role:"img","aria-label":"LMT Online Logo",children:[Y.jsx("desc",{children:"LMT Online Logo"}),Y.jsx("use",{href:"#logosource-lmt-online-badge"})]})},manisteenews:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",re[t]),role:"img","aria-label":"News Advocate Logo",children:[Y.jsx("desc",{children:"News Advocate Logo"}),Y.jsx("use",{href:"#logosource-news-advocate-badge"})]})},michigansthumb:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",n5[t]),role:"img","aria-label":"Huron Daily Tribune Logo",children:[Y.jsx("desc",{children:"Huron Daily Tribune Logo"}),Y.jsx("use",{href:"#logosource-huron-daily-tribune-badge"})]})},middletownpress:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",nV[t]),role:"img","aria-label":"Middletown Press Logo",children:[Y.jsx("desc",{children:"Middletown Press Logo"}),Y.jsx("use",{href:"#logosource-middletown-press-badge"})]})},milfordmirror:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",nZ[t]),role:"img","aria-label":"Milford Mirror Logo",children:[Y.jsx("desc",{children:"Milford Mirror Logo"}),Y.jsx("use",{href:"#logosource-milford-mirror-badge"})]})},mrt:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",n1[t]),role:"img","aria-label":"Midland Reporter Telegram Logo",children:[Y.jsx("desc",{children:"Midland Reporter Telegram Logo"}),Y.jsx("use",{href:"#logosource-midland-reporter-badge"})]})},myjournalcourier:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",n6[t]),role:"img","aria-label":"Journal Courier Logo",children:[Y.jsx("desc",{children:"Journal Courier Logo"}),Y.jsx("use",{href:"#logosource-journal-courier-badge"})]})},myplainview:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",n$[t]),role:"img","aria-label":"Plainview Herald Logo",children:[Y.jsx("desc",{children:"Plainview Herald Logo"}),Y.jsx("use",{href:"#logosource-plainview-herald-badge"})]})},mysa:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{width:n,height:n,viewBox:"0 0 101 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",nL[t]),role:"img","aria-label":"MySA Logo",children:[Y.jsx("desc",{children:"MySA Logo"}),Y.jsx("use",{href:"#logosource-mysa-badge"})]})},newcanaannewsonline:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",nY[t]),role:"img","aria-label":"New Canaan Advertiser Logo",children:[Y.jsx("desc",{children:"New Canaan Advert
1iser Logo"}),Y.jsx("use",{href:"#logosource-new-canaan-advertiser-badge"})]})},newstimes:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",nF[t]),role:"img","aria-label":"News Times Logo",children:[Y.jsx("desc",{children:"News Times Logo"}),Y.jsx("use",{href:"#logosource-news-times-badge"})]})},nhregister:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",nz[t]),role:"img","aria-label":"New Haven Register Logo",children:[Y.jsx("desc",{children:"New Haven Register Logo"}),Y.jsx("use",{href:"#logosource-new-haven-register-badge"})]})},ourmidland:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",n7[t]),role:"img","aria-label":"Midland Daily News Logo",children:[Y.jsx("desc",{children:"Midland Daily News Logo"}),Y.jsx("use",{href:"#logosource-midland-daily-news-badge"})]})},premiumchron:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{width:n,height:n,viewBox:"0 0 101 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",nP[t]),role:"img","aria-label":"Houston Chronicle Logo",children:[Y.jsx("desc",{children:"Houston Chronicle Logo"}),Y.jsx("use",{href:"#logosource-houston-chronicle-badge"})]})},premiumctpost:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",nU[t]),role:"img","aria-label":"CT Insider Logo",children:[Y.jsx("desc",{children:"CT Insider Logo"}),Y.jsx("use",{href:"#logosource-ct-insider-badge"})]})},premiummysa:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{width:n,height:n,viewBox:"0 0 101 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",nR[t]),role:"img","aria-label":"San Antonio Express News Logo",children:[Y.jsx("desc",{children:"San Antonio Express News Logo"}),Y.jsx("use",{href:"#logosource-san-antonio-express-news-badge"})]})},premiumsfgate:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{width:n,height:n,viewBox:"0 0 101 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",nA[t]),role:"img","aria-label":"San Francisco Chronicle Logo",children:[Y.jsx("desc",{children:"San Francisco Chronicle Logo"}),Y.jsx("use",{href:"#logosource-sfchronicle-badge"})]})},recordpatriot:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",rn[t]),role:"img","aria-label":"Record Patriot Logo",children:[Y.jsx("desc",{children:"Record Patriot Logo"}),Y.jsx("use",{href:"#logosource-record-patriot-badge"})]})},registercitizen:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",nW[t]),role:"img","aria-label":"Register Citizen Logo",children:[Y.jsx("desc",{children:"Register Citizen Logo"}),Y.jsx("use",{href:"#logosource-register-citizen-badge"})]})},seattlepi:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",nj[t]),role:"img","aria-label":"Seattle Post-Intelligencer Logo",children:[Y.jsx("desc",{children:"Seattle Post-Intelligencer Logo"}),Y.jsx("use",{href:"#logosource-seattlepi-badge"})]})},sfgate:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{width:n,height:n,viewBox:"0 0 101 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",nN[t]),role:"img","aria-label":"SF Gate Logo",children:[Y.jsx("desc",{children:"SF Gate Logo"}),Y.jsx("use",{href:"#logosource-sfgate-badge"})]})},sheltonherald:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",nX[t]),role:"img","aria-label":"Shelton Herald Logo",children:[Y.jsx("desc",{children:"Shelton Herald Logo"}),Y.jsx("use",{href:"#logosource-shelton-herald-badge"})]})},smallbusiness:function(e){let{size:t}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:t,height:t,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100"),role:"img","aria-label":"Chron Logo",children:[Y.jsx("desc",{children:"Chron Logo"}),Y.jsx("use",{href:"#logosource-smallbusinesschron-badge"})]})}
1,stamfordadvocate:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{width:n,height:n,viewBox:"0 0 101 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",nB[t]),role:"img","aria-label":"Stamford Advocate Logo",children:[Y.jsx("desc",{children:"Stamford Advocate Logo"}),Y.jsx("use",{href:"#logosource-stamford-advocate-badge"})]})},statesman:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:n,height:n,className:Z(rr[t],"y100"),fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":"Statesman Logo",children:[Y.jsx("desc",{children:"Statesman Logo"}),Y.jsx("use",{href:"#logosource-statesman-badge"})]})},theheraldreview:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",n8[t]),role:"img","aria-label":"Herald Review Logo",children:[Y.jsx("desc",{children:"Herald Review Logo"}),Y.jsx("use",{href:"#logosource-herald-review-badge"})]})},thehour:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",nH[t]),role:"img","aria-label":"The Hour Logo",children:[Y.jsx("desc",{children:"The Hour Logo"}),Y.jsx("use",{href:"#logosource-the-hour-badge"})]})},theintelligencer:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",n3[t]),role:"img","aria-label":"The Intelligencer Logo",children:[Y.jsx("desc",{children:"The Intelligencer Logo"}),Y.jsx("use",{href:"#logosource-the-intelligencer-badge"})]})},theridgefieldpress:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",nJ[t]),role:"img","aria-label":"Ridgefield Press Logo",children:[Y.jsx("desc",{children:"Ridgefield Press Logo"}),Y.jsx("use",{href:"#logosource-ridgefield-press-badge"})]})},thetelegraph:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",n4[t]),role:"img","aria-label":"The Telegraph Logo",children:[Y.jsx("desc",{children:"The Telegraph Logo"}),Y.jsx("use",{href:"#logosource-the-telegraph-badge"})]})},timesunion:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{width:n,height:n,viewBox:"0 0 101 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",nO[t]),role:"img","aria-label":"Times Union Logo",children:[Y.jsx("desc",{children:"Times Union Logo"}),Y.jsx("use",{href:"#logosource-timesunion-badge"})]})},trumbulltimes:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",nG[t]),role:"img","aria-label":"Trumbull Times Logo",children:[Y.jsx("desc",{children:"Trumbull Times Logo"}),Y.jsx("use",{href:"#logosource-trumbulltimes-badge"})]})},weekand:function(e){let{size:t}=e;return Y.jsxs("svg",{width:t,height:t,viewBox:"0 0 101 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100"),role:"img","aria-label":"Weekand Logo",children:[Y.jsx("desc",{children:"Weekand Logo"}),Y.jsx("use",{href:"#logosource-weekand-badge"})]})},wiltonbulletin:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",nK[t]),role:"img","aria-label":"Wilton Bulletin Logo",children:[Y.jsx("desc",{children:"Wilton Bulletin Logo"}),Y.jsx("use",{href:"#logosource-wilton-bulletin-badge"})]})},workchron:function(e){let{size:t}=e;return Y.jsxs("svg",{viewBox:"0 0 98 131",width:t,height:t,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100"),role:"img","aria-label":"Chron Logo",children:[Y.jsx("desc",{children:"Chron Logo"}),Y.jsx("use",{href:"#logosource-workchron-badge"})]})}
1,yourconroenews:function(e){let{color:t="brand",size:n}=e;return Y.jsxs("svg",{viewBox:"0 0 101 100",width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Z("y100",n2[t]),role:"img","aria-label":"The Courier Logo",children:[Y.jsx("desc",{children:"The Courier Logo"}),Y.jsx("use",{href:"#logosource-the-courier-badge"})]})}},Symbol.toStringTag,{value:"Module"}));function ra(e){let{siteCode:t,bx:n,href:r,size:i,color:o,...a}=e,l="brand";switch(o){case"white":case"whiteText":case"feature":l="white";break;case"transparentWhite":l="transparentWhite";break;case"gray":l="gray";break;case"brand":case"happyPlace":l="brand";break;case"black":l="black";break;case"transparentBlack":l="transparentBlack"}let s=!t||"unknown"===t||"default"===t,c=ro[t],d=r?t=>Y.jsx(en,{...t,"aria-label":e["aria-label"]||null,href:r}):e=>Y.jsx("div",{...e});return Y.jsx(d,{className:Z("f","aic",...null!=n?n:[]),children:Y.jsx("div",{id:"badge-logo",children:typeof c>"u"||s?Y.jsx(()=>Y.jsx("div",{className:Z(["f","aic","border","jcc","p8"]),children:Y.jsx("p",{className:Z("uiLabel1","ttu","fw700"),children:"H"})}),{}):Y.jsx(c,{siteCode:t,size:i,color:l,...a})})})}function rl(e){let{cx:t=[],size:n="medium",variant:r="regular",ringColor:i}=e;return Y.jsx(X.div,{cx:["simple"===r?"s1hoddcm":"rlryak6",i||("simple"===r?"b-white":"b-primary"),"small"===n?"sq5xldy":"m1vce7vn","c-primary","border",...t],role:"alert","aria-live":"polite","aria-busy":!0,"aria-label":"Content is loading, please wait."})}function rs(e){let{size:t=nc.m,direction:n,flip:r,...i}=e,o="number"!=typeof t?nc[t]:t,a=["tpt","td100","ttfl"];return Y.jsx(Y.Fragment,{children:Y.jsxs(nh,{size:o,variant:"chevron",viewBox:"0 0 8 14",...i,children:[Y.jsx("path",{d:"M1.64558 0.700159C1.3527 0.407255 0.877829 0.407236 0.584925 0.700118C0.29202 0.993 0.292002 1.46787 0.584884 1.76078L1.64558 0.700159ZM6.35399 7.53033L6.8843 8.06068L7.945 7.00006L7.41469 6.46971L6.35399 7.53033ZM0.584884 1.76078L6.35399 7.53033L7.41469 6.46971L1.64558 0.700159L0.584884 1.76078Z",fill:"currentColor",className:Z("r1rpzmwd",...a,r&&"rot90")}),Y.jsx("path",{d:"M1.64558 13.2998C1.3527 13.5927 0.877829 13.5928 0.584925 13.2999C0.29202 13.007 0.292002 12.5321 0.584884 12.2392L1.64558 13.2998ZM6.35399 6.46967L6.8843 5.93932L7.945 6.99994L7.41469 7.53029L6.35399 6.46967ZM0.584884 12.2392L6.35399 6.46967L7.41469 7.53029L1.64558 13.2998L0.584884 12.2392Z",fill:"currentColor",className:Z("l1aso11h",...a,r&&"-rot90")})]})})}rs.displayName="ChevronIcon";var rc=(e=>(e.EMAIL="email",e.NUMBER="number",e.TEXT="text",e.PASSWORD="password",e.URL="url",e.SEARCH="search",e.IMAGE="image",e.PHONE="tel",e.SUBMIT="submit",e))(rc||{});let rd=tq("brandTheme",{weekand:e=>{let{placement:t}=e;return["b-gray300","masthead"===t?["c-gray700","br","y37px"]:"y40px"]},default:e=>{let{borderAllSides:t}=e;return["y40px","b-gray400","c-gray600",t?"br":"brn"]}}),ru=a.forwardRef((e,t)=>{let{placeholder:n,id:r,label:i,name:o,width:a,value:l,isInvalid:s,inputValue:c,isDisabled:d,isProcessing:u,isReadOnly:p,onBlur:m,onChange:g,inputMessage:h,required:f=!1,labelIsVisible:w=!0,type:x=rc.TEXT,isLifestyle:b,variant:v,isInline:y,pattern:C,borderAllSides:T=!0,extraRightPadding:_=!1,...k}=e,S="weekand"===ew()?"weekand":"default",E=g||(e=>{c&&(c.current=e.target.value)});return Y.jsxs("div",{style:{width:a},children:[w&&Y.jsxs(Y.Fragment,{children:[Y.jsxs(X.label,{htmlFor:r,cx:["l1hmt1um","c-black","fw700","pb4","inline-block"],children:[i,f&&Y.jsx(X.span,{cx:["c-alert","ml2"],children:"*"})]}),Y.jsx("br",{})]}),Y.jsxs(X.div,{cx:["f","fdr","aic","rel","x100"],children:[Y.jsx(X.input,{pattern:C,ref:t,type:x,value:l,"aria-label":i,required:f,disabled:d||p||u,placeholder:n,name:o,id:null!=r?r:o,onChange:E,onBlur:m,"aria-invalid":s?"true":"false","aria-readonly":p?"true":"false",cx:[b?"br25px-left":"btlr2","bw1","uiTextSmall","pl16","x100","py0",_&&(u?"pr56":"pr32"),!_&&(u?"pr40":"pr16"),"on","bt","bb","bl","hover:border-focus","disabledWhiteBackground"===v?["disabled:border-gray500","disabled:c-gray500","disabled:bg-white","disabled:cna"]:["disabled:border-gray400","disabled:c-gray400","d1b1mjzz"],"i1ijlb9y",s&&"i170x6l5",b&&"toclp",rd({brandTheme:S,placement:v,borderAllSides:T})],...k}),u&&Y.jsx(rl,{cx:["abs",_?"right24":"right8"]})]}),h&&Y.jsx(X.div,{cx:["i17av04c","lh10","c-gray600","fw400"],children:h})]})});function rp(e){let{size:t=nc.m,variant:n,...r}=e,i="number"!=typeof t?nc[t]:t;return Y.jsx(nh,{size:i,viewBox:"0 0 14 15",...r,children:Y.jsx("path",{d:"M2 7.5L5.5 11L11.3333 4",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})})}function rm(e){let{children:t}=e;
1return Y.jsx(X.div,{cx:["x100","uiTextSmall"],children:t})}function rg(e){let{msg:t}=e;return Y.jsxs(X.div,{role:"alert","aria-live":"assertive",cx:["f","g4","pb4","aie"],children:[Y.jsx(X.span,{cx:["uiLabel2","fw700","ff-fontD"],children:"Enter Phone Number"}),Y.jsx(X.span,{cx:["c-alert","wsn","uiTextExtraSmall"],children:t||"Signup failed. Please try again later."})]})}function rh(e){let{successMessageColored:t,successMessageGray:n}=e;return Y.jsxs(X.div,{role:"alert","aria-live":"assertive",cx:["f","aic","y40px"],children:[Y.jsxs(X.div,{cx:["f","aic","c-primary"],children:[Y.jsx(rp,{size:16,variant:"primary"}),Y.jsx(X.h3,{cx:["uiHeader9","pl4","c-primaryAccessible"],children:Y.jsx(ne,{"data-block-type":"text",html:t})})]}),Y.jsx(X.div,{cx:["pl4"],children:Y.jsx(X.p,{cx:["uiTextLarge","c-gray700"],children:Y.jsx(ne,{as:"span","data-block-type":"text",html:n})})})]})}function rf(e){let{buttonText:t,value:n="",onAppDownloadSignup:r,label:i,processing:o=!1,success:l=!1,successMessageColored:s,successMessageGray:c,error:d=!1,onSignupClickFrontend:u}=e,p=ef(),m=ew(),g="lifestyle"===p||"weekand"===m,[h,f]=(0,a.useState)(n),[w,x]=(0,a.useState)(d),[b,v]=(0,a.useState)(""),[y,C]=(0,a.useState)(o);return(0,a.useEffect)(()=>{x(d)},[d]),(0,a.useEffect)(()=>{C(o)},[o]),Y.jsxs(Y.Fragment,{children:[w&&Y.jsx(rg,{msg:b}),!l&&!w&&Y.jsx(X.label,{cx:["uiLabel2","pb4","block"],htmlFor:"app-download-signup",children:Y.jsx(ne,{"data-block-type":"text",html:i})}),Y.jsxs(X.form,{onSubmit:function(e){if(e.preventDefault(),v(""),x(!1),!(h&&null!==h.match(/^\(\d{3}\) \d{3}-\d{4}$/))){v("Please enter a valid mobile number"),x(!0);return}r&&(C(!0),r(h.replace(/\D/g,"")))},cx:["f",!l&&"jcc"],children:[!l&&Y.jsx(Y.Fragment,{children:Y.jsx(rm,{children:Y.jsxs(X.div,{cx:["f","jcc","y40px"],children:[Y.jsx(ru,{width:"100%",placeholder:"Phone number",name:"app-download-signup",id:"app-download-signup",type:rc.PHONE,labelIsVisible:!1,label:i,"aria-label":i,isLifestyle:g,isInline:!1,value:h,onChange:e=>{let t=e.target.value.replace(/\D/g,"");t.length>10&&(t=t.slice(0,10));let n=t.slice(0,3),r=t.slice(3,6),i=t.slice(6,10),o="";t.length>0&&(o="(".concat(n)),t.length>3&&(o+=") ".concat(r)),t.length>6&&(o+="-".concat(i)),f(o)},isProcessing:y,borderAllSides:!1,variant:"disabledWhiteBackground",extraRightPadding:g}),Y.jsx(nb,{size:nr.SMALL,type:"submit",onClick:u,cx:[g&&"ml-16","fs13","z1","y40px"],children:Y.jsx(ne,{"data-block-type":"text",html:t||"Text Link"})})]})})}),l&&Y.jsx(rh,{successMessageColored:s,successMessageGray:c})]})]})}function rw(){let[e,t]=(0,a.useState)(!0);return(0,a.useEffect)(()=>t(!1),[]),e}ru.displayName="".concat(ru.name),rp.displayName="CheckIcon";let rx=e=>{let t=e-new Date().getTime();return t<=0?{allHours:0,minutes:0,seconds:0}:{allHours:Math.floor(t/36e5),minutes:Math.floor(t%36e5/6e4),seconds:Math.floor(t%6e4/1e3)}};function rb(e){let{countdownData:t,shouldDisplayCountdown:n=!0}=e,{countdownBackgroundColor:r,endTimestamp:o,endTimeColor:l,countdownText:s,countdownTextMobile:c}=t,d=new Date(o).getTime(),u=rx(d),[p,m]=(0,a.useState)(n),[g,h]=(0,a.useState)(u),[f,w]=(0,a.useState)(!1),x=rw(),b=(0,a.useRef)(null);return(0,a.useEffect)(()=>{if(x)return;let e=()=>{w(window.innerWidth<i.sm)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[x]),(0,a.useEffect)(()=>(b.current=setInterval(()=>{let e=rx(d);0===e.allHours&&0===e.minutes&&0===e.seconds?(b.current&&clearInterval(b.current),m(!1),h({allHours:0,minutes:0,seconds:0})):h(e)},1e3),()=>{b.current&&clearInterval(b.current)}),[o]),p?Y.jsxs(X.div,{style:{backgroundColor:r||"#f00f00",color:l||"#ffffff"},cx:["f","fdr","jcv","aic","py12","rel","y45px","c-white","x100"],children:[Y.jsx(X.div,{cx:["pl8","lg:pl0","marketingHeader3Sm","lg:marketingHeader2Lg"],children:Y.jsx(ne,{"data-block-type":"text",html:f&&c||s})}),Y.jsxs(X.div,{cx:["f","fdr"],children:[Y.jsxs(X.div,{cx:["f","fdc","jcc","aic","pr8"],children:[Y.jsx(X.span,{cx:["marketingHeader3Lg"],children:g.allHours}),Y.jsx(X.span,{cx:["collectionHeaderTag","ttu"],children:"Hours"})]}),Y.jsx(X.div,{style:{backgroundColor:l||"#ffffff"},cx:["f","fdc","jcc","x1px","y30px"]}),Y.jsxs(X.div,{cx:["f","fdc","jcc","aic","px8"],children:[Y.jsx(X.span,{cx:["marketingHeader3Lg"],children:g.minutes}),Y.jsx(X.span,{cx:["collectionHeaderTag","ttu"],children:"Minutes"})]}),Y.jsx(X.div,{style:{backgroundColor:l||"#ffffff"},cx:["f","fdc","jcc","x1px","y30px"]}),Y.jsxs(X.div,{cx:["f","fdc","jcc","aic","px8","lg:pl8","lg:pr0"],children:[Y.jsx(X.span,{cx:["marketingHeader3Lg"],children:g.seconds}),Y.jsx(X.span,{cx:["collectionHeaderTag","ttu"],children:"Seconds"})]})]})]}):null}function rv(e){let{size:t=nc.m,...n}=e,r="number"!=typeof t?nc[t]:t;return Y.jsxs(nh,{size:r,viewBox:"0 0 33 33",variant:"ghost",...n,children:[Y.jsx("path",{d:"M23.9438 16.4012C23.9086 15.7442 23.8806 15.0755 23.8533 14.4289C23.8268 13.7992 23.7994 13.1481 23.7654 12.5079C23.7163 11.5782 23.2379 10.9009 22.3823 10.5492C22.0801 10.4251 21.7083 10.3595 21.2463 10.3484C20.0226 10.3193 18.7783 10.3059 17.5749 10.2928C17.1465 10.2881 16.7182 10.2832 16.2899 10.2781C16.2792 10.2692 16.2656 10.2643 16.2516 10.2643H15.2541C14.4435 10.2643 13.633 10.2645 12.8225 10.2649C12.6742 10.2649 12.5254 10.2646 12.3771 10.2641C11.9313 10.2626 11.4703 10.2613 11.0169 10.2778C10.3979 10.3003 9.92125 10.4213 9.51697 10.6588C8.69821 11.
11399 8.26147 11.8266 8.21886 12.7C8.19641 13.16 8.18885 13.6278 8.18159 14.0803L8.17684 14.3636C8.17028 14.7433 8.16342 15.123 8.15627 15.5026C8.13323 16.7534 8.10938 18.0468 8.09994 19.3193C8.09613 19.8259 8.12169 20.4252 8.33965 21.0294C8.66199 21.9231 9.25657 22.5008 10.1574 22.7957C10.9955 23.0636 11.8694 23.2009 12.7489 23.2028C14.935 23.2312 17.228 23.2446 19.9265 23.2446H20.4507C20.9466 23.253 21.4417 23.1992 21.9243 23.0843C23.0308 22.7999 23.6865 22.1183 23.8732 21.0585C23.9326 20.6989 23.9738 20.3366 23.9967 19.9728C24.0775 18.869 24.0169 17.7505 23.9582 16.6686L23.9438 16.4012ZM13.7206 22.2402C12.7737 22.2374 11.7619 22.2014 10.7789 21.9591C10.3833 21.8616 10.1004 21.7475 9.87436 21.5931L14.7529 17.0841L14.8891 17.2314C15.0248 17.3782 15.165 17.5298 15.3065 17.68C15.7162 18.1148 16.1181 18.1505 16.5711 17.7922C16.7565 17.6457 16.9326 17.48 17.103 17.3203C17.1674 17.2596 17.2326 17.1985 17.2987 17.1377L22.0736 21.9813C21.9085 22.1176 21.709 22.1462 21.4989 22.1763L21.4385 22.185C21.2127 22.2152 20.9851 22.2292 20.7573 22.2268L19.4218 22.2316C17.553 22.2387 15.6209 22.246 13.7206 22.2402ZM21.1756 12.1742C20.4611 12.8224 19.7224 13.4926 19.018 14.1757C18.3151 14.8573 17.6259 15.5716 16.9594 16.2626C16.6835 16.5486 16.3987 16.8439 16.1174 17.1321L10.1843 11.2841C10.2268 11.2728 10.2689 11.2613 10.3107 11.2497C10.4725 11.2055 10.6252 11.1636 10.7813 11.1328C11.5573 10.9797 12.3564 11.0005 13.1291 11.0209C13.3017 11.0254 13.4742 11.0298 13.6467 11.0327C13.9092 11.0368 14.1763 11.0456 14.4345 11.0541C14.6588 11.0615 14.8907 11.0691 15.1191 11.0737C15.7614 11.0864 16.4037 11.0987 17.046 11.1104C18.4345 11.1365 19.8701 11.1635 21.2818 11.1975C21.4803 11.2085 21.6776 11.2364 21.8714 11.281C21.9476 11.2962 22.0266 11.3119 22.105 11.3256V11.3275C21.7962 11.6111 21.4807 11.8974 21.1755 12.1744L21.1756 12.1742ZM11.1829 19.288C10.5879 19.8567 9.97323 20.4441 9.37889 21.0445C9.13203 20.4592 9.00409 19.9788 8.96599 19.4971C8.8605 18.1608 8.90434 16.8307 8.95861 15.5829C8.9834 15.0139 8.99331 14.4351 9.00292 13.8754C9.00948 13.4949 9.01628 13.1014 9.02765 12.7151C9.03937 12.3052 9.17575 12.0177 9.48075 11.7635L14.1166 16.3405C13.1729 17.386 12.1613 18.3529 11.1826 19.2885L11.1829 19.288ZM22.8699 20.9445C22.8482 21.0619 22.8192 21.1778 22.7831 21.2915C22.7701 21.3356 22.7571 21.3798 22.7448 21.424L22.7261 21.4303L17.812 16.6177C19.5107 14.8565 21.1218 13.3546 22.7332 12.0293C22.7401 12.0605 22.7471 12.0908 22.7541 12.1204C22.7828 12.2277 22.8018 12.3374 22.811 12.4481C22.8654 13.5627 22.9097 14.6628 22.9422 15.4967C22.9727 16.2792 22.9988 17.0513 23.0196 17.7916C23.0457 18.729 23.0486 19.8369 22.8696 20.9447L22.8699 20.9445Z",fill:"#4962B6"}),Y.jsx("rect",{x:"0.551758",y:"1.25",width:"31",height:"31",rx:"15.5",stroke:"#4962B6"})]})}function ry(e){let{size:t=nc.m,...n}=e,r="number"!=typeof t?nc[t]:t;return Y.jsxs(nh,{size:r,viewBox:"0 0 33 33",variant:"ghost",...n,children:[Y.jsx("circle",{xmlns:"http://www.w3.org/2000/svg",cx:"16.0518",cy:"16.75",r:"15.375",stroke:"currentColor",strokeWidth:"1.25"}),Y.jsx("path",{xmlns:"http://www.w3.org/2000/svg",id:"Shape",fillRule:"evenodd",clipRule:"evenodd",d:"M23.3018 11.75H9.80176C9.38754 11.75 9.05176 12.0944 9.05176 12.5192V20.9808C9.05176 21.4056 9.38754 21.75 9.80176 21.75H23.3018C23.716 21.75 24.0518 21.4056 24.0518 20.9808V12.5192C24.0518 12.0944 23.716 11.75 23.3018 11.75ZM11.4429 18.7566L13.6221 16.5774L11.4804 15.0575C11.3455 14.9618 11.3184 14.781 11.4197 14.6536C11.521 14.5263 11.7125 14.5006 11.8473 14.5963L16.5419 17.9279L21.2546 14.596C21.3896 14.5005 21.581 14.5265 21.6821 14.6541C21.7832 14.7816 21.7557 14.9624 21.6206 15.0578L19.5887 16.4944L21.7547 18.6604C21.8674 18.7731 21.8674 18.9557 21.7547 19.0683C21.6421 19.181 21.4594 19.181 21.3468 19.0683L19.1362 16.8578C19.1277 16.8493 19.1198 16.8403 19.1126 16.8311L16.7246 18.5194C16.6159 18.5962 16.4666 18.5961 16.3581 18.5191L14.0953 16.9133C14.0854 16.9276 14.0741 16.9412 14.0614 16.954L11.8509 19.1645C11.7382 19.2772 11.5556 19.2772 11.4429 19.1645C11.3303 19.0518 11.3303 18.8692 11.4429 18.7566Z",fill:"currentColor"})]})}function rC(e){return"weekand"===ew()?Y.jsx(rv,{...e}):Y.jsx(ry,{...e})}function rT(e){let{size:t=nc.m,...n}=e,r="number"!=typeof t?nc[t]:t;return Y.jsxs(nh,{size:r,viewBox:"0 0 33 33",variant:"ghost",...n,children:[Y.jsx("path",{d:"M9.87561 21.1363C9.93681 20.7427 10.1004 20.3917 10.2524 20.1002C10.5088 19.6085 10.8791 19.1896 11.2374 18.7846C11.2959 18.7183 11.3543 18.652 11.4126 18.5856C12.1081 17.7888 12.8274 16.9657 13.6474 16.226C14.2405 15.691 14.9259 15.4862 15.7422 15.5996C15.798 15.6075 15.854 15.6145 15.9102 15.6216C16.231 15.6621 16.534 15.7004 16.8104 15.86C16.8755 15.8947 16.9457 15.9187 17.0184 15.9312C1
17.0619 15.9391 17.1064 15.9381 17.1495 15.9283C17.1925 15.9185 17.2331 15.9001 17.2688 15.8741C17.3111 15.845 17.3471 15.8077 17.3747 15.7644C17.4023 15.7212 17.4209 15.6728 17.4294 15.6222C17.4457 15.5237 17.436 15.4225 17.4013 15.3289C17.3665 15.2353 17.3079 15.1522 17.2313 15.088C16.9899 14.8704 16.6934 14.723 16.3739 14.6619C16.0239 14.5885 15.6698 14.5356 15.3136 14.5036C14.5253 14.4309 13.8397 14.6356 13.2757 15.1125C12.7282 15.5666 12.204 16.0481 11.7052 16.5551C11.1799 17.0999 10.6787 17.6841 10.194 18.249L9.97984 18.4985C9.55814 18.994 9.20937 19.5469 8.94407 20.1406C8.729 20.6155 8.61202 21.1288 8.6001 21.6499V21.6515C8.59816 22.7391 9.01136 23.5612 9.82836 24.0951C10.4637 24.5102 11.1218 24.7182 11.7957 24.7182C12.2087 24.7157 12.6182 24.6418 13.006 24.4997C13.2578 24.4098 13.4822 24.3234 13.6921 24.2355C14.4315 23.926 15.0855 23.4258 15.8125 22.6137C16.2369 22.1398 16.6545 21.6461 17.0585 21.1685C17.2638 20.926 17.4695 20.6838 17.6758 20.4422C17.7446 20.3619 17.8176 20.2821 17.8882 20.2048C18.0098 20.0719 18.1355 19.9343 18.2467 19.7877C18.3614 19.6428 18.4433 19.4749 18.4871 19.2954C18.5007 19.2275 18.4958 19.1571 18.4731 19.0917C18.4502 19.0263 18.4103 18.9682 18.3573 18.9233C18.3001 18.8722 18.2304 18.837 18.1553 18.8213C18.08 18.8057 18.002 18.81 17.9291 18.834C17.7949 18.8787 17.6711 18.9497 17.5649 19.0429C17.4366 19.1639 17.3163 19.2933 17.205 19.43L17.1545 19.4893C16.894 19.7937 16.6341 20.0986 16.3748 20.4038C15.9379 20.9173 15.4861 21.4483 15.0373 21.9666C14.3299 22.7834 13.4482 23.2856 12.4155 23.4592C12.0522 23.5269 11.6785 23.5136 11.321 23.4203C10.2623 23.1253 9.83297 22.5563 9.83914 21.4565C9.84228 21.3639 9.85229 21.2717 9.86911 21.1806L9.87561 21.1363Z",fill:"#4962B6"}),Y.jsx("path",{d:"M22.5842 8.86379C22.1086 8.75146 21.6243 8.75366 21.1557 8.75664L21.0442 8.75716C20.5077 8.75924 20.0067 8.92196 19.5127 9.25452C18.7108 9.78319 17.9718 10.4011 17.3099 11.0965C16.8655 11.5704 16.4005 12.0905 15.8887 12.6864C15.6382 12.9779 15.4071 13.3528 15.5935 13.921C15.5963 13.9294 15.6008 13.9372 15.6066 13.9439C15.6125 13.9505 15.6196 13.956 15.6276 13.9599C15.6356 13.9637 15.6444 13.966 15.6533 13.9665C15.6622 13.967 15.6711 13.9657 15.6795 13.9627C16.1273 13.8021 16.4483 13.6138 16.7197 13.3518L16.7344 13.3376C17.0757 13.0081 17.4288 12.6673 17.7573 12.3138C18.5577 11.4526 19.2781 10.8087 20.0244 10.2871C20.3931 10.0214 20.836 9.87806 21.2907 9.87748C21.6417 9.87099 21.9925 9.90041 22.3374 9.96532C22.8479 10.068 23.4017 10.4424 23.424 11.1851C23.4425 11.7937 23.3194 12.2619 23.0365 12.659C22.9213 12.8206 22.8076 12.9837 22.6938 13.1468C22.3318 13.6661 21.9574 14.2027 21.5382 14.6843C21.0108 15.2902 20.2837 16.0503 19.335 16.5552C18.5575 16.9693 17.6745 17.144 16.7975 17.0574C16.4321 17.0334 16.0865 16.8828 15.8205 16.6316C15.7063 16.5216 15.5838 16.4208 15.454 16.3298C15.2771 16.2084 15.0706 16.2141 14.9401 16.3441C14.8705 16.4054 14.8235 16.4882 14.8067 16.5792C14.7898 16.6703 14.8041 16.7644 14.8471 16.8464C14.9136 16.9904 14.9931 17.1281 15.0847 17.2576C15.3829 17.6579 15.8116 17.9254 16.3957 18.0751C16.6627 18.1426 16.9373 18.1762 17.2127 18.175C17.6369 18.1671 18.0586 18.1086 18.4689 18.0008C19.3061 17.7987 20.0801 17.3521 20.8353 16.6353C22.1102 15.4254 23.1262 14.0149 23.869 12.9213C24.2025 12.4298 24.3866 11.8526 24.3989 11.2592C24.4133 10.7885 24.3755 10.1875 23.9527 9.71554C23.5477 9.2643 23.1005 8.9857 22.5842 8.86379Z",fill:"#4962B6"}),Y.jsx("rect",{x:"1",y:"1.25",width:"31",height:"31",rx:"15.5",stroke:"#4962B6"})]})}function r_(e){let{size:t=nc.m,...n}=e,r="number"!=typeof t?nc[t]:t;return Y.jsxs(nh,{size:r,viewBox:"0 0 33 33",variant:"ghost",...n,children:[Y.jsx("path",{d:"M14.6566 23.6957C13.2509 25.1015 10.9618 25.1015 9.55434 23.6941C8.14855 22.2883 8.14855 19.9992 9.55434 18.5934L13.1676 14.9802C14.5734 13.5744 16.8625 13.5744 18.2699 14.9818C18.3
1074 15.0193 18.345 15.0585 18.3809 15.0977C18.4021 15.1157 18.4217 15.1336 18.443 15.1532C18.5001 15.2104 18.5475 15.2724 18.585 15.3394C18.5899 15.3459 18.5948 15.3508 18.5997 15.3573C18.5981 15.3589 18.5981 15.3589 18.5964 15.3589C18.7695 15.6855 18.7189 16.1002 18.443 16.3745C18.1654 16.6521 17.7474 16.7011 17.4209 16.5231C17.398 16.5476 17.1711 16.3223 17.0519 16.2014L17.0502 16.1998C16.3155 15.4651 15.1301 15.4602 14.3954 16.1933L10.7756 19.8147C10.0409 20.5494 10.0409 21.7397 10.7756 22.4744L10.7773 22.476C11.512 23.2108 12.7023 23.2108 13.437 22.476L15.6167 20.2963C16.3726 20.667 17.2625 20.68 18.025 20.329L14.6566 23.6957ZM23.4457 14.9067L19.8324 18.5199C18.4266 19.9257 16.1375 19.9257 14.7301 18.5183C14.6926 18.4807 14.655 18.4416 14.6191 18.4024C14.5979 18.3844 14.5783 18.3664 14.5587 18.3469C14.5015 18.2897 14.4542 18.2277 14.4166 18.1607C14.4117 18.1542 14.4068 18.1493 14.4036 18.1428C14.4036 18.1428 14.4052 18.1411 14.4068 18.1411C14.2338 17.8146 14.2844 17.3999 14.5603 17.1256C14.8379 16.848 15.2559 16.799 15.5824 16.977C15.6053 16.9525 15.8322 17.1795 15.9514 17.2986L15.953 17.3003C16.6878 18.035 17.8731 18.0415 18.6062 17.3068L22.226 13.687C22.9607 12.9523 22.9607 11.762 22.226 11.0273V11.0257C21.4913 10.2909 20.301 10.2909 19.5663 11.0257L17.3849 13.2037C16.6306 12.8347 15.7391 12.82 14.9767 13.1711L18.3434 9.80438C19.7491 8.39859 22.0382 8.39859 23.4457 9.80601C24.8514 11.2118 24.8514 13.5009 23.4457 14.9067Z",fill:"currentColor"}),Y.jsx("rect",{x:"1.125",y:"1.375",width:"30.75",height:"30.75",rx:"15.375",stroke:"currentColor",strokeWidth:"1.25"})]})}function rk(e){return"weekand"===ew()?Y.jsx(rT,{...e}):Y.jsx(r_,{...e})}function rS(e){let{size:t=nc.m,...n}=e,r="number"!=typeof t?nc[t]:t;return Y.jsxs(nh,{size:r,viewBox:"0 0 33 33",...n,children:[Y.jsx("path",{d:"M15.3653 20.2822V19.0903C15.3653 18.479 15.457 17.9747 15.6404 17.5774C15.8238 17.1648 16.0607 16.8056 16.351 16.5C16.6414 16.1944 16.947 15.9193 17.2679 15.6748C17.6041 15.4303 17.9098 15.1781 18.1848 14.9183C18.4752 14.6585 18.7121 14.3682 18.8954 14.0473C19.0941 13.7111 19.1934 13.3214 19.1934 12.8782C19.1934 12.6948 19.1629 12.4809 19.1017 12.2364C19.0559 11.9766 18.9413 11.7245 18.7579 11.4799C18.5898 11.2354 18.33 11.0368 17.9785 10.884C17.627 10.7159 17.1533 10.6318 16.5573 10.6318C15.9308 10.6318 15.4265 10.7311 15.0444 10.9298C14.6624 11.1285 14.372 11.373 14.1734 11.6633C13.99 11.9537 13.8677 12.2517 13.8066 12.5573C13.7455 12.8477 13.7149 13.0998 13.7149 13.3138C13.7149 13.4207 13.7149 13.5277 13.7149 13.6347C13.7149 13.7264 13.7225 13.8257 13.7378 13.9327H11.308C11.2927 13.8715 11.2775 13.7798 11.2622 13.6576C11.2469 13.5201 11.2393 13.352 11.2393 13.1533C11.2393 12.7254 11.3004 12.2975 11.4226 11.8696C11.5602 11.4265 11.7588 11.0062 12.0186 10.6089C12.2937 10.1963 12.6452 9.83715 13.0731 9.53152C13.5162 9.2106 14.0358 8.95845 14.6318 8.77507C15.2431 8.59169 15.946 8.5 16.7407 8.5C17.4284 8.5 18.0473 8.57641 18.5974 8.72923C19.1476 8.86676 19.6137 9.06542 19.9957 9.32521C20.393 9.585 20.7216 9.89064 20.9814 10.2421C21.2412 10.5783 21.4322 10.9451 21.5545 11.3424C21.692 11.7397 21.7608 12.1523 21.7608 12.5802C21.7608 13.2985 21.6614 13.9097 21.4628 14.414C21.2641 14.9031 21.0043 15.3233 20.6834 15.6748C20.3778 16.011 20.0492 16.3166 19.6977 16.5917C19.3462 16.8515 19.01 17.1113 18.6891 17.3711C18.3682 17.6156 18.1084 17.8983 17.9098 18.2192C17.7111 18.5248 17.6118 18.9069 17.6118 19.3653V20.2822H15.3653ZM15.2278 24.5V21.841H17.7493V24.5H15.2278Z",fill:"#111111"}),Y.jsx("rect",{x:"1.125",y:"1.125",width:"30.75",height:"30.75",rx:"15.375",stroke:"#111111",strokeWidth:"1.25"})]})}function rE(e){let{tooltipTitleText:t="Gift this article",tooltipDescriptionText:n="New subscriber benefit:\nShare this article paywall free.",onFaqClick:r,onCopyClick:i,onEmailClick:o}=e,[l,s]=(0,a.useState)("Copy link");return Y.jsxs(X.div,{cx:["f","fdc","g16"],children:[Y.jsxs(X.div,{cx:["primarySm","f","aic","g8"],children:[Y.jsx(nf,{size:24}),Y.jsx(ne,{"data-block-type":"text",html:t})]}),Y.jsx(ne,{cx:["uiTextSmall","c-gray700"],"data-block-type":"text",html:n}),Y.jsx(nE,{variant:"gray400"}),Y.jsxs(X.div,{cx:["uiTextExtraSmall","f","g16"],children:[Y.jsx(n_,{label:"Email","aria-label":"Email",onClick:o,children:Y.jsx(rC,{size:"s"})}),Y.jsx(n_,{onClick:()=>{s("Copied"),i()},label:l,"aria-label":"Copy",children:Y.jsx(rk,{size:"s"})}),Y.jsx(n_,{label:"FAQ","aria-label":"FAQ",onClick:r,children:Y.jsx(rS,{size:"s"})})]})]})}function rI(e){let{size:t=nc.m,...n}=e,r="number"!=typeof t?nc[t]:t;return Y.jsxs(nh,{size:r,viewBox:"0 0 35 37",...n,children:[Y.jsx("path",{d:"M15.2333 2.39238C16.2187 0.609766 18.7813 0.609767 19.7667 2.39239L33.8017 27.7821C34.7559 29.5083 33.5073 31.625 31.535 31.625H3.46502C1.49267 31.625 0.244148 29.5083 1.19835 27.7821L15.2333 2.39238Z",stroke:"currentColor",strokeWidth:"1.25"}),Y.jsxs("g",{id:"Exclamation",children:[Y.jsx("line",{x1:"17.1289",y1:"9.83411",x2:"17.1289",y2:"21.3365",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),Y.jsx("ellipse",{cx:"17.4993",cy:"25.9825",rx:"1.74682",ry:"1.73444",fill:"
1currentColor"})]})]})}function rL(e){let{tooltipErrorTitleText:t="Oh No...",tooltipErrorDescriptionText:n="You've reached your gift article limit for this period.",tooltipErrorSubDescriptionText:r="Your benefit resets every 30 days."}=e;return Y.jsxs(X.div,{cx:["f","aic","fdc","g16","tac"],children:[Y.jsx(rI,{size:"l"}),Y.jsx(ne,{cx:["primarySm"],"data-block-type":"text",html:t}),Y.jsx(ne,{cx:["uiTextSmall"],"data-block-type":"text",html:n}),Y.jsx(ne,{cx:["uiTextSmallItalic","c-gray600"],"data-block-type":"text",html:r})]})}function rj(e){let{children:t}=e;return Y.jsx(X.div,{cx:["x100"],children:t})}function rA(e){let{variant:t,linkUrl:n}=e,r=Y.jsx(X.p,{children:"Signup failed. Please try again later."});return"alreadyExists"===t&&(r=n?Y.jsxs(X.p,{children:["Account found, sign in"," ",Y.jsx(er,{cx:["c-alert","tdc-alert","bold"],underline:!0,href:n,children:"here"})]}):Y.jsx(X.p,{children:"Account found, please sign in."})),Y.jsx(X.div,{cx:["c-alert","ml4","pb8","f","aic","g4","uiTextSmall"],children:r})}function rN(e){let{type:t,successMessage:n,secondarySuccessMessage:r}=e;return Y.jsxs(Y.Fragment,{children:[Y.jsx(X.h2,{cx:["ma","GiftArticleRegwall"===t&&["marketingHeader5Sm","lg:marketingHeader5Lg","c-black"],"Regwall"===t&&["mw335px","sm:mw622px","marketingHeader5Md","lg:marketingHeader5Lg"]],children:Y.jsx(ne,{"data-block-type":"text",html:n})}),Y.jsx(X.p,{cx:["uiTextSmall","md:uiTextMedium","mw335px","c-gray700","mw335px","sm:mw622px","ma"],children:Y.jsx(ne,{as:"span","data-block-type":"text",html:r})})]})}function rO(e){let{placeholder:t,buttonText:n,onSignupClick:r,onRegwallSignup:i,label:o,labelIsVisible:l,sharpCorners:s,children:c,processing:d=!1,success:u=!1,successMessage:p,secondarySuccessMessage:m,error:g=!1,errorAccountAlreadyExists:h=!1,errorAccountAlreadyExistsUrl:f,type:w}=e,x=a.useRef(void 0),b="lifestyle"===ef();return Y.jsx(Y.Fragment,{children:Y.jsxs(X.form,{onSubmit:function(e){var t;e.preventDefault(),i&&i(null==(t=null==e?void 0:e.target)?void 0:t[0].value)},cx:["f","jcc","fdc","GiftArticleRegwall"===w&&"g8","Regwall"===w&&(u?"g20":"g4")],children:[!u&&Y.jsxs(rj,{children:[Y.jsxs(X.div,{cx:["f","fdr","g4",(l||g)&&"pb4"],children:[l&&Y.jsx(X.p,{cx:["uiLabel2","tal","pb8"],children:o}),(g||h)&&Y.jsx(rA,{variant:h?"alreadyExists":"failed",linkUrl:f})]}),Y.jsxs(X.div,{cx:["f","jcc",s&&"br2"],children:[Y.jsx(ru,{width:"100%",placeholder:t||"Enter your email",inputValue:x,name:"Regwall-signup",label:o||"Newsletter Signup",type:rc.EMAIL,labelIsVisible:!1,isLifestyle:b,isProcessing:d,borderAllSides:!1,variant:"disabledWhiteBackground",extraRightPadding:b}),Y.jsx(nb,{size:nr.SMALL,type:"submit",cx:["px24",b&&"ml-16","standardButtonSm","z1"],borderRadiusOverride:"br2",onClick:r,children:Y.jsx(ne,{"data-block-type":"text",html:n})})]})]}),u&&Y.jsx(rN,{successMessage:p,secondarySuccessMessage:null!=m?m:void 0,type:w}),!u&&c]})})}rC.displayName="MailGhostIcon",rk.displayName="CopyLinkIcon",rS.displayName="FAQIcon",rI.displayName="ExclaimIcon";let rP="keydown";function rR(e){let t=(0,a.useCallback)(t=>{"Escape"===t.key&&e()},[e]);(0,a.useEffect)(()=>(document.addEventListener(rP,t,!1),()=>{document.removeEventListener(rP,t,!1)}),[t])}function rD(e){t9(()=>{if(!e)return;let t=window.getComputedStyle(document.body).overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=t}},[e])}function rU(e){let{text:t,links:n,underline:r,linkClasses:i,linkStyles:o,textClasses:l,textStyles:s,onSignInClick:c,onCtaClick:d,textAlign:u="tac",allowHtml:p=!1,underlineSecondaryColor:m=!0}=e,[g,h]=(0,a.useState)(null);if((0,a.useEffect)(()=>{h(window.location.href)},[]),!n)return Y.jsx(X.div,{cx:["f","jcc",u,"g4"],children:p?Y.jsx(ne,{cx:[l],style:s,"data-block-type":"text",html:t}):Y.jsx(X.p,{cx:[l],children:t})});let f=n.map(e=>e.text),w=n.map(e=>e.url),x=RegExp("(\\b".concat(f.map(e=>e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")).join("\\b|\\b"),"\\b)"),"g"),b=t.split(x).map(e=>{if(!e)return null;if(f.includes(e)){let t,n;return"{TREG}"===w[f.indexOf(e)]?(t="#signin",n=c):((t=w[f.indexOf(e)]).includes("{CURRENT_URL}")&&g&&(t=t.replace("{CURRENT_URL}",encodeURIComponent(g))),n=d),Y.jsx(er,{cx:[i&&i,"tuo1px"],style:o,href:t,onClick:n,underline:r,underlineSecondaryColor:m,dashed:!1,children:p?Y.jsx(ne,{as:"span",cx:["inline"],"data-block-type":"text",html:e}):e},e)}return p?Y.jsx(ne,{as:"span","data-block-type":"text",html:e},e):Y.jsx(X.span,{children:e},e)});return Y.jsx(X.p,{cx:[u,l||"uiTextSmall"],style:s,children:b})}function rB(e){if(e)return e.includes("gradient")?e:"url(".concat(e,")")}function rM(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=e&&e.querySelectorAll("a[href]:not([disabled]), button:not([disabled]), input:not([disabled])"),r=n&&n[0],i=n&&n[n.length-1],o=function(e){"Tab"===e.key&&(e.shiftKey?document.activeElement===r&&(e.preventDefault(),i.focus()):document.activeElement===i&&(e.preventDefault(),r.focus()))},a=function(n){"Tab"===n.key&&(setTimeout(()=>{r&&i?(r.focus(),e.addEventListener("keydown",o)):t&&document.addEventListener("keydown",e=>{"Tab"===e.key&&n.preventDefault()})},0),document.removeEventListener("keydown",a))};document.addEventListener("keydown",a)}function rF(e){let t=e&&e.querySelectorAll("a[href]:not([disabled]), button:not([disabled]), input:not([disabled]), svg"),n=t&&t[0];n&&n.focus()}let rH=tq("variant",{alignCenter:"aic",alignEnd:"aie",alignStart:"ais"});function rz(e){let{size:t=nc.m,...n}=e,r="number"!=typeof t?nc[t]:t;return Y.jsxs(nh,{size:r,viewBox:"0 0 72 40",...n,children:[Y.jsx("path",{d:"M58.7892 30.9856C59.639 37.8745 51.9134 42.5029 46.2401 38.5037L0 5.9082H55.6958L58.7892 30.9856Z",fill:"currentColor"}),Y.jsx("mask",{id:"path-2-inside-1_644_73408",fill:"white",children:Y.jsx("path",{d:"M70.7945 25.5802C71.376 32.5485 63.3671 36.8568 57.8732 32.5311L11.4761 -4H68.3258L70.7945 25.5802Z"})}),Y.jsx("path",{d:"M70.7945 25.5802C71.376 32.5485 63.3671 36.8568 57.8732 32.5311L11.4761 -4H68.3258L70.7945 25.5802Z",fill:"white"}),Y.jsx("path",{d:"M11.4761 -4V-8H-0.0702286L9.0016 -0.857236L11.4761 -4ZM68.3258 -4L72.3119 -4.33267L72.0059 -8H68.3258V-4ZM57.8732 32.5311L60.3477 29.3883L57.8732 32.5311ZM70.7945 25.5802L66.8083 25.9129L70.7945 25.5802ZM60.3477 29.3883L13.9506 -7.14276L9.0016 -0.857236L55.3987 35.6739L60.3477 29.3883ZM11.4761 0H68.3258V-8H11.4761V0ZM64.3396 -3.66733L66.8083 25.9129L74.7806 25.2476L72.3119 -4.33267L64.3396 -3.66733ZM55.3987 35.6739C63.6396 42.1624 75.6529 35.6999 74.7806 25.2476L66.8083 25.9129C67.0991 29.397 63.0946 31.5512 60.3477 29.3883L55.3987 35.6739Z",fill:"black",mask:"url(#path-2-inside-1_644_73408)"})]})}function rG(e){let{topTextDesktop:t,topTextMobile:n,headlineDesktop:r,headlineMobile:i,inputLabel:o,buttonTextDesktop:a,buttonTextMobile:l,disclaimerText:s,dynamicLinks:c,successMessageColored:d,successMessageGray:u,desktopImageUrl:p,mobileImageUrl:m,mobileOnlyButtonUrl:g,onAppDownloadSignup:h,user:f,processing:w,success:x,error:b,onSignupClickFrontend:v}=e,y=ef(),C=ew(),T=null==f?void 0:f.phone,_=m||p;return Y.jsxs(X.div,{cx:["f","jcb","aic","fdr","g24","sm:g48"],children:[m&&Y.jsx(X.div,{cx:["block","sm:none"],children:Y.jsx(X.img,{src:m,alt:"App download marketing image",title:n})}),p&&Y.jsx(X.div,{cx:["none","sm:block"],children:Y.jsx(X.img,{src:p,alt:"App download marketing image",title:t})}),Y.jsxs(X.div,{cx:["f","jcb","ais","fdc","g12","x100"],children:[Y.jsxs(X.h2,{cx:["uiHeader3",_&&"fs18","sm:fs32","c-black","x100"],children:[Y.jsx(ne,{cx:["none","sm:block"],"data-block-type":"text",html:t}),Y.jsx(ne,{cx:["block","sm:none"],"data-block-type":"text",html:n})]}),Y.jsxs(X.div,{cx:["x100"],children:[Y.jsx(ne,{cx:["uiTextMedium","c-gray700","none","sm:block"],"data-block-type":"text",html:r}),Y.jsx(ne,{cx:["uiTextSmall","c-gray700","block","sm:none"],"data-block-type":"text",html:i})]}),Y.jsx(X.div,{cx:["x100","none","sm:block"],children:Y.jsx(rf,{buttonText:a,label:o,onAppDownloadSignup:h,processing:w,success:x,successMessageColored:d||"Download link sent!",successMessageGray:u||"Please check your phone for the link.",error:b,value:T,onSignupClickFrontend:v})}),Y.jsx(nb,{size:nr.SMALL,type:"submit",cx:[("lifestyle"===y||"weekand"===C)&&"ml-16","fs13","z1","y40px","sm:none"],onClick:v,href:g,children:Y.jsx(ne,{"data-block-type":"text",html:l})}),Y.jsx(X.div,{cx:["x100","none","sm:block"],children:Y.jsx(rU,{textAlign:"tal",underline:!0,text:s,links:null==c?void 0:c.disclaimerText,textClasses:["uiTextExtraSmall","c-gray600","x100"],linkClasses:["c-primaryAccessible"],allowHtml:!0})})]})]})}function rK(e){let{descriptionText:t,headlineText:n,imageUrl:r,brandLogoUrl:i,callToActionUrl:o,signInLinkText:l,onSignInClick:s,onCtaClick:c,user:d}=e,u=ew(),p=(0,a.useRef)(null);(0,a.useEffect)(()=>{rM(p.current)},[p]);let m=!1,g=!1;l&&o?g=!0:l&&(null==d?void 0:d.loggedInStatus)==="loggedOut"&&(m=!0);let h=!!(g||m);return Y.jsx(X.div,{cx:["x100","bg-white","f","fdc","aic","mxa","z1006"],id:"modalOuter",ref:p,children:Y.jsxs(X.div,{cx:["f","fdc","aic","mw640px","px24","pt32","pb40"],children:[r?Y.jsx(X.div,{children:Y.jsx(X.img,{src:r,cx:["y40px","mw150px","xs:mw200px","mb16"],alt:"image",title:n})}):i?Y.jsx(X.div,{children:Y.jsx(tX,{siteCode:u,color:"brand",variant:"primary",bx:["y40px","mw150px","xs:mw200px","mb16"]})}):Y.jsx(Y.Fragment,{}),Y.jsx(X.h3,{cx:["marketingHeader5","tac","fs23","sm:fs32","mb16"],children:Y.jsx(ne,{"data-block-type":"text",html:n})}),Y.jsx(ne,{cx:["uiTextMedium","tac","c-gray700",t?["mb16"]:["mb0"]],"data-block-type":"text",html:t}),h&&Y.jsx(nb,{onClick:m?s:c,"aria-label":l,href:o||void 0,cx:["bg-black","px24","y32px","sm:y40px"],children:Y.jsx(ne,{"data-block-type":"text",html:l})})]})})}function rV(e){let{successMessage:t,headlineText:n,descriptionText:r,loginCheckText:i,dynamicLinks:o,callToActionButtonTitle:a,textFieldPlaceholderText:l,sailthruSignupListForBC:s,disclaimerText:c,subscriptionTeaseText:d,onCtaClick:u,onSignupClick:p,onSignInClick:m,onGiftArticleRegwallSignup:g,processing:h,success:f,error:w}=e;return Y.jsxs(X.div,{cx:["f","fdc","jcc","tac","g16","sm:mw622px","ma"],children:[o&&i&&Y.jsx(rU,{textAlign:"tac",underline:!0,text:i,links:o.loginCheckText,onSignInClick:m,textClasses:["uiTextSmall"],linkClasses:["underlinedButton","fw500"],allowHtml:!0}),n&&!f&&Y.jsx(X.h2,{cx:["marketingHeader5Md","lg:marketingHeader5Lg"],children:Y.jsx(ne,{"data-block-type":"text",html:n})}),r&&!f&&Y.jsx(ne,{cx:["uiTextMedium","fs14","md:fs16","c-gray700"],"data-block-type":"text",html:r}),Y.jsx(rO,{buttonText:a||"Sign Up",onSignupClick:p,onRegwallSignup:e=>{g(e,s)},processing:h,success:f,successMessage:null==t?void 0:t.messageText,labelIsVisible:!0,label:"Email Address",sharpCorners:!0,placeholder:l||void 0,error:w,type:"GiftArticleRegwall",children:o&&c&&Y.jsx(rU,{textAlign:"tal",underline:!0,text:c,links:o.disclaimerText,textClasses:["uiTextExtraSmall","sm:uiTextSmall","c-gray600"],linkClasses:["uiTextNoFontSize","c-primary"],allowHtml:!0})}),o&&d&&Y.jsx(rU,{textAlign:"tac",underline:!0,text:d,links:o.subscriptionTeaseText,textClasses:["uiTextSmall"],linkClasses:["underlinedButton","fw500"],onCtaClick:u,allowHtml:!0})]})}function rW(e){let{topText:t,bottomText:n,headlineText:r,dynamicLinks:i,onSignInClick:o,onCtaClick:a}=e;return Y.jsxs(X.div,{cx:["f","fdc","jcc","tac","g16"],children:[i&&t&&Y.jsx(rU,{textAlign:"tac",underline:!0,text:t,links:i.topText,onSignInClick:o,onCtaClick:a,textClasses:["uiTextSmall"],linkClasses:["underlinedButton","lh12","fw500"],allowHtml:!0}),r&&Y.jsx(X.h2,{cx:["marketingHeader5Sm","lg:marketingHeader5Lg"],children:Y.jsx(ne,{"data-block-type":"text",html:r})}),i&&n&&Y.jsx(rU,{textAlign:"tac",underline:!0,text:n,links:i.bottomText,onCtaClick:a,textClasses:["uiTextSmall"],linkClasses:["underlinedButton","lh12","fw500"],allowHtml:!0})]})}function rq(e){let{headlineText:t,descriptionText:n,signInLinkText:r,onSignInClick:i,user:o}=e;return Y.jsxs(X.div,{cx:["tac"],children:[t&&Y.jsx(X.h2,{cx:["uiHeader6","fs16","md:fs32"],children:Y.jsx(ne,{"data-block-type":"text",html:t})}),n&&Y.jsx(ne,{cx:["uiTextSmall","pt8",r&&"mb16"],"data-block-type":"text",html:n}),r&&(null==o?void 0:o.loggedInStatus)==="loggedOut"&&Y.jsx(nb,{onClick:i,cx:["ma","mt16","xfc"],"aria-label":r,children:Y.jsx(ne,{"data-block-type":"text",html:r})})]})}function rY(e){let{children:t}=e;
1return Y.jsx(X.div,{cx:["x100","uiTextSmall"],children:t})}function rJ(e){let{errorMessage:t="Signup failed. Please try again later.",inline:n=!1}=e;return Y.jsx(X.span,{cx:[n?["fs13","lh15"]:["fs11","lh13"],"c-alert","wsn","uiTextExtraSmall"],children:t})}rz.displayName="TailIcon";let rZ="Thank you for signing up!";function rX(e){let{successMessage:t,successMessageColor:n,successMessageGray:r,successMessageGrayColor:i,showSuccessMessageGray:o=!0,type:a,inline:l}=e;return Y.jsxs(X.div,{cx:["LeftToaster"===a&&["x100","mb12","mt12"]],children:[Y.jsxs(X.div,{cx:["f","LeftToaster"!==a&&o&&"pb8",l?"jcs":["aic","c-primary","NewsletterModal"===a&&"jcc"]],children:[Y.jsx(rp,{size:16,variant:"primary",style:n?{color:n}:{color:"LeftToaster"===a?"var(--primaryAccessible)":"var(--primary)"}}),Y.jsx(ne,{as:"h3",cx:[!n&&"c-primaryAccessible","LeftToaster"===a&&["successMessage","fs13"],"LeftToaster"!==a&&(l?["ff-fontE","lh12","fs12","sm:fs13","pl4"]:["uiHeader11","sm:fs16","pl4"])],style:n?{color:n}:{},"data-block-type":"text",html:t})]}),o&&Y.jsx(ne,{cx:[!i&&"c-gray600",l?["fs-fontG","fw-fontG","ff-fontG","fs11","md:fs13","lh12"]:"uiTextSmall",!l&&("LeftToaster"==a?"fs13":["sm:fs14","tac"])],style:i?{color:i}:{},"data-block-type":"text",html:r||"You&apos;ll receive the next newsletter in your inbox."})]})}function rQ(e){let{placeholder:t,buttonColor:n,buttonText:r,buttonTextColor:i,value:o,onSignupClick:l,onNewsletterSignup:s,clearFormErrors:c,label:d,labelColor:u,labelIsVisible:p=!0,sharpCorners:m,children:g,processing:h=!1,success:f=!1,successMessage:w,successMessageColor:x,successMessageGray:b,successMessageGrayColor:v,showSuccessMessageGray:y=!0,error:C=!1,errorMessage:T,type:_,inline:k=!1}=e,S=a.useRef(void 0),E=ef(),I=ew(),L="lifestyle"===E||"weekand"===I,[j,A]=(0,a.useState)(null!=o?o:""),[N,O]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{A(null!=o?o:"")},[o]),Y.jsx(Y.Fragment,{children:Y.jsxs(X.form,{onSubmit:function(e){var t,n;e.preventDefault(),c(),O(!1);let r=/.+@.+\..+/.test(null==(n=null==(t=null==e?void 0:e.target)?void 0:t[0])?void 0:n.value);O(!r),r&&s&&s(e.target[0].value)},cx:["f",k?"jcs":"jcc"],children:[!f&&Y.jsxs(Y.Fragment,{children:[Y.jsxs(rY,{children:[Y.jsxs(X.div,{cx:["f","fdr","g4",(p||C)&&"pb4"],children:[p&&Y.jsx(X.label,{cx:[k?["fs13","lh15"]:["fs11","lh13"],"fw700","ff-fontD","block"],htmlFor:"newsletter-signup",style:u?{color:u}:{},children:d||"Email"}),(C||N)&&Y.jsx(rJ,{inline:k,errorMessage:N?"Please enter a valid email":T||void 0})]}),Y.jsxs(X.div,{cx:["f","jcc",m&&"br2"],children:[Y.jsx(ru,{width:"100%",placeholder:t||"Enter your email",inputValue:S,name:"newsletter-signup",id:"newsletter-signup",label:d||"Newsletter Signup",labelIsVisible:!1,isLifestyle:L,isInline:k,value:j,onChange:e=>{O(!1),A(e.target.value)},isProcessing:h,isInvalid:C||N,borderAllSides:!1,variant:"disabledWhiteBackground",extraRightPadding:L}),Y.jsx(nb,{size:nr.SMALL,type:"submit",cx:[L&&"ml-16","fs13","z1"],onClick:l,style:n?{backgroundColor:n}:{},children:Y.jsx(ne,{"data-block-type":"text",html:r||"Sign Up",style:i?{color:i}:{}})})]})]}),Y.jsxs(X.div,{cx:["abs","lb85yb0"],children:[Y.jsx(X.label,{htmlFor:"website-url",children:"Your website"}),Y.jsx(X.input,{type:"text",id:"website-url",name:"vars[websiteurl]",tabIndex:-1,autoComplete:"off"})]})]}),f&&Y.jsx(rX,{successMessage:w,successMessageColor:x,successMessageGray:b,successMessageGrayColor:v,showSuccessMessageGray:y,type:_,inline:k}),!f&&g]})})}function r$(e){let{topText:t,headline:n,privacyPolicyUrl:r,termOfUseUrl:i,successMessage:o,successMessageColor:a,successMessageGray:l,successMessageGrayColor:s,showSuccessMessageGray:c,labelText:d,labelTextColor:u,placeholderText:p,buttonColor:m,buttonText:g,buttonTextColor:h,onSignupClick:f,onNewsletterSignup:w,clearFormErrors:x=()=>{},user:b,processing:v,success:y,error:C}=e,T=null==b?void 0:b.email;return Y.jsxs(Y.Fragment,{children:[Y.jsxs(X.div,{cx:["md:f","md:jcb","md:aic"],children:[Y.jsxs(X.div,{children:[Y.jsx(X.h2,{cx:["uiHeader6"],children:Y.jsx(ne,{"data-block-type":"text",html:t})}),Y.jsx(ne,{cx:["ff-fontG","fw-fontG","fs-fontG","lh12","fs13","pt8"],"data-block-type":"text",html:n})]}),Y.jsx(X.div,{cx:["pt16","md:pt0","md:f50"],children:Y.jsx(rQ,{onSignupClick:f,onNewsletterSignup:w,clearFormErrors:x,processing:v,success:y,successMessage:o||rZ,successMessageColor:a,successMessageGray:l,successMessageGrayColor:s,showSuccessMessageGray:c,label:d,labelColor:u,placeholder:p,buttonColor:m,buttonText:g,buttonTextColor:h,error:C,value:T,type:"FooterToaster"})})]}),Y.jsxs(X.div,{cx:["pt12"],children:[Y.jsx(nE,{variant:"brandColor"}),Y.jsxs(X.p,{cx:["uiTextSmall","pt12","c-gray600"],children:["By signing up, you agree to our"," ",Y.jsx(er,{cx:["c-primaryAccessible"],href:i,underline:!0,children:"Terms Of Use"})," ","and acknowledge that your information will be used as described 
1in our"," ",Y.jsx(er,{cx:["c-primaryAccessible"],href:r,underline:!0,children:"Privacy Policy"}),"."]})]})]})}function r0(e){let{topText:t,headline:n,privacyPolicyUrl:r,termOfUseUrl:i,successMessage:o,onSignupClick:a,onNewsletterSignup:l,clearFormErrors:s=()=>{},user:c,processing:d,success:u,error:p}=e,m=null==c?void 0:c.email;return Y.jsxs(Y.Fragment,{children:[Y.jsxs(X.div,{cx:["md:f","md:jcb","md:aic"],children:[Y.jsxs(X.div,{children:[Y.jsx(X.h2,{cx:["uiHeader6"],children:Y.jsx(ne,{"data-block-type":"text",html:t})}),Y.jsx(ne,{cx:["uiTextSmall","pt8"],"data-block-type":"text",html:n})]}),Y.jsx(X.div,{cx:["pt16","md:pt0","md:f50"],children:Y.jsx(rQ,{onSignupClick:a,onNewsletterSignup:l,clearFormErrors:s,processing:d,success:u,successMessage:o||rZ,error:p,value:m,type:"NewsletterToaster"})})]}),Y.jsxs(X.div,{cx:["pt12"],children:[Y.jsx(nE,{variant:"brandColor"}),Y.jsxs(X.p,{cx:["uiTextSmall","pt12","c-gray600"],children:["By signing up, you agree to our"," ",Y.jsx(er,{cx:["c-primaryAccessible"],href:i,underline:!0,children:"Terms Of Use"})," ","and acknowledge that your information will be used as described in our"," ",Y.jsx(er,{cx:["c-primaryAccessible"],href:r,underline:!0,children:"Privacy Policy"}),"."]})]})]})}function r1(e){let{topText:t,descriptionText:n,privacyPolicyUrl:r,termOfUseUrl:i,successMessage:o,onSignupClick:a,onNewsletterSignup:l,clearFormErrors:s=()=>{},processing:c,success:d,error:u,emailInputFieldPlaceholderText:p,callToActionButton:m,placement:g,user:h,eid:f}=e,w=ew(),x=ef(),b="weekand"===w?"lifestyle":x,v=null==h?void 0:h.email,y="sidebar"===g;return Y.jsxs(X.div,{"data-eid":f,cx:["mw100","sm:mw560px","md:mw760px","sidebar"===g?"lg:mw100":"xl:mw1100px","rel","x100","ya","mxa","pb72"],children:["lifestyle"!==b&&Y.jsx(X.div,{id:"brandLogoContainer",cx:["top24","f","jcc","rel"],children:Y.jsx(X.div,{cx:["bg-white","px20"],children:Y.jsx(ra,{siteCode:w,color:"brand",size:40})})}),Y.jsx(X.div,{cx:["bg-white","border","x100","px20","md:px36",y&&"lg:px20","py32","md:pt40",y&&"lg:pt32","lifestyle"!==b?["b-primary","br0","bw2"]:["b-black","br8","bw3","dr0x94q"]],children:Y.jsxs(X.div,{cx:["f","fdc","g16","sm:g12","sidebar"===g&&["lg:g16"]],children:[Y.jsxs(X.div,{cx:["f","fdc","sm:fdr","sm:jcb","sidebar"===g&&"lg:fdc","g16"],children:[Y.jsxs(X.div,{cx:["f","fdc","g8","f50"],children:[Y.jsx(ne,{cx:["marketingHeader2Sm","tal"],"data-block-type":"text",html:t}),Y.jsx(ne,{cx:["uiTextSmall","tal"],"data-block-type":"text",html:n})]}),Y.jsx(X.div,{cx:["f","fdc","f50","lifestyle"===b?"sm:mnw272px":"sm:mnw254px","sidebar"===g&&"lg:mnwu"],children:Y.jsx(rQ,{onSignupClick:a,onNewsletterSignup:l,clearFormErrors:s,processing:c,success:d,successMessage:o||rZ,error:u,type:"NewsletterInline",placeholder:p,buttonText:m,inline:!0,value:v})})]}),Y.jsx(nE,{variant:"brandColor",orientation:"horizontal",bx:["x100"],style:{borderWidth:"1px"}}),Y.jsxs("p",{className:Z("uiTextExtraSmall","c-gray700"),children:["By signing up, you agree to our"," ",Y.jsx(er,{cx:["c-primaryAccessible"],href:i,underline:!0,children:"Terms Of Use"})," ","and acknowledge that your information will be used as described in our"," ",Y.jsx(er,{cx:["c-primaryAccessible"],href:r,underline:!0,children:"Privacy Policy"}),"."]})]})}),"lifestyle"===b&&Y.jsx(X.p,{cx:["abs","z1","pb32","-bottom1","right20","sm:right36","sidebar"===g?"lg:right20":"lg:right80"],children:Y.jsx(rz,{width:72,height:40,color:"var(--primary)"})})]})}function r2(e){let{headlineText:t,headlineTextColor:n,descriptionText:r,descriptionTextColor:i,placeholderText:o,buttonText:a,buttonColor:l,buttonTextColor:s,labelText:c,labelTextColor:d,disclaimerText:u,disclaimerTextColor:p,disclaimerLinkColor:m,dynamicLinks:g,promoImage:h,successMessage:f,successMessageColor:w,successMessageGray:x,successMessageGrayColor:b,onSignupClick:v,onNewsletterSignup:y,clearFormErrors:C=()=>{},user:T,processing:_,success:k,error:S}=e,E=null==T?void 0:T.email;return Y.jsxs(X.div,{cx:["f","fdc","g8"],children:[Y.jsxs(X.div,{cx:["f","ais"],children:[h&&Y.jsx(X.img,{src:h,alt:"promotional image",cx:["mh100px","x60px","ya","ofcv","pr12"]}),Y.jsxs(X.div,{cx:["f","fdc","g8"],children:[Y.jsx(ne,{"data-block-type":"text",as:"h3",cx:["uiHeader8"],style:{color:n||void 0},html:t}),r&&Y.jsx(ne,{"data-block-type":"text",as:"p",cx:["uiTextSmall"],style:{color:i||void 0},html:r})]})]}),Y.jsx(rQ,{onSignupClick:v,onNewsletterSignup:y,clearFormErrors:C,processing:_,success:k,successMessage:f||rZ,error:S,type:"LeftToaster",placeholder:o||void 0,buttonText:a||void 0,buttonColor:l||"",buttonTextColor:s||"",label:c||void 0,labelColor:d||"",successMessageColor:w||"",successMessageGray:x||void 0,successMessageGrayColor:b||"",value:E}),u&&Y.jsx(rU,{text:u,links:null==g?void 0:g.disclaimer,underline:!0,underlineSecondaryColor:!1,textClasses:["uiTextExtraSmall","c-gray600"],linkClasses:["c-primaryAccessible"],textAlign:"tal",allowHtml:!0,textStyles:{color:p||void 0},linkStyles:{color:m||void 0}})]})}
1function r3(e){let{modalBackgroundColor:t,modalDesktopBackgroundImage:n,modalMobileBackgroundImage:r,showBackLink:o,backLinkUrl:l,backLinkText:s,backLinkTextColor:c,logoTheme:d,topText:u,topTextColor:p,headline:m,headlineColor:g,dividerColor:h,disclaimerText:f,disclaimerTextColor:w,disclaimerLinkColor:x,dynamicLinks:b,privacyPolicyUrl:v,termOfUseUrl:y,successMessage:C,successMessageColor:T,successMessageGray:_,successMessageGrayColor:k,labelText:S,labelTextColor:E,placeholderText:I,buttonColor:L,buttonText:j,buttonTextColor:A,close:N,onSignupClick:O,onNewsletterSignup:P,clearFormErrors:R=()=>{},user:D,processing:U,success:B,error:M}=e,F=ew(),H=null==D?void 0:D.email,z=rw(),[G,K]=(0,a.useState)(!1);(0,a.useEffect)(()=>{if(z)return;let e=()=>{K(window.innerWidth<i.sm)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[z]);let V=(0,a.useRef)(null);return(0,a.useEffect)(()=>{rM(V.current)},[V]),Y.jsxs(X.div,{cx:["xs:x75","md:x750px","f","fdc","aic","mxa","z1006","rel"],id:"modalOuter",ref:V,style:{backgroundColor:t||"var(--white)",backgroundImage:rB(G?r:n)},children:[o&&!B?Y.jsx(X.span,{cx:["abs","top","right","mr12","mt12","cp"],children:Y.jsx(er,{cx:["underlinedButtonSm","fw500"],"aria-label":"Back to Home Page",href:l||"/",underline:!0,underlineSecondaryColor:!1,style:{color:c||"var(--black)"},children:Y.jsx(ne,{"data-block-type":"text",html:s||"Back Home"})})}):Y.jsx(n_,{bx:["abs","top","right","mr12","mt12"],onClick:N,"aria-label":"close",style:{color:c||"var(--black)"},children:Y.jsx(ny,{width:16,height:16,size:"xs",focusable:!1})}),Y.jsxs(X.div,{cx:["f","fdc","aic","sy20","sm:sy24","pt36","sm:pt88","pb36","sm:pb72","px16","md:px0","x265px","xs:x90","mw490px"],children:[Y.jsx(tX,{siteCode:F,color:d||"brand",variant:"primary"}),Y.jsx(ne,{as:"h3",cx:["fw900","ff-fontB","tac","fs22","md:fs32","lh12"],style:{color:p||"var(--black)"},"data-block-type":"text",html:u}),Y.jsx(ne,{cx:["uiTextSmall","md:fs18","tac","c-gray700"],style:{color:g||"var(--black)"},"data-block-type":"text",html:m}),Y.jsx("div",{className:Z("x100","px0","xs:px16"),children:Y.jsx(rQ,{onSignupClick:O,onNewsletterSignup:P,clearFormErrors:R,processing:U,success:B,successMessage:C||rZ,successMessageColor:T,successMessageGray:_,successMessageGrayColor:k,label:S,labelColor:E,placeholder:I,buttonColor:L,buttonText:j,buttonTextColor:A,error:M,value:H||"",type:"NewsletterModal"})}),Y.jsx(nE,{variant:"brandColor",orientation:"horizontal",bx:["x100"],style:h?{borderColor:h}:{}}),f?Y.jsx(rU,{textAlign:"tal",underline:!0,text:f,textClasses:["uiTextExtraSmall","c-gray700"],textStyles:{color:w||"var(--black)"},linkClasses:[x?"":"c-primaryAccessible"],linkStyles:x?{color:x,textDecorationColor:x}:{textDecorationColor:"var(--primaryAccessible)"},links:null==b?void 0:b.disclaimerText,allowHtml:!0}):Y.jsxs("span",{className:Z("uiTextExtraSmall","c-gray700"),style:{color:w||"var(--black)"},children:["By signing up, you agree to our"," ",Y.jsx(er,{cx:["c-primaryAccessible"],style:x?{color:x}:{},href:y,underline:!0,underlineSecondaryColor:!1,children:"Terms Of Use"})," ","and acknowledge that your information will be used as described in our"," ",Y.jsx(er,{cx:["c-primaryAccessible"],style:x?{color:x}:{},href:v,underline:!0,underlineSecondaryColor:!1,children:"Privacy Policy"}),"."]})]})]})}function r6(e){return e.split(/\r?\n/)}function r4(e){let{text:t,textColor:n,allowHtml:r=!1}=e;if(/\n/.test(t)){let e=r6(t).map((e,t)=>e?Y.jsx(X.div,{children:r?Y.jsx(ne,{"data-block-type":"text",html:e}):e},"splitline-line-".concat(t)):null);return Y.jsx(X.div,{style:{color:n||void 0},children:e})}return Y.jsx("p",{style:{color:n||void 0},children:r?Y.jsx(ne,{as:"span","data-block-type":"text",html:t}):t})}function r8(e){let{backLinkText:t="Back Home",backLinkUrl:n,preSignInText:r="Already a subscriber?",signInLinkText:o="Sign in",onSignInClick:l,onCtaClick:s,descriptionText:c,callToActionButtonTitle:d,modalBackgroundColor:u,modalInnerBackgroundColor:p,modalInnerTextColor:m,brandingColorHeader:g,brandingColorHeaderTextColor:h,brandingColorCTA:f,brandingColorCTATextColor:w,borderColor:x,loggedInCallToActionButtonUrl:b,loggedOutCallToActionButtonUrl:v,cancelDisclaimerTextMobile:y,cancelDisclaimerText:C,benefitsDescriptionTextMobile:T,benefitsDescriptionText:_,costSummaryTextMobile:k,costSummaryText:S,subscriptionPlanTitleTextMobile:E,subscriptionPlanTitleText:I,status:L,email:j,countdownClockEnabled:A=!1,countdownProps:N,shouldDisplayCountdown:O=!1,backLinkTextColor:P,descriptionTextColor:R,preSignInTextColor:D,signInLinkTextColor:U,cancelDisclaimerTextMobileColor:B,cancelDisclaimerTextColor:M,modalMobileBackgroun
1dImage:F,modalDesktopBackgroundImage:H,modalInnerBackgroundImage:z,brandingColorHeaderBackgroundImage:G,testId:K}=e,V="loggedIn"===L,W=V?b:v,q=rw(),[J,Z]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{if(q)return;let e=()=>{Z(window.innerWidth<i.sm)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[q]),Y.jsxs(X.div,{cx:["mxa","z1006","x336px","sm:x520px"],"data-testid":K,children:[A&&N&&O&&Y.jsx(rb,{countdownData:N}),Y.jsxs(X.div,{id:"modalContainer","data-testid":"modalContainer",cx:["f","fdc","md:px0","rel","jcc","x100","sjc2cik"],style:{backgroundColor:u||"var(--white)",backgroundImage:rB(J?F:H)},children:[Y.jsx(X.span,{cx:["abs","top","right","mr12","mt12","cp"],children:Y.jsx(er,{cx:["underlinedButtonSm","fw500"],"aria-label":"Back to Home Page",href:n,onClick:s,underline:!0,underlineSecondaryColor:!1,style:{color:P||"var(--black)"},children:Y.jsx(ne,{"data-block-type":"text",html:t})})}),Y.jsx(X.div,{id:"modalOuter",cx:["f","fdc","aic","jcc"],children:Y.jsxs(X.div,{id:"modalInner",cx:["f","fdc","aic","jcc","mx64","my48"],children:[Y.jsx(X.div,{cx:["uiTextLarge","tac","pb16","x250px","sm:x300px"],children:Y.jsx(er,{href:W,onClick:s,hover:!1,children:Y.jsx(r4,{text:c,textColor:R||"var(--gray700)",allowHtml:!0})})}),Y.jsxs(X.div,{id:"ContentContainer","data-testid":"ContentContainer",cx:["f","fdc","aic","sy16","p0","border","tfd6art"],style:{backgroundColor:p||"var(--white)",backgroundImage:rB(z),borderColor:x||"var(--primary)",color:m||"var(--black)"},children:[Y.jsx(X.span,{"data-testid":"headerSection",cx:["marketingHeader3","f","aic","jcc","x100","fs16","py16","tac"],style:{backgroundImage:rB(G),backgroundColor:g||"var(--primaryAccessible)"},children:Y.jsx(er,{href:W,onClick:s,hover:!1,children:Y.jsx(r4,{text:J&&E?E:I,textColor:h||"var(--white)",allowHtml:!0})})}),Y.jsx(X.div,{cx:["uiHeader7","tac"],children:Y.jsx(er,{href:W,onClick:s,hover:!1,children:Y.jsx(r4,{text:J&&k?k:S,allowHtml:!0})})}),Y.jsx(X.div,{cx:["uiTextMedium","tac","mx16"],children:Y.jsx(er,{href:W,onClick:s,hover:!1,children:Y.jsx(r4,{text:J&&T?T:_,allowHtml:!0})})}),Y.jsx(nb,{size:nr.SMALL,type:"button",visual:nt.DEFAULT,variant:nn.PRIMARY,href:W,onClick:s,"aria-label":d,style:{backgroundColor:f||"var(--bg-primaryAccessible)",color:w||"var(--white)"},children:Y.jsx(ne,{"data-block-type":"text",html:d})}),Y.jsx(X.span,{cx:["uiTextSmall","asfc","px16","tac","pb16"],children:Y.jsx(er,{href:W,onClick:s,hover:!1,children:Y.jsx(r4,{text:J&&y?y:C,textColor:J?B||"var(--gray700)":M||"var(--gray700)",allowHtml:!0})})})]}),V&&Y.jsxs(X.div,{cx:["ff-fontD","fs13","lh12","f","fdc","aic","mt16"],children:[Y.jsx(X.span,{children:Y.jsxs(er,{href:W,onClick:s,hover:!1,style:{color:U||"var(--black)"},children:["You are signed in",j?" as ".concat(j):""]})}),Y.jsx(X.span,{children:Y.jsx(er,{href:W,onClick:s,hover:!1,style:{color:U||"var(--black)"},children:"You do not have an active subscription."})})]}),!V&&Y.jsx(X.div,{cx:["underlinedButtonSm","asfc","sm:mr12","mt16"],children:Y.jsxs(er,{cx:["cp"],onClick:l,underline:!1,children:[Y.jsx(ne,{style:{color:D||"var(--black)"},cx:["inline"],"data-block-type":"text",html:r+"&nbsp;"}),Y.jsx(ne,{style:{color:U||"var(--black)"},cx:["tdu","inline"],"data-block-type":"text",html:o})]})})]})})]})]})}function r5(e){let{descriptionText:t,unknownUser:n,unknownUserLoginText:r,userLoginText:i,ctaText:o="Act Now",offers:l,backHomeUrl:s,userIsSignedIn:c,userEmail:d,ctaButtonColor:u="#111111",ctaTextColor:p="#FFFFFF",onCtaClick:m,onSignInClick:g}=e,h=eo(),[f,w]=(0,a.useState)(l.length>0?l[0]:null),x=(0,a.useRef)(null);if((0,a.useEffect)(()=>{rM(x.current)},[x]),0===l.length)return h.warn("No offers provided for PaywallToaster"),null;let b=c?"".concat(i," as ").concat(d):r,v=c?"":null==n?void 0:n.linkText,y=c?"":null==n?void 0:n.url;return Y.jsx(X.div,{cx:["x100","bg-white","f","fdc","aic","mxa","z1006"],id:"modalOuter",ref:x,children:Y.jsxs(X.div,{cx:["f","fdc","jcc","aic","tac","g16","px20","py24","sm:p28","x100"],children:[Y.jsx(en,{href:s,cx:["f","asfe","c-black","underlinedButtonSm","tdu"],onClick:e=>m(e,(null==f?void 0:f.title)===l[0].title?"offer1":"offer2"),children:"Back Home"}),t&&Y.jsx(X.p,{id:"subscription-offers-title",cx:["uiTextSmall","sm:uiTextLarge","c-gray700","text-two-l
1ine"],children:Y.jsx(ne,{as:"span","data-block-type":"text",html:t})}),Y.jsx(X.div,{id:"subscription-offers","aria-labelledby":"subscription-offers-title",role:"listbox",cx:["f","fdc","sm:fdr","aic","g16","sm:g40","mw330px",l.length>1&&"sm:mw100","sm:pb32"],children:l.map((e,t)=>{let{title:n,price:r,subtitle:i,description:o,titleAndPriceColor:a}=e;return Y.jsxs(X.button,{onClick:()=>{w(e)},style:{color:a||"var(--black)"},cx:["f","fdc","ais","tal","p16","sm:mw330px","border",f===e?"b-primary":"b-gray500","br8","td300","bg-white","cp"],role:"option","aria-selected":f===e,"aria-label":"Offer: ".concat(n,", Price: ").concat(r,", ").concat(i||""," ").concat(o||""),children:[Y.jsxs(X.div,{cx:["f","jcb","x100"],children:[Y.jsx(X.h3,{cx:["bigButton2","mw275px"],children:Y.jsx(ne,{"data-block-type":"text",html:n})}),Y.jsx(ne,{cx:["buttonMd","mw50px"],"data-block-type":"text",html:r})]}),(null==e?void 0:e.subtitle)&&Y.jsx(ne,{cx:["uiTextExtraSmall","mw275px","c-gray700","tal","pb8"],"data-block-type":"text",html:i}),(null==e?void 0:e.description)&&Y.jsx(ne,{cx:["uiTextExtraSmall","c-gray700","tal","text-three-line"],"data-block-type":"text",html:o})]},"".concat(n,"-").concat(t))})}),Y.jsx(nb,{style:{backgroundColor:u,color:p},cx:["jsfc","ma","mt16","xfc","standardButton","mw335px","x100"],onClick:e=>m(e,(null==f?void 0:f.title)===l[0].title?"offer1":"offer2"),href:c?null==f?void 0:f.loggedInCallToActionButtonUrl:null==f?void 0:f.loggedOutCallToActionButtonUrl,"aria-label":o,children:Y.jsx(ne,{"data-block-type":"text",html:o})}),Y.jsxs(X.p,{cx:["uiTextSmall","f","fdc"],children:[Y.jsxs(X.span,{children:[Y.jsx(ne,{as:"span",cx:["inline"],"data-block-type":"text",html:b+"&nbsp;"}),Y.jsx(en,{onClick:g,href:y,cx:["c-black","underlinedButton","tdu","inline"],children:Y.jsx(ne,{as:"span",cx:["inline"],"data-block-type":"text",html:v})})]}),c&&Y.jsx(X.span,{children:"You do not have an active subscription."})]})]})})}function r9(e,t){return"S"===t?e.S:"L"===t?e.L:e.M}let r7={default:{S:"fs13",M:"fs14",L:"fs16"},backLink:{S:"fs11",M:"fs12",L:"fs14"},costSummary:{S:"fs28",M:"fs32",L:"fs36"},benefitsDescription:{S:"fs14",M:"fs16",L:"fs18"}};function ie(e){let{backLinkText:t="Back Home",backLinkUrl:n,backLinkTextColor:r,backLinkTextSize:i,descriptionText:o,descriptionTextColor:a,descriptionTextSize:l,modalBackgroundColor:s,modalBackgroundImage:c,modalTopBackgroundColor:d,modalTopBackgroundImage:u,modalBottomBackgroundColor:p,modalBottomBackgroundImage:m,subscriptionPlanTitleText:g,subscriptionPlanTitleTextColor:h,subscriptionPlanTitleTextSize:f,costSummaryText:w,costSummaryTextColor:x,costSummaryTextSize:b,callToActionButtonTitle:v,brandingColorCTA:y,brandingColorCTATextColor:C,brandingColorCTATextSize:T,loggedInCallToActionButtonUrl:_,loggedOutCallToActionButtonUrl:k,benefitsDescriptionText:S,benefitDescriptionTextColor:E,benefitDescriptionTextSize:I,promoImage:L,cancelDisclaimerText:j,preSignInText:A="Already a subscriber?",preSignInTextColor:N,preSignInTextSize:O,signInLinkText:P="Sign in",signInLinkTextColor:R,signInLinkTextSize:D,countdownClockEnabled:U=!1,countdownProps:B,shouldDisplayCountdown:M=!1,onSignInClick:F,onCtaClick:H,status:z,email:G}=e,K="loggedIn"===z,V=K?_:k;return Y.jsxs(X.div,{cx:["mxa","z1006","x336px","sm:x520px"],children:[U&&B&&M&&Y.jsx(rb,{countdownData:B}),Y.jsxs(X.div,{cx:["f","fdc","x100"],style:{backgroundColor:s||"var(--white)",backgroundImage:rB(c)},children:[Y.jsxs(X.div,{cx:["rel","f","aic","jcc","px48","pt33","pb24"],style:{backgroundColor:d||"var(--black)",backgroundImage:rB(u)},children:[Y.jsx(X.span,{cx:["abs","top","right","mr12","mt8","cp"],children:Y.jsx(er,{cx:["underlinedButtonSm","fw500"],"aria-label":"Back to Home Page",href:n,onClick:H,underline:!0,underlineSecondaryColor:!1,style:{color:r||"var(--white)"},children:Y.jsx(X.span,{cx:["uiTextNoFontSize",r9(r7.backLink,i)],children:Y.jsx(ne,{"data-block-type":"text",html:t})})})}),Y.jsx(X.div,{cx:["uiTextNoFontSize",r9(r7.default,l),"tac","italic"],style:{color:a||"var(--white)"},children:Y.jsx(ne,{"data-block-type":"text",html:o})}),Y.jsx(X.div,{"aria-hidden":"true",style:{position:"absolute",bottom:"-15px",left:"50%",transform:"translateX(-50%)",width:0,height:0,borderLeft:"15px solid transparent",borderRight:"15px solid transparent",borderTop:"15px solid ".concat(d||"var(--black)")}})]}),Y.jsxs(X.div,{cx:["f","fdc","aic","jcc","sy8","pb20","pt35","px16"],children:[Y.jsx(X.div,{cx:["uiTextNoFontSize",r9(r7.default,f),"tac","fw700","ttu"],style:{color:h||"var(--black)"},children:Y.jsx(er,{href:V,onClick:H,hover:!1,children:Y.jsx(ne,{"data-block-type":"text",html:g})})}),Y.jsx(X.div,{cx:["uiTextNoFontSize",r9(r7.costSummary,b),"tac","fw700"],style:{color:x||"var(--black)"},children:Y.jsx(er,{href:V,onClick:H,hover:!1,children:Y.jsx(ne,{"data-block-type":"text",html:w})})}),Y.jsx(nb,{size:nr.LARGE,type:"button",visual:nt.DEFAULT,variant:nn.PRIMARY,href:V,onClick:H,"aria-label":v,cx:["uiTextNoFontSize",r9(r7.default,T),"mw60","py10","x100"],borderRadiusOverride:"br16",style:{backgroundColor:y||"var(--bg-primaryAccessible)",color:C||"var(--white)"},children:Y.jsx(ne,{"data-block-type":"text",html:v})}),Y.jsx(X.div,{cx:["uiTextNoFontSize",r9(r7.benefitsDescription,I),"tac","mw60","mt4"],style:{color:E||"var(--black)"},children:Y.jsx(er,{href:V,onClick:H,hover:!1,children:Y.jsx(ne,{"data-block-type":"text",html:S})})}),j&&Y.jsx(X.span,{cx:["uiTextNoFontSize","fs13","tac"],children:Y.jsx(er,{href:V,onClick:H,hover:!1,children:Y.jsx(ne,{"data-block-type":"text",html:j})})}),L&&Y.jsx(X.img,{src:L,alt:"Promo Image",cx:["x100","mw200px","mt4"]})]}),Y.jsx(X.div,{cx:["f","aic","jcc","py14","px16"],style:{backgroundColor:p||"var(--gray100)",backgroundImage:rB(m)},children:K?Y.jsxs(X.div,{cx:["ff-fontD","fs13","lh12","f","fdc","aic"],children:[Y.jsx(X.span,{children:Y.jsxs(er,{href:V,onClick:H,hover:!1,style:{color:R||"var(--black)"},children:["You are signed in",G?" as ".concat(G):""]})}),Y.jsx(X.span,{cx:["mt4"],children:Y.jsx(er,{href:V,onClick:H,hover:!1,style:{color:R||"var(--black)"},children:"You do not have an active subscription."})})]}):Y.jsx(X.div,{cx:["underlinedButtonSm"],children:Y.jsxs(er,{cx:["cp"],onClick:F,underline:!1,children:[Y.jsx(ne,{style:{color:N||"var(--black)"},cx:["uiTextNoFontSize",r9(r7.default,O),"inline","bold"],"data-block-type":"text",html:A+"&nbsp;"}),Y.jsx(ne,{style:{color:R||"var(--black)"},cx:["uiTextNoFontSize",r9(r7.default,D),"tdu","inline","bold"],"data-block-type":"text",html:P})]})})})]})]})}let it={default:{S:["fs12","sm:fs13"],M:["fs13","sm:fs14"],L:["fs14","sm:fs16"]},description:{S:["fs13","sm:fs14"],M:["fs14","sm:fs16"],L:["fs16","sm:fs18"]},backLink:{S:["fs11"],M:["fs12"],L:["fs14"]},costSummary:{S:["fs25","sm:fs28"],M:["fs29","sm:fs32"],L:["fs32","sm:fs36"]},cta:{S:["fs11"],M:["fs11","sm:fs12"],L:["fs13","sm:fs14"]}
1,benefitsDescription:{S:["fs11","sm:fs12"],M:["fs12","sm:fs13"],L:["fs13","sm:fs14"]},promoTitle:{S:["fs11","sm:fs12"],M:["fs13","sm:fs14"],L:["fs14","sm:fs16"]}};function ir(e){let{backLinkText:t="Back Home",backLinkUrl:n,backLinkTextColor:r,backLinkTextSize:i,descriptionText:o,descriptionTextColor:a,descriptionTextSize:l,modalBackgroundColor:s,modalBackgroundImage:c,modalBottomBackgroundColor:d,modalBottomBackgroundImage:u,modalPromoColor:p,modalPromoImage:m,modalPromoTitleText:g,modalPromoTitleTextColor:h,modalPromoTitleTextSize:f,modalPromoDescriptionText:w,modalPromoDescriptionTextColor:x,modalPromoDescriptionTextSize:b,subscriptionPlanTitleText:v,subscriptionPlanTitleTextColor:y,subscriptionPlanTitleTextSize:C,costSummaryText:T,costSummaryTextColor:_,costSummaryTextSize:k,callToActionButtonTitle:S,callToActionButtonTitleSize:E,brandingColorCTA:I,brandingColorImage:L,brandingColorCTATextColor:j,brandingColorCTATextSize:A,loggedInCallToActionButtonUrl:N,loggedOutCallToActionButtonUrl:O,benefitsDescriptionText:P,benefitDescriptionTextColor:R,benefitDescriptionTextSize:D,promoImage:U,cancelDisclaimerText:B,preSignInText:M="Already a subscriber?",preSignInTextColor:F,preSignInTextSize:H,signInLinkText:z="Sign in",signInLinkTextColor:G,signInLinkTextSize:K,countdownClockEnabled:V=!1,countdownProps:W,shouldDisplayCountdown:q=!1,onSignInClick:J,onCtaClick:Z,status:Q,email:$,testId:ee}=e,et="loggedIn"===Q,en=et?N:O;return Y.jsxs(X.div,{cx:["mxa","z1006","x336px","sm:x480px"],"data-testid":ee,children:[V&&W&&q&&Y.jsx(rb,{countdownData:W}),Y.jsxs(X.div,{cx:["rel","f","fdc","x100"],style:{backgroundColor:s||"var(--white)",backgroundImage:rB(c)},children:[Y.jsx(X.span,{cx:["abs","top24","right","mr24","cp"],children:Y.jsx(er,{cx:["underlinedButtonSm","fw500"],"aria-label":"Back to Home Page",href:n,onClick:Z,underline:!0,underlineSecondaryColor:!1,style:{color:r||"var(--black)"},children:Y.jsx(X.span,{cx:["uiTextNoFontSize",r9(it.backLink,i)],children:Y.jsx(ne,{"data-block-type":"text",html:t})})})}),Y.jsxs(X.div,{cx:["f","fdc","pb32"],children:[Y.jsxs(X.div,{cx:["f","fdc","sm:cw-184"],children:[Y.jsx(X.div,{cx:["uiTextNoFontSize",r9(it.description,l),"lh15","pt56","sm:pt40","pl24","pr8"],style:{color:a||"var(--black)"},children:Y.jsx(ne,{"data-block-type":"text",html:o})}),(g||w)&&Y.jsxs(X.div,{cx:["f","fdc","aic","jcc","mt16","sm:mt32","mr48","sm:mr0","py16","sm:py20","px24"],style:{backgroundColor:p||"var(--black)",backgroundImage:rB(m),clipPath:"polygon(0 0, 100% 0, calc(100% - 20px) 50%, 100% 100%, 0 100%)"},children:[g&&Y.jsx(X.div,{cx:["uiTextNoFontSize",r9(it.promoTitle,f),"tac","fw700"],style:{color:h||"var(--white)"},children:Y.jsx(ne,{"data-block-type":"text",html:g})}),w&&Y.jsx(X.div,{cx:["uiTextNoFontSize",r9(it.default,b),"tac"],style:{color:x||"var(--white)"},children:Y.jsx(ne,{"data-block-type":"text",html:w})})]})]}),Y.jsxs(X.div,{cx:["f","aic","jcb","sx16"],children:[Y.jsxs(X.div,{cx:["f","fdc","aic","jcc","sy8","pt24","px16","f60","sm:f66"],children:[v&&Y.jsx(X.div,{cx:["uiTextNoFontSize",r9(it.default,C),"tac","fw700","ttu"],style:{color:y||"var(--black)"},children:Y.jsx(er,{href:en,onClick:Z,hover:!1,children:Y.jsx(ne,{"data-block-type":"text",html:v})})}),Y.jsxs(X.div,{cx:["f","fdc","sy24"],children:[Y.jsx(X.div,{cx:["uiTextNoFontSize",r9(it.costSummary,k),"tac","fw700"],style:{color:_||"var(--black)"},children:Y.jsx(er,{href:en,onClick:Z,hover:!1,style:{color:_||"var(--black)"},children:Y.jsx(ne,{"data-block-type":"text",html:T})})}),Y.jsx(nb,{size:nr.LARGE,type:"button",visual:nt.DEFAULT,variant:nn.PRIMARY,href:en,onClick:Z,"aria-label":S,cx:["uiTextNoFontSize",...r9(it.cta,E||A),"fw700","tdn","py6","x100"],borderRadiusOverride:"br16",style:{boxSizing:"border-box",backgroundColor:I||"var(--bg-primaryAccessible)",backgroundImage:rB(L),color:j||"var(--white)"},children:Y.jsx(ne,{"data-block-type":"text",html:S})})]}),Y.jsx(X.div,{cx:["uiTextNoFontSize",r9(it.benefitsDescription,D),"tac"],style:{color:R||"var(--black)"},children:Y.jsx(er,{href:en,onClick:Z,hover:!1,style:{color:R||"var(--black)"},children:Y.jsx(ne,{"data-block-type":"text",html:P})})}),B&&Y.jsx(X.span,{cx:["uiTextNoFontSize","fs13","tac"],children:Y.jsx(er,{href:en,onClick:Z,hover:!1,children:Y.jsx(ne,{"data-block-type":"text",html:B})})})]}),U&&Y.jsx(X.img,{src:U,alt:"Promo Image",cx:["f40","sm:f33","mw100px","sm:mw152px","mr16","asfe","mb24"]})]})]}),Y.jsx(X.div,{cx:["f","aic","jcc","py16","sm:py24","px16"],style:{backgroundColor:d||"var(--gray100)",backgroundImage:rB(u)},children:et?Y.jsxs(X.div,{cx:["ff-fontD","fs13","lh12","f","fdc","aic"],children:[Y.jsx(X.span,{children:Y.jsxs(er,{href:en,onClick:Z,hover:!1,style:{color:G||"var(--black)"},children:["You are signed in",$?" as ".concat($):""]})}),Y.jsx(X.span,{cx:["mt4"],children:Y.jsx(er,{href:en,onClick:Z,hover:!1,style:{color:G||"var(--black)"},children:"You do not have an active subscription."})})]}):Y.jsx(X.div,{cx:["underlinedButtonSm"],children:Y.jsxs(er,{cx:["cp"],onClick:J,underline:!1,children:[Y.jsx(ne,{style:{color:F||"var(--black)"},cx:["uiTextNoFontSize",r9(it.default,H),"inline","bold"],"data-block-type":"text",html:M+"&nbsp;"}),Y.jsx(ne,{style:{color:G||"var(--black)"},cx:["uiTextNoFontSize",r9(it.default,K),"tdu","inline","bold"],"data-block-type":"text",html:z})]})})})]})]})}function ii(e){let{callToActionUrl:t,callToActionTitle:n,callToActionButtonTextColor:r,callToActionButtonBackgroun
1dColor:i,headlineTextColor:o,headlineMobileText:a,headlineDesktopText:l,isSubscriber:s,modalBackgroundColor:c,showButton:d,onCtaClick:u,testId:p}=e;return Y.jsx(X.div,{style:{backgroundColor:c||void 0,transform:"translateY(100%)",transition:"opacity 0.3s ease, visibility 0.3s ease"},cx:["abs","left","bottom","x100","ox-hidden","tac","px8","py20",!s&&["none","xs:block"]],"data-testid":p,children:Y.jsxs(X.div,{cx:["f","fdc","sm:fdr","sm:inline-flex","tac","g8"],children:[Y.jsxs(er,{href:t,onClick:u,cx:["f"],children:[Y.jsx("div",{style:{color:o||void 0},className:Z("ma","tac","none","xs:inline","c-black","uiHeader7"),children:Y.jsx(ne,{"data-block-type":"text",html:l})}),Y.jsx("div",{style:{color:o||void 0},className:Z("ma","tac","inline","xs:none","c-black","uiHeader7"),children:Y.jsx(ne,{"data-block-type":"text",html:a})})]}),d?Y.jsx(nb,{style:{backgroundColor:i||void 0,color:r||void 0},href:t||void 0,onClick:u,cx:["standardButtonMd","ma"],type:"submit",children:Y.jsx(ne,{"data-block-type":"text",html:n})}):Y.jsx(er,{cx:["underlinedButtonMd"],href:t,onClick:u,underline:!0,children:Y.jsx(ne,{"data-block-type":"text",html:n})})]})})}function io(e){let{headlineText:t,descriptionText:n,callToActionButtonTitle:r,callToActionUrl:i,imageUrl:o,onCtaClick:a}=e,l=i&&r;return Y.jsxs(X.div,{cx:["f","jcc","tal","ais","sm:aic"],children:[o&&Y.jsx(X.div,{cx:["mw120px","xs:mw175px","mr24","sm:mr20","md:mr40"],children:Y.jsx(X.img,{src:o,cx:["x100"],alt:"image",title:t})}),Y.jsxs(X.div,{cx:["mw400px","sm:mw600px"],children:[Y.jsx(X.h2,{cx:["uiHeader6","fs16","md:fs32"],children:Y.jsx(ne,{"data-block-type":"text",html:t})}),Y.jsx(ne,{cx:["uiTextMedium","pt12","c-gray700"],"data-block-type":"text",html:n}),l&&Y.jsx(nb,{href:i,onClick:a,"aria-label":r,cx:["mt16","xfc"],children:Y.jsx(ne,{"data-block-type":"text",html:r})})]})]})}function ia(e){let{headlineDesktopText:t,headlineDesktopTextColor:n,headlineMobileText:r,headlineMobileTextColor:i,callToActionTitle:o,callToActionTitleColor:a,callToActionUrl:l,callToActionButtonBackgroundColor:s,showButton:c,placement:d="main",onCtaClick:u,eid:p,testId:m}=e;return Y.jsxs(X.div,{"data-eid":p,cx:["tac","jcc","aic","x100","mxa","py16","bt","bb","b-gray300","mb40","sidebar"!==d&&["sm:mx0","sm:f"]],"data-testid":m,children:[t&&Y.jsx(X.p,{cx:["uiTextLarge","none","sm:block"],style:n&&{color:n},children:Y.jsx(ne,{as:"span","data-block-type":"text",html:t})}),r&&Y.jsx(X.p,{cx:["uiTextLarge","sm:none"],style:i&&{color:i},children:Y.jsx(ne,{as:"span","data-block-type":"text",html:r})}),o&&l&&Y.jsx(nb,{href:l,onClick:u,cx:c?["bg-black","xfc","mxa","mt12","sidebar"!==d&&"sm:mx0","sidebar"!==d&&"sm:ml16","sidebar"!==d&&"sm:mt0"]:["mt4","c-primaryAccessible","sidebar"!==d&&"sm:ml8","sidebar"!==d&&"sm:mt0"],style:{...a&&{color:a},...c&&s&&{backgroundColor:s}},size:c?nr.SMALL:nr.LARGE,variant:c?nn.PRIMARY:nn.TERTIARY,suffixIcon:c?void 0:Y.jsx(rs,{width:14,height:14}),children:Y.jsx(ne,{"data-block-type":"text",html:o})})]})}function il(e){let{successMessage:t,headlineText:n,descriptionText:r,loginCheckText:i,dynamicLinks:o,callToActionButtonTitle:a,textFieldPlaceholderText:l,sailthruSignupListForBC:s,disclaimerText:c,subscriptionTeaseText:d,subscribeCallToActionTitle:u,subscribeCallToActionUrl:p,isSuccessOfferVariant:m=!1,onCtaClick:g,onSignupClick:h,onSignInClick:f,onRegwallSignup:w,close:x,processing:b,success:v,error:y}=e,C=m&&v;return Y.jsxs(X.div,{cx:["f","fdc","jcc","tac",v?"sm:mw500px":"sm:mw622px","ma","g16"],children:[o&&i&&!v&&Y.jsx(rU,{textAlign:"tac",underline:!0,text:i,links:o.loginCheckText,onSignInClick:f,textClasses:["uiTextSmall"],linkClasses:["underlinedButton","fw500"],allowHtml:!0}),n&&!v&&Y.jsx(X.h2,{cx:["marketingHeader5Md","lg:marketingHeader5Lg"],children:Y.jsx(ne,{"data-block-type":"text",html:n})}),r&&!v&&Y.jsx(X.p,{cx:["uiTextSmall","md:uiTextMedium","c-gray700"],children:Y.jsx(ne,{as:"span","data-block-type":"text",html:r})}),Y.jsx(rO,{buttonText:a||"Sign Up",onSignupClick:h,onRegwallSignup:e=>{w(e,s)},processing:b,success:v,successMessage:null==t?void 0:t.prefixText,secondarySuccessMessage:null==t?void 0:t.remainderText,labelIsVisible:!0,label:"Email Address",sharpCorners:!0,placeholder:l||void 0,error:y,t
1ype:"Regwall",children:o&&c&&Y.jsx(rU,{textAlign:"tal",underline:!0,text:c,links:o.disclaimerText,textClasses:["uiTextExtraSmall","sm:uiTextSmall","c-gray600"],linkClasses:["uiTextNoFontSize","c-primary"],allowHtml:!0})}),v&&Y.jsx(nb,{size:nr.AUTO,type:"button",visual:nt.ALTERNATE,borderRadiusOverride:"br2",href:m?p:void 0,onClick:m?g:x,cx:["asfc"],children:Y.jsx(ne,{"data-block-type":"text",html:m?u:"View Article"})}),o&&d&&!C&&Y.jsx(rU,{textAlign:"tac",underline:!0,text:d,links:o.subscriptionTeaseText,textClasses:["uiTextSmall"],linkClasses:["underlinedButton","fw500"],onCtaClick:g,allowHtml:!0})]})}function is(e){let{logoTheme:t,iconColor:n,headlineTextMobile:r,headlineTextDesktop:i,optionalTextMobile:o,optionalTextDesktop:l,descriptionTextMobile:s,descriptionTextDesktop:c,brandLogoUrlMobile:d,brandLogoUrlDesktop:u,headlineTextColor:p,optionalTextColor:m,termsDisclaimerTextMobile:g,termsDisclaimerTextDesktop:h,descriptionTextColor:f,modalBackgroundColor:w,callToActionButtonUrl:x,callToActionButtonTitleMobile:b,callToActionButtonTitleDesktop:v,termsDisclaimerTextColor:y,callToActionButtonTextColor:C,modalMobileBackgroundImageUrl:T,modalDesktopBackgroundImageUrl:_,callToActionButtonBackgroundColor:k,borderColor:S,closeTextMobile:E,closeTextDesktop:I,closeTextColor:L,linkTextMobile:j,linkTextDesktop:A,linkTextColor:N,linkTextUrl:O,countdownClockEnabled:P=!1,countdownProps:R,shouldDisplayCountdown:D=!0,close:U,onCtaClick:B,testId:M}=e,F=ew(),H=!!(E||I||O),z=(0,a.useRef)(null);function G(e){let{text:t,type:n,fontStyle:r,textColor:i,allowHtml:o=!1}=e;if(/\n/.test(t)){let e=r6(t).map((e,t)=>e?Y.jsx(X.div,{children:o?Y.jsx(ne,{"data-block-type":"text",html:e}):e},"".concat(n,"-line-").concat(t)):null);return Y.jsx(X.div,{style:{color:"".concat(i)},cx:[...r,"tac"],children:e})}return o?Y.jsx(ne,{html:t,cx:[...r,"tac"],style:{color:i||void 0}}):Y.jsx("p",{style:{color:i||void 0},className:Z([...r,"tac"]),children:t})}function K(e){let{dismissText:t,loginText:n,cx:r,style:i}=e;return Y.jsxs(X.div,{cx:r,style:{position:"absolute",...i},children:[t&&Y.jsx(er,{href:"#",underline:!0,underlineSecondaryColor:!1,onClick:e=>{e.preventDefault(),U(e)},cx:["uiTextExtraSmall","tac"],style:{color:L||void 0},children:t}),O&&n&&Y.jsx(er,{href:O,onClick:B,underline:!0,underlineSecondaryColor:!1,cx:["uiTextExtraSmall","tac"],style:{color:N||void 0},children:n})]})}return(0,a.useEffect)(()=>{rM(z.current)},[z]),Y.jsxs(X.div,{cx:["mxa","z1006","x300px","lg:x480px"],"data-testid":M,children:[P&&R&&D&&Y.jsx(rb,{countdownData:R}),Y.jsxs(X.div,{cx:["f","fdc","aic","mxa","lg:pb40",H?"pb16":"pb32","pt25","px16","lg:pt24","y330px","lg:y435px","bgscv","lg:bgsct","rel","x100"],style:S?{border:"1px solid ".concat(S)}:void 0,id:"modalOuter",ref:z,children:[Y.jsx("div",{className:Z(["top","left","x100","y100","z-1","abs"]),style:{backgroundColor:w},children:T&&_&&Y.jsxs(Y.Fragment,{children:[Y.jsx("img",{src:"".concat(T),className:"lg:none",alt:"brand-logo",style:H?{width:"100%",height:"100%",objectFit:"cover"}:void 0}),Y.jsx("img",{src:"".concat(_),className:"none lg:block",alt:"brand-logo",style:H?{width:"100%",height:"100%",objectFit:"cover"}:void 0})]})}),Y.jsx(n_,{bx:["asfe"],onClick:U,"aria-label":"close",style:H?{position:"absolute",top:"4px",right:"4px",zIndex:2}:void 0,children:Y.jsx(X.span,{cx:["f","aic","jcc"],style:H?{width:"43px",height:"43px",background:"radial-gradient(50% 50% at 50% 50%, #fff 0%, rgba(255, 255, 255, 0) 100%)"}:void 0,children:Y.jsx(ny,{size:"xs",focusable:!1,color:n||void 0})})}),Y.jsxs(X.div,{cx:["f","fdc","aic","g8","y100","jcc",H?"lg:pb64":""],children:[d&&u?Y.jsxs(X.div,{cx:["mw375px"],children:[Y.jsx("img",{src:"".concat(d),className:"lg:none x100",alt:"brand-logo"}),Y.jsx("img",{src:"".concat(u),className:"none lg:block x100",alt:"brand-logo"})]}):!H&&Y.jsxs(Y.Fragment,{children:[Y.jsx(X.div,{bx:["none","lg:f"],children:Y.jsx(tX,{siteCode:F,color:t||"brand",variant:"primary",bx:["mw275px"]})}),Y.jsx(X.div,{bx:["f","lg:none"],children:Y.jsx(ra,{siteCode:F,color:t||"brand",size:40})})]}),o&&Y.jsx(er,{href:x,onClick:B,cx:["lg:none"],children:Y.jsx(G,{text:o,textColor:m||void 0,fontStyle:["uiTextSmall","lg:uiTextExtraLarge"],type:"optionalText",allowHtml:!0})}
1),l&&Y.jsx(er,{href:x,onClick:B,cx:["none","lg:block"],children:Y.jsx(G,{text:l,textColor:m||void 0,fontStyle:["uiTextSmall","lg:uiTextExtraLarge"],type:"optionalText",allowHtml:!0})}),r&&Y.jsx(er,{href:x,onClick:B,cx:["lg:none"],children:Y.jsx(G,{text:r,type:"headline",textColor:p||void 0,fontStyle:["uiHeader2","lg:uiHeader1"],allowHtml:!0})}),i&&Y.jsx(er,{href:x,onClick:B,cx:["none","lg:block"],children:Y.jsx(G,{text:i,type:"headline",textColor:p||void 0,fontStyle:["uiHeader2","lg:uiHeader1"],allowHtml:!0})}),s&&Y.jsx(er,{href:x,onClick:B,cx:["lg:none"],children:Y.jsx(G,{text:s,type:"description",textColor:f||void 0,fontStyle:["uiTextMedium","lg:uiTextExtraLarge"],allowHtml:!0})}),c&&Y.jsx(er,{href:x,onClick:B,cx:["none","lg:block"],children:Y.jsx(G,{text:c,type:"description",textColor:f||void 0,fontStyle:["uiTextMedium","lg:uiTextExtraLarge"],allowHtml:!0})}),x&&b&&Y.jsx(nb,{type:"submit",borderRadiusOverride:"br2",href:x,onClick:B,variant:nn.SECONDARY,bx:["lg:none"],style:{color:null!=C?C:"",backgroundColor:null!=k?k:"",border:H?"none":void 0},children:Y.jsx(ne,{"data-block-type":"text",html:b})}),x&&v&&Y.jsx(X.div,{cx:["none","lg:block"],children:Y.jsx(nb,{type:"submit",borderRadiusOverride:"br2",href:x,onClick:B,variant:nn.SECONDARY,style:{color:null!=C?C:"",backgroundColor:null!=k?k:"",border:H?"none":void 0},cx:["lg:x194px","lg:y40px"],children:Y.jsx(ne,{"data-block-type":"text",html:v})})}),g&&Y.jsx(er,{href:x,onClick:B,cx:["lg:none"],children:Y.jsx(G,{text:g,type:"termsDisclaimer",textColor:y||void 0,fontStyle:["uiTextExtraSmall"],allowHtml:!0})}),h&&Y.jsx(er,{href:x,onClick:B,cx:["none","lg:block"],children:Y.jsx(G,{text:h,type:"termsDisclaimer",textColor:y||void 0,fontStyle:["uiTextExtraSmall"],allowHtml:!0})}),H&&Y.jsxs(Y.Fragment,{children:[Y.jsx(K,{dismissText:E,loginText:j,cx:["f","jcb","aic","lg:none"],style:{bottom:"16px",left:"16px",right:"16px"}}),Y.jsx(K,{dismissText:I,loginText:A,cx:["none","lg:f","lg:fdc","lg:aic","lg:g12"],style:{bottom:"72px",left:"0",right:"0"}})]})]})]})]})}let ic=tq("variant",{marketing:["bg-white","x256px","p28","br4","highTileShadowElevation","left","sm:right","sm:leftInit"],devHub:["bg-white","px16","br4","border","b-gray500","highTileShadowElevation","left"]});function id(e){let{children:t,onClose:n,location:r="below",variant:i="marketing",hasClose:o=!0}=e;return Y.jsxs(X.div,{cx:["abs","z1002",ic({variant:i}),"above"===r?"pfe0n3y":"top52"],children:[o&&Y.jsx(X.div,{cx:["abs","top8","right8"],children:Y.jsx(n_,{onClick:n,"aria-label":"close",children:Y.jsx(ny,{size:13})})}),t]})}let iu=Object.freeze(Object.defineProperty({__proto__:null,AppDownloadSignup:rf,AppDownloadSignupFooterToaster:rG,BadgeClient:ra,BrandedImageFallback:t$,Button:nb,Check:rp,Chevron:rs,Close:ny,ContentBlockerFooterToaster:rK,CopyLinkIcon:rk,Countdown:rb,ErrorInfo:rL,Exclaim:rI,FAQ:rS,FullscreenOverlay:nT,Gift:nf,GiftArticleButton:nv,GiftArticleRegwallFooterToaster:rV,GiftArticleToolTip:rE,HTML:ne,IButtonSize:nr,IButtonVariant:nn,IButtonVisual:nt,IconButton:n_,IconSize:nc,Image:t1,KnownUserFooterToaster:rW,LeftToaster:function(e){let{close:t,isOpen:n,closable:r=!0,children:i,focus:o=!1,borderPosition:l="none"}=e,s=(0,a.useRef)(null);return(0,a.useEffect)(()=>{o&&rF(s.current)},[s]),n?Y.jsxs(X.div,{role:"dialog",ref:s,"aria-live":"polite",cx:["fix","z1006","mw375px","bg-white","deep","br4","left32","top216","sm:topInit","sm:bottom32","px24","py24","top"===l&&"bt","bottom"===l&&"bb","b-primary","bw4","sq4k3ux"],style:{width:"min(375px, calc(100vw - 64px))",display:window.innerWidth<400?"none":"block"},children:[r&&Y.jsx(X.div,{cx:["f","jce","mb8"],children:Y.jsx(n_,{useGap:!1,onClick:t,"aria-label":"close",children:Y.jsx(ny,{size:"xs",focusable:!1})})}),i]}):null},Line:nE,Link:er,LoginReminderFooterToaster:rq,LogoClient:tX,MailGhost:rC,Modal:function(e){let{children:t,isOpen:n,onRequestClose:r,overlayTheme:i,bx:o,closable:a=!0,variant:s="alignCenter",forceOpacity:c,targetNode:d}=e,u=rw();rD(n),rR(a?r:()=>{});let p=Y.jsxs(X.div,{bx:o,cx:[n?["fix","top","left","bottom","right","f","jcc","z1005"]:"none",n&&rH({variant:s})],children:[Y.jsx(nT,{forceOpacity:c,isVisible:n,onClick:a?r:()=>{},theme:i}),t]});if(u)return null;let m=null!=d?d:document.getElementById("mod-target-div");return m?(0,l.createPortal)(p,m):null},NewsletterSignupFooterToaster:r$,NewsletterSignupHeaderToaster:r0,NewsletterSignupInline:r1,NewsletterSignupLeftToaster:r2,NewsletterSignupOverlay:r3,PaywallLayout2:ie,PaywallLayout3:ir,PaywallOverlay:r8,PaywallToaster:r5,PromoBanner:ii,PromoBenefitFooterToaster:io,PromoInline:ia,RegwallFooterToaster:il,RotatingLoadingSymbol:rl,Tail:rz,Toaster:function(e){let{backLinkText:t,children:n,backLinkUrl:r,onBackLinkClick:i,isOpen:o,classNames:l,close:s,closeable:c=!0,variant:d,focus:u,subtype:p,overlayPosition:m="under"}=e,g="bottomToaster"===d||"footerToaster"===d||"footer"===d||"bottomOverlay"===d||"FooterToaster"===d,h=(0,a.useRef)(null);return(0,a.useEffect)(()=>{u&&rF(h.current)},[h]),o?Y.jsxs(X.div,{cx:["left","x100","over"===m?"z1007":"z1006",g?["bottom","fix"]:"rel","headerToaster"===d&&["abs","mt1"]],ref:h,children:[g&&Y.jsx(X.div,{cx:["
1y96px","x100","highTileShadowElevationGradientReverse"]}),Y.jsx(X.div,{cx:["bg-white","b-gray600","x100","rel","tpa","td500",l,("headerToaster"===d||"footerToaster"===d||"FooterToaster"===d)&&"Announcement"!==p&&["xs:px40","sm:px48"]],children:Y.jsxs(X.div,{cx:[g?"mxa":"ma","headerToaster"===d&&["py48","mw1020px"],g&&"Announcement"!==p&&["pt32","pb40","px24","xs:px0","mw1020px"]],children:[c&&Y.jsx(X.div,{cx:["abs","right8","top8","cp"],children:t?Y.jsx(X.p,{cx:["underlinedButtonSm"],children:Y.jsx(er,{href:r,underline:!0,underlineSecondaryColor:!1,onClick:i,children:Y.jsx(ne,{"data-block-type":"text",html:t})})}):Y.jsx(n_,{bx:["asfe"],onClick:s,"aria-label":"close",children:Y.jsx(ny,{size:"xs"})})}),n]})}),"headerToaster"===d&&Y.jsx(X.div,{cx:["y96px","x100","highTileShadowElevationGradient"]})]}):null},Tooltip:id,UnstyledLink:en,WelcomeUnitOverlay:is,beaumontenterprise:ey,bigrapidsnews:tc,box:X,chron:eT,ctpost:eO,cx:Z,cxUntyped:Z,dallasnews:tV,dariennewsonline:eR,dependencyContext:ee,educationseattlepi:tT,getBackgroundStyle:rB,getGtmPropsFromGtmData:ei,getOverlayVisibilityStyles:nC,greenwichtime:eM,hearst:eH,lakecountystar:eX,lmtonline:e$,manisteenews:e1,michigansthumb:eq,middletownpress:e3,milfordmirror:e7,mrt:e5,myjournalcourier:eJ,myplainview:tu,mysa:tt,newcanaannewsonline:tr,newstimes:tl,nhregister:to,ourmidland:e4,premiumchron:eV,premiumctpost:eA,premiummysa:tb,premiumsfgate:tk,recordpatriot:tm,registercitizen:th,seattlepi:ty,sfgate:tE,sheltonherald:tL,smallbusinesschron:eE,stamfordadvocate:tA,statesman:tG,styled:nu,switchProp:tq,theheraldreview:eG,thehour:tO,theintelligencer:eU,themeContext:eh,theridgefieldpress:tw,thetelegraph:eb,timesunion:tR,trumbulltimes:tU,untyped:function(e){return e},useDependency:et,useEscapeKey:rR,useLockBodyScroll:rD,useSSR:rw,useSiteStyle:ef,useUniversalLayoutEffect:t9,weekand:tM,wiltonbulletin:tH,workchron:ek,yourconroenews:eL},Symbol.toStringTag,{value:"Module"}));function ip(e,t,n,r){var i,o;return null==e||null==(o=e[t])||null==(i=o[n])?void 0:i[r]}function im(e){let{countdownClockEnabled:t,countdownProps:n}=e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();if(!t||!n)return!1;let{startTimestamp:i,endTimestamp:o}=n;return!!i&&!!o&&Date.parse(i)<=r&&Date.parse(o)>r}function ig(e){let{paywallData:t,onCtaClick:n,onSignInClick:r,user:i}=e;return(0,o.jsx)(ie,{...t,onSignInClick:r,onCtaClick:n,status:i.loggedInStatus,email:i.email,shouldDisplayCountdown:im(t)})}function ih(e){let{paywallData:t,onCtaClick:n,onSignInClick:r,user:i}=e;return(0,o.jsx)(ir,{...t,onSignInClick:r,onCtaClick:n,status:i.loggedInStatus,email:i.email,shouldDisplayCountdown:im(t),testId:"paywall"})}let iw=new Set(["PaywallLayout2"]),ix=Object.freeze(Object.defineProperty({__proto__:null,default:function(e){let{payload:t}=e,{eventBus:n,currentUrl:r,user:i,onSignInClick:l,siteAwareJson:s,addLinkParams:c}=d();a.useEffect(()=>{n.emit(u.BLUECONIC_VIEW,t)},[n,t]);let p=ip(s,t.data.purpose,t.data.format,t.data.variant);if(!p)return null;let m=c(p.loggedInCallToActionButtonUrl,r,t),g=c(p.loggedOutCallToActionButtonUrl,r,t),h=e=>{e.preventDefault();let r={...t,linkText:e.currentTarget.textContent||"unknown"};n.emit(u.BLUECONIC_CLICK,r),l()},f=e=>{let r=e.currentTarget.textContent||"unknown";r=r.replace(/\n/g," ");let i={...t,linkText:r};n.emit(u.BLUECONIC_CLICK,i)},w={...p,loggedInCallToActionButtonUrl:m,loggedOutCallToActionButtonUrl:g};return"layout"in p&&"PaywallLayout3"===p.layout?(0,o.jsx)(ih,{paywallData:w,onSignInClick:h,onCtaClick:f,user:i}):iw.has(t.data.variant)?(0,o.jsx)(ig,{paywallData:w,onSignInClick:h,onCtaClick:f,user:i}):(0,o.jsx)(r8,{...w,onSignInClick:h,onCtaClick:f,status:i.loggedInStatus,email:i.email,shouldDisplayCountdown:im(p),testId:"paywall"})}},Symbol.toStringTag,{value:"Module"})),ib=Object.freeze(Object.defineProperty({__proto__:null,default:function(e){let{payload:t}=e,{eventBus:n,currentUrl:r,user:i,onSignInClick:l,siteAwareJson:s,addLinkParams:c}=d();a.useEffect(()=>{n.emit(u.BLUECONIC_VIEW,t)},[n,t]);let p=ip(s,t.data.purpose,t.data.format,t.data.variant);if(!p)return null;let m=p.offers.map(e=>({...e,loggedInCallToActionButtonUrl:c(e.loggedInCallToActionButtonUrl,r,t),loggedOutCallToActionButtonUrl:c(e.loggedOutCallToActionButtonUrl,r,t)}));return(0,o.jsx)(r5,{...p,offers:m,userEmail:i.email,userIsSignedIn:"loggedIn"===i.loggedInStatus,onCtaClick:(e,r)=>{var i;n.emit(u.BLUECONIC_CLICK,{...t,linkText:(null==(i=e.currentTarget.textContent)?void 0:i.replace(/\n/g," "))||"unknown",data:{...t.data,variant:"".concat(t.data.variant,":").concat(r)}})},onSignInClick:e=>{e.preventDefault(),n.emit(u.BLUECONIC_CLICK,{...t,linkText:e.currentTarget.textContent||"unknown"}),l()}})}},Symbol.toStringTag,{value:"Module"})),iv=Object.freeze(Object.defineProperty({__proto__:null,default:function(e){let{payload:t,close:n}=e,{eventBus:r,currentUrl:i,siteAwareJson:l,addLinkParams:s}=d();a.useEffect(()=>{r.emit(u.BLUECONIC_VIEW,t)},[r,t]);let c=ip(l,t.data.purpose,t.data.format,t.data.variant);if(!c)return null;let p=s(c.callToActionButtonUrl,i,t);return(0,o.jsx)(is,{...c,callToActionButtonUrl:p,close:null!=n?n:()=>{},onCtaClick:e=>{let n=e.currentTarget.textContent||"unknown";n=n.replace(/\n/g," ");let i={...t,linkText:n};r.emit(u.BLUECONIC_CLICK,i)},shouldDisplayCountdown:im(c),testId:"welcome-unit"})}},Symbol.toStringTag,{value:"Module"})),iy={processing:!1,success:!1,error:!1},iC=Object.freeze(Object.defineProperty({__proto__:null,default:function(e){let{payload:t,close:n,setModalProps:r}=e,{eventBus:i,onNewsletterSignup:l,siteAwareJson:s,user:c}=d(),[p,m]=a.useState(iy);a.useEffect(()=>{i.emit(u.BLUECONIC_VIEW,t)},[i,t]);let g=ip(s,t.data.purpose,t.data.format,t.data.variant);return a.useEffect(()=>{g&&(null==r||r({closable:!0!==g.showBackLink&&!p.success}))},[p.success,r,g]),g?(0,o.jsx)(r3,{...g,close:null!=n?n:()=>{},onSignupClick:e=>{i.emit(u.BLUECONIC_CLICK,{...t,linkText:e.currentTarget.textContent||"unknown"})},onNewsletterSignup:async e=>{if(!l)throw Error("Marketing config is missing onNewsletterSignup for NewsletterSignupOverlay.");m({processing:!0,success:!1,error:!1});try{await l({email:e,payload:t,unitData:g,onBlueconicProfileSyncError:e=>{i.emit(u.MARKETING_ERROR,e)}}),m({processing:!1,success:!0,error:!1})}catch(e){i.emit(u.MARKETING_ERROR,{source:"onNewsletterSignup",action:"newsletterSignup",message:e instanceof Error?e.message:"Unknown newsletter signup error",payload:t,error:G(e)}),m({processing:!1,success:!1,error:!0})}},clearFormErrors:()=>{m(e=>({...e,error:!1}))},processing:p.processing,success:p.success,error:p.error,user:c}):null}},Symbol.toStringTag,{value:"Module"})),iT={processing:!1,success:!1,error:!1},i_=Object.freeze(Object.defineProperty({__proto__:null,default:function(e){let{payload:t,setLeftToasterProps:n}=e,{eventBus:r,onNewsletterSignup:i,siteAwareJson:l,user:s}
1=d(),[c,p]=a.useState(iT);a.useEffect(()=>{r.emit(u.BLUECONIC_VIEW,t)},[r,t]);let m=ip(l,t.data.purpose,t.data.format,t.data.variant);return a.useEffect(()=>{(null==m?void 0:m.borderPosition)&&(null==n||n({borderPosition:m.borderPosition}))},[n,null==m?void 0:m.borderPosition]),m?(0,o.jsx)(r2,{...m,onSignupClick:e=>{r.emit(u.BLUECONIC_CLICK,{...t,linkText:e.currentTarget.textContent||"unknown"})},onNewsletterSignup:async e=>{if(!i)throw Error("Marketing config is missing onNewsletterSignup for NewsletterSignupLeftToaster.");p({processing:!0,success:!1,error:!1});try{await i({email:e,payload:t,unitData:m,onBlueconicProfileSyncError:e=>{r.emit(u.MARKETING_ERROR,e)}}),p({processing:!1,success:!0,error:!1})}catch(e){r.emit(u.MARKETING_ERROR,{source:"onNewsletterSignup",action:"newsletterSignup",message:e instanceof Error?e.message:"Unknown newsletter signup error",payload:t,error:G(e)}),p({processing:!1,success:!1,error:!0})}},clearFormErrors:()=>{p(e=>({...e,error:!1}))},user:s,processing:c.processing,success:c.success,error:c.error}):null}},Symbol.toStringTag,{value:"Module"})),ik="gift-article-button",iS=Object.freeze(Object.defineProperty({__proto__:null,default:function(e){let{payload:t,slotProps:n={}}=e,{eventBus:r,currentUrl:i,user:l,siteAwareJson:s,addLinkParams:c}=d(),{placement:p,eid:m,testId:g}=n,h=ip(s,t.data.purpose,t.data.format,t.data.variant);if(a.useEffect(()=>{r.emit(u.BLUECONIC_VIEW,t)},[r,t]),!h)return null;let f="PromoBenefit"===t.data.purpose&&"Inline"===t.data.format&&"#"===h.callToActionUrl;if(f&&(null==l?void 0:l.loggedInStatus)!=="loggedIn")return null;let w=f?"#".concat(ik):c(h.callToActionUrl,i,t);return(0,o.jsx)(ia,{...h,callToActionUrl:w,placement:p,onCtaClick:e=>{let n=e.currentTarget.textContent||"unknown";n=n.replace(/\n/g," ");let i={...t,linkText:n};r.emit(u.BLUECONIC_CLICK,i),f&&r.emit(u.GIFT_ARTICLE_TOOLTIP_OPEN,{targetId:ik})},eid:m,testId:g})}},Symbol.toStringTag,{value:"Module"})),iE=Object.freeze(Object.defineProperty({__proto__:null,default:function(e){let{payload:t,slotProps:n={}}=e,{eventBus:r,currentUrl:i,user:l,siteAwareJson:s,addLinkParams:c}=d(),p=function(e){let[t,n]=(0,a.useState)(!1),r=(0,a.useRef)(null);return(0,a.useEffect)(()=>{function e(){r.current=null,n(window.scrollY>=308)}function t(){null===r.current&&(r.current=requestAnimationFrame(e))}return window.addEventListener("scroll",t,{passive:!0}),n(window.scrollY>=308),()=>{window.removeEventListener("scroll",t),null!==r.current&&cancelAnimationFrame(r.current)}},[e]),t}(308);a.useEffect(()=>{r.emit(u.BLUECONIC_VIEW,t)},[r,t]);let m=ip(s,t.data.purpose,t.data.format,t.data.variant);if(!m||!p)return null;let g=c(m.callToActionUrl,i,t);return(0,o.jsx)(ii,{...n,...m,callToActionUrl:g,isSignedIn:(null==l?void 0:l.loggedInStatus)==="loggedIn",isSubscriber:null==l?void 0:l.isSubscriber,onCtaClick:e=>{let n=e.currentTarget.textContent||"unknown";n=n.replace(/\n/g," ");let i={...t,linkText:n};r.emit(u.BLUECONIC_CLICK,i)}})}},Symbol.toStringTag,{value:"Module"}));function iI(e){if(!(e.getValues("shared_articles")||[]).includes(window.location.href)){let t=parseInt(e.getValue("number_of_shared_articles")||"0",10);0===t&&e.setValue("shared_articles_date",String(new Date().getTime())),e.setValue("number_of_shared_articles",String(t+1)),e.addValue("shared_articles",window.location.href),p()}}function iL(e){let t=btoa(window.location.href.split("?")[0]),n=btoa(String(new Date().getTime())),r=btoa(e.getValue("realm_id")),i=btoa(e.getValue("number_of_shared_articles")),o=new URL(window.location.href);return o.searchParams.set("utm_source","marketing"),o.searchParams.set("utm_medium","copy-url-link"),o.searchParams.set("utm_campaign","article-share"),o.searchParams.set("hash",t),o.searchParams.set("time",n),o.searchParams.set("rid",r),o.searchParams.set("sharecount",i),o.toString()}let ij=Object.freeze(Object.defineProperty({__proto__:null,default:function(e){var t,n,r;let{payload:i}=e,{eventBus:l,siteAwareJson:s,currentUrl:c,addLinkParams:m,page:g}=d(),[h,f]=a.useState("share"),[w,x]=a.useState(!1),[b,v]=a.useState(null),[y,C]=a.useState("below"),T=a.useRef(null),_=a.useRef(null),k=null==g||null==(t=g.meta)?void 0:t.t
1itle,S=null==g||null==(n=g.meta)?void 0:n.publicationName,E=ip(s,i.data.purpose,i.data.format,i.data.variant),I=(null==E||null==(r=E.tooltip)?void 0:r.faqUrl)?m(E.tooltip.faqUrl,c,i):void 0,L=a.useCallback(e=>{var t,n;if(!e)return;f(!function(e){let t=parseInt(e.getValue("number_of_shared_articles")||"0",10);return!(e.getValues("shared_articles")||[]).includes(window.location.href)&&t>=10}(e)?"share":"error");let r=null!=(n=null==(t=T.current)?void 0:t.getBoundingClientRect().bottom)?n:0;C(window.innerHeight-r<150?"above":"below"),x(!0)},[]);if(a.useEffect(()=>{l.emit(u.BLUECONIC_VIEW,i);try{let e=M();_.current=e,v(e),function(e){let t=parseInt(e.getValue("shared_articles_date")||"0",10);(Date.now()-new Date(t).getTime())/864e5>30&&(e.setValue("number_of_shared_articles","0"),e.setValue("shared_articles",JSON.stringify([])),p())}(e)}catch(e){l.emit(u.MARKETING_ERROR,{source:"GiftArticleButton",action:"loadProfile",message:"Failed to load BlueConic profile.",error:G(e),payload:i})}let e=l.on(u.GIFT_ARTICLE_TOOLTIP_OPEN,e=>{let{targetId:t}=e;t===ik&&L(_.current)});return()=>{l.off(u.GIFT_ARTICLE_TOOLTIP_OPEN,e)}},[l,L,i]),!E)return null;let j=e=>{l.emit(u.BLUECONIC_CLICK,{...i,linkText:e})};return(0,o.jsxs)("div",{id:ik,style:{position:"relative"},children:[(0,o.jsx)("div",{ref:T,children:(0,o.jsx)(nv,{active:w,onClick:e=>{if(e.preventDefault(),b){if(w)return void x(!1);L(b),j(e.currentTarget.textContent||"unknown")}},children:E.button.text})}),w?(0,o.jsx)(id,{onClose:()=>{x(!1),j("close")},location:y,children:"share"===h?(0,o.jsx)(rE,{onFaqClick:()=>{I&&window.open(I,"_blank","noopener")},onEmailClick:()=>{b&&S&&k&&(window.open(function(e,t,n){let r=iL(e),i=["A subscriber has shared the following ".concat(t," article with you."),"You have full access to it - no paywall! Just click on the link to start reading.",n,r].join("\r\n");return"mailto:?subject=".concat(encodeURIComponent("INSIDE >> A ".concat(t," article has been shared with you")),"&body=").concat(encodeURIComponent(i))}(b,S,k),"_blank","noopener"),iI(b),j("Email"),B(i.variantId,i.data.purpose,E.conversionEvent))},onCopyClick:()=>{b&&(window.navigator.clipboard.writeText(iL(b)||""),iI(b),j("CopyLink"),B(i.variantId,i.data.purpose,E.conversionEvent))},tooltipTitleText:E.tooltip.headlineText,tooltipDescriptionText:E.tooltip.descriptionText}):(0,o.jsx)(rL,{tooltipErrorTitleText:E.tooltip.errorTitleText,tooltipErrorDescriptionText:E.tooltip.errorDescriptionText,tooltipErrorSubDescriptionText:E.tooltip.errorSubDescriptionText})}):null]})}},Symbol.toStringTag,{value:"Module"})),iA={processing:!1,success:!1,error:!1},iN=Object.freeze(Object.defineProperty({__proto__:null,default:function(e){let{payload:t,slotProps:n={}}=e,{eventBus:r,onNewsletterSignup:i,siteAwareJson:l,user:s}=d(),[c,p]=a.useState(iA),{placement:m,eid:g}=n;a.useEffect(()=>{r.emit(u.BLUECONIC_VIEW,t)},[r,t]);let h=ip(l,t.data.purpose,t.data.format,t.data.variant);return h?(0,o.jsx)(r1,{...h,onSignupClick:e=>{r.emit(u.BLUECONIC_CLICK,{...t,linkText:e.currentTarget.textContent||"unknown"})},onNewsletterSignup:async e=>{if(!i)throw Error("Marketing config is missing onNewsletterSignup for NewsletterSignupInline.");p({processing:!0,success:!1,error:!1});try{await i({email:e,payload:t,unitData:h,onBlueconicProfileSyncError:e=>{r.emit(u.MARKETING_ERROR,e)}}),p({processing:!1,success:!0,error:!1})}catch(e){r.emit(u.MARKETING_ERROR,{source:"onNewsletterSignup",action:"newsletterSignup",message:e instanceof Error?e.message:"Unknown newsletter signup error",payload:t,error:G(e)}),p({processing:!1,success:!1,error:!0})}},clearFormErrors:()=>{p(e=>({...e,error:!1}))},placement:m,user:s,processing:c.processing,success:c.success,error:c.error,eid:g}):null}},Symbol.toStringTag,{value:"Module"})),iO={processing:!1,success:!1,error:!1},iP=Object.freeze(Object.defineProperty({__proto__:null,default:function(e){let{payload:t}=e,{eventBus:n,user:r,siteAwareJson:i,onAppDownloadSignup:l}=d(),[s,c]=a.useState(iO);a.useEffect(()=>{n.emit(u.BLUECONIC_VIEW,t)},[n,t]);let p=ip(i,t.data.purpose,t.data.format,t.data.variant);if(!p)return null;let m=async e=>{if(!l)throw Error("Marketing config is missing onAppDownloadSignup for AppDownloadSignupFooterToaster.");let n=function(){try{return M().getValue("email")}catch(e){return null}}()||r.email;if(!n)throw Error("Email not found in BlueConic profile or user state for AppDownloadSignupFooterToaster.");c({processing:!0,success:!1,error:!1});try{await l({phone:e,email:n,payload:t,unitData:p}),c({processing:!1,success:!0,error:!1})}catch(e){c({processing:!1,success:!1,error:!0})}};return(0,o.jsx)(rG,{...p,onAppDownloadSignup:m,user:r,processing:s.processing,success:s.success,error:s.error,onSignupClickFrontend:e=>{let r={...t,linkText:e.currentTarget.textContent||"unknown"};n.emit(u.BLUECONIC_CLICK,r)}})}},Symbol.toStringTag,{value:"Module"})),iR=Object.freeze(Object.defineProperty({__proto__:null,default:function(e){let{payload:t}=e,{eventBus:n,siteAwareJson:r,currentUrl:i,onSignInClick:l,addLinkParams:s}=d();a.useEffect(()=>{n.emit(u.BLUECONIC_VIEW,t)},[n,t]);let c=ip(r,t.data.purpose,t.data.format,t.data.variant);if(!c)return null;let p=s(c.callToActionUrl,i,t);return(0,o.jsx)(rK,{...c,callToActionUrl:p,onSignInClick:e=>{e.preventDefault();let r={...t,linkText:e.currentTarget.textContent||"unknown"};n.emit(u.BLUECONIC_CLICK,r),l()},onCtaClick:e=>{let r=e.currentTarget.textContent||"unknown";r=r.replace(/\n/g," ");let i={...t,linkText:r};n.emit(u.BLUECONIC_CLICK,i)}})}},Symbol.toStringTag,{value:"Module"})),iD=Object.freeze(Object.defineProperty({__proto__:null,default:function(e){let{payload:t}=e,{eventBus:n,siteAwareJson:r,currentUrl:i,onSignInClick:l,addLinkParams:s}=d();a.useEffect(()=>{n.emit(u.BLUECONIC_VIEW,t)},[n,t]);let c=ip(r,t.data.purpose,t.data.format,t.data.variant);if(!c)return null;let p=Object.fromEntries(Object.entries(c.dynamicLinks).map(e=>{let[n,r]=e;return[n,r.map(e=>({...e,url:s(e.url,i,t)}))]}));return(0,o.jsx)(rW,{...c,dynamicLinks:p,onSignInClick:e=>{e.preventDefault();let r={...t,linkText:e.currentTarget.textContent||"unknown"};n.emit(u.BLUECONIC_CLICK,r),l()},onCtaClick:e=>{let r=e.currentTarget.textContent||"unknown";r=r.replace(/\n/g," ");let i={...t,linkText:r};n.emit(u.BLUECONIC_CLICK,i)}})}},Symbol.toStringTag,{value:"Module"})),iU={processing:!1,success:!1,error:!1},iB=Object.freeze(Object.defineProperty({__proto__:null,default:function(e){let{payload:t,close:n,setToasterProps:r}=e,{addLinkParams:i,currentUrl:l,eventBus:s,onRegwallSignup:c,onSignInClick:p,siteAwareJson:m}
1=d(),[g,h]=a.useState(iU);a.useEffect(()=>{s.emit(u.BLUECONIC_VIEW,t)},[s,t]),rD(!g.success);let f=ip(m,t.data.purpose,t.data.format,t.data.variant),w=a.useCallback(e=>{let n=e.currentTarget.textContent||"unknown";n=n.replace(/\n/g," ");let r={...t,linkText:n};s.emit(u.BLUECONIC_CLICK,r)},[s,t]);if(a.useEffect(()=>{if(!f)return;let e=t.data.variant.includes(":withOffer")&&g.success,i=e?n:w;null==r||r({closable:e,backLinkText:e?f.successCloseUnitText:f.backLinkText,backLinkUrl:e?"":f.backLinkUrl,onBackLinkClick:i})},[n,g.success,w,t.data.variant,r,f]),!f)return null;let x=Object.fromEntries(Object.entries(f.dynamicLinks).map(e=>{let[n,r]=e;return[n,r.map(e=>({...e,url:i(e.url,l,t)}))]})),b=async e=>{if(!c)throw Error("Marketing config is missing onRegwallSignup for RegwallFooterToaster.");h({processing:!0,success:!1,error:!1});try{await c({unitData:f,email:e,payload:t}),h({processing:!1,success:!0,error:!1})}catch(e){s.emit(u.MARKETING_ERROR,{source:"onRegwallSignup",action:"regwallSignup",message:e instanceof Error?e.message:"Unknown regwall signup error",payload:t,error:G(e)}),h({processing:!1,success:!1,error:!0})}};return(0,o.jsx)(il,{...f,dynamicLinks:x,processing:g.processing,success:g.success,error:g.error,isSuccessOfferVariant:t.data.variant.includes(":withOffer"),close:null!=n?n:()=>{},onRegwallSignup:b,onSignupClick:w,onSignInClick:e=>{e.preventDefault();let n={...t,linkText:e.currentTarget.textContent||"unknown"};s.emit(u.BLUECONIC_CLICK,n),p()},onCtaClick:w})}},Symbol.toStringTag,{value:"Module"})),iM={processing:!1,success:!1,error:!1},iF=Object.freeze(Object.defineProperty({__proto__:null,default:function(e){let{payload:t,setToasterProps:n}=e,{addLinkParams:r,currentUrl:i,eventBus:l,onGiftArticleRegwallSignup:s,onSignInClick:c,siteAwareJson:p,user:m}=d(),[g,h]=a.useState(iM),f=!!m.email||g.success;a.useEffect(()=>{l.emit(u.BLUECONIC_VIEW,t)},[l,t]),rD(!f),a.useEffect(()=>{null==n||n({closable:f})},[f,n]);let w=ip(p,t.data.purpose,t.data.format,t.data.variant);if(!w)return null;let x=Object.fromEntries(Object.entries(w.dynamicLinks).map(e=>{let[n,o]=e;return[n,o.map(e=>({...e,url:r(e.url,i,t)}))]})),b=async e=>{if(!s)throw Error("Marketing config is missing onGiftArticleRegwallSignup for GiftArticleRegwallFooterToaster.");h({processing:!0,success:!1,error:!1});try{await s({unitData:w,email:e,payload:t}),h({processing:!1,success:!0,error:!1})}catch(e){h({processing:!1,success:!1,error:!0})}},v=e=>{let n=e.currentTarget.textContent||"unknown";n=n.replace(/\n/g," ");let r={...t,linkText:n};l.emit(u.BLUECONIC_CLICK,r)};return(0,o.jsx)(rV,{...w,dynamicLinks:x,processing:g.processing,success:f,error:g.error,onGiftArticleRegwallSignup:b,onSignupClick:v,onSignInClick:e=>{e.preventDefault();let n={...t,linkText:e.currentTarget.textContent||"unknown"};l.emit(u.BLUECONIC_CLICK,n),c()},onCtaClick:v})}},Symbol.toStringTag,{value:"Module"})),iH=Object.freeze(Object.defineProperty({__proto__:null,default:function(e){let{payload:t}=e,{eventBus:n,siteAwareJson:r,user:i,onSignInClick:l}=d();a.useEffect(()=>{n.emit(u.BLUECONIC_VIEW,t)},[n,t]);let s=ip(r,t.data.purpose,t.data.format,t.data.variant);return s?(0,o.jsx)(rq,{...s,onSignInClick:e=>{e.preventDefault();let r={...t,linkText:e.currentTarget.textContent||"unknown"};n.emit(u.BLUECONIC_CLICK,r),l()},user:i}):null}},Symbol.toStringTag,{value:"Module"})),iz=Object.freeze(Object.defineProperty({__proto__:null,default:function(e){let{payload:t}=e,{eventBus:n,siteAwareJson:r,currentUrl:i,addLinkParams:l}=d();a.useEffect(()=>{n.emit(u.BLUECONIC_VIEW,t)},[n,t]);let s=ip(r,t.data.purpose,t.data.format,t.data.variant);if(!s)return null;let c=l(s.callToActionUrl,i,t);return(0,o.jsx)(io,{...s,callToActionUrl:c,onCtaClick:e=>{let r=e.currentTarget.textContent||"unknown";r=r.replace(/\n/g," ");let i={...t,linkText:r};n.emit(u.BLUECONIC_CLICK,i)}})}},Symbol.toStringTag,{value:"Module"})),iG={processing:!1,success:!1,error:!1},iK=Object.freeze(Object.defineProperty({__proto__:null,default:function(e){let{payload:t}=e,{eventBus:n,onNewsletterSignup:r,siteAwareJson:i,user:l}=d(),[s,c]=a.useState(iG);a.useEffect(()=>{n.emit(u.BLUECONIC_VIEW,t)},[n,t]);let p=ip(i,t.data.purpose,t.data.format,t.data.variant);return p?(0,o.jsx)(r$,{...p,onSignupClick:e=>{n.emit(u.BLUECONIC_CLICK,{...t,linkText:e.currentTarget.textContent||"unknown"})},onNewsletterSignup:async e=>{if(!r)throw Error("Marketing config is missing onNewsletterSignup for NewsletterSignupFooterToaster.");c({processing:!0,success:!1,error:!1});try{await r({email:e,payload:t,unitData:p,onBlueconicProfileSyncError:e=>{n.emit(u.MARKETING_ERROR,e)}}),c({processing:!1,success:!0,error:!1})}catch(e){n.emit(u.MARKETING_ERROR,{source:"onNewsletterSignup",action:"newsletterSignup",message:e instanceof Error?e.message:"Unknown newsletter signup error",payload:t,error:G(e)}),c({processing:!1,success:!1,error:!0})}},clearFormErrors:()=>{c(e=>({...e,error:!1}))},user:l,processing:s.processing,success:s.success,error:s.error}):null}},Symbol.toStringTag,{value:"Module"})),iV={processing:!1,success:!1,error:!1},iW=Object.freeze(Object.defineProperty({__proto__:null,default:function(e){let{payload:t}=e,{eventBus:n,onNewsletterSignup:r,siteAwareJson:i,user:l}=d(),[s,c]=a.useState(iV);a.useEffect(()=>{n.emit(u.BLUECONIC_VIEW,t)},[n,t]);let p=ip(i,t.data.purpose,t.data.format,t.data.variant);return p?(0,o.jsx)(r0,{...p,onSignupClick:e=>{n.emit(u.BLUECONIC_CLICK,{...t,linkText:e.currentTarget.textContent||"unknown"})},onNewsletterSignup:async e=>{if(!r)throw Error("Marketing config is missing onNewsletterSignup for NewsletterSignupHeaderToaster.");c({processing:!0,success:!1,error:!1});try{await r({email:e,payload:t,unitData:p,onBlueconicProfileSyncError:e=>{n.emit(u.MARKETING_ERROR,e)}}),c({processing:!1,success:!0,error:!1})}catch(e){n.emit(u.MARKETING_ERROR,{source:"onNewsletterSignup",action:"newsletterSignup",message:e instanceof Error?e.message:"Unknown newsletter signup error",payload:t,error:G(e)}),c({processing:!1,success:!1,error:!0})}},clearFormErrors:()=>{c(e=>({...e,error:!1}))},user:l,processing:s.processing,success:s.success,error:s.error}):null}},Symbol.toStringTag,{value:"Module"}))},18584:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1184),i=n(9999),o=n(44112);function a(e,t,n){if(e.startsWith("#")||e.startsWith("/"))return!1;try{let o="https://".concat(t).concat(n),a=new URL(e,o),l=(0,i.t)(a.hostname).domainConfig.domain;if(Object.keys(r.i5).includes(l))return!1;return!0}catch(r){return o.A.error({constructedUrl:"https://".concat(t).concat(n),href:e,e:r},"IsOutboundLinkError"),!1}}},19530:e=>{!function(){"use strict";var t={815:function(e){e.exports=function(e,n,r,i){n=n||"&",r=r||"=";var o={};if("string"!=typeof e||0===e.length)return o;var a=/\+/g;e=e.split(n);var l=1e3;i&&"number"==typeof i.maxKeys&&(l=i.maxKeys);var s=e.length;l>0&&s>l&&(s=l);for(var c=0;c<s;++c){var d,u,p,m,g=e[c].replace(a,"%20"),h=g.indexOf(r);(h>=0?(d=g.substr(0,h),u=g.substr(h+1)):(d=g,u=""),p=decodeURIComponent(d),m=decodeURIComponent(u),Object.prototype.hasOwnProperty.call(o,p))?t(o[p])?o[p].push(m):o[p]=[o[p],m]:o[p]=m}return o};var t=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},577:function(e){var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,o,a,l){return(o=o||"&",a=a||"=",null===e&&(e=void 0),"object"==typeof e)?r(i(e),function(i){var l=encodeURIComponent(t(i))+a;return n(e[i])?r(e[i],function(e){return l+encodeURIComponent(t(e))}).join(o):l+encodeURIComponent(t(e[i]))}).join(o):l?encodeURIComponent(t(l))+a+encodeURIComponent(t(e)):""};var n=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function r(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var i=Object.keys||function(e){var t=[];
1for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var o=n[e]={exports:{}},a=!0;try{t[e](o,o.exports,r),a=!1}finally{a&&delete n[e]}return o.exports}r.ab="//";var i={};i.decode=i.parse=r(815),i.encode=i.stringify=r(577),e.exports=i}()},20863:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>o});var r=n(90665);let i=()=>({info:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.log(...t)},warn:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.warn(...t)},error:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.error(...t)},debug:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.log(...t)},fatal:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.error(...t)},child:()=>i()}),o={Link:function(e){let{children:t,...n}=e;return r.j.jsx("a",{...n,children:t})},Script:function(e){let{children:t,...n}=e;return r.j.jsx("script",{...n,dangerouslySetInnerHTML:{__html:t}})},Head:function(e){let{children:t}=e;return r.j.jsx(r.j.Fragment,{children:t})},Example:function(e){let{}=e;return r.j.jsx(r.j.Fragment,{})},Lazy:function(e){let{children:t}=e;return r.j.jsx(r.j.Fragment,{children:t})},Ad:function(e){let{params:t}=e;return r.j.jsx(r.j.Fragment,{children:t})},logger:i()}},21286:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},22053:(e,t,n)=>{"use strict";var r=Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]},i=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(){var e=function(t){return(e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t})(t)};return function(t){if(t&&t.__esModule)return t;var n={};if(null!=t)for(var o=e(t),a=0;a<o.length;a++)"default"!==o[a]&&r(n,t,o[a]);return i(n,t),n}}();Object.defineProperty(t,"__esModule",{value:!0}),t.FeatureFlagProvider=function(e){let{flags:t,siteId:n=0,children:r}=e,[i,o]=(0,a.useState)(t);return a.default.createElement(l.FeatureFlagContext.Provider,{value:{isEnabled:function(e){let t=i.find(t=>{let{key:n,enabled:r}=t;return n===e&&r});return(0,s.isFeatureFlagEnabled)(t,n)},getAllFeatureFlags:function(){let e={};return i.forEach(t=>{let{key:n,enabled:r,revalidationTime:i}=t;e[n]=[r,i||0]}),e},overrideFlagAtRuntime:function(e,t){i.find(t=>t.key===e)?o(n=>n.map(n=>n.key===e?{...n,enabled:t}:n)):o(n=>[...n,{key:e,uuid:e,enabled:t,projectId:"default",metadata:{createdAt:0,lastUpdatedAt:0},tags:[]}])}}},r)};let a=o(n(13385)),l=n(14815),s=n(2018)},22128:(e,t,n)=>{e.exports=n(91493)},22195:(e,t)=>{"use strict";class n{getConfiguredLogLevel(){let e=new URLSearchParams(window.location.search),t=this.parseCookies(document.cookie);return e.get("loglevel")||t._loglevel||"error"}shouldLog(e){let t=this.getConfiguredLogLevel();return(this.logLevels[t]||[]).includes(e)}getLevelColor(e){switch(e){default:case"info":return"#4ff594";case"debug":return"#4fc6f5";case"warn":return"#f5c64f";case"error":case"fatal":return"#f54f4f"}}logMessage(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=[...n];"string"==typeof t&&r.unshift(t);let i=["%c ".concat(null==r?void 0:r.join(" ")),"color: ".concat(this.getLevelColor(e),"; font-weight:bold;")];"object"==typeof t&&i.push(t),(this.consoleLevelMap[e]||console.log)(...i)}parseCookies(e){return(e||"").split("; ").map(e=>e.split(/=(.+)/)).reduce((e,t)=>{let[n,r]=t;return e[n]=r,e},{})}emitOnLog(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(!this.onLog)return;let r={level:e,message:"string"==typeof t?[t,...n].join(" "):n.join(" ")};"object"==typeof t&&null!==t&&(r.context=t);try{this.onLog(r)}catch(e){}}debug(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.emitOnLog("debug",e,n),this.shouldLog("debug")&&this.logMessage("debug",e,n)}info(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.emitOnLog("info",e,n),this.shouldLog("info")&&this.logMessage("info",e,n)}warn(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.emitOnLog("warn",e,n),this.shouldLog("warn")&&this.logMessage("warn",e,n)}error(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.emitOnLog("error",e,n),this.shouldLog("error")&&this.logMessage("error",e,n)}fatal(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.emitOnLog("fatal",e,n),this.shouldLog("fatal")&&this.logMessage("fatal",e,n)}child(e){return this}constructor(){this.logLevels={debug:["debug","info","warn","error","fatal"],info:["info","warn","error","fatal"],warn:["warn","error","fatal"],error:["error","fatal"],fatal:["fatal"],silent:[]},this.consoleLevelMap={debug:console.info,info:console.info,warn:console.warn,error:console.error,fatal:console.error,silent:()=>{}}}}t.A=n}
1,23186:(e,t,n)=>{"use strict";function r(e){return e}n.d(t,{A:()=>r})},27647:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>ed});var r=n(77269),i=n(53844),o=n.n(i),a=n(38101),l=n.n(a);let s=(0,n(49936).A)(["uiLabel1","f","aic","jcc","wspl","mb16","bg-gray500","c-white"]),c={default:"#F1F1F1",red:"#FF595E",yellow:"#FFCA3A",green:"#8AC926",blue:"#1982C4",purple:"#6A4C93"};function d(e){let{label:t="",width:n="100%",height:i="50vh",color:o="default"}=e;return(0,r.jsx)("div",{"data-debug":"box-".concat(o),className:s,style:{width:n,height:i,backgroundColor:c[o]},children:(0,r.jsx)("span",{children:t})})}var u=n(13385),p=n(93083),m=n.n(p),g=n(19530),h=n(40884),f=n(1184),w=n(44112),x=n(78728);let b=/\.php(.+)?/;function v(e){return e.replace(/\n/g,"")}var y=n(9999);let C=Object.values(f.i5).reduce((e,t)=>(e[t.domain]=!0,e),{});var T=n(49868);function _(){var e,t,n,r,i,o,a,l,s,c,d,u,p,m,g,h,f,w;return{visitTs:null==(t=window.HDN.dataLayer)||null==(e=t.visit)?void 0:e.visitTs,abTestGroup:(null==(r=window.HDN.dataLayer)||null==(n=r.abtest)?void 0:n.experimentId[0])||"",ipidHash:null==(o=window.HDN.dataLayer)||null==(i=o.visit)?void 0:i.ipidHash,sessionReferrerDomain:null==(l=window.HDN.dataLayer)||null==(a=l.visit)?void 0:a.sessionReferrerDomain,sessionReferrer:null==(c=window.HDN.dataLayer)||null==(s=c.visit)?void 0:s.sessionReferrer,utmSourceHash:null==(u=window.HDN.dataLayer)||null==(d=u.visit)?void 0:d.utmSourceHash,utmMediumHash:null==(m=window.HDN.dataLayer)||null==(p=m.visit)?void 0:p.utmMediumHash,utmCampaignHash:null==(h=window.HDN.dataLayer)||null==(g=h.visit)?void 0:g.utmCampaignHash,urlHash:null==(w=window.HDN.dataLayer)||null==(f=w.visit)?void 0:f.urlHash}}function k(e,t){var n;if(!e||"string"!=typeof e)return"";let r=_(),i=e.split("~");return(n=i.length)>=11&&n<=12?(i[2]=String(r.visitTs),i[4]=r.abTestGroup||"",i[5]=r.ipidHash||"",i[6]=r.sessionReferrerDomain||"",i[7]=r.utmSourceHash||"",i[8]=r.utmMediumHash||"",i[9]=r.utmCampaignHash||"","amazon"!==t&&(i[11]=r.urlHash||""),"amazon"===t&&i.join("~").length>99&&i.join("~").length>99&&(i[10]="",i.join("~").length>99&&(i[6]="tl")),i.join("~")):e}function S(e){if(!e||"string"!=typeof e)return e;let t=new URL(e),n=t.searchParams.get("xcust");return t.searchParams.set("xcust",k(n,"skimlinks")),t.searchParams.set("sref",window.location.href),t.toString()}function E(e){if(!e||"string"!=typeof e)return e;let t=new URL(e);return t.searchParams.get("ascsubtag")&&t.searchParams.set("ascsubtag",k(t.searchParams.get("ascsubtag"),"amazon")),t.toString()}var I=n(68095),L=n(84364),j=n(93608),A=n(18584);let N=["javascript:","data:","vbscript:","blob:","file:"],O=/[\s%]/,P={"icon-subnav":L.K.ICON_SUBNAV_CLICKED,blueconic:L.K.BLUECONIC_CLICK,"e-edition-button":L.K.E_EDITION_BUTTON_CLICKED,"trending-subnav":L.K.COMPONENT_TRACKING_CLICK,"standard-tracking":L.K.COMPONENT_TRACKING_CLICK},R=new Set;function D(e){var t,n,i,o;let{href:a,children:l,onClick:s,rel:c,...d}=e,{pageProps:p,url:L}=(0,T.Sz)(),D=p.additionalContext&&"object"==typeof p.additionalContext&&Object.keys(p.additionalContext).length>0&&Object.keys(p.additionalContext).some(e=>e.startsWith("hmb[")),U=(null==p||null==(t=p.additionalContext)?void 0:t.view)==="richie",B=function(e){let t=(0,u.useRef)(null);return(0,u.useEffect)(()=>{let n=t.current,r=!!e["data-trx-url"],i=!!e["data-skim-url"],o=e.href.includes(".amazon.com");if(!r&&!i&&!o)return;let a=S(e["data-skim-url"]),l=function(e){if(!e||"string"!=typeof e)return e;let t=new URL(e),n=_();return t.searchParams.set("p",window.location.href),t.searchParams.set("ref",n.sessionReferrer||""),t.searchParams.set("hnpTag",k(t.searchParams.get("hnpTag"),"trx")),t.searchParams.set("q",function(e){if(!e||"string"!=typeof e)return e;let t=new URL(e);return t.hostname.includes(".amazon.com")?E(e):"go.redirectingat.com"===t.hostname||"go.skimresources.com"===t.hostname?S(e):t.toString()}(t.searchParams.get("q"))||""),t.toString()}(e["data-trx-url"]),s=o?E(e.href):e.href,c=()=>{n&&n.setAttribute("href",e.href)},d=()=>{n&&(n.setAttribute("href",l||a||s),setTimeout(c,200))};if(n)return n.addEventListener("click",d),n.addEventListener("contextmenu",d),()=>{n.removeEventListener("click",d),n.removeEventListener("contextmenu",d)}},[t,e]),t}({href:"string"==typeof a?a:a.href||"",...d});if("string"!=typeof a)return w.A.warn({href:a,human:"Smart link component only supports string as href"},"SmartLinkHrefMustBeString"),(0,r.jsx)(r.Fragment,{children:l});let M=function(e){let t;if(""===e.trim())return!1;
1try{t=new URL(e,"http://relative.invalid")}catch(e){return!1}return!O.test(t.hostname)&&!N.includes(t.protocol)}(a);if(M||R.has(a)||(R.size<50&&R.add(a),w.A.warn({href:a,human:"Invalid href rendered as plain text"},"SmartLinkInvalidHref")),!M)return(0,r.jsx)(r.Fragment,{children:l});let F=D?a.startsWith("#")?a:function(e,t,n,r){try{let i=e,o=Object.entries(t),a=new URLSearchParams;return o.forEach(e=>{let[t,n]=e;t.startsWith("hmb[")&&(Array.isArray(n)?n.forEach(e=>a.append(t,e)):a.append(t,n))}),""!==a.toString()&&(i=function(e,t,n,r){let i=new URL(e,"".concat("https","://").concat(n).concat(r)),o=(0,y.t)(i.hostname).domainConfig.domain,a=Object.keys(f.i5);return i.href.startsWith("/")||a.includes(o)?(new URLSearchParams(i.search).forEach((e,n)=>{t.append(n,e)}),"".concat(i.origin).concat(i.pathname,"?").concat(t.toString())):e}(e,a,n,r)),i}catch(t){return w.A.error("Failed to get URL with preserved HMB query params:",t),e}}(a,p.additionalContext,p.reqHost,L):a,H=(0,A.A)(a,null==p?void 0:p.reqHost,L),z=()=>{let t=P[e["data-gtm-event-key"]];t&&I.B.emit(t,{element_name:e["data-element-name"]||null,element_content:e["data-element-content"]||null,element_variant:e["data-element-variant"]||null,component_type:e["data-component-type"],component_subtype:e["data-component-subtype"],component_detail:(0,j.Z)(e["data-collection-title"],e["data-item-position"],e["data-item-clicked"]),element_text:e["data-element-text"],variant_id:e["data-variant-id"],dialogue_id:e["data-dialogue-id"],link_url:e["data-link-url"],outbound:H,zone:e["data-zone"],source_system:e["data-source-system"]})},G=c||"";if(a.slice(0,a.indexOf("?")).match(/subscription\.\w*\.com\/(?!(e-?edition\/?$)).+/i)&&(G="".concat(G," nofollow").trim()),G=G.length>0?G:void 0,function(e){var t;let n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=function(e){if("unknown"===e)return f.i5.default;if("localhost"===e)return f.i5["sfgate.com"];let{domainConfig:t}=(0,y.t)(e);return t}(r).siteId;if(!o)return!1;let a=i.find(e=>"allowSPANavigation"===e.key);if(!(a&&(0,h.isFeatureFlagEnabled)(a,o))||!e||e.startsWith("#")||e.startsWith("?")||e.startsWith("mailto:"))return!1;try{n=new URL(e,"http://relative.invalid")}catch(e){return!1}if("http:"!==n.protocol&&"https:"!==n.protocol)return!1;let l=!(/^[a-zA-Z][a-zA-Z\d+.-]*:\/\//.test(e)||e.startsWith("//"));if(!l&&!function(e){let t=e.split(".");return!!C[[t[t.length-2],t[t.length-1]].join(".")]}(n.hostname))return!1;let s=n.search.startsWith("?")?n.search.slice(1):n.search,c=(0,g.parse)(s);if(c.all=n.pathname?null==(t=n.pathname.substring(1))?void 0:t.split("/"):[],!c.all.length)return!1;let{pageType:d}=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e.all)return{pageType:"channel",identifier:"home"};let i=[...Array.from(e.all)],o=i[0],a=i[i.length-1],l=i.join("/");if(["activity","talent","venue"].includes(o)){let e=a.split("-"),t=v(e[e.length-1]);return/^\d+$/.test(t)?{pageType:o,identifier:t}:(w.A.warn({queryLast:a},"GetPageTypeNonNumericIdentifier"),{pageType:"unknown",identifier:t})}if("search"===o)return{pageType:"search",identifier:"search"};if("author"===o)return{pageType:"author",identifier:(0,x.T)(i[1]||"")};if("file"===o){let e=(null==a?void 0:a.endsWith(".ts"))?null==a?void 0:a.replace(/^preview-/,""):a;return{pageType:"file",identifier:(null==e?void 0:e.split("-")[0].toString())||""}}if("news-sitemap.xml"===o)return{pageType:"newsSitemap",identifier:"sitemap-".concat(t,"-news-local-wcm")};if("sitemap"===o&&"news"===i[1]&&a.endsWith(".xml")){let e=a.replace(".xml","");return"local"===e||"ap"===e?{pageType:"newsSitemap",identifier:"sitemap-".concat(t,"-news-").concat(e,"-wcm")}:(w.A.warn({newsType:e,reqPath:l},"GetPageTypeInvalidNewsSitemapType"),{pageType:"unknown",identifier:l})}if("project"===o)return{pageType:"interactives",identifier:"devhub-".concat(t,"-").concat(i.slice(1).join("/"))};if(a.includes(".php")){let e=i[i.length-2],t=a.split("-"),n=v(t[t.length-1].replace(b,"")),r=/^\d+$/.test(n);return("article"===e||"slideshow"===e)&&r?{pageType:e,identifier:n}:(w.A.warn({queryLast:a},"GetPageTypeNonNumericIdentifier"),{pageType:"unknown",identifier:n})}let s=a.match(/^(.+)-a(\d+)$/);if(s)return{pageType:"article",identifier:s[2],pageSubType:"mediaos"};if((r?a.toLowerCase():a).includes(".html")&&1===i.length){let e=a.lastIndexOf("."),t=a.substring(0,e);return{pageType:"article",identifier:r?(0,x.T)(t):t,pageSubType:"leaf-article"}}if(101===t&&(e=>{if("string"!=typeof e)return!1;let t=/\/\d{4}\/\d{2}\/\d{2}\//.test(e),n=e.split("?")[0].endsWith("/");return t&&n})(n)){let e=l;return e.startsWith("/")||(e="/"+e),e.endsWith("/")||(e+="/"),{pageType:"article",identifier:r?(0,x.T)(e):e,pageSubType:"dmnarc"}}return 100===t&&("story"===o||"videos"===o||"picture-gallery"===o)?{pageType:"article",identifier:a,pageSubType:"austinpresto"}:"sitemap"===o?{pageType:"sitemap",identifier:l}:"topic"===o?{pageType:"topic",identifier:l}:{pageType:"channel",identifier:(0,x.T)(i.join("/"))}}(c,o);return!!["article","slideshow","event","activity","talent","venue"].includes(d)||"channel"===d&&(!!l||r===n.hostname||n.hostname==="www.".concat(r))||!1}(a,null==p?void 0:p.reqHost,(null==p?void 0:p.featureFlags)||[])&&(!(null==e?void 0:e.target)||(null==e?void 0:e.target)&&"_blank"!==e.target))return(0,r.jsx)(m(),{...d,href:F,"data-link":"spa",onClick:e=>{z(),null==s||s(e)},onContextMenu:z,rel:G,children:l});if(U&&(a.includes("/projects/property-tax-protest")?d.target="_blank":H||"_blank"!==e.target||(d.target=void 0)),U&&!H&&!a.includes("/article/")&&0!==a.indexOf("photos/")&&(null==p||null==(o=p.page)||null==(i=o.globalContext)||null==(n=i.app)?void 0:n.urlParam
1sToAppend)){let e=F.includes("?")?"&":"?";F+="".concat(e).concat(p.page.globalContext.app.urlParamsToAppend)}let{as:K,replace:V,scroll:W,shallow:q,passHref:Y,prefetch:J,locale:Z,legacyBehavior:X,...Q}=d;return(0,r.jsx)("a",{ref:B,href:F,"data-link":"native",onClick:e=>{z(),null==s||s(e)},onContextMenu:z,rel:G,...Q,children:l})}let U=function(e){let{href:t,...n}=e,{pageProps:{viewConfig:i}}=(0,T.Sz)(),o={href:t};return"/"===t.toString().charAt(0)&&(o.href="".concat(i.basePath).concat(t)),(0,r.jsx)(D,{...o,...n})};var B=n(50071),M=n(11070),F=n.n(M),H=n(23186),z=n(90013),G=n(91379),K=n.n(G);function V(){let[e,t]=(0,u.useState)("ready");(0,u.useEffect)(()=>(F().events.on("routeChangeStart",()=>t("loading")),F().events.on("routeChangeComplete",()=>t("ready")),F().events.on("routeChangeError",()=>t("ready")),()=>{F().events.off("routeChangeStart",()=>t("loading")),F().events.off("routeChangeComplete",()=>t("ready")),F().events.off("routeChangeError",()=>t("ready"))}),[t]);let n=[(0,H.A)(K().container),"loading"===e?(0,H.A)(K().loading):(0,H.A)(K().complete)];return(0,r.jsx)(z.A.div,{cx:[n,"z1005","pen","fix","top","left","bg-primary","y4px","tw03"]})}var W=n(51880),q=n(33136),Y=n(78282),J=n(90665),Z=n(62102),X=n(20863);let Q=Z.A.Provider;function $(e){let{children:t,dependencies:n={}}=e,r={dependencies:{...X.Ay,...n}};return J.j.jsx(Q,{value:r,children:t})}let ee=n(80947).br.Provider;function et(e){let{children:t,brandTheme:n="unknown",siteStyle:r="premium",debug:i=!1}=e;return J.j.jsx(ee,{value:{brandTheme:n,siteStyle:r,debug:i},children:t})}var en=n(78002);let er=e=>{let{isOnArticlePage:t,children:n}=e;return J.j.jsx(en.X.Provider,{value:{isOnArticlePage:t},children:n})};var ei=n(18178),eo=n(12177);let ea=function(){return(0,eo.useReportWebVitals)(e=>{w.A.debug({metric:e},"WebVitalsMetricReceived");let t={id:e.id,name:e.name,startTime:e.startTime||0,value:e.value,label:e.label||"web-vital"};W.Bt.emit(W.KK.WEB_VITALS,t),W.Bt.emit(W.KK.WEB_VITALS_DEFERRED,t)}),null};var el=n(92329),es=n(2603);function ec(){var e,t;let n=(0,h.useFeatureFlag)("clientLogShipping"),{pageProps:r}=(0,el.Sz)(),i=(null==r||null==(e=r.additionalContext)?void 0:e.view)==="richie"?null==r||null==(t=r.viewConfig)?void 0:t.basePath:null;return(0,u.useEffect)(()=>{(0,es.setEnabled)(n,i)},[n,i]),null}function ed(e){var t,n,i,a,s,c,p,m;let{Component:g,pageProps:h}=e;i=()=>W.Bt.emit(W.KK.PAGE_READY,null),(0,u.useEffect)(()=>{if("complete"!==document.readyState)return window.addEventListener("load",i),()=>window.removeEventListener("load",i);i()},[i]);let f=(0,M.useRouter)(),x={pathname:f.pathname,url:f.asPath,pageProps:h},{getActiveThirdParties:b}=(0,W.Ts)(Y.H,h),v=b(),y=Object.keys(v).length>0,C=!!(null==h||null==(t=h.featureFlags)?void 0:t.some(e=>{let{key:t,enabled:n}=e;return"marketingV2"===t&&n})),_=(null==h||null==(n=h.viewConfig)?void 0:n.basePath)?U:D;return a=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(q.tH,{context:"contextTracker",children:(0,r.jsx)(T.Aj,{})}),(0,r.jsx)(q.tH,{context:"hdnDataLayer",children:(0,r.jsx)(T.CH,{})}),(0,r.jsxs)(q.tH,{context:"thirdParties",children:[(0,r.jsx)(W.yC,{thirdParties:v}),y&&(0,r.jsx)(W.Pb,{})]}),(0,r.jsx)(ea,{}),(0,r.jsx)(ec,{}),(0,r.jsx)(V,{}),C&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ei.m1,{type:"modal"}),(0,r.jsx)(ei.m1,{type:"toaster"}),(0,r.jsx)(ei.m1,{type:"left-toaster"})]}),(0,r.jsx)(g,{...h})]}),(0,r.jsx)(T.sm,{flags:h.featureFlags,siteId:null==(s=h.siteConfig)?void 0:s.siteId,children:(0,r.jsx)($,{dependencies:{Link:_,Script:o(),Head:l(),Example:d,Lazy:q.dF,Ad:B.Ad,logger:w.A},children:(0,r.jsx)(et,{brandTheme:null!=(p=null==(c=h.siteConfig)?void 0:c.siteCode)?p:void 0,siteStyle:null!=(m=null==h?void 0:h.siteStyle)?m:void 0,debug:!1,children:(0,r.jsx)(ei.QG,{children:(0,r.jsx)(er,{isOnArticlePage:"article"===h.pageType,children:(0,r.jsx)(T.ac,{children:(0,r.jsx)(T.qK,{pageContext:x,children:a})})})})})})})}n(75727),n(39160),n(87546),n(53828),n(64135),n(81973)},27897:(e,t,n)=>{!function(){var t=n(8950),r=n(6966).utf8,i=n(30820),o=n(6966).bin,a=function(e,n){e.constructor==String?e=n&&"binary"===n.encoding?o.stringToBytes(e):r.stringToBytes(e):i(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var l=t.bytesToWords(e),s=8*e.length,c=0x67452301,d=-0x10325477,u=-0x67452302,p=0x10325476,m=0;m<l.length;m++)l[m]=(l[m]<<8|l[m]>>>
124)&0xff00ff|(l[m]<<24|l[m]>>>8)&0xff00ff00;l[s>>>5]|=128<<s%32,l[(s+64>>>9<<4)+14]=s;for(var g=a._ff,h=a._gg,f=a._hh,w=a._ii,m=0;m<l.length;m+=16){var x=c,b=d,v=u,y=p;c=g(c,d,u,p,l[m+0],7,-0x28955b88),p=g(p,c,d,u,l[m+1],12,-0x173848aa),u=g(u,p,c,d,l[m+2],17,0x242070db),d=g(d,u,p,c,l[m+3],22,-0x3e423112),c=g(c,d,u,p,l[m+4],7,-0xa83f051),p=g(p,c,d,u,l[m+5],12,0x4787c62a),u=g(u,p,c,d,l[m+6],17,-0x57cfb9ed),d=g(d,u,p,c,l[m+7],22,-0x2b96aff),c=g(c,d,u,p,l[m+8],7,0x698098d8),p=g(p,c,d,u,l[m+9],12,-0x74bb0851),u=g(u,p,c,d,l[m+10],17,-42063),d=g(d,u,p,c,l[m+11],22,-0x76a32842),c=g(c,d,u,p,l[m+12],7,0x6b901122),p=g(p,c,d,u,l[m+13],12,-0x2678e6d),u=g(u,p,c,d,l[m+14],17,-0x5986bc72),d=g(d,u,p,c,l[m+15],22,0x49b40821),c=h(c,d,u,p,l[m+1],5,-0x9e1da9e),p=h(p,c,d,u,l[m+6],9,-0x3fbf4cc0),u=h(u,p,c,d,l[m+11],14,0x265e5a51),d=h(d,u,p,c,l[m+0],20,-0x16493856),c=h(c,d,u,p,l[m+5],5,-0x29d0efa3),p=h(p,c,d,u,l[m+10],9,0x2441453),u=h(u,p,c,d,l[m+15],14,-0x275e197f),d=h(d,u,p,c,l[m+4],20,-0x182c0438),c=h(c,d,u,p,l[m+9],5,0x21e1cde6),p=h(p,c,d,u,l[m+14],9,-0x3cc8f82a),u=h(u,p,c,d,l[m+3],14,-0xb2af279),d=h(d,u,p,c,l[m+8],20,0x455a14ed),c=h(c,d,u,p,l[m+13],5,-0x561c16fb),p=h(p,c,d,u,l[m+2],9,-0x3105c08),u=h(u,p,c,d,l[m+7],14,0x676f02d9),d=h(d,u,p,c,l[m+12],20,-0x72d5b376),c=f(c,d,u,p,l[m+5],4,-378558),p=f(p,c,d,u,l[m+8],11,-0x788e097f),u=f(u,p,c,d,l[m+11],16,0x6d9d6122),d=f(d,u,p,c,l[m+14],23,-0x21ac7f4),c=f(c,d,u,p,l[m+1],4,-0x5b4115bc),p=f(p,c,d,u,l[m+4],11,0x4bdecfa9),u=f(u,p,c,d,l[m+7],16,-0x944b4a0),d=f(d,u,p,c,l[m+10],23,-0x41404390),c=f(c,d,u,p,l[m+13],4,0x289b7ec6),p=f(p,c,d,u,l[m+0],11,-0x155ed806),u=f(u,p,c,d,l[m+3],16,-0x2b10cf7b),d=f(d,u,p,c,l[m+6],23,0x4881d05),c=f(c,d,u,p,l[m+9],4,-0x262b2fc7),p=f(p,c,d,u,l[m+12],11,-0x1924661b),u=f(u,p,c,d,l[m+15],16,0x1fa27cf8),d=f(d,u,p,c,l[m+2],23,-0x3b53a99b),c=w(c,d,u,p,l[m+0],6,-0xbd6ddbc),p=w(p,c,d,u,l[m+7],10,0x432aff97),u=w(u,p,c,d,l[m+14],15,-0x546bdc59),d=w(d,u,p,c,l[m+5],21,-0x36c5fc7),c=w(c,d,u,p,l[m+12],6,0x655b59c3),p=w(p,c,d,u,l[m+3],10,-0x70f3336e),u=w(u,p,c,d,l[m+10],15,-1051523),d=w(d,u,p,c,l[m+1],21,-0x7a7ba22f),c=w(c,d,u,p,l[m+8],6,0x6fa87e4f),p=w(p,c,d,u,l[m+15],10,-0x1d31920),u=w(u,p,c,d,l[m+6],15,-0x5cfebcec),d=w(d,u,p,c,l[m+13],21,0x4e0811a1),c=w(c,d,u,p,l[m+4],6,-0x8ac817e),p=w(p,c,d,u,l[m+11],10,-0x42c50dcb),u=w(u,p,c,d,l[m+2],15,0x2ad7d2bb),d=w(d,u,p,c,l[m+9],21,-0x14792c6f),c=c+x>>>0,d=d+b>>>0,u=u+v>>>0,p=p+y>>>0}return t.endian([c,d,u,p])};a._ff=function(e,t,n,r,i,o,a){var l=e+(t&n|~t&r)+(i>>>0)+a;return(l<<o|l>>>32-o)+t},a._gg=function(e,t,n,r,i,o,a){var l=e+(t&r|n&~r)+(i>>>0)+a;return(l<<o|l>>>32-o)+t},a._hh=function(e,t,n,r,i,o,a){var l=e+(t^n^r)+(i>>>0)+a;return(l<<o|l>>>32-o)+t},a._ii=function(e,t,n,r,i,o,a){var l=e+(n^(t|~r))+(i>>>0)+a;return(l<<o|l>>>32-o)+t},a._blocksize=16,a._digestsize=16,e.exports=function(e,n){if(null==e)throw Error("Illegal argument "+e);var r=t.wordsToBytes(a(e,n));return n&&n.asBytes?r:n&&n.asString?o.bytesToString(r):t.bytesToHex(r)}}()},30820:e=>{function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){var n;return null!=e&&(t(e)||"function"==typeof(n=e).readFloatLE&&"function"==typeof n.slice&&t(n.slice(0,0))||!!e._isBuffer)}},31024:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.noopLogger=void 0,t.noopLogger={info:()=>{},warn:()=>{},error:()=>{},debug:()=>{},fatal:()=>{},child:()=>t.noopLogger}},31978:(e,t)=>{"use strict";t.parse=function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var r={},i=e.split(";"),o=(t||{}).decode||n,a=0;a<i.length;a++){var l=i[a],s=l.indexOf("=");if(!(s<0)){var c=l.substring(0,s).trim();if(void 0==r[c]){var d=l.substring(s+1,l.length).trim();'"'===d[0]&&(d=d.slice(1,-1)),r[c]=function(e,t){try{return t(e)}catch(t){return e}}(d,o)}}}return r},t.serialize=function(e,t,n){var o=n||{},a=o.encode||r;if("function"!=typeof a)throw TypeError("option encode is invalid");if(!i.test(e))throw TypeError("argument name is invalid");var l=a(t);
1if(l&&!i.test(l))throw TypeError("argument val is invalid");var s=e+"="+l;if(null!=o.maxAge){var c=o.maxAge-0;if(isNaN(c)||!isFinite(c))throw TypeError("option maxAge is invalid");s+="; Max-Age="+Math.floor(c)}if(o.domain){if(!i.test(o.domain))throw TypeError("option domain is invalid");s+="; Domain="+o.domain}if(o.path){if(!i.test(o.path))throw TypeError("option path is invalid");s+="; Path="+o.path}if(o.expires){if("function"!=typeof o.expires.toUTCString)throw TypeError("option expires is invalid");s+="; Expires="+o.expires.toUTCString()}if(o.httpOnly&&(s+="; HttpOnly"),o.secure&&(s+="; Secure"),o.sameSite)switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:case"strict":s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"none":s+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return s};var n=decodeURIComponent,r=encodeURIComponent,i=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/},32344:(e,t,n)=>{"use strict";function r(e){return"1"===(null==e?void 0:e.datadogRum)}n.d(t,{o:()=>r})},33136:(e,t,n)=>{"use strict";n.d(t,{Ig:()=>g,tH:()=>u.A,dF:()=>c,U9:()=>d});var r=n(77269),i=n(49936),o=n(13385),a=n(3064),l=n(49868);let s=()=>(0,r.jsx)("div",{className:(0,i.A)("x100","y100","uiTextSmall","md:uiTextMedium","lg:uiTextLarge"),children:"Loading …"});function c(e){let{children:t,placeholder:n=(0,r.jsx)(s,{}),wrapperElementType:i="div",className:c,style:d={},...u}=e,[p,m]=(0,a.A)(u);if(!t)throw Error("You need to pass children to the Lazy component.");let{pageProps:g}=(0,l.Sz)(),h=(null==g?void 0:g.isPreview)||!1,{view:f}=(null==g?void 0:g.additionalContext)||{},w=h||"richie"===f;return(0,o.createElement)(i,{ref:p,className:c,style:d,"data-lazy":m||w?"ready":"pending"},m||w?t:n)}function d(e){let{height:t="300px"}=e;return(0,r.jsx)("div",{className:(0,i.A)("bg-gray300"),style:{height:t},children:"Loading..."})}var u=n(4599),p=n(68095),m=n(84364);function g(e){let{children:t,wrapperElementType:n="div",chapterId:r,maintainObserver:i=!0,rootMargin:l="-155px 0px 0px 0px"}=e,[s,c]=(0,a.A)({maintainObserver:i,rootMargin:l});if((0,o.useEffect)(()=>{if(!r)return;let e=c?m.K.CHAPTER_ENTER_VIEW:m.K.CHAPTER_LEAVE_VIEW;p.B.emit(e,{chapterId:r})},[c,r]),!t)throw Error("You need to pass children to the Chapter Component");return(0,o.createElement)(n,{ref:s},c,t)}},34036:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.useContext)(i.FeatureFlagContext).isEnabled(e)};let r=n(13385),i=n(14815)},34408:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(49868),i=n(51880),o=n(78282);function a(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,r.Sz)();return!!o.H[e]&&(n.pageProps?(0,i.Ol)(o.H,e,n.pageProps):t)}},36553:(e,t,n)=>{"use strict";n.d(t,{$1:()=>p,Ay:()=>g,R9:()=>u,z_:()=>m});var r=n(77269),i=n(68095),o=n(84364),a=n(53844),l=n.n(a),s=n(49868),c=n(13385),d=n(44112);function u(e){var t;let{type:n,onFill:a,getFillId:u,onSetSrc:p,fetchScriptProps:m,onSetLoaded:g,onSpaNav:h,onSpaStart:f}=e,[w,x]=(0,c.useState)({}),[b,v]=(0,c.useState)(""),[y,C]=(0,c.useState)({[n]:{}}),[T,_]=(0,c.useState)(!1),{pageProps:k}=(0,s.Sz)(),{pageType:S,page:E}=k,I=(null==E||null==(t=E.meta)?void 0:t.url)||"",L=(0,c.useRef)(!1);(0,c.useEffect)(()=>{let e=i.B.on(o.K.FREEFORMEMBED_FILL,(e,t)=>{let{}=t;if(Object.keys(e).length>0&&(null==e?void 0:e.__id)===n){let t=(null==e?void 0:e.__tpId)||(null==e?void 0:e.__id);if(h){if(L.current)return;if(p&&""!==b){let t=p(e,S,I);if(t!==b){_(!1),v(t);return}}}x(e),C(n=>{var r;return(null==(r=n[e.__id])?void 0:r.hasOwnProperty(t))||(n[e.__id]={...n[e.__id],[t]:e},a&&a(e,I,S,n[e.__id])),n}),""===b&&v(t=>""!==t?t:p?p(e,S,I):(null==e?void 0:e.__src)||"")}},!0);return()=>{i.B.off(o.K.FREEFORMEMBED_FILL,e)}},[b,n,k,S,I,a,u,p,h]),(0,c.useEffect)(()=>{if(h){let e=i.B.on(o.K.SPA_NAVIGATION_START,()=>{!L.current&&(L.current=!0,f&&f(S,I))});return()=>{i.B.off(o.K.SPA_NAVIGATION_START,e)}}},[h,f,S,I]),(0,c.useEffect)(()=>{if(h){let e=i.B.on(o.K.SPA_NAVIGATION_COMPLETE,()=>{C(e=>(h(S,I)&&(e[n]={}),L.current=!1,e)),i.B.emit(o.K.FREEFORMEMBED_SPA_FILL,n,!1)},!0);return()=>{i.B.off(o.K.SPA_NAVIGATION_COMPLETE,e)}}},[b,n,S,I,u,h]),(0,c.useEffect)(()=>
1{if(g){let e=i.B.on(o.K.FREEFORMEMBED_LOADED,e=>{e!==n||T||(_(!0),g(Object.values(y[n])[0]||{},S))},!0);return()=>{i.B.off(o.K.FREEFORMEMBED_LOADED,e)}}},[n,T,y,S,g]),(0,c.useEffect)(()=>{let e=i.B.on(o.K.FREEFORMEMBED_LOAD_ERROR,e=>{let{embed:t,error:r}=e;r&&d.A.error({type:n,src:null==t?void 0:t.__src,error:r},"ThirdPartyFreeformEmbedLoadError")});return()=>{i.B.off(o.K.FREEFORMEMBED_LOAD_ERROR,e)}},[n]);let j=null==m?void 0:m();return b?(0,r.jsx)(l(),{src:b,id:b.replace(/\W/g,""),strategy:"afterInteractive",...j,onLoad:()=>{i.B.emit(o.K.FREEFORMEMBED_LOADED,n,!1)},onError:e=>{i.B.emit(o.K.FREEFORMEMBED_LOAD_ERROR,{embedObject:w,e})}}):null}function p(e){return t=>{var n,r,i;let{page:o}=t;return!!(null!=(i=null==o||null==(r=o.globalContext)||null==(n=r.enabledThirdParties)?void 0:n[e])?i:{}).active}}function m(e,t){let n={...e},{__id:r,__data:i,__element:o,__ping:a}=n;if("exco"===r){var l,s,c,d;let{pageType:e}=null==t?void 0:t.pageProps,r=null!=(d=null==t||null==(c=t.pageProps)||null==(s=c.page)||null==(l=s.hdnDataLayer)?void 0:l.contentDesignTemplate)?d:"";o&&(o.attributes.id="article"===e?null==i?void 0:i.articleId:null==i?void 0:i.channelId),a&&(n.__ping=a+encodeURIComponent(r))}return n}let g={Snippet:function(){return u({type:"thirdpartyfreeformembed"})},initialize:function(){return()=>{}},isActiveByProps:p("thirdpartyfreeformembed")}},37921:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},38101:(e,t,n)=>{e.exports=n(68410)},38628:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useReportWebVitals",{enumerable:!0,get:function(){return o}});let r=n(13385),i=n(16449);function o(e){(0,r.useEffect)(()=>{(0,i.onCLS)(e),(0,i.onFID)(e),(0,i.onLCP)(e),(0,i.onINP)(e),(0,i.onFCP)(e),(0,i.onTTFB)(e)},[e])}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},39160:()=>{},39542:(e,t,n)=>{"use strict";let r;n.d(t,{A:()=>l});let i={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},o=new Uint8Array(16),a=[];for(let e=0;e<256;++e)a.push((e+256).toString(16).slice(1));let l=function(e,t,n){if(i.randomUUID&&!t&&!e)return i.randomUUID();let l=(e=e||{}).random||(e.rng||function(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(o)})();if(l[6]=15&l[6]|64,l[8]=63&l[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=l[e];return t}return function(e,t=0){return a[e[t+0]]+a[e[t+1]]+a[e[t+2]]+a[e[t+3]]+"-"+a[e[t+4]]+a[e[t+5]]+"-"+a[e[t+6]]+a[e[t+7]]+"-"+a[e[t+8]]+a[e[t+9]]+"-"+a[e[t+10]]+a[e[t+11]]+a[e[t+12]]+a[e[t+13]]+a[e[t+14]]+a[e[t+15]]}(l)}},40044:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return i}});let r=n(13385);function i(e,t){let n=(0,r.useRef)(null),i=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){let e=n.current;e&&(n.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(n.current=o(e,r)),t&&(i.current=o(t,r))},[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let n=e(t);return"function"==typeof n?n:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},40884:(e,t,n)=>{"use strict";var r=Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]},i=function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};
1Object.defineProperty(t,"__esModule",{value:!0}),i(n(37921),t),i(n(11832),t),i(n(94020),t),i(n(2018),t)},41534:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(44112);function i(e,t){var n,i;if(!e||!t)return!1;let{data:{purpose:o,variant:a,format:l}}=e;return!!(null==t||null==(i=t[o])||null==(n=i[l])?void 0:n[a])||(r.A.warn({purpose:o,variant:a,format:l},"UnknownBlueconicEvent"),!1)}},43955:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeFeatureFlags=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.forEach(t=>{let n=e.findIndex(e=>e.projectId===t.projectId&&e.key===t.key);if(n>-1){let r=e[n];e[n]={...r,...t}}else e.push(t)}),e}},44112:(e,t,n)=>{"use strict";let r;n.d(t,{A:()=>i});{let e=new(n(22195)).A;Promise.resolve().then(n.bind(n,2603)).then(t=>{let{enqueue:n}=t;e.onLog=n}).catch(()=>{}),r=e}let i=r},45762:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return C},useLinkStatus:function(){return y}});let r=n(26908),i=n(77269),o=r._(n(13385)),a=n(1232),l=n(3314),s=n(6251),c=n(34869),d=n(71654),u=n(98511),p=n(79905),m=n(14786),g=n(47943),h=n(40044);n(21286);let f=new Set;function w(e,t,n,r){if((0,l.isLocalURL)(t)){if(!r.bypassPrefetchedCheck){let i=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(f.has(i))return;f.add(i)}e.prefetch(t,n,r).catch(e=>{})}}function x(e){return"string"==typeof e?e:(0,s.formatUrl)(e)}let b=o.default.forwardRef(function(e,t){let n,r,{href:s,as:f,children:b,prefetch:v=null,passHref:y,replace:C,shallow:T,scroll:_,locale:k,onClick:S,onNavigate:E,onMouseEnter:I,onTouchStart:L,legacyBehavior:j=!1,...A}=e;n=b,j&&("string"==typeof n||"number"==typeof n)&&(n=(0,i.jsx)("a",{children:n}));let N=o.default.useContext(u.RouterContext),O=!1!==v,{href:P,as:R}=o.default.useMemo(()=>{if(!N){let e=x(s);return{href:e,as:f?x(f):e}}let[e,t]=(0,a.resolveHref)(N,s,!0);return{href:e,as:f?(0,a.resolveHref)(N,f):t||e}},[N,s,f]),D=o.default.useRef(P),U=o.default.useRef(R);j&&(r=o.default.Children.only(n));let B=j?r&&"object"==typeof r&&r.ref:t,[M,F,H]=(0,p.useIntersection)({rootMargin:"200px"}),z=o.default.useCallback(e=>{(U.current!==R||D.current!==P)&&(H(),U.current=R,D.current=P),M(e)},[R,P,H,M]),G=(0,h.useMergedRef)(z,B);o.default.useEffect(()=>{N&&F&&O&&w(N,P,R,{locale:k})},[R,P,F,k,O,null==N?void 0:N.locale,N]);let K={ref:G,onClick(e){j||"function"!=typeof S||S(e),j&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),N&&(e.defaultPrevented||function(e,t,n,r,i,o,a,s,c){let{nodeName:d}=e.currentTarget;if(!("A"===d.toUpperCase()&&function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||e.currentTarget.hasAttribute("download"))){if(!(0,l.isLocalURL)(n)){i&&(e.preventDefault(),location.replace(n));return}e.preventDefault(),(()=>{if(c){let e=!1;if(c({preventDefault:()=>{e=!0}}),e)return}let e=null==a||a;"beforePopState"in t?t[i?"replace":"push"](n,r,{shallow:o,locale:s,scroll:e}):t[i?"replace":"push"](r||n,{scroll:e})})()}}(e,N,P,R,C,T,_,k,E))},onMouseEnter(e){j||"function"!=typeof I||I(e),j&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),N&&w(N,P,R,{locale:k,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart:function(e){j||"function"!=typeof L||L(e),j&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),N&&w(N,P,R,{locale:k,priority:!0,bypassPrefetchedCheck:!0})}};if((0,c.isAbsoluteUrl)(R))K.href=R;else if(!j||y||"a"===r.type&&!("href"in r.props)){let e=void 0!==k?k:null==N?void 0:N.locale;K.href=(null==N?void 0:N.isLocaleDomain)&&(0,m.getDomainLocale)(R,e,null==N?void 0:N.locales,null==N?void 0:N.domainLocales)||(0,g.addBasePath)((0,d.addLocale)(R,e,null==N?void 0:N.defaultLocale))}return j?o.default.cloneElement(r,K):(0,i.jsx)("a",{...A,...K,children:n})}),v=(0,o.createContext)({pending:!1}),y=()=>(0,o.useContext)(v),C=b;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},49868:(e,t,n)=>{"use strict";n.d(t,{Aj:()=>c,sm:()=>I,CH:()=>C,qK:()=>r.qK,ac:()=>i.ac,uY:()=>x,Sz:()=>r.Sz,Wx:()=>r.Wx,ur:()=>i.ur,Ir:()=>i.Ir});var r=n(92329),i=n(53349),o=n(13385),a=n(11070),l=n(68095),s=n(84364);function c(){let e=(0,r.Sz)(),t=(0,i.ur)();(0,o.useEffect)(()=>{l.B.updateContext({pageContext:e,userContext:t})},[e,t]);let n=(0,a.useRouter)(),c=(0,o.useRef)(""),d=(0,o.useRef)(!1);return(0,o.useEffect)(()=>{n.isReady&&(c.current=n.asPath)},[n.isReady,n.asPath]),(0,o.useEffect)(()=>{let e=e=>{e!==String(c.current)&&(c.current=e,l.B.emit(s.K.SPA_NAVIGATION_START,null,!1),d.current=!0)},t=()=>{d.current&&(l.B.emit(s.K.SPA_NAVIGATION_COMPLETE,null,!1),window.dispatchEvent(new Event("hnp_spaNewPage")),d.current=!1)};return n.events.on("routeChangeStart",e),n.events.on("routeChangeComplete",t),()=>{n.events.off("routeChangeStart",e),n.events.off("routeChangeComplete",t)}},[n.events]),null}var d=n(73599),u=n(27897),p=n.n(u),m=n(39542),g=n(44112),h=n(51880),f=n(78282),w=n(87262);function x(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=null==e?void 0:e.page,r=null==e?void 0:e.devInfo,i=null==e?void 0:e.siteConfig,o="";return 500===t?o="server error":n?200!==n.status&&(t=n.status,o="page not found"):(t=500,o="server error"),{contentObjectType:o,contentObjectId:t,contentObjectSubtype:"",contentTitle:o,contentSubtitle:"",contentSectionPath:[o],contentSiteSectionLevel1:o,contentSiteSectionLevel2:o,contentSiteSectionLevel3:o,contentSiteSectionLevel4:o,contentPubDate:new Date().toISOString().replace("T"," ").substring(0,19),contentPubDateTimestamp:0,contentLastModifiedDate:"",contentLastModifiedDateTimestamp:0,contentPublishedOnline:"",contentPublishedOnlineTimestamp:0,contentFirstPublishedOnline:null,contentFirstPublishedOnlineTimestamp:null,contentLastPublished:null,contentLastPublishedTimestamp:null,contentLastPublishedDisplayed:null,contentLastPublishedDisplayedTimestamp:null,contentWordCount:0,contentWordCountRange:"",contentParagraphCount:0,contentKeywords:[],contentContentCategories:[],contentIabTagsWithObject:[],contentKeySubjects:[],contentKeyCategoryTags:[],contentKeyPersons:[],contentKeyOrganizations:[],contentKeyConcepts:[],contentKeyCategories:[],contentKeyPlaces:[],contentKeyNlpCategories:[],contentKeyNlpPerson:[],contentKeyNlpLocation:[],contentKeyNlpOrganization:[],contentKeyNlpEvent:[],contentKeyNlpWorkOfArt:[],contentKeyNlpConsumerGood:[],contentKeyNlpOther:[],contentKeyNlpUnknown:[],contentDesignTemplate:"",contentDisplayTemplate:"castle",contentIsSensitive:!1,contentIsTrending:!1,contentIsPopular:!1,contentIsAffiliatedContent:!1,contentIsSponsoredContent:!1,contentIsPaidAdContent:!1,contentVideoPlatform:"",contentFollowTopic:"",contentQueueListId:"",sourceAuthorName:"",sourceAuthorTitle:"",sourceAuthors:[],sourceOriginalSourceSite:"",sourcePublishingSite:(null==i?void 0:i.siteCode)||"",sourceSourceSite:"",sharingOpenGraphUrl:"",sharingOpenGraphType:"",hrefPageUrl:window.location.pathname,hrefCanonicalUrl:window.location.href,siteGeoloc:"",siteGeocities:{},siteCommentsType:"",siteCommentSiteKey:"",siteEntitledComments:"",siteSailthruId:"",siteRecaptchaKey:"",siteUseInstart:!1,siteAmazonTag:"",siteSkimlinksPublisherId:"",siteTrackonomicsProfileCode:"",presentationHasSlideshow:!1,presentationHasSlideshowListView:!1,presentationHasVideo:!1,presentationHasInteractive:!1,paywallPremiumStatus:"free",paywallPremiumEndDate:"",paywallPolicy:"free",adsAdMode:"",adsVideoBidding:!1,revenueProfiles:{},environmentCmsEnv:"production",environmentApiEnv:(null==r?void 0:r.apiEnv)||"",environmentDocDbEnv:""}}function b(){if(localStorage.getItem("hnp_client_id"))localStorage.setItem("hnp_visit_session_returning_client","true");else{var e=(0,m.A)();localStorage.setItem("hnp_client_id",e),localStorage.setItem("hnp_visit_session_returning_client","false")}var t=(0,m.A)();localStorage.setItem("hnp_visit_session_id",t);var n=Math.floor(Date.now()/1e3).toString();localStorage.setItem("hnp_visit_session_start_ts",n);var r=document.referrer;r&&0===r.indexOf(location.protocol+"//"+location.host)&&(r=""),localStorage.setItem("hnp_visit_session_referrer",r),localStorage.removeItem("hnp_visit_session_utm_source"),localStorage.removeItem("hnp_visit_session_utm_medium"),localStorage.removeItem("hnp_visit_session_utm_campaign"),y(),localStorage.removeItem("hnp_floodlight_timer_event_sent"),v()}function v(){var e=Math.floor(Date.now()/1e3);localStorage.setItem("hnp_visit_session_last_action_ts",String(e))}function y(){if("undefined"!=typeof URL&&"undefined"!=typeof URLSearchParams){var e=new URLSearchParams(new URL(document.location.href).search.slice(1));e.has("utm_source")&&(localStorage.setItem("hnp_visit_session_utm_source",String(e.get("utm_source"))),g.A.debug({description:"Updated"},"HNPVisitSessionUtmSource")),e.has("utm_medium")&&(localStorage.setItem("hnp_visit_session_utm_medium",String(e.get("utm_medium"))),g.A.debug({description:"Updated"},"HNPVisitSessionUtmMedium")),e.has("utm_campaign")&&(localStorage.setItem("hnp_visit_session_utm_campaign",String(e.get("utm_campaign"))),g.A.debug({description:"Updated"},"HNPVisitSessionUtmCampaign"))}}function C(){let e=(0,r.Sz)(),t=(0,i.Ir)(),n=function(){let{asPath:e}=(0,a.useRouter)(),t=(0,o.useRef)(null);return((0,o.useEffect)(()=>{t.current=e},[e]),e===t.current)?"":t.current}();return(0,o.useEffect)(()=>(g.A.debug({updated:"PAGE"},"HDNDataLayer"),function(e,t){var n,r,i,o,a,l,s,c,u,m,C;let T=(null==(o=window)||null==(i=o.HDN)||null==(r=i.dataLayer)||null==(n=r.error)?void 0:n.code)?x(e,window.HDN.dataLayer.error.code):(null==e||null==(a=e.page)?void 0:a.hdnDataLayer)||x(e),_=null==e?void 0:e.siteConfig;window.HDN=window.HDN||{},window.HDN.dataLayer=window.HDN.dataLayer||{};let k=window.HDN.dataLayer;k.content=window.HDN.dataLayer.content||{},k.content.objectType=T.contentObjectType,k.content.objectId=T.contentObjectId,k.content.subtype=T.contentObjectSubtype,k.content.title=T.contentTitle,k.content.subtitle=T.contentSubtitle,k.content.sectionPath=T.contentSectionPath,k.content.siteSectionLevel1=T.contentSiteSectionLevel1,k.content.siteSectionLevel2=T.contentSiteSectionLevel2,k.content.siteSectionLevel3=T.contentSiteSectionLevel3,k.content.siteSectionLevel4=T.contentSiteSectionLevel4,k.content.pubDate=T.contentPubDate,k.content.pubDateTimestamp=T.contentPubDateTimestamp,k.content.pubDateDate=T.contentPubDate.substring(0,10),k.content.pubDateHour=T.contentPubDate.substring(11,13),k.content.daysSincePub=function(e){let t=new Date,n=new Date(e.replace(/-/g,"/"));return Math.ceil((t.getTime()-n.getTime())/864e5)}(T.contentPubDate),k.content.lastModifiedDate=T.contentLastModifiedDate,k.content.lastModifiedDateTimestamp=T.contentLastModifiedDateTimestamp,k.content.publishedOnline=T.contentPublishedOnline,k.content.publishedOnlineTimestamp=T.contentPublishedOnlineTimestamp,k.content.firstPublishedOnline=T.contentFirstPublishedOnline,k.content.firstPublishedOnlineTimestamp=T.contentFirstPublishedOnlineTimestamp,k.content.lastPublished=T.contentLastPublished,k.content.lastPublishedTimestamp=T.contentLastPublishedTimestamp,k.content.lastPublishedDisplayed=T.contentLastPublishedDisplayed,k.content.lastPublishedDisplayedTimestamp=T.contentLastPublishedDisplayedTimestamp,k.content.wordCount=T.contentWordCount,k.content.wordCountRange=T.contentWordCountRange,k.content.paragraphCount=T.contentParagraphCount,k.content.keywords=T.contentKeywords,k.content.contentCategories=T.contentContentCategories,k.content.iabTags=T.contentIabTagsWithObject,k.content.keySubjects=T.contentKeySubjects,k.content.keyCategoryTags=T.contentKeyCategoryTags,k.content.keyPersons=T.contentKeyPersons,k.content.keyOrganizations=T.contentKeyOrganizations,k.content.keyConcepts=T.contentKeyConcepts,k.content.keyCategories=T.contentKeyCategories,k.content.keyPlaces=T.contentKeyPlaces,k.content.keyNlpCategories=T.contentKeyNlpCategories,k.content.keyNlpPerson=T.contentKeyNlpPerson,k.content.keyNlpLocation=T.contentKeyNlpLocation,k.content.keyNlpOrganization=T.contentKeyNlpOrganization,k.content.keyNlpEvent=T.contentKeyNlpEvent,k.content.keyNlpWorkOfArt=T.contentKeyNlpWorkOfArt,k.content.keyNlpConsumerGood=T.contentKeyNlpConsumerGood,k.content.keyNlpOther=T.contentKeyNlpOther,k.content.keyNlpUnknown=T.contentKeyNlpUnknown,k.content.designTemplate=T.contentDesignTemplate,k.content.displayTemplate=T.contentDisplayTemplate,k.content.isSensitive=T.contentIsSensitive,k.content.isTrending=T.contentIsTrending,k.content.isPopular=T.contentIsPopular,k.content.videoPlatform=T.contentVideoPlatform,k.content.followTo
1pic=T.contentFollowTopic,k.content.queueListId=T.contentQueueListId,k.content.isAffiliatedContent=T.contentIsAffiliatedContent,k.content.isSponsoredContent=T.contentIsSponsoredContent,k.content.isPaidadContent=T.contentIsPaidAdContent,k.source=k.source||{},k.source.authorName=T.sourceAuthorName,k.source.authorTitle=T.sourceAuthorTitle,k.source.originalSourceSite=T.sourceOriginalSourceSite,k.source.publishingSite=T.sourcePublishingSite,k.source.sourceSite=T.sourceSourceSite,k.source.authors=T.sourceAuthors,k.sharing=k.sharing||{};let S="https://"+(null==e?void 0:e.reqHost)+T.hrefPageUrl;k.sharing.openGraphUrl=S,k.sharing.openGraphType=T.sharingOpenGraphType,k.href=k.href||{},k.href.pageUrl=S,k.href.canonicalUrl=T.hrefCanonicalUrl,k.href.pageUrlPath=window.location.pathname,k.href.pageUrlPathFolders=window.location.pathname.replace(/[A-Za-z0-9-_.]+$/,""),k.href.pageUrlQueryParams=window.location.search.replace(/^\?/,""),k.href.pageUrlHash=window.location.hash,k.site=k.site||{},k.site.geoloc=T.siteGeoloc,k.site.geocities=T.siteGeocities,k.site.commentsType=T.siteCommentsType,k.site.commentSiteKey=T.siteCommentSiteKey,k.site.entitledComments=T.siteEntitledComments,k.site.sailthruId=T.siteSailthruId,k.site.useInstart=T.siteUseInstart,k.site.recaptchaKey=T.siteRecaptchaKey,k.site.amazonTag=T.siteAmazonTag,k.site.skimlinksPublisherId=T.siteSkimlinksPublisherId,k.site.trackonomicsProfileCode=T.siteTrackonomicsProfileCode,k.site.domain=(null==_?void 0:_.domain)||"",k.site.domainRoot=k.site.domain.replace(".com",""),k.site.sitePlatform="castle",k.site.gauTrackerId=(null==_?void 0:_.gauTrackerId)||"",k.site.ga4TrackerId=(null==_?void 0:_.ga4TrackerId)||"",k.site.ga4TrackerIdForGtm=(null==_?void 0:_.ga4TrackerId)||"",k.site.marketSlug=(null==_?void 0:_.marketSlug)||"",k.presentation=k.presentation||{},k.presentation.hasSlideshow=T.presentationHasSlideshow,k.presentation.hasSlideshowListView=T.presentationHasSlideshowListView,k.presentation.hasVideo=T.presentationHasVideo,k.presentation.hasInteractive=T.presentationHasInteractive,k.paywall=k.paywall||{},k.paywall.premiumStatus=T.paywallPremiumStatus,k.paywall.premiumEndDate=T.paywallPremiumEndDate,k.paywall.policy=T.paywallPolicy,k.paywall.sailthruBypass=!1,k.abtest=k.abtest||{},k.abtest.experimentId=function(){let e=(0,d.getCookies)(),t="ab_name_";return Object.keys(e).reduce((n,r)=>{if(r.startsWith(t)){let i=r.substring(t.length),o="A"===e[r]?"_C":"_V1";n.push(i+o)}return n},[])}(),k.ads=k.ads||{},k.ads.loaded=!0,k.ads.adMode=T.adsAdMode,k.ads.isPlatypus=!0,k.ads.screenSize=window.innerWidth>=w.Rp.lg?"large":"small",k.ads.adBlockerDetected=!1,k.thirdParties=k.thirdParties||{},k.thirdParties.active=[],k.thirdParties.adPartners=[];let{getActiveThirdParties:E}=(0,h.Ts)(f.H,e),I=Object.keys(E());k.thirdParties.active=I;let L=["htl","exco","nativo","revcontent"];for(let e=0;e<I.length;e++)L.includes(I[e])&&k.thirdParties.adPartners.push(I[e]);k.revenueProfiles=T.revenueProfiles,k.identity=k.identity||{},k.identity.gauClientId=k.identity.gauClientId||"",k.identity.ga4ClientId=k.identity.ga4ClientId||"";let j=(0,d.getCookie)("_ga");if(j&&"string"==typeof j){let e=j.split(".");k.identity.gauClientId=e[2]+"."+e[3],k.identity.ga4ClientId=e[2]+"."+e[3]}k.identity.firstPartyId=(0,d.getCookie)("hnpdiudpf2")||"",k.identity.blueConicProfileId=(0,d.getCookie)("BCSessionID")||"";let A=(0,d.getCookie)("ga_sid");if(A?k.identity.sailThruId=A:(k.identity.sailThruId="",(null==e||null==(c=e.additionalContext)?void 0:c.utm_medium)=="email"&&(null==e||null==(u=e.additionalContext)?void 0:u.sid)&&(k.identity.sailThruId=e.additionalContext.sid,(0,d.setCookie)("ga_sid",k.identity.sailThruId,{path:"/",domain:"."+window.HDN.dataLayer.site.domain}))),(null==e||null==(l=e.additionalContext)?void 0:l.ss)&&(null==e||null==(s=e.additionalContext)?void 0:s.sid)){let t=null==e||null==(m=e.additionalContext)?void 0:m.st_rid;(null==e||null==(C=e.additionalContext)?void 0:C.ss)==="A"&&t&&"null"!==t&&(k.identity.realmId=t,k.identity.isEntitled=!0,k.identity.isSubscriber=!0,k.paywall.sailthruBypass=!0)}k.environment=k.environment||{};let N=(null==e?void 0:e.devInfo)||{};k.environment.serverRenderTime=new Date().toISOString(),k.environment.deploymentId=(null==N?void 0:N.deploymentId)||"",k.environment.frontendMode=(null==N?void 0:N.nodeEnv)||"",k.environment.frontendEnv=(null==N?void 0:N.runtimeEnv)||"",k.environment.apiEnv=T.environmentApiEnv,k.environment.docDbEnv=T.environmentDocDbEnv,k.environment.cmsEnv=T.environmentCmsEnv,"prod"===k.environment.frontendEnv&&(k.environment.cmsEnv="production"),k.visit=k.visit||{},function(){var e=localStorage.getItem("hnp_visit_session_id"),t=localStorage.getItem("hnp_visit_session_last_action_ts");if(!e||!t){g.A.debug({description:"Start new session because of missing localStorage"},"HNPVisitSession"),b();return}if(Math.floor(Date.now()/1e3)-parseInt(t)>1800){g.A.debug({description:"Start new session because more than 30 minutes have passed since last action"},"HNPVisitSession"),b();return}var n=localStorage.getItem("hnp_visit_session_referrer"),r=document.referrer;if(r&&0===r.indexOf(location.protocol+"//"+location.host)&&(r=""),r&&r!==n||!localStorage.getItem("hnp_client_id"))return b();y(),g.A.debug({description:"Still valid!"},"HNPVisitSession"),v()}(),function(){let e=window.HDN.dataLayer;e.visit.pageDepth=function(){let e=(0,d.getCookie)("ga_cd34"),t=parseInt("string"==typeof e?e:"");t?t++:t=1;let n="."+window.HDN.dataLayer.site.domain,r=new Date;return r.setTime(r.getTime()+18e5),(0,d.setCookie)("ga_cd34",t,{path:"/",domain:n,expires:r}),t}(),e.visit.monthlySession=function(){let e=(0,d.getCookie)("ga_cd35"),t=parseInt("string"==typeof e?e:"");t?t++:t=1;let n="."+window.HDN.dataLayer.site.domain,r=new Date,i=new Date(r.getFullYear(),r.getMonth()+1,0);return i.setHours(23,59,59),i.setTime(i.getTime()),(0,d.setCookie)("ga_cd34",t,{path:"/",domain:n,expires:i}),t++}();let t=1e10*Math.random()+"||"+window.location.href+"||"+new Date().getTime();e.visit.urlHash=p()(t),e.visit.visitTs=Math.floor(Date.now()/1e3),e.visit.visitTsIso8601Local=(r=-(n=new Date).getTimezoneOffset(),i=function(e){var t=Math.abs(Math.floor(e));return(t<10?"0":"")+t},n.getFullYear()+"-"+i(n.getMonth()+1)+"-"+i(n.getDate())+"T"+i(n.getHours())+":"+i(n.getMinutes())+":"+i(n.getSeconds())+"."+i(n.getMilliseconds())+(r>=0?"+":"-")+i(r/60)+":"+i(r%60)),e.visit.visitTsIso8601dUtc=new Date().toISOString(),e.visit.clientId=localStorage.getItem("hnp_client_id")||"",e.visit.sessionId=localStorage.getItem("hnp_visit_session_id")||"",e.visit.ipid="",e.visit.ipidHash="";var n,r,i,o=new URL(window.location.href);if(o.search){var a=new URLSearchParams(o.search.slice(1));a.has("ipid")?e.visit.ipid=a.get("ipid"):a.has("IPID")&&(e.visit.ipid=a.get("ipid")),window.HDN.dataLayer.visit.ipid&&(e.visit.ipidHash=e.visit.ipid.toLowerCase(),e.visit.ipidHash=p()(e.visit.ipidHash
1),e.visit.ipidHash=e.visit.ipidHash.substring(0,8))}if(e.visit.sessionReferrer=localStorage.getItem("hnp_visit_session_referrer")||"",e.visit.sessionReferrerDomain="",e.visit.sessionReferrer){var l=new URL(e.visit.sessionReferrer);e.visit.sessionReferrerDomain=l.hostname}e.visit.utmSource=localStorage.getItem("hnp_visit_session_utm_source")||"",e.visit.utmSourceHash="",e.visit.utmSource&&(e.visit.utmSourceHash=e.visit.utmSource.toLowerCase(),e.visit.utmSourceHash=p()(e.visit.utmSourceHash),e.visit.utmSourceHash=e.visit.utmSourceHash.substring(0,8)),e.visit.utmMedium=localStorage.getItem("hnp_visit_session_utm_medium")||"",e.visit.utmMediumHash="",e.visit.utmMedium&&(e.visit.utmMediumHash=e.visit.utmMedium.toLowerCase(),e.visit.utmMediumHash=p()(e.visit.utmMediumHash),e.visit.utmMediumHash=e.visit.utmMediumHash.substring(0,8)),e.visit.utmCampaign=localStorage.getItem("hnp_visit_session_utm_campaign")||"",e.visit.utmCampaignHash="",e.visit.utmCampaign&&(e.visit.utmCampaignHash=e.visit.utmCampaign.toLowerCase(),e.visit.utmCampaignHash=p()(e.visit.utmCampaignHash),e.visit.utmCampaignHash=e.visit.utmCampaignHash.substring(0,8))}(),k.visit.visibilityState=window.document.visibilityState;let O=()=>{k.visit.visibilityState=window.document.visibilityState},P=()=>{k.ads.screenSize=window.innerWidth>=w.Rp.lg?"large":"small",k.visit.breakpoint=k.ads.screenSize};return window.document.addEventListener("visibilitychange",O),k.visit.screenOrientation=window.innerHeight>window.innerWidth?"portrait":"landscape",k.visit.screenSize=window.innerWidth+" x "+window.innerHeight,k.visit.breakpoint=k.ads.screenSize,window.addEventListener("resize",P),k.visit.trafficSource="production",(0!==window.location.href.indexOf("https://www.")||0===window.location.href.indexOf("https://www.w"))&&(k.visit.trafficSource="dev"),window.navigator.userAgent.indexOf("PTST")>-1&&(k.visit.trafficSource="performance"),window.self!==window.top&&(k.visit.trafficSource="iframe"),t?k.visit.trueReferrer="".concat(window.location.protocol,"//").concat(window.location.host).concat(t):k.visit.trueReferrer=window.document.referrer,()=>{window.document.removeEventListener("visibilitychange",O),window.removeEventListener("resize",P)}}(e.pageProps,n)),[e]),(0,o.useEffect)(()=>{var e,n,r,i,o,a,l,s,c,d,u;g.A.debug({updated:"USER",userState:t},"HDNDataLayer"),window.HDN=window.HDN||{},window.HDN.dataLayer=window.HDN.dataLayer||{},window.HDN.dataLayer.ads=window.HDN.dataLayer.ads||{},window.HDN.dataLayer.identity=window.HDN.dataLayer.identity||{};let p=window.HDN.dataLayer;p.identity.realmId=p.identity.realmId||"",p.identity.realmId=t.id||p.identity.realmId,p.identity.currentLoginMethod="",t.currentLoginMethod&&t.loggedInStatus&&"loggedIn"==t.loggedInStatus&&(p.identity.currentLoginMethod=t.currentLoginMethod),p.identity.isEntitled=null!=(e=t.isEntitled)?e:null,p.identity.isSubscriber=null!=(n=t.isSubscriber)?n:null,p.identity.tregLoadState=null!=(r=t.authLoadState)?r:null,p.identity.loggedInStatus=null!=(i=t.loggedInStatus)?i:null,p.identity.isLoggedIn="loggedIn"===t.loggedInStatus,p.identity.blueConicProfileId=p.identity.blueConicProfileId||"",p.identity.blueconicLoadState=null!=(o=t.blueconicLoadState)?o:null,window.hnppermutive&&(window.hnppermutive.identity=p.identity,(null==(l=window.hnppermutive.web)||null==(a=l.page)?void 0:a.user)&&(window.hnppermutive.web.page.user.auth={access:null!=(s=p.identity.isEntitled)&&s,loginStatus:null!=(c=p.identity.isLoggedIn)&&c,state:null!=(d=p.identity.loggedInStatus)?d:"",subscription:null!=(u=p.identity.isSubscriber)&&u}))},[t]),null}var T=n(77269),_=n(40884),k=n(16164),S=n(23727);let E=S.env.NEXT_PHASE===k.PHASE_PRODUCTION_BUILD;function I(e){let{children:t,flags:n,siteId:r=0}=e;return n&&Array.isArray(n)||(E||g.A.warn({flags:n,isBuild:S.env.NEXT_PHASE===k.PHASE_PRODUCTION_BUILD},"ProviderFlagsMissingOrInvalid"),n=[]),(0,T.jsx)(_.FeatureFlagProvider,{flags:n,siteId:r,children:t})}},49936:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});let r=e=>"object"==typeof e&&null!==e?Array.isArray(e)?e:(e=>Object.keys(e).map(t=>e[t]?t:null))(e):e;function i(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.map(r).flat().filter(e=>e).join(" ")}},50071:(e,t,n)=>{"use strict";n.d(t,{Ad:()=>R});var r=n(77269),i=n(13385),o=n(87262),a=n(23186),l=n(90013),s=n(90665),c=n(49936);let d=(0,n(79671).E)("variant",{article:["uiHeader11"],channel:["uiTextMedium","c-gray700"]});function u(e){let{variant:t="article",hideOnMobile:n}=e;
1return s.j.jsxs("div",{className:(0,c.A)(n&&["vh","y0","mb0","md:vv","md:y100","md:mb16"]),children:[s.j.jsx("p",{className:(0,c.A)(d({variant:t}),"f","aic","jcc","ttu"),children:"Advertisement"}),"article"===t&&s.j.jsx("p",{className:(0,c.A)("uiTextSmall","f","aic","jcc"),children:"Article continues below this ad"})]})}var p=n(40884),m=n(8865),g=n(49868),h=n(84364),f=n(68095),w=n(44112);let x=new Set(["APflex","BPflex","CPflex","DPflex","EPflex","FPflex","AP300","Inline","A300","B300","S300","CONCERT1","CONCERT2"]),b=new Map,v=!1;function y(e){var t;let n=e.slot.getSlotElementId();if(!x.has(n.split("-")[0]))return;let r=document.getElementById(n);if(!r)return;let i=function(e){let t=e.querySelector("iframe");if(t&&t.offsetHeight>0)return t.offsetHeight;let n=e.firstElementChild;return n instanceof HTMLElement&&n.offsetHeight>0?n.offsetHeight:null}(r);if(null===i)return;let o=Math.max(i<200?300:i<500?500:i,null!=(t=b.get(n))?t:function(e){let t=parseInt(window.getComputedStyle(e).minHeight,10);return Number.isFinite(t)?t:0}(r));b.set(n,o);let a="".concat(o,"px");r.style.minHeight!==a&&(r.style.minHeight=a)}function C(){for(let e of b.keys()){let t=document.getElementById(e);t&&(t.style.removeProperty("min-height"),""===t.getAttribute("style")&&t.removeAttribute("style"))}b.clear()}var T=n(34408),_=n(64698),k=n.n(_);let S={isInterscroller:!1,image:"",height:0,url:"",impressionTracker1:"",impressionTracker2:"",impressionTracker3:"",impressionTracker4:""};function E(e,t){let[n,r]=(0,i.useState)(S);return(0,i.useEffect)(()=>{let n=window.innerWidth>=o.Rp.lg?String(t):String(e),i=e=>{var t,i,o,a,l,s,c,d,u,p,m;if((null==(t=e.data)?void 0:t.gamInterscroller)&&(null==(i=e.data)?void 0:i.divId)===n){r({isInterscroller:!0,image:e.data.img,height:e.data.height,url:e.data.url,impressionTracker1:null!=(d=null==(o=e.data)?void 0:o.impressionTracker1)?d:"",impressionTracker2:null!=(u=null==(a=e.data)?void 0:a.impressionTracker2)?u:"",impressionTracker3:null!=(p=null==(l=e.data)?void 0:l.impressionTracker3)?p:"",impressionTracker4:null!=(m=null==(s=e.data)?void 0:s.impressionTracker4)?m:""});let t=null==(c=document.getElementById(e.data.divId))?void 0:c.firstChild;t&&(t.style.height="0px")}};return window.addEventListener("message",i),()=>window.removeEventListener("message",i)},[e,t]),n}function I(e){let{state:t}=e;return t.isInterscroller?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.A.div,{style:{"--isHeight":"".concat(t.height,"px"),height:"".concat(t.height,"px"),width:"100vw",left:"-20px"},cx:["y100","abs","x100",(0,a.A)(k().abssc),(0,a.A)(k().absscp)],children:(0,r.jsx)("a",{href:t.url,target:"_blank",rel:"noreferrer",children:(0,r.jsx)(l.A.img,{src:t.image,alt:"Interscroller",width:"100%",height:"100%",cx:["ofct","fix","top","left","x100","bottom"]})})}),t.impressionTracker1&&(0,r.jsx)(l.A.img,{alt:"",src:t.impressionTracker1,style:{display:"none"}}),t.impressionTracker2&&(0,r.jsx)(l.A.img,{alt:"",src:t.impressionTracker2,style:{display:"none"}}),t.impressionTracker3&&(0,r.jsx)(l.A.img,{alt:"",src:t.impressionTracker3,style:{display:"none"}}),t.impressionTracker4&&(0,r.jsx)(l.A.img,{alt:"",src:t.impressionTracker4,style:{display:"none"}})]}):null}var L=n(95531),j=n.n(L);function A(e,t,n){var r,i;let o=[],l=null==e||null==(r=e.small)?void 0:r.split("-")[0],s=null==e||null==(i=e.large)?void 0:i.split("-")[0],c=!(null==e?void 0:e.showInlineAdLabel)&&(null==e?void 0:e.type)==="CollectionAd"&&"Inline"===l;return"Flex1"===s&&o.push("sm:mnh250px","f","aic","jcc","mt16","md:mt0"),"Inline"===s&&o.push("sm:mnh300px"),"Flex1"===l&&o.push("mnh90px","mt16","md:mt0"),"Inline"===l&&o.push("mnh300px"),!s&&l&&o.push("sm:mhi"),"MAD"===l&&o.push("ma","f","jcc"),"default"===t&&c&&o.push("f","aic","jcc","mb0"),"default"!==t||c||o.push(!n&&(0,a.A)(j().marginBottom),"ox-hidden"),"nospacing"===t&&o.push("ox-hidden"),[...new Set(o)]}let N=(0,i.forwardRef)((e,t)=>{let{variant:n,bx:i,...o}=e,{small:s,large:c,adUnitPath:d}=o;return(0,T.A)("devtools")?(0,r.jsxs)(l.A.div,{bx:i,cx:[(0,a.A)("ad"),"f","fdc","jcc",...A(o,n,!1)],...{"data-block-type":"ad","data-small-id":s,"data-large-id":c},ref:t,children:[(0,r.jsxs)("pre",{children:["Large: ",c||"undefined"]}),(0,r.jsxs)("pre",{children:["Small: ",s||"undefined"]}),(0,r.jsxs)("pre",{children:["Ad Unit: ",d||"undefined"]})]}):null});N.displayName="DemoAd";let O=e=>{let{small:t,large:n,adUnitPath:s}=e,{pageProps:c}=(0,g.Sz)(),{additionalContext:d,pageType:u}=c,m=(null==d?void 0:d.view)==="richie",x=(0,p.useFeatureFlag)("stickyMidContentAd")&&"article"===u,b=x&&j().stickyAd,T=E(t,n);(0,i.useEffect)(()=>{x&&(v||(v=!0,window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push(()=>{try{var e,t;null==(t=window.googletag)||null==(e=t.pubads)||e.call(t).addEventListener("slotOnload",y)}catch(e){w.A.error(e,"AdSlotHeightsListenerFailed")}}),f.B.on(h.K.SPA_NAVIGATION_COMPLETE,C)))},[x]);let _=(0,i.useRef)(null);return(0,i.useEffect)(()=>
1{if(!_.current)return;let{isDesktop:e,idToUse:r,idBeforeHyphen:i}=function(e,t,n){var r;let i=e>=o.Rp.lg,a=i?n?String(n):void 0:t?String(t):void 0,l=(null==a||null==(r=a.split("-"))?void 0:r[0])!==a;return{isDesktop:i,idToUse:a,idBeforeHyphen:l}}(window.innerWidth,t,n);r&&(i&&_.current.setAttribute("data-targeting",JSON.stringify({div_id:r})),r)&&(_.current.setAttribute("id",r),!function(e){return!!(null==e?void 0:e.includes("NTV"))}(e?n:t)&&_.current.classList.add((0,a.A)("hnpad-".concat(r.split("-")[0]))))},[t,n,s]),(0,r.jsx)(l.A.div,{ref:_,...{"data-block-type":"ad","data-small-id":t,"data-large-id":n,"data-unit":s},style:T.isInterscroller?{height:"".concat(T.height,"px")}:{},cx:[...function(e,t,n,r){var i,o,a,l,s,c;let d=null==e||null==(i=e.split("-"))?void 0:i[0],u=null==t||null==(o=t.split("-"))?void 0:o[0],p=n?["table","pb16","my0","mxa"]:["f","jcc"],m=n?["table","pb16","my0","mxa"]:["lg:f","lg:jcc"],g=!!r,h=g?"mnh500px":"mnh250px",f=g?"lg:mnh500px":"lg:mnh250px",w=!g&&"sm:mnh90px",x=g?"lg:mnh500px":"lg:mnh90px",b=!g&&"sm:mnh300px",v=g?"lg:mnh500px":"lg:mnh300px",y={APflex:{small:[...p,h,w,"aic",r],large:[...m,x,"lg:aic",r]},BPflex:{small:[...p,h,w,"aic",r],large:[...m,x,"lg:aic",r]},CPflex:{small:[...p,h,w,"ais",r],large:[...m,x,"lg:ais",r]},DPflex:{small:[...p,h,w,"aic",r],large:[...m,x,"lg:aic",r]},EPflex:{small:[...p,h,w,"aic",r],large:[...m,x,"lg:aic",r]},FPflex:{small:[...p,h,w,"aic",r],large:[...m,x,"lg:aic",r]},AP300:{small:[...p,h,"aic",r],large:[...m,f,"lg:aic",r]},A300:{small:[...p,h,"sm:mnh600px","ais",r],large:[...m,"lg:mnh600px","lg:ais"]},B300:{small:[...p,h,"sm:mnh600px","ais",r],large:[...m,"lg:mnh600px","lg:ais"]},S300:{small:[...p,h,"sm:mnh600px","ais",r],large:[...m,"lg:mnh600px","lg:ais"]},MAD:{small:[...p,"mnh50px",...n?[]:["sm:none"],"aic"],large:[]},CONCERT1:{small:[...p,h,b,"ais",r],large:[...m,v,"lg:ais",r]},CONCERT2:{small:[...p,h,b,"ais",r],large:[...m,v,"lg:ais",r]},Inline:{small:[...p,h,"pb16","aic",r],large:[...m,f,"lg:pb16","lg:aic",r]},RB:{small:[],large:[...m,"lg:mnh600px","lg:ais"]},Flex1:{small:["block","mnh50px","sm:mnh250px","aic"],large:["lg:block","lg:mnh250px","lg:aic"]},Crown:{small:["f","sm:block"],large:["lg:block"]}};return Array.from(new Set([...d&&null!=(s=null==(a=y[d])?void 0:a.small)?s:[],...u?null!=(c=null==(l=y[u])?void 0:l.large)?c:[]:n?[]:["lg:none"]])).filter(e=>!!e)}(t,n,m,b)],children:(0,r.jsx)(I,{state:T})})},P=(0,i.forwardRef)(function(e,t){let{variant:n,bx:a,...s}=e,{small:c,large:d,adUnitPath:u}=s,p=E(c,d);return(0,i.useEffect)(()=>{let e=window.innerWidth>=o.Rp.lg?String(d):String(c);t&&"current"in t&&null!==t.current&&t.current.id&&t.current.setAttribute("id",e)},[c,d,t]),(0,r.jsx)(l.A.div,{ref:t,cx:["tac",...A(s,n,p.isInterscroller)],bx:a,...{"data-block-type":"ad","data-small-id":c,"data-large-id":d,"data-unit":u},style:p.isInterscroller?{height:"".concat(p.height,"px")}:{},children:(0,r.jsx)(I,{state:p})})}),R=(0,i.forwardRef)(function(e,t){let{params:n,variant:s="default",bx:c}=e,[d,p]=(0,i.useState)(!1),h=(0,T.A)("nativo"),f=(0,T.A)("htl"),{pageProps:w}=(0,g.Sz)(),{additionalContext:x}=w,b=null==x?void 0:x.location,v=(null==x?void 0:x.view)==="richie",y=null==n?void 0:n.small,C=null==n?void 0:n.large,_=v?{...n,large:void 0}:n,k=v?void 0:C,S=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e||n?O:t?P:N}(f,h,v),E="channel"===w.pageType?"channel":"article",I=(null==n?void 0:n.showInlineAdLabel)&&(v?y:d?C:y);return((0,i.useEffect)(()=>{p(window.innerWidth>=o.Rp.lg),window.ntv=window.ntv||{},window.ntv.cmd=window.ntv.cmd||[],function(e,t){var n,r;let i=null==(r=window.HDN)||null==(n=r.dataLayer)?void 0:n.ads;if(!i)return;let o=(e,t)=>{if(!e)return;let[n,r]=e.split("-"),o=parseInt(r,10);if(("Inline"===n||"RB"===n&&"Large"===t)&&!isNaN(o)){let e="last".concat(n).concat(t,"Count");(!i[e]||o>i[e])&&(i[e]=o);return}if("A300"===e||"NTV7ARD"===e){let n="".concat(e).concat(t);i[n]||(i[n]=!0)}};o(e,"Large"),o(t,"Small")}(k,y)},[k,y]),"NTVDTBKArticle"===y)?(0,r.jsx)(l.A.div,{id:y,ref:t,bx:c}):(0,r.jsxs)(r.Fragment,{children:["ad"===b&&(0,r.jsx)(m.A,{}),(0,r.jsxs)(l.A.div,{bx:c,cx:function(e,t,n){let r=[],i="NTV7ARD"===e||"NTVINLINEARTICLE"===e;return"MAD"===e&&r.push((0,a.A)("adhesion--outer"),"fix","bottom","x100","z1002"),t&&(i?r.push("md:pt16","md:sy16"):r.push("pt16","sy16"),"channel"===n?r.push("bg-gray100","pb16","x100"):i?r.push("md:bb","md:bt","b-gray300","mb32"):r.push("bb","bt","b-gray300","mb32")),r}(y,!!I,E),children:[I&&(0,r.jsx)(u,{variant:E,hideOnMobile:"NTV7ARD"===y||"NTVINLINEARTICLE"===y}),(0,r.jsx)(S,{..._,variant:s,ref:t})]})]})})},51875:(e,t,n)=>{"use strict";
1var r=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{flagKey:t,children:n}=e;return(0,o.default)(t)?i.default.createElement(i.default.Fragment,null,n):null};let i=r(n(13385)),o=r(n(34036))},51880:(e,t,n)=>{"use strict";n.d(t,{Pb:()=>m,yC:()=>b,KK:()=>i.K,Bt:()=>r.B,Ol:()=>f,Ts:()=>w});var r=n(68095),i=n(84364),o=n(13385),a=n(11070),l=n(49868),s=n(53349),c=n(83478),d=n(5579),u=n(78282),p=n(44112);function m(){return!function(){let e=(0,l.Sz)(),t=(0,s.Ir)(),n=(0,s.Xw)(),d=(0,a.useRouter)();(0,c.A)(()=>{t.safeToFirePageViewState||(p.A.error({description:'Within setTimeout, and "safeToFirePageViewState" still isn\'t true. Set it true now to allow the PV.'},"HDNInfo"),n({safeToFirePageViewState:!0,authLoadState:t.authSafeToFirePageView?t.authLoadState:"timedOut",blueconicLoadState:t.blueconicSafeToFirePageView?t.blueconicLoadState:"timedOut"}))},5e3,[d.asPath]);let m=(0,o.useRef)(!0);(0,o.useEffect)(()=>{if(t.safeToFirePageViewState)for(r.B.emit(i.K.PAGE_VIEW_DEFERRED,null),m.current?(r.B.emit(i.K.PAGE_VIEW_FULL_DEFERRED,null),m.current=!1):r.B.emit(i.K.PAGE_VIEW_SPA_DEFERRED,null);window.eventQueuePendingPageView.length>0;){let{topicEnumVal:e,data:t}=window.eventQueuePendingPageView.shift();r.B.emit(e,t)}},[t.safeToFirePageViewState,d.asPath]);let g=(0,o.useRef)(!0);(0,o.useEffect)(()=>{r.B.emit(i.K.PAGE_VIEW,null),g.current?(r.B.emit(i.K.PAGE_VIEW_FULL,null),g.current=!1):r.B.emit(i.K.PAGE_VIEW_SPA,null)},[d.asPath]),(0,o.useEffect)(()=>{let{isEnabled:r}=w(u.H,e.pageProps),i={safeToFirePageViewState:t.safeToFirePageViewState,authSafeToFirePageView:t.authSafeToFirePageView,authLoadState:t.authLoadState,loggedInStatus:t.loggedInStatus,blueconicSafeToFirePageView:t.blueconicSafeToFirePageView,blueconicLoadState:t.blueconicLoadState},o=t.safeToFirePageViewState,a=!1;r("treg")||r("auth0")?i.authSafeToFirePageView&&(a=!0):(p.A.debug({description:'This site does not need to await for an auth provider. Set "authSafeToFirePageView" true immediately to allow the page_view'},"HDNInfo"),a=!0,i.authSafeToFirePageView=!0,i.authLoadState="notRequired",i.loggedInStatus="none");let l=!1;r("blueconic")?i.blueconicSafeToFirePageView&&(l=!0):(p.A.debug({description:'This site does not need to await for Blueconic. Set "blueconicSafeToFirePageView" true immediately to allow the page_view'},"HDNInfo"),l=!0,i.blueconicSafeToFirePageView=!0,i.blueconicLoadState="notRequired"),o||(o=a&&l),(t.safeToFirePageViewState!==o||t.authSafeToFirePageView!==i.authSafeToFirePageView||t.authLoadState!==i.authLoadState||t.loggedInStatus!==i.loggedInStatus||t.blueconicSafeToFirePageView!==i.blueconicSafeToFirePageView||t.blueconicLoadState!==i.blueconicLoadState)&&n({safeToFirePageViewState:o,authSafeToFirePageView:i.authSafeToFirePageView,authLoadState:i.authLoadState,loggedInStatus:i.loggedInStatus,blueconicSafeToFirePageView:i.blueconicSafeToFirePageView,blueconicLoadState:i.blueconicLoadState})},[e,t.authSafeToFirePageView,t.blueconicSafeToFirePageView])}(),(0,o.useEffect)(()=>{let e=r.B.on(i.K.WEB_VITALS_DEFERRED,(e,t)=>{if("web-vital"==e.label&&!t.userContext.userState.safeToFirePageViewState){let t=i.K.WEB_VITALS_DEFERRED;window.eventQueuePendingPageView.push({topicEnumVal:t,data:e})}}),t=r.B.on(i.K.SENTINEL_DEFERRED,(e,t)=>{if(!t.userContext.userState.safeToFirePageViewState){let t=i.K.SENTINEL_DEFERRED;window.eventQueuePendingPageView.push({topicEnumVal:t,data:e})}}),n=r.B.on(i.K.BLUECONIC_VIEW_DEFERRED,(e,t)=>{if(!t.userContext.userState.safeToFirePageViewState){let t=i.K.BLUECONIC_VIEW_DEFERRED;window.eventQueuePendingPageView.push({topicEnumVal:t,data:e})}});return()=>{r.B.off(i.K.WEB_VITALS_DEFERRED,e),r.B.off(i.K.SENTINEL_DEFERRED,t),r.B.off(i.K.BLUECONIC_VIEW_DEFERRED,n)}},[]),null}d.oc&&(window.eventQueuePendingPageView=window.eventQueuePendingPageView||[]);var g=n(644);function h(e){return"1"===String(e)||"0"!==String(e)&&null}function f(e,t,n){var r,i,o,a,l,s,c;let{page:d,additionalContext:u}=n;if(!0===g.A.disableThirdParties||Array.isArray(g.A.disableThirdParties)&&g.A.disableThirdParties.includes(t))return!1;let p=h(null==u?void 0:u["hmb[".concat(t,"]")]);if(null!==p)return!p;let m=h(null==u?void 0:u["hmb[*]"]);if(null!==m)return!m;if((null==n?void 0:n.pageType)==="channel"&&["mydata","mydata2"].includes(null==n?void 0:n.identifier))return!1;if((null==n?void 0:n.pageType)==="channel"&&["yourdata","agentdata"].includes(null==n?void 0:n.identifier))return["ketch","gtm"].includes(t);if((null==n?void 0:n.pageType)==="interactives-embed")return!1;if((null==u?void 0:u.view)==="richie"){if(!["thirdpartyfreeformembed","everlit","sailthru","richieauth"].includes(t))return!1;if(["thirdpartyfreeformembed"].includes(t))return!0}let f=null!=(l=null==(r=e[t])?void 0:r.isActiveByProps)?l:null,w=f&&null!=(s=f(n,u))?s:null;if(null!==w)return w;let x=null!=(c=null==d||null==(a=d.globalContext)||null==(o=a.enabledThirdParties)||null==(i=o[t])?void 0:i.active)?c:null;return null===x||x}function w(e,t){return{getActiveThirdParties:()=>(function(e,t){var n,r,i,o,a,l,s,c,d;let u={},p=null==t||null==(o=t.page)||null==(i=o.hdnDataLayer)||null==(r=i.revenueProfiles)||null==(n=r.profiles)?void 0:n.nonsub;for(let[n,r]of Object.entries(e))p&&(null==(a=p[n])?void 0:a.value)&&(null==t||null==(d=t.page)||null==(c=d.globalContext)||null==(s=c.enabledThirdParties)||null==(l=s[n])?void 0:l.active)&&(t.page.globalContext.enabledThirdParties[n].active=p[n].value),f(e,n,t)&&(u[n]=r);return u})(e,t),isEnabled:n=>f(e,n,t)}}var x=n(77269);function b(e){let{thirdParties:t}=e,n=(0,o.useRef)(!1);return((0,o.useEffect)(()=>{!async function(){var e;let r=[];if(!t)return;if((null==n?void 0:n.current)===!0)return()=>
1{null==r||r.forEach(e=>e())};let i=[],o=[];if(null==(e=Object.values(t))||e.forEach(e=>{(null==e?void 0:e.loadInitialize)?null==o||o.push(e):!(null==e?void 0:e.loadInitialize)&&(null==e?void 0:e.initialize)&&(null==i||i.push(e))}),(null==i?void 0:i.length)!==0&&(null==i||i.forEach(e=>{let{initialize:t}=e,n=t();n&&(null==r||r.push(n))}),n.current=!0),(null==o?void 0:o.length)!==0){let e=null==o?void 0:o.map(async e=>{let{loadInitialize:t}=e,n=await t(),i=null==n?void 0:n();i&&(null==r||r.push(i))});await Promise.all(e),n.current=!0}}()},[]),t)?(0,x.jsx)(x.Fragment,{children:Object.entries(t).map(e=>{let[t,{Snippet:n}]=e;return(0,x.jsx)(n,{},t)})}):null}},53349:(e,t,n)=>{"use strict";n.d(t,{Ir:()=>s,Xw:()=>c,ac:()=>l,ur:()=>d});var r=n(77269),i=n(13385),o=n(88936);let a=(0,i.createContext)({analyticsState:{safeToFirePageViewState:!1,authSafeToFirePageView:!1,blueconicSafeToFirePageView:!1},updateAnalyticsState:()=>{}});function l(e){let{children:t}=e,[n,l]=(0,i.useState)({safeToFirePageViewState:!1,authSafeToFirePageView:!1,blueconicSafeToFirePageView:!1}),s=(0,i.useCallback)(e=>l(t=>({...t,...e})),[]),c=o.ac;return(0,r.jsx)(c,{children:(0,r.jsx)(a.Provider,{value:{analyticsState:n,updateAnalyticsState:s},children:t})})}function s(){let e=(0,o.Ir)(),{analyticsState:t}=(0,i.useContext)(a);return{...e,...t}}function c(){let e=(0,o.Xw)(),{updateAnalyticsState:t}=(0,i.useContext)(a);return(0,i.useCallback)(n=>{let r=["safeToFirePageViewState","authSafeToFirePageView","blueconicSafeToFirePageView","authLoadState","blueconicLoadState"],i=Object.fromEntries(Object.entries(n).filter(e=>{let[t]=e;return r.includes(t)})),o=Object.fromEntries(Object.entries(n).filter(e=>{let[t]=e;return!r.includes(t)}));Object.keys(o).length>0&&e(o),Object.keys(i).length>0&&t(i)},[e,t])}function d(){return{userState:s(),updateUserState:c()}}},53828:()=>{},53844:(e,t,n)=>{e.exports=n(11669)},58493:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,r.useContext)(i.FeatureFlagContext).getAllFeatureFlags()};let r=n(13385),i=n(14815)},59060:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return r}});let r=n(34007)._(n(13385)).default.createContext(null)},60395:(e,t,n)=>{"use strict";function r(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:31536e3,[r,i]=window.location.hostname.split(".").reverse(),o="".concat(i,".").concat(r);document.cookie="".concat(e,"=").concat(t,"; max-age=").concat(n,"; domain=.").concat(o,"; path=/; Secure; SameSite=Lax")}function i(e){return o(document.cookie)[e]||""}function o(e){return(e||"").split("; ").map(e=>e.split(/=(.+)/)).reduce((e,t)=>{let[n,r]=t;return e[n]=r,e},{})}n.d(t,{JT:()=>o,St:()=>r,UM:()=>i})},62102:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(13385),i=n(20863);let o=(0,r.createContext)({dependencies:i.Ay})},64135:()=>{},64698:e=>{e.exports={abssc:"interscroller_abssc__Enofs",absscp:"interscroller_absscp__Or5p0"}},66142:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>a,qW:()=>o});var r=n(36553);let i=()=>"https://cdn.everlit.audio/libs/everlitAutoAudio.js";function o(e){let{page:t,pageType:n}=e;return!!["article"].includes(n)&&(0,r.$1)("everlit")(e)}let a={Snippet:function(){return(0,r.R9)({type:"everlit",onSetSrc:i})},initialize:function(){return()=>{}},isActiveByProps:o}},67924:(e,t,n)=>{"use strict";var r,i=function(e,t,n){if(null!=t){var r,i;if("object"!=typeof t&&"function"!=typeof t)throw TypeError("Object expected.");if(n){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(i=r)}if("function"!=typeof r)throw TypeError("Object not disposable.");i&&(r=function(){try{i.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t},o=(r="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r},function(e){function t(t){e.error=e.hasError?new r(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,i=0;return function r(){for(;n=e.stack.pop();)try{if(!n.async&&1===i)return i=0,e.stack.push(n),Promise.resolve().then(r);if(n.dispose){var o=n.dispose.call(n.value);if(n.async)return i|=2,Promise.resolve(o).then(r,function(e){return t(e),r()})}else i|=1}catch(e){t(e)}
1if(1===i)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()});Object.defineProperty(t,"__esModule",{value:!0}),t.fetchFlags=void 0;let a=function(e){return e&&e.__esModule?e:{default:e}}(n(79500));t.fetchFlags=async function(e,t){let{logger:n}=t;try{let t={stack:[],error:void 0,hasError:!1};try{n.info({endpoint:e},"FetchingFeatureFlags");let r=i(t,await (0,a.default)(e,{headers:{Accept:"application/json"},logger:n}),!0);return await r.response.json()}catch(e){t.error=e,t.hasError=!0}finally{let e=o(t);e&&await e}}catch(i){var r,l;let t="Error retrieving feature flags from ".concat(e);throw n.error({err:i,endpoint:e,httpStatus:null==i||null==(r=i.response)?void 0:r.status,data:null==i||null==(l=i.response)?void 0:l.data,human:t},"NodeFetchFeatureFlagsFailed"),Error(t)}}},68095:(e,t,n)=>{"use strict";n.d(t,{B:()=>r});let r=(0,n(71273).u)({maxQueueLength:50})},71273:(e,t,n)=>{"use strict";function r(e){let t={},n={},r=e.initialContext||{};return{on(e,i){let o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e in t||(t[e]=[]),t[e].push(i),e in n&&(n[e].forEach(e=>i(e,r)),o&&(n[e]=[])),t[e].length-1},off(e,n){delete t[e][n]},updateContext(e){r=e},emit(i,o){let a=!(arguments.length>2)||void 0===arguments[2]||arguments[2];(t[i]||[]).forEach(e=>e(o,r)),a&&(n[i]=n[i]||[],n[i].push(o),n[i].length>e.maxQueueLength&&console.warn("Max event bus queue length reached. Please check to avoid memory leaks."))}}}n.d(t,{u:()=>r})},73599:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};Object.defineProperty(t,"__esModule",{value:!0}),t.checkCookies=t.hasCookie=t.removeCookies=t.deleteCookie=t.setCookies=t.setCookie=t.getCookie=t.getCookies=void 0;var o=n(31978),a=function(){return"undefined"!=typeof window},l=function(e){void 0===e&&(e="");try{var t=JSON.stringify(e);return/^[\{\[]/.test(t)?t:e}catch(t){return e}};t.getCookies=function(e){if(e&&(t=e.req),!a())return t&&t.cookies?t.cookies:t&&t.headers&&t.headers.cookie?(0,o.parse)(t.headers.cookie):{};for(var t,n={},r=document.cookie?document.cookie.split("; "):[],i=0,l=r.length;i<l;i++){var s=r[i].split("="),c=s.slice(1).join("=");n[s[0]]=c}return n},t.getCookie=function(e,n){var r,i=(0,t.getCookies)(n)[e];if(void 0!==i){return"true"===(r=i?i.replace(/(%[0-9A-Z]{2}
1)+/g,decodeURIComponent):i)||"false"!==r&&("undefined"!==r?"null"===r?null:r:void 0)}},t.setCookie=function(e,t,n){if(n){var s,c,d,u=n.req,p=n.res,m=i(n,["req","res"]);c=u,d=p,s=m}var g=(0,o.serialize)(e,l(t),r({path:"/"},s));if(a())document.cookie=g;else if(d&&c){var h=d.getHeader("Set-Cookie");if(Array.isArray(h)||(h=h?[String(h)]:[]),d.setHeader("Set-Cookie",h.concat(g)),c&&c.cookies){var f=c.cookies;""===t?delete f[e]:f[e]=l(t)}if(c&&c.headers&&c.headers.cookie){var f=(0,o.parse)(c.headers.cookie);""===t?delete f[e]:f[e]=l(t),c.headers.cookie=Object.entries(f).reduce(function(e,t){return e.concat("".concat(t[0],"=").concat(t[1],";"))},"")}}},t.setCookies=function(e,n,r){return console.warn("[WARN]: setCookies was deprecated. It will be deleted in the new version. Use setCookie instead."),(0,t.setCookie)(e,n,r)},t.deleteCookie=function(e,n){return(0,t.setCookie)(e,"",r(r({},n),{maxAge:-1}))},t.removeCookies=function(e,n){return console.warn("[WARN]: removeCookies was deprecated. It will be deleted in the new version. Use deleteCookie instead."),(0,t.deleteCookie)(e,n)},t.hasCookie=function(e,n){return!!e&&(0,t.getCookies)(n).hasOwnProperty(e)},t.checkCookies=function(e,n){return console.warn("[WARN]: checkCookies was deprecated. It will be deleted in the new version. Use hasCookie instead."),(0,t.hasCookie)(e,n)}},75727:(e,t,n)=>{"use strict";n.d(t,{aT:()=>S,fD:()=>k,bQ:()=>p});var r=n(18178),i=n(1184),o=n(68095),a=n(84364);let l=(0,n(71273).u)({maxQueueLength:50});var s=n(10144);let c=()=>{},d=Object.values(i.i5).map(e=>e.productionDomain).filter(e=>!!e),u={};function p(e){u=e}function m(){return"prod"===u.environment&&"staging"!==u.tregVersion?"https://realm.hearstnp.com/account/RegistrationLite":"https://realm-staging.hearstnp.com/account/RegistrationLite"}function g(e){let t=null!=e?e:{};return{zone:t.componentZone||"unknown",wcmUnitData:{lead_gen_platform:t.lead_gen_platform||"unknown",lead_gen_type:t.lead_gen_type||"unknown",lead_gen_subtype:t.lead_gen_subtype||"unknown",lead_gen_detail:t.lead_gen_detail||"unknown"}}}function h(e,t,n){let{zone:r,wcmUnitData:i}=g(n);o.B.emit(a.K.SAILTHRU_SIGNUP_SUCCESS,{blueconic:e,sailthru:t,wcmData:{zone:r},wcmUnitData:i})}function f(){try{var e,t,n,r,i;let o=null==(i=window.blueConicClient)||null==(r=i.profile)||null==(n=r.getProfile)||null==(t=n.call(r))||null==(e=t.getValue)?void 0:e.call(t,"sailthru_hid");return o?{sailthruHid:o}:void 0}catch(e){return}}function w(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.message,{zone:i,wcmUnitData:o}=g(n);(0,s.EX)(c,{bcEvent:t,message:r,wcmUnitData:o,zone:i})}function x(e){return e.message.replace(/^Sailthru signup failure:/,"Sailthru signup FAILED:")}function b(e,t){(0,s.$T)(c,{bcEvent:t,message:e.message})}function v(e,t){o.B.emit(a.K.REALM_SIGNUP_SUCCESS,{blueconic:e,realm:t.toString()})}let y=async e=>{try{let t=await (0,r.$)(e);return h(e.payload,t,e.unitData),t}catch(t){throw t instanceof r.VA&&w(t,e.payload,e.unitData),t}},C=async e=>{try{let t=await (0,r.R1)(e);return h(e.payload,t,e.unitData),t}catch(t){throw t instanceof r.VA&&w(t,e.payload,e.unitData),t}},T=async e=>{try{await (0,r.kM)({...e,realmRegistrationUrl:m(),onRealmSignupSuccess:t=>{v(e.payload,t.status)}}),h(e.payload,f()||{},e.unitData)}catch(t){throw t instanceof r.in?b(t,e.payload):t instanceof r.VA&&w(t,e.payload,e.unitData,x(t)),t}},_=async e=>{try{await (0,r.oc)({...e,realmRegistrationUrl:m(),onRealmSignupSuccess:t=>{v(e.payload,t.status)}}),h(e.payload,f()||{},e.unitData)}catch(t){throw t instanceof r.in?b(t,e.payload):t instanceof r.VA&&w(t,e.payload,e.unitData,x(t)),t}},k=(0,r.Ts)({eventBus:l,productionDomains:d,onAppDownloadSignup:y,onGiftArticleRegwallSignup:_,onRegwallSignup:T,onNewsletterSignup:C});function S(){let e=l.on(r.KK.BLUECONIC_VIEW,e=>{o.B.emit(a.K.BLUECONIC_VIEW,e),o.B.emit(a.K.BLUECONIC_VIEW_DEFERRED,e)}),t=l.on(r.KK.BLUECONIC_CLICK,e=>{o.B.emit(a.K.BLUECONIC_CLICK,e)}),n=l.on(r.KK.PROMO_BANNER_OPEN,()=>{o.B.emit(a.K.UPDATE_ANCHOR_TOP_OFFSET,null)}),i=o.B.on(a.K.SPA_NAVIGATION_START,()=>{l.emit(r.KK.MARKETING_CLOSE_ALL,void 0)});return()=>{l.off(r.KK.BLUECONIC_VIEW,e),l.off(r.KK.BLUECONIC_CLICK,t),l.off(r.KK.PROMO_BANNER_OPEN,n),o.B.off(a.K.SPA_NAVIGATION_START,i)}}},77571:(e,t,n)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.FeatureFlagService=void 0;let r=n(2018),i=function(e){return e&&e.__esModule?e:{default:e}}(n(5296)),o=n(31024);class a{async initialize(){try{let e={};(await this.getFlags()).forEach(t=>{let{key:n,enabled:r}=t;e[n]=r})}catch(e){this.logger.error(e,"InitializingFeatureFlagFailed")}}loadFlagsFromAPI(){if(!this.fetch)throw Error("Got invalid fetch function");let e=e=>(this.flagsReady.resolve(),e),t=e=>{this.logger.error({errorMessage:e.message},"GettingFeatureFlagsFailed"),this.flagsReady.reject(e)},n=this.apiUrl.replace(/\/+$/,""),r={logger:this.logger};this.lastRevalidation=+new Date,this.fetch("".concat(n,"/feature-flags"),r).then(this.addRevalidationTime).then(this.overrideFlags).then(this.filterByProject).then(this.storeFlagsSync).then(e).catch(t)}async getFlags(){let e=void 0===this.flagsSync,t=new Date-this.lastRevalidation>this.cacheValidTime;if(e||t){if(!this.serveStaleWhileRevalidate)return this.loadFlagsFromAPISync();this.loadFlagsFromAPI()}if(e)try{await this.flagsReady.promise}catch(e){return this.logger.warn({human:"Can not get feature flags because feature flag API is unavailable. Proceeding without feature flags."},"FeatureFlagsAPIUnavailable"),[]}return[...this.flagsSync]}async isEnabled(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;0===this.lastRevalidation&&this.logger.info({flagKey:e,human:"isEnabled was called, but getFlags has not been called yet. There could be a problem."},"IsEnabledCalledBeforeInit");try{await this.flagsReady.promise}catch(t){return this.logger.warn({flagKey:e,human:'Can not get feature flag "'.concat(e,'" because feature flag API is unavailable. Disabling feature.')},"FeatureFlagsAPIUnavailable"),!1}if(void 0!==this.flagsSync){let n=this.flagsSync.find(t=>{let{key:n}=t;return n===e});return(0,r.isFeatureFlagEnabled)(n,t)}return!1}getFlagsSync(){if(!this.flagsSync)throw Error("Can not call getFlagsSync without initializing the cache first.");return this.flagsSync}isEnabledSync(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!this.flagsSync)throw Error("Can not call isEnabledSync without initializing the cache first.");if(void 0!==this.flagsSync){let n=this.flagsSync.find(t=>{let{key:n}=t;return n===e});return(0,r.isFeatureFlagEnabled)(n,t)}return!1}loadFlagsFromAPISync(){if(!this.fetch)throw Error("Got invalid fetch function");let e=this.apiUrl.replace(/\/+$/,""),t="".concat(e,"/feature-flags"),n={logger:this.logger};return new Promise(((e,r)=>{if(!this.fetch)return r("Fetch not defnied");this.lastRevalidation=+new Date,this.fetch(t,n).then(this.addRevalidationTime).then(this.overrideFlags).then(this.filterByProject).then(this.storeFlagsSync).then(t=>e(t)).catch(e=>r(e))}).bind(this))}constructor(e){this.lastRevalidation=0,this.flagsReady=(0,i.default)(),this.filterByProject=e=>(this.logger.info({flagsTotal:e.length},"FeatureFlagsReady"),e.filter(e=>{let{projectId:t}=e;return t===this.projectId})),this.addRevalidationTime=e=>e.map(e=>({...e,revalidationTime:this.lastRevalidation})),this.overrideFlags=e=>{let t=[...e];return this.overrides&&Object.keys(this.overrides).forEach(e=>{if(t=t.filter(t=>{let{key:n}=t;return n!==e}),this.overrides[e]){var n;t.push({key:e,uuid:e,projectId:null!=(n=this.projectId)?n:"default",enabled:!0,metadata:{createdAt:0,lastUpdatedAt:0}})}}),t},this.storeFlagsSync=e=>(this.flagsSync=e,e),e.logger?this.logger=e.logger:(console.warn("No logger provided. No logs will be shown."),this.logger=o.noopLogger),e.projectId&&e.apiUrl||this.logger.error({config:e},"FeatureFlagServiceMissingConfiguration"),e.fetch||this.logger.error({config:e},"FeatureFlagServiceMissingFetch"),this.projectId=e.projectId,this.fetch=e.fetch,this.apiUrl=e.apiUrl,this.overrides=e.overrides,this.serveStaleWhileRevalidate=void 0===e.serveStaleWhileRevalidate||e.serveStaleWhileRevalidate,this.cacheValidTime=e.cacheValidTime||a.DEFAULT_REVALIDATION_TIME,e.fetchFlagsOnInit&&this.initialize()}}t.FeatureFlagService=a,a.DEFAULT_REVALIDATION_TIME=6e5},78002:(e,t,n)=>{"use strict";n.d(t,{X:()=>i,s:()=>o});var r=n(13385);let i=(0,r.createContext)({isOnArticlePage:!1});function o(){let{isOnArticlePage:e}=(0,r.useContext)(i);return e}},78282:(e,t,n)=>{"use strict";let r,i,o,a;n.d(t,{H:()=>e_});var l,s=n(77269),c=n(68095),d=n(84364),u=n(5579),p=n(53844),m=n.n(p),g=n(49868),h=n(60395),f=n(38
1101),w=n.n(f),x=n(44112);if(u.oc){window.semaphore=window.semaphore||[],window.ketch=function(){window.semaphore.push(arguments)},window.HDN=window.HDN||{},window.HDN.dataLayer=window.HDN.dataLayer||{},window.HDN.dataLayer.privacy=window.HDN.dataLayer.privacy||{},window.HDN.dataLayer.privacy.ccpaDoNotSell=window.HDN.dataLayer.privacy.ccpaDoNotSell||!1;let[e,t]=window.location.hostname.split(".").reverse();window.HDN.dataLayer.privacy.rootDomainSlug=t,window.HDN.dataLayer.privacy.rootDomain=t+"."+e;let{hnpdns2:n,location_data:r}=(0,h.JT)(window.document.cookie);"1"===n&&(window.HDN.dataLayer.privacy.ccpaDoNotSell=!0),"1"!==n&&"0"!==n&&window.navigator.globalPrivacyControl&&(window.HDN.dataLayer.privacy.ccpaDoNotSell=!0),window.HDN.addGppIframeTest=function(){let e=document.createElement("iframe");e.src="https://www.newstimes.com/file/128/69/12869-gpp-iframe-test.html?gppVersion=1.1",e.name="gpp-iframe-test",e.height="100",e.width="100",document.body.appendChild(e)};let i=!1,o=!1;try{r&&JSON.parse(r).is_eu&&(o=!0);let e=new URL(window.location.href);if(e.search){let t=new URLSearchParams(e.search.slice(1));("gdpr"===t.get("ketch_jurisdiction")||t.get("is_eu"))&&(o=!0),"1"===t.get("ketch_disable_cached_stub")&&(i=!0)}}catch(e){}o||(l=i,window.__gpp_addFrame=function(e){if(!window.frames[e])if(document.body){var t=document.createElement("iframe");t.style.cssText="display:none",t.name=e,document.body.appendChild(t)}else window.setTimeout(window.__gpp_addFrame,10,e)},window.__gpp_stub=function(){var e=arguments;if(__gpp.queue=__gpp.queue||[],__gpp.events=__gpp.events||[],!e.length||1==e.length&&"queue"==e[0])return __gpp.queue;if(1==e.length&&"events"==e[0])return __gpp.events;var t=e[0],n=e.length>1?e[1]:null,r=e.length>2?e[2]:null;let i=localStorage.getItem(l?"_ketch_gpp_v1_XX":"_ketch_gpp_v1_"),o=null;if(i&&(o=JSON.parse(window.atob(i))),"ping"===t)n(o||{gppVersion:"1.1",cmpStatus:"stub",cmpDisplayStatus:"hidden",signalStatus:"not ready",sectionList:[],applicableSections:[],gppString:"",parsedSections:{}},!0);else if("addEventListener"===t){"number"!=typeof __gpp.lastId&&(__gpp.lastId=0),__gpp.lastId++;var a=__gpp.lastId;__gpp.events.push({id:a,callback:n,parameter:r}),n({eventName:"listenerRegistered",listenerId:a,data:!0,pingData:o||{gppVersion:"1.1",cmpStatus:"stub",cmpDisplayStatus:"hidden",signalStatus:"not ready",sectionList:[],applicableSections:[],gppString:"",parsedSections:{}}},!0)}else if("removeEventListener"===t){for(var s=!1,c=0;c<__gpp.events.length;c++)if(__gpp.events[c].id==r){__gpp.events.splice(c,1),s=!0;break}n({eventName:"listenerRemoved",listenerId:r,data:s,pingData:o||{gppVersion:"1.1",cmpStatus:"stub",cmpDisplayStatus:"hidden",signalStatus:"not ready",sectionList:[],applicableSections:[],gppString:"",parsedSections:{}}},!0)}else"hasSection"===t?n(!1,!0):"getSection"===t||"getField"===t?n(null,!0):__gpp.queue.push([].slice.apply(e))},window.__gpp_msghandler=function(e){var t="string"==typeof e.data;try{var n=t?JSON.parse(e.data):e.data}catch(e){n=null}if("object"==typeof n&&null!==n&&"__gppCall"in n){var r=n.__gppCall;window.__gpp(r.command,function(n,i){var o={__gppReturn:{returnValue:n,success:i,callId:r.callId}};e&&e.source&&e.source.postMessage&&e.source.postMessage(t?JSON.stringify(o):o,"*")},"parameter"in r?r.parameter:null,"version"in r?r.version:"1.1")}},"__gpp"in window&&"function"==typeof window.__gpp||(window.__gpp=window.__gpp_stub,window.addEventListener("message",window.__gpp_msghandler,!1),window.__gpp_addFrame("__gppLocator"))),o&&function(e){(()=>{let t="__tcfapiLocator",n=[],r=window,i,o,a=r;for(;a;){try{if(a.frames[t]){i=a;break}}catch(e){}if(a===r.top)break;a=a.parent}i||(function e(){let n=r.document,i=!!r.frames[t];if(!i)if(n.body){let e=n.createElement("iframe");e.style.cssText="display:none",e.name=t,n.body.appendChild(e)}else setTimeout(e,5);return!i}(),r.__tcfapi=function(){for(var t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];if(!r.length)return n;if("setGdprApplies"===r[0])r.length>3&&2===parseInt(String(r[1]),10)&&"boolean"==typeof r[3]&&(o=r[3],"function"==typeof r[2]&&r[2]("set",!0));else if("ping"===r[0]){let t=localStorage.getItem(e?"_ketch_tcf_ping_v1_XX":"_ketch_tcf_ping_v1_");t?"function"==typeof r[2]&&r[2](JSON.parse(window.atob(t))):"function"==typeof r[2]&&r[2]({gdprApplies:o,cmpLoaded:!1,cmpStatus:"stub"})}else if("addEventListener"===r[0]){let t=localStorage.getItem(e?"_ketch_tcf_tcdata_v1_XX":"_ketch_tcf_tcdata_v1_");t?"function"==typeof r[2]&&r[2](JSON.parse(window.atob(t)),!0):n.push(r)}else n.push(r)},r.addEventListener("message",function(e){let t="string"==typeof e.data,n={};if(t)try{n=JSON.parse(e.data)}catch(e){}else n=e.data;let r="object"==typeof n&&null!==n?n.__tcfapiCall:null;r&&window.__tcfapi(r.command,r.version,function(n,i){let o={__tcfapiReturn:{returnValue:n,success:i,callId:r.callId}};e&&e.source&&e.source.postMessage&&e.source.postMessage(t?JSON.stringify(o):o,"*")},r.parameter)},!1))})()}(i)}var b=n(41534),v=n(11070),y=n(40884),C=n(75727);u.oc&&(window.bcTrackData=function(e,t,n,r){let i={position:"unknown",variantId:"unknown",dialogueId:"unknown",data:{format:t,purpose:"bcTrackDataFallback",variant:r}};"view"===n?(c.B.emit(d.K.BLUECONIC_VIEW,i),c.B.emit(d.K.BLUECONIC_VIEW_DEFERRED,i)):"click"===n&&c.B.emit(d.K.BLUECONIC_CLICK,i)});var T=n(1184),_=n(9322);u.S$||(window.dataLayer=window.dataLayer||[],window.dataLayer.push({"gtm.start":new Date().getTime(),event:"gtm.js"}));var k=n(13385),S=n(9312);function E(e){let{children:t}=e,[r,i]=(0,k.useState)(null);return((0,k.useEffect)(()=>{let e=!0;(0,S.Ly)();let t=(0,S.ux)();return Promise.all([n.e(8144),n.e(2657)]).then(n.bind(n,42657)).then(t=>{(0,S.C$)(),e&&i(()=>t.Auth0Runtime)}).catch(e=>{(0,S.C$)(),x.A.error({human:"The Auth0 runtime chunk failed to load. Auth0 will be unavailable. This should never happen.",err:function(e){let t;try{let t=function e(t,n){if(!(t instanceof Error))return t;let r={name:t.name};for(let i of Object.getOwnPropertyNames(t)){let o=t[i];r[i]=o instanceof Error&&n<1?e(o,n+1):o}return r}(e,0);if(void 0!==JSON.stringify(t))return t}catch(e){}if(e instanceof Error)return{unserializable:!0,name:e.name,message:e.message,stack:e.stack};try{t=String(e)}catch(e){}return{unserializable:!0,type:typeof e,text:t}}(e)},"Auth0BoundaryLoadFailed"),(0,S.z6)("chunkFailed")}),()=>{e=!1,t()}},[]),r)?(0,s.jsx)(r,{children:t}):null}var I=n(87262),L=n(88936);let j=["oidc.hdn.user:https://realm.hearstnp.com/:hdn.js","oidc.hdn.user:https://realm-staging.hearstnp.com/:hdn.js"];function A(){var e;if(!(null==(e=window.treg)?void 0:e.realm))throw Error("Unable to get treg realm");return window.treg.realm}function N(){A().core.login()}function O(){return A().getLoggedInMenuItems()}function P(){A().core.logout()}function R(e){var t,n;return{id:null!=(t=null==e?void 0:e.realmId)?t:null==e?void 0:e.id,email:null==e?void 0:e.email,loggedInStatus:null!=(n=null==e?void 0:e.loggedInStatus)?n:"unknown",isEntitled:null==e?void 0:e.isEntitled,isSubscriber:null==e?void 0:e.isSubscriber,subscriptionPlan:null==e?void 0:e.subscriptionPlan,productAccessList:null==e?void 0:e.productAccessList,currentLoginMethod:null==e?void 0:e.currentLoginMethod}}if(u.oc){window.treg=window.treg||{},window.treg._loadAsync=!0;let[e,t]=window.location.hostname.split(".").reverse();window.treg.url_overide="realm.".concat(t,".noux.com"),window.treg.cmd=window.treg.cmd||[],window.treg.cmd.push(()=>{try{let e=window.treg,{events:t}=e.realm;t.register("treg.onSessionFound",()=>{c.B.emit(d.K.TREG_SESSION_FOUND,e.identity),c.B.emit(d.K.AUTH_SESSION_FOUND,{identity:{...R(e.identity),loggedInStatus:"loggedIn"},source:"treg"})}),t.register("treg.onSessionNotFound",()=>{c.B.emit(d.K.TREG_SESSION_NOT_FOUND,e.identity),c.B.emit(d.K.AUTH_SESSION_NOT_FOUND,{source:"treg"})})}catch(e){x.A.error(e,"TregRegisterEventsError"),c.B.emit(d.K.TREG_LOAD_
1ERROR,null),c.B.emit(d.K.AUTH_LOAD_ERROR,{reason:"treg-register-events-error"})}}),window.tregReady=function(e){e.id&&(document.createElement("img").src="https://s.hdnux.com/HNP/stats/castle_user?"+new URLSearchParams({url:window.location.href,fpcId:window.HDN.dataLayer.identity.firstPartyId,urlHash:window.HDN.dataLayer.visit.urlHash,hsId:window.HDN.dataLayer.visit.sessionId,realmId:e.id,isEntitled:e.isEntitled,subPlan:e.subscriptionPlan,currentLogin:e.currentLoginMethod,callPoint:"tregReady"}))}}let D={onError:(e,t)=>{console.error("[@hearst-newspapers/ads] ".concat(t),e)},onWarn:(e,t)=>{console.warn("[@hearst-newspapers/ads] ".concat(t),e)}};function U(e){var t,n;return{onError:null!=(t=null==e?void 0:e.onError)?t:D.onError,onWarn:null!=(n=null==e?void 0:e.onWarn)?n:D.onWarn}}let B={"'":"",'"':"","=":"","!":"","+":"-and-","#":"","*":"","~":"",";":"","^":"","(":"|",")":"|","<":"",">":"","[":"|","]":"|",",":"|","&":"-and-"};function M(e){let t=e=>{let t=e;for(let n of(t=(t=t.replace(" + ","-and-")).replace(" & ","-and-"),e)){let e=B[n];void 0!==e&&(t=t.replace(n,e))}return t};return Array.isArray(e)?e.map(t):t(e)}async function F(e){var t,n,r,i,o,a,l;let s=(t=new TextEncoder,t.encode(e)),c=await (null==(i=window)||null==(r=i.crypto)||null==(n=r.subtle)?void 0:n.digest("SHA-256",s));return null==(l=Array)||null==(a=l.from(new Uint8Array(c)))||null==(o=a.map(e=>{var t;return null==e||null==(t=e.toString(16))?void 0:t.padStart(2,"0")}))?void 0:o.join("")}function H(e){var t,n,r,i,o,a,l,s,c,d,u,p;let{isProd:m,pageMeta:g,dataLayer:h,viewport:f,hnpde:w,locationData:x,testPage:b,psegs:v,blueConicSessionId:y,hfid:C,parentIds:T,keywords:_,utmSource:k,abBucket:S}=e,{onError:E,onWarn:I}=U(e),L=window,j=g||{description:""};(null==(t=L.HDN)?void 0:t.dataLayer)||(I({global:"window.HDN.dataLayer"},"HtlDataLayerMissing"),L.HDN={...L.HDN||{},dataLayer:{}});let A=L.HDN.dataLayer,N=m?"no":"yes",O="/"===window.location.pathname?"yes":"no",P=null==(n=A.content)?void 0:n.iabTags,R=(null==h?void 0:h.sourceAuthorName)?[h.sourceAuthorName]:[];L.hnppermutive={web:{page:{type:"yes"===O?"home page":null==h?void 0:h.contentObjectType,article:{id:null==h?void 0:h.contentObjectId,title:null==h?void 0:h.contentTitle,description:null==j?void 0:j.description,authors:R,sections:null==h?void 0:h.contentSectionPath,publishedAt:(null==h?void 0:h.contentPubDate)?h.contentPubDate.replace(" ","T")+"Z":void 0,keywords:[...(null==h?void 0:h.contentKeyNlpLocation)||[],...(null==h?void 0:h.contentKeyNlpOrganization)||[],...(null==h?void 0:h.contentKeyNlpOther)||[]],nlp:{categories:null==h?void 0:h.contentKeyNlpCategories,person:null==h?void 0:h.contentKeyNlpPerson,location:null==h?void 0:h.contentKeyNlpLocation,organization:null==h?void 0:h.contentKeyNlpOrganization,event:null==h?void 0:h.contentKeyNlpEvent,workOfArt:null==h?void 0:h.contentKeyNlpWorkOfArt,consumerGood:null==h?void 0:h.contentKeyNlpConsumerGood,other:null==h?void 0:h.contentKeyNlpOther,unknown:null==h?void 0:h.contentKeyNlpUnknown}},user:{auth:{access:null!=(l=null==(r=A.identity)?void 0:r.isEntitled)&&l,loginStatus:null!=(s=null==(i=A.identity)?void 0:i.isLoggedIn)&&s,state:null!=(c=null==(o=A.identity)?void 0:o.loggedInStatus)?c:"",subscription:null!=(d=null==(a=A.identity)?void 0:a.isSubscriber)&&d}}}}},A.identity=A.identity||{};let D=A.identity;D.blueConicProfileId=D.blueConicProfileId||y||"",D.blueConicProfileIdHashed="",D.blueConicProfileId&&F(D.blueConicProfileId).then(e=>{D.blueConicProfileIdHashed=e}).catch(e=>{D.blueConicProfileIdHashed="",E(e,"HtlBlueConicProfileHashError")}),L.hnpGetPrebidPPID=function(){var e,t,n,r;let[i,o]=null==(r=window)||null==(n=r.location)||null==(t=n.hostname)||null==(e=t.split("."))?void 0:e.reverse();return[{source:"".concat(o,".").concat(i),uids:[{id:C||void 0,atype:1,ext:{stype:"ppuid"}}]}]};let B=function(e){let t,n,r,{pageMeta:i,parentIds:o,keywords:a}=e;(t=(null==i?void 0:i.sections)?function(e){var t,n,r,i;let o=null==e||null==(t=e.indexOf)?void 0:t.call(e,",");return o&&-1!==o?[null==e||null==(n=e.slice)?void 0:n.call(e,0,o),null==e||null==(i=e.slice)||null==(r=i.call(e,o+1))?void 0:r.trim()]:e}(i.sections):(null==i?void 0:i.section)?i.section:void 0)&&(n=Array.isArray(t)?M(t[0]):M(t)),t&&Array.isArray(t)&&(r=M(t[1]));let l=(e=>{let t=null==e?void 0:e.newsKeywords;return t?t.split(", ").slice(0,10):[]})(i);return{ortb2:{site:{cattax:7,cat:o||void 0,sectioncat:o||void 0,pagecat:o||void 0,keywords:(null==a?void 0:a.join(","))||void 0,ext:{data:{section:n,subsection:r,article:l.length>0?M(l):void 0}}}}}}({pageMeta:g,parentIds:T,keywords:_}),H=L.hnpbid=L.hnpbid||{};H.cmd=H.cmd||[],H.amazon=H.amazon||{initConfig:{}},H.amazon.initConfig.signals=B;let z=L.pbjs=L.pbjs||{};z.cmd=z.cmd||[],u=z.cmd,u.push(()=>{z.setConfig(B)});let G=null==h?void 0:h.contentKeyNlpCategories;p=H.cmd,p.push(function(){var e,t;H.layout("universal"),H.setTargeting("is_testing",N),H.setTargeting("is_home",O),P&&H.setTargeting("prsly_iab",P&&Array.isArray(P)&&null!==P?null==P?void 0:P.map(e=>e&&"string"!=typeof e?e.uniqueId:"").join(" "):""),H.setTargeting("page_type2","yes"===O?"home page":null==h?void 0:h.contentObjectType),H.setTargeting("permutive",v||[]),H.setTargeting("PageUrl","".concat(window.location.host).concat(window.location.pathname)),H.pubads().setPublisherProvidedId(C||""),f&&H.setTargeting("viewport",f),H.setTargeting("hpx_ipc",(null==w?void 0:w.ipc_id)||""),H.setTargeting("hpx_fid",(null==w?void 0:w.f_id)||""),H.setTargeting("hpx_kb",(null==w?void 0:w.f_kb)||""),(null==(e=A.privacy)?void 0:e.ccpaDoNotSell)||!x||(H.setTargeting("f_metro",x.metro_code),H.setTargeting("f_zip",x.postal_code),H.setTargeting("f_state",x.region),H.setTargeting("f_city",x.city)),b&&H.setTargeting("testpage",b),H.setTargeting("nlp",G?M(G):""),H.setTargeting("utm_source",k||""),S&&H.setTargeting("ab_bucket",S),H.setTargeting("is_premium",(null==h?void 0:h.paywallPremiumStatus)==="isPremium"),H.setTargeting("referrer","u">typeof localStorage&&null!=(t=localStorage.getItem("hnp_visit_session_referrer"))?t:void 0),H.setTargeting("nlp_entities",M([...(null==h?void 0:h.contentKeyNlpPerson)||"",...(null==h?void 0:h.contentKeyNlpLocation)||"",...(null==h?void 0:h.contentKeyNlpOrganization)||"",...(null==h?void 0:h.contentKeyNlpEvent)||"",...(null==h?void 0:h.contentKeyNlpWorkOfArt)||"",...(null==h?void 0:h.contentKeyNlpConsumerGood)||"",...(null==h?void 0:h.contentKeyNlpOther)||""])),(null==h?void 0:h.contentSectionPath)&&h.contentSectionPath.forEach((e,t)=>{H.setTargeting("section".concat(t+1),e?M(e):"")})})}async function z(e){var t,n,r,i,o,a,l;let s=window;if(typeof(null==(t=s.hnpbid)?void 0:t.newPage)>"u")return!1;let c=s.hnpbid,{abBucket:d,...u}=e;c.clearTargeting(),H(u),c.setTargeting("urlhash",null==(i=s.HDN)||null==(r=i.dataLayer)||null==(n=r.visit)?void 0:n.urlHash);let p=null==(l=s.HDN)||null==(a=l.dataLayer)||null==(o=a.abtest)?void 0:o.experimentId;return p&&p.length>0&&c.setTargeting("ab",p.join(",")),d&&c.setTargeting("ab_bucket",d),await c.newPage(),c.forceRefresh(),!0}function G(e,t){let n,r,i,o,a,{onError:l,onWarn:s}
1=U(t),{hnpde:c,location_data:d,BCSessionID:u,_HFID:p,ab_bucket:m}=(e||"").split("; ").map(e=>e.split(/=(.+)/)).reduce((e,t)=>{let[n,r]=t;return e[n]=r,e},{});if(c&&""!==c)try{n=JSON.parse(function(e){let t=e.replace(/-/g,"+").replace(/_/g,"/").replace(/[^A-Za-z0-9+/]/g,"");t.length%4==1&&(t=t.slice(0,-1));let n=atob(t=t.padEnd(t.length+(4-t.length%4)%4,"=")),r=Uint8Array.from(n,e=>e.charCodeAt(0));return new TextDecoder().decode(r)}(c))}catch(e){n=void 0,l(e,"HtlHnpdeParseError")}else c&&""!==c||s({cookie:"hnpde",usage:"HTL KVP"},"HtlCookieMissing");if(d&&""!==d)try{r=JSON.parse(d)}catch(e){r=void 0,l(e,"HtlLocationDataParseError")}else d&&""!==d||s({cookie:"location_data",usage:"HTL KVP"},"HtlCookieMissing");if(u&&""!==u&&(i=u),p&&""!==p?o=p.replace("hfid:","HFID"):p&&""!==p||s({cookie:"_HFID",usage:"PPID"},"HtlCookieMissing"),m){let e=parseInt(m,10);!isNaN(e)&&e>=1&&e<=100&&(a=String(e))}return{HNPDEParsed:n,locationDataParsed:r,BCSessionIDParsed:i,HFIDTransformed:o,abBucketValue:a}}let K={xs:481,sm:768,lg:1048,xl:1320},V={onError:(e,t)=>x.A.error(e,t),onWarn:(e,t)=>x.A.warn(e,t)};function W(e){var t,n,r,i,o;return(null==(i=window)||null==(r=i.HDN)||null==(n=r.dataLayer)||null==(t=n.error)?void 0:t.code)?(0,g.uY)(e,window.HDN.dataLayer.error.code):(null==e||null==(o=e.page)?void 0:o.hdnDataLayer)||(0,g.uY)(e)}var q=n(36553);let Y=e=>{var t;return"rev-content-".concat(null==e||null==(t=e.__data)?void 0:t.widget.id)},J=e=>{var t,n,r,i,o;if(e&&(null==e||null==(n=e.__element)||null==(t=n.attributes)?void 0:t.id)&&window&&"function"==typeof(null==(r=window)?void 0:r.renderRCWidget)){let t=document.getElementById(null==e||null==(o=e.__element)||null==(i=o.attributes)?void 0:i.id);t&&window.renderRCWidget(t)}};var Z=n(66142);let X=new Map;function Q(e,t){c.B.emit(d.K.EXCO_STICKY_STATE_CHANGE,{playerKey:e,sticky:t})}function $(e){var t;e&&(null==(t=X.get(e))||t(),X.delete(e),Q(e,!1))}function ee(e,t){var n,r;$(e);let i=null==t||null==(n=t.EVENTS)?void 0:n.PLAYER_STICKY,o=null==t||null==(r=t.EVENTS)?void 0:r.PLAYER_STATIC;if(!(null==t?void 0:t.on)||!i||!o)return;let a=()=>Q(e,!0),l=()=>Q(e,!1);t.on(i,a),t.on(o,l),X.set(e,()=>{var e,n;null==(e=t.off)||e.call(t,i,a),null==(n=t.off)||n.call(t,o,l)})}let et=(e,t,n)=>{let{__src:r,__data:i}=e||{};return r?r+("article"===t?null==i?void 0:i.articleId:null==i?void 0:i.channelId):""},en=()=>({programmatic:!0}),er=(e,t)=>{let{__data:n}=e||{};return"article"===t?null==n?void 0:n.articleId:null==n?void 0:n.channelId},ei=(e,t)=>{var n,r,i,o;(null==(n=window)?void 0:n.ExCoPlayer)&&(null==(r=window.ExCoPlayer)?void 0:r.playerKey)&&($(window.ExCoPlayer.playerKey),window.ExCoPlayer.connect(window.ExCoPlayer.playerKey).destroy()),(null==(i=window)?void 0:i.ExCoPlayer)&&(null==(o=window.ExCoPlayer)?void 0:o.pageType)&&(window.ExCoPlayer.pageType=e)},eo=(e,t)=>{var n,r,i;return void 0===(null==(n=window)?void 0:n.ExCoPlayer)||(null==(i=window)||null==(r=i.ExCoPlayer)?void 0:r.pageType)===e},ea=(0,q.$1)("exco");var el=n(32344);let es=["ResizeObserver loop completed with undelivered notifications","ResizeObserver loop limit exceeded","frameElement","Script error","security policy of the user agent","Blocked a restricted frame","NS_ERROR_NOT_INITIALIZED","Object Not Found Matching Id","_AutofillCallbackHandler"],ec={sfgate:"7sYpqFDFzMOizvBGAbH0mnV5ou2zGIwMyuLT",mysa:"RxNQNa8lh15QMVrsqNPHWOZ3IkyfiEhW0Fhw",chron:"DJwPUw32alqQ4cGJBGbmKscdzm0oZN50nMYN",premiumctpost:"zIc0SSVImcMbGyu4rED4EX0zQBDXlCoCVrwJ",premiumchron:"sKvHIiiWXfJdd1m7k8kf5kXez1SF91YDO5RH",statesman:"qgLWzjZpr2mEMy6CDWJIE7hYUkUOOG8U64qz",premiummysa:"UWPghtFhZguw3o4EgaInJNuaQahPRq7RPZtZ",premiumsfgate:"jITCn0UVwwm97QJE7mua9eBW8V3sTrkabjYG",timesunion:"NWRfGvZDiPneW4x4UG7hPEXbGtatOlcgsrab",dallasnews:"s9NUzsYxG3WUWH2gQtxIeH2qO9ijFVuew7WP"},ed={sfgate:"8U7ggRZKskRPcRBVKRncERvNAveSC2FKvWdt",mysa:"v6tU2CPOv8wdJGXxZO5S9zdyWVY1lidqIBTU",chron:"TreOu4CExtuai19moICnFFndlFRoF0kWlIyf",premiumctpost:"4FhCSJoQbxTA0LLM25trqkqGe2albB5wIIo5",premiumchron:"RRK9DG0eX1HihyPqrNaYM7rHgNEjuegtfb5V",statesman:"We7sqOIaK4ENSqiPx1jOIPGV3KbtL49MMsuI",premiummysa:"MWQcxeUsia0SuQuAWprF5mfmFWZM34joxB6A",premiumsfgate:"oNVlDBvFVYih9TmwVxWpv5ykfwwSnPq1xqSt",timesunion:"t78ASSAnlRPoZSVbXMt1cbJ7w5cK4ckEK60a",dallasnews:"ntleKeYhDgeMMbOz3RJXW8VVzYWoivkzYgMr"};function eu(){return window.richie}
1class ep extends Error{}function em(e,t){let n=e[t];if("function"!=typeof n)return null;try{var r;return null!=(r=n.call(e))?r:null}catch(e){throw x.A.error({error:e,method:t},"RichieBrowserApiTokenCallFailed"),new ep("richie.".concat(t," threw"))}}function eg(e){let t=eu();if(!t)throw new ep("richie bridge absent");let n=em(t,"getAccessToken");if(n){let r=(0,L.LQ)(n),i=em(t,"getIdToken");if(i||x.A.warn({site:e,tenant:r},"RichieAuth0IdTokenMissing"),r)return{source:"auth0",accessToken:n,idToken:i,tenant:r};x.A.warn({site:e,tenant:r},"RichieAuth0TokenUnroutable")}let r=em(t,"getRealmToken");if(r)return{source:"treg",accessToken:r,site:e,transport:"richie"};if(n)throw new ep("auth0 token carries no derivable tenant");return x.A.warn({site:e},"RichieNoTokenFound"),null}function eh(){var e,t,n;let{pageProps:r}=(0,g.Sz)(),{updateUserState:i}=(0,g.ur)(),o=(null!=(n=null==r||null==(e=r.siteConfig)?void 0:e.productionDomain)?n:"").replace(/^www\./,""),a=(null==r||null==(t=r.siteConfig)?void 0:t.authProvider)==="auth0"?"auth0":"treg";return(0,k.useEffect)(()=>{(0,L.K1)({signIn:()=>{let e=eu();if("function"!=typeof(null==e?void 0:e.openSignIn))return void x.A.error({site:o},"RichieAuthOpenSignInUnavailable");e.openSignIn()},signOut:()=>{x.A.debug("RichieAuthSignOutNotSupported")},getCredential:async()=>eg(o)})},[o]),(0,k.useEffect)(()=>{let e;try{e=eg(o)}catch(e){x.A.warn({site:o,error:e,authProvider:a},"RichieBrowserApiUnreadable"),c.B.emit(d.K.AUTH_LOAD_ERROR,{reason:"richie-api-unreadable"});return}i({loggedInStatus:e?"loggedIn":"loggedOut",safeToFirePageViewState:!0,authSafeToFirePageView:!0,authLoadState:"normal"}),e?c.B.emit(d.K.AUTH_SESSION_FOUND,{identity:{loggedInStatus:"loggedIn"},source:e.source}):c.B.emit(d.K.AUTH_SESSION_NOT_FOUND,{source:a})},[o,a,i]),null}var ef=n(22128),ew=n.n(ef);let ex=(0,q.$1)("evvnt"),eb={Snippet:ew()(()=>n.e(1264).then(n.bind(n,21264)),{loadableGenerated:{webpack:()=>[21264]}}),isActiveByProps:function(){return!!ex},loadInitialize:async()=>{}},ev={Snippet:ew()(()=>n.e(8167).then(n.bind(n,48167)),{loadableGenerated:{webpack:()=>[48167]}}),isActiveByProps:function(){return!1},loadInitialize:async()=>{}},ey=(0,q.$1)("puzzlepalace"),eC={Snippet:ew()(()=>n.e(2925).then(n.bind(n,82925)),{loadableGenerated:{webpack:()=>[82925]}}),isActiveByProps:function(){return!!ey},loadInitialize:async()=>{}},eT={Snippet:ew()(()=>n.e(980).then(n.bind(n,10980)),{loadableGenerated:{webpack:()=>[10980]}}),isActiveByProps:()=>!0,loadInitialize:async()=>{try{let e=localStorage.getItem("juice_emh"),t="https://fid.agkn.com/f?apiKey=2831332485";e&&(t+="&e="+e);let n=await fetch(t,{method:"GET",headers:{Accept:"application/json"},credentials:"include"});if(!n.ok)throw Error("Request failed: ".concat(n.status," ").concat(n.statusText));let r=await n.json();window.optable=window.optable||{cmd:[]},window.optable.cmd.push(()=>window.optable.resolveTU(r)),c.B.emit(d.K.TRANSUNION_LOADED,r)}catch(e){x.A.error(e,"OptableTransUnionIdFetchError"),c.B.emit(d.K.TRANSUNION_LOAD_ERROR,null)}}},e_={ketch:{Snippet:function(){var e;let{pageProps:t}=(0,g.Sz)(),[n,r]=((null==t||null==(e=t.siteConfig)?void 0:e.domain)||"").split(".").reverse(),i=(null==t?void 0:t.pageType)==="channel"&&["yourdata","agentdata"].includes(null==t?void 0:t.identifier);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m(),{src:"https://global.ketchcdn.com/web/v3/config/hearst/".concat(r,"/boot.js"),id:"ketchScriptTag",strategy:"afterInteractive",onLoad:()=>{c.B.emit(d.K.KETCH_LOADED,null)},onError:e=>{x.A.error({e},"KetchLoadError")}}),(0,s.jsx)(w(),{children:(0,s.jsx)("style",{children:"\n            #lanyard_root * {\n              font-family: var(--fontG), var(--fallbackFontG) !important;\n            }\n            ".concat(i?'\n            #lanyard_root #ketch-preferences button[aria-label="Exit"] {\n              display: none;\n            }\n            ':"","\n          ")})})]})},initialize:function(){if(u.S$)return()=>{};let e=c.B.on(d.K.KETCH_LOADED,(e,t)=>{window.ketch("on","geoip",e=>{window.HDN.dataLayer.privacy.ketchGeo=e}),window.ketch("on","jurisdiction",e=>{window.HDN.dataLayer.privacy.ketchJurisdiction=e,c.B.emit(d.K.KETCH_JURISDICTION,e)}),window.ketch("on","consent",e=>{window.HDN.dataLayer.privacy.ketchConsent=e,c.B.emit(d.K.KETCH_CONSENT,e)}),window.ketch("on","identities",e=>{window.HDN.dataLayer.privacy.ketchIdentities=e}),"channel"===t.pageContext.pageProps.pageType&&["yourdata","agentdata"].includes(t.pageContext.pageProps.identifier)&&window.ketch("showPreferences",{tab:"rightsTab",showOverviewTab:!1})}),t=c.B.on(d.K.KETCH_CONSENT,(e,t)=>{var n,r;let[i,o]=window.location.hostname.split(".").reverse(),a="".concat(o,".").concat(i),{hnpdns:l,hnpdns2:s,ketchConsentSetFromHnp:c,OptanonConsent:d,ketchConsentSetFromOt:u}=(0,h.JT)(window.document.cookie);if((null==e||null==(n=e.purposes)?void 0:n.targeted_advertising)===!0){if(window.HDN.dataLayer.privacy.ccpaD
1oNotSell=!1,"0"!==s&&(document.cookie="hnpdns2=0; max-age=31536000; domain=.".concat(a,"; path=/; Secure; SameSite=Lax")),l&&!c)try{JSON.parse(decodeURIComponent(l)).dns&&(window.ketch("setConsent",{purposes:{targeted_advertising:!1}}),document.cookie="ketchConsentSetFromHnp=1; max-age=31536000; domain=.".concat(a,"; path=/; Secure; SameSite=Lax"))}catch(e){x.A.error(e,"KetchHnpdnsError")}if("statesman"===window.HDN.dataLayer.privacy.rootDomainSlug&&d){window.HDN.dataLayer.privacy.otConsentedCategories=[];try{let e=new URLSearchParams(d).get("groups");e&&e.split(",").forEach(e=>{let[t,n]=e.split(":");"1"===n&&window.HDN.dataLayer.privacy.otConsentedCategories.push(t)})}catch(e){x.A.error(e,"KetchOptanonConsentError")}u||!(window.HDN.dataLayer.privacy.otConsentedCategories.length>0)||window.HDN.dataLayer.privacy.otConsentedCategories.includes("4")||window.HDN.dataLayer.privacy.otConsentedCategories.includes("5")||window.HDN.dataLayer.privacy.otConsentedCategories.some(e=>e.includes("V"))||(window.ketch("setConsent",{purposes:{targeted_advertising:!1}}),document.cookie="ketchConsentSetFromOt=1; max-age=31536000; domain=.".concat(a,"; path=/; Secure; SameSite=Lax"))}}else(null==e||null==(r=e.purposes)?void 0:r.targeted_advertising)===!1&&(window.HDN.dataLayer.privacy.ccpaDoNotSell=!0,"1"!==s&&(document.cookie="hnpdns2=1; max-age=31536000; domain=.".concat(a,"; path=/; Secure; SameSite=Lax")))}),n=c.B.on(d.K.KETCH_MYDATA_CLICK,(e,t)=>{window.ketch("showPreferences",{tab:"consentsTab",showOverviewTab:!1})});return()=>{c.B.off(d.K.KETCH_LOADED,e),c.B.off(d.K.KETCH_CONSENT,t),c.B.off(d.K.KETCH_MYDATA_CLICK,n)}},isActiveByProps:function(e){return!0}},blueconic:{Snippet:function(){var e,t,n,r,i,o,a,l,u;let{pageProps:p}=(0,g.Sz)(),{query:h}=(0,v.useRouter)(),f=(0,y.useFeatureFlag)("marketingV2"),w=null==p||null==(i=p.page)||null==(r=i.globalContext)||null==(n=r.enabledThirdParties)||null==(t=n.blueconic)||null==(e=t.config)?void 0:e.blueconicUrl,T=null==p||null==(u=p.page)||null==(l=u.globalContext)||null==(a=l.enabledThirdParties)||null==(o=a.blueconic)?void 0:o.siteAwareJson;return w?(0,s.jsx)(m(),{src:w,id:"bc-script-id",strategy:"afterInteractive",onLoad:()=>{var e,t;let n=()=>{if(h.bc_purpose&&h.bc_format&&h.bc_variant){var e;null==(e=window.blueConicClient)||e.event.publish("propertiesDialogue",{position:void 0,data:{purpose:h.bc_purpose,format:h.bc_format,variant:h.bc_variant},variantId:"00000000-0000-0000-0000-000000000000",dialogueId:"00000000-0000-0000-0000-000000000000"})}};if(c.B.emit(d.K.BLUECONIC_LOADED,null),null==(e=window.blueConicClient)||e.event.subscribe("blueconic_profile_ready",{},function(){var e;window.HDN.dataLayer.identity.blueConicProfileId=(null==(e=window.blueConicClient)?void 0:e.profile.getProfile().getId())||"",c.B.emit(d.K.BLUECONIC_PROFILE_LOADED,null)}),f){try{C.fD.onBlueconicLoaded(T),n()}catch(e){x.A.error(e,"MarketingBlueconicLoadedError")}return}null==(t=window.blueConicClient)||t.event.subscribe("propertiesDialogue",this,function(e,t){(0,b.o)(t,T)&&c.B.emit(d.K.BLUECONIC_BRAIN,t)}),n()},onError:e=>{c.B.emit(d.K.BLUECONIC_LOAD_ERROR,null)}}):null},initialize:function(){if(u.S$)return()=>{};let e=c.B.on(d.K.BLUECONIC_PROFILE_LOADED,(e,t)=>{let{userContext:n}=t;x.A.debug("BlueconicLoaded"),n.updateUserState({blueconicSafeToFirePageView:!0,blueconicLoadState:"normal"})}),t=c.B.on(d.K.BLUECONIC_LOAD_ERROR,(e,t)=>{let{userContext:n}=t;x.A.debug("BlueconicLoadError"),n.updateUserState({blueconicSafeToFirePageView:!0,blueconicLoadState:"error"})});return()=>{c.B.off(d.K.BLUECONIC_LOADED,e),c.B.off(d.K.BLUECONIC_LOAD_ERROR,t)}},isActiveByProps:function(e){var t,n,r,i;return!!(null==(i=e.page)||null==(r=i.globalContext)||null==(n=r.enabledThirdParties)||null==(t=n.blueconic)?void 0:t.active)}},marfeelab:{Snippet:function(){var e,t,n,r,i;let{pageProps:o}=(0,g.Sz)(),a=null==o||null==(t=o.page)||null==(e=t.meta)?void 0:e.canonicalUrl,l=(null==o||null==(r=o.page)||null==(n=r.meta)?void 0:n.siteDomain)||"",c=null==(i=T.i5[l])?void 0:i.marfeelAccountId;if(!a||!c)return null;let d="https://marfeelexperimentsexperienceengine.mrf.io/experimentsexperience/render",u="siteId=".concat(c,"&url=").concat(encodeURIComponent(a),"&experimentType=HeadlineAB&lang=en");return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m(),{src:"".concat(d,"?").concat(u,"&version=esnext"),type:"module",strategy:"afterInteractive"}),(0,s.jsx)(m(),{src:"".concat(d,"?").concat(u,"&version=legacy"),noModule:!0,strategy:"afterInteractive"})]})},initialize:function(){},isActiveByProps:function(e){var t,n,r,i,o;if("channel"!==e.pageType||!(null==e||null==(n=e.page)||null==(t=n.meta)?void 0:t.canonicalUrl))return!1;let a=(null==e||null==(i=e.page)||null==(r=i.meta)?void 0:r.siteDomain)||"";return!!(null==(o=T.i5[a])?void 0:o.marfeelAccountId)}},gtm:{Snippet:function(){var e,t,n;let r=(0,g.Sz)(),i=(null==r||null==(t=r.pageProps)||null==(e=t.additionalContext)?void 0:e.gtmVersion)||"gtm",o=null!=(n=({gtm:"https://www.googletagmanager.com/gtm.js?id=GTM-M34WSG8",gtmNonCastle:"https://www.googletagmanager.com/gtm.js?id=GTM-K2VJ9XV",gtmLocal:"/hdn/dynamic/gtm-2023-03-24.js"})[["gtm","gtmNonCastle","gtmLocal"].includes(i.toString())?i.toString():"gtm"])?n:"";return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(m(),{src:o,id:"gtmScriptId",strategy:"afterInteractive",onError:e=>{c.B.emit(d.K.GTM_LOAD_ERROR,null)}})})},initialize:function(){if(u.S$)return()=>{};window.HDN.gtmModes=window.HDN.gtmModes||{};let e=c.B.on(d.K.GTM_LOAD_ERROR,()=>{x.A.error("GTMLoadError")});function t(e){let t=window.HDN.dataLayer,n=t.content.pubDateDate,r=t.content.pubDateTimestamp,i=t.content.lastModifiedDate.split(" ")[0],o=t.content.lastModifiedDateTimestamp;return"article"===t.content.objectType&&(n=t.content.firstPublishedOnline?t.content.firstPublishedOnline.split(" ")[0]:null,r=t.content.firstPublishedOnlineTimestamp?t.content.firstPublishedOnlineTimestamp:null,i=t.content.lastPublishedDisplayed?t.content.lastPublishedDisplayed.split(" ")[0]:null,o=t.content.lastPublishedDisplayedTimestamp?t.content.lastPublishedDisplayedTimestamp:null),{page_location:window.location.href,page_title:window.document.title,page_referrer:t.visit.trueReferrer,content_group1:t.content.siteSectionLevel1,content_group2:t.content.siteSectionLevel2,content_type:t.content.objectType,content_subtype:t.content.subtype,content_id:t.content.objectId.toString(),content_title:t.content.title,content_author:t.source.authorName,paymeter_policy:t.paywall.policy,content_publication_date:n,content_publication_timestamp:r,content_updated_date:i,content_updated_timestamp:o,content_word_count:t.content.wordCount,design_template:t.content.designTemplate,design_template_subtype:t.content.displayTemplate,video_platform:t.content.videoPlatform,ad_monetization_partner:t.thirdParties.adPartners.join(","),follow_topic:t.content.followTo
1pic,platform:t.site.sitePlatform,deployment_id:t.environment.deploymentId,experiment_group:t.abtest.experimentId.length>0?t.abtest.experimentId.join(","):"",url_hash:t.visit.urlHash}}function n(){var e;let t=window.HDN.dataLayer,n={do_not_sell:(null==t||null==(e=t.privacy)?void 0:e.ccpaDoNotSell)||!1};return t.identity.firstPartyId&&(n.first_party_cookie_id=t.identity.firstPartyId),t.identity.blueConicProfileId&&(n.blueconic_id=t.identity.blueConicProfileId),t.identity.sailThruId&&(n.sailthru_id=t.identity.sailThruId),t.identity.realmId&&(n.realm_id=t.identity.realmId),null!==t.identity.isEntitled&&(n.is_entitled=t.identity.isEntitled),n}function r(e){return{gtmSet:function(e){var t,n,r,i;let o=null==(r=window)||null==(n=r.HDN)||null==(t=n.gtmModes)?void 0:t.gtmSet;if(void 0!==o)return o;let a=null==e||null==(i=e.additionalContext)?void 0:i.gtmSet,l=!0;return"0"===a?l=!1:"1"===a&&(l=!0),window.HDN.gtmModes.gtmSet=l,l}(e),gtmConfig:function(e){var t,n,r,i,o,a;let l=null==(r=window)||null==(n=r.HDN)||null==(t=n.gtmModes)?void 0:t.gtmConfig,s=null==(o=window)||null==(i=o.location)?void 0:i.href;if(void 0!==l)return l;if(s.includes("fromRichie=1"))return!1;let c=null==e||null==(a=e.additionalContext)?void 0:a.gtmConfig,d=!0;return"0"===c?d=!1:"1"===c&&(d=!0),window.HDN.gtmModes.gtmConfig=d,d}(e),gtmExplicitConfigParams:function(e){var t,n,r,i;let o=null==(r=window)||null==(n=r.HDN)||null==(t=n.gtmModes)?void 0:t.gtmExplicitConfigParams;if(void 0!==o)return o;let a=null==e||null==(i=e.additionalContext)?void 0:i.gtmExplicitConfigParams,l=!1;return"0"===a?l=!1:"1"===a&&(l=!0),window.HDN.gtmModes.gtmExplicitConfigParams=l,l}(e),gtmExplicitEventParams:function(e){var t,n,r,i;let o=null==(r=window)||null==(n=r.HDN)||null==(t=n.gtmModes)?void 0:t.gtmExplicitEventParams;if(void 0!==o)return o;let a=null==e||null==(i=e.additionalContext)?void 0:i.gtmExplicitEventParams,l="pv";return"all"===a?l="all":"pv"===a?l="pv":"none"===a&&(l="none"),window.HDN.gtmModes.gtmExplicitEventParams=l,l}(e)}}let i=c.B.on(d.K.PAGE_VIEW_FULL,(e,i)=>{let o=window.HDN.dataLayer,a=t(i);try{document.createElement("img").src="https://s.hdnux.com/HNP/stats/page_view?"+new URLSearchParams({url:window.location.href,fpcId:window.HDN.dataLayer.identity.firstPartyId,urlHash:window.HDN.dataLayer.visit.urlHash,hsId:window.HDN.dataLayer.visit.sessionId})}catch(e){x.A.error(e,"GtmDataLayerPushError")}if(o.site.ga4TrackerId){var l;let{gtmExplicitEventParams:e}=r(i.pageContext.pageProps),t=["all","pv"].includes(e)?a:{};if(window.dataLayer.push({event:"hnp_page_view",...t,user_properties:n()}),window.dataLayer.push({event:"hnp_do_not_sell",do_not_sell_event_scoped:(null==o||null==(l=o.privacy)?void 0:l.ccpaDoNotSell)||!1,url_hash:o.visit.urlHash,source_system:"cookie",user_properties:n()}),o.identity.firstPartyId&&window.dataLayer.push({event:"hnp_first_party_cookie_id_found",first_party_cookie_id_event_scoped:o.identity.firstPartyId,url_hash:o.visit.urlHash,source_system:"cookie",user_properties:n()}),o.identity.sailThruId&&window.dataLayer.push({event:"hnp_sailthru_id_found",sailthru_id_event_scoped:o.identity.sailThruId,url_hash:o.visit.urlHash,source_system:"cookie",user_properties:n()}),o.paywall.sailthruBypass){window.dataLayer.push({event:"hnp_realm_id_found",realm_id_event_scoped:o.identity.realmId,url_hash:o.visit.urlHash,source_system:"sailthru",user_properties:n()});try{document.createElement("img").src="https://s.hdnux.com/HNP/stats/castle_user?"+new URLSearchParams({url:window.location.href,fpcId:window.HDN.dataLayer.identity.firstPartyId,urlHash:window.HDN.dataLayer.visit.urlHash,hsId:window.HDN.dataLayer.visit.sessionId,realmId:window.HDN.dataLayer.identity.realmId,isEntitled:"true",subPlan:"",currentLogin:"",callPoint:"sailthruBypass"})}catch(e){x.A.error(e,"GtmEntitlementPushError")}o.identity.isEntitled=!0,window.dataLayer.push({event:"hnp_entitlement_status_detected",is_entitled_event_scoped:o.identity.isEntitled,url_hash:o.visit.urlHash,source_system:"sailthru",user_properties:n()})}o.identity.blueConicProfileId&&(o.identity.blueconic_id_found_sent=!0,i.userContext.updateUserState({blueconicSafeToFirePageView:!0}),window.dataLayer.push({event:"hnp_blueconic_id_found",blueconic_id_event_scoped:o.identity.blueConicProfileId,url_hash:o.visit.urlHash,source_system:"cookie",user_properties:n()}))}}),o=c.B.on(d.K.PAGE_VIEW_SPA,(e,i)=>{let o=t(i);try{document.createElement("img").src="https://s.hdnux.com/HNP/stats/page_view?"+new URLSearchParams({url:window.location.href,fpcId:window.HDN.dataLayer.identity.firstPartyId,urlHash:window.HDN.dataLayer.visit.urlHash,hsId:window.HDN.dataLayer.visit.sessionId})}catch(e){x.A.error(e,"GtmDataLayerPushError")}
1let{gtmExplicitEventParams:a}=r(i.pageContext.pageProps),l=["all","pv"].includes(a)?o:{};window.dataLayer.push({event:"hnp_page_view",...l,is_virtual:!0,user_properties:n()})}),a=c.B.on(d.K.ICON_SUBNAV_CLICKED,(e,t)=>{let{element_text:r}=e;window.dataLayer.push({event:"hnp_click",element_name:"Icon Sub-Navigation",element_content:"Icon",element_text:r,source_system:"castle",url_hash:window.HDN.dataLayer.visit.urlHash,user_properties:n()})}),l=c.B.on(d.K.E_EDITION_BUTTON_CLICKED,(e,t)=>{let{element_name:r,element_content:i,element_variant:o,element_text:a,source_system:l}=e;window.dataLayer.push({event:"hnp_click",element_name:r,element_content:i,element_variant:o,element_text:a,source_system:l,url_hash:window.HDN.dataLayer.visit.urlHash,user_properties:n()})}),s=c.B.on(d.K.WEB_VITALS,(e,i)=>{if("web-vital"!=e.label||!["CLS","LCP","INP"].includes(e.name))return;let{gtmExplicitEventParams:o}=r(i.pageContext.pageProps),a=e.name.toLowerCase(),l=Math.round("cls"===a?1e3*e.value:e.value),s=window.HDN.dataLayer,c=["all"].includes(o)?t(i):{};window.dataLayer.push({event:"hnp_performance",name:a,[a]:l,url_hash:s.visit.urlHash,...c,user_properties:n()})}),p=c.B.on(d.K.SENTINEL,(e,i)=>{let{gtmExplicitEventParams:o}=r(i.pageContext.pageProps),a=parseInt(e.depth.replace("%","")),l=window.HDN.dataLayer,s=["all"].includes(o)?t(i):{};window.dataLayer.push({event:"hnp_scroll",percent_scrolled:a,zone:e.type+"BodyScrollProgress",url_hash:l.visit.urlHash,...s,user_properties:n()})}),m=c.B.on(d.K.SHARE,(e,i)=>{let{gtmExplicitEventParams:o}=r(i.pageContext.pageProps),a=window.HDN.dataLayer,l=["all"].includes(o)?t(i):{};window.dataLayer.push({event:"hnp_share",method:e.action,url_hash:a.visit.urlHash,...l,user_properties:n()})}),g=c.B.on(d.K.AUTH_SESSION_FOUND,(e,i)=>{var o,a,l;let{gtmExplicitEventParams:s}=r(i.pageContext.pageProps),c=window.HDN.dataLayer,d=["all"].includes(s)?t(i):{},u=e.identity;if(!0!==c.identity.isLoggedIn&&(c.identity.realmId=u.id,c.identity.isEntitled=null!=(o=c.identity.isEntitled)?o:u.isEntitled,c.identity.loggedInStatus="loggedIn",c.identity.isLoggedIn=!0,c.identity.currentLoginMethod=u.currentLoginMethod,c.identity.subscriptionPlan=u.subscriptionPlan,window.dataLayer.push({event:"hnp_realm_ready",...d,session_found:!0,logged_in:!0,url_hash:c.visit.urlHash,source_system:e.source,user_properties:n()}),!c.paywall.sailthruBypass)){window.dataLayer.push({event:"hnp_realm_id_found",...d,realm_id_event_scoped:c.identity.realmId,url_hash:c.visit.urlHash,source_system:e.source,user_properties:n()});try{document.createElement("img").src="https://s.hdnux.com/HNP/stats/castle_user?"+new URLSearchParams({url:window.location.href,fpcId:window.HDN.dataLayer.identity.firstPartyId,urlHash:window.HDN.dataLayer.visit.urlHash,hsId:window.HDN.dataLayer.visit.sessionId,realmId:window.HDN.dataLayer.identity.realmId,isEntitled:String(window.HDN.dataLayer.identity.isEntitled),subPlan:null!=(a=window.HDN.dataLayer.identity.subscriptionPlan)?a:"",currentLogin:null!=(l=window.HDN.dataLayer.identity.currentLoginMethod)?l:"",callPoint:"".concat(e.source,"Found")})}catch(e){x.A.error(e,"GtmEntitlementPushError")}window.dataLayer.push({event:"hnp_entitlement_status_detected",...d,is_entitled_event_scoped:c.identity.isEntitled,url_hash:c.visit.urlHash,source_system:e.source,user_properties:n()})}}),h=c.B.on(d.K.AUTH_SESSION_NOT_FOUND,(e,i)=>{var o;let{gtmExplicitEventParams:a}=r(i.pageContext.pageProps),l=window.HDN.dataLayer,s=["all"].includes(a)?t(i):{};"loggedOut"!==l.identity.loggedInStatus&&(l.identity.isEntitled=null!=(o=l.identity.isEntitled)&&o,l.identity.loggedInStatus="loggedOut",l.identity.isLoggedIn=!1,window.dataLayer.push({event:"hnp_realm_ready",...s,session_found:!1,logged_in:!1,url_hash:l.visit.urlHash,source_system:e.source,user_properties:n()}),l.paywall.sailthruBypass||window.dataLayer.push({event:"hnp_entitlement_status_detected",...s,is_entitled_event_scoped:l.identity.isEntitled,url_hash:l.visit.urlHash,source_system:e.source,user_properties:n()}))}),f=c.B.on(d.K.BLUECONIC_PROFILE_LOADED,(e,i)=>{let{gtmExplicitEventParams:o}=r(i.pageContext.pageProps),a=window.HDN.dataLayer,l=["all"].includes(o)?t(i):{};(async()=>{try{let e=(0,_.u$)().getValue("sample_id");e&&!isNaN(parseInt(e))&&window.dataLayer.push({event:"hnp_blueconic_profile_ready",...l,blueconic_sample_id:parseInt(e),url_hash:a.visit.urlHash,source_system:"blueconic",user_properties:n()})}catch(e){x.A.error(e,"GtmBlueConicProfileLoadError")}})(),a.identity.blueconic_id_found_sent||window.dataLayer.push({event:"hnp_blueconic_id_found",...l,blueconic_id_event_scoped:a.identity.blueConicProfileId,url_hash:a.visit.urlHash,source_system:"blueconic",user_properties:n()})}),w=c.B.on(d.K.BLUECONIC_VIEW,(e,i)=>
1{let{gtmExplicitEventParams:o}=r(i.pageContext.pageProps),a=window.HDN.dataLayer,l=["all"].includes(o)?t(i):{},s=e.data.format||"unknown",c=e.data.purpose||"unknown",d=e.data.variant||"unknown";"bcTrackDataFallback"===c?window.dataLayer.push({event:"hnp_impression",element_name:"Blueconic - ".concat(s),element_content:c,element_variant:d,component_type:null,component_subtype:null,component_detail:null,variant_id:e.variantId,dialogue_id:e.dialogueId,source_system:"blueconic",url_hash:a.visit.urlHash,...l,user_properties:n()}):window.dataLayer.push({event:"hnp_impression",element_name:s,element_content:c,element_variant:d,component_type:null,component_subtype:null,component_detail:null,variant_id:e.variantId,dialogue_id:e.dialogueId,source_system:"blueconic",url_hash:a.visit.urlHash,...l,user_properties:n()})}),b=c.B.on(d.K.BLUECONIC_CLICK,(e,i)=>{var o,a,l;let{gtmExplicitEventParams:s}=r(i.pageContext.pageProps),c=window.HDN.dataLayer,d=["all"].includes(s)?t(i):{},u=(null==(o=e.data)?void 0:o.format)||e.element_name||"unknown",p=(null==(a=e.data)?void 0:a.purpose)||e.element_content||"unknown",m=(null==(l=e.data)?void 0:l.variant)||e.element_variant||"unknown",g=e.linkText||e.element_text||"unknown",h=e.variantId||e.variant_id||"unknown",f=e.dialogueId||e.dialogue_id||"unknown";"bcTrackDataFallback"===p?window.dataLayer.push({event:"hnp_click",element_name:"Blueconic - ".concat(u),element_content:p,element_variant:m,component_type:null,component_subtype:null,component_detail:null,variant_id:h,dialogue_id:f,source_system:"blueconic",url_hash:c.visit.urlHash,...d,user_properties:n()}):window.dataLayer.push({event:"hnp_click",element_name:u,element_content:p,element_variant:m,element_text:g,component_type:null,component_subtype:null,component_detail:null,variant_id:h,dialogue_id:f,source_system:"blueconic",url_hash:c.visit.urlHash,...d,user_properties:n()})}),v=c.B.on(d.K.SAILTHRU_SIGNUP_SUCCESS,(e,i)=>{var o,a,l,s,c,d;let u=null==(o=e.sailthru.sailthruHid)?void 0:o.substring(32,56),{gtmExplicitEventParams:p}=r(i.pageContext.pageProps),m=window.HDN.dataLayer,g=["all"].includes(p)?t(i):{},h=e.blueconic.data.format||"unknown",f=e.blueconic.data.purpose||"unknown",w=e.blueconic.data.variant||"unknown",x=(null==(a=e.wcmUnitData)?void 0:a.lead_gen_platform)||"unknown",b=(null==(l=e.wcmUnitData)?void 0:l.lead_gen_type)||"unknown",v=(null==(s=e.wcmUnitData)?void 0:s.lead_gen_subtype)||"unknown",y=(null==(c=e.wcmUnitData)?void 0:c.lead_gen_detail)||"unknown",C=(null==(d=e.wcmData)?void 0:d.zone)||"unknown";window.dataLayer.push({event:"hnp_generate_lead",lead_gen_name:h,lead_gen_content:f,lead_gen_variant:w,lead_gen_platform:x,lead_gen_type:b,lead_gen_subtype:v,lead_gen_detail:y,source_system:"sailthru",zone:C,success:!0,response_message:e.sailthru.sailthruHid,url_hash:m.visit.urlHash,...g,user_properties:n()}),m.identity.sailThruId=u,m.identity.sailthru_id_found_sent||(m.identity.sailthru_id_found_sent=!0,window.dataLayer.push({event:"hnp_sailthru_id_found",sailthru_id_event_scoped:u,url_hash:m.visit.urlHash,source_system:"sailthru",user_properties:n()}));let T=window.location.hostname.split(".").slice(-2).join(".");document.cookie="ga_sid=".concat(u,"; path=/; domain=.").concat(T,"; max-age=31536000; Secure; SameSite=Lax")}),y=c.B.on(d.K.SAILTHRU_SIGNUP_FAILURE,(e,i)=>{var o,a,l,s,c;let{gtmExplicitEventParams:d}=r(i.pageContext.pageProps),u=window.HDN.dataLayer,p=["all"].includes(d)?t(i):{},m=e.blueconic.data.format||"unknown",g=e.blueconic.data.purpose||"unknown",h=e.blueconic.data.variant||"unknown",f=(null==(o=e.wcmUnitData)?void 0:o.lead_gen_platform)||"unknown",w=(null==(a=e.wcmUnitData)?void 0:a.lead_gen_type)||"unknown",x=(null==(l=e.wcmUnitData)?void 0:l.lead_gen_subtype)||"unknown",b=(null==(s=e.wcmUnitData)?void 0:s.lead_gen_detail)||"unknown",v=(null==(c=e.wcmData)?void 0:c.zone)||"unknown";window.dataLayer.push({event:"hnp_generate_lead",lead_gen_name:m,lead_gen_content:g,lead_gen_variant:h,lead_gen_platform:f,lead_gen_type:w,lead_gen_subtype:x,lead_gen_detail:b,source_system:"sailthru",zone:v,success:!1,error_category:e.sailthru.errorCategory||"unknown",response_message:e.sailthru.error,url_hash:u.visit.urlHash,...p,user_properties:n()})}),C=c.B.on(d.K.REALM_SIGNUP_SUCCESS,(e,i)=>
1{let{gtmExplicitEventParams:o}=r(i.pageContext.pageProps),a=window.HDN.dataLayer,l=["all"].includes(o)?t(i):{},s=e.blueconic.data.format||"unknown",c=e.blueconic.data.purpose||"unknown",d=e.blueconic.data.variant||"unknown";window.dataLayer.push({event:"hnp_sign_up",element_name:s,element_content:c,element_variant:d,source_system:"realm",success:!0,response_message:e.realm,url_hash:a.visit.urlHash,...l,user_properties:n()})}),T=c.B.on(d.K.REALM_SIGNUP_FAILURE,(e,i)=>{let{gtmExplicitEventParams:o}=r(i.pageContext.pageProps),a=window.HDN.dataLayer,l=["all"].includes(o)?t(i):{},s=e.blueconic.data.format||"unknown",c=e.blueconic.data.purpose||"unknown",d=e.blueconic.data.variant||"unknown";window.dataLayer.push({event:"hnp_sign_up",element_name:s,element_content:c,element_variant:d,source_system:"realm",success:!1,response_message:e.realm,url_hash:a.visit.urlHash,...l,user_properties:n()})}),k=c.B.on(d.K.GOOGLE_ONE_TAP_READY,(e,i)=>{let{gtmExplicitEventParams:o}=r(i.pageContext.pageProps),a=window.HDN.dataLayer;["all"].includes(o)&&t(i),window.dataLayer.push({event:"hnp_googleonetap_ready",url_hash:a.visit.urlHash,source_system:"castle",user_properties:n()})}),S=c.B.on(d.K.PAGE_VIEW_FULL_DEFERRED,(e,t)=>{window.dataLayer.push({event:"hnp_page_view_full_deferred"})}),E=c.B.on(d.K.PAGE_VIEW_SPA,(e,t)=>{window.dataLayer.push({event:"hnp_page_view_spa"})}),I=c.B.on(d.K.COMPONENT_TRACKING_CLICK,e=>{let{component_type:t,component_subtype:n,component_detail:r,element_name:i,element_content:o,element_variant:a,element_text:l,link_url:s,outbound:c,zone:d,source_system:u}=e;window.dataLayer.push({event:"hnp_click",element_name:i||null,element_content:o||null,element_variant:a||null,component_type:t,component_subtype:n,component_detail:r,element_text:l,link_url:s,outbound:c,zone:d,source_system:u||"castle",url_hash:window.HDN.dataLayer.visit.urlHash})}),L=c.B.on(d.K.COMPONENT_VIEWED,e=>{let{component_type:t,component_subtype:n,component_detail:r,element_name:i,element_content:o,element_variant:a,element_text:l,zone:s,source_system:c,recommend_id:d,recommendation_content_ids:u}=e,p={};d&&(p.recommend_id=d),u&&(p.recommendation_content_ids=u),window.dataLayer.push({event:"hnp_impression",element_name:i||null,element_content:o||null,element_variant:a||null,element_text:l||null,component_type:t||null,component_subtype:n||null,component_detail:r||null,viewable:!0,zone:s||null,source_system:c||"castle",url_hash:window.HDN.dataLayer.visit.urlHash,...p})});return()=>{c.B.off(d.K.GTM_LOAD_ERROR,e),c.B.off(d.K.PAGE_VIEW_FULL,i),c.B.off(d.K.PAGE_VIEW_SPA,o),c.B.off(d.K.WEB_VITALS,s),c.B.off(d.K.SENTINEL,p),c.B.off(d.K.SHARE,m),c.B.off(d.K.AUTH_SESSION_FOUND,g),c.B.off(d.K.AUTH_SESSION_NOT_FOUND,h),c.B.off(d.K.BLUECONIC_PROFILE_LOADED,f),c.B.off(d.K.BLUECONIC_VIEW,w),c.B.off(d.K.BLUECONIC_CLICK,b),c.B.off(d.K.SAILTHRU_SIGNUP_SUCCESS,v),c.B.off(d.K.SAILTHRU_SIGNUP_FAILURE,y),c.B.off(d.K.REALM_SIGNUP_SUCCESS,C),c.B.off(d.K.REALM_SIGNUP_FAILURE,T),c.B.off(d.K.ICON_SUBNAV_CLICKED,a),c.B.off(d.K.E_EDITION_BUTTON_CLICKED,l),c.B.off(d.K.GOOGLE_ONE_TAP_READY,k),c.B.off(d.K.PAGE_VIEW_FULL_DEFERRED,S),c.B.off(d.K.PAGE_VIEW_SPA,E),c.B.off(d.K.COMPONENT_TRACKING_CLICK,I),c.B.off(d.K.COMPONENT_VIEWED,L)}},isActiveByProps:function(e){return(null==e?void 0:e.pageType)!=="sitemap"}},auth0:{Snippet:function(){return(0,s.jsx)(E,{})},initialize:function(){return()=>{}},isActiveByProps:function(e){var t;return(null==e||null==(t=e.siteConfig)?void 0:t.authProvider)==="auth0"}},treg:{Snippet:function(){var e,t,n,r,i;let{pageProps:o}=(0,g.Sz)(),a=(0,g.Ir)(),l=(0,y.useFeatureFlag)("disableGoogleOneTap"),[u,p]=(0,k.useState)(!1),[h,f]=(0,k.useState)(""),[w,b]=(0,k.useState)({}),[v,C]=(0,k.useState)(!1),T=null==o||null==(e=o.siteConfig)?void 0:e.siteCode,_=(null==o||null==(n=o.page)||null==(t=n.globalContext)?void 0:t.isNewsletterSingleSignup)||!1,S=T&&["premiumchron","premiumsfgate","premiummysa"].includes(T);(0,k.useEffect)(()=>{if(l)return;let e=c.B.on(d.K.BLUECONIC_BRAIN,e=>{var t;if((null==(t=window)?void 0:t.innerWidth)>I.Rp.sm||!S)return;let{format:n}=e.data;!v&&(n.includes("Overlay")||n.includes("Toaster"))&&(p(!0),C(!0),new Promise(e=>{let t=setInterval(()=>{let n=document.getElementById("credential_picker_iframe");n&&(clearInterval(t),n.remove(),e(!0))},100);setTimeout(()=>{clearInterval(t),e(!0)},5e3)}))});return()=>{c.B.off(d.K.BLUECONIC_BRAIN,e)}},[v,S,l]),(0,k.useEffect)(()=>{var e,t,n,r,i,o;l||u||null==(e=window)||!e.treg||(null==a?void 0:a.loggedInStatus)!=="loggedOut"||(null==(t=window)?void 0:t.innerWidth)<=I.Rp.sm&&!S||_||null==(o=window.treg)||null==(i=o.realm)||null==(r=i.Oidc)||null==(n=r.oneta
1pGoogle())||n.then(function(e){if(!e.use_onetap||"false"===e.use_onetap)return;p(!0),f(e.script_source);let t=Object.keys(e.onload).reduce((t,n)=>("style"===n?t.style=e.onload[n].replace(/\;$/,"").split(";").reduce((e,t)=>{let[n,r]=t.split(":");return e[n.trim().replace(/-([a-z])/g,e=>e[1].toUpperCase())]=r.trim(),e},{}):t["data-".concat(n.toLowerCase())]=e.onload[n],t),{});t.id="g_id_onload",b(t)})},[a,S,u,_,l]);let E="prod"===o.environment?"prod":"staging",L=(null==o||null==(r=o.additionalContext)?void 0:r.tregVersion)||E,j=null!=(i=({prod:"https://treg.hearstnp.com/treg.js",staging:"https://treg-staging.hearstnp.com/treg.js",stagingAzure:"https://treg-staging.azurewebsites.net/treg.js"})[["prod","staging","stagingAzure"].includes(L.toString())?L.toString():E])?i:"";return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m(),{src:j,id:"tregLoader",strategy:"afterInteractive",onLoad:()=>{c.B.emit(d.K.TREG_LOADED,null),c.B.emit(d.K.AUTH_LOADED,null)},onError:e=>{c.B.emit(d.K.TREG_LOAD_ERROR,null),c.B.emit(d.K.AUTH_LOAD_ERROR,{reason:"treg-script-load-error"})}}),!l&&u&&h&&w&&!v&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:S?"block":"none sm:block",...w}),(0,s.jsx)(m(),{src:h,id:"oneTapLoader",strategy:"afterInteractive",onLoad:()=>{c.B.emit(d.K.GOOGLE_ONE_TAP_READY,null)},onError:e=>{x.A.error(e,"GoogleOneTapScriptLoadError")}})]})]})},initialize:function(){if(u.S$)return()=>{};let e=c.B.on(d.K.TREG_SESSION_FOUND,(e,t)=>{let{userContext:n}=t;x.A.debug({event:e,userContext:n},"TregSessionFoundEvent");let r=R(window.treg.identity);n.updateUserState({...r,safeToFirePageViewState:!0,authSafeToFirePageView:!0,authLoadState:"normal",loggedInStatus:"loggedIn"}),(0,h.St)("logged_in","true")}),t=c.B.on(d.K.TREG_SESSION_NOT_FOUND,(e,t)=>{let{userContext:n}=t;x.A.debug({event:e,userContext:n},"TregSessionNotFoundEvent");let r=R(window.treg.identity);n.updateUserState({...r,safeToFirePageViewState:!0,authSafeToFirePageView:!0,authLoadState:"normal",loggedInStatus:"loggedOut"}),(0,h.St)("logged_in","",0)}),n=c.B.on(d.K.TREG_LOADED,()=>{x.A.debug("TregLoaded")}),r=c.B.on(d.K.TREG_LOAD_ERROR,()=>{x.A.debug("TregLoadError")});return(0,L.K1)({signIn:N,signOut:P,getLoggedInMenuItems:O,getCredential:async()=>(function(){let e=function(){let e=[];for(let t of j)try{let n=localStorage.getItem(t);if(!n)continue;e.push(JSON.parse(n))}catch(e){}return e}(),t=function(e){for(let t of e){let e=null==t?void 0:t.access_token;if(e&&!(t.expires_at&&Math.floor(Date.now()/1e3)>=t.expires_at))return e}return null}(e);return t?{source:"treg",accessToken:t,site:function(e){for(let t of e){let e=null==t?void 0:t.profile,n=(null==e?void 0:e["realm.siteId"])||(null==e?void 0:e["realm.requestDomain"]);if(n)return n.replace(/^www\./,"")}return window.location.hostname.replace(/^(dev|www|web\d+|preview[^.]*)\.w?\.?/,"").replace(/^w\./,"")}(e)}:null})()}),()=>{c.B.off(d.K.TREG_SESSION_FOUND,e),c.B.off(d.K.TREG_SESSION_NOT_FOUND,t),c.B.off(d.K.TREG_LOADED,n),c.B.off(d.K.TREG_LOAD_ERROR,r)}},isActiveByProps:function(e){var t,n;return(null==e||null==(t=e.siteConfig)?void 0:t.authProvider)!=="auth0"&&!["seattlepi","educationseattlepi","workchron","smallbusinesschron","weekand"].includes((null==e||null==(n=e.siteConfig)?void 0:n.siteCode)||"")}},htl:{Snippet:function(){var e,t,n,r,i,o,a;let{pageProps:l}=(0,g.Sz)(),c=function(e){let{environment:t,htlVersion:n}=e;return"prod"===(n||("prod"===t?"prod":"staging")).toString()}({environment:l.environment,htlVersion:null==l||null==(e=l.additionalContext)?void 0:e.htlVersion}),[d,p]=(0,k.useState)(null),[h,f]=(0,k.useState)(""),[w,x]=(0,k.useState)(void 0),[b,v]=(0,k.useState)(void 0),[y,C]=(0,k.useState)(void 0),[T,_]=(0,k.useState)(void 0),[S,E]=(0,k.useState)(void 0),[I,L]=(0,k.useState)(void 0),[j,A]=(0,k.useState)(!1),[N,O]=(0,k.useState)(void 0),[P,R]=(0,k.useState)(void 0),D=null==l||null==(t=l.additionalContext)?void 0:t.utm_source,U=()=>{var e;p(null==(e=window)?void 0:e.innerWidth)};(0,k.useEffect)(()=>{var e,t,n,r,i,o;U(),C(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"u">typeof localStorage?localStorage.getItem("_psegs"):void 0;return e?e.replace("[","").replace("]","").split(",").map(Number):void 0}());let{HNPDEParsed:a,locationDataParsed:l,BCSessionIDParsed:s,HFIDTransformed:c,abBucketValue:d}
1=G(null==(e=document)?void 0:e.cookie,V);a&&x(a),l&&v(l),s&&_(s),c&&E(c),d&&L(d);let u=(o=null==(i=window)||null==(r=i.HDN)||null==(n=r.dataLayer)||null==(t=n.content)?void 0:t.iabTags)&&Array.isArray(o)&&"object"==typeof o[0]?{parentIds:o.map(e=>null==e?void 0:e.parentId)||void 0,keywords:o.map(e=>null==e?void 0:e.name)||void 0}:{};(u.parentIds||u.keywords)&&(O(u.parentIds),R(u.keywords)),a&&a.hnp_na||A(!0)},[]),(0,k.useEffect)(()=>{var e;return d&&f(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:K;return e>=t.xl?"desktop_w":e>=t.lg?"desktop":e>=t.sm?"tablet_w":e>=t.xs?"mobile_w":"mobile"}(d)),null==(e=window)||e.addEventListener("resize",U),()=>{var e;return null==(e=window)?void 0:e.removeEventListener("resize",U)}},[d]);let B=function(e){let{domain:t,isProd:n}=e;return"https://htlbid.com".concat(n?"":"/stage","/v3/").concat(t,"/hnpbid.js")}({domain:"dallasnews.com"===(o=null==l||null==(n=l.siteConfig)?void 0:n.domain)?"dallasmorningnews.com":null!=o?o:"",isProd:c}),M=(null==(a=null!=(r=null==l?void 0:l.additionalContext)?r:{})?void 0:a.adtest)&&"string"==typeof a.adtest&&a.adtest.includes("page:testpage=")?a.adtest.split("=")[1]:(null==a?void 0:a.testpage)&&"string"==typeof a.testpage?a.testpage:void 0;return(u.oc&&H({isProd:c,pageMeta:null==(i=l.page)?void 0:i.meta,dataLayer:W(l),viewport:""===h?void 0:h,hnpde:w,locationData:b,testPage:M,psegs:y,blueConicSessionId:T,hfid:S,parentIds:N,keywords:P,utmSource:D,abBucket:I,...V}),j)?(0,s.jsx)(m(),{src:B,id:"htl-script",strategy:"afterInteractive"}):null},initialize:function(){if(u.S$)return()=>{};let e=c.B.on(d.K.SPA_NAVIGATION_COMPLETE,(e,t)=>{var n,r;let i=t.pageContext.pageProps,{abBucketValue:o}=G(null==(n=document)?void 0:n.cookie,V);z({pageMeta:null==(r=i.page)?void 0:r.meta,dataLayer:W(i),abBucket:o,...V}).catch(e=>{x.A.error(e,"HtlSpaRefreshError")})});return()=>{c.B.off(d.K.SPA_NAVIGATION_COMPLETE,e)}},isActiveByProps:function(e){var t,n,r,i;return(null==(i=e.page)||null==(r=i.globalContext)||null==(n=r.enabledThirdParties)||null==(t=n.htl)?void 0:t.active)!==!1}},revcontent:{Snippet:function(){return(0,q.R9)({type:"revcontent",onFill:J,getFillId:Y})},initialize:function(){return()=>{}},isActiveByProps:function(e){let{pageType:t}=e;return!!["article","channel"].includes(t)&&(0,q.$1)("revcontent")(e)}},everlit:Z.Ay,exco:{Snippet:function(){let e=(0,g.Wx)(),t=(0,g.Ir)(),n="dallasnews"===e,r=n&&t.isEntitled,i=(0,k.useCallback)((e,t)=>{let i=er(e,t);if(window.ExCoPlayer){var o,a;let e=n&&"article"===t?{sticky:{enabled:!r}}:void 0,l=null==(o=(a=window.ExCoPlayer).connect)?void 0:o.call(a,i);null==l||l.init(e),ee(i,l),window.ExCoPlayer.playerKey=i}},[n,r]),o=(0,k.useCallback)((e,t,i,o)=>{var a,l;if(null==(l=window)||null==(a=l.ExCoPlayer)?void 0:a.pageType){let t=er(e,i),o=window.ExCoPlayer.connect(t);o.inited&&($(t),o.destroy());let a=n&&"article"===i?{sticky:{enabled:!r}}:void 0;o.init(a),ee(t,o),window.ExCoPlayer.playerKey=t}},[n,r]);return(0,q.R9)({type:"exco",fetchScriptProps:en,onSetSrc:et,onSetLoaded:i,onFill:o,onSpaStart:ei,onSpaNav:eo})},initialize:function(){return()=>{}},isActiveByProps:ea},nativo:{Snippet:function(){let{pageProps:e}=(0,g.Sz)(),{pageType:t,identifier:n,environment:l}=e;return r=e.reqHost,i=t,o=n,a=l,(0,k.useEffect)(()=>{var e,t,n,r;window.ntvConfig=(null==(e=window)?void 0:e.ntvConfig)||{},window.ntvConfig.keyValues=(null==(n=window)||null==(t=n.ntvConfig)?void 0:t.keyValues)||{};let i=(null==(r=localStorage)?void 0:r.getItem("_pnativo"))||void 0;i&&""!==i&&(window.ntvConfig.keyValues.permutive=function(e){let t;try{var n,r;t=null==(r=JSON)||null==(n=r.parse(e))?void 0:n.join(",")}catch(e){t=void 0,x.A.error(e,"NativoStorageParseError")}return t}(i))},[]),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(m(),{src:"https://s.ntv.io/serve/load.js",id:"nativo-script",strategy:"afterInteractive","data-ntv-set-no-auto-start":!0,async:!0,onLoad:()=>{c.B.emit(d.K.NATIVO_LOADED,null)},onError:e=>{c.B.emit(d.K.NATIVO_LOAD_ERROR,null)}})})},initialize:function(){if(u.S$)return()=>{};let e=null==r?void 0:r.split(".").includes("mysanantonio"),t=!1,n=!1,l=()=>{if("dev"===a||"eng"===a)if("article"===i)return[1214032];else if("home"===o)return[1230474,1230475,1230476,1230477];else return[1230478,1230479,1230480,1230481];if("prod"===a)if("article"===i)return[1119540];else if("home"===o)return[1119858,1119859,1119860,1119861];else return[1119882,1119883,1119884,1119885]},s=c.B.on(d.K.NATIVO_LOADED,()=>{if(n=!0,window.ntv.events.on("noAd",function(e,t){c.B.emit(d.K.NATIVO_NO_AD,t.adLocation)}),!t)if(e){let e=l();x.A.info("Calling PostRelease.Start with pids:",e),window.ntv.cmd.push(function(){var t,n;null==(n=window)||null==(t=n.PostRelease)||t.Start({ptd:e})})}else{var r,i;x.A.info("Calling PostRelease.Start with no pids:"),null==(i=window)||null==(r=i.PostRelease)||r.Start()}}),p=c.B.on(d.K.SPA_NAVIGATION_START,()=>{n&&(t=!0)}),m=c.B.on(d.K.SPA_NAVIGATION_COMPLETE,()=>{var t,n,r,i,o,a,s;let c=null==(r=window)||null==(n=r.PostRelease)||null==(t=n.setting)?void 0:t.requestUrl.split("?");if(c&&c[0]!==window.location.href&&(null==(o=window)||null==(i=o.PostRelease)?void 0:i.setting)){let e="".concat(window.location.href,"?").concat(c[1]);window.PostRelease.setting.requestUrl=e}if(e){let e=l();x.A.info("Calling PostRelease.Start with pids:",e),window.ntv.cmd.push(function(){var t,n;null==(n=window)||null==(t=n.PostRelease)||t.Start({ptd:e})})}else x.A.info("Calling PostRelease.Start with no pids:"),null==(s=window)||null==(a=s.PostRelease)||a.Start()}),g=c.B.on(d.K.NATIVO_LOAD_ERROR,()=>{x.A.error("NativoLoadError")});return()=>{c.B.off(d.K.NATIVO_LOADED,s),c.B.off(d.K.SPA_NAVIGATION_START,p),c.B.off(d.K.SPA_NAVIGATION_COMPLETE,m),c.B.off(d.K.NATIVO_LOAD_ERROR,g)}}},sailthru:{Snippet:function(){var e,t;let{pageProps:n}=(0,g.Sz)(),r=null==n||null==(e=n.page)?void 0:e.meta,i=null==n||null==(t=n.page)?void 0:t.hdnDataLayer;return r&&(null==i?void 0:i.siteSailthruId)?(0,s.jsx)(m(),{src:"https://ak.sail-horizon.com/spm/spm.v1.min.js",id:"sailThruSpmV1",strategy:"afterInteractive",onLoad:()=>
1{if(window.Sailthru.init({customerId:null==i?void 0:i.siteSailthruId,isCustom:!0,autoTrackPageview:!1,useStoredTags:!0}),"article"===n.pageType){let e="https://"+n.reqHost+(null==i?void 0:i.sharingOpenGraphUrl);window.Sailthru.track("pageview",{url:e})}}}):null},initialize:function(){let e=c.B.on(d.K.SPA_NAVIGATION_COMPLETE,(e,t)=>{var n,r,i;let o=t.pageContext.pageProps;if((null==(n=window)?void 0:n.Sailthru)&&"article"===o.pageType){let e="https://"+o.reqHost+(null==(i=o.page)||null==(r=i.hdnDataLayer)?void 0:r.sharingOpenGraphUrl);window.Sailthru.track("pageview",{url:e})}});return()=>{c.B.off(d.K.SPA_NAVIGATION_COMPLETE,e)}},isActiveByProps:function(e){return!0}},comscore:{Snippet:function(){return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(m(),{src:"https://sb.scorecardresearch.com/beacon.js",id:"comScoreScriptTag",strategy:"lazyOnload",onLoad:()=>{var e,t;null==(t=window)||null==(e=t.COMSCORE)||e.beacon({c1:"2",c2:"6036097"})}})})},initialize:function(){let e=c.B.on(d.K.SPA_NAVIGATION_COMPLETE,(e,t)=>{var n,r,i,o;(null==(r=window)||null==(n=r.COMSCORE)?void 0:n.beacon)&&(null==(o=window)||null==(i=o.COMSCORE)||i.beacon({c1:"2",c2:"6036097"}))});return()=>{c.B.off(d.K.SPA_NAVIGATION_COMPLETE,e)}}},fastlyngwaf:{Snippet:function(){return(0,s.jsx)(m(),{src:"/_fs-ch-1T1wmsGaOgGaSxcX/assets/script.js",id:"fastly-ngwaf-script",strategy:"afterInteractive",onLoad:()=>{c.B.emit(d.K.FASTLYNGWAF_LOADED,null)},onError:e=>{c.B.emit(d.K.FASTLYNGWAF_LOAD_ERROR,e)}})},initialize:function(){if(u.S$)return()=>{};let e=c.B.on(d.K.FASTLYNGWAF_LOADED,()=>{x.A.debug("FastlyNGWAFLoaded")}),t=c.B.on(d.K.FASTLYNGWAF_LOAD_ERROR,(e,t)=>{var n,r;let i=null==(r=t.pageContext)||null==(n=r.pageProps)?void 0:n.reqHost;x.A.error({reqHost:i,data:e},"FastlyNGWAFLoadError")});return()=>{c.B.off(d.K.FASTLYNGWAF_LOADED,e),c.B.off(d.K.FASTLYNGWAF_LOAD_ERROR,t)}},isActiveByProps:function(e){var t,n,r,i;return!!e.reqHost&&!!(null==(i=e.page)||null==(r=i.globalContext)||null==(n=r.enabledThirdParties)||null==(t=n.fastlyngwaf)?void 0:t.active)}},datadog:{Snippet:()=>null,initialize:()=>{let e=Object.fromEntries(new URLSearchParams(window.location.search));return(0,el.o)(e)?void x.A.debug({human:"Datadog RUM applicationId or clientToken is missing"},"InitializeDatadogRUM"):void x.A.debug({human:"Datadog RUM is disabled"},"InitializeDatadogRUM")},isActiveByProps:()=>!0},newrelic:{Snippet:()=>null,initialize:()=>{window.newrelic&&(x.A.debug({human:"Initializing New Relic error handler"},"InitializeNewRelicRUMErrorHandler"),window.newrelic.setErrorHandler(e=>(function(e){return!!e&&es.some(t=>e.includes(t))})(null==e?void 0:e.message)))},isActiveByProps:()=>!0},mostpopularping:{Snippet:function(){return null},initialize:function(){if(u.S$)return()=>{};let e=c.B.on(d.K.PAGE_VIEW,(e,t)=>{var n,r,i,o,a;let{pageProps:l}=null==t?void 0:t.pageContext,s=null==l?void 0:l.identifier,c=null==l||null==(n=l.siteConfig)?void 0:n.siteCode;if(!s||!c)return void x.A.error({ctx:t},"MostPopularPingError");(null==l||null==(i=l.page)||null==(r=i.hdnDataLayer)||!r.contentIsSponsoredContent)&&(null!=l&&null!=(a=l.page)&&null!=(o=a.hdnDataLayer)&&o.contentIsPaidAdContent||((e,t)=>{let n="https://p.ctpost.com/article?i="+e+"&s="+t+"&ts="+Date.now();return document.createElement("img").src=n,x.A.debug({ping:n},"MostPopularPing")})(s,c))});return()=>{c.B.off(d.K.PAGE_VIEW,e)}},isActiveByProps:function(e){let{page:t,pageType:n,siteConfig:r,environment:i}=e;return"prod"===i&&(null==t?void 0:t.status)===200&&!!["article"].includes(n)&&!!(null==r?void 0:r.siteCode)&&!!r.siteId}},evvnt:eb,puzzlepalace:eC,devtools:ev,thirdpartyfreeformembed:q.Ay,pushly:{Snippet:function(){var e,t,n,r;let{pageProps:i}=(0,g.Sz)(),o=null==i||null==(n=i.page)||null==(t=n.globalContext)||null==(e=t.enabledThirdParties)?void 0:e.pushly,a=(null==i||null==(r=i.siteConfig)?void 0:r.siteCode)||"";if(!o)return null;let l="prod"===i.environment?ec[a]:ed[a];return l?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m(),{src:"https://cdn.p-n.io/sdk/web/pushly@".concat("3.4.1",".min.js"),strategy:"afterInteractive",async:!0}),(0,s.jsx)(m(),{id:"pushly-init",strategy:"afterInteractive",children:"\n          window.PushlySDK = window.PushlySDK || [];\n          function pushly() { window.PushlySDK.push(arguments) }\n          pushly('load', {\n            domainKey: '".concat(l,"',\n            sw: '/file/156/58/1
15658-pushly-sdk-worker.js',\n          });\n        ")})]}):null},initialize:()=>{}},optable:eT,liveintent:{Snippet:function(){var e,t;let{pageProps:n}=(0,g.Sz)(),r=null==n||null==(e=n.siteConfig)?void 0:e.siteCode,i=null!=(t=({statesman:"https://b-code.liadm.com/b-02k4.min.js",dallasnews:"https://b-code.liadm.com/b-035k.min.js"})[null!=r?r:""])?t:"https://b-code.liadm.com/b-028s.min.js";return(0,s.jsx)(m(),{src:i,strategy:"afterInteractive",id:"liveintentScriptTag"})},initialize:()=>{},isActiveByProps:()=>!0},richieauth:{Snippet:function(){return(0,s.jsx)(eh,{})},initialize:function(){return()=>{}},isActiveByProps:function(e,t){var n,r;return(null==t?void 0:t.view)==="richie"&&(0,y.isFeatureFlagEnabled)(null==e||null==(n=e.featureFlags)?void 0:n.find(e=>{let{key:t}=e;return"richieQPSQuestions"===t}),null==e||null==(r=e.siteConfig)?void 0:r.siteId)}}}},78728:(e,t)=>{"use strict";t.T=void 0,t.T=e=>e.trim().replace(/\n/g,"").toLowerCase()},79500:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e&&e.__esModule?e:{default:e}}(n(97919)).default},79671:(e,t,n)=>{"use strict";function r(e,t){return function(n){let r=t[n[e]];if(!(r instanceof Function))return r;let i=r(n);return Array.isArray(i)?i.flat():i}}n.d(t,{E:()=>r})},79905:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return s}});let r=n(13385),i=n(93668),o="function"==typeof IntersectionObserver,a=new Map,l=[];function s(e){let{rootRef:t,rootMargin:n,disabled:s}=e,c=s||!o,[d,u]=(0,r.useState)(!1),p=(0,r.useRef)(null),m=(0,r.useCallback)(e=>{p.current=e},[]);return(0,r.useEffect)(()=>{if(o){if(c||d)return;let e=p.current;if(e&&e.tagName)return function(e,t,n){let{id:r,observer:i,elements:o}=function(e){let t,n={root:e.root||null,margin:e.rootMargin||""},r=l.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=a.get(r)))return t;let i=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:i},l.push(n),a.set(n,t),t}(n);return o.set(e,t),i.observe(e),function(){if(o.delete(e),i.unobserve(e),0===o.size){i.disconnect(),a.delete(r);let e=l.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&l.splice(e,1)}}}(e,e=>e&&u(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!d){let e=(0,i.requestIdleCallback)(()=>u(!0));return()=>(0,i.cancelIdleCallback)(e)}},[c,n,t,d,p.current]),[m,d,(0,r.useCallback)(()=>{u(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},80947:(e,t,n)=>{"use strict";n.d(t,{br:()=>i,eb:()=>a,kX:()=>o});var r=n(13385);let i=(0,r.createContext)({siteStyle:"premium",brandTheme:"unknown",debug:!1});function o(e){let{siteStyle:t}=(0,r.useContext)(i);return e||t}function a(){let{brandTheme:e}=(0,r.useContext)(i);return e}},81973:()=>{},83478:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(13385);function i(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=(0,r.useRef)(e);(0,r.useEffect)(()=>{i.current=e},[e]),(0,r.useEffect)(()=>{if(null===t)return;let e=setTimeout(()=>i.current(),t);return()=>clearTimeout(e)},[t,...n])}},83575:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFeatureFlagEnabled=function(e){var t,n;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(void 0===e)return!1;let i=!!Array.isArray(null==(t=e.metadata)?void 0:t.allowList)&&e.metadata.allowList,o=!!Array.isArray(null==(n=e.metadata)?void 0:n.denyList)&&e.metadata.denyList;return!!e.enabled&&(!!i&&!!o||(i?i.includes(r):!o||!o.includes(r)))}},84364:(e,t,n)=>{"use strict";n.d(t,{K:()=>r});var r=function(e){return e[e.LOGIN=0]="LOGIN",e[e.CLICK=1]="CLICK",e[e.SHARE=2]="SHARE",e[e.PAGE_VIEW=3]="PAGE_VIEW",e[e.PAGE_VIEW_DEFERRED=4]="PAGE_VIEW_DEFERRED",e[e.PAGE_VIEW_FULL=5]="PAGE_VIEW_FULL",e[e.PAGE_VIEW_FULL_DEFERRED=6]="PAGE_VIEW_FULL_DEFERRED",e[e.PAGE_VIEW_SPA=7]="PAGE_VIEW_SPA",e[e.PAGE_VIEW_SPA_DEFERRED=8]="PAGE_VIEW_SPA_DEFERRED",e[e.ERROR=9]="ERROR",e[e.AD_SLOT_RENDERED=10]="AD_SLOT_RENDERED",e[e.PAGE_READY=11]="PAGE_READY",e[e.WEB_VITALS=12]="WEB_VITALS",e[e.WEB_VITALS_DEFERRED=13]="WEB_VITALS_DEFERRED",e[e.GALLERY_NAVIGATION=14]="GALLERY_NAVIGATION",e[e.TREG_SESSION_FOUND=15]="TREG_SESSION_FOUND",e[e.TREG_SESSION_NOT_FOUND=16]="TREG_SESSION_NOT_FOUND",e[e.TREG_LOADED=17]="TREG_LOADED",e[e.TREG_LOAD_
1ERROR=18]="TREG_LOAD_ERROR",e[e.BLUECONIC_LOADED=19]="BLUECONIC_LOADED",e[e.BLUECONIC_PROFILE_LOADED=20]="BLUECONIC_PROFILE_LOADED",e[e.BLUECONIC_LOAD_ERROR=21]="BLUECONIC_LOAD_ERROR",e[e.SPA_NAVIGATION_START=22]="SPA_NAVIGATION_START",e[e.SPA_NAVIGATION_COMPLETE=23]="SPA_NAVIGATION_COMPLETE",e[e.NATIVO_LOADED=24]="NATIVO_LOADED",e[e.NATIVO_LOAD_ERROR=25]="NATIVO_LOAD_ERROR",e[e.NATIVO_NO_AD=26]="NATIVO_NO_AD",e[e.GTM_LOAD_ERROR=27]="GTM_LOAD_ERROR",e[e.GA_READY=28]="GA_READY",e[e.FASTLYNGWAF_LOADED=29]="FASTLYNGWAF_LOADED",e[e.FASTLYNGWAF_LOAD_ERROR=30]="FASTLYNGWAF_LOAD_ERROR",e[e.SENTINEL=31]="SENTINEL",e[e.SENTINEL_DEFERRED=32]="SENTINEL_DEFERRED",e[e.FREEFORMEMBED_FILL=33]="FREEFORMEMBED_FILL",e[e.FREEFORMEMBED_LOADED=34]="FREEFORMEMBED_LOADED",e[e.FREEFORMEMBED_LOAD_ERROR=35]="FREEFORMEMBED_LOAD_ERROR",e[e.FREEFORMEMBED_SPA_COMPLETE=36]="FREEFORMEMBED_SPA_COMPLETE",e[e.FREEFORMEMBED_SPA_FILL=37]="FREEFORMEMBED_SPA_FILL",e[e.BLUECONIC_BRAIN=38]="BLUECONIC_BRAIN",e[e.BLUECONIC_VIEW=39]="BLUECONIC_VIEW",e[e.BLUECONIC_VIEW_DEFERRED=40]="BLUECONIC_VIEW_DEFERRED",e[e.BLUECONIC_CLICK=41]="BLUECONIC_CLICK",e[e.SAILTHRU_SIGNUP_SUCCESS=42]="SAILTHRU_SIGNUP_SUCCESS",e[e.SAILTHRU_SIGNUP_FAILURE=43]="SAILTHRU_SIGNUP_FAILURE",e[e.REALM_SIGNUP_SUCCESS=44]="REALM_SIGNUP_SUCCESS",e[e.REALM_SIGNUP_FAILURE=45]="REALM_SIGNUP_FAILURE",e[e.CHAPTER_ENTER_VIEW=46]="CHAPTER_ENTER_VIEW",e[e.CHAPTER_LEAVE_VIEW=47]="CHAPTER_LEAVE_VIEW",e[e.UPDATE_ANCHOR_TOP_OFFSET=48]="UPDATE_ANCHOR_TOP_OFFSET",e[e.PROMOBANNER_TOP_OFFSET=49]="PROMOBANNER_TOP_OFFSET",e[e.MASTHEAD_TOP_OFFSET=50]="MASTHEAD_TOP_OFFSET",e[e.ICON_SUBNAV_CLICKED=51]="ICON_SUBNAV_CLICKED",e[e.GOOGLE_ONE_TAP_READY=52]="GOOGLE_ONE_TAP_READY",e[e.E_EDITION_BUTTON_CLICKED=53]="E_EDITION_BUTTON_CLICKED",e[e.RETURN_TO_TOP_SELECTED=54]="RETURN_TO_TOP_SELECTED",e[e.TOAST_ALERT_TRIGGER=55]="TOAST_ALERT_TRIGGER",e[e.TRENDING_TOPICS_VIEWED=56]="TRENDING_TOPICS_VIEWED",e[e.TRENDING_SUBNAV_CLICKED=57]="TRENDING_SUBNAV_CLICKED",e[e.KETCH_LOADED=58]="KETCH_LOADED",e[e.KETCH_MYDATA_CLICK=59]="KETCH_MYDATA_CLICK",e[e.KETCH_JURISDICTION=60]="KETCH_JURISDICTION",e[e.KETCH_CONSENT=61]="KETCH_CONSENT",e[e.OPEN_GIFT_ARTICLE_TOOLTIP=62]="OPEN_GIFT_ARTICLE_TOOLTIP",e[e.COMPONENT_TRACKING_CLICK=63]="COMPONENT_TRACKING_CLICK",e[e.COMPONENT_VIEWED=64]="COMPONENT_VIEWED",e[e.TRANSUNION_LOADED=65]="TRANSUNION_LOADED",e[e.TRANSUNION_LOAD_ERROR=66]="TRANSUNION_LOAD_ERROR",e[e.AUTH_SESSION_FOUND=67]="AUTH_SESSION_FOUND",e[e.AUTH_SESSION_NOT_FOUND=68]="AUTH_SESSION_NOT_FOUND",e[e.AUTH_LOADED=69]="AUTH_LOADED",e[e.AUTH_LOAD_ERROR=70]="AUTH_LOAD_ERROR",e[e.EXCO_STICKY_STATE_CHANGE=71]="EXCO_STICKY_STATE_CHANGE",e}({})},85341:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},87262:(e,t,n)=>{"use strict";var r;n.d(t,{Rp:()=>r}),function(e){e[e.xs=481]="xs",e[e.sm=768]="sm",e[e.md=928]="md",e[e.lg=1048]="lg",e[e.xl=1320]="xl"}(r||(r={}))},87546:()=>{},88936:(e,t,n)=>{"use strict";n.d(t,{CI:()=>x,Ir:()=>L,J0:()=>d,Jv:()=>w,K1:()=>s,LQ:()=>C,V3:()=>T,WQ:()=>h,Xw:()=>j,ac:()=>A,gf:()=>v,hS:()=>f,mh:()=>c,n$:()=>g,rc:()=>b,w_:()=>y});var r,i,o=n(13385);let a=null,l=[];function s(e){a=e,l.splice(0).forEach(t=>t(e))}function c(){return a}function d(e){a?e(a):l.push(e)}let u="auth:me:v1:",p=e=>"".concat(u).concat(e),m=["loggedIn","loggedOut","notRequired","unknown","none"];function g(e){if(!e)return null;try{let t=window.sessionStorage.getItem(p(e));if(!t)return null;let n=JSON.parse(t);return n&&"object"==typeof n&&"string"==typeof n.loggedInStatus&&m.includes(n.loggedInStatus)?n:null}catch(e){return null}}function h(e,t){if(e)try{window.sessionStorage.setItem(p(e),JSON.stringify(t))}catch(e){}}function f(){try{let e=[];for(let t=0;t<window.sessionStorage.length;t++){let n=window.sessionStorage.key(t);n&&n.startsWith(u)&&e.push(n)}e.forEach(e=>window.sessionStorage.removeItem(e))}catch(e){}}function w(e){d(t=>{try{t.signIn(e)}catch(t){var n;null==e||null==(n=e.onError)||n.call(e,t)}})}function x(e){f(),d(t=>{try{t.signOut(e)}catch(t){var n;null==e||null==(n=e.onError)||n.call(e,t)}})}function b(){var e,t,n;return null!=(n=null==(t=a)||null==(e=t.getLoggedInMenuItems)?void 0:e.call(t))?n:{}}async function v(e){var t,n,r;let i=a;return i?null!=(r=await (null==(t=i.getToken)?void 0:t.call(i)))?r:null:(null==e||null==(n=e.onError)||n.call(e,Error("Auth provider is not configured.")),null)}async function y(e){let t=a;if(!t)return{status:"unknown",reason:"NoActiveAuthProvider"};if(!t.getCredential)return{status:"unknown",reason:"ProviderCannotResolveCredential"};try{let e=await t.getCredential();return(null==e?void 0:e.accessToken)?{status:"authenticated",credential:e}:{status:"unauthenticated"}}catch(t){var n;return null==e||null==(n=e.onError)||n.call(e,t),{status:"unknown",reason:"ProviderThrew"}}}function C(e){try{let t=e.split(".")[1];if(!t)return null;let n=JSON.parse(atob(t.replace(/-/g,"+").replace(/_/g,"/")));for(let e of Array.isArray(null==n?void 0:n.aud)?n.aud:[null==n?void 0:n.aud]){let t=/^https:\/\/([^/]+)\.auth0\.com\/userinfo\/?$/.exec(String(e));if(t)return t[1]}}catch(e){}return null}async function T(e){let t=new TextEncoder().encode(e.toLowerCase());return Array.from(new Uint8Array(await window.crypto.subtle.digest("SHA-256",t))).map(e=>e.toString(16).padStart(2,"0")).join("")}var _={exports:{}},k={},S=(i||(i=1,_.exports=function(){if(r)return k;r=1;var e=Symbol.for("react.transitional.element");function t(t,n,r){var i=null;if(void 0!==r&&(i=""+r),void 0!==n.key&&(i=""+n.key),"key"in n)for(var o in r={},n)"key"!==o&&(r[o]=n[o]);else r=n;return{$$typeof:e,type:t,key:i,ref:void 0!==(n=r.ref)?n:null,props:r}}return k.Fragment=Symbol.for("react.fragment"),k.jsx=t,k.jsxs=t,k}()),_.exports);let E=(0,o.createContext)({userState:{loggedInStatus:"unknown"},updateUserState:()=>{}});function I(){return(0,o.useContext)(E)}function L(){return I().userState}function j(){return I().updateUserState}function A(e){let{children:t}=e,[n,r]=(0,o.useState)({loggedInStatus:"unknown"}),i=(0,o.useCallback)(e=>r(t=>({...t,...e})),[]),a=(0,o.useMemo)(()=>({userState:n,updateUserState:i}),[n,i]);return S.jsx(E.Provider,{value:a,children:t})}},90013:(e,t,n)=>{"use strict";n.d(t,{A:()=>
1o});var r=n(13385),i=n(49936);let o=new Proxy({},{get:(e,t)=>(t in e||(e[t]=function(e){let t=function(t,n){let{children:o,className:a,cx:l,bx:s,...c}=t,d=(0,i.A)(...l||[],...s||[]);return r.createElement(e,{...c,ref:n,className:d.length?d:null},o)};return t.displayName="styled-".concat(e),r.forwardRef(t)}(t)),e[t])})},90665:(e,t,n)=>{"use strict";n.d(t,{j:()=>a});var r,i={exports:{}},o={};i.exports=function(){if(r)return o;r=1;var e=Symbol.for("react.transitional.element");function t(t,n,r){var i=null;if(void 0!==r&&(i=""+r),void 0!==n.key&&(i=""+n.key),"key"in n)for(var o in r={},n)"key"!==o&&(r[o]=n[o]);else r=n;return{$$typeof:e,type:t,key:i,ref:void 0!==(n=r.ref)?n:null,props:r}}return o.Fragment=Symbol.for("react.fragment"),o.jsx=t,o.jsxs=t,o}();var a=i.exports},91379:e=>{e.exports={container:"LoadingIndicator_container__2D_zg",loading:"LoadingIndicator_loading__msJkV",complete:"LoadingIndicator_complete__elXsa"}},91493:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return l},noSSR:function(){return a}});let r=n(34007);n(77269),n(13385);let i=r._(n(95314));function o(e){return{default:(null==e?void 0:e.default)||e}}function a(e,t){return delete t.webpack,delete t.modules,e(t)}function l(e,t){let n=i.default,r={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;return null}};e instanceof Promise?r.loader=()=>e:"function"==typeof e?r.loader=e:"object"==typeof e&&(r={...r,...e});let l=(r={...r,...t}).loader;return(r.loadableGenerated&&(r={...r,...r.loadableGenerated},delete r.loadableGenerated),"boolean"!=typeof r.ssr||r.ssr)?n({...r,loader:()=>null!=l?l().then(o):Promise.resolve(o(()=>null))}):(delete r.webpack,delete r.modules,a(n,r))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},92329:(e,t,n)=>{"use strict";n.d(t,{Sz:()=>a,Wx:()=>l,qK:()=>s});var r=n(77269),i=n(13385);let o=(0,i.createContext)({pathname:"",url:"",pageProps:{page:null,pageType:"article",previewId:null,isPreview:!1,identifier:"0",additionalContext:{},reqHost:"",environment:"",featureFlags:[],siteConfig:{},siteStyle:null,apiErrors:null,footer:null,header:null,devInfo:{},metaOverrides:{},devhubData:null,viewConfig:{},qpsData:null}});function a(){return(0,i.useContext)(o)}function l(){var e,t;let{pageProps:n}=a();return null!=(t=null==n||null==(e=n.siteConfig)?void 0:e.siteCode)?t:"unknown"}function s(e){let{pageContext:t,children:n}=e;return(0,r.jsx)(o.Provider,{value:t,children:n})}},93083:(e,t,n)=>{e.exports=n(45762)},93608:(e,t,n)=>{"use strict";function r(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e=e.replace(/\|/g,"").replace(/\s+/g," ");let r=t?"Item ".concat(t.toString()):"";return"".concat(e,"|").concat(r,"|").concat(n)}n.d(t,{Z:()=>r})},94020:(e,t,n)=>{"use strict";var r=Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};Object.defineProperty(t,"__esModule",{value:!0}),t.FeatureFlagService=void 0;var i=n(77571);Object.defineProperty(t,"FeatureFlagService",{enumerable:!0,get:function(){return i.FeatureFlagService}}),function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)}(n(67924),t)},95314:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});let r=n(34007)._(n(13385)),i=n(59060),o=[],a=[],l=!1;function s(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}class c{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e}
1,this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function d(e){return function(e,t){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),o=null;function s(){if(!o){let t=new c(e,n);o={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return o.promise()}if(!l){let e=n.webpack&&1?n.webpack():n.modules;e&&a.push(t=>{for(let n of e)if(t.includes(n))return s()})}function d(e,t){s();let a=r.default.useContext(i.LoadableContext);a&&Array.isArray(n.modules)&&n.modules.forEach(e=>{a(e)});let l=r.default.useSyncExternalStore(o.subscribe,o.getCurrentValue,o.getCurrentValue);return r.default.useImperativeHandle(t,()=>({retry:o.retry}),[]),r.default.useMemo(()=>{var t;return l.loading||l.error?r.default.createElement(n.loading,{isLoading:l.loading,pastDelay:l.pastDelay,timedOut:l.timedOut,error:l.error,retry:o.retry}):l.loaded?r.default.createElement((t=l.loaded)&&t.default?t.default:t,e):null},[e,l])}return d.preload=()=>s(),d.displayName="LoadableComponent",r.default.forwardRef(d)}(s,e)}function u(e,t){let n=[];for(;e.length;){let r=e.pop();n.push(r(t))}return Promise.all(n).then(()=>{if(e.length)return u(e,t)})}d.preloadAll=()=>new Promise((e,t)=>{u(o).then(e,t)}),d.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let n=()=>(l=!0,t());u(a,e).then(n,n)})),window.__NEXT_PRELOADREADY=d.preloadReady;let p=d},95531:e=>{e.exports={marginBottom:"ad_marginBottom__76CN_",stickyAd:"ad_stickyAd__hFSqe"}},96341:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(27647)}])},97919:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;class n{async [Symbol.asyncDispose](){this.response&&!this.response.bodyUsed&&await this.onDispose()}constructor(e,t){this.response=e,this.onDispose=t}}async function r(e,t){let{timeoutMs:r=1e4,logger:i,...o}=t,a=AbortSignal.timeout(r),l="signal"in o&&o.signal?AbortSignal.any([o.signal,a]):a,s=await fetch(e,{...o,signal:l});return new n(s,async()=>{try{var e;await (null==(e=s.body)?void 0:e.cancel())}catch(e){i.error(e,"DisposeResponseBodyError")}})}}},e=>{var t=t=>e(e.s=t);e.O(0,[6593,8792],()=>(t(96341),t(82983))),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.