Files
2026-01-18 20:39:34 +08:00

16 lines
7.1 KiB
JavaScript

(()=>{var e={};e.id=784,e.ids=[784],e.modules={2877:(e,t,r)=>{"use strict";r.r(t),r.d(t,{patchFetch:()=>h,routeModule:()=>m,serverHooks:()=>g,workAsyncStorage:()=>v,workUnitAsyncStorage:()=>f});var o={};r.r(o),r.d(o,{GET:()=>p,dynamic:()=>u});var i=r(96559),n=r(48088),a=r(37719),s=r(32190),l=r(16939),d=r.n(l);let u="force-static";var c=r(12127);async function p(){let e=await {rules:{userAgent:"*",allow:"/"},sitemap:`${d().siteUrl}/sitemap.xml`,host:d().siteUrl},t=(0,c.resolveRouteData)(e,"robots");return new s.NextResponse(t,{headers:{"Content-Type":"text/plain","Cache-Control":"public, max-age=0, must-revalidate"}})}let m=new i.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/robots.txt/route",pathname:"/robots.txt",filename:"robots",bundlePath:"app/robots.txt/route"},resolvedPagePath:"next-metadata-route-loader?filePath=%2Fhome%2Fe2hang%2Fwebsite%2Ftailwind-nextjs-starter-blog-main%2Fapp%2Frobots.ts&isDynamicRouteExtension=1!?__next_metadata_route__",nextConfigOutput:"",userland:o}),{workAsyncStorage:v,workUnitAsyncStorage:f,serverHooks:g}=m;function h(){return(0,a.patchFetch)({workAsyncStorage:v,workUnitAsyncStorage:f})}},3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12127:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{resolveManifest:function(){return a},resolveRobots:function(){return i},resolveRouteData:function(){return s},resolveSitemap:function(){return n}});let o=r(77341);function i(e){let t="";for(let r of Array.isArray(e.rules)?e.rules:[e.rules]){for(let e of(0,o.resolveArray)(r.userAgent||["*"]))t+=`User-Agent: ${e}
`;if(r.allow)for(let e of(0,o.resolveArray)(r.allow))t+=`Allow: ${e}
`;if(r.disallow)for(let e of(0,o.resolveArray)(r.disallow))t+=`Disallow: ${e}
`;r.crawlDelay&&(t+=`Crawl-delay: ${r.crawlDelay}
`),t+="\n"}return e.host&&(t+=`Host: ${e.host}
`),e.sitemap&&(0,o.resolveArray)(e.sitemap).forEach(e=>{t+=`Sitemap: ${e}
`}),t}function n(e){let t=e.some(e=>Object.keys(e.alternates??{}).length>0),r=e.some(e=>{var t;return!!(null==(t=e.images)?void 0:t.length)}),o=e.some(e=>{var t;return!!(null==(t=e.videos)?void 0:t.length)}),i="";for(let l of(i+='<?xml version="1.0" encoding="UTF-8"?>\n',i+='<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"',r&&(i+=' xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"'),o&&(i+=' xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"'),t?i+=' xmlns:xhtml="http://www.w3.org/1999/xhtml">\n':i+=">\n",e)){var n,a,s;i+="<url>\n",i+=`<loc>${l.url}</loc>
`;let e=null==(n=l.alternates)?void 0:n.languages;if(e&&Object.keys(e).length)for(let t in e)i+=`<xhtml:link rel="alternate" hreflang="${t}" href="${e[t]}" />
`;if(null==(a=l.images)?void 0:a.length)for(let e of l.images)i+=`<image:image>
<image:loc>${e}</image:loc>
</image:image>
`;if(null==(s=l.videos)?void 0:s.length)for(let e of l.videos)i+=["<video:video>",`<video:title>${e.title}</video:title>`,`<video:thumbnail_loc>${e.thumbnail_loc}</video:thumbnail_loc>`,`<video:description>${e.description}</video:description>`,e.content_loc&&`<video:content_loc>${e.content_loc}</video:content_loc>`,e.player_loc&&`<video:player_loc>${e.player_loc}</video:player_loc>`,e.duration&&`<video:duration>${e.duration}</video:duration>`,e.view_count&&`<video:view_count>${e.view_count}</video:view_count>`,e.tag&&`<video:tag>${e.tag}</video:tag>`,e.rating&&`<video:rating>${e.rating}</video:rating>`,e.expiration_date&&`<video:expiration_date>${e.expiration_date}</video:expiration_date>`,e.publication_date&&`<video:publication_date>${e.publication_date}</video:publication_date>`,e.family_friendly&&`<video:family_friendly>${e.family_friendly}</video:family_friendly>`,e.requires_subscription&&`<video:requires_subscription>${e.requires_subscription}</video:requires_subscription>`,e.live&&`<video:live>${e.live}</video:live>`,e.restriction&&`<video:restriction relationship="${e.restriction.relationship}">${e.restriction.content}</video:restriction>`,e.platform&&`<video:platform relationship="${e.platform.relationship}">${e.platform.content}</video:platform>`,e.uploader&&`<video:uploader${e.uploader.info&&` info="${e.uploader.info}"`}>${e.uploader.content}</video:uploader>`,`</video:video>
`].filter(Boolean).join("\n");if(l.lastModified){let e=l.lastModified instanceof Date?l.lastModified.toISOString():l.lastModified;i+=`<lastmod>${e}</lastmod>
`}l.changeFrequency&&(i+=`<changefreq>${l.changeFrequency}</changefreq>
`),"number"==typeof l.priority&&(i+=`<priority>${l.priority}</priority>
`),i+="</url>\n"}return i+"</urlset>\n"}function a(e){return JSON.stringify(e)}function s(e,t){return"robots"===t?i(e):"sitemap"===t?n(e):"manifest"===t?a(e):""}},16939:e=>{"use strict";e.exports={title:"Next.js Starter Blog",author:"Tails Azimuth",headerTitle:"TailwindBlog",description:"A blog created with Next.js and Tailwind.css",language:"en-us",theme:"system",siteUrl:"https://tailwind-nextjs-starter-blog.vercel.app",siteRepo:"https://github.com/timlrx/tailwind-nextjs-starter-blog",siteLogo:`${process.env.BASE_PATH||""}/static/images/logo.png`,socialBanner:`${process.env.BASE_PATH||""}/static/images/twitter-card.png`,mastodon:"https://mastodon.social/@mastodonuser",email:"address@yoursite.com",github:"https://github.com",x:"https://twitter.com/x",facebook:"https://facebook.com",youtube:"https://youtube.com",linkedin:"https://www.linkedin.com",threads:"https://www.threads.net",instagram:"https://www.instagram.com",medium:"https://medium.com",bluesky:"https://bsky.app/",locale:"en-US",stickyNav:!1,analytics:{umamiAnalytics:{umamiWebsiteId:process.env.NEXT_UMAMI_ID}},newsletter:{provider:"buttondown"},comments:{provider:"giscus",giscusConfig:{repo:process.env.NEXT_PUBLIC_GISCUS_REPO,repositoryId:process.env.NEXT_PUBLIC_GISCUS_REPOSITORY_ID,category:process.env.NEXT_PUBLIC_GISCUS_CATEGORY,categoryId:process.env.NEXT_PUBLIC_GISCUS_CATEGORY_ID,mapping:"pathname",reactions:"1",metadata:"0",theme:"light",darkTheme:"transparent_dark",themeURL:"",lang:"en"}},search:{provider:"kbar",kbarConfig:{searchDocumentsPath:`${process.env.BASE_PATH||""}/search.json`}}}},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},77341:(e,t)=>{"use strict";function r(e){return Array.isArray(e)?e:[e]}function o(e){if(null!=e)return r(e)}function i(e){let t;if("string"==typeof e)try{t=(e=new URL(e)).origin}catch{}return t}Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getOrigin:function(){return i},resolveArray:function(){return r},resolveAsArrayOrUndefined:function(){return o}})},78335:()=>{},96487:()=>{}};var t=require("../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),o=t.X(0,[447,580],()=>r(2877));module.exports=o})();