PageSourceSearch

https://opentools.ai/_next/static/chunks/4550-90594a8c081a9a6f.js

js opentools.ai collected 2026-10-02 11:20:15 UTC 42,298 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4550],{48213:(e,t,s)=>{"use strict";s.d(t,{A:()=>o});var a=s(95155),n=s(52619),r=s.n(n),i=s(15239);let l={knowledgeHub:[{name:"News",href:"/news"},{name:"Resources",href:"/resources"},{name:"Newsletter",href:"https://newsletter.opentools.ai/"},{name:"Blog",href:"/blog"},{name:"AI Tool Reviews",href:"/reviews"},{name:"YouTube Summary",href:"/youtube-summary"},{name:"YouTube Transcript Generator",href:"/youtube-transcript-generator"}],industryHub:[{name:"AI Companies",href:"/organizations"},{name:"AI Tools",href:"/tools"},{name:"AI Models",href:"/llms"},{name:"MCP Servers",href:"/mcp"},{name:"Muse Connectors",href:"/muse-connectors"},{name:"AI Tool Categories",href:"/categories"},{name:"Top AI Use Cases",href:"/use-cases"}],forBuilders:[{name:"Submit a Tool",href:"/friends/launch-tool",prefetch:!1},{name:"Experts & Agencies",href:"/experts"},{name:"Advertise",href:"https://marshy-teller-328.notion.site/Advertise-With-OpenTools-37cb46049ad8809cb84bc22cb6fb03ed?pvs=74"},{name:"Compare Tools",href:"/compare"},{name:"Favourites",href:"/favourites"}],legal:[{name:"Privacy Policy",href:"/privacy-policy"},{name:"Terms of Service",href:"/tos"}],social:[{name:"LinkedIn",href:"https://www.linkedin.com/company/opentools/",icon:e=>(0,a.jsx)("svg",{fill:"currentColor",viewBox:"0 0 24 24",...e,children:(0,a.jsx)("path",{fillRule:"evenodd",d:"M 18.25 3 L 5.75 3 C 4.234375 3 3 4.234375 3 5.75 L 3 18.25 C 3 19.765625 4.234375 21 5.75 21 L 18.25 21 C 19.765625 21 21 19.765625 21 18.25 L 21 5.75 C 21 4.234375 19.765625 3 18.25 3 Z M 9 17 C 9 17.277344 8.777344 17.5 8.5 17.5 L 7 17.5 C 6.722656 17.5 6.5 17.277344 6.5 17 L 6.5 10.5 C 6.5 10.222656 6.722656 10 7 10 L 8.5 10 C 8.777344 10 9 10.222656 9 10.5 Z M 7.75 9 C 7.058594 9 6.5 8.441406 6.5 7.75 C 6.5 7.058594 7.058594 6.5 7.75 6.5 C 8.441406 6.5 9 7.058594 9 7.75 C 9 8.441406 8.441406 9 7.75 9 Z M 17.5 17 C 17.5 17.277344 17.277344 17.5 17 17.5 L 15.5 17.5 C 15.222656 17.5 15 17.277344 15 17 L 15 13.25 C 15 12.558594 14.441406 12 13.75 12 C 13.058594 12 12.5 12.558594 12.5 13.25 L 12.5 17 C 12.5 17.277344 12.277344 17.5 12 17.5 L 10.5 17.5 C 10.222656 17.5 10 17.277344 10 17 L 10 10.5 C 10 10.222656 10.222656 10 10.5 10 L 12 10 C 12.277344 10 12.5 10.222656 12.5 10.5 L 12.5 10.769531 C 13.03125 10.292969 13.730469 10 14.5 10 C 16.15625 10 17.5 11.34375 17.5 13 Z M 17.5 17 ",clipRule:"evenodd"})})},{name:"X",href:"https://twitter.com/opentoolsai",icon:e=>(0,a.jsx)("svg",{fill:"currentColor",viewBox:"0 0 24 24",...e,children:(0,a.jsx)("path",{fillRule:"evenodd",d:"M13.6823 10.6218L20.2391 3H18.6854L12.9921 9.61788L8.44486 3H3.2002L10.0765 13.0074L3.2002 21H4.75404L10.7663 14.0113L15.5685 21H20.8131L13.6819 10.6218H13.6823ZM11.5541 13.0956L10.8574 12.0991L5.31391 4.16971H7.70053L12.1742 10.5689L12.8709 11.5655L18.6861 19.8835H16.2995L11.5541 13.096V13.0956Z",clipRule:"evenodd"})})}]},o=()=>{let e=new Date().getFullYear();return(0,a.jsxs)("footer",{className:"bg-gray-900","aria-labelledby":"footer-heading",children:[(0,a.jsx)("h2",{id:"footer-heading",className:"sr-only",children:"Footer"}),(0,a.jsxs)("div",{className:"mx-auto max-w-7xl px-6 py-16",children:[(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-5 gap-8",children:[(0,a.jsxs)("div",{className:"md:col-span-1 space-y-8",children:[(0,a.jsx)(r(),{href:"/",children:(0,a.jsx)(i.default,{className:"h-6 cursor-pointer",src:"/opentools-logo-red.svg",alt:"Company name",width:120,height:24})}),(0,a.jsx)("p",{className:"text-sm leading-6 text-gray-400",children:"The right AI tool is out there. We'll help you find it."}),(0,a.jsx)("div",{className:"flex space-x-6",children:l.social.map(e=>(0,a.jsxs)("a",{href:e.href,className:"text-gray-400 hover:text-white",children:[(0,a.jsx)("span",{className:"sr-only",children:e.name}),(0,a.jsx)(e.icon,{className:"h-6 w-6","aria-hidden":"true"})]},e.name))})]}),[{title:"Knowledge Hub",items:l.knowledgeHub},{title:"Industry Hub",items:l.industryHub},{title:"For Builders",items:l.forBuilders},{title:"Legal",items:l.legal}].map(e=>(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-sm font-semibold leading-6 text-white",children:e.title}),(0,a.jsx)("ul",{role:"list",className:"mt-6 space-y-4",children:e.items.map(e=>(0,a.jsx)("li",{children:!1===e.prefetch?(0,a.jsx)("a",{href:e.href,className:"text-sm leading-6 text-gray-400 hover:text-white",children:e.name}):(0,a.jsx)(r(),{href:e.href,className:"text-sm leading-6 text-gray-400 hover:text-white",children:e.name})},e.name))})]},e.title))]}),(0,a.jsx)("div",{className:"mt-12 border-t border-white/10 pt-8",children:(0,a.jsxs)("p",{className:"text-xs leading-5 text-gray-400",children:["\xa9 ",e," OpenTools 
1- All rights reserved."]})})]})]})}},59480:(e,t,s)=>{"use strict";async function*a(e){if(!e)throw Error("The response did not include a stream");let t=e.getReader(),s=new TextDecoder,a="",n=[];function r(e){if(e.endsWith("\r")&&(e=e.slice(0,-1)),""===e){if(!n.length)return null;let e=n.join("\n");return n=[],e}if(e.startsWith("data:")){let t=e.slice(5);n.push(t.startsWith(" ")?t.slice(1):t)}return null}try{for(;;){let e,{done:i,value:l}=await t.read();for(a+=i?s.decode():s.decode(l,{stream:!0});-1!==(e=a.indexOf("\n"));){let t=r(a.slice(0,e));a=a.slice(e+1),null!==t&&(yield t)}if(i){a&&r(a),n.length&&(yield n.join("\n"));break}}}finally{await t.cancel().catch(()=>{}),t.releaseLock()}}async function n(e,t){for await(let s of a(e)){let e=JSON.parse(s);if(t(e),"done"===e.type||"error"===e.type)return}throw Error("AI search disconnected before completing its answer")}s.d(t,{z:()=>n})},74046:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>v});var a=s(95155),n=s(52619),r=s.n(n),i=s(15239),l=s(12115),o=s(38378);let c={tool:"bg-green-100 text-green-800",mcp:"bg-blue-100 text-blue-800",llm:"bg-sky-100 text-sky-800",organization:"bg-amber-100 text-amber-800",general:"bg-gray-100 text-gray-700"},d={tool:"Tool",mcp:"MCP Server",llm:"LLM",organization:"Organization",general:"General"},m={guide:"Guide",tutorial:"Tutorial",quickstart:"Quickstart",reference:"Reference",comparison:"Comparison",faq:"FAQ",changelog:"Changelog"},u={beginner:"bg-emerald-50 text-emerald-700",intermediate:"bg-amber-50 text-amber-700",advanced:"bg-red-50 text-red-700"},h={guide:"from-blue-600 to-blue-800",tutorial:"from-emerald-600 to-teal-800",quickstart:"from-amber-500 to-orange-700",reference:"from-slate-600 to-slate-800",comparison:"from-violet-600 to-purple-800",faq:"from-cyan-600 to-blue-800",changelog:"from-gray-600 to-gray-800"},x={guide:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6.042A8.967 8.967 0 006 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 016 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 016-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0018 18a8.967 8.967 0 00-6 2.292m0-14.25v14.25"}),tutorial:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.26 10.147a60.438 60.438 0 00-.491 6.347A48.62 48.62 0 0112 20.904a48.62 48.62 0 018.232-4.41 60.46 60.46 0 00-.491-6.347m-15.482 0a50.636 50.636 0 00-2.658-.813A59.906 59.906 0 0112 3.493a59.903 59.903 0 0110.399 5.84c-.896.248-1.783.52-2.658.814m-15.482 0A50.717 50.717 0 0112 13.489a50.702 50.702 0 017.74-3.342M6.75 15a.75.75 0 100-1.5.75.75 0 000 1.5zm0 0v-3.675A55.378 55.378 0 0112 8.443m-7.007 11.55A5.981 5.981 0 006.75 15.75v-1.5"}),quickstart:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 13.5l10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75z"}),reference:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.25 6.75L22.5 12l-5.25 5.25m-10.5 0L1.5 12l5.25-5.25m7.5-3l-4.5 16.5"}),comparison:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.5 21L3 16.5m0 0L7.5 12M3 16.5h13.5m0-13.5L21 7.5m0 0L16.5 12M21 7.5H7.5"}),faq:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9 5.25h.008v.008H12v-.008z"}),changelog:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v6h4.5m4.5 0a9 9 0 11-18 0 9 9 0 0118 0z"})};function f(e){let{resource:t}=e,s=h[t.resourceType]||h.guide,n=x[t.resourceType]||x.guide,r=(t.slug||"").split("").reduce((e,t)=>e+t.charCodeAt(0),0);return(0,a.jsxs)("div",{className:"h-40 bg-gradient-to-br ".concat(s," relative overflow-hidden"),children:[(0,a.jsx)("svg",{className:"absolute text-white/10",style:{width:"120px",height:"120px",right:"".concat(r%30+10,"%"),top:"50%",transform:"translateY(-50%) rotate(".concat(r%20-10,"deg)")},fill:"none",viewBox:"0 0 24 24",strokeWidth:.75,stroke:"currentColor",children:n}),(0,a.jsxs)("div",{className:"absolute inset-0 flex flex-col justify-end p-4",children:[(0,a.jsx)("span",{className:"text-white/60 text-xs font-medium uppercase tracking-wider font-mono",children:t.resourceType||"guide"}),(0,a.jsx)("h3",{className:"text-white font-semibold text-sm line-clamp-2 mt-1 font-dm-sans leading-snug",children:g(t.entitySlug||"")})]})]})}function g(e){return e?e.split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" "):""}function p(e){let{src:t,alt:s}=e,[n,r]=(0,l.useState)(!1);return(0,a.jsx)("div",{className:"relative h-40 bg-[#FAFAFA] overflow-hidden",children:n?(0,a.jsx)("div",{className:"flex h-full items-center justify-center text-sm text-[#6B7280] font-dm-sans",children:"Image unavailable"}):(0,a.jsx)(i.default,{src:t,alt:s,fill:!0,className:"w-full h-full object-cover group-hover:scale-[1.02] transition-transform duration-150",loading:"lazy",sizes:o.ol.card,onError:()=>r(!0)})})}function v(e){let{resource:t,variant:s="full"}=e;if(!t)return null;let n=c[t.entityType]||c.general,i=d[t.entityType]||"General",l=m[t.resourceType]||null,h="/resources/".concat(t.slug);
1if("compact"===s)return(0,a.jsxs)("div",{className:"group relative bg-white border border-[#E5E7EB] rounded-lg p-4 hover:shadow-md hover:border-[#2563EB]/20 transition-shadow transition-colors duration-150",children:[(0,a.jsx)(r(),{href:h,className:"absolute inset-0 z-0 rounded-lg","aria-label":"Read ".concat(t.title)}),(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-1.5",children:[l&&(0,a.jsx)("span",{className:"text-xs font-medium px-1.5 py-0.5 rounded bg-gray-100 text-gray-600 font-dm-sans",children:l}),(0,a.jsx)("span",{className:"text-xs font-medium px-1.5 py-0.5 rounded ".concat(n," font-dm-sans"),children:i})]}),(0,a.jsx)("h3",{className:"text-sm font-semibold text-[#1A1A1A] group-hover:text-[#2563EB] transition-colors duration-150 line-clamp-2 font-dm-sans",children:t.title}),t.description&&(0,a.jsx)("p",{className:"mt-1 text-xs text-[#6B7280] line-clamp-1 font-dm-sans",children:t.description})]}),t.estimatedReadTime&&(0,a.jsxs)("span",{className:"flex-shrink-0 text-xs text-[#9CA3AF] font-dm-sans",children:[t.estimatedReadTime,"m"]})]})]});let x=(0,o.B$)(t.heroImage);return(0,a.jsxs)("div",{className:"group relative bg-white border border-[#E5E7EB] rounded-lg overflow-hidden hover:shadow-md hover:border-[#2563EB]/20 transition-shadow transition-colors duration-150 flex flex-col",children:[(0,a.jsx)(r(),{href:h,prefetch:!1,className:"absolute inset-0 z-0 rounded-lg","aria-label":"Read ".concat(t.title)}),t.heroImage?(0,a.jsx)(p,{src:x,alt:t.title},x):(0,a.jsx)(f,{resource:t}),(0,a.jsxs)("div",{className:"p-5 flex flex-col flex-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-2 flex-wrap",children:[(0,a.jsx)("span",{className:"text-xs font-medium px-1.5 py-0.5 rounded ".concat(n," font-dm-sans"),children:i}),l&&(0,a.jsx)("span",{className:"text-xs font-medium px-1.5 py-0.5 rounded bg-gray-100 text-gray-600 font-dm-sans",children:l}),t.difficulty&&u[t.difficulty]&&(0,a.jsx)("span",{className:"text-xs font-medium px-1.5 py-0.5 rounded ".concat(u[t.difficulty]," font-dm-sans"),children:t.difficulty.charAt(0).toUpperCase()+t.difficulty.slice(1)}),t.estimatedReadTime&&(0,a.jsxs)("span",{className:"text-xs text-[#9CA3AF] font-dm-sans ml-auto",children:[t.estimatedReadTime," min read"]})]}),(0,a.jsx)("h3",{className:"text-base font-semibold text-[#1A1A1A] group-hover:text-[#2563EB] transition-colors duration-150 line-clamp-2 font-dm-sans",children:t.title}),t.description&&(0,a.jsx)("p",{className:"mt-2 text-sm text-[#6B7280] line-clamp-2 flex-1 font-dm-sans",children:t.description}),(0,a.jsx)("div",{className:"mt-3 pt-3 border-t border-[#E5E7EB]",children:(0,a.jsx)("span",{className:"text-sm font-medium text-[#6B7280] font-dm-sans",children:g(t.entitySlug)})})]})]})}},74550:(e,t,s)=>{Promise.resolve().then(s.bind(s,99679))},99679:(e,t,s)=>{"use strict";s.d(t,{default:()=>R});var a=s(95155),n=s(59480),r=s(12115),i=s(20063),l=s(36489),o=s(9563),c=s(52619),d=s.n(c),m=s(15239),u=s(67909),h=s(72062),x=s(89448),f=s(48873),g=s(10194),p=s(65361),v=s(43569),b=s(39059),y=s(93670),j=s(74046),w=s(36445),A=s(48213),N=s(26614),_=s(51642);let E="cta-home-listing-copy-v1",C=["control","test"],F=/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;function k(e){let{action:t,record:s,client:a,browserWindow:n,pathname:r,userId:i,extra:l={}}=e,o={assigned:"home_listing_assigned",rendered:"home_listing_rendered",viewed:"home_listing_viewed",clicked:"home_listing_clicked"}[t];try{var c,d,m;if(!o||!s||!(null==a?void 0:a.__loaded)||(null==(c=a.has_opted_out_capturing)?void 0:c.call(a))||(null==(d=a.get_distinct_id)?void 0:d.call(a))!==i)return!1;let e=(0,_.AM)(n,r);if(!e||"/"!==e.canonical_path||(0,_.SO)(null==(m=n.location)?void 0:m.pathname)!==e.canonical_path||!e.is_qa&&"production"!==e.environment)return!1;return!!a.capture(o,{...e,...{experiment_key:E,assignment_version:1,design_id:s.design_id,assignment_id:s.assignment_id,variant:s.variant,["$feature/".concat(E)]:s.variant,assigned_at:s.assigned_at,entry_start:s.entry_start,entry_end:s.entry_end,randomization_unit:"identified_website_account",assignment_persistence:"browser_storage_per_account",surface:"home_builder",cta_id:"home_builder_own_tool",cta_location:"home_builder",destination_path:"/friends/launch-tool",eligibility_basis:"website_account",eligibility_state:"authenticated"},...l})}catch(e){return!1}}function S(e,t,s,a){return e&&1===e.assignment_version&&e.design_id===t.design_id&&F.test(e.assignment_id||"")&&C.includes(e.variant)&&e.is_qa===s&&e.user_id===a&&e.entry_start===t.entry_start&&e.entry_end===t.entry_end&&Date.parse(e.assigned_at)>=t.start&&Date.parse(e.assigned_at)<t.end&&"boolean"==typeof e.queued}function B(e){let{authStatus:t,userId:s}=e,[n,i]=(0,r.useState)({userId:null,assignment:null}),l=(0,r.useRef)(null),o=(0,r.useRef)(s),c=(0,r.useRef)(new Set),d=(0,r.useRef)(new Set),m=(0,r.useRef)(new WeakSet);o.current=s;let u="loading"!==t&&(!s||n.userId===s),h=u&&s?n.assignment:null,x=u?(null==h?void 0:h.variant)||"control":null;(0,r.useEffect)(()=>
1{if("authenticated"===t&&s)return function(e){var t,s,a,n;let r,i,l,o,c,d,m,u,{client:h,browserWindow:x,pathname:f,userId:g,getCurrentUserId:p,onDecision:v}=e,b=!1,y=!1,j=0,w=null,A=0,N=()=>{var e,t,s;return null!=(s=null==(t=x.Date)||null==(e=t.now)?void 0:e.call(t))?s:Date.now()},F=x.document,B=(e,t)=>{b||(y=!0,w=e,x.clearTimeout(i),x.clearInterval(l),v({assignment:e,reason:t}))},L=e=>{j+=1,B(null,e)},I=!0;try{m=(0,_.AM)(x,f)}catch(e){}try{I=!!(null==h||null==(n=h.has_opted_out_capturing)?void 0:n.call(h))}catch(e){}if((null==m?void 0:m.canonical_path)!=="/"||!m.is_qa&&"production"!==m.environment||"string"!=typeof g||!/^[a-zA-Z0-9_-]{1,128}$/.test(g)||I||"function"!=typeof h.onFeatureFlags||"function"!=typeof h.getFeatureFlag||"function"!=typeof h.getFeatureFlagPayload||"function"!=typeof h.reloadFeatureFlags||"function"!=typeof(null==(s=x.navigator)||null==(t=s.locks)?void 0:t.request)||"function"!=typeof(null==(a=x.crypto)?void 0:a.randomUUID))return B(null,"unavailable"),()=>{b=!0};let T="".concat("opentools.cta.home-listing.v1",":").concat(g,":").concat(m.is_qa?"qa":"natural");try{u=x.localStorage}catch(e){}if(!u)return B(null,"storage_unavailable"),()=>{b=!0};let D=()=>{if(!b&&(!y||w)&&"visible"===F.visibilityState){try{var e;if((null==(e=h.get_distinct_id)?void 0:e.call(h))!==g)return}catch(e){return}try{h.reloadFeatureFlags()}catch(e){}}},M=(e,t,s)=>{var a,n;let r;if(b||y&&!w)return;if((null==p?void 0:p())!==g||(null==(a=h.get_distinct_id)?void 0:a.call(h))!==g||(0,_.SO)(null==(n=x.location)?void 0:n.pathname)!==m.canonical_path)return void L("identity_changed");try{r={variant:h.getFeatureFlag(E,{send_event:!1}),cohort:function(e){if(!e||"object"!=typeof e||Array.isArray(e))return null;let{design_id:t,entry_start:s,entry_end:a}=e;if("cro010-home-listing-copy-v1"!==t||"string"!=typeof s||"string"!=typeof a)return null;let n=Date.parse(s),r=Date.parse(a);return!Number.isFinite(n)||!Number.isFinite(r)||r-n<6048e5||r-n>10368e6?null:{design_id:t,start:n,end:r,entry_start:new Date(n).toISOString(),entry_end:new Date(r).toISOString()}}(h.getFeatureFlagPayload(E))}}catch(e){L("flag_unavailable");return}if((null==s?void 0:s.errorsLoading)!==!1)return;if(!C.includes(r.variant)||!r.cohort)return void L("disabled_or_unconfigured");A=N(),x.clearTimeout(o),o=x.setTimeout(()=>L("flag_stale"),9e4);let{cohort:i,variant:l}=r,c=N();if(c<i.start||c>=i.end+864e5)return void L("outside_window");let v=++j;try{x.navigator.locks.request(T,()=>{let e;if(!b&&v===j&&(!y||w))try{let t=u.getItem(T);if(e=t?JSON.parse(t):null,w&&t!==JSON.stringify(w))return void L("stored_assignment_changed");if(t&&!S(e,i,m.is_qa,g))return void L("invalid_stored_assignment");if(e&&e.variant!==l)return void L("flag_variant_changed");if(t&&!e.queued)return void L("unconfirmed_stored_assignment");if(!e){if(N()>=i.end)return void L("enrollment_closed");if(e={assignment_version:1,design_id:i.design_id,assignment_id:x.crypto.randomUUID(),variant:l,assigned_at:new Date(N()).toISOString(),entry_start:i.entry_start,entry_end:i.entry_end,is_qa:m.is_qa,user_id:g,queued:!1},!S(e,i,m.is_qa,g))return void L("invalid_new_assignment");u.setItem(T,JSON.stringify(e))}if(!e.queued){if((null==p?void 0:p())!==g||!k({action:"assigned",record:e,client:h,browserWindow:x,pathname:f,userId:g}))return void L("assignment_capture_unavailable");e={...e,queued:!0},u.setItem(T,JSON.stringify(e))}if(u.getItem(T)!==JSON.stringify(e))return void L("assignment_not_retained");if(b||v!==j||N()-A>=9e4)return;x.clearTimeout(d),d=x.setTimeout(()=>L("outcomes_closed"),Math.min(i.end+864e5-N(),0x7fffffff)),B(e,"assigned")}catch(e){L("assignment_storage_failure")}}).catch(()=>L("assignment_lock_failure"))}catch(e){L("assignment_lock_failure")}},O=e=>{if(w&&(e.key===T||null===e.key))try{u.getItem(T)!==JSON.stringify(w)&&L("stored_assignment_changed")}catch(e){L("assignment_storage_failure")}},R=()=>{"visible"===F.visibilityState&&(w&&N()-A>=9e4&&L("flag_stale"),D())};i=x.setTimeout(()=>L("decision_timeout"),3e3);let P=()=>{var e,t;if(!b&&!y){if((null==p?void 0:p())!==g||(0,_.SO)(null==(e=x.location)?void 0:e.pathname)!==m.canonical_path)return void L("identity_changed");try{if(!(null==h?void 0:h.__loaded)||(null==(t=h.get_distinct_id)?void 0:t.call(h))!==g)return}catch(e){return}x.clearInterval(l);try{r=h.onFeatureFlags(M)}catch(e){L("flag_unavailable");return}D()}};return l=x.setInterval(P,50),P(),c=x.setInterval(D,6e4),x.addEventListener("storage",O),F.addEventListener("visibilitychange",R),()=>{for(let e of(b=!0,j+=1,[i,o,d]))x.clearTimeout(e);if(x.clearInterval(c),x.clearInterval(l),x.removeEventListener("storage",O),F.removeEventListener("visibilitychange",R),"function"==typeof r)try{r()}catch(e){}}}({client:N.Ay,browserWindow:window,pathname:"/",userId:s,getCurrentUserId:()=>o.current,onDecision:e=>{let{assignment:t}=e;return i({userId:s,assignment:t})}})},[t,s]),(0,r.useEffect)(()=>{let e;if(!h||!l.current)return;let t=h.assignment_id,a=e=>k({action:e,record:h,client:N.Ay,browserWindow:window,pathname:"/",userId:s,extra:"viewed"===e?{visible_fraction_threshold:.5}:{}});if(c.current.has(t)||(c.current.add(t),a("rendered")),d.current.has(t)||"function"!=typeof window.IntersectionObserver)return;let n=!0,r=()=>{null==e||e.disconnect(),!n||"visible"!==document.visibilityState||d.current.has(t)||(e=new window.IntersectionObserver(s=>{!(!n||"visible"!==document.visibilityState||d.current.has(t))&&s.some(e=>
1e.target===l.current&&e.isIntersecting&&e.intersectionRatio>=.5)&&(d.current.add(t),a("viewed"),null==e||e.disconnect())},{threshold:[0,.5]})).observe(l.current)};return r(),document.addEventListener("visibilitychange",r),()=>{n=!1,null==e||e.disconnect(),document.removeEventListener("visibilitychange",r)}},[h,s]);let f=e=>{if(!h||!s)return;let t=e.nativeEvent||e;m.current.has(t)||(m.current.add(t),function(e){let{event:t,record:s,client:a,browserWindow:n,pathname:r,userId:i}=e;try{var l;if(!s||t.defaultPrevented||!0!==t.isTrusted||("click"!==t.type||0!==t.button)&&("auxclick"!==t.type||1!==t.button))return!1;let e=n.crypto.randomUUID(),o="auxclick"===t.type||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||(null==(l=t.currentTarget)?void 0:l.target)==="_blank";k({action:"clicked",record:s,client:a,browserWindow:n,pathname:r,userId:i,extra:{click_id:e,interaction:o?"new_context_intent":"same_tab"}})}catch(e){return!1}}({event:e,record:h,client:N.Ay,browserWindow:window,pathname:"/",userId:s}))};return(0,a.jsxs)("div",{ref:l,className:"bg-white/10 backdrop-blur border border-white/20 rounded-xl p-6 hover:bg-white/15 transition-all",children:[(0,a.jsx)("div",{className:"flex items-center gap-2 mb-3",children:(0,a.jsx)("span",{className:"px-2 py-0.5 rounded text-xs font-medium bg-[#2563EB] text-white",children:"Popular"})}),(0,a.jsx)("h3",{className:"font-satoshi text-xl font-bold text-white",children:"Submit Your AI Tool"}),(0,a.jsx)("p",{className:"mt-2 text-sm font-dm-sans text-gray-300 leading-relaxed",children:"Homepage feature for 4 days. Launch posts on Twitter (24K) and LinkedIn (5K). Permanent dofollow backlink."}),(0,a.jsxs)("a",{href:"/friends/launch-tool",onClick:f,onAuxClick:f,style:{visibility:x?"visible":"hidden"},className:"mt-5 inline-flex items-center gap-2 w-full justify-center px-6 py-3 bg-[#2563EB] hover:bg-[#1D4ED8] text-white rounded-lg text-sm font-semibold font-dm-sans transition-colors",children:["test"===x?"List your tool on OpenTools":"Launch Your Tool",(0,a.jsx)(b.A,{className:"h-4 w-4"})]})]})}var L=s(38378);let I=(0,u.default)(()=>Promise.all([s.e(2944),s.e(1987),s.e(3190)]).then(s.bind(s,23190)).then(e=>{let t=e.default;return Promise.all([s.e(2944),s.e(2133),s.e(5096)]).then(s.bind(s,5096)).then(e=>({default:function(s){return(0,a.jsx)(t,{remarkPlugins:[e.default],...s})}}))}),{loadableGenerated:{webpack:()=>[5096]},ssr:!1,loading:()=>(0,a.jsx)("div",{className:"animate-pulse h-6 bg-gray-100 rounded"})}),T=(0,u.default)(()=>Promise.all([s.e(4030),s.e(9834)]).then(s.bind(s,99834)),{loadableGenerated:{webpack:()=>[99834]},ssr:!0}),D={searchTools:"AI Tools",searchLLMs:"AI Models",searchExperts:"Experts",searchResources:"Resources",searchMCPs:"MCP Servers",searchMCPServices:"MCP Services",searchOrganizations:"Companies",searchNews:"News",searchCategories:"Categories",searchUseCases:"Use Cases",getEntityDetails:"Details"},M=[{label:"AI Tools",href:"/tools"},{label:"MCP Servers",href:"/mcp"},{label:"Experts",href:"/experts"},{label:"Resources",href:"/resources"}],O=[{title:"AI Companies",href:"/organizations",count:"500+",subtitle:"listed",Icon:h.A},{title:"AI Models",href:"/llms",count:"100+",subtitle:"listed",Icon:x.A},{title:"MCP Servers",href:"/mcp",count:"200+",subtitle:"listed",Icon:f.A},{title:"AI Experts",href:"/experts",count:"10+",subtitle:"listed",Icon:g.A}];function R(e){var t,s;let{featuredTools:c=[],popularCategories:u=[],featuredResources:h=[],latestNews:x=[],directoryListing:f}=e,g=(0,i.useRouter)(),{data:N,status:_}=(0,l.useSession)(),[E,C]=(0,r.useState)(""),[F,k]=(0,r.useState)(""),[S,R]=(0,r.useState)([]),[P,q]=(0,r.useState)(!1),[z,H]=(0,r.useState)(!1),[U,W]=(0,r.useState)(!1),[G,K]=(0,r.useState)(null),[J,Y]=(0,r.useState)(!1),[Z,V]=(0,r.useState)(!1),[$,Q]=(0,r.useState)([]),X=(0,r.useRef)(null);(0,r.useEffect)(()=>()=>{var e;return null==(e=X.current)?void 0:e.abort()},[]),(0,r.useEffect)(()=>{(null==N?void 0:N.user)&&fetch("/api/search/ai").then(e=>e.json()).then(e=>{null!=e.remaining&&K(e.remaining)}).catch(()=>{})},[N]),(0,r.useEffect)(()=>{var e;if(!(null==N||null==(e=N.user)?void 0:e.id))return void Q([]);fetch("/api/favourites",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({user:N.user.id})}).then(e=>e.json()).then(e=>{Array.isArray(null==e?void 0:e.tools)&&Q(e.tools.map(e=>String(e.toolId)))}).catch(()=>{})},[null==N||null==(t=N.user)?void 0:t.id]);let ee=(0,r.useCallback)(async(e,t)=>{var s;if(!(null==N?void 0:N.user))return void g.push("/signin?callbackUrl="+encodeURIComponent(window.location.href));if(!(null==(s=N.user.verification)?void 0:s.verified))return void g.push("/verify-email");let a=String(e);Q(e=>t?[...e,a]:e.filter(e=>e!==a));try{if(!(await fetch("/api/favourites/manage",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tool:e,user:N.user.id,isFavourited:t})})).ok)throw Error("Favourite toggle failed")}catch(e){Q(e=>t?e.filter(e=>e!==a):[...e,a]),console.error(e)}},[N,g]),et=async()=>{await fetch("/api/search/ai",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({requestMore:!0})}
1),Y(!0)},es=(0,r.useCallback)(async e=>{if(!(null==N?void 0:N.user)){H(!0),V(!0);return}V(!1),X.current&&X.current.abort();let t=new AbortController;X.current=t,q(!0),H(!0),k(""),R([]),W(!1);try{let s=await fetch("/api/search/ai",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({query:e,mode:"search"}),signal:t.signal});if(!s.ok){let e=await s.json().catch(()=>({}));if(401===s.status)return void window.location.assign((0,o.Kc)());if("number"==typeof e.remaining&&K(e.remaining),429===s.status&&"attempt_limited"!==e.error||"rate_limited"===e.error){W(!0),q(!1);return}k(e.message||"Something went wrong. Please try again."),q(!1);return}let a="";if(await (0,n.z)(s.body,e=>{t.signal.aborted||("tools_used"===e.type?R(e.tools||[]):"content"===e.type?(a+=e.text||"",k(a)):"done"===e.type?"number"==typeof e.remaining&&K(e.remaining):"error"===e.type&&("number"==typeof e.remaining&&K(e.remaining),k(e.message||"Something went wrong. Please try again.")))}),t.signal.aborted)return;q(!1)}catch(e){t.signal.aborted||"AbortError"===e.name||(k("Something went wrong. Please try again."),q(!1))}},[N]),ea=()=>{X.current&&X.current.abort(),H(!1),k(""),R([]),q(!1)};return(0,a.jsxs)("div",{className:"min-h-screen bg-[#FAFAFA]",children:[(0,a.jsx)(w.default,{theme:"light"}),(0,a.jsx)("section",{className:"pt-28 pb-8 bg-[#FAFAFA]",children:(0,a.jsxs)("div",{className:"max-w-5xl mx-auto px-6 text-center",children:[(0,a.jsx)("p",{className:"mb-3 text-xs font-semibold font-dm-sans uppercase tracking-[0.18em] text-[#2563EB]",children:"AI tools directory"}),(0,a.jsx)("h1",{className:"font-satoshi text-4xl sm:text-5xl font-bold tracking-tight text-[#1A1A1A]",children:"What do you need AI to do?"}),(0,a.jsx)("p",{className:"mt-3 text-lg font-dm-sans text-[#6B7280] max-w-2xl mx-auto",children:"Search and compare 2,500+ curated AI tools by task, category, and pricing—plus models, MCP servers, experts, and practical guides."}),(0,a.jsxs)("form",{onSubmit:e=>{e.preventDefault();let t=E.trim();t&&es(t)},className:"mt-6 max-w-2xl mx-auto",children:[(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(p.A,{className:"absolute left-4 top-1/2 -translate-y-1/2 h-5 w-5 text-[#2563EB]"}),(0,a.jsx)("input",{type:"text",value:E,onChange:e=>C(e.target.value),placeholder:"Ask anything about AI tools, models, experts...",className:"w-full h-12 pl-12 pr-24 rounded-lg border border-[#E5E7EB] bg-white text-[#1A1A1A] placeholder:text-[#9CA3AF] focus:outline-none focus:ring-2 focus:ring-[#2563EB] focus:border-transparent font-dm-sans text-base"}),(0,a.jsx)("button",{type:"submit",disabled:P||!E.trim(),className:"absolute right-2 top-1/2 -translate-y-1/2 px-5 py-2 bg-[#2563EB] hover:bg-[#1D4ED8] disabled:opacity-50 text-white rounded-md text-sm font-medium font-dm-sans transition-colors",children:P?"Searching...":"Ask AI"})]}),!z&&(0,a.jsx)("p",{className:"mt-2 text-xs font-dm-sans text-[#9CA3AF]",children:"Try: “What are the best AI coding tools?” or “Compare Claude vs GPT-4” or “Find MCP servers for databases”"})]}),z&&(0,a.jsx)("div",{className:"mt-4 max-w-2xl mx-auto",children:(0,a.jsxs)("div",{className:"bg-white rounded-xl border border-[#E5E7EB] overflow-hidden",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between px-4 py-2.5 border-b border-[#F3F4F6] bg-[#FAFAFA]",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(p.A,{className:"h-4 w-4 text-[#2563EB]"}),(0,a.jsx)("span",{className:"text-xs font-medium font-dm-sans text-[#6B7280]",children:"AI-Powered Search"}),S.length>0&&(0,a.jsx)("div",{className:"flex gap-1 ml-1",children:S.map(e=>(0,a.jsx)("span",{className:"px-1.5 py-0.5 rounded text-[10px] font-medium bg-[#DBEAFE] text-[#2563EB] font-dm-sans",children:D[e]||e},e))})]}),(0,a.jsx)("button",{onClick:ea,className:"p-1 rounded hover:bg-[#F3F4F6] text-[#9CA3AF] hover:text-[#6B7280] transition-colors",children:(0,a.jsx)(v.A,{className:"h-4 w-4"})})]}),(0,a.jsxs)("div",{className:"px-5 py-4 max-h-[60vh] overflow-y-auto",children:[Z&&(0,a.jsxs)("div",{className:"text-center py-4",children:[(0,a.jsx)("p",{className:"font-dm-sans text-sm text-[#1A1A1A] mb-1",children:"AI search uses real-time AI to find answers across our knowledge graph."}),(0,a.jsx)("p",{className:"font-dm-sans text-xs text-[#6B7280] mb-4",children:"Sign in to get 5 free AI searches per day."}),(0,a.jsx)("button",{onClick:()=>window.location.assign((0,o.Kc)()),className:"px-5 py-2 bg-[#2563EB] hover:bg-[#1D4ED8] text-white rounded-lg text-sm font-medium font-dm-sans transition-colors",children:"Sign In to Search"}),(0,a.jsxs)("p",{className:"mt-3 text-xs font-dm-sans text-[#9CA3AF]",children:["Or browse tools directly on the ",(0,a.jsx)(d(),{href:"/tools",className:"text-[#2563EB] hover:underline",children:"tools page"}),"."]})]}),!Z&&U&&(0,a.jsxs)("div",{className:"text-center py-4",children:[(0,a.jsxs)("p",{className:"font-dm-sans text-sm text-[#1A1A1A] mb-2",children:["You've used all ",5," AI searches for today."]}),J?(0,a.jsx)("p",{className:"text-xs font-dm-sans text-[#6B7280]",children:"Request received! We'll be in touch. Try again tomorrow."}):(0,a.jsx)("button",{onClick:et,className:"px-4 py-2 bg-[#2563EB] hover:bg-[#1D4ED8] text-white rounded-lg text-sm font-medium font-dm-sans transition-colors",children:"Request More Searches"}),(0,a.jsxs)("p",{className:"mt-2 text-xs font-dm-sans text-[#9CA3AF]",children:["Or browse tools directly on the ",(0,a.jsx)(d(),{href:"/tools",className:"text-[#2563EB] hover:underline",children:"tools page"}),"."]})]}),!Z&&!U&&P&&!F&&(0,a.jsxs)("div",{className:"flex items-center gap-2 text-[#6B7280] font-dm-sans text-sm py-2",children:[(0,a.jsxs)("svg",{className:"animate-spin h-4 w-4 text-[#2563EB]",fill:"none",viewBox:"0 0 24 24",children:[(0,a.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,a.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})]}),(0,a.jsxs)("span",{children:["Searching across the knowledge graph",(0,a.jsx)("span",{className:"animate-pulse",children:"..."})]})]}),!Z&&!U&&F&&(0,a.jsx)("div",{className:"prose prose-sm max-w-none font-dm-sans text-[#1A1A1A] prose-headings:font-satoshi prose-headings:text-[#1A1A1A] prose-a:text-[#2563EB] prose-a:no-underline hover:prose-a:underline prose-strong:text-[#1A1A1A] prose-code:text-[#1A1A1A] prose-code:bg-[#F3F4F6] prose-code:px-1.5 prose-code:py-0.5 prose-code:rounded prose-code:text-sm prose-code:before:content-none prose-code:after:content-none prose-li:my-0.5",children:(0,a.jsx)(I,{children:F})}),!Z&&!U&&P&&F&&(0,a.jsx)("span",{className:"inline-block w-1.5 h-4 bg-[#2563EB] animate-pulse rounded-sm ml-0.5 align-text-bottom"})]}),!P&&(F||U)&&(0,a.jsxs)("div",{className:"px-4 py-2.5 border-t border-[#F3F4F6] bg-[#FAFAFA] flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[F&&(0,a.jsxs)(d(),{href:"/search?q=".concat(encodeURIComponent(E)),className:"text-xs font-dm-sans text-[#2563EB] hover:text-[#1D4ED8] flex items-center gap-1",children:["Continue in full search ",(0,a.jsx)(b.A,{className:"h-3 w-3"})]}),null!=G&&!U&&(0,a.jsxs)("span",{className:"text-[10px] font-dm-sans text-[#9CA3AF]",children:[G," searches left today"]})]}),(0,a.jsx)("button",{onClick:()=>{ea(),C("")},className:"text-xs font-dm-sans text-[#9CA3AF] hover:text-[#6B7280]",children:"New search"})]})]})}),!z&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"mt-4 flex flex-wrap gap-2 justify-center",children:M.map(e=>(0,a.jsx)(d(),{href:e.href,className:"px-4 py-2 rounded-full text-sm font-medium font-dm-sans border border-[#
1E5E7EB] text-[#1A1A1A] bg-white hover:border-[#D1D5DB] hover:shadow-sm transition-all",children:e.label},e.label))}),(0,a.jsx)("p",{className:"mt-4 text-xs font-dm-sans text-[#9CA3AF]",children:"782K+ monthly visitors \xb7 2,500+ tools \xb7 120+ successful launches"})]})]})}),(0,a.jsx)("section",{className:"py-8 bg-white border-y border-[#E5E7EB]",children:(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-6",children:[(0,a.jsx)("h2",{className:"font-satoshi text-xl font-bold text-[#1A1A1A] mb-5 text-center",children:"Explore the AI Ecosystem"}),(0,a.jsx)("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-4",children:O.map(e=>(0,a.jsxs)(d(),{href:e.href,className:"bg-white border border-[#E5E7EB] rounded-xl p-5 hover:shadow-md hover:border-[#D1D5DB] transition-all group flex items-center gap-3",children:[(0,a.jsx)(e.Icon,{className:"h-7 w-7 text-[#6B7280] group-hover:text-[#2563EB] transition-colors flex-shrink-0"}),(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("h3",{className:"font-satoshi font-semibold text-[#1A1A1A] text-sm",children:e.title}),(0,a.jsxs)("p",{className:"text-xs font-dm-sans text-[#9CA3AF]",children:[e.count," ",e.subtitle]})]}),(0,a.jsx)(b.A,{className:"h-4 w-4 text-[#9CA3AF] ml-auto flex-shrink-0 group-hover:text-[#2563EB] transition-colors"})]},e.title))})]})}),u.length>0&&(0,a.jsx)("section",{className:"py-8 bg-[#FAFAFA]",children:(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-6",children:[(0,a.jsxs)("div",{className:"text-center mb-5",children:[(0,a.jsx)("h2",{className:"font-satoshi text-xl font-bold text-[#1A1A1A]",children:"Browse AI tools by category"}),(0,a.jsx)("p",{className:"mt-1 text-sm font-dm-sans text-[#6B7280]",children:"Start with the job, then compare tools, pricing, and alternatives within that category."})]}),(0,a.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-3",children:u.map(e=>(0,a.jsxs)(d(),{href:"/categories/".concat(e.slug),className:"bg-white border border-[#E5E7EB] rounded-xl p-4 hover:shadow-md hover:border-[#D1D5DB] transition-all group",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,a.jsx)("h3",{className:"font-satoshi font-semibold text-sm text-[#1A1A1A] group-hover:text-[#2563EB] transition-colors",children:e.name}),(0,a.jsx)(b.A,{className:"h-4 w-4 text-[#9CA3AF] flex-shrink-0 group-hover:text-[#2563EB] transition-colors"})]}),(0,a.jsxs)("p",{className:"mt-1 text-xs font-dm-sans text-[#9CA3AF]",children:[e.count.toLocaleString()," tools"]})]},e.slug))}),(0,a.jsxs)("div",{className:"mt-5 flex flex-wrap items-center justify-center gap-x-5 gap-y-2",children:[(0,a.jsxs)(d(),{href:"/categories",className:"text-sm font-dm-sans font-medium text-[#2563EB] hover:text-[#1D4ED8] flex items-center gap-1",children:["Browse all categories ",(0,a.jsx)(b.A,{className:"h-3.5 w-3.5"})]}),(0,a.jsxs)(d(),{href:"/tools",className:"text-sm font-dm-sans font-medium text-[#2563EB] hover:text-[#1D4ED8] flex items-center gap-1",children:["View all AI tools ",(0,a.jsx)(b.A,{className:"h-3.5 w-3.5"})]})]})]})}),(0,a.jsx)("section",{"aria-labelledby":"home-featured-tools",className:"py-8 bg-[#FAFAFA]",children:(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-6",children:[(0,a.jsxs)("div",{className:"flex flex-col items-center gap-1 mb-5",children:[(0,a.jsx)("h2",{id:"home-featured-tools",className:"font-satoshi text-xl font-bold text-[#1A1A1A]",children:"Featured Tools"}),(0,a.jsxs)(d(),{href:"/tools",className:"text-sm font-dm-sans text-[#2563EB] hover:text-[#1D4ED8] flex items-center gap-1",children:["View all ",(0,a.jsx)(b.A,{className:"h-3.5 w-3.5"})]})]}),c.length>0?(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-5",children:c.map(e=>(0,a.jsx)(y.default,{tool:e,isFavourited:$.includes(String(e.id||e._id)),onFavouriteToggle:ee},e._id||e.slug))}):(0,a.jsx)("p",{className:"text-center text-sm font-dm-sans text-[#6B7280] py-6",children:"No featured tools available right now."})]})}),h.length>0&&(0,a.jsx)("section",{className:"py-8 bg-white border-y border-[#E5E7EB]",children:(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-6",children:[(0,a.jsxs)("div",{className:"flex items-baseline justify-between mb-5",children:[(0,a.jsx)("h2",{className:"font-satoshi text-xl font-bold text-[#1A1A1A]",children:"Guides & Resources"}),(0,a.jsxs)(d(),{href:"/resources",className:"text-sm font-dm-sans font-medium text-[#2563EB] hover:text-[#1D4ED8] flex items-center gap-1",children:["View all ",(0,a.jsx)(b.A,{className:"h-3.5 w-3.5"})]})]}),(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-5",children:h.map(e=>(0,a.jsx)(j.default,{resource:e},e._id||e.slug))})]})}),(0,a.jsx)("section",{className:"py-10 bg-gradient-to-b from-[#1E3A5F] to-[#0F172A]",children:(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-6",children:[(0,a.jsxs)("div",{className:"text-center mb-8",children:[(0,a.jsx)("p",{className:"text-sm font-dm-sans text-blue-300 font-medium uppercase tracking-wider",children:"For AI Builders"}),(0,a.jsx)("h2",{className:"font-satoshi text-2xl sm:text-3xl font-bold text-white mt-2",children:"Get your product in front of 782K+ monthly visitors"}),(0,a.jsx)("p",{className:"mt-2 text-sm font-dm-sans text-gray-400 max-w-xl mx-auto",children:"120+ tools have launched on OpenTools. DA 70. 1,700 linking root domains. Real results, not vanity metrics."})]}),(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-5 max-w-4xl mx-auto",children:[(0,a.jsx)(B,{authStatus:_,userId:"authenticated"===_?null==N||null==(s=N.user)?void 0:s.id:void 0}),(0,a.jsxs)("div",{className:"bg-white/10 backdrop-blur border border-white/20 rounded-xl p-6 hover:bg-white/15 transition-all",children:[(0,a.jsx)("div",{className:"flex items-center gap-2 mb-3",children:(0,a.jsx)("span",{className:"px-2 py-0.5 rounded text-xs font-medium bg-emerald-600 text-white",children:"New"})}),(0,a.jsx)("h3",{className:"font-satoshi text-xl font-bold text-white",children:"List Your Agency or Expertise"}),(0,a.jsx)("p",{className:"mt-2 text-sm font-dm-sans text-gray-300 leading-relaxed",children:"Get found by companies searching for AI implementation help. Full profile, case studies, reviews."}),(0,a.jsxs)(d(),{href:"/experts/create",className:"mt-5 inline-flex items-center gap-2 w-full justify-center px-6 py-3 bg-white/10 hover:bg-white/20 border border-white/30 text-white rounded-lg text-sm font-semibold font-dm-sans transition-colors",children:["Get Listed ",(0,a.jsx)(b.A,{className:"h-4 w-4"})]})]})]}),(0,a.jsxs)("div",{className:"mt-8 flex flex-col sm:flex-row items-center justify-center gap-4 sm:gap-8 text-xs font-dm-sans text-gray-400",children:[(0,a.jsx)("span",{children:"“OpenTools connected us with a high-intent audience” — Yoav, Guidde"}),(0,a.jsx)("span",{className:"hidden sm:block text-gray-600",children:"|"}),(0,a.jsx)("span",{children:"“74 signups, 18 installs, $4K+ ARR from one campaign”"})]})]})}),x.length>0&&(0,a.jsx)("section",{className:"py-8 bg-white border-y border-[#
1E5E7EB]",children:(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-6",children:[(0,a.jsxs)("div",{className:"flex items-baseline justify-between mb-5",children:[(0,a.jsx)("h2",{className:"font-satoshi text-xl font-bold text-[#1A1A1A]",children:"Latest from the Community"}),(0,a.jsxs)(d(),{href:"/news",className:"text-sm font-dm-sans font-medium text-[#2563EB] hover:text-[#1D4ED8] flex items-center gap-1",children:["More news ",(0,a.jsx)(b.A,{className:"h-3.5 w-3.5"})]})]}),(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-5",children:x.map(e=>(0,a.jsxs)(d(),{href:"/news/".concat(e.slug),className:"bg-white border border-[#E5E7EB] rounded-xl overflow-hidden hover:shadow-md hover:border-[#D1D5DB] transition-all group flex flex-col",children:[e.thumbnail_image&&(0,a.jsx)("div",{className:"relative h-36 w-full bg-[#FAFAFA]",children:(0,a.jsx)(m.default,{src:(0,L.h2)(e.thumbnail_image),alt:e.headline||"",fill:!0,className:"object-cover"})}),(0,a.jsxs)("div",{className:"p-4 flex-1",children:[(0,a.jsx)("h3",{className:"font-satoshi font-semibold text-[#1A1A1A] text-sm line-clamp-2 group-hover:text-[#2563EB] transition-colors",children:e.headline}),e.summary&&(0,a.jsx)("p",{className:"mt-1 text-xs font-dm-sans text-[#6B7280] line-clamp-2",children:e.summary}),(0,a.jsxs)("div",{className:"mt-2 flex items-center gap-2 text-xs font-dm-sans text-[#9CA3AF]",children:[e.date_posted&&(0,a.jsx)("time",{children:new Date(e.date_posted).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})}),e.source_platform&&(0,a.jsx)("span",{className:"capitalize",children:e.source_platform})]})]})]},e._id||e.slug))})]})}),(0,a.jsx)("section",{className:"py-8 bg-[#FAFAFA]",children:(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-6",children:[(0,a.jsx)("h2",{className:"font-satoshi text-xl font-bold text-[#1A1A1A] mb-6",children:"Explore All Tools"}),(0,a.jsx)(T,{headerText:!1,...f})]})}),(0,a.jsx)(A.A,{})]})}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.