{"version":3,"file":"StreamingStatusButton.Cmx6C89N.mjs","names":["useMemo","React.forwardRef","React.useRef","React.useState","React.useCallback","React.useMemo","React.useId"],"sources":["https:/framerusercontent.com/modules/pcuLSUrKXpvgpebgwm2d/le7m2TpjkjtyqbCUxgRQ/Copyright.js","https:/framerusercontent.com/modules/sQWa0wrgXPPTbnQSaVgt/POorFUI4Zt23kBeFNLek/kQZT5Ce_d.js","https:/framerusercontent.com/modules/kxRUAEQlvLPnQl5FJakG/jx9uAJGNIBraAo26Uy3W/StreamingStatusButton.js"],"sourcesContent":["// Dynamic copyright component that automatically updates the year\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useMemo}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function Copyright(props){const{companyName=\"Your Company\",startYear=2020,showStartYear=true,showCopyrightText=false,copyrightTextPosition=\"before\",prefix=\"\",suffix=\"\",showAllRightsReserved=false,font,textColor,companyNameFont,companyNameColor,enableCompanyLink=false,companyLink=\"\",textAlign=\"left\"}=props;const copyrightText=useMemo(()=>{const currentYear=new Date().getFullYear();// Build the year part\nlet yearPart=\"\";if(showStartYear&&startYear&&startYear<currentYear){yearPart=`${startYear}-${currentYear}`;}else{yearPart=`${currentYear}`;}// Build copyright text part\nlet copyrightPart=\"\";if(showCopyrightText){if(copyrightTextPosition===\"before\"){copyrightPart=\"Copyright \";}}// Build main text with proper spacing\nlet mainText=\"\";// Add prefix with gap if present\nif(prefix){mainText+=`${prefix} `;}// Add copyright text before symbol if needed\nmainText+=copyrightPart;// Add symbol and year\nmainText+=`\\xa9 `;// Add copyright text after symbol if needed\nif(showCopyrightText&&copyrightTextPosition===\"after\"){mainText+=\"Copyright \";}// Add year\nmainText+=`${yearPart} `;return{beforeCompany:mainText,afterCompany:\"\"};},[startYear,showStartYear,showCopyrightText,copyrightTextPosition,prefix]);const afterCompanyText=useMemo(()=>{let afterText=\"\";// Add suffix with gap if present\nif(suffix){afterText+=` ${suffix}`;}// Add \"All rights reserved.\" if needed\nif(showAllRightsReserved){afterText+=\". All rights reserved.\";}return afterText;},[suffix,showAllRightsReserved]);const isFixedWidth=props?.style&&props.style.width===\"100%\";const companyElement=enableCompanyLink&&companyLink?/*#__PURE__*/_jsx(\"a\",{href:companyLink,style:{color:companyNameColor,textDecoration:\"none\",...companyNameFont},children:companyName}):/*#__PURE__*/_jsx(\"span\",{style:{color:companyNameColor,...companyNameFont},children:companyName});return /*#__PURE__*/_jsxs(\"span\",{style:{...props.style,color:textColor,display:\"block\",...font,textAlign:textAlign},children:[copyrightText.beforeCompany,companyElement,afterCompanyText]});}addPropertyControls(Copyright,{companyName:{type:ControlType.String,title:\"Company Name\",defaultValue:\"Your Company\"},showStartYear:{type:ControlType.Boolean,title:\"Show Start Year\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},startYear:{type:ControlType.Number,title:\"Start Year\",defaultValue:2020,min:1900,max:new Date().getFullYear(),step:1,displayStepper:true,hidden:({showStartYear})=>!showStartYear},showCopyrightText:{type:ControlType.Boolean,title:\"Show 'Copyright' Text\",defaultValue:false,enabledTitle:\"Show\",disabledTitle:\"Hide\"},copyrightTextPosition:{type:ControlType.Enum,title:\"Copyright Text Position\",options:[\"before\",\"after\"],optionTitles:[\"Before Symbol\",\"After Symbol\"],defaultValue:\"before\",displaySegmentedControl:true,hidden:({showCopyrightText})=>!showCopyrightText},prefix:{type:ControlType.String,title:\"Prefix\",defaultValue:\"\",placeholder:\"Text before copyright...\"},suffix:{type:ControlType.String,title:\"Suffix\",defaultValue:\"\",placeholder:\"Text after company name...\"},showAllRightsReserved:{type:ControlType.Boolean,title:\"All Rights Reserved\",defaultValue:false,enabledTitle:\"Show\",disabledTitle:\"Hide\"},textAlign:{type:ControlType.Enum,title:\"Text Align\",options:[\"left\",\"center\",\"right\"],optionTitles:[\"Left\",\"Center\",\"Right\"],defaultValue:\"left\",displaySegmentedControl:true},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#000000\"},font:{type:ControlType.Font,title:\"Font\",defaultValue:{fontSize:\"14px\",variant:\"Regular\",letterSpacing:\"-0.01em\",lineHeight:\"1.2em\"},controls:\"extended\",defaultFontType:\"sans-serif\"},companyNameColor:{type:ControlType.Color,title:\"Company Name Color\",defaultValue:\"#000000\"},companyNameFont:{type:ControlType.Font,title:\"Company Name Font\",defaultValue:{fontSize:\"14px\",variant:\"Bold\",letterSpacing:\"-0.01em\",lineHeight:\"1.2em\"},controls:\"extended\",defaultFontType:\"sans-serif\"},enableCompanyLink:{type:ControlType.Boolean,title:\"Enable Company Link\",defaultValue:false,enabledTitle:\"Enable\",disabledTitle:\"Disable\"},companyLink:{type:ControlType.String,title:\"Company Link\",defaultValue:\"https://example.com\",placeholder:\"https://example.com\",hidden:({enableCompanyLink})=>!enableCompanyLink}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Copyright\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Copyright.map","// Generated by Framer (6ca5d98)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,useSVGTemplate,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask=\"var(--framer-icon-mask)\";const Base=/*#__PURE__*/forwardRef(function(props,ref){return /*#__PURE__*/_jsx(\"svg\",{...props,ref:ref,children:props.children});});const MotionSVG=motion.create(Base);const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(MotionSVG,{...rest,layoutId:layoutId,ref:ref,children:children}):/*#__PURE__*/_jsx(\"svg\",{...rest,ref:ref,children:children});});const svg='<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 10.5 5.5 L 5.25 0 L 0 5.5\" fill=\"transparent\" height=\"5.5px\" id=\"nJPnMruC9\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--1335ju, 1.5)\" stroke=\"var(--18mrqx2, rgb(0, 0, 0))\" transform=\"translate(6.75 4.75)\" width=\"10.5px\"/><path d=\"M 0 13.5 L 0 0\" fill=\"transparent\" height=\"13.5px\" id=\"ElaVP7FBq\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--1335ju, 1.5)\" stroke=\"var(--18mrqx2, rgb(0, 0, 0))\" transform=\"translate(12 5.75)\" width=\"1px\"/></svg>';const getProps=({dots,height,id,stroke,width,width1,...props})=>{return{...props,BKVe8Pgvw:dots??props.BKVe8Pgvw??1,fICyAUQY1:stroke??props.fICyAUQY1??\"rgb(0, 0, 0)\",lKf_CQTz5:width1??props.lKf_CQTz5??1.5};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,fICyAUQY1,lKf_CQTz5,BKVe8Pgvw,...restProps}=getProps(props);const href=useSVGTemplate(\"2021499928\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-qtWV2\",className),layoutId:layoutId,ref:ref,role:\"presentation\",style:{\"--1335ju\":lKf_CQTz5,\"--18mrqx2\":fICyAUQY1,...style},viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"use\",{href:href})});});const css=[`.framer-qtWV2 { -webkit-mask: ${mask}; aspect-ratio: 1; display: block; mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"fICyAUQY1\":\"stroke\",\"lKf_CQTz5\":\"width1\",\"BKVe8Pgvw\":\"dots\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Arrow Up\",\"color\":{\"type\":\"variable\",\"value\":\"18mrqx2\"},\"set\":{\"localId\":\"vectorSet/SuYHhKUZG\",\"id\":\"SuYHhKUZG\",\"moduleId\":\"EqX8thWQjdZcOB1c6p5N\"}}\n * @framerDisableUnlink true\n */const Icon=withCSS(Component,css,\"framer-qtWV2\");Icon.displayName=\"Arrow Up\";export default Icon;addPropertyControls(Icon,{fICyAUQY1:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Stroke\",type:ControlType.Color},lKf_CQTz5:{defaultValue:1.5,displayStepper:true,hidden:false,max:4,min:0,step:.5,title:\"Width\",type:ControlType.Number},BKVe8Pgvw:{defaultValue:1,displayStepper:true,hidden:true,max:4,min:1,title:\"Dots\",type:ControlType.Number}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerVariables\":\"{\\\"fICyAUQY1\\\":\\\"stroke\\\",\\\"lKf_CQTz5\\\":\\\"width1\\\",\\\"BKVe8Pgvw\\\":\\\"dots\\\"}\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"24\",\"framerDisableUnlink\":\"true\",\"framerVector\":\"{\\\"name\\\":\\\"Arrow Up\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"18mrqx2\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/SuYHhKUZG\\\",\\\"id\\\":\\\"SuYHhKUZG\\\",\\\"moduleId\\\":\\\"EqX8thWQjdZcOB1c6p5N\\\"}}\",\"framerIntrinsicHeight\":\"24\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerImmutableVariables\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// User request: Create a new standalone Framer React/TypeScript component asset named \"Streaming Status Button\" with shared polling/fetch state, robust runtime/browser handling, accessible trigger + dropdown links (Twitch/YouTube), portal positioning, canvas preview controls, and no changes to existing files or canvas content.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{createPortal}from\"react-dom\";const DEFAULT_ENDPOINT=\"https://stream.bun-e.com/status\";const POLL_MS=6e4;const REQUEST_TIMEOUT_MS=1e4;const CLOSE_DELAY_MS=180;const pollStore=new Map;const FONT_FAMILY_FALLBACK=\"Jua, ui-rounded, 'Trebuchet MS', 'Arial Rounded MT Bold', system-ui, sans-serif\";function normalizeStatus(value){if(typeof value!==\"string\")return null;const lowered=value.toLowerCase();if(lowered===\"live\"||lowered===\"online\")return\"live\";if(lowered===\"offline\")return\"offline\";return null;}function notify(entry){entry.listeners.forEach(listener=>listener(entry.snapshot));}async function fetchStatus(endpoint){const controller=new AbortController;const timeoutId=setTimeout(()=>{controller.abort();},REQUEST_TIMEOUT_MS);try{const response=await fetch(endpoint,{method:\"GET\",cache:\"no-store\",signal:controller.signal});if(!response.ok)throw new Error(`HTTP_${response.status}`);const data=await response.json();if(!data||typeof data!==\"object\")throw new Error(\"INVALID_JSON\");const status=normalizeStatus(data.status);if(!status)throw new Error(\"UNRECOGNIZED_STATUS\");const channel=typeof data.channel===\"string\"?data.channel:undefined;return{status,channel};}finally{clearTimeout(timeoutId);}}function getOrCreateEntry(endpoint){const existing=pollStore.get(endpoint);if(existing)return existing;const created={endpoint,listeners:new Set,subscribers:0,snapshot:{status:\"checking\",updatedAt:0},intervalId:null,inFlight:null};pollStore.set(endpoint,created);return created;}function runFetch(entry){if(entry.inFlight)return entry.inFlight;entry.inFlight=(async()=>{try{const result=await fetchStatus(entry.endpoint);entry.snapshot={status:result.status,channel:result.channel,updatedAt:Date.now()};}catch(_error){entry.snapshot={status:\"unavailable\",updatedAt:Date.now()};}finally{notify(entry);entry.inFlight=null;}})();return entry.inFlight;}function ensurePolling(entry){if(entry.intervalId!==null)return;entry.intervalId=window.setInterval(()=>{void runFetch(entry);},POLL_MS);}function clearPollingIfUnused(entry){if(entry.subscribers>0)return;if(entry.intervalId!==null){window.clearInterval(entry.intervalId);entry.intervalId=null;}}function subscribeToStatus(endpoint,listener){const entry=getOrCreateEntry(endpoint);entry.listeners.add(listener);entry.subscribers+=1;listener(entry.snapshot);if(typeof window!==\"undefined\"){ensurePolling(entry);const isFresh=entry.snapshot.updatedAt>0&&Date.now()-entry.snapshot.updatedAt<POLL_MS;if(!isFresh){void runFetch(entry);}else if(entry.inFlight){void entry.inFlight;}}return()=>{entry.listeners.delete(listener);entry.subscribers=Math.max(0,entry.subscribers-1);clearPollingIfUnused(entry);};}function getFontStyle(font){return{fontFamily:font?.fontFamily||FONT_FAMILY_FALLBACK,fontSize:font?.fontSize??\"20px\",fontWeight:font?.fontWeight??400,fontStyle:font?.fontStyle??\"normal\",letterSpacing:font?.letterSpacing??\"-0.01em\",lineHeight:font?.lineHeight??\"1em\",textAlign:font?.textAlign??\"left\"};}function getStatusLabel(status){if(status===\"live\")return\"LIVE: WATCH NOW\";if(status===\"offline\")return\"OFFLINE\";if(status===\"unavailable\")return\"STATUS UNAVAILABLE\";return\"CHECKING STATUS\";}function resolveFontSizePx(value,fallback=20){if(typeof value===\"number\"&&Number.isFinite(value))return value;if(typeof value===\"string\"){const parsed=parseFloat(value);if(Number.isFinite(parsed))return parsed;}return fallback;}function getTabbableElements(root){const selector='a[href],button:not([disabled]),input:not([disabled]),select:not([disabled]),textarea:not([disabled]),[tabindex]:not([tabindex=\"-1\"])';return Array.from(root.querySelectorAll(selector)).filter(el=>{if(el.getAttribute(\"aria-hidden\")===\"true\")return false;if(el.tabIndex<0)return false;if(el.closest(\"[inert]\"))return false;if(\"disabled\"in el&&el.disabled)return false;const style=typeof window!==\"undefined\"?window.getComputedStyle(el):null;if(style&&(style.display===\"none\"||style.visibility===\"hidden\"))return false;if(el.getClientRects().length===0)return false;return true;});}/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerIntrinsicWidth 240\n * @framerIntrinsicHeight 48\n */export default function StreamingStatusButton(props){const{style={},canvasPreview=\"auto\",testMode=false,previewMenu=false,radius=10,paddingX=20,paddingY=12,lightSize=18,menuGap=8,font={fontFamily:FONT_FAMILY_FALLBACK,fontSize:\"20px\",fontWeight:400,fontStyle:\"normal\",letterSpacing:\"-0.01em\",lineHeight:\"1em\",textAlign:\"left\"},liveButtonColor=\"#B91C1C\",offlineButtonColor=\"#4B4B4B\",unavailableButtonColor=\"#4B4B4B\",textColor=\"#FFFFFF\",liveDotColor=\"#FF3B3B\",dimDotColor=\"#9E9E9E\",twitchColor=\"#772CE8\",youtubeColor=\"#C8102E\"}=props;const isStatic=useIsStaticRenderer();const rootRef=React.useRef(null);const buttonRef=React.useRef(null);const menuRef=React.useRef(null);const labelRegionRef=React.useRef(null);const closeTimeoutRef=React.useRef(null);const[runtimeSnapshot,setRuntimeSnapshot]=React.useState({status:\"checking\",updatedAt:0});const[isOpen,setIsOpen]=React.useState(false);const[menuPosition,setMenuPosition]=React.useState(null);const[isFineHoverPointer,setIsFineHoverPointer]=React.useState(false);const[reduceMotion,setReduceMotion]=React.useState(false);const[liveRegionText,setLiveRegionText]=React.useState(\"\");const[fittedFontSizePx,setFittedFontSizePx]=React.useState(null);const lastAnnouncedStatusRef=React.useRef(\"checking\");const hoverStateRef=React.useRef({trigger:false,menu:false,bridge:false});const pendingFocusIndexRef=React.useRef(null);const menuHadFocusOnUnmountRef=React.useRef(false);const lastRuntimeAutoOpenKeyRef=React.useRef(\"\");const runtimePreviewAutoOpenedRef=React.useRef(false);const setOpen=React.useCallback(next=>{setIsOpen(next);},[]);const closeMenu=React.useCallback(()=>{pendingFocusIndexRef.current=null;hoverStateRef.current.trigger=false;hoverStateRef.current.menu=false;hoverStateRef.current.bridge=false;setOpen(false);},[setOpen]);const setSnapshot=React.useCallback(next=>{React.startTransition(()=>setRuntimeSnapshot(next));},[]);React.useEffect(()=>{if(isStatic)return;if(typeof window===\"undefined\")return;const hoverQuery=window.matchMedia(\"(hover: hover) and (pointer: fine)\");const reduceQuery=window.matchMedia(\"(prefers-reduced-motion: reduce)\");const updateHover=()=>{React.startTransition(()=>setIsFineHoverPointer(hoverQuery.matches));};const updateReduce=()=>{React.startTransition(()=>setReduceMotion(reduceQuery.matches));};updateHover();updateReduce();hoverQuery.addEventListener(\"change\",updateHover);reduceQuery.addEventListener(\"change\",updateReduce);return()=>{hoverQuery.removeEventListener(\"change\",updateHover);reduceQuery.removeEventListener(\"change\",updateReduce);};},[isStatic]);React.useEffect(()=>{if(isStatic)return;const runtimeForcedStatus=testMode&&canvasPreview!==\"auto\"?canvasPreview:null;if(runtimeForcedStatus)return;if(typeof window===\"undefined\")return;const unsubscribe=subscribeToStatus(DEFAULT_ENDPOINT,snapshot=>{setSnapshot(snapshot);});return unsubscribe;},[canvasPreview,isStatic,setSnapshot,testMode]);const staticStatus=canvasPreview===\"auto\"?\"offline\":canvasPreview===\"live\"?\"live\":canvasPreview===\"unavailable\"?\"unavailable\":\"offline\";const runtimeForcedStatus=testMode&&canvasPreview!==\"auto\"?canvasPreview:null;const status=isStatic?staticStatus:runtimeForcedStatus??runtimeSnapshot.status;const canOpenMenu=status===\"live\";const menuOpen=canOpenMenu&&(isStatic?previewMenu:isOpen);const label=React.useMemo(()=>getStatusLabel(status),[status]);React.useEffect(()=>{if(lastAnnouncedStatusRef.current!==status){lastAnnouncedStatusRef.current=status;React.startTransition(()=>setLiveRegionText(label));}},[label,status]);const shouldKeepOpen=React.useCallback(()=>{if(typeof document===\"undefined\")return false;const active=document.activeElement;const root=rootRef.current;const menu=menuRef.current;const focusedInside=!!active&&!!root?.contains(active)||!!active&&!!menu?.contains(active);const hovered=hoverStateRef.current.trigger||hoverStateRef.current.menu||hoverStateRef.current.bridge;return focusedInside||hovered;},[]);const closeSoon=React.useCallback(()=>{if(closeTimeoutRef.current!==null&&typeof window!==\"undefined\"){window.clearTimeout(closeTimeoutRef.current);}if(typeof window===\"undefined\")return;closeTimeoutRef.current=window.setTimeout(()=>{if(!shouldKeepOpen()){closeMenu();}},CLOSE_DELAY_MS);},[closeMenu,shouldKeepOpen]);const cancelCloseSoon=React.useCallback(()=>{if(closeTimeoutRef.current!==null&&typeof window!==\"undefined\"){window.clearTimeout(closeTimeoutRef.current);closeTimeoutRef.current=null;}},[]);const focusMenuItem=React.useCallback(index=>{if(!canOpenMenu)return false;const menuNode=menuRef.current;if(!menuNode)return false;const items=Array.from(menuNode.querySelectorAll('a[data-menu-item=\"true\"]'));const target=items[index];if(!target)return false;target.focus();return true;},[canOpenMenu]);const requestFocus=React.useCallback(index=>{if(!canOpenMenu)return false;pendingFocusIndexRef.current=index;const didFocusNow=focusMenuItem(index);if(didFocusNow){pendingFocusIndexRef.current=null;return true;}return false;},[canOpenMenu,focusMenuItem]);const focusNextAfterTrigger=React.useCallback(()=>{if(typeof document===\"undefined\")return;const button=buttonRef.current;if(!button)return;const menuNode=menuRef.current;const all=getTabbableElements(document).filter(el=>!menuNode?.contains(el));const currentIndex=all.indexOf(button);const next=currentIndex>=0?all[currentIndex+1]:null;if(next){next.focus();return true;}return false;},[]);const updateMenuPosition=React.useCallback(()=>{if(typeof window===\"undefined\")return;const button=buttonRef.current;if(!button)return;const rect=button.getBoundingClientRect();const viewportHeight=window.visualViewport?.height??window.innerHeight;const viewportPadding=8;const targetWidth=Math.min(rect.width,window.innerWidth-viewportPadding*2);const left=Math.min(Math.max(rect.left,viewportPadding),window.innerWidth-viewportPadding-targetWidth);const availableBelow=viewportHeight-(rect.bottom+menuGap+viewportPadding);const maxHeight=Math.max(0,availableBelow);setMenuPosition({top:rect.bottom+menuGap,left,width:targetWidth,maxWidth:window.innerWidth-viewportPadding*2,maxHeight});},[menuGap]);const openMenuFromIntent=React.useCallback(focusIndex=>{if(typeof window===\"undefined\"||isStatic||!canOpenMenu)return;if(typeof focusIndex===\"number\"){pendingFocusIndexRef.current=focusIndex;}const button=buttonRef.current;if(button){const viewportPadding=8;const viewportHeight=window.visualViewport?.height??window.innerHeight;const rect=button.getBoundingClientRect();const availableBelow=viewportHeight-(rect.bottom+menuGap+viewportPadding);if(availableBelow<44){const deficit=44-availableBelow;if(deficit>0){window.scrollBy({top:deficit,behavior:\"smooth\"});}}}setOpen(true);},[canOpenMenu,isStatic,menuGap,setOpen]);React.useEffect(()=>{if(typeof window===\"undefined\")return;if(!isOpen||isStatic)return;updateMenuPosition();const onScroll=()=>updateMenuPosition();const onResize=()=>updateMenuPosition();window.addEventListener(\"scroll\",onScroll,true);window.addEventListener(\"resize\",onResize);return()=>{window.removeEventListener(\"scroll\",onScroll,true);window.removeEventListener(\"resize\",onResize);};},[isOpen,isStatic,updateMenuPosition]);React.useEffect(()=>{if(typeof window===\"undefined\"||isStatic||!isOpen)return;const rootNode=rootRef.current;const buttonNode=buttonRef.current;if(!rootNode||!buttonNode||typeof ResizeObserver===\"undefined\")return;const ro=new ResizeObserver(()=>updateMenuPosition());ro.observe(rootNode);ro.observe(buttonNode);return()=>ro.disconnect();},[isOpen,isStatic,updateMenuPosition]);React.useEffect(()=>{if(typeof window===\"undefined\")return;if(!isOpen||isStatic)return;const onPointerDown=event=>{const target=event.target;if(!target)return;const insideRoot=!!rootRef.current?.contains(target);const insideMenu=!!menuRef.current?.contains(target);if(!insideRoot&&!insideMenu)closeMenu();};const onKey=event=>{if(event.key===\"Escape\"){const active=document.activeElement;const insideRoot=!!(active&&rootRef.current?.contains(active));const insideMenu=!!(active&&menuRef.current?.contains(active));const hovered=hoverStateRef.current.trigger||hoverStateRef.current.menu||hoverStateRef.current.bridge;if(insideRoot||insideMenu||hovered){closeMenu();buttonRef.current?.focus();}}};const onFocusIn=event=>{const target=event.target;if(!target)return;const insideRoot=!!rootRef.current?.contains(target);const insideMenu=!!menuRef.current?.contains(target);if(!insideRoot&&!insideMenu&&!hoverStateRef.current.trigger&&!hoverStateRef.current.menu&&!hoverStateRef.current.bridge){closeMenu();}};document.addEventListener(\"pointerdown\",onPointerDown);document.addEventListener(\"keydown\",onKey);document.addEventListener(\"focusin\",onFocusIn);return()=>{document.removeEventListener(\"pointerdown\",onPointerDown);document.removeEventListener(\"keydown\",onKey);document.removeEventListener(\"focusin\",onFocusIn);};},[closeMenu,isOpen,isStatic]);React.useEffect(()=>{return()=>{if(closeTimeoutRef.current!==null&&typeof window!==\"undefined\"){window.clearTimeout(closeTimeoutRef.current);}};},[]);React.useLayoutEffect(()=>{if(!isOpen||isStatic||!canOpenMenu){pendingFocusIndexRef.current=null;return;}if(pendingFocusIndexRef.current===null)return;const idx=pendingFocusIndexRef.current;const didFocus=focusMenuItem(idx);if(didFocus)pendingFocusIndexRef.current=null;},[canOpenMenu,isOpen,isStatic,menuPosition,focusMenuItem]);React.useEffect(()=>{if(menuOpen)return;hoverStateRef.current.trigger=false;hoverStateRef.current.menu=false;hoverStateRef.current.bridge=false;pendingFocusIndexRef.current=null;},[menuOpen]);React.useEffect(()=>{if(canOpenMenu)return;if(isOpen){closeMenu();if(menuHadFocusOnUnmountRef.current){buttonRef.current?.focus();}menuHadFocusOnUnmountRef.current=false;}},[canOpenMenu,closeMenu,isOpen]);React.useEffect(()=>{if(isStatic)return;const shouldAutoOpen=!!runtimeForcedStatus&&runtimeForcedStatus===\"live\"&&previewMenu;if(!shouldAutoOpen){lastRuntimeAutoOpenKeyRef.current=\"\";if(runtimePreviewAutoOpenedRef.current&&isOpen){closeMenu();}runtimePreviewAutoOpenedRef.current=false;return;}const key=`${testMode}-${canvasPreview}-${previewMenu}`;if(lastRuntimeAutoOpenKeyRef.current===key)return;lastRuntimeAutoOpenKeyRef.current=key;runtimePreviewAutoOpenedRef.current=true;setOpen(true);},[canvasPreview,closeMenu,isOpen,isStatic,previewMenu,runtimeForcedStatus,setOpen,testMode]);const showLivePulse=status===\"live\"&&!reduceMotion;const buttonColor=status===\"live\"?liveButtonColor:status===\"unavailable\"?unavailableButtonColor:offlineButtonColor;const baseFontSizePx=resolveFontSizePx(font?.fontSize,20);const rootStyle={position:\"relative\",width:\"100%\",...style};const menuId=React.useId();const triggerId=React.useId();const rowBaseStyle={display:\"flex\",alignItems:\"center\",minHeight:44,flexShrink:0,borderRadius:Math.max(0,radius-2),padding:\"10px 14px\",color:textColor,textDecoration:\"none\",gap:10,boxSizing:\"border-box\",width:\"100%\",whiteSpace:\"normal\"};const fitLabel=React.useCallback(()=>{if(typeof document===\"undefined\")return;const region=labelRegionRef.current;if(!region)return;const available=region.clientWidth;if(available<=0)return;const measured=document.createElement(\"span\");measured.textContent=label;measured.style.position=\"absolute\";measured.style.visibility=\"hidden\";measured.style.whiteSpace=\"nowrap\";measured.style.pointerEvents=\"none\";measured.style.fontFamily=font?.fontFamily||FONT_FAMILY_FALLBACK;measured.style.fontWeight=String(font?.fontWeight??400);measured.style.fontStyle=String(font?.fontStyle??\"normal\");measured.style.fontSize=`${baseFontSizePx}px`;measured.style.letterSpacing=String(font?.letterSpacing??\"-0.01em\");measured.style.lineHeight=String(font?.lineHeight??\"1em\");region.appendChild(measured);const textWidth=measured.getBoundingClientRect().width;measured.remove();if(textWidth<=0)return;const next=textWidth<=available?baseFontSizePx:Math.max(9,available/textWidth*baseFontSizePx);React.startTransition(()=>{setFittedFontSizePx(current=>{if(current!==null&&Math.abs(current-next)<.2)return current;return next;});});},[baseFontSizePx,font?.fontFamily,font?.fontStyle,font?.fontWeight,font?.letterSpacing,font?.lineHeight,label]);React.useEffect(()=>{if(typeof window===\"undefined\")return;fitLabel();const node=labelRegionRef.current;if(!node||typeof ResizeObserver===\"undefined\")return;const ro=new ResizeObserver(()=>{fitLabel();});ro.observe(node);if(typeof document.fonts?.addEventListener===\"function\"){document.fonts.addEventListener(\"loadingdone\",fitLabel);}return()=>{ro.disconnect();if(typeof document.fonts?.removeEventListener===\"function\"){document.fonts.removeEventListener(\"loadingdone\",fitLabel);}};},[fitLabel]);const setMenuNode=React.useCallback(node=>{if(node){menuRef.current=node;menuHadFocusOnUnmountRef.current=false;return;}const previous=menuRef.current;if(previous&&typeof document!==\"undefined\"){const active=document.activeElement;menuHadFocusOnUnmountRef.current=!!(active&&previous.contains(active));}menuRef.current=null;},[]);const menuContent=/*#__PURE__*/_jsxs(\"div\",{id:menuId,ref:setMenuNode,role:\"region\",\"aria-labelledby\":triggerId,className:\"ssb-menu-shell\",\"data-ssb\":\"true\",onPointerEnter:event=>{hoverStateRef.current.menu=event.pointerType===\"mouse\"||event.pointerType===\"pen\";if(!isStatic&&isFineHoverPointer)cancelCloseSoon();},onPointerLeave:event=>{hoverStateRef.current.menu=false;if(!isStatic&&isFineHoverPointer)closeSoon();},style:{position:isStatic?\"absolute\":\"fixed\",top:isStatic?`calc(100% + ${menuGap}px)`:menuPosition?.top??0,left:isStatic?0:menuPosition?.left??0,width:isStatic?\"100%\":menuPosition?.width??240,maxWidth:isStatic?\"100%\":menuPosition?.maxWidth??360,zIndex:9999,display:\"flex\",flexDirection:\"column\",gap:0,pointerEvents:menuOpen?\"auto\":\"none\"},children:[/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",className:\"ssb-hover-bridge\",onPointerEnter:event=>{hoverStateRef.current.bridge=event.pointerType===\"mouse\"||event.pointerType===\"pen\";cancelCloseSoon();},onPointerLeave:()=>{hoverStateRef.current.bridge=false;closeSoon();},style:{position:\"absolute\",top:-menuGap,left:0,height:menuGap,width:\"100%\",background:\"transparent\"}}),/*#__PURE__*/_jsxs(\"nav\",{\"aria-label\":\"Streaming links\",style:{display:\"flex\",flexDirection:\"column\",gap:8,maxHeight:isStatic?\"none\":menuPosition?.maxHeight,overflowY:\"auto\",padding:4,boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsxs(\"a\",{\"data-menu-item\":\"true\",className:\"ssb-menu-link\",href:\"https://www.twitch.tv/buneverse\",target:\"_blank\",rel:\"noopener noreferrer\",\"aria-label\":\"Open Twitch stream in new tab\",onClick:()=>closeMenu(),onKeyDown:event=>{if(event.key===\"Tab\"&&event.shiftKey){event.preventDefault();closeMenu();buttonRef.current?.focus();}},style:{...rowBaseStyle,background:twitchColor},children:[/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{display:\"inline-flex\",width:18,height:18,flexShrink:0},children:/*#__PURE__*/_jsx(\"svg\",{width:\"18\",height:\"18\",viewBox:\"0 0 24 24\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M11.571 4.714h1.715v5.143h-1.715zm4.715 0H18v5.143h-1.714zM6 0 1.714 4.286v15.428h5.143V24l4.286-4.286h3.428L22.286 12V0zm14.571 11.143-3.428 3.428h-3.429l-3 3v-3H6.857V1.714h13.714Z\",fill:\"#FFFFFF\"})})}),/*#__PURE__*/_jsx(\"span\",{style:{...getFontStyle(font),minWidth:0,overflowWrap:\"anywhere\",whiteSpace:\"normal\"},children:\"TWITCH\"})]}),/*#__PURE__*/_jsxs(\"a\",{\"data-menu-item\":\"true\",className:\"ssb-menu-link\",href:\"https://www.youtube.com/@BunEVerse/live\",target:\"_blank\",rel:\"noopener noreferrer\",\"aria-label\":\"Open YouTube live stream in new tab\",onClick:()=>closeMenu(),onKeyDown:event=>{if(event.key===\"Escape\"){event.preventDefault();closeMenu();buttonRef.current?.focus();return;}if(event.key===\"Tab\"&&!event.shiftKey){const hasNext=focusNextAfterTrigger();if(hasNext){event.preventDefault();}closeMenu();}},style:{...rowBaseStyle,background:youtubeColor},children:[/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{display:\"inline-flex\",width:18,height:18,flexShrink:0},children:/*#__PURE__*/_jsxs(\"svg\",{width:\"18\",height:\"18\",viewBox:\"0 0 24 24\",fill:\"none\",children:[/*#__PURE__*/_jsx(\"rect\",{x:\"2\",y:\"5\",width:\"20\",height:\"14\",rx:\"4\",fill:\"#FFFFFF\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M11 9.5 15.5 12 11 14.5V9.5Z\",fill:youtubeColor})]})}),/*#__PURE__*/_jsx(\"span\",{style:{...getFontStyle(font),minWidth:0,overflowWrap:\"anywhere\",whiteSpace:\"normal\"},children:\"YOUTUBE\"})]})]})]});return /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,\"data-ssb\":\"true\",style:rootStyle,children:[/*#__PURE__*/_jsxs(\"button\",{id:triggerId,ref:buttonRef,type:\"button\",onPointerEnter:event=>{const pointerHoverable=event.pointerType===\"mouse\"||event.pointerType===\"pen\";hoverStateRef.current.trigger=pointerHoverable;if(canOpenMenu&&pointerHoverable&&isFineHoverPointer&&!isStatic){cancelCloseSoon();setOpen(true);}},onPointerLeave:()=>{hoverStateRef.current.trigger=false;if(isFineHoverPointer&&!isStatic){closeSoon();}},onClick:()=>{if(isStatic)return;if(!canOpenMenu)return;if(isOpen){closeMenu();}else{openMenuFromIntent();}},onKeyDown:event=>{if(event.repeat)return;if(event.key===\"Escape\"&&isOpen){event.preventDefault();closeMenu();buttonRef.current?.focus();return;}if(event.key===\"ArrowDown\"){if(!canOpenMenu)return;event.preventDefault();if(!requestFocus(0)){openMenuFromIntent(0);}return;}if(event.key===\"ArrowUp\"){if(!canOpenMenu)return;event.preventDefault();if(!requestFocus(1)){openMenuFromIntent(1);}return;}if(event.key===\"Tab\"&&isOpen&&!event.shiftKey){if(!canOpenMenu)return;event.preventDefault();if(!requestFocus(0)){openMenuFromIntent(0);}}},className:\"ssb-trigger\",\"aria-disabled\":!canOpenMenu,\"aria-expanded\":canOpenMenu?menuOpen:undefined,\"aria-controls\":canOpenMenu?menuId:undefined,style:{position:\"relative\",width:\"100%\",minHeight:44,border:\"none\",borderRadius:radius,background:buttonColor,color:textColor,padding:`${paddingY}px ${paddingX}px`,display:\"flex\",alignItems:\"center\",justifyContent:\"flex-start\",gap:10,cursor:canOpenMenu?\"pointer\":\"default\",textAlign:\"left\",boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{width:lightSize,height:lightSize,borderRadius:\"50%\",background:\"radial-gradient(120% 120% at 28% 24%, rgba(255,255,255,0.45) 0%, rgba(220,220,220,0.1) 30%, rgba(45,45,45,0.35) 80%, rgba(20,20,20,0.75) 100%)\",boxShadow:\"inset 0 1px 1.5px rgba(255,255,255,0.35), inset 0 -2px 2px rgba(0,0,0,0.45), 0 1px 3px rgba(0,0,0,0.35)\",position:\"relative\",display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",overflow:\"visible\",flexShrink:0},children:/*#__PURE__*/_jsxs(\"span\",{style:{width:Math.max(6,lightSize*.74),height:Math.max(6,lightSize*.74),borderRadius:\"50%\",position:\"relative\",background:status===\"live\"?`radial-gradient(115% 115% at 30% 28%, rgba(255,255,255,0.7) 0%, ${liveDotColor} 30%, rgba(110,0,0,0.95) 80%, rgba(55,0,0,1) 100%)`:`radial-gradient(115% 115% at 30% 28%, rgba(255,255,255,0.5) 0%, ${dimDotColor} 38%, rgba(75,75,75,0.95) 84%, rgba(40,40,40,1) 100%)`,boxShadow:status===\"live\"?\"inset 0 1px 1px rgba(255,255,255,0.45), inset 0 -1.5px 2px rgba(50,0,0,0.7), 0 0 var(--ssb-halo-strong) var(--ssb-live-halo)\":\"inset 0 1px 1px rgba(255,255,255,0.35), inset 0 -1.5px 2px rgba(0,0,0,0.5)\",animation:showLivePulse?\"ssbLedFlash 1.2s ease-in-out infinite\":\"none\",transformOrigin:\"center\",[\"--ssb-halo-strong\"]:`${Math.max(12,lightSize*.9)}px`,[\"--ssb-halo-soft\"]:`${Math.max(6,lightSize*.4)}px`,[\"--ssb-live-halo\"]:liveDotColor},children:[/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",left:\"18%\",top:\"16%\",width:\"45%\",height:\"28%\",borderRadius:\"50%\",background:\"linear-gradient(135deg, rgba(255,255,255,0.8), rgba(255,255,255,0.05))\",transform:\"rotate(-20deg)\",pointerEvents:\"none\"}}),/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",bottom:\"8%\",left:\"14%\",width:\"72%\",height:\"24%\",borderRadius:\"50%\",background:\"linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.28))\",pointerEvents:\"none\"}})]})}),/*#__PURE__*/_jsxs(\"span\",{ref:labelRegionRef,style:{position:\"relative\",flex:1,minWidth:0},children:[/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{...getFontStyle(font),color:\"transparent\",visibility:\"hidden\",display:\"block\",whiteSpace:\"nowrap\",userSelect:\"none\"},children:\"OFFLINE\"}),/*#__PURE__*/_jsx(\"span\",{style:{...getFontStyle(font),position:\"absolute\",inset:0,color:textColor,whiteSpace:\"nowrap\",display:\"flex\",alignItems:\"center\",justifyContent:\"flex-start\",fontSize:fittedFontSizePx?`${fittedFontSizePx}px`:undefined},children:label})]})]}),/*#__PURE__*/_jsx(\"span\",{\"aria-live\":\"polite\",\"aria-atomic\":\"true\",style:{position:\"absolute\",width:1,height:1,overflow:\"hidden\",clipPath:\"inset(50%)\",whiteSpace:\"nowrap\"},children:liveRegionText}),canOpenMenu&&menuOpen&&(isStatic?menuContent:typeof document!==\"undefined\"&&menuPosition?/*#__PURE__*/createPortal(menuContent,document.body):null),/*#__PURE__*/_jsx(\"style\",{children:`\n                @keyframes ssbLedFlash {\n                    0%, 100% {\n                        filter: brightness(1.18) saturate(1.2);\n                        box-shadow: inset 0 1px 1px rgba(255,255,255,0.45), inset 0 -1.5px 2px rgba(50,0,0,0.7), 0 0 var(--ssb-halo-strong) color-mix(in srgb, var(--ssb-live-halo) 70%, transparent);\n                    }\n                    50% {\n                        filter: brightness(0.62) saturate(0.95);\n                        box-shadow: inset 0 1px 1px rgba(255,255,255,0.35), inset 0 -1.5px 2px rgba(25,0,0,0.75), 0 0 var(--ssb-halo-soft) color-mix(in srgb, var(--ssb-live-halo) 28%, transparent);\n                    }\n                }\n                [data-ssb=\"true\"] .ssb-trigger:focus-visible,\n                .ssb-menu-shell[data-ssb=\"true\"] .ssb-menu-link:focus-visible {\n                    outline: 2px solid #FFFFFF;\n                    box-shadow: 0 0 0 4px rgba(0,0,0,0.55);\n                    outline-offset: 2px;\n                }\n                @media (prefers-reduced-motion: reduce) {\n                    [data-ssb=\"true\"] .ssb-trigger [aria-hidden=\"true\"] > span {\n                        animation: none !important;\n                        filter: brightness(1) saturate(1);\n                    }\n                }\n            `})]});}StreamingStatusButton.displayName=\"Streaming Status Button\";addPropertyControls(StreamingStatusButton,{canvasPreview:{type:ControlType.Enum,title:\"Test Status\",options:[\"auto\",\"live\",\"offline\",\"unavailable\"],optionTitles:[\"Auto\",\"Live\",\"Offline\",\"Unavailable\"],defaultValue:\"auto\"},testMode:{type:ControlType.Boolean,title:\"Test Mode\",description:\"For browser/page preview testing. Turn off before publishing; while enabled, the chosen Test Status also appears on the published site.\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},previewMenu:{type:ControlType.Boolean,title:\"Preview Menu\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{// Framer Font control typing omits fontFamily/fontWeight/fontStyle; defaults are also enforced via component fallback.\nfontFamily:\"Jua\",fontSize:\"20px\",fontWeight:400,fontStyle:\"normal\",variant:\"Regular\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"}},radius:{type:ControlType.Number,title:\"Radius\",min:0,max:40,step:1,defaultValue:10},paddingX:{type:ControlType.Number,title:\"Pad X\",min:4,max:40,step:1,defaultValue:20},paddingY:{type:ControlType.Number,title:\"Pad Y\",min:4,max:24,step:1,defaultValue:12},lightSize:{type:ControlType.Number,title:\"Light Size\",min:10,max:30,step:1,defaultValue:18},menuGap:{type:ControlType.Number,title:\"Menu Gap\",min:0,max:24,step:1,defaultValue:8},liveButtonColor:{type:ControlType.Color,title:\"Live Btn\",defaultValue:\"#B91C1C\"},offlineButtonColor:{type:ControlType.Color,title:\"Offline Btn\",defaultValue:\"#4B4B4B\"},unavailableButtonColor:{type:ControlType.Color,title:\"Unavailable Btn\",defaultValue:\"#4B4B4B\"},textColor:{type:ControlType.Color,title:\"Text\",defaultValue:\"#FFFFFF\"},liveDotColor:{type:ControlType.Color,title:\"Live Dot\",defaultValue:\"#FF3B3B\"},dimDotColor:{type:ControlType.Color,title:\"Dim Dot\",defaultValue:\"#9E9E9E\"},twitchColor:{type:ControlType.Color,title:\"Twitch\",defaultValue:\"#772CE8\"},youtubeColor:{type:ControlType.Color,title:\"YouTube\",defaultValue:\"#C8102E\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StreamingStatusButton\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"240\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"48\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StreamingStatusButton.map"],"mappings":"iVAIG,SAAwB,GAAU,EAAM,CAAC,GAAK,CAAC,cAAY,eAAe,YAAU,KAAK,gBAAc,GAAK,oBAAkB,GAAM,wBAAsB,SAAS,SAAO,GAAG,SAAO,GAAG,wBAAsB,GAAM,OAAK,YAAU,kBAAgB,mBAAiB,oBAAkB,GAAM,cAAY,GAAG,YAAU,QAAQ,EAAY,GAAcA,MAAY,CAAC,IAAM,EAAY,IAAI,KAAK,CAAA,CAAE,YAAY,EAC3Y,EAAS,GAAG,AAAiG,EAA9F,GAAe,GAAW,EAAU,EAAsB,GAAG,EAAU,GAAG,IAA6B,GAAG,IAC7H,IAAI,EAAc,GAAM,GAAsB,IAAwB,WAAU,EAAc,cAC9F,IAAI,EAAS,GAKY,OAJtB,IAAQ,GAAU,GAAG,EAAO,IAC/B,GAAU,EACV,GAAU,KACP,GAAmB,IAAwB,UAAS,GAAU,cACjE,GAAU,GAAG,EAAS,GAAS,CAAC,cAAc,EAAS,aAAa,EAAE,CAAE,EAAE,CAA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