{"version":3,"file":"ToolsSortDropdown.CMzal6IT.mjs","names":["ArrowIcon","useState","useRef","ArrowIcon","useState","ArrowIcon","useState","_Fragment","useRef","detectIsCanvas","countVisibleCards","useState","useRef","useCallback","useState","useRef","_Fragment","c","detectIsCanvas","findGridCellWrapper","useState","_Fragment","detectIsCanvas","useState","_Fragment","p","useState","useRef","__esmMin","ne","navigator","init_npm_react_18_3_1","window","_e","de","init_jsx_runtime","c","ce","init_ssg_sandbox_shims","init_framer_BL70qLPA","RenderTarget","addPropertyControls","ControlType","GrouMonogram","size","ArrowIcon$3","color","ToolCard","isSponsoredVariant","is_sponsored","is_featured_sponsored","hasLogo","tool_logo","geist","showGrouChoice","is_grou_choice","hovered","setHovered","cardWidth","setCardWidth","rootRef","el","measure","observer","isNarrow","narrow_breakpoint","cardPadding","cardGap","logoSize","logoRadius","logoInitialsSize","nameSize","taglineSize","buttonSize","buttonPadY","buttonPadX","resolvedMinHeight","card_height_narrow","card_height","variantBg","sponsored_bg","is_boosted","boosted_bg","card_bg","variantBaseBorder","sponsored_border","boosted_border","card_border","variantBorderStyle","variantBorderWidth","resolvedBorderColor","enable_hover","hover_border","resolvedShadow","hover_shadow","buttonBg","button_bg_hover","button_bg_default","buttonColor","button_color_hover","button_color_default","label","cta_label","view_label","rightStatusLabel","sponsored_label","boosted_label","rightStatusColor","sponsored_label_color","boosted_label_color","primaryCat","primary_category_slug","allSubSlugs","sub_slug_1","sub_slug_2","sub_slug_3","sub_slug_4","sub_slug_5","sub_slug_6","sub_slug_7","sub_slug_8","sub_slug_9","s","subSlugsAttr","cta_link","tool_name","pricing_from","sort_order","logo_bg","logo_text_color","logo_initials","text_dark","grou_choice_bg","grou_choice_color","grou_choice_label","text_body","tool_tagline","init_ToolCard","extractSlugFromLink","link","ArrowIcon$2","GridIcon","LayersIcon","StatPill","bg","icon","text","ToolsCategoryBrowseCard","hasIconImage","icon_image","hasIconSvg","icon_svg","hasSponsorLogo","sponsor_logo","baseBg","baseBorder","borderStyle","borderWidth","card_hover_border","card_hover_shadow","arrowColor","accent","text_muted","arrowTransform","resolvedSlug","parent_slug_override","autoSubCount","SUBCATEGORY_COUNTS","subCount","subcategory_count_override","subCountText","subcategory_label_singular","subcategory_label_plural","hasToolCount","show_count","tool_count_text","hasSubCount","show_subcategory_count","hasAnyPill","content","card_min_height","show_icon","icon_bg","icon_color","category_name","icon_initials","category_description","description_lines","show_sponsor_line","sponsor_name","sponsor_line_label","tool_pill_icon_color","tool_pill_bg","tool_pill_color","sub_pill_icon_color","sub_pill_bg","sub_pill_color","init_ToolsCategoryBrowseCard","ArrowIcon$1","CopyIcon","CheckIcon","DealCard","slot","hasCode","showAutoApplied","props","copied","setCopied","handleCopy","e","shadow","borderColor","isStacked","l","ToolsDealsStrip","activeSlots","slot_1_enabled","slot_1_logo","slot_1_logo_bg","slot_1_logo_color","slot_1_logo_initials","slot_1_tool_name","slot_1_deal_text","slot_1_discount_code","slot_1_cta_label","slot_1_cta_link","slot_2_enabled","slot_2_logo","slot_2_logo_bg","slot_2_logo_color","slot_2_logo_initials","slot_2_tool_name","slot_2_deal_text","slot_2_discount_code","slot_2_cta_label","slot_2_cta_link","slot_3_enabled","slot_3_logo","slot_3_logo_bg","slot_3_logo_color","slot_3_logo_initials","slot_3_tool_name","slot_3_deal_text","slot_3_discount_code","slot_3_cta_label","slot_3_cta_link","containerRef","setIsStacked","w","stack_breakpoint","ro","resolvedProps","i","slotControls","n","defaultName","defaultDeal","defaultCode","defaultInitials","defaultColor","init_ToolsDealsStrip","detectIsCanvas$3","countVisibleCards$1","cards","count","card","hidden","ToolsEmptyState","isCanvas","hasFilter","setHasFilter","visibleCount","setVisibleCount","timersRef","intervalRef","check","params","cat","sub","recount","t","d","clearFilter","url","base_path","cta_hover_bg","cta_bg","cta_hover_color","cta_color","padding_y","container_bg","border_color","title_color","title","body_color","body","show_cta","init_ToolsEmptyState","ArrowIcon","ToolsFeaturedCard","chips","chip_1","chip_2","chip_3","chip_4","goToDetail","detail_link","target","detailLinkStyle","wrapDetail","node","ctaHovered","setCtaHovered","containerWidth","setContainerWidth","isMobile","mobile_breakpoint","isTablet","tablet_breakpoint","hover_border_color","ctaPadY","ctaPadX","cardFlexDirection","cardAlignItems","bg_color","border_width","border_radius","show_badge","badge_color","badge_text","text_color","has_free_trial","trial_bg","trial_color","free_trial_label","muted_text_color","chip_bg","chip_color","c$1","cta_arrow_slide","c$2","init_ToolsFeaturedCard","detectIsCanvas$2","resetAll","HIDDEN_ATTR","orig","ORIG_DISPLAY_ATTR","findGridCellWrapper$1","nodeA","cardEl","parentA","display","nodeB","parentB","cardMatches","activeSub","cardSubs","activeCat","cardCat","SUB_TO_PARENT","hideWrapper","wrapper","origInlineDisplay","applyFilter","buildMobileCss","breakpointPx","ToolsFilterStyles","queryString","setQueryString","onChange","run","t1","t2","t3","mobileCss","enable_mobile_css","mobile_breakpoint_px","show_debug","filterLabel","init_ToolsFilterStyles_1","detectIsCanvas$1","FilterIcon","CloseIcon","CategoryIcon","svg","ToolsMobileFilters","open","setOpen","setIsMobile","parents","DEFAULT_PARENTS","parents_json","parsed","breakpoint_px","sync","originalOverflow","hasActiveFilter","currentLabel","button_label","match","p","setUrl","nextCat","handleParentClick","slug","handleAllClick","accentBg","textDark","borderLight","modal_title","show_all_tools_row","all_tools_label","isActive","p$1","init_ToolsMobileFilters","detectIsCanvas","findGridCellWrapper","current","lastValid","parentEl","resetOrder","SORT_ORDER_ATTR","applySort","mode","countVisibleCards","entries","a","b","optionLabel","opt","OPTIONS","o","value","ChevronDown","ToolsSortDropdown","sort","setSort","default_sort","raw","doApply","t0","onClick","root","setSortInUrl","active","init_ToolsSortDropdown"],"sources":["https:/framerusercontent.com/modules/DAeYzfn6oTgQkIcYR5EV/iUiyhWvoi3OiqviaG9T1/ToolCard.js","https:/framerusercontent.com/modules/L7TM8VuCOZNqHoRL3rv6/WHgDIsCPq8nJpJkwdhQl/ToolsCategoryBrowseCard.js","https:/framerusercontent.com/modules/6rE4rLZCAcfV6Q9fMnD4/R9BFflP76dWWEFwMJ9EI/ToolsDealsStrip.js","https:/framerusercontent.com/modules/zQMU59aWH94KQvVWxViG/o0ICyEYcOv2qYeTcOEEt/ToolsEmptyState.js","https:/framerusercontent.com/modules/Wy3PEPBtqX1qUnyNPDKC/bEYJuEQAzAVooPm1IrE6/ToolsFeaturedCard.js","https:/framerusercontent.com/modules/oFg6jpfGSPDfcxEkaxYN/Vmn0vBBXlwrMASOvcYSD/ToolsFilterStyles_1.js","https:/framerusercontent.com/modules/cXiF6Mh6Q2DSLHuZzou7/ZL4zGP0rZ261TviaPvpP/ToolsMobileFilters.js","https:/framerusercontent.com/modules/jecARYWaNHQ72aWQqPCJ/NKz9rIGbD3ToQvfHWguT/ToolsSortDropdown.js"],"sourcesContent":["// Tool Card for the /tools grid\n// Place inside a Framer CMS Collection List bound to the Tools collection.\n//\n// CRITICAL ARCHITECTURE NOTE:\n// The Tools CMS item template in Framer auto-adds a link=\"/tools/:slug\"\n// attribute that wraps this component in an outer <a> element. Because of\n// that, this component's ROOT must NOT be an <a>.\n//\n// FILTERING SUPPORT (for ToolsFilterStyles):\n// - data-tool-card=\"1\" marks every card\n// - data-primary-cat = parent category slug (from Primary category → Slug)\n// - data-sub-slugs = space-separated subcategory slugs (from Additional\n//   category 1-9 → Slug)\n//\n// Card layout (v4 minimal):\n//   Row 1: Logo + Title + (optional Grou choice chip)\n//   Row 2: Tagline — full text, no clamp. Card grows to fit content.\n//   Row 3: View button (right-aligned, pinned to bottom)\n//\n// Uses minHeight so short descriptions have a consistent floor height,\n// while longer descriptions expand the card naturally.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useEffect,useRef,useState}from\"react\";function GrouMonogram({size=10}){return /*#__PURE__*/_jsxs(\"svg\",{width:size,height:size,viewBox:\"0 0 45 45\",fill:\"none\",style:{flexShrink:0,display:\"block\"},children:[/*#__PURE__*/_jsx(\"path\",{d:\"M6.5,22.5a15.993,15.993,0,0,1,28.925-9.418l4.629-4.63a22.484,22.484,0,1,0-31.6,31.6l4.629-4.629A15.989,15.989,0,0,1,6.5,22.5\",fill:\"currentColor\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M24.645,20.652l-5.415,5.28v.023H30.342l-13.908,13.8h8.607l9.518-9.4V40.772h.008l5.705-5.649V20.652Z\",fill:\"currentColor\"})]});}function ArrowIcon({color,size=10}){return /*#__PURE__*/_jsx(\"svg\",{width:size,height:size,viewBox:\"0 0 12 12\",fill:\"none\",style:{flexShrink:0},children:/*#__PURE__*/_jsx(\"path\",{d:\"M2 6h8M7 3l3 3-3 3\",stroke:color,strokeWidth:\"1.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})});}/**\n * Tool Card\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight fit-content\n */export default function ToolCard({tool_name=\"Tool name\",tool_tagline=\"Short one-sentence description of what this tool does.\",tool_logo=\"\",logo_bg=\"#EEF0FD\",logo_text_color=\"#203EEB\",logo_initials=\"Tl\",category_name=\"Category name\",pricing_from=\"Free\",billing_model=\"\",has_free_trial=true,is_sponsored=false,is_featured_sponsored=false,is_grou_choice=false,is_boosted=false,cta_label=\"View\",cta_link=\"\",card_bg=\"#FFFFFF\",card_border=\"#E2E8F0\",hover_border=\"rgba(32, 62, 235, 0.25)\",hover_shadow=\"0 12px 32px -8px rgba(32, 62, 235, 0.12)\",accent=\"#203EEB\",text_dark=\"#020C80\",text_body=\"#1F2937\",text_muted=\"#64748B\",grou_choice_bg=\"rgba(32,62,235,0.08)\",grou_choice_color=\"#203EEB\",sponsored_bg=\"#FAFAFF\",sponsored_border=\"#93C5FD\",sponsored_label_color=\"#64748B\",boosted_bg=\"#FFFAF0\",boosted_border=\"#FAC775\",boosted_label_color=\"#854F0B\",trial_color=\"#0F6E56\",button_bg_default=\"rgba(32, 62, 235, 0.08)\",button_color_default=\"#203EEB\",button_bg_hover=\"#203EEB\",button_color_hover=\"#FFFFFF\",from_label=\"From:\",free_trial_label=\"Free trial\",sponsored_label=\"SPONSORED\",boosted_label=\"BOOSTED\",grou_choice_label=\"Grou choice\",view_label=\"View\",card_height=150,card_height_narrow=130,tagline_max_lines=2,enable_hover=true,primary_category_slug=\"\",sub_slug_1=\"\",sub_slug_2=\"\",sub_slug_3=\"\",sub_slug_4=\"\",sub_slug_5=\"\",sub_slug_6=\"\",sub_slug_7=\"\",sub_slug_8=\"\",sub_slug_9=\"\",sort_order=0,narrow_breakpoint=280}){const isSponsoredVariant=is_sponsored||is_featured_sponsored;const hasLogo=tool_logo&&tool_logo.length>0;const geist=\"Geist, 'Inter', system-ui, sans-serif\";const inter=\"Inter, system-ui, sans-serif\";const showGrouChoice=is_grou_choice&&!isSponsoredVariant;const[hovered,setHovered]=useState(false);const[cardWidth,setCardWidth]=useState(320);const rootRef=useRef(null);useEffect(()=>{if(typeof window===\"undefined\")return;const el=rootRef.current;if(!el)return;const measure=()=>{try{setCardWidth(el.offsetWidth);}catch{// noop\n}};measure();let observer=null;try{observer=new ResizeObserver(()=>measure());observer.observe(el);}catch{try{window.addEventListener(\"resize\",measure);}catch{// noop\n}}return()=>{try{if(observer)observer.disconnect();window.removeEventListener(\"resize\",measure);}catch{// noop\n}};},[]);const isNarrow=cardWidth<narrow_breakpoint;const cardPadding=isNarrow?14:16;const cardGap=isNarrow?9:11;const logoSize=isNarrow?38:42;const logoRadius=isNarrow?9:10;const logoInitialsSize=isNarrow?14:16;const nameSize=isNarrow?14:15;const taglineSize=isNarrow?12:13;const buttonSize=isNarrow?11:12;const buttonPadY=isNarrow?6:7;const buttonPadX=isNarrow?10:12;const resolvedMinHeight=isNarrow?card_height_narrow:card_height;const variantBg=isSponsoredVariant?sponsored_bg:is_boosted?boosted_bg:card_bg;const variantBaseBorder=isSponsoredVariant?sponsored_border:is_boosted?boosted_border:card_border;const variantBorderStyle=isSponsoredVariant?\"dashed\":\"solid\";const variantBorderWidth=isSponsoredVariant||is_boosted?1:.5;const resolvedBorderColor=enable_hover&&hovered&&!isSponsoredVariant&&!is_boosted?hover_border:variantBaseBorder;const resolvedShadow=enable_hover&&hovered?hover_shadow:\"0 0 0 rgba(0,0,0,0)\";const buttonBg=enable_hover&&hovered?button_bg_hover:button_bg_default;const buttonColor=enable_hover&&hovered?button_color_hover:button_color_default;const label=cta_label&&cta_label.length>0?cta_label:view_label;const rightStatusLabel=isSponsoredVariant?sponsored_label:is_boosted?boosted_label:\"\";const rightStatusColor=isSponsoredVariant?sponsored_label_color:boosted_label_color;const primaryCat=(primary_category_slug||\"\").trim().toLowerCase();const allSubSlugs=[sub_slug_1,sub_slug_2,sub_slug_3,sub_slug_4,sub_slug_5,sub_slug_6,sub_slug_7,sub_slug_8,sub_slug_9].map(s=>(s||\"\").trim().toLowerCase()).filter(Boolean);const subSlugsAttr=Array.from(new Set(allSubSlugs)).join(\" \");const handleClick=e=>{if(!cta_link)return;if(e.defaultPrevented)return;if(e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)return;try{const target=e.currentTarget;if(target.closest(\"a\"))return;window.location.href=cta_link;}catch{// noop\n}};const handleKeyDown=e=>{if(!cta_link)return;if(e.key===\"Enter\"||e.key===\" \"){e.preventDefault();try{const target=e.currentTarget;if(target.closest(\"a\"))return;window.location.href=cta_link;}catch{// noop\n}}};return /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,role:\"link\",tabIndex:0,onClick:handleClick,onKeyDown:handleKeyDown,onMouseEnter:()=>setHovered(true),onMouseLeave:()=>setHovered(false),\"data-tool-card\":\"1\",\"data-primary-cat\":primaryCat,\"data-sub-slugs\":subSlugsAttr,\"data-tool-name\":(tool_name||\"\").toLowerCase(),\"data-is-sponsored\":isSponsoredVariant?\"1\":\"0\",\"data-is-featured\":is_featured_sponsored?\"1\":\"0\",\"data-is-boosted\":is_boosted?\"1\":\"0\",\"data-is-free\":(pricing_from||\"\").trim().toLowerCase()===\"free\"?\"1\":\"0\",\"data-sort-order\":sort_order,style:{width:\"100%\",// ── minHeight: card grows if description is long ──\nminHeight:resolvedMinHeight,height:\"auto\",background:variantBg,border:`${variantBorderWidth}px ${variantBorderStyle} ${resolvedBorderColor}`,borderRadius:14,padding:cardPadding,display:\"flex\",flexDirection:\"column\",gap:cardGap,position:\"relative\",fontFamily:inter,boxSizing:\"border-box\",boxShadow:resolvedShadow,transition:\"box-shadow 220ms ease-out, border-color 180ms ease-out\",textDecoration:\"none\",cursor:\"pointer\",// ── overflow visible: nothing gets clipped ──\noverflow:\"visible\",color:\"inherit\"},children:[rightStatusLabel&&/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",top:12,right:14,fontSize:9,fontWeight:600,color:rightStatusColor,letterSpacing:\"0.08em\",fontFamily:geist},children:rightStatusLabel}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:isNarrow?10:12,paddingRight:rightStatusLabel?isNarrow?60:80:0},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:logoSize,height:logoSize,borderRadius:logoRadius,background:logo_bg,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0,overflow:\"hidden\"},children:hasLogo?/*#__PURE__*/_jsx(\"img\",{src:tool_logo,alt:tool_name,style:{width:\"100%\",height:\"100%\",objectFit:\"cover\"}}):/*#__PURE__*/_jsx(\"span\",{style:{fontSize:logoInitialsSize,fontWeight:600,color:logo_text_color,fontFamily:geist},children:logo_initials})}),/*#__PURE__*/_jsxs(\"div\",{style:{flex:1,minWidth:0,display:\"flex\",alignItems:\"center\",gap:6,flexWrap:\"wrap\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:nameSize,fontWeight:600,color:text_dark,fontFamily:geist,letterSpacing:\"-0.01em\",lineHeight:1.25,overflow:\"hidden\",textOverflow:\"ellipsis\",whiteSpace:\"nowrap\",maxWidth:\"100%\"},children:tool_name}),showGrouChoice&&/*#__PURE__*/_jsxs(\"span\",{style:{display:\"inline-flex\",alignItems:\"center\",gap:4,padding:\"2px 7px 2px 5px\",background:grou_choice_bg,color:grou_choice_color,borderRadius:999,fontSize:10,fontWeight:500,fontFamily:geist,lineHeight:1.2,flexShrink:0},children:[/*#__PURE__*/_jsx(GrouMonogram,{size:9}),grou_choice_label]})]})]}),/*#__PURE__*/_jsx(\"p\",{style:{fontSize:taglineSize,color:text_body,lineHeight:1.5,margin:0,flex:1},children:tool_tagline}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",justifyContent:\"flex-end\",alignItems:\"center\",marginTop:\"auto\"},children:/*#__PURE__*/_jsxs(\"span\",{style:{display:\"inline-flex\",alignItems:\"center\",gap:5,padding:`${buttonPadY}px ${buttonPadX}px`,background:buttonBg,color:buttonColor,borderRadius:7,fontSize:buttonSize,fontWeight:600,fontFamily:geist,whiteSpace:\"nowrap\",flexShrink:0,transition:\"background-color 180ms ease-out, color 180ms ease-out\"},children:[label,/*#__PURE__*/_jsx(ArrowIcon,{color:buttonColor,size:10})]})})]});}addPropertyControls(ToolCard,{tool_name:{type:ControlType.String,title:\"Tool name\",defaultValue:\"Tool name\",description:\"Connect to: Tools → Name\"},tool_tagline:{type:ControlType.String,title:\"Tagline\",defaultValue:\"Short one-sentence description of what this tool does.\",description:\"Connect to: Tools → Short description\",displayTextArea:true},tool_logo:{type:ControlType.Image,title:\"Logo image\",description:\"Connect to: Tools → Logo\"},logo_initials:{type:ControlType.String,title:\"Logo initials\",defaultValue:\"Tl\"},logo_bg:{type:ControlType.Color,title:\"Logo bg\",defaultValue:\"#EEF0FD\"},logo_text_color:{type:ControlType.Color,title:\"Logo text\",defaultValue:\"#203EEB\"},category_name:{type:ControlType.String,title:\"Category (unused)\",defaultValue:\"Category name\"},primary_category_slug:{type:ControlType.String,title:\"Primary cat slug\",defaultValue:\"\",description:\"CRITICAL: Connect to Tools → Primary category → Slug (the PARENT slug). Used by the filter.\"},sub_slug_1:{type:ControlType.String,title:\"Sub slug 1\",defaultValue:\"\",description:\"Connect to Tools → Additional category 1 → Slug.\"},sub_slug_2:{type:ControlType.String,title:\"Sub slug 2\",defaultValue:\"\"},sub_slug_3:{type:ControlType.String,title:\"Sub slug 3\",defaultValue:\"\"},sub_slug_4:{type:ControlType.String,title:\"Sub slug 4\",defaultValue:\"\"},sub_slug_5:{type:ControlType.String,title:\"Sub slug 5\",defaultValue:\"\"},sub_slug_6:{type:ControlType.String,title:\"Sub slug 6\",defaultValue:\"\"},sub_slug_7:{type:ControlType.String,title:\"Sub slug 7\",defaultValue:\"\"},sub_slug_8:{type:ControlType.String,title:\"Sub slug 8\",defaultValue:\"\"},sub_slug_9:{type:ControlType.String,title:\"Sub slug 9\",defaultValue:\"\"},sort_order:{type:ControlType.Number,title:\"Sort order\",defaultValue:0},pricing_from:{type:ControlType.String,title:\"Price (unused)\",defaultValue:\"Free\"},billing_model:{type:ControlType.String,title:\"Billing model (unused)\",defaultValue:\"\"},has_free_trial:{type:ControlType.Boolean,title:\"Free trial (unused)\",defaultValue:true},is_grou_choice:{type:ControlType.Boolean,title:\"Grou choice\",defaultValue:false},is_sponsored:{type:ControlType.Boolean,title:\"Sponsored\",defaultValue:false},is_featured_sponsored:{type:ControlType.Boolean,title:\"Featured sponsored\",defaultValue:false},is_boosted:{type:ControlType.Boolean,title:\"Boosted\",defaultValue:false},cta_label:{type:ControlType.String,title:\"Button label\",defaultValue:\"View\"},cta_link:{type:ControlType.Link,title:\"Card link (fallback)\"},card_height:{type:ControlType.Number,title:\"Card min height (px)\",defaultValue:150,min:100,max:300,step:5,description:\"Minimum height — card expands if description is longer\"},card_height_narrow:{type:ControlType.Number,title:\"Card min height narrow (px)\",defaultValue:130,min:100,max:300,step:5},tagline_max_lines:{type:ControlType.Number,title:\"Tagline max lines (unused)\",defaultValue:2,min:1,max:5,step:1,description:\"No longer used — full description is always shown\"},enable_hover:{type:ControlType.Boolean,title:\"Hover effect\",defaultValue:true},hover_shadow:{type:ControlType.String,title:\"Hover shadow\",defaultValue:\"0 12px 32px -8px rgba(32, 62, 235, 0.12)\"},hover_border:{type:ControlType.Color,title:\"Hover border\",defaultValue:\"rgba(32, 62, 235, 0.25)\"},narrow_breakpoint:{type:ControlType.Number,title:\"Narrow breakpoint (card width)\",defaultValue:280,min:180,max:400,step:10},from_label:{type:ControlType.String,title:\"'From:' label (unused)\",defaultValue:\"From:\"},free_trial_label:{type:ControlType.String,title:\"'Free trial' label (unused)\",defaultValue:\"Free trial\"},sponsored_label:{type:ControlType.String,title:\"'Sponsored' label\",defaultValue:\"SPONSORED\"},boosted_label:{type:ControlType.String,title:\"'Boosted' label\",defaultValue:\"BOOSTED\"},grou_choice_label:{type:ControlType.String,title:\"'Grou choice' label\",defaultValue:\"Grou choice\"},view_label:{type:ControlType.String,title:\"Fallback button label\",defaultValue:\"View\"},card_bg:{type:ControlType.Color,title:\"Card bg\",defaultValue:\"#FFFFFF\"},card_border:{type:ControlType.Color,title:\"Card border\",defaultValue:\"#E2E8F0\"},accent:{type:ControlType.Color,title:\"Accent\",defaultValue:\"#203EEB\"},text_dark:{type:ControlType.Color,title:\"Heading\",defaultValue:\"#020C80\"},text_body:{type:ControlType.Color,title:\"Body\",defaultValue:\"#1F2937\"},text_muted:{type:ControlType.Color,title:\"Muted\",defaultValue:\"#64748B\"},grou_choice_bg:{type:ControlType.Color,title:\"Grou choice bg\",defaultValue:\"rgba(32,62,235,0.08)\"},grou_choice_color:{type:ControlType.Color,title:\"Grou choice color\",defaultValue:\"#203EEB\"},sponsored_bg:{type:ControlType.Color,title:\"Sponsored bg\",defaultValue:\"#FAFAFF\"},sponsored_border:{type:ControlType.Color,title:\"Sponsored border (dashed)\",defaultValue:\"#93C5FD\"},sponsored_label_color:{type:ControlType.Color,title:\"'SPONSORED' color\",defaultValue:\"#64748B\"},boosted_bg:{type:ControlType.Color,title:\"Boosted bg\",defaultValue:\"#FFFAF0\"},boosted_border:{type:ControlType.Color,title:\"Boosted border\",defaultValue:\"#FAC775\"},boosted_label_color:{type:ControlType.Color,title:\"'BOOSTED' color\",defaultValue:\"#854F0B\"},trial_color:{type:ControlType.Color,title:\"Free trial color (unused)\",defaultValue:\"#0F6E56\"},button_bg_default:{type:ControlType.Color,title:\"Button bg (default)\",defaultValue:\"rgba(32, 62, 235, 0.08)\"},button_color_default:{type:ControlType.Color,title:\"Button color (default)\",defaultValue:\"#203EEB\"},button_bg_hover:{type:ControlType.Color,title:\"Button bg (hover)\",defaultValue:\"#203EEB\"},button_color_hover:{type:ControlType.Color,title:\"Button color (hover)\",defaultValue:\"#FFFFFF\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ToolCard\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fit-content\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ToolCard.map","// Tools Category Browse Card — used in the \"Browse by category\" grid on /tools\n// Place inside a Framer CMS Collection List bound to Parent tool categories.\n// Displays tool count + subcategory count as two separate pills.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState}from\"react\";// Auto-lookup: slug of parent category → subcategory count\n// Matches the 84 subcategories in the \"Tool categories\" CMS collection.\nconst SUBCATEGORY_COUNTS={\"prospecting-data-gtm\":14,\"outreach-sequencing\":8,\"email-deliverability\":5,\"crm-pipeline-enablement\":10,linkedin:5,marketing:10,\"content-seo\":9,\"ai-automation\":9,\"creative-media\":7,\"analytics-intelligence\":7,\"productivity-collaboration\":6,\"customer-success-support\":6};function extractSlugFromLink(link){if(!link)return\"\";const cleaned=link.split(\"?\")[0].split(\"#\")[0].replace(/\\/+$/,\"\");const last=cleaned.split(\"/\").filter(Boolean).pop()||\"\";return last.toLowerCase();}function ArrowIcon({color,size=12}){return /*#__PURE__*/_jsx(\"svg\",{width:size,height:size,viewBox:\"0 0 14 14\",fill:\"none\",style:{flexShrink:0},children:/*#__PURE__*/_jsx(\"path\",{d:\"M3 7h8M8 4l3 3-3 3\",stroke:color,strokeWidth:\"1.6\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})});}function GridIcon({color,size=11}){return /*#__PURE__*/_jsxs(\"svg\",{width:size,height:size,viewBox:\"0 0 24 24\",fill:\"none\",stroke:color,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",style:{flexShrink:0},children:[/*#__PURE__*/_jsx(\"rect\",{width:\"7\",height:\"7\",x:\"3\",y:\"3\",rx:\"1\"}),/*#__PURE__*/_jsx(\"rect\",{width:\"7\",height:\"7\",x:\"14\",y:\"3\",rx:\"1\"}),/*#__PURE__*/_jsx(\"rect\",{width:\"7\",height:\"7\",x:\"14\",y:\"14\",rx:\"1\"}),/*#__PURE__*/_jsx(\"rect\",{width:\"7\",height:\"7\",x:\"3\",y:\"14\",rx:\"1\"})]});}function LayersIcon({color,size=11}){return /*#__PURE__*/_jsxs(\"svg\",{width:size,height:size,viewBox:\"0 0 24 24\",fill:\"none\",stroke:color,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",style:{flexShrink:0},children:[/*#__PURE__*/_jsx(\"path\",{d:\"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z\"}),/*#__PURE__*/_jsx(\"path\",{d:\"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65\"}),/*#__PURE__*/_jsx(\"path\",{d:\"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65\"})]});}function StatPill({icon,text,bg,color}){const geist=\"Geist, 'Inter', system-ui, sans-serif\";return /*#__PURE__*/_jsxs(\"span\",{style:{display:\"inline-flex\",alignItems:\"center\",gap:5,padding:\"3px 9px 3px 7px\",background:bg,color,borderRadius:999,fontFamily:geist,fontSize:11,fontWeight:600,fontVariantNumeric:\"tabular-nums\",whiteSpace:\"nowrap\",minWidth:0},children:[icon,/*#__PURE__*/_jsx(\"span\",{style:{overflow:\"hidden\",textOverflow:\"ellipsis\"},children:text})]});}/**\n * Tools Category Browse Card\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight fit-content\n */export default function ToolsCategoryBrowseCard({category_name=\"Category name\",category_description=\"Short description of what this category covers.\",tool_count_text=\"20+ tools\",show_count=true,show_subcategory_count=true,subcategory_count_override=0,subcategory_label_singular=\"subcategory\",subcategory_label_plural=\"subcategories\",parent_slug_override=\"\",link=\"\",icon_svg=\"\",icon_image=\"\",icon_initials=\"Ct\",icon_bg=\"rgba(32, 62, 235, 0.08)\",icon_color=\"#203EEB\",show_icon=true,is_sponsored=false,sponsored_label=\"SPONSORED\",sponsored_label_color=\"#64748B\",show_sponsor_line=false,sponsor_line_label=\"Sponsored by\",sponsor_name=\"\",sponsor_logo=\"\",card_bg=\"#FFFFFF\",card_border=\"#E2E8F0\",card_hover_border=\"rgba(32, 62, 235, 0.25)\",card_hover_shadow=\"0 12px 32px -8px rgba(32, 62, 235, 0.12)\",sponsored_bg=\"#FAFAFF\",sponsored_border=\"#93C5FD\",tool_pill_bg=\"rgba(32, 62, 235, 0.06)\",tool_pill_color=\"#203EEB\",tool_pill_icon_color=\"#203EEB\",sub_pill_bg=\"rgba(100, 116, 139, 0.08)\",sub_pill_color=\"#475569\",sub_pill_icon_color=\"#475569\",text_dark=\"#020C80\",text_muted=\"#64748B\",accent=\"#203EEB\",enable_hover=true,card_min_height=190,description_lines=2}){const geist=\"Geist, 'Inter', system-ui, sans-serif\";const inter=\"Inter, system-ui, sans-serif\";const hasIconImage=icon_image&&icon_image.length>0;const hasIconSvg=icon_svg&&icon_svg.length>0;const hasSponsorLogo=sponsor_logo&&sponsor_logo.length>0;const[hovered,setHovered]=useState(false);const baseBg=is_sponsored?sponsored_bg:card_bg;const baseBorder=is_sponsored?sponsored_border:card_border;const borderStyle=is_sponsored?\"dashed\":\"solid\";const borderWidth=is_sponsored?1:.5;const resolvedBorderColor=enable_hover&&hovered&&!is_sponsored?card_hover_border:baseBorder;const resolvedShadow=enable_hover&&hovered?card_hover_shadow:\"0 0 0 rgba(0,0,0,0)\";const arrowColor=enable_hover&&hovered?accent:text_muted;const arrowTransform=enable_hover&&hovered?\"translateX(3px)\":\"translateX(0)\";// Resolve subcategory count: override prop > extracted slug from link\nconst resolvedSlug=parent_slug_override&&parent_slug_override.length>0?parent_slug_override.toLowerCase():extractSlugFromLink(link);const autoSubCount=SUBCATEGORY_COUNTS[resolvedSlug]||0;const subCount=subcategory_count_override>0?subcategory_count_override:autoSubCount;const subLabel=subCount===1?subcategory_label_singular:subcategory_label_plural;const subCountText=subCount>0?`${subCount} ${subLabel}`:\"\";const hasToolCount=show_count&&tool_count_text&&tool_count_text.length>0;const hasSubCount=show_subcategory_count&&subCountText.length>0;const hasAnyPill=hasToolCount||hasSubCount;const content=/*#__PURE__*/_jsxs(\"div\",{onMouseEnter:()=>setHovered(true),onMouseLeave:()=>setHovered(false),style:{width:\"100%\",height:\"100%\",background:baseBg,border:`${borderWidth}px ${borderStyle} ${resolvedBorderColor}`,borderRadius:12,padding:18,display:\"flex\",flexDirection:\"column\",gap:8,boxSizing:\"border-box\",fontFamily:inter,cursor:link&&link.length>0?\"pointer\":\"default\",position:\"relative\",boxShadow:resolvedShadow,transition:\"box-shadow 220ms ease-out, border-color 180ms ease-out\",minHeight:card_min_height},children:[is_sponsored&&/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",top:10,right:14,fontSize:9,fontWeight:600,color:sponsored_label_color,letterSpacing:\"0.08em\",fontFamily:geist},children:sponsored_label}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:10,paddingRight:is_sponsored?80:0,marginBottom:4},children:[show_icon&&/*#__PURE__*/_jsx(\"div\",{style:{width:34,height:34,borderRadius:9,background:icon_bg,color:icon_color,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",overflow:\"hidden\",flexShrink:0},children:hasIconImage?/*#__PURE__*/_jsx(\"img\",{src:icon_image,alt:category_name,style:{width:16,height:16,objectFit:\"contain\"}}):hasIconSvg?/*#__PURE__*/_jsx(\"svg\",{width:\"17\",height:\"17\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",dangerouslySetInnerHTML:{__html:icon_svg}}):/*#__PURE__*/_jsx(\"span\",{style:{fontSize:11,fontWeight:700,color:icon_color,fontFamily:geist,letterSpacing:\"-0.02em\"},children:icon_initials})}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:14,fontWeight:600,color:text_dark,fontFamily:geist,letterSpacing:\"-0.01em\",lineHeight:1.25,flex:1,minWidth:0},children:category_name})]}),category_description&&category_description.length>0&&/*#__PURE__*/_jsx(\"div\",{style:{fontSize:12,color:text_muted,lineHeight:1.5,marginBottom:6,flex:1,display:\"-webkit-box\",WebkitLineClamp:description_lines,WebkitBoxOrient:\"vertical\",overflow:\"hidden\"},children:category_description}),show_sponsor_line&&sponsor_name&&sponsor_name.length>0?/*#__PURE__*/_jsxs(\"div\",{style:{marginTop:\"auto\",paddingTop:10,borderTop:`0.5px dashed ${card_border}`,display:\"flex\",alignItems:\"center\",gap:6},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:10,color:text_muted},children:sponsor_line_label}),hasSponsorLogo&&/*#__PURE__*/_jsx(\"img\",{src:sponsor_logo,alt:sponsor_name,style:{height:14,objectFit:\"contain\"}}),/*#__PURE__*/_jsx(\"span\",{style:{fontSize:11,fontWeight:600,color:text_dark,fontFamily:geist},children:sponsor_name})]}):/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\",marginTop:\"auto\",gap:8},children:[hasAnyPill?/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexWrap:\"wrap\",gap:6,minWidth:0,flex:1},children:[hasToolCount&&/*#__PURE__*/_jsx(StatPill,{icon:/*#__PURE__*/_jsx(GridIcon,{color:tool_pill_icon_color,size:10}),text:tool_count_text,bg:tool_pill_bg,color:tool_pill_color}),hasSubCount&&/*#__PURE__*/_jsx(StatPill,{icon:/*#__PURE__*/_jsx(LayersIcon,{color:sub_pill_icon_color,size:10}),text:subCountText,bg:sub_pill_bg,color:sub_pill_color})]}):/*#__PURE__*/_jsx(\"span\",{}),/*#__PURE__*/_jsx(\"span\",{style:{color:arrowColor,transform:arrowTransform,transition:\"color 200ms ease-out, transform 200ms ease-out\",display:\"inline-flex\",flexShrink:0},children:/*#__PURE__*/_jsx(ArrowIcon,{color:arrowColor,size:14})})]})]});if(link&&link.length>0){return /*#__PURE__*/_jsx(\"a\",{href:link,style:{textDecoration:\"none\",width:\"100%\",height:\"100%\",display:\"block\"},children:content});}return content;}addPropertyControls(ToolsCategoryBrowseCard,{category_name:{type:ControlType.String,title:\"Name\",defaultValue:\"Category name\",description:\"Connect to: Parent tool categories → Name\"},category_description:{type:ControlType.String,title:\"Description\",defaultValue:\"Short description of what this category covers.\",displayTextArea:true,description:\"Connect to: Parent tool categories → Description\"},tool_count_text:{type:ControlType.String,title:\"Tool count text\",defaultValue:\"20+ tools\",description:\"Connect to: Parent tool categories → Tool count display. Write as '20+ tools', '47 tools', etc.\"},show_count:{type:ControlType.Boolean,title:\"Show tool count\",defaultValue:true},show_subcategory_count:{type:ControlType.Boolean,title:\"Show subcategory count\",defaultValue:true,description:\"Auto-derived from the link's parent slug\"},subcategory_count_override:{type:ControlType.Number,title:\"Subcategory count (override)\",defaultValue:0,min:0,max:50,step:1,description:\"Set to 0 to auto-derive from the link\"},subcategory_label_singular:{type:ControlType.String,title:\"'Subcategory' label\",defaultValue:\"subcategory\"},subcategory_label_plural:{type:ControlType.String,title:\"'Subcategories' label\",defaultValue:\"subcategories\"},parent_slug_override:{type:ControlType.String,title:\"Parent slug (override)\",defaultValue:\"\",description:\"Optional. Leave empty to auto-extract from the link.\"},link:{type:ControlType.Link,title:\"Link\",description:\"e.g. /tools/parent-tool-categories/[slug]\"},card_min_height:{type:ControlType.Number,title:\"Card min height\",defaultValue:190,min:140,max:300,step:2},description_lines:{type:ControlType.Number,title:\"Description lines\",defaultValue:2,min:1,max:5,step:1},show_icon:{type:ControlType.Boolean,title:\"Show icon\",defaultValue:true},icon_svg:{type:ControlType.String,title:\"Icon SVG\",defaultValue:\"\",displayTextArea:true,description:\"Paste Lucide icon inner SVG. Leave empty to use image or initials.\"},icon_image:{type:ControlType.Image,title:\"Icon image\"},icon_initials:{type:ControlType.String,title:\"Icon initials\",defaultValue:\"Ct\"},icon_bg:{type:ControlType.Color,title:\"Icon bg\",defaultValue:\"rgba(32, 62, 235, 0.08)\"},icon_color:{type:ControlType.Color,title:\"Icon color\",defaultValue:\"#203EEB\"},is_sponsored:{type:ControlType.Boolean,title:\"Sponsored\",defaultValue:false},sponsored_label:{type:ControlType.String,title:\"'Sponsored' label\",defaultValue:\"SPONSORED\"},sponsored_label_color:{type:ControlType.Color,title:\"'SPONSORED' color\",defaultValue:\"#64748B\"},show_sponsor_line:{type:ControlType.Boolean,title:\"Show sponsor line\",defaultValue:false},sponsor_line_label:{type:ControlType.String,title:\"Sponsor line label\",defaultValue:\"Sponsored by\"},sponsor_name:{type:ControlType.String,title:\"Sponsor name\",defaultValue:\"\"},sponsor_logo:{type:ControlType.Image,title:\"Sponsor logo\"},enable_hover:{type:ControlType.Boolean,title:\"Hover effect\",defaultValue:true},card_bg:{type:ControlType.Color,title:\"Card bg\",defaultValue:\"#FFFFFF\"},card_border:{type:ControlType.Color,title:\"Card border\",defaultValue:\"#E2E8F0\"},card_hover_border:{type:ControlType.Color,title:\"Hover border\",defaultValue:\"rgba(32, 62, 235, 0.25)\"},card_hover_shadow:{type:ControlType.String,title:\"Hover shadow\",defaultValue:\"0 12px 32px -8px rgba(32, 62, 235, 0.12)\"},sponsored_bg:{type:ControlType.Color,title:\"Sponsored bg\",defaultValue:\"#FAFAFF\"},sponsored_border:{type:ControlType.Color,title:\"Sponsored border (dashed)\",defaultValue:\"#93C5FD\"},tool_pill_bg:{type:ControlType.Color,title:\"Tool pill bg\",defaultValue:\"rgba(32, 62, 235, 0.06)\"},tool_pill_color:{type:ControlType.Color,title:\"Tool pill text\",defaultValue:\"#203EEB\"},tool_pill_icon_color:{type:ControlType.Color,title:\"Tool pill icon\",defaultValue:\"#203EEB\"},sub_pill_bg:{type:ControlType.Color,title:\"Subcategory pill bg\",defaultValue:\"rgba(100, 116, 139, 0.08)\"},sub_pill_color:{type:ControlType.Color,title:\"Subcategory pill text\",defaultValue:\"#475569\"},sub_pill_icon_color:{type:ControlType.Color,title:\"Subcategory pill icon\",defaultValue:\"#475569\"},text_dark:{type:ControlType.Color,title:\"Heading\",defaultValue:\"#020C80\"},text_muted:{type:ControlType.Color,title:\"Muted\",defaultValue:\"#64748B\"},accent:{type:ControlType.Color,title:\"Accent\",defaultValue:\"#203EEB\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ToolsCategoryBrowseCard\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fit-content\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ToolsCategoryBrowseCard.map","// Tools Deals Strip — 3 sponsored deal slots (dark card design)\n// Place a native Framer text layer above this component for the section title.\n// Each slot fully editable via property controls. Set slot_X_enabled to false to hide.\n// Leave a slot's discount_code empty to show the \"Auto-applied\" fallback label instead.\n// Click on a discount code pill to copy it (doesn't trigger card navigation).\n// Hover effect: shadow reveal + border brighten (Option B).\n//\n// Responsive: when the strip's OWN container width falls below stack_breakpoint,\n// cards stack vertically (one under the other). Measured via ResizeObserver so it\n// works inside any parent layout at any Framer breakpoint.\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useEffect,useRef}from\"react\";function ArrowIcon({color,size=12}){return /*#__PURE__*/_jsx(\"svg\",{width:size,height:size,viewBox:\"0 0 12 12\",fill:\"none\",style:{flexShrink:0},children:/*#__PURE__*/_jsx(\"path\",{d:\"M2 6h8M7 3l3 3-3 3\",stroke:color,strokeWidth:\"1.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})});}function CopyIcon({color,size=10}){return /*#__PURE__*/_jsxs(\"svg\",{width:size,height:size,viewBox:\"0 0 12 12\",fill:\"none\",style:{flexShrink:0},children:[/*#__PURE__*/_jsx(\"rect\",{x:\"3.5\",y:\"3.5\",width:\"6\",height:\"6\",rx:\"1\",stroke:color,strokeWidth:\"1.3\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M2.5 7.5V2.5a1 1 0 0 1 1-1h5\",stroke:color,strokeWidth:\"1.3\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})]});}function CheckIcon({color,size=10}){return /*#__PURE__*/_jsx(\"svg\",{width:size,height:size,viewBox:\"0 0 12 12\",fill:\"none\",style:{flexShrink:0},children:/*#__PURE__*/_jsx(\"path\",{d:\"M2.5 6.5l2.5 2.5L9.5 3.5\",stroke:color,strokeWidth:\"1.6\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})});}function DealCard({slot,props,isStacked}){const geist=\"Geist, 'Inter', system-ui, sans-serif\";const hasLogo=slot.logo&&slot.logo.length>0;const hasCode=slot.discount_code&&slot.discount_code.length>0;const showAutoApplied=!hasCode&&props.show_auto_applied_fallback&&props.auto_applied_label&&props.auto_applied_label.length>0;const[hovered,setHovered]=useState(false);const[copied,setCopied]=useState(false);const handleCopy=e=>{if(!props.enable_click_to_copy)return;e.preventDefault();e.stopPropagation();if(typeof navigator!==\"undefined\"&&navigator.clipboard){navigator.clipboard.writeText(slot.discount_code).catch(()=>{});}setCopied(true);window.setTimeout(()=>setCopied(false),1600);};const shadow=props.enable_hover&&hovered?props.hover_shadow:\"0 0 0 rgba(0,0,0,0)\";const borderColor=props.enable_hover&&hovered?props.hover_border_color:props.card_border;return /*#__PURE__*/_jsxs(\"a\",{href:slot.cta_link||\"#\",target:\"_blank\",rel:\"noopener noreferrer\",onMouseEnter:()=>setHovered(true),onMouseLeave:()=>setHovered(false),style:{flex:isStacked?\"none\":1,width:isStacked?\"100%\":\"auto\",minWidth:0,background:props.card_bg,border:`0.5px solid ${borderColor}`,borderRadius:props.border_radius,padding:props.padding,display:\"flex\",flexDirection:\"column\",gap:10,textDecoration:\"none\",position:\"relative\",boxSizing:\"border-box\",fontFamily:\"Inter, system-ui, sans-serif\",overflow:\"hidden\",boxShadow:shadow,transition:\"box-shadow 220ms ease-out, border-color 180ms ease-out\"},children:[props.show_sponsored_tag&&/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",top:10,right:12,fontSize:9,color:props.sponsored_color,letterSpacing:\"0.08em\",fontFamily:geist,fontWeight:500},children:props.sponsored_label}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:10},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:28,height:28,borderRadius:7,background:slot.logo_bg,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0,overflow:\"hidden\"},children:hasLogo?/*#__PURE__*/_jsx(\"img\",{src:slot.logo,alt:slot.tool_name,style:{width:\"100%\",height:\"100%\",objectFit:\"cover\"}}):/*#__PURE__*/_jsx(\"span\",{style:{fontSize:12,fontWeight:600,color:slot.logo_color,fontFamily:geist,letterSpacing:\"-0.01em\"},children:slot.logo_initials})}),/*#__PURE__*/_jsx(\"span\",{style:{fontSize:14,fontWeight:500,color:props.text_color,fontFamily:geist,letterSpacing:\"-0.01em\"},children:slot.tool_name})]}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:14,color:props.muted_text_color,lineHeight:1.45,flex:1,fontWeight:400},children:slot.deal_text}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",gap:8,marginTop:2,minHeight:26},children:[hasCode?/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:handleCopy,\"aria-label\":`Copy discount code ${slot.discount_code}`,style:{display:\"inline-flex\",alignItems:\"center\",gap:6,background:props.code_bg,color:props.code_color,fontSize:11,padding:\"4px 9px 4px 8px\",borderRadius:5,fontWeight:600,fontFamily:geist,letterSpacing:\"0.02em\",border:\"1px dashed rgba(255,255,255,0.35)\",cursor:props.enable_click_to_copy?\"pointer\":\"default\",transition:\"opacity 150ms ease-out\"},onMouseEnter:e=>{if(props.enable_click_to_copy)e.currentTarget.style.opacity=\"0.85\";},onMouseLeave:e=>{e.currentTarget.style.opacity=\"1\";},children:copied?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(CheckIcon,{color:props.code_color,size:10}),props.copy_success_label]}):/*#__PURE__*/_jsxs(_Fragment,{children:[props.code_prefix&&props.code_prefix.length>0&&/*#__PURE__*/_jsx(\"span\",{style:{opacity:.7,fontWeight:500},children:props.code_prefix}),/*#__PURE__*/_jsx(\"span\",{children:slot.discount_code}),props.enable_click_to_copy&&/*#__PURE__*/_jsx(CopyIcon,{color:props.code_color,size:10})]})}):showAutoApplied?/*#__PURE__*/_jsxs(\"span\",{style:{display:\"inline-flex\",alignItems:\"center\",gap:6,fontSize:11,color:props.muted_text_color,fontFamily:geist,fontWeight:400},children:[/*#__PURE__*/_jsx(\"span\",{style:{width:6,height:6,borderRadius:\"50%\",background:props.auto_applied_dot_color,flexShrink:0}}),props.auto_applied_label]}):/*#__PURE__*/_jsx(\"span\",{}),/*#__PURE__*/_jsxs(\"span\",{style:{display:\"inline-flex\",alignItems:\"center\",gap:5,fontSize:12,fontWeight:500,color:props.cta_color,fontFamily:geist,transform:props.enable_hover&&hovered?\"translateX(2px)\":\"translateX(0)\",transition:\"transform 200ms ease-out\"},children:[slot.cta_label,/*#__PURE__*/_jsx(ArrowIcon,{color:props.cta_color,size:11})]})]})]});}/**\n * Tools Deals Strip\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight fit-content\n */export default function ToolsDealsStrip({show_sponsored_tag=true,sponsored_label=\"SPONSORED\",slot_1_enabled=true,slot_1_logo=\"\",slot_1_logo_bg=\"#FFFFFF\",slot_1_logo_color=\"#0F6E56\",slot_1_logo_initials=\"Cl\",slot_1_tool_name=\"Clay\",slot_1_deal_text=\"20% off annual plans\",slot_1_discount_code=\"GROU20\",slot_1_cta_label=\"Claim\",slot_1_cta_link=\"\",slot_2_enabled=true,slot_2_logo=\"\",slot_2_logo_bg=\"#FFFFFF\",slot_2_logo_color=\"#854F0B\",slot_2_logo_initials=\"Le\",slot_2_tool_name=\"Lemlist\",slot_2_deal_text=\"3 months free on annual\",slot_2_discount_code=\"GROU3FREE\",slot_2_cta_label=\"Claim\",slot_2_cta_link=\"\",slot_3_enabled=true,slot_3_logo=\"\",slot_3_logo_bg=\"#FFFFFF\",slot_3_logo_color=\"#993556\",slot_3_logo_initials=\"He\",slot_3_tool_name=\"HeyReach\",slot_3_deal_text=\"$50 credit for new signups\",slot_3_discount_code=\"GROU50\",slot_3_cta_label=\"Claim\",slot_3_cta_link=\"\",show_auto_applied_fallback=true,auto_applied_label=\"Auto-applied\",auto_applied_dot_color=\"#5DCAA5\",code_prefix=\"CODE\",copy_success_label=\"Copied\",enable_click_to_copy=true,enable_hover=true,hover_shadow=\"0 12px 32px -8px rgba(2, 12, 128, 0.45)\",hover_border_color=\"rgba(255,255,255,0.18)\",card_bg=\"#020C80\",card_border=\"rgba(255,255,255,0.06)\",text_color=\"#FFFFFF\",muted_text_color=\"rgba(255,255,255,0.85)\",sponsored_color=\"rgba(255,255,255,0.45)\",code_bg=\"#203EEB\",code_color=\"#FFFFFF\",cta_color=\"#FFFFFF\",border_radius=14,gap=10,padding=16,stack_breakpoint=580}){const slots=[{enabled:slot_1_enabled,logo:slot_1_logo,logo_bg:slot_1_logo_bg,logo_color:slot_1_logo_color,logo_initials:slot_1_logo_initials,tool_name:slot_1_tool_name,deal_text:slot_1_deal_text,discount_code:slot_1_discount_code,cta_label:slot_1_cta_label,cta_link:slot_1_cta_link},{enabled:slot_2_enabled,logo:slot_2_logo,logo_bg:slot_2_logo_bg,logo_color:slot_2_logo_color,logo_initials:slot_2_logo_initials,tool_name:slot_2_tool_name,deal_text:slot_2_deal_text,discount_code:slot_2_discount_code,cta_label:slot_2_cta_label,cta_link:slot_2_cta_link},{enabled:slot_3_enabled,logo:slot_3_logo,logo_bg:slot_3_logo_bg,logo_color:slot_3_logo_color,logo_initials:slot_3_logo_initials,tool_name:slot_3_tool_name,deal_text:slot_3_deal_text,discount_code:slot_3_discount_code,cta_label:slot_3_cta_label,cta_link:slot_3_cta_link}];const activeSlots=slots.filter(s=>s.enabled);// ResizeObserver to detect narrow containers and stack vertically\nconst containerRef=useRef(null);const[isStacked,setIsStacked]=useState(false);useEffect(()=>{if(typeof window===\"undefined\")return;const el=containerRef.current;if(!el)return;const measure=()=>{try{const w=el.getBoundingClientRect().width;setIsStacked(w<stack_breakpoint);}catch{// noop\n}};measure();let ro=null;try{ro=new ResizeObserver(()=>measure());ro.observe(el);}catch{// older browsers — fall back to window resize\ntry{window.addEventListener(\"resize\",measure);}catch{// noop\n}}return()=>{try{if(ro)ro.disconnect();window.removeEventListener(\"resize\",measure);}catch{// noop\n}};},[stack_breakpoint]);if(activeSlots.length===0)return null;const resolvedProps={show_sponsored_tag,sponsored_label,slot_1_enabled,slot_1_logo,slot_1_logo_bg,slot_1_logo_color,slot_1_logo_initials,slot_1_tool_name,slot_1_deal_text,slot_1_discount_code,slot_1_cta_label,slot_1_cta_link,slot_2_enabled,slot_2_logo,slot_2_logo_bg,slot_2_logo_color,slot_2_logo_initials,slot_2_tool_name,slot_2_deal_text,slot_2_discount_code,slot_2_cta_label,slot_2_cta_link,slot_3_enabled,slot_3_logo,slot_3_logo_bg,slot_3_logo_color,slot_3_logo_initials,slot_3_tool_name,slot_3_deal_text,slot_3_discount_code,slot_3_cta_label,slot_3_cta_link,show_auto_applied_fallback,auto_applied_label,auto_applied_dot_color,code_prefix,copy_success_label,enable_click_to_copy,enable_hover,hover_shadow,hover_border_color,card_bg,card_border,text_color,muted_text_color,sponsored_color,code_bg,code_color,cta_color,border_radius,gap,padding,stack_breakpoint};return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:{display:\"flex\",flexDirection:isStacked?\"column\":\"row\",gap,width:\"100%\",fontFamily:\"Inter, system-ui, sans-serif\",boxSizing:\"border-box\"},children:activeSlots.map((slot,i)=>/*#__PURE__*/_jsx(DealCard,{slot:slot,props:resolvedProps,isStacked:isStacked},i))});}function slotControls(n,defaultName,defaultInitials,defaultColor,defaultDeal,defaultCode){return{[`slot_${n}_enabled`]:{type:ControlType.Boolean,title:`Slot ${n} / Enabled`,defaultValue:true},[`slot_${n}_tool_name`]:{type:ControlType.String,title:`Slot ${n} / Tool name`,defaultValue:defaultName},[`slot_${n}_deal_text`]:{type:ControlType.String,title:`Slot ${n} / Deal text`,defaultValue:defaultDeal,displayTextArea:true},[`slot_${n}_discount_code`]:{type:ControlType.String,title:`Slot ${n} / Discount code`,defaultValue:defaultCode,description:\"Leave empty to show 'Auto-applied' label instead (configurable below)\"},[`slot_${n}_cta_label`]:{type:ControlType.String,title:`Slot ${n} / CTA label`,defaultValue:\"Claim\"},[`slot_${n}_cta_link`]:{type:ControlType.Link,title:`Slot ${n} / CTA link`},[`slot_${n}_logo`]:{type:ControlType.Image,title:`Slot ${n} / Logo`},[`slot_${n}_logo_initials`]:{type:ControlType.String,title:`Slot ${n} / Logo initials`,defaultValue:defaultInitials},[`slot_${n}_logo_bg`]:{type:ControlType.Color,title:`Slot ${n} / Logo bg`,defaultValue:\"#FFFFFF\"},[`slot_${n}_logo_color`]:{type:ControlType.Color,title:`Slot ${n} / Logo color`,defaultValue:defaultColor}};}addPropertyControls(ToolsDealsStrip,{show_sponsored_tag:{type:ControlType.Boolean,title:\"Show 'Sponsored'\",defaultValue:true},sponsored_label:{type:ControlType.String,title:\"'Sponsored' label\",defaultValue:\"SPONSORED\"},gap:{type:ControlType.Number,title:\"Gap between cards\",defaultValue:10,min:0,max:40,step:1},stack_breakpoint:{type:ControlType.Number,title:\"Stack breakpoint (px)\",defaultValue:580,min:320,max:900,step:10,description:\"When container width falls below this, cards stack vertically.\"},...slotControls(1,\"Clay\",\"Cl\",\"#0F6E56\",\"20% off annual plans\",\"GROU20\"),...slotControls(2,\"Lemlist\",\"Le\",\"#854F0B\",\"3 months free on annual\",\"GROU3FREE\"),...slotControls(3,\"HeyReach\",\"He\",\"#993556\",\"$50 credit for new signups\",\"GROU50\"),show_auto_applied_fallback:{type:ControlType.Boolean,title:\"Show 'Auto-applied' fallback\",defaultValue:true,description:\"When a slot has no discount code, show a label indicating the discount is applied via link\"},auto_applied_label:{type:ControlType.String,title:\"Auto-applied label\",defaultValue:\"Auto-applied\"},auto_applied_dot_color:{type:ControlType.Color,title:\"Auto-applied dot\",defaultValue:\"#5DCAA5\"},code_prefix:{type:ControlType.String,title:\"Code prefix\",defaultValue:\"CODE\",description:\"Small label before the code to signal 'this is a coupon'. Leave empty to hide.\"},enable_click_to_copy:{type:ControlType.Boolean,title:\"Click to copy code\",defaultValue:true},copy_success_label:{type:ControlType.String,title:\"Copy feedback\",defaultValue:\"Copied\"},enable_hover:{type:ControlType.Boolean,title:\"Hover effect\",defaultValue:true,description:\"Shadow reveal + border brighten on hover\"},hover_shadow:{type:ControlType.String,title:\"Hover shadow\",defaultValue:\"0 12px 32px -8px rgba(2, 12, 128, 0.45)\",description:\"CSS box-shadow value. Edit to adjust depth, spread, or tint.\"},hover_border_color:{type:ControlType.Color,title:\"Hover border color\",defaultValue:\"rgba(255,255,255,0.18)\"},card_bg:{type:ControlType.Color,title:\"Card bg\",defaultValue:\"#020C80\"},card_border:{type:ControlType.Color,title:\"Card border\",defaultValue:\"rgba(255,255,255,0.06)\"},text_color:{type:ControlType.Color,title:\"Tool name\",defaultValue:\"#FFFFFF\"},muted_text_color:{type:ControlType.Color,title:\"Deal text\",defaultValue:\"rgba(255,255,255,0.85)\"},sponsored_color:{type:ControlType.Color,title:\"'Sponsored' color\",defaultValue:\"rgba(255,255,255,0.45)\"},code_bg:{type:ControlType.Color,title:\"Code bg\",defaultValue:\"#203EEB\"},code_color:{type:ControlType.Color,title:\"Code color\",defaultValue:\"#FFFFFF\"},cta_color:{type:ControlType.Color,title:\"CTA color\",defaultValue:\"#FFFFFF\"},border_radius:{type:ControlType.Number,title:\"Border radius\",defaultValue:14,min:0,max:32,step:1},padding:{type:ControlType.Number,title:\"Card padding\",defaultValue:16,min:8,max:32,step:1}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ToolsDealsStrip\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fit-content\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ToolsDealsStrip.map","// Tools Empty State\n//\n// Shown inside the /tools grid area when a filter is active and zero\n// tools match. Reads URL ?cat= and ?sub= + counts visible tool cards\n// in the DOM (same marker as ToolsFilterStyles: [data-tool-card=\"1\"]\n// without [data-tools-filter-hidden=\"1\"] on any ancestor).\n//\n// When no filter is active (neither cat nor sub in URL), this component\n// renders nothing — so it's safe to leave mounted above/below the grid\n// at all times.\n//\n// Clicking \"Clear filter\" removes both ?cat and ?sub from the URL and\n// dispatches the tools-filter-change event so sidebar + filter styles\n// update immediately.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useEffect,useRef,useState}from\"react\";function detectIsCanvas(){try{const t=RenderTarget.current();return t===RenderTarget.canvas;}catch{return false;}}// Count tool cards whose ancestor chain does NOT contain the hidden marker.\n// Walks up to 20 levels (generous — Framer can nest deep).\nfunction countVisibleCards(){try{const cards=document.querySelectorAll('[data-tool-card=\"1\"]');let count=0;cards.forEach(card=>{let el=card;let hidden=false;for(let i=0;i<20;i++){if(!el)break;if(el.getAttribute(\"data-tools-filter-hidden\")===\"1\"){hidden=true;break;}el=el.parentElement;}if(!hidden)count++;});return count;}catch{return 0;}}/**\n * Tools Empty State\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight fit-content\n */export default function ToolsEmptyState({title=\"No tools in this category yet\",body=\"We're building out this category. Check back soon, or browse other categories below.\",cta_label=\"Show all tools\",show_cta=true,title_color=\"rgb(2, 12, 128)\",body_color=\"rgb(71, 85, 105)\",cta_bg=\"rgb(32, 62, 235)\",cta_color=\"rgb(255, 255, 255)\",cta_hover_bg=\"rgb(24, 48, 191)\",cta_hover_color=\"rgb(255, 255, 255)\",container_bg=\"rgb(248, 250, 252)\",border_color=\"rgb(226, 232, 240)\",padding_y=48,base_path=\"/tools\"}){const isCanvas=detectIsCanvas();const geist=\"Geist, 'Inter', system-ui, sans-serif\";const[hasFilter,setHasFilter]=useState(false);const[visibleCount,setVisibleCount]=useState(-1);const[hovered,setHovered]=useState(false);// Track timers to clear on unmount/re-run\nconst timersRef=useRef([]);const intervalRef=useRef(null);// Watch URL for filter changes\nuseEffect(()=>{if(isCanvas)return;if(typeof window===\"undefined\")return;const check=()=>{try{const params=new URLSearchParams(window.location.search);const cat=params.get(\"cat\")||\"\";const sub=params.get(\"sub\")||\"\";setHasFilter(Boolean(cat||sub));}catch{setHasFilter(false);}};check();try{window.addEventListener(\"popstate\",check);window.addEventListener(\"tools-filter-change\",check);}catch{// noop\n}return()=>{try{window.removeEventListener(\"popstate\",check);window.removeEventListener(\"tools-filter-change\",check);}catch{// noop\n}};},[isCanvas]);// Poll for visible count after filter changes. Multiple retries\n// plus a brief interval to catch late-applied filter state or\n// re-renders from sort/filter combos.\nuseEffect(()=>{if(isCanvas)return;const recount=()=>{setVisibleCount(countVisibleCards());};// Clear any prior timers\ntimersRef.current.forEach(t=>clearTimeout(t));timersRef.current=[];if(intervalRef.current){clearInterval(intervalRef.current);intervalRef.current=null;}// Fire recount at multiple intervals to catch everything\nconst delays=[0,50,150,350,700,1200];delays.forEach(d=>{const t=setTimeout(recount,d);timersRef.current.push(t);});return()=>{timersRef.current.forEach(t=>clearTimeout(t));timersRef.current=[];if(intervalRef.current){clearInterval(intervalRef.current);intervalRef.current=null;}};},[hasFilter,isCanvas]);const clearFilter=()=>{if(typeof window===\"undefined\")return;try{const url=new URL(window.location.href);url.pathname=base_path;url.searchParams.delete(\"cat\");url.searchParams.delete(\"sub\");window.history.pushState({},\"\",url.toString());window.dispatchEvent(new Event(\"tools-filter-change\"));}catch{// noop\n}};// In the canvas editor, always render the visual so the designer\n// can see and style it. Live: only render when filter active AND\n// zero visible cards.\nconst shouldShow=isCanvas?true:hasFilter&&visibleCount===0;if(!shouldShow)return null;const buttonBg=hovered?cta_hover_bg:cta_bg;const buttonColor=hovered?cta_hover_color:cta_color;return /*#__PURE__*/_jsxs(\"div\",{\"data-tools-empty-state\":\"1\",style:{width:\"100%\",padding:`${padding_y}px 24px`,background:container_bg,border:`1px dashed ${border_color}`,borderRadius:16,display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",gap:12,textAlign:\"center\",fontFamily:geist,boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:17,fontWeight:600,color:title_color,letterSpacing:\"-0.01em\",lineHeight:1.3,maxWidth:440},children:title}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:14,color:body_color,lineHeight:1.5,maxWidth:440},children:body}),show_cta&&/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:clearFilter,onMouseEnter:()=>setHovered(true),onMouseLeave:()=>setHovered(false),style:{marginTop:4,padding:\"10px 18px\",background:buttonBg,color:buttonColor,border:\"none\",borderRadius:8,fontSize:13,fontWeight:600,fontFamily:geist,cursor:\"pointer\",transition:\"background 180ms ease-out, color 180ms ease-out\",letterSpacing:\"-0.005em\"},children:cta_label})]});}addPropertyControls(ToolsEmptyState,{title:{type:ControlType.String,title:\"Title\",defaultValue:\"No tools in this category yet\"},body:{type:ControlType.String,title:\"Body\",defaultValue:\"We're building out this category. Check back soon, or browse other categories below.\",displayTextArea:true},cta_label:{type:ControlType.String,title:\"CTA label\",defaultValue:\"Show all tools\"},show_cta:{type:ControlType.Boolean,title:\"Show CTA button\",defaultValue:true},base_path:{type:ControlType.String,title:\"Base path\",defaultValue:\"/tools\"},padding_y:{type:ControlType.Number,title:\"Vertical padding\",defaultValue:48,min:16,max:120,step:4},title_color:{type:ControlType.Color,title:\"Title color\",defaultValue:\"rgb(2, 12, 128)\"},body_color:{type:ControlType.Color,title:\"Body color\",defaultValue:\"rgb(71, 85, 105)\"},cta_bg:{type:ControlType.Color,title:\"CTA bg\",defaultValue:\"rgb(32, 62, 235)\"},cta_color:{type:ControlType.Color,title:\"CTA text\",defaultValue:\"rgb(255, 255, 255)\"},cta_hover_bg:{type:ControlType.Color,title:\"CTA bg hover\",defaultValue:\"rgb(24, 48, 191)\"},cta_hover_color:{type:ControlType.Color,title:\"CTA text hover\",defaultValue:\"rgb(255, 255, 255)\"},container_bg:{type:ControlType.Color,title:\"Container bg\",defaultValue:\"rgb(248, 250, 252)\"},border_color:{type:ControlType.Color,title:\"Border\",defaultValue:\"rgb(226, 232, 240)\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ToolsEmptyState\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fit-content\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ToolsEmptyState.map","// Tools Featured Card — large horizontal card for the top featured sponsored slot\n// Oct 2026: added optional \"Detail link\" so the card can link to the tool page itself\n// (logo + name as links, rest of the card clickable) without wrapping the CTA link\n// in a second link. Fixes Framer's \"nested links are not allowed\" error.\n// Place inside a Framer CMS Collection List bound to Tools, filtered where Featured sponsored = true, limit 1.\n// Or use standalone with manual property values for a static featured slot.\n//\n// Responsive: uses ResizeObserver to measure the CARD's own container width,\n// NOT window.innerWidth. Critical because the sidebar eats horizontal space\n// on desktop/tablet, so window width alone is misleading.\n// - Card width >= tablet_breakpoint: full horizontal layout\n// - Card width >= mobile_breakpoint: horizontal but tighter\n// - Card width < mobile_breakpoint: fully stacked, CTA full-width at bottom\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useCallback,useEffect,useRef,useState}from\"react\";function ArrowIcon({color,size=14}){return /*#__PURE__*/_jsx(\"svg\",{width:size,height:size,viewBox:\"0 0 14 14\",fill:\"none\",style:{flexShrink:0},children:/*#__PURE__*/_jsx(\"path\",{d:\"M3 7h8M8 4l3 3-3 3\",stroke:color,strokeWidth:\"1.6\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})});}/**\n * Tools Featured Card\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight fit-content\n */export default function ToolsFeaturedCard({tool_name=\"Apollo\",tool_tagline=\"The all-in-one prospecting platform. 275M+ contacts, built-in sequences, and AI-powered workflows for outbound teams.\",tool_logo=\"\",logo_bg=\"rgba(32,62,235,0.08)\",logo_text_color=\"#203EEB\",logo_initials=\"Ap\",chip_1=\"B2B databases\",chip_2=\"Email finder\",chip_3=\"AI SDR\",chip_4=\"Sequences\",has_free_trial=true,cta_label=\"Try Apollo free\",cta_link=\"\",detail_link=\"\",bg_color=\"#FFFFFF\",border_color=\"#203EEB\",border_width=1.5,border_radius=20,text_color=\"#020C80\",muted_text_color=\"#475569\",chip_bg=\"rgba(32,62,235,0.06)\",chip_color=\"#203EEB\",trial_bg=\"#DCFCE7\",trial_color=\"#166534\",cta_bg=\"#203EEB\",cta_color=\"#FFFFFF\",cta_arrow_slide=4,badge_text=\"FEATURED\",badge_color=\"#203EEB\",free_trial_label=\"Free trial\",show_badge=true,enable_hover=true,hover_shadow=\"0 12px 32px -8px rgba(32, 62, 235, 0.18)\",hover_border_color=\"#203EEB\",mobile_breakpoint=540,tablet_breakpoint=760}){const hasLogo=tool_logo&&tool_logo.length>0;const chips=[chip_1,chip_2,chip_3,chip_4].filter(c=>c&&c.length>0);const geist=\"Geist, 'Inter', system-ui, sans-serif\";// Whole-card click goes to the tool page, except clicks on a real link (the CTA)\nconst goToDetail=useCallback(e=>{if(!detail_link)return;if(typeof window===\"undefined\")return;const target=e.target;if(target&&typeof target.closest===\"function\"&&target.closest(\"a\"))return;window.location.href=detail_link;},[detail_link]);const detailLinkStyle={color:\"inherit\",textDecoration:\"none\",display:\"contents\"};const wrapDetail=node=>detail_link?/*#__PURE__*/_jsx(\"a\",{href:detail_link,style:detailLinkStyle,children:node}):node;const[hovered,setHovered]=useState(false);const[ctaHovered,setCtaHovered]=useState(false);// Measure our OWN container width via ResizeObserver so we respond\n// to how much horizontal space we actually have — not the whole\n// window (which is wrong when a sidebar takes up space).\nconst[containerWidth,setContainerWidth]=useState(1200);const rootRef=useRef(null);useEffect(()=>{if(typeof window===\"undefined\")return;const el=rootRef.current;if(!el)return;const measure=()=>{try{setContainerWidth(el.offsetWidth);}catch{// noop\n}};measure();let observer=null;try{observer=new ResizeObserver(()=>measure());observer.observe(el);}catch{// Fallback: at least update on resize\ntry{window.addEventListener(\"resize\",measure);}catch{// noop\n}}return()=>{try{if(observer)observer.disconnect();window.removeEventListener(\"resize\",measure);}catch{// noop\n}};},[]);const isMobile=containerWidth<mobile_breakpoint;const isTablet=containerWidth>=mobile_breakpoint&&containerWidth<tablet_breakpoint;const shadow=enable_hover&&hovered?hover_shadow:\"0 0 0 rgba(0,0,0,0)\";const resolvedBorderColor=enable_hover&&hovered?hover_border_color:border_color;// Responsive sizing\nconst cardPadding=isMobile?20:isTablet?22:28;const cardGap=isMobile?14:isTablet?14:20;const logoSize=isMobile?56:isTablet?60:72;const logoRadius=isMobile?12:14;const logoInitialsSize=isMobile?20:isTablet?22:26;const nameSize=isMobile?19:isTablet?19:22;const taglineSize=isMobile?13:13;const ctaFontSize=14;const ctaPadY=isMobile?12:isTablet?11:14;const ctaPadX=isMobile?20:isTablet?16:24;const cardFlexDirection=isMobile?\"column\":\"row\";const cardAlignItems=isMobile?\"stretch\":\"center\";return /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,onMouseEnter:()=>setHovered(true),onMouseLeave:()=>setHovered(false),onClick:goToDetail,style:{width:\"100%\",cursor:detail_link?\"pointer\":undefined,background:bg_color,border:`${border_width}px solid ${resolvedBorderColor}`,borderRadius:border_radius,padding:cardPadding,display:\"flex\",flexDirection:cardFlexDirection,gap:cardGap,alignItems:cardAlignItems,position:\"relative\",overflow:\"hidden\",boxSizing:\"border-box\",fontFamily:\"Inter, system-ui, sans-serif\",boxShadow:shadow,transition:\"box-shadow 220ms ease-out, border-color 180ms ease-out\"},children:[show_badge&&/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",top:isMobile?14:16,right:isMobile?14:16,fontSize:10,fontWeight:600,letterSpacing:\"0.08em\",color:badge_color,fontFamily:geist},children:badge_text}),!isMobile&&/*#__PURE__*/_jsxs(_Fragment,{children:[wrapDetail(/*#__PURE__*/_jsx(\"div\",{style:{width:logoSize,height:logoSize,borderRadius:logoRadius,background:logo_bg,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0,overflow:\"hidden\"},children:hasLogo?/*#__PURE__*/_jsx(\"img\",{src:tool_logo,alt:tool_name,style:{width:\"100%\",height:\"100%\",objectFit:\"cover\"}}):/*#__PURE__*/_jsx(\"span\",{style:{fontSize:logoInitialsSize,fontWeight:600,color:logo_text_color,fontFamily:geist},children:logo_initials})})),/*#__PURE__*/_jsxs(\"div\",{style:{flex:1,minWidth:0},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:10,marginBottom:4,flexWrap:\"wrap\"},children:[wrapDetail(/*#__PURE__*/_jsx(\"span\",{style:{fontSize:nameSize,fontWeight:600,color:text_color,fontFamily:geist,letterSpacing:\"-0.02em\"},children:tool_name})),has_free_trial&&/*#__PURE__*/_jsx(\"span\",{style:{fontSize:11,padding:\"3px 9px\",background:trial_bg,color:trial_color,borderRadius:5,fontWeight:500,fontFamily:geist},children:free_trial_label})]}),/*#__PURE__*/_jsx(\"p\",{style:{fontSize:taglineSize,color:muted_text_color,lineHeight:1.55,margin:\"0 0 12px\",maxWidth:520},children:tool_tagline}),chips.length>0&&/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",gap:6,flexWrap:\"wrap\"},children:chips.map((c,i)=>/*#__PURE__*/_jsx(\"span\",{style:{fontSize:11,padding:\"4px 9px\",background:chip_bg,color:chip_color,borderRadius:5,fontWeight:500,fontFamily:geist},children:c},i))})]}),/*#__PURE__*/_jsxs(\"a\",{href:cta_link||\"#\",target:\"_blank\",rel:\"noopener noreferrer\",onMouseEnter:()=>setCtaHovered(true),onMouseLeave:()=>setCtaHovered(false),style:{background:cta_bg,color:cta_color,padding:`${ctaPadY}px ${ctaPadX}px`,borderRadius:10,fontSize:ctaFontSize,fontWeight:600,whiteSpace:\"nowrap\",fontFamily:geist,textDecoration:\"none\",display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",gap:8,flexShrink:0,cursor:\"pointer\"},children:[cta_label,/*#__PURE__*/_jsx(\"span\",{style:{display:\"inline-flex\",transform:ctaHovered?`translateX(${cta_arrow_slide}px)`:\"translateX(0)\",transition:\"transform 220ms ease-out\"},children:/*#__PURE__*/_jsx(ArrowIcon,{color:cta_color,size:14})})]})]}),isMobile&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:14,width:\"100%\"},children:[wrapDetail(/*#__PURE__*/_jsx(\"div\",{style:{width:logoSize,height:logoSize,borderRadius:logoRadius,background:logo_bg,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0,overflow:\"hidden\"},children:hasLogo?/*#__PURE__*/_jsx(\"img\",{src:tool_logo,alt:tool_name,style:{width:\"100%\",height:\"100%\",objectFit:\"cover\"}}):/*#__PURE__*/_jsx(\"span\",{style:{fontSize:logoInitialsSize,fontWeight:600,color:logo_text_color,fontFamily:geist},children:logo_initials})})),/*#__PURE__*/_jsx(\"div\",{style:{flex:1,minWidth:0},children:/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:8,flexWrap:\"wrap\",marginBottom:4},children:[wrapDetail(/*#__PURE__*/_jsx(\"span\",{style:{fontSize:nameSize,fontWeight:600,color:text_color,fontFamily:geist,letterSpacing:\"-0.02em\"},children:tool_name})),has_free_trial&&/*#__PURE__*/_jsx(\"span\",{style:{fontSize:11,padding:\"3px 9px\",background:trial_bg,color:trial_color,borderRadius:5,fontWeight:500,fontFamily:geist},children:free_trial_label})]})})]}),/*#__PURE__*/_jsx(\"p\",{style:{fontSize:taglineSize,color:muted_text_color,lineHeight:1.55,margin:\"0\",width:\"100%\"},children:tool_tagline}),chips.length>0&&/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",gap:6,flexWrap:\"wrap\",width:\"100%\"},children:chips.map((c,i)=>/*#__PURE__*/_jsx(\"span\",{style:{fontSize:11,padding:\"4px 9px\",background:chip_bg,color:chip_color,borderRadius:5,fontWeight:500,fontFamily:geist},children:c},i))}),/*#__PURE__*/_jsxs(\"a\",{href:cta_link||\"#\",target:\"_blank\",rel:\"noopener noreferrer\",onMouseEnter:()=>setCtaHovered(true),onMouseLeave:()=>setCtaHovered(false),style:{background:cta_bg,color:cta_color,padding:`${ctaPadY}px ${ctaPadX}px`,borderRadius:10,fontSize:ctaFontSize,fontWeight:600,fontFamily:geist,textDecoration:\"none\",display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",gap:8,cursor:\"pointer\",width:\"100%\",boxSizing:\"border-box\",marginTop:4},children:[cta_label,/*#__PURE__*/_jsx(\"span\",{style:{display:\"inline-flex\",transform:ctaHovered?`translateX(${cta_arrow_slide}px)`:\"translateX(0)\",transition:\"transform 220ms ease-out\"},children:/*#__PURE__*/_jsx(ArrowIcon,{color:cta_color,size:14})})]})]})]});}addPropertyControls(ToolsFeaturedCard,{tool_name:{type:ControlType.String,title:\"Tool name\",defaultValue:\"Apollo\",description:\"Connect to: Tools → Name\"},tool_tagline:{type:ControlType.String,title:\"Tagline\",defaultValue:\"The all-in-one prospecting platform. 275M+ contacts, built-in sequences, and AI-powered workflows for outbound teams.\",displayTextArea:true,description:\"Connect to: Tools → Short description\"},tool_logo:{type:ControlType.Image,title:\"Logo image\",description:\"Connect to: Tools → Logo\"},logo_initials:{type:ControlType.String,title:\"Logo initials\",defaultValue:\"Ap\"},logo_bg:{type:ControlType.Color,title:\"Logo bg\",defaultValue:\"rgba(32,62,235,0.08)\"},logo_text_color:{type:ControlType.Color,title:\"Logo text\",defaultValue:\"#203EEB\"},has_free_trial:{type:ControlType.Boolean,title:\"Free trial\",defaultValue:true,description:\"Connect to: Tools → Free trial\"},chip_1:{type:ControlType.String,title:\"Chip 1\",defaultValue:\"B2B databases\"},chip_2:{type:ControlType.String,title:\"Chip 2\",defaultValue:\"Email finder\"},chip_3:{type:ControlType.String,title:\"Chip 3\",defaultValue:\"AI SDR\"},chip_4:{type:ControlType.String,title:\"Chip 4\",defaultValue:\"Sequences\"},cta_label:{type:ControlType.String,title:\"CTA label\",defaultValue:\"Try Apollo free\",description:\"Connect to: Tools → CTA label\"},cta_link:{type:ControlType.Link,title:\"CTA link\",description:\"Connect to: Tools → Affiliate URL\"},detail_link:{type:ControlType.Link,title:\"Detail link\",description:\"Tool page link (e.g. /tools/:slug). Makes the card open the tool page. Leave the parent frame without a link to avoid nested links.\"},cta_arrow_slide:{type:ControlType.Number,title:\"Arrow slide (px)\",defaultValue:4,min:0,max:12,step:1,description:\"How far the arrow slides right on hover\"},show_badge:{type:ControlType.Boolean,title:\"Show badge\",defaultValue:true},badge_text:{type:ControlType.String,title:\"Badge text\",defaultValue:\"FEATURED\"},badge_color:{type:ControlType.Color,title:\"Badge color\",defaultValue:\"#203EEB\"},free_trial_label:{type:ControlType.String,title:\"Free trial label\",defaultValue:\"Free trial\"},enable_hover:{type:ControlType.Boolean,title:\"Card hover\",defaultValue:true,description:\"Shadow reveal + border highlight on card hover\"},hover_shadow:{type:ControlType.String,title:\"Hover shadow\",defaultValue:\"0 12px 32px -8px rgba(32, 62, 235, 0.18)\",description:\"CSS box-shadow value for hover state\"},hover_border_color:{type:ControlType.Color,title:\"Hover border\",defaultValue:\"#203EEB\"},bg_color:{type:ControlType.Color,title:\"Background\",defaultValue:\"#FFFFFF\"},border_color:{type:ControlType.Color,title:\"Border color\",defaultValue:\"#203EEB\"},border_width:{type:ControlType.Number,title:\"Border width\",defaultValue:1.5,min:0,max:5,step:.5},border_radius:{type:ControlType.Number,title:\"Border radius\",defaultValue:20,min:0,max:32,step:1},text_color:{type:ControlType.Color,title:\"Tool name color\",defaultValue:\"#020C80\"},muted_text_color:{type:ControlType.Color,title:\"Tagline color\",defaultValue:\"#475569\"},chip_bg:{type:ControlType.Color,title:\"Chip bg\",defaultValue:\"rgba(32,62,235,0.06)\"},chip_color:{type:ControlType.Color,title:\"Chip color\",defaultValue:\"#203EEB\"},trial_bg:{type:ControlType.Color,title:\"Trial bg\",defaultValue:\"#DCFCE7\"},trial_color:{type:ControlType.Color,title:\"Trial color\",defaultValue:\"#166534\"},cta_bg:{type:ControlType.Color,title:\"CTA bg\",defaultValue:\"#203EEB\"},cta_color:{type:ControlType.Color,title:\"CTA color\",defaultValue:\"#FFFFFF\"},mobile_breakpoint:{type:ControlType.Number,title:\"Mobile breakpoint (card width)\",defaultValue:540,min:320,max:900,step:10,description:\"Below this CARD width (not window), card stacks vertically.\"},tablet_breakpoint:{type:ControlType.Number,title:\"Tablet breakpoint (card width)\",defaultValue:760,min:500,max:1200,step:10,description:\"Below this card width, sizing shrinks but layout stays horizontal.\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ToolsFeaturedCard\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fit-content\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ToolsFeaturedCard.map","// Tools Filter Styles\n//\n// Invisible utility component. Place on the /tools page (anywhere, but ideally\n// not inside something that gets conditionally unmounted).\n//\n// Responsibilities:\n// 1. Listen to URL changes and hide non-matching tool cards (filter logic)\n// 2. Optional: inject small mobile CSS for outer section paddings\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useEffect,useState}from\"react\";const SUB_TO_PARENT={\"b2b-databases\":\"prospecting-data-gtm\",\"email-finders\":\"prospecting-data-gtm\",\"phone-mobile-finders\":\"prospecting-data-gtm\",\"linkedin-data-extraction\":\"prospecting-data-gtm\",\"waterfall-enrichment\":\"prospecting-data-gtm\",\"intent-data-buying-signals\":\"prospecting-data-gtm\",\"website-visitor-identification\":\"prospecting-data-gtm\",\"technology-intelligence\":\"prospecting-data-gtm\",\"web-scraping\":\"prospecting-data-gtm\",\"lead-scoring-routing\":\"prospecting-data-gtm\",\"icp-market-intelligence\":\"prospecting-data-gtm\",\"account-based-marketing\":\"prospecting-data-gtm\",\"gtm-orchestration\":\"prospecting-data-gtm\",\"sales-intelligence\":\"prospecting-data-gtm\",\"cold-email-platforms\":\"outreach-sequencing\",\"linkedin-outreach-automation\":\"outreach-sequencing\",\"multichannel-sequencing\":\"outreach-sequencing\",\"sales-engagement-platforms\":\"outreach-sequencing\",\"video-outreach\":\"outreach-sequencing\",\"voice-phone-outreach\":\"outreach-sequencing\",\"ai-sdr-agents\":\"outreach-sequencing\",\"warm-intro-referral-outreach\":\"outreach-sequencing\",\"email-warmup\":\"email-deliverability\",\"email-infrastructure\":\"email-deliverability\",\"email-verification\":\"email-deliverability\",\"spam-testing-inbox-placement\":\"email-deliverability\",\"email-domain-setup\":\"email-deliverability\",\"sales-crm\":\"crm-pipeline-enablement\",\"lightweight-outbound-crm\":\"crm-pipeline-enablement\",\"pipeline-deal-management\":\"crm-pipeline-enablement\",\"revenue-intelligence\":\"crm-pipeline-enablement\",\"proposals-quoting\":\"crm-pipeline-enablement\",\"e-signatures\":\"crm-pipeline-enablement\",\"meeting-scheduling\":\"crm-pipeline-enablement\",\"sales-coaching-training\":\"crm-pipeline-enablement\",\"sales-playbooks-battlecards\":\"crm-pipeline-enablement\",\"sales-forecasting\":\"crm-pipeline-enablement\",\"linkedin-automation\":\"linkedin\",\"linkedin-content-scheduling\":\"linkedin\",\"linkedin-analytics\":\"linkedin\",\"linkedin-profile-engagement\":\"linkedin\",\"linkedin-chrome-extensions\":\"linkedin\",\"social-media-management\":\"marketing\",\"email-marketing\":\"marketing\",\"ad-creation-management\":\"marketing\",\"landing-pages\":\"marketing\",forms:\"marketing\",\"popups-onsite-conversion\":\"marketing\",\"newsletter-platforms\":\"marketing\",\"referral-loyalty\":\"marketing\",\"marketing-automation\":\"marketing\",attribution:\"marketing\",seo:\"content-seo\",\"keyword-research\":\"content-seo\",\"site-audits\":\"content-seo\",\"rank-tracking\":\"content-seo\",\"content-creation-ai-writing\":\"content-seo\",\"content-optimisation\":\"content-seo\",\"newsletter-writing\":\"content-seo\",\"content-planning\":\"content-seo\",\"content-repurposing\":\"content-seo\",\"ai-writing-personalisation\":\"ai-automation\",\"ai-research-analysis\":\"ai-automation\",\"ai-meeting-call-tools\":\"ai-automation\",\"ai-coding-assistants\":\"ai-automation\",\"ai-agents-platforms\":\"ai-automation\",\"workflow-automation\":\"ai-automation\",\"ai-sales-agents\":\"ai-automation\",\"ai-support-agents\":\"ai-automation\",\"no-code-automation\":\"ai-automation\",\"ai-video-generation\":\"creative-media\",\"video-prospecting\":\"creative-media\",\"video-editing\":\"creative-media\",\"ai-image-generation\":\"creative-media\",\"presentation-slides\":\"creative-media\",\"graphic-design\":\"creative-media\",\"brand-assets\":\"creative-media\",\"bi-reporting-dashboards\":\"analytics-intelligence\",\"web-analytics\":\"analytics-intelligence\",\"revenue-attribution\":\"analytics-intelligence\",\"sales-analytics-reporting\":\"analytics-intelligence\",\"competitive-intelligence\":\"analytics-intelligence\",\"product-analytics\":\"analytics-intelligence\",\"session-recording-heatmaps\":\"analytics-intelligence\",\"project-task-management\":\"productivity-collaboration\",\"documentation-wikis\":\"productivity-collaboration\",\"team-communication\":\"productivity-collaboration\",\"time-tracking\":\"productivity-collaboration\",\"knowledge-base\":\"productivity-collaboration\",\"internal-notes\":\"productivity-collaboration\",\"customer-support\":\"customer-success-support\",\"help-desk\":\"customer-success-support\",\"live-chat\":\"customer-success-support\",\"customer-success\":\"customer-success-support\",\"retention-onboarding\":\"customer-success-support\",\"knowledge-base-support\":\"customer-success-support\"};function detectIsCanvas(){try{const t=RenderTarget.current();return t===RenderTarget.canvas;}catch{return false;}}const HIDDEN_ATTR=\"data-tools-filter-hidden\";const ORIG_DISPLAY_ATTR=\"data-tools-filter-orig-display\";function resetAll(){try{const hidden=document.querySelectorAll(`[${HIDDEN_ATTR}=\"1\"]`);hidden.forEach(el=>{const orig=el.getAttribute(ORIG_DISPLAY_ATTR);if(orig!==null){if(orig===\"\"){el.style.removeProperty(\"display\");}else{el.style.display=orig;}el.removeAttribute(ORIG_DISPLAY_ATTR);}else{el.style.removeProperty(\"display\");}el.removeAttribute(HIDDEN_ATTR);});}catch{// noop\n}}// Walks up from the card and returns the element that is the grid/flex cell.\n// Strategy:\n// 1. First, look for an ancestor whose parent has display: grid or inline-grid.\n// 2. If that fails (mobile, narrow viewports where Framer may change display),\n//    fall back to the first ancestor (past any single-child wrapper layers)\n//    whose parent has MORE THAN ONE child — that level is where tool cards\n//    become siblings, i.e. the grid cell.\n// 3. Final fallback: the card's direct parent.\nfunction findGridCellWrapper(cardEl){// Pass 1: find grid parent\nlet nodeA=cardEl;for(let i=0;i<15;i++){if(!nodeA)break;if(!(nodeA instanceof HTMLElement))break;const parentA=nodeA.parentElement;if(!parentA)break;try{const display=window.getComputedStyle(parentA).display;if(display===\"grid\"||display===\"inline-grid\"){return nodeA;}}catch{break;}nodeA=parentA;}// Pass 2: find first ancestor whose parent has multiple children.\n// Require i >= 1 so we walk past the card itself and any single-child\n// Framer wrapper before considering the current node a \"cell\".\nlet nodeB=cardEl;for(let i=0;i<15;i++){if(!nodeB)break;if(!(nodeB instanceof HTMLElement))break;const parentB=nodeB.parentElement;if(!parentB)break;try{if(i>=1&&parentB.children.length>1){return nodeB;}}catch{break;}nodeB=parentB;}// Deep fallback — direct parent of the card\nif(cardEl instanceof HTMLElement&&cardEl.parentElement instanceof HTMLElement){return cardEl.parentElement;}return cardEl instanceof HTMLElement?cardEl:null;}function cardMatches(cardCat,cardSubs,activeCat,activeSub){if(activeSub)return cardSubs.includes(activeSub);if(activeCat){if(cardCat===activeCat)return true;return cardSubs.some(sub=>SUB_TO_PARENT[sub]===activeCat);}return true;}function hideWrapper(wrapper){if(wrapper.getAttribute(HIDDEN_ATTR)===\"1\")return;const origInlineDisplay=wrapper.style.display||\"\";wrapper.setAttribute(ORIG_DISPLAY_ATTR,origInlineDisplay);wrapper.style.display=\"none\";wrapper.setAttribute(HIDDEN_ATTR,\"1\");}function applyFilter(cat,sub){resetAll();const activeCat=(cat||\"\").trim().toLowerCase();const activeSub=(sub||\"\").trim().toLowerCase();try{const cards=document.querySelectorAll('[data-tool-card=\"1\"]');if(!activeCat&&!activeSub)return cards.length;let visibleCount=0;cards.forEach(card=>{const cardCat=(card.getAttribute(\"data-primary-cat\")||\"\").trim().toLowerCase();const cardSubsRaw=(card.getAttribute(\"data-sub-slugs\")||\"\").trim().toLowerCase();const cardSubs=cardSubsRaw.split(/\\s+/).filter(Boolean);const matches=cardMatches(cardCat,cardSubs,activeCat,activeSub);if(matches){visibleCount++;return;}const wrapper=findGridCellWrapper(card);if(!wrapper)return;hideWrapper(wrapper);});return visibleCount;}catch{return 0;}}// Minimal mobile CSS — just outer section padding trims, nothing layout-critical\nfunction buildMobileCss(breakpointPx){return`\n@media (max-width: ${breakpointPx}px) {\n    [data-framer-name=\"Hero\"] { padding: 40px 20px !important; }\n    [data-framer-name=\"ToolsStack\"] { padding: 0px 16px 40px 16px !important; }\n    [data-framer-name=\"Categories\"] { padding: 40px 16px !important; }\n    [data-framer-name=\"ParentToolCategories\"] { grid-template-columns: 1fr !important; }\n}\n`;}/**\n * Tools Filter Styles\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function ToolsFilterStyles({show_debug=false,enable_mobile_css=true,mobile_breakpoint_px=768}){const isCanvas=detectIsCanvas();const[queryString,setQueryString]=useState(\"\");const[visibleCount,setVisibleCount]=useState(0);useEffect(()=>{if(isCanvas)return;if(typeof window===\"undefined\")return;const onChange=()=>{try{setQueryString(window.location.search);}catch{// noop\n}};onChange();try{window.addEventListener(\"popstate\",onChange);window.addEventListener(\"tools-filter-change\",onChange);}catch{// noop\n}return()=>{try{window.removeEventListener(\"popstate\",onChange);window.removeEventListener(\"tools-filter-change\",onChange);}catch{// noop\n}};},[isCanvas]);useEffect(()=>{if(isCanvas)return;let cat=\"\";let sub=\"\";try{const params=new URLSearchParams(queryString);cat=params.get(\"cat\")||\"\";sub=params.get(\"sub\")||\"\";}catch{// noop\n}const run=()=>setVisibleCount(applyFilter(cat,sub));run();const t1=setTimeout(run,80);const t2=setTimeout(run,300);const t3=setTimeout(run,800);return()=>{clearTimeout(t1);clearTimeout(t2);clearTimeout(t3);};},[queryString,isCanvas]);useEffect(()=>{if(isCanvas)return;return()=>resetAll();},[isCanvas]);const mobileCss=enable_mobile_css?buildMobileCss(mobile_breakpoint_px):\"\";if(show_debug&&!isCanvas){let cat=\"\";let sub=\"\";try{const params=new URLSearchParams(queryString);cat=params.get(\"cat\")||\"\";sub=params.get(\"sub\")||\"\";}catch{// noop\n}const filterLabel=sub?`sub=${sub}`:cat?`cat=${cat}`:\"none\";return /*#__PURE__*/_jsxs(_Fragment,{children:[mobileCss&&/*#__PURE__*/_jsx(\"style\",{children:mobileCss}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"fixed\",top:12,right:12,zIndex:99999,padding:\"8px 14px\",borderRadius:10,background:\"rgb(2, 12, 128)\",color:\"#fff\",fontFamily:\"Geist, 'Inter', system-ui, sans-serif\",fontSize:12,fontWeight:600,pointerEvents:\"none\"},children:[filterLabel,\" \\xb7 \",visibleCount,\" visible\"]})]});}return /*#__PURE__*/_jsxs(_Fragment,{children:[mobileCss&&/*#__PURE__*/_jsx(\"style\",{children:mobileCss}),/*#__PURE__*/_jsx(\"div\",{style:{width:1,height:1,opacity:0}})]});}addPropertyControls(ToolsFilterStyles,{show_debug:{type:ControlType.Boolean,title:\"Show debug pill\",defaultValue:false,description:\"Shows filter + visible count in top-right.\"},enable_mobile_css:{type:ControlType.Boolean,title:\"Enable mobile CSS\",defaultValue:true,description:\"Injects outer section padding trims below the breakpoint.\"},mobile_breakpoint_px:{type:ControlType.Number,title:\"Mobile breakpoint\",defaultValue:768,min:480,max:1200,step:10}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ToolsFilterStyles\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ToolsFilterStyles_1.map","// Tools Mobile Filters\n//\n// Mobile-only \"Filter Categories\" button that opens a full-width modal\n// with the 12 parent tool categories, each shown as a centered row with\n// icon + name. Tapping a category sets ?cat= in the URL and closes the\n// modal. Hidden above 768px.\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useEffect,useState}from\"react\";// Baked-in defaults — 12 parent tool categories with Lucide icons\nconst DEFAULT_PARENTS=[{slug:\"prospecting-data-gtm\",name:\"Prospecting, Data & GTM\",icon_svg:'<circle cx=\"12\" cy=\"12\" r=\"10\"/><circle cx=\"12\" cy=\"12\" r=\"6\"/><circle cx=\"12\" cy=\"12\" r=\"2\"/>'},{slug:\"outreach-sequencing\",name:\"Outreach & Sequencing\",icon_svg:'<path d=\"m22 2-7 20-4-9-9-4Z\"/><path d=\"M22 2 11 13\"/>'},{slug:\"email-deliverability\",name:\"Email Deliverability\",icon_svg:'<path d=\"M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8\"/><path d=\"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7\"/><path d=\"m16 19 2 2 4-4\"/>'},{slug:\"crm-pipeline-enablement\",name:\"CRM, Pipeline & Enablement\",icon_svg:'<rect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\"/><path d=\"M9 3v18\"/>'},{slug:\"linkedin\",name:\"LinkedIn\",icon_svg:'<path d=\"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z\"/><rect width=\"4\" height=\"12\" x=\"2\" y=\"9\"/><circle cx=\"4\" cy=\"4\" r=\"2\"/>'},{slug:\"marketing\",name:\"Marketing\",icon_svg:'<path d=\"m3 11 18-5v12L3 14v-3z\"/><path d=\"M11.6 16.8a3 3 0 1 1-5.8-1.6\"/>'},{slug:\"content-seo\",name:\"Content & SEO\",icon_svg:'<path d=\"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z\"/><path d=\"M14 2v4a2 2 0 0 0 2 2h4\"/><path d=\"M10 9H8\"/><path d=\"M16 13H8\"/><path d=\"M16 17H8\"/>'},{slug:\"ai-automation\",name:\"AI & Automation\",icon_svg:'<path d=\"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.582a.5.5 0 0 1 0 .962L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z\"/><path d=\"M20 3v4\"/><path d=\"M22 5h-4\"/><path d=\"M4 17v2\"/><path d=\"M5 18H3\"/>'},{slug:\"creative-media\",name:\"Creative & Media\",icon_svg:'<circle cx=\"13.5\" cy=\"6.5\" r=\".5\" fill=\"currentColor\"/><circle cx=\"17.5\" cy=\"10.5\" r=\".5\" fill=\"currentColor\"/><circle cx=\"8.5\" cy=\"7.5\" r=\".5\" fill=\"currentColor\"/><circle cx=\"6.5\" cy=\"12.5\" r=\".5\" fill=\"currentColor\"/><path d=\"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z\"/>'},{slug:\"analytics-intelligence\",name:\"Analytics & Intelligence\",icon_svg:'<polyline points=\"22 7 13.5 15.5 8.5 10.5 2 17\"/><polyline points=\"16 7 22 7 22 13\"/>'},{slug:\"productivity-collaboration\",name:\"Productivity & Collaboration\",icon_svg:'<path d=\"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2\"/><circle cx=\"9\" cy=\"7\" r=\"4\"/><path d=\"M22 21v-2a4 4 0 0 0-3-3.87\"/><path d=\"M16 3.13a4 4 0 0 1 0 7.75\"/>'},{slug:\"customer-success-support\",name:\"Customer Success & Support\",icon_svg:'<circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"m4.93 4.93 4.24 4.24\"/><path d=\"m14.83 9.17 4.24-4.24\"/><path d=\"m14.83 14.83 4.24 4.24\"/><path d=\"m9.17 14.83-4.24 4.24\"/><circle cx=\"12\" cy=\"12\" r=\"4\"/>'}];function detectIsCanvas(){try{const t=RenderTarget.current();return t===RenderTarget.canvas;}catch{return false;}}function FilterIcon({color,size=14}){return /*#__PURE__*/_jsx(\"svg\",{width:size,height:size,viewBox:\"0 0 16 16\",fill:\"none\",style:{flexShrink:0},children:/*#__PURE__*/_jsx(\"path\",{d:\"M2 4h12M4 8h8M6 12h4\",stroke:color,strokeWidth:\"1.6\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})});}function CloseIcon({color,size=18}){return /*#__PURE__*/_jsx(\"svg\",{width:size,height:size,viewBox:\"0 0 16 16\",fill:\"none\",style:{flexShrink:0},children:/*#__PURE__*/_jsx(\"path\",{d:\"M4 4l8 8M12 4l-8 8\",stroke:color,strokeWidth:\"1.8\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})});}function CategoryIcon({svg,color,size=18}){if(!svg||svg.length===0){return /*#__PURE__*/_jsx(\"svg\",{width:size,height:size,viewBox:\"0 0 24 24\",fill:\"none\",stroke:color,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",style:{flexShrink:0},children:/*#__PURE__*/_jsx(\"circle\",{cx:\"12\",cy:\"12\",r:\"10\"})});}return /*#__PURE__*/_jsx(\"svg\",{width:size,height:size,viewBox:\"0 0 24 24\",fill:\"none\",stroke:color,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",style:{flexShrink:0},dangerouslySetInnerHTML:{__html:svg}});}/**\n * Tools Mobile Filters\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight fit-content\n */export default function ToolsMobileFilters({button_label=\"Filter Categories\",base_path=\"/tools\",breakpoint_px=768,parents_json=\"\",modal_title=\"Categories\",show_all_tools_row=true,all_tools_label=\"All tools\"}){const isCanvas=detectIsCanvas();const geist=\"Geist, 'Inter', system-ui, sans-serif\";const[open,setOpen]=useState(false);const[queryString,setQueryString]=useState(\"\");const[isMobile,setIsMobile]=useState(true);let parents=DEFAULT_PARENTS;if(parents_json){try{const parsed=JSON.parse(parents_json);if(Array.isArray(parsed)&&parsed.length>0)parents=parsed;}catch{// keep defaults\n}}useEffect(()=>{if(isCanvas)return;if(typeof window===\"undefined\")return;const check=()=>{try{setIsMobile(window.innerWidth<breakpoint_px);}catch{setIsMobile(true);}};check();try{window.addEventListener(\"resize\",check);}catch{// noop\n}return()=>{try{window.removeEventListener(\"resize\",check);}catch{// noop\n}};},[breakpoint_px,isCanvas]);useEffect(()=>{if(isCanvas)return;if(typeof window===\"undefined\")return;const sync=()=>{try{setQueryString(window.location.search);}catch{// noop\n}};sync();try{window.addEventListener(\"popstate\",sync);window.addEventListener(\"tools-filter-change\",sync);}catch{// noop\n}return()=>{try{window.removeEventListener(\"popstate\",sync);window.removeEventListener(\"tools-filter-change\",sync);}catch{// noop\n}};},[isCanvas]);useEffect(()=>{if(isCanvas)return;if(typeof document===\"undefined\")return;const originalOverflow=document.body.style.overflow;if(open){try{document.body.style.overflow=\"hidden\";}catch{// noop\n}}return()=>{try{document.body.style.overflow=originalOverflow;}catch{// noop\n}};},[open,isCanvas]);let activeCat=\"\";if(!isCanvas){try{const params=new URLSearchParams(queryString);activeCat=(params.get(\"cat\")||\"\").toLowerCase();}catch{// noop\n}}const hasActiveFilter=Boolean(activeCat);let currentLabel=button_label;if(activeCat){const match=parents.find(p=>p.slug.toLowerCase()===activeCat);if(match)currentLabel=match.name;}const setUrl=nextCat=>{if(typeof window===\"undefined\")return;try{const url=new URL(window.location.href);url.pathname=base_path;if(nextCat){url.searchParams.set(\"cat\",nextCat);}else{url.searchParams.delete(\"cat\");}url.searchParams.delete(\"sub\");window.history.pushState({},\"\",url.toString());window.dispatchEvent(new Event(\"tools-filter-change\"));}catch{// noop\n}};const handleParentClick=slug=>{setUrl(slug.toLowerCase());setOpen(false);};const handleAllClick=()=>{setUrl(\"\");setOpen(false);};if(!isCanvas&&!isMobile)return null;const accent=\"rgb(32, 62, 235)\";const accentBg=\"rgb(238, 240, 253)\";const textDark=\"rgb(17, 17, 17)\";const textMuted=\"rgb(100, 116, 139)\";const borderLight=\"rgb(226, 232, 240)\";return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"button\",{type:\"button\",onClick:()=>setOpen(true),style:{display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",gap:8,width:\"100%\",padding:\"12px 16px\",background:hasActiveFilter?accentBg:\"rgb(255, 255, 255)\",color:hasActiveFilter?accent:textDark,border:`1px solid ${hasActiveFilter?accent:borderLight}`,borderRadius:10,fontSize:14,fontWeight:600,fontFamily:geist,cursor:\"pointer\",letterSpacing:\"-0.005em\",boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsx(FilterIcon,{color:hasActiveFilter?accent:textDark}),currentLabel]}),open&&!isCanvas&&/*#__PURE__*/_jsx(\"div\",{onClick:()=>setOpen(false),style:{position:\"fixed\",inset:0,background:\"rgba(2, 12, 128, 0.55)\",zIndex:9998,backdropFilter:\"blur(4px)\",WebkitBackdropFilter:\"blur(4px)\"}}),open&&!isCanvas&&/*#__PURE__*/_jsxs(\"div\",{onClick:e=>e.stopPropagation(),style:{position:\"fixed\",inset:0,background:\"rgb(255, 255, 255)\",zIndex:9999,display:\"flex\",flexDirection:\"column\",fontFamily:geist},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",padding:\"16px 20px\",borderBottom:`1px solid ${borderLight}`,flexShrink:0},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:16,fontWeight:700,color:\"rgb(2, 12, 128)\",letterSpacing:\"-0.01em\"},children:modal_title}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>setOpen(false),\"aria-label\":\"Close\",style:{padding:8,background:\"transparent\",border:\"none\",borderRadius:8,cursor:\"pointer\",display:\"inline-flex\"},children:/*#__PURE__*/_jsx(CloseIcon,{color:\"rgb(71, 85, 105)\"})})]}),/*#__PURE__*/_jsx(\"div\",{style:{flex:1,overflowY:\"auto\",padding:\"20px 16px 32px\",display:\"flex\",flexDirection:\"column\",alignItems:\"center\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",maxWidth:420,display:\"flex\",flexDirection:\"column\",gap:8},children:[show_all_tools_row&&/*#__PURE__*/_jsxs(\"button\",{type:\"button\",onClick:handleAllClick,style:{display:\"flex\",alignItems:\"center\",gap:12,width:\"100%\",padding:\"14px 16px\",background:!hasActiveFilter?accentBg:\"rgb(248, 250, 252)\",color:!hasActiveFilter?accent:textDark,border:`1px solid ${!hasActiveFilter?accent:borderLight}`,borderRadius:12,fontSize:15,fontWeight:!hasActiveFilter?600:500,fontFamily:geist,cursor:\"pointer\",letterSpacing:\"-0.005em\",textAlign:\"left\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:36,height:36,borderRadius:10,background:!hasActiveFilter?\"rgba(32, 62, 235, 0.12)\":\"rgba(32, 62, 235, 0.08)\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0},children:/*#__PURE__*/_jsxs(\"svg\",{width:\"18\",height:\"18\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:accent,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"rect\",{width:\"7\",height:\"7\",x:\"3\",y:\"3\",rx:\"1\"}),/*#__PURE__*/_jsx(\"rect\",{width:\"7\",height:\"7\",x:\"14\",y:\"3\",rx:\"1\"}),/*#__PURE__*/_jsx(\"rect\",{width:\"7\",height:\"7\",x:\"14\",y:\"14\",rx:\"1\"}),/*#__PURE__*/_jsx(\"rect\",{width:\"7\",height:\"7\",x:\"3\",y:\"14\",rx:\"1\"})]})}),/*#__PURE__*/_jsx(\"span\",{style:{flex:1},children:all_tools_label})]}),parents.map(p=>{const isActive=activeCat===p.slug.toLowerCase();return /*#__PURE__*/_jsxs(\"button\",{type:\"button\",onClick:()=>handleParentClick(p.slug),style:{display:\"flex\",alignItems:\"center\",gap:12,width:\"100%\",padding:\"14px 16px\",background:isActive?accentBg:\"rgb(255, 255, 255)\",color:isActive?accent:textDark,border:`1px solid ${isActive?accent:borderLight}`,borderRadius:12,fontSize:15,fontWeight:isActive?600:500,fontFamily:geist,cursor:\"pointer\",letterSpacing:\"-0.005em\",textAlign:\"left\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:36,height:36,borderRadius:10,background:isActive?\"rgba(32, 62, 235, 0.12)\":\"rgba(32, 62, 235, 0.08)\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0},children:/*#__PURE__*/_jsx(CategoryIcon,{svg:p.icon_svg,color:accent,size:18})}),/*#__PURE__*/_jsx(\"span\",{style:{flex:1},children:p.name}),p.count&&/*#__PURE__*/_jsx(\"span\",{style:{fontSize:12,color:isActive?accent:textMuted,fontVariantNumeric:\"tabular-nums\",fontWeight:500},children:p.count})]},p.slug);})]})})]})]});}addPropertyControls(ToolsMobileFilters,{button_label:{type:ControlType.String,title:\"Button label\",defaultValue:\"Filter Categories\"},modal_title:{type:ControlType.String,title:\"Modal title\",defaultValue:\"Categories\"},all_tools_label:{type:ControlType.String,title:\"All tools label\",defaultValue:\"All tools\"},show_all_tools_row:{type:ControlType.Boolean,title:\"Show All tools row\",defaultValue:true},base_path:{type:ControlType.String,title:\"Base path\",defaultValue:\"/tools\"},breakpoint_px:{type:ControlType.Number,title:\"Mobile breakpoint\",defaultValue:768,min:480,max:1200,step:10,description:\"Below this width, button shows. Above, component renders nothing.\"},parents_json:{type:ControlType.String,title:\"Parents JSON (override)\",defaultValue:\"\",displayTextArea:true,description:\"Optional. Leave empty to use the 12 baked-in parent categories with icons.\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ToolsMobileFilters\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fit-content\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ToolsMobileFilters.map","// Tools Sort Dropdown\n//\n// Sits above the tools grid. Displays sort options and a visible-count\n// badge. Reorders visible tool cards client-side by setting CSS `order`\n// on the direct grid children (same wrappers ToolsFilterStyles targets).\n//\n// Default = CMS order. A-Z / Z-A sort by data-tool-name attribute.\n// Featured = boosts Grou choice + sponsored cards to the top.\n//\n// Reads/writes URL ?sort=... so sort is preserved across sidebar clicks\n// and deep-linkable.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useEffect,useRef,useState}from\"react\";function detectIsCanvas(){try{const t=RenderTarget.current();return t===RenderTarget.canvas;}catch{return false;}}const SORT_ORDER_ATTR=\"data-tools-sort-applied\";function findGridCellWrapper(cardEl){let current=cardEl;let lastValid=cardEl instanceof HTMLElement?cardEl:null;for(let i=0;i<15;i++){if(!current)break;if(!(current instanceof HTMLElement))break;const parentEl=current.parentElement;if(!parentEl)break;try{const display=window.getComputedStyle(parentEl).display;if(display===\"grid\"||display===\"inline-grid\"){return current;}}catch{return lastValid;}lastValid=current;current=parentEl;}return lastValid;}function resetOrder(){try{const els=document.querySelectorAll(`[${SORT_ORDER_ATTR}=\"1\"]`);els.forEach(el=>{el.style.removeProperty(\"order\");el.removeAttribute(SORT_ORDER_ATTR);});}catch{// noop\n}}function applySort(mode){resetOrder();if(mode===\"default\")return countVisibleCards();try{const cards=Array.from(document.querySelectorAll('[data-tool-card=\"1\"]'));if(cards.length===0)return 0;// Map each card to its wrapper + name + featured-ness\nconst entries=cards.map(card=>{const wrapper=findGridCellWrapper(card);const name=(card.getAttribute(\"data-tool-name\")||\"\").toLowerCase();const featured=card.getAttribute(\"data-is-featured\")===\"1\"||card.getAttribute(\"data-is-sponsored\")===\"1\"||card.getAttribute(\"data-is-grou-choice\")===\"1\";return{wrapper,name,featured};}).filter(e=>!!e.wrapper);if(mode===\"az\"){entries.sort((a,b)=>a.name.localeCompare(b.name));}else if(mode===\"za\"){entries.sort((a,b)=>b.name.localeCompare(a.name));}else if(mode===\"featured\"){entries.sort((a,b)=>{if(a.featured!==b.featured)return a.featured?-1:1;return a.name.localeCompare(b.name);});}entries.forEach((e,i)=>{e.wrapper.style.order=String(i);e.wrapper.setAttribute(SORT_ORDER_ATTR,\"1\");});}catch{// noop\n}return countVisibleCards();}function countVisibleCards(){try{const cards=document.querySelectorAll('[data-tool-card=\"1\"]');let count=0;cards.forEach(card=>{let el=card;let hidden=false;for(let i=0;i<15;i++){if(!el)break;if(el.getAttribute(\"data-tools-filter-hidden\")===\"1\"){hidden=true;break;}el=el.parentElement;}if(!hidden)count++;});return count;}catch{return 0;}}const OPTIONS=[{value:\"default\",label:\"Default\"},{value:\"featured\",label:\"Featured first\"},{value:\"az\",label:\"Name A–Z\"},{value:\"za\",label:\"Name Z–A\"}];function optionLabel(value){const opt=OPTIONS.find(o=>o.value===value);return opt?opt.label:\"Default\";}function ChevronDown({color,size=10}){return /*#__PURE__*/_jsx(\"svg\",{width:size,height:size,viewBox:\"0 0 10 10\",fill:\"none\",style:{flexShrink:0},children:/*#__PURE__*/_jsx(\"path\",{d:\"M2 3l3 3 3-3\",stroke:color,strokeWidth:\"1.6\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})});}/**\n * Tools Sort Dropdown\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight fit-content\n */export default function ToolsSortDropdown({label=\"Sort by\",show_count=true,default_sort=\"default\"}){const isCanvas=detectIsCanvas();const geist=\"Geist, 'Inter', system-ui, sans-serif\";const[open,setOpen]=useState(false);const[sort,setSort]=useState(default_sort);const[visibleCount,setVisibleCount]=useState(-1);const[queryString,setQueryString]=useState(\"\");const rootRef=useRef(null);// Watch URL — the sort state lives in ?sort=\nuseEffect(()=>{if(isCanvas)return;if(typeof window===\"undefined\")return;const sync=()=>{try{setQueryString(window.location.search);}catch{// noop\n}};sync();try{window.addEventListener(\"popstate\",sync);window.addEventListener(\"tools-filter-change\",sync);}catch{// noop\n}return()=>{try{window.removeEventListener(\"popstate\",sync);window.removeEventListener(\"tools-filter-change\",sync);}catch{// noop\n}};},[isCanvas]);// Derive active sort from URL\nuseEffect(()=>{if(isCanvas)return;try{const params=new URLSearchParams(queryString);const raw=(params.get(\"sort\")||\"\").toLowerCase();if(raw===\"default\"||raw===\"az\"||raw===\"za\"||raw===\"featured\"){setSort(raw);}else{setSort(default_sort);}}catch{setSort(default_sort);}},[queryString,default_sort,isCanvas]);// Re-apply sort after sort change OR filter change, with retries\n// to catch late-mounting cards.\nuseEffect(()=>{if(isCanvas)return;const doApply=()=>{applySort(sort);setVisibleCount(countVisibleCards());};const t0=setTimeout(doApply,0);const t1=setTimeout(doApply,100);const t2=setTimeout(doApply,350);return()=>{clearTimeout(t0);clearTimeout(t1);clearTimeout(t2);};},[sort,queryString,isCanvas]);// Close dropdown on outside click\nuseEffect(()=>{if(isCanvas)return;if(!open)return;const onClick=e=>{try{const root=rootRef.current;if(!root)return;if(!root.contains(e.target)){setOpen(false);}}catch{// noop\n}};document.addEventListener(\"mousedown\",onClick);return()=>document.removeEventListener(\"mousedown\",onClick);},[open,isCanvas]);// Clean up on unmount\nuseEffect(()=>{if(isCanvas)return;return()=>{resetOrder();};},[isCanvas]);const setSortInUrl=mode=>{if(typeof window===\"undefined\")return;try{const url=new URL(window.location.href);if(mode===\"default\"){url.searchParams.delete(\"sort\");}else{url.searchParams.set(\"sort\",mode);}window.history.pushState({},\"\",url.toString());window.dispatchEvent(new Event(\"tools-filter-change\"));}catch{// noop\n}setOpen(false);};return /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,style:{display:\"flex\",alignItems:\"center\",gap:12,fontFamily:geist,width:\"100%\",flexWrap:\"wrap\"},children:[show_count&&visibleCount>=0&&!isCanvas&&/*#__PURE__*/_jsxs(\"span\",{style:{fontSize:13,color:\"rgb(71, 85, 105)\",fontWeight:500,fontVariantNumeric:\"tabular-nums\"},children:[visibleCount,\" \",visibleCount===1?\"tool\":\"tools\"]}),show_count&&isCanvas&&/*#__PURE__*/_jsx(\"span\",{style:{fontSize:13,color:\"rgb(71, 85, 105)\",fontWeight:500},children:\"74 tools\"}),/*#__PURE__*/_jsxs(\"div\",{style:{marginLeft:\"auto\",position:\"relative\"},children:[/*#__PURE__*/_jsxs(\"button\",{type:\"button\",onClick:()=>setOpen(s=>!s),\"aria-haspopup\":\"listbox\",\"aria-expanded\":open,style:{display:\"inline-flex\",alignItems:\"center\",gap:8,padding:\"8px 12px\",background:\"rgb(255, 255, 255)\",border:\"1px solid rgb(226, 232, 240)\",borderRadius:8,fontSize:13,fontWeight:500,fontFamily:geist,color:\"rgb(17, 17, 17)\",cursor:\"pointer\",letterSpacing:\"-0.005em\",boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsxs(\"span\",{style:{color:\"rgb(100, 116, 139)\",fontWeight:500},children:[label,\":\"]}),/*#__PURE__*/_jsx(\"span\",{children:optionLabel(sort)}),/*#__PURE__*/_jsx(ChevronDown,{color:\"rgb(100, 116, 139)\"})]}),open&&!isCanvas&&/*#__PURE__*/_jsx(\"div\",{role:\"listbox\",style:{position:\"absolute\",top:\"calc(100% + 6px)\",right:0,minWidth:180,padding:4,background:\"rgb(255, 255, 255)\",border:\"1px solid rgb(226, 232, 240)\",borderRadius:10,boxShadow:\"0 12px 32px -8px rgba(2, 12, 128, 0.14)\",zIndex:20,display:\"flex\",flexDirection:\"column\",gap:2},children:OPTIONS.map(opt=>{const active=opt.value===sort;return /*#__PURE__*/_jsx(\"button\",{type:\"button\",role:\"option\",\"aria-selected\":active,onClick:()=>setSortInUrl(opt.value),style:{textAlign:\"left\",padding:\"8px 10px\",background:active?\"rgb(238, 240, 253)\":\"transparent\",color:active?\"rgb(32, 62, 235)\":\"rgb(17, 17, 17)\",border:\"none\",borderRadius:6,fontSize:13,fontWeight:active?600:500,fontFamily:geist,cursor:\"pointer\",letterSpacing:\"-0.005em\"},children:opt.label},opt.value);})})]})]});}addPropertyControls(ToolsSortDropdown,{label:{type:ControlType.String,title:\"Label\",defaultValue:\"Sort by\"},show_count:{type:ControlType.Boolean,title:\"Show count\",defaultValue:true,description:\"Show 'X tools' on the left\"},default_sort:{type:ControlType.Enum,title:\"Default sort\",defaultValue:\"default\",options:[\"default\",\"featured\",\"az\",\"za\"],optionTitles:[\"Default\",\"Featured first\",\"Name A–Z\",\"Name Z–A\"]}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ToolsSortDropdown\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fit-content\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ToolsSortDropdown.map"],"mappings":"A,qOAqB0J,SAAS2C,EAAa,CAAC,OAAK,IAAI,CAAC,MAAoB,gBAAM,MAAM,CAAC,MAAMC,EAAK,OAAOA,EAAK,QAAQ,YAAY,KAAK,OAAO,MAAM,CAAC,WAAW,EAAE,QAAQ,OAAO,EAAE,SAAS,CAAc,gBAAK,OAAO,CAAC,EAAE,+HAA+H,KAAK,cAAc,CAAC,EAAe,gBAAK,OAAO,CAAC,EAAE,sGAAsG,KAAK,cAAc,CAAC,CAAC,CAAC,CAAC,CAAE,CAAC,SAAS5C,EAAU,CAAC,QAAM,OAAK,IAAI,CAAC,MAAoB,gBAAK,MAAM,CAAC,MAAM4C,EAAK,OAAOA,EAAK,QAAQ,YAAY,KAAK,OAAO,MAAM,CAAC,WAAW,CAAC,EAAE,SAAsB,gBAAK,OAAO,CAAC,EAAE,qBAAqB,OAAOE,EAAM,YAAY,MAAM,cAAc,QAAQ,eAAe,OAAO,CAAC,CAAC,CAAC,CAAE,CAKt6B,SAAwBC,EAAS,CAAC,YAAU,YAAY,eAAa,yDAAyD,YAAU,GAAG,UAAQ,UAAU,kBAAgB,UAAU,gBAAc,KAAK,gBAAc,gBAAgB,eAAa,OAAO,gBAAc,GAAG,iBAAe,GAAK,eAAa,GAAM,wBAAsB,GAAM,iBAAe,GAAM,aAAW,GAAM,YAAU,OAAO,WAAS,G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