{"version":3,"file":"CommentCount.CvbrErd4.mjs","names":["addPropertyOverrides","cycleOrder","serializationHash","variantClassNames","transition1","Transition","Variants","humanReadableVariantMap","getProps","createLayoutDependency","Component","css","error","newId","_Fragment","style","x","count"],"sources":["https:/framerusercontent.com/modules/LlLh4BgWySp4FsHEeq8h/uN7oOweyDctUysr329eA/NDp9ZzPRu.js","https:/framerusercontent.com/modules/VnGvLeb3aPwccgmJqj6r/MHzgVuAk8brePFoWQPZa/CommentSection.js","https:/framerusercontent.com/modules/ew7wMS5leLURyj1qCBqG/k8S5sRpi4AsZdScMttra/nJ0fWfqLB.js","https:/framerusercontent.com/modules/c7cok33Bdnmvk1N7cs1a/VWTdy1d07FGeMnS2PhUd/CommentCount.js"],"sourcesContent":["// Generated by Framer (4458791)\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 MotionDivWithFXWithOptimizedAppearEffect=withOptimizedAppearEffect(withFX(motion.div));const cycleOrder=[\"bJ1eqwUDt\",\"a_7pXcME0\",\"kTXGuwyqA\"];const serializationHash=\"framer-UkBY8\";const variantClassNames={a_7pXcME0:\"framer-v-22e10\",bJ1eqwUDt:\"framer-v-ci1hgj\",kTXGuwyqA:\"framer-v-i3fy1g\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}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 Variants=motion.create(React.Fragment);const humanReadableVariantMap={Default:\"bJ1eqwUDt\",Hidden:\"kTXGuwyqA\",Loading:\"a_7pXcME0\"};const getProps=({click,height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"bJ1eqwUDt\",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,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:\"bJ1eqwUDt\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);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 sharedStyleClassNames=[];const isDisplayed=()=>{if(baseVariant===\"kTXGuwyqA\")return false;return true;};const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed1=()=>{if(baseVariant===\"a_7pXcME0\")return false;return true;};const isDisplayed2=()=>{if(baseVariant===\"a_7pXcME0\")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.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-ci1hgj\",className,classNames),\"data-framer-name\":\"Default\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"bJ1eqwUDt\",onTap:onTapn9xadi,ref:refBinding,style:{backgroundColor:\"var(--token-4cc84946-20ac-49cb-98b0-ff492be25673, rgb(19, 20, 21))\",borderBottomLeftRadius:10,borderBottomRightRadius:10,borderTopLeftRadius:10,borderTopRightRadius:10,...style},...addPropertyOverrides({a_7pXcME0:{\"data-framer-name\":\"Loading\"}},baseVariant,gestureVariant),children:[isDisplayed1()&&/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"RlM7U3luZS1tZWRpdW0=\",\"--framer-font-family\":'\"Syne\", \"Syne Placeholder\", sans-serif',\"--framer-font-size\":\"14px\",\"--framer-font-weight\":\"500\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"Load More\"})}),className:\"framer-1rsdesa\",fonts:[\"FS;Syne-medium\"],layoutDependency:layoutDependency,layoutId:\"CfZr_TuqW\",style:{\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\"},verticalAlignment:\"top\",withExternalLayout:true}),isDisplayed2()&&/*#__PURE__*/_jsx(MotionDivWithFXWithOptimizedAppearEffect,{__perspectiveFX:false,__smartComponentFX:true,__targetOpacity:1,animate:animation,className:\"framer-ybufa0\",\"data-framer-appear-id\":\"ybufa0\",\"data-framer-name\":\"Spinner\",initial:animation1,layoutDependency:layoutDependency,layoutId:\"HF5Rpy9VD\",optimized:true,style:{mask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg') alpha no-repeat center / cover add\",WebkitMask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg') alpha no-repeat center / cover add\"},children:/*#__PURE__*/_jsx(MotionDivWithFX,{__framer__loop:animation2,__framer__loopEffectEnabled:true,__framer__loopRepeatDelay:0,__framer__loopRepeatType:\"loop\",__framer__loopTransition:transition3,__perspectiveFX:false,__smartComponentFX:true,__targetOpacity:1,className:\"framer-1bt9df5\",\"data-framer-name\":\"Conic\",layoutDependency:layoutDependency,layoutId:\"q3jYS5Fw8\",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-1t8rkja\",\"data-framer-name\":\"Round\",layoutDependency:layoutDependency,layoutId:\"HCyXQ9JQP\",style:{backgroundColor:\"rgb(255, 255, 255)\",borderBottomLeftRadius:1,borderBottomRightRadius:1,borderTopLeftRadius:1,borderTopRightRadius:1}})})})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-UkBY8.framer-1gp8rvl, .framer-UkBY8 .framer-1gp8rvl { display: block; }\",\".framer-UkBY8.framer-ci1hgj { 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-UkBY8 .framer-1rsdesa { -webkit-user-select: none; flex: none; height: auto; position: relative; user-select: none; white-space: pre; width: auto; }\",\".framer-UkBY8 .framer-ybufa0 { aspect-ratio: 1 / 1; flex: none; gap: 10px; height: var(--framer-aspect-ratio-supported, 20px); overflow: visible; position: relative; width: 20px; }\",\".framer-UkBY8 .framer-1bt9df5 { bottom: 0px; flex: none; gap: 10px; left: 0px; overflow: visible; position: absolute; right: 0px; top: 0px; }\",\".framer-UkBY8 .framer-1t8rkja { 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\"]},\"a_7pXcME0\":{\"layout\":[\"fixed\",\"fixed\"]},\"kTXGuwyqA\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"Wld3NDzSj\":\"click\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerNDp9ZzPRu=withCSS(Component,css,\"framer-UkBY8\");export default FramerNDp9ZzPRu;FramerNDp9ZzPRu.displayName=\"Load More 3\";FramerNDp9ZzPRu.defaultProps={height:40,width:100};addPropertyControls(FramerNDp9ZzPRu,{variant:{options:[\"bJ1eqwUDt\",\"a_7pXcME0\",\"kTXGuwyqA\"],optionTitles:[\"Default\",\"Loading\",\"Hidden\"],title:\"Variant\",type:ControlType.Enum},Wld3NDzSj:{title:\"Click\",type:ControlType.EventHandler}});addFonts(FramerNDp9ZzPRu,[{explicitInter:true,fonts:[{family:\"Syne\",source:\"fontshare\",style:\"normal\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/6RX5HIHKXSNRRZM4TG3ZDRLY4QYRWVVV/LDU4YZVURVJ7AUY5LTGS5UVZP5WMQGD2/HUZK5ZCPMLHN2C4WDX2FZVOULKRASN7B.woff2\",weight:\"500\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerNDp9ZzPRu\",\"slots\":[],\"annotations\":{\"framerAutoSizeImages\":\"true\",\"framerVariables\":\"{\\\"Wld3NDzSj\\\":\\\"click\\\"}\",\"framerComponentViewportWidth\":\"true\",\"framerColorSyntax\":\"true\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"100\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicHeight\":\"40\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"a_7pXcME0\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"kTXGuwyqA\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerImmutableVariables\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./NDp9ZzPRu.map","// YouTube-style Comment Section (Supabase, dark mode, heart icon for likes, keyboard shortcut protection)\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState,useMemo,useCallback,useRef,useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";function HeartIcon({size=18,color=\"#f43f5e\",filled=false,style}){return /*#__PURE__*/_jsx(\"svg\",{width:size,height:size,viewBox:\"0 0 24 24\",fill:filled?color:\"none\",stroke:color,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",style:style,children:/*#__PURE__*/_jsx(\"path\",{d:\"M19.5 13.572L12 21l-7.5-7.428C2.5 11.5 2.5 8.5 5 6.5c2-1.5 4.5-1 7 2 2.5-3 5-3.5 7-2 2.5 2 2.5 5 0 7.072z\"})});}function ArrowDownIcon({size=20,color=\"#3b82f6\",rotate=0,style={}}){return /*#__PURE__*/_jsx(\"svg\",{width:size,height:size,viewBox:\"0 0 24 24\",fill:\"none\",stroke:color,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",style:{transform:`rotate(${rotate}deg)`,...style},children:/*#__PURE__*/_jsx(\"polyline\",{points:\"6 9 12 15 18 9\"})});}function SendIcon({size=28,color=\"#3b82f6\"}){return /*#__PURE__*/_jsxs(\"svg\",{width:size,height:size,viewBox:\"0 0 24 24\",fill:\"none\",stroke:color,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"line\",{x1:\"22\",y1:\"2\",x2:\"11\",y2:\"13\"}),/*#__PURE__*/_jsx(\"polygon\",{points:\"22 2 15 22 11 13 2 9 22 2\"})]});}function getInitials(name){const parts=name.trim().split(/\\s+/);if(parts.length===1)return parts[0][0].toUpperCase();return(parts[0][0]+parts[parts.length-1][0]).toUpperCase();}function timeAgo(date){const now=new Date;const seconds=Math.floor((now.getTime()-date.getTime())/1e3);if(seconds<60)return\"just now\";const minutes=Math.floor(seconds/60);if(minutes<60)return`${minutes}m ago`;const hours=Math.floor(minutes/60);if(hours<24)return`${hours}h ago`;const days=Math.floor(hours/24);if(days<7)return`${days}d ago`;return date.toLocaleDateString();}function Shimmer({height=20,width=\"100%\",radius=8,style={}}){return /*#__PURE__*/_jsx(\"div\",{style:{width,height,borderRadius:radius,background:\"linear-gradient(90deg, #232326 25%, #27272a 50%, #232326 75%)\",backgroundSize:\"200% 100%\",animation:\"shimmer 1.2s infinite\",...style}});}const shimmerKeyframes=`@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }`;function getCommentCount(list){let count=0;for(const c of list){count++;if(c.replies&&c.replies.length)count+=getCommentCount(c.replies);}return count;}function formatCount(n){if(n<1e3)return n;if(n<1e6)return(n/1e3).toFixed(1).replace(/\\.0$/,\"\")+\"K\";return(n/1e6).toFixed(1).replace(/\\.0$/,\"\")+\"M\";}function CustomDropdown({value,onChange,options,font,accent}){const[open,setOpen]=useState(false);const selected=options.find(o=>o.value===value);const dropdownWidth=120;return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",minWidth:dropdownWidth,width:dropdownWidth},children:[/*#__PURE__*/_jsxs(\"button\",{type:\"button\",style:{display:\"flex\",alignItems:\"center\",background:\"#232326\",color:\"#f4f4f5\",border:\"1px solid #27272a\",borderRadius:6,padding:\"6px 32px 6px 12px\",fontSize:15,fontWeight:600,outline:\"none\",cursor:\"pointer\",minWidth:dropdownWidth,width:dropdownWidth,...font},onClick:()=>setOpen(v=>!v),\"aria-haspopup\":\"listbox\",\"aria-expanded\":open,children:[/*#__PURE__*/_jsx(\"span\",{children:selected?selected.label:\"\"}),/*#__PURE__*/_jsx(ArrowDownIcon,{size:18,color:accent,style:{position:\"absolute\",right:10,pointerEvents:\"none\"}})]}),open&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:\"100%\",left:0,background:\"#232326\",border:\"1px solid #27272a\",borderRadius:8,marginTop:4,zIndex:10,minWidth:120,boxShadow:\"0 2px 8px rgba(0,0,0,0.12)\"},role:\"listbox\",children:options.map(opt=>/*#__PURE__*/_jsx(\"div\",{role:\"option\",\"aria-selected\":opt.value===value,onClick:()=>{setOpen(false);onChange(opt.value);},style:{padding:\"8px 16px\",color:opt.value===value?accent:\"#f4f4f5\",background:opt.value===value?\"rgba(59,130,246,0.08)\":\"transparent\",cursor:\"pointer\",fontWeight:opt.value===value?700:500,minWidth:dropdownWidth,width:dropdownWidth,...font},children:opt.label},opt.value))})]});}/**\n * YouTube-style Comment Section (Supabase, dark mode, heart icon for likes, keyboard shortcut protection)\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function CommentSection(props){const{background,primary,subtleBackground,headingFont,bodyFont,style}=props;const supabase=typeof window!==\"undefined\"?window.supabaseClient:null;const[comments,setComments]=useState([]);const[currentUser,setCurrentUser]=useState(null);const[userLikes,setUserLikes]=useState({});const[sort,setSort]=useState(\"top\");const[input,setInput]=useState(\"\");const[replyTo,setReplyTo]=useState(null);const[editingMobile,setEditingMobile]=useState(null);const[replyNameMobile,setReplyNameMobile]=useState(\"\");const[loading,setLoading]=useState(true);const inputRef=useRef(null);// Get current user from global state\nuseEffect(()=>{if(typeof window===\"undefined\")return;const checkUser=()=>{const user=window.currentUser;setCurrentUser(user);if(user?.id){const likes=localStorage.getItem(`commentLikes_${user.id}`);if(likes)setUserLikes(JSON.parse(likes));}};// Check immediately\ncheckUser();// Check periodically for updates\nconst interval=setInterval(checkUser,1e3);return()=>clearInterval(interval);},[]);const currentUserName=currentUser?.name||\"Anonymous\";const currentUserId=currentUser?.id||null;const isLoggedIn=props.experience===\"Member\";const fetchComments=useCallback(async()=>{if(!supabase)return;setLoading(true);console.log(\"Fetching comments for page:\",props.pageSlug);// Fetch comments\nlet{data,error}=await supabase.from(\"comments\").select(\"*\").eq(\"page_slug\",props.pageSlug).order(\"created_at\",{ascending:false});if(error){console.error(\"Error fetching comments:\",error);setComments([]);setLoading(false);return;}console.log(\"Fetched comments:\",data);// Get unique user IDs to fetch display names\nconst userIds=[...new Set(data.map(c=>c.user_id).filter(Boolean))];console.log(\"User IDs to fetch:\",userIds);// Fetch user display names using edge function\nlet userDisplayNames={};if(userIds.length>0){console.log(\"Fetching display names using edge function\");console.log(\"User IDs to fetch display names for:\",userIds);try{console.log(\"Calling resolve_display_names edge function...\");const supabaseUrl=typeof window!==\"undefined\"?window.supabaseClient?.supabaseUrl:null;const supabaseAnonKey=typeof window!==\"undefined\"?window.supabaseClient?.supabaseKey:null;if(!supabaseUrl||!supabaseAnonKey){console.error(\"Supabase URL or key not available from global client\");return;}const response=await fetch(`${supabaseUrl}/functions/v1/resolve_display_names`,{method:\"POST\",headers:{\"Content-Type\":\"application/json\",\"Authorization\":`Bearer ${supabaseAnonKey}`},body:JSON.stringify({user_ids:userIds})});console.log(\"Edge function response status:\",response.status);if(response.ok){const result=await response.json();console.log(\"Edge function result:\",result);if(Array.isArray(result)){result.forEach(user=>{if(user&&user.user_id&&user.display_name){userDisplayNames[user.user_id]=user.display_name;console.log(`Set display name for ${user.user_id}: ${user.display_name}`);}});}else{console.error(\"Edge function returned non-array result:\",result);}}else{const errorText=await response.text();console.error(\"Edge function error:\",response.status,errorText);console.error(\"This usually means the edge function or database view is not properly configured\");}}catch(edgeFunctionError){console.error(\"Exception while calling edge function:\",edgeFunctionError);console.error(\"Make sure your edge function is deployed and accessible\");}// For any users not found, use Anonymous as fallback\nuserIds.forEach(userId=>{if(!userDisplayNames[userId]){console.log(`No display name found for user ${userId}, using Anonymous`);userDisplayNames[userId]=\"Anonymous\";}});}console.log(\"Final user display names:\",userDisplayNames);const byId={};data.forEach(c=>{// Get display name from fetched user data\nconst displayName=userDisplayNames[c.user_id]||\"Anonymous\";byId[c.id]={...c,displayName,replies:[]};});const tree=[];data.forEach(c=>{if(c.parent_id&&byId[c.parent_id]){byId[c.parent_id].replies.push(byId[c.id]);}else{tree.push(byId[c.id]);}});console.log(\"Final comments tree:\",tree);setComments(tree);setLoading(false);},[supabase,props.pageSlug]);useEffect(()=>{fetchComments();},[fetchComments,sort]);const sortedComments=useMemo(()=>{let arr=[...comments];if(sort===\"top\"){arr.sort((a,b)=>b.likes-a.likes);}else{arr.sort((a,b)=>new Date(b.created_at).getTime()-new Date(a.created_at).getTime());}return arr;},[comments,sort]);const[postError,setPostError]=useState(\"\");async function handleAdd(e){e.preventDefault();setPostError(\"\");if(!input.trim())return;if(!supabase){setPostError(\"Supabase client not ready. Please wait and try again.\");return;}setLoading(true);function uuidv4(){return\"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx\".replace(/[xy]/g,function(c){const r=Math.random()*16|0,v=c===\"x\"?r:r&3|8;return v.toString(16);});}if(isMobile&&editingMobile){const now=new Date().toISOString();const{error}=await supabase.from(\"comments\").update({text:input.trim(),edited:true,created_at:now}).eq(\"id\",editingMobile);if(error){setPostError(\"Failed to update comment: \"+(error.message||\"\"));setLoading(false);return;}setEditingMobile(null);setInput(\"\");if(typeof fetchComments===\"function\")await fetchComments();setLoading(false);return;}if(isMobile&&replyTo){const newId=uuidv4();console.log(\"Mobile reply - inserting:\",{id:newId,page_slug:props.pageSlug,text:input.trim(),parent_id:replyTo,likes:0,user_id:currentUserId});const{error}=await supabase.from(\"comments\").insert([{id:newId,page_slug:props.pageSlug,text:input.trim(),parent_id:replyTo,likes:0,user_id:currentUserId}]);if(error){setPostError(\"Failed to post reply: \"+(error.message||\"Please check your Supabase table, columns, and RLS policy.\"));setLoading(false);return;}setInput(\"\");setReplyTo(null);setReplyNameMobile(\"\");if(typeof fetchComments===\"function\")await fetchComments();setLoading(false);return;}if(isMobile&&(editingMobile||replyTo)){setEditingMobile(null);setReplyTo(null);setReplyNameMobile(\"\");}// Desktop reply logic\nif(!isMobile&&replyTo){const newId=uuidv4();console.log(\"Inserting reply:\",{id:newId,page_slug:props.pageSlug,text:input.trim(),parent_id:replyTo,likes:0,user_id:currentUserId});const{error}=await supabase.from(\"comments\").insert([{id:newId,page_slug:props.pageSlug,text:input.trim(),parent_id:replyTo,likes:0,user_id:currentUserId}]);if(error){setPostError(\"Failed to post reply: \"+(error.message||\"Please check your Supabase table, columns, and RLS policy.\"));setLoading(false);return;}setInput(\"\");setReplyTo(null);setReplyNameMobile(\"\");if(typeof fetchComments===\"function\")await fetchComments();setLoading(false);return;}const newId=uuidv4();console.log(\"New comment - inserting:\",{id:newId,page_slug:props.pageSlug,text:input.trim(),parent_id:null,likes:0,user_id:currentUserId});const{error}=await supabase.from(\"comments\").insert([{id:newId,page_slug:props.pageSlug,text:input.trim(),parent_id:null,likes:0,user_id:currentUserId}]);if(error){console.error(\"Supabase insert error:\",error);setPostError(\"Failed to post comment: \"+(error.message||\"Please check your Supabase table, columns, and RLS policy.\"));setLoading(false);return;}console.log(\"Comment posted successfully\");setInput(\"\");setReplyTo(null);setReplyNameMobile(\"\");if(typeof fetchComments===\"function\")await fetchComments();setLoading(false);}async function handleLike(id){if(!currentUserId||!supabase||!isLoggedIn)return;const alreadyLiked=!!userLikes[id];let comment=null;function findComment(list){for(const c of list){if(c.id===id)return c;if(c.replies&&c.replies.length){const found=findComment(c.replies);if(found)return found;}}return null;}comment=findComment(comments);if(!comment)return;let newLikes=alreadyLiked?Math.max(0,comment.likes-1):comment.likes+1;function updateLikes(list){return list.map(c=>{if(c.id===id){return{...c,likes:newLikes};}else if(c.replies&&c.replies.length){return{...c,replies:updateLikes(c.replies)};}else{return c;}});}setComments(prev=>updateLikes(prev));const newUserLikes={...userLikes};if(alreadyLiked){delete newUserLikes[id];}else{newUserLikes[id]=true;}setUserLikes(newUserLikes);if(typeof window!==\"undefined\"){localStorage.setItem(`commentLikes_${currentUserId}`,JSON.stringify(newUserLikes));}const{data,error}=await supabase.from(\"comments\").update({likes:newLikes}).eq(\"id\",id);if(error){setComments(prev=>updateLikes(prev));if(!alreadyLiked){const revertLikes={...newUserLikes};delete revertLikes[id];setUserLikes(revertLikes);if(typeof window!==\"undefined\"){localStorage.setItem(`commentLikes_${currentUserId}`,JSON.stringify(revertLikes));}}else{const revertLikes={...newUserLikes,[id]:true};setUserLikes(revertLikes);if(typeof window!==\"undefined\"){localStorage.setItem(`commentLikes_${currentUserId}`,JSON.stringify(revertLikes));}}alert(\"Failed to update like in database: \"+(error.message||error));}}function handleReply(id,name){if(isMobile){setReplyTo(id);setReplyNameMobile(name);setInput(\"\");setEditingMobile(null);}else{setReplyTo(id);setTimeout(()=>{if(inputRef.current)inputRef.current.focus();},100);}}function handleCancelReply(){setReplyTo(null);setReplyNameMobile(\"\");if(isMobile)setInput(\"\");}const[openReplies,setOpenReplies]=useState({});function toggleReplies(id){setOpenReplies(prev=>({...prev,[id]:!prev[id]}));}function collectDescendantIds(comment){let ids=[comment.id];if(comment.replies&&comment.replies.length){for(const reply of comment.replies){ids=ids.concat(collectDescendantIds(reply));}}return ids;}const[editingId,setEditingId]=useState(null);const[editValue,setEditValue]=useState(\"\");async function handleDelete(id){if(!supabase)return;function collectIds(list,targetId){let ids=[];for(const c of list){if(c.id===targetId){ids.push(c.id);if(c.replies&&c.replies.length){for(const r of c.replies){ids=ids.concat(collectIds([r],r.id));}}}else if(c.replies&&c.replies.length){ids=ids.concat(collectIds(c.replies,targetId));}}return ids;}const idsToDelete=collectIds(comments,id);if(!idsToDelete.length)return;setLoading(true);const{error}=await supabase.from(\"comments\").delete().in(\"id\",idsToDelete);if(error){alert(\"Failed to delete comment: \"+error.message);setLoading(false);return;}if(typeof fetchComments===\"function\")await fetchComments();setLoading(false);}function handleEdit(id,text){if(isMobile){setEditingMobile(id);setInput(text);setReplyTo(null);setReplyNameMobile(\"\");}else{setEditingId(id);setEditValue(text);setTimeout(()=>{if(inputRef.current)inputRef.current.focus();},100);}}async function handleEditSave(id){if(!supabase||!editValue.trim())return;setLoading(true);const now=new Date().toISOString();const{error}=await supabase.from(\"comments\").update({text:editValue.trim(),edited:true,created_at:now}).eq(\"id\",id);if(error){alert(\"Failed to update comment: \"+error.message);setLoading(false);return;}setEditingId(null);setEditValue(\"\");if(typeof fetchComments===\"function\")await fetchComments();setLoading(false);}function handleEditCancel(){setEditingId(null);setEditValue(\"\");}function renderComments(list,depth=0,parentName=null){return list.map((c,idx)=>{const isReplyToReply=depth>1;const marginLeft=depth===0?0:40;const showAtName=parentName&&depth>0;const spacing=props.commentSpacing??40;const hasReplies=c.replies&&c.replies.length>0;const repliesOpen=openReplies[c.id]!==false;function countRepliesTree(node){if(!node.replies||!node.replies.length)return 0;let count=node.replies.length;for(const r of node.replies)count+=countRepliesTree(r);return count;}const totalReplies=countRepliesTree(c);return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"flex-start\",marginBottom:spacing,marginLeft,width:\"100%\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",alignItems:\"center\",marginRight:16},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:40,height:40,borderRadius:\"50%\",background:subtleBackground,color:primary,fontWeight:headingFont.fontWeight||700,fontSize:headingFont.fontSize||18,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0,...headingFont},\"aria-label\":c.user_id===currentUserId?currentUserName:c.displayName||c.name,children:getInitials(c.user_id===currentUserId?currentUserName:c.displayName||c.name)}),hasReplies&&depth===0&&/*#__PURE__*/_jsxs(\"button\",{type:\"button\",onClick:()=>toggleReplies(c.id),style:{background:\"none\",border:\"none\",color:primary,display:\"flex\",flexDirection:\"column\",alignItems:\"center\",marginTop:0,cursor:\"pointer\",padding:0,fontSize:15,gap:2,...bodyFont},\"aria-label\":repliesOpen?\"Hide replies\":\"Show replies\",children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:14,marginBottom:0,marginTop:12},children:totalReplies}),/*#__PURE__*/_jsx(\"span\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",transition:\"transform 0.3s cubic-bezier(.4,2,.6,1)\",transform:`rotate(${repliesOpen?0:180}deg)`},children:/*#__PURE__*/_jsx(ArrowDownIcon,{size:20,color:primary,rotate:0})})]})]}),/*#__PURE__*/_jsxs(\"div\",{style:{flex:1},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:8},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontWeight:600,...headingFont},children:c.user_id===currentUserId?currentUserName:c.displayName||c.name}),/*#__PURE__*/_jsxs(\"span\",{style:{color:\"#888\",fontSize:13,marginLeft:4,...bodyFont},children:[timeAgo(new Date(c.created_at)),c.edited?/*#__PURE__*/_jsx(\"span\",{style:{marginLeft:6,color:\"#888\",fontSize:13,...bodyFont},children:\"• Edited\"}):null]})]}),editingId===c.id&&!isMobile?/*#__PURE__*/_jsxs(\"form\",{onSubmit:e=>{e.preventDefault();handleEditSave(c.id);},style:{margin:\"6px 0 8px 0\",display:\"flex\",flexDirection:\"column\",gap:8},children:[/*#__PURE__*/_jsx(\"textarea\",{value:editValue,onChange:e=>setEditValue(e.target.value),style:{border:\"none\",background:props.subtleBackground,borderRadius:8,color:props.primary,fontSize:15,outline:\"none\",width:\"100%\",boxSizing:\"border-box\",resize:\"none\",minHeight:48,maxHeight:200,overflowY:\"auto\",padding:\"10px 12px 10px 12px\",...bodyFont},rows:1,required:true,autoFocus:true,onKeyDown:e=>{e.stopPropagation();}}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:8},children:[/*#__PURE__*/_jsx(\"button\",{type:\"submit\",style:{background:props.primary,color:props.background,border:`2px solid ${props.accentColor||\"#3b82f6\"}`,borderRadius:6,padding:\"8px 18px\",fontWeight:600,fontSize:15,cursor:loading||!supabase?\"not-allowed\":\"pointer\",alignSelf:\"flex-start\",...bodyFont},\"aria-label\":\"Save\",disabled:loading||!supabase,children:/*#__PURE__*/_jsx(\"span\",{style:bodyFont,children:\"Save\"})}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",style:cancelButtonStyle,onClick:handleEditCancel,children:/*#__PURE__*/_jsx(\"span\",{style:bodyFont,children:\"Cancel\"})})]})]}):/*#__PURE__*/_jsxs(\"div\",{style:{margin:\"6px 0 8px 0\",...bodyFont},children:[showAtName&&/*#__PURE__*/_jsxs(\"span\",{style:{color:props.accentColor||\"#3b82f6\",fontWeight:600,marginRight:6,...bodyFont},children:[\"@\",parentName]}),c.text]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:16},children:[/*#__PURE__*/_jsxs(\"button\",{style:{...iconButtonStyle,cursor:!isLoggedIn?\"not-allowed\":iconButtonStyle.cursor,opacity:1},\"aria-label\":\"Like\",onClick:!isLoggedIn?undefined:()=>handleLike(c.id),disabled:!isLoggedIn,children:[/*#__PURE__*/_jsx(HeartIcon,{size:18,color:\"#f43f5e\",filled:userLikes[c.id]||false,style:{verticalAlign:\"middle\"}}),/*#__PURE__*/_jsx(\"span\",{style:{marginLeft:4,...bodyFont},children:c.likes})]}),/*#__PURE__*/_jsx(\"button\",{style:{...replyButtonStyle,color:props.accentColor||\"#3b82f6\",cursor:!isLoggedIn?\"not-allowed\":\"pointer\",opacity:!isLoggedIn?.5:1},\"aria-label\":\"Reply\",onClick:!isLoggedIn?undefined:()=>handleReply(c.id,c.user_id===currentUserId?currentUserName:c.displayName||c.name),disabled:!isLoggedIn,children:/*#__PURE__*/_jsx(\"span\",{style:bodyFont,children:\"Reply\"})}),c.user_id===currentUserId&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"button\",{style:{...replyButtonStyle,color:props.accentColor||\"#3b82f6\"},\"aria-label\":\"Edit\",onClick:()=>handleEdit(c.id,c.text),children:/*#__PURE__*/_jsx(\"span\",{style:bodyFont,children:\"Edit\"})}),/*#__PURE__*/_jsx(\"button\",{style:{...replyButtonStyle,color:\"#f43f5e\"},\"aria-label\":\"Delete\",onClick:()=>handleDelete(c.id),children:/*#__PURE__*/_jsx(\"span\",{style:bodyFont,children:\"Delete\"})})]})]}),replyTo===c.id&&isLoggedIn&&!isMobile&&/*#__PURE__*/_jsxs(\"form\",{onSubmit:handleAdd,style:{marginTop:12,display:\"flex\",flexDirection:\"column\",gap:8},children:[/*#__PURE__*/_jsx(\"textarea\",{value:input,onChange:e=>setInput(e.target.value),placeholder:\"Add a reply...\",style:{border:\"none\",background:props.subtleBackground,borderRadius:8,color:props.primary,fontSize:15,outline:\"none\",width:\"100%\",boxSizing:\"border-box\",resize:\"none\",minHeight:48,maxHeight:200,overflowY:\"auto\",padding:\"10px 12px 10px 12px\",...bodyFont},rows:1,required:true,onInput:e=>{const target=e.target;if(target&&target instanceof HTMLTextAreaElement){target.style.height=\"48px\";target.style.height=target.scrollHeight+\"px\";}},onKeyDown:e=>{e.stopPropagation();}}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:8},children:[/*#__PURE__*/_jsx(\"button\",{type:\"submit\",style:{background:props.primary,color:props.background,border:`2px solid ${props.accentColor||\"#3b82f6\"}`,borderRadius:6,padding:\"8px 18px\",fontWeight:600,fontSize:15,cursor:loading||!supabase?\"not-allowed\":\"pointer\",alignSelf:\"flex-start\",...bodyFont},\"aria-label\":\"Reply\",disabled:loading||!supabase,children:/*#__PURE__*/_jsx(\"span\",{style:bodyFont,children:\"Reply\"})}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",style:cancelButtonStyle,onClick:handleCancelReply,children:/*#__PURE__*/_jsx(\"span\",{style:bodyFont,children:\"Cancel\"})})]})]})]})]}),c.replies&&c.replies.length>0&&repliesOpen&&/*#__PURE__*/_jsx(\"div\",{style:{marginTop:spacing},children:renderComments(c.replies,1,c.displayName||c.name)})]},c.id);});}useEffect(()=>{if(typeof window!==\"undefined\"&&!document.getElementById(\"shimmer-keyframes\")){const style=document.createElement(\"style\");style.id=\"shimmer-keyframes\";style.innerHTML=shimmerKeyframes;document.head.appendChild(style);}},[]);const isMobile=props.variant===\"Mobile\";const containerStyle={...style,background,color:primary,borderRadius:8,boxShadow:\"0 2px 8px rgba(0,0,0,0.06)\",padding:0,minWidth:isMobile?0:320,width:\"100%\",fontFamily:\"inherit\",maxWidth:\"100%\",boxSizing:\"border-box\",display:\"flex\",flexDirection:\"column\",height:\"100%\",minHeight:0,overflow:\"hidden\",...isMobile?{borderRadius:0,boxShadow:\"none\",minWidth:0,fontSize:15,height:\"100%\",minHeight:0}:{}};const mobileInputBar=isMobile&&!loading?/*#__PURE__*/_jsxs(\"form\",{onSubmit:handleAdd,style:{position:\"absolute\",left:0,right:0,bottom:0,width:\"100%\",background:background,borderTop:`1.5px solid ${props.subtleBackground||\"#27272a\"}`,display:\"flex\",flexDirection:\"row\",alignItems:\"flex-end\",gap:12,padding:\"10px 0 10px 0\",zIndex:10},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:36,height:36,borderRadius:\"50%\",background:props.subtleBackground,color:props.primary,fontWeight:props.headingFont.fontWeight||700,fontSize:props.headingFont.fontSize||18,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0,...props.headingFont},\"aria-label\":currentUserName,children:getInitials(currentUserName)}),/*#__PURE__*/_jsx(\"div\",{style:{flex:1,display:\"flex\",flexDirection:\"column\",gap:4,position:\"relative\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",display:\"flex\",alignItems:\"center\",gap:8,zIndex:2,minHeight:36},children:[editingMobile&&/*#__PURE__*/_jsxs(\"span\",{id:\"edit-tag\",style:{background:props.primary,color:props.background,borderRadius:4,padding:\"2px 8px\",fontSize:13,fontWeight:600,marginRight:4,display:\"flex\",alignItems:\"center\",position:\"relative\",...bodyFont},children:[\"Edit\",/*#__PURE__*/_jsx(\"span\",{style:{marginLeft:6,cursor:\"pointer\",fontWeight:700,fontSize:15},onClick:()=>{setEditingMobile(null);setInput(\"\");},\"aria-label\":\"Remove edit tag\",children:\"\\xd7\"})]}),replyTo&&replyNameMobile&&/*#__PURE__*/_jsxs(\"span\",{id:\"reply-tag\",style:{background:props.primary,color:props.background,borderRadius:4,padding:\"2px 8px\",fontSize:13,fontWeight:600,marginRight:4,display:\"flex\",alignItems:\"center\",position:\"relative\",...bodyFont},children:[\"@\",replyNameMobile.split(\" \")[0],/*#__PURE__*/_jsx(\"span\",{style:{marginLeft:6,cursor:\"pointer\",fontWeight:700,fontSize:15},onClick:()=>{setReplyTo(null);setReplyNameMobile(\"\");setInput(\"\");},\"aria-label\":\"Remove reply tag\",children:\"\\xd7\"})]}),/*#__PURE__*/_jsx(\"textarea\",{ref:inputRef,value:input,onChange:e=>setInput(e.target.value),placeholder:\"Add a comment...\",onFocus:()=>{if(inputRef.current){setTimeout(()=>{inputRef.current.scrollIntoView({behavior:\"smooth\",block:\"center\"});},100);}},style:{border:\"none\",background:props.subtleBackground,borderRadius:8,color:props.primary,fontSize:15,outline:\"none\",width:\"100%\",boxSizing:\"border-box\",resize:\"none\",minHeight:36,maxHeight:120,overflowY:\"auto\",padding:\"8px 12px 8px 12px\",...bodyFont},rows:1,required:true,disabled:loading||!supabase,onInput:e=>{const target=e.target;if(target&&target instanceof HTMLTextAreaElement){target.style.height=\"36px\";target.style.height=target.scrollHeight+\"px\";}},onKeyDown:e=>{e.stopPropagation();if((editingMobile||replyTo)&&e.key===\"Backspace\"&&!input){if(editingMobile)setEditingMobile(null);if(replyTo){setReplyTo(null);setReplyNameMobile(\"\");}}if(e.key===\"Enter\"&&!e.shiftKey){e.preventDefault();if(!loading&&supabase&&input.trim()){handleAdd(e);}}}})]})}),/*#__PURE__*/_jsx(\"button\",{type:\"submit\",style:{background:\"none\",border:\"none\",color:props.accentColor||\"#3b82f6\",borderRadius:6,padding:6,fontWeight:600,fontSize:18,cursor:loading||!supabase?\"not-allowed\":\"pointer\",alignSelf:\"flex-end\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},\"aria-label\":\"Comment\",disabled:loading||!supabase,children:/*#__PURE__*/_jsx(SendIcon,{size:28,color:props.accentColor||\"#3b82f6\"})})]}):null;return /*#__PURE__*/_jsxs(\"div\",{style:{...containerStyle,position:isMobile?\"relative\":undefined,paddingBottom:isMobile?72:undefined,display:\"flex\",flexDirection:\"column\",height:\"100%\",minHeight:0,overflow:\"hidden\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",fontWeight:700,fontSize:20,marginBottom:0,...props.headerLabelFont,flexShrink:0,flexDirection:isMobile?\"row\":undefined,justifyContent:isMobile?\"flex-start\":\"space-between\",gap:isMobile?props.headerGap??16:undefined},children:[/*#__PURE__*/_jsxs(\"span\",{style:props.headerLabelFont,children:[\"Comments\",\" \",/*#__PURE__*/_jsx(\"span\",{style:{color:props.accentColor||\"#3b82f6\",fontWeight:600},children:formatCount(getCommentCount(comments))})]}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",display:\"flex\",alignItems:\"center\"},children:/*#__PURE__*/_jsx(CustomDropdown,{value:sort,onChange:setSort,options:[{value:\"newest\",label:\"Newest\"},{value:\"top\",label:\"Top\"}],font:bodyFont,accent:props.accentColor||\"#3b82f6\"})})]}),/*#__PURE__*/_jsx(\"div\",{style:{borderBottom:`1.5px solid ${props.subtleBackground||\"#27272a\"}`,margin:\"10px 0 24px 0\",width:\"100%\",flexShrink:0}}),/*#__PURE__*/_jsx(\"div\",{style:{flex:1,minHeight:0,height:isMobile?undefined:\"auto\",maxHeight:isMobile?\"100%\":undefined,overflowY:\"auto\",overflowX:\"hidden\",WebkitOverflowScrolling:\"touch\",touchAction:\"pan-y\",position:\"relative\",display:\"flex\",flexDirection:\"column\"},children:loading?/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\"},children:/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:32},children:[0,1].map((_,i)=>/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"flex-start\",gap:16},children:[/*#__PURE__*/_jsx(Shimmer,{height:40,width:\"40px\",radius:20,style:{flexShrink:0}}),/*#__PURE__*/_jsxs(\"div\",{style:{flex:1,display:\"flex\",flexDirection:\"column\",gap:8},children:[/*#__PURE__*/_jsx(Shimmer,{height:18,width:\"30%\",radius:8}),/*#__PURE__*/_jsx(Shimmer,{height:16,width:\"80%\",radius:8}),/*#__PURE__*/_jsx(Shimmer,{height:16,width:\"60%\",radius:8})]})]},i))})}):/*#__PURE__*/_jsxs(_Fragment,{children:[!isMobile&&isLoggedIn&&/*#__PURE__*/_jsxs(\"form\",{onSubmit:handleAdd,style:{display:\"flex\",flexDirection:\"column\",gap:8,marginBottom:props.commentSpacing??40},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"row\",alignItems:\"flex-start\",gap:12},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:40,height:40,borderRadius:\"50%\",background:props.subtleBackground,color:props.primary,fontWeight:props.headingFont.fontWeight||700,fontSize:props.headingFont.fontSize||18,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0,...props.headingFont},\"aria-label\":currentUserName,children:getInitials(currentUserName)}),/*#__PURE__*/_jsx(\"div\",{style:{flex:1,display:\"flex\",flexDirection:\"column\",gap:8},children:/*#__PURE__*/_jsx(\"textarea\",{value:input,onChange:e=>setInput(e.target.value),placeholder:\"Add a comment...\",style:{border:\"none\",background:props.subtleBackground,borderRadius:8,color:props.primary,fontSize:15,outline:\"none\",width:\"100%\",boxSizing:\"border-box\",resize:\"none\",minHeight:48,maxHeight:200,overflowY:\"auto\",padding:\"10px 12px 10px 12px\",...bodyFont},rows:1,required:true,disabled:loading||!supabase,onInput:e=>{const target=e.target;if(target&&target instanceof HTMLTextAreaElement){target.style.height=\"48px\";target.style.height=target.scrollHeight+\"px\";}},onKeyDown:e=>{e.stopPropagation();}})})]}),/*#__PURE__*/_jsx(\"button\",{type:\"submit\",style:{background:props.primary,color:props.background,border:`2px solid ${props.accentColor||\"#3b82f6\"}`,borderRadius:6,padding:\"8px 18px\",fontWeight:600,fontSize:15,cursor:loading||!supabase?\"not-allowed\":\"pointer\",marginTop:8,marginLeft:52,alignSelf:\"flex-start\",...bodyFont},\"aria-label\":\"Comment\",disabled:loading||!supabase,children:\"Comment\"}),postError&&/*#__PURE__*/_jsx(\"div\",{style:{color:\"#f43f5e\",fontSize:14,marginTop:4,...bodyFont},children:postError})]}),!isMobile&&!isLoggedIn&&/*#__PURE__*/_jsxs(\"div\",{style:{marginBottom:props.commentSpacing??40,display:\"flex\",flexDirection:\"column\",alignItems:\"center\",gap:16},children:[/*#__PURE__*/_jsx(\"div\",{style:{color:\"#888\",textAlign:\"center\",...bodyFont},children:\"Subscribe to join the conversation.\"}),/*#__PURE__*/_jsx(\"a\",{href:props.signInLink||\"#\",style:{textDecoration:\"none\"},children:/*#__PURE__*/_jsx(\"button\",{style:{background:props.primary,color:props.background,border:`2px solid ${props.accentColor||\"#3b82f6\"}`,borderRadius:6,padding:\"8px 18px\",fontWeight:600,fontSize:15,cursor:\"pointer\",...bodyFont},children:\"Subscribe\"})})]}),/*#__PURE__*/_jsx(\"div\",{style:{flex:1,display:\"flex\",flexDirection:\"column\"},children:sortedComments.length===0?/*#__PURE__*/_jsx(\"div\",{style:{color:\"#888\",textAlign:\"center\",margin:\"48px 0\",...bodyFont},children:\"No comments yet. Be the first to comment!\"}):renderComments(sortedComments)})]})}),isMobile&&isLoggedIn&&mobileInputBar,isMobile&&!isLoggedIn&&/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",left:0,right:0,bottom:0,width:\"100%\",background:background,borderTop:`1.5px solid ${props.subtleBackground||\"#27272a\"}`,display:\"flex\",flexDirection:\"row\",alignItems:\"center\",justifyContent:\"space-between\",gap:12,padding:\"16px 20px 16px 20px\",zIndex:10},children:[/*#__PURE__*/_jsx(\"div\",{style:{color:\"#888\",textAlign:\"left\",...bodyFont},children:\"Subscribe to join the conversation.\"}),/*#__PURE__*/_jsx(\"a\",{href:props.signInLink||\"#\",style:{textDecoration:\"none\"},children:/*#__PURE__*/_jsx(\"button\",{style:{background:props.primary,color:props.background,border:`2px solid ${props.accentColor||\"#3b82f6\"}`,borderRadius:6,padding:\"8px 18px\",fontWeight:600,fontSize:15,cursor:\"pointer\",...bodyFont},children:\"Subscribe\"})})]})]});}const cancelButtonStyle={background:\"#232326\",color:\"#f4f4f5\",border:\"none\",borderRadius:6,padding:\"8px 18px\",fontWeight:500,fontSize:15,cursor:\"pointer\",marginTop:4};const iconButtonStyle={background:\"none\",border:\"none\",color:\"#888\",display:\"flex\",alignItems:\"center\",cursor:\"pointer\",fontSize:15,fontWeight:500,padding:0};const replyButtonStyle={...iconButtonStyle,fontWeight:600};addPropertyControls(CommentSection,{pageSlug:{type:ControlType.String,title:\"Page Slug\",defaultValue:\"default-page\",placeholder:\"Unique page id\"},headerLabelFont:{type:ControlType.Font,title:\"Header Label Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"20px\",variant:\"Bold\",letterSpacing:\"-0.04em\",lineHeight:\"1em\"}},commentSpacing:{type:ControlType.Number,title:\"Spacing\",defaultValue:40,min:0,max:120,unit:\"px\"},accentColor:{type:ControlType.Color,title:\"Accent Color\",defaultValue:\"#3b82f6\"},background:{type:ControlType.Color,title:\"Background\",defaultValue:\"#18181b\"},subtleBackground:{type:ControlType.Color,title:\"Avatar BG\",defaultValue:\"#27272a\"},primary:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#f4f4f5\"},headingFont:{type:ControlType.Font,title:\"Heading Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"16px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1.2em\"}},bodyFont:{type:ControlType.Font,title:\"Body Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"15px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1.3em\"}},variant:{type:ControlType.Enum,title:\"Variant\",options:[\"Desktop\",\"Mobile\"],optionTitles:[\"Desktop\",\"Mobile\"],defaultValue:\"Desktop\",displaySegmentedControl:true},experience:{type:ControlType.Enum,title:\"Experience\",options:[\"Member\",\"Guest\"],optionTitles:[\"Member\",\"Guest\"],defaultValue:\"Member\",displaySegmentedControl:true},signInLink:{type:ControlType.Link,title:\"Sign In Link\",defaultValue:\"#\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CommentSection\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CommentSection.map","// Generated by Framer (6464825)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,getPropertyControls,ResolveLinks,SmartComponentScopedContainer,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useRouter,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import CommentSection from\"https://framerusercontent.com/modules/VnGvLeb3aPwccgmJqj6r/MHzgVuAk8brePFoWQPZa/CommentSection.js\";import PlanSwitcher from\"https://framerusercontent.com/modules/9U5TGKWW8CVxP9N4N7fx/sRLfpr8L9BJUdU6ikAca/PlanSwitcher.js\";import SvgIcon from\"https://framerusercontent.com/modules/0q3b0PAaHzSmb5385tX3/rpfmPK3Jkl4jpzKw9u4N/SvgIcon.js\";const CommentSectionFonts=getFonts(CommentSection);const PlanSwitcherFonts=getFonts(PlanSwitcher);const SvgIconFonts=getFonts(SvgIcon);const PlanSwitcherControls=getPropertyControls(PlanSwitcher);const CommentSectionControls=getPropertyControls(CommentSection);const cycleOrder=[\"UDWh01a81\",\"yo7RxBudA\"];const serializationHash=\"framer-fHTzG\";const variantClassNames={UDWh01a81:\"framer-v-1lmfy2a\",yo7RxBudA:\"framer-v-1auecqe\"};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 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 humanReadableEnumMap={\"All Access\":\"all_access\",Audio:\"audio\",Library:\"library\",Live:\"live\",Video:\"video\"};const humanReadableEnumMap1={Desktop:\"Desktop\",Mobile:\"Mobile\"};const humanReadableVariantMap={Desktop:\"UDWh01a81\",Mobile:\"yo7RxBudA\"};const getProps=({height,id,pageSlug,requiredPlan,variant1,width,x,...props})=>{return{...props,eC_aHkObf:humanReadableEnumMap1[variant1]??variant1??props.eC_aHkObf??\"Desktop\",PNtDktKsk:pageSlug??props.PNtDktKsk??\"augandanbabe\",smNJpri4l:humanReadableEnumMap[requiredPlan]??requiredPlan??props.smNJpri4l??\"audio\",variant:humanReadableVariantMap[props.variant]??props.variant??\"UDWh01a81\",Zlzy6LVbp:x??props.Zlzy6LVbp};};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,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,smNJpri4l,PNtDktKsk,eC_aHkObf,Zlzy6LVbp,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"UDWh01a81\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTap1sedjs9=activeVariantCallback(async(...args)=>{if(Zlzy6LVbp){const res=await Zlzy6LVbp(...args);if(res===false)return false;}});const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const router=useRouter();const isDisplayed=()=>{if(baseVariant===\"yo7RxBudA\")return true;return false;};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-1lmfy2a\",className,classNames),\"data-framer-name\":\"Desktop\",layoutDependency:layoutDependency,layoutId:\"UDWh01a81\",ref:refBinding,style:{\"--border-bottom-width\":\"0px\",\"--border-color\":\"rgba(0, 0, 0, 0)\",\"--border-left-width\":\"0px\",\"--border-right-width\":\"0px\",\"--border-style\":\"solid\",\"--border-top-width\":\"0px\",backgroundColor:\"rgba(0, 0, 0, 0)\",...style},variants:{yo7RxBudA:{\"--border-bottom-width\":\"0px\",\"--border-color\":\"var(--token-e68482e3-7718-4ff9-af40-2df4dad739ed, rgba(255, 255, 255, 0.1))\",\"--border-left-width\":\"0px\",\"--border-right-width\":\"0px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",backgroundColor:\"var(--token-8b6a7334-820a-4d9b-8537-80339ff619b9, rgb(10, 10, 10))\"}},...addPropertyOverrides({yo7RxBudA:{\"data-border\":true,\"data-framer-name\":\"Mobile\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsxs(motion.div,{className:\"framer-1yamcus\",layoutDependency:layoutDependency,layoutId:\"rKu0l4XxQ\",children:[/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-nm1ucs-container\",\"data-code-component-plugin-id\":\"84d4c1\",isAuthoredByUser:true,layoutDependency:layoutDependency,layoutId:\"GmuDlZlIH-container\",nodeId:\"GmuDlZlIH\",rendersWithMotion:true,scopeId:\"nJ0fWfqLB\",children:/*#__PURE__*/_jsx(PlanSwitcher,{height:\"100%\",id:\"GmuDlZlIH\",layoutId:\"GmuDlZlIH\",loadingComponent:[],lockedComponent:[/*#__PURE__*/_jsx(ResolveLinks,{links:[{href:{webPageId:\"EEtTWN9N0\"},implicitPathVariables:undefined}],children:resolvedLinks1=>/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1k2br30-container\",\"data-code-component-plugin-id\":\"84d4c1\",\"data-framer-name\":\"Locked\",inComponentSlot:true,isAuthoredByUser:true,layoutDependency:layoutDependency,layoutId:\"EUhD27bPI-container\",name:\"Locked\",nodeId:\"EUhD27bPI\",rendersWithMotion:true,scopeId:\"nJ0fWfqLB\",children:/*#__PURE__*/_jsx(CommentSection,{accentColor:\"var(--token-310ebed3-699e-415f-a351-71fd111ec39a, rgb(153, 153, 153))\",background:\"var(--token-8b6a7334-820a-4d9b-8537-80339ff619b9, rgb(10, 10, 10))\",bodyFont:{fontFamily:'\"Syne\", \"Syne Placeholder\", sans-serif',fontFeatureSettings:\"'lnum' on\",fontSize:\"15px\",fontStyle:\"normal\",fontWeight:500,letterSpacing:\"-0.01em\",lineHeight:\"1.3em\"},commentSpacing:40,experience:\"Guest\",headerLabelFont:{fontFamily:'\"Bricolage Grotesque\", \"Bricolage Grotesque Placeholder\", sans-serif',fontSize:\"20px\",fontStyle:\"normal\",fontWeight:500,letterSpacing:\"-0.05em\",lineHeight:\"1em\"},headingFont:{fontFamily:'\"Bricolage Grotesque\", \"Bricolage Grotesque Placeholder\", sans-serif',fontSize:\"16px\",fontStyle:\"normal\",fontWeight:500,letterSpacing:\"-0.05em\",lineHeight:\"1.2em\"},height:\"100%\",id:\"EUhD27bPI\",layoutId:\"EUhD27bPI\",name:\"Locked\",pageSlug:PNtDktKsk,primary:\"var(--token-49164ff2-888d-40c1-96fa-58a3e961b851, rgb(255, 255, 255))\",signInLink:resolvedLinks1[0],style:{width:\"100%\"},subtleBackground:\"var(--token-cbe22f48-a9bd-4a8c-a096-8742341fd090, rgb(23, 23, 23))\",supabaseAnonKey:\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Indrc3JrZG1uanl6amJhZWdncWlqIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NDYwNDIxOTIsImV4cCI6MjA2MTYxODE5Mn0.QoB2L73Jr4t6HxKHYcT4uIbnGklgYbpI2795DJp64to\",supabaseUrl:\"https://wksrkdmnjyzjbaeggqij.supabase.co\",variant:eC_aHkObf,width:\"100%\"})})})})],requiredPlan:smNJpri4l,showLoadingState:false,style:{width:\"100%\"},unlockedComponent:[/*#__PURE__*/_jsx(ResolveLinks,{links:[{href:{webPageId:\"EEtTWN9N0\"},implicitPathVariables:undefined}],children:resolvedLinks=>/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1m533g4-container\",\"data-code-component-plugin-id\":\"84d4c1\",\"data-framer-name\":\"Unlocked\",inComponentSlot:true,isAuthoredByUser:true,layoutDependency:layoutDependency,layoutId:\"AXeIDutKz-container\",name:\"Unlocked\",nodeId:\"AXeIDutKz\",rendersWithMotion:true,scopeId:\"nJ0fWfqLB\",children:/*#__PURE__*/_jsx(CommentSection,{accentColor:\"var(--token-310ebed3-699e-415f-a351-71fd111ec39a, rgb(153, 153, 153))\",background:\"var(--token-8b6a7334-820a-4d9b-8537-80339ff619b9, rgb(10, 10, 10))\",bodyFont:{fontFamily:'\"Syne\", \"Syne Placeholder\", sans-serif',fontFeatureSettings:\"'lnum' on\",fontSize:\"15px\",fontStyle:\"normal\",fontWeight:500,letterSpacing:\"-0.01em\",lineHeight:\"1.3em\"},commentSpacing:40,experience:\"Member\",headerLabelFont:{fontFamily:'\"Bricolage Grotesque\", \"Bricolage Grotesque Placeholder\", sans-serif',fontSize:\"20px\",fontStyle:\"normal\",fontWeight:500,letterSpacing:\"-0.05em\",lineHeight:\"1em\"},headingFont:{fontFamily:'\"Bricolage Grotesque\", \"Bricolage Grotesque Placeholder\", sans-serif',fontSize:\"16px\",fontStyle:\"normal\",fontWeight:500,letterSpacing:\"-0.05em\",lineHeight:\"1.2em\"},height:\"100%\",id:\"AXeIDutKz\",layoutId:\"AXeIDutKz\",name:\"Unlocked\",pageSlug:PNtDktKsk,primary:\"var(--token-49164ff2-888d-40c1-96fa-58a3e961b851, rgb(255, 255, 255))\",signInLink:resolvedLinks[0],style:{width:\"100%\"},subtleBackground:\"var(--token-cbe22f48-a9bd-4a8c-a096-8742341fd090, rgb(23, 23, 23))\",supabaseAnonKey:\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Indrc3JrZG1uanl6amJhZWdncWlqIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NDYwNDIxOTIsImV4cCI6MjA2MTYxODE5Mn0.QoB2L73Jr4t6HxKHYcT4uIbnGklgYbpI2795DJp64to\",supabaseUrl:\"https://wksrkdmnjyzjbaeggqij.supabase.co\",variant:eC_aHkObf,width:\"100%\"})})})})],width:\"100%\",...addPropertyOverrides({yo7RxBudA:{style:{height:\"100%\",width:\"100%\"}}},baseVariant,gestureVariant)})})}),isDisplayed()&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-g2s8f3\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"y3guHN0JL\",onTap:onTap1sedjs9,style:{borderBottomLeftRadius:100,borderBottomRightRadius:100,borderTopLeftRadius:100,borderTopRightRadius:100},children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-14sja0e\",layoutDependency:layoutDependency,layoutId:\"uWVX5kNOw\",style:{rotate:90},children:/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1fu82u2-container\",\"data-code-component-plugin-id\":\"84d4c1\",isAuthoredByUser:true,layoutDependency:layoutDependency,layoutId:\"djrV6ht7H-container\",nodeId:\"djrV6ht7H\",rendersWithMotion:true,scopeId:\"nJ0fWfqLB\",style:{scale:1.3},children:/*#__PURE__*/_jsx(SvgIcon,{height:\"100%\",id:\"djrV6ht7H\",layoutId:\"djrV6ht7H\",svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"25\" height=\"25\" fill=\"none\"><path stroke=\"#f0f0f0\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"16\" stroke-width=\"1.5\" d=\"m9 6 6 6-6 6\"/></svg>',width:\"100%\"})})})})})]})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-fHTzG.framer-1kurhq2, .framer-fHTzG .framer-1kurhq2 { display: block; }\",\".framer-fHTzG.framer-1lmfy2a { align-content: center; align-items: center; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 1380px; }\",\".framer-fHTzG .framer-1yamcus { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 100%; }\",\".framer-fHTzG .framer-nm1ucs-container { flex: none; height: auto; position: relative; width: 100%; }\",\".framer-fHTzG .framer-1m533g4-container, .framer-fHTzG .framer-1k2br30-container { height: auto; position: relative; width: 960px; }\",\".framer-fHTzG .framer-g2s8f3 { align-content: center; align-items: center; cursor: pointer; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 8px; height: min-content; justify-content: center; overflow: visible; padding: 0px; position: absolute; right: 0px; top: 2px; width: min-content; z-index: 2; }\",\".framer-fHTzG .framer-14sja0e { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 8px; height: 33px; justify-content: center; overflow: visible; padding: 5px 0px 0px 0px; position: relative; width: 33px; }\",\".framer-fHTzG .framer-1fu82u2-container { flex: none; height: auto; position: relative; width: auto; }\",\".framer-fHTzG.framer-v-1auecqe.framer-1lmfy2a { height: 531px; padding: 10px 15px 0px 15px; }\",\".framer-fHTzG.framer-v-1auecqe .framer-1yamcus, .framer-fHTzG.framer-v-1auecqe .framer-nm1ucs-container { flex: 1 0 0px; height: 1px; }\",'.framer-fHTzG[data-border=\"true\"]::after, .framer-fHTzG [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 520\n * @framerIntrinsicWidth 1380\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"yo7RxBudA\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"smNJpri4l\":\"requiredPlan\",\"PNtDktKsk\":\"pageSlug\",\"eC_aHkObf\":\"variant1\",\"Zlzy6LVbp\":\"x\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramernJ0fWfqLB=withCSS(Component,css,\"framer-fHTzG\");export default FramernJ0fWfqLB;FramernJ0fWfqLB.displayName=\"Comments\";FramernJ0fWfqLB.defaultProps={height:520,width:1380};addPropertyControls(FramernJ0fWfqLB,{variant:{options:[\"UDWh01a81\",\"yo7RxBudA\"],optionTitles:[\"Desktop\",\"Mobile\"],title:\"Variant\",type:ControlType.Enum},smNJpri4l:PlanSwitcherControls?.[\"requiredPlan\"]&&{...PlanSwitcherControls[\"requiredPlan\"],defaultValue:\"audio\",description:undefined,hidden:undefined,title:\"Required Plan\"},PNtDktKsk:{defaultValue:\"augandanbabe\",placeholder:\"Unique page id\",title:\"Page Slug\",type:ControlType.String},eC_aHkObf:CommentSectionControls?.[\"variant\"]&&{...CommentSectionControls[\"variant\"],defaultValue:\"Desktop\",description:undefined,hidden:undefined,title:\"Variant\"},Zlzy6LVbp:{title:\"X\",type:ControlType.EventHandler}});addFonts(FramernJ0fWfqLB,[{explicitInter:true,fonts:[{family:\"Bricolage Grotesque\",source:\"google\",style:\"normal\",url:\"https://fonts.gstatic.com/s/bricolagegrotesque/v8/3y9U6as8bTXq_nANBjzKo3IeZx8z6up5BeSl5jBNz_19PpbpMXuECpwUxJBOm_OJWiaaD30YfKfjZZoLvSniyMgvs-wJDtw.woff2\",weight:\"500\"},{family:\"Syne\",source:\"fontshare\",style:\"normal\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/6RX5HIHKXSNRRZM4TG3ZDRLY4QYRWVVV/LDU4YZVURVJ7AUY5LTGS5UVZP5WMQGD2/HUZK5ZCPMLHN2C4WDX2FZVOULKRASN7B.woff2\",weight:\"500\"}]},...CommentSectionFonts,...PlanSwitcherFonts,...SvgIconFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramernJ0fWfqLB\",\"slots\":[],\"annotations\":{\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicWidth\":\"1380\",\"framerDisplayContentsDiv\":\"false\",\"framerAutoSizeImages\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"yo7RxBudA\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerContractVersion\":\"1\",\"framerVariables\":\"{\\\"smNJpri4l\\\":\\\"requiredPlan\\\",\\\"PNtDktKsk\\\":\\\"pageSlug\\\",\\\"eC_aHkObf\\\":\\\"variant1\\\",\\\"Zlzy6LVbp\\\":\\\"x\\\"}\",\"framerIntrinsicHeight\":\"520\",\"framerImmutableVariables\":\"true\",\"framerColorSyntax\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Simple Supabase comment count for a page slug\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";// Dynamic Supabase loader\nfunction useSupabaseClient(supabaseUrl,supabaseAnonKey){const[client,setClient]=useState(null);useEffect(()=>{if(!supabaseUrl||!supabaseAnonKey)return;if(typeof window===\"undefined\")return;if(window[\"supabase\"]&&window[\"supabase\"].createClient){setClient(window[\"supabase\"].createClient(supabaseUrl,supabaseAnonKey));return;}const script=document.createElement(\"script\");script.src=\"https://unpkg.com/@supabase/supabase-js@2\";script.async=true;document.body.appendChild(script);script.onload=()=>{if(window[\"supabase\"]&&window[\"supabase\"].createClient){setClient(window[\"supabase\"].createClient(supabaseUrl,supabaseAnonKey));}};return()=>{document.body.removeChild(script);};},[supabaseUrl,supabaseAnonKey]);return client;}/**\n * Supabase Comment Count\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function CommentCount(props){const{supabaseUrl,supabaseAnonKey,pageSlug,font,color,style}=props;const supabase=useSupabaseClient(supabaseUrl,supabaseAnonKey);const[count,setCount]=useState(null);const[loading,setLoading]=useState(true);useEffect(()=>{let cancelled=false;async function fetchCount(){if(!supabase||!pageSlug)return;setLoading(true);const{count,error}=await supabase.from(\"comments\").select(\"id\",{count:\"exact\",head:true}).eq(\"page_slug\",pageSlug);if(!cancelled){setCount(error?null:count);setLoading(false);}}fetchCount();return()=>{cancelled=true;};},[supabase,pageSlug]);return /*#__PURE__*/_jsx(\"div\",{style:{display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",gap:props.gap,height:\"100%\",paddingTop:0,paddingBottom:0,...style},children:/*#__PURE__*/_jsx(\"span\",{style:{...font,color},children:loading?0:count===null?\"-\":count})});}addPropertyControls(CommentCount,{gap:{type:ControlType.Number,title:\"Gap\",defaultValue:8,min:0,max:40,step:1,unit:\"px\"},pageSlug:{type:ControlType.String,title:\"Page Slug\",defaultValue:\"default-page\",placeholder:\"Unique page id\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"16px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1.2em\",fontWeight:600}},color:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#f4f4f5\"},strokeWidth:{type:ControlType.Number,title:\"Stroke Width\",defaultValue:1.75,min:.5,max:4,step:.25,unit:\"px\"},supabaseUrl:{type:ControlType.String,title:\"Supabase URL\",defaultValue:\"\",placeholder:\"https://your-project.supabase.co\"},supabaseAnonKey:{type:ControlType.String,title:\"Supabase Anon Key\",defaultValue:\"\",placeholder:\"public-anon-key\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CommentCount\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata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