PageSourceSearch

https://inblog.ai/_next/static/chunks/pages/[site]/robots.txt-832cae6c738e4ee0.js

js inblog.ai collected 2026-09-24 09:48:07 UTC 2,709 bytes, 25 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]="01a0ce64-55c8-7db3-85bc-95ba1171b979")}catch(e){}}();(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[12239],{20807:(t,s,i)=>{"use strict";i.d(s,{U:()=>e});var o=i(97512);function e(t){return(0,o.F)(t)}},54741:(t,s,i)=>{"use strict";i.d(s,{Jf:()=>e,Tn:()=>r,iy:()=>a});var o=i(20807);let e=t=>!!t.trailing_slash&&!!((t.custom_domain||t.custom_subdirectory)&&t.custom_domain_verified&&(0,o.U)(t).isPaidBlog&&"Subdirectory"===t.custom_domain_type),a=t=>`https://${(t.custom_domain||t.custom_subdirectory)&&t.custom_domain_verified&&(0,o.U)(t).isPaidBlog?"Subdirectory"===t.custom_domain_type?t.custom_subdirectory:t.custom_domain:t.subdomain+".inblog.io"}`,r=(t,s="")=>{let i=`${a(t)}${s}`;return e(t)?i.endsWith("/")?i:`${i}/`:i}},75392:(t,s,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[site]/robots.txt",function(){return i(89687)}])},89687:(t,s,i)=>{"use strict";i.r(s),i.d(s,{__N_SSP:()=>a,default:()=>u,generateRobotsTxt:()=>r});var o=i(20807),e=i(54741),a=!0;let r=async(t,s)=>{let i={subdomain:s};s.includes(".")&&(i={custom_domain:s,custom_domain_verified:!0});let{data:a,error:r}=await t.from("blogs").select(`
2        id,
3        subdomain,
4        custom_domain,
5        custom_subdirectory,
6        custom_domain_verified,
7        custom_domain_type,
8        custom_trial_ends_at,
9        subscription_created_at,
10        robots_txt,
11        plan,
12        tags (
13          slug,
14          created_at
15        ),
16        updated_at
17      `).match(i).single();if(r)throw Error(`Robots blog lookup failed: ${r.message}`);return a?(0,o.U)(a).isPaidBlog&&a.robots_txt?a.robots_txt:`User-agent: *
18Allow: /
19${(0,o.U)(a).isPaidBlog&&a?.custom_subdirectory&&a.custom_domain_verified&&!a.custom_subdirectory.startsWith("inblog.ai")&&a.custom_subdirectory.includes("/")?`
20Sitemap: https://${a.custom_subdirectory.split("/")[0]}/sitemap.xml`:""}
21Sitemap: ${(0,e.iy)(a)}/sitemap.xml
22
23# You can edit this file here: https://inblog.ai/dashboard/${a.subdomain}/settings#robots
24`:""},u=()=>{}},97512:(t,s,i)=>{"use strict";function o(t){return!!(!t.subscription_created_at&&t.custom_trial_ends_at&&new Date<new Date(t.custom_trial_ends_at))}function e(t){let{custom_trial_ends_at:s,subscription_created_at:i,plan:o}=t;return s&&new Date<=new Date(s)||i?{plan:o||null,isPaidBlog:!0}:{plan:null,isPaidBlog:!1}}i.d(s,{F:()=>e,M:()=>o})}},t=>{t.O(0,[90636,46593,38792],()=>t(t.s=75392)),_N_E=t.O()}]);
25//# chunkId=01a0ce64-55c8-7db3-85bc-95ba1171b979

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.