PageSourceSearch

https://answersocrates.com/_next/static/chunks/8287-babda9ff52b655f5.js?dpl=dpl_2M1J3dcq4GrN7iJQpe37e7ZbMVD6

js answersocrates.com collected 2026-10-02 03:44:58 UTC 12,924 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8287],{3697:(e,t,r)=>{"use strict";let a;r.d(t,{TRPCErrorInterceptor:()=>y,TRPCReactProvider:()=>g,F:()=>f});var n=r(30955),i=r(54978),s=r(89118),c=r(31891),o=r(48219),l=r(15579),u=r(75913),d=r(5908),m=r(81665),p=r(13879),h=r(5345);r(78728);let f=(0,c.pY)();function g(e){let t=null!=a?a:a=new p.E({defaultOptions:{queries:{staleTime:3e4},dehydrate:{serializeData:l.Ay.serialize,shouldDehydrateQuery:e=>(0,h.XS)(e)||"pending"===e.state.status},hydrate:{deserializeData:l.Ay.deserialize}}}),[r]=(0,o.useState)(()=>f.createClient({links:[(0,s.$H)({enabled:e=>"down"===e.direction&&e.result instanceof Error}),(0,s.hf)({condition:e=>!0===e.context.stream,true:(0,s.kM)({transformer:l.Ay,url:"".concat(x(),"/api/trpc"),headers:()=>{let e=new Headers;return e.set("x-trpc-source","nextjs-react"),e},fetch:(e,t)=>fetch(e,{...t,credentials:"include"})}),false:(0,s.hf)({condition:e=>!0===e.context.skipBatch,true:(0,s.Lb)({transformer:l.Ay,url:x()+"/api/trpc",headers:()=>{let e=new Headers;return e.set("x-trpc-source","nextjs-react"),e},fetch:(e,t)=>fetch(e,{...t,credentials:"include"})}),false:(0,s.fu)({transformer:l.Ay,url:x()+"/api/trpc",headers:()=>{let e=new Headers;return e.set("x-trpc-source","nextjs-react"),e},fetch:(e,t)=>fetch(e,{...t,credentials:"include"})})})})]}));return(0,n.jsx)(i.Ht,{client:t,children:(0,n.jsx)(f.Provider,{client:r,queryClient:t,children:e.children})})}function x(){return window.location.origin}function y(e){let{children:t}=e,r=(0,u.useSetAtom)(m.lz),a=(0,i.jE)(),s=(0,d.wV)();return(0,o.useEffect)(()=>{if("loading"===s.status)return;let e=a.getMutationCache().subscribe(e=>{var t;("updated"!==e.type||"error"!==e.action.type?1:(null==(t=e.action.error.data)?void 0:t.code)!=="UNAUTHORIZED")?(e=>{var t;if("updated"!==e.type||"success"!==e.action.type)return!1;let r=e.mutation;if(!(null==r||null==(t=r.options)?void 0:t.mutationKey))return!1;let a="",n=r.options.mutationKey;if(Array.isArray(n)&&n.length>0){let e=n[0];Array.isArray(e)&&e.length>=2&&(a="".concat(e[0],".").concat(e[1]))}return!!a&&["semanticKeywords.search","deepSeekKeywords.search","lsiKeywords.search","longTailKeywords.generate","saasKeywords.generate","textSummarizer.summarize","aiContentDetector.detect","humanizeAiContent.humanize","aiRewriter.rewrite","paragraphExpander.expand","blogConclusionGenerator.generate","facebookPostGenerator.generate","llmBrandTracker.track","contentCalendarGenerator.generate","keywordExtractor.extract","entityExtractor.extract","seoTitleGenerator.generate","youtubeTitle.generate","tikTokTitle.generate"].includes(a)})(e)&&"unauthenticated"===s.status&&setTimeout(()=>{r(!0)},1e3):r(!0)});return()=>{e()}},[a,r,s.status]),(0,n.jsx)(n.Fragment,{children:t})}},8287:(e,t,r)=>{Promise.resolve().then(r.bind(r,36179))},36179:(e,t,r)=>{"use strict";r.d(t,{default:()=>x});var a=r(30955),n=r(95659),i=r(38318),s=r(47389),c=r(36482),o=r(48219),l=r(44012),u=r(96523),d=r(65261),m=r(3697);let p=e=>{var t,r;let{onGenerate:i,isLoading:s}=e,c=(0,n.c)("blogConclusion"),[p,h]=(0,o.useState)(""),f=m.F.userLimits.getPlanInfo.useQuery(),g=(null==(t=f.data)?void 0:t.Tier)&&(null==(r=f.data)?void 0:r.Tier)!=="Free",x=g?5e3:1e3,y=c(g?"paidUserLimit":"freeUserLimit");return(0,a.jsx)(d.Z,{children:(0,a.jsx)("form",{onSubmit:e=>{e.preventDefault(),p.trim()&&i(p)},className:"space-y-4",children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("label",{htmlFor:"blogContent",className:"mb-2 block text-sm font-medium text-white",children:c("blogContentLabel")}),(0,a.jsx)(u.R,{value:p,onChange:h,maxLength:x,placeholder:c("inputPlaceholder")}),(0,a.jsxs)("div",{className:"mt-3 flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(l.n,{count:p.length,max:x,label:c("characters"),planLabel:y}),!g&&(0,a.jsx)("span",{className:"ml-2 inline-flex items-center rounded-md bg-socrates-600 px-2 py-1 text-xs font-medium text-white ring-1 ring-inset ring-socrates-400/30 transition-all duration-200 hover:bg-socrates-500",children:c("paidUpsell")})]}),(0,a.jsx)("button",{type:"submit",disabled:s||!p.trim(),className:"btn-cta rounded-lg px-6 py-3 font-medium disabled:opacity-50",children:c(s?"generating":"generateConclusion")})]})]})})})};var h=r(73945),f=r(48534);function g(){let e=(0,n.c)("blogConclusion"),{data:t,isLoading:r,error:i,generate:l}=(()=>{let[e,t]=(0,o.useState)(null),[r,a]=(0,o.useState)(!1),[n,i]=(0,o.useState)(null),{recordBlogConclusionGenerator:s}=(0,h.v)(),{mutateAsync:c}=m.F.blogConclusionGenerator.generate.useMutation({onSuccess:async e=>{for await(let r of(s(),e)){let e=(0,f.w)(r);"blog-conclusion-generator"===e.type?t(e.data):"error"===e.type&&i(Error(e.data.error))}},onError:e=>{i(e instanceof Error?e:Error("An error occurred"))},onSettled:()=>{a(!1)}
1,trpc:{context:{stream:!0}}});return{data:e,isLoading:r,error:n,generate:async e=>{a(!0),i(null),t(null),c({blogContent:e})}}})(),[u,d]=(0,o.useState)(!1),g=async()=>{(null==t?void 0:t.conclusion)&&(await navigator.clipboard.writeText(t.conclusion),d(!0),setTimeout(()=>d(!1),2e3))};return(0,a.jsxs)("div",{className:"w-full space-y-6",children:[(0,a.jsx)(p,{onGenerate:l,isLoading:r}),i&&(0,a.jsx)("div",{className:"rounded-lg bg-red-500 p-4 text-pure",children:i.message}),(null==t?void 0:t.conclusion)&&(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{className:"flex justify-end gap-2",children:(0,a.jsxs)("button",{onClick:g,className:"flex items-center gap-2 rounded-lg bg-socrates-500 px-4 py-2 text-white hover:bg-socrates-600",children:[u?(0,a.jsx)(s.A,{className:"h-4 w-4"}):(0,a.jsx)(c.A,{className:"h-4 w-4"}),e(u?"copied":"copy")]})}),(0,a.jsxs)("div",{className:"rounded-lg bg-socrates-600 p-6 text-white",children:[(0,a.jsx)("h3",{className:"mb-4 text-xl font-medium",children:e("resultTitle")}),(0,a.jsx)("div",{className:"whitespace-pre-wrap text-white",children:t.conclusion})]})]})]})}let x=()=>{let e=(0,n.c)("blogConclusion");return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.A,{}),(0,a.jsxs)("div",{className:"bg-surface-gradient flex min-h-screen flex-col items-center gap-14 p-6 font-inter",children:[(0,a.jsxs)("section",{className:"mt-4 flex flex-col items-center text-center",children:[(0,a.jsx)("h1",{className:"font-serif text-4xl font-medium tracking-normal text-white antialiased md:text-5xl",children:e("heroTitle")}),(0,a.jsx)("h2",{className:"mx-4 mt-4 font-sans text-lg font-medium italic leading-8 text-white antialiased md:mx-8 md:text-2xl md:leading-10 lg:mx-56",children:e("heroSubtitle")})]}),(0,a.jsx)("div",{className:"mx-auto w-full max-w-5xl space-y-6",children:(0,a.jsx)(g,{})})]})]})}},38318:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var a=r(30955),n=r(72689);function i(){return(0,a.jsx)(n.default,{id:"software-application-schema",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"SoftwareApplication","@id":"https://answersocrates.com/#softwareapplication",name:"Answer Socrates",description:"Answer Socrates is a web‑based keyword research and clustering platform that helps marketers discover fresh content ideas, analyse search intent, and organise keywords into actionable clusters.",applicationCategory:"SEOApplication",applicationSubCategory:"KeywordResearch",operatingSystem:"Web",softwareVersion:"2.1.0",datePublished:"2023-04-15",featureList:["SEO keyword research","Unlimited keyword discovery","Keyword clustering","Automatic topical clustering","Unlimited CSV exports of keywords","Keyword search volume and competition metrics","Free daily searches"],offers:[{"@type":"Offer",name:"Free Plan",price:"0",priceCurrency:"USD",description:"3 keyword searches per day, basic clustering",isAccessibleForFree:"True",availability:"https://schema.org/InStock"},{"@type":"Offer",name:"Socrates Lite",price:"15",priceCurrency:"USD",priceSpecification:{"@type":"UnitPriceSpecification",price:"15",priceCurrency:"USD",billingDuration:"P1M",unitText:"per month"},description:"100 keyword searches • 30 recursive searches • 3 000 cluster credits per month",availability:"https://schema.org/InStock"},{"@type":"Offer",name:"Seneca",price:"29",priceCurrency:"USD",priceSpecification:{"@type":"UnitPriceSpecification",price:"29",priceCurrency:"USD",billingDuration:"P1M",unitText:"per month"},description:"500 keyword searches • 100 recursive searches • 12 000 cluster credits per month",availability:"https://schema.org/InStock"},{"@type":"Offer",name:"Aurelius",price:"49",priceCurrency:"USD",priceSpecification:{"@type":"UnitPriceSpecification",price:"49",priceCurrency:"USD",billingDuration:"P1M",unitText:"per month"},description:"Unlimited keyword searches • 500 recursive searches • 40 000 cluster credits per month",availability:"https://schema.org/InStock"}
1],hasOfferCatalog:{"@id":"https://answersocrates.com/#pricing"},aggregateRating:{"@type":"AggregateRating",ratingValue:"4.8",ratingCount:"137"},publisher:{"@id":"https://answersocrates.com/#organization"},provider:{"@id":"https://answersocrates.com/#organization"}})}})}},44012:(e,t,r)=>{"use strict";r.d(t,{n:()=>n});var a=r(30955);function n(e){let{count:t,max:r,label:n="Characters",planLabel:i}=e,s=t/r*100;return(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm",children:[(0,a.jsx)("div",{className:"h-2 w-2 rounded-full ".concat(s>=95?"bg-red-500":s>=80?"bg-yellow-500":"bg-blue-400")}),(0,a.jsxs)("span",{className:"text-white",children:[t.toLocaleString()," / ",r.toLocaleString()," ",n,i&&(0,a.jsx)("span",{className:"ml-1 text-white",children:i})]})]})}},48534:(e,t,r)=>{"use strict";r.d(t,{w:()=>a});let a=e=>{let[t,r]=(null!=e?e:"").split("\n");if(!(null==t?void 0:t.startsWith("event: "))||!(null==r?void 0:r.startsWith("data: ")))return{type:"unknown",data:null};let a=t.replace("event: ","");try{return{type:a,data:JSON.parse(r.replace("data: ",""))}}catch(e){return{type:"unknown",data:null}}}},65261:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var a=r(30955);function n(e){let{children:t,className:r=""}=e;return(0,a.jsx)("div",{className:"rounded-lg bg-socrates-600 p-6 shadow-lg ".concat(r),children:t})}},73945:(e,t,r)=>{"use strict";r.d(t,{v:()=>i});var a=r(37807),n=r(3697);function i(){let e=n.F.featureUsage.recordUsage.useMutation(),t=(0,a.Ym)();return{recordKeywordSearch:()=>{e.mutate({feature:"KEYWORD_SEARCH",uiLocale:t})},recordJevKeywordTool:r=>{var a,n;e.mutate({feature:"JEV_KEYWORD_TOOL",uiLocale:t,searchLocation:null!=(a=null==r?void 0:r.location)?a:void 0,searchLanguage:null!=(n=null==r?void 0:r.language)?n:void 0})},recordKeywordCluster:()=>{e.mutate({feature:"KEYWORD_CLUSTER",uiLocale:t})},recordKeywordRecursive:()=>{e.mutate({feature:"KEYWORD_RECURSIVE"})},recordKeywordPA:()=>{e.mutate({feature:"KEYWORD_PA"})},recordKeywordSocialMedia:()=>{e.mutate({feature:"KEYWORD_SOCIAL_MEDIA"})},recordSemanticKeywords:()=>{e.mutate({feature:"SEMANTIC_KEYWORDS"})},recordLSIKeywords:()=>{e.mutate({feature:"LSI_KEYWORDS"})},recordStatsGeneration:()=>{e.mutate({feature:"STATS_GENERATION"})},recordKeywordSheeter:()=>{e.mutate({feature:"KEYWORD_SHEETER"})},recordDeepSeekKeywords:()=>{e.mutate({feature:"DEEPSEEK_KEYWORDS"})},recordYoutubeTitle:()=>{e.mutate({feature:"YOUTUBE_TITLE"})},recordSeoTitle:()=>{e.mutate({feature:"SEO_TITLE"})},recordTikTokTitle:()=>{e.mutate({feature:"TIKTOK_TITLE"})},recordKeywordExtractor:()=>{e.mutate({feature:"KEYWORD_EXTRACTOR"})},recordEntityExtractor:()=>{e.mutate({feature:"ENTITY_EXTRACTOR"})},recordTextSummarizer:()=>{e.mutate({feature:"TEXT_SUMMARIZER"})},recordAiContentDetector:()=>{e.mutate({feature:"AI_CONTENT_DETECTOR"})},recordHumanizeAiContent:()=>{e.mutate({feature:"HUMANIZE_AI_CONTENT"})},recordFacebookPost:()=>{e.mutate({feature:"FACEBOOK_POST"})},recordLLMBrandTracker:()=>{e.mutate({feature:"LLM_BRAND_TRACKER"})},recordLongTailKeywordGenerator:()=>{e.mutate({feature:"LONG_TAIL_KEYWORD_GENERATOR"})},recordContentCalendarGenerator:()=>{e.mutate({feature:"CONTENT_CALENDAR_GENERATOR"})},recordAiRewriter:()=>{e.mutate({feature:"AI_REWRITER"})},recordParagraphExpander:()=>{e.mutate({feature:"PARAGRAPH_EXPANDER"})},recordBlogConclusionGenerator:()=>{e.mutate({feature:"BLOG_CONCLUSION_GENERATOR"})},recordSaasKeywordGenerator:()=>{e.mutate({feature:"SAAS_KEYWORD_GENERATOR"})}}}},81665:(e,t,r)=>{"use strict";r.d(t,{lz:()=>i,pw:()=>s});var a=r(28061);let n=(0,a.eU)(!1),i=(0,a.eU)(null,(e,t,r)=>{t(n,r)}),s=(0,a.eU)(e=>e(n))},96523:(e,t,r)=>{"use strict";r.d(t,{R:()=>n});var a=r(30955);function n(e){let{value:t,onChange:r,maxLength:n,placeholder:i,height:s="min-h-[5rem] md:min-h-[10rem]",resizable:c=!0}=e;return(0,a.jsx)("textarea",{value:t,onChange:e=>r(e.target.value),className:"".concat(s," w-full ").concat(c?"resize-vertical":"resize-none"," field rounded-lg p-4 text-white placeholder-socrates-300 outline-none transition-all"),placeholder:i,maxLength:n})}}}]);

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.