{"version":3,"file":"CommentCount.DVFNTGw2.mjs","names":["React.useState","React.useContext","React.useMemo","React.Fragment","useRef","React.useId","sharedStyle.className","sharedStyle1.className","className","sharedStyle.css","sharedStyle1.css","sharedStyle.fonts","sharedStyle1.fonts","React.useState","__esmMin","pe","init_npm_react_18_3_1","init_ssg_sandbox_shims","x","window","ie","_e","oe","c","J","init_jsx_runtime","ce","de","motion","MotionConfigContext","LayoutGroup","init_framer_motion_DhsWWWsN","SmartComponentScopedContainer","cx","getFonts","getFontsFromSharedStyle","SVG","addPropertyControls","init_framer_CKT6jEEQ","ComponentViewportProvider","useLocaleInfo","useComponentViewport","ControlType","useVariantState","addFonts","RichText","withCSS","css$1","fonts","className","init_ngIejuzLO","init_w2daLT_dV","css$2","fonts$1","className$1","NewsletterSignup","email","setEmail","website","setWebsite","status","setStatus","error","setError","buttonHovered","setButtonHovered","handleSubmit","event","response","data","err","rootStyle","props","isHovering","init_NewsletterSignup","NewsletterSignupFonts","serializationHash","variantClassNames","transition1","transformTemplate1","Transition","Variants","getProps","createLayoutDependency","Component","css","Framere2xNkGfko","init_e2xNkGfko","config","transition","value","contextValue","variants","fallbackRef","refBinding","ref","defaultLayoutId","className$2","restProps","layoutDependency","scopingClassNames","layoutId","gestureHandlers","classNames","style","CommentCount","count","setCount","rawLink","articleLink","content","apiUrl","siteKey","controller","params","contentType","roots","item","label","fontSize","color","init_CommentCount"],"sources":["https:/framerusercontent.com/modules/puTtvjn9sm0lrI5utNiA/60hBo2qv5fXoBThtnE3y/NewsletterSignup.js","https:/framerusercontent.com/modules/yssJw59fTjr7gjj9hMxg/jT2wyisuN79OSZ7IYRyH/e2xNkGfko.js","https:/framerusercontent.com/modules/W4slOXxmuwfhvwFJoFRU/squlfR6xe4OCmzcmCAV5/CommentCount.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight fixed\n */export default function NewsletterSignup(props){const[email,setEmail]=React.useState(\"\");const[website,setWebsite]=React.useState(\"\");const[status,setStatus]=React.useState(\"idle\");const[error,setError]=React.useState(\"\");const[buttonHovered,setButtonHovered]=React.useState(false);async function handleSubmit(event){event.preventDefault();if(status===\"submitting\")return;setStatus(\"submitting\");setError(\"\");try{const response=await fetch(\"https://ywqhickdyyfmjupdaize.supabase.co/functions/v1/newsletter-subscribe\",{method:\"POST\",body:JSON.stringify({email,website,sourceUrl:typeof window!==\"undefined\"?window.location.href:\"https://andyhobday.com\"})});const data=await response.json().catch(()=>({}));if(!response.ok)throw new Error(data.error||\"Newsletter signup is temporarily unavailable.\");setStatus(\"success\");}catch(err){setError(err instanceof Error?err.message:\"Newsletter signup is temporarily unavailable.\");setStatus(\"error\");}}const rootStyle={width:\"100%\",height:\"100%\",minHeight:100,display:\"flex\",alignItems:\"center\",fontFamily:\"Eczar, Georgia, serif\",...props.style};if(status===\"success\"){return /*#__PURE__*/_jsx(\"div\",{style:rootStyle,role:\"status\",\"aria-live\":\"polite\",children:/*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",minHeight:52,boxSizing:\"border-box\",display:\"flex\",flexDirection:\"column\",justifyContent:\"center\",padding:\"9px 16px 9px 14px\",border:\"1px solid #222222\",borderLeft:\"5px solid #DE6B48\",borderRadius:3,background:\"#222222\",color:\"#EEEAD6\",fontFamily:\"Eczar, Georgia, serif\",fontSize:15,lineHeight:1.35},children:[/*#__PURE__*/_jsx(\"div\",{style:{color:\"#DE6B48\",fontFamily:\"Staatliches, Arial Narrow, sans-serif\",fontSize:20,lineHeight:1.1,marginBottom:3},children:\"YOU’RE ON THE LIST.\"}),\"Thanks for subscribing.\"]})});}const isHovering=buttonHovered&&status!==\"submitting\";return /*#__PURE__*/_jsx(\"div\",{style:rootStyle,children:/*#__PURE__*/_jsxs(\"form\",{onSubmit:handleSubmit,style:{display:\"grid\",gridTemplateColumns:\"minmax(0, 1fr) auto\",width:\"100%\",margin:0},children:[/*#__PURE__*/_jsx(\"input\",{tabIndex:-1,\"aria-hidden\":\"true\",autoComplete:\"off\",value:website,onChange:event=>setWebsite(event.target.value),style:{position:\"absolute\",left:-1e4,width:1,height:1,opacity:0,pointerEvents:\"none\"}}),/*#__PURE__*/_jsx(\"input\",{type:\"email\",value:email,onChange:event=>setEmail(event.target.value),placeholder:\"Enter your email\",autoComplete:\"email\",required:true,\"aria-label\":\"Email address\",style:{minWidth:0,height:52,padding:\"0 16px\",border:\"1px solid #222222\",borderRight:0,borderRadius:\"3px 0 0 3px\",background:\"#ffffff\",color:\"#222222\",fontFamily:\"Eczar, Georgia, serif\",fontSize:16,fontWeight:400,lineHeight:1.2,outline:\"none\"}}),/*#__PURE__*/_jsx(\"button\",{type:\"submit\",disabled:status===\"submitting\",onMouseEnter:()=>setButtonHovered(true),onMouseLeave:()=>setButtonHovered(false),style:{height:52,padding:\"0 22px\",border:\"1px solid #222222\",borderRadius:\"0 3px 3px 0\",background:isHovering?\"#DE6B48\":\"#222222\",color:isHovering?\"#222222\":\"#EEEAD6\",fontFamily:\"Staatliches, Arial Narrow, sans-serif\",fontSize:18,letterSpacing:\".01em\",cursor:status===\"submitting\"?\"default\":\"pointer\",opacity:status===\"submitting\"?.7:1,transition:\"background-color 160ms ease, color 160ms ease\"},children:status===\"submitting\"?\"SUBSCRIBING\":\"SUBSCRIBE\"}),status===\"error\"&&/*#__PURE__*/_jsx(\"div\",{role:\"alert\",style:{gridColumn:\"1 / -1\",marginTop:8,padding:\"9px 14px 8px\",border:\"1px solid #222222\",borderLeft:\"5px solid #DE6B48\",borderRadius:3,background:\"#EEEAD6\",color:\"#222222\",fontFamily:\"Eczar, Georgia, serif\",fontSize:15,lineHeight:1.4},children:error})]})});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"NewsletterSignup\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./NewsletterSignup.map","// Generated by Framer (cd31e1f)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,ComponentViewportProvider,cx,getFonts,getFontsFromSharedStyle,RichText,SmartComponentScopedContainer,SVG,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import NewsletterSignup from\"https://framerusercontent.com/modules/puTtvjn9sm0lrI5utNiA/60hBo2qv5fXoBThtnE3y/NewsletterSignup.js\";import*as sharedStyle1 from\"https://framerusercontent.com/modules/h2ZjDlFF5gFqk9cqySzX/ga6cCyJUB9teyFMouwzK/ngIejuzLO.js\";import*as sharedStyle from\"https://framerusercontent.com/modules/65yEMDeZkgw6EVy1ztZJ/FfaXB3Actu6YrJJQ1NuG/w2daLT_dV.js\";const NewsletterSignupFonts=getFonts(NewsletterSignup);const serializationHash=\"framer-QKdMl\";const variantClassNames={S4qIxwsXx:\"framer-v-tu17o5\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={damping:60,delay:0,mass:1,stiffness:500,type:\"spring\"};const transformTemplate1=(_,t)=>`translateX(-50%) ${t}`;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 Variants=motion.create(React.Fragment);const getProps=({height,id,width,...props})=>{return{...props};};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,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"S4qIxwsXx\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[sharedStyle.className,sharedStyle1.className];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-tu17o5\",className,classNames),\"data-framer-name\":\"Responsive\",layoutDependency:layoutDependency,layoutId:\"S4qIxwsXx\",ref:refBinding,style:{backgroundColor:\"var(--token-ac8bdd9e-65b4-4c08-bbdf-6a0b5ac82e05)\",...style},children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-yio60\",\"data-framer-name\":\"2 Columns Text Image\",layoutDependency:layoutDependency,layoutId:\"f0ze7Ysfh\",children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-1yn0x6g\",layoutDependency:layoutDependency,layoutId:\"idGUVDOuj\",children:/*#__PURE__*/_jsxs(motion.div,{className:\"framer-1wqmbki\",\"data-framer-name\":\"Content\",layoutDependency:layoutDependency,layoutId:\"RiEuRfmbd\",children:[/*#__PURE__*/_jsxs(motion.div,{className:\"framer-1d0t0qx\",layoutDependency:layoutDependency,layoutId:\"UwsI5U1s9\",children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h2,{className:\"framer-styles-preset-1rsa8qo\",\"data-styles-preset\":\"w2daLT_dV\",dir:\"auto\",children:\"FROM THE BLACK DESK\"})}),className:\"framer-127ej4p\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"BSoB2DCFh\",style:{\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-1if8olk\",\"data-framer-name\":\"Icon\",layoutDependency:layoutDependency,layoutId:\"Z7hFPv5oV\",children:/*#__PURE__*/_jsx(SVG,{className:\"framer-1941z29\",\"data-framer-name\":\"Asset_10\",fill:\"black\",intrinsicHeight:128,intrinsicWidth:80,layoutDependency:layoutDependency,layoutId:\"D_g8T3PVJ\",svg:'<svg id=\"Layer_2\" data-name=\"Layer 2\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 79.84 127.56\"><defs><style>.cls-1,.cls-2{stroke-width:0}.cls-2{fill:#fff}</style></defs><g id=\"Layer_1-2\" data-name=\"Layer 1\"><path class=\"cls-1\" d=\"M70.58 127.56c-1.51-.24-2.43-1.17-3.23-2.4-3.22-4.92-6.48-9.82-9.75-14.7-.68-1.02-1.48-1.95-2.17-2.96-1.26-1.82-2.5-3.65-3.71-5.5-.89-1.36-1.64-2.81-3.02-3.8-.39-.28-.54-.72-.63-1.3-.12-.79-.75-1.52-1.23-2.22-1.82-2.62-3.67-5.23-5.58-7.95-.31.34-.66.64-.91 1.01-2.4 3.58-4.74 7.21-7.17 10.76-2.93 4.28-5.95 8.5-8.9 12.77-2.81 4.08-5.57 8.18-8.35 12.28-.98 1.45-2.18 2.56-4 2.83-1.11.16-1.38-.03-1.32-1.14.14-2.91.31-5.82.45-8.72.08-1.57.03-3.15.24-4.7.15-1.1-.7-1.5-1.24-2.29 2.11-1.28.91-3.32 1.02-5.02.07-1.03-.06-2.12.06-3.2.18-1.56.22-3.14.28-4.71.14-3.38.33-6.75.36-10.13.05-6.12.11-12.24-.03-18.36-.12-5.01-.54-10.01-.82-15.02-.33-5.83-.19-11.65.07-17.48.14-3.2.01-6.41.07-9.62.05-3.03.18-6.06.27-9.08.03-1.05.04-2.1.1-3.15.06-1.1.18-2.2.25-3.3.04-.62 0-1.25 0-2.01-2.51-.19-5.13 1.09-7.14-1.34-.94.62-1.86 1.2-2.75 1.82-.93.64-1.42.48-1.72-.63-.03-.11-.07-.23-.07-.34C.12 5.53.24 3.1.38.44c.62.18 1.1.21 1.44.44C4.5 2.7 7.57 2.87 10.69 3.19c.12-.48.21-.85.35-1.42 1.89.12 3.78-.04 5.68.28 1.54.26 3.1.37 4.66.48.98.07 1.97.03 2.96 0 .34 0 .71-.02 1.02-.14 2.17-.86 4.22-.93 6.22.55.49.37 1.3.44 1.96.43 3.08-.03 6.17-.08 9.25-.23 2.25-.11 4.51-.17 6.7-.93 2.16-.75 4.43-.49 6.53.17 1.06.33 2 1.05 3.19.85.73-.12 1.44-.34 2.16-.5.73-.16 1.46-.41 2.2-.43 1.22-.03 2.44.1 3.65.15 1.84.08 3.69.13 5.53.25.93.06 1.69-.11 2.34-.84.46-.52 1.02-.96 1.59-1.37 1.43-1.03 2.91-.39 3.13 1.36.08.62.01 1.27 0 1.9-.02.98-.04 1.96-.08 2.95-.04.85-.12 1.7-.2 2.67-1.51-.21-2.64-.85-3.75-1.6-.39-.27-.98-.53-1.4-.43-1.51.34-2.99.82-4.69 1.31-.07 1.03-.25 2.29-.23 3.55.05 3.38.2 6.76.27 10.14.02 1.16-.14 2.33-.14 3.49.01 3.14.05 6.28.12 9.43.14 6.17.36 12.34.45 18.52.07 4.6-.13 9.19.3 13.79.29 3.06-.02 6.17-.03 9.26 0 3.43 0 6.86.04 10.29.05 3.84.15 7.68.25 11.52.03 1.16.07 2.33.22 3.49.57 4.53.42 9.07.26 13.61-.03.81.11 1.63.11 2.44 0 1.28.05 2.57-.12 3.83-.17 1.26-.59 2.45.03 3.74.3.62.03 1.38-.64 1.81ZM13.69 4.48c-.07.34-.13.45-.12.56.29 4.08.27 8.14-.07 12.22-.21 2.55-.2 5.12-.2 7.68 0 3.67.11 7.34.12 11.01 0 4.78-.13 9.55-.04 14.33.09 4.78.42 9.55.57 14.33.08 2.39-.26 4.81.03 7.16.56 4.54.6 9.06.35 13.61-.04.78.11 1.58.18 2.39 1.6.22 3.01.41 4.43.61v.3c-1.45.43-2.89.86-4.33 1.29l.05.44c1.67.08 3.35.15 5.02.23v.23c-1.67.33-3.34.66-5.01 1v2.23h4.84c-.82.42-1.69.54-2.44.91-.78.39-1.89-.12-2.67 1.09 1.67.47 3.16.22 4.61.27 1.51.05 3.03.01 4.54.01-2.54.6-5.06 1.08-7.59 1.56-.23.04-.47.06-.69.13-.78.24-1.01.71-.46 1.6h6.26c-2.4.18-4.46 1.28-6.63 2.01.02.14.03.28.05.43h7.75c-1.25.44-2.11.76-2.98 1.04-.88.28-1.8.45-2.66.79-.74.3-1.91-.24-2.3 1.24h7.16c-2.29.91-4.57 1.64-6.84 2.42-.16.05-.21.44-.4.89h6.52c.02.12.03.24.05.36-2.19.66-4.37 1.33-6.56 1.99-.23.83.07 1.19.94 1.18 1.67-.03 3.35 0 5.29 0 2.18-3.23 4.5-6.65 6.79-10.09 1.1-1.65 2.14-3.33 3.23-4.99 1.95-2.96 3.88-5.93 5.89-8.85 1.09-1.58 2.21-3.16 3.52-4.55 1.28-1.35 3.07-.95 3.94.7.41.77.73 1.59 1.17 2.34.7 1.19 1.47 2.33 2.16 3.42 3.34-.79 6.35 0 9.39.38-2.83.37-5.61 1.35-8.63.48.96 1.48.96 1.47 2.25 1.55 2.88.18 5.79.03 8.76.84-2.55 1.17-5.17 1.45-7.78 1.8.28 1.13.99 1.11 1.71 1.13 2.11.03 4.21.09 6.32.14l.05.38c-1.96.55-3.91 1.09-5.84 1.63.06.88.52 1.02 1.1 1 .99-.04 1.98-.11 2.97-.12.79 0 1.58.06 2.49.09-1.15 1.64-3.11 1.51-4.37 2.51.26 1.05.89 1.4 1.81 1.49.96.09 1.9.28 3.27.5-1.1.61-1.8.99-2.5 1.38 1.6.21 3.14.04 4.83.81-1.31.6-2.37 1.09-3.69 1.7 1.78.87 3.58.17 5.12 1.07-1.07.59-2 1.11-3.19 1.77 1.97.73 3.78-.06 5.41.84l-3.77 1.08c.02.14.05.29.07.43 1.57.16 3.15.1 4.84.01.08-2.51.24-4.94.22-7.37-.29-29.84-1.34-59.65-2.08-89.48-.02-.75-.16-1.49-.27-2.4-.6.45-1.08.94-1.76.42-.19-.14-.62-.18-.83-.06-2.14 1.15-4.34.4-6.51.19-.49-.05-1.08-.43-1.38-.84-.61-.84-1.02-1.73-.73-2.91.29-1.17.26-2.43.34-3.65.04-.67 0-1.34 0-2.17-1.34.09-2.42.15-3.56.23-.2 3.31-.64 6.5-1.13 9.81-.97-.14-1.71-.26-2.45-.35-.46-.05-.95-.18-1.37-.06-3.87 1.1-7.83 1.04-11.79.98-1.08-.02-2.18-.34-3.23-.66-1.05-.31-1.58-1.32-1.55-2.4.06-2.21.07-4.42.09-6.63 0-.7-.31-1.11-1.06-1.06-.34.03-.68.11-.95.16-.22 2.86-.43 5.65-.66 8.43-.08 1.01-.6 1.59-1.59 1.79-.39.08-.84.16-1.21.06-1.63-.44-3.19-.21-4.8.19-1.58.39-3-.05-3.83-1.62.87-3.04.67-6.11.79-9.25-.41 0-.63-.02-.86 0-.63.07-1.26.15-1.93.23Zm18.67 8.26c5.45-.1 10.65-.19 16.01-.28V8.15c-2.67.18-5.22.39-7.76.5-1.03.04-2.07-.18-3.1-.23-1.71-.08-3.44-.28-5.14.21v4.12Zm.14-8.17c.14.53.27 1.01.37 1.39 2.56 0 4.99.03 7.43 0 2.26-.03 4.51-.17 6.77-.19 1.5-.01 1.68-.16 1.55-1.81-5.3.2-10.61.41-16.12.62Zm-7.68 8.09c.11-1.66.19-2.95.29-4.44-2.17.21-4.15.4-6.27.61v3.47c2.04.12 3.91.23 5.98.36Zm38.53-4.53c-2.22.1-4.05.19-5.95.27-.28 1.31-.46 2.59.09 3.99 1.62-.09 3.22-.19 4.96-.29.31-1.38.6-2.63.9-3.97ZM18.97 4.72c.08.63.12 1.01.17 1.39h6.39c.05-.59.09-1.06.14-1.7l-6.7.32Zm45.1-.74c-2.08 1-3.93 1.32-5.86 1.25-.18 0-.37.38-.73.78h6.31c.09-.62.16-1.11.29-2.03ZM1.88 3.09v3.94c1.11-.86 2.86-.78 2.51-2.76-.78-.37-1.55-.73-2.51-1.18Zm75.54.47c-.32 0-.5-.05-.65 0-.53.2-1.05.43-1.55.64.04 1.55.53 2.08 2.61 2.71-.15-1.19-.28-2.27-.42-3.36ZM17.97 115.57c-1.27.23-2.16.4-3.06.56-1.14.2-1.17.3-.65 1.67h2.28c.43-.66.86-1.33 1.44-2.23Zm46.57-.61c.83 1.48 1.02 1.54 3.49.95-.08-.69-.16-1.39-.25-2.13-1.17.43-2.14.78-3.24 1.18ZM11.07 4.6c-.95.12-1.78.22-2.67.32-.13.61-.24 1.15-.41 1.96 1.2-.13 2.17-.23 3.24-.35-.06-.77-.11-1.33-.16-1.93Zm8.63 108.14c-2.03-.82-3.29.81-4.89 1.16 3.13.03 4.09-.19 4.89-1.16Zm46.87 5.46c.31.47.61.93.91 1.38.11-.02.22-.04.33-.07.08-.71.17-1.42.29-2.48-.69.53-1.05.8-1.53 1.17ZM70.39 6.64c.34-.53.68-.82.65-1.06-.04-.3-.36-.72-.63-.78-.48-.1-.94.17-.8.77.07.3.38.54.78 1.07Zm3.15-2.3c-.93.38-.94.88-.58 1.43.08.13.47.21.6.13.74-.46.24-.94-.02-1.57Z\"/><path class=\"cls-2\" d=\"M13.69 4.48c.67-.08 1.3-.17 1.93-.23.22-.02.45 0 .86 0-.11 3.13.08 6.21-.79 9.25.84 1.57 2.25 2.01 3.83 1.62 1.61-.39 3.17-.63 4.8-.19.37.1.82.02 1.21-.06.99-.2 1.5-.78 1.59-1.79.23-2.78.44-5.57.66-8.43.27-.05.61-.13.95-.16.74-.06 1.06.35 1.06 1.06-.02 2.21-.03 4.42-.09 6.63-.03 1.08.5 2.08 1.55 2.4 1.05.32 2.15.64 3.23.66 3.95.06 7.92.12 11.79-.98.42-.12.92 0 1.37.06.74.09 1.48.21 2.45.35.49-3.31.93-6.5 1.13-9.81 1.14-.07 2.22-.14 3.56-.23 0 .83.03 1.5 0 2.17-.07 1.22-.05 2.48-.34 3.65-.29 1.18.12 2.07.73 2.91.29.41.89.79 1.38.84 2.17.2 4.37.96 6.51-.19.21-.11.64-.08.83.06.68.51 1.16.03 1.76-.42.1.9.25 1.65.27 2.4.74 29.83 1.79 59.64 2.08 89.48.02 2.43-.14 4.86-.22 7.37-1.69.09-3.27.15-4.84-.01-.02-.14-.05-.29-.07-.43l3.77-1.08c-1.63-.9-3.45-.1-5.41-.84 1.2-.66 2.13-1.18 3.19-1.77-1.53-.9-3.33-.2-5.12-1.07 1.32-.61 2.38-1.1 3.69-1.7-1.68-.76-3.22-.6-4.83-.81.7-.38 1.39-.77 2.5-1.38-1.37-.21-2.31-.41-3.27-.5-.91-.08-1.54-.44-1.81-1.49 1.26-1 3.22-.87 4.37-2.51-.9-.04-1.69-.1-2.49-.09-.99 0-1.98.08-2.97.12-.58.02-1.04-.12-1.1-1 1.92-.54 3.88-1.08 5.84-1.63l-.05-.38c-2.11-.05-4.21-.11-6.32-.14-.72-.01-1.43 0-1.71-1.13 2.61-.34 5.23-.62 7.78-1.8-2.97-.81-5.88-.67-8.76-.84-1.29-.08-1.29-.07-2.25-1.55 3.02.87 5.8-.11 8.63-.48-3.04-.38-6.05-1.17-9.39-.38-.69-1.09-1.46-2.24-2.16-3.42-.44-.75-.76-1.57-1.17-2.34-.87-1.65-2.67-2.06-3.94-.7-1.31 1.39-2.43 2.97-3.52 4.55-2.01 2.92-3.94 5.89-5.89 8.85-1.09 1.65-2.13 3.34-3.23 4.99-2.29 3.44-4.61 6.86-6.79 10.09-1.94 0-3.62-.02-5.29 0-.87.02-1.17-.35-.94-1.18 2.18-.66 4.37-1.32 6.56-1.99-.02-.12-.03-.24-.05-.36h-6.52c.2-.46.24-.84.4-.89 2.27-.78 4.56-1.51 6.84-2.42H14.3c.39-1.48 1.56-.94 2.3-1.24.85-.35 1.78-.51 2.66-.79.87-.28 1.73-.6 2.98-1.04h-7.75c-.02-.14-.03-.28-.05-.43 2.17-.73 4.23-1.83 6.63-2.01h-6.26c-.55-.89-.32-1.36.46-1.6.22-.07.46-.08.69-.13 2.53-.48 5.06-.96 7.59-1.56-1.51 0-3.03.04-4.54-.01-1.45-.04-2.94.21-4.61-.27.79-1.2 1.89-.7 2.67-1.09.74-.37 1.62-.48 2.44-.91h-4.84v-2.23c1.67-.33 3.34-.66 5.01-1v-.23c-1.67-.08-3.35-.15-5.02-.23l-.05-.44 4.31-1.29v-.3c-1.4-.19-2.82-.39-4.42-.61-.06-.81-.22-1.6-.18-2.39.25-4.55.21-9.07-.35-13.61-.29-2.35.04-4.78-.03-7.16-.15-4.78-.48-9.55-.57-14.33-.09-4.77.05-9.55.04-14.33 0-3.67-.12-7.34-.12-11.01 0-2.56-.01-5.13.2-7.68.33-4.08.36-8.15.07-12.22 0-.11.04-.22.12-.56Zm27.64 61.91c.4.34.77.6 1.06.93.59.68 1.24.86 1.97.29.51-.39.98-.44 1.6-.24.37.12 1.06.05 1.24-.2.45-.62.88-1.23.78-2.19-.2-1.9-.13-3.84-.08-5.76.02-.89.43-1.53 1.33-2.05 1.8-1.04 3.47-2.22 4.75-4 1.36-1.88 2.4-3.72 2.56-6.1.14-2.02-.15-3.92-.56-5.87-.55-2.56-1.85-4.64-3.62-6.45-2.4-2.46-5.53-3.32-8.81-3.7-1.15-.13-2.33.09-3.49 0-4.66-.32-8.32 1.93-11.67 4.7-3.1 2.56-4.62 6.05-5.07 10.04-.48 4.29-.32 8.4 2.82 11.83.91 1 1.12 2.27 1.2 3.57.07 1.11.12 2.21.24 3.31.2 1.88 1.08 2.77 2.93 2.75.7 0 1.4-.43 2.22-.7 1.19.81 2.52 1.65 3.77-.09 1.94 1.51 3.11 1.52 4.85-.09Z\"/><path class=\"cls-2\" d=\"M32.5 4.57c5.51-.21 10.81-.42 16.12-.62.13 1.65-.05 1.8-1.55 1.81-2.26.02-4.51.16-6.77.19-2.43.04-4.87 0-7.43 0-.1-.38-.23-.87-.37-1.39Zm-13.54.15 6.7-.32c-.05.64-.09 1.11-.14 1.7h-6.39c-.05-.37-.09-.75-.17-1.39Zm45.1-.74c-.13.92-.2 1.41-.29 2.03h-6.31c.36-.4.55-.79.73-.78 1.93.06 3.78-.25 5.86-1.25ZM1.88 3.09c.96.45 1.73.81 2.51 1.18.35 1.99-1.4 1.9-2.51 2.76V3.09Zm75.54.47c.13 1.09.27 2.17.42 3.36-2.08-.63-2.57-1.16-2.61-2.71.49-.21 1.01-.44 1.55-.64.15-.05.33 0 .65 0ZM17.97 115.57c-.58.9-1.01 1.57-1.44 2.23h-2.28c-.52-1.37-.48-1.46.65-1.67.9-.16 1.79-.33 3.06-.56Zm46.58-.61c1.09-.4 2.07-.76 3.24-1.18.09.74.17 1.44.25 2.13-2.47.59-2.66.54-3.49-.95ZM11.07 4.6c.05.61.1 1.16.16 1.93-1.07.12-2.04.22-3.24.35.17-.81.28-1.35.41-1.96.89-.11 1.72-.21 2.67-.32Zm8.63 108.14c-.8.97-1.76 1.19-4.89 1.16 1.6-.35 2.86-1.99 4.89-1.16Zm46.87 5.46c.48-.37.84-.64 1.53-1.17-.12 1.06-.21 1.77-.29 2.48-.11.02-.22.04-.33.07-.3-.45-.6-.9-.91-1.38ZM70.39 6.64c-.4-.53-.72-.77-.78-1.07-.13-.59.32-.87.8-.77.27.06.58.48.63.78.04.24-.3.53-.65 1.06Zm3.15-2.3c.26.62.76 1.1.02 1.57-.13.08-.52 0-.6-.13-.36-.55-.35-1.05.58-1.43Z\"/><path class=\"cls-1\" d=\"M41.33 66.4c-1.74 1.61-2.91 1.6-4.85.09-1.24 1.74-2.58.9-3.77.09-.82.27-1.52.69-2.22.7-1.84.01-2.72-.87-2.93-2.75-.12-1.1-.17-2.21-.24-3.31-.08-1.3-.29-2.57-1.2-3.57-3.14-3.43-3.31-7.54-2.82-11.83.45-3.98 1.97-7.48 5.07-10.04 3.35-2.77 7.01-5.02 11.67-4.7 1.16.08 2.34-.14 3.49 0 3.28.38 6.41 1.24 8.81 3.7 1.77 1.81 3.08 3.89 3.62 6.45.42 1.95.7 3.85.56 5.87-.16 2.38-1.2 4.22-2.56 6.1-1.29 1.78-2.95 2.96-4.75 4-.9.52-1.31 1.16-1.33 2.05-.05 1.92-.12 3.85.08 5.76.1.97-.33 1.57-.78 2.19-.18.25-.87.32-1.24.2-.62-.2-1.09-.15-1.6.24-.73.56-1.38.39-1.97-.29-.29-.33-.66-.59-1.06-.93Zm4.6-1.17c.13-.08.27-.16.4-.25 0-.45.03-.91 0-1.36-.08-.91-.28-1.82-.29-2.74-.01-.86.34-1.77.19-2.59-.17-.92.27-1.3.87-1.68.44-.28.9-.53 1.37-.76 1.95-.96 3.39-2.42 4.35-4.37 1.01-2.02 1.36-4.19 1.43-6.42.11-3.37-.61-6.49-2.82-9.12a4.605 4.605 0 0 0-1.82-1.28c-2.17-.83-4.34-1.66-6.73-1.64-1.27.01-2.54-.26-3.81-.3-.75-.02-1.52.08-2.24.28-1.11.31-2.21.68-3.26 1.17-1.36.63-2.85 1.19-3.95 2.15-3.44 3.02-5.19 6.87-5.07 11.54.09 3.47.23 6.9 3.03 9.49.34.32.68.66.91 1.05.41.69.99 1.42 1.04 2.17.1 1.4.8 2.1 2.08 2.51 1.47-1 2.67-.31 3.75.83.24-.34.4-.65.64-.9 1.12-1.16 2.1-1.04 2.92.33.24.4.48.79.79 1.31.74-.34 1.48-.63 2.18-.99 1.11-.58 1.73-.49 2.64.4.43.42.91.78 1.37 1.16Zm-13.6-.68c-.01.14-.02.27-.04.41.57.25 1.13.49 1.7.74l.24-.28c-.2-.48-.4-.96-.63-1.53-.51.26-.89.46-1.27.66Zm5.9 1.23q-.37-1.72-1.52-1.37c.55.5 1.04.93 1.52 1.37Zm4.19-.38c.94.77 1.21.46 1.5-.39-.53.14-.86.22-1.5.39Z\"/><path class=\"cls-2\" d=\"M45.94 65.22c-.46-.39-.94-.75-1.37-1.16-.91-.88-1.53-.97-2.64-.4-.7.36-1.44.66-2.18.99-.31-.52-.55-.91-.79-1.31-.83-1.37-1.8-1.49-2.92-.33-.24.25-.41.56-.64.9-1.08-1.14-2.28-1.83-3.75-.83-1.28-.42-1.98-1.11-2.08-2.51-.05-.74-.63-1.47-1.04-2.17-.23-.39-.57-.74-.91-1.05-2.8-2.6-2.93-6.02-3.03-9.49-.12-4.66 1.63-8.51 5.07-11.54 1.1-.97 2.59-1.52 3.95-2.15 1.04-.48 2.15-.86 3.26-1.17.72-.2 1.49-.3 2.24-.28 1.27.04 2.54.31 3.81.3 2.39-.02 4.56.81 6.73 1.64.67.26 1.35.73 1.82 1.28 2.21 2.63 2.93 5.76 2.82 9.12-.08 2.23-.43 4.4-1.43 6.42-.97 1.94-2.4 3.41-4.35 4.37-.47.23-.93.48-1.37.76-.6.38-1.03.76-.87 1.68.15.82-.2 1.72-.19 2.59.01.91.21 1.82.29 2.74.04.45 0 .9 0 1.36-.13.08-.27.16-.4.25Zm-1.06-22.86s-.32-.07-.66-.06c-1.58.07-2.91.85-3.56 2.17-.57 1.14-.77 2.56-.8 3.87-.06 2.52 1.23 4.65 2.36 6.8.05.1.16.17.24.25q1.18 1.31 2.89.66c.16-.06.34-.08.51-.12 1.43-.32 2.51-1.09 3.28-2.36 1.02-1.68 1.88-3.47 3.39-4.84.26-.24.28-1.02.1-1.41-.33-.73-.91-1.34-1.33-2.04-1.38-2.28-3.38-3.25-6.4-2.94Zm-11.3.07c-.96.12-2.22.12-3.37.47-1.03.31-1.95.97-2.89 1.53-.23.13-.45.42-.51.68-.26 1.24-.55 2.49-.66 3.75-.06.66.12 1.39.37 2.02.59 1.51 1.26 2.99 1.95 4.47.19.4.46.94.81 1.04.68.2 1.63.44 2.14.13 1.01-.62 2.19-1.45 2.57-2.47.41-1.11 1.08-2.03 1.49-3.1.49-1.29.89-2.62 1.33-3.94.13-.38.18-.79.35-1.15.74-1.62.03-3.02-1.73-3.29-.52-.08-1.04-.07-1.83-.13Zm3.59 15.38q2.41 2.08 4.31 1.14c-.46-1.59-.95-3.18-1.39-4.79-.46-1.7-1.53-2.62-3.25-2.8-.67 1.39-1.53 2.63-1.88 4.01-.38 1.47-2.09 2.29-1.81 3.99 1.9.91 2.75.58 4.04-1.56Zm-.49-21.33c-.55-.5-.86-.9-1.27-1.07-.14-.06-.79.56-.75.64.21.42.52.83.9 1.09.12.08.57-.32 1.12-.66ZM51.43 41c-.3.39-.46.58-.61.78.32.25.62.54.98.72.07.04.54-.46.51-.51-.21-.33-.51-.6-.88-.99Zm-21.15-2.04c-.44-.3-.72-.55-1.04-.66-.09-.03-.5.47-.46.53.2.3.47.57.78.76.06.04.36-.31.72-.63Zm13.4-3.07c.28-.45.55-.81.52-.84-.3-.28-.66-.52-1.02-.73-.03-.01-.39.39-.35.46.2.35.48.64.85 1.11Zm.39 4.1c.21-.28.47-.54.43-.59-.17-.25-.4-.46-.65-.64-.03-.02-.42.33-.4.39.13.27.35.5.61.84Zm4.62-1.94c-.39.85-.11 1.14.39 1.18.13.01.29-.27.43-.41-.27-.26-.55-.51-.82-.77Zm-8.71.59c-.34-.17-.51-.3-.68-.31-.1 0-.31.25-.29.3.08.17.22.38.39.42.11.03.29-.19.59-.42Zm-7.64 25.91c.38-.2.76-.4 1.27-.66.24.58.44 1.05.63 1.53l-.24.28c-.57-.25-1.13-.49-1.7-.74.01-.14.02-.27.04-.41Z\"/><path class=\"cls-2\" d=\"M38.24 65.78c-.48-.44-.96-.87-1.52-1.37q1.15-.35 1.52 1.37Zm4.19-.39c.63-.16.97-.25 1.5-.39-.29.85-.56 1.16-1.5.39Z\"/><path class=\"cls-1\" d=\"M44.87 42.36c3.02-.31 5.02.66 6.4 2.94.42.69 1 1.31 1.33 2.04.18.39.16 1.17-.1 1.41-1.51 1.36-2.36 3.16-3.39 4.84-.77 1.27-1.85 2.04-3.28 2.36-.17.04-.35.05-.51.12q-1.71.66-2.89-.66c-.08-.09-.19-.16-.24-.25-1.13-2.15-2.42-4.28-2.36-6.8.03-1.3.23-2.72.8-3.87.66-1.32 1.98-2.1 3.56-2.17.34-.02.69.06.66.06Zm-11.3.08c.79.05 1.32.04 1.83.13 1.76.27 2.47 1.67 1.73 3.29-.17.36-.22.77-.35 1.15-.43 1.31-.84 2.64-1.33 3.94-.41 1.07-1.08 1.99-1.49 3.1-.37 1.02-1.56 1.85-2.57 2.47-.51.31-1.45.07-2.14-.13-.35-.1-.62-.64-.81-1.04-.68-1.47-1.36-2.96-1.95-4.47-.25-.63-.42-1.36-.37-2.02.11-1.26.4-2.51.66-3.75.05-.25.28-.54.51-.68.94-.55 1.87-1.22 2.89-1.53 1.15-.35 2.41-.35 3.37-.47Zm3.59 15.38c-1.29 2.14-2.14 2.48-4.04 1.56-.28-1.7 1.43-2.52 1.81-3.99.36-1.38 1.21-2.62 1.88-4.01 1.72.18 2.79 1.1 3.25 2.8.44 1.61.93 3.2 1.39 4.79q-1.89.94-4.31-1.14Zm-.49-21.33c-.55.33-1 .74-1.12.66-.38-.26-.69-.68-.9-1.09-.04-.08.61-.7.75-.64.41.18.71.58 1.27 1.07Zm14.75 4.52c.37.4.66.67.88.99.03.05-.44.55-.51.51-.36-.18-.66-.47-.98-.72.15-.2.31-.39.61-.78Zm-21.15-2.04c-.36.32-.66.67-.72.63-.3-.19-.58-.46-.78-.76-.04-.06.37-.56.46-.53.32.11.6.36 1.04.66Zm13.4-3.07c-.37-.47-.65-.76-.85-1.11-.04-.07.32-.47.35-.46.36.21.72.44 1.02.73.03.03-.24.4-.52.84Zm.39 4.09c-.27-.35-.49-.58-.61-.84-.03-.06.36-.41.4-.39.25.18.49.39.65.64.04.06-.22.31-.43.59Zm4.61-1.94c.27.26.55.51.82.77-.14.15-.3.42-.43.41-.5-.04-.79-.33-.39-1.18Zm-8.7.59c-.3.22-.48.45-.59.42-.16-.04-.3-.25-.39-.42-.02-.05.19-.31.29-.3.17 0 .34.14.68.31Z\"/></g></svg>',transformTemplate:transformTemplate1,withExternalLayout:true})})]}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-1s1by8o\",\"data-styles-preset\":\"ngIejuzLO\",dir:\"auto\",children:\"Subscribe to my monthly newsletter for notes from my desk about games I’m designing, things I’m playing, miniatures, the hobby and new writing from the site. I promise to only send the good stuff - no spam here!\"})}),className:\"framer-19u1dh2\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"BVfw6F90G\",verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-g4x232-container\",\"data-framer-name\":\"Newsletter signup\",isAuthoredByUser:true,layoutDependency:layoutDependency,layoutId:\"aU1Db_whL-container\",name:\"Newsletter signup\",nodeId:\"aU1Db_whL\",rendersWithMotion:true,scopeId:\"e2xNkGfko\",children:/*#__PURE__*/_jsx(NewsletterSignup,{height:\"100%\",id:\"aU1Db_whL\",layoutId:\"aU1Db_whL\",name:\"Newsletter signup\",style:{height:\"100%\",width:\"100%\"},width:\"100%\"})})})]})})})})})})});});const css=[\".framer-QKdMl.framer-14dch16, .framer-QKdMl .framer-14dch16 { display: block; }\",\".framer-QKdMl.framer-tu17o5 { align-content: center; align-items: center; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: 578px; justify-content: center; overflow: hidden; padding: 56px 20px 56px 20px; position: relative; width: 1440px; }\",\".framer-QKdMl .framer-yio60 { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 100%; }\",\".framer-QKdMl .framer-1yn0x6g { align-content: center; align-items: center; display: flex; flex: 1 0 0px; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; max-width: 1284px; overflow: hidden; padding: 0px; position: relative; width: 1px; }\",\".framer-QKdMl .framer-1wqmbki { align-content: flex-start; align-items: flex-start; display: flex; flex: 1 0 0px; flex-direction: column; flex-wrap: nowrap; gap: 20px; height: min-content; justify-content: center; max-width: 500px; padding: 0px; position: relative; width: 1px; }\",\".framer-QKdMl .framer-1d0t0qx { align-content: flex-start; align-items: flex-start; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 16px; height: min-content; justify-content: flex-start; overflow: visible; padding: 0px; position: relative; width: 100%; }\",\".framer-QKdMl .framer-127ej4p { flex: 1 0 0px; height: auto; max-width: 350px; overflow: visible; position: relative; white-space: pre-wrap; width: 1px; word-break: break-word; word-wrap: break-word; }\",\".framer-QKdMl .framer-1if8olk { flex: none; height: 154px; overflow: hidden; position: relative; width: 96px; }\",\".framer-QKdMl .framer-1941z29 { aspect-ratio: 0.625 / 1; flex: none; height: auto; left: 0%; position: absolute; top: 0px; width: 96px; }\",\".framer-QKdMl .framer-19u1dh2 { flex: none; height: auto; overflow: visible; position: relative; white-space: pre-wrap; width: 100%; word-break: break-word; word-wrap: break-word; }\",\".framer-QKdMl .framer-g4x232-container { flex: none; height: 100px; position: relative; width: 100%; }\",...sharedStyle.css,...sharedStyle1.css];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 578\n * @framerIntrinsicWidth 1440\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const Framere2xNkGfko=withCSS(Component,css,\"framer-QKdMl\");export default Framere2xNkGfko;Framere2xNkGfko.displayName=\"From the Black Desk Subscription\";Framere2xNkGfko.defaultProps={height:578,width:1440};addFonts(Framere2xNkGfko,[{explicitInter:true,fonts:[{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/b6Y37FthZeALduNqHicBT6FutY.woff2\",weight:\"400\"}]},...NewsletterSignupFonts,...getFontsFromSharedStyle(sharedStyle.fonts),...getFontsFromSharedStyle(sharedStyle1.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Framere2xNkGfko\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"578\",\"framerIntrinsicWidth\":\"1440\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerColorSyntax\":\"true\",\"framerImmutableVariables\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerDisplayContentsDiv\":\"false\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./e2xNkGfko.map","import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function CommentCount(props){const{apiUrl,siteKey,contentType,articleLink,fontSize,color,style}=props;const[count,setCount]=React.useState(0);React.useEffect(()=>{const rawLink=typeof articleLink===\"string\"?articleLink:articleLink?.href||\"\";const content=rawLink?new URL(rawLink,\"https://andyhobday.com\").pathname.replace(/\\/+$/,\"\")||\"/\":\"\";if(!apiUrl||!siteKey||!content){setCount(0);return;}const controller=new AbortController;const params=new URLSearchParams({site:siteKey,type:contentType||\"article\",content});fetch(apiUrl+\"?\"+params.toString(),{signal:controller.signal}).then(async response=>{if(!response.ok)throw new Error(\"Comments unavailable\");return response.json();}).then(data=>{const comments=Array.isArray(data.comments)?data.comments:[];const roots=comments.filter(item=>!item.parent_id);setCount(roots.length);}).catch(error=>{if(error?.name!==\"AbortError\")setCount(0);});return()=>controller.abort();},[apiUrl,siteKey,contentType,articleLink]);const label=count+\" \"+(count===1?\"COMMENT\":\"COMMENTS\");return /*#__PURE__*/_jsx(\"span\",{style:{...style,display:\"inline-block\",width:\"max-content\",fontFamily:\"Staatliches, sans-serif\",fontWeight:400,fontSize:fontSize||17,lineHeight:1,textTransform:\"uppercase\",color:color||\"#de6b48\",whiteSpace:\"nowrap\",opacity:1},\"aria-label\":label.toLowerCase(),children:label});}CommentCount.defaultProps={apiUrl:\"https://ywqhickdyyfmjupdaize.supabase.co/functions/v1/comments\",siteKey:\"andyhobday-com\",contentType:\"article\",articleLink:\"\",fontSize:17,color:\"#de6b48\"};addPropertyControls(CommentCount,{apiUrl:{type:ControlType.String,title:\"API URL\"},siteKey:{type:ControlType.String,title:\"Site Key\"},contentType:{type:ControlType.String,title:\"Content Type\"},articleLink:{type:ControlType.Link,title:\"Article\"},fontSize:{type:ControlType.Number,title:\"Size\",min:10,max:24,step:1},color:{type:ControlType.Color,title:\"Colour\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CommentCount\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CommentCount.map"],"mappings":"A,4gBAGG,SAAwBuD,EAAiB,EAAM,CAAC,GAAK,CAACC,EAAMC,GAAUzD,EAAe,EAAE,EAAO,CAAC0D,EAAQC,GAAY3D,EAAe,EAAE,EAAO,CAAC4D,EAAOC,GAAW7D,EAAe,MAAM,EAAO,CAAC8D,EAAMC,GAAU/D,EAAe,EAAE,EAAO,CAACgE,EAAcC,GAAkBjE,EAAe,EAAK,EAA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