import{r as s,j as o}from"./vendor-react-Dp9pL_Wn.js";import{M as e}from"./vendor-intl-D2wGIp4M.js";import{H as i}from"./index-CBEPphRm.js";import{S as r}from"./c6eedc03a-CsEFTfjy.js";import"./vendor-base-5_f7mmWg.js";import"./vendor-infra-DayZK7Ds.js";import"./vendor-zod-0xcuG3aM.js";import"./vendor-router-qG5OCEmI.js";import"./vendor-ant-cds-bBedrtIN.js";import"./vendor-base-ui-DNypCIlh.js";import"./vendor-radix-Ch96tRrt.js";import"./vendor-virtual-DRz8lJfQ.js";import"./vendor-query-BwvgHhJ1.js";import"./vendor-zustand-BeF8W8xk.js";import"./caf7c7e06-DJYXCm3T.js";import"./vendor-lodash-BvMLws5K.js";import"./vendor-icons-CokWnmlw.js";import"./vendor-motion-EDlUw66k.js";import"./c5669b8e4-DFSq88jr.js";import"./vendor-luxon-CZxT8ieM.js";import"./c5f4e1303-CiyIFgnl.js";import"./cbaad2c48-DaP34LG2.js";import"./vendor-growthbook-C66YtMMX.js";import"./vendor-zod-v3-CZy0YPWu.js";const d={shown:"claudeai.cowork.scheduled_task_nudge.shown",dismissed:"claudeai.cowork.scheduled_task_nudge.dismissed",clicked:"claudeai.cowork.scheduled_task_nudge.clicked",hovered:"claudeai.cowork.scheduled_task_nudge.hovered"};function t({onDismiss:t,onClick:n,onVisibilityChange:a}){const c=s.useCallback(()=>{n()},[n]);return o.jsx(i,{actionHref:r,openInNewTab:!1,onDismiss:t,onClick:c,analyticsEvents:d,variant:"always-visible",size:"large",onVisibilityChange:a,imageUrl:"/images/spotlights/scheduled-tasks-nudge.png",title:o.jsx(e,{defaultMessage:"Your to-dos on autopilot",id:"qBmKGt8O3X"}),body:o.jsx(e,{defaultMessage:"Daily briefings, weekly reviews. Set any task to run on a schedule.",id:"kslGQK9o7I"}),actionText:o.jsx(e,{defaultMessage:"Schedule a task",id:"Vk5b0msPm9"})})}const n=s.memo(({onDismiss:s,onAction:e})=>o.jsx(t,{onDismiss:s,onClick:e}));n.displayName="ScheduledTasksNudge";export{n as ScheduledTasksNudge};
