PageSourceSearch

https://inblog.ai/_next/static/chunks/pages/[site]/llms.txt-3b6c9bf166da4a7a.js

js inblog.ai collected 2026-10-01 12:07:02 UTC 3,335 bytes, 33 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a0f74f-57d8-74b2-9f49-23497c104a54")}catch(e){}}();(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[83560],{11186:(t,e,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[site]/llms.txt",function(){return i(86534)}])},20807:(t,e,i)=>{"use strict";i.d(e,{U:()=>n});var s=i(97512);function n(t){return(0,s.F)(t)}},54741:(t,e,i)=>{"use strict";i.d(e,{Jf:()=>n,Tn:()=>o,iy:()=>r});var s=i(20807);let n=t=>!!t.trailing_slash&&!!((t.custom_domain||t.custom_subdirectory)&&t.custom_domain_verified&&(0,s.U)(t).isPaidBlog&&"Subdirectory"===t.custom_domain_type),r=t=>`https://${(t.custom_domain||t.custom_subdirectory)&&t.custom_domain_verified&&(0,s.U)(t).isPaidBlog?"Subdirectory"===t.custom_domain_type?t.custom_subdirectory:t.custom_domain:t.subdomain+".inblog.io"}`,o=(t,e="")=>{let i=`${r(t)}${e}`;return n(t)?i.endsWith("/")?i:`${i}/`:i}},86534:(t,e,i)=>{"use strict";i.r(e),i.d(e,{__N_SSP:()=>n,default:()=>o,generateLlmsTxt:()=>r});var s=i(54741),n=!0;let r=async(t,e)=>{let i={subdomain:e};e.includes(".")&&(i={custom_domain:e,custom_domain_verified:!0});let{data:n,error:r}=await t.from("blogs").select(`
2        id,
3        title,
4        description,
5        subdomain,
6        custom_domain,
7        custom_subdirectory,
8        custom_domain_verified,
9        custom_domain_type,
10        trailing_slash,
11        plan,
12        custom_trial_ends_at,
13        subscription_created_at,
14        tags (
15          title,
16          slug
17        )
18      `).match(i).single();if(!n)return"";let{data:o,error:a}=await t.from("posts").select(`
19      slug,
20      title,
21      description,
22      tags (
23        title,
24        slug
25      )
26    `).eq("blog_id",n?.id).eq("published",!0).eq("noindex",!1).lte("published_at",new Date().toISOString()).order("published_at",{ascending:!1});if(a)return console.error("Error fetching posts for llms.txt:",a),"";let l=`# ${n.title||e}`,u=n.description?`> ${n.description.replace(/[\n\r]/g," ")}`:"",d=n.tags&&n.tags.length>0?`## Categories
27
28`+n.tags.map(t=>{let e=(0,s.Tn)(n,`/category/${t.slug}`);return`- [${t.title}](${e})`}).join("\n"):"",c={},_=[];o&&o.forEach(t=>{t.tags&&t.tags.length>0?t.tags.forEach(e=>{c[e.title]||(c[e.title]=[]),c[e.title].push(t)}):_.push(t)});let m=t=>{let e=(0,s.Tn)(n,`/${t.slug}`),i=t.title?t.title.replace(/[\n\r]/g," "):"Untitled",r=t.description?`: ${t.description.replace(/[\n\r]/g," ")}`:"";return`- [${i}](${e})${r}`};return[l,u,d,Object.entries(c).map(([t,e])=>{if(!e)return"";let i=e.map(m).join("\n");return`## Posts in ${t}
29
30${i}`}).join("\n\n"),_.length>0?`## Other Posts
31
32`+_.map(m).join("\n"):""].filter(Boolean).join("\n\n")},o=()=>{}},97512:(t,e,i)=>{"use strict";function s(t){return!!(!t.subscription_created_at&&t.custom_trial_ends_at&&new Date<new Date(t.custom_trial_ends_at))}function n(t){let{custom_trial_ends_at:e,subscription_created_at:i,plan:s}=t;return e&&new Date<=new Date(e)||i?{plan:s||null,isPaidBlog:!0}:{plan:null,isPaidBlog:!1}}i.d(e,{F:()=>n,M:()=>s})}},t=>{t.O(0,[90636,46593,38792],()=>t(t.s=11186)),_N_E=t.O()}]);
33//# chunkId=01a0f74f-57d8-74b2-9f49-23497c104a54

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.