const _get=require("lodash/get"),{writeFile:writeFile}=require("./wm-utils"),{getHandlebarTemplate:getHandlebarTemplate}=require("./handlebar-helpers"),generateAppPrefabsModule=async(e,a,r,p,t)=>{const l=getHandlebarTemplate("app-prefabs-module")({wmProjectProperties:e,pagesConfig:a,prefabConfigMap:r,xsrfTokenHeaderName:_get(p,"csrfConfig.headerName","X-WM-XSRF-TOKEN")});await writeFile(`${t}/src/app/app-prefabs.module.ts`,l)};module.exports={generateAppPrefabsModule:generateAppPrefabsModule};