(()=>{var e={};e.id=731,e.ids=[731],e.modules={96330:e=>{"use strict";e.exports=require("@prisma/client")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},96576:(e,r,t)=>{"use strict";t.r(r),t.d(r,{patchFetch:()=>x,routeModule:()=>c,serverHooks:()=>l,workAsyncStorage:()=>d,workUnitAsyncStorage:()=>m});var s={};t.r(s),t.d(s,{GET:()=>u});var o=t(42706),a=t(28203),n=t(45994),i=t(11587),p=t(39187);async function u(){try{let e=await i.A.ramo.findMany({orderBy:{nome:"asc"}});return p.NextResponse.json(e,{status:200})}catch(e){return console.error("Erro ao buscar ramos:",e),p.NextResponse.json({error:"Erro ao buscar ramos."},{status:500})}}let c=new o.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/empregos/ramos/route",pathname:"/api/empregos/ramos",filename:"route",bundlePath:"app/api/empregos/ramos/route"},resolvedPagePath:"C:\\Users\\guilh\\Desktop\\plataforma-empregos-NextJs-Ts\\app\\api\\empregos\\ramos\\route.ts",nextConfigOutput:"",userland:s}),{workAsyncStorage:d,workUnitAsyncStorage:m,serverHooks:l}=c;function x(){return(0,n.patchFetch)({workAsyncStorage:d,workUnitAsyncStorage:m})}},96487:()=>{},78335:()=>{},11587:(e,r,t)=>{"use strict";t.d(r,{A:()=>s});let s=new(t(96330)).PrismaClient}};var r=require("../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[638,452],()=>t(96576));module.exports=s})();