(()=>{var e={};e.id=9957,e.ids=[9957],e.modules={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")},26742:(e,t,r)=>{"use strict";r.r(t),r.d(t,{patchFetch:()=>x,routeModule:()=>u,serverHooks:()=>c,workAsyncStorage:()=>d,workUnitAsyncStorage:()=>l});var s={};r.r(s),r.d(s,{GET:()=>p});var a=r(96559),n=r(48088),o=r(37719),i=r(32190);async function p(e){let t=e.nextUrl.searchParams,s=t.get("year"),a=t.get("month"),n=t.get("filename"),o=r(29021),p=`contents/uploads/${s}/${a}/${n}`;if(void 0==s||void 0==a||void 0==n||!o.existsSync(p))return new i.NextResponse.next({status:404,headers:{"Content-Type":"text/html"}});let u=o.readFileSync(p),d=Buffer.from(u);return new i.NextResponse(d,{headers:{"Content-Type":"image/png"}})}let u=new a.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/[locale]/api/uploads/route",pathname:"/[locale]/api/uploads",filename:"route",bundlePath:"app/[locale]/api/uploads/route"},resolvedPagePath:"E:\\xampp01\\htdocs\\wx-saas\\timynote\\app\\[locale]\\api\\uploads\\route.tsx",nextConfigOutput:"standalone",userland:s}),{workAsyncStorage:d,workUnitAsyncStorage:l,serverHooks:c}=u;function x(){return(0,o.patchFetch)({workAsyncStorage:d,workUnitAsyncStorage:l})}},29021:e=>{"use strict";e.exports=require("fs")},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")},78335:()=>{},96487:()=>{}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[4447,580],()=>r(26742));module.exports=s})();