PageSourceSearch

https://www.housebeautiful.com/_assets/fre/scopes/hdm/_next/static/chunks/98370.e12020190b9d4106.js

js housebeautiful.com collected 2026-09-24 07:28:56 UTC 23,003 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[98370],{6499:(e,t,r)=>{r.d(t,{A:()=>x});var i=r(71055),n=r(54783),o=r(88329),a=r(37336),s=r(52134),l=r(93312),d=r(38536),c=r(28270);let h={headerSx:{background:"neutral-100",paddingTop:"space-xl",paddingBottom:"space-lg",paddingRight:{_:"space-lg",lg:"space-2xl"},paddingLeft:{_:"space-lg",lg:"space-2xl"},"&:hover":{bg:"neutral-200",borderBottomLeftRadius:"{*sizes.primitive-16}",borderBottomRightRadius:"{*sizes.primitive-16}"}},contentSx:{background:"neutral-100"}},u=(0,d.A)("div",{target:"etlajd2"})((0,c.Ay)("key-points-wrapper",{marginTop:"{*sizes.primitive-16}","&[data-journey-blur]":{marginBottom:"{*sizes.primitive-20}"},borderX:"border-xxs-grey",borderBottom:e=>e.isOpen?"none":"border-xxs-grey",ul:{marginY:"0",paddingLeft:"{*sizes.primitive-24}"},li:{paddingBottom:"{*sizes.primitive-12}","&:last-child":{paddingBottom:"{*sizes.primitive-8}"}},'[data-theme-key="collapsible-header-button"]':{paddingTop:"space-xl",paddingY:"space-xl",paddingBottom:e=>e.isOpen?"space-lg":"space-xl",borderTop:"border-xxs-grey",borderBottomLeftRadius:"{*sizes.primitive-16}",borderBottomRightRadius:"{*sizes.primitive-16}",borderTopLeftRadius:"{*sizes.primitive-16}",borderTopRightRadius:"{*sizes.primitive-16}",marginBottom:"-0.0625rem",position:"relative"},"[data-theme-key='collapsible-icon-wrapper']":{border:"none",marginRight:"0"},"[data-theme-key='collapsible-section-text']":{borderBottom:"border-xxs-grey",borderBottomLeftRadius:"{*sizes.primitive-16}",borderBottomRightRadius:"{*sizes.primitive-16}"},"[data-theme-key='collapsible-icon-right']":{height:"iconSize.m",width:"iconSize.m"}}),""),p=(0,d.A)("div",{target:"etlajd1"})((0,c.Ay)("key-points-body-container",{padding:{_:"0 {*sizes.primitive-16} {*sizes.primitive-24}",lg:"0 {*sizes.primitive-32} {*sizes.primitive-24}"},"&[data-journey-blur]":{filter:"blur(.625rem)",pointerEvents:"none !important",userSelect:"none !important"}}),""),m=(0,d.A)("div",{target:"etlajd0"})({name:"4ved3l",styles:"display:flex;align-items:center;gap:0.5rem"});var y=r(174);let g=new(r(47382)).default("key-points-analytics");var f=r(98219),k=r(9954),b=r(71055);let v={datalayer:{embeddedMedia:{content_attribute:{key_points:1}}}},w=function({renderedContent:e,title:t,isAIGenerated:r,customTitle:d=null,onOpen:c=null,onClose:w=null}){let{isOpen:x,onToggle:P,containerRef:A}=((e,t,r,n,o)=>{let{0:a,1:s}=(0,i.useState)(!0),l=(0,i.useRef)(!1),d=(0,i.useRef)(null),c=(0,i.useCallback)(()=>{let e=!a;e?(g.info("Dispatching key_points_open event"),(0,y.A)({eventName:"key_points_open",eventParameters:{primaryUx:"key_points"}}),n&&n()):(g.info("Dispatching key_points_collapse event"),(0,y.A)({eventName:"key_points_collapse",eventParameters:{primaryUx:"key_points"}}),o&&o()),s(e)},[a,n,o]);return(0,i.useEffect)(()=>{if(l.current)return void g.info("IntersectionObserver setup skipped - already tracked");let e=setTimeout(()=>{if(!d.current)return void g.warn("containerRef.current is still null after setTimeout");g.info("Setting up IntersectionObserver",{containerRefCurrent:!!d.current});let e=new IntersectionObserver(t=>{g.info("IntersectionObserver callback fired",{entriesCount:t.length}),t.forEach(t=>{g.info("Processing entry",{isIntersecting:t.isIntersecting,intersectionRatio:t.intersectionRatio,hasTrackedInView:l.current}),t.isIntersecting&&!l.current&&(g.info("Dispatching key_points_in_view event"),(0,y.A)({eventName:"key_points_in_view",eventParameters:{primaryUx:"key_points"}}),l.current=!0,e.disconnect())})},{threshold:.1});return g.info("Starting to observe container"),e.observe(d.current),()=>{g.info("Cleaning up IntersectionObserver"),e.disconnect()}},0);return()=>{clearTimeout(e)}},[]),{title:t,renderedContent:e,isOpen:a,onToggle:c,containerRef:d,isAIGenerated:r}})(e,t,r,c,w),{0:T,1:R}=(0,i.useState)(!1),I=d||t;(0,i.useEffect)(()=>{window.jamState?.get&&R(window.jamState.get("blur-content")||!1);let e=e=>{e.target.jamState?.get&&R(e.target.jamState.get("blur-content")||!1)};return window.addEventListener("journey-blur-content",e),()=>{window.removeEventListener("journey-blur-content",e)}},[]);let C=x?"Hide Key Points section":"Open Key Points section",S=(0,s.Z)(),_=S?l.KeyPointsWrapper:u,O=S?l.KeyPointsBodyContainer:p;return(0,k.Y)(b.Fragment,null,e?(0,k.Y)(_,{ref:A,isOpen:x,"data-journey-blur":T||void 0},(0,k.Y)(n.A,{"aria-label":C,title:(0,k.Y)(m,null,r?(0,k.Y)(f.A,{width:18,height:18}):null,I),isOpen:x,onToggle:P,sxProps:h,icons:{left:null,right:(0,k.Y)(o.A,null)}},(0,k.Y)(O,{"data-journey-blur":T||void 0},(0,k.Y)("div",{dangerouslySetInnerHTML:{__html:e}})))):null,(0,k.Y)(a.qZ,{props:v}))};w.displayName="KeyPoints";let x=w},98219:(e,t,r)=>{r.d(t,{A:()=>s});var i=r(1873),n=r(61546),o=r(64781),a=r(9954);let s=function(e){return(0,a.Y)(o.default,(0,i.A)({type:n.PV.Stylized,relativeUrl:"static/icons/sparkle-regular.svg",alt:"Sparkle Regular",width:24,height:24},e))}},98370:(e,t,r)=>{r.r(t),r.d(t,{default:()=>x});var i=r(71055),n=r(47382),o=r(800),a=r(6499),s=r(7144);let l="control",d="variation_1",c=new n.default("keypoints-longform-ab-test");function h(e,...t){c.info(e,...t)}var u=r(93682);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}let m=new n.default("keypoints-scroll-tracking"),y=[{articleId:"a69709463",url:"/health/a69709463/jelly-roll-transformation-weight-loss/",keyPoints:[{id:"kp-1",text:"Country star Jelly Roll was once over 500 lbs—but has shed over half of that through therapy, diet, and exercise.",order:1},{id:"kp-2",text:"He started with very basic changes (like short walks) and gradually built up to daily movement, better eating, and removing temptations.",order:2},{id:"kp-3",text:"He didn't chase a number on the scale—his main goal was to change his life and even get on the cover of Men's Health. Mission accomplished.",order:3}]},{articleId:"a69824769",url:"/entertainment/a69824769/connor-storrie-heated-rivalry-interview/",keyPoints:[{id:"kp-1",text:"HBO's Heated Rivalry debuted to instant viral fame, with one of its episodes tying as the highest-rated TV episode of all time, according to IMDb.",order:1},{id:"kp-2",text:"Texas-born Connor Storrie learned Russian so convincingly for his role that native speakers were stunned.",order:2}
1,{id:"kp-3",text:"The show has defied audience expectations, winning over straight and queer viewers in ways its creators never anticipated.",order:3}]},{articleId:"a69730859",url:"/health/a69730859/tucker-carlson-nicotine-interview/",keyPoints:[{id:"kp-1",text:"Tucker Carlson launched his own nicotine pouch brand after Philip Morris asked him to stop making unsolicited claims about Zyn.",order:1},{id:"kp-2",text:"Nicotine pouches have become the unlikely rallying cry of the conservative manosphere, and a vehicle for Carlson's ever-expanding ambitions.",order:2},{id:"kp-3",text:"Carlson freely admits that his product Alp is addictive and is already eyeing selling 100 million units.",order:3}]},{articleId:"a70398841",url:"/fitness/a70398841/bpc-157-what-to-know-now/",keyPoints:[{id:"kp-1",text:'Called the "Wolverine peptide," BPC-157 has exploded in popularity among athletes and gym-goers.',order:1},{id:"kp-2",text:"Despite decades of animal research, BPC-157 has had almost no human studies. The FDA has moved to ban it.",order:2},{id:"kp-3",text:'Sourcing it means navigating a murky gray market of online vials labeled "for research only," leaving consumers to self-inject.',order:3}]},{articleId:"a69730176",url:"/health/a69730176/nicotine-boom-dangers/",keyPoints:[{id:"kp-1",text:"Nicotine pouches have become a popular productivity aid for CEOs, athletes, and biohackers—but the supporting science is murkier than the marketing suggests.",order:1},{id:"kp-2",text:"After six months of heavy pouch use, one man's blood sugar crept into prediabetes range.",order:2},{id:"kp-3",text:"Youth use has climbed 64 percent in two years, as flavored tins flood convenience stores.",order:3}]},{articleId:"a70485775",url:"/entertainment/a70485775/rob-rausch-the-traitors-finale-interview/",keyPoints:[{id:"kp-1",text:"Rob Rausch came to The Traitors as a snake-wrangling Love Island alum and left as arguably the best Traitor in the show's U.S. history.",order:1},{id:"kp-2",text:"The 27-year-old Alabamian reveals how genuinely connecting with everyone around him—even the people he's plotting to eliminate—was his most lethal weapon.",order:2},{id:"kp-3",text:"Rausch breaks down the mental and physical game behind one of reality TV's most unexpected breakouts.",order:3}]},{articleId:"a69745628",url:"/entertainment/a69745628/jack-champion-avatar-fire-and-ash-interview/",keyPoints:[{id:"kp-1",text:"Jack Champion has spent more than a third of his 21 years living inside the Avatar universe—with two more films already in production.",order:1},{id:"kp-2",text:"From parkour gyms in L.A. to freezing cold tanks in New Zealand, Champion breaks down the grueling four-year physical transformation behind his character's physicality.",order:2},{id:"kp-3",text:"The actor opens up about growing up under James Cameron's wing—and what it's like to film a fight scene with Zoe Salda\xf1a holding a knife to your throat.",order:3}]},{articleId:"a19038260",url:"/health/a19038260/why-pot-makes-you-paranoidbut-mellows-out-your-buddies/",keyPoints:[{id:"kp-1",text:"The same brain system that naturally calms anxiety is hijacked by marijuana's THC—and when it goes past a surprisingly low threshold, can flip from relaxing to panic-inducing.",order:1},{id:"kp-2",text:"CBD, THC's lesser-known counterpart, actually buffers against weed-induced anxiety.",order:2},{id:"kp-3",text:'Dispensary strain labels are unreliable, making it difficult to choose the "right" one.',order:3}]},{articleId:"a69511298",url:"/health/a69511298/microdosing-glp-1s-risks-benefits/",keyPoints:[{id:"kp-1",text:"Healthy, fit men are now microdosing Ozempic-style drugs—not to lose weight, but to optimize blood sugar, energy, and longevity.",order:1},{id:"kp-2",text:"The anecdotal results are striking, but doctors warn the science hasn't caught up to the enthusiasm.",order:2},{id:"kp-3",text:"The DIY microdosing boom carries real risks that guys may be too optimistic to see clearly.",order:3}]},{articleId:"a46663668",url:"/entertainment/a46663668/alan-ritchson-reacher-interview/",keyPoints:[{id:"kp-1",text:"Alan Ritchson spent two decades collecting near-misses—Aquaman, Thor, Titans—before Reacher.",order:1},{id:"kp-2",text:"His physical transformation for the character involves two hours of daily lifting, a complete nutritional overhaul, and testosterone-replacement therapy.",order:2},{id:"kp-3",text:"Behind the mountain of muscle is a man managing bipolar disorder, suicidal ideation, and manic episodes on set.",order:3}]},{articleId:"a61941240",url:"/fitness/a61941240/trenbolone-steroid-trend/",keyPoints:[{id:"kp-1",text:"Trenbolone—a cattle steroid three times more potent than testosterone—has exploded from hardcore bodybuilding circles onto teens' TikTok feeds.",order:1},{id:"kp-2",text:'The "tren body" is real, but so are the consequences: paranoia, violent thoughts, insomnia, and more.',order:2},{id:"kp-3",text:"Researchers warn that social media has done what the black market never could—n
1ormalize one of the most neurotoxic steroids ever made.",order:3}]},{articleId:"a60952018",url:"/health/a60952018/sebastian-junger-in-my-time-of-dying-interview/",keyPoints:[{id:"kp-1",text:"Sebastian Junger—author of The Perfect Storm and Tribe—nearly bled to death in his own driveway when a pancreatic aneurysm ruptured.",order:1},{id:"kp-2",text:"Afterward, he investigated his own near-death experience from the inside out.",order:2},{id:"kp-3",text:"While in the hospital, Junger saw his dead father beckoning him toward a dark pit—an encounter so real it sent him searching for proof of what lies beyond death.",order:3}]},{articleId:"a69299694",url:"/entertainment/a69299694/dimitrius-schuster-koloamatangi-predator-badlands-interview/",keyPoints:[{id:"kp-1",text:"Dimitrius Schuster-Koloamatangi had never heard of the Predator franchise when he auditioned for Badlands.",order:1},{id:"kp-2",text:"He won the lead role by freestyling an alien language and outrunning stuntmen on an obstacle course.",order:2},{id:"kp-3",text:"Drill rap and end-of-day reggae was the unlikely mental health tool that kept him sane while filming.",order:3}]},{articleId:"a70176015",url:"/health/a70176015/gary-brecka-detox/",keyPoints:[{id:"kp-1",text:"Gary Brecka has built a wellness empire by doing what doctors won't—naming villains: seed oils, folic acid, micropoisons, and the U.S. healthcare system.",order:1},{id:"kp-2",text:"Brecka is either the most powerful health influencer in America or its most compelling charlatan—possibly both.",order:2},{id:"kp-3",text:"Brecka has RFK Jr.'s ear and positions himself as both genuinely helpful and, at times, pseudoscientific.",order:3}]},{articleId:"a69557023",url:"/nutrition/a69557023/are-almonds-toxic/",keyPoints:[{id:"kp-1",text:"The almond didn't become America's most popular tree nut by accident—it got there through decades of savvy lobbying, subsidized research, and marketing.",order:1},{id:"kp-2",text:"A loud corner of the wellness internet has declared almonds one of the most toxic foods you can eat—but the science behind the panic is shaky.",order:2},{id:"kp-3",text:"The battle over almonds shows exactly how nutrition wars get manufactured, amplified, and monetized online.",order:3}]},{articleId:"a65608817",url:"/entertainment/a65608817/austin-butler-transformation-interview/",keyPoints:[{id:"kp-1",text:"Austin Butler lost himself completely in Elvis—leading to temporary blindness, a mystery foot injury, and a reckoning with what years of Method acting had done to his body and mind.",order:1},{id:"kp-2",text:"Now starring opposite Jeremy Allen White in Enemies, Butler is learning that world-class work doesn't have to come at the cost of destroying yourself.",order:2},{id:"kp-3",text:"Butler breaks down the wildly different physical transformations behind his most demanding roles.",order:3}]},{articleId:"a65922862",url:"/fitness/a65922862/hybrid-training-hype/",keyPoints:[{id:"kp-1",text:'"Hybrid athletes" are flooding social media with jacked physiques and marathon times.',order:1},{id:"kp-2",text:"The science actually backs combining strength and endurance training, but the key isn't doing more—it's doing less of each, smarter.",order:2}]},{articleId:"a69019804",url:"/fitness/a69019804/coaches-cael-sanderson-penn-state-wrestling/",keyPoints:[{id:"kp-1",text:"Cael Sanderson went 159-0 in college and won Olympic gold—then built the most dominant dynasty in college wrestling history.",order:1},{id:"kp-2",text:"The Penn State coach has won 12 NCAA titles.",order:2},{id:"kp-3",text:"He shares why he preaches faith, humility, and life skills over wrestling technique.",order:3}]},{articleId:"a68016245",url:"/health/a68016245/v02max-heart-age/",keyPoints:[{id:"kp-1",text:"VO2 max is the measure of how much oxygen your muscles can use at full effort.",order:1},{id:"kp-2",text:"It is now considered a vital sign by the American Heart Association—a low score may be a bigger mortality risk than high cholesterol or smoking.",order:2},{id:"kp-3",text:"Just moving out of the lowest fitness category can cut your risk of early death by nearly 50 percent.",order:3}]},{articleId:"a64927456",url:"/health/a64927456/cut-cholesterol-half-success-story/",keyPoints:[{id:"kp-1",text:"A fitness-obsessed CEO spent two years hunting down the molecular reason why his LDL cholesterol was more than twice the optimal level.",order:1},{id:"kp-2",text:"He tested over 1,000 biomarkers and discovered that hidden stressors, a sleep disorder, and a cardiovascular fitness gap were quietly wrecking his 
1numbers.",order:2},{id:"kp-3",text:"Eventually, he cut his LDL in half with a strategy that had nothing to do with hacks—and everything to do with ruthless consistency.",order:3}]},{articleId:"a63149374",url:"/grooming/a63149374/looksmaxxing-auramaxxing-scentmaxxing-trend/",keyPoints:[{id:"kp-1",text:'"Looksmaxxing" is the Gen Z and Gen Alpha obsession with optimizing your face, jaw, and scent.',order:1},{id:"kp-2",text:"The concept started in incel forums and has now reached 10-year-olds practicing their jawline in iPhone cameras over breakfast.",order:2},{id:"kp-3",text:"The movement reveals something bigger than vanity: a generation of young men searching for control in a world that feels like it's left them behind.",order:3}]}];var g=r(9954);let f=new n.default("keypoints-longform-ab-test"),k=function({isTreatment:e}){var t;let r,n=function(){let[,e]=(0,s.A)("scroll_depth_25"),[,t]=(0,s.A)("scroll_depth_50"),[,r]=(0,s.A)("scroll_depth_75"),[,n]=(0,s.A)("scroll_depth_100"),[,o]=(0,s.A)("keypoints_in_view"),[,a]=(0,s.A)("keypoints_opened"),[,l]=(0,s.A)("keypoints_closed"),d=(0,i.useCallback)(()=>{h("\uD83D\uDCCA Primary Metric: Scroll depth 25%"),e()},[e]),c=(0,i.useCallback)(()=>{h("\uD83D\uDCCA Primary Metric: Scroll depth 50%"),t()},[t]),u=(0,i.useCallback)(()=>{h("\uD83D\uDCCA Primary Metric: Scroll depth 75%"),r()},[r]),p=(0,i.useCallback)(()=>{h("\uD83D\uDCCA Primary Metric: Scroll depth 100%"),n()},[n]),m=(0,i.useCallback)(()=>{h("\uD83D\uDCCA Secondary Metric: Keypoints in view"),o()},[o]);return{trackScrollDepth25Percent:d,trackScrollDepth50Percent:c,trackScrollDepth75Percent:u,trackScrollDepth100Percent:p,trackKeypointsInView:m,trackKeypointsOpened:(0,i.useCallback)(()=>{h("\uD83D\uDCCA Secondary Metric: Keypoints opened"),a()},[a]),trackKeypointsClosed:(0,i.useCallback)(()=>{h("\uD83D\uDCCA Secondary Metric: Keypoints closed"),l()},[l])}}(),{ref:l}=function(e){var t;let r,{trackKeypointsInView:n,trackScrollDepth25Percent:o,trackScrollDepth50Percent:a,trackScrollDepth75Percent:s,trackScrollDepth100Percent:l}=e,{ref:d}=function(e,t={}){let r=(0,i.useRef)(null),{0:n,1:o}=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let i=r.current;if(!i||n)return;let a=new IntersectionObserver(r=>{r.forEach(r=>{r.isIntersecting&&!n&&(m.info("\uD83D\uDCCA Key points impression fired",{element:i.tagName,threshold:t.threshold||.1,intersectionRatio:r.intersectionRatio}),e(),o(!0),a.disconnect())})},function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach(function(t){(0,u.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({threshold:.1},t));return a.observe(i),()=>{a&&a.disconnect()}},[e,n,t]),{ref:r}}(n),{milestones:c}=(t=(0,i.useCallback)(e=>{25===e&&o(),50===e&&a(),75===e&&s(),100===e&&l()},[o,a,s,l]),r=(0,i.useRef)({scroll25:!1,scroll50:!1,scroll75:!1,scroll100:!1}),(0,i.useEffect)(()=>{var e;let i,n,o=(e=()=>{let e=window.scrollY||document.documentElement.scrollTop,i=document.documentElement.scrollHeight-window.innerHeight;if(i<=0)return;let n=e/i*100;n>=25&&!r.current.scroll25&&(r.current.scroll25=!0,m.info("\uD83D\uDCCA PRIMARY METRIC - Scroll depth 25%",{scrollPercentage:Math.round(100*n)/100}),t(25)),n>=50&&!r.current.scroll50&&(r.current.scroll50=!0,m.info("\uD83D\uDCCA PRIMARY METRIC - Scroll depth 50%",{scrollPercentage:Math.round(100*n)/100}),t(50)),n>=75&&!r.current.scroll75&&(r.current.scroll75=!0,m.info("\uD83D\uDCCA PRIMARY METRIC - Scroll depth 75%",{scrollPercentage:Math.round(100*n)/100}),t(75)),n>=100&&!r.current.scroll100&&(r.current.scroll100=!0,m.info("\uD83D\uDCCA PRIMARY METRIC - Scroll depth 100%",{scrollPercentage:Math.round(100*n)/100}),t(100))},n=0,function(...t){let r=Date.now();r-n>100?(e.apply(this,t),n=r):(clearTimeout(i),i=setTimeout(()=>{e.apply(this,t),n=Date.now()},100-(r-n)))});return window.addEventListener("scroll",o),()=>{window.removeEventListener("scroll",o)}},[t]),{milestones:r.current});return{ref:d,milestones:c}}(n),{trackKeypointsOpened:d,trackKeypointsClosed:c}=n,k=(0,i.useRef)(null),{0:b,1:v}=(0,i.useState)(null),w=(0,o.BV)("layoutContextProps.canonicalUrl"),x=(0,o.BV)("data.content.0.key_points"),P=null;try{P=w?new URL(w).pathname:null}catch(e){f.error("Failed to parse canonical URL",{canonicalUrl:w,error:e})}let A=P?(t=P,r=y.find(e=>e.url===t),r?.keyPoints||null):null,T=e&&A&&!x,R=A?`<ul class="key-points-list">${A.map(e=>`<li class="key-points-item">${e.text}</li>`).join("")}</ul>`:null;return((0,i.useEffect)(()=>
1{if(T){try{let e=document.querySelector('[data-node-id="0"]');if(!e)return void f.warn("First paragraph not found for keypoints injection",{pathname:P});if(e&&!k.current){let t=document.createElement("div");t.setAttribute("data-ab-test","keypoints-longform"),t.setAttribute("data-journey-unblur","true"),t.setAttribute("data-ad-exclude","true"),e.parentNode.insertBefore(t,e),k.current=t,v(t),f.info("✅ Keypoints container injected successfully",{pathname:P,testKeypointsCount:A?.length})}}catch(e){f.error("Failed to inject keypoints container",{pathname:P,error:e})}return()=>{try{k.current&&k.current.parentNode&&(k.current.parentNode.removeChild(k.current),k.current=null)}catch(e){f.error("Failed to cleanup keypoints container",{error:e})}}}},[T,P,A]),T&&R&&b)?(0,i.createPortal)((0,g.Y)("div",{ref:l},(0,g.Y)(a.A,{renderedContent:R,title:"Key Points",isAIGenerated:!1,customTitle:"Key Points",onOpen:d,onClose:c})),b):null};var b=r(86385),v=r(80166);let w=new n.default("keypoints-longform-ab-test"),x=function(){let e,t,r,{isEnabled:n,isTreatment:o,isControl:a,variation:s,isQAMode:c}=(e=function(){if(v.O_)return null;try{let e=new URLSearchParams(window.location.search).get("qa_keypoints");if(!e)return null;switch(e.toLowerCase()){case"treatment":case"variation_1":case"on":return h("QA Mode: Forcing treatment (show keypoints)",{qaMode:e}),d;case"control":case"off":return h("QA Mode: Forcing control (no keypoints)",{qaMode:e}),l;default:return h("QA Mode: Invalid value, ignoring",{qaMode:e}),null}}catch(e){return h("QA Mode: Error reading URL parameter",{error:e}),null}}(),t=(0,b.A)("keypoints_longform_test"),{isEnabled:!!(r=e||t),isTreatment:r===d,isControl:r===l,variation:r,isQAMode:!!e});return(0,i.useEffect)(()=>{n?a?w.info("\uD83D\uDD04 [KEYPOINTS-AB] A/B Test Decision: No keypoints (Control)",{isEnabled:n,isTreatment:o,isControl:a,variation:s,isQAMode:c,reason:"Control Variation"}):o&&w.info("\uD83D\uDD04 [KEYPOINTS-AB] A/B Test Decision: Show keypoints (Treatment)",{isEnabled:n,isTreatment:o,isControl:a,variation:s,isQAMode:c,reason:"Treatment Variation"}):w.info("\uD83D\uDD04 [KEYPOINTS-AB] A/B Test Decision: No keypoints (Flag Disabled)",{isEnabled:n,isTreatment:o,isControl:a,variation:s,reason:"Flag Disabled"})},[n,o,a,s,c]),(0,g.Y)(k,{isTreatment: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.