{"version":3,"file":"TopicCountOverrides.DnkkW53U.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","useSyncExternalStore","useRef","useState","__esmMin","init_ssg_sandbox_shims","init_npm_react_18_3_1","window","x","oe","pe","ie","_e","de","me","p","J","init_jsx_runtime","ce","MotionConfigContext","LayoutGroup","init_framer_motion_DhsWWWsN","motion","init_framer_CN96F41L","withFX","useLocaleInfo","withOptimizedAppearEffect","cx","useVariantState","RenderTarget","withCSS","addFonts","addPropertyControls","ControlType","useActiveVariantCallback","RichText","useComponentViewport","addPropertyOverrides","variants","nextOverrides","variant","overrides","MotionDivWithFX","MotionDivWithFX1","MotionDivWithFXWithOptimizedAppearEffect","cycleOrder","serializationHash","variantClassNames","transition1","animation","animation1","transition3","animation2","Transition","humanReadableVariantMap","Variants","getProps","createLayoutDependency","FramerC4UA1PxCg","init_C4UA1PxCg","config","transition","value","contextValue","props","click","fallbackRef","refBinding","ref","defaultLayoutId","restProps","layoutDependency","sharedStyleClassNames","isDisplayed","baseVariant","onTapn9xadi","activeVariantCallback","args","setGestureState","Wld3NDzSj","scopingClassNames","isDisplayed1","isDisplayed2","layoutId","gestureHandlers","className","classNames","style","gestureVariant","setCounts","countState","next","listeners","listener","useCounts","subscribe","getSnapshot","readCounts","posts","root","POST_LAYER","byTopic","post","TOPIC_LAYER","normalize","el","topic","withTopicCountSource","isClient","setIsClient","isCanvas","read","timer","observer","Component","withTopicCount","counts","title","TITLE_PROP","count","ALL_TOPICS_LABELS","label","COUNT_PROP","init_TopicCountOverrides"],"sources":["https:/framerusercontent.com/modules/uQu4FPM9XM5InjwdQet2/uqs1J9TwVawq53nNpuaX/C4UA1PxCg.js","https:/framerusercontent.com/modules/QKw2s0n6UsLZiaEGzgpz/518XLBhICEgzWwIDhRFg/TopicCountOverrides.js"],"sourcesContent":["// Generated by Framer (c439c68)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,RichText,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS,withFX,withOptimizedAppearEffect}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const MotionDivWithFX=withFX(motion.div);const MotionDivWithFX1=withFX(motion.div);const MotionDivWithFXWithOptimizedAppearEffect=withOptimizedAppearEffect(MotionDivWithFX1);const cycleOrder=[\"ZY_IzUqfY\",\"mzeXamoWK\",\"dY_s1Gez6\"];const serializationHash=\"framer-BRTZr\";const variantClassNames={dY_s1Gez6:\"framer-v-1tq836e\",mzeXamoWK:\"framer-v-1ku5fxy\",ZY_IzUqfY:\"framer-v-obxlgi\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const Wld3NDzSj=undefined;const transition1={duration:0,type:\"tween\"};const transition2={delay:0,duration:.3,ease:[.44,0,.56,1],type:\"tween\"};const animation={opacity:1,rotate:0,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,transition:transition2,x:0,y:0};const animation1={opacity:.001,rotate:0,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,x:0,y:0};const transition3={delay:0,duration:1,ease:[0,0,1,1],type:\"tween\"};const animation2={opacity:1,rotate:360,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,x:0,y:0};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const humanReadableVariantMap={Default:\"ZY_IzUqfY\",Hidden:\"dY_s1Gez6\",Loading:\"mzeXamoWK\"};const Variants=motion.create(React.Fragment);const getProps=({click,height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"ZY_IzUqfY\",Wld3NDzSj:click??props.Wld3NDzSj};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,contentLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,Wld3NDzSj,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"ZY_IzUqfY\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const isDisplayed=()=>{if(baseVariant===\"dY_s1Gez6\")return false;return true;};const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTapn9xadi=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(Wld3NDzSj){const res=await Wld3NDzSj(...args);if(res===false)return false;}});const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed1=()=>{if(baseVariant===\"mzeXamoWK\")return false;return true;};const isDisplayed2=()=>{if(baseVariant===\"mzeXamoWK\")return true;return false;};return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:isDisplayed()&&/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.button,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-obxlgi\",className,classNames),\"data-framer-name\":\"Default\",\"data-highlight\":true,\"data-reset\":\"button\",layoutDependency:layoutDependency,layoutId:\"ZY_IzUqfY\",onTap:onTapn9xadi,ref:refBinding,style:{backgroundColor:\"var(--token-31584a2a-14f3-446f-8b64-46d9fc5b4fdc, color(display-p3 0.1373 0.1333 0.1255))\",borderBottomLeftRadius:100,borderBottomRightRadius:100,borderTopLeftRadius:100,borderTopRightRadius:100,...style},...addPropertyOverrides({mzeXamoWK:{\"data-framer-name\":\"Loading\"}},baseVariant,gestureVariant),children:[isDisplayed1()&&/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"Q1VTVE9NVjI7RGllIEdyb3Rlc2sgQyBSZWd1bGFy\",\"--framer-font-family\":'\"Die Grotesk C Regular\"',\"--framer-font-size\":\"14px\",\"--framer-font-style\":\"normal\",\"--framer-font-variation-axes\":\"var(--extracted-2gg91v, normal)\",\"--framer-font-weight\":\"400\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:/*#__PURE__*/_jsx(motion.span,{style:{\"--font-selector\":\"Q1VTVE9NVjI7RGllIEdyb3Rlc2sgQyBSZWd1bGFy\",\"--framer-font-family\":'\"Die Grotesk C Regular\"',\"--framer-font-style\":\"normal\",\"--framer-font-variation-axes\":\"var(--extracted-1asg273, normal)\",\"--framer-font-weight\":\"400\"},children:\"Load More\"})})}),className:\"framer-iw46na\",fonts:[\"CUSTOMV2;Die Grotesk C Regular\"],layoutDependency:layoutDependency,layoutId:\"Mn0mFKY1g\",style:{\"--extracted-1asg273\":\"normal\",\"--extracted-2gg91v\":\"normal\",\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\"},verticalAlignment:\"top\",withExternalLayout:true}),isDisplayed2()&&/*#__PURE__*/_jsx(MotionDivWithFXWithOptimizedAppearEffect,{__perspectiveFX:false,__smartComponentFX:true,__targetOpacity:1,animate:animation,className:\"framer-1qt24gn\",\"data-framer-appear-id\":\"1qt24gn\",\"data-framer-name\":\"Spinner\",initial:animation1,layoutDependency:layoutDependency,layoutId:\"XAkp_ufVG\",optimized:true,style:{mask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\",WebkitMask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\"},children:/*#__PURE__*/_jsx(MotionDivWithFX,{__framer__loop:animation2,__framer__loopEffectEnabled:true,__framer__loopPauseOffscreen:true,__framer__loopRepeatDelay:0,__framer__loopRepeatType:\"loop\",__framer__loopTransition:transition3,__perspectiveFX:false,__smartComponentFX:true,__targetOpacity:1,className:\"framer-58ahq7\",\"data-framer-name\":\"Conic\",layoutDependency:layoutDependency,layoutId:\"hXHQdVw1K\",style:{background:\"conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, 0) 0deg, rgb(255, 255, 255) 342deg)\"},children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-1cnmydt\",\"data-framer-name\":\"Round\",layoutDependency:layoutDependency,layoutId:\"q1jUJ0Wms\",style:{backgroundColor:\"rgb(255, 255, 255)\",borderBottomLeftRadius:1,borderBottomRightRadius:1,borderTopLeftRadius:1,borderTopRightRadius:1}})})})]})})})});});const css=[\".framer-BRTZr.framer-1hbdrv3, .framer-BRTZr .framer-1hbdrv3 { display: block; }\",\".framer-BRTZr.framer-obxlgi { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 40px; justify-content: center; padding: 0px; position: relative; width: 100px; }\",\".framer-BRTZr .framer-iw46na { -webkit-user-select: none; flex: none; height: auto; position: relative; user-select: none; white-space: pre; width: auto; }\",\".framer-BRTZr .framer-1qt24gn { aspect-ratio: 1 / 1; flex: none; gap: 10px; height: auto; overflow: visible; position: relative; width: 20px; }\",\".framer-BRTZr .framer-58ahq7 { bottom: 0px; flex: none; gap: 10px; left: 0px; overflow: visible; position: absolute; right: 0px; top: 0px; }\",\".framer-BRTZr .framer-1cnmydt { flex: none; height: 2px; left: calc(50.00000000000002% - 2px / 2); overflow: visible; position: absolute; top: 0px; width: 2px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 40\n * @framerIntrinsicWidth 100\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"mzeXamoWK\":{\"layout\":[\"fixed\",\"fixed\"]},\"dY_s1Gez6\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"Wld3NDzSj\":\"click\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerC4UA1PxCg=withCSS(Component,css,\"framer-BRTZr\");export default FramerC4UA1PxCg;FramerC4UA1PxCg.displayName=\"Load More\";FramerC4UA1PxCg.defaultProps={height:40,width:100};addPropertyControls(FramerC4UA1PxCg,{variant:{options:[\"ZY_IzUqfY\",\"mzeXamoWK\",\"dY_s1Gez6\"],optionTitles:[\"Default\",\"Loading\",\"Hidden\"],title:\"Variant\",type:ControlType.Enum},Wld3NDzSj:{title:\"Click\",type:ControlType.EventHandler}});addFonts(FramerC4UA1PxCg,[{explicitInter:true,fonts:[{cssFamilyName:\"Die Grotesk C Regular\",source:\"custom\",style:\"normal\",uiFamilyName:\"Die Grotesk C\",url:\"https://framerusercontent.com/assets/OFHKRn7ZSx5lIoHF4z5m7uppXY.woff2\",weight:\"400\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerC4UA1PxCg\",\"slots\":[],\"annotations\":{\"framerComponentViewportWidth\":\"true\",\"framerImmutableVariables\":\"true\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"40\",\"framerIntrinsicWidth\":\"100\",\"framerColorSyntax\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerVariables\":\"{\\\"Wld3NDzSj\\\":\\\"click\\\"}\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"mzeXamoWK\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"dY_s1Gez6\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerAutoSizeImages\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./C4UA1PxCg.map","// Topic count overrides — two overrides sharing one store:\n//   withTopicCountSource → apply to a hidden, UNFILTERED Blog Collection List\n//     (no limit, no pagination). Each repeated item is a layer named \"Post\"\n//     and contains a nested Topics list with a text layer named \"Topic Name\".\n//   withTopicCount → apply to the filter tab component instances (the static\n//     \"All topics\" tab and the tab inside the Topics Collection List). It reads\n//     the tab's Title and passes the matching post count into its Count prop.\n//\n// Counting works on the DOM of the hidden source list, so the counts always\n// reflect every published post — no matter how the visible grid is filtered\n// or paginated.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef,useState,useSyncExternalStore}from\"react\";import{RenderTarget}from\"framer\";// ── Configuration ───────────────────────────────────────────────\n// Titles of the tab that shows the total number of posts.\nconst ALL_TOPICS_LABELS=[\"All topics\",\"All categories\",\"All\"];// Layer names inside the hidden source list — must match exactly.\nconst POST_LAYER=\"Post\";const TOPIC_LAYER=\"Topic Name\";// Names of the tab component's text props. Both the exact name and its\n// lowercase form are passed / read.\nconst TITLE_PROP=\"Title\";const COUNT_PROP=\"Count\";// Show \"0\" for topics without posts. When false, the count is left empty\n// (hide the badge in the component when Count is not set).\nconst SHOW_ZERO=true;// Log the computed counts to the browser console for debugging.\nconst DEBUG=false;let countState={ready:false,total:0,byTopic:{}};const listeners=new Set;function setCounts(next){const same=countState.ready===next.ready&&countState.total===next.total&&JSON.stringify(countState.byTopic)===JSON.stringify(next.byTopic);if(same)return;countState=next;if(DEBUG)console.log(\"[topic-count] counts:\",countState);listeners.forEach(listener=>listener());}const subscribe=listener=>{listeners.add(listener);return()=>listeners.delete(listener);};const getSnapshot=()=>countState;function useCounts(){return useSyncExternalStore(subscribe,getSnapshot,getSnapshot);}const normalize=value=>String(value??\"\").trim().toLowerCase();const isCanvas=()=>RenderTarget.current()===RenderTarget.canvas;// Reads every post in the hidden list and counts each topic once per post.\nfunction readCounts(root){const posts=Array.from(root.querySelectorAll(`[data-framer-name=\"${POST_LAYER}\"]`));const byTopic={};for(const post of posts){const topics=new Set(Array.from(post.querySelectorAll(`[data-framer-name=\"${TOPIC_LAYER}\"]`)).map(el=>normalize(el.textContent)).filter(Boolean));topics.forEach(topic=>{byTopic[topic]=(byTopic[topic]??0)+1;});}return{ready:true,total:posts.length,byTopic};}/**\n * Apply to the hidden, unfiltered Blog Collection List. Counts posts per\n * topic and reports them to the shared store. The list is only rendered in\n * the browser, so it never appears in the server-rendered HTML that search\n * engines index.\n * @framerDisableUnlink\n */export function withTopicCountSource(Component){return props=>{const ref=useRef(null);const[isClient,setIsClient]=useState(false);useEffect(()=>{setIsClient(true);},[]);useEffect(()=>{if(!isClient||isCanvas())return;const root=ref.current;if(!root)return;const read=()=>setCounts(readCounts(root));read();// CMS content can hydrate after the first effect — read again\n// shortly after and whenever the list's DOM changes.\nconst timer=window.setTimeout(read,150);const observer=new MutationObserver(read);observer.observe(root,{subtree:true,childList:true,characterData:true});return()=>{window.clearTimeout(timer);observer.disconnect();};},[isClient]);// Skip server rendering (keep it visible on the canvas for editing).\nif(!isClient&&!isCanvas())return null;return /*#__PURE__*/_jsx(Component,{...props,ref:ref,\"aria-hidden\":\"true\",style:{...props.style,pointerEvents:\"none\"}});};}/**\n * Apply to the filter tab instances. Passes the post count for the tab's\n * Title into its Count prop (\"All topics\" gets the total).\n * @framerDisableUnlink\n */export function withTopicCount(Component){return props=>{const counts=useCounts();// Until the source has been read (SSR, first client render, canvas)\n// keep whatever Count the instance already has.\nif(!counts.ready)return /*#__PURE__*/_jsx(Component,{...props});const title=normalize(props[TITLE_PROP]??props[TITLE_PROP.toLowerCase()]);const count=ALL_TOPICS_LABELS.some(label=>title===normalize(label))?counts.total:counts.byTopic[title]??0;const value=count>0||SHOW_ZERO?String(count):\"\";return /*#__PURE__*/_jsx(Component,{...props,[COUNT_PROP]:value,[COUNT_PROP.toLowerCase()]:value});};}/**\n * Same as withTopicCount, but the tab only renders when at least one counted\n * item uses its value. Apply to tabs rendered from a shared collection (e.g.\n * Locations used by several collections) so values nothing on this page uses\n * don't appear. Tabs stay hidden until counts are ready, so unused values never\n * flash in; on the canvas every tab shows so it stays editable.\n * @framerDisableUnlink\n */export function withTopicCountHideEmpty(Component){const Counted=withTopicCount(Component);return props=>{const counts=useCounts();if(isCanvas())return /*#__PURE__*/_jsx(Counted,{...props});if(!counts.ready)return /*#__PURE__*/_jsx(HiddenSlot,{});const title=normalize(props[TITLE_PROP]??props[TITLE_PROP.toLowerCase()]);const count=ALL_TOPICS_LABELS.some(label=>title===normalize(label))?counts.total:counts.byTopic[title]??0;if(count===0)return /*#__PURE__*/_jsx(HiddenSlot,{});return /*#__PURE__*/_jsx(Counted,{...props});};}// Rendering null leaves the Collection List's item wrapper in place, and the\n// stack still spaces that empty wrapper with its gap, so a row of chips ends\n// up off-centre. HiddenSlot hides the wrapper itself (the nearest ancestor\n// sitting directly in a flex/grid stack) and restores it on unmount.\nfunction HiddenSlot(){const ref=useRef(null);useEffect(()=>{let el=ref.current;let found=false;for(let depth=0;el&&depth<4;depth++){const parent=el.parentElement;if(!parent)break;const display=getComputedStyle(parent).display;if(display.includes(\"flex\")||display.includes(\"grid\")){found=true;break;}el=parent;}if(!found||!el||el===ref.current)return;const previous=el.style.display;el.style.display=\"none\";return()=>{el.style.display=previous;};},[]);return /*#__PURE__*/_jsx(\"span\",{ref:ref,style:{display:\"none\"}});}\nexport const __FramerMetadata__ = {\"exports\":{\"withTopicCountHideEmpty\":{\"type\":\"reactHoc\",\"name\":\"withTopicCountHideEmpty\",\"annotations\":{\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\"}},\"withTopicCountSource\":{\"type\":\"reactHoc\",\"name\":\"withTopicCountSource\",\"annotations\":{\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\"}},\"withTopicCount\":{\"type\":\"reactHoc\",\"name\":\"withTopicCount\",\"annotations\":{\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TopicCountOverrides.map"],"mappings":"A,wZAC2uB,SAAS0C,GAAqB,EAAU,GAAGC,EAAS,CAAC,IAAMC,EAAc,CAAC,EAAuF,OAArFD,GAAU,QAAQ,GAASE,GAAS,OAAO,OAAOD,EAAcE,EAAUD,EAAQ,CAAC,EAASD,CAAc,C,oFAA5iB,EAAgBf,EAAOF,EAAO,GAAG,EAAQ,EAAiBE,EAAOF,EAAO,GAAG,EAAQ,EAAyCI,EAA0BiB,CAAgB,EAAQ,EAAW,CAAC,YAAY,YAAY,WAAW,EAAQ,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,UAAU,mBAAmB,UAAU,iBAAiB,EAAyN,EAAY,CAAC,SAAS,EAAE,KAAK,OAAO,EAAgF,EAAU,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,CAAhJ,MAAM,EAAE,SAAS,GAAG,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,KAAK,OAA8G,EAAE,EAAE,EAAE,EAAE,CAAC,EAAQ,EAAW,CAAC,QAAQ,KAAK,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,CAAC,EAAQ,EAAY,CAAC,MAAM,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,KAAK,OAAO,EAAQ,EAAW,CAAC,QAAQ,EAAE,OAAO,IAAI,QAAQ,EAAE,QAAQ,EAAE,MA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