import{j as e}from"./vendor-react-core-DjsjKnCi.js";import{S as s,a as o,b as n,c as l,d as b,e as w}from"./page-authpages-CY7hjDHU.js";const i=e.jsx(b,{className:"w-5 h-5"}),m=e.jsx(w,{className:"w-5 h-5"}),h=e.jsx(o,{className:"w-5 h-5"});function g(r){const a=d[r]||d.default;if(r==="/planner/keyword-opportunities")return{rowActions:a.rowActions||[],bulkActions:a.bulkActions||[]};const u=a.rowActions.filter(t=>t.key!=="edit"&&t.key!=="delete"&&t.key!=="export"),y=a.rowActions.find(t=>t.key==="edit"||t.key==="update")||{key:"edit",label:"Update",icon:i,variant:"primary"},x=a.rowActions.find(t=>t.key==="export")||{key:"export",label:"Export",icon:h,variant:"secondary"},c={key:"delete",label:"Delete",icon:m,variant:"danger"},k=a.bulkActions.filter(t=>t.key!=="delete"),p=a.bulkActions.find(t=>t.key==="delete")||c;return{rowActions:[y,...u,x,c],bulkActions:[...k,p]}}const d={"/planner/keyword-opportunities":{rowActions:[{key:"add_to_workflow",label:"Add",icon:e.jsx(n,{className:"w-5 h-5"}),variant:"success"}],bulkActions:[{key:"add_selected_to_workflow",label:"Add Selected to Workflow",icon:e.jsx(n,{className:"w-5 h-5"}),variant:"success"}]},"/planner/keywords":{rowActions:[{key:"edit",label:"Edit",icon:i,variant:"primary"}],bulkActions:[{key:"update_status",label:"Update Status",icon:e.jsx(s,{className:"w-4 h-4 text-success-500"}),variant:"secondary"},{key:"export",label:"Export Selected",icon:e.jsx(o,{className:"w-4 h-4 text-blue-light-500"}),variant:"secondary"},{key:"auto_cluster",label:"Auto-Cluster",icon:e.jsx(n,{className:"w-4 h-4 text-warning-500"}),variant:"secondary"}]},"/planner/clusters":{rowActions:[{key:"edit",label:"Edit",icon:i,variant:"primary"},{key:"generate_ideas",label:"Generate Ideas",icon:e.jsx(n,{className:"w-5 h-5"}),variant:"primary"}],bulkActions:[{key:"update_status",label:"Update Status",icon:e.jsx(s,{className:"w-4 h-4 text-success-500"}),variant:"secondary"},{key:"export",label:"Export Selected",icon:e.jsx(o,{className:"w-4 h-4 text-blue-light-500"}),variant:"secondary"},{key:"auto_generate_ideas",label:"Generate Ideas",icon:e.jsx(n,{className:"w-4 h-4 text-warning-500"}),variant:"secondary"}]},"/planner/ideas":{rowActions:[{key:"edit",label:"Edit",icon:i,variant:"primary"},{key:"queue_to_writer",label:"Queue to Writer",icon:e.jsx(l,{className:"w-5 h-5"}),variant:"primary"}],bulkActions:[{key:"update_status",label:"Update Status",icon:e.jsx(s,{className:"w-4 h-4 text-success-500"}),variant:"secondary"},{key:"export",label:"Export Selected",icon:e.jsx(o,{className:"w-4 h-4 text-blue-light-500"}),variant:"secondary"},{key:"queue_to_writer",label:"Queue to Writer",icon:e.jsx(l,{className:"w-4 h-4 text-brand-500"}),variant:"secondary"}]},"/writer/tasks":{rowActions:[{key:"edit",label:"Edit",icon:i,variant:"primary"},{key:"generate_content",label:"Generate Content",icon:e.jsx(n,{className:"w-5 h-5"}),variant:"primary"}],bulkActions:[{key:"update_status",label:"Update Status",icon:e.jsx(s,{className:"w-4 h-4 text-success-500"}),variant:"secondary"},{key:"export",label:"Export Selected",icon:e.jsx(o,{className:"w-4 h-4 text-blue-light-500"}),variant:"secondary"}]},"/writer/drafts":{rowActions:[{key:"edit",label:"Edit",icon:i,variant:"primary"}],bulkActions:[{key:"update_status",label:"Update Status",icon:e.jsx(s,{className:"w-4 h-4 text-success-500"}),variant:"secondary"},{key:"export",label:"Export Selected",icon:e.jsx(o,{className:"w-4 h-4 text-blue-light-500"}),variant:"secondary"},{key:"generate_images",label:"Generate Images",icon:e.jsx(n,{className:"w-4 h-4 text-purple-500"}),variant:"secondary"},{key:"publish",label:"Publish Selected",icon:e.jsx(s,{className:"w-4 h-4 text-success-500"}),variant:"secondary"}]},"/writer/published":{rowActions:[{key:"edit",label:"Edit",icon:i,variant:"primary"}],bulkActions:[{key:"update_status",label:"Update Status",icon:e.jsx(s,{className:"w-4 h-4 text-success-500"}),variant:"secondary"},{key:"export",label:"Export Selected",icon:e.jsx(o,{className:"w-4 h-4 text-blue-light-500"}),variant:"secondary"}]},default:{rowActions:[],bulkActions:[]}};export{g};
